Version Description
- New: Add generateblocks.editor.buttonDisableFormatting filter
- Fix: Error when using em unit on a div headline
- Fix: Icon button spacing in WP 5.7
- Fix: Responsive block borders when no desktop border is set
- Tweak: Prevent Global Styles (Pro) from regenerating unique ID
- Tweak: Integrate Grid block with Global Styles (Pro)
- Tweak: Always inline CSS on AMP pages to avoid needing to fetch
- Tweak: Adjust editor grid class name to prevent Sass build error
Download this release
Release Info
Developer | edge22 |
Plugin | GenerateBlocks |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
- dist/blocks.asset.php +1 -1
- dist/blocks.css +1 -1
- dist/blocks.js +5 -5
- includes/class-enqueue-css.php +9 -2
- includes/generate-css.php +23 -0
- plugin.php +2 -2
- readme.txt +14 -2
- src/blocks/button-container/edit.js +4 -1
- src/blocks/button/css/main.js +1 -1
- src/blocks/button/edit.js +6 -3
- src/blocks/container/css/main.js +1 -1
- src/blocks/container/edit.js +6 -3
- src/blocks/grid/edit.js +29 -17
- src/blocks/grid/editor.scss +1 -1
- src/blocks/headline/css/main.js +1 -1
- src/blocks/headline/edit.js +4 -1
- src/components/dimensions/index.js +2 -2
- src/components/url-input/index.js +2 -1
- src/utils/get-icon/index.js +12 -0
dist/blocks.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-richText'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-richText'), 'version' => '1b1adf249640c2ccc790d12d64c21c51');
|
dist/blocks.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
.gb-grid-wrapper{position:relative;display:block;margin-right:0;margin-left:0}.gb-grid-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout{position:relative;display:flex;flex-wrap:wrap;justify-content:flex-start;margin-right:-15px;margin-left:-15px}.gb-grid-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout .editor-block-list__block{max-width:none;margin-right:0;margin-left:0}.block-editor-block-list__block[data-align="full"][data-type="generateblocks/grid"]>.block-editor-block-list__block-edit>div>.gb-grid-wrapper>.gb-grid-wrapper-button-select{right:1px}.block-editor-block-list__block[data-align="full"][data-type="generateblocks/grid"]>.block-editor-block-list__block-edit>div>.gb-grid-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:1px;margin-left:1px}.gb-grid-wrapper .editor-inserter-with-shortcuts{display:none}.gb-grid-wrapper .editor-block-list__empty-block-inserter,.gb-grid-wrapper .editor-default-block-appender .editor-inserter{right:10px;left:auto}.wp-block.gb-col{margin-top:29px}.components-placeholder.components-placeholder.gb-select-layout{padding:25px;background:#fff;color:#000}.components-placeholder.components-placeholder.gb-select-layout .components-placeholder__fieldset>em{margin-bottom:25px}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview{display:flex;flex-wrap:wrap;justify-content:center;margin-right:-7px;margin-left:-7px}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn{display:flex;flex-wrap:wrap;width:85px;padding:0;margin-right:7px;margin-bottom:14px;margin-left:7px;overflow:hidden;cursor:pointer;background:none;border:2px solid rgba(79,89,105,0.75);border-radius:4px;transition:.15s border-color, .15s background-color}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn .gb-col{height:40px;border-right:2px solid rgba(79,89,105,0.75);transition:.15s border-color}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn .gb-col:last-of-type{border-right:none}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:hover,.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:focus{background-color:#fff;border-color:#4f5969}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:hover .gb-col,.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:focus .gb-col{border-color:#4f5969}.components-placeholder.components-placeholder.gb-select-layout .components-button.is-primary{height:35px;padding:0 15px;margin-top:10px;font-size:14px}.gb-col{display:flex;flex:1;flex-direction:column;width:0}.gb-col>.block-editor-block-list__block-edit{display:flex;flex-basis:100%;margin-top:0 !important;margin-bottom:0 !important}.gb-col>.block-editor-block-list__block-edit>[data-block]{flex:100%}.gb-col>.block-editor-block-list__block-edit>.editor-block-contextual-toolbar+[data-block]{margin-left:30px}.gb-col.gb-col-25{flex-basis:25%}.gb-col.gb-col-75{flex-basis:75%}.gb-col.gb-col-50{flex-basis:50%}.gb-col.gb-col-60{flex-basis:60%}.gb-col.gb-col-20{flex-basis:20%}.gb-col.gb-col-16
|
2 |
|
3 |
.gb-responsive-tabs{position:-webkit-sticky;position:sticky;top:0;background:#fff;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7;z-index:10;display:flex}.gb-responsive-tabs button{flex-grow:1;justify-content:center;padding:10px;height:unset;border-radius:unset;outline:0 !important}.gb-responsive-tabs button.is-pressed:not(:disabled),.gb-responsive-tabs button:focus:not(:disabled),.gb-responsive-tabs button:active:not(:disabled),.gb-responsive-tabs button:hover:not(:disabled){box-shadow:unset !important;background:#007cba !important;color:#fff !important}.block-editor-block-inspector .gb-responsive-tabs+.components-panel__body{border-top:0}
|
4 |
|
1 |
+
.gb-grid-wrapper{position:relative;display:block;margin-right:0;margin-left:0}.gb-grid-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout{position:relative;display:flex;flex-wrap:wrap;justify-content:flex-start;margin-right:-15px;margin-left:-15px}.gb-grid-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout .editor-block-list__block{max-width:none;margin-right:0;margin-left:0}.block-editor-block-list__block[data-align="full"][data-type="generateblocks/grid"]>.block-editor-block-list__block-edit>div>.gb-grid-wrapper>.gb-grid-wrapper-button-select{right:1px}.block-editor-block-list__block[data-align="full"][data-type="generateblocks/grid"]>.block-editor-block-list__block-edit>div>.gb-grid-wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout{margin-right:1px;margin-left:1px}.gb-grid-wrapper .editor-inserter-with-shortcuts{display:none}.gb-grid-wrapper .editor-block-list__empty-block-inserter,.gb-grid-wrapper .editor-default-block-appender .editor-inserter{right:10px;left:auto}.wp-block.gb-col{margin-top:29px}.components-placeholder.components-placeholder.gb-select-layout{padding:25px;background:#fff;color:#000}.components-placeholder.components-placeholder.gb-select-layout .components-placeholder__fieldset>em{margin-bottom:25px}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview{display:flex;flex-wrap:wrap;justify-content:center;margin-right:-7px;margin-left:-7px}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn{display:flex;flex-wrap:wrap;width:85px;padding:0;margin-right:7px;margin-bottom:14px;margin-left:7px;overflow:hidden;cursor:pointer;background:none;border:2px solid rgba(79,89,105,0.75);border-radius:4px;transition:.15s border-color, .15s background-color}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn .gb-col{height:40px;border-right:2px solid rgba(79,89,105,0.75);transition:.15s border-color}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn .gb-col:last-of-type{border-right:none}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:hover,.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:focus{background-color:#fff;border-color:#4f5969}.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:hover .gb-col,.components-placeholder.components-placeholder.gb-select-layout .gb-grid-wrapper-layout-preview .gb-grid-wrapper-layout-preview-btn:focus .gb-col{border-color:#4f5969}.components-placeholder.components-placeholder.gb-select-layout .components-button.is-primary{height:35px;padding:0 15px;margin-top:10px;font-size:14px}.gb-col{display:flex;flex:1;flex-direction:column;width:0}.gb-col>.block-editor-block-list__block-edit{display:flex;flex-basis:100%;margin-top:0 !important;margin-bottom:0 !important}.gb-col>.block-editor-block-list__block-edit>[data-block]{flex:100%}.gb-col>.block-editor-block-list__block-edit>.editor-block-contextual-toolbar+[data-block]{margin-left:30px}.gb-col.gb-col-25{flex-basis:25%}.gb-col.gb-col-75{flex-basis:75%}.gb-col.gb-col-50{flex-basis:50%}.gb-col.gb-col-60{flex-basis:60%}.gb-col.gb-col-20{flex-basis:20%}.gb-col.gb-col-16{flex-basis:16.6%}.gb-grid-appender button{background:#fff;box-shadow:inset 0 0 0 1px #555d66, inset 0 0 0 2px #fff;padding:20px;width:100%;justify-content:center;height:auto}.gb-grid-appender button.components-button svg{margin-right:0}.gb-select-layout .components-placeholder__label,.gb-select-layout .components-placeholder__instructions{margin-left:auto;margin-right:auto}.gb-select-layout iframe{display:flex;justify-content:center;align-items:center}.gb-select-layout .gb-grid-wrapper-layout-preview{max-width:500px}.gb-select-layout .components-placeholder__fieldset{display:flex;justify-content:center}.wp-block[data-type="generateblocks/grid"]{margin-top:0;margin-bottom:0}
|
2 |
|
3 |
.gb-responsive-tabs{position:-webkit-sticky;position:sticky;top:0;background:#fff;border-top:1px solid #e2e4e7;border-bottom:1px solid #e2e4e7;z-index:10;display:flex}.gb-responsive-tabs button{flex-grow:1;justify-content:center;padding:10px;height:unset;border-radius:unset;outline:0 !important}.gb-responsive-tabs button.is-pressed:not(:disabled),.gb-responsive-tabs button:focus:not(:disabled),.gb-responsive-tabs button:active:not(:disabled),.gb-responsive-tabs button:hover:not(:disabled){box-shadow:unset !important;background:#007cba !important;color:#fff !important}.block-editor-block-inspector .gb-responsive-tabs+.components-panel__body{border-top:0}
|
4 |
|
dist/blocks.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
-
!function(e){var t={};function a(l){if(t[l])return t[l].exports;var i=t[l]={i:l,l:!1,exports:{}};return e[l].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(l,i,function(t){return e[t]}.bind(null,i));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=48)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){function a(t){return e.exports=a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(t)}e.exports=a},function(e,t){e.exports=function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}},function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},a.apply(this,arguments)}e.exports=a},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function a(e,t){for(var a=0;a<t.length;a++){var l=t[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}e.exports=function(e,t,l){return t&&a(e.prototype,t),l&&a(e,l),e}},function(e,t,a){var l=a(20);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}},function(e,t,a){var l=a(18),i=a(13);e.exports=function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?i(e):t}},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t,a){var l;!function(){"use strict";var a={}.hasOwnProperty;function i(){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 n=i.apply(null,l);n&&e.push(n)}else if("object"===r)for(var o in l)a.call(l,o)&&l[o]&&e.push(o)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(l=function(){return i}.apply(t,[]))||(e.exports=l)}()},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t,a){var l=a(33),i=a(34),r=a(23),n=a(35);e.exports=function(e){return l(e)||i(e)||r(e)||n()}},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t){function a(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=a=function(e){return typeof e}:e.exports=a=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(t)}e.exports=a},function(e,t,a){var l=a(29),i=a(30),r=a(23),n=a(31);e.exports=function(e,t){return l(e)||i(e,t)||r(e,t)||n()}},function(e,t){function a(t,l){return e.exports=a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(t,l)}e.exports=a},function(e,t){!function(){e.exports=this.wp.richText}()},,function(e,t,a){var l=a(24);e.exports=function(e,t){if(e){if("string"==typeof e)return l(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?l(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=e[a];return l}},function(e,t,a){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,a=Object.isFrozen,l=Object.freeze,i=Object.seal,r=Object.create,n="undefined"!=typeof Reflect&&Reflect,o=n.apply,c=n.construct;o||(o=function(e,t,a){return e.apply(t,a)}),l||(l=function(e){return e}),i||(i=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}(t))))});var s,g=v(Array.prototype.forEach),b=v(Array.prototype.pop),u=v(Array.prototype.push),d=v(String.prototype.toLowerCase),p=v(String.prototype.match),f=v(String.prototype.replace),h=v(String.prototype.indexOf),m=v(String.prototype.trim),k=v(RegExp.prototype.test),y=(s=TypeError,function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return c(s,t)});function v(e){return function(t){for(var a=arguments.length,l=Array(a>1?a-1:0),i=1;i<a;i++)l[i-1]=arguments[i];return o(e,t,l)}}function w(e,l){t&&t(e,null);for(var i=l.length;i--;){var r=l[i];if("string"==typeof r){var n=d(r);n!==r&&(a(l)||(l[i]=n),r=n)}e[r]=!0}return e}function O(t){var a=r(null),l=void 0;for(l in t)o(e,t,[l])&&(a[l]=t[l]);return a}var j=l(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),T=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),C=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),_=l(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),S=l(["#text"]),B=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),D=l(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),E=l(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),R=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),x=i(/\{\{[\s\S]*|[\s\S]*\}\}/gm),M=i(/<%[\s\S]*|[\s\S]*%>/gm),z=i(/^data-[\-\w.\u00B7-\uFFFF]/),L=i(/^aria-[\-\w]+$/),P=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),F=i(/^(?:\w+script|data):/i),A=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function H(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}var N=function(){return"undefined"==typeof window?null:window},I=function(e,t){if("object"!==(void 0===e?"undefined":U(e))||"function"!=typeof e.createPolicy)return null;var a=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(a=t.currentScript.getAttribute("data-tt-policy-suffix"));var l="dompurify"+(a?"#"+a:"");try{return e.createPolicy(l,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+l+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N(),a=function(t){return e(t)};if(a.version="2.2.4",a.removed=[],!t||!t.document||9!==t.document.nodeType)return a.isSupported=!1,a;var i=t.document,r=t.document,n=t.DocumentFragment,o=t.HTMLTemplateElement,c=t.Node,s=t.NodeFilter,v=t.NamedNodeMap,G=void 0===v?t.NamedNodeMap||t.MozNamedAttrMap:v,V=t.Text,q=t.Comment,W=t.DOMParser,Z=t.trustedTypes;if("function"==typeof o){var K=r.createElement("template");K.content&&K.content.ownerDocument&&(r=K.content.ownerDocument)}var J=I(Z,i),Y=J&&Be?J.createHTML(""):"",Q=r,X=Q.implementation,$=Q.createNodeIterator,ee=Q.getElementsByTagName,te=Q.createDocumentFragment,ae=i.importNode,le={};try{le=O(r).documentMode?r.documentMode:{}}catch(e){}var ie={};a.isSupported=X&&void 0!==X.createHTMLDocument&&9!==le;var re=x,ne=M,oe=z,ce=L,se=F,ge=A,be=P,ue=null,de=w({},[].concat(H(j),H(T),H(C),H(_),H(S))),pe=null,fe=w({},[].concat(H(B),H(D),H(E),H(R))),he=null,me=null,ke=!0,ye=!0,ve=!1,we=!1,Oe=!1,je=!1,Te=!1,Ce=!1,_e=!1,Se=!0,Be=!1,De=!0,Ee=!0,Re=!1,xe={},Me=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),ze=null,Le=w({},["audio","video","img","source","image","track"]),Pe=null,Fe=w({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ae=null,Ue=r.createElement("form"),He=function(e){Ae&&Ae===e||(e&&"object"===(void 0===e?"undefined":U(e))||(e={}),e=O(e),ue="ALLOWED_TAGS"in e?w({},e.ALLOWED_TAGS):de,pe="ALLOWED_ATTR"in e?w({},e.ALLOWED_ATTR):fe,Pe="ADD_URI_SAFE_ATTR"in e?w(O(Fe),e.ADD_URI_SAFE_ATTR):Fe,ze="ADD_DATA_URI_TAGS"in e?w(O(Le),e.ADD_DATA_URI_TAGS):Le,he="FORBID_TAGS"in e?w({},e.FORBID_TAGS):{},me="FORBID_ATTR"in e?w({},e.FORBID_ATTR):{},xe="USE_PROFILES"in e&&e.USE_PROFILES,ke=!1!==e.ALLOW_ARIA_ATTR,ye=!1!==e.ALLOW_DATA_ATTR,ve=e.ALLOW_UNKNOWN_PROTOCOLS||!1,we=e.SAFE_FOR_TEMPLATES||!1,Oe=e.WHOLE_DOCUMENT||!1,Ce=e.RETURN_DOM||!1,_e=e.RETURN_DOM_FRAGMENT||!1,Se=!1!==e.RETURN_DOM_IMPORT,Be=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,De=!1!==e.SANITIZE_DOM,Ee=!1!==e.KEEP_CONTENT,Re=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,we&&(ye=!1),_e&&(Ce=!0),xe&&(ue=w({},[].concat(H(S))),pe=[],!0===xe.html&&(w(ue,j),w(pe,B)),!0===xe.svg&&(w(ue,T),w(pe,D),w(pe,R)),!0===xe.svgFilters&&(w(ue,C),w(pe,D),w(pe,R)),!0===xe.mathMl&&(w(ue,_),w(pe,E),w(pe,R))),e.ADD_TAGS&&(ue===de&&(ue=O(ue)),w(ue,e.ADD_TAGS)),e.ADD_ATTR&&(pe===fe&&(pe=O(pe)),w(pe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&w(Pe,e.ADD_URI_SAFE_ATTR),Ee&&(ue["#text"]=!0),Oe&&w(ue,["html","head","body"]),ue.table&&(w(ue,["tbody"]),delete he.tbody),l&&l(e),Ae=e)},Ne=function(e){u(a.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=Y}catch(t){e.remove()}}},Ie=function(e,t){try{u(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){u(a.removed,{attribute:null,from:t})}t.removeAttribute(e)},Ge=function(e){var t=void 0,a=void 0;if(Te)e="<remove></remove>"+e;else{var l=p(e,/^[\r\n\t ]+/);a=l&&l[0]}var i=J?J.createHTML(e):e;try{t=(new W).parseFromString(i,"text/html")}catch(e){}if(!t||!t.documentElement){var n=(t=X.createHTMLDocument("")).body;n.parentNode.removeChild(n.parentNode.firstElementChild),n.outerHTML=i}return e&&a&&t.body.insertBefore(r.createTextNode(a),t.body.childNodes[0]||null),ee.call(t,Oe?"html":"body")[0]},Ve=function(e){return $.call(e.ownerDocument||e,e,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT,(function(){return s.FILTER_ACCEPT}),!1)},qe=function(e){return!(e instanceof V||e instanceof q||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof G&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},We=function(e){return"object"===(void 0===c?"undefined":U(c))?e instanceof c:e&&"object"===(void 0===e?"undefined":U(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ze=function(e,t,l){ie[e]&&g(ie[e],(function(e){e.call(a,t,l,Ae)}))},Ke=function(e){var t=void 0;if(Ze("beforeSanitizeElements",e,null),qe(e))return Ne(e),!0;if(p(e.nodeName,/[\u0080-\uFFFF]/))return Ne(e),!0;var l=d(e.nodeName);if(Ze("uponSanitizeElement",e,{tagName:l,allowedTags:ue}),!We(e.firstElementChild)&&(!We(e.content)||!We(e.content.firstElementChild))&&k(/<[/\w]/g,e.innerHTML)&&k(/<[/\w]/g,e.textContent))return Ne(e),!0;if(!ue[l]||he[l]){if(Ee&&!Me[l]&&"function"==typeof e.insertAdjacentHTML)try{var i=e.innerHTML;e.insertAdjacentHTML("AfterEnd",J?J.createHTML(i):i)}catch(e){}return Ne(e),!0}return"noscript"!==l&&"noembed"!==l||!k(/<\/no(script|embed)/i,e.innerHTML)?"math"===l&&We(e.firstElementChild)&&e.querySelectorAll(":not("+_.join("):not(")+")").length>0||"svg"===l&&e.querySelectorAll("p, br, table, form, noscript").length>0?(Ne(e),!0):(we&&3===e.nodeType&&(t=e.textContent,t=f(t,re," "),t=f(t,ne," "),e.textContent!==t&&(u(a.removed,{element:e.cloneNode()}),e.textContent=t)),Ze("afterSanitizeElements",e,null),!1):(Ne(e),!0)},Je=function(e,t,a){if(De&&("id"===t||"name"===t)&&(a in r||a in Ue))return!1;if(ye&&k(oe,t));else if(ke&&k(ce,t));else{if(!pe[t]||me[t])return!1;if(Pe[t]);else if(k(be,f(a,ge,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==h(a,"data:")||!ze[e])if(ve&&!k(se,f(a,ge,"")));else if(a)return!1}return!0},Ye=function(e){var t=void 0,l=void 0,i=void 0,r=void 0;Ze("beforeSanitizeAttributes",e,null);var n=e.attributes;if(n){var o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:pe};for(r=n.length;r--;){var c=t=n[r],s=c.name,g=c.namespaceURI;if(l=m(t.value),i=d(s),o.attrName=i,o.attrValue=l,o.keepAttr=!0,o.forceKeepAttr=void 0,Ze("uponSanitizeAttribute",e,o),l=o.attrValue,!o.forceKeepAttr&&(Ie(s,e),o.keepAttr))if(k(/\/>/i,l))Ie(s,e);else{we&&(l=f(l,re," "),l=f(l,ne," "));var u=e.nodeName.toLowerCase();if(Je(u,i,l))try{g?e.setAttributeNS(g,s,l):e.setAttribute(s,l),b(a.removed)}catch(e){}}}Ze("afterSanitizeAttributes",e,null)}},Qe=function e(t){var a=void 0,l=Ve(t);for(Ze("beforeSanitizeShadowDOM",t,null);a=l.nextNode();)Ze("uponSanitizeShadowNode",a,null),Ke(a)||(a.content instanceof n&&e(a.content),Ye(a));Ze("afterSanitizeShadowDOM",t,null)};return a.sanitize=function(e,l){var r=void 0,o=void 0,s=void 0,g=void 0,b=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!We(e)){if("function"!=typeof e.toString)throw y("toString is not a function");if("string"!=typeof(e=e.toString()))throw y("dirty is not a string, aborting")}if(!a.isSupported){if("object"===U(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(We(e))return t.toStaticHTML(e.outerHTML)}return e}if(je||He(l),a.removed=[],"string"==typeof e&&(Re=!1),Re);else if(e instanceof c)1===(o=(r=Ge("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Ce&&!we&&!Oe&&-1===e.indexOf("<"))return J&&Be?J.createHTML(e):e;if(!(r=Ge(e)))return Ce?null:Y}r&&Te&&Ne(r.firstChild);for(var u=Ve(Re?e:r);s=u.nextNode();)3===s.nodeType&&s===g||Ke(s)||(s.content instanceof n&&Qe(s.content),Ye(s),g=s);if(g=null,Re)return e;if(Ce){if(_e)for(b=te.call(r.ownerDocument);r.firstChild;)b.appendChild(r.firstChild);else b=r;return Se&&(b=ae.call(i,b,!0)),b}var d=Oe?r.outerHTML:r.innerHTML;return we&&(d=f(d,re," "),d=f(d,ne," ")),J&&Be?J.createHTML(d):d},a.setConfig=function(e){He(e),je=!0},a.clearConfig=function(){Ae=null,je=!1},a.isValidAttribute=function(e,t,a){Ae||He({});var l=d(e),i=d(t);return Je(l,i,a)},a.addHook=function(e,t){"function"==typeof t&&(ie[e]=ie[e]||[],u(ie[e],t))},a.removeHook=function(e){ie[e]&&b(ie[e])},a.removeHooks=function(e){ie[e]&&(ie[e]=[])},a.removeAllHooks=function(){ie={}},a}()}()},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var a=[],l=!0,i=!1,r=void 0;try{for(var n,o=e[Symbol.iterator]();!(l=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);l=!0);}catch(e){i=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(i)throw r}}return a}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,a){},function(e,t,a){var l=a(24);e.exports=function(e){if(Array.isArray(e))return l(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},,,function(e,t,a){"use strict";a.r(t);var l=a(0),i=(a(26),a(6)),r=a.n(i),n=a(5),o=a.n(n),c=a(7),s=a.n(c),g=a(8),b=a.n(g),u=a(13),d=a.n(u),p=a(9),f=a.n(p),h=a(10),m=a.n(h),k=a(4),y=a.n(k),v=a(12),w=a.n(v),O=wp.element.createElement;function j(e){return"tabs-desktop"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none"},O("path",{d:"M18.95 4H4.55C3.55589 4 2.75 4.76751 2.75 5.71429V14.2857C2.75 15.2325 3.55589 16 4.55 16H18.95C19.9441 16 20.75 15.2325 20.75 14.2857V5.71429C20.75 4.76751 19.9441 4 18.95 4Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),O("path",{d:"M1.75 18C1.19772 18 0.75 18.4477 0.75 19C0.75 19.5523 1.19772 20 1.75 20H21.75C22.3023 20 22.75 19.5523 22.75 19C22.75 18.4477 22.3023 18 21.75 18H1.75ZM9 18.8C8.86193 18.8 8.75 18.9119 8.75 19.05C8.75 19.1881 8.86193 19.3 9 19.3H14.5C14.6381 19.3 14.75 19.1881 14.75 19.05C14.75 18.9119 14.6381 18.8 14.5 18.8H9Z",stroke:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})):"tabs-tablet"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24"},O("path",{d:"M16.6429 4H7.35714C6.33147 4 5.5 4.71634 5.5 5.6V18.4C5.5 19.2837 6.33147 20 7.35714 20H16.6429C17.6685 20 18.5 19.2837 18.5 18.4V5.6C18.5 4.71634 17.6685 4 16.6429 4Z"}),O("path",{d:"M12 17.5H12.01"})):"tabs-mobile"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24"},O("path",{d:"M15.5714 4H8.42857C7.63959 4 7 4.71634 7 5.6V18.4C7 19.2837 7.63959 20 8.42857 20H15.5714C16.3604 20 17 19.2837 17 18.4V5.6C17 4.71634 16.3604 4 15.5714 4Z"}),O("path",{d:"M12 17.5H12.01"})):"sync"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24"},O("path",{d:"m7.34133533 6.23855964v-1.98499625c-2.17404351.03150788-4.03300825 1.38634659-4.85221305 3.27681921-.31507877.72468117-.44111028 1.51237809-.4096024 2.33158289.06301575 1.13428361.47261815 2.20555141 1.16579145 3.05626411.37809452.4411102.28357089 1.1027757-.18904726 1.4493623-.44111028.3150788-1.07126782.2205551-1.41785447-.1890473-.85071268-1.0397599-1.38634658-2.3315829-1.54388597-3.7179294-.12603151-1.00825211-.03150788-2.01650417.25206302-2.9302326.88222055-3.02475619 3.6864216-5.26181546 6.99474868-5.29332334v-1.98499624c0-.09452363.12603151-.15753939.22055514-.09452363l4.09602403 2.99324831c.0630157.06301575.0630157.15753938 0 .18904726l-4.09602403 2.99324831c-.09452363.06301575-.22055514 0-.22055514-.09452363zm.22055514 13.17029256c.09452363.0630158.22055514 0 .22055514-.0945236v-1.9849963c3.30832709-.0315078 6.11252809-2.2685671 6.99474869-5.2933233.252063-.9137284.3780945-1.8904726.252063-2.93023256-.1575394-1.38634658-.7246812-2.67816954-1.543886-3.71792948-.3465866-.44111028-.9767441-.53563391-1.4178544-.18904726-.4726182.34658665-.5671418 1.00825206-.1890473 1.44936234.6931733.85071268 1.1027757 1.89047262 1.1657915 3.05626407.0315078.81920479-.1260315 1.63840959-.4096024 2.33158289-.787697 1.8904726-2.6466617 3.2453113-4.85221309 3.2768192v-1.9849962c0-.0945237-.12603151-.1575394-.22055514-.0945237l-4.096024 2.9932483c-.06301576.0630158-.06301576.1575394 0 .1890473z",transform:"translate(4 2)"})):"headline"===e?O("svg",{width:24,height:24,viewBox:"0 0 20 20",style:{padding:"1px"}},O("path",{d:"M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4",fill:"#1e72bd"})):"grid"===e?O("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},O("path",{d:"M20 .6c0-.3-.2-.6-.5-.6H.5C.2 0 0 .3 0 .6v4.6c0 .3.2.6.5.6h19c.3 0 .5-.3.5-.6V.6zM6.7 7.7c0-.3-.2-.6-.5-.6H.5c-.3 0-.5.3-.5.6v4.6c0 .3.2.6.5.6h5.6c.3 0 .5-.3.5-.6l.1-4.6zM19.9 7.7c0-.3-.2-.6-.6-.6H8.6c-.4 0-.6.3-.6.6v4.5c0 .3.2.6.6.6h10.8c.3 0 .6-.3.6-.6l-.1-4.5z",fill:"#1d72ba"}),O("path",{d:"M20 14.8c0-.3-.2-.6-.5-.6h-5.6c-.3 0-.5.2-.5.6v4.6c0 .3.2.6.5.6h5.6c.3 0 .5-.2.5-.6v-4.6zM12 14.8c0-.3-.2-.5-.5-.5H.5c-.3 0-.5.2-.5.5v4.6c0 .4.2.6.5.6h11c.3 0 .5-.2.5-.5v-4.7z",fill:"#1d72ba"})):"container"===e?O("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},O("path",{d:"M2.8 3.4c0-.4.3-.7.7-.7h1.2V0H3.4C1.5 0 0 1.5 0 3.4v1.2h2.8V3.4zM0 7.4h2.8v5.3H0zM17.2 7.4H20v5.3h-2.8zM17.2 16.6c0 .4-.3.7-.7.7h-1.2V20h1.2c1.9 0 3.4-1.5 3.4-3.4v-1.2h-2.8v1.2h.1zM7.4 0h5.3v2.8H7.4zM3.4 17.2c-.4 0-.7-.3-.7-.7v-1.2H0v1.2c0 2 1.5 3.5 3.4 3.5h1.2v-2.8H3.4zM7.4 17.2h5.3V20H7.4zM16.6 2.8c.4 0 .7.3.7.7v1.2H20V3.4C20 1.5 18.5 0 16.6 0h-1.2v2.8h1.2z",fill:"#1e72bd"})):"button"===e?O("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},O("path",{d:"M19.2 0H.8C.4 0 0 .4 0 .8v6.4c0 .4.4.8.8.8h18.4c.4 0 .8-.4.8-.8V.8c0-.4-.4-.8-.8-.8zM18.4 12H1.6c-.9 0-1.6.7-1.6 1.6v4.8c0 .9.7 1.6 1.6 1.6h16.8c.9 0 1.6-.7 1.6-1.6v-4.8c0-.9-.7-1.6-1.6-1.6zm.4 6.4c0 .2-.2.4-.4.4H1.6c-.2 0-.4-.2-.4-.4v-4.8c0-.2.2-.4.4-.4h16.8c.2 0 .4.2.4.4v4.8z",fill:"#1e72bd"})):"paragraph"===e?O("svg",{width:20,height:20,viewBox:"0 0 20 20"},O("path",{d:"M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71A.984.984 0 0 0 15 2z"})):"spacing"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,10.007c6.632,6.632 6.632,73.42 0,80.052c-6.632,6.632 -73.42,6.632 -80.052,0c-6.632,-6.632 -6.632,-73.42 0,-80.052c6.632,-6.632 73.42,-6.632 80.052,0Z"}),O("path",{d:"M40.452,77.705c7.802,1.393 23.794,1.393 31.596,0l13.635,13.635c-12.215,3.213 -46.652,3.213 -58.866,0l13.635,-13.635Zm50.888,-50.888c3.213,12.215 3.213,46.653 0,58.866l-13.635,-13.635c1.393,-7.801 1.393,-23.794 0,-31.596l13.635,-13.635Zm-70.18,0l13.635,13.635c-1.393,7.802 -1.393,23.794 0,31.596l-13.635,13.635c-3.213,-12.213 -3.213,-46.651 0,-58.866Zm5.657,-5.657c12.214,-3.213 46.652,-3.213 58.866,0l-13.635,13.635c-7.801,-1.393 -23.795,-1.393 -31.596,0l-13.635,-13.635Z"})):"advanced"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,37.215c6.632,2.124 6.632,23.512 0,25.636c-6.632,2.124 -73.42,2.124 -80.052,0c-6.632,-2.124 -6.632,-23.512 0,-25.636c6.632,-2.124 73.42,-2.124 80.052,0Z"}),O("path",{d:"M48.61,51.916c2.243,0.718 2.243,7.95 0,8.668c-2.242,0.718 -24.823,0.718 -27.065,0c-2.243,-0.718 -2.243,-7.95 0,-8.668c2.242,-0.718 24.823,-0.718 27.065,0Z"}),O("path",{d:"M90.955,51.916c2.243,0.718 2.243,7.95 0,8.668c-2.242,0.718 -24.823,0.718 -27.065,0c-2.243,-0.718 -2.243,-7.95 0,-8.668c2.242,-0.718 24.823,-0.718 27.065,0Z"})):"backgrounds"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M1.491,87.777l37.79,-37.79l31.352,31.352c2.412,2.171 5.656,0 5.656,0l17.248,-17.247l13.186,13.186l4.796,4.797c-0.971,12.199 -2.726,21.685 -5.249,24.208c-8.29,8.289 -91.776,8.289 -100.066,0c-2.113,-2.113 -3.687,-9.113 -4.713,-18.506Z"}),O("path",{d:"M0.631,77.323c-1.742,-27.728 0.125,-65.658 5.573,-71.106c8.29,-8.289 91.776,-8.289 100.066,0c5.07,5.07 7.039,38.265 5.89,65.185l-15.795,-15.795c-2.412,-2.172 -5.657,0 -5.657,0l-17.247,17.246l-31.351,-31.351c-0.731,-0.658 -1.036,-1 -2.619,-1.166c-0.263,0 -0.477,-0.075 -1.245,0.131c-0.912,0.244 -1.793,1.035 -1.793,1.035l-35.822,35.821Zm76.434,-59.584c7.115,0 12.891,5.776 12.891,12.89c0,7.114 -5.776,12.89 -12.891,12.89c-7.114,0 -12.89,-5.776 -12.89,-12.89c0,-7.114 5.776,-12.89 12.89,-12.89Z"})):"colors"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-50.033,12.818c-20.551,0 -37.215,16.664 -37.215,37.215c0,20.551 16.664,37.215 37.215,37.215c3.432,0 6.202,-2.77 6.202,-6.203c0,-1.612 -0.62,-3.059 -1.612,-4.176c-0.951,-1.075 -1.571,-2.522 -1.571,-4.094c0,-3.432 2.77,-6.202 6.202,-6.202l7.319,0c11.413,0 20.675,-9.262 20.675,-20.675c0,-18.277 -16.664,-33.08 -37.215,-33.08Zm-22.742,37.215c-3.433,0 -6.203,-2.77 -6.203,-6.202c0,-3.433 2.77,-6.203 6.203,-6.203c3.432,0 6.202,2.77 6.202,6.203c0,3.432 -2.77,6.202 -6.202,6.202Zm45.484,0c-3.432,0 -6.202,-2.77 -6.202,-6.202c0,-3.433 2.77,-6.203 6.202,-6.203c3.433,0 6.203,2.77 6.203,6.203c0,3.432 -2.77,6.202 -6.203,6.202Zm-33.079,-16.54c-3.433,0 -6.203,-2.77 -6.203,-6.202c0,-3.433 2.77,-6.203 6.203,-6.203c3.432,0 6.202,2.77 6.202,6.203c0,3.432 -2.77,6.202 -6.202,6.202Zm20.674,0c-3.432,0 -6.202,-2.77 -6.202,-6.202c0,-3.433 2.77,-6.203 6.202,-6.203c3.433,0 6.203,2.77 6.203,6.203c0,3.432 -2.77,6.202 -6.203,6.202Z"})):"gradients"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M112.426,48.746c0.503,25.204 -1.545,52.939 -6.143,57.537c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.289,-8.288 91.748,-8.289 100.061,-0.004c0,0 0.005,0.004 0.005,0.004c3.691,3.692 5.739,22.295 6.143,42.529Zm-16.154,-32.526c-6.656,-6.628 -73.418,-6.627 -80.048,0.004c-6.631,6.63 -6.632,73.392 -0.004,80.048l80.052,-80.052Z"})):"icons"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,10.007c6.632,6.632 6.632,73.42 0,80.052c-6.632,6.632 -73.42,6.632 -80.052,0c-6.632,-6.632 -6.632,-73.42 0,-80.052c6.632,-6.632 73.42,-6.632 80.052,0Z"}),O("path",{d:"M89.605,22.895c5.527,5.526 5.527,61.184 0,66.71c-5.526,5.527 -61.184,5.527 -66.71,0c-5.527,-5.526 -5.527,-61.184 0,-66.71c5.526,-5.527 61.184,-5.527 66.71,0Zm-21.066,62.31l0,-2.731c-0.648,-0.074 -1.272,-0.199 -1.87,-0.374c-0.599,-0.174 -1.148,-0.374 -1.646,-0.598c-0.699,-0.299 -1.235,-0.755 -1.609,-1.366c-0.374,-0.611 -0.561,-1.353 -0.561,-2.226l0,-29.703l-0.561,-0.561l-18.331,0.972l0,2.731c0.748,0.075 1.577,0.25 2.488,0.524c0.91,0.274 1.589,0.561 2.038,0.86c0.599,0.399 1.098,0.929 1.497,1.59c0.399,0.661 0.598,1.428 0.598,2.301l0,21.773c0,0.923 -0.162,1.665 -0.486,2.226c-0.324,0.561 -0.885,0.991 -1.683,1.29c-0.449,0.175 -0.986,0.3 -1.609,0.374c-0.624,0.075 -1.26,0.138 -1.908,0.187l0,2.731l23.643,0Zm-12.978,-59.459c4.76,0 8.625,3.864 8.625,8.625c0,4.76 -3.865,8.625 -8.625,8.625c-4.76,0 -8.625,-3.865 -8.625,-8.625c0,-4.761 3.865,-8.625 8.625,-8.625Z"})):"typography"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-8.783,78.583l0,-2.817c-0.661,-0.026 -1.481,-0.165 -2.46,-0.417c-0.979,-0.251 -1.773,-0.562 -2.381,-0.932c-0.9,-0.609 -1.601,-1.23 -2.103,-1.865c-0.503,-0.635 -0.953,-1.468 -1.349,-2.5l-18.769,-48.569l-3.175,0c-2.672,6.878 -5.714,14.721 -9.126,23.53c-3.266,8.43 -6.265,16.06 -8.998,22.891l-11.672,-28.684l-2.304,0c-1.939,4.742 -4.148,10.149 -6.625,16.222c-2.477,6.072 -4.743,11.543 -6.798,16.412c-0.403,0.949 -0.816,1.692 -1.238,2.23c-0.423,0.538 -1.018,1.053 -1.786,1.545c-0.48,0.292 -1.095,0.524 -1.844,0.698c-0.749,0.173 -1.373,0.278 -1.872,0.314l0,1.942l15.382,0l0,-1.942c-1.518,-0.073 -2.881,-0.31 -4.091,-0.711c-1.209,-0.401 -1.814,-0.966 -1.814,-1.696c0,-0.31 0.048,-0.711 0.144,-1.204c0.096,-0.492 0.268,-1.13 0.518,-1.914c0.269,-0.803 0.571,-1.678 0.907,-2.626c0.336,-0.948 0.773,-2.061 1.311,-3.338l14.316,0l3.399,8.699c0.012,0.03 0.024,0.06 0.036,0.092c-0.161,0.119 -0.329,0.237 -0.503,0.355c-0.661,0.423 -1.508,0.76 -2.539,1.012c-1.032,0.251 -1.892,0.403 -2.58,0.456l0,2.817l21.19,0l0,-2.817c-2.09,-0.106 -3.968,-0.45 -5.635,-1.032c-1.666,-0.582 -2.499,-1.402 -2.499,-2.46c0,-0.45 0.066,-1.032 0.198,-1.746c0.132,-0.714 0.37,-1.64 0.714,-2.777c0.371,-1.164 0.787,-2.434 1.25,-3.81c0.463,-1.375 1.065,-2.989 1.806,-4.841l19.721,0l4.682,12.619c0.106,0.264 0.186,0.568 0.238,0.912c0.053,0.344 0.08,0.635 0.08,0.873c0,0.582 -0.681,1.072 -2.044,1.468c-1.362,0.397 -3.075,0.662 -5.138,0.794l0,2.817l23.451,0Zm-56.864,-15.865l-6.193,-15.045l-6.078,15.045l12.271,0Zm34.167,-7.15l-8.532,-21.824l-8.373,21.824l16.905,0Z"})):"addContainer"===e?O("svg",{width:20,height:20,viewBox:"0 0 64 64",fillRule:"evenodd"},O("path",{d:"M41.454,57.126l0,6.409c-6.088,0.286 -12.82,0.286 -18.908,0l0,-6.409c5.957,0.366 12.951,0.366 18.908,0Zm-33.93,-8.899c0.458,3.226 1.086,5.568 1.883,6.366c0.798,0.797 3.14,1.425 6.366,1.883l0,6.592c-6.084,-0.578 -10.706,-1.519 -12.015,-2.826c-1.307,-1.309 -2.248,-5.931 -2.826,-12.015l6.592,0Zm55.544,0c-0.578,6.084 -1.519,10.706 -2.826,12.015c-1.309,1.307 -5.931,2.248 -12.015,2.826l0,-6.592c3.226,-0.458 5.568,-1.086 6.366,-1.883c0.797,-0.798 1.425,-3.14 1.883,-6.366l6.592,0Zm0.467,-25.681c0.286,6.088 0.286,12.82 0,18.908l-6.409,0c0.366,-5.957 0.366,-12.951 0,-18.908l6.409,0Zm-56.661,0c-0.366,5.957 -0.366,12.951 0,18.908l-6.409,0c-0.286,-6.088 -0.286,-12.82 0,-18.908l6.409,0Zm41.353,-21.614c6.084,0.578 10.706,1.519 12.015,2.826c1.307,1.309 2.248,5.931 2.826,12.015l-6.592,0c-0.458,-3.226 -1.086,-5.568 -1.883,-6.366c-0.798,-0.797 -3.14,-1.425 -6.366,-1.883l0,-6.592Zm-32.454,0l0,6.592c-3.226,0.458 -5.568,1.086 -6.366,1.883c-0.797,0.798 -1.425,3.14 -1.883,6.366l-6.592,0c0.578,-6.084 1.519,-10.706 2.826,-12.015c1.309,-1.307 5.931,-2.248 12.015,-2.826Zm6.773,-0.467c6.088,-0.286 12.82,-0.286 18.908,0l0,6.409c-5.957,-0.366 -12.951,-0.366 -18.908,0l0,-6.409Z"}),O("path",{d:"M18.03,29.037l11.007,0l0,-11.007l6.773,0l0,11.007l11.007,0l0,6.773l-11.007,0l0,11.007l-6.773,0l0,-11.007l-11.007,0l0,-6.773Z"})):"gradient"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24",fillRule:"evenodd"},O("path",{d:"M17.66 8L12 2.35L6.34 8A8.02 8.02 0 0 0 4 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0 0 11.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"})):"documentation"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.755 6.245c8.327 8.326 8.327 92.184 0 100.51-8.326 8.327-92.184 8.327-100.51 0-8.327-8.326-8.327-92.184 0-100.51 8.326-8.327 92.184-8.327 100.51 0zm-92.661 93.896C9.279 84 9.781 23.714 15.834 17.661c2.491-2.491 19.588-4.132 26.354-4.712 4.748-.408 10.115.671 14.243 1.23 4.128-.559 9.495-1.638 14.243-1.23 6.766.58 23.863 2.221 26.354 4.712 6.053 6.053 6.791 66.339 1.976 82.48-4.729-1.977-19.708-3.436-26.784-3.853-5.234-.308-11.129.739-15.671 1.354-4.543-.615-10.437-1.662-15.672-1.354-7.075.417-22.054 1.876-26.783 3.853z"}),O("path",{d:"M50.188 32.738c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0zM50.277 46.846c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM50.277 60.037c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM50.277 73.799c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0z"}),O("path",{d:"M89.909 32.738c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0zM89.998 46.846c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM89.998 60.037c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0z"})):"layout"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.719 6.238c8.362 8.362 8.362 92.208 0 100.57-8.362 8.287-92.208 8.287-100.495 0-8.362-8.362-8.362-92.208 0-100.57 8.287-8.286 92.133-8.286 100.495 0zm-9.417 9.417c6.78 6.78 6.78 74.957 0 81.737-6.78 6.78-74.956 6.78-81.661 0-6.78-6.78-6.78-74.957 0-81.737 6.705-6.78 74.881-6.78 81.661 0z"}),O("path",{d:"M93.988 48.877c.602 17.477-.754 37.893-3.993 41.132-3.164 3.164-22.75 4.52-40.002 4.068v-45.2h43.995zm-75.108 0h23.58v44.899c-9.718-.603-17.553-1.808-19.512-3.767-3.24-3.24-4.595-23.655-4.068-41.132zm.377-7.533c.678-9.19 1.883-16.498 3.691-18.306 5.575-5.575 61.472-5.575 67.047 0 1.808 1.808 3.013 9.115 3.691 18.306h-74.43z"})):"shapes"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.756,6.244C115.081,14.571 115.081,98.429 106.756,106.756C98.429,115.081 14.571,115.081 6.244,106.756C-2.081,98.429 -2.081,14.571 6.244,6.244C14.571,-2.081 98.429,-2.081 106.756,6.244ZM67.875,88.052C67.875,86.977 67.003,86.105 65.928,86.105L47.072,86.105C45.997,86.105 45.125,86.977 45.125,88.052L45.125,91.948C45.125,93.023 45.997,93.896 47.072,93.896L65.928,93.896C67.003,93.896 67.875,93.023 67.875,91.948L67.875,88.052ZM57.899,31.409L59.305,31.409C60.853,31.409 62.11,30.152 62.11,28.604L62.11,28.089L73.263,57.543C73.757,58.333 73.731,59.161 73.731,59.403C73.729,62.659 65.231,69.414 65.375,83.611L47.625,83.611C47.769,69.414 39.271,62.659 39.269,59.403C39.269,59.161 39.243,58.333 39.737,57.543L50.89,28.089L50.89,28.604C50.89,30.152 52.147,31.409 53.695,31.409L55.101,31.409C55.111,35.738 55.142,50.367 55.098,54.109C55.093,54.494 54.907,54.988 54.68,55.45C52.915,56.169 51.669,57.903 51.669,59.925C51.669,62.592 53.834,64.756 56.5,64.756C59.166,64.756 61.331,62.592 61.331,59.925C61.331,57.903 60.085,56.169 58.32,55.45C58.093,54.988 57.907,54.494 57.902,54.109C57.858,50.367 57.889,35.738 57.899,31.409ZM52.227,19.451L52.227,18.881C52.227,17.702 53.185,16.745 54.364,16.745L58.636,16.745C59.815,16.745 60.773,17.702 60.773,18.881L60.773,19.451L88.831,19.451C89.457,17.867 91.002,16.745 92.807,16.745C95.165,16.745 97.08,18.66 97.08,21.018C97.08,23.376 95.165,25.29 92.807,25.29C91.03,25.29 89.505,24.203 88.861,22.658L71.798,22.658C83.83,28.003 92.531,39.501 93.898,53.148L94.93,53.148C96.109,53.148 97.067,54.105 97.067,55.284L97.067,59.557C97.067,60.736 96.109,61.693 94.93,61.693L90.657,61.693C89.478,61.693 88.521,60.736 88.521,59.557L88.521,55.284C88.521,54.105 89.478,53.148 90.657,53.148L90.922,53.148C89.19,37.24 76.627,24.564 60.773,22.659L60.773,23.154C60.773,24.333 59.815,25.29 58.636,25.29L54.364,25.29C53.185,25.29 52.227,24.333 52.227,23.154L52.227,22.688C36.484,24.689 24.036,37.318 22.312,53.148L22.329,53.148C23.508,53.148 24.466,54.105 24.466,55.284L24.466,59.557C24.466,60.736 23.508,61.693 22.329,61.693L18.056,61.693C16.877,61.693 15.92,60.736 15.92,59.557L15.92,55.284C15.92,54.105 16.877,53.148 18.056,53.148L19.336,53.148C20.703,39.501 29.405,28.003 41.437,22.658L24.139,22.658C23.495,24.203 21.97,25.29 20.193,25.29C17.835,25.29 15.92,23.376 15.92,21.018C15.92,18.66 17.835,16.745 20.193,16.745C21.998,16.745 23.543,17.867 24.169,19.451L52.227,19.451Z"})):void 0}a(27);var T=a(1),C=a(2),_=a(3);function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var B=function(e){f()(a,e);var t=S(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props,t=e.onClick,a=e.selectedDevice;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"gb-responsive-tabs"},Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Show options for all devices","generateblocks")},Object(l.createElement)(C.Button,{isPressed:"Desktop"===a,onClick:function(){t("Desktop")}},Object(T.__)("Desktop","generateblocks"))),Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Show options for tablet devices","generateblocks")},Object(l.createElement)(C.Button,{isPressed:"Tablet"===a,onClick:function(){t("Tablet")}},Object(T.__)("Tablet","generateblocks"))),Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Show options for mobile devices","generateblocks")},Object(l.createElement)(C.Button,{isPressed:"Mobile"===a,onClick:function(){t("Mobile")}},Object(T.__)("Mobile","generateblocks")))),Object(_.applyFilters)("generateblocks.editor.controls","","afterResponsiveTabs",this.props,this.state))}}]),a}(l.Component);a(28);function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var E=function(e){f()(a,e);var t=D(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props,t=e.label,a=e.value,i=e.onClick,r=e.units;return Object(l.createElement)("div",{className:"components-gblocks-units-control-header__units"},Object(l.createElement)("div",{className:"components-gblocks-units-control-label__units"},t),Object(l.createElement)("div",{className:"components-gblocks-control__units"},Object(l.createElement)(C.ButtonGroup,{className:"components-gblocks-control-buttons__units","aria-label":Object(T.__)("Select Units","generateblocks")},r.map((function(e){var t=e;return"px"===e&&(t=Object(T._x)("Pixel","A size unit for CSS markup","generateblocks")),"em"===e&&(t=Object(T._x)("Em","A size unit for CSS markup","generateblocks")),"%"===e&&(t=Object(T._x)("Percentage","A size unit for CSS markup","generateblocks")),"deg"===e&&(t=Object(T._x)("Degree","A size unit for CSS markup","generateblocks")),Object(l.createElement)(C.Tooltip
|
2 |
/* translators: Unit type (px, em, %) */,{text:Object(T.sprintf)(Object(T.__)("%s Units","generateblocks"),t),key:e},Object(l.createElement)(C.Button,{key:e,className:"components-gblocks-control-button__units--"+e,isSmall:!0,isPrimary:a===e,"aria-pressed":a===e
|
3 |
-
/* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Units","generateblocks"),t),onClick:function(){return i(e)}},e))})))))}}]),a}(l.Component),R=a(19),x=a.n(R);function M(e){for(var t="",a=0,l=Object.entries(e);a<l.length;a++){var i=x()(l[a],2),r=i[0],n=i[1];if(!(n.length<1)){for(var o=r+"{",c=0,s=0,g=Object.entries(n);s<g.length;s++)for(var b=x()(g[s],2),u=(b[0],b[1]),d=0,p=Object.entries(u);d<p.length;d++){var f=x()(p[d],2),h=f[0],m=f[1];(m||0===m)&&(c++,o+=h+": "+m+";")}o+="}",c>0&&(t+=o)}}return t}function z(e,t){return!(!e&&0!==e)&&e+t}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var P=function(e){f()(a,e);var t=L(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.horizontalGap,i=e.verticalGap,r=e.verticalAlignment,n=e.horizontalAlignment,o=[];return o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"align-items":r,"justify-content":n,"margin-left":"-"+a/2+"px","margin-right":"-"+a/2+"px"}],o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{"padding-left":a/2+"px","padding-right":a/2+"px","margin-bottom":z(i,"px")}],o=Object(_.applyFilters)("generateblocks.editor.mainCSS",o,this.props,"grid"),Object(l.createElement)("style",null,M(o))}}]),a}(l.Component);function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var A=function(e){f()(a,e);var t=F(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(_.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"grid"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function U(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var H=function(e){f()(a,e);var t=U(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.horizontalGapTablet,i=e.verticalGapTablet,r=e.verticalAlignmentTablet,n=e.horizontalAlignmentTablet,o=[];return o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"align-items":"inherit"!==r?r:null,"justify-content":"inherit"!==n?n:null,"margin-left":a||0===a?"-"+a/2+"px":null,"margin-right":a||0===a?"-"+a/2+"px":null}],o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{"padding-left":a||0===a?a/2+"px":null,"padding-right":a||0===a?a/2+"px":null,"margin-bottom":i||0===i?z(i,"px"):null}],o=Object(_.applyFilters)("generateblocks.editor.tabletCSS",o,this.props,"grid"),Object(l.createElement)("style",null,M(o))}}]),a}(l.Component);function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var I=function(e){f()(a,e);var t=N(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(_.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"grid"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var V=function(e){f()(a,e);var t=G(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.horizontalGapMobile,i=e.verticalGapMobile,r=e.verticalAlignmentMobile,n=e.horizontalAlignmentMobile,o=[];return o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"align-items":"inherit"!==r?r:null,"justify-content":"inherit"!==n?n:null,"margin-left":a||0===a?"-"+a/2+"px":null,"margin-right":a||0===a?"-"+a/2+"px":null}],o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{"padding-left":a||0===a?a/2+"px":null,"padding-right":a||0===a?a/2+"px":null,"margin-bottom":i||0===i?z(i,"px"):null}],o=Object(_.applyFilters)("generateblocks.editor.mobileCSS",o,this.props,"grid"),Object(l.createElement)("style",null,M(o))}}]),a}(l.Component),q=a(18),W=a.n(q);function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var K=function(e){f()(a,e);var t=Z(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props,t=e.name,a=e.children;return Object(_.applyFilters)(t,a||"",this.props)}}]),a}(l.Component);function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Y=function(e){f()(a,e);var t=J(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props,t=e.title,a=void 0!==t&&t,i=e.initialOpen,r=void 0!==i&&i,n=e.icon,o=e.className,c=e.id,s=e.state,g=e.showPanel,b=void 0===g||g,u=e.children;if(!Object(_.applyFilters)("generateblocks.editor.showPanel",b,c,this.props))return null;var d=!0;return""===u&&(d=!1),"object"===W()(u)&&(d=Object.values(u).some((function(e){return null!==e&&!1!==e&&""!==e}))),d?Object(l.createElement)(K,{name:"generateblocks.panel."+c,props:this.props,state:s},a?Object(l.createElement)(C.PanelBody,{title:a,initialOpen:r,icon:n,className:o},Object(_.applyFilters)("generateblocks.editor.panelContents",u,c,this.props)):Object(l.createElement)(C.PanelBody,null,Object(_.applyFilters)("generateblocks.editor.panelContents",u,c,this.props))):null}}]),a}(l.Component),Q=a(11),X=a(14),$=a(15),ee=a(17);function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ae=/[\s#]/g,le=[],ie=function(e){f()(a,e);var t=te(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={selectedLayout:!1,selectedDevice:"Desktop"},e.onLayoutSelect=e.onLayoutSelect.bind(d()(e)),e.getColumnsFromLayout=e.getColumnsFromLayout.bind(d()(e)),e.getLayoutsSelector=e.getLayoutsSelector.bind(d()(e)),e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-","");this.props.attributes.uniqueId?le.includes(this.props.attributes.uniqueId)?(this.props.setAttributes({uniqueId:e}),le.push(e)):le.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),le.push(e)),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0})}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,l=e.clientId;t.columns;if(this.state.selectedLayout){var i=this.getColumnsFromLayout(this.state.selectedLayout);i.forEach((function(e){wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/container",e),void 0,l,!1)})),a({columns:i.length}),this.setState({selectedLayout:!1})}else{var r=wp.data.select("core/block-editor").getBlocksByClientId(l)[0];if(r)a({columns:r.innerBlocks.length})}}},{key:"getColumnsFromLayout",value:function(e){var t=this,a=[],l=e.split("-"),i=0;return l.forEach((function(){var e={isGrid:!0,gridId:t.props.attributes.uniqueId,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"0",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"0",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"0",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"0"};e.width=Number(l[i]),i++,a.push(e)})),a}},{key:"getLayoutsSelector",value:function(){var e=this;return Object(l.createElement)(C.Placeholder,{label:Object(T.__)("Grid","generateblocks"),instructions:Object(T.__)("Select one layout to get started.","generateblocks"),className:"gb-select-layout"},Object(l.createElement)("div",{className:"gb-grid-wrapper-layout-preview"},["100","50-50","33.33-33.33-33.33","25-25-25-25","25-75","75-25","25-25-50","25-50-25","50-25-25","20-60-20","20-20-20-20-20","16.66-16.66-16.66-16.66-16.66-16.66"].map((function(t){var a=e.getColumnsFromLayout(t);return Object(l.createElement)("button",{key:"layout-".concat(t),className:"gb-grid-wrapper-layout-preview-btn",onClick:function(){return e.onLayoutSelect(t)}},a.map((function(e,a){return Object(l.createElement)("div",{key:"layout-".concat(t,"-col-").concat(a),className:w()("gb-col","gb-col-".concat(e.width))})})))}))))}},{key:"onLayoutSelect",value:function(e){this.setState({selectedLayout:e})}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=a.clientId,s=i.uniqueId,g=i.className,b=i.anchor,u=i.columns,d=i.horizontalGap,p=i.verticalGap,f=i.verticalAlignment,h=i.horizontalGapTablet,m=i.verticalGapTablet,k=i.verticalAlignmentTablet,y=i.horizontalGapMobile,v=i.verticalGapMobile,O=i.verticalAlignmentMobile,S=i.horizontalAlignment,D=i.horizontalAlignmentTablet,R=i.horizontalAlignmentMobile,x=d||0===d?d:"",M=p||0===p?p:"",z=d||0===d?d:"",L=p||0===p?p:"";h&&(z=h),m&&(L=m);var F={className:w()((e={"gb-grid-wrapper":!0},o()(e,"gb-grid-wrapper-".concat(s),!0),o()(e,"".concat(g),void 0!==g),e)),id:b||null};return F=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",F,"generateblocks/grid",i),Object(l.createElement)(l.Fragment,null,(u>0||this.state.selectedLayout)&&Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:j("addContainer"),label:Object(T.__)("Add Grid Item","generateblocks"),onClick:function(){wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/container",{isGrid:!0,gridId:s,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"0",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"0",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"0",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"0"}),void 0,c)},showTooltip:!0}))),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),Object(l.createElement)(Y,r()({},this.props,{id:"gridLayout",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:d||0===d?d:"",min:"0",onChange:function(e){e=e.toString().replace(/-/g,""),n({horizontalGap:e})},onBlur:function(){!d&&generateBlocksDefaults.gridContainer.horizontalGap?n({horizontalGap:0}):n({horizontalGap:parseFloat(d)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({horizontalGap:generateBlocksDefaults.gridContainer.horizontalGap})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(E,{label:Object(T.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:p||0===p?p:"",min:"0",onChange:function(e){e=e.toString().replace(/-/g,""),n({verticalGap:e})},onBlur:function(){!p&&generateBlocksDefaults.gridContainer.verticalGap?n({verticalGap:0}):n({verticalGap:parseFloat(p)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({verticalGap:generateBlocksDefaults.gridContainer.verticalGap})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),value:f,help:Object(T.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),options:[{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignment:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Horizontal Alignment","generateblocks"),value:S,options:[{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Left","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Right","generateblocks"),value:"flex-end"}],onChange:function(e){n({horizontalAlignment:e})}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:h||0===h?h:"",min:"0",placeholder:x,onChange:function(e){e=e.toString().replace(/-/g,""),n({horizontalGapTablet:e})},onBlur:function(){!h&&generateBlocksDefaults.gridContainer.horizontalGapTablet?n({horizontalGapTablet:0}):n({horizontalGapTablet:parseFloat(h)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({horizontalGapTablet:generateBlocksDefaults.gridContainer.horizontalGapTablet})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(E,{label:Object(T.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:m||0===m?m:"",min:"0",placeholder:M,onChange:function(e){e=e.toString().replace(/-/g,""),n({verticalGapTablet:e})},onBlur:function(){!m&&generateBlocksDefaults.gridContainer.verticalGapTablet?n({verticalGapTablet:0}):n({verticalGapTablet:parseFloat(m)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({verticalGapTablet:generateBlocksDefaults.gridContainer.verticalGapTablet})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:k,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentTablet:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Horizontal Alignment","generateblocks"),value:D,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Left","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Right","generateblocks"),value:"flex-end"}],onChange:function(e){n({horizontalAlignmentTablet:e})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:y||0===y?y:"",min:"0",placeholder:z,onChange:function(e){e=e.toString().replace(/-/g,""),n({horizontalGapMobile:e})},onBlur:function(){!y&&generateBlocksDefaults.gridContainer.horizontalGapMobile?n({horizontalGapMobile:0}):n({horizontalGapMobile:parseFloat(y)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({horizontalGapMobile:generateBlocksDefaults.gridContainer.horizontalGapMobile})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(E,{label:Object(T.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:v||0===v?v:"",min:"0",placeholder:L,onChange:function(e){e=e.toString().replace(/-/g,""),n({verticalGapMobile:e})},onBlur:function(){!v&&generateBlocksDefaults.gridContainer.verticalGapMobile?n({verticalGapMobile:0}):n({verticalGapMobile:parseFloat(v)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({verticalGapMobile:generateBlocksDefaults.gridContainer.verticalGapMobile})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:O,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentMobile:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Horizontal Alignment","generateblocks"),value:R,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Left","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Right","generateblocks"),value:"flex-end"}],onChange:function(e){n({horizontalAlignmentMobile:e})}})),Object(_.applyFilters)("generateblocks.editor.controls","","gridLayout",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),icon:j("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"gridDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/grid/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(_.applyFilters)("generateblocks.editor.controls","","gridDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:b||"",onChange:function(e){e=e.replace(ae,"-"),n({anchor:e})}})),Object(l.createElement)(P,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(A,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(H,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(I,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(V,this.props)),Object(l.createElement)("div",F,u>0||this.state.selectedLayout?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.InnerBlocks,{allowedBlocks:["generateblocks/container"],renderAppender:!1})):this.getLayoutsSelector()))}}]),a}(l.Component),re=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?{deviceType:t()}:{deviceType:null}}))])(ie),ne={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},columns:{type:"number",default:""},horizontalGap:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGap},verticalGap:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGap},verticalAlignment:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignment},horizontalGapTablet:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGapTablet},verticalGapTablet:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGapTablet},verticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignmentTablet},horizontalGapMobile:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGapMobile},verticalGapMobile:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGapMobile},verticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignmentMobile},horizontalAlignment:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignment},horizontalAlignmentTablet:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignmentTablet},horizontalAlignmentMobile:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignmentMobile},isDynamic:{type:"boolean"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};function oe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function ce(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):oe(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var se=[{attributes:ne,supports:{anchor:!1,className:!1,customClassName:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return ce(ce({},e),{},{className:t,anchor:a,cssClasses:"",elementId:""})},save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.elementId,n=a.cssClasses,c={id:r||void 0,className:w()((t={"gb-grid-wrapper":!0},o()(t,"gb-grid-wrapper-".concat(i),!0),o()(t,"".concat(n),""!==n),t))};return c=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",c,"generateblocks/grid",a),Object(l.createElement)("div",c,Object(l.createElement)(Q.InnerBlocks.Content,null))}}];Object(X.registerBlockType)("generateblocks/grid",{title:Object(T.__)("Grid","generateblocks"),description:Object(T.__)("Create advanced layouts with flexible grids.","generateblocks"),icon:j("grid"),category:"generateblocks",keywords:[Object(T.__)("grid"),Object(T.__)("column"),Object(T.__)("generate")],attributes:ne,supports:{className:!1},edit:re,save:function(){return Object(l.createElement)(Q.InnerBlocks.Content,null)},deprecated:se});a(32);var ge=generateBlocksInfo.hasWideAlignSupport,be=["wide","full"],ue=Object(ee.createHigherOrderComponent)((function(e){return function(t){var a=t.name,i=t.attributes,r=t.isSelected,n=t.clientId,o=t.setAttributes,c=i.isGrid,s=i.align,g=!1;return g="function"==typeof wp.data.select("core/block-editor").getBlockParentsByBlockName?wp.data.select("core/block-editor").getBlockParentsByBlockName(n,"generateblocks/grid",!0)[0]:wp.data.select("core/block-editor").getBlockRootClientId(n),Object(l.createElement)(l.Fragment,null,r&&c&&g&&"generateblocks/container"===a&&Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:j("addContainer"),label:Object(T.__)("Duplicate Grid Item","generateblocks"),onClick:function(){var e=wp.data.select("core/block-editor").getBlocksByClientId(n)[0],t=Object(X.cloneBlock)(e);wp.data.dispatch("core/block-editor").insertBlocks(t,void 0,g)},showTooltip:!0})),Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-block-control-icon",icon:j("grid"),label:Object(T.__)("Select Parent Grid","generateblocks"),onClick:function(){wp.data.dispatch("core/block-editor").selectBlock(g)},showTooltip:!0}))),r&&ge&&!c&&"generateblocks/container"===a&&Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(Q.BlockAlignmentToolbar,{value:s,onChange:function(e){o({align:e}),"full"===e&&o({outerContainer:"full"})},controls:be})),Object(l.createElement)(e,t))}}),"withAdvancedControls");Object(_.addFilter)("editor.BlockEdit","generateblocks/container-block-controls",ue);var de=a(16),pe=a.n(de);function fe(e){var t=e.tagName,a=e.htmlAttrs,i=e.children;return Object(l.createElement)(t,a,i)}function he(e,t){return e?t||0===t?(e=e.replace("#",""),"rgba("+parseInt(3===e.length?e.slice(0,1).repeat(2):e.slice(0,2),16)+", "+parseInt(3===e.length?e.slice(1,2).repeat(2):e.slice(2,4),16)+", "+parseInt(3===e.length?e.slice(2,3).repeat(2):e.slice(4,6),16)+", "+t+")"):e:""}a(36);function me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ke=function(e){f()(a,e);var t=me(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={colorKey:!1},e}return b()(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.value,i=t.onChange,r=t.onOpacityChange,n=t.label,o=t.alpha,c=void 0!==o&&o,s=t.valueOpacity,g=this.state.colorKey,b=function(){!0===e.state.isVisible&&e.setState({isVisible:!1})};return Object(l.createElement)(C.BaseControl,{className:"gblocks-component-color-picker-wrapper"},!!n&&Object(l.createElement)("div",{className:"gblocks-color-component-label"},Object(l.createElement)("span",null,n)),Object(l.createElement)("div",{className:"gblocks-color-picker-area"},!this.state.isVisible&&Object(l.createElement)("div",{className:w()("components-color-palette__item-wrapper components-circular-option-picker__option-wrapper",a?"":"components-color-palette__custom-color")},Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Choose Color","generateblocks")},Object(l.createElement)("button",{type:"button","aria-expanded":this.state.isVisible,className:"components-color-palette__item components-circular-option-picker__option",onClick:function(){e.setState({isVisible:!0})},"aria-label":Object(T.__)("Custom color picker","generateblocks"),style:{color:a?he(a,s):"transparent"}},Object(l.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))),this.state.isVisible&&Object(l.createElement)("div",{className:w()("components-color-palette__item-wrapper components-circular-option-picker__option-wrapper",a?"":"components-color-palette__custom-color")},Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Choose Color","generateblocks")},Object(l.createElement)("button",{type:"button","aria-expanded":this.state.isVisible,className:"components-color-palette__item components-circular-option-picker__option",onClick:b,"aria-label":Object(T.__)("Custom color picker","generateblocks"),style:{color:a?he(a,s):"transparent"}},Object(l.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))),this.state.isVisible&&Object(l.createElement)(C.Popover,{position:"top left",className:"gblocks-component-color-picker",onClose:b},Object(l.createElement)(C.BaseControl,{key:g},Object(l.createElement)(C.ColorPicker,{key:g,color:a||"",onChangeComplete:function(e){i(e.hex)},disableAlpha:!0})),c&&Object(l.createElement)("div",{className:"gblocks-component-color-opacity"},Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Opacity","generateblocks")},j("gradient")),Object(l.createElement)(C.RangeControl,{value:s||0,onChange:function(e){return r(e)},min:0,max:1,step:.01,initialPosition:1})),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-color-clear-color",onClick:function(){i(""),r(1),e.setState({colorKey:!1})}},Object(T.__)("Clear Color","generateblocks")),Object(l.createElement)(C.BaseControl,{className:"gblocks-component-color-picker-palette"},Object(l.createElement)(Q.ColorPalette,{value:a,onChange:function(t){i(t),e.setState({colorKey:t})},disableCustomColors:!0,clearable:!1})))))}}]),a}(l.Component);a(37);function ye(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ve=function(e){f()(a,e);var t=ye(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).onChangeTop=e.onChangeTop.bind(d()(e)),e.onChangeRight=e.onChangeRight.bind(d()(e)),e.onChangeBottom=e.onChangeBottom.bind(d()(e)),e.onChangeLeft=e.onChangeLeft.bind(d()(e)),e.onChangeAll=e.onChangeAll.bind(d()(e)),e.syncUnits=e.syncUnits.bind(d()(e)),e.onChangeUnits=e.onChangeUnits.bind(d()(e)),e}return b()(a,[{key:"onReset",value:function(e){this.props.setAttributes(o()({},this.props[e],""))}},{key:"onChangeTop",value:function(e){this.props.setAttributes(o()({},this.props.attrTop,e))}},{key:"onChangeRight",value:function(e){this.props.setAttributes(o()({},this.props.attrRight,e))}},{key:"onChangeBottom",value:function(e){this.props.setAttributes(o()({},this.props.attrBottom,e))}},{key:"onChangeLeft",value:function(e){this.props.setAttributes(o()({},this.props.attrLeft,e))}},{key:"onChangeAll",value:function(e){var t;this.props.setAttributes((t={},o()(t,this.props.attrTop,e),o()(t,this.props.attrRight,e),o()(t,this.props.attrBottom,e),o()(t,this.props.attrLeft,e),t))}},{key:"syncUnits",value:function(){var e,t=[this.props.attributes[this.props.attrTop],this.props.attributes[this.props.attrRight],this.props.attributes[this.props.attrBottom],this.props.attributes[this.props.attrLeft]],a=Math.max.apply(null,t);this.props.setAttributes((e={},o()(e,this.props.attrSyncUnits,!this.props.attributes[this.props.attrSyncUnits]),o()(e,this.props.attrTop,a.toString()),o()(e,this.props.attrRight,a.toString()),o()(e,this.props.attrBottom,a.toString()),o()(e,this.props.attrLeft,a.toString()),e))}},{key:"onChangeUnits",value:function(e){this.props.setAttributes(o()({},this.props.attrUnit,e))}},{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,i=t.label,r=void 0===i?Object(T.__)("Margin","generateblocks"):i,n=t.type,o=void 0===n?"margin":n,c=t.attrTop,s=t.attrRight,g=t.attrBottom,b=t.attrLeft,u=t.attrSyncUnits,d=t.attrUnit,p=t.labelTop,f=void 0===p?Object(T.__)("Top","generateblocks"):p,h=t.labelRight,m=void 0===h?Object(T.__)("Right","generateblocks"):h,k=t.labelBottom,y=void 0===k?Object(T.__)("Bottom","generateblocks"):k,v=t.labelLeft,O=void 0===v?Object(T.__)("Left","generateblocks"):v,_=t.device,S=t.block,B=t.defaults,D=t.units,R=w()("components-base-control","components-gblocks-dimensions-control"),x="",M="",z="",L="";if("headline"===S&&g.includes("marginBottom")){if("px"===this.props.attributes.marginUnit){var P=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId);P&&(z=parseFloat(window.getComputedStyle(P).marginBottom))}else"em"===this.props.attributes.marginUnit&&void 0!==generateBlocksStyling.headline&&void 0!==generateBlocksStyling.headline[a.element].marginBottom&&generateBlocksStyling.headline[a.element].marginUnit===a.marginUnit&&(z=generateBlocksStyling.headline[a.element].marginBottom);"div"!==this.props.attributes.element&&"span"!==this.props.attributes.element||(z="")}if("Tablet"===_){var F=c.replace("Tablet",""),A=s.replace("Tablet",""),U=g.replace("Tablet",""),H=b.replace("Tablet","");x=a[F]?a[F]:x,M=a[A]?a[A]:M,z=a[U]?a[U]:z,L=a[H]?a[H]:L}if("Mobile"===_){var N=c.replace("Mobile",""),I=s.replace("Mobile",""),G=g.replace("Mobile",""),V=b.replace("Mobile","");a[N+"Tablet"]?x=a[N+"Tablet"]:a[N]&&(x=a[N]),a[I+"Tablet"]?M=a[I+"Tablet"]:a[I]&&(M=a[I]),a[G+"Tablet"]?z=a[G+"Tablet"]:a[G]&&(z=a[G]),a[V+"Tablet"]?L=a[V+"Tablet"]:a[V]&&(L=a[V])}var q=void 0!==a.useGlobalStyle&&a.useGlobalStyle;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:R},Object(l.createElement)(E,{label:r,value:void 0!==a[d]?a[d]:"px",units:D,onClick:function(t){if(void 0===a[d])return!1;e.onChangeUnits(t)}}),Object(l.createElement)("div",{className:"components-gblocks-dimensions-control__inputs"},Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:x,type:"number",onChange:function(t){var a=t.target.value;"padding"===o&&(a=a.toString().replace(/-/g,"")),""!==a?e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll(a):e.onChangeTop(a):e.onReset("attrTop")},onBlur:function(){q||""!==a[c]||""===B[c]||(e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll("0"):e.onChangeTop("0"))},onClick:function(e){e.currentTarget.focus()}
|
4 |
/* translators: Dimension label (padding, margin, border) */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Top","generateblocks"),r),value:a[c]?a[c]:"",min:"padding"===o?0:void 0,"data-attribute":o}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:M,type:"number",onChange:function(t){var a=t.target.value;"padding"===o&&(a=a.toString().replace(/-/g,"")),""!==a?e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll(a):e.onChangeRight(a):e.onReset("attrRight")},onBlur:function(){q||""!==a[s]||""===B[s]||(e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll("0"):e.onChangeRight("0"))},onClick:function(e){e.currentTarget.focus()}
|
5 |
/* translators: Dimension label (padding, margin, border) */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Right","generateblocks"),r),value:a[s]?a[s]:"",min:"padding"===o?0:void 0,"data-attribute":o}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:z,type:"number",onChange:function(t){var a=t.target.value;"padding"===o&&(a=a.toString().replace(/-/g,"")),""!==a?e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll(a):e.onChangeBottom(a):e.onReset("attrBottom")},onBlur:function(){q||""!==a[g]||""===B[g]||(e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll("0"):e.onChangeBottom("0"))},onClick:function(e){e.currentTarget.focus()}
|
6 |
/* translators: Dimension label (padding, margin, border) */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Bottom","generateblocks"),r),value:a[g]?a[g]:"",min:"padding"===o?0:void 0,"data-attribute":o}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:L,type:"number",onChange:function(t){var a=t.target.value;"padding"===o&&(a=a.toString().replace(/-/g,"")),""!==a?e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll(a):e.onChangeLeft(a):e.onReset("attrLeft")},onBlur:function(){q||""!==a[b]||""===B[b]||(e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll("0"):e.onChangeLeft("0"))},onClick:function(e){e.currentTarget.focus()}
|
7 |
-
/* translators: Dimension label (padding, margin, border) */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Left","generateblocks"),r),value:a[b]?a[b]:"",min:"padding"===o?0:void 0,"data-attribute":o}),Object(l.createElement)(C.Tooltip,{text:a[u]?Object(T.__)("Unsync","generateblocks"):Object(T.__)("Sync","generateblocks")},Object(l.createElement)(C.Button,{className:"components-gblocks-dimensions-control_sync","aria-label":Object(T.__)("Sync Units","generateblocks"),isPrimary:!!a[u]&&a[u],"aria-pressed":!!a[u]&&a[u],onClick:function(t){return e.syncUnits(t,"")},isSmall:!0},(a[u],j("sync"))))),Object(l.createElement)("div",{className:"components-gblocks-dimensions-control__input-labels"},Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},f),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},m),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},y),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},O),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"}))))}}]),a}(l.Component),we=(a(38),{Roboto:{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],fallback:"sans-serif"},"Open Sans":{weight:["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},Lato:{weight:["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],fallback:"sans-serif"},Montserrat:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Source Sans Pro":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],fallback:"sans-serif"},"Roboto Condensed":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"sans-serif"},Oswald:{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},"Roboto Mono":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic"],fallback:"monospace"},Raleway:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Poppins:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Noto Sans":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Roboto Slab":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"serif"},Merriweather:{weight:["300","300italic","regular","italic","700","700italic","900","900italic"],fallback:"serif"},"PT Sans":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Ubuntu:{weight:["300","300italic","regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},"Playfair Display":{weight:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"serif"},Muli:{weight:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"sans-serif"},"Open Sans Condensed":{weight:["300","300italic","700"],fallback:"sans-serif"},"PT Serif":{weight:["regular","italic","700","700italic"],fallback:"serif"},Lora:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},"Slabo 27px":{weight:["regular"],fallback:"serif"},Nunito:{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Noto Sans JP":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Work Sans":{weight:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"sans-serif"},Rubik:{weight:["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],fallback:"sans-serif"},"Noto Serif":{weight:["regular","italic","700","700italic"],fallback:"serif"},"Fira Sans":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Titillium Web":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],fallback:"sans-serif"},Quicksand:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Noto Sans KR":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Nanum Gothic":{weight:["regular","700","800"],fallback:"sans-serif"},Mukta:{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},"Noto Sans TC":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Nunito Sans":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Heebo:{weight:["100","300","regular","500","700","800","900"],fallback:"sans-serif"},"PT Sans Narrow":{weight:["regular","700"],fallback:"sans-serif"},Arimo:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Inconsolata:{weight:["regular","700"],fallback:"monospace"},Barlow:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Oxygen:{weight:["300","regular","700"],fallback:"sans-serif"},Dosis:{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Bitter:{weight:["regular","italic","700"],fallback:"serif"},"Libre Baskerville":{weight:["regular","italic","700"],fallback:"serif"},"Crimson Text":{weight:["regular","italic","600","600italic","700","700italic"],fallback:"serif"},"Libre Franklin":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Karla:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Josefin Sans":{weight:["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],fallback:"sans-serif"},Cabin:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Anton:{weight:["regular"],fallback:"sans-serif"},"Source Code Pro":{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],fallback:"monospace"},Hind:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Abel:{weight:["regular"],fallback:"sans-serif"},Amiri:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Fjalla One":{weight:["regular"],fallback:"sans-serif"},Lobster:{weight:["regular"],fallback:"display"},Pacifico:{weight:["regular"],fallback:"handwriting"},"Indie Flower":{weight:["regular"],fallback:"handwriting"},"Exo 2":{weight:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"sans-serif"},"Dancing Script":{weight:["regular","500","600","700"],fallback:"handwriting"},"Source Serif Pro":{weight:["regular","600","700"],fallback:"serif"},Arvo:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Hind Siliguri":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Varela Round":{weight:["regular"],fallback:"sans-serif"},"Merriweather Sans":{weight:["300","300italic","regular","italic","700","700italic","800","800italic"],fallback:"sans-serif"},Cairo:{weight:["200","300","regular","600","700","900"],fallback:"sans-serif"},"Yanone Kaffeesatz":{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},Overpass:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Shadows Into Light":{weight:["regular"],fallback:"handwriting"},"Barlow Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"IBM Plex Sans":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Comfortaa:{weight:["300","regular","500","600","700"],fallback:"display"},Asap:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Prompt:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Kanit:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Questrial:{weight:["regular"],fallback:"sans-serif"},Martel:{weight:["200","300","regular","600","700","800","900"],fallback:"serif"},"Archivo Narrow":{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Abril Fatface":{weight:["regular"],fallback:"display"},"Amatic SC":{weight:["regular","700"],fallback:"handwriting"},Acme:{weight:["regular"],fallback:"sans-serif"},Catamaran:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Fira Sans Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"EB Garamond":{weight:["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],fallback:"serif"},"Bree Serif":{weight:["regular"],fallback:"serif"},"Zilla Slab":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Noto Sans SC":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Cormorant Garamond":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Hind Madurai":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Teko:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Righteous:{weight:["regular"],fallback:"display"},Signika:{weight:["300","regular","600","700"],fallback:"sans-serif"},Play:{weight:["regular","700"],fallback:"sans-serif"},Domine:{weight:["regular","700"],fallback:"serif"},Exo:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Russo One":{weight:["regular"],fallback:"sans-serif"},Cinzel:{weight:["regular","700","900"],fallback:"serif"},"PT Sans Caption":{weight:["regular","700"],fallback:"sans-serif"},Rajdhani:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Maven Pro":{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},"Fredoka One":{weight:["regular"],fallback:"display"},"IBM Plex Serif":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Ubuntu Condensed":{weight:["regular"],fallback:"sans-serif"},"Patua One":{weight:["regular"],fallback:"display"},Caveat:{weight:["regular","700"],fallback:"handwriting"},"Permanent Marker":{weight:["regular"],fallback:"handwriting"},Assistant:{weight:["200","300","regular","600","700","800"],fallback:"sans-serif"},ABeeZee:{weight:["regular","italic"],fallback:"sans-serif"},Vollkorn:{weight:["regular","italic","600","600italic","700","700italic","900","900italic"],fallback:"serif"},"Crete Round":{weight:["regular","italic"],fallback:"serif"},"Special Elite":{weight:["regular"],fallback:"display"},Rokkitt:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"serif"},Bangers:{weight:["regular"],fallback:"display"},"Francois One":{weight:["regular"],fallback:"sans-serif"},"Barlow Semi Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Alegreya Sans":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Satisfy:{weight:["regular"],fallback:"handwriting"},Tajawal:{weight:["200","300","regular","500","700","800","900"],fallback:"sans-serif"},"Bebas Neue":{weight:["regular"],fallback:"display"},"Patrick Hand":{weight:["regular"],fallback:"handwriting"},Cuprum:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Viga:{weight:["regular"],fallback:"sans-serif"},Courgette:{weight:["regular"],fallback:"handwriting"},"Ropa Sans":{weight:["regular","italic"],fallback:"sans-serif"},"Noto Serif JP":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},"Gochi Hand":{weight:["regular"],fallback:"handwriting"},Alegreya:{weight:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Luckiest Guy":{weight:["regular"],fallback:"display"},"Noticia Text":{weight:["regular","italic","700","700italic"],fallback:"serif"},Tinos:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Passion One":{weight:["regular","700","900"],fallback:"display"},"Alfa Slab One":{weight:["regular"],fallback:"display"},"Nanum Myeongjo":{weight:["regular","700","800"],fallback:"serif"},Monda:{weight:["regular","700"],fallback:"sans-serif"},"Lobster Two":{weight:["regular","italic","700","700italic"],fallback:"display"},Kalam:{weight:["300","regular","700"],fallback:"handwriting"},"Kaushan Script":{weight:["regular"],fallback:"handwriting"},"Archivo Black":{weight:["regular"],fallback:"sans-serif"},Cardo:{weight:["regular","italic","700"],fallback:"serif"},Archivo:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Great Vibes":{weight:["regular"],fallback:"handwriting"},Volkhov:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Quattrocento Sans":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"News Cycle":{weight:["regular","700"],fallback:"sans-serif"},"Pathway Gothic One":{weight:["regular"],fallback:"sans-serif"},Sacramento:{weight:["regular"],fallback:"handwriting"},"Frank Ruhl Libre":{weight:["300","regular","500","700","900"],fallback:"serif"},Yantramanav:{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},Cantarell:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Istok Web":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Didact Gothic":{weight:["regular"],fallback:"sans-serif"},"Concert One":{weight:["regular"],fallback:"display"},Taviraj:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Old Standard TT":{weight:["regular","italic","700"],fallback:"serif"},"Montserrat Alternates":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Economica:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Changa:{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},"Fira Sans Extra Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Gloria Hallelujah":{weight:["regular"],fallback:"handwriting"},Parisienne:{weight:["regular"],fallback:"handwriting"},Orbitron:{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},"Asap Condensed":{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Playfair Display SC":{weight:["regular","italic","700","700italic","900","900italic"],fallback:"serif"},Chivo:{weight:["300","300italic","regular","italic","700","700italic","900","900italic"],fallback:"sans-serif"},Sriracha:{weight:["regular"],fallback:"handwriting"},"Hind Vadodara":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"DM Sans":{weight:["regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},Prata:{weight:["regular"],fallback:"serif"},Quattrocento:{weight:["regular","700"],fallback:"serif"},Cookie:{weight:["regular"],fallback:"handwriting"},"Poiret One":{weight:["regular"],fallback:"display"},Handlee:{weight:["regular"],fallback:"handwriting"},Sarabun:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},BenchNine:{weight:["300","regular","700"],fallback:"sans-serif"},Merienda:{weight:["regular","700"],fallback:"handwriting"},"M PLUS 1p":{weight:["100","300","regular","500","700","800","900"],fallback:"sans-serif"},"PT Mono":{weight:["regular"],fallback:"monospace"},Lalezar:{weight:["regular"],fallback:"display"},Sanchez:{weight:["regular","italic"],fallback:"serif"},Lemonada:{weight:["300","regular","500","600","700"],fallback:"display"},"Markazi Text":{weight:["regular","500","600","700"],fallback:"serif"},Neuton:{weight:["200","300","regular","italic","700","800"],fallback:"serif"},"Hind Guntur":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Josefin Slab":{weight:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],fallback:"serif"},Philosopher:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Advent Pro":{weight:["100","200","300","regular","500","600","700"],fallback:"sans-serif"},"Do Hyeon":{weight:["regular"],fallback:"sans-serif"},"Sawarabi Mincho":{weight:["regular"],fallback:"sans-serif"},Ruda:{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},Vidaloka:{weight:["regular"],fallback:"serif"},Ultra:{weight:["regular"],fallback:"serif"},Neucha:{weight:["regular"],fallback:"handwriting"},Arapey:{weight:["regular","italic"],fallback:"serif"},Gudea:{weight:["regular","italic","700"],fallback:"sans-serif"},"Paytone One":{weight:["regular"],fallback:"sans-serif"},Kreon:{weight:["300","regular","500","600","700"],fallback:"serif"},"M PLUS Rounded 1c":{weight:["100","300","regular","500","700","800","900"],fallback:"sans-serif"},"Pragati Narrow":{weight:["regular","700"],fallback:"sans-serif"},"Press Start 2P":{weight:["regular"],fallback:"display"},"Hammersmith One":{weight:["regular"],fallback:"sans-serif"},"Gentium Basic":{weight:["regular","italic","700","700italic"],fallback:"serif"},Monoton:{weight:["regular"],fallback:"display"},Alef:{weight:["regular","700"],fallback:"sans-serif"},Alice:{weight:["regular"],fallback:"serif"},Aclonica:{weight:["regular"],fallback:"sans-serif"},"Sigmar One":{weight:["regular"],fallback:"display"},Spectral:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"serif"},"Marck Script":{weight:["regular"],fallback:"handwriting"},Electrolize:{weight:["regular"],fallback:"sans-serif"},Actor:{weight:["regular"],fallback:"sans-serif"},"Architects Daughter":{weight:["regular"],fallback:"handwriting"},Adamina:{weight:["regular"],fallback:"serif"},"Pontano Sans":{weight:["regular"],fallback:"sans-serif"},Audiowide:{weight:["regular"],fallback:"display"},Inter:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Cabin Condensed":{weight:["regular","500","600","700"],fallback:"sans-serif"},"Unica One":{weight:["regular"],fallback:"display"},Yellowtail:{weight:["regular"],fallback:"handwriting"},"El Messiri":{weight:["regular","500","600","700"],fallback:"sans-serif"},"Squada One":{weight:["regular"],fallback:"display"},Staatliches:{weight:["regular"],fallback:"display"},Amaranth:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Enriqueta:{weight:["regular","500","600","700"],fallback:"serif"},Mitr:{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},Glegoo:{weight:["regular","700"],fallback:"serif"},"Bowlby One SC":{weight:["regular"],fallback:"display"},Basic:{weight:["regular"],fallback:"sans-serif"},"Nanum Gothic Coding":{weight:["regular","700"],fallback:"monospace"},Sarala:{weight:["regular","700"],fallback:"sans-serif"},"Bad Script":{weight:["regular"],fallback:"handwriting"},"Homemade Apple":{weight:["regular"],fallback:"handwriting"},Tangerine:{weight:["regular","700"],fallback:"handwriting"},Cormorant:{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Oleo Script":{weight:["regular","700"],fallback:"display"},Karma:{weight:["300","regular","500","600","700"],fallback:"serif"},"Julius Sans One":{weight:["regular"],fallback:"sans-serif"},"Carter One":{weight:["regular"],fallback:"display"},Khand:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Nanum Pen Script":{weight:["regular"],fallback:"handwriting"},Cambay:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Fugaz One":{weight:["regular"],fallback:"display"},"Shadows Into Light Two":{weight:["regular"],fallback:"handwriting"},Coda:{weight:["regular","800"],fallback:"display"},"Signika Negative":{weight:["300","regular","600","700"],fallback:"sans-serif"},Pridi:{weight:["200","300","regular","500","600","700"],fallback:"serif"},Playball:{weight:["regular"],fallback:"display"},Saira:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Rock Salt":{weight:["regular"],fallback:"handwriting"},"Gothic A1":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Gentium Book Basic":{weight:["regular","italic","700","700italic"],fallback:"serif"},Allura:{weight:["regular"],fallback:"handwriting"},"Yeseva One":{weight:["regular"],fallback:"display"},"DM Serif Text":{weight:["regular","italic"],fallback:"serif"},Lusitana:{weight:["regular","700"],fallback:"serif"},Jura:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Average:{weight:["regular"],fallback:"serif"},Yrsa:{weight:["300","regular","500","600","700"],fallback:"serif"},"Sorts Mill Goudy":{weight:["regular","italic"],fallback:"serif"},"Cantata One":{weight:["regular"],fallback:"serif"},Armata:{weight:["regular"],fallback:"sans-serif"},Scada:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Abhaya Libre":{weight:["regular","500","600","700","800"],fallback:"serif"},Damion:{weight:["regular"],fallback:"handwriting"},Marmelad:{weight:["regular"],fallback:"sans-serif"},Varela:{weight:["regular"],fallback:"sans-serif"},Quantico:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Covered By Your Grace":{weight:["regular"],fallback:"handwriting"},"PT Serif Caption":{weight:["regular","italic"],fallback:"serif"},Ramabhadra:{weight:["regular"],fallback:"sans-serif"},Unna:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Encode Sans":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Arsenal:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Black Han Sans":{weight:["regular"],fallback:"sans-serif"},"Sawarabi Gothic":{weight:["regular"],fallback:"sans-serif"},"Ubuntu Mono":{weight:["regular","italic","700","700italic"],fallback:"monospace"},"Pinyon Script":{weight:["regular"],fallback:"handwriting"},"Black Ops One":{weight:["regular"],fallback:"display"},Marcellus:{weight:["regular"],fallback:"serif"},"Fauna One":{weight:["regular"],fallback:"serif"},"Lilita One":{weight:["regular"],fallback:"display"},Sintony:{weight:["regular","700"],fallback:"sans-serif"},Khula:{weight:["300","regular","600","700","800"],fallback:"sans-serif"},Jaldi:{weight:["regular","700"],fallback:"sans-serif"},"Rubik Mono One":{weight:["regular"],fallback:"sans-serif"},Allan:{weight:["regular","700"],fallback:"display"},"Reenie Beanie":{weight:["regular"],fallback:"handwriting"},"Alex Brush":{weight:["regular"],fallback:"handwriting"},"Mr Dafoe":{weight:["regular"],fallback:"handwriting"},Palanquin:{weight:["100","200","300","regular","500","600","700"],fallback:"sans-serif"},"Encode Sans Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Antic:{weight:["regular"],fallback:"sans-serif"},Knewave:{weight:["regular"],fallback:"display"},"Caveat Brush":{weight:["regular"],fallback:"handwriting"},Rambla:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Spinnaker:{weight:["regular"],fallback:"sans-serif"},"IBM Plex Mono":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"monospace"},Michroma:{weight:["regular"],fallback:"sans-serif"},"Nothing You Could Do":{weight:["regular"],fallback:"handwriting"},"Kelly Slab":{weight:["regular"],fallback:"display"},Boogaloo:{weight:["regular"],fallback:"display"},Chewy:{weight:["regular"],fallback:"display"},"ZCOOL XiaoWei":{weight:["regular"],fallback:"serif"},Rancho:{weight:["regular"],fallback:"handwriting"},"Noto Serif SC":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},Pangolin:{weight:["regular"],fallback:"handwriting"},"Fira Mono":{weight:["regular","500","700"],fallback:"monospace"},Forum:{weight:["regular"],fallback:"display"},"Antic Slab":{weight:["regular"],fallback:"serif"},"Alegreya Sans SC":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Anonymous Pro":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Lateef:{weight:["regular"],fallback:"handwriting"},"Annie Use Your Telescope":{weight:["regular"],fallback:"handwriting"},"Noto Sans HK":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Martel Sans":{weight:["200","300","regular","600","700","800","900"],fallback:"sans-serif"},"Chakra Petch":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Rufina:{weight:["regular","700"],fallback:"serif"},"Bai Jamjuree":{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Scheherazade:{weight:["regular","700"],fallback:"serif"},Share:{weight:["regular","italic","700","700italic"],fallback:"display"},"Tenor Sans":{weight:["regular"],fallback:"sans-serif"},"DM Serif Display":{weight:["regular","italic"],fallback:"serif"},VT323:{weight:["regular"],fallback:"monospace"},"Share Tech Mono":{weight:["regular"],fallback:"monospace"},Mali:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"handwriting"},Cousine:{weight:["regular","italic","700","700italic"],fallback:"monospace"},"Cinzel Decorative":{weight:["regular","700","900"],fallback:"display"},Overlock:{weight:["regular","italic","700","700italic","900","900italic"],fallback:"display"},"Arbutus Slab":{weight:["regular"],fallback:"serif"},"Reem Kufi":{weight:["regular"],fallback:"sans-serif"},"Cabin Sketch":{weight:["regular","700"],fallback:"display"},"Saira Extra Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Eczar:{weight:["regular","500","600","700","800"],fallback:"serif"},"Leckerli One":{weight:["regular"],fallback:"handwriting"},Krub:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Berkshire Swash":{weight:["regular"],fallback:"handwriting"},"Fredericka the Great":{weight:["regular"],fallback:"display"},"Saira Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Overpass Mono":{weight:["300","regular","600","700"],fallback:"monospace"},Itim:{weight:["regular"],fallback:"handwriting"},Rasa:{weight:["300","regular","500","600","700"],fallback:"serif"},Bevan:{weight:["regular"],fallback:"display"},"Arima Madurai":{weight:["100","200","300","regular","500","700","800","900"],fallback:"display"},Italianno:{weight:["regular"],fallback:"handwriting"},"Coda Caption":{weight:["800"],fallback:"sans-serif"},Shrikhand:{weight:["regular"],fallback:"display"},"Just Another Hand":{weight:["regular"],fallback:"handwriting"},"Saira Semi Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Almarai:{weight:["300","regular","700","800"],fallback:"sans-serif"},"Mukta Malar":{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Oranienbaum:{weight:["regular"],fallback:"serif"},Nobile:{weight:["regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},Candal:{weight:["regular"],fallback:"sans-serif"},"Six Caps":{weight:["regular"],fallback:"sans-serif"},"Space Mono":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Capriola:{weight:["regular"],fallback:"sans-serif"},Biryani:{weight:["200","300","regular","600","700","800","900"],fallback:"sans-serif"},Halant:{weight:["300","regular","500","600","700"],fallback:"serif"},Allerta:{weight:["regular"],fallback:"sans-serif"},Trirong:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},Mallanna:{weight:["regular"],fallback:"sans-serif"},Aldrich:{weight:["regular"],fallback:"sans-serif"},Aleo:{weight:["300","300italic","regular","italic","700","700italic"],fallback:"serif"},"Suez One":{weight:["regular"],fallback:"serif"},Caudex:{weight:["regular","italic","700","700italic"],fallback:"serif"},Niconne:{weight:["regular"],fallback:"handwriting"},"Mrs Saint Delafield":{weight:["regular"],fallback:"handwriting"},Gruppo:{weight:["regular"],fallback:"display"},"Miriam Libre":{weight:["regular","700"],fallback:"sans-serif"},"Contrail One":{weight:["regular"],fallback:"display"},"Days One":{weight:["regular"],fallback:"sans-serif"},"Allerta Stencil":{weight:["regular"],fallback:"sans-serif"},"Average Sans":{weight:["regular"],fallback:"sans-serif"},"Coming Soon":{weight:["regular"],fallback:"handwriting"},Pattaya:{weight:["regular"],fallback:"sans-serif"},"Londrina Solid":{weight:["100","300","regular","900"],fallback:"display"},Bungee:{weight:["regular"],fallback:"display"},Coustard:{weight:["regular","900"],fallback:"serif"},"Marcellus SC":{weight:["regular"],fallback:"serif"},"Racing Sans One":{weight:["regular"],fallback:"display"},Bentham:{weight:["regular"],fallback:"serif"},"Bungee Inline":{weight:["regular"],fallback:"display"},Magra:{weight:["regular","700"],fallback:"sans-serif"},Judson:{weight:["regular","italic","700"],fallback:"serif"},Rochester:{weight:["regular"],fallback:"handwriting"},"Grand Hotel":{weight:["regular"],fallback:"handwriting"},Gelasio:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},Yesteryear:{weight:["regular"],fallback:"handwriting"},Syncopate:{weight:["regular","700"],fallback:"sans-serif"},Hanuman:{weight:["regular","700"],fallback:"serif"},"Kosugi Maru":{weight:["regular"],fallback:"sans-serif"},Copse:{weight:["regular"],fallback:"serif"},Mada:{weight:["200","300","regular","500","600","700","900"],fallback:"sans-serif"},"Titan One":{weight:["regular"],fallback:"display"},"Noto Serif TC":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},Kameron:{weight:["regular","700"],fallback:"serif"},Telex:{weight:["regular"],fallback:"sans-serif"},Norican:{weight:["regular"],fallback:"handwriting"},Maitree:{weight:["200","300","regular","500","600","700"],fallback:"serif"},"IM Fell Double Pica":{weight:["regular","italic"],fallback:"serif"},Molengo:{weight:["regular"],fallback:"sans-serif"},Sunflower:{weight:["300","500","700"],fallback:"sans-serif"},"Alegreya SC":{weight:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Red Hat Display":{weight:["regular","italic","500","500italic","700","700italic","900","900italic"],fallback:"sans-serif"},Jua:{weight:["regular"],fallback:"sans-serif"},Ovo:{weight:["regular"],fallback:"serif"},"IBM Plex Sans Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Nixie One":{weight:["regular"],fallback:"display"},Aladin:{weight:["regular"],fallback:"handwriting"},Arizonia:{weight:["regular"],fallback:"handwriting"},"Bubblegum Sans":{weight:["regular"],fallback:"display"},"Changa One":{weight:["regular","italic"],fallback:"display"},"Lexend Deca":{weight:["regular"],fallback:"sans-serif"},Sofia:{weight:["regular"],fallback:"handwriting"},"Jockey One":{weight:["regular"],fallback:"sans-serif"},Suranna:{weight:["regular"],fallback:"serif"},Amethysta:{weight:["regular"],fallback:"serif"},Schoolbell:{weight:["regular"],fallback:"handwriting"},"Nanum Brush Script":{weight:["regular"],fallback:"handwriting"},"Cedarville Cursive":{weight:["regular"],fallback:"handwriting"},"Cutive Mono":{weight:["regular"],fallback:"monospace"},Delius:{weight:["regular"],fallback:"handwriting"},"Raleway Dots":{weight:["regular"],fallback:"display"},Graduate:{weight:["regular"],fallback:"display"},Lustria:{weight:["regular"],fallback:"serif"},"Mukta Vaani":{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Kadwa:{weight:["regular","700"],fallback:"serif"},"Rozha One":{weight:["regular"],fallback:"serif"},Buenard:{weight:["regular","700"],fallback:"serif"},Cambo:{weight:["regular"],fallback:"serif"},Marvel:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Krona One":{weight:["regular"],fallback:"sans-serif"},"Carrois Gothic":{weight:["regular"],fallback:"sans-serif"},Carme:{weight:["regular"],fallback:"sans-serif"},"Slabo 13px":{weight:["regular"],fallback:"serif"},Lemon:{weight:["regular"],fallback:"display"},"Love Ya Like A Sister":{weight:["regular"],fallback:"display"},Rosario:{weight:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],fallback:"sans-serif"},"Merienda One":{weight:["regular"],fallback:"handwriting"},"Public Sans":{weight:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"sans-serif"},"Petit Formal Script":{weight:["regular"],fallback:"handwriting"},"Ceviche One":{weight:["regular"],fallback:"display"},Voltaire:{weight:["regular"],fallback:"sans-serif"},Fresca:{weight:["regular"],fallback:"sans-serif"},"Averia Serif Libre":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},Rye:{weight:["regular"],fallback:"display"},"Noto Serif KR":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},"Chelsea Market":{weight:["regular"],fallback:"display"},Calligraffitti:{weight:["regular"],fallback:"handwriting"},"Freckle Face":{weight:["regular"],fallback:"display"},"Duru Sans":{weight:["regular"],fallback:"sans-serif"},Trocchi:{weight:["regular"],fallback:"serif"},Metrophobic:{weight:["regular"],fallback:"sans-serif"},Mate:{weight:["regular","italic"],fallback:"serif"},Harmattan:{weight:["regular"],fallback:"sans-serif"},"Gilda Display":{weight:["regular"],fallback:"serif"},"Cormorant Infant":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},Spartan:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Oxygen Mono":{weight:["regular"],fallback:"monospace"},Chonburi:{weight:["regular"],fallback:"display"},"Goudy Bookletter 1911":{weight:["regular"],fallback:"serif"},Sansita:{weight:["regular","italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Emilys Candy":{weight:["regular"],fallback:"display"},Amiko:{weight:["regular","600","700"],fallback:"sans-serif"},Kristi:{weight:["regular"],fallback:"handwriting"},"Palanquin Dark":{weight:["regular","500","600","700"],fallback:"sans-serif"},Lekton:{weight:["regular","italic","700"],fallback:"sans-serif"},Cutive:{weight:["regular"],fallback:"serif"},"Herr Von Muellerhoff":{weight:["regular"],fallback:"handwriting"},"GFS Didot":{weight:["regular"],fallback:"serif"},Radley:{weight:["regular","italic"],fallback:"serif"},"Sue Ellen Francisco":{weight:["regular"],fallback:"handwriting"},Pompiere:{weight:["regular"],fallback:"display"},Gabriela:{weight:["regular"],fallback:"serif"},Niramit:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Seaweed Script":{weight:["regular"],fallback:"display"},"Sedgwick Ave":{weight:["regular"],fallback:"handwriting"},Federo:{weight:["regular"],fallback:"sans-serif"},McLaren:{weight:["regular"],fallback:"display"},"IM Fell DW Pica":{weight:["regular","italic"],fallback:"serif"},Sniglet:{weight:["regular","800"],fallback:"display"},"Mr De Haviland":{weight:["regular"],fallback:"handwriting"},Shojumaru:{weight:["regular"],fallback:"display"},Poly:{weight:["regular","italic"],fallback:"serif"},Belleza:{weight:["regular"],fallback:"sans-serif"},Faustina:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},"IM Fell English":{weight:["regular","italic"],fallback:"serif"},"Rammetto One":{weight:["regular"],fallback:"display"},Amita:{weight:["regular","700"],fallback:"handwriting"},Inder:{weight:["regular"],fallback:"sans-serif"},"Antic Didone":{weight:["regular"],fallback:"serif"},"Alike Angular":{weight:["regular"],fallback:"serif"},Montez:{weight:["regular"],fallback:"handwriting"},K2D:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},UnifrakturMaguntia:{weight:["regular"],fallback:"display"},Gurajada:{weight:["regular"],fallback:"serif"},"Proza Libre":{weight:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},Athiti:{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},Andada:{weight:["regular"],fallback:"serif"},"Liu Jian Mao Cao":{weight:["regular"],fallback:"handwriting"},Megrim:{weight:["regular"],fallback:"display"},"Vast Shadow":{weight:["regular"],fallback:"display"},Wallpoet:{weight:["regular"],fallback:"display"},Unkempt:{weight:["regular","700"],fallback:"display"},"Fanwood Text":{weight:["regular","italic"],fallback:"serif"},"Doppio One":{weight:["regular"],fallback:"sans-serif"},"Comic Neue":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"handwriting"},Corben:{weight:["regular","700"],fallback:"display"},Frijole:{weight:["regular"],fallback:"display"},Balthazar:{weight:["regular"],fallback:"serif"},Mirza:{weight:["regular","500","600","700"],fallback:"display"},"IM Fell French Canon SC":{weight:["regular"],fallback:"serif"},Brawler:{weight:["regular"],fallback:"serif"},"Oleo Script Swash Caps":{weight:["regular","700"],fallback:"display"},Mandali:{weight:["regular"],fallback:"sans-serif"},Convergence:{weight:["regular"],fallback:"sans-serif"},Fondamento:{weight:["regular","italic"],fallback:"handwriting"},Alike:{weight:["regular"],fallback:"serif"},Baumans:{weight:["regular"],fallback:"display"},Esteban:{weight:["regular"],fallback:"serif"},"Gravitas One":{weight:["regular"],fallback:"display"},Anaheim:{weight:["regular"],fallback:"sans-serif"},"Wendy One":{weight:["regular"],fallback:"sans-serif"},"Stardos Stencil":{weight:["regular","700"],fallback:"display"},"Spicy Rice":{weight:["regular"],fallback:"display"},Rakkas:{weight:["regular"],fallback:"display"},"La Belle Aurore":{weight:["regular"],fallback:"handwriting"},"Secular One":{weight:["regular"],fallback:"sans-serif"},Belgrano:{weight:["regular"],fallback:"serif"},"Bungee Shade":{weight:["regular"],fallback:"display"},"Crafty Girls":{weight:["regular"],fallback:"handwriting"},Battambang:{weight:["regular","700"],fallback:"display"},Quando:{weight:["regular"],fallback:"serif"},"Mouse Memoirs":{weight:["regular"],fallback:"sans-serif"},Gugi:{weight:["regular"],fallback:"display"},"Faster One":{weight:["regular"],fallback:"display"},"B612 Mono":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Limelight:{weight:["regular"],fallback:"display"},"Short Stack":{weight:["regular"],fallback:"handwriting"},"Mountains of Christmas":{weight:["regular","700"],fallback:"display"},"Share Tech":{weight:["regular"],fallback:"sans-serif"},Laila:{weight:["300","regular","500","600","700"],fallback:"serif"},Literata:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},"Cormorant SC":{weight:["300","regular","500","600","700"],fallback:"serif"},"Fjord One":{weight:["regular"],fallback:"serif"},Podkova:{weight:["regular","500","600","700","800"],fallback:"serif"},Homenaje:{weight:["regular"],fallback:"sans-serif"},"Walter Turncoat":{weight:["regular"],fallback:"handwriting"},Sen:{weight:["regular","700","800"],fallback:"sans-serif"},"Patrick Hand SC":{weight:["regular"],fallback:"handwriting"},Voces:{weight:["regular"],fallback:"display"},Qwigley:{weight:["regular"],fallback:"handwriting"},"Happy Monkey":{weight:["regular"],fallback:"display"},"Rouge Script":{weight:["regular"],fallback:"handwriting"},"Baloo Chettan 2":{weight:["regular","500","600","700","800"],fallback:"display"},NTR:{weight:["regular"],fallback:"sans-serif"},Skranji:{weight:["regular","700"],fallback:"display"},Strait:{weight:["regular"],fallback:"sans-serif"},"Dawning of a New Day":{weight:["regular"],fallback:"handwriting"},Iceland:{weight:["regular"],fallback:"display"},"Expletus Sans":{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"display"},"Montserrat Subrayada":{weight:["regular","700"],fallback:"sans-serif"},Oregano:{weight:["regular","italic"],fallback:"display"},"Give You Glory":{weight:["regular"],fallback:"handwriting"},Alata:{weight:["regular"],fallback:"sans-serif"},Puritan:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Mako:{weight:["regular"],fallback:"sans-serif"},Andika:{weight:["regular"],fallback:"sans-serif"},"Cormorant Upright":{weight:["300","regular","500","600","700"],fallback:"serif"},Zeyada:{weight:["regular"],fallback:"handwriting"},"Bowlby One":{weight:["regular"],fallback:"display"},"Aref Ruqaa":{weight:["regular","700"],fallback:"serif"},Numans:{weight:["regular"],fallback:"sans-serif"},Kurale:{weight:["regular"],fallback:"serif"},Spirax:{weight:["regular"],fallback:"display"},"Clicker Script":{weight:["regular"],fallback:"handwriting"},"Waiting for the Sunrise":{weight:["regular"],fallback:"handwriting"},"Holtwood One SC":{weight:["regular"],fallback:"serif"},Katibeh:{weight:["regular"],fallback:"display"},"Carrois Gothic SC":{weight:["regular"],fallback:"sans-serif"},Livvic:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],fallback:"sans-serif"},Eater:{weight:["regular"],fallback:"display"},"Fontdiner Swanky":{weight:["regular"],fallback:"display"},"Finger Paint":{weight:["regular"],fallback:"display"},Bellefair:{weight:["regular"],fallback:"serif"},"Wire One":{weight:["regular"],fallback:"sans-serif"},Kosugi:{weight:["regular"],fallback:"sans-serif"},Charm:{weight:["regular","700"],fallback:"handwriting"},"Delius Swash Caps":{weight:["regular"],fallback:"handwriting"},"Vesper Libre":{weight:["regular","500","700","900"],fallback:"serif"},"Red Hat Text":{weight:["regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},Gafata:{weight:["regular"],fallback:"sans-serif"},"Averia Sans Libre":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},"Denk One":{weight:["regular"],fallback:"sans-serif"},Geo:{weight:["regular","italic"],fallback:"sans-serif"},Tauri:{weight:["regular"],fallback:"sans-serif"},"Cherry Swash":{weight:["regular","700"],fallback:"display"},Codystar:{weight:["300","regular"],fallback:"display"},"Cantora One":{weight:["regular"],fallback:"sans-serif"},"Encode Sans Semi Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Nova Square":{weight:["regular"],fallback:"display"},BioRhyme:{weight:["200","300","regular","700","800"],fallback:"serif"},Timmana:{weight:["regular"],fallback:"sans-serif"},Atma:{weight:["300","regular","500","600","700"],fallback:"display"},Tienne:{weight:["regular","700","900"],fallback:"serif"},Meddon:{weight:["regular"],fallback:"handwriting"},Galada:{weight:["regular"],fallback:"display"},Padauk:{weight:["regular","700"],fallback:"sans-serif"},"Loved by the King":{weight:["regular"],fallback:"handwriting"},"The Girl Next Door":{weight:["regular"],fallback:"handwriting"},"Darker Grotesque":{weight:["300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Life Savers":{weight:["regular","700","800"],fallback:"display"},Bilbo:{weight:["regular"],fallback:"handwriting"},Shanti:{weight:["regular"],fallback:"sans-serif"},"Headland One":{weight:["regular"],fallback:"serif"},"Euphoria Script":{weight:["regular"],fallback:"handwriting"},Imprima:{weight:["regular"],fallback:"sans-serif"},"Aguafina Script":{weight:["regular"],fallback:"handwriting"},"Baloo 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Over the Rainbow":{weight:["regular"],fallback:"handwriting"},Sarpanch:{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},Orienta:{weight:["regular"],fallback:"sans-serif"},"Spectral SC":{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"serif"},"Port Lligat Sans":{weight:["regular"],fallback:"sans-serif"},Artifika:{weight:["regular"],fallback:"serif"},Ledger:{weight:["regular"],fallback:"serif"},Ruluko:{weight:["regular"],fallback:"sans-serif"},Sail:{weight:["regular"],fallback:"display"},Alatsi:{weight:["regular"],fallback:"sans-serif"},"Sonsie One":{weight:["regular"],fallback:"display"},"Bilbo Swash Caps":{weight:["regular"],fallback:"handwriting"},Slackey:{weight:["regular"],fallback:"display"},Salsa:{weight:["regular"],fallback:"display"},Rationale:{weight:["regular"],fallback:"sans-serif"},"Hepta Slab":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"serif"},Nosifer:{weight:["regular"],fallback:"display"},Dekko:{weight:["regular"],fallback:"handwriting"},"Encode Sans Expanded":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Lily Script One":{weight:["regular"],fallback:"display"},"Zilla Slab Highlight":{weight:["regular","700"],fallback:"display"},Dokdo:{weight:["regular"],fallback:"handwriting"},"Kotta One":{weight:["regular"],fallback:"serif"},"Macondo Swash Caps":{weight:["regular"],fallback:"display"},"Encode Sans Semi Expanded":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Prosto One":{weight:["regular"],fallback:"display"},"Trade Winds":{weight:["regular"],fallback:"display"},Farsan:{weight:["regular"],fallback:"display"},Manuale:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},Creepster:{weight:["regular"],fallback:"display"},"Medula One":{weight:["regular"],fallback:"display"},Ranchers:{weight:["regular"],fallback:"display"},"David Libre":{weight:["regular","500","700"],fallback:"serif"},"Libre Barcode 39":{weight:["regular"],fallback:"display"},"Vampiro One":{weight:["regular"],fallback:"display"},Metamorphous:{weight:["regular"],fallback:"display"},"Bubbler One":{weight:["regular"],fallback:"sans-serif"},"Nova Mono":{weight:["regular"],fallback:"monospace"},"Princess Sofia":{weight:["regular"],fallback:"handwriting"},"Just Me Again Down Here":{weight:["regular"],fallback:"handwriting"},Notable:{weight:["regular"],fallback:"sans-serif"},"Fascinate Inline":{weight:["regular"],fallback:"display"},Vibur:{weight:["regular"],fallback:"handwriting"},"Vollkorn SC":{weight:["regular","600","700","900"],fallback:"serif"},Crushed:{weight:["regular"],fallback:"display"},Sumana:{weight:["regular","700"],fallback:"serif"},Elsie:{weight:["regular","900"],fallback:"display"},Ranga:{weight:["regular","700"],fallback:"display"},"Port Lligat Slab":{weight:["regular"],fallback:"serif"},Amarante:{weight:["regular"],fallback:"display"},"Ruslan Display":{weight:["regular"],fallback:"display"},"Germania One":{weight:["regular"],fallback:"display"},"Sirin Stencil":{weight:["regular"],fallback:"display"},Pavanam:{weight:["regular"],fallback:"sans-serif"},Peralta:{weight:["regular"],fallback:"display"},"Scope One":{weight:["regular"],fallback:"serif"},Jomolhari:{weight:["regular"],fallback:"serif"},Kranky:{weight:["regular"],fallback:"display"},"Yatra One":{weight:["regular"],fallback:"display"},"Jacques Francois Shadow":{weight:["regular"],fallback:"display"},Ribeye:{weight:["regular"],fallback:"display"},"Averia Libre":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},"Saira Stencil One":{weight:["regular"],fallback:"display"},"Cherry Cream Soda":{weight:["regular"],fallback:"display"},"Mukta Mahee":{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Srisakdi:{weight:["regular","700"],fallback:"display"},Trochut:{weight:["regular","italic","700"],fallback:"display"},Coiny:{weight:["regular"],fallback:"display"},"Ma Shan Zheng":{weight:["regular"],fallback:"handwriting"},Asul:{weight:["regular","700"],fallback:"sans-serif"},Ewert:{weight:["regular"],fallback:"display"},Arya:{weight:["regular","700"],fallback:"sans-serif"},"Hanalei Fill":{weight:["regular"],fallback:"display"},Grenze:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Ribeye Marrow":{weight:["regular"],fallback:"display"},"IM Fell English SC":{weight:["regular"],fallback:"serif"},"Chau Philomene One":{weight:["regular","italic"],fallback:"sans-serif"},Sarina:{weight:["regular"],fallback:"display"},Chicle:{weight:["regular"],fallback:"display"},Manjari:{weight:["100","regular","700"],fallback:"sans-serif"},Montaga:{weight:["regular"],fallback:"serif"},Italiana:{weight:["regular"],fallback:"serif"},Akronim:{weight:["regular"],fallback:"display"},Habibi:{weight:["regular"],fallback:"serif"},Englebert:{weight:["regular"],fallback:"sans-serif"},Dynalight:{weight:["regular"],fallback:"display"},"Mate SC":{weight:["regular"],fallback:"serif"},"Henny Penny":{weight:["regular"],fallback:"display"},"Sree Krushnadevaraya":{weight:["regular"],fallback:"serif"},Engagement:{weight:["regular"],fallback:"handwriting"},Girassol:{weight:["regular"],fallback:"display"},"Kite One":{weight:["regular"],fallback:"sans-serif"},"Ibarra Real Nova":{weight:["regular","italic","600","600italic","700","700italic"],fallback:"serif"},Gaegu:{weight:["300","regular","700"],fallback:"handwriting"},Fenix:{weight:["regular"],fallback:"serif"},"Pirata One":{weight:["regular"],fallback:"display"},"Tulpen One":{weight:["regular"],fallback:"display"},"IM Fell Great Primer":{weight:["regular","italic"],fallback:"serif"},Chathura:{weight:["100","300","regular","700","800"],fallback:"sans-serif"},Unlock:{weight:["regular"],fallback:"display"},"Nova Round":{weight:["regular"],fallback:"display"},Sura:{weight:["regular","700"],fallback:"serif"},"Kumar One":{weight:["regular"],fallback:"display"},Baskervville:{weight:["regular","italic"],fallback:"serif"},Quintessential:{weight:["regular"],fallback:"handwriting"},Milonga:{weight:["regular"],fallback:"display"},Bayon:{weight:["regular"],fallback:"display"},"Be Vietnam":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},"Crimson Pro":{weight:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"serif"},B612:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"League Script":{weight:["regular"],fallback:"handwriting"},"Inknut Antiqua":{weight:["300","regular","500","600","700","800","900"],fallback:"serif"},Mogra:{weight:["regular"],fallback:"display"},"Mystery Quest":{weight:["regular"],fallback:"display"},"Monsieur La Doulaise":{weight:["regular"],fallback:"handwriting"},Vibes:{weight:["regular"],fallback:"display"},Rosarivo:{weight:["regular","italic"],fallback:"serif"},"Uncial Antiqua":{weight:["regular"],fallback:"display"},Dorsa:{weight:["regular"],fallback:"sans-serif"},Almendra:{weight:["regular","italic","700","700italic"],fallback:"serif"},Diplomata:{weight:["regular"],fallback:"display"},Simonetta:{weight:["regular","italic","900","900italic"],fallback:"display"},"New Rocker":{weight:["regular"],fallback:"display"},Snippet:{weight:["regular"],fallback:"sans-serif"},Petrona:{weight:["regular"],fallback:"serif"},Ramaraja:{weight:["regular"],fallback:"serif"},"Averia Gruesa Libre":{weight:["regular"],fallback:"display"},"Baloo Bhaina 2":{weight:["regular","500","600","700","800"],fallback:"display"},Kodchasan:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Meera Inimai":{weight:["regular"],fallback:"sans-serif"},Flamenco:{weight:["300","regular"],fallback:"display"},Khmer:{weight:["regular"],fallback:"display"},Paprika:{weight:["regular"],fallback:"display"},Koulen:{weight:["regular"],fallback:"display"},Mansalva:{weight:["regular"],fallback:"handwriting"},"Lovers Quarrel":{weight:["regular"],fallback:"handwriting"},Condiment:{weight:["regular"],fallback:"handwriting"},"Baloo Thambi 2":{weight:["regular","500","600","700","800"],fallback:"display"},Stoke:{weight:["300","regular"],fallback:"serif"},Barrio:{weight:["regular"],fallback:"display"},Barriecito:{weight:["regular"],fallback:"display"},"Donegal One":{weight:["regular"],fallback:"serif"},Kavoon:{weight:["regular"],fallback:"display"},"Big Shoulders Display":{weight:["100","300","regular","500","600","700","800","900"],fallback:"display"},Mina:{weight:["regular","700"],fallback:"sans-serif"},"Big Shoulders Text":{weight:["100","300","regular","500","600","700","800","900"],fallback:"display"},Prociono:{weight:["regular"],fallback:"serif"},"Text Me One":{weight:["regular"],fallback:"sans-serif"},"IM Fell French Canon":{weight:["regular","italic"],fallback:"serif"},"Overlock SC":{weight:["regular"],fallback:"display"},Cagliostro:{weight:["regular"],fallback:"sans-serif"},"Marko One":{weight:["regular"],fallback:"serif"},"Swanky and Moo Moo":{weight:["regular"],fallback:"handwriting"},"Maiden Orange":{weight:["regular"],fallback:"display"},Blinker:{weight:["100","200","300","regular","600","700","800","900"],fallback:"sans-serif"},Miniver:{weight:["regular"],fallback:"display"},Angkor:{weight:["regular"],fallback:"display"},Chango:{weight:["regular"],fallback:"display"},Thasadith:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Modak:{weight:["regular"],fallback:"display"},Junge:{weight:["regular"],fallback:"serif"},"Stint Ultra Condensed":{weight:["regular"],fallback:"display"},Stalemate:{weight:["regular"],fallback:"handwriting"},Tillana:{weight:["regular","500","600","700","800"],fallback:"handwriting"},UnifrakturCook:{weight:["700"],fallback:"display"},"Rum Raisin":{weight:["regular"],fallback:"sans-serif"},Farro:{weight:["300","regular","500","700"],fallback:"sans-serif"},"Delius Unicase":{weight:["regular","700"],fallback:"handwriting"},Sancreek:{weight:["regular"],fallback:"display"},Julee:{weight:["regular"],fallback:"handwriting"},Margarine:{weight:["regular"],fallback:"display"},"Lakki Reddy":{weight:["regular"],fallback:"handwriting"},"Stint Ultra Expanded":{weight:["regular"],fallback:"display"},"Bigshot One":{weight:["regular"],fallback:"display"},Griffy:{weight:["regular"],fallback:"display"},Moul:{weight:["regular"],fallback:"display"},"Diplomata SC":{weight:["regular"],fallback:"display"},Oxanium:{weight:["200","300","regular","500","600","700","800"],fallback:"display"},Offside:{weight:["regular"],fallback:"display"},"Fira Code":{weight:["300","regular","500","600","700"],fallback:"monospace"},"Eagle Lake":{weight:["regular"],fallback:"handwriting"},Flavors:{weight:["regular"],fallback:"display"},"Londrina Outline":{weight:["regular"],fallback:"display"},Tomorrow:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Nokora:{weight:["regular","700"],fallback:"serif"},Calistoga:{weight:["regular"],fallback:"display"},Gotu:{weight:["regular"],fallback:"sans-serif"},"Della Respira":{weight:["regular"],fallback:"serif"},"Cormorant Unicase":{weight:["300","regular","500","600","700"],fallback:"serif"},"Libre Caslon Text":{weight:["regular","italic","700"],fallback:"serif"},Buda:{weight:["300"],fallback:"display"},Asar:{weight:["regular"],fallback:"serif"},"Poller One":{weight:["regular"],fallback:"display"},"Autour One":{weight:["regular"],fallback:"display"},"Nova Slim":{weight:["regular"],fallback:"display"},Underdog:{weight:["regular"],fallback:"display"},Redressed:{weight:["regular"],fallback:"handwriting"},"Yeon Sung":{weight:["regular"],fallback:"display"},Content:{weight:["regular","700"],fallback:"display"},Kantumruy:{weight:["300","regular","700"],fallback:"sans-serif"},"Baloo Paaji 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Jim Nightshade":{weight:["regular"],fallback:"handwriting"},"Glass Antiqua":{weight:["regular"],fallback:"display"},"Snowburst One":{weight:["regular"],fallback:"display"},"Gamja Flower":{weight:["regular"],fallback:"handwriting"},Revalia:{weight:["regular"],fallback:"display"},"Metal Mania":{weight:["regular"],fallback:"display"},Charmonman:{weight:["regular","700"],fallback:"handwriting"},"IM Fell DW Pica SC":{weight:["regular"],fallback:"serif"},Inika:{weight:["regular","700"],fallback:"serif"},"Elsie Swash Caps":{weight:["regular","900"],fallback:"display"},Wellfleet:{weight:["regular"],fallback:"display"},"Chela One":{weight:["regular"],fallback:"display"},"Rhodium Libre":{weight:["regular"],fallback:"serif"},"Mrs Sheppards":{weight:["regular"],fallback:"handwriting"},"Sedgwick Ave Display":{weight:["regular"],fallback:"handwriting"},"Modern Antiqua":{weight:["regular"],fallback:"display"},"Ravi Prakash":{weight:["regular"],fallback:"display"},Galdeano:{weight:["regular"],fallback:"sans-serif"},Oldenburg:{weight:["regular"],fallback:"display"},Arbutus:{weight:["regular"],fallback:"display"},"Poor Story":{weight:["regular"],fallback:"display"},"Hi Melody":{weight:["regular"],fallback:"handwriting"},"Joti One":{weight:["regular"],fallback:"display"},"Nova Flat":{weight:["regular"],fallback:"display"},"ZCOOL QingKe HuangYou":{weight:["regular"],fallback:"display"},"Linden Hill":{weight:["regular","italic"],fallback:"serif"},Bokor:{weight:["regular"],fallback:"display"},"Courier Prime":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Trykker:{weight:["regular"],fallback:"serif"},KoHo:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Song Myung":{weight:["regular"],fallback:"serif"},Ruthie:{weight:["regular"],fallback:"handwriting"},"Libre Barcode 39 Extended Text":{weight:["regular"],fallback:"display"},Chilanka:{weight:["regular"],fallback:"handwriting"},Fahkwang:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Felipa:{weight:["regular"],fallback:"handwriting"},Monofett:{weight:["regular"],fallback:"display"},"Odibee Sans":{weight:["regular"],fallback:"display"},Smythe:{weight:["regular"],fallback:"display"},"Major Mono Display":{weight:["regular"],fallback:"monospace"},Jomhuria:{weight:["regular"],fallback:"display"},"Croissant One":{weight:["regular"],fallback:"display"},Dangrek:{weight:["regular"],fallback:"display"},"Original Surfer":{weight:["regular"],fallback:"display"},Bahiana:{weight:["regular"],fallback:"display"},Gorditas:{weight:["regular","700"],fallback:"display"},"Odor Mean Chey":{weight:["regular"],fallback:"display"},Iceberg:{weight:["regular"],fallback:"display"},MedievalSharp:{weight:["regular"],fallback:"display"},"Caesar Dressing":{weight:["regular"],fallback:"display"},Sahitya:{weight:["regular","700"],fallback:"serif"},Stylish:{weight:["regular"],fallback:"sans-serif"},"Nova Cut":{weight:["regular"],fallback:"display"},"Purple Purse":{weight:["regular"],fallback:"display"},Devonshire:{weight:["regular"],fallback:"handwriting"},Smokum:{weight:["regular"],fallback:"display"},"Almendra Display":{weight:["regular"],fallback:"display"},Galindo:{weight:["regular"],fallback:"display"},Preahvihear:{weight:["regular"],fallback:"display"},Siemreap:{weight:["regular"],fallback:"display"},"Irish Grover":{weight:["regular"],fallback:"display"},Gupter:{weight:["regular","500","700"],fallback:"serif"},"Meie Script":{weight:["regular"],fallback:"handwriting"},"Libre Barcode 128":{weight:["regular"],fallback:"display"},"Keania One":{weight:["regular"],fallback:"display"},"GFS Neohellenic":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Cute Font":{weight:["regular"],fallback:"display"},"Londrina Shadow":{weight:["regular"],fallback:"display"},"East Sea Dokdo":{weight:["regular"],fallback:"handwriting"},"Libre Barcode 39 Extended":{weight:["regular"],fallback:"display"},Risque:{weight:["regular"],fallback:"display"},Lancelot:{weight:["regular"],fallback:"display"},"Libre Caslon Display":{weight:["regular"],fallback:"serif"},Plaster:{weight:["regular"],fallback:"display"},"Goblin One":{weight:["regular"],fallback:"display"},Asset:{weight:["regular"],fallback:"display"},"Almendra SC":{weight:["regular"],fallback:"serif"},"Jacques Francois":{weight:["regular"],fallback:"serif"},"Jolly Lodger":{weight:["regular"],fallback:"display"},"Lexend Exa":{weight:["regular"],fallback:"sans-serif"},Molle:{weight:["italic"],fallback:"handwriting"},Kavivanar:{weight:["regular"],fallback:"handwriting"},"Kirang Haerang":{weight:["regular"],fallback:"display"},Piedra:{weight:["regular"],fallback:"display"},"Atomic Age":{weight:["regular"],fallback:"display"},"Kulim Park":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Libre Barcode 39 Text":{weight:["regular"],fallback:"display"},"IM Fell Great Primer SC":{weight:["regular"],fallback:"serif"},"Tenali Ramakrishna":{weight:["regular"],fallback:"sans-serif"},Butcherman:{weight:["regular"],fallback:"display"},"Dr Sugiyama":{weight:["regular"],fallback:"handwriting"},"Geostar Fill":{weight:["regular"],fallback:"display"},Romanesco:{weight:["regular"],fallback:"handwriting"},"Libre Barcode 128 Text":{weight:["regular"],fallback:"display"},Sunshiney:{weight:["regular"],fallback:"handwriting"},"Kumar One Outline":{weight:["regular"],fallback:"display"},Peddana:{weight:["regular"],fallback:"serif"},"Baloo Bhai 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Kdam Thmor":{weight:["regular"],fallback:"display"},"Ruge Boogie":{weight:["regular"],fallback:"handwriting"},Freehand:{weight:["regular"],fallback:"display"},Bonbon:{weight:["regular"],fallback:"handwriting"},Caladea:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Single Day":{weight:["regular"],fallback:"display"},"Baloo Tamma 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Inria Sans":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"sans-serif"},Hanalei:{weight:["regular"],fallback:"display"},"Emblema One":{weight:["regular"],fallback:"display"},"Seymour One":{weight:["regular"],fallback:"sans-serif"},"Miss Fajardose":{weight:["regular"],fallback:"handwriting"},Sevillana:{weight:["regular"],fallback:"display"},"Inria Serif":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"serif"},"Bungee Outline":{weight:["regular"],fallback:"display"},Metal:{weight:["regular"],fallback:"display"},"IM Fell Double Pica SC":{weight:["regular"],fallback:"serif"},"Lexend Giga":{weight:["regular"],fallback:"sans-serif"},"ZCOOL KuaiLe":{weight:["regular"],fallback:"display"},Astloch:{weight:["regular","700"],fallback:"display"},"Mr Bedfort":{weight:["regular"],fallback:"handwriting"},Macondo:{weight:["regular"],fallback:"display"},"Butterfly Kids":{weight:["regular"],fallback:"handwriting"},"Supermercado One":{weight:["regular"],fallback:"display"},Fruktur:{weight:["regular"],fallback:"display"},Taprom:{weight:["regular"],fallback:"display"},Lacquer:{weight:["regular"],fallback:"display"},"Black And White Picture":{weight:["regular"],fallback:"sans-serif"},"Bigelow Rules":{weight:["regular"],fallback:"display"},"Beth Ellen":{weight:["regular"],fallback:"handwriting"},"Sofadi One":{weight:["regular"],fallback:"display"},Combo:{weight:["regular"],fallback:"display"},Bellota:{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},Federant:{weight:["regular"],fallback:"display"},"Miltonian Tattoo":{weight:["regular"],fallback:"display"},"Londrina Sketch":{weight:["regular"],fallback:"display"},Suwannaphum:{weight:["regular"],fallback:"display"},"Bungee Hairline":{weight:["regular"],fallback:"display"},Fascinate:{weight:["regular"],fallback:"display"},"Erica One":{weight:["regular"],fallback:"display"},"Nova Oval":{weight:["regular"],fallback:"display"},"Baloo Da 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Sulphur Point":{weight:["300","regular","700"],fallback:"sans-serif"},Aubrey:{weight:["regular"],fallback:"display"},Gidugu:{weight:["regular"],fallback:"sans-serif"},"Bellota Text":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},"Nova Script":{weight:["regular"],fallback:"display"},Miltonian:{weight:["regular"],fallback:"display"},Gayathri:{weight:["100","regular","700"],fallback:"sans-serif"},Geostar:{weight:["regular"],fallback:"display"},Moulpali:{weight:["regular"],fallback:"display"},"Passero One":{weight:["regular"],fallback:"display"},"Stalinist One":{weight:["regular"],fallback:"display"},"Long Cang":{weight:["regular"],fallback:"handwriting"},Solway:{weight:["300","regular","500","700","800"],fallback:"serif"},"Zhi Mang Xing":{weight:["regular"],fallback:"handwriting"},"Baloo Tammudu 2":{weight:["regular","500","600","700","800"],fallback:"display"},Chenla:{weight:["regular"],fallback:"display"},Suravaram:{weight:["regular"],fallback:"serif"},Fasthand:{weight:["regular"],fallback:"serif"},Kenia:{weight:["regular"],fallback:"display"},Dhurjati:{weight:["regular"],fallback:"sans-serif"},"Lexend Tera":{weight:["regular"],fallback:"sans-serif"},"BioRhyme Expanded":{weight:["200","300","regular","700","800"],fallback:"serif"},"Turret Road":{weight:["200","300","regular","500","700","800"],fallback:"display"},Warnes:{weight:["regular"],fallback:"display"},"Viaoda Libre":{weight:["regular"],fallback:"display"},"Lexend Mega":{weight:["regular"],fallback:"sans-serif"},Bahianita:{weight:["regular"],fallback:"display"},Manrope:{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},"Lexend Zetta":{weight:["regular"],fallback:"sans-serif"},"Lexend Peta":{weight:["regular"],fallback:"sans-serif"}});function Oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var je=function(e){f()(a,e);var t=Oe(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.setAttributes,i=t.attributes,r=t.device,n=void 0===r?"":r,c=t.showFontSize,s=void 0!==c&&c,g=t.showFontFamily,b=void 0!==g&&g,u=t.showFontWeight,d=void 0!==u&&u,p=t.showTextTransform,f=void 0!==p&&p,h=t.showLineHeight,m=void 0!==h&&h,k=t.showLetterSpacing,y=void 0!==k&&k,v=t.disableAdvancedToggle,w=void 0!==v&&v,O=t.fontSizePlaceholder,j=void 0===O?"17":O,_=[{value:"",label:Object(T.__)("Select font","generateblocks")},{value:"Arial",label:"Arial"},{value:"Helvetica",label:"Helvetica"},{value:"Times New Roman",label:"Times New Roman"},{value:"Georgia",label:"Georgia"}];Object.keys(we).slice(0,20).forEach((function(e){_.push({value:e,label:e})})),_.push({value:"other",label:Object(T.__)("Other","generateblocks")});var S=[{value:"",label:Object(T.__)("Default","generateblocks")},{value:"normal",label:Object(T.__)("Normal","generateblocks")},{value:"bold",label:Object(T.__)("Bold","generateblocks")},{value:"100",label:"100"},{value:"200",label:"200"},{value:"300",label:"300"},{value:"400",label:"400"},{value:"500",label:"500"},{value:"600",label:"600"},{value:"700",label:"700"},{value:"800",label:"800"},{value:"900",label:"900"}],B=[{value:"",label:Object(T.__)("Default","generateblocks")},{value:"uppercase",label:Object(T.__)("Uppercase","generateblocks")},{value:"lowercase",label:Object(T.__)("Lowercase","generateblocks")},{value:"capitalize",label:Object(T.__)("Capitalize","generateblocks")},{value:"initial",label:Object(T.__)("Normal","generateblocks")}];void 0!==we[i.fontFamily]&&void 0!==we[i.fontFamily].weight&&(S=[{value:"",label:Object(T.__)("Default","generateblocks")},{value:"normal",label:Object(T.__)("Normal","generateblocks")},{value:"bold",label:Object(T.__)("Bold","generateblocks")}],we[i.fontFamily].weight.filter((function(e){var t=e.match(/[a-z]/g),a=e.match(/[0-9]/g);return!(t&&a||"italic"===e)})).forEach((function(e){S.push({value:e,label:e})})));var D=function(e){"other"===e&&(e="");i.fontWeight;a({fontFamily:e}),i.fontWeight&&Object.values(S).indexOf(i.fontWeight),void 0!==we[e]?a({googleFont:!0,fontFamilyFallback:we[e].fallback,googleFontVariants:we[e].weight.join(", ")}):a({googleFont:!1,fontFamilyFallback:"",googleFontVariants:""})},R=function(e){a({fontFamily:e.target.value}),D(e.target.value)},x=function(e,t){return i[e+t]},M=function(e,t){return e+t},z=i.showAdvancedTypography;w&&(z=!0);var L=j;"Tablet"===n&&i.fontSize&&(L=i.fontSize),"Mobile"===n&&(i.fontSizeTablet?L=i.fontSizeTablet:i.fontSize&&(L=i.fontSize));var P="";return"Tablet"===n&&i.lineHeight&&(P=i.lineHeight),"Mobile"===n&&(i.lineHeightTablet?P=i.lineHeightTablet:i.lineHeight&&(P=i.lineHeight)),Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"components-gblocks-typography-weight-transform"},d&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Weight","generateblocks"),value:i.fontWeight,options:S,onChange:function(e){a({fontWeight:e})},className:"components-base-control"}),f&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Transform","generateblocks"),value:i.textTransform,options:B,onChange:function(e){a({textTransform:e})},className:"components-base-control"})),!w&&Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Show Advanced Typography","generateblocks"),checked:!!i.showAdvancedTypography,onChange:function(e){a({showAdvancedTypography:e})}}),b&&z&&Object(l.createElement)(C.BaseControl,{className:"gblocks-font-family-shortcuts"},Object(l.createElement)("span",{className:"components-base-control__label"},Object(T.__)("Font Family","generateblocks")),Object(l.createElement)("select",{className:"components-select-control__input components-select-control__input--gblocks-fontfamily",onChange:R,onBlur:R},_.map((function(e,t){return Object(l.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)})))),b&&z&&Object(l.createElement)(C.TextControl,{value:i.fontFamily,placeholder:Object(T.__)("Enter font name","generateblocks"),onChange:function(e){return D(e)}}),b&&""!==i.fontFamily&&z&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Google Font","generateblocks"),checked:!!i.googleFont,onChange:function(e){a({googleFont:e}),e&&void 0!==we[i.fontFamily]&&a({fontFamilyFallback:we[i.fontFamily].fallback,googleFontVariants:we[i.fontFamily].weight.join(", ")})}}),!!i.googleFont&&Object(l.createElement)(C.TextControl,{label:Object(T.__)("Variants","generateblocks"),value:i.googleFontVariants,placeholder:Object(T.__)("300, 400, 400i","generateblocks"),onChange:function(e){a({googleFontVariants:e})}})),b&&z&&Object(l.createElement)(C.TextControl,{label:Object(T.__)("Font Family Fallback","generateblocks"),value:i.fontFamilyFallback,placeholder:Object(T.__)("sans-serif","generateblocks"),onChange:function(e){a({fontFamilyFallback:e})}}),s&&z&&Object(l.createElement)(C.BaseControl,null,Object(l.createElement)(E,{label:Object(T.__)("Font Size","generateblocks"),value:i.fontSizeUnit,units:["px","em","%"],onClick:function(e){a({fontSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:x("fontSize",n)||"",placeholder:L,onChange:function(e){var t=M("fontSize",n);a(o()({},t,parseFloat(e)))},min:1,autoComplete:"off"}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){var t=M("fontSize",n);a(o()({},t,e.props.defaultFontSize))}},Object(T.__)("Reset","generateblocks")))),m&&z&&Object(l.createElement)(C.BaseControl,null,Object(l.createElement)(E,{label:Object(T.__)("Line Height","generateblocks"),value:i.lineHeightUnit,units:["px","em","%"],onClick:function(e){a({lineHeightUnit:e})}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:x("lineHeight",n)||0===x("lineHeight",n)?x("lineHeight",n):"",placeholder:P,onChange:function(e){var t=M("lineHeight",n);a(o()({},t,e))},onBlur:function(){var e=M("lineHeight",n);a(o()({},e,parseFloat(x("lineHeight",n))))},onClick:function(e){e.currentTarget.focus()},min:0,step:.1,autoComplete:"off"}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){var t=M("lineHeight",n);a(o()({},t,e.props.defaultLineHeight))}},Object(T.__)("Reset","generateblocks")))),y&&z&&Object(l.createElement)(C.BaseControl,null,Object(l.createElement)(E,{label:Object(T.__)("Letter Spacing","generateblocks"),value:"em",units:["em"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:x("letterSpacing",n)||"",placeholder:"0.01",onChange:function(e){var t=M("letterSpacing",n);a(o()({},t,e))},onBlur:function(){var e=M("letterSpacing",n);a(o()({},e,parseFloat(x("letterSpacing",n))))},onClick:function(e){e.currentTarget.focus()},min:-1,step:.01,autoComplete:"off"}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){var t=M("letterSpacing",n);a(o()({},t,e.props.defaultLetterSpacing))}},Object(T.__)("Reset","generateblocks")))))}}]),a}(l.Component);a(39);function Te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ce=function(e){f()(a,e);var t=Te(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,i=t.setAttributes,r=t.attrGradient,n=t.attrGradientDirection,c=t.attrGradientColorOne,s=t.attrGradientColorOneOpacity,g=t.attrGradientColorStopOne,b=t.attrGradientColorTwo,u=t.attrGradientColorTwoOpacity,d=t.attrGradientColorStopTwo,p=t.defaultColorOne,f=t.defaultColorTwo,h=a.gradientSelector,m="element"===h?Object(T.__)("Displays behind the background image.","generateblocks"):Object(T.__)("Displays in front of the background image.","generateblocks");return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Use Gradient","generateblocks"),checked:!!a[r],onChange:function(t){i(o()({},e.props.attrGradient,t))}}),!!a[r]&&Object(l.createElement)(l.Fragment,null,void 0!==h&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Selector","generateblocks"),help:m,value:h,options:[{label:Object(T.__)("Element","generateblocks"),value:"element"},{label:Object(T.__)("Pseudo Element","generateblocks"),value:"pseudo-element"}],onChange:function(e){i({gradientSelector:e})}}),Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(T.__)("Direction","generateblocks")),Object(l.createElement)(C.RangeControl,{value:a[n]?a[n]:1,onChange:function(e){i(o()({},n,e))},min:0,max:360,step:1,initialPosition:90})),Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(T.__)("Color One","generateblocks")),Object(l.createElement)("div",{className:"gblocks-component-gradient-control"},Object(l.createElement)(ke,{value:a[c],alpha:!0,valueOpacity:a[s],attrOpacity:"gradientColorOneOpacity",onChange:function(e){return i(o()({},c,e))},onOpacityChange:function(e){return i(o()({},s,e))},onClear:function(){return i(o()({},c,p))}}),Object(l.createElement)(C.TextControl,{className:"gblocks-component-gradient-stop-value",type:"text",value:a[g]||0===a[g]?a[g]:"",placeholder:Object(T.__)("Stop position (%)","generateblocks"),onChange:function(e){i(o()({},g,e))},onBlur:function(){(a[g]||0===a[g])&&i(o()({},g,parseFloat(a[g])))},onClick:function(e){e.currentTarget.focus()}}))),Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(T.__)("Color Two","generateblocks")),Object(l.createElement)("div",{className:"gblocks-component-gradient-control"},Object(l.createElement)(ke,{value:a[b],alpha:!0,valueOpacity:a[u],attrOpacity:"gradientColorTwoOpacity",onChange:function(e){return i(o()({},b,e))},onOpacityChange:function(e){return i(o()({},u,e))},onClear:function(){return i(o()({},b,f))}}),Object(l.createElement)(C.TextControl,{className:"gblocks-component-gradient-stop-value",type:"text",value:a[d]||0===a[d]?a[d]:"",placeholder:Object(T.__)("Stop position (%)","generateblocks"),onChange:function(e){i(o()({},d,e))},onBlur:function(){(a[d]||0===a[d])&&i(o()({},d,parseFloat(a[d])))},onClick:function(e){e.currentTarget.focus()}})))))}}]),a}(l.Component),_e=a(25),Se=a.n(_e);function Be(e){return Se.a.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0}})}function De(e,t,a,l,i){if(""!==e||""!==t||""!==a||""!==l)return e=0!=parseFloat(e)&&""!==e?parseFloat(e)+i+" ":"0 ",t=0!=parseFloat(t)&&""!==t?parseFloat(t)+i+" ":"0 ",a=0!=parseFloat(a)&&""!==a?parseFloat(a)+i+" ":"0 ",t===(l=0!=parseFloat(l)&&""!==l?parseFloat(l)+i+" ":"0 ")&&(l="",e===a&&(a="",e===t&&(t=""))),(e+t+a+l).trim()}function Ee(e,t){var a=Object(_.applyFilters)("generateblocks.editor.cssAttrs",t.attributes,t),l=a.backgroundColor,i=a.backgroundColorOpacity,r=a.bgImage,n=a.gradient,o=a.bgOptions,c=a.gradientColorOne,s=a.gradientColorOneOpacity,g=a.gradientColorTwo,b=a.gradientColorTwoOpacity,u=a.gradientColorStopOne,d=a.gradientColorStopTwo,p=a.gradientDirection,f="";if(n){var h="",m="";c&&""!==u&&(h=" "+u+"%"),g&&""!==d&&(m=" "+d+"%"),f="linear-gradient("+p+"deg, "+he(c,s)+h+", "+he(g,b)+m+")"}if("gradient"===e)return f;var k=!1,y=he(l,i);if(r){var v=r.image.url;v=Object(_.applyFilters)("generateblocks.editor.bgImageURL",v,t),"element"===o.selector&&(y||n)&&void 0!==o.overlay&&o.overlay?n?k=f+", url("+v+")":y&&(k="linear-gradient(0deg, "+y+", "+y+"), url("+v+")"):k="url("+v+")"}return k}function Re(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var xe=function(e){f()(a,e);var t=Re(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.isGrid,r=e.width,n=e.outerContainer,o=e.innerContainer,c=e.containerWidth,s=e.minHeight,g=e.minHeightUnit,b=e.paddingTop,u=e.paddingRight,d=e.paddingBottom,p=e.paddingLeft,f=e.paddingUnit,h=e.marginTop,m=e.marginRight,k=e.marginBottom,y=e.marginLeft,v=e.marginUnit,w=e.borderSizeTop,O=e.borderSizeRight,j=e.borderSizeBottom,T=e.borderSizeLeft,C=e.borderRadiusTopRight,S=e.borderRadiusBottomRight,B=e.borderRadiusBottomLeft,D=e.borderRadiusTopLeft,E=e.borderRadiusUnit,R=e.borderColor,x=e.borderColorOpacity,L=e.backgroundColor,P=e.backgroundColorOpacity,F=e.gradient,A=e.gradientSelector,U=e.textColor,H=e.linkColor,N=e.linkColorHover,I=e.bgImage,G=e.bgOptions,V=e.verticalAlignment,q=e.zindex,W=e.innerZindex,Z=e.alignment,K=e.fontFamily,J=e.fontFamilyFallback,Y=e.fontWeight,Q=e.fontSize,X=e.fontSizeUnit,$=e.textTransform,ee=e.shapeDividers,te=c;te||(te=generateBlocksDefaults.container.containerWidth);var ae="";K&&J&&(ae=", "+J);var le=!!I,ie=Ee("image",this.props),re=Ee("gradient",this.props),ne=W,oe=[];return oe[".gb-container-"+a]=[{"background-color":he(L,P),color:U,"border-radius":De(D,C,S,B,E),margin:De(h,m,k,y,v),"z-index":q,"text-align":Z,"font-family":K+ae,"font-weight":Y,"text-transform":$,"font-size":z(Q,X),"min-height":z(s,g)}],le&&"element"===G.selector&&ie?oe[".gb-container-"+a].push({"background-image":ie,"background-size":G.size,"background-position":G.position,"background-repeat":G.repeat,"background-attachment":G.attachment}):F&&"element"===A&&oe[".gb-container-"+a].push({"background-image":re}),(le&&"pseudo-element"===G.selector||q||F&&"pseudo-element"===A)&&oe[".gb-container-"+a].push({position:"relative"}),(le&&"pseudo-element"===G.selector||F&&"pseudo-element"===A)&&(oe[".gb-container-"+a].push({overflow:"hidden"}),oe[".gb-container-"+a+" .block-list-appender"]=[{"z-index":10}],ne||(ne=1)),oe[".editor-styles-wrapper .gb-container-"+a+" h1,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h2,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h3,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h4,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h5,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h6"]=[{color:U}],(w||O||j||T)&&oe[".gb-container-"+a].push({"border-width":De(w,O,j,T,"px"),"border-style":"solid","border-color":he(R,x)}),s&&!i&&oe[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":V}),i&&(oe[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":V}),oe[".block-editor-block-list__layout > #block-"+t]=[{height:"100%"}]),le&&"pseudo-element"===G.selector&&(oe[".gb-container-"+a+":before"]=[{content:'""',"background-image":ie,"background-repeat":G.repeat,"background-position":G.position,"background-size":G.size,"background-attachment":G.attachment,"z-index":"0",position:"absolute",top:"0",right:"0",bottom:"0",left:"0","border-radius":De(D,C,S,B,E)}],void 0!==G.opacity&&1!==G.opacity&&oe[".gb-container-"+a+":before"].push({opacity:G.opacity})),F&&"pseudo-element"===A&&(oe[".gb-container-"+a+":after"]=[{content:'""',"background-image":re,"z-index":"0",position:"absolute",top:"0",right:"0",bottom:"0",left:"0"}]),oe[".gb-container-"+a+" a, .gb-container-"+a+" a:visited"]=[{color:H}],oe[".gb-container-"+a+" a:hover"]=[{color:N}],oe[".gb-container-"+a+" > .gb-inside-container"]=[{padding:De(b,u,d,p,f),width:!(!s||i)&&"100%"}],(ne||0===ne)&&oe[".gb-container-"+a+" > .gb-inside-container"].push({"z-index":ne,position:"relative"}),"contained"!==o||i||oe[".gb-container-"+a+" > .gb-inside-container"].push({"max-width":z(te,"px"),"margin-left":"auto","margin-right":"auto"}),oe[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:z(r,"%"),display:"flex","flex-direction":"column","margin-left":"0px","margin-right":"0px"}],oe[".block-editor-block-list__layout > #block-"+t]=[{"max-width":"contained"===n&&!i&&z(te,"px")}],oe[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t+" > .block-editor-block-list__block-edit,\n\t\t.gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t+' > .block-editor-block-list__block-edit > [data-block="'+t+'"]']=[{height:"100%"}],oe["#block-"+t+":not(.has-child-selected):not(.is-selected) .block-list-appender:not(:first-child),\n\t\t#block-"+t+":not(.has-child-selected):not(.is-selected) .block-editor-block-list__layout > div:not(:first-child) > .block-list-appender"]=[{display:"none"}],ee.length&&(oe[".gb-container-"+a].push({position:"relative"}),oe[".gb-container-"+a+" .block-list-appender"]=[{position:"relative","z-index":100}],ee.forEach((function(e,t){var l=[],i=t+1;"top"===ee[t].location&&l.push("scaleY(-1)"),ee[t].flipHorizontally&&(l.push("scaleX(-1)"),oe[".gblocks-shape-container > .gblocks-shape-toggle-preview-"+i+" .gblocks-shape-divider-preview"]=[{transform:"scaleX(-1)"}]),oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i]=[{color:he(ee[t].color,ee[t].colorOpacity),"z-index":ee[t].zindex}],"top"!==ee[t].location&&"bottom"!==ee[t].location||oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({left:"0",right:"0"}),"bottom"===ee[t].location&&oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({bottom:"-1px"}),"top"===ee[t].location&&oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({top:"-1px"}),l.length&&oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({transform:l.join(" ")});var r=ee[t].width+"%";100===ee[t].width&&(r="calc("+r+" + 1.3px)"),oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i+" svg"]=[{height:z(ee[t].height,"px"),width:r}],"top"!==ee[t].location&&"bottom"!==ee[t].location||oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i+" svg"].push({position:"relative",left:"50%",transform:"translateX(-50%)","min-width":"100%"})}))),oe=Object(_.applyFilters)("generateblocks.editor.mainCSS",oe,this.props,"container"),Object(l.createElement)("style",null,M(oe))}}]),a}(l.Component);function Me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ze=function(e){f()(a,e);var t=Me(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.removeVerticalGap,i=[];return i[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":!!a&&"0px !important"}],i=Object(_.applyFilters)("generateblocks.editor.desktopCSS",i,this.props,"container"),Object(l.createElement)("style",null,M(i))}}]),a}(l.Component);function Le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Pe=function(e){f()(a,e);var t=Le(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.isGrid,r=e.widthTablet,n=e.minHeightTablet,o=e.minHeightUnitTablet,c=e.paddingTopTablet,s=e.paddingRightTablet,g=e.paddingBottomTablet,b=e.paddingLeftTablet,u=e.paddingUnit,d=e.marginTopTablet,p=e.marginRightTablet,f=e.marginBottomTablet,h=e.marginLeftTablet,m=e.marginUnit,k=e.borderSizeTopTablet,y=e.borderSizeRightTablet,v=e.borderSizeBottomTablet,w=e.borderSizeLeftTablet,O=e.borderRadiusTopRightTablet,j=e.borderRadiusBottomRightTablet,T=e.borderRadiusBottomLeftTablet,C=e.borderRadiusTopLeftTablet,S=e.borderRadiusUnit,B=e.verticalAlignmentTablet,D=e.alignmentTablet,E=e.fontSizeTablet,R=e.fontSizeUnit,x=e.shapeDividers,L=[];return L[".gb-container-"+a]=[{"border-top-left-radius":z(C,S),"border-top-right-radius":z(O,S),"border-bottom-right-radius":z(j,S),"border-bottom-left-radius":z(T,S),"margin-top":z(d,m),"margin-right":z(p,m),"margin-bottom":z(f,m),"margin-left":z(h,m),"text-align":D,"font-size":z(E,R),"min-height":z(n,o)}],(k||y||v||w)&&L[".gb-container-"+a].push({"border-top-width":z(k,"px"),"border-right-width":z(y,"px"),"border-bottom-width":z(v,"px"),"border-left-width":z(w,"px"),"border-style":"solid"}),n&&!i&&L[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":"inherit"!==B?B:null}),i&&"inherit"!==B&&L[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":B}),L[".gb-container-"+a+" > .gb-inside-container"]=[{"padding-top":z(c,u),"padding-right":z(s,u),"padding-bottom":z(g,u),"padding-left":z(b,u),width:!(!n||i)&&"100%"}],L[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:z(r,"%")}],x.length&&x.forEach((function(e,t){L[".gb-container-"+a+" > .gb-shapes .gb-shape-"+(t+1)+" svg"]=[{height:z(x[t].heightTablet,"px"),width:z(x[t].widthTablet,"%")}]})),L=Object(_.applyFilters)("generateblocks.editor.tabletCSS",L,this.props,"container"),Object(l.createElement)("style",null,M(L))}}]),a}(l.Component);function Fe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ae=function(e){f()(a,e);var t=Fe(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=[];return e.removeVerticalGapTablet&&(a[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":"0px !important"}]),a=Object(_.applyFilters)("generateblocks.editor.tabletOnlyCSS",a,this.props,"container"),Object(l.createElement)("style",null,M(a))}}]),a}(l.Component);function Ue(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var He=function(e){f()(a,e);var t=Ue(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.isGrid,r=e.widthMobile,n=e.minHeightMobile,o=e.minHeightUnitMobile,c=e.paddingTopMobile,s=e.paddingRightMobile,g=e.paddingBottomMobile,b=e.paddingLeftMobile,u=e.paddingUnit,d=e.marginTopMobile,p=e.marginRightMobile,f=e.marginBottomMobile,h=e.marginLeftMobile,m=e.marginUnit,k=e.borderSizeTopMobile,y=e.borderSizeRightMobile,v=e.borderSizeBottomMobile,w=e.borderSizeLeftMobile,O=e.borderRadiusTopRightMobile,j=e.borderRadiusBottomRightMobile,T=e.borderRadiusBottomLeftMobile,C=e.borderRadiusTopLeftMobile,S=e.borderRadiusUnit,B=e.verticalAlignmentMobile,D=e.removeVerticalGapMobile,E=e.alignmentMobile,R=e.fontSizeMobile,x=e.fontSizeUnit,L=e.orderMobile,P=e.shapeDividers,F=e.bgImage,A=e.bgOptions,U=[];return U[".gb-container-"+a]=[{"border-top-left-radius":z(C,S),"border-top-right-radius":z(O,S),"border-bottom-right-radius":z(j,S),"border-bottom-left-radius":z(T,S),"margin-top":z(d,m),"margin-right":z(p,m),"margin-bottom":z(f,m),"margin-left":z(h,m),"text-align":E,"font-size":z(R,x),"min-height":z(n,o)}],(k||y||v||w)&&U[".gb-container-"+a].push({"border-top-width":z(k,"px"),"border-right-width":z(y,"px"),"border-bottom-width":z(v,"px"),"border-left-width":z(w,"px"),"border-style":"solid"}),"inherit"!==B&&n&&!i&&U[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":B}),i&&"inherit"!==B&&U[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":B}),U[".gb-container-"+a+" > .gb-inside-container"]=[{"padding-top":z(c,u),"padding-right":z(s,u),"padding-bottom":z(g,u),"padding-left":z(b,u),width:!(!n||i)&&"100%"}],U[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:z(r,"%"),order:L}],D&&(U[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":"0px !important"}]),P.length&&P.forEach((function(e,t){U[".gb-container-"+a+" > .gb-shapes .gb-shape-"+(t+1)+" svg"]=[{height:z(P[t].heightMobile,"px"),width:z(P[t].widthMobile,"%")}]})),F&&"fixed"===A.attachment&&("element"===A.selector&&U[".gb-container-"+a].push({"background-attachment":"initial"}),"pseudo-element"===A.selector&&(U[".gb-container-"+a+":before"]=[{"background-attachment":"initial"}])),U=Object(_.applyFilters)("generateblocks.editor.mobileCSS",U,this.props,"container"),Object(l.createElement)("style",null,M(U))}}]),a}(l.Component);function Ne(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Ie(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ne(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ge(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ve=/[\s#]/g,qe=[],We=function(e){f()(a,e);var t=Ge(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={selectedDevice:"Desktop"},e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-","");this.props.attributes.uniqueId?qe.includes(this.props.attributes.uniqueId)?(this.props.setAttributes({uniqueId:e}),qe.push(e)):qe.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),qe.push(e));var t=document.getElementById("block-"+this.props.clientId);t&&"full"===this.props.attributes.align&&t.setAttribute("data-align","full"),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0})}},{key:"componentDidUpdate",value:function(){var e=document.getElementById("block-"+this.props.clientId);if(e){var t=this.props.attributes.align,a="";e.getAttribute("data-align")&&(a=e.getAttribute("data-align")),t!==a&&(""!==t&&void 0!==t||""===a?e.setAttribute("data-align",t):e.removeAttribute("data-align"))}}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=a.hasChildBlocks,s=a.clientId,g=i.uniqueId,b=i.className,u=i.anchor,d=i.tagName,p=i.isGrid,f=i.width,h=i.widthTablet,m=i.widthMobile,k=i.outerContainer,y=i.innerContainer,v=i.containerWidth,O=i.minHeight,S=i.minHeightUnit,D=i.minHeightTablet,R=i.minHeightUnitTablet,x=i.minHeightMobile,M=i.minHeightUnitMobile,z=i.borderColor,L=i.borderColorOpacity,P=i.backgroundColor,F=i.backgroundColorOpacity,A=i.textColor,U=i.linkColor,H=i.linkColorHover,N=i.bgImage,I=i.bgOptions,G=i.bgImageSize,V=i.verticalAlignment,q=i.verticalAlignmentTablet,W=i.verticalAlignmentMobile,Z=i.zindex,K=i.innerZindex,J=i.removeVerticalGap,X=i.removeVerticalGapTablet,$=i.removeVerticalGapMobile,ee=i.orderTablet,te=i.orderMobile,ae=i.alignment,le=i.alignmentTablet,ie=i.alignmentMobile,re=i.fontFamily,ne=i.googleFont,oe=i.googleFontVariants,ce=i.fullWidthContent,se=i.align,ge=i.shapeDividers;void 0===i.bgOptions.selector&&(i.bgOptions.selector="element"),void 0===i.bgOptions.opacity&&(i.bgOptions.opacity=1);var be=[{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"aside",value:"aside"}],ue=document.getElementById("_generate-full-width-content"),de=new Event("change"),he=wp.data.select("core/block-editor").getBlockHierarchyRootClientId(s)===s,me="";oe&&(me=":"+oe);var ye=!1,we=!1,Oe=!1,Te="";"function"==typeof wp.data.select("core/block-editor").getBlockParents&&(ye=wp.data.select("core/block-editor").getBlockParents(s,!0)[0])&&(we=wp.data.select("core/block-editor").getBlocksByClientId(ye))&&"generateblocks/grid"===we[0].name&&(Oe=!0,Te=we[0].attributes.uniqueId);var _e=[];Object.keys(generateBlocksInfo.svgShapes).forEach((function(e){var t=generateBlocksInfo.svgShapes[e].svgs;Object.keys(t).forEach((function(e){_e[e]={label:t[e].label,icon:t[e].icon}}))}));var Se=[];Object.keys(generateBlocksInfo.imageSizes).forEach((function(e){Se.push({label:generateBlocksInfo.imageSizes[e],value:generateBlocksInfo.imageSizes[e]})}));var De={className:w()((e={"gb-container":!0},o()(e,"gb-container-".concat(g),!0),o()(e,"".concat(b),void 0!==b),e)),id:u||null};return De=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",De,"generateblocks/container",i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.BlockControls,null,"Desktop"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:ae,onChange:function(e){n({alignment:e})}}),"Tablet"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:le,onChange:function(e){n({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:ie,onChange:function(e){n({alignmentMobile:e})}})),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),!p&&Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Layout","generateblocks"),initialOpen:!0,icon:j("layout"),className:"gblocks-panel-label",id:"containerLayout",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Oe&&Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Grid Item","generateblocks"),help:Object(T.__)("This Container is inside a Grid Block but is not set as a grid item. Enable this option for optimal results.","generateblocks"),checked:!!p,onChange:function(e){n({isGrid:e,gridId:Te})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Container","generateblocks"),value:k,options:[{label:Object(T.__)("Full width","generateblocks"),value:"full"},{label:Object(T.__)("Contained width","generateblocks"),value:"contained"}],onChange:function(e){n({outerContainer:e}),"contained"===e&&"full"===se&&n({align:""})}}),"full"===k&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Inner Container","generateblocks"),value:y,options:[{label:Object(T.__)("Full width","generateblocks"),value:"full"},{label:Object(T.__)("Contained width","generateblocks"),value:"contained"}],onChange:function(e){n({innerContainer:e})}}),("contained"===k||"contained"===y)&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Container Width","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",className:"gblocks-container-width",value:parseFloat(v)||"",placeholder:generateBlocksDefaults.container.containerWidth,onChange:function(e){n({containerWidth:""!==e?parseFloat(e):void 0})}})),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Tag Name","generateblocks"),value:d,options:Object(_.applyFilters)("generateblocks.editor.containerTagNames",be,this.props,this.state),onChange:function(e){n({tagName:e})}}),Object(_.applyFilters)("generateblocks.editor.controls","","containerAfterElementTag",this.props,this.state),Object(l.createElement)(l.Fragment,null,generateBlocksInfo.isGeneratePress&&he&&ue&&Object(l.createElement)(C.BaseControl,{id:"gblocks-gp-full-width-page",label:Object(T.__)("If you want to build a full width page, use the option below to remove the page width, margin and padding.","generateblocks"),className:"gblocks-gpress-full-width"},Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Make page full-width","generateblocks"),checked:!!ce,onChange:function(e){e?("select"===ue.tagName.toLowerCase()?(ue.value="true",ue.dispatchEvent(de)):(ue.checked=!0,ue.setAttribute("value","true"),ue.dispatchEvent(de)),n({fullWidthContent:"true",align:""})):("select"===ue.tagName.toLowerCase()?(ue.value="",ue.dispatchEvent(de)):(ue.checked=!1,ue.setAttribute("value",""),document.querySelector('input[name="_generate-full-width-content"]#default-content').checked=!0,ue.dispatchEvent(de)),n({fullWidthContent:""}))}})))),Object(_.applyFilters)("generateblocks.editor.controls","","containerLayout",this.props,this.state)),p&&Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Layout","generateblocks"),initialOpen:!0,icon:j("layout"),className:"gblocks-panel-label",id:"containerGridLayout",state:this.state}),!Oe&&Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Grid Item","generateblocks"),help:Object(T.__)("This container is set as a grid item but is not inside a grid block. Deactivate this option for optimal results.","generateblocks"),checked:!!p,onChange:function(e){n({isGrid:e,gridId:""})}}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(C.Button,{isPrimary:25===f,onClick:function(){return n({width:25})}},"25"),Object(l.createElement)(C.Button,{isPrimary:33.33===f,onClick:function(){return n({width:33.33})}},"33"),Object(l.createElement)(C.Button,{isPrimary:50===f,onClick:function(){return n({width:50})}},"50"),Object(l.createElement)(C.Button,{isPrimary:66.66===f,onClick:function(){return n({width:66.66})}},"66"),Object(l.createElement)(C.Button,{isPrimary:75===f,onClick:function(){return n({width:75})}},"75"),Object(l.createElement)(C.Button,{isPrimary:100===f,onClick:function(){return n({width:100})}},"100")),Object(l.createElement)(C.RangeControl,{className:"gblocks-column-width-control",value:f||"",onChange:function(e){n({width:e})},min:0,max:100,step:.01,initialPosition:generateBlocksDefaults.container.width}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:V,options:[{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignment:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Remove Vertical Gap","generateblocks"),checked:!!J,onChange:function(e){n({removeVerticalGap:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Tag Name","generateblocks"),value:d,options:Object(_.applyFilters)("generateblocks.editor.containerTagNames",be,this.props,this.state),onChange:function(e){n({tagName:e})}}),Object(_.applyFilters)("generateblocks.editor.controls","","containerAfterElementTag",this.props,this.state)),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(C.Button,{isPrimary:25===h,onClick:function(){return n({widthTablet:25})}},"25"),Object(l.createElement)(C.Button,{isPrimary:33.33===h,onClick:function(){return n({widthTablet:33.33})}},"33"),Object(l.createElement)(C.Button,{isPrimary:50===h,onClick:function(){return n({widthTablet:50})}},"50"),Object(l.createElement)(C.Button,{isPrimary:66.66===h,onClick:function(){return n({widthTablet:66.66})}},"66"),Object(l.createElement)(C.Button,{isPrimary:75===h,onClick:function(){return n({widthTablet:75})}},"75"),Object(l.createElement)(C.Button,{isPrimary:100===h,onClick:function(){return n({widthTablet:100})}},"100")),Object(l.createElement)(C.RangeControl,{className:"gblocks-column-width-control",value:h||"",onChange:function(e){n({widthTablet:e})},min:0,max:100,step:.01,initialPosition:generateBlocksDefaults.container.widthTablet}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:q,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentTablet:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Remove Vertical Gap","generateblocks"),checked:!!X,onChange:function(e){n({removeVerticalGapTablet:e})}}),Object(l.createElement)(C.TextControl,{type:"number",label:Object(T.__)("Order","generateblocks"),value:ee||0===ee?ee:"",onChange:function(e){n({orderTablet:parseFloat(e)})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(C.Button,{isPrimary:25===m,onClick:function(){return n({widthMobile:25})}},"25"),Object(l.createElement)(C.Button,{isPrimary:33.33===m,onClick:function(){return n({widthMobile:33.33})}},"33"),Object(l.createElement)(C.Button,{isPrimary:50===m,onClick:function(){return n({widthMobile:50})}},"50"),Object(l.createElement)(C.Button,{isPrimary:66.66===m,onClick:function(){return n({widthMobile:66.66})}},"66"),Object(l.createElement)(C.Button,{isPrimary:75===m,onClick:function(){return n({widthMobile:75})}},"75"),Object(l.createElement)(C.Button,{isPrimary:100===m,onClick:function(){return n({widthMobile:100})}},"100")),Object(l.createElement)(C.RangeControl,{className:"gblocks-column-width-control",value:m||"",onChange:function(e){n({widthMobile:e})},min:0,max:100,step:.01,initialPosition:generateBlocksDefaults.container.widthMobile}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:W,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentMobile:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Remove Vertical Gap","generateblocks"),checked:!!$,onChange:function(e){n({removeVerticalGapMobile:e})}}),Object(l.createElement)(C.TextControl,{type:"number",label:Object(T.__)("Order","generateblocks"),value:te||0===te?te:"",onChange:function(e){n({orderMobile:parseFloat(e)})}})),Object(_.applyFilters)("generateblocks.editor.controls","","containerGridLayout",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Typography","generateblocks"),initialOpen:!1,icon:j("typography"),className:"gblocks-panel-label",id:"containerTypography",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,defaultFontSize:generateBlocksDefaults.container.fontSize,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeight,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Tablet",showFontSize:!0,defaultFontSize:generateBlocksDefaults.container.fontSizeTablet,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeightTablet,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacingTablet}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Mobile",showFontSize:!0,defaultFontSize:generateBlocksDefaults.container.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeightMobile,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacingMobile}))),Object(_.applyFilters)("generateblocks.editor.controls","","containerTypography",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Spacing","generateblocks"),initialOpen:!1,icon:j("spacing"),className:"gblocks-panel-label",id:"containerSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Minimum Height","generateblocks"),value:S,units:["px","vh","vw"],onClick:function(e){n({minHeightUnit:e})}}),Object(l.createElement)(C.TextControl,{type:"number",value:O||"",onChange:function(e){n({minHeight:parseFloat(e)})}}),!!O&&!p&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),value:V,options:[{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignment:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(C.TextControl,{label:Object(T.__)("Outer z-index","generateblocks"),type:"number",value:Z||0===Z?Z:"",onChange:function(e){n({zindex:e})},onBlur:function(){n({zindex:parseFloat(Z)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.TextControl,{label:Object(T.__)("Inner z-index","generateblocks"),type:"number",value:K||0===K?K:"",onChange:function(e){n({innerZindex:e})},onBlur:function(){n({innerZindex:parseFloat(K)})},onClick:function(e){e.currentTarget.focus()}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Minimum Height","generateblocks"),value:R,units:["px","vh","vw"],onClick:function(e){n({minHeightUnitTablet:e})}}),Object(l.createElement)(C.TextControl,{type:"number",value:D||"",onChange:function(e){n({minHeightTablet:parseFloat(e)})}}),(!!O||!!D)&&!p&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),value:q,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentTablet:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Minimum Height","generateblocks"),value:M,units:["px","vh","vw"],onClick:function(e){n({minHeightUnitMobile:e})}}),Object(l.createElement)(C.TextControl,{type:"number",value:x||"",onChange:function(e){n({minHeightMobile:parseFloat(e)})}}),(!!O||!!D||!!x)&&!p&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),value:W,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentMobile:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]}))),Object(_.applyFilters)("generateblocks.editor.controls","","containerSpacing",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Colors","generateblocks"),initialOpen:!1,icon:j("colors"),className:"gblocks-panel-label",id:"containerColors",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ke,{label:Object(T.__)("Background Color","generateblocks"),value:P,alpha:!0,valueOpacity:F,attrOpacity:"backgroundColorOpacity",onChange:function(e){return n({backgroundColor:e})},onOpacityChange:function(e){return n({backgroundColorOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Text Color","generateblocks"),value:A,alpha:!1,onChange:function(e){return n({textColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Link Color","generateblocks"),value:U,alpha:!1,onChange:function(e){return n({linkColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Link Color Hover","generateblocks"),value:H,alpha:!1,onChange:function(e){return n({linkColorHover:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Border Color","generateblocks"),value:z,alpha:!0,valueOpacity:L,attrOpacity:"borderColorOpacity",onChange:function(e){return n({borderColor:e})},onOpacityChange:function(e){return n({borderColorOpacity:e})}})),Object(_.applyFilters)("generateblocks.editor.controls","","containerColors",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Backgrounds","generateblocks"),initialOpen:!1,icon:j("gradients"),className:"gblocks-panel-label",id:"containerBackground",state:this.state}),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.BaseControl,{id:"gblocks-background-image-upload",label:Object(T.__)("Image URL","generateblocks")},Object(l.createElement)("div",{className:"gblocks-bg-image-wrapper"},Object(l.createElement)(C.TextControl,{type:"text",value:N?N.image.url:"",onChange:function(e){n(e?{bgImage:{id:"",image:{url:e}}}:{bgImage:null})}}),Object(l.createElement)("div",{className:"gblocks-background-image-action-buttons"},Object(l.createElement)(Q.MediaUpload,{title:Object(T.__)("Set background image","generateblocks"),onSelect:function(e){var t=generateBlocksDefaults.container.bgImageSize;void 0===e.sizes[t]&&(t="full"),n({bgImage:{id:e.id,image:e.sizes[t]}})},onClose:function(){document.querySelector(".gblocks-bg-image-wrapper input").focus()},allowedTypes:["image"],value:N?N.id:"",modalClass:"editor-gb-container-background__media-modal",render:function(e){var t=e.open;return Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Open the Media Library","generateblocks")},Object(l.createElement)(C.Button,{onClick:t,className:"is-secondary is-small"},Object(T.__)("Browse","generateblocks")))}}),Object(_.applyFilters)("generateblocks.editor.backgroundImageActions","",this.props,this.state)))),!!N&&Object(l.createElement)(l.Fragment,null,I.overlay?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Background Color Overlay","generateblocks"),checked:!!I.overlay,onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{overlay:e})})}}),Object(l.createElement)(C.Notice,{className:"gblocks-option-notice",status:"info",isDismissible:!1},Object(T.__)("The background color overlay option is deprecated. Toggle this option to use the new method.","generateblocks"))):Object(l.createElement)(l.Fragment,null,void 0!==N.id&&N.id&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Image Size","generateblocks"),value:G,options:Se,onChange:function(e){n({bgImageSize:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Selector","generateblocks"),value:I.selector,options:[{label:Object(T.__)("Element","generateblocks"),value:"element"},{label:Object(T.__)("Pseudo Element","generateblocks"),value:"pseudo-element"}],onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{selector:e})})}}),Object(l.createElement)(C.RangeControl,{label:Object(T.__)("Image Opacity","generateblocks"),value:I.opacity,onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{opacity:e,selector:"pseudo-element"})})},min:0,max:1,step:.1,initialPosition:generateBlocksDefaults.container.bgOptions.opacity}),1!==I.opacity&&"pseudo-element"!==I.selector&&Object(l.createElement)(C.Notice,{className:"gblocks-option-notice",status:"info",isDismissible:!1},Object(T.__)("Your selector must be set to Pseudo Element to use opacity.","generateblocks"))),Object(l.createElement)(C.TextControl,{label:Object(T.__)("Size","generateblocks"),value:I.size,onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{size:e})})}}),Object(l.createElement)(C.TextControl,{label:Object(T.__)("Position","generateblocks"),value:I.position,onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{position:e})})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Repeat","generateblocks"),value:I.repeat,options:[{label:"no-repeat",value:"no-repeat"},{label:"repeat",value:"repeat"},{label:"repeat-x",value:"repeat-x"},{label:"repeat-y",value:"repeat-y"}],onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{repeat:e})})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Attachment","generateblocks"),value:I.attachment,options:[{label:"scroll",value:""},{label:"fixed",value:"fixed"},{label:"local",value:"local"}],onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{attachment:e})})}})),Object(l.createElement)(Ce,r()({},this.props,{attrGradient:"gradient",attrGradientDirection:"gradientDirection",attrGradientColorOne:"gradientColorOne",attrGradientColorStopOne:"gradientColorStopOne",attrGradientColorTwo:"gradientColorTwo",attrGradientColorStopTwo:"gradientColorStopTwo",attrGradientColorOneOpacity:"gradientColorOneOpacity",attrGradientColorTwoOpacity:"gradientColorTwoOpacity",defaultColorOne:generateBlocksDefaults.container.gradientColorOne,defaultColorTwo:generateBlocksDefaults.container.gradientColorTwo})),Object(_.applyFilters)("generateblocks.editor.controls","","containerBackground",this.props,this.state))),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Shapes","generateblocks"),initialOpen:!1,icon:j("shapes"),className:"gblocks-panel-label",id:"containerShapes",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!i.shapeDividers.length)}),Object(l.createElement)(C.BaseControl,{className:"gb-icon-chooser gb-shape-chooser"},ge.map((function(e,a){var i=a+1;return Object(l.createElement)(l.Fragment,{key:a},Object(l.createElement)("div",{className:"gblocks-shape-container"},Object(l.createElement)("div",{className:w()(o()({"gblocks-shape-toggle-preview":!0},"gblocks-shape-toggle-preview-".concat(i),!0)),style:{backgroundColor:P}},void 0!==_e[ge[a].shape]&&Object(l.createElement)("div",{className:"gblocks-shape-divider-preview",style:{color:ge[a].color},dangerouslySetInnerHTML:{__html:Be(_e[ge[a].shape].icon)}})),
|
8 |
/* translators: Shape number */
|
9 |
-
Object(T.sprintf)(Object(T.__)("Shape %s","generateblocks"),i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.Dropdown,{contentClassName:"gblocks-shapes-dropdown",renderToggle:function(e){var t=e.isOpen,a=e.onToggle;return Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Edit Shape","generateblocks")},Object(l.createElement)(C.Button,{className:"gblocks-shape-dropdown",isSecondary:!t||void 0,isPrimary:!!t||void 0,icon:"admin-tools",onClick:a,"aria-expanded":t}))},renderContent:function(){return Object(l.createElement)("div",{className:"gblocks-shape-controls"},"Desktop"===t.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.BaseControl,{className:"gb-icon-chooser"},Object.keys(generateBlocksInfo.svgShapes).map((function(e,t){var i=generateBlocksInfo.svgShapes[e].svgs;return Object(l.createElement)(C.PanelBody,{title:generateBlocksInfo.svgShapes[e].group,initialOpen:i.hasOwnProperty(ge[a].shape),key:t},Object(l.createElement)(C.PanelRow,null,Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("ul",{className:"gblocks-icon-chooser gblocks-shape-chooser"},Object.keys(i).map((function(e,t){return Object(l.createElement)("li",{key:"editor-pblock-types-list-item-".concat(t)},Object(l.createElement)(C.Tooltip,{text:i[e].label},Object(l.createElement)(C.Button,{className:w()({"editor-block-list-item-button":!0,"gblocks-shape-is-active":ge[a].shape===e}),onClick:function(){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{shape:e}),n({shapeDividers:t})}},"string"==typeof i[e].icon?Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon",dangerouslySetInnerHTML:{__html:Be(i[e].icon)}})):Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},i[e].icon)))))}))))))}))),Object(l.createElement)(ke,{label:Object(T.__)("Color","generateblocks"),value:ge[a].color,alpha:!0,valueOpacity:ge[a].colorOpacity,onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{color:e}),n({shapeDividers:t})},onOpacityChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{colorOpacity:e}),n({shapeDividers:t})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Location","generateblocks"),value:ge[a].location,options:[{label:Object(T.__)("Top","generateblocks"),value:"top"},{label:Object(T.__)("Bottom","generateblocks"),value:"bottom"}],onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{location:e}),n({shapeDividers:t})}}),Object(l.createElement)(E,{label:Object(T.__)("Height","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].height?ge[a].height:"",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{height:parseFloat(e)}),n({shapeDividers:t})}}),Object(l.createElement)(E,{label:Object(T.__)("Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].width?ge[a].width:"",min:"100",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{width:parseFloat(e)}),n({shapeDividers:t})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Flip Horizontally","generateblocks"),checked:!!ge[a].flipHorizontally,onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{flipHorizontally:e}),n({shapeDividers:t})}}),Object(l.createElement)(C.TextControl,{label:Object(T.__)("z-index","generateblocks"),type:"number",min:"0",value:ge[a].zindex||0===ge[a].zindex?ge[a].zindex:"",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{zindex:e}),n({shapeDividers:t})},onBlur:function(){var e=pe()(ge);e[a]=Ie(Ie({},e[a]),{},{zindex:parseFloat(ge[a].zindex)}),n({shapeDividers:e})},onClick:function(e){e.currentTarget.focus()}})),"Tablet"===t.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Height","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].heightTablet?ge[a].heightTablet:"",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{heightTablet:parseFloat(e)}),n({shapeDividers:t})}}),Object(l.createElement)(E,{label:Object(T.__)("Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].widthTablet?ge[a].widthTablet:"",min:"100",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{widthTablet:parseFloat(e)}),n({shapeDividers:t})}})),"Mobile"===t.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Height","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].heightMobile?ge[a].heightMobile:"",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{heightMobile:parseFloat(e)}),n({shapeDividers:t})}}),Object(l.createElement)(E,{label:Object(T.__)("Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].widthMobile?ge[a].widthMobile:"",min:"100",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{widthMobile:parseFloat(e)}),n({shapeDividers:t})}})))}})),"Desktop"===t.getDeviceType()&&Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Delete Shape","generateblocks")},Object(l.createElement)(C.Button,{className:"gblocks-remove-shape",onClick:function(){window.confirm(Object(T.__)("This will permanently delete this shape.","generateblocks"))&&function(e){var t=pe()(ge);t.splice(e,1),n({shapeDividers:t})}(a)},icon:"no-alt"}))))})),Object(l.createElement)("div",{className:"gblocks-add-new-shape"},Object(l.createElement)(C.Button,{isSecondary:!0,onClick:function(){var e=pe()(ge);e.push({shape:generateBlocksStyling.container.shapeDividers.shape,color:generateBlocksStyling.container.shapeDividers.color,colorOpacity:generateBlocksStyling.container.shapeDividers.colorOpacity,location:generateBlocksStyling.container.shapeDividers.location,height:generateBlocksStyling.container.shapeDividers.height,heightTablet:generateBlocksStyling.container.shapeDividers.heightTablet,heightMobile:generateBlocksStyling.container.shapeDividers.heightMobile,width:generateBlocksStyling.container.shapeDividers.width,widthTablet:generateBlocksStyling.container.shapeDividers.widthTablet,widthMobile:generateBlocksStyling.container.shapeDividers.widthMobile,flipHorizontally:generateBlocksStyling.container.shapeDividers.flipHorizontally,zindex:generateBlocksStyling.container.shapeDividers.zindex}),n({shapeDividers:e})}.bind(this)},Object(T.__)("Add Shape","generateblocks")))),Object(_.applyFilters)("generateblocks.editor.controls","","containerShapeDivider",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),initialOpen:!1,icon:j("documentation"),className:"gblocks-panel-label",id:"containerDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/container/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(_.applyFilters)("generateblocks.editor.controls","","containerDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:u||"",onChange:function(e){e=e.replace(Ve,"-"),n({anchor:e})}})),Object(l.createElement)(xe,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(ze,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(Pe,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(Ae,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(He,this.props)),re&&ne&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+re.replace(/ /g,"+")+me}),Object(l.createElement)(fe,{tagName:Object(_.applyFilters)("generateblocks.frontend.containerTagName",d,i),htmlAttrs:De},Object(_.applyFilters)("generateblocks.frontend.afterContainerOpen","",i),Object(l.createElement)("div",{className:w()({"gb-inside-container":!0})},Object(_.applyFilters)("generateblocks.frontend.insideContainer","",i),Object(l.createElement)(Q.InnerBlocks,{templateLock:!1,renderAppender:c?void 0:function(){return Object(l.createElement)(Q.InnerBlocks.ButtonBlockAppender,null)}})),Object(l.createElement)(l.Fragment,null,!!i.shapeDividers.length&&Object(l.createElement)("div",{className:"gb-shapes"},i.shapeDividers.map((function(e,t){var a=t+1;return Object(l.createElement)(l.Fragment,{key:t},void 0!==_e[ge[t].shape]&&Object(l.createElement)("div",{className:w()(o()({"gb-shape":!0},"gb-shape-".concat(a),!0)),dangerouslySetInnerHTML:{__html:Be(_e[ge[t].shape].icon)}}))})))),Object(_.applyFilters)("generateblocks.frontend.beforeContainerClose","",i)))}}]),a}(l.Component),Ze=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType,a=e("core").getMedia,l=(0,e("core/editor").getEditedPostAttribute)("featured_media");return t?{media:l?a(l):null,deviceType:t()}:{media:l?a(l):null,deviceType:null}}))])(We),Ke={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},isGrid:{type:"boolean",default:!1},gridId:{type:"string",default:""},tagName:{type:"string",default:generateBlocksDefaults.container.tagName},width:{type:"number",default:generateBlocksDefaults.container.width},widthTablet:{type:"number",default:generateBlocksDefaults.container.widthTablet},widthMobile:{type:"number",default:generateBlocksDefaults.container.widthMobile},orderTablet:{type:"number",default:generateBlocksDefaults.container.orderTablet},orderMobile:{type:"number",default:generateBlocksDefaults.container.orderMobile},outerContainer:{type:"string",default:generateBlocksDefaults.container.outerContainer},innerContainer:{type:"string",default:generateBlocksDefaults.container.innerContainer},containerWidth:{type:"number",default:generateBlocksDefaults.container.containerWidth},minHeight:{type:"number",default:generateBlocksDefaults.container.minHeight},minHeightUnit:{type:"string",default:generateBlocksDefaults.container.minHeightUnit},minHeightTablet:{type:"number",default:generateBlocksDefaults.container.minHeightTablet},minHeightUnitTablet:{type:"string",default:generateBlocksDefaults.container.minHeightUnitTablet},minHeightMobile:{type:"number",default:generateBlocksDefaults.container.minHeightMobile},minHeightUnitMobile:{type:"string",default:generateBlocksDefaults.container.minHeightUnitMobile},paddingTop:{type:"string",default:generateBlocksDefaults.container.paddingTop},paddingRight:{type:"string",default:generateBlocksDefaults.container.paddingRight},paddingBottom:{type:"string",default:generateBlocksDefaults.container.paddingBottom},paddingLeft:{type:"string",default:generateBlocksDefaults.container.paddingLeft},paddingUnit:{type:"string",default:generateBlocksDefaults.container.paddingUnit},paddingSyncUnits:{type:"boolean",default:!1},paddingTopTablet:{type:"string",default:generateBlocksDefaults.container.paddingTopTablet},paddingRightTablet:{type:"string",default:generateBlocksDefaults.container.paddingRightTablet},paddingBottomTablet:{type:"string",default:generateBlocksDefaults.container.paddingBottomTablet},paddingLeftTablet:{type:"string",default:generateBlocksDefaults.container.paddingLeftTablet},paddingTopMobile:{type:"string",default:generateBlocksDefaults.container.paddingTopMobile},paddingRightMobile:{type:"string",default:generateBlocksDefaults.container.paddingRightMobile},paddingBottomMobile:{type:"string",default:generateBlocksDefaults.container.paddingBottomMobile},paddingLeftMobile:{type:"string",default:generateBlocksDefaults.container.paddingLeftMobile},marginTop:{type:"string",default:generateBlocksDefaults.container.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.container.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.container.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.container.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.container.marginUnit},marginSyncUnits:{type:"boolean",default:!1},marginTopTablet:{type:"string",default:generateBlocksDefaults.container.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.container.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.container.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.container.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.container.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.container.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.container.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.container.marginLeftMobile},borderSizeTop:{type:"string",default:generateBlocksDefaults.container.borderSizeTop},borderSizeRight:{type:"string",default:generateBlocksDefaults.container.borderSizeRight},borderSizeBottom:{type:"string",default:generateBlocksDefaults.container.borderSizeBottom},borderSizeLeft:{type:"string",default:generateBlocksDefaults.container.borderSizeLeft},borderSizeTopTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeTopTablet},borderSizeRightTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeRightTablet},borderSizeBottomTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeBottomTablet},borderSizeLeftTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeLeftTablet},borderSizeTopMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeTopMobile},borderSizeRightMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeRightMobile},borderSizeBottomMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeBottomMobile},borderSizeLeftMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeLeftMobile},borderRadiusTopRight:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopRight},borderRadiusBottomRight:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomRight},borderRadiusBottomLeft:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomLeft},borderRadiusTopLeft:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopLeft},borderRadiusUnit:{type:"string",default:generateBlocksDefaults.container.borderRadiusUnit},borderRadiusTopRightTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopRightTablet},borderRadiusBottomRightTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomRightTablet},borderRadiusBottomLeftTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomLeftTablet},borderRadiusTopLeftTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopLeftTablet},borderRadiusTopRightMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopRightMobile},borderRadiusBottomRightMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomRightMobile},borderRadiusBottomLeftMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomLeftMobile},borderRadiusTopLeftMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopLeftMobile},borderColor:{type:"string",default:generateBlocksDefaults.container.borderColor},borderColorOpacity:{type:"number",default:generateBlocksDefaults.container.borderColorOpacity},backgroundColor:{type:"string",default:generateBlocksDefaults.container.backgroundColor},backgroundColorOpacity:{type:"number",default:generateBlocksDefaults.container.backgroundColorOpacity},gradient:{type:"boolean",default:generateBlocksDefaults.container.gradient},gradientDirection:{type:"number",default:generateBlocksDefaults.container.gradientDirection},gradientColorOne:{type:"string",default:generateBlocksDefaults.container.gradientColorOne},gradientColorOneOpacity:{type:"number",default:generateBlocksDefaults.container.gradientColorOneOpacity},gradientColorStopOne:{type:"number",default:generateBlocksDefaults.container.gradientColorStopOne},gradientColorTwo:{type:"string",default:generateBlocksDefaults.container.gradientColorTwo},gradientColorTwoOpacity:{type:"number",default:generateBlocksDefaults.container.gradientColorTwoOpacity},gradientColorStopTwo:{type:"number",default:generateBlocksDefaults.container.gradientColorStopTwo},gradientSelector:{type:"string",default:"element"},textColor:{type:"string",default:generateBlocksDefaults.container.textColor},linkColor:{type:"string",default:generateBlocksDefaults.container.linkColor},linkColorHover:{type:"string",default:generateBlocksDefaults.container.linkColorHover},bgImage:{type:"object",default:generateBlocksDefaults.container.bgImage},bgOptions:{type:"object",default:{selector:generateBlocksDefaults.container.bgOptions.selector,opacity:generateBlocksDefaults.container.bgOptions.opacity,overlay:generateBlocksDefaults.container.bgOptions.overlay,position:generateBlocksDefaults.container.bgOptions.position,size:generateBlocksDefaults.container.bgOptions.size,repeat:generateBlocksDefaults.container.bgOptions.repeat,attachment:generateBlocksDefaults.container.bgOptions.attachment}},bgImageSize:{type:"string",default:generateBlocksDefaults.container.bgImageSize},verticalAlignment:{type:"string",default:generateBlocksDefaults.container.verticalAlignment},verticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.container.verticalAlignmentTablet},verticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.container.verticalAlignmentMobile},zindex:{type:"number",default:generateBlocksDefaults.container.zindex},innerZindex:{type:"number",default:generateBlocksDefaults.container.innerZindex},removeVerticalGap:{type:"boolean",default:generateBlocksDefaults.container.removeVerticalGap},removeVerticalGapTablet:{type:"boolean",default:generateBlocksDefaults.container.removeVerticalGapTablet},removeVerticalGapMobile:{type:"boolean",default:generateBlocksDefaults.container.removeVerticalGapMobile},alignment:{type:"string",default:generateBlocksDefaults.container.alignment},alignmentTablet:{type:"string",default:generateBlocksDefaults.container.alignmentTablet},alignmentMobile:{type:"string",default:generateBlocksDefaults.container.alignmentMobile},showAdvancedTypography:{type:"boolean",default:generateBlocksDefaults.headline.showAdvancedTypography},fontFamily:{type:"string",default:generateBlocksDefaults.container.fontFamily},fontFamilyFallback:{type:"string",default:generateBlocksDefaults.container.fontFamilyFallback},googleFont:{type:"boolean",default:generateBlocksDefaults.container.googleFont},googleFontVariants:{type:"string",default:generateBlocksDefaults.container.googleFontVariants},fontWeight:{type:"string",default:generateBlocksDefaults.container.fontWeight},fontSize:{type:"number",default:generateBlocksDefaults.container.fontSize},fontSizeTablet:{type:"number",default:generateBlocksDefaults.container.fontSizeTablet},fontSizeMobile:{type:"number",default:generateBlocksDefaults.container.fontSizeMobile},fontSizeUnit:{type:"string",default:generateBlocksDefaults.container.fontSizeUnit},textTransform:{type:"string",default:""},align:{type:"string",default:""},shapeDividers:{type:"array",default:[]},isDynamic:{type:"boolean"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};generateBlocksInfo.hasCustomFields&&Object.assign(Ke,{fullWidthContent:{type:"string",source:"meta",meta:"_generate-full-width-content"}});var Je=Ke;function Ye(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Qe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ye(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Xe=[{attributes:Je,supports:{align:!1,anchor:!1,className:!1,customClassName:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return Qe(Qe({},e),{},{className:t,anchor:a,cssClasses:"",elementId:""})},save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.tagName,n=a.elementId,c=a.cssClasses,s=a.isGrid,g=a.align,b={className:w()((t={"gb-container":!0},o()(t,"gb-container-".concat(i),!0),o()(t,"".concat(c),""!==c),o()(t,"align".concat(g),!!g&&!s),t)),id:n||null};return b=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",b,"generateblocks/container",a),Object(l.createElement)((function(e){var t=e.condition,a=e.wrap,l=e.children;return t?a(l):l}),{condition:s,wrap:function(e){return Object(l.createElement)("div",{className:w()(o()({"gb-grid-column":!0},"gb-grid-column-".concat(i),!0))},e)}},Object(l.createElement)(fe,{tagName:r,htmlAttrs:b},Object(_.applyFilters)("generateblocks.frontend.insideContainer","",a),Object(l.createElement)("div",{className:w()({"gb-inside-container":!0})},Object(l.createElement)(Q.InnerBlocks.Content,null))))}}];Object(X.registerBlockType)("generateblocks/container",{title:Object(T.__)("Container","generateblocks"),description:Object(T.__)("Organize your content into rows and sections.","generateblocks"),icon:j("container"),category:"generateblocks",keywords:[Object(T.__)("section"),Object(T.__)("container"),Object(T.__)("generate")],attributes:Je,supports:{align:!1,className:!1},edit:Ze,save:function(){return Object(l.createElement)(Q.InnerBlocks.Content,null)},deprecated:Xe});a(40);function $e(e){return"left"===e||"top"===e?"flex-start":"right"===e||"bottom"===e?"flex-end":e}function et(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var tt=function(e){f()(a,e);var t=et(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.alignment,i=e.marginTop,r=e.marginRight,n=e.marginBottom,o=e.marginLeft,c=e.marginUnit,s=e.stack,g=e.fillHorizontalSpace,b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block",margin:De(i,r,n,o,c),"justify-content":$e(a),"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{flex:"1"}],b[".gb-button-wrapper-"+t+" > .components-button"]=[{background:"#fff",border:"1px solid #ddd","margin-top":"10px"}]),s&&g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{width:"100% !important","box-sizing":"border-box"}]),b=Object(_.applyFilters)("generateblocks.editor.mainCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,M(b))}}]),a}(l.Component);function at(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var lt=function(e){f()(a,e);var t=at(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(_.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"button-container"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function it(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var rt=function(e){f()(a,e);var t=it(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.alignmentTablet,i=e.marginTopTablet,r=e.marginRightTablet,n=e.marginBottomTablet,o=e.marginLeftTablet,c=e.marginUnit,s=e.stackTablet,g=e.fillHorizontalSpaceTablet,b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block","margin-top":z(i,c),"margin-right":z(r,c),"margin-bottom":z(n,c),"margin-left":z(o,c),"justify-content":$e(a),"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{flex:"1"}],b[".gb-button-wrapper-"+t+" > .components-button"]=[{background:"#fff",border:"1px solid #ddd","margin-top":"10px"}]),s&&g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{width:"100% !important","box-sizing":"border-box"}]),b=Object(_.applyFilters)("generateblocks.editor.tabletCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,M(b))}}]),a}(l.Component);function nt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ot=function(e){f()(a,e);var t=nt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(_.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"button-container"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function ct(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var st=function(e){f()(a,e);var t=ct(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.alignmentMobile,i=e.marginTopMobile,r=e.marginRightMobile,n=e.marginBottomMobile,o=e.marginLeftMobile,c=e.marginUnit,s=e.stackMobile,g=e.fillHorizontalSpaceMobile,b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block","margin-top":z(i,c),"margin-right":z(r,c),"margin-bottom":z(n,c),"margin-left":z(o,c),"justify-content":$e(a),"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{flex:"1"}],b[".gb-button-wrapper-"+t+" > .components-button"]=[{background:"#fff",border:"1px solid #ddd","margin-top":"10px"}]),s&&g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{width:"100% !important","box-sizing":"border-box"}]),b=Object(_.applyFilters)("generateblocks.editor.mobileCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,M(b))}}]),a}(l.Component);function gt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var bt=/[\s#]/g,ut=[],dt=[{icon:"editor-alignleft",title:Object(T.__)("Align Buttons Left","generateblocks"),align:"left"},{icon:"editor-aligncenter",title:Object(T.__)("Align Buttons Center","generateblocks"),align:"center"},{icon:"editor-alignright",title:Object(T.__)("Align Buttons Right","generateblocks"),align:"right"}],pt=function(e){f()(a,e);var t=gt(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={selectedDevice:"Desktop"},e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-","");this.props.attributes.uniqueId?ut.includes(this.props.attributes.uniqueId)?(this.props.setAttributes({uniqueId:e}),ut.push(e)):ut.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),ut.push(e));var t=wp.data.select("core/block-editor").getBlocksByClientId(this.props.clientId)[0];t&&(0===t.innerBlocks.length&&wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,this.props.clientId));void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0})}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=a.clientId,s=i.uniqueId,g=i.className,b=i.anchor,u=i.alignment,d=i.alignmentTablet,p=i.alignmentMobile,f=i.stack,h=i.stackTablet,m=i.stackMobile,k=i.fillHorizontalSpace,y=i.fillHorizontalSpaceTablet,v=i.fillHorizontalSpaceMobile,O={className:w()((e={"gb-button-wrapper":!0},o()(e,"gb-button-wrapper-".concat(s),!0),o()(e,"".concat(g),void 0!==g),e)),id:b||null};return O=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",O,"generateblocks/button-container",i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-add-new-button",icon:"insert",label:Object(T.__)("Add Button","generateblocks"),onClick:function(){var e=wp.data.select("core/block-editor").getBlocksByClientId(c)[0];if(e){var t=e.innerBlocks,a=Object.keys(t),l=a[a.length-1];if(void 0!==t[l]){var i=t[l].clientId;if(i){var r=wp.data.select("core/block-editor").getBlocksByClientId(i)[0],n=Object(X.cloneBlock)(r);wp.data.dispatch("core/block-editor").insertBlocks(n,void 0,c)}}else 0===t.length&&wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,c)}},showTooltip:!0})),"Desktop"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:u,alignmentControls:dt,onChange:function(e){n({alignment:e})}}),"Tablet"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:d,alignmentControls:dt,onChange:function(e){n({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:p,alignmentControls:dt,onChange:function(e){n({alignmentMobile:e})}})),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Spacing","generateblocks"),initialOpen:!0,icon:j("spacing"),className:"gblocks-panel-label",id:"buttonContainerSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Stack Vertically","generateblocks"),checked:!!f,onChange:function(e){n({stack:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Fill Horizontal Space","generateblocks"),checked:!!k,onChange:function(e){n({fillHorizontalSpace:e})}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Stack Vertically","generateblocks"),checked:!!h,onChange:function(e){n({stackTablet:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Fill Horizontal Space","generateblocks"),checked:!!y,onChange:function(e){n({fillHorizontalSpaceTablet:e})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Stack Vertically","generateblocks"),checked:!!m,onChange:function(e){n({stackMobile:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Fill Horizontal Space","generateblocks"),checked:!!v,onChange:function(e){n({fillHorizontalSpaceMobile:e})}})),Object(_.applyFilters)("generateblocks.editor.controls","","buttonContainerSpacing",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),icon:j("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"buttonContainerDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/buttons/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(_.applyFilters)("generateblocks.editor.controls","","buttonContainerDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:b||"",onChange:function(e){e=e.replace(bt,"-"),n({anchor:e})}})),Object(l.createElement)(tt,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(lt,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(rt,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(ot,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(st,this.props)),Object(l.createElement)("div",O,Object(l.createElement)(Q.InnerBlocks,{allowedBlocks:["generateblocks/button"],renderAppender:function(){return Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Add Button","generateblocks")},Object(l.createElement)(C.Button,{className:"gblocks-add-new-button gblocks-button-container-appender",icon:"insert",onClick:function(){wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,c)}}))}})))}}]),a}(l.Component),ft=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?{deviceType:t()}:{deviceType:null}}))])(pt),ht={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},alignment:{type:"string",default:generateBlocksDefaults.buttonContainer.alignment},alignmentTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.alignment},alignmentMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.alignment},marginTop:{type:"string",default:generateBlocksDefaults.buttonContainer.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.buttonContainer.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.buttonContainer.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.buttonContainer.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.buttonContainer.marginUnit},marginTopTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginLeftMobile},stack:{type:"boolean",default:generateBlocksDefaults.buttonContainer.stack},stackTablet:{type:"boolean",default:generateBlocksDefaults.buttonContainer.stackTablet},stackMobile:{type:"boolean",default:generateBlocksDefaults.buttonContainer.stackMobile},fillHorizontalSpace:{type:"boolean",default:generateBlocksDefaults.buttonContainer.fillHorizontalSpace},fillHorizontalSpaceTablet:{type:"boolean",default:generateBlocksDefaults.buttonContainer.fillHorizontalSpaceTablet},fillHorizontalSpaceMobile:{type:"boolean",default:generateBlocksDefaults.buttonContainer.fillHorizontalSpaceMobile},isDynamic:{type:"boolean"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};function mt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function kt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):mt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var yt=[{attributes:ht,supports:{anchor:!1,className:!1,customClassName:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return kt(kt({},e),{},{className:t,anchor:a,cssClasses:"",elementId:""})},save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.elementId,n=a.cssClasses,c={id:r||void 0,className:w()((t={"gb-button-wrapper":!0},o()(t,"gb-button-wrapper-".concat(i),!0),o()(t,"".concat(n),""!==n),t))};return c=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",c,"generateblocks/button-container",a),Object(l.createElement)("div",c,Object(l.createElement)(Q.InnerBlocks.Content,null))}}];Object(X.registerBlockType)("generateblocks/button-container",{title:Object(T.__)("Buttons","generateblocks"),description:Object(T.__)("Drive conversions with beautiful buttons.","generateblocks"),icon:j("button"),category:"generateblocks",keywords:[Object(T.__)("button"),Object(T.__)("buttons"),Object(T.__)("generate")],attributes:ht,supports:{className:!1},edit:ft,save:function(){return Object(l.createElement)(Q.InnerBlocks.Content,null)},deprecated:yt});a(41),a(42);var vt={facebook:{label:Object(T._x)("Facebook","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 320 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"}))},facebookCircle:{label:Object(T._x)("Facebook - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"}))},facebookSquare:{label:Object(T._x)("Facebook - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"}))},instagram:{label:Object(T._x)("Instagram","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}))},linkedin:{label:Object(T._x)("LinkedIn","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"}))},linkedinSquare:{label:Object(T._x)("LinkedIn - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"}))},pinterest:{label:Object(T._x)("Pinterest","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"}))},pinterestCircle:{label:Object(T._x)("Pinterest - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z"}))},pinterestSquare:{label:Object(T._x)("Pinterest - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M448 80v352c0 26.5-21.5 48-48 48H154.4c9.8-16.4 22.4-40 27.4-59.3 3-11.5 15.3-58.4 15.3-58.4 8 15.3 31.4 28.2 56.3 28.2 74.1 0 127.4-68.1 127.4-152.7 0-81.1-66.2-141.8-151.4-141.8-106 0-162.2 71.1-162.2 148.6 0 36 19.2 80.8 49.8 95.1 4.7 2.2 7.1 1.2 8.2-3.3.8-3.4 5-20.1 6.8-27.8.6-2.5.3-4.6-1.7-7-10.1-12.3-18.3-34.9-18.3-56 0-54.2 41-106.6 110.9-106.6 60.3 0 102.6 41.1 102.6 99.9 0 66.4-33.5 112.4-77.2 112.4-24.1 0-42.1-19.9-36.4-44.4 6.9-29.2 20.3-60.7 20.3-81.8 0-53-75.5-45.7-75.5 25 0 21.7 7.3 36.5 7.3 36.5-31.4 132.8-36.1 134.5-29.6 192.6l2.2.8H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48z"}))},reddit:{label:Object(T._x)("Reddit","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"}))},redditCircle:{label:Object(T._x)("Reddit - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M201.5 305.5c-13.8 0-24.9-11.1-24.9-24.6 0-13.8 11.1-24.9 24.9-24.9 13.6 0 24.6 11.1 24.6 24.9 0 13.6-11.1 24.6-24.6 24.6zM504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-132.3-41.2c-9.4 0-17.7 3.9-23.8 10-22.4-15.5-52.6-25.5-86.1-26.6l17.4-78.3 55.4 12.5c0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.3 24.9-24.9s-11.1-24.9-24.9-24.9c-9.7 0-18 5.8-22.1 13.8l-61.2-13.6c-3-.8-6.1 1.4-6.9 4.4l-19.1 86.4c-33.2 1.4-63.1 11.3-85.5 26.8-6.1-6.4-14.7-10.2-24.1-10.2-34.9 0-46.3 46.9-14.4 62.8-1.1 5-1.7 10.2-1.7 15.5 0 52.6 59.2 95.2 132 95.2 73.1 0 132.3-42.6 132.3-95.2 0-5.3-.6-10.8-1.9-15.8 31.3-16 19.8-62.5-14.9-62.5zM302.8 331c-18.2 18.2-76.1 17.9-93.6 0-2.2-2.2-6.1-2.2-8.3 0-2.5 2.5-2.5 6.4 0 8.6 22.8 22.8 87.3 22.8 110.2 0 2.5-2.2 2.5-6.1 0-8.6-2.2-2.2-6.1-2.2-8.3 0zm7.7-75c-13.6 0-24.6 11.1-24.6 24.9 0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.1 24.9-24.6 0-13.8-11-24.9-24.9-24.9z"}))},redditSquare:{label:Object(T._x)("Reddit - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M283.2 345.5c2.7 2.7 2.7 6.8 0 9.2-24.5 24.5-93.8 24.6-118.4 0-2.7-2.4-2.7-6.5 0-9.2 2.4-2.4 6.5-2.4 8.9 0 18.7 19.2 81 19.6 100.5 0 2.4-2.3 6.6-2.3 9 0zm-91.3-53.8c0-14.9-11.9-26.8-26.5-26.8-14.9 0-26.8 11.9-26.8 26.8 0 14.6 11.9 26.5 26.8 26.5 14.6 0 26.5-11.9 26.5-26.5zm90.7-26.8c-14.6 0-26.5 11.9-26.5 26.8 0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-11.9 26.8-26.5 0-14.9-11.9-26.8-26.8-26.8zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-99.7 140.6c-10.1 0-19 4.2-25.6 10.7-24.1-16.7-56.5-27.4-92.5-28.6l18.7-84.2 59.5 13.4c0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-12.2 26.8-26.8 0-14.6-11.9-26.8-26.8-26.8-10.4 0-19.3 6.2-23.8 14.9l-65.7-14.6c-3.3-.9-6.5 1.5-7.4 4.8l-20.5 92.8c-35.7 1.5-67.8 12.2-91.9 28.9-6.5-6.8-15.8-11-25.9-11-37.5 0-49.8 50.4-15.5 67.5-1.2 5.4-1.8 11-1.8 16.7 0 56.5 63.7 102.3 141.9 102.3 78.5 0 142.2-45.8 142.2-102.3 0-5.7-.6-11.6-2.1-17 33.6-17.2 21.2-67.2-16.1-67.2z"}))},snapchat:{label:Object(T._x)("Snapchat","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M510.846 392.673c-5.211 12.157-27.239 21.089-67.36 27.318-2.064 2.786-3.775 14.686-6.507 23.956-1.625 5.566-5.623 8.869-12.128 8.869l-.297-.005c-9.395 0-19.203-4.323-38.852-4.323-26.521 0-35.662 6.043-56.254 20.588-21.832 15.438-42.771 28.764-74.027 27.399-31.646 2.334-58.025-16.908-72.871-27.404-20.714-14.643-29.828-20.582-56.241-20.582-18.864 0-30.736 4.72-38.852 4.72-8.073 0-11.213-4.922-12.422-9.04-2.703-9.189-4.404-21.263-6.523-24.13-20.679-3.209-67.31-11.344-68.498-32.15a10.627 10.627 0 0 1 8.877-11.069c69.583-11.455 100.924-82.901 102.227-85.934.074-.176.155-.344.237-.515 3.713-7.537 4.544-13.849 2.463-18.753-5.05-11.896-26.872-16.164-36.053-19.796-23.715-9.366-27.015-20.128-25.612-27.504 2.437-12.836 21.725-20.735 33.002-15.453 8.919 4.181 16.843 6.297 23.547 6.297 5.022 0 8.212-1.204 9.96-2.171-2.043-35.936-7.101-87.29 5.687-115.969C158.122 21.304 229.705 15.42 250.826 15.42c.944 0 9.141-.089 10.11-.089 52.148 0 102.254 26.78 126.723 81.643 12.777 28.65 7.749 79.792 5.695 116.009 1.582.872 4.357 1.942 8.599 2.139 6.397-.286 13.815-2.389 22.069-6.257 6.085-2.846 14.406-2.461 20.48.058l.029.01c9.476 3.385 15.439 10.215 15.589 17.87.184 9.747-8.522 18.165-25.878 25.018-2.118.835-4.694 1.655-7.434 2.525-9.797 3.106-24.6 7.805-28.616 17.271-2.079 4.904-1.256 11.211 2.46 18.748.087.168.166.342.239.515 1.301 3.03 32.615 74.46 102.23 85.934 6.427 1.058 11.163 7.877 7.725 15.859z"}))},soundcloud:{label:Object(T._x)("Soundcloud","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M111.4 256.3l5.8 65-5.8 68.3c-.3 2.5-2.2 4.4-4.4 4.4s-4.2-1.9-4.2-4.4l-5.6-68.3 5.6-65c0-2.2 1.9-4.2 4.2-4.2 2.2 0 4.1 2 4.4 4.2zm21.4-45.6c-2.8 0-4.7 2.2-5 5l-5 105.6 5 68.3c.3 2.8 2.2 5 5 5 2.5 0 4.7-2.2 4.7-5l5.8-68.3-5.8-105.6c0-2.8-2.2-5-4.7-5zm25.5-24.1c-3.1 0-5.3 2.2-5.6 5.3l-4.4 130 4.4 67.8c.3 3.1 2.5 5.3 5.6 5.3 2.8 0 5.3-2.2 5.3-5.3l5.3-67.8-5.3-130c0-3.1-2.5-5.3-5.3-5.3zM7.2 283.2c-1.4 0-2.2 1.1-2.5 2.5L0 321.3l4.7 35c.3 1.4 1.1 2.5 2.5 2.5s2.2-1.1 2.5-2.5l5.6-35-5.6-35.6c-.3-1.4-1.1-2.5-2.5-2.5zm23.6-21.9c-1.4 0-2.5 1.1-2.5 2.5l-6.4 57.5 6.4 56.1c0 1.7 1.1 2.8 2.5 2.8s2.5-1.1 2.8-2.5l7.2-56.4-7.2-57.5c-.3-1.4-1.4-2.5-2.8-2.5zm25.3-11.4c-1.7 0-3.1 1.4-3.3 3.3L47 321.3l5.8 65.8c.3 1.7 1.7 3.1 3.3 3.1 1.7 0 3.1-1.4 3.1-3.1l6.9-65.8-6.9-68.1c0-1.9-1.4-3.3-3.1-3.3zm25.3-2.2c-1.9 0-3.6 1.4-3.6 3.6l-5.8 70 5.8 67.8c0 2.2 1.7 3.6 3.6 3.6s3.6-1.4 3.9-3.6l6.4-67.8-6.4-70c-.3-2.2-2-3.6-3.9-3.6zm241.4-110.9c-1.1-.8-2.8-1.4-4.2-1.4-2.2 0-4.2.8-5.6 1.9-1.9 1.7-3.1 4.2-3.3 6.7v.8l-3.3 176.7 1.7 32.5 1.7 31.7c.3 4.7 4.2 8.6 8.9 8.6s8.6-3.9 8.6-8.6l3.9-64.2-3.9-177.5c-.4-3-2-5.8-4.5-7.2zm-26.7 15.3c-1.4-.8-2.8-1.4-4.4-1.4s-3.1.6-4.4 1.4c-2.2 1.4-3.6 3.9-3.6 6.7l-.3 1.7-2.8 160.8s0 .3 3.1 65.6v.3c0 1.7.6 3.3 1.7 4.7 1.7 1.9 3.9 3.1 6.4 3.1 2.2 0 4.2-1.1 5.6-2.5 1.7-1.4 2.5-3.3 2.5-5.6l.3-6.7 3.1-58.6-3.3-162.8c-.3-2.8-1.7-5.3-3.9-6.7zm-111.4 22.5c-3.1 0-5.8 2.8-5.8 6.1l-4.4 140.6 4.4 67.2c.3 3.3 2.8 5.8 5.8 5.8 3.3 0 5.8-2.5 6.1-5.8l5-67.2-5-140.6c-.2-3.3-2.7-6.1-6.1-6.1zm376.7 62.8c-10.8 0-21.1 2.2-30.6 6.1-6.4-70.8-65.8-126.4-138.3-126.4-17.8 0-35 3.3-50.3 9.4-6.1 2.2-7.8 4.4-7.8 9.2v249.7c0 5 3.9 8.6 8.6 9.2h218.3c43.3 0 78.6-35 78.6-78.3.1-43.6-35.2-78.9-78.5-78.9zm-296.7-60.3c-4.2 0-7.5 3.3-7.8 7.8l-3.3 136.7 3.3 65.6c.3 4.2 3.6 7.5 7.8 7.5 4.2 0 7.5-3.3 7.5-7.5l3.9-65.6-3.9-136.7c-.3-4.5-3.3-7.8-7.5-7.8zm-53.6-7.8c-3.3 0-6.4 3.1-6.4 6.7l-3.9 145.3 3.9 66.9c.3 3.6 3.1 6.4 6.4 6.4 3.6 0 6.4-2.8 6.7-6.4l4.4-66.9-4.4-145.3c-.3-3.6-3.1-6.7-6.7-6.7zm26.7 3.4c-3.9 0-6.9 3.1-6.9 6.9L227 321.3l3.9 66.4c.3 3.9 3.1 6.9 6.9 6.9s6.9-3.1 6.9-6.9l4.2-66.4-4.2-141.7c0-3.9-3-6.9-6.9-6.9z"}))},twitch:{label:Object(T._x)("Twitch","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M40.1 32L10 108.9v314.3h107V480h60.2l56.8-56.8h87l117-117V32H40.1zm357.8 254.1L331 353H224l-56.8 56.8V353H76.9V72.1h321v214zM331 149v116.9h-40.1V149H331zm-107 0v116.9h-40.1V149H224z"}))},twitter:{label:Object(T._x)("Twitter","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}))},twitterSquare:{label:Object(T._x)("Twitter - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z"}))},vimeo:{label:Object(T._x)("Vimeo","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M447.8 153.6c-2 43.6-32.4 103.3-91.4 179.1-60.9 79.2-112.4 118.8-154.6 118.8-26.1 0-48.2-24.1-66.3-72.3C100.3 250 85.3 174.3 56.2 174.3c-3.4 0-15.1 7.1-35.2 21.1L0 168.2c51.6-45.3 100.9-95.7 131.8-98.5 34.9-3.4 56.3 20.5 64.4 71.5 28.7 181.5 41.4 208.9 93.6 126.7 18.7-29.6 28.8-52.1 30.2-67.6 4.8-45.9-35.8-42.8-63.3-31 22-72.1 64.1-107.1 126.2-105.1 45.8 1.2 67.5 31.1 64.9 89.4z"}))},vimeoSquare:{label:Object(T._x)("Vimeo - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M403.2 32H44.8C20.1 32 0 52.1 0 76.8v358.4C0 459.9 20.1 480 44.8 480h358.4c24.7 0 44.8-20.1 44.8-44.8V76.8c0-24.7-20.1-44.8-44.8-44.8zM377 180.8c-1.4 31.5-23.4 74.7-66 129.4-44 57.2-81.3 85.8-111.7 85.8-18.9 0-34.8-17.4-47.9-52.3-25.5-93.3-36.4-148-57.4-148-2.4 0-10.9 5.1-25.4 15.2l-15.2-19.6c37.3-32.8 72.9-69.2 95.2-71.2 25.2-2.4 40.7 14.8 46.5 51.7 20.7 131.2 29.9 151 67.6 91.6 13.5-21.4 20.8-37.7 21.8-48.9 3.5-33.2-25.9-30.9-45.8-22.4 15.9-52.1 46.3-77.4 91.2-76 33.3.9 49 22.5 47.1 64.7z"}))},whatsapp:{label:Object(T._x)("WhatsApp","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"}))},whatsappSquare:{label:Object(T._x)("WhatsApp - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z"}))},youtube:{label:Object(T._x)("YouTube","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}))}},wt={clock:{label:Object(T._x)("Clock","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm92.49 313l-20 25a16 16 0 01-22.49 2.5l-67-49.72a40 40 0 01-15-31.23V112a16 16 0 0116-16h32a16 16 0 0116 16v144l58 42.5a16 16 0 012.49 22.5z"}))},clockAlt:{label:Object(T._x)("Clock Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"}))},asterisk:{label:Object(T._x)("Asterisk","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"}))},at:{label:Object(T._x)("At","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C118.941 8 8 118.919 8 256c0 137.059 110.919 248 248 248 48.154 0 95.342-14.14 135.408-40.223 12.005-7.815 14.625-24.288 5.552-35.372l-10.177-12.433c-7.671-9.371-21.179-11.667-31.373-5.129C325.92 429.757 291.314 440 256 440c-101.458 0-184-82.542-184-184S154.542 72 256 72c100.139 0 184 57.619 184 160 0 38.786-21.093 79.742-58.17 83.693-17.349-.454-16.91-12.857-13.476-30.024l23.433-121.11C394.653 149.75 383.308 136 368.225 136h-44.981a13.518 13.518 0 0 0-13.432 11.993l-.01.092c-14.697-17.901-40.448-21.775-59.971-21.775-74.58 0-137.831 62.234-137.831 151.46 0 65.303 36.785 105.87 96 105.87 26.984 0 57.369-15.637 74.991-38.333 9.522 34.104 40.613 34.103 70.71 34.103C462.609 379.41 504 307.798 504 232 504 95.653 394.023 8 256 8zm-21.68 304.43c-22.249 0-36.07-15.623-36.07-40.771 0-44.993 30.779-72.729 58.63-72.729 22.292 0 35.601 15.241 35.601 40.77 0 45.061-33.875 72.73-58.161 72.73z"}))},award:{label:Object(T._x)("Award","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z"}))},ban:{label:Object(T._x)("Ban","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"}))},bars:{label:Object(T._x)("Bars","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}))},beer:{label:Object(T._x)("Beer","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M368 96h-48V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56v400c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24v-42.11l80.606-35.977C429.396 365.063 448 336.388 448 304.86V176c0-44.112-35.888-80-80-80zm16 208.86a16.018 16.018 0 0 1-9.479 14.611L320 343.805V160h48c8.822 0 16 7.178 16 16v128.86zM208 384c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16zm-96 0c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16z"}))},bolt:{label:Object(T._x)("Bolt","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 320 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C-1.7 275.2 9.5 288 24 288h118.7L96.6 482.5c-3.6 15.2 8 29.5 23.3 29.5 8.4 0 16.4-4.4 20.8-12l176-304c9.3-15.9-2.2-36-20.7-36z"}))},book:{label:Object(T._x)("Book","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"}))},boxOpen:{label:Object(T._x)("Box - Open","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M425.7 256c-16.9 0-32.8-9-41.4-23.4L320 126l-64.2 106.6c-8.7 14.5-24.6 23.5-41.5 23.5-4.5 0-9-.6-13.3-1.9L64 215v178c0 14.7 10 27.5 24.2 31l216.2 54.1c10.2 2.5 20.9 2.5 31 0L551.8 424c14.2-3.6 24.2-16.4 24.2-31V215l-137 39.1c-4.3 1.3-8.8 1.9-13.3 1.9zm212.6-112.2L586.8 41c-3.1-6.2-9.8-9.8-16.7-8.9L320 64l91.7 152.1c3.8 6.3 11.4 9.3 18.5 7.3l197.9-56.5c9.9-2.9 14.7-13.9 10.2-23.1zM53.2 41L1.7 143.8c-4.6 9.2.3 20.2 10.1 23l197.9 56.5c7.1 2 14.7-1 18.5-7.3L320 64 69.8 32.1c-6.9-.8-13.5 2.7-16.6 8.9z"}))},bullhorn:{label:Object(T._x)("Bullhorn","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"}))},bullseye:{label:Object(T._x)("Bullseye","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 432c-101.69 0-184-82.29-184-184 0-101.69 82.29-184 184-184 101.69 0 184 82.29 184 184 0 101.69-82.29 184-184 184zm0-312c-70.69 0-128 57.31-128 128s57.31 128 128 128 128-57.31 128-128-57.31-128-128-128zm0 192c-35.29 0-64-28.71-64-64s28.71-64 64-64 64 28.71 64 64-28.71 64-64 64z"}))},burn:{label:Object(T._x)("Burn","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M192 0C79.7 101.3 0 220.9 0 300.5 0 425 79 512 192 512s192-87 192-211.5c0-79.9-80.2-199.6-192-300.5zm0 448c-56.5 0-96-39-96-94.8 0-13.5 4.6-61.5 96-161.2 91.4 99.7 96 147.7 96 161.2 0 55.8-39.5 94.8-96 94.8z"}))},calendarAlt:{label:Object(T._x)("Calender","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}))},check:{label:Object(T._x)("Check","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}))},checkCircle:{label:Object(T._x)("Check - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"}))},checkCircleOutline:{label:Object(T._x)("Check - Circle Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"}))},checkSquare:{label:Object(T._x)("Check - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z"}))},checkSquareOutline:{label:Object(T._x)("Check - Square Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z"}))},chevronDown:{label:Object(T._x)("Chevron - Down","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}))},chevronLeft:{label:Object(T._x)("Chevron - Left","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 256 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}))},chevronRight:{label:Object(T._x)("Chevron - Right","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 256 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}))},chevronUp:{label:Object(T._x)("Chevron - Up","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"}))},circle:{label:Object(T._x)("Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"}))},circleOutline:{label:Object(T._x)("Circle - Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"}))},coffee:{label:Object(T._x)("Coffee","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"}))},dotCircle:{label:Object(T._x)("Dot - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"}))},dotCircleOutline:{label:Object(T._x)("Dot - Circle Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 56c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m0-48C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 168c-44.183 0-80 35.817-80 80s35.817 80 80 80 80-35.817 80-80-35.817-80-80-80z"}))},ellipsesH:{label:Object(T._x)("Ellipses - Horizontal","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"}))},ellipsesV:{label:Object(T._x)("Ellipses - Vertical","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 192 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"}))},envelope:{label:Object(T._x)("Envelope","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"}))},fireAlt:{label:Object(T._x)("Fire","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M323.56 51.2c-20.8 19.3-39.58 39.59-56.22 59.97C240.08 73.62 206.28 35.53 168 0 69.74 91.17 0 209.96 0 281.6 0 408.85 100.29 512 224 512s224-103.15 224-230.4c0-53.27-51.98-163.14-124.44-230.4zm-19.47 340.65C282.43 407.01 255.72 416 226.86 416 154.71 416 96 368.26 96 290.75c0-38.61 24.31-72.63 72.79-130.75 6.93 7.98 98.83 125.34 98.83 125.34l58.63-66.88c4.14 6.85 7.91 13.55 11.27 19.97 27.35 52.19 15.81 118.97-33.43 153.42z"}))},heart:{label:Object(T._x)("Heart","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"}))},mapMarkerAlt:{label:Object(T._x)("Map Marker","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"}))},paperPlane:{label:Object(T._x)("Paper Plane","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M440 6.5L24 246.4c-34.4 19.9-31.1 70.8 5.7 85.9L144 379.6V464c0 46.4 59.2 65.5 86.6 28.6l43.8-59.1 111.9 46.2c5.9 2.4 12.1 3.6 18.3 3.6 8.2 0 16.3-2.1 23.6-6.2 12.8-7.2 21.6-20 23.9-34.5l59.4-387.2c6.1-40.1-36.9-68.8-71.5-48.9zM192 464v-64.6l36.6 15.1L192 464zm212.6-28.7l-153.8-63.5L391 169.5c10.7-15.5-9.5-33.5-23.7-21.2L155.8 332.6 48 288 464 48l-59.4 387.3z"}))},phone:{label:Object(T._x)("Phone","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"}))},plus:{label:Object(T._x)("Plus","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}))},plusCircle:{label:Object(T._x)("Plus - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"}))},plusSquare:{label:Object(T._x)("Plus - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-32 252c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92H92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"}))},plusSquareOutline:{label:Object(T._x)("Plus - Square Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M352 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm96-160v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}))},shield:{label:Object(T._x)("Shield","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M466.5 83.7l-192-80a48.15 48.15 0 0 0-36.9 0l-192 80C27.7 91.1 16 108.6 16 128c0 198.5 114.5 335.7 221.5 380.3 11.8 4.9 25.1 4.9 36.9 0C360.1 472.6 496 349.3 496 128c0-19.4-11.7-36.9-29.5-44.3zM256.1 446.3l-.1-381 175.9 73.3c-3.3 151.4-82.1 261.1-175.8 307.7z"}))},star:{label:Object(T._x)("Star","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"}))},tags:{label:Object(T._x)("Tags","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M497.941 225.941L286.059 14.059A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v204.118a48 48 0 0 0 14.059 33.941l211.882 211.882c18.744 18.745 49.136 18.746 67.882 0l204.118-204.118c18.745-18.745 18.745-49.137 0-67.882zM112 160c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm513.941 133.823L421.823 497.941c-18.745 18.745-49.137 18.745-67.882 0l-.36-.36L527.64 323.522c16.999-16.999 26.36-39.6 26.36-63.64s-9.362-46.641-26.36-63.64L331.397 0h48.721a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882z"}))},userCircle:{label:Object(T._x)("User - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z"}))}};function Ot(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var jt=function(e){f()(a,e);var t=Ot(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={showIcons:!1,showGeneralIcons:!1,showSocialIcons:!1},e}return b()(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,i=t.setAttributes,r=t.attrIcon,n=t.attrIconLocation,c=t.locationOptions,s=t.attrRemoveText,g={general:{group:Object(T.__)("General","generateblocks"),svgs:wt},social:{group:Object(T.__)("Social","generateblocks"),svgs:vt}};return g=Object(_.applyFilters)("generateblocks.editor.iconSVGSets",g),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.BaseControl,{className:"gb-svg-html"},Object(l.createElement)(C.TextControl,{label:Object(T.__)("Icon SVG HTML","generateblocks"),value:a[r],onChange:function(t){i(o()({},e.props.attrIcon,Be(t))),i(""!==t?{hasIcon:!0}:{hasIcon:!1})}}),Object(l.createElement)("div",{className:"gb-icon-preview"},Object(l.createElement)("span",{dangerouslySetInnerHTML:{__html:Be(a[r])}}),Object(l.createElement)(C.Button,{isSmall:!0,className:"reset-icon is-secondary",onClick:function(){var t;i((t={},o()(t,e.props.attrIcon,""),o()(t,"hasIcon",!1),t))}},Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},Object(T.__)("Clear","generateblocks"))))),Object(l.createElement)(C.BaseControl,{className:"gb-icon-chooser"},Object.keys(g).map((function(t,a){var r=g[t].svgs;return Object(l.createElement)(C.PanelBody,{title:g[t].group,initialOpen:!1,key:a},Object(l.createElement)(C.PanelRow,null,Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("ul",{className:"gblocks-icon-chooser"},Object.keys(r).map((function(t,a){return Object(l.createElement)("li",{key:"editor-pblock-types-list-item-".concat(a)},Object(l.createElement)(C.Tooltip,{text:r[t].label},Object(l.createElement)(C.Button,{className:"editor-block-list-item-button",onClick:function(){var a,n=r[t].icon;"string"!=typeof n&&(n=Object(l.renderToString)(n)),i((a={},o()(a,e.props.attrIcon,n),o()(a,"hasIcon",!0),a))}},"string"==typeof r[t].icon?Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon",dangerouslySetInnerHTML:{__html:Be(r[t].icon)}})):Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},r[t].icon)))))}))))))}))),void 0!==a[n]&&!a[s]&&!!a[r]&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Location","generateblocks"),value:a[n],options:c,onChange:function(t){var l=a.iconPaddingLeft,r=a.iconPaddingRight,n=a.iconPaddingRightTablet,c=a.iconPaddingLeftTablet,s=a.iconPaddingRightMobile,g=a.iconPaddingLeftMobile;"right"===t&&(!l&&r&&i({iconPaddingLeft:r,iconPaddingRight:""}),!c&&n&&i({iconPaddingLeftTablet:n,iconPaddingRightTablet:""}),!g&&s&&i({iconPaddingLeftMobile:s,iconPaddingRightMobile:""})),"left"===t&&(!r&&l&&i({iconPaddingRight:l,iconPaddingLeft:""}),!n&&c&&i({iconPaddingRightTablet:c,iconPaddingLeftTablet:""}),!s&&g&&i({iconPaddingRightMobile:g,iconPaddingLeftMobile:""})),i(o()({},e.props.attrIconLocation,t))}}),void 0!==a[s]&&!!a[r]&&Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Remove Text","generateblocks"),checked:!!a[s],onChange:function(t){i(o()({},e.props.attrRemoveText,t))}}))}}]),a}(l.Component);a(43);function Tt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Ct(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Tt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function _t(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var St=function(e){f()(a,e);var t=_t(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={moreOptions:!1},e.onChange=e.onChange.bind(d()(e)),e}return b()(a,[{key:"onChange",value:function(e){var t=this.props,a=t.url,l=t.target,i=t.relNoFollow,r=t.relSponsored;this.props.onChange(Ct(Ct({},{url:a,target:l,relNoFollow:i,relSponsored:r}),e))}},{key:"render",value:function(){var e=this,t=this.props,a=t.url,i=t.target,r=t.relNoFollow,n=t.relSponsored,o=t.className,c=t.autoFocus,s=this.onChange,g=this.state.moreOptions;return Object(l.createElement)("div",{className:w()("gblocks-component-url-input",o)},Object(l.createElement)("div",{className:"gblocks-component-url-input-flex"},Object(l.createElement)(Q.URLInput,{value:a,onChange:function(e){s({url:e})},autoFocus:c}),Object(l.createElement)(C.Button,{icon:"ellipsis",label:g?Object(T.__)("Hide More Options","generateblocks"):Object(T.__)("Show More Options","generateblocks"),onClick:function(){e.setState({moreOptions:!g})}})),g&&Object(l.createElement)("div",{className:"gblocks-component-url-input-more-options"},Object(_.applyFilters)("generateblocks.editor.urlInputMoreOptions","",this.props,this.state),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Open link in a new tab","generateblocks"),checked:i||"",onChange:function(e){s({target:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)('Add rel="nofollow"',"generateblocks"),checked:r||"",onChange:function(e){s({relNoFollow:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)('Add rel="sponsored"',"generateblocks"),checked:n||"",onChange:function(e){s({relSponsored:e})}})))}}]),a}(l.Component);function Bt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Dt=function(e){f()(a,e);var t=Bt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e,t=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),a=t.url,i=t.uniqueId,r=t.removeText,n=t.backgroundColor,o=t.backgroundColorOpacity,c=t.textColor,s=t.backgroundColorHover,g=t.backgroundColorHoverOpacity,b=t.textColorHover,u=t.fontFamily,d=t.fontFamilyFallback,p=t.fontWeight,f=t.textTransform,h=t.letterSpacing,m=t.fontSize,k=t.fontSizeUnit,y=t.marginTop,v=t.marginRight,w=t.marginBottom,O=t.marginLeft,j=t.marginUnit,T=t.paddingTop,C=t.paddingRight,S=t.paddingBottom,B=t.paddingLeft,D=t.paddingUnit,E=t.borderSizeTop,R=t.borderSizeRight,x=t.borderSizeBottom,L=t.borderSizeLeft,P=t.borderRadiusTopRight,F=t.borderRadiusBottomRight,A=t.borderRadiusBottomLeft,U=t.borderRadiusTopLeft,H=t.borderRadiusUnit,N=t.borderColor,I=t.borderColorOpacity,G=t.borderColorHover,V=t.borderColorHoverOpacity,q=t.gradient,W=t.gradientDirection,Z=t.gradientColorOne,K=t.gradientColorOneOpacity,J=t.gradientColorStopOne,Y=t.gradientColorTwo,Q=t.gradientColorTwoOpacity,X=t.gradientColorStopTwo,$=t.iconPaddingTop,ee=t.iconPaddingRight,te=t.iconPaddingBottom,ae=t.iconPaddingLeft,le=t.iconPaddingUnit,ie=t.iconSize,re=t.iconSizeUnit,ne="",oe="",ce="";q&&(Z&&""!==J&&(oe=" "+J+"%"),Y&&""!==X&&(ce=" "+X+"%")),q&&(e="linear-gradient("+W+"deg, "+he(Z,K)+oe+", "+he(Y,Q)+ce+");"),u&&d&&(ne=", "+d);var se="a.gb-button-"+i;a||(se=".gb-button-"+i);var ge=[];return ge[".block-editor-block-list__block "+se]=[{"background-color":he(n,o),"background-image":e,color:c,padding:De(T,C,S,B,D),"border-radius":De(U,P,F,A,H),"font-family":u+ne,"font-weight":p,"text-transform":f,"font-size":z(m,k),"letter-spacing":z(h,"em"),margin:De(y,v,w,O,j)}],(E||R||x||L)&&ge[".block-editor-block-list__block "+se].push({"border-width":De(E,R,x,L,"px"),"border-style":"solid","border-color":he(N,I)}),ge[".block-editor-block-list__block "+se+":hover,\n\t\t.block-editor-block-list__block "+se+":focus,\n\t\t.block-editor-block-list__block "+se+":active"]=[{"background-color":he(s,g),color:b,"border-color":he(G,V)}],ge[".block-editor-block-list__block "+se+" .gb-icon"]=[{padding:!r&&De($,ee,te,ae,le),"font-size":z(ie,re)}],ge=Object(_.applyFilters)("generateblocks.editor.mainCSS",ge,this.props,"button"),Object(l.createElement)("style",null,M(ge))}}]),a}(l.Component);function Et(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Rt=function(e){f()(a,e);var t=Et(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(_.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"button"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function xt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Mt=function(e){f()(a,e);var t=xt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.url,a=e.uniqueId,i=e.removeText,r=e.letterSpacingTablet,n=e.fontSizeTablet,o=e.fontSizeUnit,c=e.marginTopTablet,s=e.marginRightTablet,g=e.marginBottomTablet,b=e.marginLeftTablet,u=e.marginUnit,d=e.paddingTopTablet,p=e.paddingRightTablet,f=e.paddingBottomTablet,h=e.paddingLeftTablet,m=e.paddingUnit,k=e.borderSizeTopTablet,y=e.borderSizeRightTablet,v=e.borderSizeBottomTablet,w=e.borderSizeLeftTablet,O=e.borderRadiusTopRightTablet,j=e.borderRadiusBottomRightTablet,T=e.borderRadiusBottomLeftTablet,C=e.borderRadiusTopLeftTablet,S=e.borderRadiusUnit,B=e.iconPaddingTopTablet,D=e.iconPaddingRightTablet,E=e.iconPaddingBottomTablet,R=e.iconPaddingLeftTablet,x=e.iconPaddingUnit,L=e.iconSizeTablet,P=e.iconSizeUnit,F="a.gb-button-"+a;t||(F=".gb-button-"+a);var A=[];return A[".block-editor-block-list__block "+F]=[{"padding-top":z(d,m),"padding-right":z(p,m),"padding-bottom":z(f,m),"padding-left":z(h,m),"border-top-left-radius":z(C,S),"border-top-right-radius":z(O,S),"border-bottom-right-radius":z(j,S),"border-bottom-left-radius":z(T,S),"font-size":z(n,o),"letter-spacing":z(r,"em"),"margin-top":z(c,u),"margin-right":z(s,u),"margin-bottom":z(g,u),"margin-left":z(b,u)}],(k||y||v||w)&&A[".block-editor-block-list__block "+F].push({"border-top-width":z(k,"px"),"border-right-width":z(y,"px"),"border-bottom-width":z(v,"px"),"border-left-width":z(w,"px"),"border-style":"solid"}),A[".block-editor-block-list__block "+F+" .gb-icon"]=[{"padding-top":!i&&z(B,x),"padding-right":!i&&z(D,x),"padding-bottom":!i&&z(E,x),"padding-left":!i&&z(R,x),"font-size":z(L,P)}],A=Object(_.applyFilters)("generateblocks.editor.tabletCSS",A,this.props,"button"),Object(l.createElement)("style",null,M(A))}}]),a}(l.Component);function zt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Lt=function(e){f()(a,e);var t=zt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(_.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"button"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function Pt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ft=function(e){f()(a,e);var t=Pt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.url,a=e.uniqueId,i=e.removeText,r=e.letterSpacingMobile,n=e.fontSizeMobile,o=e.fontSizeUnit,c=e.marginTopMobile,s=e.marginRightMobile,g=e.marginBottomMobile,b=e.marginLeftMobile,u=e.marginUnit,d=e.paddingTopMobile,p=e.paddingRightMobile,f=e.paddingBottomMobile,h=e.paddingLeftMobile,m=e.paddingUnit,k=e.borderSizeTopMobile,y=e.borderSizeRightMobile,v=e.borderSizeBottomMobile,w=e.borderSizeLeftMobile,O=e.borderRadiusTopRightMobile,j=e.borderRadiusBottomRightMobile,T=e.borderRadiusBottomLeftMobile,C=e.borderRadiusTopLeftMobile,S=e.borderRadiusUnit,B=e.iconPaddingTopMobile,D=e.iconPaddingRightMobile,E=e.iconPaddingBottomMobile,R=e.iconPaddingLeftMobile,x=e.iconPaddingUnit,L=e.iconSizeMobile,P=e.iconSizeUnit,F="a.gb-button-"+a;t||(F=".gb-button-"+a);var A=[];return A[".block-editor-block-list__block "+F]=[{"padding-top":z(d,m),"padding-right":z(p,m),"padding-bottom":z(f,m),"padding-left":z(h,m),"border-top-left-radius":z(C,S),"border-top-right-radius":z(O,S),"border-bottom-right-radius":z(j,S),"border-bottom-left-radius":z(T,S),"font-size":z(n,o),"letter-spacing":z(r,"em"),"margin-top":z(c,u),"margin-right":z(s,u),"margin-bottom":z(g,u),"margin-left":z(b,u)}],(k||y||v||w)&&A[".block-editor-block-list__block "+F].push({"border-top-width":z(k,"px"),"border-right-width":z(y,"px"),"border-bottom-width":z(v,"px"),"border-left-width":z(w,"px"),"border-style":"solid"}),A[".block-editor-block-list__block "+F+" .gb-icon"]=[{"padding-top":!i&&z(B,x),"padding-right":!i&&z(D,x),"padding-bottom":!i&&z(E,x),"padding-left":!i&&z(R,x),"font-size":z(L,P)}],A=Object(_.applyFilters)("generateblocks.editor.mobileCSS",A,this.props,"button"),Object(l.createElement)("style",null,M(A))}}]),a}(l.Component);function At(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ut=/[\s#]/g,Ht=[],Nt=function(e){f()(a,e);var t=At(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={selectedDevice:"Desktop",fontSizePlaceholder:"17"},e.getFontSizePlaceholder=e.getFontSizePlaceholder.bind(d()(e)),e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-","");this.props.attributes.uniqueId?Ht.includes(this.props.attributes.uniqueId)?(this.props.setAttributes({uniqueId:e}),Ht.push(e)):Ht.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),Ht.push(e));var t=this.getFontSizePlaceholder();t!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:t}),!this.props.attributes.hasIcon&&this.props.attributes.icon&&this.props.setAttributes({hasIcon:!0}),void 0===this.props.attributes.hasUrl&&(this.props.attributes.url?this.props.setAttributes({hasUrl:!0}):this.props.setAttributes({hasUrl:!1}))}},{key:"componentDidUpdate",value:function(){var e=this.getFontSizePlaceholder();e!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:e})}},{key:"getFontSizePlaceholder",value:function(){var e="17",t=document.querySelector(".gb-button-"+this.props.attributes.uniqueId);return t&&(e=parseFloat(window.getComputedStyle(t).fontSize)),e}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){for(var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=a.isSelected,s=a.clientId,g=this.state.fontSizePlaceholder,b=i.uniqueId,u=i.className,d=i.anchor,p=i.text,f=i.url,h=i.target,m=i.relNoFollow,k=i.relSponsored,y=i.icon,v=i.iconLocation,O=i.removeText,S=i.ariaLabel,D=i.backgroundColor,R=i.backgroundColorOpacity,x=i.textColor,M=i.backgroundColorHover,z=i.backgroundColorHoverOpacity,L=i.textColorHover,P=i.fontFamily,F=i.googleFont,A=i.googleFontVariants,U=i.borderColor,H=i.borderColorOpacity,N=i.borderColorHover,I=i.borderColorHoverOpacity,G=i.iconSize,V=i.iconSizeTablet,q=i.iconSizeMobile,W=i.iconSizeUnit,Z=document.querySelectorAll("a.gb-button"),K=function(e){Z[e].addEventListener("click",(function(t){Z[e].getAttribute("href")&&(Z[e].removeAttribute("href"),t.preventDefault())}),!1)},J=0;J<Z.length;J++)K(J);var $=[];m&&$.push("nofollow"),h&&$.push("noopener","noreferrer"),k&&$.push("sponsored");var ee="";A&&(ee=":"+A);var te={className:w()((e={"gb-button":!0},o()(e,"gb-button-".concat(b),!0),o()(e,"gb-button-text",!y),o()(e,"".concat(u),void 0!==u),e)),href:f||null,target:h?"_blank":null,rel:$&&$.length>0?$.join(" "):null,"aria-label":S||null,id:d||null};return te=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",te,"generateblocks/button",i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-add-new-button",icon:"insert",label:Object(T.__)("Add Button","generateblocks"),onClick:function(){var e=!1;e="function"==typeof wp.data.select("core/block-editor").getBlockParentsByBlockName?wp.data.select("core/block-editor").getBlockParentsByBlockName(s,"generateblocks/button-container",!0)[0]:wp.data.select("core/block-editor").getBlockRootClientId(s);var t=wp.data.select("core/block-editor").getBlocksByClientId(s)[0],a=Object(X.cloneBlock)(t);wp.data.dispatch("core/block-editor").insertBlocks(a,void 0,e)},showTooltip:!0}))),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Typography","generateblocks"),initialOpen:!1,icon:j("typography"),className:"gblocks-panel-label",id:"buttonTypography",state:this.state,showPanel:!O||!1}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,showLetterSpacing:!0,fontSizePlaceholder:g,defaultFontSize:generateBlocksDefaults.button.fontSize,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Tablet",showFontSize:!0,showLetterSpacing:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.button.fontSizeTablet,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacingTablet}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Mobile",showFontSize:!0,showLetterSpacing:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.button.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacingMobile}))),Object(_.applyFilters)("generateblocks.editor.controls","","buttonTypography",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Spacing","generateblocks"),initialOpen:!1,icon:j("spacing"),className:"gblocks-panel-label",id:"buttonSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(_.applyFilters)("generateblocks.editor.controls","","buttonSpacing",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Colors","generateblocks"),initialOpen:!1,icon:j("colors"),className:"gblocks-panel-label",id:"buttonColors",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(C.TabPanel,{className:"layout-tab-panel gblocks-control-tabs",activeClass:"active-tab",tabs:[{name:"button-colors",title:Object(T.__)("Normal","generateblocks"),className:"button-colors"},{name:"button-colors-hover",title:Object(T.__)("Hover","generateblocks"),className:"button-colors-hover"}]},(function(e){var a="button-colors"===e.name;return Object(l.createElement)("div",null,a?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ke,{label:Object(T.__)("Background Color","generateblocks"),value:D,alpha:!0,valueOpacity:R,attrOpacity:"backgroundColorOpacity",key:"buttonBackgroundColor",onChange:function(e){return n({backgroundColor:e})},onOpacityChange:function(e){return n({backgroundColorOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Text Color","generateblocks"),value:x,alpha:!1,key:"buttonTextColor",onChange:function(e){return n({textColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Border Color","generateblocks"),value:U,alpha:!0,valueOpacity:H,attrOpacity:"borderColorOpacity",key:"buttonBorderColor",onChange:function(e){return n({borderColor:e})},onOpacityChange:function(e){return n({borderColorOpacity:e})}}),Object(_.applyFilters)("generateblocks.editor.controls","","buttonColorsNormal",t.props,t.state)):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ke,{label:Object(T.__)("Background Color","generateblocks"),value:M,alpha:!0,valueOpacity:z,attrOpacity:"backgroundColorHoverOpacity",key:"buttonBackgroundColorHover",onChange:function(e){return n({backgroundColorHover:e})},onOpacityChange:function(e){return n({backgroundColorHoverOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Text Color","generateblocks"),value:L,alpha:!1,key:"buttonTextColorHover",onChange:function(e){return n({textColorHover:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Border Color","generateblocks"),value:N,alpha:!0,valueOpacity:I,attrOpacity:"borderColorHoverOpacity",key:"buttonBorderColorHover",onChange:function(e){return n({borderColorHover:e})},onOpacityChange:function(e){return n({borderColorHoverOpacity:e})}}),Object(_.applyFilters)("generateblocks.editor.controls","","buttonColorsHover",t.props,t.state)))})),Object(_.applyFilters)("generateblocks.editor.controls","","buttonColors",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Background Gradient","generateblocks"),initialOpen:!1,icon:j("gradients"),className:"gblocks-panel-label",id:"buttonBackgroundGradient",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(Ce,r()({},this.props,{attrGradient:"gradient",attrGradientDirection:"gradientDirection",attrGradientColorOne:"gradientColorOne",attrGradientColorOneOpacity:"gradientColorOneOpacity",attrGradientColorStopOne:"gradientColorStopOne",attrGradientColorTwo:"gradientColorTwo",attrGradientColorTwoOpacity:"gradientColorTwoOpacity",attrGradientColorStopTwo:"gradientColorStopTwo",defaultColorOne:generateBlocksDefaults.button.gradientColorOne,defaultColorTwo:generateBlocksDefaults.button.gradientColorTwo})),Object(_.applyFilters)("generateblocks.editor.controls","","buttonBackgroundGradient",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Icon","generateblocks"),initialOpen:!1,icon:j("icons"),className:"gblocks-panel-label",id:"buttonIcon",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!y)}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(jt,r()({},this.props,{attrIcon:"icon",attrIconLocation:"iconLocation",attrRemoveText:"removeText",locationOptions:[{label:Object(T.__)("Left","generateblocks"),value:"left"},{label:Object(T.__)("Right","generateblocks"),value:"right"}]})),"Desktop"===this.getDeviceType()&&!!y&&Object(l.createElement)(l.Fragment,null,!O&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTop",attrRight:"iconPaddingRight",attrBottom:"iconPaddingBottom",attrLeft:"iconPaddingLeft",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:W,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:G||"",step:"em"===W?.1:1,onChange:function(e){n({iconSize:e})},onBlur:function(){n({iconSize:parseFloat(G)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSize:generateBlocksDefaults.button.iconSize})}},Object(T.__)("Reset","generateblocks")))),"Tablet"===this.getDeviceType()&&!!y&&Object(l.createElement)(l.Fragment,null,!O&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTopTablet",attrRight:"iconPaddingRightTablet",attrBottom:"iconPaddingBottomTablet",attrLeft:"iconPaddingLeftTablet",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:W,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:V||"",step:"em"===W?.1:1,placeholder:"1",onChange:function(e){n({iconSizeTablet:e})},onBlur:function(){n({iconSizeTablet:parseFloat(V)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSizeTablet:generateBlocksDefaults.button.iconSizeTablet})}},Object(T.__)("Reset","generateblocks")))),"Mobile"===this.getDeviceType()&&!!y&&Object(l.createElement)(l.Fragment,null,!O&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTopMobile",attrRight:"iconPaddingRightMobile",attrBottom:"iconPaddingBottomMobile",attrLeft:"iconPaddingLeftMobile",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:W,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:q||"",step:"em"===W?.1:1,placeholder:"1",onChange:function(e){n({iconSizeMobile:e})},onBlur:function(){n({iconSizeMobile:parseFloat(q)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSizeMobile:generateBlocksDefaults.button.iconSizeMobile})}},Object(T.__)("Reset","generateblocks")))),Object(_.applyFilters)("generateblocks.editor.controls","","buttonIcon",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),icon:j("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"buttonDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/buttons/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(_.applyFilters)("generateblocks.editor.controls","","buttonDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:d||"",onChange:function(e){e=e.replace(Ut,"-"),n({anchor:e})}}),Object(l.createElement)(C.TextControl,{label:Object(T.__)("ARIA Label","generateblocks"),help:Object(T.__)("Helpful to people using screen readers.","generateblocks"),value:S,onChange:function(e){n({ariaLabel:e})}})),Object(l.createElement)(Dt,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(Rt,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(Mt,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(Lt,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(Ft,this.props)),P&&F&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+P.replace(/ /g,"+")+ee}),Object(l.createElement)(fe,{tagName:f?"a":"span",htmlAttrs:te},!!y&&Object(l.createElement)(l.Fragment,null,"left"===v&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(y)}}),!O&&Object(l.createElement)("span",{className:"gb-button-text"},Object(l.createElement)(Q.RichText,{placeholder:Object(T.__)("Add text…","generateblocks"),value:p,onChange:function(e){return n({text:e})},allowedFormats:["core/bold","core/italic","core/strikethrough"],isSelected:c,keepPlaceholderOnFocus:!0})),"right"===v&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(y)}})),!y&&!O&&Object(l.createElement)(Q.RichText,{placeholder:Object(T.__)("Add text…","generateblocks"),value:p,onChange:function(e){return n({text:e})},allowedFormats:["core/bold","core/italic","core/strikethrough"],isSelected:c,keepPlaceholderOnFocus:!0})),c&&Object(l.createElement)(St,{url:f,target:h,relNoFollow:m,relSponsored:k,onChange:function(e){n(e),""!==e.url?n({hasUrl:!0}):n({hasUrl:!1})},autoFocus:!1,className:"gblocks-component-url-input-float"}))}}]),a}(l.Component),It=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?{deviceType:t()}:{deviceType:null}}))])(Nt),Gt={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},url:{type:"string",source:"attribute",selector:".gb-button",attribute:"href"},hasUrl:{type:"boolean"},target:{type:"boolean"},relNoFollow:{type:"boolean"},relSponsored:{type:"boolean"},text:{type:"string",source:"html",selector:".gb-button-text",default:"Button"},icon:{type:"string",source:"html",selector:".gb-icon"},hasIcon:{type:"boolean",default:!1},iconLocation:{type:"string",default:generateBlocksDefaults.button.iconLocation},customIcon:{type:"boolean",default:!1},removeText:{type:"boolean",default:generateBlocksDefaults.button.removeText},ariaLabel:{type:"string",default:generateBlocksDefaults.button.ariaLabel},backgroundColor:{type:"string",default:generateBlocksDefaults.button.backgroundColor},backgroundColorOpacity:{type:"number",default:generateBlocksDefaults.button.backgroundColorOpacity},textColor:{type:"string",default:generateBlocksDefaults.button.textColor},backgroundColorHover:{type:"string",default:generateBlocksDefaults.button.backgroundColorHover},backgroundColorHoverOpacity:{type:"number",default:generateBlocksDefaults.button.backgroundColorHoverOpacity},textColorHover:{type:"string",default:generateBlocksDefaults.button.textColorHover},borderColor:{type:"string",default:generateBlocksDefaults.button.borderColor},borderColorOpacity:{type:"number",default:generateBlocksDefaults.button.borderColorOpacity},borderColorHover:{type:"string",default:generateBlocksDefaults.button.borderColorHover},borderColorHoverOpacity:{type:"number",default:generateBlocksDefaults.button.borderColorHoverOpacity},showAdvancedTypography:{type:"boolean",default:generateBlocksDefaults.button.showAdvancedTypography},fontFamily:{type:"string",default:generateBlocksDefaults.button.fontFamily},fontFamilyFallback:{type:"string",default:generateBlocksDefaults.button.fontFamilyFallback},googleFont:{type:"boolean",default:generateBlocksDefaults.button.googleFont},googleFontVariants:{type:"string",default:generateBlocksDefaults.button.googleFontVariants},fontWeight:{type:"string",default:generateBlocksDefaults.button.fontWeight},fontSize:{type:"number",default:generateBlocksDefaults.button.fontSize},fontSizeTablet:{type:"number",default:generateBlocksDefaults.button.fontSizeTablet},fontSizeMobile:{type:"number",default:generateBlocksDefaults.button.fontSizeMobile},fontSizeUnit:{type:"string",default:generateBlocksDefaults.button.fontSizeUnit},textTransform:{type:"string",default:generateBlocksDefaults.button.textTransform},letterSpacing:{type:"number",default:generateBlocksDefaults.button.letterSpacing},letterSpacingTablet:{type:"number",default:generateBlocksDefaults.button.letterSpacingTablet},letterSpacingMobile:{type:"number",default:generateBlocksDefaults.button.letterSpacingMobile},marginTop:{type:"string",default:generateBlocksDefaults.button.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.button.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.button.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.button.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.button.marginUnit},marginTopTablet:{type:"string",default:generateBlocksDefaults.button.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.button.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.button.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.button.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.button.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.button.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.button.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.button.marginLeftMobile},paddingTop:{type:"string",default:generateBlocksDefaults.button.paddingTop},paddingRight:{type:"string",default:generateBlocksDefaults.button.paddingRight},paddingBottom:{type:"string",default:generateBlocksDefaults.button.paddingBottom},paddingLeft:{type:"string",default:generateBlocksDefaults.button.paddingLeft},paddingUnit:{type:"string",default:generateBlocksDefaults.button.paddingUnit},paddingTopTablet:{type:"string",default:generateBlocksDefaults.button.paddingTopTablet},paddingRightTablet:{type:"string",default:generateBlocksDefaults.button.paddingRightTablet},paddingBottomTablet:{type:"string",default:generateBlocksDefaults.button.paddingBottomTablet},paddingLeftTablet:{type:"string",default:generateBlocksDefaults.button.paddingLeftTablet},paddingTopMobile:{type:"string",default:generateBlocksDefaults.button.paddingTopMobile},paddingRightMobile:{type:"string",default:generateBlocksDefaults.button.paddingRightMobile},paddingBottomMobile:{type:"string",default:generateBlocksDefaults.button.paddingBottomMobile},paddingLeftMobile:{type:"string",default:generateBlocksDefaults.button.paddingLeftMobile},borderSizeTop:{type:"string",default:generateBlocksDefaults.button.borderSizeTop},borderSizeRight:{type:"string",default:generateBlocksDefaults.button.borderSizeRight},borderSizeBottom:{type:"string",default:generateBlocksDefaults.button.borderSizeBottom},borderSizeLeft:{type:"string",default:generateBlocksDefaults.button.borderSizeLeft},borderSizeTopTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeTopTablet},borderSizeRightTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeRightTablet},borderSizeBottomTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeBottomTablet},borderSizeLeftTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeLeftTablet},borderSizeTopMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeTopMobile},borderSizeRightMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeRightMobile},borderSizeBottomMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeBottomMobile},borderSizeLeftMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeLeftMobile},borderRadiusTopRight:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopRight},borderRadiusBottomRight:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomRight},borderRadiusBottomLeft:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomLeft},borderRadiusTopLeft:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopLeft},borderRadiusUnit:{type:"string",default:generateBlocksDefaults.button.borderRadiusUnit},borderRadiusTopRightTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopRightTablet},borderRadiusBottomRightTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomRightTablet},borderRadiusBottomLeftTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomLeftTablet},borderRadiusTopLeftTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopLeftTablet},borderRadiusTopRightMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopRightMobile},borderRadiusBottomRightMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomRightMobile},borderRadiusBottomLeftMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomLeftMobile},borderRadiusTopLeftMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopLeftMobile},gradient:{type:"boolean",default:generateBlocksDefaults.button.gradient},gradientDirection:{type:"number",default:generateBlocksDefaults.button.gradientDirection},gradientColorOne:{type:"string",default:generateBlocksDefaults.button.gradientColorOne},gradientColorOneOpacity:{type:"number",default:generateBlocksDefaults.button.gradientColorOneOpacity},gradientColorStopOne:{type:"number",default:generateBlocksDefaults.button.gradientColorStopOne},gradientColorTwo:{type:"string",default:generateBlocksDefaults.button.gradientColorTwo},gradientColorTwoOpacity:{type:"number",default:generateBlocksDefaults.button.gradientColorTwoOpacity},gradientColorStopTwo:{type:"number",default:generateBlocksDefaults.button.gradientColorStopTwo},iconPaddingTop:{type:"string",default:generateBlocksDefaults.button.iconPaddingTop},iconPaddingRight:{type:"string",default:generateBlocksDefaults.button.iconPaddingRight},iconPaddingBottom:{type:"string",default:generateBlocksDefaults.button.iconPaddingBottom},iconPaddingLeft:{type:"string",default:generateBlocksDefaults.button.iconPaddingLeft},iconPaddingTopTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingTopTablet},iconPaddingRightTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingRightTablet},iconPaddingBottomTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingBottomTablet},iconPaddingLeftTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingLeftTablet},iconPaddingTopMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingTopMobile},iconPaddingRightMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingRightMobile},iconPaddingBottomMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingBottomMobile},iconPaddingLeftMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingLeftMobile},iconPaddingUnit:{type:"string",default:generateBlocksDefaults.button.iconPaddingUnit},iconPaddingSyncUnits:{type:"boolean",default:!1},iconSize:{type:"number",default:generateBlocksDefaults.button.iconSize},iconSizeTablet:{type:"number",default:generateBlocksDefaults.button.iconSizeTablet},iconSizeMobile:{type:"number",default:generateBlocksDefaults.button.iconSizeMobile},iconSizeUnit:{type:"string",default:generateBlocksDefaults.button.iconSizeUnit},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};function Vt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function qt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Vt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Wt=[{attributes:qt(qt({},Gt),{},{text:{type:"array",source:"children",selector:".gb-button .button-text",default:"Button"}}),supports:{anchor:!1,className:!1,customClassName:!1,inserter:!1,reusable:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return qt(qt({},e),{},{className:t,anchor:a,cssClasses:"",elementId:""})},save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.elementId,n=a.cssClasses,c=a.text,s=a.url,g=a.target,b=a.relNoFollow,u=a.relSponsored,d=a.icon,p=a.iconLocation,f=a.removeText,h=a.ariaLabel,m=[];b&&m.push("nofollow"),g&&m.push("noopener","noreferrer"),u&&m.push("sponsored");var k={id:r||void 0,className:w()((t={"gb-button":!0},o()(t,"gb-button-".concat(i),!0),o()(t,"".concat(n),""!==n),t)),href:s||void 0,target:g?"_blank":void 0,rel:m&&m.length>0?m.join(" "):void 0,"aria-label":h||void 0};return k=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",k,"generateblocks/button",a),Object(l.createElement)("a",k,d&&"left"===p&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(d)}}),!f&&Object(l.createElement)(Q.RichText.Content,{tagName:"span",className:"button-text",value:c,key:"button-text"}),d&&"right"===p&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(d)}}))}}];Object(X.registerBlockType)("generateblocks/button",{title:Object(T.__)("Button","generateblocks"),description:Object(T.__)("Drive conversions with beautiful buttons.","generateblocks"),parent:["generateblocks/button-container"],icon:j("button"),category:"generateblocks",keywords:[Object(T.__)("button"),Object(T.__)("buttons"),Object(T.__)("generate")],attributes:Gt,supports:{className:!1,inserter:!1,reusable:!1},edit:It,save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.className,n=a.text,c=a.url,s=a.target,g=a.relNoFollow,b=a.relSponsored,u=a.icon,d=a.iconLocation,p=a.removeText,f=a.ariaLabel,h=a.anchor,m=[];g&&m.push("nofollow"),s&&m.push("noopener","noreferrer"),b&&m.push("sponsored");var k={className:w()((t={"gb-button":!0},o()(t,"gb-button-".concat(i),!0),o()(t,"gb-button-text",!u),o()(t,"".concat(r),void 0!==r),t)),href:c||null,target:s?"_blank":null,rel:m&&m.length>0?m.join(" "):null,"aria-label":f||null,id:h||null};return k=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",k,"generateblocks/button",a),Object(l.createElement)(fe,{tagName:c?"a":"span",htmlAttrs:k},!!u&&"left"===d&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(u)}}),!p&&Object(l.createElement)(Q.RichText.Content,{value:n,tagName:u?"span":null,className:u?"gb-button-text":null}),!!u&&"right"===d&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(u)}}))},deprecated:Wt});a(44);function Zt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Kt=function(e){f()(a,e);var t=Zt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.element,r=e.alignment,n=e.backgroundColor,o=e.backgroundColorOpacity,c=e.textColor,s=e.linkColor,g=e.borderColor,b=e.borderColorOpacity,u=e.highlightTextColor,d=e.fontFamily,p=e.fontFamilyFallback,f=e.fontWeight,h=e.fontSize,m=e.fontSizeUnit,k=e.textTransform,y=e.lineHeight,v=e.lineHeightUnit,w=e.letterSpacing,O=e.marginTop,j=e.marginRight,T=e.marginBottom,C=e.marginLeft,S=e.marginUnit,B=e.paddingTop,D=e.paddingRight,E=e.paddingBottom,R=e.paddingLeft,x=e.paddingUnit,L=e.borderSizeTop,P=e.borderSizeRight,F=e.borderSizeBottom,A=e.borderSizeLeft,U=e.borderRadiusTopRight,H=e.borderRadiusBottomRight,N=e.borderRadiusBottomLeft,I=e.borderRadiusTopLeft,G=e.borderRadiusUnit,V=e.icon,q=e.iconColor,W=e.iconColorOpacity,Z=e.iconLocation,K=e.iconVerticalAlignment,J=e.iconPaddingTop,Y=e.iconPaddingRight,Q=e.iconPaddingBottom,X=e.iconPaddingLeft,$=e.iconPaddingUnit,ee=e.iconSize,te=e.iconSizeUnit,ae=e.inlineWidth,le=e.removeText,ie="",re="inline-block";d&&p&&(ie=", "+p);var ne=i+".gb-headline-"+a,oe=[];return oe[".editor-styles-wrapper "+ne]=[{color:c,"font-family":d+ie,"font-weight":f,"text-transform":k,"text-align":r,"font-size":z(h,m),"line-height":z(y,v),"letter-spacing":z(w,"em"),display:!!V&&"flex","align-items":$e("inline"===Z?K:r),"justify-content":$e(r),"flex-direction":!(!V||"above"!==Z)&&"column"}],oe[".editor-styles-wrapper .gb-container "+ne]=[{color:c}],V&&(re="inline-flex"),oe[".editor-styles-wrapper "+ne].push({"background-color":he(n,o),color:c,display:!!ae&&re,"margin-top":z(O,S),"margin-right":z(j,S),"margin-bottom":z(T,S),"margin-left":z(C,S),padding:De(B,D,E,R,x),"border-radius":De(I,U,H,N,G)}),(L||P||F||A)&&oe[".editor-styles-wrapper "+ne].push({"border-width":De(L,P,F,A,"px"),"border-style":"solid","border-color":he(g,b)}),oe[".editor-styles-wrapper "+ne+" a"]=[{color:s}],oe[ne+" .gb-icon"]=[{padding:!le&&De(J,Y,Q,X,$),"align-self":!(!V||"above"!==Z)&&$e(r),color:he(q,W),display:!(!V||"above"!==Z)&&"inline"}],oe[ne+" .gb-icon svg"]=[{width:z(ee,te),height:z(ee,te)}],oe[ne+" .gb-highlight"]=[{color:u}],oe["#block-"+t]=[{display:!!ae&&"inline-flex"}],oe=Object(_.applyFilters)("generateblocks.editor.mainCSS",oe,this.props,"headline"),Object(l.createElement)("style",null,M(oe))}}]),a}(l.Component);function Jt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Yt=function(e){f()(a,e);var t=Jt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(_.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"headline"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function Qt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Xt=function(e){f()(a,e);var t=Qt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.element,r=e.alignmentTablet,n=e.fontSizeTablet,o=e.fontSizeUnit,c=e.lineHeightTablet,s=e.lineHeightUnit,g=e.letterSpacingTablet,b=e.marginTopTablet,u=e.marginRightTablet,d=e.marginBottomTablet,p=e.marginLeftTablet,f=e.marginUnit,h=e.paddingTopTablet,m=e.paddingRightTablet,k=e.paddingBottomTablet,y=e.paddingLeftTablet,v=e.paddingUnit,w=e.borderSizeTopTablet,O=e.borderSizeRightTablet,j=e.borderSizeBottomTablet,T=e.borderSizeLeftTablet,C=e.borderRadiusTopRightTablet,S=e.borderRadiusBottomRightTablet,B=e.borderRadiusBottomLeftTablet,D=e.borderRadiusTopLeftTablet,E=e.borderRadiusUnit,R=e.icon,x=e.iconLocationTablet,L=e.iconVerticalAlignmentTablet,P=e.iconPaddingTopTablet,F=e.iconPaddingRightTablet,A=e.iconPaddingBottomTablet,U=e.iconPaddingLeftTablet,H=e.iconPaddingUnit,N=e.iconSizeTablet,I=e.iconSizeUnit,G=e.inlineWidthTablet,V=e.removeText,q=i+".gb-headline-"+a,W="inline-block",Z=[];return Z[".editor-styles-wrapper "+q]=[{"text-align":r,"font-size":z(n,o),"line-height":z(c,s),"letter-spacing":z(g,"em"),display:!!R&&"flex","align-items":$e("inline"===x?L:r),"justify-content":$e(r),"flex-direction":!(!R||"above"!==x)&&"column","margin-top":z(b,f)+" !important","margin-right":z(u,f)+" !important","margin-bottom":z(d,f)+" !important","margin-left":z(p,f)+" !important","padding-top":z(h,v),"padding-right":z(m,v),"padding-bottom":z(k,v),"padding-left":z(y,v),"border-top-left-radius":z(D,E),"border-top-right-radius":z(C,E),"border-bottom-right-radius":z(S,E),"border-bottom-left-radius":z(B,E)}],R&&(W="inline-flex",Z[".editor-styles-wrapper "+q].push({display:!!G&&W})),(w||O||j||T)&&Z[".editor-styles-wrapper "+q].push({"border-top-width":z(w,"px"),"border-right-width":z(O,"px"),"border-bottom-width":z(j,"px"),"border-left-width":z(T,"px"),"border-style":"solid"}),Z[q+" .gb-icon"]=[{"padding-top":!V&&z(P,H),"padding-right":!V&&z(F,H),"padding-bottom":!V&&z(A,H),"padding-left":!V&&z(U,H),"align-self":!(!R||"above"!==x)&&$e(r),display:!(!R||"above"!==x)&&"inline"}],Z[q+" .gb-icon svg"]=[{width:z(N,I),height:z(N,I)}],Z["#block-"+t]=[{display:!!G&&"inline-flex"}],Z=Object(_.applyFilters)("generateblocks.editor.tabletCSS",Z,this.props,"text"),Object(l.createElement)("style",null,M(Z))}}]),a}(l.Component);function $t(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ea=function(e){f()(a,e);var t=$t(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(_.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"headline"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function ta(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var aa=function(e){f()(a,e);var t=ta(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(_.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.element,r=e.alignmentMobile,n=e.fontSizeMobile,o=e.fontSizeUnit,c=e.lineHeightMobile,s=e.lineHeightUnit,g=e.letterSpacingMobile,b=e.marginTopMobile,u=e.marginRightMobile,d=e.marginBottomMobile,p=e.marginLeftMobile,f=e.marginUnit,h=e.paddingTopMobile,m=e.paddingRightMobile,k=e.paddingBottomMobile,y=e.paddingLeftMobile,v=e.paddingUnit,w=e.borderSizeTopMobile,O=e.borderSizeRightMobile,j=e.borderSizeBottomMobile,T=e.borderSizeLeftMobile,C=e.borderRadiusTopRightMobile,S=e.borderRadiusBottomRightMobile,B=e.borderRadiusBottomLeftMobile,D=e.borderRadiusTopLeftMobile,E=e.borderRadiusUnit,R=e.icon,x=e.iconLocationMobile,L=e.iconVerticalAlignmentMobile,P=e.iconPaddingTopMobile,F=e.iconPaddingRightMobile,A=e.iconPaddingBottomMobile,U=e.iconPaddingLeftMobile,H=e.iconPaddingUnit,N=e.iconSizeMobile,I=e.iconSizeUnit,G=e.inlineWidthMobile,V=e.removeText,q=i+".gb-headline-"+a,W="inline-block",Z=[];return Z[".editor-styles-wrapper "+q]=[{"text-align":r,"font-size":z(n,o),"line-height":z(c,s),"letter-spacing":z(g,"em"),display:!!R&&"flex","align-items":$e("inline"===x?L:r),"justify-content":$e(r),"flex-direction":!(!R||"above"!==x)&&"column","margin-top":z(b,f)+" !important","margin-right":z(u,f)+" !important","margin-bottom":z(d,f)+" !important","margin-left":z(p,f)+" !important","padding-top":z(h,v),"padding-right":z(m,v),"padding-bottom":z(k,v),"padding-left":z(y,v),"border-top-left-radius":z(D,E),"border-top-right-radius":z(C,E),"border-bottom-right-radius":z(S,E),"border-bottom-left-radius":z(B,E)}],R&&(W="inline-flex",Z[".editor-styles-wrapper "+q].push({display:!!G&&W})),(w||O||j||T)&&Z[".editor-styles-wrapper "+q].push({"border-top-width":z(w,"px"),"border-right-width":z(O,"px"),"border-bottom-width":z(j,"px"),"border-left-width":z(T,"px"),"border-style":"solid"}),Z[q+" .gb-icon"]=[{"padding-top":!V&&z(P,H),"padding-right":!V&&z(F,H),"padding-bottom":!V&&z(A,H),"padding-left":!V&&z(U,H),"align-self":!(!R||"above"!==x)&&$e(r),display:!(!R||"above"!==x)&&"inline"}],Z[q+" .gb-icon svg"]=[{width:z(N,I),height:z(N,I)}],Z["#block-"+t]=[{display:!!G&&"inline-flex"}],Z=Object(_.applyFilters)("generateblocks.editor.mobileCSS",Z,this.props,"headline"),Object(l.createElement)("style",null,M(Z))}}]),a}(l.Component),la=a(21),ia=Object(l.createElement)("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(l.createElement)("path",{d:"M4.331,15.598l2.193,1.693c0,0 -0.813,1.215 -0.992,1.215c-1.129,0.003 -1.424,0.008 -2.603,-0.001c-0.741,-0.006 -0.04,-0.955 0.187,-1.269c0.502,-0.694 1.215,-1.638 1.215,-1.638Zm7.632,-14.107c0.364,-0.061 5.412,3.896 5.439,4.272c0.031,0.438 -4.887,8.469 -5.635,9.648c-0.251,0.397 -1.185,0.206 -2.064,0.472c-0.801,0.243 -1.89,1.336 -2.193,1.105c-1.047,-0.796 -2.217,-1.646 -3.117,-2.49c-0.367,-0.343 0.388,-1.241 0.405,-2.188c0.015,-0.811 -0.644,-2.029 -0.196,-2.575c0.836,-1.019 6.931,-8.172 7.361,-8.244Zm0.144,1.454l3.95,3.105l-4.972,8.1l-5.197,-4.053l6.219,-7.152Z"})),ra=Object(ee.compose)(Object($.withSelect)((function(e){return{selectedBlock:e("core/block-editor").getSelectedBlock()}})),Object(ee.ifCondition)((function(e){return e.selectedBlock&&"generateblocks/headline"===e.selectedBlock.name})))((function(e){var t=function(){return e.onChange(Object(la.toggleFormat)(e.value,{type:"generateblocks/mark"}))};return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.RichTextShortcut,{type:"primary",character:"m",onUse:t}),Object(l.createElement)(Q.RichTextToolbarButton,{icon:ia,title:Object(T.__)("Highlight","generateblocks"),onClick:t,isActive:e.isActive,shortcutType:"access",shortcutCharacter:"m",className:"toolbar-button-with-text toolbar-button__".concat("generateblocks/mark")}))})),na={title:Object(T.__)("Highlight","generateblocks"),tagName:"mark",className:"gb-highlight",edit:ra};function oa(e){var t=e.level,a={h1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",h2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",h3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",h4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",h5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",h6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z",p:"M7.411 18V6.005h3.887c1.474 0 2.429.067 2.881.184.687.185 1.257.57 1.726 1.173.452.603.687 1.374.687 2.329 0 .737-.135 1.357-.403 1.86-.268.502-.603.904-1.021 1.189-.403.284-.821.469-1.257.57-.57.117-1.407.167-2.496.167H9.823V18H7.411zm2.412-9.968v3.401h1.324c.955 0 1.591-.05 1.926-.184.319-.118.57-.319.754-.587.185-.268.268-.57.268-.938 0-.435-.117-.787-.385-1.072a1.607 1.607 0 00-.972-.536c-.284-.05-.87-.084-1.742-.084H9.823z",div:"M6.969 6.005h4.423c1.005 0 1.759.084 2.295.235.703.2 1.306.57 1.809 1.105.503.52.871 1.173 1.14 1.944.267.754.385 1.708.385 2.83 0 .99-.118 1.844-.369 2.547-.302.871-.72 1.592-1.273 2.128-.419.402-.989.72-1.709.955-.536.167-1.24.251-2.144.251H6.969V6.005zm2.43 2.027v7.94h1.808c.67 0 1.156-.033 1.458-.1.402-.1.72-.268.972-.502.268-.235.485-.62.636-1.156.168-.536.251-1.273.251-2.195 0-.938-.083-1.641-.25-2.144-.152-.486-.386-.888-.688-1.156-.285-.285-.67-.469-1.122-.57-.335-.067-.989-.117-1.977-.117H9.398z"};if(!a.hasOwnProperty(t))return null;var i="0 0 20 20";return"p"!==t&&"div"!==t||(i="0 0 24 24"),Object(l.createElement)(C.SVG,{width:"24",height:"24",viewBox:i,xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(C.Path,{d:a[t]}))}function ca(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}Object(la.registerFormatType)("generateblocks/mark",na);var sa=/[\s#]/g,ga=[],ba=function(e){f()(a,e);var t=ca(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).getFontSizePlaceholder=e.getFontSizePlaceholder.bind(d()(e)),e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e.state={selectedDevice:"Desktop",fontSizePlaceholder:"17"},e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-","");this.props.attributes.uniqueId?ga.includes(this.props.attributes.uniqueId)?(this.props.setAttributes({uniqueId:e}),ga.push(e)):ga.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),ga.push(e));var t=this.getFontSizePlaceholder();t!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:t}),!this.props.attributes.hasIcon&&this.props.attributes.icon&&this.props.setAttributes({hasIcon:!0})}},{key:"componentDidUpdate",value:function(){var e=this.getFontSizePlaceholder();e!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:e})}},{key:"getFontSizePlaceholder",value:function(){var e="25";if("em"===this.props.attributes.fontSizeUnit)e="1";else if("%"===this.props.attributes.fontSizeUnit)e="100";else{var t=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId);t&&(e=parseFloat(window.getComputedStyle(t).fontSize))}return e}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=this.state.fontSizePlaceholder,s=i.uniqueId,g=i.anchor,b=i.className,u=i.content,d=i.element,p=i.alignment,f=i.alignmentTablet,h=i.alignmentMobile,m=i.backgroundColor,k=i.backgroundColorOpacity,y=i.textColor,v=i.linkColor,O=i.linkColorHover,S=i.borderColor,D=i.borderColorOpacity,R=i.highlightTextColor,x=i.fontFamily,M=i.googleFont,z=i.googleFontVariants,L=i.marginTop,P=i.marginRight,F=i.marginBottom,A=i.marginLeft,U=i.icon,H=i.hasIcon,N=i.iconColor,I=i.iconColorOpacity,G=i.iconLocation,V=i.iconLocationTablet,q=i.iconLocationMobile,W=i.iconVerticalAlignment,Z=i.iconVerticalAlignmentTablet,K=i.iconVerticalAlignmentMobile,J=i.iconSize,X=i.iconSizeTablet,$=i.iconSizeMobile,ee=i.iconSizeUnit,te=i.inlineWidth,ae=i.inlineWidthTablet,le=i.inlineWidthMobile,ie=i.removeText,re=i.ariaLabel,ne="";z&&(ne=":"+z);var oe="";oe=X||0===X?X:J||0===J?J:"";var ce={className:w()((e={"gb-headline":!0},o()(e,"gb-headline-".concat(s),!0),o()(e,"gb-headline-text",!H),o()(e,b,void 0!==b),e)),id:g||null};return ce=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",ce,"generateblocks/headline",i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,{isCollapsed:!0,icon:Object(l.createElement)(oa,{level:d}),label:Object(T.__)("Change Headline Element","generateblocks"),controls:[{isActive:"h1"===d,icon:Object(l.createElement)(oa,{level:"h1"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
10 |
Object(T.__)("Heading %s","generateblocks"),"1"),onClick:function(){n({element:"h1"})}},{isActive:"h2"===d,icon:Object(l.createElement)(oa,{level:"h2"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
11 |
Object(T.__)("Heading %s","generateblocks"),"2"),onClick:function(){n({element:"h2"})}},{isActive:"h3"===d,icon:Object(l.createElement)(oa,{level:"h3"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
12 |
Object(T.__)("Heading %s","generateblocks"),"3"),onClick:function(){n({element:"h3"})}},{isActive:"h4"===d,icon:Object(l.createElement)(oa,{level:"h4"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
13 |
Object(T.__)("Heading %s","generateblocks"),"4"),onClick:function(){n({element:"h4"})}},{isActive:"h5"===d,icon:Object(l.createElement)(oa,{level:"h5"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
14 |
Object(T.__)("Heading %s","generateblocks"),"5"),onClick:function(){n({element:"h5"})}},{isActive:"h6"===d,icon:Object(l.createElement)(oa,{level:"h6"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
15 |
-
Object(T.__)("Heading %s","generateblocks"),"6"),onClick:function(){n({element:"h6"})}},{isActive:"p"===d,icon:Object(l.createElement)(oa,{level:"p"}),title:Object(T.__)("Paragraph","generateblocks"),onClick:function(){n({element:"p"})}},{isActive:"div"===d,icon:Object(l.createElement)(oa,{level:"div"}),title:Object(T.__)("Div","generateblocks"),onClick:function(){n({element:"div"})}}]}),"Desktop"===this.getDeviceType()&&!te&&Object(l.createElement)(Q.AlignmentToolbar,{value:p,onChange:function(e){n({alignment:e})}}),"Tablet"===this.getDeviceType()&&!ae&&Object(l.createElement)(Q.AlignmentToolbar,{value:f,onChange:function(e){n({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&!le&&Object(l.createElement)(Q.AlignmentToolbar,{value:h,onChange:function(e){n({alignmentMobile:e})}})),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),Object(l.createElement)(Y,r()({},this.props,{id:"headlineElement",state:this.state,showPanel:"Desktop"===this.getDeviceType()}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Tag Name","generateblocks"),value:d,options:[{label:"h1",value:"h1"},{label:"h2",value:"h2"},{label:"h3",value:"h3"},{label:"h4",value:"h4"},{label:"h5",value:"h5"},{label:"h6",value:"h6"},{label:"paragraph",value:"p"},{label:"div",value:"div"}],onChange:function(e){n({element:e}),L||P||F||A||n("p"===e?{marginUnit:"em"}:{marginUnit:generateBlocksDefaults.headline.marginUnit})}}),Object(_.applyFilters)("generateblocks.editor.controls","","headlineElement",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Typography","generateblocks"),initialOpen:!1,icon:j("typography"),className:"gblocks-panel-label",id:"headlineTypography",state:this.state,showPanel:!ie||!1}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,showLineHeight:!0,showLetterSpacing:!0,fontSizePlaceholder:c,defaultFontSize:generateBlocksDefaults.headline.fontSize,defaultFontSizeUnit:generateBlocksDefaults.headline.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.headline.lineHeight,defaultLineHeightUnit:generateBlocksDefaults.headline.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.headline.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Tablet",showFontSize:!0,showLineHeight:!0,showLetterSpacing:!0,defaultFontSize:generateBlocksDefaults.headline.fontSizeTablet,defaultFontSizeUnit:generateBlocksDefaults.headline.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.headline.lineHeightTablet,defaultLineHeightUnit:generateBlocksDefaults.headline.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.headline.letterSpacingTablet}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Mobile",showFontSize:!0,showLineHeight:!0,showLetterSpacing:!0,defaultFontSize:generateBlocksDefaults.headline.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.headline.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.headline.lineHeightMobile,defaultLineHeightUnit:generateBlocksDefaults.headline.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.headline.letterSpacingMobile}))),Object(_.applyFilters)("generateblocks.editor.controls","","headlineTypography",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Spacing","generateblocks"),initialOpen:!1,icon:j("spacing"),className:"gblocks-panel-label",id:"headlineSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Inline Width","generateblocks"),checked:!!te,onChange:function(e){n({inlineWidth:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",block:"headline",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.headline,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Inline Width","generateblocks"),checked:!!ae,onChange:function(e){n({inlineWidthTablet:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",block:"headline",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.headline,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Inline Width","generateblocks"),checked:!!le,onChange:function(e){n({inlineWidthMobile:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",block:"headline",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.headline,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),Object(_.applyFilters)("generateblocks.editor.controls","","headlineSpacing",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Colors","generateblocks"),initialOpen:!1,icon:j("colors"),className:"gblocks-panel-label",id:"headlineColors",state:this.state,showPanel:"Desktop"===this.getDeviceType()||!1}),Object(l.createElement)(ke,{label:Object(T.__)("Background Color","generateblocks"),value:m,alpha:!0,valueOpacity:k,attrOpacity:"backgroundColorOpacity",onChange:function(e){return n({backgroundColor:e})},onOpacityChange:function(e){return n({backgroundColorOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Text Color","generateblocks"),value:y,alpha:!1,onChange:function(e){return n({textColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Link Color","generateblocks"),value:v,alpha:!1,onChange:function(e){return n({linkColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Link Color Hover","generateblocks"),value:O,alpha:!1,onChange:function(e){return n({linkColorHover:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Border Color","generateblocks"),value:S,alpha:!0,valueOpacity:D,attrOpacity:"borderColorOpacity",onChange:function(e){return n({borderColor:e})},onOpacityChange:function(e){return n({borderColorOpacity:e})}}),U&&Object(l.createElement)(ke,{label:Object(T.__)("Icon Color","generateblocks"),value:N,alpha:!0,valueOpacity:I,attrOpacity:"iconColorOpacity",onChange:function(e){return n({iconColor:e})},onOpacityChange:function(e){return n({iconColorOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Highlight Text","generateblocks"),value:R,alpha:!1,onChange:function(e){return n({highlightTextColor:e})}})),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Icon","generateblocks"),initialOpen:!1,icon:j("icons"),className:"gblocks-panel-label",id:"headlineIcon",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!U)}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(jt,r()({},this.props,{attrIcon:"icon",attrRemoveText:"removeText",attrAriaLabel:"ariaLabel"})),"Desktop"===this.getDeviceType()&&!!U&&Object(l.createElement)(l.Fragment,null,!ie&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Location","generateblocks"),value:G,options:[{label:Object(T.__)("Inline","generateblocks"),value:"inline"},{label:Object(T.__)("Above","generateblocks"),value:"above"}],onChange:function(e){n({iconLocation:e,iconPaddingRight:"inline"===e?"0.5":"",iconPaddingBottom:"above"===e?"0.5":""})}}),"inline"===G&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Alignment","generateblocks"),value:W,options:[{label:Object(T.__)("Top","generateblocks"),value:"top"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"bottom"}],onChange:function(e){n({iconVerticalAlignment:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTop",attrRight:"iconPaddingRight",attrBottom:"iconPaddingBottom",attrLeft:"iconPaddingLeft",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:ee,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:J||0===J?J:"",step:"em"===ee?.1:1,onChange:function(e){n({iconSize:e})},onBlur:function(){n({iconSize:parseFloat(J)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSize:generateBlocksDefaults.headline.iconSize})}},Object(T.__)("Reset","generateblocks")))),"Tablet"===this.getDeviceType()&&!!U&&Object(l.createElement)(l.Fragment,null,!ie&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Location","generateblocks"),value:V,options:[{label:Object(T.__)("Inherit","generateblocks"),value:""},{label:Object(T.__)("Inline","generateblocks"),value:"inline"},{label:Object(T.__)("Above","generateblocks"),value:"above"}],onChange:function(e){n({iconLocationTablet:e,iconPaddingRightTablet:"inline"===e?"0.5":"",iconPaddingBottomTablet:"above"===e?"0.5":""})}}),"inline"===V&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Alignment","generateblocks"),value:Z,options:[{label:Object(T.__)("Inherit","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"top"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"bottom"}],onChange:function(e){n({iconVerticalAlignmentTablet:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTopTablet",attrRight:"iconPaddingRightTablet",attrBottom:"iconPaddingBottomTablet",attrLeft:"iconPaddingLeftTablet",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:ee,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:X||0===X?X:"",step:"em"===ee?.1:1,placeholder:J||0===J?J:"",onChange:function(e){n({iconSizeTablet:e})},onBlur:function(){n({iconSizeTablet:parseFloat(X)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSizeTablet:generateBlocksDefaults.headline.iconSizeTablet})}},Object(T.__)("Reset","generateblocks")))),"Mobile"===this.getDeviceType()&&!!U&&Object(l.createElement)(l.Fragment,null,!ie&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Location","generateblocks"),value:q,options:[{label:Object(T.__)("Inherit","generateblocks"),value:""},{label:Object(T.__)("Inline","generateblocks"),value:"inline"},{label:Object(T.__)("Above","generateblocks"),value:"above"}],onChange:function(e){n({iconLocationMobile:e,iconPaddingRightMobile:"inline"===e?"0.5":"",iconPaddingBottomMobile:"above"===e?"0.5":""})}}),"inline"===q&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Alignment","generateblocks"),value:K,options:[{label:Object(T.__)("Inherit","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"top"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"bottom"}],onChange:function(e){n({iconVerticalAlignmentMobile:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTopMobile",attrRight:"iconPaddingRightMobile",attrBottom:"iconPaddingBottomMobile",attrLeft:"iconPaddingLeftMobile",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:ee,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:$||0===$?$:"",step:"em"===ee?.1:1,placeholder:oe,onChange:function(e){n({iconSizeMobile:e})},onBlur:function(){n({iconSizeMobile:parseFloat($)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSizeMobile:generateBlocksDefaults.headline.iconSizeMobile})}},Object(T.__)("Reset","generateblocks")))),Object(_.applyFilters)("generateblocks.editor.controls","","headlineIcon",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),icon:j("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"headlineDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/headline/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(_.applyFilters)("generateblocks.editor.controls","","headlineDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:g||"",onChange:function(e){e=e.replace(sa,"-"),n({anchor:e})}})),Object(l.createElement)(Kt,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(Yt,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(Xt,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(ea,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(aa,this.props)),x&&M&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+x.replace(/ /g,"+")+ne}),Object(_.applyFilters)("generateblocks.editor.beforeHeadlineElement","",this.props),Object(l.createElement)(fe,{tagName:d,htmlAttrs:ce},H&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"gb-icon","aria-label":ie&&re?re:void 0,dangerouslySetInnerHTML:{__html:Be(U)}}),!ie&&Object(l.createElement)("span",{className:"gb-headline-text"},Object(l.createElement)(Q.RichText,{tagName:"span",value:u,onChange:function(e){return n({content:e})},placeholder:Object(T.__)("Headline","generateblocks"),keepPlaceholderOnFocus:!0,allowedFormats:Object(_.applyFilters)("generateblocks.editor.headlineDisableFormatting",!1,this.props)?[]:null}))),!H&&!ie&&Object(l.createElement)(Q.RichText,{tagName:"span",value:u,onChange:function(e){return n({content:e})},placeholder:Object(T.__)("Headline","generateblocks"),keepPlaceholderOnFocus:!0,allowedFormats:Object(_.applyFilters)("generateblocks.editor.headlineDisableFormatting",!1,this.props)?[]:null})))}}]),a}(l.Component),ua=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?{deviceType:t()}:{deviceType:null}}))])(ba),da={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},content:{type:"string",source:"html",selector:".gb-headline-text"},element:{type:"string",default:"h2"},alignment:{type:"string",default:generateBlocksDefaults.headline.alignment},alignmentTablet:{type:"string",default:generateBlocksDefaults.headline.alignmentTablet},alignmentMobile:{type:"string",default:generateBlocksDefaults.headline.alignmentMobile},backgroundColor:{type:"string",default:generateBlocksDefaults.headline.backgroundColor},backgroundColorOpacity:{type:"number",default:generateBlocksDefaults.headline.backgroundColorOpacity},textColor:{type:"string",default:generateBlocksDefaults.headline.textColor},linkColor:{type:"string",default:generateBlocksDefaults.headline.linkColor},linkColorHover:{type:"string",default:generateBlocksDefaults.headline.linkColorHover},borderColor:{type:"string",default:generateBlocksDefaults.headline.borderColor},borderColorOpacity:{type:"number",default:generateBlocksDefaults.headline.borderColorOpacity},highlightTextColor:{type:"string",default:generateBlocksDefaults.headline.highlightTextColor},showAdvancedTypography:{type:"boolean",default:generateBlocksDefaults.headline.showAdvancedTypography},fontFamily:{type:"string",default:generateBlocksDefaults.headline.fontFamily},fontFamilyFallback:{type:"string",default:generateBlocksDefaults.headline.fontFamilyFallback},googleFont:{type:"boolean",default:generateBlocksDefaults.headline.googleFont},googleFontVariants:{type:"string",default:generateBlocksDefaults.headline.googleFontVariants},fontWeight:{type:"string",default:generateBlocksDefaults.headline.fontWeight},fontSize:{type:"number",default:generateBlocksDefaults.headline.fontSize},fontSizeTablet:{type:"number",default:generateBlocksDefaults.headline.fontSizeTablet},fontSizeMobile:{type:"number",default:generateBlocksDefaults.headline.fontSizeMobile},fontSizeUnit:{type:"string",default:generateBlocksDefaults.headline.fontSizeUnit},textTransform:{type:"string",default:""},lineHeight:{type:"number",default:generateBlocksDefaults.headline.lineHeight},lineHeightTablet:{type:"number",default:generateBlocksDefaults.headline.lineHeightTablet},lineHeightMobile:{type:"number",default:generateBlocksDefaults.headline.lineHeightMobile},lineHeightUnit:{type:"string",default:generateBlocksDefaults.headline.lineHeightUnit},letterSpacing:{type:"number",default:generateBlocksDefaults.headline.letterSpacing},letterSpacingTablet:{type:"number",default:generateBlocksDefaults.headline.letterSpacingTablet},letterSpacingMobile:{type:"number",default:generateBlocksDefaults.headline.letterSpacingMobile},marginTop:{type:"string",default:generateBlocksDefaults.headline.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.headline.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.headline.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.headline.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.headline.marginUnit},marginSyncUnits:{type:"boolean",default:!1},marginTopTablet:{type:"string",default:generateBlocksDefaults.headline.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.headline.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.headline.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.headline.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.headline.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.headline.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.headline.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.headline.marginLeftMobile},paddingTop:{type:"string",default:generateBlocksDefaults.headline.paddingTop},paddingRight:{type:"string",default:generateBlocksDefaults.headline.paddingRight},paddingBottom:{type:"string",default:generateBlocksDefaults.headline.paddingBottom},paddingLeft:{type:"string",default:generateBlocksDefaults.headline.paddingLeft},paddingTopTablet:{type:"string",default:generateBlocksDefaults.headline.paddingTopTablet},paddingRightTablet:{type:"string",default:generateBlocksDefaults.headline.paddingRightTablet},paddingBottomTablet:{type:"string",default:generateBlocksDefaults.headline.paddingBottomTablet},paddingLeftTablet:{type:"string",default:generateBlocksDefaults.headline.paddingLeftTablet},paddingTopMobile:{type:"string",default:generateBlocksDefaults.headline.paddingTopMobile},paddingRightMobile:{type:"string",default:generateBlocksDefaults.headline.paddingRightMobile},paddingBottomMobile:{type:"string",default:generateBlocksDefaults.headline.paddingBottomMobile},paddingLeftMobile:{type:"string",default:generateBlocksDefaults.headline.paddingLeftMobile},paddingUnit:{type:"string",default:generateBlocksDefaults.headline.paddingUnit},paddingSyncUnits:{type:"boolean",default:!1},borderSizeTop:{type:"string",default:generateBlocksDefaults.headline.borderSizeTop},borderSizeRight:{type:"string",default:generateBlocksDefaults.headline.borderSizeRight},borderSizeBottom:{type:"string",default:generateBlocksDefaults.headline.borderSizeBottom},borderSizeLeft:{type:"string",default:generateBlocksDefaults.headline.borderSizeLeft},borderSizeTopTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeTopTablet},borderSizeRightTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeRightTablet},borderSizeBottomTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeBottomTablet},borderSizeLeftTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeLeftTablet},borderSizeTopMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeTopMobile},borderSizeRightMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeRightMobile},borderSizeBottomMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeBottomMobile},borderSizeLeftMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeLeftMobile},borderRadiusTopRight:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopRight},borderRadiusBottomRight:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomRight},borderRadiusBottomLeft:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomLeft},borderRadiusTopLeft:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopLeft},borderRadiusUnit:{type:"string",default:generateBlocksDefaults.headline.borderRadiusUnit},borderRadiusTopRightTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopRightTablet},borderRadiusBottomRightTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomRightTablet},borderRadiusBottomLeftTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomLeftTablet},borderRadiusTopLeftTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopLeftTablet},borderRadiusTopRightMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopRightMobile},borderRadiusBottomRightMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomRightMobile},borderRadiusBottomLeftMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomLeftMobile},borderRadiusTopLeftMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopLeftMobile},icon:{type:"string",source:"html",selector:".gb-icon"},hasIcon:{type:"boolean",default:!1},iconColor:{type:"string",default:generateBlocksDefaults.headline.iconColor},iconColorOpacity:{type:"number",default:generateBlocksDefaults.headline.iconColorOpacity},customIcon:{type:"boolean",default:!1},iconLocation:{type:"string",default:generateBlocksDefaults.headline.iconLocation},iconLocationTablet:{type:"string",default:generateBlocksDefaults.headline.iconLocationTablet},iconLocationMobile:{type:"string",default:generateBlocksDefaults.headline.iconLocationMobile},iconVerticalAlignment:{type:"string",default:generateBlocksDefaults.headline.iconVerticalAlignment},iconVerticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.headline.iconVerticalAlignmentTablet},iconVerticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.headline.iconVerticalAlignmentMobile},iconPaddingTop:{type:"string",default:generateBlocksDefaults.headline.iconPaddingTop},iconPaddingRight:{type:"string",default:generateBlocksDefaults.headline.iconPaddingRight},iconPaddingBottom:{type:"string",default:generateBlocksDefaults.headline.iconPaddingBottom},iconPaddingLeft:{type:"string",default:generateBlocksDefaults.headline.iconPaddingLeft},iconPaddingTopTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingTopTablet},iconPaddingRightTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingRightTablet},iconPaddingBottomTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingBottomTablet},iconPaddingLeftTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingLeftTablet},iconPaddingTopMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingTopMobile},iconPaddingRightMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingRightMobile},iconPaddingBottomMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingBottomMobile},iconPaddingLeftMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingLeftMobile},iconPaddingUnit:{type:"string",default:generateBlocksDefaults.headline.iconPaddingUnit},iconPaddingSyncUnits:{type:"boolean",default:!1},iconSize:{type:"number",default:generateBlocksDefaults.headline.iconSize},iconSizeTablet:{type:"number",default:generateBlocksDefaults.headline.iconSizeTablet},iconSizeMobile:{type:"number",default:generateBlocksDefaults.headline.iconSizeMobile},iconSizeUnit:{type:"string",default:generateBlocksDefaults.headline.iconSizeUnit},inlineWidth:{type:"boolean",default:generateBlocksDefaults.headline.inlineWidth},inlineWidthTablet:{type:"boolean",default:generateBlocksDefaults.headline.inlineWidthTablet},inlineWidthMobile:{type:"boolean",default:generateBlocksDefaults.headline.inlineWidthMobile},removeText:{type:"boolean",default:generateBlocksDefaults.headline.removeText},ariaLabel:{type:"string",default:generateBlocksDefaults.headline.ariaLabel},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}},pa={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(X.createBlock)("generateblocks/headline",{content:t})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(X.createBlock)("generateblocks/headline",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(X.createBlock)("core/paragraph",{content:t})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(X.createBlock)("core/heading",{content:t})}}]};function fa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function ha(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?fa(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):fa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var ma=[{attributes:ha(ha({},da),{},{content:{type:"array",source:"children",selector:"p,h1,h2,h3,h4,h5,h6"}}),supports:{anchor:!1,className:!1,customClassName:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor,l=e.element?e.element:generateBlocksDefaults.headline.element;return e.icon&&e.removeText&&"div"!==l&&(l="div"),ha(ha({},e),{},{className:t,anchor:a,cssClasses:"",elementId:"",element:l})},save:function(e){var t,a=e.attributes,i=a.uniqueId,n=a.elementId,c=a.cssClasses,s=a.element,g=a.content,b=a.icon,u=a.removeText,d=a.ariaLabel,p={id:n||void 0,className:w()((t={"gb-headline":!0},o()(t,"gb-headline-".concat(i),!0),o()(t,"".concat(c),""!==c),t))};return p=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",p,"generateblocks/headline",a),Object(l.createElement)((function(e){var t=e.condition,a=e.wrap,l=e.children;return t?a(l):l}),{condition:b,wrap:function(e){return Object(l.createElement)("div",{className:w()(o()({"gb-headline-wrapper":!0},"gb-headline-wrapper-".concat(i),!0))},e)}},b&&Object(l.createElement)("span",{className:"gb-icon","aria-label":u&&d?d:void 0,dangerouslySetInnerHTML:{__html:Be(b)}}),!u&&Object(l.createElement)(Q.RichText.Content,r()({tagName:s,value:g},p)))}},{attributes:ha(ha({},da),{},{element:{type:"string",default:"p"},content:{type:"array",source:"children",selector:"p,h1,h2,h3,h4,h5,h6"}}),save:function(e){var t,a=e.attributes,i=a.uniqueId,n=a.elementId,c=a.cssClasses,s=a.element,g=a.content,b=a.icon,u=a.removeText,d=a.ariaLabel,p={id:n||void 0,className:w()((t={"gb-headline":!0},o()(t,"gb-headline-".concat(i),!0),o()(t,"".concat(c),""!==c),t))};return p=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",p,"generateblocks/headline",a),Object(l.createElement)((function(e){var t=e.condition,a=e.wrap,l=e.children;return t?a(l):l}),{condition:b,wrap:function(e){return Object(l.createElement)("div",{className:w()(o()({"gb-headline-wrapper":!0},"gb-headline-wrapper-".concat(i),!0))},e)}},b&&Object(l.createElement)("span",{className:"gb-icon","aria-label":u&&d?d:void 0,dangerouslySetInnerHTML:{__html:Be(b)}}),!u&&Object(l.createElement)(Q.RichText.Content,r()({tagName:s,value:g},p)))}}];Object(X.registerBlockType)("generateblocks/headline",{title:Object(T.__)("Headline","generateblocks"),description:Object(T.__)("Craft text-rich content with advanced typography.","generateblocks"),icon:j("headline"),category:"generateblocks",keywords:[Object(T.__)("heading"),Object(T.__)("headline"),Object(T.__)("title"),Object(T.__)("generate")],attributes:da,supports:{className:!1},edit:ua,save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.className,n=a.anchor,c=a.element,s=a.content,g=a.icon,b=a.removeText,u=a.ariaLabel,d={className:w()((t={"gb-headline":!0},o()(t,"gb-headline-".concat(i),!0),o()(t,"gb-headline-text",!g),o()(t,r,void 0!==r),t)),id:n||null};return d=Object(_.applyFilters)("generateblocks.frontend.htmlAttributes",d,"generateblocks/headline",a),Object(l.createElement)(fe,{tagName:c,htmlAttrs:d},!!g&&Object(l.createElement)("span",{className:"gb-icon","aria-label":b&&u?u:void 0,dangerouslySetInnerHTML:{__html:Be(g)}}),!b&&Object(l.createElement)(Q.RichText.Content,{value:s,tagName:g?"span":null,className:g?"gb-headline-text":null}))},transforms:pa,deprecated:ma});a(45)}]);
|
1 |
+
!function(e){var t={};function a(l){if(t[l])return t[l].exports;var i=t[l]={i:l,l:!1,exports:{}};return e[l].call(i.exports,i,i.exports,a),i.l=!0,i.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)a.d(l,i,function(t){return e[t]}.bind(null,i));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=48)}([function(e,t){!function(){e.exports=this.wp.element}()},function(e,t){!function(){e.exports=this.wp.i18n}()},function(e,t){!function(){e.exports=this.wp.components}()},function(e,t){!function(){e.exports=this.wp.hooks}()},function(e,t){function a(t){return e.exports=a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(t)}e.exports=a},function(e,t){e.exports=function(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}},function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e},a.apply(this,arguments)}e.exports=a},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function a(e,t){for(var a=0;a<t.length;a++){var l=t[a];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(e,l.key,l)}}e.exports=function(e,t,l){return t&&a(e.prototype,t),l&&a(e,l),e}},function(e,t,a){var l=a(20);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}},function(e,t,a){var l=a(18),i=a(13);e.exports=function(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?i(e):t}},function(e,t){!function(){e.exports=this.wp.blockEditor}()},function(e,t,a){var l;!function(){"use strict";var a={}.hasOwnProperty;function i(){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 n=i.apply(null,l);n&&e.push(n)}else if("object"===r)for(var o in l)a.call(l,o)&&l[o]&&e.push(o)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(l=function(){return i}.apply(t,[]))||(e.exports=l)}()},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){!function(){e.exports=this.wp.blocks}()},function(e,t){!function(){e.exports=this.wp.data}()},function(e,t,a){var l=a(33),i=a(34),r=a(23),n=a(35);e.exports=function(e){return l(e)||i(e)||r(e)||n()}},function(e,t){!function(){e.exports=this.wp.compose}()},function(e,t){function a(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=a=function(e){return typeof e}:e.exports=a=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(t)}e.exports=a},function(e,t,a){var l=a(29),i=a(30),r=a(23),n=a(31);e.exports=function(e,t){return l(e)||i(e,t)||r(e,t)||n()}},function(e,t){function a(t,l){return e.exports=a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(t,l)}e.exports=a},function(e,t){!function(){e.exports=this.wp.richText}()},,function(e,t,a){var l=a(24);e.exports=function(e,t){if(e){if("string"==typeof e)return l(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?l(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=e[a];return l}},function(e,t,a){e.exports=function(){"use strict";var e=Object.hasOwnProperty,t=Object.setPrototypeOf,a=Object.isFrozen,l=Object.freeze,i=Object.seal,r=Object.create,n="undefined"!=typeof Reflect&&Reflect,o=n.apply,c=n.construct;o||(o=function(e,t,a){return e.apply(t,a)}),l||(l=function(e){return e}),i||(i=function(e){return e}),c||(c=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(function(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}(t))))});var s,g=v(Array.prototype.forEach),b=v(Array.prototype.pop),u=v(Array.prototype.push),d=v(String.prototype.toLowerCase),p=v(String.prototype.match),f=v(String.prototype.replace),h=v(String.prototype.indexOf),m=v(String.prototype.trim),k=v(RegExp.prototype.test),y=(s=TypeError,function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return c(s,t)});function v(e){return function(t){for(var a=arguments.length,l=Array(a>1?a-1:0),i=1;i<a;i++)l[i-1]=arguments[i];return o(e,t,l)}}function w(e,l){t&&t(e,null);for(var i=l.length;i--;){var r=l[i];if("string"==typeof r){var n=d(r);n!==r&&(a(l)||(l[i]=n),r=n)}e[r]=!0}return e}function O(t){var a=r(null),l=void 0;for(l in t)o(e,t,[l])&&(a[l]=t[l]);return a}var j=l(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),T=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),C=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),S=l(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),_=l(["#text"]),B=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns"]),D=l(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),E=l(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),R=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),x=i(/\{\{[\s\S]*|[\s\S]*\}\}/gm),M=i(/<%[\s\S]*|[\s\S]*%>/gm),z=i(/^data-[\-\w.\u00B7-\uFFFF]/),L=i(/^aria-[\-\w]+$/),P=i(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),F=i(/^(?:\w+script|data):/i),A=i(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function H(e){if(Array.isArray(e)){for(var t=0,a=Array(e.length);t<e.length;t++)a[t]=e[t];return a}return Array.from(e)}var N=function(){return"undefined"==typeof window?null:window},I=function(e,t){if("object"!==(void 0===e?"undefined":U(e))||"function"!=typeof e.createPolicy)return null;var a=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(a=t.currentScript.getAttribute("data-tt-policy-suffix"));var l="dompurify"+(a?"#"+a:"");try{return e.createPolicy(l,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+l+" could not be created."),null}};return function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N(),a=function(t){return e(t)};if(a.version="2.2.4",a.removed=[],!t||!t.document||9!==t.document.nodeType)return a.isSupported=!1,a;var i=t.document,r=t.document,n=t.DocumentFragment,o=t.HTMLTemplateElement,c=t.Node,s=t.NodeFilter,v=t.NamedNodeMap,G=void 0===v?t.NamedNodeMap||t.MozNamedAttrMap:v,V=t.Text,q=t.Comment,W=t.DOMParser,Z=t.trustedTypes;if("function"==typeof o){var K=r.createElement("template");K.content&&K.content.ownerDocument&&(r=K.content.ownerDocument)}var J=I(Z,i),Y=J&&Be?J.createHTML(""):"",Q=r,X=Q.implementation,$=Q.createNodeIterator,ee=Q.getElementsByTagName,te=Q.createDocumentFragment,ae=i.importNode,le={};try{le=O(r).documentMode?r.documentMode:{}}catch(e){}var ie={};a.isSupported=X&&void 0!==X.createHTMLDocument&&9!==le;var re=x,ne=M,oe=z,ce=L,se=F,ge=A,be=P,ue=null,de=w({},[].concat(H(j),H(T),H(C),H(S),H(_))),pe=null,fe=w({},[].concat(H(B),H(D),H(E),H(R))),he=null,me=null,ke=!0,ye=!0,ve=!1,we=!1,Oe=!1,je=!1,Te=!1,Ce=!1,Se=!1,_e=!0,Be=!1,De=!0,Ee=!0,Re=!1,xe={},Me=w({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),ze=null,Le=w({},["audio","video","img","source","image","track"]),Pe=null,Fe=w({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ae=null,Ue=r.createElement("form"),He=function(e){Ae&&Ae===e||(e&&"object"===(void 0===e?"undefined":U(e))||(e={}),e=O(e),ue="ALLOWED_TAGS"in e?w({},e.ALLOWED_TAGS):de,pe="ALLOWED_ATTR"in e?w({},e.ALLOWED_ATTR):fe,Pe="ADD_URI_SAFE_ATTR"in e?w(O(Fe),e.ADD_URI_SAFE_ATTR):Fe,ze="ADD_DATA_URI_TAGS"in e?w(O(Le),e.ADD_DATA_URI_TAGS):Le,he="FORBID_TAGS"in e?w({},e.FORBID_TAGS):{},me="FORBID_ATTR"in e?w({},e.FORBID_ATTR):{},xe="USE_PROFILES"in e&&e.USE_PROFILES,ke=!1!==e.ALLOW_ARIA_ATTR,ye=!1!==e.ALLOW_DATA_ATTR,ve=e.ALLOW_UNKNOWN_PROTOCOLS||!1,we=e.SAFE_FOR_TEMPLATES||!1,Oe=e.WHOLE_DOCUMENT||!1,Ce=e.RETURN_DOM||!1,Se=e.RETURN_DOM_FRAGMENT||!1,_e=!1!==e.RETURN_DOM_IMPORT,Be=e.RETURN_TRUSTED_TYPE||!1,Te=e.FORCE_BODY||!1,De=!1!==e.SANITIZE_DOM,Ee=!1!==e.KEEP_CONTENT,Re=e.IN_PLACE||!1,be=e.ALLOWED_URI_REGEXP||be,we&&(ye=!1),Se&&(Ce=!0),xe&&(ue=w({},[].concat(H(_))),pe=[],!0===xe.html&&(w(ue,j),w(pe,B)),!0===xe.svg&&(w(ue,T),w(pe,D),w(pe,R)),!0===xe.svgFilters&&(w(ue,C),w(pe,D),w(pe,R)),!0===xe.mathMl&&(w(ue,S),w(pe,E),w(pe,R))),e.ADD_TAGS&&(ue===de&&(ue=O(ue)),w(ue,e.ADD_TAGS)),e.ADD_ATTR&&(pe===fe&&(pe=O(pe)),w(pe,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&w(Pe,e.ADD_URI_SAFE_ATTR),Ee&&(ue["#text"]=!0),Oe&&w(ue,["html","head","body"]),ue.table&&(w(ue,["tbody"]),delete he.tbody),l&&l(e),Ae=e)},Ne=function(e){u(a.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=Y}catch(t){e.remove()}}},Ie=function(e,t){try{u(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){u(a.removed,{attribute:null,from:t})}t.removeAttribute(e)},Ge=function(e){var t=void 0,a=void 0;if(Te)e="<remove></remove>"+e;else{var l=p(e,/^[\r\n\t ]+/);a=l&&l[0]}var i=J?J.createHTML(e):e;try{t=(new W).parseFromString(i,"text/html")}catch(e){}if(!t||!t.documentElement){var n=(t=X.createHTMLDocument("")).body;n.parentNode.removeChild(n.parentNode.firstElementChild),n.outerHTML=i}return e&&a&&t.body.insertBefore(r.createTextNode(a),t.body.childNodes[0]||null),ee.call(t,Oe?"html":"body")[0]},Ve=function(e){return $.call(e.ownerDocument||e,e,s.SHOW_ELEMENT|s.SHOW_COMMENT|s.SHOW_TEXT,(function(){return s.FILTER_ACCEPT}),!1)},qe=function(e){return!(e instanceof V||e instanceof q||"string"==typeof e.nodeName&&"string"==typeof e.textContent&&"function"==typeof e.removeChild&&e.attributes instanceof G&&"function"==typeof e.removeAttribute&&"function"==typeof e.setAttribute&&"string"==typeof e.namespaceURI)},We=function(e){return"object"===(void 0===c?"undefined":U(c))?e instanceof c:e&&"object"===(void 0===e?"undefined":U(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Ze=function(e,t,l){ie[e]&&g(ie[e],(function(e){e.call(a,t,l,Ae)}))},Ke=function(e){var t=void 0;if(Ze("beforeSanitizeElements",e,null),qe(e))return Ne(e),!0;if(p(e.nodeName,/[\u0080-\uFFFF]/))return Ne(e),!0;var l=d(e.nodeName);if(Ze("uponSanitizeElement",e,{tagName:l,allowedTags:ue}),!We(e.firstElementChild)&&(!We(e.content)||!We(e.content.firstElementChild))&&k(/<[/\w]/g,e.innerHTML)&&k(/<[/\w]/g,e.textContent))return Ne(e),!0;if(!ue[l]||he[l]){if(Ee&&!Me[l]&&"function"==typeof e.insertAdjacentHTML)try{var i=e.innerHTML;e.insertAdjacentHTML("AfterEnd",J?J.createHTML(i):i)}catch(e){}return Ne(e),!0}return"noscript"!==l&&"noembed"!==l||!k(/<\/no(script|embed)/i,e.innerHTML)?"math"===l&&We(e.firstElementChild)&&e.querySelectorAll(":not("+S.join("):not(")+")").length>0||"svg"===l&&e.querySelectorAll("p, br, table, form, noscript").length>0?(Ne(e),!0):(we&&3===e.nodeType&&(t=e.textContent,t=f(t,re," "),t=f(t,ne," "),e.textContent!==t&&(u(a.removed,{element:e.cloneNode()}),e.textContent=t)),Ze("afterSanitizeElements",e,null),!1):(Ne(e),!0)},Je=function(e,t,a){if(De&&("id"===t||"name"===t)&&(a in r||a in Ue))return!1;if(ye&&k(oe,t));else if(ke&&k(ce,t));else{if(!pe[t]||me[t])return!1;if(Pe[t]);else if(k(be,f(a,ge,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==h(a,"data:")||!ze[e])if(ve&&!k(se,f(a,ge,"")));else if(a)return!1}return!0},Ye=function(e){var t=void 0,l=void 0,i=void 0,r=void 0;Ze("beforeSanitizeAttributes",e,null);var n=e.attributes;if(n){var o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:pe};for(r=n.length;r--;){var c=t=n[r],s=c.name,g=c.namespaceURI;if(l=m(t.value),i=d(s),o.attrName=i,o.attrValue=l,o.keepAttr=!0,o.forceKeepAttr=void 0,Ze("uponSanitizeAttribute",e,o),l=o.attrValue,!o.forceKeepAttr&&(Ie(s,e),o.keepAttr))if(k(/\/>/i,l))Ie(s,e);else{we&&(l=f(l,re," "),l=f(l,ne," "));var u=e.nodeName.toLowerCase();if(Je(u,i,l))try{g?e.setAttributeNS(g,s,l):e.setAttribute(s,l),b(a.removed)}catch(e){}}}Ze("afterSanitizeAttributes",e,null)}},Qe=function e(t){var a=void 0,l=Ve(t);for(Ze("beforeSanitizeShadowDOM",t,null);a=l.nextNode();)Ze("uponSanitizeShadowNode",a,null),Ke(a)||(a.content instanceof n&&e(a.content),Ye(a));Ze("afterSanitizeShadowDOM",t,null)};return a.sanitize=function(e,l){var r=void 0,o=void 0,s=void 0,g=void 0,b=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!We(e)){if("function"!=typeof e.toString)throw y("toString is not a function");if("string"!=typeof(e=e.toString()))throw y("dirty is not a string, aborting")}if(!a.isSupported){if("object"===U(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(We(e))return t.toStaticHTML(e.outerHTML)}return e}if(je||He(l),a.removed=[],"string"==typeof e&&(Re=!1),Re);else if(e instanceof c)1===(o=(r=Ge("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Ce&&!we&&!Oe&&-1===e.indexOf("<"))return J&&Be?J.createHTML(e):e;if(!(r=Ge(e)))return Ce?null:Y}r&&Te&&Ne(r.firstChild);for(var u=Ve(Re?e:r);s=u.nextNode();)3===s.nodeType&&s===g||Ke(s)||(s.content instanceof n&&Qe(s.content),Ye(s),g=s);if(g=null,Re)return e;if(Ce){if(Se)for(b=te.call(r.ownerDocument);r.firstChild;)b.appendChild(r.firstChild);else b=r;return _e&&(b=ae.call(i,b,!0)),b}var d=Oe?r.outerHTML:r.innerHTML;return we&&(d=f(d,re," "),d=f(d,ne," ")),J&&Be?J.createHTML(d):d},a.setConfig=function(e){He(e),je=!0},a.clearConfig=function(){Ae=null,je=!1},a.isValidAttribute=function(e,t,a){Ae||He({});var l=d(e),i=d(t);return Je(l,i,a)},a.addHook=function(e,t){"function"==typeof t&&(ie[e]=ie[e]||[],u(ie[e],t))},a.removeHook=function(e){ie[e]&&b(ie[e])},a.removeHooks=function(e){ie[e]&&(ie[e]=[])},a.removeAllHooks=function(){ie={}},a}()}()},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var a=[],l=!0,i=!1,r=void 0;try{for(var n,o=e[Symbol.iterator]();!(l=(n=o.next()).done)&&(a.push(n.value),!t||a.length!==t);l=!0);}catch(e){i=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(i)throw r}}return a}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,a){},function(e,t,a){var l=a(24);e.exports=function(e){if(Array.isArray(e))return l(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},function(e,t,a){},,,function(e,t,a){"use strict";a.r(t);var l=a(0),i=(a(26),a(6)),r=a.n(i),n=a(5),o=a.n(n),c=a(7),s=a.n(c),g=a(8),b=a.n(g),u=a(13),d=a.n(u),p=a(9),f=a.n(p),h=a(10),m=a.n(h),k=a(4),y=a.n(k),v=a(12),w=a.n(v),O=wp.element.createElement;function j(e){return"tabs-desktop"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none"},O("path",{d:"M18.95 4H4.55C3.55589 4 2.75 4.76751 2.75 5.71429V14.2857C2.75 15.2325 3.55589 16 4.55 16H18.95C19.9441 16 20.75 15.2325 20.75 14.2857V5.71429C20.75 4.76751 19.9441 4 18.95 4Z",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),O("path",{d:"M1.75 18C1.19772 18 0.75 18.4477 0.75 19C0.75 19.5523 1.19772 20 1.75 20H21.75C22.3023 20 22.75 19.5523 22.75 19C22.75 18.4477 22.3023 18 21.75 18H1.75ZM9 18.8C8.86193 18.8 8.75 18.9119 8.75 19.05C8.75 19.1881 8.86193 19.3 9 19.3H14.5C14.6381 19.3 14.75 19.1881 14.75 19.05C14.75 18.9119 14.6381 18.8 14.5 18.8H9Z",stroke:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})):"tabs-tablet"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24"},O("path",{d:"M16.6429 4H7.35714C6.33147 4 5.5 4.71634 5.5 5.6V18.4C5.5 19.2837 6.33147 20 7.35714 20H16.6429C17.6685 20 18.5 19.2837 18.5 18.4V5.6C18.5 4.71634 17.6685 4 16.6429 4Z"}),O("path",{d:"M12 17.5H12.01"})):"tabs-mobile"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24"},O("path",{d:"M15.5714 4H8.42857C7.63959 4 7 4.71634 7 5.6V18.4C7 19.2837 7.63959 20 8.42857 20H15.5714C16.3604 20 17 19.2837 17 18.4V5.6C17 4.71634 16.3604 4 15.5714 4Z"}),O("path",{d:"M12 17.5H12.01"})):"sync"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24"},O("path",{d:"m7.34133533 6.23855964v-1.98499625c-2.17404351.03150788-4.03300825 1.38634659-4.85221305 3.27681921-.31507877.72468117-.44111028 1.51237809-.4096024 2.33158289.06301575 1.13428361.47261815 2.20555141 1.16579145 3.05626411.37809452.4411102.28357089 1.1027757-.18904726 1.4493623-.44111028.3150788-1.07126782.2205551-1.41785447-.1890473-.85071268-1.0397599-1.38634658-2.3315829-1.54388597-3.7179294-.12603151-1.00825211-.03150788-2.01650417.25206302-2.9302326.88222055-3.02475619 3.6864216-5.26181546 6.99474868-5.29332334v-1.98499624c0-.09452363.12603151-.15753939.22055514-.09452363l4.09602403 2.99324831c.0630157.06301575.0630157.15753938 0 .18904726l-4.09602403 2.99324831c-.09452363.06301575-.22055514 0-.22055514-.09452363zm.22055514 13.17029256c.09452363.0630158.22055514 0 .22055514-.0945236v-1.9849963c3.30832709-.0315078 6.11252809-2.2685671 6.99474869-5.2933233.252063-.9137284.3780945-1.8904726.252063-2.93023256-.1575394-1.38634658-.7246812-2.67816954-1.543886-3.71792948-.3465866-.44111028-.9767441-.53563391-1.4178544-.18904726-.4726182.34658665-.5671418 1.00825206-.1890473 1.44936234.6931733.85071268 1.1027757 1.89047262 1.1657915 3.05626407.0315078.81920479-.1260315 1.63840959-.4096024 2.33158289-.787697 1.8904726-2.6466617 3.2453113-4.85221309 3.2768192v-1.9849962c0-.0945237-.12603151-.1575394-.22055514-.0945237l-4.096024 2.9932483c-.06301576.0630158-.06301576.1575394 0 .1890473z",transform:"translate(4 2)"})):"headline"===e?O("svg",{width:24,height:24,viewBox:"0 0 20 20",style:{padding:"1px"}},O("path",{d:"M12.5 4v5.2h-5V4H5v13h2.5v-5.2h5V17H15V4",fill:"#1e72bd"})):"grid"===e?O("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},O("path",{d:"M20 .6c0-.3-.2-.6-.5-.6H.5C.2 0 0 .3 0 .6v4.6c0 .3.2.6.5.6h19c.3 0 .5-.3.5-.6V.6zM6.7 7.7c0-.3-.2-.6-.5-.6H.5c-.3 0-.5.3-.5.6v4.6c0 .3.2.6.5.6h5.6c.3 0 .5-.3.5-.6l.1-4.6zM19.9 7.7c0-.3-.2-.6-.6-.6H8.6c-.4 0-.6.3-.6.6v4.5c0 .3.2.6.6.6h10.8c.3 0 .6-.3.6-.6l-.1-4.5z",fill:"#1d72ba"}),O("path",{d:"M20 14.8c0-.3-.2-.6-.5-.6h-5.6c-.3 0-.5.2-.5.6v4.6c0 .3.2.6.5.6h5.6c.3 0 .5-.2.5-.6v-4.6zM12 14.8c0-.3-.2-.5-.5-.5H.5c-.3 0-.5.2-.5.5v4.6c0 .4.2.6.5.6h11c.3 0 .5-.2.5-.5v-4.7z",fill:"#1d72ba"})):"container"===e?O("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},O("path",{d:"M2.8 3.4c0-.4.3-.7.7-.7h1.2V0H3.4C1.5 0 0 1.5 0 3.4v1.2h2.8V3.4zM0 7.4h2.8v5.3H0zM17.2 7.4H20v5.3h-2.8zM17.2 16.6c0 .4-.3.7-.7.7h-1.2V20h1.2c1.9 0 3.4-1.5 3.4-3.4v-1.2h-2.8v1.2h.1zM7.4 0h5.3v2.8H7.4zM3.4 17.2c-.4 0-.7-.3-.7-.7v-1.2H0v1.2c0 2 1.5 3.5 3.4 3.5h1.2v-2.8H3.4zM7.4 17.2h5.3V20H7.4zM16.6 2.8c.4 0 .7.3.7.7v1.2H20V3.4C20 1.5 18.5 0 16.6 0h-1.2v2.8h1.2z",fill:"#1e72bd"})):"button"===e?O("svg",{width:20,height:20,viewBox:"0 0 20 20",style:{padding:"1px"}},O("path",{d:"M19.2 0H.8C.4 0 0 .4 0 .8v6.4c0 .4.4.8.8.8h18.4c.4 0 .8-.4.8-.8V.8c0-.4-.4-.8-.8-.8zM18.4 12H1.6c-.9 0-1.6.7-1.6 1.6v4.8c0 .9.7 1.6 1.6 1.6h16.8c.9 0 1.6-.7 1.6-1.6v-4.8c0-.9-.7-1.6-1.6-1.6zm.4 6.4c0 .2-.2.4-.4.4H1.6c-.2 0-.4-.2-.4-.4v-4.8c0-.2.2-.4.4-.4h16.8c.2 0 .4.2.4.4v4.8z",fill:"#1e72bd"})):"paragraph"===e?O("svg",{width:20,height:20,viewBox:"0 0 20 20"},O("path",{d:"M15 2H7.54c-.83 0-1.59.2-2.28.6-.7.41-1.25.96-1.65 1.65C3.2 4.94 3 5.7 3 6.52s.2 1.58.61 2.27c.4.69.95 1.24 1.65 1.64.69.41 1.45.61 2.28.61h.43V17c0 .27.1.51.29.71.2.19.44.29.71.29.28 0 .51-.1.71-.29.2-.2.3-.44.3-.71V5c0-.27.09-.51.29-.71.2-.19.44-.29.71-.29s.51.1.71.29c.19.2.29.44.29.71v12c0 .27.1.51.3.71.2.19.43.29.71.29.27 0 .51-.1.71-.29.19-.2.29-.44.29-.71V4H15c.27 0 .5-.1.7-.3.2-.19.3-.43.3-.7s-.1-.51-.3-.71A.984.984 0 0 0 15 2z"})):"spacing"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,10.007c6.632,6.632 6.632,73.42 0,80.052c-6.632,6.632 -73.42,6.632 -80.052,0c-6.632,-6.632 -6.632,-73.42 0,-80.052c6.632,-6.632 73.42,-6.632 80.052,0Z"}),O("path",{d:"M40.452,77.705c7.802,1.393 23.794,1.393 31.596,0l13.635,13.635c-12.215,3.213 -46.652,3.213 -58.866,0l13.635,-13.635Zm50.888,-50.888c3.213,12.215 3.213,46.653 0,58.866l-13.635,-13.635c1.393,-7.801 1.393,-23.794 0,-31.596l13.635,-13.635Zm-70.18,0l13.635,13.635c-1.393,7.802 -1.393,23.794 0,31.596l-13.635,13.635c-3.213,-12.213 -3.213,-46.651 0,-58.866Zm5.657,-5.657c12.214,-3.213 46.652,-3.213 58.866,0l-13.635,13.635c-7.801,-1.393 -23.795,-1.393 -31.596,0l-13.635,-13.635Z"})):"advanced"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,37.215c6.632,2.124 6.632,23.512 0,25.636c-6.632,2.124 -73.42,2.124 -80.052,0c-6.632,-2.124 -6.632,-23.512 0,-25.636c6.632,-2.124 73.42,-2.124 80.052,0Z"}),O("path",{d:"M48.61,51.916c2.243,0.718 2.243,7.95 0,8.668c-2.242,0.718 -24.823,0.718 -27.065,0c-2.243,-0.718 -2.243,-7.95 0,-8.668c2.242,-0.718 24.823,-0.718 27.065,0Z"}),O("path",{d:"M90.955,51.916c2.243,0.718 2.243,7.95 0,8.668c-2.242,0.718 -24.823,0.718 -27.065,0c-2.243,-0.718 -2.243,-7.95 0,-8.668c2.242,-0.718 24.823,-0.718 27.065,0Z"})):"backgrounds"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M1.491,87.777l37.79,-37.79l31.352,31.352c2.412,2.171 5.656,0 5.656,0l17.248,-17.247l13.186,13.186l4.796,4.797c-0.971,12.199 -2.726,21.685 -5.249,24.208c-8.29,8.289 -91.776,8.289 -100.066,0c-2.113,-2.113 -3.687,-9.113 -4.713,-18.506Z"}),O("path",{d:"M0.631,77.323c-1.742,-27.728 0.125,-65.658 5.573,-71.106c8.29,-8.289 91.776,-8.289 100.066,0c5.07,5.07 7.039,38.265 5.89,65.185l-15.795,-15.795c-2.412,-2.172 -5.657,0 -5.657,0l-17.247,17.246l-31.351,-31.351c-0.731,-0.658 -1.036,-1 -2.619,-1.166c-0.263,0 -0.477,-0.075 -1.245,0.131c-0.912,0.244 -1.793,1.035 -1.793,1.035l-35.822,35.821Zm76.434,-59.584c7.115,0 12.891,5.776 12.891,12.89c0,7.114 -5.776,12.89 -12.891,12.89c-7.114,0 -12.89,-5.776 -12.89,-12.89c0,-7.114 5.776,-12.89 12.89,-12.89Z"})):"colors"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-50.033,12.818c-20.551,0 -37.215,16.664 -37.215,37.215c0,20.551 16.664,37.215 37.215,37.215c3.432,0 6.202,-2.77 6.202,-6.203c0,-1.612 -0.62,-3.059 -1.612,-4.176c-0.951,-1.075 -1.571,-2.522 -1.571,-4.094c0,-3.432 2.77,-6.202 6.202,-6.202l7.319,0c11.413,0 20.675,-9.262 20.675,-20.675c0,-18.277 -16.664,-33.08 -37.215,-33.08Zm-22.742,37.215c-3.433,0 -6.203,-2.77 -6.203,-6.202c0,-3.433 2.77,-6.203 6.203,-6.203c3.432,0 6.202,2.77 6.202,6.203c0,3.432 -2.77,6.202 -6.202,6.202Zm45.484,0c-3.432,0 -6.202,-2.77 -6.202,-6.202c0,-3.433 2.77,-6.203 6.202,-6.203c3.433,0 6.203,2.77 6.203,6.203c0,3.432 -2.77,6.202 -6.203,6.202Zm-33.079,-16.54c-3.433,0 -6.203,-2.77 -6.203,-6.202c0,-3.433 2.77,-6.203 6.203,-6.203c3.432,0 6.202,2.77 6.202,6.203c0,3.432 -2.77,6.202 -6.202,6.202Zm20.674,0c-3.432,0 -6.202,-2.77 -6.202,-6.202c0,-3.433 2.77,-6.203 6.202,-6.203c3.433,0 6.203,2.77 6.203,6.203c0,3.432 -2.77,6.202 -6.203,6.202Z"})):"gradients"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M112.426,48.746c0.503,25.204 -1.545,52.939 -6.143,57.537c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.289,-8.288 91.748,-8.289 100.061,-0.004c0,0 0.005,0.004 0.005,0.004c3.691,3.692 5.739,22.295 6.143,42.529Zm-16.154,-32.526c-6.656,-6.628 -73.418,-6.627 -80.048,0.004c-6.631,6.63 -6.632,73.392 -0.004,80.048l80.052,-80.052Z"})):"icons"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-10.007,10.007c6.632,6.632 6.632,73.42 0,80.052c-6.632,6.632 -73.42,6.632 -80.052,0c-6.632,-6.632 -6.632,-73.42 0,-80.052c6.632,-6.632 73.42,-6.632 80.052,0Z"}),O("path",{d:"M89.605,22.895c5.527,5.526 5.527,61.184 0,66.71c-5.526,5.527 -61.184,5.527 -66.71,0c-5.527,-5.526 -5.527,-61.184 0,-66.71c5.526,-5.527 61.184,-5.527 66.71,0Zm-21.066,62.31l0,-2.731c-0.648,-0.074 -1.272,-0.199 -1.87,-0.374c-0.599,-0.174 -1.148,-0.374 -1.646,-0.598c-0.699,-0.299 -1.235,-0.755 -1.609,-1.366c-0.374,-0.611 -0.561,-1.353 -0.561,-2.226l0,-29.703l-0.561,-0.561l-18.331,0.972l0,2.731c0.748,0.075 1.577,0.25 2.488,0.524c0.91,0.274 1.589,0.561 2.038,0.86c0.599,0.399 1.098,0.929 1.497,1.59c0.399,0.661 0.598,1.428 0.598,2.301l0,21.773c0,0.923 -0.162,1.665 -0.486,2.226c-0.324,0.561 -0.885,0.991 -1.683,1.29c-0.449,0.175 -0.986,0.3 -1.609,0.374c-0.624,0.075 -1.26,0.138 -1.908,0.187l0,2.731l23.643,0Zm-12.978,-59.459c4.76,0 8.625,3.864 8.625,8.625c0,4.76 -3.865,8.625 -8.625,8.625c-4.76,0 -8.625,-3.865 -8.625,-8.625c0,-4.761 3.865,-8.625 8.625,-8.625Z"})):"typography"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.283,6.217c8.289,8.29 8.289,91.776 0,100.066c-8.29,8.289 -91.776,8.289 -100.066,0c-8.289,-8.29 -8.289,-91.776 0,-100.066c8.29,-8.289 91.776,-8.289 100.066,0Zm-8.783,78.583l0,-2.817c-0.661,-0.026 -1.481,-0.165 -2.46,-0.417c-0.979,-0.251 -1.773,-0.562 -2.381,-0.932c-0.9,-0.609 -1.601,-1.23 -2.103,-1.865c-0.503,-0.635 -0.953,-1.468 -1.349,-2.5l-18.769,-48.569l-3.175,0c-2.672,6.878 -5.714,14.721 -9.126,23.53c-3.266,8.43 -6.265,16.06 -8.998,22.891l-11.672,-28.684l-2.304,0c-1.939,4.742 -4.148,10.149 -6.625,16.222c-2.477,6.072 -4.743,11.543 -6.798,16.412c-0.403,0.949 -0.816,1.692 -1.238,2.23c-0.423,0.538 -1.018,1.053 -1.786,1.545c-0.48,0.292 -1.095,0.524 -1.844,0.698c-0.749,0.173 -1.373,0.278 -1.872,0.314l0,1.942l15.382,0l0,-1.942c-1.518,-0.073 -2.881,-0.31 -4.091,-0.711c-1.209,-0.401 -1.814,-0.966 -1.814,-1.696c0,-0.31 0.048,-0.711 0.144,-1.204c0.096,-0.492 0.268,-1.13 0.518,-1.914c0.269,-0.803 0.571,-1.678 0.907,-2.626c0.336,-0.948 0.773,-2.061 1.311,-3.338l14.316,0l3.399,8.699c0.012,0.03 0.024,0.06 0.036,0.092c-0.161,0.119 -0.329,0.237 -0.503,0.355c-0.661,0.423 -1.508,0.76 -2.539,1.012c-1.032,0.251 -1.892,0.403 -2.58,0.456l0,2.817l21.19,0l0,-2.817c-2.09,-0.106 -3.968,-0.45 -5.635,-1.032c-1.666,-0.582 -2.499,-1.402 -2.499,-2.46c0,-0.45 0.066,-1.032 0.198,-1.746c0.132,-0.714 0.37,-1.64 0.714,-2.777c0.371,-1.164 0.787,-2.434 1.25,-3.81c0.463,-1.375 1.065,-2.989 1.806,-4.841l19.721,0l4.682,12.619c0.106,0.264 0.186,0.568 0.238,0.912c0.053,0.344 0.08,0.635 0.08,0.873c0,0.582 -0.681,1.072 -2.044,1.468c-1.362,0.397 -3.075,0.662 -5.138,0.794l0,2.817l23.451,0Zm-56.864,-15.865l-6.193,-15.045l-6.078,15.045l12.271,0Zm34.167,-7.15l-8.532,-21.824l-8.373,21.824l16.905,0Z"})):"addContainer"===e?O("svg",{width:20,height:20,viewBox:"0 0 64 64",fillRule:"evenodd"},O("path",{d:"M41.454,57.126l0,6.409c-6.088,0.286 -12.82,0.286 -18.908,0l0,-6.409c5.957,0.366 12.951,0.366 18.908,0Zm-33.93,-8.899c0.458,3.226 1.086,5.568 1.883,6.366c0.798,0.797 3.14,1.425 6.366,1.883l0,6.592c-6.084,-0.578 -10.706,-1.519 -12.015,-2.826c-1.307,-1.309 -2.248,-5.931 -2.826,-12.015l6.592,0Zm55.544,0c-0.578,6.084 -1.519,10.706 -2.826,12.015c-1.309,1.307 -5.931,2.248 -12.015,2.826l0,-6.592c3.226,-0.458 5.568,-1.086 6.366,-1.883c0.797,-0.798 1.425,-3.14 1.883,-6.366l6.592,0Zm0.467,-25.681c0.286,6.088 0.286,12.82 0,18.908l-6.409,0c0.366,-5.957 0.366,-12.951 0,-18.908l6.409,0Zm-56.661,0c-0.366,5.957 -0.366,12.951 0,18.908l-6.409,0c-0.286,-6.088 -0.286,-12.82 0,-18.908l6.409,0Zm41.353,-21.614c6.084,0.578 10.706,1.519 12.015,2.826c1.307,1.309 2.248,5.931 2.826,12.015l-6.592,0c-0.458,-3.226 -1.086,-5.568 -1.883,-6.366c-0.798,-0.797 -3.14,-1.425 -6.366,-1.883l0,-6.592Zm-32.454,0l0,6.592c-3.226,0.458 -5.568,1.086 -6.366,1.883c-0.797,0.798 -1.425,3.14 -1.883,6.366l-6.592,0c0.578,-6.084 1.519,-10.706 2.826,-12.015c1.309,-1.307 5.931,-2.248 12.015,-2.826Zm6.773,-0.467c6.088,-0.286 12.82,-0.286 18.908,0l0,6.409c-5.957,-0.366 -12.951,-0.366 -18.908,0l0,-6.409Z"}),O("path",{d:"M18.03,29.037l11.007,0l0,-11.007l6.773,0l0,11.007l11.007,0l0,6.773l-11.007,0l0,11.007l-6.773,0l0,-11.007l-11.007,0l0,-6.773Z"})):"gradient"===e?O("svg",{width:24,height:24,viewBox:"0 0 24 24",fillRule:"evenodd"},O("path",{d:"M17.66 8L12 2.35L6.34 8A8.02 8.02 0 0 0 4 13.64c0 2 .78 4.11 2.34 5.67a7.99 7.99 0 0 0 11.32 0c1.56-1.56 2.34-3.67 2.34-5.67S19.22 9.56 17.66 8zM6 14c.01-2 .62-3.27 1.76-4.4L12 5.27l4.24 4.38C17.38 10.77 17.99 12 18 14H6z"})):"documentation"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.755 6.245c8.327 8.326 8.327 92.184 0 100.51-8.326 8.327-92.184 8.327-100.51 0-8.327-8.326-8.327-92.184 0-100.51 8.326-8.327 92.184-8.327 100.51 0zm-92.661 93.896C9.279 84 9.781 23.714 15.834 17.661c2.491-2.491 19.588-4.132 26.354-4.712 4.748-.408 10.115.671 14.243 1.23 4.128-.559 9.495-1.638 14.243-1.23 6.766.58 23.863 2.221 26.354 4.712 6.053 6.053 6.791 66.339 1.976 82.48-4.729-1.977-19.708-3.436-26.784-3.853-5.234-.308-11.129.739-15.671 1.354-4.543-.615-10.437-1.662-15.672-1.354-7.075.417-22.054 1.876-26.783 3.853z"}),O("path",{d:"M50.188 32.738c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0zM50.277 46.846c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM50.277 60.037c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM50.277 73.799c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0z"}),O("path",{d:"M89.909 32.738c2.252.536 2.252 5.927 0 6.463-2.252.535-24.934.535-27.186 0-2.252-.536-2.252-5.927 0-6.463 2.252-.535 24.934-.535 27.186 0zM89.998 46.846c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0zM89.998 60.037c2.252.535 2.252 5.927 0 6.462-2.252.535-24.934.535-27.186 0-2.252-.535-2.252-5.927 0-6.462 2.252-.535 24.934-.535 27.186 0z"})):"layout"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.719 6.238c8.362 8.362 8.362 92.208 0 100.57-8.362 8.287-92.208 8.287-100.495 0-8.362-8.362-8.362-92.208 0-100.57 8.287-8.286 92.133-8.286 100.495 0zm-9.417 9.417c6.78 6.78 6.78 74.957 0 81.737-6.78 6.78-74.956 6.78-81.661 0-6.78-6.78-6.78-74.957 0-81.737 6.705-6.78 74.881-6.78 81.661 0z"}),O("path",{d:"M93.988 48.877c.602 17.477-.754 37.893-3.993 41.132-3.164 3.164-22.75 4.52-40.002 4.068v-45.2h43.995zm-75.108 0h23.58v44.899c-9.718-.603-17.553-1.808-19.512-3.767-3.24-3.24-4.595-23.655-4.068-41.132zm.377-7.533c.678-9.19 1.883-16.498 3.691-18.306 5.575-5.575 61.472-5.575 67.047 0 1.808 1.808 3.013 9.115 3.691 18.306h-74.43z"})):"shapes"===e?O("svg",{width:20,height:20,viewBox:"0 0 113 113",fillRule:"evenodd"},O("path",{d:"M106.756,6.244C115.081,14.571 115.081,98.429 106.756,106.756C98.429,115.081 14.571,115.081 6.244,106.756C-2.081,98.429 -2.081,14.571 6.244,6.244C14.571,-2.081 98.429,-2.081 106.756,6.244ZM67.875,88.052C67.875,86.977 67.003,86.105 65.928,86.105L47.072,86.105C45.997,86.105 45.125,86.977 45.125,88.052L45.125,91.948C45.125,93.023 45.997,93.896 47.072,93.896L65.928,93.896C67.003,93.896 67.875,93.023 67.875,91.948L67.875,88.052ZM57.899,31.409L59.305,31.409C60.853,31.409 62.11,30.152 62.11,28.604L62.11,28.089L73.263,57.543C73.757,58.333 73.731,59.161 73.731,59.403C73.729,62.659 65.231,69.414 65.375,83.611L47.625,83.611C47.769,69.414 39.271,62.659 39.269,59.403C39.269,59.161 39.243,58.333 39.737,57.543L50.89,28.089L50.89,28.604C50.89,30.152 52.147,31.409 53.695,31.409L55.101,31.409C55.111,35.738 55.142,50.367 55.098,54.109C55.093,54.494 54.907,54.988 54.68,55.45C52.915,56.169 51.669,57.903 51.669,59.925C51.669,62.592 53.834,64.756 56.5,64.756C59.166,64.756 61.331,62.592 61.331,59.925C61.331,57.903 60.085,56.169 58.32,55.45C58.093,54.988 57.907,54.494 57.902,54.109C57.858,50.367 57.889,35.738 57.899,31.409ZM52.227,19.451L52.227,18.881C52.227,17.702 53.185,16.745 54.364,16.745L58.636,16.745C59.815,16.745 60.773,17.702 60.773,18.881L60.773,19.451L88.831,19.451C89.457,17.867 91.002,16.745 92.807,16.745C95.165,16.745 97.08,18.66 97.08,21.018C97.08,23.376 95.165,25.29 92.807,25.29C91.03,25.29 89.505,24.203 88.861,22.658L71.798,22.658C83.83,28.003 92.531,39.501 93.898,53.148L94.93,53.148C96.109,53.148 97.067,54.105 97.067,55.284L97.067,59.557C97.067,60.736 96.109,61.693 94.93,61.693L90.657,61.693C89.478,61.693 88.521,60.736 88.521,59.557L88.521,55.284C88.521,54.105 89.478,53.148 90.657,53.148L90.922,53.148C89.19,37.24 76.627,24.564 60.773,22.659L60.773,23.154C60.773,24.333 59.815,25.29 58.636,25.29L54.364,25.29C53.185,25.29 52.227,24.333 52.227,23.154L52.227,22.688C36.484,24.689 24.036,37.318 22.312,53.148L22.329,53.148C23.508,53.148 24.466,54.105 24.466,55.284L24.466,59.557C24.466,60.736 23.508,61.693 22.329,61.693L18.056,61.693C16.877,61.693 15.92,60.736 15.92,59.557L15.92,55.284C15.92,54.105 16.877,53.148 18.056,53.148L19.336,53.148C20.703,39.501 29.405,28.003 41.437,22.658L24.139,22.658C23.495,24.203 21.97,25.29 20.193,25.29C17.835,25.29 15.92,23.376 15.92,21.018C15.92,18.66 17.835,16.745 20.193,16.745C21.998,16.745 23.543,17.867 24.169,19.451L52.227,19.451Z"})):"wrench"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(l.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),Object(l.createElement)("g",null,Object(l.createElement)("path",{d:"M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z"}))):"x"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(l.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),Object(l.createElement)("g",null,Object(l.createElement)("path",{d:"M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z"}))):"ellipsis"===e?Object(l.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"},Object(l.createElement)("rect",{x:"0",fill:"none",width:"20",height:"20"}),Object(l.createElement)("g",null,Object(l.createElement)("path",{d:"M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}))):void 0}a(27);var T=a(1),C=a(2),S=a(3);function _(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var B=function(e){f()(a,e);var t=_(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props,t=e.onClick,a=e.selectedDevice;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"gb-responsive-tabs"},Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Show options for all devices","generateblocks")},Object(l.createElement)(C.Button,{isPressed:"Desktop"===a,onClick:function(){t("Desktop")}},Object(T.__)("Desktop","generateblocks"))),Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Show options for tablet devices","generateblocks")},Object(l.createElement)(C.Button,{isPressed:"Tablet"===a,onClick:function(){t("Tablet")}},Object(T.__)("Tablet","generateblocks"))),Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Show options for mobile devices","generateblocks")},Object(l.createElement)(C.Button,{isPressed:"Mobile"===a,onClick:function(){t("Mobile")}},Object(T.__)("Mobile","generateblocks")))),Object(S.applyFilters)("generateblocks.editor.controls","","afterResponsiveTabs",this.props,this.state))}}]),a}(l.Component);a(28);function D(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var E=function(e){f()(a,e);var t=D(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props,t=e.label,a=e.value,i=e.onClick,r=e.units;return Object(l.createElement)("div",{className:"components-gblocks-units-control-header__units"},Object(l.createElement)("div",{className:"components-gblocks-units-control-label__units"},t),Object(l.createElement)("div",{className:"components-gblocks-control__units"},Object(l.createElement)(C.ButtonGroup,{className:"components-gblocks-control-buttons__units","aria-label":Object(T.__)("Select Units","generateblocks")},r.map((function(e){var t=e;return"px"===e&&(t=Object(T._x)("Pixel","A size unit for CSS markup","generateblocks")),"em"===e&&(t=Object(T._x)("Em","A size unit for CSS markup","generateblocks")),"%"===e&&(t=Object(T._x)("Percentage","A size unit for CSS markup","generateblocks")),"deg"===e&&(t=Object(T._x)("Degree","A size unit for CSS markup","generateblocks")),Object(l.createElement)(C.Tooltip
|
2 |
/* translators: Unit type (px, em, %) */,{text:Object(T.sprintf)(Object(T.__)("%s Units","generateblocks"),t),key:e},Object(l.createElement)(C.Button,{key:e,className:"components-gblocks-control-button__units--"+e,isSmall:!0,isPrimary:a===e,"aria-pressed":a===e
|
3 |
+
/* translators: %s: values associated with CSS syntax, 'Pixel', 'Em', 'Percentage' */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Units","generateblocks"),t),onClick:function(){return i(e)}},e))})))))}}]),a}(l.Component),R=a(19),x=a.n(R);function M(e){for(var t="",a=0,l=Object.entries(e);a<l.length;a++){var i=x()(l[a],2),r=i[0],n=i[1];if(!(n.length<1)){for(var o=r+"{",c=0,s=0,g=Object.entries(n);s<g.length;s++)for(var b=x()(g[s],2),u=(b[0],b[1]),d=0,p=Object.entries(u);d<p.length;d++){var f=x()(p[d],2),h=f[0],m=f[1];(m||0===m)&&(c++,o+=h+": "+m+";")}o+="}",c>0&&(t+=o)}}return t}function z(e,t){return!(!e&&0!==e)&&e+t}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var P=function(e){f()(a,e);var t=L(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.horizontalGap,i=e.verticalGap,r=e.verticalAlignment,n=e.horizontalAlignment,o=[];return o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"align-items":r,"justify-content":n,"margin-left":"-"+a/2+"px","margin-right":"-"+a/2+"px"}],o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{"padding-left":a/2+"px","padding-right":a/2+"px","margin-bottom":z(i,"px")}],o=Object(S.applyFilters)("generateblocks.editor.mainCSS",o,this.props,"grid"),Object(l.createElement)("style",null,M(o))}}]),a}(l.Component);function F(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var A=function(e){f()(a,e);var t=F(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"grid"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function U(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var H=function(e){f()(a,e);var t=U(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.horizontalGapTablet,i=e.verticalGapTablet,r=e.verticalAlignmentTablet,n=e.horizontalAlignmentTablet,o=[];return o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"align-items":"inherit"!==r?r:null,"justify-content":"inherit"!==n?n:null,"margin-left":a||0===a?"-"+a/2+"px":null,"margin-right":a||0===a?"-"+a/2+"px":null}],o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{"padding-left":a||0===a?a/2+"px":null,"padding-right":a||0===a?a/2+"px":null,"margin-bottom":i||0===i?z(i,"px"):null}],o=Object(S.applyFilters)("generateblocks.editor.tabletCSS",o,this.props,"grid"),Object(l.createElement)("style",null,M(o))}}]),a}(l.Component);function N(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var I=function(e){f()(a,e);var t=N(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"grid"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function G(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var V=function(e){f()(a,e);var t=G(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.horizontalGapMobile,i=e.verticalGapMobile,r=e.verticalAlignmentMobile,n=e.horizontalAlignmentMobile,o=[];return o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"align-items":"inherit"!==r?r:null,"justify-content":"inherit"!==n?n:null,"margin-left":a||0===a?"-"+a/2+"px":null,"margin-right":a||0===a?"-"+a/2+"px":null}],o[".gb-grid-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{"padding-left":a||0===a?a/2+"px":null,"padding-right":a||0===a?a/2+"px":null,"margin-bottom":i||0===i?z(i,"px"):null}],o=Object(S.applyFilters)("generateblocks.editor.mobileCSS",o,this.props,"grid"),Object(l.createElement)("style",null,M(o))}}]),a}(l.Component),q=a(18),W=a.n(q);function Z(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var K=function(e){f()(a,e);var t=Z(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props,t=e.name,a=e.children;return Object(S.applyFilters)(t,a||"",this.props)}}]),a}(l.Component);function J(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Y=function(e){f()(a,e);var t=J(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this.props,t=e.title,a=void 0!==t&&t,i=e.initialOpen,r=void 0!==i&&i,n=e.icon,o=e.className,c=e.id,s=e.state,g=e.showPanel,b=void 0===g||g,u=e.children;if(!Object(S.applyFilters)("generateblocks.editor.showPanel",b,c,this.props))return null;var d=!0;return""===u&&(d=!1),"object"===W()(u)&&(d=Object.values(u).some((function(e){return null!==e&&!1!==e&&""!==e}))),d?Object(l.createElement)(K,{name:"generateblocks.panel."+c,props:this.props,state:s},a?Object(l.createElement)(C.PanelBody,{title:a,initialOpen:r,icon:n,className:o},Object(S.applyFilters)("generateblocks.editor.panelContents",u,c,this.props)):Object(l.createElement)(C.PanelBody,null,Object(S.applyFilters)("generateblocks.editor.panelContents",u,c,this.props))):null}}]),a}(l.Component),Q=a(11),X=a(14),$=a(15),ee=a(17);function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ae=/[\s#]/g,le=[],ie=function(e){f()(a,e);var t=te(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={selectedLayout:!1,selectedDevice:"Desktop"},e.onLayoutSelect=e.onLayoutSelect.bind(d()(e)),e.getColumnsFromLayout=e.getColumnsFromLayout.bind(d()(e)),e.getLayoutsSelector=e.getLayoutsSelector.bind(d()(e)),e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?le.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),le.push(e)):le.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),le.push(e)),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0})}},{key:"componentDidUpdate",value:function(){var e=this.props,t=e.attributes,a=e.setAttributes,l=e.clientId;t.columns;if(this.state.selectedLayout){var i=this.getColumnsFromLayout(this.state.selectedLayout);i.forEach((function(e){wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/container",e),void 0,l,!1)})),a({columns:i.length}),this.setState({selectedLayout:!1})}else{var r=wp.data.select("core/block-editor").getBlocksByClientId(l)[0];if(r)a({columns:r.innerBlocks.length})}}},{key:"getColumnsFromLayout",value:function(e){var t=this,a=[],l=e.split("-"),i=0;return l.forEach((function(){var e={isGrid:!0,gridId:t.props.attributes.uniqueId,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"0",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"0",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"0",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"0"};e.width=Number(l[i]),i++,a.push(e)})),a}},{key:"getLayoutsSelector",value:function(){var e=this;return Object(l.createElement)(C.Placeholder,{label:Object(T.__)("Grid","generateblocks"),instructions:Object(T.__)("Select one layout to get started.","generateblocks"),className:"gb-select-layout"},Object(l.createElement)("div",{className:"gb-grid-wrapper-layout-preview"},["100","50-50","33.33-33.33-33.33","25-25-25-25","25-75","75-25","25-25-50","25-50-25","50-25-25","20-60-20","20-20-20-20-20","16-16-16-16-16-16"].map((function(t){var a=e.getColumnsFromLayout(t);return Object(l.createElement)("button",{key:"layout-".concat(t),className:"gb-grid-wrapper-layout-preview-btn",onClick:function(){return e.onLayoutSelect(t)}},a.map((function(e,a){return Object(l.createElement)("div",{key:"layout-".concat(t,"-col-").concat(a),className:w()("gb-col","gb-col-".concat(e.width))})})))}))))}},{key:"onLayoutSelect",value:function(e){this.setState({selectedLayout:e})}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=a.clientId,s=i.uniqueId,g=i.className,b=i.anchor,u=i.columns,d=i.horizontalGap,p=i.verticalGap,f=i.verticalAlignment,h=i.horizontalGapTablet,m=i.verticalGapTablet,k=i.verticalAlignmentTablet,y=i.horizontalGapMobile,v=i.verticalGapMobile,O=i.verticalAlignmentMobile,_=i.horizontalAlignment,D=i.horizontalAlignmentTablet,R=i.horizontalAlignmentMobile,x=void 0!==i.useGlobalStyle&&i.useGlobalStyle&&void 0!==i.globalStyleId&&i.globalStyleId,M=d||0===d?d:"";x&&generateBlocksDefaults.gridContainer.horizontalGap===M&&(M="");var z=M,L=p||0===p?p:"",F=M,U=p||0===p?p:"";h&&(F=h),m&&(U=m);var N={className:w()((e={"gb-grid-wrapper":!0},o()(e,"gb-grid-wrapper-".concat(s),!0),o()(e,"".concat(g),void 0!==g),e)),id:b||null};return N=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",N,"generateblocks/grid",i),Object(l.createElement)(l.Fragment,null,(u>0||this.state.selectedLayout)&&Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:j("addContainer"),label:Object(T.__)("Add Grid Item","generateblocks"),onClick:function(){wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/container",{isGrid:!0,gridId:s,paddingTop:generateBlocksStyling.container.gridItemPaddingTop||"0",paddingRight:generateBlocksStyling.container.gridItemPaddingRight||"0",paddingBottom:generateBlocksStyling.container.gridItemPaddingBottom||"0",paddingLeft:generateBlocksStyling.container.gridItemPaddingLeft||"0"}),void 0,c)},showTooltip:!0}))),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),Object(l.createElement)(Y,r()({},this.props,{id:"gridLayout",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:M,min:"0",onChange:function(e){e=e.toString().replace(/-/g,""),n({horizontalGap:e})},onBlur:function(){x||d||!generateBlocksDefaults.gridContainer.horizontalGap?""!==d&&n({horizontalGap:parseFloat(d)}):n({horizontalGap:0})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({horizontalGap:generateBlocksDefaults.gridContainer.horizontalGap})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(E,{label:Object(T.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:p||0===p?p:"",min:"0",onChange:function(e){e=e.toString().replace(/-/g,""),n({verticalGap:e})},onBlur:function(){x||p||!generateBlocksDefaults.gridContainer.verticalGap?""!==p&&n({verticalGap:parseFloat(p)}):n({verticalGap:0})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({verticalGap:generateBlocksDefaults.gridContainer.verticalGap})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),value:f,help:Object(T.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),options:[{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignment:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Horizontal Alignment","generateblocks"),value:_,options:[{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Left","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Right","generateblocks"),value:"flex-end"}],onChange:function(e){n({horizontalAlignment:e})}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:h||0===h?h:"",min:"0",placeholder:z,onChange:function(e){e=e.toString().replace(/-/g,""),n({horizontalGapTablet:e})},onBlur:function(){x||h||!generateBlocksDefaults.gridContainer.horizontalGapTablet?""!==h&&n({horizontalGapTablet:parseFloat(h)}):n({horizontalGapTablet:0})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({horizontalGapTablet:generateBlocksDefaults.gridContainer.horizontalGapTablet})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(E,{label:Object(T.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:m||0===m?m:"",min:"0",placeholder:L,onChange:function(e){e=e.toString().replace(/-/g,""),n({verticalGapTablet:e})},onBlur:function(){x||m||!generateBlocksDefaults.gridContainer.verticalGapTablet?""!==m&&n({verticalGapTablet:parseFloat(m)}):n({verticalGapTablet:0})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({verticalGapTablet:generateBlocksDefaults.gridContainer.verticalGapTablet})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:k,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentTablet:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Horizontal Alignment","generateblocks"),value:D,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Left","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Right","generateblocks"),value:"flex-end"}],onChange:function(e){n({horizontalAlignmentTablet:e})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Horizontal Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:y||0===y?y:"",min:"0",placeholder:F,onChange:function(e){e=e.toString().replace(/-/g,""),n({horizontalGapMobile:e})},onBlur:function(){x||y||!generateBlocksDefaults.gridContainer.horizontalGapMobile?""!==y&&n({horizontalGapMobile:parseFloat(y)}):n({horizontalGapMobile:0})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({horizontalGapMobile:generateBlocksDefaults.gridContainer.horizontalGapMobile})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(E,{label:Object(T.__)("Vertical Gap","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:v||0===v?v:"",min:"0",placeholder:U,onChange:function(e){e=e.toString().replace(/-/g,""),n({verticalGapMobile:e})},onBlur:function(){x||v||!generateBlocksDefaults.gridContainer.verticalGapMobile?""!==v&&n({verticalGapMobile:parseFloat(v)}):n({verticalGapMobile:0})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({verticalGapMobile:generateBlocksDefaults.gridContainer.verticalGapMobile})}},Object(T.__)("Reset","generateblocks"))),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid items. Removes same height columns and overrides grid item content alignment.","generateblocks"),value:O,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentMobile:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Horizontal Alignment","generateblocks"),value:R,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Left","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Right","generateblocks"),value:"flex-end"}],onChange:function(e){n({horizontalAlignmentMobile:e})}})),Object(S.applyFilters)("generateblocks.editor.controls","","gridLayout",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),icon:j("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"gridDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/grid/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(S.applyFilters)("generateblocks.editor.controls","","gridDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:b||"",onChange:function(e){e=e.replace(ae,"-"),n({anchor:e})}})),Object(l.createElement)(P,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(A,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(H,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(I,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(V,this.props)),Object(l.createElement)("div",N,u>0||this.state.selectedLayout?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.InnerBlocks,{allowedBlocks:["generateblocks/container"],renderAppender:!1})):this.getLayoutsSelector()))}}]),a}(l.Component),re=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?{deviceType:t()}:{deviceType:null}}))])(ie),ne={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},columns:{type:"number",default:""},horizontalGap:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGap},verticalGap:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGap},verticalAlignment:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignment},horizontalGapTablet:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGapTablet},verticalGapTablet:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGapTablet},verticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignmentTablet},horizontalGapMobile:{type:"number",default:generateBlocksDefaults.gridContainer.horizontalGapMobile},verticalGapMobile:{type:"number",default:generateBlocksDefaults.gridContainer.verticalGapMobile},verticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.gridContainer.verticalAlignmentMobile},horizontalAlignment:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignment},horizontalAlignmentTablet:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignmentTablet},horizontalAlignmentMobile:{type:"string",default:generateBlocksDefaults.gridContainer.horizontalAlignmentMobile},isDynamic:{type:"boolean"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};function oe(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function ce(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):oe(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var se=[{attributes:ne,supports:{anchor:!1,className:!1,customClassName:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return ce(ce({},e),{},{className:t,anchor:a,cssClasses:"",elementId:""})},save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.elementId,n=a.cssClasses,c={id:r||void 0,className:w()((t={"gb-grid-wrapper":!0},o()(t,"gb-grid-wrapper-".concat(i),!0),o()(t,"".concat(n),""!==n),t))};return c=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",c,"generateblocks/grid",a),Object(l.createElement)("div",c,Object(l.createElement)(Q.InnerBlocks.Content,null))}}];Object(X.registerBlockType)("generateblocks/grid",{title:Object(T.__)("Grid","generateblocks"),description:Object(T.__)("Create advanced layouts with flexible grids.","generateblocks"),icon:j("grid"),category:"generateblocks",keywords:[Object(T.__)("grid"),Object(T.__)("column"),Object(T.__)("generate")],attributes:ne,supports:{className:!1},edit:re,save:function(){return Object(l.createElement)(Q.InnerBlocks.Content,null)},deprecated:se});a(32);var ge=generateBlocksInfo.hasWideAlignSupport,be=["wide","full"],ue=Object(ee.createHigherOrderComponent)((function(e){return function(t){var a=t.name,i=t.attributes,r=t.isSelected,n=t.clientId,o=t.setAttributes,c=i.isGrid,s=i.align,g=!1;return g="function"==typeof wp.data.select("core/block-editor").getBlockParentsByBlockName?wp.data.select("core/block-editor").getBlockParentsByBlockName(n,"generateblocks/grid",!0)[0]:wp.data.select("core/block-editor").getBlockRootClientId(n),Object(l.createElement)(l.Fragment,null,r&&c&&g&&"generateblocks/container"===a&&Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-block-control-icon gblocks-add-grid-item",icon:j("addContainer"),label:Object(T.__)("Duplicate Grid Item","generateblocks"),onClick:function(){var e=wp.data.select("core/block-editor").getBlocksByClientId(n)[0],t=Object(X.cloneBlock)(e);wp.data.dispatch("core/block-editor").insertBlocks(t,void 0,g)},showTooltip:!0})),Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-block-control-icon",icon:j("grid"),label:Object(T.__)("Select Parent Grid","generateblocks"),onClick:function(){wp.data.dispatch("core/block-editor").selectBlock(g)},showTooltip:!0}))),r&&ge&&!c&&"generateblocks/container"===a&&Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(Q.BlockAlignmentToolbar,{value:s,onChange:function(e){o({align:e}),"full"===e&&o({outerContainer:"full"})},controls:be})),Object(l.createElement)(e,t))}}),"withAdvancedControls");Object(S.addFilter)("editor.BlockEdit","generateblocks/container-block-controls",ue);var de=a(16),pe=a.n(de);function fe(e){var t=e.tagName,a=e.htmlAttrs,i=e.children;return Object(l.createElement)(t,a,i)}function he(e,t){return e?t||0===t?(e=e.replace("#",""),"rgba("+parseInt(3===e.length?e.slice(0,1).repeat(2):e.slice(0,2),16)+", "+parseInt(3===e.length?e.slice(1,2).repeat(2):e.slice(2,4),16)+", "+parseInt(3===e.length?e.slice(2,3).repeat(2):e.slice(4,6),16)+", "+t+")"):e:""}a(36);function me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ke=function(e){f()(a,e);var t=me(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={colorKey:!1},e}return b()(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.value,i=t.onChange,r=t.onOpacityChange,n=t.label,o=t.alpha,c=void 0!==o&&o,s=t.valueOpacity,g=this.state.colorKey,b=function(){!0===e.state.isVisible&&e.setState({isVisible:!1})};return Object(l.createElement)(C.BaseControl,{className:"gblocks-component-color-picker-wrapper"},!!n&&Object(l.createElement)("div",{className:"gblocks-color-component-label"},Object(l.createElement)("span",null,n)),Object(l.createElement)("div",{className:"gblocks-color-picker-area"},!this.state.isVisible&&Object(l.createElement)("div",{className:w()("components-color-palette__item-wrapper components-circular-option-picker__option-wrapper",a?"":"components-color-palette__custom-color")},Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Choose Color","generateblocks")},Object(l.createElement)("button",{type:"button","aria-expanded":this.state.isVisible,className:"components-color-palette__item components-circular-option-picker__option",onClick:function(){e.setState({isVisible:!0})},"aria-label":Object(T.__)("Custom color picker","generateblocks"),style:{color:a?he(a,s):"transparent"}},Object(l.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))),this.state.isVisible&&Object(l.createElement)("div",{className:w()("components-color-palette__item-wrapper components-circular-option-picker__option-wrapper",a?"":"components-color-palette__custom-color")},Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Choose Color","generateblocks")},Object(l.createElement)("button",{type:"button","aria-expanded":this.state.isVisible,className:"components-color-palette__item components-circular-option-picker__option",onClick:b,"aria-label":Object(T.__)("Custom color picker","generateblocks"),style:{color:a?he(a,s):"transparent"}},Object(l.createElement)("span",{className:"components-color-palette__custom-color-gradient"})))),this.state.isVisible&&Object(l.createElement)(C.Popover,{position:"top left",className:"gblocks-component-color-picker",onClose:b},Object(l.createElement)(C.BaseControl,{key:g},Object(l.createElement)(C.ColorPicker,{key:g,color:a||"",onChangeComplete:function(e){i(e.hex)},disableAlpha:!0})),c&&Object(l.createElement)("div",{className:"gblocks-component-color-opacity"},Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Opacity","generateblocks")},j("gradient")),Object(l.createElement)(C.RangeControl,{value:s||0,onChange:function(e){return r(e)},min:0,max:1,step:.01,initialPosition:1})),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-color-clear-color",onClick:function(){i(""),r(1),e.setState({colorKey:!1})}},Object(T.__)("Clear Color","generateblocks")),Object(l.createElement)(C.BaseControl,{className:"gblocks-component-color-picker-palette"},Object(l.createElement)(Q.ColorPalette,{value:a,onChange:function(t){i(t),e.setState({colorKey:t})},disableCustomColors:!0,clearable:!1})))))}}]),a}(l.Component);a(37);function ye(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ve=function(e){f()(a,e);var t=ye(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).onChangeTop=e.onChangeTop.bind(d()(e)),e.onChangeRight=e.onChangeRight.bind(d()(e)),e.onChangeBottom=e.onChangeBottom.bind(d()(e)),e.onChangeLeft=e.onChangeLeft.bind(d()(e)),e.onChangeAll=e.onChangeAll.bind(d()(e)),e.syncUnits=e.syncUnits.bind(d()(e)),e.onChangeUnits=e.onChangeUnits.bind(d()(e)),e}return b()(a,[{key:"onReset",value:function(e){this.props.setAttributes(o()({},this.props[e],""))}},{key:"onChangeTop",value:function(e){this.props.setAttributes(o()({},this.props.attrTop,e))}},{key:"onChangeRight",value:function(e){this.props.setAttributes(o()({},this.props.attrRight,e))}},{key:"onChangeBottom",value:function(e){this.props.setAttributes(o()({},this.props.attrBottom,e))}},{key:"onChangeLeft",value:function(e){this.props.setAttributes(o()({},this.props.attrLeft,e))}},{key:"onChangeAll",value:function(e){var t;this.props.setAttributes((t={},o()(t,this.props.attrTop,e),o()(t,this.props.attrRight,e),o()(t,this.props.attrBottom,e),o()(t,this.props.attrLeft,e),t))}},{key:"syncUnits",value:function(){var e,t=[this.props.attributes[this.props.attrTop],this.props.attributes[this.props.attrRight],this.props.attributes[this.props.attrBottom],this.props.attributes[this.props.attrLeft]],a=Math.max.apply(null,t);this.props.setAttributes((e={},o()(e,this.props.attrSyncUnits,!this.props.attributes[this.props.attrSyncUnits]),o()(e,this.props.attrTop,a.toString()),o()(e,this.props.attrRight,a.toString()),o()(e,this.props.attrBottom,a.toString()),o()(e,this.props.attrLeft,a.toString()),e))}},{key:"onChangeUnits",value:function(e){this.props.setAttributes(o()({},this.props.attrUnit,e))}},{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,i=t.label,r=void 0===i?Object(T.__)("Margin","generateblocks"):i,n=t.type,o=void 0===n?"margin":n,c=t.attrTop,s=t.attrRight,g=t.attrBottom,b=t.attrLeft,u=t.attrSyncUnits,d=t.attrUnit,p=t.labelTop,f=void 0===p?Object(T.__)("Top","generateblocks"):p,h=t.labelRight,m=void 0===h?Object(T.__)("Right","generateblocks"):h,k=t.labelBottom,y=void 0===k?Object(T.__)("Bottom","generateblocks"):k,v=t.labelLeft,O=void 0===v?Object(T.__)("Left","generateblocks"):v,S=t.device,_=t.block,B=t.defaults,D=t.units,R=w()("components-base-control","components-gblocks-dimensions-control"),x="",M="",z="",L="";if("headline"===_&&g.includes("marginBottom")){if("px"===this.props.attributes.marginUnit){var P=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId);P&&(z=parseFloat(window.getComputedStyle(P).marginBottom))}else"em"===this.props.attributes.marginUnit&&void 0!==generateBlocksStyling.headline&&void 0!==generateBlocksStyling.headline[a.element]&&void 0!==generateBlocksStyling.headline[a.element].marginBottom&&generateBlocksStyling.headline[a.element].marginUnit===a.marginUnit&&(z=generateBlocksStyling.headline[a.element].marginBottom);"div"!==this.props.attributes.element&&"span"!==this.props.attributes.element||(z="")}if("Tablet"===S){var F=c.replace("Tablet",""),A=s.replace("Tablet",""),U=g.replace("Tablet",""),H=b.replace("Tablet","");x=a[F]?a[F]:x,M=a[A]?a[A]:M,z=a[U]?a[U]:z,L=a[H]?a[H]:L}if("Mobile"===S){var N=c.replace("Mobile",""),I=s.replace("Mobile",""),G=g.replace("Mobile",""),V=b.replace("Mobile","");a[N+"Tablet"]?x=a[N+"Tablet"]:a[N]&&(x=a[N]),a[I+"Tablet"]?M=a[I+"Tablet"]:a[I]&&(M=a[I]),a[G+"Tablet"]?z=a[G+"Tablet"]:a[G]&&(z=a[G]),a[V+"Tablet"]?L=a[V+"Tablet"]:a[V]&&(L=a[V])}var q=void 0!==a.useGlobalStyle&&a.useGlobalStyle;return Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:R},Object(l.createElement)(E,{label:r,value:void 0!==a[d]?a[d]:"px",units:D,onClick:function(t){if(void 0===a[d])return!1;e.onChangeUnits(t)}}),Object(l.createElement)("div",{className:"components-gblocks-dimensions-control__inputs"},Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:x,type:"number",onChange:function(t){var a=t.target.value;"padding"===o&&(a=a.toString().replace(/-/g,"")),""!==a?e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll(a):e.onChangeTop(a):e.onReset("attrTop")},onBlur:function(){q||""!==a[c]||""===B[c]||(e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll("0"):e.onChangeTop("0"))},onClick:function(e){e.currentTarget.focus()}
|
4 |
/* translators: Dimension label (padding, margin, border) */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Top","generateblocks"),r),value:a[c]?a[c]:"",min:"padding"===o?0:void 0,"data-attribute":o}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:M,type:"number",onChange:function(t){var a=t.target.value;"padding"===o&&(a=a.toString().replace(/-/g,"")),""!==a?e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll(a):e.onChangeRight(a):e.onReset("attrRight")},onBlur:function(){q||""!==a[s]||""===B[s]||(e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll("0"):e.onChangeRight("0"))},onClick:function(e){e.currentTarget.focus()}
|
5 |
/* translators: Dimension label (padding, margin, border) */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Right","generateblocks"),r),value:a[s]?a[s]:"",min:"padding"===o?0:void 0,"data-attribute":o}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:z,type:"number",onChange:function(t){var a=t.target.value;"padding"===o&&(a=a.toString().replace(/-/g,"")),""!==a?e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll(a):e.onChangeBottom(a):e.onReset("attrBottom")},onBlur:function(){q||""!==a[g]||""===B[g]||(e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll("0"):e.onChangeBottom("0"))},onClick:function(e){e.currentTarget.focus()}
|
6 |
/* translators: Dimension label (padding, margin, border) */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Bottom","generateblocks"),r),value:a[g]?a[g]:"",min:"padding"===o?0:void 0,"data-attribute":o}),Object(l.createElement)("input",{className:"components-gblocks-dimensions-control__number",placeholder:L,type:"number",onChange:function(t){var a=t.target.value;"padding"===o&&(a=a.toString().replace(/-/g,"")),""!==a?e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll(a):e.onChangeLeft(a):e.onReset("attrLeft")},onBlur:function(){q||""!==a[b]||""===B[b]||(e.props.attributes[e.props.attrSyncUnits]?e.onChangeAll("0"):e.onChangeLeft("0"))},onClick:function(e){e.currentTarget.focus()}
|
7 |
+
/* translators: Dimension label (padding, margin, border) */,"aria-label":Object(T.sprintf)(Object(T.__)("%s Left","generateblocks"),r),value:a[b]?a[b]:"",min:"padding"===o?0:void 0,"data-attribute":o}),Object(l.createElement)(C.Tooltip,{text:a[u]?Object(T.__)("Unsync","generateblocks"):Object(T.__)("Sync","generateblocks")},Object(l.createElement)(C.Button,{className:"components-gblocks-dimensions-control_sync","aria-label":Object(T.__)("Sync Units","generateblocks"),isPrimary:!!a[u]&&a[u],"aria-pressed":!!a[u]&&a[u],onClick:function(t){return e.syncUnits(t,"")},isSmall:!0},(a[u],j("sync"))))),Object(l.createElement)("div",{className:"components-gblocks-dimensions-control__input-labels"},Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},f),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},m),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},y),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"},O),Object(l.createElement)("span",{className:"components-gblocks-dimensions-control__number-label"}))))}}]),a}(l.Component),we=(a(38),{Roboto:{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],fallback:"sans-serif"},"Open Sans":{weight:["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},Lato:{weight:["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],fallback:"sans-serif"},Montserrat:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Source Sans Pro":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],fallback:"sans-serif"},"Roboto Condensed":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"sans-serif"},Oswald:{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},"Roboto Mono":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic"],fallback:"monospace"},Raleway:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Poppins:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Noto Sans":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Roboto Slab":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"serif"},Merriweather:{weight:["300","300italic","regular","italic","700","700italic","900","900italic"],fallback:"serif"},"PT Sans":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Ubuntu:{weight:["300","300italic","regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},"Playfair Display":{weight:["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"serif"},Muli:{weight:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"sans-serif"},"Open Sans Condensed":{weight:["300","300italic","700"],fallback:"sans-serif"},"PT Serif":{weight:["regular","italic","700","700italic"],fallback:"serif"},Lora:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},"Slabo 27px":{weight:["regular"],fallback:"serif"},Nunito:{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Noto Sans JP":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Work Sans":{weight:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"sans-serif"},Rubik:{weight:["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],fallback:"sans-serif"},"Noto Serif":{weight:["regular","italic","700","700italic"],fallback:"serif"},"Fira Sans":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Titillium Web":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],fallback:"sans-serif"},Quicksand:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Noto Sans KR":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Nanum Gothic":{weight:["regular","700","800"],fallback:"sans-serif"},Mukta:{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},"Noto Sans TC":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Nunito Sans":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Heebo:{weight:["100","300","regular","500","700","800","900"],fallback:"sans-serif"},"PT Sans Narrow":{weight:["regular","700"],fallback:"sans-serif"},Arimo:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Inconsolata:{weight:["regular","700"],fallback:"monospace"},Barlow:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Oxygen:{weight:["300","regular","700"],fallback:"sans-serif"},Dosis:{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Bitter:{weight:["regular","italic","700"],fallback:"serif"},"Libre Baskerville":{weight:["regular","italic","700"],fallback:"serif"},"Crimson Text":{weight:["regular","italic","600","600italic","700","700italic"],fallback:"serif"},"Libre Franklin":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Karla:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Josefin Sans":{weight:["100","200","300","regular","500","600","700","100italic","200italic","300italic","italic","500italic","600italic","700italic"],fallback:"sans-serif"},Cabin:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Anton:{weight:["regular"],fallback:"sans-serif"},"Source Code Pro":{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],fallback:"monospace"},Hind:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Abel:{weight:["regular"],fallback:"sans-serif"},Amiri:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Fjalla One":{weight:["regular"],fallback:"sans-serif"},Lobster:{weight:["regular"],fallback:"display"},Pacifico:{weight:["regular"],fallback:"handwriting"},"Indie Flower":{weight:["regular"],fallback:"handwriting"},"Exo 2":{weight:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"sans-serif"},"Dancing Script":{weight:["regular","500","600","700"],fallback:"handwriting"},"Source Serif Pro":{weight:["regular","600","700"],fallback:"serif"},Arvo:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Hind Siliguri":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Varela Round":{weight:["regular"],fallback:"sans-serif"},"Merriweather Sans":{weight:["300","300italic","regular","italic","700","700italic","800","800italic"],fallback:"sans-serif"},Cairo:{weight:["200","300","regular","600","700","900"],fallback:"sans-serif"},"Yanone Kaffeesatz":{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},Overpass:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Shadows Into Light":{weight:["regular"],fallback:"handwriting"},"Barlow Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"IBM Plex Sans":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Comfortaa:{weight:["300","regular","500","600","700"],fallback:"display"},Asap:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Prompt:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Kanit:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Questrial:{weight:["regular"],fallback:"sans-serif"},Martel:{weight:["200","300","regular","600","700","800","900"],fallback:"serif"},"Archivo Narrow":{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Abril Fatface":{weight:["regular"],fallback:"display"},"Amatic SC":{weight:["regular","700"],fallback:"handwriting"},Acme:{weight:["regular"],fallback:"sans-serif"},Catamaran:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Fira Sans Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"EB Garamond":{weight:["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],fallback:"serif"},"Bree Serif":{weight:["regular"],fallback:"serif"},"Zilla Slab":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Noto Sans SC":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Cormorant Garamond":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Hind Madurai":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Teko:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Righteous:{weight:["regular"],fallback:"display"},Signika:{weight:["300","regular","600","700"],fallback:"sans-serif"},Play:{weight:["regular","700"],fallback:"sans-serif"},Domine:{weight:["regular","700"],fallback:"serif"},Exo:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Russo One":{weight:["regular"],fallback:"sans-serif"},Cinzel:{weight:["regular","700","900"],fallback:"serif"},"PT Sans Caption":{weight:["regular","700"],fallback:"sans-serif"},Rajdhani:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Maven Pro":{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},"Fredoka One":{weight:["regular"],fallback:"display"},"IBM Plex Serif":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Ubuntu Condensed":{weight:["regular"],fallback:"sans-serif"},"Patua One":{weight:["regular"],fallback:"display"},Caveat:{weight:["regular","700"],fallback:"handwriting"},"Permanent Marker":{weight:["regular"],fallback:"handwriting"},Assistant:{weight:["200","300","regular","600","700","800"],fallback:"sans-serif"},ABeeZee:{weight:["regular","italic"],fallback:"sans-serif"},Vollkorn:{weight:["regular","italic","600","600italic","700","700italic","900","900italic"],fallback:"serif"},"Crete Round":{weight:["regular","italic"],fallback:"serif"},"Special Elite":{weight:["regular"],fallback:"display"},Rokkitt:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"serif"},Bangers:{weight:["regular"],fallback:"display"},"Francois One":{weight:["regular"],fallback:"sans-serif"},"Barlow Semi Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Alegreya Sans":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Satisfy:{weight:["regular"],fallback:"handwriting"},Tajawal:{weight:["200","300","regular","500","700","800","900"],fallback:"sans-serif"},"Bebas Neue":{weight:["regular"],fallback:"display"},"Patrick Hand":{weight:["regular"],fallback:"handwriting"},Cuprum:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Viga:{weight:["regular"],fallback:"sans-serif"},Courgette:{weight:["regular"],fallback:"handwriting"},"Ropa Sans":{weight:["regular","italic"],fallback:"sans-serif"},"Noto Serif JP":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},"Gochi Hand":{weight:["regular"],fallback:"handwriting"},Alegreya:{weight:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Luckiest Guy":{weight:["regular"],fallback:"display"},"Noticia Text":{weight:["regular","italic","700","700italic"],fallback:"serif"},Tinos:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Passion One":{weight:["regular","700","900"],fallback:"display"},"Alfa Slab One":{weight:["regular"],fallback:"display"},"Nanum Myeongjo":{weight:["regular","700","800"],fallback:"serif"},Monda:{weight:["regular","700"],fallback:"sans-serif"},"Lobster Two":{weight:["regular","italic","700","700italic"],fallback:"display"},Kalam:{weight:["300","regular","700"],fallback:"handwriting"},"Kaushan Script":{weight:["regular"],fallback:"handwriting"},"Archivo Black":{weight:["regular"],fallback:"sans-serif"},Cardo:{weight:["regular","italic","700"],fallback:"serif"},Archivo:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Great Vibes":{weight:["regular"],fallback:"handwriting"},Volkhov:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Quattrocento Sans":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"News Cycle":{weight:["regular","700"],fallback:"sans-serif"},"Pathway Gothic One":{weight:["regular"],fallback:"sans-serif"},Sacramento:{weight:["regular"],fallback:"handwriting"},"Frank Ruhl Libre":{weight:["300","regular","500","700","900"],fallback:"serif"},Yantramanav:{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},Cantarell:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Istok Web":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Didact Gothic":{weight:["regular"],fallback:"sans-serif"},"Concert One":{weight:["regular"],fallback:"display"},Taviraj:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Old Standard TT":{weight:["regular","italic","700"],fallback:"serif"},"Montserrat Alternates":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Economica:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Changa:{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},"Fira Sans Extra Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Gloria Hallelujah":{weight:["regular"],fallback:"handwriting"},Parisienne:{weight:["regular"],fallback:"handwriting"},Orbitron:{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},"Asap Condensed":{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Playfair Display SC":{weight:["regular","italic","700","700italic","900","900italic"],fallback:"serif"},Chivo:{weight:["300","300italic","regular","italic","700","700italic","900","900italic"],fallback:"sans-serif"},Sriracha:{weight:["regular"],fallback:"handwriting"},"Hind Vadodara":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"DM Sans":{weight:["regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},Prata:{weight:["regular"],fallback:"serif"},Quattrocento:{weight:["regular","700"],fallback:"serif"},Cookie:{weight:["regular"],fallback:"handwriting"},"Poiret One":{weight:["regular"],fallback:"display"},Handlee:{weight:["regular"],fallback:"handwriting"},Sarabun:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},BenchNine:{weight:["300","regular","700"],fallback:"sans-serif"},Merienda:{weight:["regular","700"],fallback:"handwriting"},"M PLUS 1p":{weight:["100","300","regular","500","700","800","900"],fallback:"sans-serif"},"PT Mono":{weight:["regular"],fallback:"monospace"},Lalezar:{weight:["regular"],fallback:"display"},Sanchez:{weight:["regular","italic"],fallback:"serif"},Lemonada:{weight:["300","regular","500","600","700"],fallback:"display"},"Markazi Text":{weight:["regular","500","600","700"],fallback:"serif"},Neuton:{weight:["200","300","regular","italic","700","800"],fallback:"serif"},"Hind Guntur":{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Josefin Slab":{weight:["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],fallback:"serif"},Philosopher:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Advent Pro":{weight:["100","200","300","regular","500","600","700"],fallback:"sans-serif"},"Do Hyeon":{weight:["regular"],fallback:"sans-serif"},"Sawarabi Mincho":{weight:["regular"],fallback:"sans-serif"},Ruda:{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},Vidaloka:{weight:["regular"],fallback:"serif"},Ultra:{weight:["regular"],fallback:"serif"},Neucha:{weight:["regular"],fallback:"handwriting"},Arapey:{weight:["regular","italic"],fallback:"serif"},Gudea:{weight:["regular","italic","700"],fallback:"sans-serif"},"Paytone One":{weight:["regular"],fallback:"sans-serif"},Kreon:{weight:["300","regular","500","600","700"],fallback:"serif"},"M PLUS Rounded 1c":{weight:["100","300","regular","500","700","800","900"],fallback:"sans-serif"},"Pragati Narrow":{weight:["regular","700"],fallback:"sans-serif"},"Press Start 2P":{weight:["regular"],fallback:"display"},"Hammersmith One":{weight:["regular"],fallback:"sans-serif"},"Gentium Basic":{weight:["regular","italic","700","700italic"],fallback:"serif"},Monoton:{weight:["regular"],fallback:"display"},Alef:{weight:["regular","700"],fallback:"sans-serif"},Alice:{weight:["regular"],fallback:"serif"},Aclonica:{weight:["regular"],fallback:"sans-serif"},"Sigmar One":{weight:["regular"],fallback:"display"},Spectral:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"serif"},"Marck Script":{weight:["regular"],fallback:"handwriting"},Electrolize:{weight:["regular"],fallback:"sans-serif"},Actor:{weight:["regular"],fallback:"sans-serif"},"Architects Daughter":{weight:["regular"],fallback:"handwriting"},Adamina:{weight:["regular"],fallback:"serif"},"Pontano Sans":{weight:["regular"],fallback:"sans-serif"},Audiowide:{weight:["regular"],fallback:"display"},Inter:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Cabin Condensed":{weight:["regular","500","600","700"],fallback:"sans-serif"},"Unica One":{weight:["regular"],fallback:"display"},Yellowtail:{weight:["regular"],fallback:"handwriting"},"El Messiri":{weight:["regular","500","600","700"],fallback:"sans-serif"},"Squada One":{weight:["regular"],fallback:"display"},Staatliches:{weight:["regular"],fallback:"display"},Amaranth:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Enriqueta:{weight:["regular","500","600","700"],fallback:"serif"},Mitr:{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},Glegoo:{weight:["regular","700"],fallback:"serif"},"Bowlby One SC":{weight:["regular"],fallback:"display"},Basic:{weight:["regular"],fallback:"sans-serif"},"Nanum Gothic Coding":{weight:["regular","700"],fallback:"monospace"},Sarala:{weight:["regular","700"],fallback:"sans-serif"},"Bad Script":{weight:["regular"],fallback:"handwriting"},"Homemade Apple":{weight:["regular"],fallback:"handwriting"},Tangerine:{weight:["regular","700"],fallback:"handwriting"},Cormorant:{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},"Oleo Script":{weight:["regular","700"],fallback:"display"},Karma:{weight:["300","regular","500","600","700"],fallback:"serif"},"Julius Sans One":{weight:["regular"],fallback:"sans-serif"},"Carter One":{weight:["regular"],fallback:"display"},Khand:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},"Nanum Pen Script":{weight:["regular"],fallback:"handwriting"},Cambay:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Fugaz One":{weight:["regular"],fallback:"display"},"Shadows Into Light Two":{weight:["regular"],fallback:"handwriting"},Coda:{weight:["regular","800"],fallback:"display"},"Signika Negative":{weight:["300","regular","600","700"],fallback:"sans-serif"},Pridi:{weight:["200","300","regular","500","600","700"],fallback:"serif"},Playball:{weight:["regular"],fallback:"display"},Saira:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Rock Salt":{weight:["regular"],fallback:"handwriting"},"Gothic A1":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Gentium Book Basic":{weight:["regular","italic","700","700italic"],fallback:"serif"},Allura:{weight:["regular"],fallback:"handwriting"},"Yeseva One":{weight:["regular"],fallback:"display"},"DM Serif Text":{weight:["regular","italic"],fallback:"serif"},Lusitana:{weight:["regular","700"],fallback:"serif"},Jura:{weight:["300","regular","500","600","700"],fallback:"sans-serif"},Average:{weight:["regular"],fallback:"serif"},Yrsa:{weight:["300","regular","500","600","700"],fallback:"serif"},"Sorts Mill Goudy":{weight:["regular","italic"],fallback:"serif"},"Cantata One":{weight:["regular"],fallback:"serif"},Armata:{weight:["regular"],fallback:"sans-serif"},Scada:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Abhaya Libre":{weight:["regular","500","600","700","800"],fallback:"serif"},Damion:{weight:["regular"],fallback:"handwriting"},Marmelad:{weight:["regular"],fallback:"sans-serif"},Varela:{weight:["regular"],fallback:"sans-serif"},Quantico:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Covered By Your Grace":{weight:["regular"],fallback:"handwriting"},"PT Serif Caption":{weight:["regular","italic"],fallback:"serif"},Ramabhadra:{weight:["regular"],fallback:"sans-serif"},Unna:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Encode Sans":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Arsenal:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Black Han Sans":{weight:["regular"],fallback:"sans-serif"},"Sawarabi Gothic":{weight:["regular"],fallback:"sans-serif"},"Ubuntu Mono":{weight:["regular","italic","700","700italic"],fallback:"monospace"},"Pinyon Script":{weight:["regular"],fallback:"handwriting"},"Black Ops One":{weight:["regular"],fallback:"display"},Marcellus:{weight:["regular"],fallback:"serif"},"Fauna One":{weight:["regular"],fallback:"serif"},"Lilita One":{weight:["regular"],fallback:"display"},Sintony:{weight:["regular","700"],fallback:"sans-serif"},Khula:{weight:["300","regular","600","700","800"],fallback:"sans-serif"},Jaldi:{weight:["regular","700"],fallback:"sans-serif"},"Rubik Mono One":{weight:["regular"],fallback:"sans-serif"},Allan:{weight:["regular","700"],fallback:"display"},"Reenie Beanie":{weight:["regular"],fallback:"handwriting"},"Alex Brush":{weight:["regular"],fallback:"handwriting"},"Mr Dafoe":{weight:["regular"],fallback:"handwriting"},Palanquin:{weight:["100","200","300","regular","500","600","700"],fallback:"sans-serif"},"Encode Sans Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Antic:{weight:["regular"],fallback:"sans-serif"},Knewave:{weight:["regular"],fallback:"display"},"Caveat Brush":{weight:["regular"],fallback:"handwriting"},Rambla:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Spinnaker:{weight:["regular"],fallback:"sans-serif"},"IBM Plex Mono":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"monospace"},Michroma:{weight:["regular"],fallback:"sans-serif"},"Nothing You Could Do":{weight:["regular"],fallback:"handwriting"},"Kelly Slab":{weight:["regular"],fallback:"display"},Boogaloo:{weight:["regular"],fallback:"display"},Chewy:{weight:["regular"],fallback:"display"},"ZCOOL XiaoWei":{weight:["regular"],fallback:"serif"},Rancho:{weight:["regular"],fallback:"handwriting"},"Noto Serif SC":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},Pangolin:{weight:["regular"],fallback:"handwriting"},"Fira Mono":{weight:["regular","500","700"],fallback:"monospace"},Forum:{weight:["regular"],fallback:"display"},"Antic Slab":{weight:["regular"],fallback:"serif"},"Alegreya Sans SC":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Anonymous Pro":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Lateef:{weight:["regular"],fallback:"handwriting"},"Annie Use Your Telescope":{weight:["regular"],fallback:"handwriting"},"Noto Sans HK":{weight:["100","300","regular","500","700","900"],fallback:"sans-serif"},"Martel Sans":{weight:["200","300","regular","600","700","800","900"],fallback:"sans-serif"},"Chakra Petch":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Rufina:{weight:["regular","700"],fallback:"serif"},"Bai Jamjuree":{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Scheherazade:{weight:["regular","700"],fallback:"serif"},Share:{weight:["regular","italic","700","700italic"],fallback:"display"},"Tenor Sans":{weight:["regular"],fallback:"sans-serif"},"DM Serif Display":{weight:["regular","italic"],fallback:"serif"},VT323:{weight:["regular"],fallback:"monospace"},"Share Tech Mono":{weight:["regular"],fallback:"monospace"},Mali:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"handwriting"},Cousine:{weight:["regular","italic","700","700italic"],fallback:"monospace"},"Cinzel Decorative":{weight:["regular","700","900"],fallback:"display"},Overlock:{weight:["regular","italic","700","700italic","900","900italic"],fallback:"display"},"Arbutus Slab":{weight:["regular"],fallback:"serif"},"Reem Kufi":{weight:["regular"],fallback:"sans-serif"},"Cabin Sketch":{weight:["regular","700"],fallback:"display"},"Saira Extra Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Eczar:{weight:["regular","500","600","700","800"],fallback:"serif"},"Leckerli One":{weight:["regular"],fallback:"handwriting"},Krub:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Berkshire Swash":{weight:["regular"],fallback:"handwriting"},"Fredericka the Great":{weight:["regular"],fallback:"display"},"Saira Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Overpass Mono":{weight:["300","regular","600","700"],fallback:"monospace"},Itim:{weight:["regular"],fallback:"handwriting"},Rasa:{weight:["300","regular","500","600","700"],fallback:"serif"},Bevan:{weight:["regular"],fallback:"display"},"Arima Madurai":{weight:["100","200","300","regular","500","700","800","900"],fallback:"display"},Italianno:{weight:["regular"],fallback:"handwriting"},"Coda Caption":{weight:["800"],fallback:"sans-serif"},Shrikhand:{weight:["regular"],fallback:"display"},"Just Another Hand":{weight:["regular"],fallback:"handwriting"},"Saira Semi Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},Almarai:{weight:["300","regular","700","800"],fallback:"sans-serif"},"Mukta Malar":{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Oranienbaum:{weight:["regular"],fallback:"serif"},Nobile:{weight:["regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},Candal:{weight:["regular"],fallback:"sans-serif"},"Six Caps":{weight:["regular"],fallback:"sans-serif"},"Space Mono":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Capriola:{weight:["regular"],fallback:"sans-serif"},Biryani:{weight:["200","300","regular","600","700","800","900"],fallback:"sans-serif"},Halant:{weight:["300","regular","500","600","700"],fallback:"serif"},Allerta:{weight:["regular"],fallback:"sans-serif"},Trirong:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},Mallanna:{weight:["regular"],fallback:"sans-serif"},Aldrich:{weight:["regular"],fallback:"sans-serif"},Aleo:{weight:["300","300italic","regular","italic","700","700italic"],fallback:"serif"},"Suez One":{weight:["regular"],fallback:"serif"},Caudex:{weight:["regular","italic","700","700italic"],fallback:"serif"},Niconne:{weight:["regular"],fallback:"handwriting"},"Mrs Saint Delafield":{weight:["regular"],fallback:"handwriting"},Gruppo:{weight:["regular"],fallback:"display"},"Miriam Libre":{weight:["regular","700"],fallback:"sans-serif"},"Contrail One":{weight:["regular"],fallback:"display"},"Days One":{weight:["regular"],fallback:"sans-serif"},"Allerta Stencil":{weight:["regular"],fallback:"sans-serif"},"Average Sans":{weight:["regular"],fallback:"sans-serif"},"Coming Soon":{weight:["regular"],fallback:"handwriting"},Pattaya:{weight:["regular"],fallback:"sans-serif"},"Londrina Solid":{weight:["100","300","regular","900"],fallback:"display"},Bungee:{weight:["regular"],fallback:"display"},Coustard:{weight:["regular","900"],fallback:"serif"},"Marcellus SC":{weight:["regular"],fallback:"serif"},"Racing Sans One":{weight:["regular"],fallback:"display"},Bentham:{weight:["regular"],fallback:"serif"},"Bungee Inline":{weight:["regular"],fallback:"display"},Magra:{weight:["regular","700"],fallback:"sans-serif"},Judson:{weight:["regular","italic","700"],fallback:"serif"},Rochester:{weight:["regular"],fallback:"handwriting"},"Grand Hotel":{weight:["regular"],fallback:"handwriting"},Gelasio:{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},Yesteryear:{weight:["regular"],fallback:"handwriting"},Syncopate:{weight:["regular","700"],fallback:"sans-serif"},Hanuman:{weight:["regular","700"],fallback:"serif"},"Kosugi Maru":{weight:["regular"],fallback:"sans-serif"},Copse:{weight:["regular"],fallback:"serif"},Mada:{weight:["200","300","regular","500","600","700","900"],fallback:"sans-serif"},"Titan One":{weight:["regular"],fallback:"display"},"Noto Serif TC":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},Kameron:{weight:["regular","700"],fallback:"serif"},Telex:{weight:["regular"],fallback:"sans-serif"},Norican:{weight:["regular"],fallback:"handwriting"},Maitree:{weight:["200","300","regular","500","600","700"],fallback:"serif"},"IM Fell Double Pica":{weight:["regular","italic"],fallback:"serif"},Molengo:{weight:["regular"],fallback:"sans-serif"},Sunflower:{weight:["300","500","700"],fallback:"sans-serif"},"Alegreya SC":{weight:["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Red Hat Display":{weight:["regular","italic","500","500italic","700","700italic","900","900italic"],fallback:"sans-serif"},Jua:{weight:["regular"],fallback:"sans-serif"},Ovo:{weight:["regular"],fallback:"serif"},"IBM Plex Sans Condensed":{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Nixie One":{weight:["regular"],fallback:"display"},Aladin:{weight:["regular"],fallback:"handwriting"},Arizonia:{weight:["regular"],fallback:"handwriting"},"Bubblegum Sans":{weight:["regular"],fallback:"display"},"Changa One":{weight:["regular","italic"],fallback:"display"},"Lexend Deca":{weight:["regular"],fallback:"sans-serif"},Sofia:{weight:["regular"],fallback:"handwriting"},"Jockey One":{weight:["regular"],fallback:"sans-serif"},Suranna:{weight:["regular"],fallback:"serif"},Amethysta:{weight:["regular"],fallback:"serif"},Schoolbell:{weight:["regular"],fallback:"handwriting"},"Nanum Brush Script":{weight:["regular"],fallback:"handwriting"},"Cedarville Cursive":{weight:["regular"],fallback:"handwriting"},"Cutive Mono":{weight:["regular"],fallback:"monospace"},Delius:{weight:["regular"],fallback:"handwriting"},"Raleway Dots":{weight:["regular"],fallback:"display"},Graduate:{weight:["regular"],fallback:"display"},Lustria:{weight:["regular"],fallback:"serif"},"Mukta Vaani":{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Kadwa:{weight:["regular","700"],fallback:"serif"},"Rozha One":{weight:["regular"],fallback:"serif"},Buenard:{weight:["regular","700"],fallback:"serif"},Cambo:{weight:["regular"],fallback:"serif"},Marvel:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Krona One":{weight:["regular"],fallback:"sans-serif"},"Carrois Gothic":{weight:["regular"],fallback:"sans-serif"},Carme:{weight:["regular"],fallback:"sans-serif"},"Slabo 13px":{weight:["regular"],fallback:"serif"},Lemon:{weight:["regular"],fallback:"display"},"Love Ya Like A Sister":{weight:["regular"],fallback:"display"},Rosario:{weight:["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],fallback:"sans-serif"},"Merienda One":{weight:["regular"],fallback:"handwriting"},"Public Sans":{weight:["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"sans-serif"},"Petit Formal Script":{weight:["regular"],fallback:"handwriting"},"Ceviche One":{weight:["regular"],fallback:"display"},Voltaire:{weight:["regular"],fallback:"sans-serif"},Fresca:{weight:["regular"],fallback:"sans-serif"},"Averia Serif Libre":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},Rye:{weight:["regular"],fallback:"display"},"Noto Serif KR":{weight:["200","300","regular","500","600","700","900"],fallback:"serif"},"Chelsea Market":{weight:["regular"],fallback:"display"},Calligraffitti:{weight:["regular"],fallback:"handwriting"},"Freckle Face":{weight:["regular"],fallback:"display"},"Duru Sans":{weight:["regular"],fallback:"sans-serif"},Trocchi:{weight:["regular"],fallback:"serif"},Metrophobic:{weight:["regular"],fallback:"sans-serif"},Mate:{weight:["regular","italic"],fallback:"serif"},Harmattan:{weight:["regular"],fallback:"sans-serif"},"Gilda Display":{weight:["regular"],fallback:"serif"},"Cormorant Infant":{weight:["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"serif"},Spartan:{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Oxygen Mono":{weight:["regular"],fallback:"monospace"},Chonburi:{weight:["regular"],fallback:"display"},"Goudy Bookletter 1911":{weight:["regular"],fallback:"serif"},Sansita:{weight:["regular","italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},"Emilys Candy":{weight:["regular"],fallback:"display"},Amiko:{weight:["regular","600","700"],fallback:"sans-serif"},Kristi:{weight:["regular"],fallback:"handwriting"},"Palanquin Dark":{weight:["regular","500","600","700"],fallback:"sans-serif"},Lekton:{weight:["regular","italic","700"],fallback:"sans-serif"},Cutive:{weight:["regular"],fallback:"serif"},"Herr Von Muellerhoff":{weight:["regular"],fallback:"handwriting"},"GFS Didot":{weight:["regular"],fallback:"serif"},Radley:{weight:["regular","italic"],fallback:"serif"},"Sue Ellen Francisco":{weight:["regular"],fallback:"handwriting"},Pompiere:{weight:["regular"],fallback:"display"},Gabriela:{weight:["regular"],fallback:"serif"},Niramit:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Seaweed Script":{weight:["regular"],fallback:"display"},"Sedgwick Ave":{weight:["regular"],fallback:"handwriting"},Federo:{weight:["regular"],fallback:"sans-serif"},McLaren:{weight:["regular"],fallback:"display"},"IM Fell DW Pica":{weight:["regular","italic"],fallback:"serif"},Sniglet:{weight:["regular","800"],fallback:"display"},"Mr De Haviland":{weight:["regular"],fallback:"handwriting"},Shojumaru:{weight:["regular"],fallback:"display"},Poly:{weight:["regular","italic"],fallback:"serif"},Belleza:{weight:["regular"],fallback:"sans-serif"},Faustina:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},"IM Fell English":{weight:["regular","italic"],fallback:"serif"},"Rammetto One":{weight:["regular"],fallback:"display"},Amita:{weight:["regular","700"],fallback:"handwriting"},Inder:{weight:["regular"],fallback:"sans-serif"},"Antic Didone":{weight:["regular"],fallback:"serif"},"Alike Angular":{weight:["regular"],fallback:"serif"},Montez:{weight:["regular"],fallback:"handwriting"},K2D:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},UnifrakturMaguntia:{weight:["regular"],fallback:"display"},Gurajada:{weight:["regular"],fallback:"serif"},"Proza Libre":{weight:["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},Athiti:{weight:["200","300","regular","500","600","700"],fallback:"sans-serif"},Andada:{weight:["regular"],fallback:"serif"},"Liu Jian Mao Cao":{weight:["regular"],fallback:"handwriting"},Megrim:{weight:["regular"],fallback:"display"},"Vast Shadow":{weight:["regular"],fallback:"display"},Wallpoet:{weight:["regular"],fallback:"display"},Unkempt:{weight:["regular","700"],fallback:"display"},"Fanwood Text":{weight:["regular","italic"],fallback:"serif"},"Doppio One":{weight:["regular"],fallback:"sans-serif"},"Comic Neue":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"handwriting"},Corben:{weight:["regular","700"],fallback:"display"},Frijole:{weight:["regular"],fallback:"display"},Balthazar:{weight:["regular"],fallback:"serif"},Mirza:{weight:["regular","500","600","700"],fallback:"display"},"IM Fell French Canon SC":{weight:["regular"],fallback:"serif"},Brawler:{weight:["regular"],fallback:"serif"},"Oleo Script Swash Caps":{weight:["regular","700"],fallback:"display"},Mandali:{weight:["regular"],fallback:"sans-serif"},Convergence:{weight:["regular"],fallback:"sans-serif"},Fondamento:{weight:["regular","italic"],fallback:"handwriting"},Alike:{weight:["regular"],fallback:"serif"},Baumans:{weight:["regular"],fallback:"display"},Esteban:{weight:["regular"],fallback:"serif"},"Gravitas One":{weight:["regular"],fallback:"display"},Anaheim:{weight:["regular"],fallback:"sans-serif"},"Wendy One":{weight:["regular"],fallback:"sans-serif"},"Stardos Stencil":{weight:["regular","700"],fallback:"display"},"Spicy Rice":{weight:["regular"],fallback:"display"},Rakkas:{weight:["regular"],fallback:"display"},"La Belle Aurore":{weight:["regular"],fallback:"handwriting"},"Secular One":{weight:["regular"],fallback:"sans-serif"},Belgrano:{weight:["regular"],fallback:"serif"},"Bungee Shade":{weight:["regular"],fallback:"display"},"Crafty Girls":{weight:["regular"],fallback:"handwriting"},Battambang:{weight:["regular","700"],fallback:"display"},Quando:{weight:["regular"],fallback:"serif"},"Mouse Memoirs":{weight:["regular"],fallback:"sans-serif"},Gugi:{weight:["regular"],fallback:"display"},"Faster One":{weight:["regular"],fallback:"display"},"B612 Mono":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Limelight:{weight:["regular"],fallback:"display"},"Short Stack":{weight:["regular"],fallback:"handwriting"},"Mountains of Christmas":{weight:["regular","700"],fallback:"display"},"Share Tech":{weight:["regular"],fallback:"sans-serif"},Laila:{weight:["300","regular","500","600","700"],fallback:"serif"},Literata:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},"Cormorant SC":{weight:["300","regular","500","600","700"],fallback:"serif"},"Fjord One":{weight:["regular"],fallback:"serif"},Podkova:{weight:["regular","500","600","700","800"],fallback:"serif"},Homenaje:{weight:["regular"],fallback:"sans-serif"},"Walter Turncoat":{weight:["regular"],fallback:"handwriting"},Sen:{weight:["regular","700","800"],fallback:"sans-serif"},"Patrick Hand SC":{weight:["regular"],fallback:"handwriting"},Voces:{weight:["regular"],fallback:"display"},Qwigley:{weight:["regular"],fallback:"handwriting"},"Happy Monkey":{weight:["regular"],fallback:"display"},"Rouge Script":{weight:["regular"],fallback:"handwriting"},"Baloo Chettan 2":{weight:["regular","500","600","700","800"],fallback:"display"},NTR:{weight:["regular"],fallback:"sans-serif"},Skranji:{weight:["regular","700"],fallback:"display"},Strait:{weight:["regular"],fallback:"sans-serif"},"Dawning of a New Day":{weight:["regular"],fallback:"handwriting"},Iceland:{weight:["regular"],fallback:"display"},"Expletus Sans":{weight:["regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"display"},"Montserrat Subrayada":{weight:["regular","700"],fallback:"sans-serif"},Oregano:{weight:["regular","italic"],fallback:"display"},"Give You Glory":{weight:["regular"],fallback:"handwriting"},Alata:{weight:["regular"],fallback:"sans-serif"},Puritan:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Mako:{weight:["regular"],fallback:"sans-serif"},Andika:{weight:["regular"],fallback:"sans-serif"},"Cormorant Upright":{weight:["300","regular","500","600","700"],fallback:"serif"},Zeyada:{weight:["regular"],fallback:"handwriting"},"Bowlby One":{weight:["regular"],fallback:"display"},"Aref Ruqaa":{weight:["regular","700"],fallback:"serif"},Numans:{weight:["regular"],fallback:"sans-serif"},Kurale:{weight:["regular"],fallback:"serif"},Spirax:{weight:["regular"],fallback:"display"},"Clicker Script":{weight:["regular"],fallback:"handwriting"},"Waiting for the Sunrise":{weight:["regular"],fallback:"handwriting"},"Holtwood One SC":{weight:["regular"],fallback:"serif"},Katibeh:{weight:["regular"],fallback:"display"},"Carrois Gothic SC":{weight:["regular"],fallback:"sans-serif"},Livvic:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],fallback:"sans-serif"},Eater:{weight:["regular"],fallback:"display"},"Fontdiner Swanky":{weight:["regular"],fallback:"display"},"Finger Paint":{weight:["regular"],fallback:"display"},Bellefair:{weight:["regular"],fallback:"serif"},"Wire One":{weight:["regular"],fallback:"sans-serif"},Kosugi:{weight:["regular"],fallback:"sans-serif"},Charm:{weight:["regular","700"],fallback:"handwriting"},"Delius Swash Caps":{weight:["regular"],fallback:"handwriting"},"Vesper Libre":{weight:["regular","500","700","900"],fallback:"serif"},"Red Hat Text":{weight:["regular","italic","500","500italic","700","700italic"],fallback:"sans-serif"},Gafata:{weight:["regular"],fallback:"sans-serif"},"Averia Sans Libre":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},"Denk One":{weight:["regular"],fallback:"sans-serif"},Geo:{weight:["regular","italic"],fallback:"sans-serif"},Tauri:{weight:["regular"],fallback:"sans-serif"},"Cherry Swash":{weight:["regular","700"],fallback:"display"},Codystar:{weight:["300","regular"],fallback:"display"},"Cantora One":{weight:["regular"],fallback:"sans-serif"},"Encode Sans Semi Condensed":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Nova Square":{weight:["regular"],fallback:"display"},BioRhyme:{weight:["200","300","regular","700","800"],fallback:"serif"},Timmana:{weight:["regular"],fallback:"sans-serif"},Atma:{weight:["300","regular","500","600","700"],fallback:"display"},Tienne:{weight:["regular","700","900"],fallback:"serif"},Meddon:{weight:["regular"],fallback:"handwriting"},Galada:{weight:["regular"],fallback:"display"},Padauk:{weight:["regular","700"],fallback:"sans-serif"},"Loved by the King":{weight:["regular"],fallback:"handwriting"},"The Girl Next Door":{weight:["regular"],fallback:"handwriting"},"Darker Grotesque":{weight:["300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Life Savers":{weight:["regular","700","800"],fallback:"display"},Bilbo:{weight:["regular"],fallback:"handwriting"},Shanti:{weight:["regular"],fallback:"sans-serif"},"Headland One":{weight:["regular"],fallback:"serif"},"Euphoria Script":{weight:["regular"],fallback:"handwriting"},Imprima:{weight:["regular"],fallback:"sans-serif"},"Aguafina Script":{weight:["regular"],fallback:"handwriting"},"Baloo 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Over the Rainbow":{weight:["regular"],fallback:"handwriting"},Sarpanch:{weight:["regular","500","600","700","800","900"],fallback:"sans-serif"},Orienta:{weight:["regular"],fallback:"sans-serif"},"Spectral SC":{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"serif"},"Port Lligat Sans":{weight:["regular"],fallback:"sans-serif"},Artifika:{weight:["regular"],fallback:"serif"},Ledger:{weight:["regular"],fallback:"serif"},Ruluko:{weight:["regular"],fallback:"sans-serif"},Sail:{weight:["regular"],fallback:"display"},Alatsi:{weight:["regular"],fallback:"sans-serif"},"Sonsie One":{weight:["regular"],fallback:"display"},"Bilbo Swash Caps":{weight:["regular"],fallback:"handwriting"},Slackey:{weight:["regular"],fallback:"display"},Salsa:{weight:["regular"],fallback:"display"},Rationale:{weight:["regular"],fallback:"sans-serif"},"Hepta Slab":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"serif"},Nosifer:{weight:["regular"],fallback:"display"},Dekko:{weight:["regular"],fallback:"handwriting"},"Encode Sans Expanded":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Lily Script One":{weight:["regular"],fallback:"display"},"Zilla Slab Highlight":{weight:["regular","700"],fallback:"display"},Dokdo:{weight:["regular"],fallback:"handwriting"},"Kotta One":{weight:["regular"],fallback:"serif"},"Macondo Swash Caps":{weight:["regular"],fallback:"display"},"Encode Sans Semi Expanded":{weight:["100","200","300","regular","500","600","700","800","900"],fallback:"sans-serif"},"Prosto One":{weight:["regular"],fallback:"display"},"Trade Winds":{weight:["regular"],fallback:"display"},Farsan:{weight:["regular"],fallback:"display"},Manuale:{weight:["regular","500","600","700","italic","500italic","600italic","700italic"],fallback:"serif"},Creepster:{weight:["regular"],fallback:"display"},"Medula One":{weight:["regular"],fallback:"display"},Ranchers:{weight:["regular"],fallback:"display"},"David Libre":{weight:["regular","500","700"],fallback:"serif"},"Libre Barcode 39":{weight:["regular"],fallback:"display"},"Vampiro One":{weight:["regular"],fallback:"display"},Metamorphous:{weight:["regular"],fallback:"display"},"Bubbler One":{weight:["regular"],fallback:"sans-serif"},"Nova Mono":{weight:["regular"],fallback:"monospace"},"Princess Sofia":{weight:["regular"],fallback:"handwriting"},"Just Me Again Down Here":{weight:["regular"],fallback:"handwriting"},Notable:{weight:["regular"],fallback:"sans-serif"},"Fascinate Inline":{weight:["regular"],fallback:"display"},Vibur:{weight:["regular"],fallback:"handwriting"},"Vollkorn SC":{weight:["regular","600","700","900"],fallback:"serif"},Crushed:{weight:["regular"],fallback:"display"},Sumana:{weight:["regular","700"],fallback:"serif"},Elsie:{weight:["regular","900"],fallback:"display"},Ranga:{weight:["regular","700"],fallback:"display"},"Port Lligat Slab":{weight:["regular"],fallback:"serif"},Amarante:{weight:["regular"],fallback:"display"},"Ruslan Display":{weight:["regular"],fallback:"display"},"Germania One":{weight:["regular"],fallback:"display"},"Sirin Stencil":{weight:["regular"],fallback:"display"},Pavanam:{weight:["regular"],fallback:"sans-serif"},Peralta:{weight:["regular"],fallback:"display"},"Scope One":{weight:["regular"],fallback:"serif"},Jomolhari:{weight:["regular"],fallback:"serif"},Kranky:{weight:["regular"],fallback:"display"},"Yatra One":{weight:["regular"],fallback:"display"},"Jacques Francois Shadow":{weight:["regular"],fallback:"display"},Ribeye:{weight:["regular"],fallback:"display"},"Averia Libre":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},"Saira Stencil One":{weight:["regular"],fallback:"display"},"Cherry Cream Soda":{weight:["regular"],fallback:"display"},"Mukta Mahee":{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},Srisakdi:{weight:["regular","700"],fallback:"display"},Trochut:{weight:["regular","italic","700"],fallback:"display"},Coiny:{weight:["regular"],fallback:"display"},"Ma Shan Zheng":{weight:["regular"],fallback:"handwriting"},Asul:{weight:["regular","700"],fallback:"sans-serif"},Ewert:{weight:["regular"],fallback:"display"},Arya:{weight:["regular","700"],fallback:"sans-serif"},"Hanalei Fill":{weight:["regular"],fallback:"display"},Grenze:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"serif"},"Ribeye Marrow":{weight:["regular"],fallback:"display"},"IM Fell English SC":{weight:["regular"],fallback:"serif"},"Chau Philomene One":{weight:["regular","italic"],fallback:"sans-serif"},Sarina:{weight:["regular"],fallback:"display"},Chicle:{weight:["regular"],fallback:"display"},Manjari:{weight:["100","regular","700"],fallback:"sans-serif"},Montaga:{weight:["regular"],fallback:"serif"},Italiana:{weight:["regular"],fallback:"serif"},Akronim:{weight:["regular"],fallback:"display"},Habibi:{weight:["regular"],fallback:"serif"},Englebert:{weight:["regular"],fallback:"sans-serif"},Dynalight:{weight:["regular"],fallback:"display"},"Mate SC":{weight:["regular"],fallback:"serif"},"Henny Penny":{weight:["regular"],fallback:"display"},"Sree Krushnadevaraya":{weight:["regular"],fallback:"serif"},Engagement:{weight:["regular"],fallback:"handwriting"},Girassol:{weight:["regular"],fallback:"display"},"Kite One":{weight:["regular"],fallback:"sans-serif"},"Ibarra Real Nova":{weight:["regular","italic","600","600italic","700","700italic"],fallback:"serif"},Gaegu:{weight:["300","regular","700"],fallback:"handwriting"},Fenix:{weight:["regular"],fallback:"serif"},"Pirata One":{weight:["regular"],fallback:"display"},"Tulpen One":{weight:["regular"],fallback:"display"},"IM Fell Great Primer":{weight:["regular","italic"],fallback:"serif"},Chathura:{weight:["100","300","regular","700","800"],fallback:"sans-serif"},Unlock:{weight:["regular"],fallback:"display"},"Nova Round":{weight:["regular"],fallback:"display"},Sura:{weight:["regular","700"],fallback:"serif"},"Kumar One":{weight:["regular"],fallback:"display"},Baskervville:{weight:["regular","italic"],fallback:"serif"},Quintessential:{weight:["regular"],fallback:"handwriting"},Milonga:{weight:["regular"],fallback:"display"},Bayon:{weight:["regular"],fallback:"display"},"Be Vietnam":{weight:["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],fallback:"sans-serif"},"Crimson Pro":{weight:["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],fallback:"serif"},B612:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"League Script":{weight:["regular"],fallback:"handwriting"},"Inknut Antiqua":{weight:["300","regular","500","600","700","800","900"],fallback:"serif"},Mogra:{weight:["regular"],fallback:"display"},"Mystery Quest":{weight:["regular"],fallback:"display"},"Monsieur La Doulaise":{weight:["regular"],fallback:"handwriting"},Vibes:{weight:["regular"],fallback:"display"},Rosarivo:{weight:["regular","italic"],fallback:"serif"},"Uncial Antiqua":{weight:["regular"],fallback:"display"},Dorsa:{weight:["regular"],fallback:"sans-serif"},Almendra:{weight:["regular","italic","700","700italic"],fallback:"serif"},Diplomata:{weight:["regular"],fallback:"display"},Simonetta:{weight:["regular","italic","900","900italic"],fallback:"display"},"New Rocker":{weight:["regular"],fallback:"display"},Snippet:{weight:["regular"],fallback:"sans-serif"},Petrona:{weight:["regular"],fallback:"serif"},Ramaraja:{weight:["regular"],fallback:"serif"},"Averia Gruesa Libre":{weight:["regular"],fallback:"display"},"Baloo Bhaina 2":{weight:["regular","500","600","700","800"],fallback:"display"},Kodchasan:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Meera Inimai":{weight:["regular"],fallback:"sans-serif"},Flamenco:{weight:["300","regular"],fallback:"display"},Khmer:{weight:["regular"],fallback:"display"},Paprika:{weight:["regular"],fallback:"display"},Koulen:{weight:["regular"],fallback:"display"},Mansalva:{weight:["regular"],fallback:"handwriting"},"Lovers Quarrel":{weight:["regular"],fallback:"handwriting"},Condiment:{weight:["regular"],fallback:"handwriting"},"Baloo Thambi 2":{weight:["regular","500","600","700","800"],fallback:"display"},Stoke:{weight:["300","regular"],fallback:"serif"},Barrio:{weight:["regular"],fallback:"display"},Barriecito:{weight:["regular"],fallback:"display"},"Donegal One":{weight:["regular"],fallback:"serif"},Kavoon:{weight:["regular"],fallback:"display"},"Big Shoulders Display":{weight:["100","300","regular","500","600","700","800","900"],fallback:"display"},Mina:{weight:["regular","700"],fallback:"sans-serif"},"Big Shoulders Text":{weight:["100","300","regular","500","600","700","800","900"],fallback:"display"},Prociono:{weight:["regular"],fallback:"serif"},"Text Me One":{weight:["regular"],fallback:"sans-serif"},"IM Fell French Canon":{weight:["regular","italic"],fallback:"serif"},"Overlock SC":{weight:["regular"],fallback:"display"},Cagliostro:{weight:["regular"],fallback:"sans-serif"},"Marko One":{weight:["regular"],fallback:"serif"},"Swanky and Moo Moo":{weight:["regular"],fallback:"handwriting"},"Maiden Orange":{weight:["regular"],fallback:"display"},Blinker:{weight:["100","200","300","regular","600","700","800","900"],fallback:"sans-serif"},Miniver:{weight:["regular"],fallback:"display"},Angkor:{weight:["regular"],fallback:"display"},Chango:{weight:["regular"],fallback:"display"},Thasadith:{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},Modak:{weight:["regular"],fallback:"display"},Junge:{weight:["regular"],fallback:"serif"},"Stint Ultra Condensed":{weight:["regular"],fallback:"display"},Stalemate:{weight:["regular"],fallback:"handwriting"},Tillana:{weight:["regular","500","600","700","800"],fallback:"handwriting"},UnifrakturCook:{weight:["700"],fallback:"display"},"Rum Raisin":{weight:["regular"],fallback:"sans-serif"},Farro:{weight:["300","regular","500","700"],fallback:"sans-serif"},"Delius Unicase":{weight:["regular","700"],fallback:"handwriting"},Sancreek:{weight:["regular"],fallback:"display"},Julee:{weight:["regular"],fallback:"handwriting"},Margarine:{weight:["regular"],fallback:"display"},"Lakki Reddy":{weight:["regular"],fallback:"handwriting"},"Stint Ultra Expanded":{weight:["regular"],fallback:"display"},"Bigshot One":{weight:["regular"],fallback:"display"},Griffy:{weight:["regular"],fallback:"display"},Moul:{weight:["regular"],fallback:"display"},"Diplomata SC":{weight:["regular"],fallback:"display"},Oxanium:{weight:["200","300","regular","500","600","700","800"],fallback:"display"},Offside:{weight:["regular"],fallback:"display"},"Fira Code":{weight:["300","regular","500","600","700"],fallback:"monospace"},"Eagle Lake":{weight:["regular"],fallback:"handwriting"},Flavors:{weight:["regular"],fallback:"display"},"Londrina Outline":{weight:["regular"],fallback:"display"},Tomorrow:{weight:["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],fallback:"sans-serif"},Nokora:{weight:["regular","700"],fallback:"serif"},Calistoga:{weight:["regular"],fallback:"display"},Gotu:{weight:["regular"],fallback:"sans-serif"},"Della Respira":{weight:["regular"],fallback:"serif"},"Cormorant Unicase":{weight:["300","regular","500","600","700"],fallback:"serif"},"Libre Caslon Text":{weight:["regular","italic","700"],fallback:"serif"},Buda:{weight:["300"],fallback:"display"},Asar:{weight:["regular"],fallback:"serif"},"Poller One":{weight:["regular"],fallback:"display"},"Autour One":{weight:["regular"],fallback:"display"},"Nova Slim":{weight:["regular"],fallback:"display"},Underdog:{weight:["regular"],fallback:"display"},Redressed:{weight:["regular"],fallback:"handwriting"},"Yeon Sung":{weight:["regular"],fallback:"display"},Content:{weight:["regular","700"],fallback:"display"},Kantumruy:{weight:["300","regular","700"],fallback:"sans-serif"},"Baloo Paaji 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Jim Nightshade":{weight:["regular"],fallback:"handwriting"},"Glass Antiqua":{weight:["regular"],fallback:"display"},"Snowburst One":{weight:["regular"],fallback:"display"},"Gamja Flower":{weight:["regular"],fallback:"handwriting"},Revalia:{weight:["regular"],fallback:"display"},"Metal Mania":{weight:["regular"],fallback:"display"},Charmonman:{weight:["regular","700"],fallback:"handwriting"},"IM Fell DW Pica SC":{weight:["regular"],fallback:"serif"},Inika:{weight:["regular","700"],fallback:"serif"},"Elsie Swash Caps":{weight:["regular","900"],fallback:"display"},Wellfleet:{weight:["regular"],fallback:"display"},"Chela One":{weight:["regular"],fallback:"display"},"Rhodium Libre":{weight:["regular"],fallback:"serif"},"Mrs Sheppards":{weight:["regular"],fallback:"handwriting"},"Sedgwick Ave Display":{weight:["regular"],fallback:"handwriting"},"Modern Antiqua":{weight:["regular"],fallback:"display"},"Ravi Prakash":{weight:["regular"],fallback:"display"},Galdeano:{weight:["regular"],fallback:"sans-serif"},Oldenburg:{weight:["regular"],fallback:"display"},Arbutus:{weight:["regular"],fallback:"display"},"Poor Story":{weight:["regular"],fallback:"display"},"Hi Melody":{weight:["regular"],fallback:"handwriting"},"Joti One":{weight:["regular"],fallback:"display"},"Nova Flat":{weight:["regular"],fallback:"display"},"ZCOOL QingKe HuangYou":{weight:["regular"],fallback:"display"},"Linden Hill":{weight:["regular","italic"],fallback:"serif"},Bokor:{weight:["regular"],fallback:"display"},"Courier Prime":{weight:["regular","italic","700","700italic"],fallback:"monospace"},Trykker:{weight:["regular"],fallback:"serif"},KoHo:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Song Myung":{weight:["regular"],fallback:"serif"},Ruthie:{weight:["regular"],fallback:"handwriting"},"Libre Barcode 39 Extended Text":{weight:["regular"],fallback:"display"},Chilanka:{weight:["regular"],fallback:"handwriting"},Fahkwang:{weight:["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],fallback:"sans-serif"},Felipa:{weight:["regular"],fallback:"handwriting"},Monofett:{weight:["regular"],fallback:"display"},"Odibee Sans":{weight:["regular"],fallback:"display"},Smythe:{weight:["regular"],fallback:"display"},"Major Mono Display":{weight:["regular"],fallback:"monospace"},Jomhuria:{weight:["regular"],fallback:"display"},"Croissant One":{weight:["regular"],fallback:"display"},Dangrek:{weight:["regular"],fallback:"display"},"Original Surfer":{weight:["regular"],fallback:"display"},Bahiana:{weight:["regular"],fallback:"display"},Gorditas:{weight:["regular","700"],fallback:"display"},"Odor Mean Chey":{weight:["regular"],fallback:"display"},Iceberg:{weight:["regular"],fallback:"display"},MedievalSharp:{weight:["regular"],fallback:"display"},"Caesar Dressing":{weight:["regular"],fallback:"display"},Sahitya:{weight:["regular","700"],fallback:"serif"},Stylish:{weight:["regular"],fallback:"sans-serif"},"Nova Cut":{weight:["regular"],fallback:"display"},"Purple Purse":{weight:["regular"],fallback:"display"},Devonshire:{weight:["regular"],fallback:"handwriting"},Smokum:{weight:["regular"],fallback:"display"},"Almendra Display":{weight:["regular"],fallback:"display"},Galindo:{weight:["regular"],fallback:"display"},Preahvihear:{weight:["regular"],fallback:"display"},Siemreap:{weight:["regular"],fallback:"display"},"Irish Grover":{weight:["regular"],fallback:"display"},Gupter:{weight:["regular","500","700"],fallback:"serif"},"Meie Script":{weight:["regular"],fallback:"handwriting"},"Libre Barcode 128":{weight:["regular"],fallback:"display"},"Keania One":{weight:["regular"],fallback:"display"},"GFS Neohellenic":{weight:["regular","italic","700","700italic"],fallback:"sans-serif"},"Cute Font":{weight:["regular"],fallback:"display"},"Londrina Shadow":{weight:["regular"],fallback:"display"},"East Sea Dokdo":{weight:["regular"],fallback:"handwriting"},"Libre Barcode 39 Extended":{weight:["regular"],fallback:"display"},Risque:{weight:["regular"],fallback:"display"},Lancelot:{weight:["regular"],fallback:"display"},"Libre Caslon Display":{weight:["regular"],fallback:"serif"},Plaster:{weight:["regular"],fallback:"display"},"Goblin One":{weight:["regular"],fallback:"display"},Asset:{weight:["regular"],fallback:"display"},"Almendra SC":{weight:["regular"],fallback:"serif"},"Jacques Francois":{weight:["regular"],fallback:"serif"},"Jolly Lodger":{weight:["regular"],fallback:"display"},"Lexend Exa":{weight:["regular"],fallback:"sans-serif"},Molle:{weight:["italic"],fallback:"handwriting"},Kavivanar:{weight:["regular"],fallback:"handwriting"},"Kirang Haerang":{weight:["regular"],fallback:"display"},Piedra:{weight:["regular"],fallback:"display"},"Atomic Age":{weight:["regular"],fallback:"display"},"Kulim Park":{weight:["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],fallback:"sans-serif"},"Libre Barcode 39 Text":{weight:["regular"],fallback:"display"},"IM Fell Great Primer SC":{weight:["regular"],fallback:"serif"},"Tenali Ramakrishna":{weight:["regular"],fallback:"sans-serif"},Butcherman:{weight:["regular"],fallback:"display"},"Dr Sugiyama":{weight:["regular"],fallback:"handwriting"},"Geostar Fill":{weight:["regular"],fallback:"display"},Romanesco:{weight:["regular"],fallback:"handwriting"},"Libre Barcode 128 Text":{weight:["regular"],fallback:"display"},Sunshiney:{weight:["regular"],fallback:"handwriting"},"Kumar One Outline":{weight:["regular"],fallback:"display"},Peddana:{weight:["regular"],fallback:"serif"},"Baloo Bhai 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Kdam Thmor":{weight:["regular"],fallback:"display"},"Ruge Boogie":{weight:["regular"],fallback:"handwriting"},Freehand:{weight:["regular"],fallback:"display"},Bonbon:{weight:["regular"],fallback:"handwriting"},Caladea:{weight:["regular","italic","700","700italic"],fallback:"serif"},"Single Day":{weight:["regular"],fallback:"display"},"Baloo Tamma 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Inria Sans":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"sans-serif"},Hanalei:{weight:["regular"],fallback:"display"},"Emblema One":{weight:["regular"],fallback:"display"},"Seymour One":{weight:["regular"],fallback:"sans-serif"},"Miss Fajardose":{weight:["regular"],fallback:"handwriting"},Sevillana:{weight:["regular"],fallback:"display"},"Inria Serif":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"serif"},"Bungee Outline":{weight:["regular"],fallback:"display"},Metal:{weight:["regular"],fallback:"display"},"IM Fell Double Pica SC":{weight:["regular"],fallback:"serif"},"Lexend Giga":{weight:["regular"],fallback:"sans-serif"},"ZCOOL KuaiLe":{weight:["regular"],fallback:"display"},Astloch:{weight:["regular","700"],fallback:"display"},"Mr Bedfort":{weight:["regular"],fallback:"handwriting"},Macondo:{weight:["regular"],fallback:"display"},"Butterfly Kids":{weight:["regular"],fallback:"handwriting"},"Supermercado One":{weight:["regular"],fallback:"display"},Fruktur:{weight:["regular"],fallback:"display"},Taprom:{weight:["regular"],fallback:"display"},Lacquer:{weight:["regular"],fallback:"display"},"Black And White Picture":{weight:["regular"],fallback:"sans-serif"},"Bigelow Rules":{weight:["regular"],fallback:"display"},"Beth Ellen":{weight:["regular"],fallback:"handwriting"},"Sofadi One":{weight:["regular"],fallback:"display"},Combo:{weight:["regular"],fallback:"display"},Bellota:{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},Federant:{weight:["regular"],fallback:"display"},"Miltonian Tattoo":{weight:["regular"],fallback:"display"},"Londrina Sketch":{weight:["regular"],fallback:"display"},Suwannaphum:{weight:["regular"],fallback:"display"},"Bungee Hairline":{weight:["regular"],fallback:"display"},Fascinate:{weight:["regular"],fallback:"display"},"Erica One":{weight:["regular"],fallback:"display"},"Nova Oval":{weight:["regular"],fallback:"display"},"Baloo Da 2":{weight:["regular","500","600","700","800"],fallback:"display"},"Sulphur Point":{weight:["300","regular","700"],fallback:"sans-serif"},Aubrey:{weight:["regular"],fallback:"display"},Gidugu:{weight:["regular"],fallback:"sans-serif"},"Bellota Text":{weight:["300","300italic","regular","italic","700","700italic"],fallback:"display"},"Nova Script":{weight:["regular"],fallback:"display"},Miltonian:{weight:["regular"],fallback:"display"},Gayathri:{weight:["100","regular","700"],fallback:"sans-serif"},Geostar:{weight:["regular"],fallback:"display"},Moulpali:{weight:["regular"],fallback:"display"},"Passero One":{weight:["regular"],fallback:"display"},"Stalinist One":{weight:["regular"],fallback:"display"},"Long Cang":{weight:["regular"],fallback:"handwriting"},Solway:{weight:["300","regular","500","700","800"],fallback:"serif"},"Zhi Mang Xing":{weight:["regular"],fallback:"handwriting"},"Baloo Tammudu 2":{weight:["regular","500","600","700","800"],fallback:"display"},Chenla:{weight:["regular"],fallback:"display"},Suravaram:{weight:["regular"],fallback:"serif"},Fasthand:{weight:["regular"],fallback:"serif"},Kenia:{weight:["regular"],fallback:"display"},Dhurjati:{weight:["regular"],fallback:"sans-serif"},"Lexend Tera":{weight:["regular"],fallback:"sans-serif"},"BioRhyme Expanded":{weight:["200","300","regular","700","800"],fallback:"serif"},"Turret Road":{weight:["200","300","regular","500","700","800"],fallback:"display"},Warnes:{weight:["regular"],fallback:"display"},"Viaoda Libre":{weight:["regular"],fallback:"display"},"Lexend Mega":{weight:["regular"],fallback:"sans-serif"},Bahianita:{weight:["regular"],fallback:"display"},Manrope:{weight:["200","300","regular","500","600","700","800"],fallback:"sans-serif"},"Lexend Zetta":{weight:["regular"],fallback:"sans-serif"},"Lexend Peta":{weight:["regular"],fallback:"sans-serif"}});function Oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var je=function(e){f()(a,e);var t=Oe(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.setAttributes,i=t.attributes,r=t.device,n=void 0===r?"":r,c=t.showFontSize,s=void 0!==c&&c,g=t.showFontFamily,b=void 0!==g&&g,u=t.showFontWeight,d=void 0!==u&&u,p=t.showTextTransform,f=void 0!==p&&p,h=t.showLineHeight,m=void 0!==h&&h,k=t.showLetterSpacing,y=void 0!==k&&k,v=t.disableAdvancedToggle,w=void 0!==v&&v,O=t.fontSizePlaceholder,j=void 0===O?"17":O,S=[{value:"",label:Object(T.__)("Select font","generateblocks")},{value:"Arial",label:"Arial"},{value:"Helvetica",label:"Helvetica"},{value:"Times New Roman",label:"Times New Roman"},{value:"Georgia",label:"Georgia"}];Object.keys(we).slice(0,20).forEach((function(e){S.push({value:e,label:e})})),S.push({value:"other",label:Object(T.__)("Other","generateblocks")});var _=[{value:"",label:Object(T.__)("Default","generateblocks")},{value:"normal",label:Object(T.__)("Normal","generateblocks")},{value:"bold",label:Object(T.__)("Bold","generateblocks")},{value:"100",label:"100"},{value:"200",label:"200"},{value:"300",label:"300"},{value:"400",label:"400"},{value:"500",label:"500"},{value:"600",label:"600"},{value:"700",label:"700"},{value:"800",label:"800"},{value:"900",label:"900"}],B=[{value:"",label:Object(T.__)("Default","generateblocks")},{value:"uppercase",label:Object(T.__)("Uppercase","generateblocks")},{value:"lowercase",label:Object(T.__)("Lowercase","generateblocks")},{value:"capitalize",label:Object(T.__)("Capitalize","generateblocks")},{value:"initial",label:Object(T.__)("Normal","generateblocks")}];void 0!==we[i.fontFamily]&&void 0!==we[i.fontFamily].weight&&(_=[{value:"",label:Object(T.__)("Default","generateblocks")},{value:"normal",label:Object(T.__)("Normal","generateblocks")},{value:"bold",label:Object(T.__)("Bold","generateblocks")}],we[i.fontFamily].weight.filter((function(e){var t=e.match(/[a-z]/g),a=e.match(/[0-9]/g);return!(t&&a||"italic"===e)})).forEach((function(e){_.push({value:e,label:e})})));var D=function(e){"other"===e&&(e="");i.fontWeight;a({fontFamily:e}),i.fontWeight&&Object.values(_).indexOf(i.fontWeight),void 0!==we[e]?a({googleFont:!0,fontFamilyFallback:we[e].fallback,googleFontVariants:we[e].weight.join(", ")}):a({googleFont:!1,fontFamilyFallback:"",googleFontVariants:""})},R=function(e){a({fontFamily:e.target.value}),D(e.target.value)},x=function(e,t){return i[e+t]},M=function(e,t){return e+t},z=i.showAdvancedTypography;w&&(z=!0);var L=j;"Tablet"===n&&i.fontSize&&(L=i.fontSize),"Mobile"===n&&(i.fontSizeTablet?L=i.fontSizeTablet:i.fontSize&&(L=i.fontSize));var P="";return"Tablet"===n&&i.lineHeight&&(P=i.lineHeight),"Mobile"===n&&(i.lineHeightTablet?P=i.lineHeightTablet:i.lineHeight&&(P=i.lineHeight)),Object(l.createElement)(l.Fragment,null,Object(l.createElement)("div",{className:"components-gblocks-typography-weight-transform"},d&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Weight","generateblocks"),value:i.fontWeight,options:_,onChange:function(e){a({fontWeight:e})},className:"components-base-control"}),f&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Transform","generateblocks"),value:i.textTransform,options:B,onChange:function(e){a({textTransform:e})},className:"components-base-control"})),!w&&Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Show Advanced Typography","generateblocks"),checked:!!i.showAdvancedTypography,onChange:function(e){a({showAdvancedTypography:e})}}),b&&z&&Object(l.createElement)(C.BaseControl,{className:"gblocks-font-family-shortcuts"},Object(l.createElement)("span",{className:"components-base-control__label"},Object(T.__)("Font Family","generateblocks")),Object(l.createElement)("select",{className:"components-select-control__input components-select-control__input--gblocks-fontfamily",onChange:R,onBlur:R},S.map((function(e,t){return Object(l.createElement)("option",{key:"".concat(e.label,"-").concat(e.value,"-").concat(t),value:e.value},e.label)})))),b&&z&&Object(l.createElement)(C.TextControl,{value:i.fontFamily,placeholder:Object(T.__)("Enter font name","generateblocks"),onChange:function(e){return D(e)}}),b&&""!==i.fontFamily&&z&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Google Font","generateblocks"),checked:!!i.googleFont,onChange:function(e){a({googleFont:e}),e&&void 0!==we[i.fontFamily]&&a({fontFamilyFallback:we[i.fontFamily].fallback,googleFontVariants:we[i.fontFamily].weight.join(", ")})}}),!!i.googleFont&&Object(l.createElement)(C.TextControl,{label:Object(T.__)("Variants","generateblocks"),value:i.googleFontVariants,placeholder:Object(T.__)("300, 400, 400i","generateblocks"),onChange:function(e){a({googleFontVariants:e})}})),b&&z&&Object(l.createElement)(C.TextControl,{label:Object(T.__)("Font Family Fallback","generateblocks"),value:i.fontFamilyFallback,placeholder:Object(T.__)("sans-serif","generateblocks"),onChange:function(e){a({fontFamilyFallback:e})}}),s&&z&&Object(l.createElement)(C.BaseControl,null,Object(l.createElement)(E,{label:Object(T.__)("Font Size","generateblocks"),value:i.fontSizeUnit,units:["px","em","%"],onClick:function(e){a({fontSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:x("fontSize",n)||"",placeholder:L,onChange:function(e){var t=M("fontSize",n);a(o()({},t,parseFloat(e)))},min:1,autoComplete:"off"}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){var t=M("fontSize",n);a(o()({},t,e.props.defaultFontSize))}},Object(T.__)("Reset","generateblocks")))),m&&z&&Object(l.createElement)(C.BaseControl,null,Object(l.createElement)(E,{label:Object(T.__)("Line Height","generateblocks"),value:i.lineHeightUnit,units:["px","em","%"],onClick:function(e){a({lineHeightUnit:e})}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:x("lineHeight",n)||0===x("lineHeight",n)?x("lineHeight",n):"",placeholder:P,onChange:function(e){var t=M("lineHeight",n);a(o()({},t,e))},onBlur:function(){var e=M("lineHeight",n);a(o()({},e,parseFloat(x("lineHeight",n))))},onClick:function(e){e.currentTarget.focus()},min:0,step:.1,autoComplete:"off"}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){var t=M("lineHeight",n);a(o()({},t,e.props.defaultLineHeight))}},Object(T.__)("Reset","generateblocks")))),y&&z&&Object(l.createElement)(C.BaseControl,null,Object(l.createElement)(E,{label:Object(T.__)("Letter Spacing","generateblocks"),value:"em",units:["em"],onClick:function(){return!1}}),Object(l.createElement)("div",{className:"components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:x("letterSpacing",n)||"",placeholder:"0.01",onChange:function(e){var t=M("letterSpacing",n);a(o()({},t,e))},onBlur:function(){var e=M("letterSpacing",n);a(o()({},e,parseFloat(x("letterSpacing",n))))},onClick:function(e){e.currentTarget.focus()},min:-1,step:.01,autoComplete:"off"}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){var t=M("letterSpacing",n);a(o()({},t,e.props.defaultLetterSpacing))}},Object(T.__)("Reset","generateblocks")))))}}]),a}(l.Component);a(39);function Te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ce=function(e){f()(a,e);var t=Te(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,i=t.setAttributes,r=t.attrGradient,n=t.attrGradientDirection,c=t.attrGradientColorOne,s=t.attrGradientColorOneOpacity,g=t.attrGradientColorStopOne,b=t.attrGradientColorTwo,u=t.attrGradientColorTwoOpacity,d=t.attrGradientColorStopTwo,p=t.defaultColorOne,f=t.defaultColorTwo,h=a.gradientSelector,m="element"===h?Object(T.__)("Displays behind the background image.","generateblocks"):Object(T.__)("Displays in front of the background image.","generateblocks");return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Use Gradient","generateblocks"),checked:!!a[r],onChange:function(t){i(o()({},e.props.attrGradient,t))}}),!!a[r]&&Object(l.createElement)(l.Fragment,null,void 0!==h&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Selector","generateblocks"),help:m,value:h,options:[{label:Object(T.__)("Element","generateblocks"),value:"element"},{label:Object(T.__)("Pseudo Element","generateblocks"),value:"pseudo-element"}],onChange:function(e){i({gradientSelector:e})}}),Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(T.__)("Direction","generateblocks")),Object(l.createElement)(C.RangeControl,{value:a[n]?a[n]:1,onChange:function(e){i(o()({},n,e))},min:0,max:360,step:1,initialPosition:90})),Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(T.__)("Color One","generateblocks")),Object(l.createElement)("div",{className:"gblocks-component-gradient-control"},Object(l.createElement)(ke,{value:a[c],alpha:!0,valueOpacity:a[s],attrOpacity:"gradientColorOneOpacity",onChange:function(e){return i(o()({},c,e))},onOpacityChange:function(e){return i(o()({},s,e))},onClear:function(){return i(o()({},c,p))}}),Object(l.createElement)(C.TextControl,{className:"gblocks-component-gradient-stop-value",type:"text",value:a[g]||0===a[g]?a[g]:"",placeholder:Object(T.__)("Stop position (%)","generateblocks"),onChange:function(e){i(o()({},g,e))},onBlur:function(){(a[g]||0===a[g])&&i(o()({},g,parseFloat(a[g])))},onClick:function(e){e.currentTarget.focus()}}))),Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("span",{className:"components-base-control__label"},Object(T.__)("Color Two","generateblocks")),Object(l.createElement)("div",{className:"gblocks-component-gradient-control"},Object(l.createElement)(ke,{value:a[b],alpha:!0,valueOpacity:a[u],attrOpacity:"gradientColorTwoOpacity",onChange:function(e){return i(o()({},b,e))},onOpacityChange:function(e){return i(o()({},u,e))},onClear:function(){return i(o()({},b,f))}}),Object(l.createElement)(C.TextControl,{className:"gblocks-component-gradient-stop-value",type:"text",value:a[d]||0===a[d]?a[d]:"",placeholder:Object(T.__)("Stop position (%)","generateblocks"),onChange:function(e){i(o()({},d,e))},onBlur:function(){(a[d]||0===a[d])&&i(o()({},d,parseFloat(a[d])))},onClick:function(e){e.currentTarget.focus()}})))))}}]),a}(l.Component),Se=a(25),_e=a.n(Se);function Be(e){return _e.a.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0}})}function De(e,t,a,l,i){if(""!==e||""!==t||""!==a||""!==l)return e=0!=parseFloat(e)&&""!==e?parseFloat(e)+i+" ":"0 ",t=0!=parseFloat(t)&&""!==t?parseFloat(t)+i+" ":"0 ",a=0!=parseFloat(a)&&""!==a?parseFloat(a)+i+" ":"0 ",t===(l=0!=parseFloat(l)&&""!==l?parseFloat(l)+i+" ":"0 ")&&(l="",e===a&&(a="",e===t&&(t=""))),(e+t+a+l).trim()}function Ee(e,t){var a=Object(S.applyFilters)("generateblocks.editor.cssAttrs",t.attributes,t),l=a.backgroundColor,i=a.backgroundColorOpacity,r=a.bgImage,n=a.gradient,o=a.bgOptions,c=a.gradientColorOne,s=a.gradientColorOneOpacity,g=a.gradientColorTwo,b=a.gradientColorTwoOpacity,u=a.gradientColorStopOne,d=a.gradientColorStopTwo,p=a.gradientDirection,f="";if(n){var h="",m="";c&&""!==u&&(h=" "+u+"%"),g&&""!==d&&(m=" "+d+"%"),f="linear-gradient("+p+"deg, "+he(c,s)+h+", "+he(g,b)+m+")"}if("gradient"===e)return f;var k=!1,y=he(l,i);if(r){var v=r.image.url;v=Object(S.applyFilters)("generateblocks.editor.bgImageURL",v,t),"element"===o.selector&&(y||n)&&void 0!==o.overlay&&o.overlay?n?k=f+", url("+v+")":y&&(k="linear-gradient(0deg, "+y+", "+y+"), url("+v+")"):k="url("+v+")"}return k}function Re(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var xe=function(e){f()(a,e);var t=Re(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.isGrid,r=e.width,n=e.outerContainer,o=e.innerContainer,c=e.containerWidth,s=e.minHeight,g=e.minHeightUnit,b=e.paddingTop,u=e.paddingRight,d=e.paddingBottom,p=e.paddingLeft,f=e.paddingUnit,h=e.marginTop,m=e.marginRight,k=e.marginBottom,y=e.marginLeft,v=e.marginUnit,w=e.borderSizeTop,O=e.borderSizeRight,j=e.borderSizeBottom,T=e.borderSizeLeft,C=e.borderRadiusTopRight,_=e.borderRadiusBottomRight,B=e.borderRadiusBottomLeft,D=e.borderRadiusTopLeft,E=e.borderRadiusUnit,R=e.borderColor,x=e.borderColorOpacity,L=e.backgroundColor,P=e.backgroundColorOpacity,F=e.gradient,A=e.gradientSelector,U=e.textColor,H=e.linkColor,N=e.linkColorHover,I=e.bgImage,G=e.bgOptions,V=e.verticalAlignment,q=e.zindex,W=e.innerZindex,Z=e.alignment,K=e.fontFamily,J=e.fontFamilyFallback,Y=e.fontWeight,Q=e.fontSize,X=e.fontSizeUnit,$=e.textTransform,ee=e.shapeDividers,te=c;te||(te=generateBlocksDefaults.container.containerWidth);var ae="";K&&J&&(ae=", "+J);var le=!!I,ie=Ee("image",this.props),re=Ee("gradient",this.props),ne=W,oe=[];return oe[".gb-container-"+a]=[{"background-color":he(L,P),color:U,"border-radius":De(D,C,_,B,E),margin:De(h,m,k,y,v),"z-index":q,"text-align":Z,"font-family":K+ae,"font-weight":Y,"text-transform":$,"font-size":z(Q,X),"min-height":z(s,g),"border-color":he(R,x)}],le&&"element"===G.selector&&ie?oe[".gb-container-"+a].push({"background-image":ie,"background-size":G.size,"background-position":G.position,"background-repeat":G.repeat,"background-attachment":G.attachment}):F&&"element"===A&&oe[".gb-container-"+a].push({"background-image":re}),(le&&"pseudo-element"===G.selector||q||F&&"pseudo-element"===A)&&oe[".gb-container-"+a].push({position:"relative"}),(le&&"pseudo-element"===G.selector||F&&"pseudo-element"===A)&&(oe[".gb-container-"+a].push({overflow:"hidden"}),oe[".gb-container-"+a+" .block-list-appender"]=[{"z-index":10}],ne||(ne=1)),oe[".editor-styles-wrapper .gb-container-"+a+" h1,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h2,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h3,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h4,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h5,\n\t\t\t.editor-styles-wrapper .gb-container-"+a+" h6"]=[{color:U}],(w||O||j||T)&&oe[".gb-container-"+a].push({"border-width":De(w,O,j,T,"px"),"border-style":"solid"}),s&&!i&&oe[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":V}),i&&(oe[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":V}),oe[".block-editor-block-list__layout > #block-"+t]=[{height:"100%"}]),le&&"pseudo-element"===G.selector&&(oe[".gb-container-"+a+":before"]=[{content:'""',"background-image":ie,"background-repeat":G.repeat,"background-position":G.position,"background-size":G.size,"background-attachment":G.attachment,"z-index":"0",position:"absolute",top:"0",right:"0",bottom:"0",left:"0","border-radius":De(D,C,_,B,E)}],void 0!==G.opacity&&1!==G.opacity&&oe[".gb-container-"+a+":before"].push({opacity:G.opacity})),F&&"pseudo-element"===A&&(oe[".gb-container-"+a+":after"]=[{content:'""',"background-image":re,"z-index":"0",position:"absolute",top:"0",right:"0",bottom:"0",left:"0"}]),oe[".gb-container-"+a+" a, .gb-container-"+a+" a:visited"]=[{color:H}],oe[".gb-container-"+a+" a:hover"]=[{color:N}],oe[".gb-container-"+a+" > .gb-inside-container"]=[{padding:De(b,u,d,p,f),width:!(!s||i)&&"100%"}],(ne||0===ne)&&oe[".gb-container-"+a+" > .gb-inside-container"].push({"z-index":ne,position:"relative"}),"contained"!==o||i||oe[".gb-container-"+a+" > .gb-inside-container"].push({"max-width":z(te,"px"),"margin-left":"auto","margin-right":"auto"}),oe[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:z(r,"%"),display:"flex","flex-direction":"column","margin-left":"0px","margin-right":"0px"}],oe[".block-editor-block-list__layout > #block-"+t]=[{"max-width":"contained"===n&&!i&&z(te,"px")}],oe[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t+" > .block-editor-block-list__block-edit,\n\t\t.gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t+' > .block-editor-block-list__block-edit > [data-block="'+t+'"]']=[{height:"100%"}],oe["#block-"+t+":not(.has-child-selected):not(.is-selected) .block-list-appender:not(:first-child),\n\t\t#block-"+t+":not(.has-child-selected):not(.is-selected) .block-editor-block-list__layout > div:not(:first-child) > .block-list-appender"]=[{display:"none"}],ee.length&&(oe[".gb-container-"+a].push({position:"relative"}),oe[".gb-container-"+a+" .block-list-appender"]=[{position:"relative","z-index":100}],ee.forEach((function(e,t){var l=[],i=t+1;"top"===ee[t].location&&l.push("scaleY(-1)"),ee[t].flipHorizontally&&(l.push("scaleX(-1)"),oe[".gblocks-shape-container > .gblocks-shape-toggle-preview-"+i+" .gblocks-shape-divider-preview"]=[{transform:"scaleX(-1)"}]),oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i]=[{color:he(ee[t].color,ee[t].colorOpacity),"z-index":ee[t].zindex}],"top"!==ee[t].location&&"bottom"!==ee[t].location||oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({left:"0",right:"0"}),"bottom"===ee[t].location&&oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({bottom:"-1px"}),"top"===ee[t].location&&oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({top:"-1px"}),l.length&&oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i].push({transform:l.join(" ")});var r=ee[t].width+"%";100===ee[t].width&&(r="calc("+r+" + 1.3px)"),oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i+" svg"]=[{height:z(ee[t].height,"px"),width:r}],"top"!==ee[t].location&&"bottom"!==ee[t].location||oe[".gb-container-"+a+" > .gb-shapes .gb-shape-"+i+" svg"].push({position:"relative",left:"50%",transform:"translateX(-50%)","min-width":"100%"})}))),oe=Object(S.applyFilters)("generateblocks.editor.mainCSS",oe,this.props,"container"),Object(l.createElement)("style",null,M(oe))}}]),a}(l.Component);function Me(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ze=function(e){f()(a,e);var t=Me(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.removeVerticalGap,i=[];return i[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":!!a&&"0px !important"}],i=Object(S.applyFilters)("generateblocks.editor.desktopCSS",i,this.props,"container"),Object(l.createElement)("style",null,M(i))}}]),a}(l.Component);function Le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Pe=function(e){f()(a,e);var t=Le(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.isGrid,r=e.widthTablet,n=e.minHeightTablet,o=e.minHeightUnitTablet,c=e.paddingTopTablet,s=e.paddingRightTablet,g=e.paddingBottomTablet,b=e.paddingLeftTablet,u=e.paddingUnit,d=e.marginTopTablet,p=e.marginRightTablet,f=e.marginBottomTablet,h=e.marginLeftTablet,m=e.marginUnit,k=e.borderSizeTopTablet,y=e.borderSizeRightTablet,v=e.borderSizeBottomTablet,w=e.borderSizeLeftTablet,O=e.borderRadiusTopRightTablet,j=e.borderRadiusBottomRightTablet,T=e.borderRadiusBottomLeftTablet,C=e.borderRadiusTopLeftTablet,_=e.borderRadiusUnit,B=e.verticalAlignmentTablet,D=e.alignmentTablet,E=e.fontSizeTablet,R=e.fontSizeUnit,x=e.shapeDividers,L=[];return L[".gb-container-"+a]=[{"border-top-left-radius":z(C,_),"border-top-right-radius":z(O,_),"border-bottom-right-radius":z(j,_),"border-bottom-left-radius":z(T,_),"margin-top":z(d,m),"margin-right":z(p,m),"margin-bottom":z(f,m),"margin-left":z(h,m),"text-align":D,"font-size":z(E,R),"min-height":z(n,o)}],(k||y||v||w)&&L[".gb-container-"+a].push({"border-top-width":z(k,"px"),"border-right-width":z(y,"px"),"border-bottom-width":z(v,"px"),"border-left-width":z(w,"px"),"border-style":"solid"}),n&&!i&&L[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":"inherit"!==B?B:null}),i&&"inherit"!==B&&L[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":B}),L[".gb-container-"+a+" > .gb-inside-container"]=[{"padding-top":z(c,u),"padding-right":z(s,u),"padding-bottom":z(g,u),"padding-left":z(b,u),width:!(!n||i)&&"100%"}],L[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:z(r,"%")}],x.length&&x.forEach((function(e,t){L[".gb-container-"+a+" > .gb-shapes .gb-shape-"+(t+1)+" svg"]=[{height:z(x[t].heightTablet,"px"),width:z(x[t].widthTablet,"%")}]})),L=Object(S.applyFilters)("generateblocks.editor.tabletCSS",L,this.props,"container"),Object(l.createElement)("style",null,M(L))}}]),a}(l.Component);function Fe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ae=function(e){f()(a,e);var t=Fe(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=[];return e.removeVerticalGapTablet&&(a[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":"0px !important"}]),a=Object(S.applyFilters)("generateblocks.editor.tabletOnlyCSS",a,this.props,"container"),Object(l.createElement)("style",null,M(a))}}]),a}(l.Component);function Ue(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var He=function(e){f()(a,e);var t=Ue(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.isGrid,r=e.widthMobile,n=e.minHeightMobile,o=e.minHeightUnitMobile,c=e.paddingTopMobile,s=e.paddingRightMobile,g=e.paddingBottomMobile,b=e.paddingLeftMobile,u=e.paddingUnit,d=e.marginTopMobile,p=e.marginRightMobile,f=e.marginBottomMobile,h=e.marginLeftMobile,m=e.marginUnit,k=e.borderSizeTopMobile,y=e.borderSizeRightMobile,v=e.borderSizeBottomMobile,w=e.borderSizeLeftMobile,O=e.borderRadiusTopRightMobile,j=e.borderRadiusBottomRightMobile,T=e.borderRadiusBottomLeftMobile,C=e.borderRadiusTopLeftMobile,_=e.borderRadiusUnit,B=e.verticalAlignmentMobile,D=e.removeVerticalGapMobile,E=e.alignmentMobile,R=e.fontSizeMobile,x=e.fontSizeUnit,L=e.orderMobile,P=e.shapeDividers,F=e.bgImage,A=e.bgOptions,U=[];return U[".gb-container-"+a]=[{"border-top-left-radius":z(C,_),"border-top-right-radius":z(O,_),"border-bottom-right-radius":z(j,_),"border-bottom-left-radius":z(T,_),"margin-top":z(d,m),"margin-right":z(p,m),"margin-bottom":z(f,m),"margin-left":z(h,m),"text-align":E,"font-size":z(R,x),"min-height":z(n,o)}],(k||y||v||w)&&U[".gb-container-"+a].push({"border-top-width":z(k,"px"),"border-right-width":z(y,"px"),"border-bottom-width":z(v,"px"),"border-left-width":z(w,"px"),"border-style":"solid"}),"inherit"!==B&&n&&!i&&U[".gb-container-"+a].push({display:"flex","flex-direction":"row","align-items":B}),i&&"inherit"!==B&&U[".gb-container-"+a].push({display:"flex","flex-direction":"column",height:"100%","justify-content":B}),U[".gb-container-"+a+" > .gb-inside-container"]=[{"padding-top":z(c,u),"padding-right":z(s,u),"padding-bottom":z(g,u),"padding-left":z(b,u),width:!(!n||i)&&"100%"}],U[".gb-grid-wrapper > div > .block-editor-block-list__layout > #block-"+t]=[{width:z(r,"%"),order:L}],D&&(U[".block-editor-block-list__layout > #block-"+t]=[{"margin-bottom":"0px !important"}]),P.length&&P.forEach((function(e,t){U[".gb-container-"+a+" > .gb-shapes .gb-shape-"+(t+1)+" svg"]=[{height:z(P[t].heightMobile,"px"),width:z(P[t].widthMobile,"%")}]})),F&&"fixed"===A.attachment&&("element"===A.selector&&U[".gb-container-"+a].push({"background-attachment":"initial"}),"pseudo-element"===A.selector&&(U[".gb-container-"+a+":before"]=[{"background-attachment":"initial"}])),U=Object(S.applyFilters)("generateblocks.editor.mobileCSS",U,this.props,"container"),Object(l.createElement)("style",null,M(U))}}]),a}(l.Component);function Ne(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Ie(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ne(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function Ge(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ve=/[\s#]/g,qe=[],We=function(e){f()(a,e);var t=Ge(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={selectedDevice:"Desktop"},e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?qe.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),qe.push(e)):qe.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),qe.push(e));var a=document.getElementById("block-"+this.props.clientId);a&&"full"===this.props.attributes.align&&a.setAttribute("data-align","full"),void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0})}},{key:"componentDidUpdate",value:function(){var e=document.getElementById("block-"+this.props.clientId);if(e){var t=this.props.attributes.align,a="";e.getAttribute("data-align")&&(a=e.getAttribute("data-align")),t!==a&&(""!==t&&void 0!==t||""===a?e.setAttribute("data-align",t):e.removeAttribute("data-align"))}}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=a.hasChildBlocks,s=a.clientId,g=i.uniqueId,b=i.className,u=i.anchor,d=i.tagName,p=i.isGrid,f=i.width,h=i.widthTablet,m=i.widthMobile,k=i.outerContainer,y=i.innerContainer,v=i.containerWidth,O=i.minHeight,_=i.minHeightUnit,D=i.minHeightTablet,R=i.minHeightUnitTablet,x=i.minHeightMobile,M=i.minHeightUnitMobile,z=i.borderColor,L=i.borderColorOpacity,P=i.backgroundColor,F=i.backgroundColorOpacity,A=i.textColor,U=i.linkColor,H=i.linkColorHover,N=i.bgImage,I=i.bgOptions,G=i.bgImageSize,V=i.verticalAlignment,q=i.verticalAlignmentTablet,W=i.verticalAlignmentMobile,Z=i.zindex,K=i.innerZindex,J=i.removeVerticalGap,X=i.removeVerticalGapTablet,$=i.removeVerticalGapMobile,ee=i.orderTablet,te=i.orderMobile,ae=i.alignment,le=i.alignmentTablet,ie=i.alignmentMobile,re=i.fontFamily,ne=i.googleFont,oe=i.googleFontVariants,ce=i.fullWidthContent,se=i.align,ge=i.shapeDividers;void 0===i.bgOptions.selector&&(i.bgOptions.selector="element"),void 0===i.bgOptions.opacity&&(i.bgOptions.opacity=1);var be=[{label:"div",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"aside",value:"aside"}],ue=document.getElementById("_generate-full-width-content"),de=new Event("change"),he=wp.data.select("core/block-editor").getBlockHierarchyRootClientId(s)===s,me="";oe&&(me=":"+oe);var ye=!1,we=!1,Oe=!1,Te="";"function"==typeof wp.data.select("core/block-editor").getBlockParents&&(ye=wp.data.select("core/block-editor").getBlockParents(s,!0)[0])&&(we=wp.data.select("core/block-editor").getBlocksByClientId(ye))&&"generateblocks/grid"===we[0].name&&(Oe=!0,Te=we[0].attributes.uniqueId);var Se=[];Object.keys(generateBlocksInfo.svgShapes).forEach((function(e){var t=generateBlocksInfo.svgShapes[e].svgs;Object.keys(t).forEach((function(e){Se[e]={label:t[e].label,icon:t[e].icon}}))}));var _e=[];Object.keys(generateBlocksInfo.imageSizes).forEach((function(e){_e.push({label:generateBlocksInfo.imageSizes[e],value:generateBlocksInfo.imageSizes[e]})}));var De={className:w()((e={"gb-container":!0},o()(e,"gb-container-".concat(g),!0),o()(e,"".concat(b),void 0!==b),e)),id:u||null};return De=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",De,"generateblocks/container",i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.BlockControls,null,"Desktop"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:ae,onChange:function(e){n({alignment:e})}}),"Tablet"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:le,onChange:function(e){n({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:ie,onChange:function(e){n({alignmentMobile:e})}})),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),!p&&Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Layout","generateblocks"),initialOpen:!0,icon:j("layout"),className:"gblocks-panel-label",id:"containerLayout",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Oe&&Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Grid Item","generateblocks"),help:Object(T.__)("This Container is inside a Grid Block but is not set as a grid item. Enable this option for optimal results.","generateblocks"),checked:!!p,onChange:function(e){n({isGrid:e,gridId:Te})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Container","generateblocks"),value:k,options:[{label:Object(T.__)("Full width","generateblocks"),value:"full"},{label:Object(T.__)("Contained width","generateblocks"),value:"contained"}],onChange:function(e){n({outerContainer:e}),"contained"===e&&"full"===se&&n({align:""})}}),"full"===k&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Inner Container","generateblocks"),value:y,options:[{label:Object(T.__)("Full width","generateblocks"),value:"full"},{label:Object(T.__)("Contained width","generateblocks"),value:"contained"}],onChange:function(e){n({innerContainer:e})}}),("contained"===k||"contained"===y)&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Container Width","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",className:"gblocks-container-width",value:parseFloat(v)||"",placeholder:generateBlocksDefaults.container.containerWidth,onChange:function(e){n({containerWidth:""!==e?parseFloat(e):void 0})}})),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Tag Name","generateblocks"),value:d,options:Object(S.applyFilters)("generateblocks.editor.containerTagNames",be,this.props,this.state),onChange:function(e){n({tagName:e})}}),Object(S.applyFilters)("generateblocks.editor.controls","","containerAfterElementTag",this.props,this.state),Object(l.createElement)(l.Fragment,null,generateBlocksInfo.isGeneratePress&&he&&ue&&Object(l.createElement)(C.BaseControl,{id:"gblocks-gp-full-width-page",label:Object(T.__)("If you want to build a full width page, use the option below to remove the page width, margin and padding.","generateblocks"),className:"gblocks-gpress-full-width"},Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Make page full-width","generateblocks"),checked:!!ce,onChange:function(e){e?("select"===ue.tagName.toLowerCase()?(ue.value="true",ue.dispatchEvent(de)):(ue.checked=!0,ue.setAttribute("value","true"),ue.dispatchEvent(de)),n({fullWidthContent:"true",align:""})):("select"===ue.tagName.toLowerCase()?(ue.value="",ue.dispatchEvent(de)):(ue.checked=!1,ue.setAttribute("value",""),document.querySelector('input[name="_generate-full-width-content"]#default-content').checked=!0,ue.dispatchEvent(de)),n({fullWidthContent:""}))}})))),Object(S.applyFilters)("generateblocks.editor.controls","","containerLayout",this.props,this.state)),p&&Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Layout","generateblocks"),initialOpen:!0,icon:j("layout"),className:"gblocks-panel-label",id:"containerGridLayout",state:this.state}),!Oe&&Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Grid Item","generateblocks"),help:Object(T.__)("This container is set as a grid item but is not inside a grid block. Deactivate this option for optimal results.","generateblocks"),checked:!!p,onChange:function(e){n({isGrid:e,gridId:""})}}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(C.Button,{isPrimary:25===f,onClick:function(){return n({width:25})}},"25"),Object(l.createElement)(C.Button,{isPrimary:33.33===f,onClick:function(){return n({width:33.33})}},"33"),Object(l.createElement)(C.Button,{isPrimary:50===f,onClick:function(){return n({width:50})}},"50"),Object(l.createElement)(C.Button,{isPrimary:66.66===f,onClick:function(){return n({width:66.66})}},"66"),Object(l.createElement)(C.Button,{isPrimary:75===f,onClick:function(){return n({width:75})}},"75"),Object(l.createElement)(C.Button,{isPrimary:100===f,onClick:function(){return n({width:100})}},"100")),Object(l.createElement)(C.RangeControl,{className:"gblocks-column-width-control",value:f||"",onChange:function(e){n({width:e})},min:0,max:100,step:.01,initialPosition:generateBlocksDefaults.container.width}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:V,options:[{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignment:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Remove Vertical Gap","generateblocks"),checked:!!J,onChange:function(e){n({removeVerticalGap:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Tag Name","generateblocks"),value:d,options:Object(S.applyFilters)("generateblocks.editor.containerTagNames",be,this.props,this.state),onChange:function(e){n({tagName:e})}}),Object(S.applyFilters)("generateblocks.editor.controls","","containerAfterElementTag",this.props,this.state)),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(C.Button,{isPrimary:25===h,onClick:function(){return n({widthTablet:25})}},"25"),Object(l.createElement)(C.Button,{isPrimary:33.33===h,onClick:function(){return n({widthTablet:33.33})}},"33"),Object(l.createElement)(C.Button,{isPrimary:50===h,onClick:function(){return n({widthTablet:50})}},"50"),Object(l.createElement)(C.Button,{isPrimary:66.66===h,onClick:function(){return n({widthTablet:66.66})}},"66"),Object(l.createElement)(C.Button,{isPrimary:75===h,onClick:function(){return n({widthTablet:75})}},"75"),Object(l.createElement)(C.Button,{isPrimary:100===h,onClick:function(){return n({widthTablet:100})}},"100")),Object(l.createElement)(C.RangeControl,{className:"gblocks-column-width-control",value:h||"",onChange:function(e){n({widthTablet:e})},min:0,max:100,step:.01,initialPosition:generateBlocksDefaults.container.widthTablet}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:q,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentTablet:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Remove Vertical Gap","generateblocks"),checked:!!X,onChange:function(e){n({removeVerticalGapTablet:e})}}),Object(l.createElement)(C.TextControl,{type:"number",label:Object(T.__)("Order","generateblocks"),value:ee||0===ee?ee:"",onChange:function(e){n({orderTablet:parseFloat(e)})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Container Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.ButtonGroup,{className:"widthButtons"},Object(l.createElement)(C.Button,{isPrimary:25===m,onClick:function(){return n({widthMobile:25})}},"25"),Object(l.createElement)(C.Button,{isPrimary:33.33===m,onClick:function(){return n({widthMobile:33.33})}},"33"),Object(l.createElement)(C.Button,{isPrimary:50===m,onClick:function(){return n({widthMobile:50})}},"50"),Object(l.createElement)(C.Button,{isPrimary:66.66===m,onClick:function(){return n({widthMobile:66.66})}},"66"),Object(l.createElement)(C.Button,{isPrimary:75===m,onClick:function(){return n({widthMobile:75})}},"75"),Object(l.createElement)(C.Button,{isPrimary:100===m,onClick:function(){return n({widthMobile:100})}},"100")),Object(l.createElement)(C.RangeControl,{className:"gblocks-column-width-control",value:m||"",onChange:function(e){n({widthMobile:e})},min:0,max:100,step:.01,initialPosition:generateBlocksDefaults.container.widthMobile}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),help:Object(T.__)("Align grid item content. Does not apply if vertical alignment is set in the grid.","generateblocks"),value:W,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentMobile:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Remove Vertical Gap","generateblocks"),checked:!!$,onChange:function(e){n({removeVerticalGapMobile:e})}}),Object(l.createElement)(C.TextControl,{type:"number",label:Object(T.__)("Order","generateblocks"),value:te||0===te?te:"",onChange:function(e){n({orderMobile:parseFloat(e)})}})),Object(S.applyFilters)("generateblocks.editor.controls","","containerGridLayout",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Typography","generateblocks"),initialOpen:!1,icon:j("typography"),className:"gblocks-panel-label",id:"containerTypography",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,defaultFontSize:generateBlocksDefaults.container.fontSize,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeight,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Tablet",showFontSize:!0,defaultFontSize:generateBlocksDefaults.container.fontSizeTablet,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeightTablet,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacingTablet}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Mobile",showFontSize:!0,defaultFontSize:generateBlocksDefaults.container.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.container.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.container.lineHeightMobile,defaultLineHeightUnit:generateBlocksDefaults.container.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.container.letterSpacingMobile}))),Object(S.applyFilters)("generateblocks.editor.controls","","containerTypography",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Spacing","generateblocks"),initialOpen:!1,icon:j("spacing"),className:"gblocks-panel-label",id:"containerSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Minimum Height","generateblocks"),value:_,units:["px","vh","vw"],onClick:function(e){n({minHeightUnit:e})}}),Object(l.createElement)(C.TextControl,{type:"number",value:O||"",onChange:function(e){n({minHeight:parseFloat(e)})}}),!!O&&!p&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),value:V,options:[{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignment:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(C.TextControl,{label:Object(T.__)("Outer z-index","generateblocks"),type:"number",value:Z||0===Z?Z:"",onChange:function(e){n({zindex:e})},onBlur:function(){n({zindex:parseFloat(Z)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.TextControl,{label:Object(T.__)("Inner z-index","generateblocks"),type:"number",value:K||0===K?K:"",onChange:function(e){n({innerZindex:e})},onBlur:function(){n({innerZindex:parseFloat(K)})},onClick:function(e){e.currentTarget.focus()}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Minimum Height","generateblocks"),value:R,units:["px","vh","vw"],onClick:function(e){n({minHeightUnitTablet:e})}}),Object(l.createElement)(C.TextControl,{type:"number",value:D||"",onChange:function(e){n({minHeightTablet:parseFloat(e)})}}),(!!O||!!D)&&!p&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),value:q,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentTablet:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Minimum Height","generateblocks"),value:M,units:["px","vh","vw"],onClick:function(e){n({minHeightUnitMobile:e})}}),Object(l.createElement)(C.TextControl,{type:"number",value:x||"",onChange:function(e){n({minHeightMobile:parseFloat(e)})}}),(!!O||!!D||!!x)&&!p&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Vertical Alignment","generateblocks"),value:W,options:[{label:Object(T.__)("Inherit","generateblocks"),value:"inherit"},{label:Object(T.__)("Default","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"flex-start"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"flex-end"}],onChange:function(e){n({verticalAlignmentMobile:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.container,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.container,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.container,units:["px","em","%"]}))),Object(S.applyFilters)("generateblocks.editor.controls","","containerSpacing",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Colors","generateblocks"),initialOpen:!1,icon:j("colors"),className:"gblocks-panel-label",id:"containerColors",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ke,{label:Object(T.__)("Background Color","generateblocks"),value:P,alpha:!0,valueOpacity:F,attrOpacity:"backgroundColorOpacity",onChange:function(e){return n({backgroundColor:e})},onOpacityChange:function(e){return n({backgroundColorOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Text Color","generateblocks"),value:A,alpha:!1,onChange:function(e){return n({textColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Link Color","generateblocks"),value:U,alpha:!1,onChange:function(e){return n({linkColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Link Color Hover","generateblocks"),value:H,alpha:!1,onChange:function(e){return n({linkColorHover:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Border Color","generateblocks"),value:z,alpha:!0,valueOpacity:L,attrOpacity:"borderColorOpacity",onChange:function(e){return n({borderColor:e})},onOpacityChange:function(e){return n({borderColorOpacity:e})}})),Object(S.applyFilters)("generateblocks.editor.controls","","containerColors",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Backgrounds","generateblocks"),initialOpen:!1,icon:j("gradients"),className:"gblocks-panel-label",id:"containerBackground",state:this.state}),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.BaseControl,{id:"gblocks-background-image-upload",label:Object(T.__)("Image URL","generateblocks")},Object(l.createElement)("div",{className:"gblocks-bg-image-wrapper"},Object(l.createElement)(C.TextControl,{type:"text",value:N?N.image.url:"",onChange:function(e){n(e?{bgImage:{id:"",image:{url:e}}}:{bgImage:null})}}),Object(l.createElement)("div",{className:"gblocks-background-image-action-buttons"},Object(l.createElement)(Q.MediaUpload,{title:Object(T.__)("Set background image","generateblocks"),onSelect:function(e){var t=generateBlocksDefaults.container.bgImageSize;void 0===e.sizes[t]&&(t="full"),n({bgImage:{id:e.id,image:e.sizes[t]}})},onClose:function(){document.querySelector(".gblocks-bg-image-wrapper input").focus()},allowedTypes:["image"],value:N?N.id:"",modalClass:"editor-gb-container-background__media-modal",render:function(e){var t=e.open;return Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Open the Media Library","generateblocks")},Object(l.createElement)(C.Button,{onClick:t,className:"is-secondary is-small"},Object(T.__)("Browse","generateblocks")))}}),Object(S.applyFilters)("generateblocks.editor.backgroundImageActions","",this.props,this.state)))),!!N&&Object(l.createElement)(l.Fragment,null,I.overlay?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Background Color Overlay","generateblocks"),checked:!!I.overlay,onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{overlay:e})})}}),Object(l.createElement)(C.Notice,{className:"gblocks-option-notice",status:"info",isDismissible:!1},Object(T.__)("The background color overlay option is deprecated. Toggle this option to use the new method.","generateblocks"))):Object(l.createElement)(l.Fragment,null,void 0!==N.id&&N.id&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Image Size","generateblocks"),value:G,options:_e,onChange:function(e){n({bgImageSize:e})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Selector","generateblocks"),value:I.selector,options:[{label:Object(T.__)("Element","generateblocks"),value:"element"},{label:Object(T.__)("Pseudo Element","generateblocks"),value:"pseudo-element"}],onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{selector:e})})}}),Object(l.createElement)(C.RangeControl,{label:Object(T.__)("Image Opacity","generateblocks"),value:I.opacity,onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{opacity:e,selector:"pseudo-element"})})},min:0,max:1,step:.1,initialPosition:generateBlocksDefaults.container.bgOptions.opacity}),1!==I.opacity&&"pseudo-element"!==I.selector&&Object(l.createElement)(C.Notice,{className:"gblocks-option-notice",status:"info",isDismissible:!1},Object(T.__)("Your selector must be set to Pseudo Element to use opacity.","generateblocks"))),Object(l.createElement)(C.TextControl,{label:Object(T.__)("Size","generateblocks"),value:I.size,onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{size:e})})}}),Object(l.createElement)(C.TextControl,{label:Object(T.__)("Position","generateblocks"),value:I.position,onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{position:e})})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Repeat","generateblocks"),value:I.repeat,options:[{label:"no-repeat",value:"no-repeat"},{label:"repeat",value:"repeat"},{label:"repeat-x",value:"repeat-x"},{label:"repeat-y",value:"repeat-y"}],onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{repeat:e})})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Attachment","generateblocks"),value:I.attachment,options:[{label:"scroll",value:""},{label:"fixed",value:"fixed"},{label:"local",value:"local"}],onChange:function(e){n({bgOptions:Ie(Ie({},I),{},{attachment:e})})}})),Object(l.createElement)(Ce,r()({},this.props,{attrGradient:"gradient",attrGradientDirection:"gradientDirection",attrGradientColorOne:"gradientColorOne",attrGradientColorStopOne:"gradientColorStopOne",attrGradientColorTwo:"gradientColorTwo",attrGradientColorStopTwo:"gradientColorStopTwo",attrGradientColorOneOpacity:"gradientColorOneOpacity",attrGradientColorTwoOpacity:"gradientColorTwoOpacity",defaultColorOne:generateBlocksDefaults.container.gradientColorOne,defaultColorTwo:generateBlocksDefaults.container.gradientColorTwo})),Object(S.applyFilters)("generateblocks.editor.controls","","containerBackground",this.props,this.state))),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Shapes","generateblocks"),initialOpen:!1,icon:j("shapes"),className:"gblocks-panel-label",id:"containerShapes",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!i.shapeDividers.length)}),Object(l.createElement)(C.BaseControl,{className:"gb-icon-chooser gb-shape-chooser"},ge.map((function(e,a){var i=a+1;return Object(l.createElement)(l.Fragment,{key:a},Object(l.createElement)("div",{className:"gblocks-shape-container"},Object(l.createElement)("div",{className:w()(o()({"gblocks-shape-toggle-preview":!0},"gblocks-shape-toggle-preview-".concat(i),!0)),style:{backgroundColor:P}},void 0!==Se[ge[a].shape]&&Object(l.createElement)("div",{className:"gblocks-shape-divider-preview",style:{color:ge[a].color},dangerouslySetInnerHTML:{__html:Be(Se[ge[a].shape].icon)}})),
|
8 |
/* translators: Shape number */
|
9 |
+
Object(T.sprintf)(Object(T.__)("Shape %s","generateblocks"),i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.Dropdown,{contentClassName:"gblocks-shapes-dropdown",renderToggle:function(e){var t=e.isOpen,a=e.onToggle;return Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Edit Shape","generateblocks")},Object(l.createElement)(C.Button,{className:"gblocks-shape-dropdown",isSecondary:!t||void 0,isPrimary:!!t||void 0,icon:j("wrench"),onClick:a,"aria-expanded":t}))},renderContent:function(){return Object(l.createElement)("div",{className:"gblocks-shape-controls"},"Desktop"===t.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.BaseControl,{className:"gb-icon-chooser"},Object.keys(generateBlocksInfo.svgShapes).map((function(e,t){var i=generateBlocksInfo.svgShapes[e].svgs;return Object(l.createElement)(C.PanelBody,{title:generateBlocksInfo.svgShapes[e].group,initialOpen:i.hasOwnProperty(ge[a].shape),key:t},Object(l.createElement)(C.PanelRow,null,Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("ul",{className:"gblocks-icon-chooser gblocks-shape-chooser"},Object.keys(i).map((function(e,t){return Object(l.createElement)("li",{key:"editor-pblock-types-list-item-".concat(t)},Object(l.createElement)(C.Tooltip,{text:i[e].label},Object(l.createElement)(C.Button,{className:w()({"editor-block-list-item-button":!0,"gblocks-shape-is-active":ge[a].shape===e}),onClick:function(){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{shape:e}),n({shapeDividers:t})}},"string"==typeof i[e].icon?Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon",dangerouslySetInnerHTML:{__html:Be(i[e].icon)}})):Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},i[e].icon)))))}))))))}))),Object(l.createElement)(ke,{label:Object(T.__)("Color","generateblocks"),value:ge[a].color,alpha:!0,valueOpacity:ge[a].colorOpacity,onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{color:e}),n({shapeDividers:t})},onOpacityChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{colorOpacity:e}),n({shapeDividers:t})}}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Location","generateblocks"),value:ge[a].location,options:[{label:Object(T.__)("Top","generateblocks"),value:"top"},{label:Object(T.__)("Bottom","generateblocks"),value:"bottom"}],onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{location:e}),n({shapeDividers:t})}}),Object(l.createElement)(E,{label:Object(T.__)("Height","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].height?ge[a].height:"",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{height:parseFloat(e)}),n({shapeDividers:t})}}),Object(l.createElement)(E,{label:Object(T.__)("Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].width?ge[a].width:"",min:"100",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{width:parseFloat(e)}),n({shapeDividers:t})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Flip Horizontally","generateblocks"),checked:!!ge[a].flipHorizontally,onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{flipHorizontally:e}),n({shapeDividers:t})}}),Object(l.createElement)(C.TextControl,{label:Object(T.__)("z-index","generateblocks"),type:"number",min:"0",value:ge[a].zindex||0===ge[a].zindex?ge[a].zindex:"",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{zindex:e}),n({shapeDividers:t})},onBlur:function(){var e=pe()(ge);e[a]=Ie(Ie({},e[a]),{},{zindex:parseFloat(ge[a].zindex)}),n({shapeDividers:e})},onClick:function(e){e.currentTarget.focus()}})),"Tablet"===t.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Height","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].heightTablet?ge[a].heightTablet:"",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{heightTablet:parseFloat(e)}),n({shapeDividers:t})}}),Object(l.createElement)(E,{label:Object(T.__)("Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].widthTablet?ge[a].widthTablet:"",min:"100",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{widthTablet:parseFloat(e)}),n({shapeDividers:t})}})),"Mobile"===t.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(E,{label:Object(T.__)("Height","generateblocks"),value:"px",units:["px"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].heightMobile?ge[a].heightMobile:"",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{heightMobile:parseFloat(e)}),n({shapeDividers:t})}}),Object(l.createElement)(E,{label:Object(T.__)("Width","generateblocks"),value:"%",units:["%"],onClick:function(){return!1}}),Object(l.createElement)(C.TextControl,{type:"number",value:ge[a].widthMobile?ge[a].widthMobile:"",min:"100",onChange:function(e){var t=pe()(ge);t[a]=Ie(Ie({},t[a]),{},{widthMobile:parseFloat(e)}),n({shapeDividers:t})}})))}})),"Desktop"===t.getDeviceType()&&Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Delete Shape","generateblocks")},Object(l.createElement)(C.Button,{className:"gblocks-remove-shape",onClick:function(){window.confirm(Object(T.__)("This will permanently delete this shape.","generateblocks"))&&function(e){var t=pe()(ge);t.splice(e,1),n({shapeDividers:t})}(a)},icon:j("x")}))))})),Object(l.createElement)("div",{className:"gblocks-add-new-shape"},Object(l.createElement)(C.Button,{isSecondary:!0,onClick:function(){var e=pe()(ge);e.push({shape:generateBlocksStyling.container.shapeDividers.shape,color:generateBlocksStyling.container.shapeDividers.color,colorOpacity:generateBlocksStyling.container.shapeDividers.colorOpacity,location:generateBlocksStyling.container.shapeDividers.location,height:generateBlocksStyling.container.shapeDividers.height,heightTablet:generateBlocksStyling.container.shapeDividers.heightTablet,heightMobile:generateBlocksStyling.container.shapeDividers.heightMobile,width:generateBlocksStyling.container.shapeDividers.width,widthTablet:generateBlocksStyling.container.shapeDividers.widthTablet,widthMobile:generateBlocksStyling.container.shapeDividers.widthMobile,flipHorizontally:generateBlocksStyling.container.shapeDividers.flipHorizontally,zindex:generateBlocksStyling.container.shapeDividers.zindex}),n({shapeDividers:e})}.bind(this)},Object(T.__)("Add Shape","generateblocks")))),Object(S.applyFilters)("generateblocks.editor.controls","","containerShapeDivider",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),initialOpen:!1,icon:j("documentation"),className:"gblocks-panel-label",id:"containerDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/container/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(S.applyFilters)("generateblocks.editor.controls","","containerDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:u||"",onChange:function(e){e=e.replace(Ve,"-"),n({anchor:e})}})),Object(l.createElement)(xe,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(ze,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(Pe,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(Ae,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(He,this.props)),re&&ne&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+re.replace(/ /g,"+")+me}),Object(l.createElement)(fe,{tagName:Object(S.applyFilters)("generateblocks.frontend.containerTagName",d,i),htmlAttrs:De},Object(S.applyFilters)("generateblocks.frontend.afterContainerOpen","",i),Object(l.createElement)("div",{className:w()({"gb-inside-container":!0})},Object(S.applyFilters)("generateblocks.frontend.insideContainer","",i),Object(l.createElement)(Q.InnerBlocks,{templateLock:!1,renderAppender:c?void 0:function(){return Object(l.createElement)(Q.InnerBlocks.ButtonBlockAppender,null)}})),Object(l.createElement)(l.Fragment,null,!!i.shapeDividers.length&&Object(l.createElement)("div",{className:"gb-shapes"},i.shapeDividers.map((function(e,t){var a=t+1;return Object(l.createElement)(l.Fragment,{key:t},void 0!==Se[ge[t].shape]&&Object(l.createElement)("div",{className:w()(o()({"gb-shape":!0},"gb-shape-".concat(a),!0)),dangerouslySetInnerHTML:{__html:Be(Se[ge[t].shape].icon)}}))})))),Object(S.applyFilters)("generateblocks.frontend.beforeContainerClose","",i)))}}]),a}(l.Component),Ze=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType,a=e("core").getMedia,l=(0,e("core/editor").getEditedPostAttribute)("featured_media");return t?{media:l?a(l):null,deviceType:t()}:{media:l?a(l):null,deviceType:null}}))])(We),Ke={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},isGrid:{type:"boolean",default:!1},gridId:{type:"string",default:""},tagName:{type:"string",default:generateBlocksDefaults.container.tagName},width:{type:"number",default:generateBlocksDefaults.container.width},widthTablet:{type:"number",default:generateBlocksDefaults.container.widthTablet},widthMobile:{type:"number",default:generateBlocksDefaults.container.widthMobile},orderTablet:{type:"number",default:generateBlocksDefaults.container.orderTablet},orderMobile:{type:"number",default:generateBlocksDefaults.container.orderMobile},outerContainer:{type:"string",default:generateBlocksDefaults.container.outerContainer},innerContainer:{type:"string",default:generateBlocksDefaults.container.innerContainer},containerWidth:{type:"number",default:generateBlocksDefaults.container.containerWidth},minHeight:{type:"number",default:generateBlocksDefaults.container.minHeight},minHeightUnit:{type:"string",default:generateBlocksDefaults.container.minHeightUnit},minHeightTablet:{type:"number",default:generateBlocksDefaults.container.minHeightTablet},minHeightUnitTablet:{type:"string",default:generateBlocksDefaults.container.minHeightUnitTablet},minHeightMobile:{type:"number",default:generateBlocksDefaults.container.minHeightMobile},minHeightUnitMobile:{type:"string",default:generateBlocksDefaults.container.minHeightUnitMobile},paddingTop:{type:"string",default:generateBlocksDefaults.container.paddingTop},paddingRight:{type:"string",default:generateBlocksDefaults.container.paddingRight},paddingBottom:{type:"string",default:generateBlocksDefaults.container.paddingBottom},paddingLeft:{type:"string",default:generateBlocksDefaults.container.paddingLeft},paddingUnit:{type:"string",default:generateBlocksDefaults.container.paddingUnit},paddingSyncUnits:{type:"boolean",default:!1},paddingTopTablet:{type:"string",default:generateBlocksDefaults.container.paddingTopTablet},paddingRightTablet:{type:"string",default:generateBlocksDefaults.container.paddingRightTablet},paddingBottomTablet:{type:"string",default:generateBlocksDefaults.container.paddingBottomTablet},paddingLeftTablet:{type:"string",default:generateBlocksDefaults.container.paddingLeftTablet},paddingTopMobile:{type:"string",default:generateBlocksDefaults.container.paddingTopMobile},paddingRightMobile:{type:"string",default:generateBlocksDefaults.container.paddingRightMobile},paddingBottomMobile:{type:"string",default:generateBlocksDefaults.container.paddingBottomMobile},paddingLeftMobile:{type:"string",default:generateBlocksDefaults.container.paddingLeftMobile},marginTop:{type:"string",default:generateBlocksDefaults.container.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.container.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.container.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.container.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.container.marginUnit},marginSyncUnits:{type:"boolean",default:!1},marginTopTablet:{type:"string",default:generateBlocksDefaults.container.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.container.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.container.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.container.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.container.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.container.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.container.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.container.marginLeftMobile},borderSizeTop:{type:"string",default:generateBlocksDefaults.container.borderSizeTop},borderSizeRight:{type:"string",default:generateBlocksDefaults.container.borderSizeRight},borderSizeBottom:{type:"string",default:generateBlocksDefaults.container.borderSizeBottom},borderSizeLeft:{type:"string",default:generateBlocksDefaults.container.borderSizeLeft},borderSizeTopTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeTopTablet},borderSizeRightTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeRightTablet},borderSizeBottomTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeBottomTablet},borderSizeLeftTablet:{type:"string",default:generateBlocksDefaults.container.borderSizeLeftTablet},borderSizeTopMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeTopMobile},borderSizeRightMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeRightMobile},borderSizeBottomMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeBottomMobile},borderSizeLeftMobile:{type:"string",default:generateBlocksDefaults.container.borderSizeLeftMobile},borderRadiusTopRight:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopRight},borderRadiusBottomRight:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomRight},borderRadiusBottomLeft:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomLeft},borderRadiusTopLeft:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopLeft},borderRadiusUnit:{type:"string",default:generateBlocksDefaults.container.borderRadiusUnit},borderRadiusTopRightTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopRightTablet},borderRadiusBottomRightTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomRightTablet},borderRadiusBottomLeftTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomLeftTablet},borderRadiusTopLeftTablet:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopLeftTablet},borderRadiusTopRightMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopRightMobile},borderRadiusBottomRightMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomRightMobile},borderRadiusBottomLeftMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusBottomLeftMobile},borderRadiusTopLeftMobile:{type:"string",default:generateBlocksDefaults.container.borderRadiusTopLeftMobile},borderColor:{type:"string",default:generateBlocksDefaults.container.borderColor},borderColorOpacity:{type:"number",default:generateBlocksDefaults.container.borderColorOpacity},backgroundColor:{type:"string",default:generateBlocksDefaults.container.backgroundColor},backgroundColorOpacity:{type:"number",default:generateBlocksDefaults.container.backgroundColorOpacity},gradient:{type:"boolean",default:generateBlocksDefaults.container.gradient},gradientDirection:{type:"number",default:generateBlocksDefaults.container.gradientDirection},gradientColorOne:{type:"string",default:generateBlocksDefaults.container.gradientColorOne},gradientColorOneOpacity:{type:"number",default:generateBlocksDefaults.container.gradientColorOneOpacity},gradientColorStopOne:{type:"number",default:generateBlocksDefaults.container.gradientColorStopOne},gradientColorTwo:{type:"string",default:generateBlocksDefaults.container.gradientColorTwo},gradientColorTwoOpacity:{type:"number",default:generateBlocksDefaults.container.gradientColorTwoOpacity},gradientColorStopTwo:{type:"number",default:generateBlocksDefaults.container.gradientColorStopTwo},gradientSelector:{type:"string",default:"element"},textColor:{type:"string",default:generateBlocksDefaults.container.textColor},linkColor:{type:"string",default:generateBlocksDefaults.container.linkColor},linkColorHover:{type:"string",default:generateBlocksDefaults.container.linkColorHover},bgImage:{type:"object",default:generateBlocksDefaults.container.bgImage},bgOptions:{type:"object",default:{selector:generateBlocksDefaults.container.bgOptions.selector,opacity:generateBlocksDefaults.container.bgOptions.opacity,overlay:generateBlocksDefaults.container.bgOptions.overlay,position:generateBlocksDefaults.container.bgOptions.position,size:generateBlocksDefaults.container.bgOptions.size,repeat:generateBlocksDefaults.container.bgOptions.repeat,attachment:generateBlocksDefaults.container.bgOptions.attachment}},bgImageSize:{type:"string",default:generateBlocksDefaults.container.bgImageSize},verticalAlignment:{type:"string",default:generateBlocksDefaults.container.verticalAlignment},verticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.container.verticalAlignmentTablet},verticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.container.verticalAlignmentMobile},zindex:{type:"number",default:generateBlocksDefaults.container.zindex},innerZindex:{type:"number",default:generateBlocksDefaults.container.innerZindex},removeVerticalGap:{type:"boolean",default:generateBlocksDefaults.container.removeVerticalGap},removeVerticalGapTablet:{type:"boolean",default:generateBlocksDefaults.container.removeVerticalGapTablet},removeVerticalGapMobile:{type:"boolean",default:generateBlocksDefaults.container.removeVerticalGapMobile},alignment:{type:"string",default:generateBlocksDefaults.container.alignment},alignmentTablet:{type:"string",default:generateBlocksDefaults.container.alignmentTablet},alignmentMobile:{type:"string",default:generateBlocksDefaults.container.alignmentMobile},showAdvancedTypography:{type:"boolean",default:generateBlocksDefaults.headline.showAdvancedTypography},fontFamily:{type:"string",default:generateBlocksDefaults.container.fontFamily},fontFamilyFallback:{type:"string",default:generateBlocksDefaults.container.fontFamilyFallback},googleFont:{type:"boolean",default:generateBlocksDefaults.container.googleFont},googleFontVariants:{type:"string",default:generateBlocksDefaults.container.googleFontVariants},fontWeight:{type:"string",default:generateBlocksDefaults.container.fontWeight},fontSize:{type:"number",default:generateBlocksDefaults.container.fontSize},fontSizeTablet:{type:"number",default:generateBlocksDefaults.container.fontSizeTablet},fontSizeMobile:{type:"number",default:generateBlocksDefaults.container.fontSizeMobile},fontSizeUnit:{type:"string",default:generateBlocksDefaults.container.fontSizeUnit},textTransform:{type:"string",default:""},align:{type:"string",default:""},shapeDividers:{type:"array",default:[]},isDynamic:{type:"boolean"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};generateBlocksInfo.hasCustomFields&&Object.assign(Ke,{fullWidthContent:{type:"string",source:"meta",meta:"_generate-full-width-content"}});var Je=Ke;function Ye(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Qe(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Ye(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Ye(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Xe=[{attributes:Je,supports:{align:!1,anchor:!1,className:!1,customClassName:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return Qe(Qe({},e),{},{className:t,anchor:a,cssClasses:"",elementId:""})},save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.tagName,n=a.elementId,c=a.cssClasses,s=a.isGrid,g=a.align,b={className:w()((t={"gb-container":!0},o()(t,"gb-container-".concat(i),!0),o()(t,"".concat(c),""!==c),o()(t,"align".concat(g),!!g&&!s),t)),id:n||null};return b=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",b,"generateblocks/container",a),Object(l.createElement)((function(e){var t=e.condition,a=e.wrap,l=e.children;return t?a(l):l}),{condition:s,wrap:function(e){return Object(l.createElement)("div",{className:w()(o()({"gb-grid-column":!0},"gb-grid-column-".concat(i),!0))},e)}},Object(l.createElement)(fe,{tagName:r,htmlAttrs:b},Object(S.applyFilters)("generateblocks.frontend.insideContainer","",a),Object(l.createElement)("div",{className:w()({"gb-inside-container":!0})},Object(l.createElement)(Q.InnerBlocks.Content,null))))}}];Object(X.registerBlockType)("generateblocks/container",{title:Object(T.__)("Container","generateblocks"),description:Object(T.__)("Organize your content into rows and sections.","generateblocks"),icon:j("container"),category:"generateblocks",keywords:[Object(T.__)("section"),Object(T.__)("container"),Object(T.__)("generate")],attributes:Je,supports:{align:!1,className:!1},edit:Ze,save:function(){return Object(l.createElement)(Q.InnerBlocks.Content,null)},deprecated:Xe});a(40);function $e(e){return"left"===e||"top"===e?"flex-start":"right"===e||"bottom"===e?"flex-end":e}function et(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var tt=function(e){f()(a,e);var t=et(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.alignment,i=e.marginTop,r=e.marginRight,n=e.marginBottom,o=e.marginLeft,c=e.marginUnit,s=e.stack,g=e.fillHorizontalSpace,b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block",margin:De(i,r,n,o,c),"justify-content":$e(a),"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{flex:"1"}],b[".gb-button-wrapper-"+t+" > .components-button"]=[{background:"#fff",border:"1px solid #ddd","margin-top":"10px"}]),s&&g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{width:"100% !important","box-sizing":"border-box"}]),b=Object(S.applyFilters)("generateblocks.editor.mainCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,M(b))}}]),a}(l.Component);function at(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var lt=function(e){f()(a,e);var t=at(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"button-container"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function it(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var rt=function(e){f()(a,e);var t=it(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.alignmentTablet,i=e.marginTopTablet,r=e.marginRightTablet,n=e.marginBottomTablet,o=e.marginLeftTablet,c=e.marginUnit,s=e.stackTablet,g=e.fillHorizontalSpaceTablet,b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block","margin-top":z(i,c),"margin-right":z(r,c),"margin-bottom":z(n,c),"margin-left":z(o,c),"justify-content":$e(a),"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{flex:"1"}],b[".gb-button-wrapper-"+t+" > .components-button"]=[{background:"#fff",border:"1px solid #ddd","margin-top":"10px"}]),s&&g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{width:"100% !important","box-sizing":"border-box"}]),b=Object(S.applyFilters)("generateblocks.editor.tabletCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,M(b))}}]),a}(l.Component);function nt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ot=function(e){f()(a,e);var t=nt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"button-container"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function ct(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var st=function(e){f()(a,e);var t=ct(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.uniqueId,a=e.alignmentMobile,i=e.marginTopMobile,r=e.marginRightMobile,n=e.marginBottomMobile,o=e.marginLeftMobile,c=e.marginUnit,s=e.stackMobile,g=e.fillHorizontalSpaceMobile,b=[];return b[".gb-button-wrapper-"+t]=[{display:!!g&&"block","margin-top":z(i,c),"margin-right":z(r,c),"margin-bottom":z(n,c),"margin-left":z(o,c),"justify-content":$e(a),"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout"]=[{"flex-direction":!!s&&"column","align-items":!!s&&$e(a)}],g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{flex:"1"}],b[".gb-button-wrapper-"+t+" > .components-button"]=[{background:"#fff",border:"1px solid #ddd","margin-top":"10px"}]),s&&g&&(b[".gb-button-wrapper-"+t+" > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block"]=[{width:"100% !important","box-sizing":"border-box"}]),b=Object(S.applyFilters)("generateblocks.editor.mobileCSS",b,this.props,"button-container"),Object(l.createElement)("style",null,M(b))}}]),a}(l.Component);function gt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var bt=/[\s#]/g,ut=[],dt=[{icon:"editor-alignleft",title:Object(T.__)("Align Buttons Left","generateblocks"),align:"left"},{icon:"editor-aligncenter",title:Object(T.__)("Align Buttons Center","generateblocks"),align:"center"},{icon:"editor-alignright",title:Object(T.__)("Align Buttons Right","generateblocks"),align:"right"}],pt=function(e){f()(a,e);var t=gt(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={selectedDevice:"Desktop"},e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?ut.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),ut.push(e)):ut.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),ut.push(e));var a=wp.data.select("core/block-editor").getBlocksByClientId(this.props.clientId)[0];a&&(0===a.innerBlocks.length&&wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,this.props.clientId));void 0!==this.props.attributes.isDynamic&&this.props.attributes.isDynamic||this.props.setAttributes({isDynamic:!0})}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=a.clientId,s=i.uniqueId,g=i.className,b=i.anchor,u=i.alignment,d=i.alignmentTablet,p=i.alignmentMobile,f=i.stack,h=i.stackTablet,m=i.stackMobile,k=i.fillHorizontalSpace,y=i.fillHorizontalSpaceTablet,v=i.fillHorizontalSpaceMobile,O={className:w()((e={"gb-button-wrapper":!0},o()(e,"gb-button-wrapper-".concat(s),!0),o()(e,"".concat(g),void 0!==g),e)),id:b||null};return O=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",O,"generateblocks/button-container",i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-add-new-button",icon:"insert",label:Object(T.__)("Add Button","generateblocks"),onClick:function(){var e=wp.data.select("core/block-editor").getBlocksByClientId(c)[0];if(e){var t=e.innerBlocks,a=Object.keys(t),l=a[a.length-1];if(void 0!==t[l]){var i=t[l].clientId;if(i){var r=wp.data.select("core/block-editor").getBlocksByClientId(i)[0],n=Object(X.cloneBlock)(r);wp.data.dispatch("core/block-editor").insertBlocks(n,void 0,c)}}else 0===t.length&&wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,c)}},showTooltip:!0})),"Desktop"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:u,alignmentControls:dt,onChange:function(e){n({alignment:e})}}),"Tablet"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:d,alignmentControls:dt,onChange:function(e){n({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&Object(l.createElement)(Q.AlignmentToolbar,{value:p,alignmentControls:dt,onChange:function(e){n({alignmentMobile:e})}})),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Spacing","generateblocks"),initialOpen:!0,icon:j("spacing"),className:"gblocks-panel-label",id:"buttonContainerSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Stack Vertically","generateblocks"),checked:!!f,onChange:function(e){n({stack:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Fill Horizontal Space","generateblocks"),checked:!!k,onChange:function(e){n({fillHorizontalSpace:e})}})),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Stack Vertically","generateblocks"),checked:!!h,onChange:function(e){n({stackTablet:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Fill Horizontal Space","generateblocks"),checked:!!y,onChange:function(e){n({fillHorizontalSpaceTablet:e})}})),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.buttonContainer,units:["px","em","%"]})),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Stack Vertically","generateblocks"),checked:!!m,onChange:function(e){n({stackMobile:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Fill Horizontal Space","generateblocks"),checked:!!v,onChange:function(e){n({fillHorizontalSpaceMobile:e})}})),Object(S.applyFilters)("generateblocks.editor.controls","","buttonContainerSpacing",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),icon:j("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"buttonContainerDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/buttons/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(S.applyFilters)("generateblocks.editor.controls","","buttonContainerDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:b||"",onChange:function(e){e=e.replace(bt,"-"),n({anchor:e})}})),Object(l.createElement)(tt,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(lt,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(rt,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(ot,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(st,this.props)),Object(l.createElement)("div",O,Object(l.createElement)(Q.InnerBlocks,{allowedBlocks:["generateblocks/button"],renderAppender:function(){return Object(l.createElement)(C.Tooltip,{text:Object(T.__)("Add Button","generateblocks")},Object(l.createElement)(C.Button,{className:"gblocks-add-new-button gblocks-button-container-appender",icon:"insert",onClick:function(){wp.data.dispatch("core/block-editor").insertBlocks(Object(X.createBlock)("generateblocks/button",generateBlocksStyling.button),void 0,c)}}))}})))}}]),a}(l.Component),ft=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?{deviceType:t()}:{deviceType:null}}))])(pt),ht={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},alignment:{type:"string",default:generateBlocksDefaults.buttonContainer.alignment},alignmentTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.alignment},alignmentMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.alignment},marginTop:{type:"string",default:generateBlocksDefaults.buttonContainer.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.buttonContainer.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.buttonContainer.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.buttonContainer.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.buttonContainer.marginUnit},marginTopTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.buttonContainer.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.buttonContainer.marginLeftMobile},stack:{type:"boolean",default:generateBlocksDefaults.buttonContainer.stack},stackTablet:{type:"boolean",default:generateBlocksDefaults.buttonContainer.stackTablet},stackMobile:{type:"boolean",default:generateBlocksDefaults.buttonContainer.stackMobile},fillHorizontalSpace:{type:"boolean",default:generateBlocksDefaults.buttonContainer.fillHorizontalSpace},fillHorizontalSpaceTablet:{type:"boolean",default:generateBlocksDefaults.buttonContainer.fillHorizontalSpaceTablet},fillHorizontalSpaceMobile:{type:"boolean",default:generateBlocksDefaults.buttonContainer.fillHorizontalSpaceMobile},isDynamic:{type:"boolean"},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};function mt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function kt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):mt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var yt=[{attributes:ht,supports:{anchor:!1,className:!1,customClassName:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return kt(kt({},e),{},{className:t,anchor:a,cssClasses:"",elementId:""})},save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.elementId,n=a.cssClasses,c={id:r||void 0,className:w()((t={"gb-button-wrapper":!0},o()(t,"gb-button-wrapper-".concat(i),!0),o()(t,"".concat(n),""!==n),t))};return c=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",c,"generateblocks/button-container",a),Object(l.createElement)("div",c,Object(l.createElement)(Q.InnerBlocks.Content,null))}}];Object(X.registerBlockType)("generateblocks/button-container",{title:Object(T.__)("Buttons","generateblocks"),description:Object(T.__)("Drive conversions with beautiful buttons.","generateblocks"),icon:j("button"),category:"generateblocks",keywords:[Object(T.__)("button"),Object(T.__)("buttons"),Object(T.__)("generate")],attributes:ht,supports:{className:!1},edit:ft,save:function(){return Object(l.createElement)(Q.InnerBlocks.Content,null)},deprecated:yt});a(41),a(42);var vt={facebook:{label:Object(T._x)("Facebook","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 320 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"}))},facebookCircle:{label:Object(T._x)("Facebook - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"}))},facebookSquare:{label:Object(T._x)("Facebook - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"}))},instagram:{label:Object(T._x)("Instagram","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}))},linkedin:{label:Object(T._x)("LinkedIn","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"}))},linkedinSquare:{label:Object(T._x)("LinkedIn - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"}))},pinterest:{label:Object(T._x)("Pinterest","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"}))},pinterestCircle:{label:Object(T._x)("Pinterest - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z"}))},pinterestSquare:{label:Object(T._x)("Pinterest - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M448 80v352c0 26.5-21.5 48-48 48H154.4c9.8-16.4 22.4-40 27.4-59.3 3-11.5 15.3-58.4 15.3-58.4 8 15.3 31.4 28.2 56.3 28.2 74.1 0 127.4-68.1 127.4-152.7 0-81.1-66.2-141.8-151.4-141.8-106 0-162.2 71.1-162.2 148.6 0 36 19.2 80.8 49.8 95.1 4.7 2.2 7.1 1.2 8.2-3.3.8-3.4 5-20.1 6.8-27.8.6-2.5.3-4.6-1.7-7-10.1-12.3-18.3-34.9-18.3-56 0-54.2 41-106.6 110.9-106.6 60.3 0 102.6 41.1 102.6 99.9 0 66.4-33.5 112.4-77.2 112.4-24.1 0-42.1-19.9-36.4-44.4 6.9-29.2 20.3-60.7 20.3-81.8 0-53-75.5-45.7-75.5 25 0 21.7 7.3 36.5 7.3 36.5-31.4 132.8-36.1 134.5-29.6 192.6l2.2.8H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48z"}))},reddit:{label:Object(T._x)("Reddit","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"}))},redditCircle:{label:Object(T._x)("Reddit - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M201.5 305.5c-13.8 0-24.9-11.1-24.9-24.6 0-13.8 11.1-24.9 24.9-24.9 13.6 0 24.6 11.1 24.6 24.9 0 13.6-11.1 24.6-24.6 24.6zM504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-132.3-41.2c-9.4 0-17.7 3.9-23.8 10-22.4-15.5-52.6-25.5-86.1-26.6l17.4-78.3 55.4 12.5c0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.3 24.9-24.9s-11.1-24.9-24.9-24.9c-9.7 0-18 5.8-22.1 13.8l-61.2-13.6c-3-.8-6.1 1.4-6.9 4.4l-19.1 86.4c-33.2 1.4-63.1 11.3-85.5 26.8-6.1-6.4-14.7-10.2-24.1-10.2-34.9 0-46.3 46.9-14.4 62.8-1.1 5-1.7 10.2-1.7 15.5 0 52.6 59.2 95.2 132 95.2 73.1 0 132.3-42.6 132.3-95.2 0-5.3-.6-10.8-1.9-15.8 31.3-16 19.8-62.5-14.9-62.5zM302.8 331c-18.2 18.2-76.1 17.9-93.6 0-2.2-2.2-6.1-2.2-8.3 0-2.5 2.5-2.5 6.4 0 8.6 22.8 22.8 87.3 22.8 110.2 0 2.5-2.2 2.5-6.1 0-8.6-2.2-2.2-6.1-2.2-8.3 0zm7.7-75c-13.6 0-24.6 11.1-24.6 24.9 0 13.6 11.1 24.6 24.6 24.6 13.8 0 24.9-11.1 24.9-24.6 0-13.8-11-24.9-24.9-24.9z"}))},redditSquare:{label:Object(T._x)("Reddit - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M283.2 345.5c2.7 2.7 2.7 6.8 0 9.2-24.5 24.5-93.8 24.6-118.4 0-2.7-2.4-2.7-6.5 0-9.2 2.4-2.4 6.5-2.4 8.9 0 18.7 19.2 81 19.6 100.5 0 2.4-2.3 6.6-2.3 9 0zm-91.3-53.8c0-14.9-11.9-26.8-26.5-26.8-14.9 0-26.8 11.9-26.8 26.8 0 14.6 11.9 26.5 26.8 26.5 14.6 0 26.5-11.9 26.5-26.5zm90.7-26.8c-14.6 0-26.5 11.9-26.5 26.8 0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-11.9 26.8-26.5 0-14.9-11.9-26.8-26.8-26.8zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-99.7 140.6c-10.1 0-19 4.2-25.6 10.7-24.1-16.7-56.5-27.4-92.5-28.6l18.7-84.2 59.5 13.4c0 14.6 11.9 26.5 26.5 26.5 14.9 0 26.8-12.2 26.8-26.8 0-14.6-11.9-26.8-26.8-26.8-10.4 0-19.3 6.2-23.8 14.9l-65.7-14.6c-3.3-.9-6.5 1.5-7.4 4.8l-20.5 92.8c-35.7 1.5-67.8 12.2-91.9 28.9-6.5-6.8-15.8-11-25.9-11-37.5 0-49.8 50.4-15.5 67.5-1.2 5.4-1.8 11-1.8 16.7 0 56.5 63.7 102.3 141.9 102.3 78.5 0 142.2-45.8 142.2-102.3 0-5.7-.6-11.6-2.1-17 33.6-17.2 21.2-67.2-16.1-67.2z"}))},snapchat:{label:Object(T._x)("Snapchat","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M510.846 392.673c-5.211 12.157-27.239 21.089-67.36 27.318-2.064 2.786-3.775 14.686-6.507 23.956-1.625 5.566-5.623 8.869-12.128 8.869l-.297-.005c-9.395 0-19.203-4.323-38.852-4.323-26.521 0-35.662 6.043-56.254 20.588-21.832 15.438-42.771 28.764-74.027 27.399-31.646 2.334-58.025-16.908-72.871-27.404-20.714-14.643-29.828-20.582-56.241-20.582-18.864 0-30.736 4.72-38.852 4.72-8.073 0-11.213-4.922-12.422-9.04-2.703-9.189-4.404-21.263-6.523-24.13-20.679-3.209-67.31-11.344-68.498-32.15a10.627 10.627 0 0 1 8.877-11.069c69.583-11.455 100.924-82.901 102.227-85.934.074-.176.155-.344.237-.515 3.713-7.537 4.544-13.849 2.463-18.753-5.05-11.896-26.872-16.164-36.053-19.796-23.715-9.366-27.015-20.128-25.612-27.504 2.437-12.836 21.725-20.735 33.002-15.453 8.919 4.181 16.843 6.297 23.547 6.297 5.022 0 8.212-1.204 9.96-2.171-2.043-35.936-7.101-87.29 5.687-115.969C158.122 21.304 229.705 15.42 250.826 15.42c.944 0 9.141-.089 10.11-.089 52.148 0 102.254 26.78 126.723 81.643 12.777 28.65 7.749 79.792 5.695 116.009 1.582.872 4.357 1.942 8.599 2.139 6.397-.286 13.815-2.389 22.069-6.257 6.085-2.846 14.406-2.461 20.48.058l.029.01c9.476 3.385 15.439 10.215 15.589 17.87.184 9.747-8.522 18.165-25.878 25.018-2.118.835-4.694 1.655-7.434 2.525-9.797 3.106-24.6 7.805-28.616 17.271-2.079 4.904-1.256 11.211 2.46 18.748.087.168.166.342.239.515 1.301 3.03 32.615 74.46 102.23 85.934 6.427 1.058 11.163 7.877 7.725 15.859z"}))},soundcloud:{label:Object(T._x)("Soundcloud","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M111.4 256.3l5.8 65-5.8 68.3c-.3 2.5-2.2 4.4-4.4 4.4s-4.2-1.9-4.2-4.4l-5.6-68.3 5.6-65c0-2.2 1.9-4.2 4.2-4.2 2.2 0 4.1 2 4.4 4.2zm21.4-45.6c-2.8 0-4.7 2.2-5 5l-5 105.6 5 68.3c.3 2.8 2.2 5 5 5 2.5 0 4.7-2.2 4.7-5l5.8-68.3-5.8-105.6c0-2.8-2.2-5-4.7-5zm25.5-24.1c-3.1 0-5.3 2.2-5.6 5.3l-4.4 130 4.4 67.8c.3 3.1 2.5 5.3 5.6 5.3 2.8 0 5.3-2.2 5.3-5.3l5.3-67.8-5.3-130c0-3.1-2.5-5.3-5.3-5.3zM7.2 283.2c-1.4 0-2.2 1.1-2.5 2.5L0 321.3l4.7 35c.3 1.4 1.1 2.5 2.5 2.5s2.2-1.1 2.5-2.5l5.6-35-5.6-35.6c-.3-1.4-1.1-2.5-2.5-2.5zm23.6-21.9c-1.4 0-2.5 1.1-2.5 2.5l-6.4 57.5 6.4 56.1c0 1.7 1.1 2.8 2.5 2.8s2.5-1.1 2.8-2.5l7.2-56.4-7.2-57.5c-.3-1.4-1.4-2.5-2.8-2.5zm25.3-11.4c-1.7 0-3.1 1.4-3.3 3.3L47 321.3l5.8 65.8c.3 1.7 1.7 3.1 3.3 3.1 1.7 0 3.1-1.4 3.1-3.1l6.9-65.8-6.9-68.1c0-1.9-1.4-3.3-3.1-3.3zm25.3-2.2c-1.9 0-3.6 1.4-3.6 3.6l-5.8 70 5.8 67.8c0 2.2 1.7 3.6 3.6 3.6s3.6-1.4 3.9-3.6l6.4-67.8-6.4-70c-.3-2.2-2-3.6-3.9-3.6zm241.4-110.9c-1.1-.8-2.8-1.4-4.2-1.4-2.2 0-4.2.8-5.6 1.9-1.9 1.7-3.1 4.2-3.3 6.7v.8l-3.3 176.7 1.7 32.5 1.7 31.7c.3 4.7 4.2 8.6 8.9 8.6s8.6-3.9 8.6-8.6l3.9-64.2-3.9-177.5c-.4-3-2-5.8-4.5-7.2zm-26.7 15.3c-1.4-.8-2.8-1.4-4.4-1.4s-3.1.6-4.4 1.4c-2.2 1.4-3.6 3.9-3.6 6.7l-.3 1.7-2.8 160.8s0 .3 3.1 65.6v.3c0 1.7.6 3.3 1.7 4.7 1.7 1.9 3.9 3.1 6.4 3.1 2.2 0 4.2-1.1 5.6-2.5 1.7-1.4 2.5-3.3 2.5-5.6l.3-6.7 3.1-58.6-3.3-162.8c-.3-2.8-1.7-5.3-3.9-6.7zm-111.4 22.5c-3.1 0-5.8 2.8-5.8 6.1l-4.4 140.6 4.4 67.2c.3 3.3 2.8 5.8 5.8 5.8 3.3 0 5.8-2.5 6.1-5.8l5-67.2-5-140.6c-.2-3.3-2.7-6.1-6.1-6.1zm376.7 62.8c-10.8 0-21.1 2.2-30.6 6.1-6.4-70.8-65.8-126.4-138.3-126.4-17.8 0-35 3.3-50.3 9.4-6.1 2.2-7.8 4.4-7.8 9.2v249.7c0 5 3.9 8.6 8.6 9.2h218.3c43.3 0 78.6-35 78.6-78.3.1-43.6-35.2-78.9-78.5-78.9zm-296.7-60.3c-4.2 0-7.5 3.3-7.8 7.8l-3.3 136.7 3.3 65.6c.3 4.2 3.6 7.5 7.8 7.5 4.2 0 7.5-3.3 7.5-7.5l3.9-65.6-3.9-136.7c-.3-4.5-3.3-7.8-7.5-7.8zm-53.6-7.8c-3.3 0-6.4 3.1-6.4 6.7l-3.9 145.3 3.9 66.9c.3 3.6 3.1 6.4 6.4 6.4 3.6 0 6.4-2.8 6.7-6.4l4.4-66.9-4.4-145.3c-.3-3.6-3.1-6.7-6.7-6.7zm26.7 3.4c-3.9 0-6.9 3.1-6.9 6.9L227 321.3l3.9 66.4c.3 3.9 3.1 6.9 6.9 6.9s6.9-3.1 6.9-6.9l4.2-66.4-4.2-141.7c0-3.9-3-6.9-6.9-6.9z"}))},twitch:{label:Object(T._x)("Twitch","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M40.1 32L10 108.9v314.3h107V480h60.2l56.8-56.8h87l117-117V32H40.1zm357.8 254.1L331 353H224l-56.8 56.8V353H76.9V72.1h321v214zM331 149v116.9h-40.1V149H331zm-107 0v116.9h-40.1V149H224z"}))},twitter:{label:Object(T._x)("Twitter","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}))},twitterSquare:{label:Object(T._x)("Twitter - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-48.9 158.8c.2 2.8.2 5.7.2 8.5 0 86.7-66 186.6-186.6 186.6-37.2 0-71.7-10.8-100.7-29.4 5.3.6 10.4.8 15.8.8 30.7 0 58.9-10.4 81.4-28-28.8-.6-53-19.5-61.3-45.5 10.1 1.5 19.2 1.5 29.6-1.2-30-6.1-52.5-32.5-52.5-64.4v-.8c8.7 4.9 18.9 7.9 29.6 8.3a65.447 65.447 0 0 1-29.2-54.6c0-12.2 3.2-23.4 8.9-33.1 32.3 39.8 80.8 65.8 135.2 68.6-9.3-44.5 24-80.6 64-80.6 18.9 0 35.9 7.9 47.9 20.7 14.8-2.8 29-8.3 41.6-15.8-4.9 15.2-15.2 28-28.8 36.1 13.2-1.4 26-5.1 37.8-10.2-8.9 13.1-20.1 24.7-32.9 34z"}))},vimeo:{label:Object(T._x)("Vimeo","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M447.8 153.6c-2 43.6-32.4 103.3-91.4 179.1-60.9 79.2-112.4 118.8-154.6 118.8-26.1 0-48.2-24.1-66.3-72.3C100.3 250 85.3 174.3 56.2 174.3c-3.4 0-15.1 7.1-35.2 21.1L0 168.2c51.6-45.3 100.9-95.7 131.8-98.5 34.9-3.4 56.3 20.5 64.4 71.5 28.7 181.5 41.4 208.9 93.6 126.7 18.7-29.6 28.8-52.1 30.2-67.6 4.8-45.9-35.8-42.8-63.3-31 22-72.1 64.1-107.1 126.2-105.1 45.8 1.2 67.5 31.1 64.9 89.4z"}))},vimeoSquare:{label:Object(T._x)("Vimeo - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M403.2 32H44.8C20.1 32 0 52.1 0 76.8v358.4C0 459.9 20.1 480 44.8 480h358.4c24.7 0 44.8-20.1 44.8-44.8V76.8c0-24.7-20.1-44.8-44.8-44.8zM377 180.8c-1.4 31.5-23.4 74.7-66 129.4-44 57.2-81.3 85.8-111.7 85.8-18.9 0-34.8-17.4-47.9-52.3-25.5-93.3-36.4-148-57.4-148-2.4 0-10.9 5.1-25.4 15.2l-15.2-19.6c37.3-32.8 72.9-69.2 95.2-71.2 25.2-2.4 40.7 14.8 46.5 51.7 20.7 131.2 29.9 151 67.6 91.6 13.5-21.4 20.8-37.7 21.8-48.9 3.5-33.2-25.9-30.9-45.8-22.4 15.9-52.1 46.3-77.4 91.2-76 33.3.9 49 22.5 47.1 64.7z"}))},whatsapp:{label:Object(T._x)("WhatsApp","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M380.9 97.1C339 55.1 283.2 32 223.9 32c-122.4 0-222 99.6-222 222 0 39.1 10.2 77.3 29.6 111L0 480l117.7-30.9c32.4 17.7 68.9 27 106.1 27h.1c122.3 0 224.1-99.6 224.1-222 0-59.3-25.2-115-67.1-157zm-157 341.6c-33.2 0-65.7-8.9-94-25.7l-6.7-4-69.8 18.3L72 359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2 0-101.7 82.8-184.5 184.6-184.5 49.3 0 95.6 19.2 130.4 54.1 34.8 34.9 56.2 81.2 56.1 130.5 0 101.8-84.9 184.6-186.6 184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5 2.8-3.7 5.6-14.3 18-17.6 21.8-3.2 3.7-6.5 4.2-12 1.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8 5.7-9.1 16.3-30.3 1.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7 0-9.7 1.4-14.8 6.9-5.1 5.6-19.4 19-19.4 46.3 0 27.3 19.9 53.7 22.6 57.4 2.8 3.7 39.1 59.7 94.8 83.8 35.2 15.2 49 16.5 66.6 13.9 10.7-1.6 32.8-13.4 37.4-26.4 4.6-13 4.6-24.1 3.2-26.4-1.3-2.5-5-3.9-10.5-6.6z"}))},whatsappSquare:{label:Object(T._x)("WhatsApp - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M224 122.8c-72.7 0-131.8 59.1-131.9 131.8 0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6 49.9-13.1 4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8 0-35.2-15.2-68.3-40.1-93.2-25-25-58-38.7-93.2-38.7zm77.5 188.4c-3.3 9.3-19.1 17.7-26.7 18.8-12.6 1.9-22.4.9-47.5-9.9-39.7-17.2-65.7-57.2-67.7-59.8-2-2.6-16.2-21.5-16.2-41s10.2-29.1 13.9-33.1c3.6-4 7.9-5 10.6-5 2.6 0 5.3 0 7.6.1 2.4.1 5.7-.9 8.9 6.8 3.3 7.9 11.2 27.4 12.2 29.4s1.7 4.3.3 6.9c-7.6 15.2-15.7 14.6-11.6 21.6 15.3 26.3 30.6 35.4 53.9 47.1 4 2 6.3 1.7 8.6-1 2.3-2.6 9.9-11.6 12.5-15.5 2.6-4 5.3-3.3 8.9-2 3.6 1.3 23.1 10.9 27.1 12.9s6.6 3 7.6 4.6c.9 1.9.9 9.9-2.4 19.1zM400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM223.9 413.2c-26.6 0-52.7-6.7-75.8-19.3L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5 29.9 30 47.9 69.8 47.9 112.2 0 87.4-72.7 158.5-160.1 158.5z"}))},youtube:{label:Object(T._x)("YouTube","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}))}},wt={clock:{label:Object(T._x)("Clock","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm92.49 313l-20 25a16 16 0 01-22.49 2.5l-67-49.72a40 40 0 01-15-31.23V112a16 16 0 0116-16h32a16 16 0 0116 16v144l58 42.5a16 16 0 012.49 22.5z"}))},clockAlt:{label:Object(T._x)("Clock Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"}))},asterisk:{label:Object(T._x)("Asterisk","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"}))},at:{label:Object(T._x)("At","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C118.941 8 8 118.919 8 256c0 137.059 110.919 248 248 248 48.154 0 95.342-14.14 135.408-40.223 12.005-7.815 14.625-24.288 5.552-35.372l-10.177-12.433c-7.671-9.371-21.179-11.667-31.373-5.129C325.92 429.757 291.314 440 256 440c-101.458 0-184-82.542-184-184S154.542 72 256 72c100.139 0 184 57.619 184 160 0 38.786-21.093 79.742-58.17 83.693-17.349-.454-16.91-12.857-13.476-30.024l23.433-121.11C394.653 149.75 383.308 136 368.225 136h-44.981a13.518 13.518 0 0 0-13.432 11.993l-.01.092c-14.697-17.901-40.448-21.775-59.971-21.775-74.58 0-137.831 62.234-137.831 151.46 0 65.303 36.785 105.87 96 105.87 26.984 0 57.369-15.637 74.991-38.333 9.522 34.104 40.613 34.103 70.71 34.103C462.609 379.41 504 307.798 504 232 504 95.653 394.023 8 256 8zm-21.68 304.43c-22.249 0-36.07-15.623-36.07-40.771 0-44.993 30.779-72.729 58.63-72.729 22.292 0 35.601 15.241 35.601 40.77 0 45.061-33.875 72.73-58.161 72.73z"}))},award:{label:Object(T._x)("Award","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z"}))},ban:{label:Object(T._x)("Ban","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"}))},bars:{label:Object(T._x)("Bars","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}))},beer:{label:Object(T._x)("Beer","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M368 96h-48V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56v400c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24v-42.11l80.606-35.977C429.396 365.063 448 336.388 448 304.86V176c0-44.112-35.888-80-80-80zm16 208.86a16.018 16.018 0 0 1-9.479 14.611L320 343.805V160h48c8.822 0 16 7.178 16 16v128.86zM208 384c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16zm-96 0c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16z"}))},bolt:{label:Object(T._x)("Bolt","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 320 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C-1.7 275.2 9.5 288 24 288h118.7L96.6 482.5c-3.6 15.2 8 29.5 23.3 29.5 8.4 0 16.4-4.4 20.8-12l176-304c9.3-15.9-2.2-36-20.7-36z"}))},book:{label:Object(T._x)("Book","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"}))},boxOpen:{label:Object(T._x)("Box - Open","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M425.7 256c-16.9 0-32.8-9-41.4-23.4L320 126l-64.2 106.6c-8.7 14.5-24.6 23.5-41.5 23.5-4.5 0-9-.6-13.3-1.9L64 215v178c0 14.7 10 27.5 24.2 31l216.2 54.1c10.2 2.5 20.9 2.5 31 0L551.8 424c14.2-3.6 24.2-16.4 24.2-31V215l-137 39.1c-4.3 1.3-8.8 1.9-13.3 1.9zm212.6-112.2L586.8 41c-3.1-6.2-9.8-9.8-16.7-8.9L320 64l91.7 152.1c3.8 6.3 11.4 9.3 18.5 7.3l197.9-56.5c9.9-2.9 14.7-13.9 10.2-23.1zM53.2 41L1.7 143.8c-4.6 9.2.3 20.2 10.1 23l197.9 56.5c7.1 2 14.7-1 18.5-7.3L320 64 69.8 32.1c-6.9-.8-13.5 2.7-16.6 8.9z"}))},bullhorn:{label:Object(T._x)("Bullhorn","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"}))},bullseye:{label:Object(T._x)("Bullseye","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 432c-101.69 0-184-82.29-184-184 0-101.69 82.29-184 184-184 101.69 0 184 82.29 184 184 0 101.69-82.29 184-184 184zm0-312c-70.69 0-128 57.31-128 128s57.31 128 128 128 128-57.31 128-128-57.31-128-128-128zm0 192c-35.29 0-64-28.71-64-64s28.71-64 64-64 64 28.71 64 64-28.71 64-64 64z"}))},burn:{label:Object(T._x)("Burn","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M192 0C79.7 101.3 0 220.9 0 300.5 0 425 79 512 192 512s192-87 192-211.5c0-79.9-80.2-199.6-192-300.5zm0 448c-56.5 0-96-39-96-94.8 0-13.5 4.6-61.5 96-161.2 91.4 99.7 96 147.7 96 161.2 0 55.8-39.5 94.8-96 94.8z"}))},calendarAlt:{label:Object(T._x)("Calender","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}))},check:{label:Object(T._x)("Check","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}))},checkCircle:{label:Object(T._x)("Check - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"}))},checkCircleOutline:{label:Object(T._x)("Check - Circle Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"}))},checkSquare:{label:Object(T._x)("Check - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z"}))},checkSquareOutline:{label:Object(T._x)("Check - Square Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z"}))},chevronDown:{label:Object(T._x)("Chevron - Down","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}))},chevronLeft:{label:Object(T._x)("Chevron - Left","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 256 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}))},chevronRight:{label:Object(T._x)("Chevron - Right","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 256 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}))},chevronUp:{label:Object(T._x)("Chevron - Up","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"}))},circle:{label:Object(T._x)("Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"}))},circleOutline:{label:Object(T._x)("Circle - Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"}))},coffee:{label:Object(T._x)("Coffee","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"}))},dotCircle:{label:Object(T._x)("Dot - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"}))},dotCircleOutline:{label:Object(T._x)("Dot - Circle Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 56c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m0-48C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 168c-44.183 0-80 35.817-80 80s35.817 80 80 80 80-35.817 80-80-35.817-80-80-80z"}))},ellipsesH:{label:Object(T._x)("Ellipses - Horizontal","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M328 256c0 39.8-32.2 72-72 72s-72-32.2-72-72 32.2-72 72-72 72 32.2 72 72zm104-72c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm-352 0c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72z"}))},ellipsesV:{label:Object(T._x)("Ellipses - Vertical","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 192 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z"}))},envelope:{label:Object(T._x)("Envelope","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"}))},fireAlt:{label:Object(T._x)("Fire","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M323.56 51.2c-20.8 19.3-39.58 39.59-56.22 59.97C240.08 73.62 206.28 35.53 168 0 69.74 91.17 0 209.96 0 281.6 0 408.85 100.29 512 224 512s224-103.15 224-230.4c0-53.27-51.98-163.14-124.44-230.4zm-19.47 340.65C282.43 407.01 255.72 416 226.86 416 154.71 416 96 368.26 96 290.75c0-38.61 24.31-72.63 72.79-130.75 6.93 7.98 98.83 125.34 98.83 125.34l58.63-66.88c4.14 6.85 7.91 13.55 11.27 19.97 27.35 52.19 15.81 118.97-33.43 153.42z"}))},heart:{label:Object(T._x)("Heart","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M462.3 62.6C407.5 15.9 326 24.3 275.7 76.2L256 96.5l-19.7-20.3C186.1 24.3 104.5 15.9 49.7 62.6c-62.8 53.6-66.1 149.8-9.9 207.9l193.5 199.8c12.5 12.9 32.8 12.9 45.3 0l193.5-199.8c56.3-58.1 53-154.3-9.8-207.9z"}))},mapMarkerAlt:{label:Object(T._x)("Map Marker","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 384 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"}))},paperPlane:{label:Object(T._x)("Paper Plane","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M440 6.5L24 246.4c-34.4 19.9-31.1 70.8 5.7 85.9L144 379.6V464c0 46.4 59.2 65.5 86.6 28.6l43.8-59.1 111.9 46.2c5.9 2.4 12.1 3.6 18.3 3.6 8.2 0 16.3-2.1 23.6-6.2 12.8-7.2 21.6-20 23.9-34.5l59.4-387.2c6.1-40.1-36.9-68.8-71.5-48.9zM192 464v-64.6l36.6 15.1L192 464zm212.6-28.7l-153.8-63.5L391 169.5c10.7-15.5-9.5-33.5-23.7-21.2L155.8 332.6 48 288 464 48l-59.4 387.3z"}))},phone:{label:Object(T._x)("Phone","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"}))},plus:{label:Object(T._x)("Plus","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}))},plusCircle:{label:Object(T._x)("Plus - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm144 276c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92h-92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"}))},plusSquare:{label:Object(T._x)("Plus - Square","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-32 252c0 6.6-5.4 12-12 12h-92v92c0 6.6-5.4 12-12 12h-56c-6.6 0-12-5.4-12-12v-92H92c-6.6 0-12-5.4-12-12v-56c0-6.6 5.4-12 12-12h92v-92c0-6.6 5.4-12 12-12h56c6.6 0 12 5.4 12 12v92h92c6.6 0 12 5.4 12 12v56z"}))},plusSquareOutline:{label:Object(T._x)("Plus - Square Outline","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 448 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M352 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm96-160v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}))},shield:{label:Object(T._x)("Shield","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M466.5 83.7l-192-80a48.15 48.15 0 0 0-36.9 0l-192 80C27.7 91.1 16 108.6 16 128c0 198.5 114.5 335.7 221.5 380.3 11.8 4.9 25.1 4.9 36.9 0C360.1 472.6 496 349.3 496 128c0-19.4-11.7-36.9-29.5-44.3zM256.1 446.3l-.1-381 175.9 73.3c-3.3 151.4-82.1 261.1-175.8 307.7z"}))},star:{label:Object(T._x)("Star","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 576 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"}))},tags:{label:Object(T._x)("Tags","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 640 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M497.941 225.941L286.059 14.059A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v204.118a48 48 0 0 0 14.059 33.941l211.882 211.882c18.744 18.745 49.136 18.746 67.882 0l204.118-204.118c18.745-18.745 18.745-49.137 0-67.882zM112 160c-26.51 0-48-21.49-48-48s21.49-48 48-48 48 21.49 48 48-21.49 48-48 48zm513.941 133.823L421.823 497.941c-18.745 18.745-49.137 18.745-67.882 0l-.36-.36L527.64 323.522c16.999-16.999 26.36-39.6 26.36-63.64s-9.362-46.641-26.36-63.64L331.397 0h48.721a48 48 0 0 1 33.941 14.059l211.882 211.882c18.745 18.745 18.745 49.137 0 67.882z"}))},userCircle:{label:Object(T._x)("User - Circle","label","generateblocks"),icon:Object(l.createElement)("svg",{"aria-hidden":"true",role:"img",height:"1em",width:"1em",viewBox:"0 0 496 512",xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)("path",{fill:"currentColor",d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 96c48.6 0 88 39.4 88 88s-39.4 88-88 88-88-39.4-88-88 39.4-88 88-88zm0 344c-58.7 0-111.3-26.6-146.5-68.2 18.8-35.4 55.6-59.8 98.5-59.8 2.4 0 4.8.4 7.1 1.1 13 4.2 26.6 6.9 40.9 6.9 14.3 0 28-2.7 40.9-6.9 2.3-.7 4.7-1.1 7.1-1.1 42.9 0 79.7 24.4 98.5 59.8C359.3 421.4 306.7 448 248 448z"}))}};function Ot(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var jt=function(e){f()(a,e);var t=Ot(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={showIcons:!1,showGeneralIcons:!1,showSocialIcons:!1},e}return b()(a,[{key:"render",value:function(){var e=this,t=this.props,a=t.attributes,i=t.setAttributes,r=t.attrIcon,n=t.attrIconLocation,c=t.locationOptions,s=t.attrRemoveText,g={general:{group:Object(T.__)("General","generateblocks"),svgs:wt},social:{group:Object(T.__)("Social","generateblocks"),svgs:vt}};return g=Object(S.applyFilters)("generateblocks.editor.iconSVGSets",g),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.BaseControl,{className:"gb-svg-html"},Object(l.createElement)(C.TextControl,{label:Object(T.__)("Icon SVG HTML","generateblocks"),value:a[r],onChange:function(t){i(o()({},e.props.attrIcon,Be(t))),i(""!==t?{hasIcon:!0}:{hasIcon:!1})}}),Object(l.createElement)("div",{className:"gb-icon-preview"},Object(l.createElement)("span",{dangerouslySetInnerHTML:{__html:Be(a[r])}}),Object(l.createElement)(C.Button,{isSmall:!0,className:"reset-icon is-secondary",onClick:function(){var t;i((t={},o()(t,e.props.attrIcon,""),o()(t,"hasIcon",!1),t))}},Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},Object(T.__)("Clear","generateblocks"))))),Object(l.createElement)(C.BaseControl,{className:"gb-icon-chooser"},Object.keys(g).map((function(t,a){var r=g[t].svgs;return Object(l.createElement)(C.PanelBody,{title:g[t].group,initialOpen:!1,key:a},Object(l.createElement)(C.PanelRow,null,Object(l.createElement)(C.BaseControl,null,Object(l.createElement)("ul",{className:"gblocks-icon-chooser"},Object.keys(r).map((function(t,a){return Object(l.createElement)("li",{key:"editor-pblock-types-list-item-".concat(a)},Object(l.createElement)(C.Tooltip,{text:r[t].label},Object(l.createElement)(C.Button,{className:"editor-block-list-item-button",onClick:function(){var a,n=r[t].icon;"string"!=typeof n&&(n=Object(l.renderToString)(n)),i((a={},o()(a,e.props.attrIcon,n),o()(a,"hasIcon",!0),a))}},"string"==typeof r[t].icon?Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon",dangerouslySetInnerHTML:{__html:Be(r[t].icon)}})):Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"editor-block-types-list__item-icon"},r[t].icon)))))}))))))}))),void 0!==a[n]&&!a[s]&&!!a[r]&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Location","generateblocks"),value:a[n],options:c,onChange:function(t){var l=a.iconPaddingLeft,r=a.iconPaddingRight,n=a.iconPaddingRightTablet,c=a.iconPaddingLeftTablet,s=a.iconPaddingRightMobile,g=a.iconPaddingLeftMobile;"right"===t&&(!l&&r&&i({iconPaddingLeft:r,iconPaddingRight:""}),!c&&n&&i({iconPaddingLeftTablet:n,iconPaddingRightTablet:""}),!g&&s&&i({iconPaddingLeftMobile:s,iconPaddingRightMobile:""})),"left"===t&&(!r&&l&&i({iconPaddingRight:l,iconPaddingLeft:""}),!n&&c&&i({iconPaddingRightTablet:c,iconPaddingLeftTablet:""}),!s&&g&&i({iconPaddingRightMobile:g,iconPaddingLeftMobile:""})),i(o()({},e.props.attrIconLocation,t))}}),void 0!==a[s]&&!!a[r]&&Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Remove Text","generateblocks"),checked:!!a[s],onChange:function(t){i(o()({},e.props.attrRemoveText,t))}}))}}]),a}(l.Component);a(43);function Tt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function Ct(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Tt(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Tt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function St(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var _t=function(e){f()(a,e);var t=St(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={moreOptions:!1},e.onChange=e.onChange.bind(d()(e)),e}return b()(a,[{key:"onChange",value:function(e){var t=this.props,a=t.url,l=t.target,i=t.relNoFollow,r=t.relSponsored;this.props.onChange(Ct(Ct({},{url:a,target:l,relNoFollow:i,relSponsored:r}),e))}},{key:"render",value:function(){var e=this,t=this.props,a=t.url,i=t.target,r=t.relNoFollow,n=t.relSponsored,o=t.className,c=t.autoFocus,s=this.onChange,g=this.state.moreOptions;return Object(l.createElement)("div",{className:w()("gblocks-component-url-input",o)},Object(l.createElement)("div",{className:"gblocks-component-url-input-flex"},Object(l.createElement)(Q.URLInput,{value:a,onChange:function(e){s({url:e})},autoFocus:c}),Object(l.createElement)(C.Button,{icon:j("ellipsis"),label:g?Object(T.__)("Hide More Options","generateblocks"):Object(T.__)("Show More Options","generateblocks"),onClick:function(){e.setState({moreOptions:!g})}})),g&&Object(l.createElement)("div",{className:"gblocks-component-url-input-more-options"},Object(S.applyFilters)("generateblocks.editor.urlInputMoreOptions","",this.props,this.state),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Open link in a new tab","generateblocks"),checked:i||"",onChange:function(e){s({target:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)('Add rel="nofollow"',"generateblocks"),checked:r||"",onChange:function(e){s({relNoFollow:e})}}),Object(l.createElement)(C.ToggleControl,{label:Object(T.__)('Add rel="sponsored"',"generateblocks"),checked:n||"",onChange:function(e){s({relSponsored:e})}})))}}]),a}(l.Component);function Bt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Dt=function(e){f()(a,e);var t=Bt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e,t=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),a=t.url,i=t.uniqueId,r=t.removeText,n=t.backgroundColor,o=t.backgroundColorOpacity,c=t.textColor,s=t.backgroundColorHover,g=t.backgroundColorHoverOpacity,b=t.textColorHover,u=t.fontFamily,d=t.fontFamilyFallback,p=t.fontWeight,f=t.textTransform,h=t.letterSpacing,m=t.fontSize,k=t.fontSizeUnit,y=t.marginTop,v=t.marginRight,w=t.marginBottom,O=t.marginLeft,j=t.marginUnit,T=t.paddingTop,C=t.paddingRight,_=t.paddingBottom,B=t.paddingLeft,D=t.paddingUnit,E=t.borderSizeTop,R=t.borderSizeRight,x=t.borderSizeBottom,L=t.borderSizeLeft,P=t.borderRadiusTopRight,F=t.borderRadiusBottomRight,A=t.borderRadiusBottomLeft,U=t.borderRadiusTopLeft,H=t.borderRadiusUnit,N=t.borderColor,I=t.borderColorOpacity,G=t.borderColorHover,V=t.borderColorHoverOpacity,q=t.gradient,W=t.gradientDirection,Z=t.gradientColorOne,K=t.gradientColorOneOpacity,J=t.gradientColorStopOne,Y=t.gradientColorTwo,Q=t.gradientColorTwoOpacity,X=t.gradientColorStopTwo,$=t.iconPaddingTop,ee=t.iconPaddingRight,te=t.iconPaddingBottom,ae=t.iconPaddingLeft,le=t.iconPaddingUnit,ie=t.iconSize,re=t.iconSizeUnit,ne="",oe="",ce="";q&&(Z&&""!==J&&(oe=" "+J+"%"),Y&&""!==X&&(ce=" "+X+"%")),q&&(e="linear-gradient("+W+"deg, "+he(Z,K)+oe+", "+he(Y,Q)+ce+");"),u&&d&&(ne=", "+d);var se="a.gb-button-"+i;a||(se=".gb-button-"+i);var ge=[];return ge[".block-editor-block-list__block "+se]=[{"background-color":he(n,o),"background-image":e,color:c,padding:De(T,C,_,B,D),"border-radius":De(U,P,F,A,H),"font-family":u+ne,"font-weight":p,"text-transform":f,"font-size":z(m,k),"letter-spacing":z(h,"em"),margin:De(y,v,w,O,j),"border-color":he(N,I)}],(E||R||x||L)&&ge[".block-editor-block-list__block "+se].push({"border-width":De(E,R,x,L,"px"),"border-style":"solid"}),ge[".block-editor-block-list__block "+se+":hover,\n\t\t.block-editor-block-list__block "+se+":focus,\n\t\t.block-editor-block-list__block "+se+":active"]=[{"background-color":he(s,g),color:b,"border-color":he(G,V)}],ge[".block-editor-block-list__block "+se+" .gb-icon"]=[{padding:!r&&De($,ee,te,ae,le),"font-size":z(ie,re)}],ge=Object(S.applyFilters)("generateblocks.editor.mainCSS",ge,this.props,"button"),Object(l.createElement)("style",null,M(ge))}}]),a}(l.Component);function Et(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Rt=function(e){f()(a,e);var t=Et(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"button"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function xt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Mt=function(e){f()(a,e);var t=xt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.url,a=e.uniqueId,i=e.removeText,r=e.letterSpacingTablet,n=e.fontSizeTablet,o=e.fontSizeUnit,c=e.marginTopTablet,s=e.marginRightTablet,g=e.marginBottomTablet,b=e.marginLeftTablet,u=e.marginUnit,d=e.paddingTopTablet,p=e.paddingRightTablet,f=e.paddingBottomTablet,h=e.paddingLeftTablet,m=e.paddingUnit,k=e.borderSizeTopTablet,y=e.borderSizeRightTablet,v=e.borderSizeBottomTablet,w=e.borderSizeLeftTablet,O=e.borderRadiusTopRightTablet,j=e.borderRadiusBottomRightTablet,T=e.borderRadiusBottomLeftTablet,C=e.borderRadiusTopLeftTablet,_=e.borderRadiusUnit,B=e.iconPaddingTopTablet,D=e.iconPaddingRightTablet,E=e.iconPaddingBottomTablet,R=e.iconPaddingLeftTablet,x=e.iconPaddingUnit,L=e.iconSizeTablet,P=e.iconSizeUnit,F="a.gb-button-"+a;t||(F=".gb-button-"+a);var A=[];return A[".block-editor-block-list__block "+F]=[{"padding-top":z(d,m),"padding-right":z(p,m),"padding-bottom":z(f,m),"padding-left":z(h,m),"border-top-left-radius":z(C,_),"border-top-right-radius":z(O,_),"border-bottom-right-radius":z(j,_),"border-bottom-left-radius":z(T,_),"font-size":z(n,o),"letter-spacing":z(r,"em"),"margin-top":z(c,u),"margin-right":z(s,u),"margin-bottom":z(g,u),"margin-left":z(b,u)}],(k||y||v||w)&&A[".block-editor-block-list__block "+F].push({"border-top-width":z(k,"px"),"border-right-width":z(y,"px"),"border-bottom-width":z(v,"px"),"border-left-width":z(w,"px"),"border-style":"solid"}),A[".block-editor-block-list__block "+F+" .gb-icon"]=[{"padding-top":!i&&z(B,x),"padding-right":!i&&z(D,x),"padding-bottom":!i&&z(E,x),"padding-left":!i&&z(R,x),"font-size":z(L,P)}],A=Object(S.applyFilters)("generateblocks.editor.tabletCSS",A,this.props,"button"),Object(l.createElement)("style",null,M(A))}}]),a}(l.Component);function zt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Lt=function(e){f()(a,e);var t=zt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"button"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function Pt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ft=function(e){f()(a,e);var t=Pt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=e.url,a=e.uniqueId,i=e.removeText,r=e.letterSpacingMobile,n=e.fontSizeMobile,o=e.fontSizeUnit,c=e.marginTopMobile,s=e.marginRightMobile,g=e.marginBottomMobile,b=e.marginLeftMobile,u=e.marginUnit,d=e.paddingTopMobile,p=e.paddingRightMobile,f=e.paddingBottomMobile,h=e.paddingLeftMobile,m=e.paddingUnit,k=e.borderSizeTopMobile,y=e.borderSizeRightMobile,v=e.borderSizeBottomMobile,w=e.borderSizeLeftMobile,O=e.borderRadiusTopRightMobile,j=e.borderRadiusBottomRightMobile,T=e.borderRadiusBottomLeftMobile,C=e.borderRadiusTopLeftMobile,_=e.borderRadiusUnit,B=e.iconPaddingTopMobile,D=e.iconPaddingRightMobile,E=e.iconPaddingBottomMobile,R=e.iconPaddingLeftMobile,x=e.iconPaddingUnit,L=e.iconSizeMobile,P=e.iconSizeUnit,F="a.gb-button-"+a;t||(F=".gb-button-"+a);var A=[];return A[".block-editor-block-list__block "+F]=[{"padding-top":z(d,m),"padding-right":z(p,m),"padding-bottom":z(f,m),"padding-left":z(h,m),"border-top-left-radius":z(C,_),"border-top-right-radius":z(O,_),"border-bottom-right-radius":z(j,_),"border-bottom-left-radius":z(T,_),"font-size":z(n,o),"letter-spacing":z(r,"em"),"margin-top":z(c,u),"margin-right":z(s,u),"margin-bottom":z(g,u),"margin-left":z(b,u)}],(k||y||v||w)&&A[".block-editor-block-list__block "+F].push({"border-top-width":z(k,"px"),"border-right-width":z(y,"px"),"border-bottom-width":z(v,"px"),"border-left-width":z(w,"px"),"border-style":"solid"}),A[".block-editor-block-list__block "+F+" .gb-icon"]=[{"padding-top":!i&&z(B,x),"padding-right":!i&&z(D,x),"padding-bottom":!i&&z(E,x),"padding-left":!i&&z(R,x),"font-size":z(L,P)}],A=Object(S.applyFilters)("generateblocks.editor.mobileCSS",A,this.props,"button"),Object(l.createElement)("style",null,M(A))}}]),a}(l.Component);function At(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Ut=/[\s#]/g,Ht=[],Nt=function(e){f()(a,e);var t=At(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).state={selectedDevice:"Desktop",fontSizePlaceholder:"17"},e.getFontSizePlaceholder=e.getFontSizePlaceholder.bind(d()(e)),e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?Ht.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),Ht.push(e)):Ht.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),Ht.push(e));var a=this.getFontSizePlaceholder();a!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:a}),!this.props.attributes.hasIcon&&this.props.attributes.icon&&this.props.setAttributes({hasIcon:!0}),void 0===this.props.attributes.hasUrl&&(this.props.attributes.url?this.props.setAttributes({hasUrl:!0}):this.props.setAttributes({hasUrl:!1}))}},{key:"componentDidUpdate",value:function(){var e=this.getFontSizePlaceholder();e!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:e})}},{key:"getFontSizePlaceholder",value:function(){var e="17",t=document.querySelector(".gb-button-"+this.props.attributes.uniqueId);return t&&(e=parseFloat(window.getComputedStyle(t).fontSize)),e}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){for(var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=a.isSelected,s=a.clientId,g=this.state.fontSizePlaceholder,b=i.uniqueId,u=i.className,d=i.anchor,p=i.text,f=i.url,h=i.target,m=i.relNoFollow,k=i.relSponsored,y=i.icon,v=i.iconLocation,O=i.removeText,_=i.ariaLabel,D=i.backgroundColor,R=i.backgroundColorOpacity,x=i.textColor,M=i.backgroundColorHover,z=i.backgroundColorHoverOpacity,L=i.textColorHover,P=i.fontFamily,F=i.googleFont,A=i.googleFontVariants,U=i.borderColor,H=i.borderColorOpacity,N=i.borderColorHover,I=i.borderColorHoverOpacity,G=i.iconSize,V=i.iconSizeTablet,q=i.iconSizeMobile,W=i.iconSizeUnit,Z=document.querySelectorAll("a.gb-button"),K=function(e){Z[e].addEventListener("click",(function(t){Z[e].getAttribute("href")&&(Z[e].removeAttribute("href"),t.preventDefault())}),!1)},J=0;J<Z.length;J++)K(J);var $=[];m&&$.push("nofollow"),h&&$.push("noopener","noreferrer"),k&&$.push("sponsored");var ee="";A&&(ee=":"+A);var te={className:w()((e={"gb-button":!0},o()(e,"gb-button-".concat(b),!0),o()(e,"gb-button-text",!y),o()(e,"".concat(u),void 0!==u),e)),href:f||null,target:h?"_blank":null,rel:$&&$.length>0?$.join(" "):null,"aria-label":_||null,id:d||null};return te=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",te,"generateblocks/button",i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,null,Object(l.createElement)(C.ToolbarButton,{className:"gblocks-add-new-button",icon:"insert",label:Object(T.__)("Add Button","generateblocks"),onClick:function(){var e=!1;e="function"==typeof wp.data.select("core/block-editor").getBlockParentsByBlockName?wp.data.select("core/block-editor").getBlockParentsByBlockName(s,"generateblocks/button-container",!0)[0]:wp.data.select("core/block-editor").getBlockRootClientId(s);var t=wp.data.select("core/block-editor").getBlocksByClientId(s)[0],a=Object(X.cloneBlock)(t);wp.data.dispatch("core/block-editor").insertBlocks(a,void 0,e)},showTooltip:!0}))),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Typography","generateblocks"),initialOpen:!1,icon:j("typography"),className:"gblocks-panel-label",id:"buttonTypography",state:this.state,showPanel:!O||!1}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,showLetterSpacing:!0,fontSizePlaceholder:g,defaultFontSize:generateBlocksDefaults.button.fontSize,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Tablet",showFontSize:!0,showLetterSpacing:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.button.fontSizeTablet,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacingTablet}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Mobile",showFontSize:!0,showLetterSpacing:!0,disableAdvancedToggle:!0,defaultFontSize:generateBlocksDefaults.button.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.button.fontSizeUnit,defaultLetterSpacing:generateBlocksDefaults.button.letterSpacingMobile}))),Object(S.applyFilters)("generateblocks.editor.controls","","buttonTypography",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Spacing","generateblocks"),initialOpen:!1,icon:j("spacing"),className:"gblocks-panel-label",id:"buttonSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.button,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(S.applyFilters)("generateblocks.editor.controls","","buttonSpacing",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Colors","generateblocks"),initialOpen:!1,icon:j("colors"),className:"gblocks-panel-label",id:"buttonColors",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(C.TabPanel,{className:"layout-tab-panel gblocks-control-tabs",activeClass:"active-tab",tabs:[{name:"button-colors",title:Object(T.__)("Normal","generateblocks"),className:"button-colors"},{name:"button-colors-hover",title:Object(T.__)("Hover","generateblocks"),className:"button-colors-hover"}]},(function(e){var a="button-colors"===e.name;return Object(l.createElement)("div",null,a?Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ke,{label:Object(T.__)("Background Color","generateblocks"),value:D,alpha:!0,valueOpacity:R,attrOpacity:"backgroundColorOpacity",key:"buttonBackgroundColor",onChange:function(e){return n({backgroundColor:e})},onOpacityChange:function(e){return n({backgroundColorOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Text Color","generateblocks"),value:x,alpha:!1,key:"buttonTextColor",onChange:function(e){return n({textColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Border Color","generateblocks"),value:U,alpha:!0,valueOpacity:H,attrOpacity:"borderColorOpacity",key:"buttonBorderColor",onChange:function(e){return n({borderColor:e})},onOpacityChange:function(e){return n({borderColorOpacity:e})}}),Object(S.applyFilters)("generateblocks.editor.controls","","buttonColorsNormal",t.props,t.state)):Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ke,{label:Object(T.__)("Background Color","generateblocks"),value:M,alpha:!0,valueOpacity:z,attrOpacity:"backgroundColorHoverOpacity",key:"buttonBackgroundColorHover",onChange:function(e){return n({backgroundColorHover:e})},onOpacityChange:function(e){return n({backgroundColorHoverOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Text Color","generateblocks"),value:L,alpha:!1,key:"buttonTextColorHover",onChange:function(e){return n({textColorHover:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Border Color","generateblocks"),value:N,alpha:!0,valueOpacity:I,attrOpacity:"borderColorHoverOpacity",key:"buttonBorderColorHover",onChange:function(e){return n({borderColorHover:e})},onOpacityChange:function(e){return n({borderColorHoverOpacity:e})}}),Object(S.applyFilters)("generateblocks.editor.controls","","buttonColorsHover",t.props,t.state)))})),Object(S.applyFilters)("generateblocks.editor.controls","","buttonColors",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Background Gradient","generateblocks"),initialOpen:!1,icon:j("gradients"),className:"gblocks-panel-label",id:"buttonBackgroundGradient",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(Ce,r()({},this.props,{attrGradient:"gradient",attrGradientDirection:"gradientDirection",attrGradientColorOne:"gradientColorOne",attrGradientColorOneOpacity:"gradientColorOneOpacity",attrGradientColorStopOne:"gradientColorStopOne",attrGradientColorTwo:"gradientColorTwo",attrGradientColorTwoOpacity:"gradientColorTwoOpacity",attrGradientColorStopTwo:"gradientColorStopTwo",defaultColorOne:generateBlocksDefaults.button.gradientColorOne,defaultColorTwo:generateBlocksDefaults.button.gradientColorTwo})),Object(S.applyFilters)("generateblocks.editor.controls","","buttonBackgroundGradient",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Icon","generateblocks"),initialOpen:!1,icon:j("icons"),className:"gblocks-panel-label",id:"buttonIcon",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!y)}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(jt,r()({},this.props,{attrIcon:"icon",attrIconLocation:"iconLocation",attrRemoveText:"removeText",locationOptions:[{label:Object(T.__)("Left","generateblocks"),value:"left"},{label:Object(T.__)("Right","generateblocks"),value:"right"}]})),"Desktop"===this.getDeviceType()&&!!y&&Object(l.createElement)(l.Fragment,null,!O&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTop",attrRight:"iconPaddingRight",attrBottom:"iconPaddingBottom",attrLeft:"iconPaddingLeft",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:W,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:G||"",step:"em"===W?.1:1,onChange:function(e){n({iconSize:e})},onBlur:function(){n({iconSize:parseFloat(G)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSize:generateBlocksDefaults.button.iconSize})}},Object(T.__)("Reset","generateblocks")))),"Tablet"===this.getDeviceType()&&!!y&&Object(l.createElement)(l.Fragment,null,!O&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTopTablet",attrRight:"iconPaddingRightTablet",attrBottom:"iconPaddingBottomTablet",attrLeft:"iconPaddingLeftTablet",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:W,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:V||"",step:"em"===W?.1:1,placeholder:"1",onChange:function(e){n({iconSizeTablet:e})},onBlur:function(){n({iconSizeTablet:parseFloat(V)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSizeTablet:generateBlocksDefaults.button.iconSizeTablet})}},Object(T.__)("Reset","generateblocks")))),"Mobile"===this.getDeviceType()&&!!y&&Object(l.createElement)(l.Fragment,null,!O&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTopMobile",attrRight:"iconPaddingRightMobile",attrBottom:"iconPaddingBottomMobile",attrLeft:"iconPaddingLeftMobile",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.button,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:W,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:q||"",step:"em"===W?.1:1,placeholder:"1",onChange:function(e){n({iconSizeMobile:e})},onBlur:function(){n({iconSizeMobile:parseFloat(q)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSizeMobile:generateBlocksDefaults.button.iconSizeMobile})}},Object(T.__)("Reset","generateblocks")))),Object(S.applyFilters)("generateblocks.editor.controls","","buttonIcon",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),icon:j("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"buttonDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/buttons/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(S.applyFilters)("generateblocks.editor.controls","","buttonDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:d||"",onChange:function(e){e=e.replace(Ut,"-"),n({anchor:e})}}),Object(l.createElement)(C.TextControl,{label:Object(T.__)("ARIA Label","generateblocks"),help:Object(T.__)("Helpful to people using screen readers.","generateblocks"),value:_,onChange:function(e){n({ariaLabel:e})}})),Object(l.createElement)(Dt,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(Rt,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(Mt,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(Lt,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(Ft,this.props)),P&&F&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+P.replace(/ /g,"+")+ee}),Object(l.createElement)(fe,{tagName:f?"a":"span",htmlAttrs:te},!!y&&Object(l.createElement)(l.Fragment,null,"left"===v&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(y)}}),!O&&Object(l.createElement)("span",{className:"gb-button-text"},Object(l.createElement)(Q.RichText,{placeholder:Object(T.__)("Add text…","generateblocks"),value:p,onChange:function(e){return n({text:e})},allowedFormats:Object(S.applyFilters)("generateblocks.editor.buttonDisableFormatting",!1,this.props)?[]:["core/bold","core/italic","core/strikethrough"],isSelected:c,keepPlaceholderOnFocus:!0})),"right"===v&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(y)}})),!y&&!O&&Object(l.createElement)(Q.RichText,{placeholder:Object(T.__)("Add text…","generateblocks"),value:p,onChange:function(e){return n({text:e})},allowedFormats:Object(S.applyFilters)("generateblocks.editor.buttonDisableFormatting",!1,this.props)?[]:["core/bold","core/italic","core/strikethrough"],isSelected:c,keepPlaceholderOnFocus:!0})),c&&Object(l.createElement)(_t,{url:f,target:h,relNoFollow:m,relSponsored:k,onChange:function(e){n(e),""!==e.url?n({hasUrl:!0}):n({hasUrl:!1})},autoFocus:!1,className:"gblocks-component-url-input-float"}))}}]),a}(l.Component),It=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?{deviceType:t()}:{deviceType:null}}))])(Nt),Gt={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},url:{type:"string",source:"attribute",selector:".gb-button",attribute:"href"},hasUrl:{type:"boolean"},target:{type:"boolean"},relNoFollow:{type:"boolean"},relSponsored:{type:"boolean"},text:{type:"string",source:"html",selector:".gb-button-text",default:"Button"},icon:{type:"string",source:"html",selector:".gb-icon"},hasIcon:{type:"boolean",default:!1},iconLocation:{type:"string",default:generateBlocksDefaults.button.iconLocation},customIcon:{type:"boolean",default:!1},removeText:{type:"boolean",default:generateBlocksDefaults.button.removeText},ariaLabel:{type:"string",default:generateBlocksDefaults.button.ariaLabel},backgroundColor:{type:"string",default:generateBlocksDefaults.button.backgroundColor},backgroundColorOpacity:{type:"number",default:generateBlocksDefaults.button.backgroundColorOpacity},textColor:{type:"string",default:generateBlocksDefaults.button.textColor},backgroundColorHover:{type:"string",default:generateBlocksDefaults.button.backgroundColorHover},backgroundColorHoverOpacity:{type:"number",default:generateBlocksDefaults.button.backgroundColorHoverOpacity},textColorHover:{type:"string",default:generateBlocksDefaults.button.textColorHover},borderColor:{type:"string",default:generateBlocksDefaults.button.borderColor},borderColorOpacity:{type:"number",default:generateBlocksDefaults.button.borderColorOpacity},borderColorHover:{type:"string",default:generateBlocksDefaults.button.borderColorHover},borderColorHoverOpacity:{type:"number",default:generateBlocksDefaults.button.borderColorHoverOpacity},showAdvancedTypography:{type:"boolean",default:generateBlocksDefaults.button.showAdvancedTypography},fontFamily:{type:"string",default:generateBlocksDefaults.button.fontFamily},fontFamilyFallback:{type:"string",default:generateBlocksDefaults.button.fontFamilyFallback},googleFont:{type:"boolean",default:generateBlocksDefaults.button.googleFont},googleFontVariants:{type:"string",default:generateBlocksDefaults.button.googleFontVariants},fontWeight:{type:"string",default:generateBlocksDefaults.button.fontWeight},fontSize:{type:"number",default:generateBlocksDefaults.button.fontSize},fontSizeTablet:{type:"number",default:generateBlocksDefaults.button.fontSizeTablet},fontSizeMobile:{type:"number",default:generateBlocksDefaults.button.fontSizeMobile},fontSizeUnit:{type:"string",default:generateBlocksDefaults.button.fontSizeUnit},textTransform:{type:"string",default:generateBlocksDefaults.button.textTransform},letterSpacing:{type:"number",default:generateBlocksDefaults.button.letterSpacing},letterSpacingTablet:{type:"number",default:generateBlocksDefaults.button.letterSpacingTablet},letterSpacingMobile:{type:"number",default:generateBlocksDefaults.button.letterSpacingMobile},marginTop:{type:"string",default:generateBlocksDefaults.button.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.button.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.button.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.button.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.button.marginUnit},marginTopTablet:{type:"string",default:generateBlocksDefaults.button.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.button.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.button.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.button.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.button.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.button.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.button.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.button.marginLeftMobile},paddingTop:{type:"string",default:generateBlocksDefaults.button.paddingTop},paddingRight:{type:"string",default:generateBlocksDefaults.button.paddingRight},paddingBottom:{type:"string",default:generateBlocksDefaults.button.paddingBottom},paddingLeft:{type:"string",default:generateBlocksDefaults.button.paddingLeft},paddingUnit:{type:"string",default:generateBlocksDefaults.button.paddingUnit},paddingTopTablet:{type:"string",default:generateBlocksDefaults.button.paddingTopTablet},paddingRightTablet:{type:"string",default:generateBlocksDefaults.button.paddingRightTablet},paddingBottomTablet:{type:"string",default:generateBlocksDefaults.button.paddingBottomTablet},paddingLeftTablet:{type:"string",default:generateBlocksDefaults.button.paddingLeftTablet},paddingTopMobile:{type:"string",default:generateBlocksDefaults.button.paddingTopMobile},paddingRightMobile:{type:"string",default:generateBlocksDefaults.button.paddingRightMobile},paddingBottomMobile:{type:"string",default:generateBlocksDefaults.button.paddingBottomMobile},paddingLeftMobile:{type:"string",default:generateBlocksDefaults.button.paddingLeftMobile},borderSizeTop:{type:"string",default:generateBlocksDefaults.button.borderSizeTop},borderSizeRight:{type:"string",default:generateBlocksDefaults.button.borderSizeRight},borderSizeBottom:{type:"string",default:generateBlocksDefaults.button.borderSizeBottom},borderSizeLeft:{type:"string",default:generateBlocksDefaults.button.borderSizeLeft},borderSizeTopTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeTopTablet},borderSizeRightTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeRightTablet},borderSizeBottomTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeBottomTablet},borderSizeLeftTablet:{type:"string",default:generateBlocksDefaults.button.borderSizeLeftTablet},borderSizeTopMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeTopMobile},borderSizeRightMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeRightMobile},borderSizeBottomMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeBottomMobile},borderSizeLeftMobile:{type:"string",default:generateBlocksDefaults.button.borderSizeLeftMobile},borderRadiusTopRight:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopRight},borderRadiusBottomRight:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomRight},borderRadiusBottomLeft:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomLeft},borderRadiusTopLeft:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopLeft},borderRadiusUnit:{type:"string",default:generateBlocksDefaults.button.borderRadiusUnit},borderRadiusTopRightTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopRightTablet},borderRadiusBottomRightTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomRightTablet},borderRadiusBottomLeftTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomLeftTablet},borderRadiusTopLeftTablet:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopLeftTablet},borderRadiusTopRightMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopRightMobile},borderRadiusBottomRightMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomRightMobile},borderRadiusBottomLeftMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusBottomLeftMobile},borderRadiusTopLeftMobile:{type:"string",default:generateBlocksDefaults.button.borderRadiusTopLeftMobile},gradient:{type:"boolean",default:generateBlocksDefaults.button.gradient},gradientDirection:{type:"number",default:generateBlocksDefaults.button.gradientDirection},gradientColorOne:{type:"string",default:generateBlocksDefaults.button.gradientColorOne},gradientColorOneOpacity:{type:"number",default:generateBlocksDefaults.button.gradientColorOneOpacity},gradientColorStopOne:{type:"number",default:generateBlocksDefaults.button.gradientColorStopOne},gradientColorTwo:{type:"string",default:generateBlocksDefaults.button.gradientColorTwo},gradientColorTwoOpacity:{type:"number",default:generateBlocksDefaults.button.gradientColorTwoOpacity},gradientColorStopTwo:{type:"number",default:generateBlocksDefaults.button.gradientColorStopTwo},iconPaddingTop:{type:"string",default:generateBlocksDefaults.button.iconPaddingTop},iconPaddingRight:{type:"string",default:generateBlocksDefaults.button.iconPaddingRight},iconPaddingBottom:{type:"string",default:generateBlocksDefaults.button.iconPaddingBottom},iconPaddingLeft:{type:"string",default:generateBlocksDefaults.button.iconPaddingLeft},iconPaddingTopTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingTopTablet},iconPaddingRightTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingRightTablet},iconPaddingBottomTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingBottomTablet},iconPaddingLeftTablet:{type:"string",default:generateBlocksDefaults.button.iconPaddingLeftTablet},iconPaddingTopMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingTopMobile},iconPaddingRightMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingRightMobile},iconPaddingBottomMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingBottomMobile},iconPaddingLeftMobile:{type:"string",default:generateBlocksDefaults.button.iconPaddingLeftMobile},iconPaddingUnit:{type:"string",default:generateBlocksDefaults.button.iconPaddingUnit},iconPaddingSyncUnits:{type:"boolean",default:!1},iconSize:{type:"number",default:generateBlocksDefaults.button.iconSize},iconSizeTablet:{type:"number",default:generateBlocksDefaults.button.iconSizeTablet},iconSizeMobile:{type:"number",default:generateBlocksDefaults.button.iconSizeMobile},iconSizeUnit:{type:"string",default:generateBlocksDefaults.button.iconSizeUnit},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}};function Vt(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function qt(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?Vt(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):Vt(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Wt=[{attributes:qt(qt({},Gt),{},{text:{type:"array",source:"children",selector:".gb-button .button-text",default:"Button"}}),supports:{anchor:!1,className:!1,customClassName:!1,inserter:!1,reusable:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor;return qt(qt({},e),{},{className:t,anchor:a,cssClasses:"",elementId:""})},save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.elementId,n=a.cssClasses,c=a.text,s=a.url,g=a.target,b=a.relNoFollow,u=a.relSponsored,d=a.icon,p=a.iconLocation,f=a.removeText,h=a.ariaLabel,m=[];b&&m.push("nofollow"),g&&m.push("noopener","noreferrer"),u&&m.push("sponsored");var k={id:r||void 0,className:w()((t={"gb-button":!0},o()(t,"gb-button-".concat(i),!0),o()(t,"".concat(n),""!==n),t)),href:s||void 0,target:g?"_blank":void 0,rel:m&&m.length>0?m.join(" "):void 0,"aria-label":h||void 0};return k=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",k,"generateblocks/button",a),Object(l.createElement)("a",k,d&&"left"===p&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(d)}}),!f&&Object(l.createElement)(Q.RichText.Content,{tagName:"span",className:"button-text",value:c,key:"button-text"}),d&&"right"===p&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(d)}}))}}];Object(X.registerBlockType)("generateblocks/button",{title:Object(T.__)("Button","generateblocks"),description:Object(T.__)("Drive conversions with beautiful buttons.","generateblocks"),parent:["generateblocks/button-container"],icon:j("button"),category:"generateblocks",keywords:[Object(T.__)("button"),Object(T.__)("buttons"),Object(T.__)("generate")],attributes:Gt,supports:{className:!1,inserter:!1,reusable:!1},edit:It,save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.className,n=a.text,c=a.url,s=a.target,g=a.relNoFollow,b=a.relSponsored,u=a.icon,d=a.iconLocation,p=a.removeText,f=a.ariaLabel,h=a.anchor,m=[];g&&m.push("nofollow"),s&&m.push("noopener","noreferrer"),b&&m.push("sponsored");var k={className:w()((t={"gb-button":!0},o()(t,"gb-button-".concat(i),!0),o()(t,"gb-button-text",!u),o()(t,"".concat(r),void 0!==r),t)),href:c||null,target:s?"_blank":null,rel:m&&m.length>0?m.join(" "):null,"aria-label":f||null,id:h||null};return k=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",k,"generateblocks/button",a),Object(l.createElement)(fe,{tagName:c?"a":"span",htmlAttrs:k},!!u&&"left"===d&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(u)}}),!p&&Object(l.createElement)(Q.RichText.Content,{value:n,tagName:u?"span":null,className:u?"gb-button-text":null}),!!u&&"right"===d&&Object(l.createElement)("span",{className:"gb-icon",dangerouslySetInnerHTML:{__html:Be(u)}}))},deprecated:Wt});a(44);function Zt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Kt=function(e){f()(a,e);var t=Zt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.element,r=e.alignment,n=e.backgroundColor,o=e.backgroundColorOpacity,c=e.textColor,s=e.linkColor,g=e.borderColor,b=e.borderColorOpacity,u=e.highlightTextColor,d=e.fontFamily,p=e.fontFamilyFallback,f=e.fontWeight,h=e.fontSize,m=e.fontSizeUnit,k=e.textTransform,y=e.lineHeight,v=e.lineHeightUnit,w=e.letterSpacing,O=e.marginTop,j=e.marginRight,T=e.marginBottom,C=e.marginLeft,_=e.marginUnit,B=e.paddingTop,D=e.paddingRight,E=e.paddingBottom,R=e.paddingLeft,x=e.paddingUnit,L=e.borderSizeTop,P=e.borderSizeRight,F=e.borderSizeBottom,A=e.borderSizeLeft,U=e.borderRadiusTopRight,H=e.borderRadiusBottomRight,N=e.borderRadiusBottomLeft,I=e.borderRadiusTopLeft,G=e.borderRadiusUnit,V=e.icon,q=e.iconColor,W=e.iconColorOpacity,Z=e.iconLocation,K=e.iconVerticalAlignment,J=e.iconPaddingTop,Y=e.iconPaddingRight,Q=e.iconPaddingBottom,X=e.iconPaddingLeft,$=e.iconPaddingUnit,ee=e.iconSize,te=e.iconSizeUnit,ae=e.inlineWidth,le=e.removeText,ie="",re="inline-block";d&&p&&(ie=", "+p);var ne=i+".gb-headline-"+a,oe=[];return oe[".editor-styles-wrapper "+ne]=[{color:c,"font-family":d+ie,"font-weight":f,"text-transform":k,"text-align":r,"font-size":z(h,m),"line-height":z(y,v),"letter-spacing":z(w,"em"),display:!!V&&"flex","align-items":$e("inline"===Z?K:r),"justify-content":$e(r),"flex-direction":!(!V||"above"!==Z)&&"column"}],oe[".editor-styles-wrapper .gb-container "+ne]=[{color:c}],V&&(re="inline-flex"),oe[".editor-styles-wrapper "+ne].push({"background-color":he(n,o),color:c,display:!!ae&&re,"margin-top":z(O,_),"margin-right":z(j,_),"margin-bottom":z(T,_),"margin-left":z(C,_),padding:De(B,D,E,R,x),"border-radius":De(I,U,H,N,G),"border-color":he(g,b)}),(L||P||F||A)&&oe[".editor-styles-wrapper "+ne].push({"border-width":De(L,P,F,A,"px"),"border-style":"solid"}),oe[".editor-styles-wrapper "+ne+" a"]=[{color:s}],oe[ne+" .gb-icon"]=[{padding:!le&&De(J,Y,Q,X,$),"align-self":!(!V||"above"!==Z)&&$e(r),color:he(q,W),display:!(!V||"above"!==Z)&&"inline"}],oe[ne+" .gb-icon svg"]=[{width:z(ee,te),height:z(ee,te)}],oe[ne+" .gb-highlight"]=[{color:u}],oe["#block-"+t]=[{display:!!ae&&"inline-flex"}],oe=Object(S.applyFilters)("generateblocks.editor.mainCSS",oe,this.props,"headline"),Object(l.createElement)("style",null,M(oe))}}]),a}(l.Component);function Jt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Yt=function(e){f()(a,e);var t=Jt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.desktopCSS",e,this.props,"headline"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function Qt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var Xt=function(e){f()(a,e);var t=Qt(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.element,r=e.alignmentTablet,n=e.fontSizeTablet,o=e.fontSizeUnit,c=e.lineHeightTablet,s=e.lineHeightUnit,g=e.letterSpacingTablet,b=e.marginTopTablet,u=e.marginRightTablet,d=e.marginBottomTablet,p=e.marginLeftTablet,f=e.marginUnit,h=e.paddingTopTablet,m=e.paddingRightTablet,k=e.paddingBottomTablet,y=e.paddingLeftTablet,v=e.paddingUnit,w=e.borderSizeTopTablet,O=e.borderSizeRightTablet,j=e.borderSizeBottomTablet,T=e.borderSizeLeftTablet,C=e.borderRadiusTopRightTablet,_=e.borderRadiusBottomRightTablet,B=e.borderRadiusBottomLeftTablet,D=e.borderRadiusTopLeftTablet,E=e.borderRadiusUnit,R=e.icon,x=e.iconLocationTablet,L=e.iconVerticalAlignmentTablet,P=e.iconPaddingTopTablet,F=e.iconPaddingRightTablet,A=e.iconPaddingBottomTablet,U=e.iconPaddingLeftTablet,H=e.iconPaddingUnit,N=e.iconSizeTablet,I=e.iconSizeUnit,G=e.inlineWidthTablet,V=e.removeText,q=i+".gb-headline-"+a,W="inline-block",Z=[];return Z[".editor-styles-wrapper "+q]=[{"text-align":r,"font-size":z(n,o),"line-height":z(c,s),"letter-spacing":z(g,"em"),display:!!R&&"flex","align-items":$e("inline"===x?L:r),"justify-content":$e(r),"flex-direction":!(!R||"above"!==x)&&"column","margin-top":z(b,f)+" !important","margin-right":z(u,f)+" !important","margin-bottom":z(d,f)+" !important","margin-left":z(p,f)+" !important","padding-top":z(h,v),"padding-right":z(m,v),"padding-bottom":z(k,v),"padding-left":z(y,v),"border-top-left-radius":z(D,E),"border-top-right-radius":z(C,E),"border-bottom-right-radius":z(_,E),"border-bottom-left-radius":z(B,E)}],R&&(W="inline-flex",Z[".editor-styles-wrapper "+q].push({display:!!G&&W})),(w||O||j||T)&&Z[".editor-styles-wrapper "+q].push({"border-top-width":z(w,"px"),"border-right-width":z(O,"px"),"border-bottom-width":z(j,"px"),"border-left-width":z(T,"px"),"border-style":"solid"}),Z[q+" .gb-icon"]=[{"padding-top":!V&&z(P,H),"padding-right":!V&&z(F,H),"padding-bottom":!V&&z(A,H),"padding-left":!V&&z(U,H),"align-self":!(!R||"above"!==x)&&$e(r),display:!(!R||"above"!==x)&&"inline"}],Z[q+" .gb-icon svg"]=[{width:z(N,I),height:z(N,I)}],Z["#block-"+t]=[{display:!!G&&"inline-flex"}],Z=Object(S.applyFilters)("generateblocks.editor.tabletCSS",Z,this.props,"text"),Object(l.createElement)("style",null,M(Z))}}]),a}(l.Component);function $t(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var ea=function(e){f()(a,e);var t=$t(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=[];return e=Object(S.applyFilters)("generateblocks.editor.tabletOnlyCSS",e,this.props,"headline"),Object(l.createElement)("style",null,M(e))}}]),a}(l.Component);function ta(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}var aa=function(e){f()(a,e);var t=ta(a);function a(){return s()(this,a),t.apply(this,arguments)}return b()(a,[{key:"render",value:function(){var e=Object(S.applyFilters)("generateblocks.editor.cssAttrs",this.props.attributes,this.props),t=this.props.clientId,a=e.uniqueId,i=e.element,r=e.alignmentMobile,n=e.fontSizeMobile,o=e.fontSizeUnit,c=e.lineHeightMobile,s=e.lineHeightUnit,g=e.letterSpacingMobile,b=e.marginTopMobile,u=e.marginRightMobile,d=e.marginBottomMobile,p=e.marginLeftMobile,f=e.marginUnit,h=e.paddingTopMobile,m=e.paddingRightMobile,k=e.paddingBottomMobile,y=e.paddingLeftMobile,v=e.paddingUnit,w=e.borderSizeTopMobile,O=e.borderSizeRightMobile,j=e.borderSizeBottomMobile,T=e.borderSizeLeftMobile,C=e.borderRadiusTopRightMobile,_=e.borderRadiusBottomRightMobile,B=e.borderRadiusBottomLeftMobile,D=e.borderRadiusTopLeftMobile,E=e.borderRadiusUnit,R=e.icon,x=e.iconLocationMobile,L=e.iconVerticalAlignmentMobile,P=e.iconPaddingTopMobile,F=e.iconPaddingRightMobile,A=e.iconPaddingBottomMobile,U=e.iconPaddingLeftMobile,H=e.iconPaddingUnit,N=e.iconSizeMobile,I=e.iconSizeUnit,G=e.inlineWidthMobile,V=e.removeText,q=i+".gb-headline-"+a,W="inline-block",Z=[];return Z[".editor-styles-wrapper "+q]=[{"text-align":r,"font-size":z(n,o),"line-height":z(c,s),"letter-spacing":z(g,"em"),display:!!R&&"flex","align-items":$e("inline"===x?L:r),"justify-content":$e(r),"flex-direction":!(!R||"above"!==x)&&"column","margin-top":z(b,f)+" !important","margin-right":z(u,f)+" !important","margin-bottom":z(d,f)+" !important","margin-left":z(p,f)+" !important","padding-top":z(h,v),"padding-right":z(m,v),"padding-bottom":z(k,v),"padding-left":z(y,v),"border-top-left-radius":z(D,E),"border-top-right-radius":z(C,E),"border-bottom-right-radius":z(_,E),"border-bottom-left-radius":z(B,E)}],R&&(W="inline-flex",Z[".editor-styles-wrapper "+q].push({display:!!G&&W})),(w||O||j||T)&&Z[".editor-styles-wrapper "+q].push({"border-top-width":z(w,"px"),"border-right-width":z(O,"px"),"border-bottom-width":z(j,"px"),"border-left-width":z(T,"px"),"border-style":"solid"}),Z[q+" .gb-icon"]=[{"padding-top":!V&&z(P,H),"padding-right":!V&&z(F,H),"padding-bottom":!V&&z(A,H),"padding-left":!V&&z(U,H),"align-self":!(!R||"above"!==x)&&$e(r),display:!(!R||"above"!==x)&&"inline"}],Z[q+" .gb-icon svg"]=[{width:z(N,I),height:z(N,I)}],Z["#block-"+t]=[{display:!!G&&"inline-flex"}],Z=Object(S.applyFilters)("generateblocks.editor.mobileCSS",Z,this.props,"headline"),Object(l.createElement)("style",null,M(Z))}}]),a}(l.Component),la=a(21),ia=Object(l.createElement)("svg",{viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:"1.414"},Object(l.createElement)("path",{d:"M4.331,15.598l2.193,1.693c0,0 -0.813,1.215 -0.992,1.215c-1.129,0.003 -1.424,0.008 -2.603,-0.001c-0.741,-0.006 -0.04,-0.955 0.187,-1.269c0.502,-0.694 1.215,-1.638 1.215,-1.638Zm7.632,-14.107c0.364,-0.061 5.412,3.896 5.439,4.272c0.031,0.438 -4.887,8.469 -5.635,9.648c-0.251,0.397 -1.185,0.206 -2.064,0.472c-0.801,0.243 -1.89,1.336 -2.193,1.105c-1.047,-0.796 -2.217,-1.646 -3.117,-2.49c-0.367,-0.343 0.388,-1.241 0.405,-2.188c0.015,-0.811 -0.644,-2.029 -0.196,-2.575c0.836,-1.019 6.931,-8.172 7.361,-8.244Zm0.144,1.454l3.95,3.105l-4.972,8.1l-5.197,-4.053l6.219,-7.152Z"})),ra=Object(ee.compose)(Object($.withSelect)((function(e){return{selectedBlock:e("core/block-editor").getSelectedBlock()}})),Object(ee.ifCondition)((function(e){return e.selectedBlock&&"generateblocks/headline"===e.selectedBlock.name})))((function(e){var t=function(){return e.onChange(Object(la.toggleFormat)(e.value,{type:"generateblocks/mark"}))};return Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.RichTextShortcut,{type:"primary",character:"m",onUse:t}),Object(l.createElement)(Q.RichTextToolbarButton,{icon:ia,title:Object(T.__)("Highlight","generateblocks"),onClick:t,isActive:e.isActive,shortcutType:"access",shortcutCharacter:"m",className:"toolbar-button-with-text toolbar-button__".concat("generateblocks/mark")}))})),na={title:Object(T.__)("Highlight","generateblocks"),tagName:"mark",className:"gb-highlight",edit:ra};function oa(e){var t=e.level,a={h1:"M9 5h2v10H9v-4H5v4H3V5h2v4h4V5zm6.6 0c-.6.9-1.5 1.7-2.6 2v1h2v7h2V5h-1.4z",h2:"M7 5h2v10H7v-4H3v4H1V5h2v4h4V5zm8 8c.5-.4.6-.6 1.1-1.1.4-.4.8-.8 1.2-1.3.3-.4.6-.8.9-1.3.2-.4.3-.8.3-1.3 0-.4-.1-.9-.3-1.3-.2-.4-.4-.7-.8-1-.3-.3-.7-.5-1.2-.6-.5-.2-1-.2-1.5-.2-.4 0-.7 0-1.1.1-.3.1-.7.2-1 .3-.3.1-.6.3-.9.5-.3.2-.6.4-.8.7l1.2 1.2c.3-.3.6-.5 1-.7.4-.2.7-.3 1.2-.3s.9.1 1.3.4c.3.3.5.7.5 1.1 0 .4-.1.8-.4 1.1-.3.5-.6.9-1 1.2-.4.4-1 .9-1.6 1.4-.6.5-1.4 1.1-2.2 1.6V15h8v-2H15z",h3:"M12.1 12.2c.4.3.8.5 1.2.7.4.2.9.3 1.4.3.5 0 1-.1 1.4-.3.3-.1.5-.5.5-.8 0-.2 0-.4-.1-.6-.1-.2-.3-.3-.5-.4-.3-.1-.7-.2-1-.3-.5-.1-1-.1-1.5-.1V9.1c.7.1 1.5-.1 2.2-.4.4-.2.6-.5.6-.9 0-.3-.1-.6-.4-.8-.3-.2-.7-.3-1.1-.3-.4 0-.8.1-1.1.3-.4.2-.7.4-1.1.6l-1.2-1.4c.5-.4 1.1-.7 1.6-.9.5-.2 1.2-.3 1.8-.3.5 0 1 .1 1.6.2.4.1.8.3 1.2.5.3.2.6.5.8.8.2.3.3.7.3 1.1 0 .5-.2.9-.5 1.3-.4.4-.9.7-1.5.9v.1c.6.1 1.2.4 1.6.8.4.4.7.9.7 1.5 0 .4-.1.8-.3 1.2-.2.4-.5.7-.9.9-.4.3-.9.4-1.3.5-.5.1-1 .2-1.6.2-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1l1.1-1.4zM7 9H3V5H1v10h2v-4h4v4h2V5H7v4z",h4:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm10-2h-1v2h-2v-2h-5v-2l4-6h3v6h1v2zm-3-2V7l-2.8 4H16z",h5:"M12.1 12.2c.4.3.7.5 1.1.7.4.2.9.3 1.3.3.5 0 1-.1 1.4-.4.4-.3.6-.7.6-1.1 0-.4-.2-.9-.6-1.1-.4-.3-.9-.4-1.4-.4H14c-.1 0-.3 0-.4.1l-.4.1-.5.2-1-.6.3-5h6.4v1.9h-4.3L14 8.8c.2-.1.5-.1.7-.2.2 0 .5-.1.7-.1.5 0 .9.1 1.4.2.4.1.8.3 1.1.6.3.2.6.6.8.9.2.4.3.9.3 1.4 0 .5-.1 1-.3 1.4-.2.4-.5.8-.9 1.1-.4.3-.8.5-1.3.7-.5.2-1 .3-1.5.3-.8 0-1.6-.1-2.3-.4-.6-.2-1.1-.6-1.6-1-.1-.1 1-1.5 1-1.5zM9 15H7v-4H3v4H1V5h2v4h4V5h2v10z",h6:"M9 15H7v-4H3v4H1V5h2v4h4V5h2v10zm8.6-7.5c-.2-.2-.5-.4-.8-.5-.6-.2-1.3-.2-1.9 0-.3.1-.6.3-.8.5l-.6.9c-.2.5-.2.9-.2 1.4.4-.3.8-.6 1.2-.8.4-.2.8-.3 1.3-.3.4 0 .8 0 1.2.2.4.1.7.3 1 .6.3.3.5.6.7.9.2.4.3.8.3 1.3s-.1.9-.3 1.4c-.2.4-.5.7-.8 1-.4.3-.8.5-1.2.6-1 .3-2 .3-3 0-.5-.2-1-.5-1.4-.9-.4-.4-.8-.9-1-1.5-.2-.6-.3-1.3-.3-2.1s.1-1.6.4-2.3c.2-.6.6-1.2 1-1.6.4-.4.9-.7 1.4-.9.6-.3 1.1-.4 1.7-.4.7 0 1.4.1 2 .3.5.2 1 .5 1.4.8 0 .1-1.3 1.4-1.3 1.4zm-2.4 5.8c.2 0 .4 0 .6-.1.2 0 .4-.1.5-.2.1-.1.3-.3.4-.5.1-.2.1-.5.1-.7 0-.4-.1-.8-.4-1.1-.3-.2-.7-.3-1.1-.3-.3 0-.7.1-1 .2-.4.2-.7.4-1 .7 0 .3.1.7.3 1 .1.2.3.4.4.6.2.1.3.3.5.3.2.1.5.2.7.1z",p:"M7.411 18V6.005h3.887c1.474 0 2.429.067 2.881.184.687.185 1.257.57 1.726 1.173.452.603.687 1.374.687 2.329 0 .737-.135 1.357-.403 1.86-.268.502-.603.904-1.021 1.189-.403.284-.821.469-1.257.57-.57.117-1.407.167-2.496.167H9.823V18H7.411zm2.412-9.968v3.401h1.324c.955 0 1.591-.05 1.926-.184.319-.118.57-.319.754-.587.185-.268.268-.57.268-.938 0-.435-.117-.787-.385-1.072a1.607 1.607 0 00-.972-.536c-.284-.05-.87-.084-1.742-.084H9.823z",div:"M6.969 6.005h4.423c1.005 0 1.759.084 2.295.235.703.2 1.306.57 1.809 1.105.503.52.871 1.173 1.14 1.944.267.754.385 1.708.385 2.83 0 .99-.118 1.844-.369 2.547-.302.871-.72 1.592-1.273 2.128-.419.402-.989.72-1.709.955-.536.167-1.24.251-2.144.251H6.969V6.005zm2.43 2.027v7.94h1.808c.67 0 1.156-.033 1.458-.1.402-.1.72-.268.972-.502.268-.235.485-.62.636-1.156.168-.536.251-1.273.251-2.195 0-.938-.083-1.641-.25-2.144-.152-.486-.386-.888-.688-1.156-.285-.285-.67-.469-1.122-.57-.335-.067-.989-.117-1.977-.117H9.398z"};if(!a.hasOwnProperty(t))return null;var i="0 0 20 20";return"p"!==t&&"div"!==t||(i="0 0 24 24"),Object(l.createElement)(C.SVG,{width:"24",height:"24",viewBox:i,xmlns:"http://www.w3.org/2000/svg"},Object(l.createElement)(C.Path,{d:a[t]}))}function ca(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var a,l=y()(e);if(t){var i=y()(this).constructor;a=Reflect.construct(l,arguments,i)}else a=l.apply(this,arguments);return m()(this,a)}}Object(la.registerFormatType)("generateblocks/mark",na);var sa=/[\s#]/g,ga=[],ba=function(e){f()(a,e);var t=ca(a);function a(){var e;return s()(this,a),(e=t.apply(this,arguments)).getFontSizePlaceholder=e.getFontSizePlaceholder.bind(d()(e)),e.getDeviceType=e.getDeviceType.bind(d()(e)),e.setDeviceType=e.setDeviceType.bind(d()(e)),e.state={selectedDevice:"Desktop",fontSizePlaceholder:"17"},e}return b()(a,[{key:"componentDidMount",value:function(){var e=this.props.clientId.substr(2,9).replace("-",""),t=void 0!==this.props.attributes.isGlobalStyle&&this.props.attributes.isGlobalStyle;this.props.attributes.uniqueId?ga.includes(this.props.attributes.uniqueId)&&!t?(this.props.setAttributes({uniqueId:e}),ga.push(e)):ga.push(this.props.attributes.uniqueId):(this.props.setAttributes({uniqueId:e}),ga.push(e));var a=this.getFontSizePlaceholder();a!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:a}),!this.props.attributes.hasIcon&&this.props.attributes.icon&&this.props.setAttributes({hasIcon:!0})}},{key:"componentDidUpdate",value:function(){var e=this.getFontSizePlaceholder();e!==this.state.fontSizePlaceholder&&this.setState({fontSizePlaceholder:e})}},{key:"getFontSizePlaceholder",value:function(){var e="25";if("em"===this.props.attributes.fontSizeUnit)e="1";else if("%"===this.props.attributes.fontSizeUnit)e="100";else{var t=document.querySelector(".gb-headline-"+this.props.attributes.uniqueId);t&&(e=parseFloat(window.getComputedStyle(t).fontSize))}return e}},{key:"getDeviceType",value:function(){var e=this.props.deviceType?this.props.deviceType:this.state.selectedDevice;return generateBlocksInfo.syncResponsivePreviews||(e=this.state.selectedDevice),e}},{key:"setDeviceType",value:function(e){generateBlocksInfo.syncResponsivePreviews&&this.props.deviceType?(this.props.setDeviceType(e),this.setState({selectedDevice:e})):this.setState({selectedDevice:e})}},{key:"render",value:function(){var e,t=this,a=this.props,i=a.attributes,n=a.setAttributes,c=this.state.fontSizePlaceholder,s=i.uniqueId,g=i.anchor,b=i.className,u=i.content,d=i.element,p=i.alignment,f=i.alignmentTablet,h=i.alignmentMobile,m=i.backgroundColor,k=i.backgroundColorOpacity,y=i.textColor,v=i.linkColor,O=i.linkColorHover,_=i.borderColor,D=i.borderColorOpacity,R=i.highlightTextColor,x=i.fontFamily,M=i.googleFont,z=i.googleFontVariants,L=i.marginTop,P=i.marginRight,F=i.marginBottom,A=i.marginLeft,U=i.icon,H=i.hasIcon,N=i.iconColor,I=i.iconColorOpacity,G=i.iconLocation,V=i.iconLocationTablet,q=i.iconLocationMobile,W=i.iconVerticalAlignment,Z=i.iconVerticalAlignmentTablet,K=i.iconVerticalAlignmentMobile,J=i.iconSize,X=i.iconSizeTablet,$=i.iconSizeMobile,ee=i.iconSizeUnit,te=i.inlineWidth,ae=i.inlineWidthTablet,le=i.inlineWidthMobile,ie=i.removeText,re=i.ariaLabel,ne="";z&&(ne=":"+z);var oe="";oe=X||0===X?X:J||0===J?J:"";var ce={className:w()((e={"gb-headline":!0},o()(e,"gb-headline-".concat(s),!0),o()(e,"gb-headline-text",!H),o()(e,b,void 0!==b),e)),id:g||null};return ce=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",ce,"generateblocks/headline",i),Object(l.createElement)(l.Fragment,null,Object(l.createElement)(Q.BlockControls,null,Object(l.createElement)(C.ToolbarGroup,{isCollapsed:!0,icon:Object(l.createElement)(oa,{level:d}),label:Object(T.__)("Change Headline Element","generateblocks"),controls:[{isActive:"h1"===d,icon:Object(l.createElement)(oa,{level:"h1"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
10 |
Object(T.__)("Heading %s","generateblocks"),"1"),onClick:function(){n({element:"h1"})}},{isActive:"h2"===d,icon:Object(l.createElement)(oa,{level:"h2"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
11 |
Object(T.__)("Heading %s","generateblocks"),"2"),onClick:function(){n({element:"h2"})}},{isActive:"h3"===d,icon:Object(l.createElement)(oa,{level:"h3"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
12 |
Object(T.__)("Heading %s","generateblocks"),"3"),onClick:function(){n({element:"h3"})}},{isActive:"h4"===d,icon:Object(l.createElement)(oa,{level:"h4"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
13 |
Object(T.__)("Heading %s","generateblocks"),"4"),onClick:function(){n({element:"h4"})}},{isActive:"h5"===d,icon:Object(l.createElement)(oa,{level:"h5"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
14 |
Object(T.__)("Heading %s","generateblocks"),"5"),onClick:function(){n({element:"h5"})}},{isActive:"h6"===d,icon:Object(l.createElement)(oa,{level:"h6"}),title:Object(T.sprintf)(// translators: %s: heading level e.g: "1", "2", "3"
|
15 |
+
Object(T.__)("Heading %s","generateblocks"),"6"),onClick:function(){n({element:"h6"})}},{isActive:"p"===d,icon:Object(l.createElement)(oa,{level:"p"}),title:Object(T.__)("Paragraph","generateblocks"),onClick:function(){n({element:"p"})}},{isActive:"div"===d,icon:Object(l.createElement)(oa,{level:"div"}),title:Object(T.__)("Div","generateblocks"),onClick:function(){n({element:"div"})}}]}),"Desktop"===this.getDeviceType()&&!te&&Object(l.createElement)(Q.AlignmentToolbar,{value:p,onChange:function(e){n({alignment:e})}}),"Tablet"===this.getDeviceType()&&!ae&&Object(l.createElement)(Q.AlignmentToolbar,{value:f,onChange:function(e){n({alignmentTablet:e})}}),"Mobile"===this.getDeviceType()&&!le&&Object(l.createElement)(Q.AlignmentToolbar,{value:h,onChange:function(e){n({alignmentMobile:e})}})),Object(l.createElement)(Q.InspectorControls,null,Object(l.createElement)(B,r()({},this.props,{selectedDevice:this.getDeviceType(),onClick:function(e){t.setDeviceType(e)}})),Object(l.createElement)(Y,r()({},this.props,{id:"headlineElement",state:this.state,showPanel:"Desktop"===this.getDeviceType()}),Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Tag Name","generateblocks"),value:d,options:[{label:"h1",value:"h1"},{label:"h2",value:"h2"},{label:"h3",value:"h3"},{label:"h4",value:"h4"},{label:"h5",value:"h5"},{label:"h6",value:"h6"},{label:"paragraph",value:"p"},{label:"div",value:"div"}],onChange:function(e){n({element:e}),L||P||F||A||n("p"===e?{marginUnit:"em"}:{marginUnit:generateBlocksDefaults.headline.marginUnit})}}),Object(S.applyFilters)("generateblocks.editor.controls","","headlineElement",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Typography","generateblocks"),initialOpen:!1,icon:j("typography"),className:"gblocks-panel-label",id:"headlineTypography",state:this.state,showPanel:!ie||!1}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{showFontFamily:!0,showFontWeight:!0,showTextTransform:!0,showFontSize:!0,showLineHeight:!0,showLetterSpacing:!0,fontSizePlaceholder:c,defaultFontSize:generateBlocksDefaults.headline.fontSize,defaultFontSizeUnit:generateBlocksDefaults.headline.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.headline.lineHeight,defaultLineHeightUnit:generateBlocksDefaults.headline.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.headline.letterSpacing}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Tablet",showFontSize:!0,showLineHeight:!0,showLetterSpacing:!0,defaultFontSize:generateBlocksDefaults.headline.fontSizeTablet,defaultFontSizeUnit:generateBlocksDefaults.headline.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.headline.lineHeightTablet,defaultLineHeightUnit:generateBlocksDefaults.headline.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.headline.letterSpacingTablet}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(je,r()({},this.props,{device:"Mobile",showFontSize:!0,showLineHeight:!0,showLetterSpacing:!0,defaultFontSize:generateBlocksDefaults.headline.fontSizeMobile,defaultFontSizeUnit:generateBlocksDefaults.headline.fontSizeUnit,defaultLineHeight:generateBlocksDefaults.headline.lineHeightMobile,defaultLineHeightUnit:generateBlocksDefaults.headline.lineHeightUnit,defaultLetterSpacing:generateBlocksDefaults.headline.letterSpacingMobile}))),Object(S.applyFilters)("generateblocks.editor.controls","","headlineTypography",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Spacing","generateblocks"),initialOpen:!1,icon:j("spacing"),className:"gblocks-panel-label",id:"headlineSpacing",state:this.state}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Inline Width","generateblocks"),checked:!!te,onChange:function(e){n({inlineWidth:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTop",attrRight:"paddingRight",attrBottom:"paddingBottom",attrLeft:"paddingLeft",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",block:"headline",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTop",attrRight:"marginRight",attrBottom:"marginBottom",attrLeft:"marginLeft",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTop",attrRight:"borderSizeRight",attrBottom:"borderSizeBottom",attrLeft:"borderSizeLeft",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.headline,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeft",attrRight:"borderRadiusTopRight",attrBottom:"borderRadiusBottomRight",attrLeft:"borderRadiusBottomLeft",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),"Tablet"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Inline Width","generateblocks"),checked:!!ae,onChange:function(e){n({inlineWidthTablet:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopTablet",attrRight:"paddingRightTablet",attrBottom:"paddingBottomTablet",attrLeft:"paddingLeftTablet",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",block:"headline",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopTablet",attrRight:"marginRightTablet",attrBottom:"marginBottomTablet",attrLeft:"marginLeftTablet",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopTablet",attrRight:"borderSizeRightTablet",attrBottom:"borderSizeBottomTablet",attrLeft:"borderSizeLeftTablet",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.headline,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftTablet",attrRight:"borderRadiusTopRightTablet",attrBottom:"borderRadiusBottomRightTablet",attrLeft:"borderRadiusBottomLeftTablet",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),"Mobile"===this.getDeviceType()&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.ToggleControl,{label:Object(T.__)("Inline Width","generateblocks"),checked:!!le,onChange:function(e){n({inlineWidthMobile:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"paddingTopMobile",attrRight:"paddingRightMobile",attrBottom:"paddingBottomMobile",attrLeft:"paddingLeftMobile",attrUnit:"paddingUnit",attrSyncUnits:"paddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"margin",block:"headline",label:Object(T.__)("Margin","generateblocks"),attrTop:"marginTopMobile",attrRight:"marginRightMobile",attrBottom:"marginBottomMobile",attrLeft:"marginLeftMobile",attrUnit:"marginUnit",attrSyncUnits:"marginSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Size","generateblocks"),attrTop:"borderSizeTopMobile",attrRight:"borderSizeRightMobile",attrBottom:"borderSizeBottomMobile",attrLeft:"borderSizeLeftMobile",attrSyncUnits:"borderSizeSyncUnits",defaults:generateBlocksDefaults.headline,units:["px"]})),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Border Radius","generateblocks"),attrTop:"borderRadiusTopLeftMobile",attrRight:"borderRadiusTopRightMobile",attrBottom:"borderRadiusBottomRightMobile",attrLeft:"borderRadiusBottomLeftMobile",attrUnit:"borderRadiusUnit",attrSyncUnits:"borderRadiusSyncUnits",labelTop:Object(T.__)("T-Left","generateblocks"),labelRight:Object(T.__)("T-Right","generateblocks"),labelBottom:Object(T.__)("B-Right","generateblocks"),labelLeft:Object(T.__)("B-Left","generateblocks"),defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),Object(S.applyFilters)("generateblocks.editor.controls","","headlineSpacing",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Colors","generateblocks"),initialOpen:!1,icon:j("colors"),className:"gblocks-panel-label",id:"headlineColors",state:this.state,showPanel:"Desktop"===this.getDeviceType()||!1}),Object(l.createElement)(ke,{label:Object(T.__)("Background Color","generateblocks"),value:m,alpha:!0,valueOpacity:k,attrOpacity:"backgroundColorOpacity",onChange:function(e){return n({backgroundColor:e})},onOpacityChange:function(e){return n({backgroundColorOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Text Color","generateblocks"),value:y,alpha:!1,onChange:function(e){return n({textColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Link Color","generateblocks"),value:v,alpha:!1,onChange:function(e){return n({linkColor:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Link Color Hover","generateblocks"),value:O,alpha:!1,onChange:function(e){return n({linkColorHover:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Border Color","generateblocks"),value:_,alpha:!0,valueOpacity:D,attrOpacity:"borderColorOpacity",onChange:function(e){return n({borderColor:e})},onOpacityChange:function(e){return n({borderColorOpacity:e})}}),U&&Object(l.createElement)(ke,{label:Object(T.__)("Icon Color","generateblocks"),value:N,alpha:!0,valueOpacity:I,attrOpacity:"iconColorOpacity",onChange:function(e){return n({iconColor:e})},onOpacityChange:function(e){return n({iconColorOpacity:e})}}),Object(l.createElement)(ke,{label:Object(T.__)("Highlight Text","generateblocks"),value:R,alpha:!1,onChange:function(e){return n({highlightTextColor:e})}})),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Icon","generateblocks"),initialOpen:!1,icon:j("icons"),className:"gblocks-panel-label",id:"headlineIcon",state:this.state,showPanel:!("Desktop"!==this.getDeviceType()&&!U)}),"Desktop"===this.getDeviceType()&&Object(l.createElement)(jt,r()({},this.props,{attrIcon:"icon",attrRemoveText:"removeText",attrAriaLabel:"ariaLabel"})),"Desktop"===this.getDeviceType()&&!!U&&Object(l.createElement)(l.Fragment,null,!ie&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Location","generateblocks"),value:G,options:[{label:Object(T.__)("Inline","generateblocks"),value:"inline"},{label:Object(T.__)("Above","generateblocks"),value:"above"}],onChange:function(e){n({iconLocation:e,iconPaddingRight:"inline"===e?"0.5":"",iconPaddingBottom:"above"===e?"0.5":""})}}),"inline"===G&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Alignment","generateblocks"),value:W,options:[{label:Object(T.__)("Top","generateblocks"),value:"top"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"bottom"}],onChange:function(e){n({iconVerticalAlignment:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTop",attrRight:"iconPaddingRight",attrBottom:"iconPaddingBottom",attrLeft:"iconPaddingLeft",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:ee,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:J||0===J?J:"",step:"em"===ee?.1:1,onChange:function(e){n({iconSize:e})},onBlur:function(){n({iconSize:parseFloat(J)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSize:generateBlocksDefaults.headline.iconSize})}},Object(T.__)("Reset","generateblocks")))),"Tablet"===this.getDeviceType()&&!!U&&Object(l.createElement)(l.Fragment,null,!ie&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Location","generateblocks"),value:V,options:[{label:Object(T.__)("Inherit","generateblocks"),value:""},{label:Object(T.__)("Inline","generateblocks"),value:"inline"},{label:Object(T.__)("Above","generateblocks"),value:"above"}],onChange:function(e){n({iconLocationTablet:e,iconPaddingRightTablet:"inline"===e?"0.5":"",iconPaddingBottomTablet:"above"===e?"0.5":""})}}),"inline"===V&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Alignment","generateblocks"),value:Z,options:[{label:Object(T.__)("Inherit","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"top"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"bottom"}],onChange:function(e){n({iconVerticalAlignmentTablet:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTopTablet",attrRight:"iconPaddingRightTablet",attrBottom:"iconPaddingBottomTablet",attrLeft:"iconPaddingLeftTablet",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:ee,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:X||0===X?X:"",step:"em"===ee?.1:1,placeholder:J||0===J?J:"",onChange:function(e){n({iconSizeTablet:e})},onBlur:function(){n({iconSizeTablet:parseFloat(X)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSizeTablet:generateBlocksDefaults.headline.iconSizeTablet})}},Object(T.__)("Reset","generateblocks")))),"Mobile"===this.getDeviceType()&&!!U&&Object(l.createElement)(l.Fragment,null,!ie&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Location","generateblocks"),value:q,options:[{label:Object(T.__)("Inherit","generateblocks"),value:""},{label:Object(T.__)("Inline","generateblocks"),value:"inline"},{label:Object(T.__)("Above","generateblocks"),value:"above"}],onChange:function(e){n({iconLocationMobile:e,iconPaddingRightMobile:"inline"===e?"0.5":"",iconPaddingBottomMobile:"above"===e?"0.5":""})}}),"inline"===q&&Object(l.createElement)(C.SelectControl,{label:Object(T.__)("Icon Alignment","generateblocks"),value:K,options:[{label:Object(T.__)("Inherit","generateblocks"),value:""},{label:Object(T.__)("Top","generateblocks"),value:"top"},{label:Object(T.__)("Center","generateblocks"),value:"center"},{label:Object(T.__)("Bottom","generateblocks"),value:"bottom"}],onChange:function(e){n({iconVerticalAlignmentMobile:e})}}),Object(l.createElement)(ve,r()({},this.props,{device:this.getDeviceType(),type:"padding",label:Object(T.__)("Padding","generateblocks"),attrTop:"iconPaddingTopMobile",attrRight:"iconPaddingRightMobile",attrBottom:"iconPaddingBottomMobile",attrLeft:"iconPaddingLeftMobile",attrUnit:"iconPaddingUnit",attrSyncUnits:"iconPaddingSyncUnits",defaults:generateBlocksDefaults.headline,units:["px","em","%"]}))),Object(l.createElement)(E,{label:Object(T.__)("Icon Size","generateblocks"),value:ee,units:["px","em"],onClick:function(e){n({iconSizeUnit:e})}}),Object(l.createElement)("div",{className:"components-base-control components-gblocks-typography-control__inputs"},Object(l.createElement)(C.TextControl,{type:"number",value:$||0===$?$:"",step:"em"===ee?.1:1,placeholder:oe,onChange:function(e){n({iconSizeMobile:e})},onBlur:function(){n({iconSizeMobile:parseFloat($)})},onClick:function(e){e.currentTarget.focus()}}),Object(l.createElement)(C.Button,{isSmall:!0,isSecondary:!0,className:"components-gblocks-default-number",onClick:function(){n({iconSizeMobile:generateBlocksDefaults.headline.iconSizeMobile})}},Object(T.__)("Reset","generateblocks")))),Object(S.applyFilters)("generateblocks.editor.controls","","headlineIcon",this.props,this.state)),Object(l.createElement)(Y,r()({},this.props,{title:Object(T.__)("Documentation","generateblocks"),icon:j("documentation"),initialOpen:!1,className:"gblocks-panel-label",id:"headlineDocumentation",state:this.state}),Object(l.createElement)("p",null,Object(T.__)("Need help with this block?","generateblocks")),Object(l.createElement)("a",{href:"https://docs.generateblocks.com/collection/headline/",target:"_blank",rel:"noreferrer noopener"},Object(T.__)("Visit our documentation","generateblocks")),Object(S.applyFilters)("generateblocks.editor.controls","","headlineDocumentation",this.props,this.state))),Object(l.createElement)(Q.InspectorAdvancedControls,null,Object(l.createElement)(C.TextControl,{label:Object(T.__)("HTML Anchor"),help:Object(T.__)("Anchors lets you link directly to a section on a page.","generateblocks"),value:g||"",onChange:function(e){e=e.replace(sa,"-"),n({anchor:e})}})),Object(l.createElement)(Kt,this.props),this.props.deviceType&&Object(l.createElement)(l.Fragment,null,"Desktop"===this.props.deviceType&&Object(l.createElement)(Yt,this.props),("Tablet"===this.props.deviceType||"Mobile"===this.props.deviceType)&&Object(l.createElement)(Xt,this.props),"Tablet"===this.props.deviceType&&Object(l.createElement)(ea,this.props),"Mobile"===this.props.deviceType&&Object(l.createElement)(aa,this.props)),x&&M&&Object(l.createElement)("link",{rel:"stylesheet",href:"https://fonts.googleapis.com/css?family="+x.replace(/ /g,"+")+ne}),Object(S.applyFilters)("generateblocks.editor.beforeHeadlineElement","",this.props),Object(l.createElement)(fe,{tagName:d,htmlAttrs:ce},H&&Object(l.createElement)(l.Fragment,null,Object(l.createElement)("span",{className:"gb-icon","aria-label":ie&&re?re:void 0,dangerouslySetInnerHTML:{__html:Be(U)}}),!ie&&Object(l.createElement)("span",{className:"gb-headline-text"},Object(l.createElement)(Q.RichText,{tagName:"span",value:u,onChange:function(e){return n({content:e})},placeholder:Object(T.__)("Headline","generateblocks"),keepPlaceholderOnFocus:!0,allowedFormats:Object(S.applyFilters)("generateblocks.editor.headlineDisableFormatting",!1,this.props)?[]:null}))),!H&&!ie&&Object(l.createElement)(Q.RichText,{tagName:"span",value:u,onChange:function(e){return n({content:e})},placeholder:Object(T.__)("Headline","generateblocks"),keepPlaceholderOnFocus:!0,allowedFormats:Object(S.applyFilters)("generateblocks.editor.headlineDisableFormatting",!1,this.props)?[]:null})))}}]),a}(l.Component),ua=Object(ee.compose)([Object($.withDispatch)((function(e){return{setDeviceType:function(t){var a=e("core/edit-post").__experimentalSetPreviewDeviceType;a&&a(t)}}})),Object($.withSelect)((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return t?{deviceType:t()}:{deviceType:null}}))])(ba),da={uniqueId:{type:"string",default:""},anchor:{type:"string",default:""},content:{type:"string",source:"html",selector:".gb-headline-text"},element:{type:"string",default:"h2"},alignment:{type:"string",default:generateBlocksDefaults.headline.alignment},alignmentTablet:{type:"string",default:generateBlocksDefaults.headline.alignmentTablet},alignmentMobile:{type:"string",default:generateBlocksDefaults.headline.alignmentMobile},backgroundColor:{type:"string",default:generateBlocksDefaults.headline.backgroundColor},backgroundColorOpacity:{type:"number",default:generateBlocksDefaults.headline.backgroundColorOpacity},textColor:{type:"string",default:generateBlocksDefaults.headline.textColor},linkColor:{type:"string",default:generateBlocksDefaults.headline.linkColor},linkColorHover:{type:"string",default:generateBlocksDefaults.headline.linkColorHover},borderColor:{type:"string",default:generateBlocksDefaults.headline.borderColor},borderColorOpacity:{type:"number",default:generateBlocksDefaults.headline.borderColorOpacity},highlightTextColor:{type:"string",default:generateBlocksDefaults.headline.highlightTextColor},showAdvancedTypography:{type:"boolean",default:generateBlocksDefaults.headline.showAdvancedTypography},fontFamily:{type:"string",default:generateBlocksDefaults.headline.fontFamily},fontFamilyFallback:{type:"string",default:generateBlocksDefaults.headline.fontFamilyFallback},googleFont:{type:"boolean",default:generateBlocksDefaults.headline.googleFont},googleFontVariants:{type:"string",default:generateBlocksDefaults.headline.googleFontVariants},fontWeight:{type:"string",default:generateBlocksDefaults.headline.fontWeight},fontSize:{type:"number",default:generateBlocksDefaults.headline.fontSize},fontSizeTablet:{type:"number",default:generateBlocksDefaults.headline.fontSizeTablet},fontSizeMobile:{type:"number",default:generateBlocksDefaults.headline.fontSizeMobile},fontSizeUnit:{type:"string",default:generateBlocksDefaults.headline.fontSizeUnit},textTransform:{type:"string",default:""},lineHeight:{type:"number",default:generateBlocksDefaults.headline.lineHeight},lineHeightTablet:{type:"number",default:generateBlocksDefaults.headline.lineHeightTablet},lineHeightMobile:{type:"number",default:generateBlocksDefaults.headline.lineHeightMobile},lineHeightUnit:{type:"string",default:generateBlocksDefaults.headline.lineHeightUnit},letterSpacing:{type:"number",default:generateBlocksDefaults.headline.letterSpacing},letterSpacingTablet:{type:"number",default:generateBlocksDefaults.headline.letterSpacingTablet},letterSpacingMobile:{type:"number",default:generateBlocksDefaults.headline.letterSpacingMobile},marginTop:{type:"string",default:generateBlocksDefaults.headline.marginTop},marginRight:{type:"string",default:generateBlocksDefaults.headline.marginRight},marginBottom:{type:"string",default:generateBlocksDefaults.headline.marginBottom},marginLeft:{type:"string",default:generateBlocksDefaults.headline.marginLeft},marginUnit:{type:"string",default:generateBlocksDefaults.headline.marginUnit},marginSyncUnits:{type:"boolean",default:!1},marginTopTablet:{type:"string",default:generateBlocksDefaults.headline.marginTopTablet},marginRightTablet:{type:"string",default:generateBlocksDefaults.headline.marginRightTablet},marginBottomTablet:{type:"string",default:generateBlocksDefaults.headline.marginBottomTablet},marginLeftTablet:{type:"string",default:generateBlocksDefaults.headline.marginLeftTablet},marginTopMobile:{type:"string",default:generateBlocksDefaults.headline.marginTopMobile},marginRightMobile:{type:"string",default:generateBlocksDefaults.headline.marginRightMobile},marginBottomMobile:{type:"string",default:generateBlocksDefaults.headline.marginBottomMobile},marginLeftMobile:{type:"string",default:generateBlocksDefaults.headline.marginLeftMobile},paddingTop:{type:"string",default:generateBlocksDefaults.headline.paddingTop},paddingRight:{type:"string",default:generateBlocksDefaults.headline.paddingRight},paddingBottom:{type:"string",default:generateBlocksDefaults.headline.paddingBottom},paddingLeft:{type:"string",default:generateBlocksDefaults.headline.paddingLeft},paddingTopTablet:{type:"string",default:generateBlocksDefaults.headline.paddingTopTablet},paddingRightTablet:{type:"string",default:generateBlocksDefaults.headline.paddingRightTablet},paddingBottomTablet:{type:"string",default:generateBlocksDefaults.headline.paddingBottomTablet},paddingLeftTablet:{type:"string",default:generateBlocksDefaults.headline.paddingLeftTablet},paddingTopMobile:{type:"string",default:generateBlocksDefaults.headline.paddingTopMobile},paddingRightMobile:{type:"string",default:generateBlocksDefaults.headline.paddingRightMobile},paddingBottomMobile:{type:"string",default:generateBlocksDefaults.headline.paddingBottomMobile},paddingLeftMobile:{type:"string",default:generateBlocksDefaults.headline.paddingLeftMobile},paddingUnit:{type:"string",default:generateBlocksDefaults.headline.paddingUnit},paddingSyncUnits:{type:"boolean",default:!1},borderSizeTop:{type:"string",default:generateBlocksDefaults.headline.borderSizeTop},borderSizeRight:{type:"string",default:generateBlocksDefaults.headline.borderSizeRight},borderSizeBottom:{type:"string",default:generateBlocksDefaults.headline.borderSizeBottom},borderSizeLeft:{type:"string",default:generateBlocksDefaults.headline.borderSizeLeft},borderSizeTopTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeTopTablet},borderSizeRightTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeRightTablet},borderSizeBottomTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeBottomTablet},borderSizeLeftTablet:{type:"string",default:generateBlocksDefaults.headline.borderSizeLeftTablet},borderSizeTopMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeTopMobile},borderSizeRightMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeRightMobile},borderSizeBottomMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeBottomMobile},borderSizeLeftMobile:{type:"string",default:generateBlocksDefaults.headline.borderSizeLeftMobile},borderRadiusTopRight:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopRight},borderRadiusBottomRight:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomRight},borderRadiusBottomLeft:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomLeft},borderRadiusTopLeft:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopLeft},borderRadiusUnit:{type:"string",default:generateBlocksDefaults.headline.borderRadiusUnit},borderRadiusTopRightTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopRightTablet},borderRadiusBottomRightTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomRightTablet},borderRadiusBottomLeftTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomLeftTablet},borderRadiusTopLeftTablet:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopLeftTablet},borderRadiusTopRightMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopRightMobile},borderRadiusBottomRightMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomRightMobile},borderRadiusBottomLeftMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusBottomLeftMobile},borderRadiusTopLeftMobile:{type:"string",default:generateBlocksDefaults.headline.borderRadiusTopLeftMobile},icon:{type:"string",source:"html",selector:".gb-icon"},hasIcon:{type:"boolean",default:!1},iconColor:{type:"string",default:generateBlocksDefaults.headline.iconColor},iconColorOpacity:{type:"number",default:generateBlocksDefaults.headline.iconColorOpacity},customIcon:{type:"boolean",default:!1},iconLocation:{type:"string",default:generateBlocksDefaults.headline.iconLocation},iconLocationTablet:{type:"string",default:generateBlocksDefaults.headline.iconLocationTablet},iconLocationMobile:{type:"string",default:generateBlocksDefaults.headline.iconLocationMobile},iconVerticalAlignment:{type:"string",default:generateBlocksDefaults.headline.iconVerticalAlignment},iconVerticalAlignmentTablet:{type:"string",default:generateBlocksDefaults.headline.iconVerticalAlignmentTablet},iconVerticalAlignmentMobile:{type:"string",default:generateBlocksDefaults.headline.iconVerticalAlignmentMobile},iconPaddingTop:{type:"string",default:generateBlocksDefaults.headline.iconPaddingTop},iconPaddingRight:{type:"string",default:generateBlocksDefaults.headline.iconPaddingRight},iconPaddingBottom:{type:"string",default:generateBlocksDefaults.headline.iconPaddingBottom},iconPaddingLeft:{type:"string",default:generateBlocksDefaults.headline.iconPaddingLeft},iconPaddingTopTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingTopTablet},iconPaddingRightTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingRightTablet},iconPaddingBottomTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingBottomTablet},iconPaddingLeftTablet:{type:"string",default:generateBlocksDefaults.headline.iconPaddingLeftTablet},iconPaddingTopMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingTopMobile},iconPaddingRightMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingRightMobile},iconPaddingBottomMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingBottomMobile},iconPaddingLeftMobile:{type:"string",default:generateBlocksDefaults.headline.iconPaddingLeftMobile},iconPaddingUnit:{type:"string",default:generateBlocksDefaults.headline.iconPaddingUnit},iconPaddingSyncUnits:{type:"boolean",default:!1},iconSize:{type:"number",default:generateBlocksDefaults.headline.iconSize},iconSizeTablet:{type:"number",default:generateBlocksDefaults.headline.iconSizeTablet},iconSizeMobile:{type:"number",default:generateBlocksDefaults.headline.iconSizeMobile},iconSizeUnit:{type:"string",default:generateBlocksDefaults.headline.iconSizeUnit},inlineWidth:{type:"boolean",default:generateBlocksDefaults.headline.inlineWidth},inlineWidthTablet:{type:"boolean",default:generateBlocksDefaults.headline.inlineWidthTablet},inlineWidthMobile:{type:"boolean",default:generateBlocksDefaults.headline.inlineWidthMobile},removeText:{type:"boolean",default:generateBlocksDefaults.headline.removeText},ariaLabel:{type:"string",default:generateBlocksDefaults.headline.ariaLabel},elementId:{type:"string",default:""},cssClasses:{type:"string",default:""}},pa={from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(X.createBlock)("generateblocks/headline",{content:t})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(X.createBlock)("generateblocks/headline",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return Object(X.createBlock)("core/paragraph",{content:t})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return Object(X.createBlock)("core/heading",{content:t})}}]};function fa(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function ha(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?fa(Object(a),!0).forEach((function(t){o()(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):fa(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var ma=[{attributes:ha(ha({},da),{},{content:{type:"array",source:"children",selector:"p,h1,h2,h3,h4,h5,h6"}}),supports:{anchor:!1,className:!1,customClassName:!1},migrate:function(e){var t=e.cssClasses?e.cssClasses:e.className,a=e.elementId?e.elementId:e.anchor,l=e.element?e.element:generateBlocksDefaults.headline.element;return e.icon&&e.removeText&&"div"!==l&&(l="div"),ha(ha({},e),{},{className:t,anchor:a,cssClasses:"",elementId:"",element:l})},save:function(e){var t,a=e.attributes,i=a.uniqueId,n=a.elementId,c=a.cssClasses,s=a.element,g=a.content,b=a.icon,u=a.removeText,d=a.ariaLabel,p={id:n||void 0,className:w()((t={"gb-headline":!0},o()(t,"gb-headline-".concat(i),!0),o()(t,"".concat(c),""!==c),t))};return p=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",p,"generateblocks/headline",a),Object(l.createElement)((function(e){var t=e.condition,a=e.wrap,l=e.children;return t?a(l):l}),{condition:b,wrap:function(e){return Object(l.createElement)("div",{className:w()(o()({"gb-headline-wrapper":!0},"gb-headline-wrapper-".concat(i),!0))},e)}},b&&Object(l.createElement)("span",{className:"gb-icon","aria-label":u&&d?d:void 0,dangerouslySetInnerHTML:{__html:Be(b)}}),!u&&Object(l.createElement)(Q.RichText.Content,r()({tagName:s,value:g},p)))}},{attributes:ha(ha({},da),{},{element:{type:"string",default:"p"},content:{type:"array",source:"children",selector:"p,h1,h2,h3,h4,h5,h6"}}),save:function(e){var t,a=e.attributes,i=a.uniqueId,n=a.elementId,c=a.cssClasses,s=a.element,g=a.content,b=a.icon,u=a.removeText,d=a.ariaLabel,p={id:n||void 0,className:w()((t={"gb-headline":!0},o()(t,"gb-headline-".concat(i),!0),o()(t,"".concat(c),""!==c),t))};return p=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",p,"generateblocks/headline",a),Object(l.createElement)((function(e){var t=e.condition,a=e.wrap,l=e.children;return t?a(l):l}),{condition:b,wrap:function(e){return Object(l.createElement)("div",{className:w()(o()({"gb-headline-wrapper":!0},"gb-headline-wrapper-".concat(i),!0))},e)}},b&&Object(l.createElement)("span",{className:"gb-icon","aria-label":u&&d?d:void 0,dangerouslySetInnerHTML:{__html:Be(b)}}),!u&&Object(l.createElement)(Q.RichText.Content,r()({tagName:s,value:g},p)))}}];Object(X.registerBlockType)("generateblocks/headline",{title:Object(T.__)("Headline","generateblocks"),description:Object(T.__)("Craft text-rich content with advanced typography.","generateblocks"),icon:j("headline"),category:"generateblocks",keywords:[Object(T.__)("heading"),Object(T.__)("headline"),Object(T.__)("title"),Object(T.__)("generate")],attributes:da,supports:{className:!1},edit:ua,save:function(e){var t,a=e.attributes,i=a.uniqueId,r=a.className,n=a.anchor,c=a.element,s=a.content,g=a.icon,b=a.removeText,u=a.ariaLabel,d={className:w()((t={"gb-headline":!0},o()(t,"gb-headline-".concat(i),!0),o()(t,"gb-headline-text",!g),o()(t,r,void 0!==r),t)),id:n||null};return d=Object(S.applyFilters)("generateblocks.frontend.htmlAttributes",d,"generateblocks/headline",a),Object(l.createElement)(fe,{tagName:c,htmlAttrs:d},!!g&&Object(l.createElement)("span",{className:"gb-icon","aria-label":b&&u?u:void 0,dangerouslySetInnerHTML:{__html:Be(g)}}),!b&&Object(l.createElement)(Q.RichText.Content,{value:s,tagName:g?"span":null,className:g?"gb-headline-text":null}))},transforms:pa,deprecated:ma});a(45)}]);
|
includes/class-enqueue-css.php
CHANGED
@@ -76,10 +76,17 @@ class GenerateBlocks_Enqueue_CSS {
|
|
76 |
*/
|
77 |
public function mode() {
|
78 |
// Check if we're using file mode or inline mode.
|
79 |
-
// Default to file mode and
|
80 |
$mode = apply_filters( 'generateblocks_css_print_method', 'file' );
|
81 |
|
82 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
return 'inline';
|
84 |
}
|
85 |
|
76 |
*/
|
77 |
public function mode() {
|
78 |
// Check if we're using file mode or inline mode.
|
79 |
+
// Default to file mode and fallback to inline if file mode is not possible.
|
80 |
$mode = apply_filters( 'generateblocks_css_print_method', 'file' );
|
81 |
|
82 |
+
if (
|
83 |
+
( function_exists( 'is_customize_preview' ) && is_customize_preview() )
|
84 |
+
||
|
85 |
+
is_preview()
|
86 |
+
||
|
87 |
+
// AMP inlines all CSS, so inlining from the start improves CSS processing performance.
|
88 |
+
( function_exists( 'is_amp_endpoint' ) && is_amp_endpoint() )
|
89 |
+
) {
|
90 |
return 'inline';
|
91 |
}
|
92 |
|
includes/generate-css.php
CHANGED
@@ -90,6 +90,13 @@ function generateblocks_get_dynamic_css( $content = '' ) {
|
|
90 |
$gap_direction = 'right';
|
91 |
}
|
92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
$css->set_selector( '.gb-grid-wrapper-' . $id );
|
94 |
$css->add_property( 'align-items', $settings['verticalAlignment'] );
|
95 |
$css->add_property( 'justify-content', $settings['horizontalAlignment'] );
|
@@ -974,6 +981,10 @@ function generateblocks_get_dynamic_css( $content = '' ) {
|
|
974 |
$tablet_css->add_property( 'margin', array( $settings['marginTopTablet'], $settings['marginRightTablet'], $settings['marginBottomTablet'], $settings['marginLeftTablet'] ), $settings['marginUnit'] );
|
975 |
$tablet_css->add_property( 'border-width', array( $settings['borderSizeTopTablet'], $settings['borderSizeRightTablet'], $settings['borderSizeBottomTablet'], $settings['borderSizeLeftTablet'] ), 'px' );
|
976 |
|
|
|
|
|
|
|
|
|
977 |
if ( $settings['hasIcon'] ) {
|
978 |
$tablet_css->set_selector( $selector . ' .gb-icon' );
|
979 |
$tablet_css->add_property( 'font-size', $settings['iconSizeTablet'], $settings['iconSizeUnit'] );
|
@@ -991,6 +1002,10 @@ function generateblocks_get_dynamic_css( $content = '' ) {
|
|
991 |
$mobile_css->add_property( 'margin', array( $settings['marginTopMobile'], $settings['marginRightMobile'], $settings['marginBottomMobile'], $settings['marginLeftMobile'] ), $settings['marginUnit'] );
|
992 |
$mobile_css->add_property( 'border-width', array( $settings['borderSizeTopMobile'], $settings['borderSizeRightMobile'], $settings['borderSizeBottomMobile'], $settings['borderSizeLeftMobile'] ), 'px' );
|
993 |
|
|
|
|
|
|
|
|
|
994 |
if ( $settings['hasIcon'] ) {
|
995 |
$mobile_css->set_selector( $selector . ' .gb-icon' );
|
996 |
$mobile_css->add_property( 'font-size', $settings['iconSizeMobile'], $settings['iconSizeUnit'] );
|
@@ -1199,6 +1214,10 @@ function generateblocks_get_dynamic_css( $content = '' ) {
|
|
1199 |
$tablet_css->add_property( 'border-radius', array( $settings['borderRadiusTopLeftTablet'], $settings['borderRadiusTopRightTablet'], $settings['borderRadiusBottomRightTablet'], $settings['borderRadiusBottomLeftTablet'] ), $settings['borderRadiusUnit'] );
|
1200 |
$tablet_css->add_property( 'border-width', array( $settings['borderSizeTopTablet'], $settings['borderSizeRightTablet'], $settings['borderSizeBottomTablet'], $settings['borderSizeLeftTablet'] ), 'px' );
|
1201 |
|
|
|
|
|
|
|
|
|
1202 |
if ( $settings['inlineWidthTablet'] ) {
|
1203 |
if ( $settings['hasIcon'] ) {
|
1204 |
$tablet_css->add_property( 'display', 'inline-flex' );
|
@@ -1247,6 +1266,10 @@ function generateblocks_get_dynamic_css( $content = '' ) {
|
|
1247 |
$mobile_css->add_property( 'border-radius', array( $settings['borderRadiusTopLeftMobile'], $settings['borderRadiusTopRightMobile'], $settings['borderRadiusBottomRightMobile'], $settings['borderRadiusBottomLeftMobile'] ), $settings['borderRadiusUnit'] );
|
1248 |
$mobile_css->add_property( 'border-width', array( $settings['borderSizeTopMobile'], $settings['borderSizeRightMobile'], $settings['borderSizeBottomMobile'], $settings['borderSizeLeftMobile'] ), 'px' );
|
1249 |
|
|
|
|
|
|
|
|
|
1250 |
if ( $settings['inlineWidthMobile'] ) {
|
1251 |
if ( $settings['hasIcon'] ) {
|
1252 |
$mobile_css->add_property( 'display', 'inline-flex' );
|
90 |
$gap_direction = 'right';
|
91 |
}
|
92 |
|
93 |
+
// Don't output horizontal gap defaults if we're using global styles.
|
94 |
+
if ( isset( $settings['useGlobalStyle'] ) && $settings['useGlobalStyle'] && isset( $settings['globalStyleId'] ) && $settings['globalStyleId'] ) {
|
95 |
+
if ( (string) $settings['horizontalGap'] === (string) $defaults['gridContainer']['horizontalGap'] ) {
|
96 |
+
$settings['horizontalGap'] = '';
|
97 |
+
}
|
98 |
+
}
|
99 |
+
|
100 |
$css->set_selector( '.gb-grid-wrapper-' . $id );
|
101 |
$css->add_property( 'align-items', $settings['verticalAlignment'] );
|
102 |
$css->add_property( 'justify-content', $settings['horizontalAlignment'] );
|
981 |
$tablet_css->add_property( 'margin', array( $settings['marginTopTablet'], $settings['marginRightTablet'], $settings['marginBottomTablet'], $settings['marginLeftTablet'] ), $settings['marginUnit'] );
|
982 |
$tablet_css->add_property( 'border-width', array( $settings['borderSizeTopTablet'], $settings['borderSizeRightTablet'], $settings['borderSizeBottomTablet'], $settings['borderSizeLeftTablet'] ), 'px' );
|
983 |
|
984 |
+
if ( $settings['borderSizeTopTablet'] || $settings['borderSizeRightTablet'] || $settings['borderSizeBottomTablet'] || $settings['borderSizeLeftTablet'] ) {
|
985 |
+
$tablet_css->add_property( 'border-style', 'solid' );
|
986 |
+
}
|
987 |
+
|
988 |
if ( $settings['hasIcon'] ) {
|
989 |
$tablet_css->set_selector( $selector . ' .gb-icon' );
|
990 |
$tablet_css->add_property( 'font-size', $settings['iconSizeTablet'], $settings['iconSizeUnit'] );
|
1002 |
$mobile_css->add_property( 'margin', array( $settings['marginTopMobile'], $settings['marginRightMobile'], $settings['marginBottomMobile'], $settings['marginLeftMobile'] ), $settings['marginUnit'] );
|
1003 |
$mobile_css->add_property( 'border-width', array( $settings['borderSizeTopMobile'], $settings['borderSizeRightMobile'], $settings['borderSizeBottomMobile'], $settings['borderSizeLeftMobile'] ), 'px' );
|
1004 |
|
1005 |
+
if ( $settings['borderSizeTopMobile'] || $settings['borderSizeRightMobile'] || $settings['borderSizeBottomMobile'] || $settings['borderSizeLeftMobile'] ) {
|
1006 |
+
$mobile_css->add_property( 'border-style', 'solid' );
|
1007 |
+
}
|
1008 |
+
|
1009 |
if ( $settings['hasIcon'] ) {
|
1010 |
$mobile_css->set_selector( $selector . ' .gb-icon' );
|
1011 |
$mobile_css->add_property( 'font-size', $settings['iconSizeMobile'], $settings['iconSizeUnit'] );
|
1214 |
$tablet_css->add_property( 'border-radius', array( $settings['borderRadiusTopLeftTablet'], $settings['borderRadiusTopRightTablet'], $settings['borderRadiusBottomRightTablet'], $settings['borderRadiusBottomLeftTablet'] ), $settings['borderRadiusUnit'] );
|
1215 |
$tablet_css->add_property( 'border-width', array( $settings['borderSizeTopTablet'], $settings['borderSizeRightTablet'], $settings['borderSizeBottomTablet'], $settings['borderSizeLeftTablet'] ), 'px' );
|
1216 |
|
1217 |
+
if ( $settings['borderSizeTopTablet'] || $settings['borderSizeRightTablet'] || $settings['borderSizeBottomTablet'] || $settings['borderSizeLeftTablet'] ) {
|
1218 |
+
$tablet_css->add_property( 'border-style', 'solid' );
|
1219 |
+
}
|
1220 |
+
|
1221 |
if ( $settings['inlineWidthTablet'] ) {
|
1222 |
if ( $settings['hasIcon'] ) {
|
1223 |
$tablet_css->add_property( 'display', 'inline-flex' );
|
1266 |
$mobile_css->add_property( 'border-radius', array( $settings['borderRadiusTopLeftMobile'], $settings['borderRadiusTopRightMobile'], $settings['borderRadiusBottomRightMobile'], $settings['borderRadiusBottomLeftMobile'] ), $settings['borderRadiusUnit'] );
|
1267 |
$mobile_css->add_property( 'border-width', array( $settings['borderSizeTopMobile'], $settings['borderSizeRightMobile'], $settings['borderSizeBottomMobile'], $settings['borderSizeLeftMobile'] ), 'px' );
|
1268 |
|
1269 |
+
if ( $settings['borderSizeTopMobile'] || $settings['borderSizeRightMobile'] || $settings['borderSizeBottomMobile'] || $settings['borderSizeLeftMobile'] ) {
|
1270 |
+
$mobile_css->add_property( 'border-style', 'solid' );
|
1271 |
+
}
|
1272 |
+
|
1273 |
if ( $settings['inlineWidthMobile'] ) {
|
1274 |
if ( $settings['hasIcon'] ) {
|
1275 |
$mobile_css->add_property( 'display', 'inline-flex' );
|
plugin.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: A small collection of lightweight WordPress blocks that can accomplish nearly anything.
|
6 |
* Author: Tom Usborne
|
7 |
* Author URI: https://tomusborne.com
|
8 |
-
* Version: 1.3.
|
9 |
* Requires at least: 5.4
|
10 |
* Requires PHP: 5.6
|
11 |
* License: GPL2+
|
@@ -19,7 +19,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
19 |
exit; // Exit if accessed directly.
|
20 |
}
|
21 |
|
22 |
-
define( 'GENERATEBLOCKS_VERSION', '1.3.
|
23 |
define( 'GENERATEBLOCKS_DIR', plugin_dir_path( __FILE__ ) );
|
24 |
define( 'GENERATEBLOCKS_DIR_URL', plugin_dir_url( __FILE__ ) );
|
25 |
|
5 |
* Description: A small collection of lightweight WordPress blocks that can accomplish nearly anything.
|
6 |
* Author: Tom Usborne
|
7 |
* Author URI: https://tomusborne.com
|
8 |
+
* Version: 1.3.2
|
9 |
* Requires at least: 5.4
|
10 |
* Requires PHP: 5.6
|
11 |
* License: GPL2+
|
19 |
exit; // Exit if accessed directly.
|
20 |
}
|
21 |
|
22 |
+
define( 'GENERATEBLOCKS_VERSION', '1.3.2' );
|
23 |
define( 'GENERATEBLOCKS_DIR', plugin_dir_path( __FILE__ ) );
|
24 |
define( 'GENERATEBLOCKS_DIR_URL', plugin_dir_url( __FILE__ ) );
|
25 |
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: edge22
|
|
3 |
Donate link: https://generateblocks.com
|
4 |
Tags: blocks, gutenberg, container, headline, grid, columns, page builder, wysiwyg, block editor
|
5 |
Requires at least: 5.4
|
6 |
-
Tested up to: 5.
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 1.3.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -19,6 +19,8 @@ Add incredible versatility to your editor without bloating it with tons of one-d
|
|
19 |
|
20 |
[GenerateBlocks](https://generateblocks.com?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) works hand-in-hand with [GeneratePress](https://generatepress.com?utm_source=wp-repo&utm_medium=link&utm_campaign=generateblocks-readme), but is built to work with any theme.
|
21 |
|
|
|
|
|
22 |
= Container =
|
23 |
|
24 |
Organize your content into rows and sections. The Container block is the foundation of your content, allowing you to design unique sections for your content.
|
@@ -75,6 +77,16 @@ GenerateBlocks was built to work hand-in-hand with [GeneratePress](https://gener
|
|
75 |
|
76 |
== Changelog ==
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
= 1.3.1 =
|
79 |
* Tweak: Apply generateblocks.editor.cssAttrs filter to backgrounds
|
80 |
|
3 |
Donate link: https://generateblocks.com
|
4 |
Tags: blocks, gutenberg, container, headline, grid, columns, page builder, wysiwyg, block editor
|
5 |
Requires at least: 5.4
|
6 |
+
Tested up to: 5.7
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 1.3.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
19 |
|
20 |
[GenerateBlocks](https://generateblocks.com?utm_source=wp-repo&utm_medium=link&utm_campaign=readme) works hand-in-hand with [GeneratePress](https://generatepress.com?utm_source=wp-repo&utm_medium=link&utm_campaign=generateblocks-readme), but is built to work with any theme.
|
21 |
|
22 |
+
Looking for more features? Check out [GenerateBlocks Pro](https://generateblocks.com/pro?utm_source=wp-repo&utm_medium=link&utm_campaign=readme).
|
23 |
+
|
24 |
= Container =
|
25 |
|
26 |
Organize your content into rows and sections. The Container block is the foundation of your content, allowing you to design unique sections for your content.
|
77 |
|
78 |
== Changelog ==
|
79 |
|
80 |
+
= 1.3.2 =
|
81 |
+
* New: Add generateblocks.editor.buttonDisableFormatting filter
|
82 |
+
* Fix: Error when using em unit on a div headline
|
83 |
+
* Fix: Icon button spacing in WP 5.7
|
84 |
+
* Fix: Responsive block borders when no desktop border is set
|
85 |
+
* Tweak: Prevent Global Styles (Pro) from regenerating unique ID
|
86 |
+
* Tweak: Integrate Grid block with Global Styles (Pro)
|
87 |
+
* Tweak: Always inline CSS on AMP pages to avoid needing to fetch
|
88 |
+
* Tweak: Adjust editor grid class name to prevent Sass build error
|
89 |
+
|
90 |
= 1.3.1 =
|
91 |
* Tweak: Apply generateblocks.editor.cssAttrs filter to backgrounds
|
92 |
|
src/blocks/button-container/edit.js
CHANGED
@@ -99,13 +99,16 @@ class GenerateButtonContainer extends Component {
|
|
99 |
componentDidMount() {
|
100 |
const id = this.props.clientId.substr( 2, 9 ).replace( '-', '' );
|
101 |
|
|
|
|
|
|
|
102 |
if ( ! this.props.attributes.uniqueId ) {
|
103 |
this.props.setAttributes( {
|
104 |
uniqueId: id,
|
105 |
} );
|
106 |
|
107 |
gbButtonContainerIds.push( id );
|
108 |
-
} else if ( gbButtonContainerIds.includes( this.props.attributes.uniqueId ) ) {
|
109 |
this.props.setAttributes( {
|
110 |
uniqueId: id,
|
111 |
} );
|
99 |
componentDidMount() {
|
100 |
const id = this.props.clientId.substr( 2, 9 ).replace( '-', '' );
|
101 |
|
102 |
+
// We don't want to ever regenerate unique IDs if they're a global style.
|
103 |
+
const isGlobalStyle = 'undefined' !== typeof this.props.attributes.isGlobalStyle && this.props.attributes.isGlobalStyle;
|
104 |
+
|
105 |
if ( ! this.props.attributes.uniqueId ) {
|
106 |
this.props.setAttributes( {
|
107 |
uniqueId: id,
|
108 |
} );
|
109 |
|
110 |
gbButtonContainerIds.push( id );
|
111 |
+
} else if ( gbButtonContainerIds.includes( this.props.attributes.uniqueId ) && ! isGlobalStyle ) {
|
112 |
this.props.setAttributes( {
|
113 |
uniqueId: id,
|
114 |
} );
|
src/blocks/button/css/main.js
CHANGED
@@ -116,13 +116,13 @@ export default class MainCSS extends Component {
|
|
116 |
'font-size': valueWithUnit( fontSize, fontSizeUnit ),
|
117 |
'letter-spacing': valueWithUnit( letterSpacing, 'em' ),
|
118 |
'margin': shorthandCSS( marginTop, marginRight, marginBottom, marginLeft, marginUnit ), // eslint-disable-line quote-props
|
|
|
119 |
} ];
|
120 |
|
121 |
if ( borderSizeTop || borderSizeRight || borderSizeBottom || borderSizeLeft ) {
|
122 |
cssObj[ '.block-editor-block-list__block ' + selector ].push( {
|
123 |
'border-width': shorthandCSS( borderSizeTop, borderSizeRight, borderSizeBottom, borderSizeLeft, 'px' ),
|
124 |
'border-style': 'solid',
|
125 |
-
'border-color': hexToRGBA( borderColor, borderColorOpacity ),
|
126 |
} );
|
127 |
}
|
128 |
|
116 |
'font-size': valueWithUnit( fontSize, fontSizeUnit ),
|
117 |
'letter-spacing': valueWithUnit( letterSpacing, 'em' ),
|
118 |
'margin': shorthandCSS( marginTop, marginRight, marginBottom, marginLeft, marginUnit ), // eslint-disable-line quote-props
|
119 |
+
'border-color': hexToRGBA( borderColor, borderColorOpacity ),
|
120 |
} ];
|
121 |
|
122 |
if ( borderSizeTop || borderSizeRight || borderSizeBottom || borderSizeLeft ) {
|
123 |
cssObj[ '.block-editor-block-list__block ' + selector ].push( {
|
124 |
'border-width': shorthandCSS( borderSizeTop, borderSizeRight, borderSizeBottom, borderSizeLeft, 'px' ),
|
125 |
'border-style': 'solid',
|
|
|
126 |
} );
|
127 |
}
|
128 |
|
src/blocks/button/edit.js
CHANGED
@@ -88,13 +88,16 @@ class GenerateBlockButton extends Component {
|
|
88 |
componentDidMount() {
|
89 |
const id = this.props.clientId.substr( 2, 9 ).replace( '-', '' );
|
90 |
|
|
|
|
|
|
|
91 |
if ( ! this.props.attributes.uniqueId ) {
|
92 |
this.props.setAttributes( {
|
93 |
uniqueId: id,
|
94 |
} );
|
95 |
|
96 |
gbButtonIds.push( id );
|
97 |
-
} else if ( gbButtonIds.includes( this.props.attributes.uniqueId ) ) {
|
98 |
this.props.setAttributes( {
|
99 |
uniqueId: id,
|
100 |
} );
|
@@ -1052,7 +1055,7 @@ class GenerateBlockButton extends Component {
|
|
1052 |
placeholder={ __( 'Add text…', 'generateblocks' ) }
|
1053 |
value={ text }
|
1054 |
onChange={ ( value ) => setAttributes( { text: value } ) }
|
1055 |
-
allowedFormats={ [ 'core/bold', 'core/italic', 'core/strikethrough' ] }
|
1056 |
isSelected={ isSelected }
|
1057 |
keepPlaceholderOnFocus
|
1058 |
/>
|
@@ -1073,7 +1076,7 @@ class GenerateBlockButton extends Component {
|
|
1073 |
placeholder={ __( 'Add text…', 'generateblocks' ) }
|
1074 |
value={ text }
|
1075 |
onChange={ ( value ) => setAttributes( { text: value } ) }
|
1076 |
-
allowedFormats={ [ 'core/bold', 'core/italic', 'core/strikethrough' ] }
|
1077 |
isSelected={ isSelected }
|
1078 |
keepPlaceholderOnFocus
|
1079 |
/>
|
88 |
componentDidMount() {
|
89 |
const id = this.props.clientId.substr( 2, 9 ).replace( '-', '' );
|
90 |
|
91 |
+
// We don't want to ever regenerate unique IDs if they're a global style.
|
92 |
+
const isGlobalStyle = 'undefined' !== typeof this.props.attributes.isGlobalStyle && this.props.attributes.isGlobalStyle;
|
93 |
+
|
94 |
if ( ! this.props.attributes.uniqueId ) {
|
95 |
this.props.setAttributes( {
|
96 |
uniqueId: id,
|
97 |
} );
|
98 |
|
99 |
gbButtonIds.push( id );
|
100 |
+
} else if ( gbButtonIds.includes( this.props.attributes.uniqueId ) && ! isGlobalStyle ) {
|
101 |
this.props.setAttributes( {
|
102 |
uniqueId: id,
|
103 |
} );
|
1055 |
placeholder={ __( 'Add text…', 'generateblocks' ) }
|
1056 |
value={ text }
|
1057 |
onChange={ ( value ) => setAttributes( { text: value } ) }
|
1058 |
+
allowedFormats={ applyFilters( 'generateblocks.editor.buttonDisableFormatting', false, this.props ) ? [] : [ 'core/bold', 'core/italic', 'core/strikethrough' ] }
|
1059 |
isSelected={ isSelected }
|
1060 |
keepPlaceholderOnFocus
|
1061 |
/>
|
1076 |
placeholder={ __( 'Add text…', 'generateblocks' ) }
|
1077 |
value={ text }
|
1078 |
onChange={ ( value ) => setAttributes( { text: value } ) }
|
1079 |
+
allowedFormats={ applyFilters( 'generateblocks.editor.buttonDisableFormatting', false, this.props ) ? [] : [ 'core/bold', 'core/italic', 'core/strikethrough' ] }
|
1080 |
isSelected={ isSelected }
|
1081 |
keepPlaceholderOnFocus
|
1082 |
/>
|
src/blocks/container/css/main.js
CHANGED
@@ -104,6 +104,7 @@ export default class MainCSS extends Component {
|
|
104 |
'text-transform': textTransform,
|
105 |
'font-size': valueWithUnit( fontSize, fontSizeUnit ),
|
106 |
'min-height': valueWithUnit( minHeight, minHeightUnit ),
|
|
|
107 |
} ];
|
108 |
|
109 |
if ( hasBgImage && 'element' === bgOptions.selector && backgroundImageValue ) {
|
@@ -160,7 +161,6 @@ export default class MainCSS extends Component {
|
|
160 |
cssObj[ '.gb-container-' + uniqueId ].push( {
|
161 |
'border-width': shorthandCSS( borderSizeTop, borderSizeRight, borderSizeBottom, borderSizeLeft, 'px' ),
|
162 |
'border-style': 'solid',
|
163 |
-
'border-color': hexToRGBA( borderColor, borderColorOpacity ),
|
164 |
} );
|
165 |
}
|
166 |
|
104 |
'text-transform': textTransform,
|
105 |
'font-size': valueWithUnit( fontSize, fontSizeUnit ),
|
106 |
'min-height': valueWithUnit( minHeight, minHeightUnit ),
|
107 |
+
'border-color': hexToRGBA( borderColor, borderColorOpacity ),
|
108 |
} ];
|
109 |
|
110 |
if ( hasBgImage && 'element' === bgOptions.selector && backgroundImageValue ) {
|
161 |
cssObj[ '.gb-container-' + uniqueId ].push( {
|
162 |
'border-width': shorthandCSS( borderSizeTop, borderSizeRight, borderSizeBottom, borderSizeLeft, 'px' ),
|
163 |
'border-style': 'solid',
|
|
|
164 |
} );
|
165 |
}
|
166 |
|
src/blocks/container/edit.js
CHANGED
@@ -90,13 +90,16 @@ class GenerateBlockContainer extends Component {
|
|
90 |
componentDidMount() {
|
91 |
const id = this.props.clientId.substr( 2, 9 ).replace( '-', '' );
|
92 |
|
|
|
|
|
|
|
93 |
if ( ! this.props.attributes.uniqueId ) {
|
94 |
this.props.setAttributes( {
|
95 |
uniqueId: id,
|
96 |
} );
|
97 |
|
98 |
gbContainerIds.push( id );
|
99 |
-
} else if ( gbContainerIds.includes( this.props.attributes.uniqueId ) ) {
|
100 |
this.props.setAttributes( {
|
101 |
uniqueId: id,
|
102 |
} );
|
@@ -1591,7 +1594,7 @@ class GenerateBlockContainer extends Component {
|
|
1591 |
className="gblocks-shape-dropdown"
|
1592 |
isSecondary={ isOpen ? undefined : true }
|
1593 |
isPrimary={ isOpen ? true : undefined }
|
1594 |
-
icon={ '
|
1595 |
onClick={ onToggle }
|
1596 |
aria-expanded={ isOpen }
|
1597 |
/>
|
@@ -1954,7 +1957,7 @@ class GenerateBlockContainer extends Component {
|
|
1954 |
handleRemoveShape( index );
|
1955 |
}
|
1956 |
} }
|
1957 |
-
icon={ '
|
1958 |
/>
|
1959 |
</Tooltip>
|
1960 |
}
|
90 |
componentDidMount() {
|
91 |
const id = this.props.clientId.substr( 2, 9 ).replace( '-', '' );
|
92 |
|
93 |
+
// We don't want to ever regenerate unique IDs if they're a global style.
|
94 |
+
const isGlobalStyle = 'undefined' !== typeof this.props.attributes.isGlobalStyle && this.props.attributes.isGlobalStyle;
|
95 |
+
|
96 |
if ( ! this.props.attributes.uniqueId ) {
|
97 |
this.props.setAttributes( {
|
98 |
uniqueId: id,
|
99 |
} );
|
100 |
|
101 |
gbContainerIds.push( id );
|
102 |
+
} else if ( gbContainerIds.includes( this.props.attributes.uniqueId ) && ! isGlobalStyle ) {
|
103 |
this.props.setAttributes( {
|
104 |
uniqueId: id,
|
105 |
} );
|
1594 |
className="gblocks-shape-dropdown"
|
1595 |
isSecondary={ isOpen ? undefined : true }
|
1596 |
isPrimary={ isOpen ? true : undefined }
|
1597 |
+
icon={ getIcon( 'wrench' ) }
|
1598 |
onClick={ onToggle }
|
1599 |
aria-expanded={ isOpen }
|
1600 |
/>
|
1957 |
handleRemoveShape( index );
|
1958 |
}
|
1959 |
} }
|
1960 |
+
icon={ getIcon( 'x' ) }
|
1961 |
/>
|
1962 |
</Tooltip>
|
1963 |
}
|
src/blocks/grid/edit.js
CHANGED
@@ -83,13 +83,16 @@ class GenerateBlockGridContainer extends Component {
|
|
83 |
componentDidMount() {
|
84 |
const id = this.props.clientId.substr( 2, 9 ).replace( '-', '' );
|
85 |
|
|
|
|
|
|
|
86 |
if ( ! this.props.attributes.uniqueId ) {
|
87 |
this.props.setAttributes( {
|
88 |
uniqueId: id,
|
89 |
} );
|
90 |
|
91 |
gbGridIds.push( id );
|
92 |
-
} else if ( gbGridIds.includes( this.props.attributes.uniqueId ) ) {
|
93 |
this.props.setAttributes( {
|
94 |
uniqueId: id,
|
95 |
} );
|
@@ -199,7 +202,7 @@ class GenerateBlockGridContainer extends Component {
|
|
199 |
'50-25-25',
|
200 |
'20-60-20',
|
201 |
'20-20-20-20-20',
|
202 |
-
'16
|
203 |
];
|
204 |
|
205 |
return (
|
@@ -290,10 +293,19 @@ class GenerateBlockGridContainer extends Component {
|
|
290 |
horizontalAlignmentMobile,
|
291 |
} = attributes;
|
292 |
|
293 |
-
const
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
294 |
verticalGapPlaceholderTablet = verticalGap || 0 === verticalGap ? verticalGap : '';
|
295 |
|
296 |
-
let horizontalGapPlaceholderMobile =
|
297 |
verticalGapPlaceholderMobile = verticalGap || 0 === verticalGap ? verticalGap : '';
|
298 |
|
299 |
if ( horizontalGapTablet ) {
|
@@ -370,7 +382,7 @@ class GenerateBlockGridContainer extends Component {
|
|
370 |
<div className="components-base-control components-gblocks-typography-control__inputs">
|
371 |
<TextControl
|
372 |
type={ 'number' }
|
373 |
-
value={
|
374 |
min="0"
|
375 |
onChange={ ( value ) => {
|
376 |
// No hyphens allowed here.
|
@@ -381,12 +393,12 @@ class GenerateBlockGridContainer extends Component {
|
|
381 |
} );
|
382 |
} }
|
383 |
onBlur={ () => {
|
384 |
-
if ( ! horizontalGap && generateBlocksDefaults.gridContainer.horizontalGap ) {
|
385 |
// If we have no value and a default exists, set to 0 to prevent default from coming back.
|
386 |
setAttributes( {
|
387 |
horizontalGap: 0,
|
388 |
} );
|
389 |
-
} else {
|
390 |
setAttributes( {
|
391 |
horizontalGap: parseFloat( horizontalGap ),
|
392 |
} );
|
@@ -435,12 +447,12 @@ class GenerateBlockGridContainer extends Component {
|
|
435 |
} );
|
436 |
} }
|
437 |
onBlur={ () => {
|
438 |
-
if ( ! verticalGap && generateBlocksDefaults.gridContainer.verticalGap ) {
|
439 |
// If we have no value and a default exists, set to 0 to prevent default from coming back.
|
440 |
setAttributes( {
|
441 |
verticalGap: 0,
|
442 |
} );
|
443 |
-
} else {
|
444 |
setAttributes( {
|
445 |
verticalGap: parseFloat( verticalGap ),
|
446 |
} );
|
@@ -527,12 +539,12 @@ class GenerateBlockGridContainer extends Component {
|
|
527 |
} );
|
528 |
} }
|
529 |
onBlur={ () => {
|
530 |
-
if ( ! horizontalGapTablet && generateBlocksDefaults.gridContainer.horizontalGapTablet ) {
|
531 |
// If we have no value and a default exists, set to 0 to prevent default from coming back.
|
532 |
setAttributes( {
|
533 |
horizontalGapTablet: 0,
|
534 |
} );
|
535 |
-
} else {
|
536 |
setAttributes( {
|
537 |
horizontalGapTablet: parseFloat( horizontalGapTablet ),
|
538 |
} );
|
@@ -582,12 +594,12 @@ class GenerateBlockGridContainer extends Component {
|
|
582 |
} );
|
583 |
} }
|
584 |
onBlur={ () => {
|
585 |
-
if ( ! verticalGapTablet && generateBlocksDefaults.gridContainer.verticalGapTablet ) {
|
586 |
// If we have no value and a default exists, set to 0 to prevent default from coming back.
|
587 |
setAttributes( {
|
588 |
verticalGapTablet: 0,
|
589 |
} );
|
590 |
-
} else {
|
591 |
setAttributes( {
|
592 |
verticalGapTablet: parseFloat( verticalGapTablet ),
|
593 |
} );
|
@@ -676,12 +688,12 @@ class GenerateBlockGridContainer extends Component {
|
|
676 |
} );
|
677 |
} }
|
678 |
onBlur={ () => {
|
679 |
-
if ( ! horizontalGapMobile && generateBlocksDefaults.gridContainer.horizontalGapMobile ) {
|
680 |
// If we have no value and a default exists, set to 0 to prevent default from coming back.
|
681 |
setAttributes( {
|
682 |
horizontalGapMobile: 0,
|
683 |
} );
|
684 |
-
} else {
|
685 |
setAttributes( {
|
686 |
horizontalGapMobile: parseFloat( horizontalGapMobile ),
|
687 |
} );
|
@@ -731,12 +743,12 @@ class GenerateBlockGridContainer extends Component {
|
|
731 |
} );
|
732 |
} }
|
733 |
onBlur={ () => {
|
734 |
-
if ( ! verticalGapMobile && generateBlocksDefaults.gridContainer.verticalGapMobile ) {
|
735 |
// If we have no value and a default exists, set to 0 to prevent default from coming back.
|
736 |
setAttributes( {
|
737 |
verticalGapMobile: 0,
|
738 |
} );
|
739 |
-
} else {
|
740 |
setAttributes( {
|
741 |
verticalGapMobile: parseFloat( verticalGapMobile ),
|
742 |
} );
|
83 |
componentDidMount() {
|
84 |
const id = this.props.clientId.substr( 2, 9 ).replace( '-', '' );
|
85 |
|
86 |
+
// We don't want to ever regenerate unique IDs if they're a global style.
|
87 |
+
const isGlobalStyle = 'undefined' !== typeof this.props.attributes.isGlobalStyle && this.props.attributes.isGlobalStyle;
|
88 |
+
|
89 |
if ( ! this.props.attributes.uniqueId ) {
|
90 |
this.props.setAttributes( {
|
91 |
uniqueId: id,
|
92 |
} );
|
93 |
|
94 |
gbGridIds.push( id );
|
95 |
+
} else if ( gbGridIds.includes( this.props.attributes.uniqueId ) && ! isGlobalStyle ) {
|
96 |
this.props.setAttributes( {
|
97 |
uniqueId: id,
|
98 |
} );
|
202 |
'50-25-25',
|
203 |
'20-60-20',
|
204 |
'20-20-20-20-20',
|
205 |
+
'16-16-16-16-16-16',
|
206 |
];
|
207 |
|
208 |
return (
|
293 |
horizontalAlignmentMobile,
|
294 |
} = attributes;
|
295 |
|
296 |
+
const usingGlobalStyle = 'undefined' !== typeof attributes.useGlobalStyle && attributes.useGlobalStyle && 'undefined' !== typeof attributes.globalStyleId && attributes.globalStyleId;
|
297 |
+
let horizontalGapValue = horizontalGap || 0 === horizontalGap ? horizontalGap : '';
|
298 |
+
|
299 |
+
if ( usingGlobalStyle ) {
|
300 |
+
if ( generateBlocksDefaults.gridContainer.horizontalGap === horizontalGapValue ) {
|
301 |
+
horizontalGapValue = '';
|
302 |
+
}
|
303 |
+
}
|
304 |
+
|
305 |
+
const horizontalGapPlaceholderTablet = horizontalGapValue,
|
306 |
verticalGapPlaceholderTablet = verticalGap || 0 === verticalGap ? verticalGap : '';
|
307 |
|
308 |
+
let horizontalGapPlaceholderMobile = horizontalGapValue,
|
309 |
verticalGapPlaceholderMobile = verticalGap || 0 === verticalGap ? verticalGap : '';
|
310 |
|
311 |
if ( horizontalGapTablet ) {
|
382 |
<div className="components-base-control components-gblocks-typography-control__inputs">
|
383 |
<TextControl
|
384 |
type={ 'number' }
|
385 |
+
value={ horizontalGapValue }
|
386 |
min="0"
|
387 |
onChange={ ( value ) => {
|
388 |
// No hyphens allowed here.
|
393 |
} );
|
394 |
} }
|
395 |
onBlur={ () => {
|
396 |
+
if ( ! usingGlobalStyle && ! horizontalGap && generateBlocksDefaults.gridContainer.horizontalGap ) {
|
397 |
// If we have no value and a default exists, set to 0 to prevent default from coming back.
|
398 |
setAttributes( {
|
399 |
horizontalGap: 0,
|
400 |
} );
|
401 |
+
} else if ( '' !== horizontalGap ) {
|
402 |
setAttributes( {
|
403 |
horizontalGap: parseFloat( horizontalGap ),
|
404 |
} );
|
447 |
} );
|
448 |
} }
|
449 |
onBlur={ () => {
|
450 |
+
if ( ! usingGlobalStyle && ! verticalGap && generateBlocksDefaults.gridContainer.verticalGap ) {
|
451 |
// If we have no value and a default exists, set to 0 to prevent default from coming back.
|
452 |
setAttributes( {
|
453 |
verticalGap: 0,
|
454 |
} );
|
455 |
+
} else if ( '' !== verticalGap ) {
|
456 |
setAttributes( {
|
457 |
verticalGap: parseFloat( verticalGap ),
|
458 |
} );
|
539 |
} );
|
540 |
} }
|
541 |
onBlur={ () => {
|
542 |
+
if ( ! usingGlobalStyle && ! horizontalGapTablet && generateBlocksDefaults.gridContainer.horizontalGapTablet ) {
|
543 |
// If we have no value and a default exists, set to 0 to prevent default from coming back.
|
544 |
setAttributes( {
|
545 |
horizontalGapTablet: 0,
|
546 |
} );
|
547 |
+
} else if ( '' !== horizontalGapTablet ) {
|
548 |
setAttributes( {
|
549 |
horizontalGapTablet: parseFloat( horizontalGapTablet ),
|
550 |
} );
|
594 |
} );
|
595 |
} }
|
596 |
onBlur={ () => {
|
597 |
+
if ( ! usingGlobalStyle && ! verticalGapTablet && generateBlocksDefaults.gridContainer.verticalGapTablet ) {
|
598 |
// If we have no value and a default exists, set to 0 to prevent default from coming back.
|
599 |
setAttributes( {
|
600 |
verticalGapTablet: 0,
|
601 |
} );
|
602 |
+
} else if ( '' !== verticalGapTablet ) {
|
603 |
setAttributes( {
|
604 |
verticalGapTablet: parseFloat( verticalGapTablet ),
|
605 |
} );
|
688 |
} );
|
689 |
} }
|
690 |
onBlur={ () => {
|
691 |
+
if ( ! usingGlobalStyle && ! horizontalGapMobile && generateBlocksDefaults.gridContainer.horizontalGapMobile ) {
|
692 |
// If we have no value and a default exists, set to 0 to prevent default from coming back.
|
693 |
setAttributes( {
|
694 |
horizontalGapMobile: 0,
|
695 |
} );
|
696 |
+
} else if ( '' !== horizontalGapMobile ) {
|
697 |
setAttributes( {
|
698 |
horizontalGapMobile: parseFloat( horizontalGapMobile ),
|
699 |
} );
|
743 |
} );
|
744 |
} }
|
745 |
onBlur={ () => {
|
746 |
+
if ( ! usingGlobalStyle && ! verticalGapMobile && generateBlocksDefaults.gridContainer.verticalGapMobile ) {
|
747 |
// If we have no value and a default exists, set to 0 to prevent default from coming back.
|
748 |
setAttributes( {
|
749 |
verticalGapMobile: 0,
|
750 |
} );
|
751 |
+
} else if ( '' !== verticalGapMobile ) {
|
752 |
setAttributes( {
|
753 |
verticalGapMobile: parseFloat( verticalGapMobile ),
|
754 |
} );
|
src/blocks/grid/editor.scss
CHANGED
@@ -164,7 +164,7 @@
|
|
164 |
flex-basis: 20%;
|
165 |
}
|
166 |
|
167 |
-
.gb-col.gb-col-16
|
168 |
flex-basis: 16.6%;
|
169 |
}
|
170 |
|
164 |
flex-basis: 20%;
|
165 |
}
|
166 |
|
167 |
+
.gb-col.gb-col-16 {
|
168 |
flex-basis: 16.6%;
|
169 |
}
|
170 |
|
src/blocks/headline/css/main.js
CHANGED
@@ -119,13 +119,13 @@ export default class MainCSS extends Component {
|
|
119 |
'margin-left': valueWithUnit( marginLeft, marginUnit ),
|
120 |
'padding': shorthandCSS( paddingTop, paddingRight, paddingBottom, paddingLeft, paddingUnit ), // eslint-disable-line quote-props
|
121 |
'border-radius': shorthandCSS( borderRadiusTopLeft, borderRadiusTopRight, borderRadiusBottomRight, borderRadiusBottomLeft, borderRadiusUnit ),
|
|
|
122 |
} );
|
123 |
|
124 |
if ( borderSizeTop || borderSizeRight || borderSizeBottom || borderSizeLeft ) {
|
125 |
cssObj[ '.editor-styles-wrapper ' + selector ].push( {
|
126 |
'border-width': shorthandCSS( borderSizeTop, borderSizeRight, borderSizeBottom, borderSizeLeft, 'px' ),
|
127 |
'border-style': 'solid',
|
128 |
-
'border-color': hexToRGBA( borderColor, borderColorOpacity ),
|
129 |
} );
|
130 |
}
|
131 |
|
119 |
'margin-left': valueWithUnit( marginLeft, marginUnit ),
|
120 |
'padding': shorthandCSS( paddingTop, paddingRight, paddingBottom, paddingLeft, paddingUnit ), // eslint-disable-line quote-props
|
121 |
'border-radius': shorthandCSS( borderRadiusTopLeft, borderRadiusTopRight, borderRadiusBottomRight, borderRadiusBottomLeft, borderRadiusUnit ),
|
122 |
+
'border-color': hexToRGBA( borderColor, borderColorOpacity ),
|
123 |
} );
|
124 |
|
125 |
if ( borderSizeTop || borderSizeRight || borderSizeBottom || borderSizeLeft ) {
|
126 |
cssObj[ '.editor-styles-wrapper ' + selector ].push( {
|
127 |
'border-width': shorthandCSS( borderSizeTop, borderSizeRight, borderSizeBottom, borderSizeLeft, 'px' ),
|
128 |
'border-style': 'solid',
|
|
|
129 |
} );
|
130 |
}
|
131 |
|
src/blocks/headline/edit.js
CHANGED
@@ -86,13 +86,16 @@ class GenerateBlockHeadline extends Component {
|
|
86 |
componentDidMount() {
|
87 |
const id = this.props.clientId.substr( 2, 9 ).replace( '-', '' );
|
88 |
|
|
|
|
|
|
|
89 |
if ( ! this.props.attributes.uniqueId ) {
|
90 |
this.props.setAttributes( {
|
91 |
uniqueId: id,
|
92 |
} );
|
93 |
|
94 |
gbHeadlineIds.push( id );
|
95 |
-
} else if ( gbHeadlineIds.includes( this.props.attributes.uniqueId ) ) {
|
96 |
this.props.setAttributes( {
|
97 |
uniqueId: id,
|
98 |
} );
|
86 |
componentDidMount() {
|
87 |
const id = this.props.clientId.substr( 2, 9 ).replace( '-', '' );
|
88 |
|
89 |
+
// We don't want to ever regenerate unique IDs if they're a global style.
|
90 |
+
const isGlobalStyle = 'undefined' !== typeof this.props.attributes.isGlobalStyle && this.props.attributes.isGlobalStyle;
|
91 |
+
|
92 |
if ( ! this.props.attributes.uniqueId ) {
|
93 |
this.props.setAttributes( {
|
94 |
uniqueId: id,
|
95 |
} );
|
96 |
|
97 |
gbHeadlineIds.push( id );
|
98 |
+
} else if ( gbHeadlineIds.includes( this.props.attributes.uniqueId ) && ! isGlobalStyle ) {
|
99 |
this.props.setAttributes( {
|
100 |
uniqueId: id,
|
101 |
} );
|
src/components/dimensions/index.js
CHANGED
@@ -193,8 +193,8 @@ class DimensionsControl extends Component {
|
|
193 |
if ( headlineId ) {
|
194 |
bottomPlaceholder = parseFloat( window.getComputedStyle( headlineId ).marginBottom );
|
195 |
}
|
196 |
-
} else if ( 'em' === this.props.attributes.marginUnit && typeof generateBlocksStyling.headline
|
197 |
-
if ( typeof generateBlocksStyling.headline[ attributes.element ]
|
198 |
if ( generateBlocksStyling.headline[ attributes.element ].marginUnit === attributes.marginUnit ) {
|
199 |
bottomPlaceholder = generateBlocksStyling.headline[ attributes.element ].marginBottom;
|
200 |
}
|
193 |
if ( headlineId ) {
|
194 |
bottomPlaceholder = parseFloat( window.getComputedStyle( headlineId ).marginBottom );
|
195 |
}
|
196 |
+
} else if ( 'em' === this.props.attributes.marginUnit && 'undefined' !== typeof generateBlocksStyling.headline ) {
|
197 |
+
if ( 'undefined' !== typeof generateBlocksStyling.headline[ attributes.element ] && 'undefined' !== typeof generateBlocksStyling.headline[ attributes.element ].marginBottom ) {
|
198 |
if ( generateBlocksStyling.headline[ attributes.element ].marginUnit === attributes.marginUnit ) {
|
199 |
bottomPlaceholder = generateBlocksStyling.headline[ attributes.element ].marginBottom;
|
200 |
}
|
src/components/url-input/index.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import classnames from 'classnames';
|
|
|
2 |
|
3 |
// Import CSS
|
4 |
import './editor.scss';
|
@@ -85,7 +86,7 @@ export default class ButtonURLInput extends Component {
|
|
85 |
autoFocus={ autoFocus } // eslint-disable-line jsx-a11y/no-autofocus
|
86 |
/>
|
87 |
<Button
|
88 |
-
icon={ 'ellipsis' }
|
89 |
label={ moreOptions ? __( 'Hide More Options', 'generateblocks' ) : __( 'Show More Options', 'generateblocks' ) }
|
90 |
onClick={ () => {
|
91 |
this.setState( {
|
1 |
import classnames from 'classnames';
|
2 |
+
import getIcon from '../../utils/get-icon';
|
3 |
|
4 |
// Import CSS
|
5 |
import './editor.scss';
|
86 |
autoFocus={ autoFocus } // eslint-disable-line jsx-a11y/no-autofocus
|
87 |
/>
|
88 |
<Button
|
89 |
+
icon={ getIcon( 'ellipsis' ) }
|
90 |
label={ moreOptions ? __( 'Hide More Options', 'generateblocks' ) : __( 'Show More Options', 'generateblocks' ) }
|
91 |
onClick={ () => {
|
92 |
this.setState( {
|
src/utils/get-icon/index.js
CHANGED
@@ -212,4 +212,16 @@ export default function getIcon( icon ) {
|
|
212 |
} ),
|
213 |
);
|
214 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
}
|
212 |
} ),
|
213 |
);
|
214 |
}
|
215 |
+
|
216 |
+
if ( 'wrench' === icon ) {
|
217 |
+
return <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><rect x="0" fill="none" width="20" height="20" /><g><path d="M16.68 9.77c-1.34 1.34-3.3 1.67-4.95.99l-5.41 6.52c-.99.99-2.59.99-3.58 0s-.99-2.59 0-3.57l6.52-5.42c-.68-1.65-.35-3.61.99-4.95 1.28-1.28 3.12-1.62 4.72-1.06l-2.89 2.89 2.82 2.82 2.86-2.87c.53 1.58.18 3.39-1.08 4.65zM3.81 16.21c.4.39 1.04.39 1.43 0 .4-.4.4-1.04 0-1.43-.39-.4-1.03-.4-1.43 0-.39.39-.39 1.03 0 1.43z" /></g></svg>;
|
218 |
+
}
|
219 |
+
|
220 |
+
if ( 'x' === icon ) {
|
221 |
+
return <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><rect x="0" fill="none" width="20" height="20" /><g><path d="M14.95 6.46L11.41 10l3.54 3.54-1.41 1.41L10 11.42l-3.53 3.53-1.42-1.42L8.58 10 5.05 6.47l1.42-1.42L10 8.58l3.54-3.53z" /></g></svg>;
|
222 |
+
}
|
223 |
+
|
224 |
+
if ( 'ellipsis' === icon ) {
|
225 |
+
return <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><rect x="0" fill="none" width="20" height="20" /><g><path d="M5 10c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm12-2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-7 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" /></g></svg>;
|
226 |
+
}
|
227 |
}
|