Stackable – Page Builder Gutenberg Blocks - Version 2.3.1

Version Description

  • Fixed: Button text hover color styling issue
Download this release

Release Info

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

Code changes from version 2.3.0 to 2.3.1

Files changed (2) hide show
  1. dist/editor_blocks.css +1 -1
  2. dist/editor_blocks.js +0 -1
dist/editor_blocks.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";.wp-admin .wp-block [class*=ugb-],.wp-admin .wp-block [class*=ugb-] *{transition:color .2s ease-in-out,opacity .2s ease-in-out,background-color .2s ease-in-out,height .2s ease-in-out,width .2s ease-in-out,transform .2s ease-in-out,padding .2s ease-in-out,border-radius .2s ease-in-out,fill .2s ease-in-out,top .2s ease-in-out,left .2s ease-in-out}svg.ugb-stackable-icon-gradient{fill:url(#stackable-gradient)!important}[data-type^="ugb/"]>.editor-block-list__block-edit,[data-type^="ugb/"]>.editor-block-list__block-edit>[data-block]{margin-top:0!important;margin-bottom:0!important}[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-main-block,[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>div>.ugb-main-block{margin-top:35px;margin-bottom:35px;padding:0 35px}.editor-styles-wrapper [data-type^="ugb/"] h1,.editor-styles-wrapper [data-type^="ugb/"] h2,.editor-styles-wrapper [data-type^="ugb/"] h3,.editor-styles-wrapper [data-type^="ugb/"] h4,.editor-styles-wrapper [data-type^="ugb/"] h5,.editor-styles-wrapper [data-type^="ugb/"] h6,.editor-styles-wrapper [data-type^="ugb/"] p{margin-top:0;margin-bottom:0}.ugb--has-panel-tabs .ugb-panel-tabs~.editorskit-panel{display:none}[class*=ugb--help-tip-].components-base-control .components-base-control__label,[class*=ugb--help-tip-].components-base-control .components-toggle-control__label{cursor:help;border-bottom:1px solid transparent}[class*=ugb--help-tip-].components-base-control .components-base-control__label:hover,[class*=ugb--help-tip-].components-base-control .components-toggle-control__label:hover{border-color:#8c33da;color:#8c33da;border-bottom-style:solid!important}.components-base-control[class*=ugb--help-tip-]:hover .components-base-control__label,.components-base-control[class*=ugb--help-tip-]:hover .components-toggle-control__label{border-color:#a683c5;border-bottom-style:dashed}[class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle{cursor:pointer}[class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle:after{content:"\f223";margin-left:10px;font-family:dashicons;font-size:20px;line-height:16px;text-shadow:0 0 1px #000;color:#fafafa}[class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle:hover{color:#8c33da!important}[class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle:hover:after{cursor:help;color:#b266f4;text-shadow:none}.ugb-help-tooltip-video{margin-left:-30px!important}.ugb-help-tooltip-video .components-popover__content{min-width:220px!important;width:220px!important}.ugb-help-tooltip-video .components-panel__body{padding:0 16px 16px}.ugb-help-tooltip-video video{width:100%;height:auto;position:relative;z-index:2;margin:0 -16px 8px;min-width:calc(100% + 32px);min-height:163.5px}.ugb-help-tooltip-video .ugb-help-tooltip-video__link{margin-top:5px;text-align:right;cursor:pointer}.ugb-help-tooltip-video .ugb-help-tooltip-video__link svg{vertical-align:bottom}.ugb-help-tooltip-video .components-spinner{position:absolute;left:calc(50% - 9px);text-align:center;top:82px;margin:0;z-index:1}.ugb-help-tooltip-video .ugb-help-tooltip-video__remove{background:none!important;border:none;position:absolute;top:10px;right:4px;cursor:pointer;z-index:9!important}.ugb-help-tooltip-video .ugb-help-tooltip-video__remove svg{max-width:none;stroke:rgba(0,0,0,.3);stroke-width:1px;fill:#fff}.ugb-help-tooltip-video .ugb-help-tooltip-video__remove:hover{color:#444}.ugb-help-tooltip-video h4{margin:0 0 8px;font-size:1em}[data-type="ugb/accordion"] .ugb-accordion__heading{outline:none}[data-type="ugb/accordion"] .ugb-accordion__heading svg{transform:rotate(180deg)!important}[data-type="ugb/accordion"] .ugb-accordion__heading>:first-child{flex:1}[data-type="ugb/accordion"] .ugb-accordion:not(.ugb-accordion--open) .ugb-accordion__content{display:none}[data-type="ugb/accordion"] .ugb-accordion:not(.ugb-accordion--open) .ugb-accordion__heading svg{transform:rotate(0deg)!important}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__content .ugb-accordion__content-inner{padding-top:0}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__content{overflow:visible}#editor .ugb-accordion.ugb-accordion--v2.ugb-accordion--design-plain .ugb-accordion__content .ugb-accordion__content-inner{padding-bottom:0}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__heading{z-index:0}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__item.ugb--has-background-overlay .ugb-video-background,#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__item.ugb--has-background-overlay:before{z-index:-1!important}.ugb-accordion__heading>div:empty{display:none}.ugb-blockquote{margin-left:0;margin-right:0}.ugb-blockquote__inspector__icon{flex-wrap:wrap}.ugb-blog-post__inspector-spinner>*{margin:0 auto 16px;display:block;float:none}.ugb-blog-posts__item:after{pointer-events:none}[data-type][data-align=full] .ugb-cta.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background,[data-type][data-align=full] .ugb-cta.ugb-main-block:not(.ugb--has-block-background){padding:0}[data-type][data-align=full] .ugb-cta.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background .ugb-cta__item,[data-type][data-align=full] .ugb-cta.ugb-main-block:not(.ugb--has-block-background) .ugb-cta__item{border-radius:0}[data-type="ugb/container"].has-child-selected>.editor-block-list__block-edit>[data-block]>.ugb-container>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper>.ugb-container__content-wrapper>.editor-inner-blocks>.editor-block-list__layout>.wp-block>.editor-block-list__block-edit:before,[data-type="ugb/container"].is-selected>.editor-block-list__block-edit>[data-block]>.ugb-container>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper>.ugb-container__content-wrapper>.editor-inner-blocks>.editor-block-list__layout>.wp-block>.editor-block-list__block-edit:before{border:1px dashed rgba(123,134,162,.3)}[data-type="ugb/container"].has-child-selected .is-selected>.editor-block-list__block-edit:before,[data-type="ugb/container"].is-selected .is-selected>.editor-block-list__block-edit:before{border:1px solid rgba(66,88,99,.4)}[data-align=full] .ugb-container:not(.ugb-container--design-plain):not(.ugb--has-block-background){padding-left:0!important;padding-right:0!important}[data-align=full] .ugb-container:not(.ugb-container--design-plain):not(.ugb--has-block-background)>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper{border-radius:0!important}[data-type="ugb/container"][data-align=center]{text-align:inherit}.ugb-container .editor-block-list__block{max-width:none!important}.ugb-container__content-wrapper>.editor-inner-blocks>.editor-block-list__layout>.editor-block-list__block:first-child>.editor-block-list__block-edit{margin-top:0!important}.ugb-container__content-wrapper>.editor-inner-blocks>.editor-block-list__layout>:empty:last-child{margin-bottom:-32px!important}.ugb-container .wp-block-columns .editor-inner-blocks{width:100%}.ugb-container>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper{overflow:visible!important}.ugb-container>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper>.ugb-video-background{overflow:hidden}.ugb-container>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper:before{transition:border-radius .2s ease-in-out}[data-align=full] .ugb-countup{border-radius:0!important;margin-top:0;margin-bottom:0}.ugb-design-library-block .components-placeholder__label svg{margin-right:8px}.ugb-design-library-block button.components-button{font-size:15px;height:auto;padding:6px 18px}.ugb-insert-library-button svg{width:20px;height:20px}.ugb-insert-library-button{margin-left:10px;margin-right:10px}.ugb-expand__label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;border:none;box-shadow:none;white-space:nowrap;display:block}.ugb-expand__label:first-child{padding-top:0}.ugb-expand .ugb-expand__less-text p,.ugb-expand .ugb-expand__more-text p{font-size:inherit!important;color:inherit!important}.ugb-expand .ugb-block-content>a{display:inline-block}.ugb-feature.ugb-feature--design-basic .ugb-feature__image.ugb-image-upload-placeholder.ugb-image-upload-has-placeholder,.ugb-feature.ugb-feature--design-plain .ugb-feature__image.ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:250px}.ugb-feature-grid .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:100px;width:100px;margin:0 auto;border-radius:100%}[data-type][data-align=full] .ugb-header.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background,[data-type][data-align=full] .ugb-header.ugb-main-block:not(.ugb--has-block-background){padding:0}[data-type][data-align=full] .ugb-header.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background .ugb-header__item,[data-type][data-align=full] .ugb-header.ugb-main-block:not(.ugb--has-block-background) .ugb-header__item{border-radius:0}.ugb-icon-list ul{list-style:none!important}#editor .ugb-icon-list.ugb-icon-list li:last-child{margin-bottom:0!important}.editor-block-list__block[data-type="ugb/icon-list"] .list-format-toolbar{display:none}.ugb-image-box__image:hover{opacity:1!important}.ugb-image-box__arrow{pointer-events:all!important}[data-type="ugb/notification"] .ugb-notification.ugb-notification--dismissible{display:flex!important}[data-type="ugb/notification"] .ugb-notification__item>:last-child,[data-type="ugb/notification"] .ugb-notification__item>:last-child [role=textbox]{margin-bottom:0}[data-type="ugb/notification"] .ugb-svg-icon-placeholder__button{display:block;width:100%}.ugb-number-box .ugb-number-box__number[data-is-placeholder-visible=true]{transition:none;height:2.5em;width:2.5em;left:calc(50% - 1.25em)}.ugb-number-box .ugb-number-box__item>.editor-rich-text{z-index:3!important}.ugb-number-box .ugb-number-box__item>.ugb-number-box__content{z-index:4!important}.ugb-pricing-box__price-line>:first-child{align-self:flex-start}.ugb-pricing-box__price-line>:last-child{align-self:flex-end}[data-type="ugb/separator"]{z-index:30!important}[data-type="ugb/separator"]~.block-editor-block-list__block.is-selected{z-index:31}[data-type="ugb/separator"][data-align=full] .ugb-separator .ugb-separator__svg-inner{overflow:hidden}[data-type="ugb/separator"][data-align=full] .ugb-separator .ugb-separator__svg-wrapper{overflow:visible}.ugb-team-member-setting__social,.ugb-team-member-setting__social .components-base-control__field{margin-bottom:8px!important}.ugb-team-member__image .ugb-image-upload-has-placeholder{border-radius:100%;height:0;padding-bottom:100%}.ugb-team-member__image .ugb-image-upload-has-placeholder svg{top:50%;position:absolute;transform:translateY(-50%)}.ugb-testimonial__image .ugb-image-upload-has-placeholder{border-radius:100%;height:0;padding-bottom:100%}.ugb-testimonial__image .ugb-image-upload-has-placeholder svg{top:50%;position:absolute;transform:translateY(-50%)}#editor [data-type="ugb/video-popup"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-video-popup.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background .ugb-video-popup__wrapper,#editor [data-type="ugb/video-popup"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-video-popup.ugb-main-block:not(.ugb--has-block-background) .ugb-video-popup__wrapper{border-radius:0;margin-left:-35px;margin-right:-35px;width:calc(100% + 70px)}.ugb-advanced-autosuggest-control{margin-bottom:16px}.ugb-advanced-autosuggest-control__select>*{position:relative}.ugb-advanced-autosuggest-control__select input{width:100%}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-container{position:absolute;top:100%;max-height:272px;overflow-y:auto;z-index:2;background:#fff;width:100%;margin-top:5px;border-radius:6px}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-container:not(:empty){box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2),0 5px 30px -10px rgba(18,63,82,.3)}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-list,.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-list li{margin:0}.ugb-advanced-autosuggest-control__select .react-autosuggest__section-container:not(.react-autosuggest__section-container--first){border-top:1px solid #ddd}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestion{background:#fff;padding:8px 16px;cursor:pointer}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestion--highlighted{background:#f1f1f1}.ugb--autosuggest-empty{font-style:italic;font-size:.9em;color:#999}.ugb--autosuggest-group{background:#fff;padding:14px 16px 8px;font-weight:700;color:#aaa}.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--full-width>div,.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--full-width>div>button,.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--full-width>div>button>svg{width:100%!important}.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--multiline{flex-wrap:wrap;justify-content:flex-start;align-items:flex-start}.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--multiline>div,.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--multiline>div>button,.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--multiline>div>button>svg{width:auto!important;margin:0}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control{justify-content:center}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control svg{height:100%}.ugb-advanced-toolbar-control__text-button{height:30px;width:100%;justify-content:center;align-items:center;display:flex;border-radius:4px;padding:3px}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control.has-text{padding:3px}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control.has-text:hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control.is-active .ugb-advanced-toolbar-control__text-button{outline:none;color:#fff;box-shadow:none;background:#555d66}.ugb-base-control-multi-label{display:grid;grid-template-columns:auto 1fr auto;margin-bottom:5px}.ugb-base-control-multi-label .ugb-base-control-multi-label__label{margin-bottom:0}.ugb-base-control-multi-label__units{top:0;right:0;display:flex}.ugb-base-control-multi-label__units button{border:0;font-size:10px;margin:0;font-weight:400;outline:none;color:#aaa;padding:0 4px;background:transparent;cursor:pointer;text-transform:uppercase}.ugb-base-control-multi-label__units button:hover{color:#333}.ugb-base-control-multi-label__units button.is-active{color:#333;text-decoration:underline}.ugb-modal-get-block-attributes-button textarea{width:50vw;height:60vh;font-family:monospace}.ugb-button .editor-rich-text__editable.mce-content-body{box-shadow:none}.ugb-button.ugb-button--icon-only .ugb-svg-icon-placeholder__button{display:block}.ugb-button-icon-control .components-popover__content{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2),0 5px 30px -10px rgba(18,63,82,.3)}.ugb-button-icon-control .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.ugb-button-icon-control button{display:flex}.components-popover.ugb-button-icon-control__popover{z-index:100000}.ugb-button-icon-control__popover .components-panel__body-title{padding:15px!important;background:transparent!important}.ugb-button-icon-control__wrapper{display:flex;align-items:center}.ugb-button-icon-control__wrapper .ugb-button-icon-control__reset{padding:6px;margin:0 6px}.ugb-button-icon-control__wrapper .ugb-button-icon-control__reset svg{width:14px;height:14px}.ugb-button-icon-control__wrapper .ugb-button-icon-control__edit{padding:0 6px}.ugb-button-icon-control__wrapper .ugb-button-icon-control__edit svg{width:18px;height:18px;margin:0}.ugb-button-icon-control .components-toggle-control,.ugb-button-icon-control .components-toggle-control .components-base-control__field,.ugb-button-icon-control .components-toggle-control .components-toggle-control__label{margin-bottom:0!important}.ugb-code-textarea+.CodeMirror{height:500px;margin-left:-16px;margin-right:-16px;border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin-bottom:16px}.ugb-control-separator{height:1px!important;background:#ddd!important;margin:24px -16px!important;border:0!important;padding:0!important;width:calc(100% + 32px)!important;box-shadow:none!important}.components-panel__body-title+.ugb-control-separator{margin-top:0!important}.ugb-design-control{max-height:450px}.ugb-design-control input{opacity:0;height:0;width:0;margin:0;padding:0;position:fixed;top:0}.ugb-design-control .components-radio-control__option{display:inline-block;width:50%;text-align:center}.ugb-design-control label>span{padding:5px;display:block;border-radius:8px}.ugb-design-control label>span>img{border-radius:4px}.ugb-design-control input:checked+label>span{box-shadow:inset 0 0 0 2px #888}.ugb-design-control input:not(:checked)+label>span:hover{box-shadow:inset 0 0 0 2px #f1f1f1}.ugb-design-control .design-label svg{height:12px;margin:0 0 0 5px;fill:#ffad00}.ugb-design-library-control__open-library{margin:0 0 8px auto!important;display:block}.ugb-design-library-control__open-library__toolbar{font-size:11px;display:flex;justify-content:space-between;padding:0 8px}.ugb-design-library-items{page-break-inside:avoid;break-inside:avoid;column-count:1;column-gap:38px}.ugb-design-library-items.ugb-design-library-items--columns-2{column-count:2}.ugb-design-library-items.ugb-design-library-items--columns-3{column-count:3}.ugb-design-library-items.ugb-design-library-items--columns-4{column-count:4}.ugb-design-library-items .components-base-control__help{text-align:center;font-style:italic}.ugb-design-library-items .ugb-design-library-search__spinner{display:flex}.ugb-design-library-items .ugb-design-library-search__spinner .components-spinner{margin:0 auto}.ugb-modal-design-library__wrapper{overflow:hidden}.ugb-modal-design-library__designs{overflow:auto}.ugb-design-library-item{border-radius:4px;box-shadow:0 2px 15px hsla(0,0%,60%,.3);overflow:hidden;transition:all .3s ease-in-out;position:relative;margin-bottom:38px;display:block;transform:translateZ(0);break-inside:avoid;width:100%;will-change:transform}.ugb-design-library-item:hover{transform:translateY(-4px) scale(1.03);box-shadow:0 6px 25px hsla(0,0%,60%,.3)}.ugb-design-library-item img{display:block;pointer-events:none;width:100%;height:auto;min-height:100px;background:#f1f1f1}.ugb-design-library-item footer{padding:8px 12px;font-size:11px;line-height:18px;display:flex;justify-content:space-between}.ugb-design-library-item.ugb--is-busy .ugb-design-library-item__spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) translateY(-10px)}.ugb-design-library-item.ugb--is-busy .components-spinner{margin:0}.ugb-design-library-item.ugb--is-busy img{opacity:.15}.ugb-design-library-item .ugb-design-library-item__image svg{position:absolute;top:50%;left:50%;transform:translate(-50%,-40%);opacity:0;fill:#000;height:35px;width:35px}.ugb-design-library-item .ugb-design-library-item__image img,.ugb-design-library-item .ugb-design-library-item__image svg{transition:all .3s ease-in-out}.ugb-design-library-item[class*=ugb--is-premium]:hover .ugb-design-library-item__image img{opacity:.4;filter:blur(3px)}.ugb-design-library-item[class*=ugb--is-premium]:hover .ugb-design-library-item__image svg{transform:translate(-50%,-50%);opacity:1}.ugb-design-library-item__image{padding:0!important;border:0!important;text-align:start!important;width:100%!important;margin:0!important;outline:none!important;cursor:pointer;display:block}.ugb-design-library-item__premium{position:absolute;z-index:1;background:#f34957;font-size:10px;color:#fff;line-height:18px;padding:0 6px;border-radius:2px;top:5px;right:5px;text-transform:uppercase}.ugb-design-library-item__premium-link{cursor:pointer;display:flex}.ugb-design-library-item__premium-link svg{height:15px;margin-right:5px}.ugb-design-library-item__favorite{border:0;padding:0;cursor:pointer;outline:none;transition:all .3 ease-in-out}.ugb-design-library-item__favorite svg{fill:#bbb;height:14px;width:14px}.ugb-design-library-item__favorite.ugb--is-favorite:hover svg,.ugb-design-library-item__favorite.ugb--is-favorite svg,.ugb-design-library-item__favorite:hover svg{fill:#d30c5c}.ugb-design-control{max-height:40vh;overflow-y:auto;padding:0 16px}.ugb-design-control .components-base-control__label{margin-left:-16px;margin-right:-16px;margin-bottom:8px}.ugb-design-panel-item{position:relative}.ugb-design-panel-item__hover-image{position:absolute;top:5px;left:5px;right:5px;width:calc(100% - 10px);opacity:0;transition:opacity .4s ease-in-out}.ugb-design-panel-item:hover .ugb-design-panel-item__hover-image{opacity:1}#editor .ugb--has-background-overlay.ugb--has-background-overlay .ugb-video-background,#editor .ugb--has-background-overlay.ugb--has-background-overlay:before{pointer-events:none}.ugb-four-number-control__wrapper{display:grid;grid-gap:4px;grid-template-columns:1fr 1fr 1fr 1fr -webkit-min-content;grid-template-columns:1fr 1fr 1fr 1fr min-content;align-items:flex-start}.ugb-four-number-control__wrapper button{padding:6px!important}.ugb-four-number-control__wrapper button.ugb--is-locked,.ugb-four-number-control__wrapper button.ugb--is-locked:hover{background:#aaa!important;color:#fff!important}.ugb-four-number-control__label{display:flex;flex-direction:column;justify-content:center;align-items:center}.ugb-four-number-control__label span{font-size:9px;opacity:.8}.ugb-four-number-control__label input{margin:0;width:100%;padding-left:0!important;padding-right:0!important;text-align:center}.ugb-four-number-control__label input[disabled]{background:#e5e4e8;cursor:not-allowed}.ugb-four-range-control__range{display:flex;align-items:center;margin-bottom:8px}.ugb-four-range-control__range .ugb-four-range-control__icon{height:20px;width:20px;flex-shrink:0;margin-right:10px}.ugb-four-range-control__range .components-base-control.components-range-control,.ugb-four-range-control__range .components-base-control__field{margin-bottom:0!important}.ugb-four-range-control__range .components-range-control{flex:1}.ugb-four-range-control .ugb-four-range-control__lock{color:#555d66;box-shadow:none!important;margin-left:5px}.ugb-icon-control .ugb-icon-control__icon-button{height:auto;padding:8px;margin-right:auto}.ugb-icon-control .ugb-icon-control__icon-button svg{width:30px;height:30px}.ugb-icon-control .ugb-icon-control__wrapper{display:flex;justify-content:space-between}.ugb-icon-popover__iconlist{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;align-items:flex-start;margin-top:5px;height:250px;overflow:auto}.ugb-icon-popover__iconlist button{background:none;padding:5px;height:auto;border-color:transparent;box-shadow:none}.ugb-icon-popover__iconlist svg{width:30px!important;height:30px;margin:0;box-sizing:content-box;border-radius:4px}.ugb-icon-popover__iconlist .components-base-control__help{font-style:italic}.ugb-icon-popover__label-container{display:flex;align-items:center;margin-bottom:8px}.ugb-icon-popover__label-container .components-base-control__field{margin-bottom:0}.ugb-icon-popover__label-container .ugb-icon-popover__input{flex:1}.ugb-icon-popover__label-container .components-range-control__reset{margin-left:8px}.ugb-image-control .ugb-placeholder{height:150px;display:flex;justify-content:center;align-items:center;background:#f1f1f1;margin-bottom:12px;margin-top:.6rem}.ugb-image-control .ugb-placeholder svg{height:50px;fill:#ddd}.ugb-image-control .ugb-image-preview,.ugb-image-control .ugb-placeholder{border-radius:4px;cursor:pointer;transition:all .3s ease-in-out}.ugb-image-control .ugb-image-preview:hover,.ugb-image-control .ugb-placeholder:hover{background:#fafafa}.ugb-image-control .ugb-image-preview:focus,.ugb-image-control .ugb-placeholder:focus{background:#fafafa;box-shadow:0 0 0 2px rgba(30,140,190,.8)}.ugb-image-control .ugb-image-preview-wrapper{position:relative;z-index:1;display:flex;justify-content:center;align-items:center;background:#f1f1f1;margin-top:.6rem;border-radius:4px}.ugb-image-control .ugb-image-preview-wrapper svg{stroke:rgba(0,0,0,.3);stroke-width:1px;fill:#fff}.ugb-image-control .ugb-image-preview{min-width:100px;flex:1 1 100px;margin:0;position:relative;z-index:2;-o-object-fit:contain;object-fit:contain;width:auto;height:auto}.ugb-image-control .ugb-image-preview-remove{background:none!important;color:#ddd;border:none;position:absolute;top:10px;right:4px;cursor:pointer;z-index:3}.ugb-image-shape-control .ugb-design-control{padding:8px;margin:0 40px;border:1px solid #efefef}.ugb-image-upload-placeholder{position:relative;cursor:copy;margin-left:auto;margin-right:auto}.ugb-image-upload-placeholder img{display:block}.ugb-image-upload-has-placeholder{background:#f1f1f1;display:flex;justify-content:center;align-items:center;height:150px;width:100%}.ugb-image-upload-has-placeholder svg{max-height:50px;fill:#ddd;max-width:40%;width:100%}.ugb-image-upload-has-placeholder:hover{background:#fafafa}.ugb-image-upload-has-placeholder:focus{background:#fafafa;box-shadow:0 0 0 2px rgba(30,140,190,.8)}.ugb-image-upload-has-image:hover{opacity:.8}.ugb-image-upload-remove{background:none!important;color:#ddd;border:none;position:absolute;top:10px;right:4px;cursor:pointer;display:none;z-index:9!important}.ugb-image-upload-remove svg{stroke:rgba(0,0,0,.3);stroke-width:1px;fill:#fff;max-width:none}.editor-block-list__block.is-hovered .ugb-image-upload-remove,.editor-block-list__block.is-selected .ugb-image-upload-remove{display:block}.ugb-modal-design-library{width:100%;max-width:90%;height:90%;min-height:500px}.ugb-modal-design-library .components-modal__content{padding:0;display:flex;flex-direction:column}.ugb-modal-design-library .components-modal__header{margin:0}.ugb-modal-design-library .ugb-modal-design-library__wrapper{display:grid;grid-template-columns:300px auto;grid-template-rows:50px auto;flex:1}.ugb-modal-design-library .ugb-modal-design-library__sidebar{box-shadow:0 0 30px rgba(0,0,0,.1);background:#fff;grid-column:1/2;grid-row:1/3;display:flex;flex-direction:column;overflow:hidden}.ugb-modal-design-library .ugb-modal-design-library__sidebar .ugb-control-separator{margin:8px 0!important;width:100%!important}.ugb-modal-design-library .ugb-modal-design-library__topbar{display:flex;justify-content:flex-end;padding:0 24px;height:50px;align-items:center;grid-column:2/3;grid-row:1/2}.ugb-modal-design-library .ugb-modal-design-library__designs{padding:24px;grid-column:2/3;grid-row:2/3}.ugb-modal-design-library .ugb-modal-design-library__search{padding:24px;background:#f1f1f1}.ugb-modal-design-library .ugb-modal-design-library__search .components-base-control__field{margin:0}.ugb-modal-design-library .ugb-modal-design-library__topbar .is-active{background:#555;color:#fff}.ugb-modal-design-library .ugb-advanced-toolbar-control .components-button.components-toolbar__control.has-text,.ugb-modal-design-library .ugb-advanced-toolbar-control .components-button.components-toolbar__control.has-text.is-active,.ugb-modal-design-library .ugb-advanced-toolbar-control .components-button.components-toolbar__control.has-text:hover,.ugb-modal-design-library .ugb-advanced-toolbar-control .ugb-toolbar--full-width{background:transparent}.ugb-modal-design-library .ugb-modal-design-library__filters{overflow-y:auto;padding:24px}.ugb-block-list li{margin:0}.ugb-block-list li>div{padding:6px 10px;cursor:pointer}.ugb-block-list li [aria-pressed=true]{font-weight:700}.ugb-block-list li .is-disabled{opacity:.3}.ugb-block-list .ugb-block-list__count{float:right}.ugb-block-list [data-count="0"]{opacity:.3}.ugb-modal-design-library__color-list-wrapper{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:center}.ugb-modal-design-library__color-list{margin-bottom:8px!important}.ugb-modal-design-library__color-list .components-color-palette{width:24px;flex:0;margin:0 10px 10px}.ugb-modal-design-library__color-list .components-color-palette__item-wrapper{height:22px;width:22px;margin:0}.ugb-modal-design-library__color-list .components-color-palette__item.is-active+.dashicons-saved{left:3px;top:3px;width:16px;height:16px}.ugb-modal-design-library__color-list .components-color-palette__item:focus:after{width:28px;height:28px;top:-3px;left:-3px}.ugb-modal-design-library__refresh{margin-right:10px}.ugb-modal-design-library__dev-mode .components-base-control__field{margin:2px 24px 0!important}.ugb-modal-welcome-video p{width:470px;margin:16px auto;text-align:center}.ugb-modal-welcome-video .components-modal__content{padding-bottom:20px}.ugb-modal-welcome-video .components-modal__header{margin-bottom:30px}.ugb-modal-welcome-video,.ugb-modal-welcome-video__overlay{animation-duration:.6s!important;transition-duration:.6s!important}.ugb-toggle-panel-form-toggle{margin-right:12px}.ugb-panel-advanced-button{text-transform:uppercase;font-size:9px;background:transparent;width:100%;display:block;border:0;outline:none;position:relative;cursor:pointer;padding-bottom:15px}.ugb-panel-advanced-button:after{content:"❯";position:absolute;transform:translateX(-50%) rotate(90deg);left:50%;bottom:0}.ugb-panel-advanced-button:hover{color:#999}.ugb-toggle-panel-body--advanced .ugb-panel-advanced-button{padding-bottom:0;padding-top:15px}.ugb-toggle-panel-body--advanced .ugb-panel-advanced-button:after{top:0;bottom:auto;transform:translate(-50%) rotate(-90deg)}.ugb-panel-tabs .ugb-panel-tabs__wrapper{display:flex!important;transition:all .3s ease-in-out;background:#fff;box-shadow:none;flex-wrap:nowrap}.ugb-panel-tabs button{outline:none!important;display:flex;flex-direction:column;justify-content:center;align-items:center;height:80px;padding:0!important;flex:1;margin:0!important}.ugb-panel-tabs button svg{margin:5px;height:20px;color:#555d66}.ugb-panel-tabs button.is-active{background:#fafafa;background:linear-gradient(180deg,#fafafa,#fff 70%);border-bottom:0;box-shadow:inset 0 -3px #0085ba}.ugb-panel-tabs{border-bottom:1px solid #e2e4e7!important}[data-ugb-tab]>* .components-panel__body:not(.ugb-panel-tabs){box-shadow:0 -12px 0 #f0f3f5;margin-top:12px;border-bottom:1px solid #e2e4e7}.edit-post-sidebar.ugb--has-panel-tabs{background-color:#f0f3f5}.edit-post-sidebar.ugb--has-panel-tabs>.components-panel{border:0}.edit-post-sidebar.ugb--has-panel-tabs .edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:0}[data-ugb-tab]>*{padding-bottom:0!important}[data-ugb-tab=advanced] .ugb-inspector-panel-controls:not(.ugb-panel-advanced),[data-ugb-tab=layout] .editor-block-inspector__advanced,[data-ugb-tab=layout] .ugb-inspector-panel-controls:not(.ugb-panel-layout),[data-ugb-tab=style] .editor-block-inspector__advanced,[data-ugb-tab=style] .ugb-inspector-panel-controls:not(.ugb-panel-style){display:none}.ugb--panel-tabs-dummy{height:80px;margin-top:16px}.ugb--fixed-tabs{position:fixed;top:136px;width:279px;background:#fff;z-index:2;box-shadow:0 20px 30px -20px rgba(0,0,0,.1);margin-top:0!important}.ugb-design-control-pro-note{margin:1.5em 0;color:#6d7882;text-align:center;padding:0 30px}.ugb-design-control-pro-note h4{margin:0 0 1em;font-size:1em}.ugb-design-control-pro-note p{font-size:.9em}.ugb-design-control-pro-note a.button{color:#fff;border:0;text-transform:uppercase;display:inline-block;height:auto;width:auto;margin:0 auto;transition:all .3s ease-in-out;box-shadow:none;font-size:9px;line-height:1.2em;border-radius:25px;padding:10px 18px;background:linear-gradient(90deg,#8c33da -30%,#f34957 130%);transition-timing-function:cubic-bezier(.81,.37,.61,1);transition-duration:.2s}.ugb-design-control-pro-note a.button:hover{background:linear-gradient(90deg,#8c33da -70%,#f34957 170%);color:#fff;transform:scale(1.1)}.ugb-design-control-pro-note svg{height:35px;width:35px;margin:0 0 1em}.ugb-design-control-pro-note.ugb-pro-note__small{display:grid;padding:0;grid-template-columns:30px 1fr -webkit-min-content;grid-template-columns:30px 1fr min-content;grid-gap:5px;align-items:center;margin-bottom:0}.ugb-design-control-pro-note.ugb-pro-note__small svg{margin:0;height:25px;width:25px}.ugb-design-control-pro-note.ugb-pro-note__small p{text-align:left;margin:0;font-size:10px}.ugb-design-control-pro-note.ugb-pro-note--fade *{transition:all .3s ease-in-out}.ugb-design-control-pro-note.ugb-pro-note--fade p{opacity:.8}.ugb-design-control-pro-note.ugb-pro-note--fade a,.ugb-design-control-pro-note.ugb-pro-note--fade svg{opacity:.7}.ugb-design-control-pro-note.ugb-pro-note--fade:hover a,.ugb-design-control-pro-note.ugb-pro-note--fade:hover p,.ugb-design-control-pro-note.ugb-pro-note--fade:hover svg{opacity:1}.ugb-pro-control-more-dots{display:flex;background:#fff;margin:0 auto;width:50px;justify-content:center;border-radius:25px;height:25px;align-items:center;cursor:pointer;transition:all .3s ease-in-out;border:none;outline:none}.ugb-pro-control-more-dots .ugb-pro-control-more-dots__dot{width:6px;height:6px;background:#aaa;border-radius:100%;margin:0 2px;transition:all .3s ease-in-out}.ugb-pro-control-more-dots:focus,.ugb-pro-control-more-dots:hover{background:#eee}.ugb-pro-control-more-dots:focus .ugb-pro-control-more-dots__dot,.ugb-pro-control-more-dots:hover .ugb-pro-control-more-dots__dot{background:#555}.ugb-pro-control-button__wrapper{max-height:800px;transition:all .3s ease-in-out;overflow:hidden}.ugb-pro-control-button__wrapper.ugb-pro-control-button--hidden{max-height:0}.ugb-pro-modal{overflow:hidden!important}.ugb-pro-modal .ugb-pro-modal__carousel{width:1000px;height:500px;max-width:100%;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ugb-pro-modal .ugb-pro-modal__carousel-wrapper{width:500%;height:100%;transition:all .5s ease-in-out}.ugb-pro-modal .ugb-pro-modal__carousel--slide-0 .ugb-pro-modal__carousel-wrapper{transform:translateX(0)}.ugb-pro-modal .ugb-pro-modal__carousel--slide-1 .ugb-pro-modal__carousel-wrapper{transform:translateX(-20%)}.ugb-pro-modal .ugb-pro-modal__carousel--slide-2 .ugb-pro-modal__carousel-wrapper{transform:translateX(-40%)}.ugb-pro-modal .ugb-pro-modal__carousel--slide-3 .ugb-pro-modal__carousel-wrapper{transform:translateX(-60%)}.ugb-pro-modal .ugb-pro-modal__carousel--slide-4 .ugb-pro-modal__carousel-wrapper{transform:translateX(-80%)}.ugb-pro-modal .ugb-pro-modal__carousel-left,.ugb-pro-modal .ugb-pro-modal__carousel-right{position:absolute;left:0;top:0;bottom:0;width:50%;padding:10px;display:flex;justify-content:flex-start;align-items:center;cursor:pointer}.ugb-pro-modal .ugb-pro-modal__carousel-left svg,.ugb-pro-modal .ugb-pro-modal__carousel-right svg{width:20px}.ugb-pro-modal .ugb-pro-modal__carousel-left:hover svg,.ugb-pro-modal .ugb-pro-modal__carousel-right:hover svg{opacity:.7}.ugb-pro-modal .ugb-pro-modal__carousel-right{left:auto;right:0;justify-content:flex-end}.ugb-pro-modal .components-modal__header{position:absolute;top:0;right:10px;z-index:3;border:0;background:transparent}.ugb-pro-modal .components-modal__content{padding:0}.ugb-pro-modal .components-modal__content img{max-width:1000px;height:100%;width:auto!important}.ugb-pro-modal .ugb-pro-modal__footer{padding:30px;background:#fafafa;text-align:center;display:flex;justify-content:center;align-items:center}.ugb-pro-modal .ugb-pro-modal__footer *{margin:0 5px}.ugb-pro-modal .ugb-pro-modal__footer .button{color:#fff;background:linear-gradient(90deg,#ab5af1 -50%,#fb6874);border:0;padding:5px 15px;height:auto;font-size:14px;text-transform:uppercase;font-weight:700}.ugb-pro-modal .ugb-pro-modal__footer .button:hover{background:linear-gradient(90deg,#ab5af1 -50%,#fb6874 50%)}.ugb-pro-modal .ugb-pro-modal__footer a:not(.button){color:#fb6874;text-decoration:none}.ugb-pro-modal .ugb-pro-modal__footer a:not(.button):hover{color:#ab5af1}.ugb-pro-modal .ugb-pro-modal__footer .button-ghost{box-shadow:inset 0 0 0 2px #fb6874;background:none;color:#fb6874;font-weight:400;text-transform:none}.ugb-pro-modal .ugb-pro-modal__footer .button-ghost:hover{box-shadow:inset 0 0 0 2px #ab5af1;background:none;font-weight:400;color:#ab5af1}.ugb-pro-modal-pricing img{width:1000px;height:500px!important;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ugb-base-control-multi-label__responsive{display:flex;margin-left:6px;align-items:center}.ugb-base-control-multi-label__responsive button{height:11px;width:11px;padding:3px;box-sizing:content-box;background:#eee;border-radius:100%;margin:0 2px 0 3px}.ugb-base-control-multi-label__responsive button svg{height:100%;width:100%}.ugb-base-control-multi-label__responsive button.is-active,.ugb-base-control-multi-label__responsive button:hover{background:#999!important;color:#fff!important;border:none!important;box-shadow:none!important}.ugb-base-control-multi-label__responsive button.is-active:not(:first-child){background:#ab5af1!important}.ugb-small-number-control .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.ugb-small-number-control input{width:80px}.ugb-social-url-text-control+.ugb-social-url-text-control{margin-top:-18px!important}.ugb-svg-icon-placeholder{line-height:1}.ugb-svg-icon-placeholder button{font-size:inherit;padding:0;color:inherit;outline:none!important;background:transparent!important;border:none!important;box-shadow:none!important;cursor:copy;display:inline-block;width:auto}.ugb-svg-icon-placeholder button svg{display:block}.edit-post-sidebar .ugb-url-input-control__input input{width:100%}.ugb-url-input-popover{z-index:99989}.ugb-url-input-popover.is-from-top{margin-top:20px!important}.ugb-url-input-popover.is-from-bottom{margin-top:-20px!important}.ugb-url-input-popover .ugb-url-input-control__input input[type=text]{border-radius:4px;border:1px solid #8d96a0;flex:1}.ugb-url-input-popover .ugb-url-input-control__more-button{margin-left:5px}.ugb-url-input-popover .ugb-url-input-popover__input-wrapper{display:flex;align-items:center}.ugb-url-input-popover .ugb-url-input-control__icon{margin-right:10px}.ugb-url-input-popover.ugb--show-advanced .ugb-url-input-popover__input-wrapper{margin-bottom:16px}.ugb-url-input-popover .ugb-url-input-control__input.ugb-url-input-control__input--plain{flex:1;width:300px}.ugb-url-input-popover .ugb-url-input-control__input.ugb-url-input-control__input--plain .components-base-control__field{margin-bottom:0!important}.ugb-url-input-popover .ugb-url-input-control__more-button[aria-expanded=false].ugb--active:not(:hover){box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff}.stackable-components-toolbar{border-right:none!important}.stackable-components-toolbar .components-icon-button{justify-content:center}.stackable-components-toolbar .components-icon-button svg{margin:0}.components-stackable-highlight__popover .components-popover__content{overflow:hidden;padding:16px}.ugb-component-inline-color-popover{padding:16px}.ugb-highlight-format__color-picker{margin-bottom:16px}.components-stackable-highlight-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:7px;left:auto;right:auto;margin:0}.ugb-bottom-separator .ugb-separator-wrapper,.ugb-top-separator .ugb-separator-wrapper{pointer-events:all}.ugb-panel-controls-separator{margin:0 -16px;background:#f0f3f5;text-transform:uppercase;font-size:8px;text-align:center;color:#bfc8ce;padding:14px 0 0}.ugb-debugger-panel{padding:16px}.ugb-debugger-panel p{margin:0}.ugb--hide-desktop.ugb--hide-desktop.ugb--hide-desktop,.ugb--hide-mobile.ugb--hide-mobile.ugb--hide-mobile,.ugb--hide-tablet.ugb--hide-tablet.ugb--hide-tablet{display:block!important}.ugb--hide-desktop.ugb--hide-desktop.ugb--hide-desktop.ugb-main-block,.ugb--hide-mobile.ugb--hide-mobile.ugb--hide-mobile.ugb-main-block,.ugb--hide-tablet.ugb--hide-tablet.ugb--hide-tablet.ugb-main-block{display:flex!important}.ugb-main-block,[class*=ugb-]+form[class*=-link],[class*=ugb-] form[class*=-link],form[class*=ugb-][class*=-link]{display:flex;justify-content:center;align-items:center}.ugb-main-block{margin-top:35px;margin-bottom:35px;padding:0}.ugb-main-block.alignfull{padding:0 35px}.ugb-block-content,.ugb-inner-block{margin:0;padding:0;width:100%;position:relative}.ugb--full-height{min-height:700px}.ugb--restrict-content-width .ugb-content-wrapper{max-width:var(--content-width);margin:0 auto}.ugb--shadow-0,.ugb-shadow-0{box-shadow:none!important}.ugb--shadow-1,.ugb-shadow-1{box-shadow:0 0 0 1px hsla(0,0%,47.1%,.1)!important}.ugb--shadow-2,.ugb-shadow-2{box-shadow:0 0 0 2px hsla(0,0%,47.1%,.1)!important}.ugb--shadow-3,.ugb-shadow-3{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2)!important}.ugb--shadow-4,.ugb-shadow-4{box-shadow:0 2px 20px hsla(0,0%,60%,.2)!important}.ugb--shadow-5,.ugb-shadow-5{box-shadow:0 5px 30px -10px rgba(18,63,82,.3)!important}.ugb--shadow-6,.ugb-shadow-6{box-shadow:0 10px 30px rgba(0,0,0,.05)!important}.ugb--shadow-7,.ugb-shadow-7{box-shadow:7px 5px 30px rgba(72,73,121,.15)!important}.ugb--shadow-8,.ugb-shadow-8{box-shadow:0 10px 60px rgba(0,0,0,.1)!important}.ugb--shadow-9,.ugb-shadow-9{box-shadow:0 70px 130px -60px rgba(72,73,121,.38)!important}div[class^=wp-block-ugb-]{z-index:1}@supports (-webkit-overflow-scrolling:touch){[class*=ugb-][style*="background-attachment:fixed"],[class*=ugb-][style*="background-attachment: fixed"]{background-attachment:scroll!important}}.ugb-block-content:after,.ugb-block-content:before{content:none!important}[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-main-block.ugb--has-block-background,[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>div>.ugb-main-block.ugb--has-block-background{margin-top:0;margin-bottom:0;padding-top:70px;padding-bottom:70px}[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-full .ugb-inner-block,[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>div>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-full .ugb-inner-block{width:100%}.ugb-bottom-block-separator-panel .ugb-design-control,.ugb-top-block-separator-panel .ugb-design-control{max-height:270px}.ugb-top-block-separator-panel .ugb-design-panel-item__image{transform:scaleY(-1)}.ugb-bottom-separator svg,.ugb-top-separator svg{transition:none!important}.editor-styles-wrapper [data-type^="ugb/"] .ugb-main-block .ugb-block-title{margin:0 0 64px}.editor-styles-wrapper [data-type^="ugb/"] .ugb-main-block .ugb-block-title.ugb-block-title--with-subtitle{margin-bottom:16px}.editor-styles-wrapper [data-type^="ugb/"] .ugb-main-block .ugb-block-description{margin:0 0 64px}.ugb-deprecated-tester .ugb-deprecated-tester__load-button{display:flex;align-items:center;transition:all .3s ease-in-out;margin-top:5px}.ugb-deprecated-tester .ugb-deprecated-tester__load-button svg{margin-right:8px}.ugb-deprecated-tester.ugb-deprecated-tester--loading .ugb-deprecated-tester__load-button{opacity:.7}.ugb-deprecated-tester.ugb-deprecated-tester--loading .ugb-deprecated-tester__load-button svg{animation:deprecated-test-rotate 1s linear infinite}.ugb-deprecated-tester--row{display:flex;align-items:center;justify-content:space-between;margin:8px 0}.ugb-deprecated-tester--row button{background:#fafafa;border-color:#ddd}.ugb-deprecated-tester--row.ugb--first{justify-content:flex-end}.ugb-deprecated-tester--row>:last-child{display:flex;justify-content:center;align-items:center}.ugb-deprecated-tester--row>:last-child button{display:inline-block;padding:4px;height:26px;width:26px;margin-left:8px}.ugb-deprecated-tester--row>:last-child svg{height:18px;width:18px}.ugb-deprecated-tester--row .ugb--green{color:#0da00d}.ugb-deprecated-tester--name{display:flex}.ugb-deprecated-tester--name button{padding:0;border:0!important;background:transparent!important;box-shadow:none!important}.ugb-deprecated-tester--name svg{display:inline-block;height:15px;width:15px;vertical-align:text-top;color:#ccc;margin-left:4px}.ugb-deprecated-tester--test-details{display:flex;justify-content:flex-start}.ugb-deprecated-tester--test-details .ugb--version{color:#777}.ugb-deprecated-tester--test-details .ugb--plan{background:#fb6874;color:#fff;padding:0 .5em;border-radius:3px;margin-left:.5em;font-size:.6em;text-transform:uppercase}.ugb-deprecated-tester--test-details .ugb--skipped-note{width:100%;font-style:italic}.ugb-deprecated-tester--test-details .components-icon-button{padding:2px;margin-left:4px}.ugb-deprecated-tester--test-details .components-icon-button svg{height:12px;width:12px}.ugb-deprecated-tester--test-details .components-clipboard-button{font-size:11px;margin-left:6px}.ugb-deprecated-tester--test-detail-wrapper{background:#fafafa;padding:6px;border:1px solid #ddd;border-radius:4px}.ugb-deprecated-tester--test-detail-wrapper>div>div{display:flex;flex-wrap:wrap}.ugb-deprecated-tester--test-detail-wrapper .ugb--failed,.ugb-deprecated-tester--test-detail-wrapper .ugb--passed,.ugb-deprecated-tester--test-detail-wrapper .ugb--skipped{padding:0 6px;border-radius:2px;display:inline-block;background:#a7e8a7;color:#0c7b0c;align-self:flex-end;margin:0 0 0 auto}.ugb-deprecated-tester--test-detail-wrapper .ugb--failed{background:#efd5d5;color:#a70d0d}.ugb-deprecated-tester--test-detail-wrapper .ugb--skipped{background:#eee;color:#666}@keyframes deprecated-test-rotate{0%{transform:rotate(0deg)}to{transform:rotate(-359deg)}}.ugb-html-validator .CodeMirror{height:300px}.ugb-html-validator .components-base-control__help{margin-top:0}.ugb-html-validator--invalid,.ugb-html-validator--valid{font-weight:700;text-transform:uppercase;color:#1fb51f}.ugb-html-validator--invalid{color:#e4174d}@media screen and (max-width:600px){.ugb-main-block.alignfull{padding-right:17.5px;padding-left:17.5px}}@media screen and (min-width:1025px){.ugb--full-height{min-height:100vh}}@media screen and (max-width:900px){.ugb-pro-modal .ugb-pro-modal__carousel{width:700px;height:350px}}@media screen and (min-width:960px){[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-center .ugb-inner-block,[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>div>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-center .ugb-inner-block{max-width:var(--content-width)}}@media screen and (min-width:1280px){[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-wide .ugb-inner-block,[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>div>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-wide .ugb-inner-block{width:1080px}}
1
+ @charset "UTF-8";.wp-admin .wp-block [class*=ugb-],.wp-admin .wp-block [class*=ugb-] *{transition:color .2s ease-in-out,opacity .2s ease-in-out,background-color .2s ease-in-out,height .2s ease-in-out,width .2s ease-in-out,transform .2s ease-in-out,padding .2s ease-in-out,border-radius .2s ease-in-out,fill .2s ease-in-out,top .2s ease-in-out,left .2s ease-in-out}svg.ugb-stackable-icon-gradient{fill:url(#stackable-gradient)!important}[data-type^="ugb/"]>.editor-block-list__block-edit,[data-type^="ugb/"]>.editor-block-list__block-edit>[data-block]{margin-top:0!important;margin-bottom:0!important}[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-main-block,[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>div>.ugb-main-block{margin-top:35px;margin-bottom:35px;padding:0 35px}.editor-styles-wrapper [data-type^="ugb/"] h1,.editor-styles-wrapper [data-type^="ugb/"] h2,.editor-styles-wrapper [data-type^="ugb/"] h3,.editor-styles-wrapper [data-type^="ugb/"] h4,.editor-styles-wrapper [data-type^="ugb/"] h5,.editor-styles-wrapper [data-type^="ugb/"] h6,.editor-styles-wrapper [data-type^="ugb/"] p{margin-top:0;margin-bottom:0}.ugb--has-panel-tabs .ugb-panel-tabs~.editorskit-panel{display:none}[class*=ugb--help-tip-].components-base-control .components-base-control__label,[class*=ugb--help-tip-].components-base-control .components-toggle-control__label{cursor:help;border-bottom:1px solid transparent}[class*=ugb--help-tip-].components-base-control .components-base-control__label:hover,[class*=ugb--help-tip-].components-base-control .components-toggle-control__label:hover{border-color:#8c33da;color:#8c33da;border-bottom-style:solid!important}.components-base-control[class*=ugb--help-tip-]:hover .components-base-control__label,.components-base-control[class*=ugb--help-tip-]:hover .components-toggle-control__label{border-color:#a683c5;border-bottom-style:dashed}[class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle{cursor:pointer}[class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle:after{content:"\f223";margin-left:10px;font-family:dashicons;font-size:20px;line-height:16px;text-shadow:0 0 1px #000;color:#fafafa}[class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle:hover{color:#8c33da!important}[class*=ugb--help-tip-].components-panel__body .components-panel__body-toggle:hover:after{cursor:help;color:#b266f4;text-shadow:none}.ugb-help-tooltip-video{margin-left:-30px!important}.ugb-help-tooltip-video .components-popover__content{min-width:220px!important;width:220px!important}.ugb-help-tooltip-video .components-panel__body{padding:0 16px 16px}.ugb-help-tooltip-video video{width:100%;height:auto;position:relative;z-index:2;margin:0 -16px 8px;min-width:calc(100% + 32px);min-height:163.5px}.ugb-help-tooltip-video .ugb-help-tooltip-video__link{margin-top:5px;text-align:right;cursor:pointer}.ugb-help-tooltip-video .ugb-help-tooltip-video__link svg{vertical-align:bottom}.ugb-help-tooltip-video .components-spinner{position:absolute;left:calc(50% - 9px);text-align:center;top:82px;margin:0;z-index:1}.ugb-help-tooltip-video .ugb-help-tooltip-video__remove{background:none!important;border:none;position:absolute;top:10px;right:4px;cursor:pointer;z-index:9!important}.ugb-help-tooltip-video .ugb-help-tooltip-video__remove svg{max-width:none;stroke:rgba(0,0,0,.3);stroke-width:1px;fill:#fff}.ugb-help-tooltip-video .ugb-help-tooltip-video__remove:hover{color:#444}.ugb-help-tooltip-video h4{margin:0 0 8px;font-size:1em}[data-type="ugb/accordion"] .ugb-accordion__heading{outline:none}[data-type="ugb/accordion"] .ugb-accordion__heading svg{transform:rotate(180deg)!important}[data-type="ugb/accordion"] .ugb-accordion__heading>:first-child{flex:1}[data-type="ugb/accordion"] .ugb-accordion:not(.ugb-accordion--open) .ugb-accordion__content{display:none}[data-type="ugb/accordion"] .ugb-accordion:not(.ugb-accordion--open) .ugb-accordion__heading svg{transform:rotate(0deg)!important}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__content .ugb-accordion__content-inner{padding-top:0}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__content{overflow:visible}#editor .ugb-accordion.ugb-accordion--v2.ugb-accordion--design-plain .ugb-accordion__content .ugb-accordion__content-inner{padding-bottom:0}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__heading{z-index:0}#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__item.ugb--has-background-overlay .ugb-video-background,#editor .ugb-accordion.ugb-accordion--v2 .ugb-accordion__item.ugb--has-background-overlay:before{z-index:-1!important}.ugb-accordion__heading>div:empty{display:none}.ugb-blockquote{margin-left:0;margin-right:0}.ugb-blockquote__inspector__icon{flex-wrap:wrap}.ugb-blog-post__inspector-spinner>*{margin:0 auto 16px;display:block;float:none}.ugb-blog-posts__item:after{pointer-events:none}[data-type][data-align=full] .ugb-cta.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background,[data-type][data-align=full] .ugb-cta.ugb-main-block:not(.ugb--has-block-background){padding:0}[data-type][data-align=full] .ugb-cta.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background .ugb-cta__item,[data-type][data-align=full] .ugb-cta.ugb-main-block:not(.ugb--has-block-background) .ugb-cta__item{border-radius:0}[data-type="ugb/container"].has-child-selected>.editor-block-list__block-edit>[data-block]>.ugb-container>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper>.ugb-container__content-wrapper>.editor-inner-blocks>.editor-block-list__layout>.wp-block>.editor-block-list__block-edit:before,[data-type="ugb/container"].is-selected>.editor-block-list__block-edit>[data-block]>.ugb-container>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper>.ugb-container__content-wrapper>.editor-inner-blocks>.editor-block-list__layout>.wp-block>.editor-block-list__block-edit:before{border:1px dashed rgba(123,134,162,.3)}[data-type="ugb/container"].has-child-selected .is-selected>.editor-block-list__block-edit:before,[data-type="ugb/container"].is-selected .is-selected>.editor-block-list__block-edit:before{border:1px solid rgba(66,88,99,.4)}[data-align=full] .ugb-container:not(.ugb-container--design-plain):not(.ugb--has-block-background){padding-left:0!important;padding-right:0!important}[data-align=full] .ugb-container:not(.ugb-container--design-plain):not(.ugb--has-block-background)>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper{border-radius:0!important}[data-type="ugb/container"][data-align=center]{text-align:inherit}.ugb-container .editor-block-list__block{max-width:none!important}.ugb-container__content-wrapper>.editor-inner-blocks>.editor-block-list__layout>.editor-block-list__block:first-child>.editor-block-list__block-edit{margin-top:0!important}.ugb-container__content-wrapper>.editor-inner-blocks>.editor-block-list__layout>:empty:last-child{margin-bottom:-32px!important}.ugb-container .wp-block-columns .editor-inner-blocks{width:100%}.ugb-container>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper{overflow:visible!important}.ugb-container>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper>.ugb-video-background{overflow:hidden}.ugb-container>.ugb-inner-block>.ugb-block-content>.ugb-container__wrapper:before{transition:border-radius .2s ease-in-out}[data-align=full] .ugb-countup{border-radius:0!important;margin-top:0;margin-bottom:0}.ugb-design-library-block .components-placeholder__label svg{margin-right:8px}.ugb-design-library-block button.components-button{font-size:15px;height:auto;padding:6px 18px}.ugb-insert-library-button svg{width:20px;height:20px}.ugb-insert-library-button{margin-left:10px;margin-right:10px}.ugb-expand__label{font-size:12px;text-transform:uppercase;font-weight:600;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;color:#8e979e;padding:2em 0 0;border:none;box-shadow:none;white-space:nowrap;display:block}.ugb-expand__label:first-child{padding-top:0}.ugb-expand .ugb-expand__less-text p,.ugb-expand .ugb-expand__more-text p{font-size:inherit!important;color:inherit!important}.ugb-expand .ugb-block-content>a{display:inline-block}.ugb-feature.ugb-feature--design-basic .ugb-feature__image.ugb-image-upload-placeholder.ugb-image-upload-has-placeholder,.ugb-feature.ugb-feature--design-plain .ugb-feature__image.ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:250px}.ugb-feature-grid .ugb-image-upload-placeholder.ugb-image-upload-has-placeholder{height:100px;width:100px;margin:0 auto;border-radius:100%}[data-type][data-align=full] .ugb-header.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background,[data-type][data-align=full] .ugb-header.ugb-main-block:not(.ugb--has-block-background){padding:0}[data-type][data-align=full] .ugb-header.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background .ugb-header__item,[data-type][data-align=full] .ugb-header.ugb-main-block:not(.ugb--has-block-background) .ugb-header__item{border-radius:0}.ugb-icon-list ul{list-style:none!important}#editor .ugb-icon-list.ugb-icon-list li:last-child{margin-bottom:0!important}.editor-block-list__block[data-type="ugb/icon-list"] .list-format-toolbar{display:none}.ugb-image-box__image:hover{opacity:1!important}.ugb-image-box__arrow{pointer-events:all!important}[data-type="ugb/notification"] .ugb-notification.ugb-notification--dismissible{display:flex!important}[data-type="ugb/notification"] .ugb-notification__item>:last-child,[data-type="ugb/notification"] .ugb-notification__item>:last-child [role=textbox]{margin-bottom:0}[data-type="ugb/notification"] .ugb-svg-icon-placeholder__button{display:block;width:100%}.ugb-number-box .ugb-number-box__number[data-is-placeholder-visible=true]{transition:none;height:2.5em;width:2.5em;left:calc(50% - 1.25em)}.ugb-number-box .ugb-number-box__item>.editor-rich-text{z-index:3!important}.ugb-number-box .ugb-number-box__item>.ugb-number-box__content{z-index:4!important}.ugb-pricing-box__price-line>:first-child{align-self:flex-start}.ugb-pricing-box__price-line>:last-child{align-self:flex-end}[data-type="ugb/separator"]{z-index:30!important}[data-type="ugb/separator"]~.block-editor-block-list__block.is-selected{z-index:31}[data-type="ugb/separator"][data-align=full] .ugb-separator .ugb-separator__svg-inner{overflow:hidden}[data-type="ugb/separator"][data-align=full] .ugb-separator .ugb-separator__svg-wrapper{overflow:visible}.ugb-team-member-setting__social,.ugb-team-member-setting__social .components-base-control__field{margin-bottom:8px!important}.ugb-team-member__image .ugb-image-upload-has-placeholder{border-radius:100%;height:0;padding-bottom:100%}.ugb-team-member__image .ugb-image-upload-has-placeholder svg{top:50%;position:absolute;transform:translateY(-50%)}.ugb-testimonial__image .ugb-image-upload-has-placeholder{border-radius:100%;height:0;padding-bottom:100%}.ugb-testimonial__image .ugb-image-upload-has-placeholder svg{top:50%;position:absolute;transform:translateY(-50%)}#editor [data-type="ugb/video-popup"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-video-popup.ugb-main-block.ugb-main-block--inner-full.ugb--has-block-background .ugb-video-popup__wrapper,#editor [data-type="ugb/video-popup"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-video-popup.ugb-main-block:not(.ugb--has-block-background) .ugb-video-popup__wrapper{border-radius:0;margin-left:-35px;margin-right:-35px;width:calc(100% + 70px)}.ugb-advanced-autosuggest-control{margin-bottom:16px}.ugb-advanced-autosuggest-control__select>*{position:relative}.ugb-advanced-autosuggest-control__select input{width:100%}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-container{position:absolute;top:100%;max-height:272px;overflow-y:auto;z-index:2;background:#fff;width:100%;margin-top:5px;border-radius:6px}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-container:not(:empty){box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2),0 5px 30px -10px rgba(18,63,82,.3)}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-list,.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestions-list li{margin:0}.ugb-advanced-autosuggest-control__select .react-autosuggest__section-container:not(.react-autosuggest__section-container--first){border-top:1px solid #ddd}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestion{background:#fff;padding:8px 16px;cursor:pointer}.ugb-advanced-autosuggest-control__select .react-autosuggest__suggestion--highlighted{background:#f1f1f1}.ugb--autosuggest-empty{font-style:italic;font-size:.9em;color:#999}.ugb--autosuggest-group{background:#fff;padding:14px 16px 8px;font-weight:700;color:#aaa}.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--full-width>div,.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--full-width>div>button,.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--full-width>div>button>svg{width:100%!important}.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--multiline{flex-wrap:wrap;justify-content:flex-start;align-items:flex-start}.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--multiline>div,.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--multiline>div>button,.ugb-advanced-toolbar-control .components-toolbar.ugb-toolbar--multiline>div>button>svg{width:auto!important;margin:0}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control{justify-content:center}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control svg{height:100%}.ugb-advanced-toolbar-control__text-button{height:30px;width:100%;justify-content:center;align-items:center;display:flex;border-radius:4px;padding:3px}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control.has-text{padding:3px}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control.has-text:hover{background-color:#fff;color:#191e23;box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control.is-active .ugb-advanced-toolbar-control__text-button{outline:none;color:#fff;box-shadow:none;background:#555d66}.ugb-base-control-multi-label{display:grid;grid-template-columns:auto 1fr auto;margin-bottom:5px}.ugb-base-control-multi-label .ugb-base-control-multi-label__label{margin-bottom:0}.ugb-base-control-multi-label__units{top:0;right:0;display:flex}.ugb-base-control-multi-label__units button{border:0;font-size:10px;margin:0;font-weight:400;outline:none;color:#aaa;padding:0 4px;background:transparent;cursor:pointer;text-transform:uppercase}.ugb-base-control-multi-label__units button:hover{color:#333}.ugb-base-control-multi-label__units button.is-active{color:#333;text-decoration:underline}.ugb-modal-get-block-attributes-button textarea{width:50vw;height:60vh;font-family:monospace}.ugb-button .editor-rich-text__editable.mce-content-body{box-shadow:none}.ugb-button.ugb-button--icon-only .ugb-svg-icon-placeholder__button{display:block}.ugb-button-icon-control .components-popover__content{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2),0 5px 30px -10px rgba(18,63,82,.3)}.ugb-button-icon-control .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.ugb-button-icon-control button{display:flex}.components-popover.ugb-button-icon-control__popover{z-index:100000}.ugb-button-icon-control__popover .components-panel__body-title{padding:15px!important;background:transparent!important}.ugb-button-icon-control__wrapper{display:flex;align-items:center}.ugb-button-icon-control__wrapper .ugb-button-icon-control__reset{padding:6px;margin:0 6px}.ugb-button-icon-control__wrapper .ugb-button-icon-control__reset svg{width:14px;height:14px}.ugb-button-icon-control__wrapper .ugb-button-icon-control__edit{padding:0 6px}.ugb-button-icon-control__wrapper .ugb-button-icon-control__edit svg{width:18px;height:18px;margin:0}.ugb-button-icon-control .components-toggle-control,.ugb-button-icon-control .components-toggle-control .components-base-control__field,.ugb-button-icon-control .components-toggle-control .components-toggle-control__label{margin-bottom:0!important}.ugb-code-textarea+.CodeMirror{height:500px;margin-left:-16px;margin-right:-16px;border-top:1px solid #ddd;border-bottom:1px solid #ddd;margin-bottom:16px}.ugb-control-separator{height:1px!important;background:#ddd!important;margin:24px -16px!important;border:0!important;padding:0!important;width:calc(100% + 32px)!important;box-shadow:none!important}.components-panel__body-title+.ugb-control-separator{margin-top:0!important}.ugb-design-control{max-height:450px}.ugb-design-control input{opacity:0;height:0;width:0;margin:0;padding:0;position:fixed;top:0}.ugb-design-control .components-radio-control__option{display:inline-block;width:50%;text-align:center}.ugb-design-control label>span{padding:5px;display:block;border-radius:8px}.ugb-design-control label>span>img{border-radius:4px}.ugb-design-control input:checked+label>span{box-shadow:inset 0 0 0 2px #888}.ugb-design-control input:not(:checked)+label>span:hover{box-shadow:inset 0 0 0 2px #f1f1f1}.ugb-design-control .design-label svg{height:12px;margin:0 0 0 5px;fill:#ffad00}.ugb-design-library-control__open-library{margin:0 0 8px auto!important;display:block}.ugb-design-library-control__open-library__toolbar{font-size:11px;display:flex;justify-content:space-between;padding:0 8px}.ugb-design-library-items{page-break-inside:avoid;break-inside:avoid;column-count:1;column-gap:38px}.ugb-design-library-items.ugb-design-library-items--columns-2{column-count:2}.ugb-design-library-items.ugb-design-library-items--columns-3{column-count:3}.ugb-design-library-items.ugb-design-library-items--columns-4{column-count:4}.ugb-design-library-items .components-base-control__help{text-align:center;font-style:italic}.ugb-design-library-items .ugb-design-library-search__spinner{display:flex}.ugb-design-library-items .ugb-design-library-search__spinner .components-spinner{margin:0 auto}.ugb-modal-design-library__wrapper{overflow:hidden}.ugb-modal-design-library__designs{overflow:auto}.ugb-design-library-item{border-radius:4px;box-shadow:0 2px 15px hsla(0,0%,60%,.3);overflow:hidden;transition:all .3s ease-in-out;position:relative;margin-bottom:38px;display:block;transform:translateZ(0);break-inside:avoid;width:100%;will-change:transform}.ugb-design-library-item:hover{transform:translateY(-4px) scale(1.03);box-shadow:0 6px 25px hsla(0,0%,60%,.3)}.ugb-design-library-item img{display:block;pointer-events:none;width:100%;height:auto;min-height:100px;background:#f1f1f1}.ugb-design-library-item footer{padding:8px 12px;font-size:11px;line-height:18px;display:flex;justify-content:space-between}.ugb-design-library-item.ugb--is-busy .ugb-design-library-item__spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) translateY(-10px)}.ugb-design-library-item.ugb--is-busy .components-spinner{margin:0}.ugb-design-library-item.ugb--is-busy img{opacity:.15}.ugb-design-library-item .ugb-design-library-item__image svg{position:absolute;top:50%;left:50%;transform:translate(-50%,-40%);opacity:0;fill:#000;height:35px;width:35px}.ugb-design-library-item .ugb-design-library-item__image img,.ugb-design-library-item .ugb-design-library-item__image svg{transition:all .3s ease-in-out}.ugb-design-library-item[class*=ugb--is-premium]:hover .ugb-design-library-item__image img{opacity:.4;filter:blur(3px)}.ugb-design-library-item[class*=ugb--is-premium]:hover .ugb-design-library-item__image svg{transform:translate(-50%,-50%);opacity:1}.ugb-design-library-item__image{padding:0!important;border:0!important;text-align:start!important;width:100%!important;margin:0!important;outline:none!important;cursor:pointer;display:block}.ugb-design-library-item__premium{position:absolute;z-index:1;background:#f34957;font-size:10px;color:#fff;line-height:18px;padding:0 6px;border-radius:2px;top:5px;right:5px;text-transform:uppercase}.ugb-design-library-item__premium-link{cursor:pointer;display:flex}.ugb-design-library-item__premium-link svg{height:15px;margin-right:5px}.ugb-design-library-item__favorite{border:0;padding:0;cursor:pointer;outline:none;transition:all .3 ease-in-out}.ugb-design-library-item__favorite svg{fill:#bbb;height:14px;width:14px}.ugb-design-library-item__favorite.ugb--is-favorite:hover svg,.ugb-design-library-item__favorite.ugb--is-favorite svg,.ugb-design-library-item__favorite:hover svg{fill:#d30c5c}.ugb-design-control{max-height:40vh;overflow-y:auto;padding:0 16px}.ugb-design-control .components-base-control__label{margin-left:-16px;margin-right:-16px;margin-bottom:8px}.ugb-design-panel-item{position:relative}.ugb-design-panel-item__hover-image{position:absolute;top:5px;left:5px;right:5px;width:calc(100% - 10px);opacity:0;transition:opacity .4s ease-in-out}.ugb-design-panel-item:hover .ugb-design-panel-item__hover-image{opacity:1}#editor .ugb--has-background-overlay.ugb--has-background-overlay .ugb-video-background,#editor .ugb--has-background-overlay.ugb--has-background-overlay:before{pointer-events:none}.ugb-four-number-control__wrapper{display:grid;grid-gap:4px;grid-template-columns:1fr 1fr 1fr 1fr -webkit-min-content;grid-template-columns:1fr 1fr 1fr 1fr min-content;align-items:flex-start}.ugb-four-number-control__wrapper button{padding:6px!important}.ugb-four-number-control__wrapper button.ugb--is-locked,.ugb-four-number-control__wrapper button.ugb--is-locked:hover{background:#aaa!important;color:#fff!important}.ugb-four-number-control__label{display:flex;flex-direction:column;justify-content:center;align-items:center}.ugb-four-number-control__label span{font-size:9px;opacity:.8}.ugb-four-number-control__label input{margin:0;width:100%;padding-left:0!important;padding-right:0!important;text-align:center}.ugb-four-number-control__label input[disabled]{background:#e5e4e8;cursor:not-allowed}.ugb-four-range-control__range{display:flex;align-items:center;margin-bottom:8px}.ugb-four-range-control__range .ugb-four-range-control__icon{height:20px;width:20px;flex-shrink:0;margin-right:10px}.ugb-four-range-control__range .components-base-control.components-range-control,.ugb-four-range-control__range .components-base-control__field{margin-bottom:0!important}.ugb-four-range-control__range .components-range-control{flex:1}.ugb-four-range-control .ugb-four-range-control__lock{color:#555d66;box-shadow:none!important;margin-left:5px}.ugb-icon-control .ugb-icon-control__icon-button{height:auto;padding:8px;margin-right:auto}.ugb-icon-control .ugb-icon-control__icon-button svg{width:30px;height:30px}.ugb-icon-control .ugb-icon-control__wrapper{display:flex;justify-content:space-between}.ugb-icon-popover__iconlist{display:flex;flex-wrap:wrap;justify-content:center;align-content:flex-start;align-items:flex-start;margin-top:5px;height:250px;overflow:auto}.ugb-icon-popover__iconlist button{background:none;padding:5px;height:auto;border-color:transparent;box-shadow:none}.ugb-icon-popover__iconlist svg{width:30px!important;height:30px;margin:0;box-sizing:content-box;border-radius:4px}.ugb-icon-popover__iconlist .components-base-control__help{font-style:italic}.ugb-icon-popover__label-container{display:flex;align-items:center;margin-bottom:8px}.ugb-icon-popover__label-container .components-base-control__field{margin-bottom:0}.ugb-icon-popover__label-container .ugb-icon-popover__input{flex:1}.ugb-icon-popover__label-container .components-range-control__reset{margin-left:8px}.ugb-image-control .ugb-placeholder{height:150px;display:flex;justify-content:center;align-items:center;background:#f1f1f1;margin-bottom:12px;margin-top:.6rem}.ugb-image-control .ugb-placeholder svg{height:50px;fill:#ddd}.ugb-image-control .ugb-image-preview,.ugb-image-control .ugb-placeholder{border-radius:4px;cursor:pointer;transition:all .3s ease-in-out}.ugb-image-control .ugb-image-preview:hover,.ugb-image-control .ugb-placeholder:hover{background:#fafafa}.ugb-image-control .ugb-image-preview:focus,.ugb-image-control .ugb-placeholder:focus{background:#fafafa;box-shadow:0 0 0 2px rgba(30,140,190,.8)}.ugb-image-control .ugb-image-preview-wrapper{position:relative;z-index:1;display:flex;justify-content:center;align-items:center;background:#f1f1f1;margin-top:.6rem;border-radius:4px}.ugb-image-control .ugb-image-preview-wrapper svg{stroke:rgba(0,0,0,.3);stroke-width:1px;fill:#fff}.ugb-image-control .ugb-image-preview{min-width:100px;flex:1 1 100px;margin:0;position:relative;z-index:2;-o-object-fit:contain;object-fit:contain;width:auto;height:auto}.ugb-image-control .ugb-image-preview-remove{background:none!important;color:#ddd;border:none;position:absolute;top:10px;right:4px;cursor:pointer;z-index:3}.ugb-image-shape-control .ugb-design-control{padding:8px;margin:0 40px;border:1px solid #efefef}.ugb-image-upload-placeholder{position:relative;cursor:copy;margin-left:auto;margin-right:auto}.ugb-image-upload-placeholder img{display:block}.ugb-image-upload-has-placeholder{background:#f1f1f1;display:flex;justify-content:center;align-items:center;height:150px;width:100%}.ugb-image-upload-has-placeholder svg{max-height:50px;fill:#ddd;max-width:40%;width:100%}.ugb-image-upload-has-placeholder:hover{background:#fafafa}.ugb-image-upload-has-placeholder:focus{background:#fafafa;box-shadow:0 0 0 2px rgba(30,140,190,.8)}.ugb-image-upload-has-image:hover{opacity:.8}.ugb-image-upload-remove{background:none!important;color:#ddd;border:none;position:absolute;top:10px;right:4px;cursor:pointer;display:none;z-index:9!important}.ugb-image-upload-remove svg{stroke:rgba(0,0,0,.3);stroke-width:1px;fill:#fff;max-width:none}.editor-block-list__block.is-hovered .ugb-image-upload-remove,.editor-block-list__block.is-selected .ugb-image-upload-remove{display:block}.ugb-modal-design-library{width:100%;max-width:90%;height:90%;min-height:500px}.ugb-modal-design-library .components-modal__content{padding:0;display:flex;flex-direction:column}.ugb-modal-design-library .components-modal__header{margin:0}.ugb-modal-design-library .ugb-modal-design-library__wrapper{display:grid;grid-template-columns:300px auto;grid-template-rows:50px auto;flex:1}.ugb-modal-design-library .ugb-modal-design-library__sidebar{box-shadow:0 0 30px rgba(0,0,0,.1);background:#fff;grid-column:1/2;grid-row:1/3;display:flex;flex-direction:column;overflow:hidden}.ugb-modal-design-library .ugb-modal-design-library__sidebar .ugb-control-separator{margin:8px 0!important;width:100%!important}.ugb-modal-design-library .ugb-modal-design-library__topbar{display:flex;justify-content:flex-end;padding:0 24px;height:50px;align-items:center;grid-column:2/3;grid-row:1/2}.ugb-modal-design-library .ugb-modal-design-library__designs{padding:24px;grid-column:2/3;grid-row:2/3}.ugb-modal-design-library .ugb-modal-design-library__search{padding:24px;background:#f1f1f1}.ugb-modal-design-library .ugb-modal-design-library__search .components-base-control__field{margin:0}.ugb-modal-design-library .ugb-modal-design-library__topbar .is-active{background:#555;color:#fff}.ugb-modal-design-library .ugb-advanced-toolbar-control .components-button.components-toolbar__control.has-text,.ugb-modal-design-library .ugb-advanced-toolbar-control .components-button.components-toolbar__control.has-text.is-active,.ugb-modal-design-library .ugb-advanced-toolbar-control .components-button.components-toolbar__control.has-text:hover,.ugb-modal-design-library .ugb-advanced-toolbar-control .ugb-toolbar--full-width{background:transparent}.ugb-modal-design-library .ugb-modal-design-library__filters{overflow-y:auto;padding:24px}.ugb-block-list li{margin:0}.ugb-block-list li>div{padding:6px 10px;cursor:pointer}.ugb-block-list li [aria-pressed=true]{font-weight:700}.ugb-block-list li .is-disabled{opacity:.3}.ugb-block-list .ugb-block-list__count{float:right}.ugb-block-list [data-count="0"]{opacity:.3}.ugb-modal-design-library__color-list-wrapper{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:center}.ugb-modal-design-library__color-list{margin-bottom:8px!important}.ugb-modal-design-library__color-list .components-color-palette{width:24px;flex:0;margin:0 10px 10px}.ugb-modal-design-library__color-list .components-color-palette__item-wrapper{height:22px;width:22px;margin:0}.ugb-modal-design-library__color-list .components-color-palette__item.is-active+.dashicons-saved{left:3px;top:3px;width:16px;height:16px}.ugb-modal-design-library__color-list .components-color-palette__item:focus:after{width:28px;height:28px;top:-3px;left:-3px}.ugb-modal-design-library__refresh{margin-right:10px}.ugb-modal-design-library__dev-mode .components-base-control__field{margin:2px 24px 0!important}.ugb-modal-welcome-video p{width:470px;margin:16px auto;text-align:center}.ugb-modal-welcome-video .components-modal__content{padding-bottom:20px}.ugb-modal-welcome-video .components-modal__header{margin-bottom:30px}.ugb-modal-welcome-video,.ugb-modal-welcome-video__overlay{animation-duration:.6s!important;transition-duration:.6s!important}.ugb-toggle-panel-form-toggle{margin-right:12px}.ugb-panel-advanced-button{text-transform:uppercase;font-size:9px;background:transparent;width:100%;display:block;border:0;outline:none;position:relative;cursor:pointer;padding-bottom:15px}.ugb-panel-advanced-button:after{content:"❯";position:absolute;transform:translateX(-50%) rotate(90deg);left:50%;bottom:0}.ugb-panel-advanced-button:hover{color:#999}.ugb-toggle-panel-body--advanced .ugb-panel-advanced-button{padding-bottom:0;padding-top:15px}.ugb-toggle-panel-body--advanced .ugb-panel-advanced-button:after{top:0;bottom:auto;transform:translate(-50%) rotate(-90deg)}.ugb-panel-tabs .ugb-panel-tabs__wrapper{display:flex!important;transition:all .3s ease-in-out;background:#fff;box-shadow:none;flex-wrap:nowrap}.ugb-panel-tabs button{outline:none!important;display:flex;flex-direction:column;justify-content:center;align-items:center;height:80px;padding:0!important;flex:1;margin:0!important}.ugb-panel-tabs button svg{margin:5px;height:20px;color:#555d66}.ugb-panel-tabs button.is-active{background:#fafafa;background:linear-gradient(180deg,#fafafa,#fff 70%);border-bottom:0;box-shadow:inset 0 -3px #0085ba}.ugb-panel-tabs{border-bottom:1px solid #e2e4e7!important}[data-ugb-tab]>* .components-panel__body:not(.ugb-panel-tabs){box-shadow:0 -12px 0 #f0f3f5;margin-top:12px;border-bottom:1px solid #e2e4e7}.edit-post-sidebar.ugb--has-panel-tabs{background-color:#f0f3f5}.edit-post-sidebar.ugb--has-panel-tabs>.components-panel{border:0}.edit-post-sidebar.ugb--has-panel-tabs .edit-post-settings-sidebar__panel-block .components-panel__body:last-child{margin-bottom:0}[data-ugb-tab]>*{padding-bottom:0!important}[data-ugb-tab=advanced] .ugb-inspector-panel-controls:not(.ugb-panel-advanced),[data-ugb-tab=layout] .editor-block-inspector__advanced,[data-ugb-tab=layout] .ugb-inspector-panel-controls:not(.ugb-panel-layout),[data-ugb-tab=style] .editor-block-inspector__advanced,[data-ugb-tab=style] .ugb-inspector-panel-controls:not(.ugb-panel-style){display:none}.ugb--panel-tabs-dummy{height:80px;margin-top:16px}.ugb--fixed-tabs{position:fixed;top:136px;width:279px;background:#fff;z-index:2;box-shadow:0 20px 30px -20px rgba(0,0,0,.1);margin-top:0!important}.ugb-design-control-pro-note{margin:1.5em 0;color:#6d7882;text-align:center;padding:0 30px}.ugb-design-control-pro-note h4{margin:0 0 1em;font-size:1em}.ugb-design-control-pro-note p{font-size:.9em}.ugb-design-control-pro-note a.button{color:#fff;border:0;text-transform:uppercase;display:inline-block;height:auto;width:auto;margin:0 auto;transition:all .3s ease-in-out;box-shadow:none;font-size:9px;line-height:1.2em;border-radius:25px;padding:10px 18px;background:linear-gradient(90deg,#8c33da -30%,#f34957 130%);transition-timing-function:cubic-bezier(.81,.37,.61,1);transition-duration:.2s}.ugb-design-control-pro-note a.button:hover{background:linear-gradient(90deg,#8c33da -70%,#f34957 170%);color:#fff;transform:scale(1.1)}.ugb-design-control-pro-note svg{height:35px;width:35px;margin:0 0 1em}.ugb-design-control-pro-note.ugb-pro-note__small{display:grid;padding:0;grid-template-columns:30px 1fr -webkit-min-content;grid-template-columns:30px 1fr min-content;grid-gap:5px;align-items:center;margin-bottom:0}.ugb-design-control-pro-note.ugb-pro-note__small svg{margin:0;height:25px;width:25px}.ugb-design-control-pro-note.ugb-pro-note__small p{text-align:left;margin:0;font-size:10px}.ugb-design-control-pro-note.ugb-pro-note--fade *{transition:all .3s ease-in-out}.ugb-design-control-pro-note.ugb-pro-note--fade p{opacity:.8}.ugb-design-control-pro-note.ugb-pro-note--fade a,.ugb-design-control-pro-note.ugb-pro-note--fade svg{opacity:.7}.ugb-design-control-pro-note.ugb-pro-note--fade:hover a,.ugb-design-control-pro-note.ugb-pro-note--fade:hover p,.ugb-design-control-pro-note.ugb-pro-note--fade:hover svg{opacity:1}.ugb-pro-control-more-dots{display:flex;background:#fff;margin:0 auto;width:50px;justify-content:center;border-radius:25px;height:25px;align-items:center;cursor:pointer;transition:all .3s ease-in-out;border:none;outline:none}.ugb-pro-control-more-dots .ugb-pro-control-more-dots__dot{width:6px;height:6px;background:#aaa;border-radius:100%;margin:0 2px;transition:all .3s ease-in-out}.ugb-pro-control-more-dots:focus,.ugb-pro-control-more-dots:hover{background:#eee}.ugb-pro-control-more-dots:focus .ugb-pro-control-more-dots__dot,.ugb-pro-control-more-dots:hover .ugb-pro-control-more-dots__dot{background:#555}.ugb-pro-control-button__wrapper{max-height:800px;transition:all .3s ease-in-out;overflow:hidden}.ugb-pro-control-button__wrapper.ugb-pro-control-button--hidden{max-height:0}.ugb-pro-modal{overflow:hidden!important}.ugb-pro-modal .ugb-pro-modal__carousel{width:1000px;height:500px;max-width:100%;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ugb-pro-modal .ugb-pro-modal__carousel-wrapper{width:500%;height:100%;transition:all .5s ease-in-out}.ugb-pro-modal .ugb-pro-modal__carousel--slide-0 .ugb-pro-modal__carousel-wrapper{transform:translateX(0)}.ugb-pro-modal .ugb-pro-modal__carousel--slide-1 .ugb-pro-modal__carousel-wrapper{transform:translateX(-20%)}.ugb-pro-modal .ugb-pro-modal__carousel--slide-2 .ugb-pro-modal__carousel-wrapper{transform:translateX(-40%)}.ugb-pro-modal .ugb-pro-modal__carousel--slide-3 .ugb-pro-modal__carousel-wrapper{transform:translateX(-60%)}.ugb-pro-modal .ugb-pro-modal__carousel--slide-4 .ugb-pro-modal__carousel-wrapper{transform:translateX(-80%)}.ugb-pro-modal .ugb-pro-modal__carousel-left,.ugb-pro-modal .ugb-pro-modal__carousel-right{position:absolute;left:0;top:0;bottom:0;width:50%;padding:10px;display:flex;justify-content:flex-start;align-items:center;cursor:pointer}.ugb-pro-modal .ugb-pro-modal__carousel-left svg,.ugb-pro-modal .ugb-pro-modal__carousel-right svg{width:20px}.ugb-pro-modal .ugb-pro-modal__carousel-left:hover svg,.ugb-pro-modal .ugb-pro-modal__carousel-right:hover svg{opacity:.7}.ugb-pro-modal .ugb-pro-modal__carousel-right{left:auto;right:0;justify-content:flex-end}.ugb-pro-modal .components-modal__header{position:absolute;top:0;right:10px;z-index:3;border:0;background:transparent}.ugb-pro-modal .components-modal__content{padding:0}.ugb-pro-modal .components-modal__content img{max-width:1000px;height:100%;width:auto!important}.ugb-pro-modal .ugb-pro-modal__footer{padding:30px;background:#fafafa;text-align:center;display:flex;justify-content:center;align-items:center}.ugb-pro-modal .ugb-pro-modal__footer *{margin:0 5px}.ugb-pro-modal .ugb-pro-modal__footer .button{color:#fff;background:linear-gradient(90deg,#ab5af1 -50%,#fb6874);border:0;padding:5px 15px;height:auto;font-size:14px;text-transform:uppercase;font-weight:700}.ugb-pro-modal .ugb-pro-modal__footer .button:hover{background:linear-gradient(90deg,#ab5af1 -50%,#fb6874 50%)}.ugb-pro-modal .ugb-pro-modal__footer a:not(.button){color:#fb6874;text-decoration:none}.ugb-pro-modal .ugb-pro-modal__footer a:not(.button):hover{color:#ab5af1}.ugb-pro-modal .ugb-pro-modal__footer .button-ghost{box-shadow:inset 0 0 0 2px #fb6874;background:none;color:#fb6874;font-weight:400;text-transform:none}.ugb-pro-modal .ugb-pro-modal__footer .button-ghost:hover{box-shadow:inset 0 0 0 2px #ab5af1;background:none;font-weight:400;color:#ab5af1}.ugb-pro-modal-pricing img{width:1000px;height:500px!important;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ugb-base-control-multi-label__responsive{display:flex;margin-left:6px;align-items:center}.ugb-base-control-multi-label__responsive button{height:11px;width:11px;padding:3px;box-sizing:content-box;background:#eee;border-radius:100%;margin:0 2px 0 3px}.ugb-base-control-multi-label__responsive button svg{height:100%;width:100%}.ugb-base-control-multi-label__responsive button.is-active,.ugb-base-control-multi-label__responsive button:hover{background:#999!important;color:#fff!important;border:none!important;box-shadow:none!important}.ugb-base-control-multi-label__responsive button.is-active:not(:first-child){background:#ab5af1!important}.ugb-small-number-control .components-base-control__field{display:flex;justify-content:space-between;align-items:center}.ugb-small-number-control input{width:80px}.ugb-social-url-text-control+.ugb-social-url-text-control{margin-top:-18px!important}.ugb-svg-icon-placeholder{line-height:1}.ugb-svg-icon-placeholder button{font-size:inherit;padding:0;color:inherit;outline:none!important;background:transparent!important;border:none!important;box-shadow:none!important;cursor:copy;display:inline-block;width:auto}.ugb-svg-icon-placeholder button svg{display:block}.edit-post-sidebar .ugb-url-input-control__input input{width:100%}.ugb-url-input-popover{z-index:99989}.ugb-url-input-popover.is-from-top{margin-top:20px!important}.ugb-url-input-popover.is-from-bottom{margin-top:-20px!important}.ugb-url-input-popover .ugb-url-input-control__input input[type=text]{border-radius:4px;border:1px solid #8d96a0;flex:1}.ugb-url-input-popover .ugb-url-input-control__more-button{margin-left:5px}.ugb-url-input-popover .ugb-url-input-popover__input-wrapper{display:flex;align-items:center}.ugb-url-input-popover .ugb-url-input-control__icon{margin-right:10px}.ugb-url-input-popover.ugb--show-advanced .ugb-url-input-popover__input-wrapper{margin-bottom:16px}.ugb-url-input-popover .ugb-url-input-control__input.ugb-url-input-control__input--plain{flex:1;width:300px}.ugb-url-input-popover .ugb-url-input-control__input.ugb-url-input-control__input--plain .components-base-control__field{margin-bottom:0!important}.ugb-url-input-popover .ugb-url-input-control__more-button[aria-expanded=false].ugb--active:not(:hover){box-shadow:inset 0 0 0 1px #6c7781,inset 0 0 0 2px #fff}.stackable-components-toolbar{border-right:none!important}.stackable-components-toolbar .components-icon-button{justify-content:center}.stackable-components-toolbar .components-icon-button svg{margin:0}.components-stackable-highlight__popover .components-popover__content{overflow:hidden;padding:16px}.ugb-component-inline-color-popover{padding:16px}.ugb-highlight-format__color-picker{margin-bottom:16px}.components-stackable-highlight-color__indicator{position:absolute;background:#000;height:3px;width:20px;bottom:7px;left:auto;right:auto;margin:0}.ugb-bottom-separator .ugb-separator-wrapper,.ugb-top-separator .ugb-separator-wrapper{pointer-events:all}.ugb-panel-controls-separator{margin:0 -16px;background:#f0f3f5;text-transform:uppercase;font-size:8px;text-align:center;color:#bfc8ce;padding:14px 0 0}.ugb--hide-desktop.ugb--hide-desktop.ugb--hide-desktop,.ugb--hide-mobile.ugb--hide-mobile.ugb--hide-mobile,.ugb--hide-tablet.ugb--hide-tablet.ugb--hide-tablet{display:block!important}.ugb--hide-desktop.ugb--hide-desktop.ugb--hide-desktop.ugb-main-block,.ugb--hide-mobile.ugb--hide-mobile.ugb--hide-mobile.ugb-main-block,.ugb--hide-tablet.ugb--hide-tablet.ugb--hide-tablet.ugb-main-block{display:flex!important}.ugb-main-block,[class*=ugb-]+form[class*=-link],[class*=ugb-] form[class*=-link],form[class*=ugb-][class*=-link]{display:flex;justify-content:center;align-items:center}.ugb-main-block{margin-top:35px;margin-bottom:35px;padding:0}.ugb-main-block.alignfull{padding:0 35px}.ugb-block-content,.ugb-inner-block{margin:0;padding:0;width:100%;position:relative}.ugb--full-height{min-height:700px}.ugb--restrict-content-width .ugb-content-wrapper{max-width:var(--content-width);margin:0 auto}.ugb--shadow-0,.ugb-shadow-0{box-shadow:none!important}.ugb--shadow-1,.ugb-shadow-1{box-shadow:0 0 0 1px hsla(0,0%,47.1%,.1)!important}.ugb--shadow-2,.ugb-shadow-2{box-shadow:0 0 0 2px hsla(0,0%,47.1%,.1)!important}.ugb--shadow-3,.ugb-shadow-3{box-shadow:0 5px 5px 0 rgba(18,63,82,.035),0 0 0 1px rgba(176,181,193,.2)!important}.ugb--shadow-4,.ugb-shadow-4{box-shadow:0 2px 20px hsla(0,0%,60%,.2)!important}.ugb--shadow-5,.ugb-shadow-5{box-shadow:0 5px 30px -10px rgba(18,63,82,.3)!important}.ugb--shadow-6,.ugb-shadow-6{box-shadow:0 10px 30px rgba(0,0,0,.05)!important}.ugb--shadow-7,.ugb-shadow-7{box-shadow:7px 5px 30px rgba(72,73,121,.15)!important}.ugb--shadow-8,.ugb-shadow-8{box-shadow:0 10px 60px rgba(0,0,0,.1)!important}.ugb--shadow-9,.ugb-shadow-9{box-shadow:0 70px 130px -60px rgba(72,73,121,.38)!important}div[class^=wp-block-ugb-]{z-index:1}@supports (-webkit-overflow-scrolling:touch){[class*=ugb-][style*="background-attachment:fixed"],[class*=ugb-][style*="background-attachment: fixed"]{background-attachment:scroll!important}}.ugb-block-content:after,.ugb-block-content:before{content:none!important}[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-main-block.ugb--has-block-background,[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>div>.ugb-main-block.ugb--has-block-background{margin-top:0;margin-bottom:0;padding-top:70px;padding-bottom:70px}[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-full .ugb-inner-block,[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>div>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-full .ugb-inner-block{width:100%}.ugb-bottom-block-separator-panel .ugb-design-control,.ugb-top-block-separator-panel .ugb-design-control{max-height:270px}.ugb-top-block-separator-panel .ugb-design-panel-item__image{transform:scaleY(-1)}.ugb-bottom-separator svg,.ugb-top-separator svg{transition:none!important}.editor-styles-wrapper [data-type^="ugb/"] .ugb-main-block .ugb-block-title{margin:0 0 64px}.editor-styles-wrapper [data-type^="ugb/"] .ugb-main-block .ugb-block-title.ugb-block-title--with-subtitle{margin-bottom:16px}.editor-styles-wrapper [data-type^="ugb/"] .ugb-main-block .ugb-block-description{margin:0 0 64px}.ugb-debugger-panel{padding:16px}.ugb-debugger-panel p{margin:0}.ugb-deprecated-tester .ugb-deprecated-tester__load-button{display:flex;align-items:center;transition:all .3s ease-in-out;margin-top:5px}.ugb-deprecated-tester .ugb-deprecated-tester__load-button svg{margin-right:8px}.ugb-deprecated-tester.ugb-deprecated-tester--loading .ugb-deprecated-tester__load-button{opacity:.7}.ugb-deprecated-tester.ugb-deprecated-tester--loading .ugb-deprecated-tester__load-button svg{animation:deprecated-test-rotate 1s linear infinite}.ugb-deprecated-tester--row{display:flex;align-items:center;justify-content:space-between;margin:8px 0}.ugb-deprecated-tester--row button{background:#fafafa;border-color:#ddd}.ugb-deprecated-tester--row.ugb--first{justify-content:flex-end}.ugb-deprecated-tester--row>:last-child{display:flex;justify-content:center;align-items:center}.ugb-deprecated-tester--row>:last-child button{display:inline-block;padding:4px;height:26px;width:26px;margin-left:8px}.ugb-deprecated-tester--row>:last-child svg{height:18px;width:18px}.ugb-deprecated-tester--row .ugb--green{color:#0da00d}.ugb-deprecated-tester--name{display:flex}.ugb-deprecated-tester--name button{padding:0;border:0!important;background:transparent!important;box-shadow:none!important}.ugb-deprecated-tester--name svg{display:inline-block;height:15px;width:15px;vertical-align:text-top;color:#ccc;margin-left:4px}.ugb-deprecated-tester--test-details{display:flex;justify-content:flex-start}.ugb-deprecated-tester--test-details .ugb--version{color:#777}.ugb-deprecated-tester--test-details .ugb--plan{background:#fb6874;color:#fff;padding:0 .5em;border-radius:3px;margin-left:.5em;font-size:.6em;text-transform:uppercase}.ugb-deprecated-tester--test-details .ugb--skipped-note{width:100%;font-style:italic}.ugb-deprecated-tester--test-details .components-icon-button{padding:2px;margin-left:4px}.ugb-deprecated-tester--test-details .components-icon-button svg{height:12px;width:12px}.ugb-deprecated-tester--test-details .components-clipboard-button{font-size:11px;margin-left:6px}.ugb-deprecated-tester--test-detail-wrapper{background:#fafafa;padding:6px;border:1px solid #ddd;border-radius:4px}.ugb-deprecated-tester--test-detail-wrapper>div>div{display:flex;flex-wrap:wrap}.ugb-deprecated-tester--test-detail-wrapper .ugb--failed,.ugb-deprecated-tester--test-detail-wrapper .ugb--passed,.ugb-deprecated-tester--test-detail-wrapper .ugb--skipped{padding:0 6px;border-radius:2px;display:inline-block;background:#a7e8a7;color:#0c7b0c;align-self:flex-end;margin:0 0 0 auto}.ugb-deprecated-tester--test-detail-wrapper .ugb--failed{background:#efd5d5;color:#a70d0d}.ugb-deprecated-tester--test-detail-wrapper .ugb--skipped{background:#eee;color:#666}@keyframes deprecated-test-rotate{0%{transform:rotate(0deg)}to{transform:rotate(-359deg)}}.ugb-html-validator .CodeMirror{height:300px}.ugb-html-validator .components-base-control__help{margin-top:0}.ugb-html-validator--invalid,.ugb-html-validator--valid{font-weight:700;text-transform:uppercase;color:#1fb51f}.ugb-html-validator--invalid{color:#e4174d}@media screen and (max-width:600px){.ugb-main-block.alignfull{padding-right:17.5px;padding-left:17.5px}}@media screen and (min-width:1025px){.ugb--full-height{min-height:100vh}}@media screen and (max-width:900px){.ugb-pro-modal .ugb-pro-modal__carousel{width:700px;height:350px}}@media screen and (min-width:960px){[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-center .ugb-inner-block,[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>div>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-center .ugb-inner-block{max-width:var(--content-width)}}@media screen and (min-width:1280px){[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-wide .ugb-inner-block,[data-type^="ugb/"][data-align=full]>.editor-block-list__block-edit>[data-block]>div>.ugb-main-block.ugb--has-block-background.ugb-main-block--inner-wide .ugb-inner-block{width:1080px}}
dist/editor_blocks.js CHANGED
@@ -1,2 +1,2 @@
1
- var editor_blocks=function(e){function t(t){for(var a,r,l=t[0],c=t[1],s=t[2],b=0,p=[];b<l.length;b++)r=l[b],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&p.push(o[r][0]),o[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(u&&u(t);p.length;)p.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],a=!0,l=1;l<n.length;l++){var c=n[l];0!==o[c]&&(a=!1)}a&&(i.splice(t--,1),e=r(r.s=n[0]))}return e}var a={},o={0:0},i=[];function r(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.m=e,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="";var l=window.webpackJsonp_name_=window.webpackJsonp_name_||[],c=l.push.bind(l);l.push=t,l=l.slice();for(var s=0;s<l.length;s++)t(l[s]);var u=c;return i.push([334,1]),n()}([function(e,t){e.exports=wp.i18n},function(e,t){e.exports=stackable},function(e,t,n){"use strict";var a=n(1),o=[],i={ru_RU:"cyrillic",bg_BG:"cyrillic",he_IL:"hebrew",el:"greek",vi:"vietnamese",uk:"cyrillic",cs_CZ:"latin-ext",ro_RO:"latin-ext",pl_PL:"latin-ext"},r=function(e){return!e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)},l=function(e){if(!o.includes(e)){if(document&&r(e)){var t=document.createElement("link");t.setAttribute("href",function(e){var t=e.replace(/ /g,"+"),n=i[a.locale]?"&subset=".concat(i):"";return"https://fonts.googleapis.com/css?family=".concat(t,":100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic").concat(n)}(e)),t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),document.querySelector("head").appendChild(t)}o.push(e)}},c=function(e){return r(e)?'"'.concat(e,'", Sans-serif'):e.match(/^serif$/i)?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':e.match(/^serif-alt$/i)?'Constantia, Lucida Bright, Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif':e.match(/^monospace$/i)?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},s=function(e){Object.keys(e).filter(function(e){return e.match(/fontfamily/i)}).forEach(function(t){var n=e[t];n&&l(n)})},u=n(10),b=n(0);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(n,!0).forEach(function(t){m(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(u.camelCase)(Object(b.sprintf)(e,t,n))},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[];return a.length?n.reduce(function(n,o){return g({},n,{},a.reduce(function(n,a,i){var r=g({},t);return void 0!==r.selector&&(r.selector=Object(b.sprintf)(r.selector,i+1)),n[Object(u.camelCase)(Object(b.sprintf)(e,o,a))]=r,n},{}))},{}):n.reduce(function(n,a,o){var i=g({},t);return void 0!==i.selector&&(i.selector=Object(b.sprintf)(i.selector,o+1)),n[Object(u.camelCase)(Object(b.sprintf)(e,a))]=i,n},{})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f(e,t,["","Tablet","Mobile"])},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(u.omit)(e,t.map(function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))}))},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return t.length?Object(u.pick)(e,t.map(function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))})):e},w=function(e){return Object.keys(h(e))};function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(n,!0).forEach(function(t){k(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},f(e,{type:"string",default:""},["FontFamily","FontWeight","TextTransform"]),{},f(e,{type:"number",default:""},["LetterSpacing","FontSize","TabletFontSize","MobileFontSize","LineHeight","TabletLineHeight","MobileLineHeight"]),{},f(e,{type:"string",default:"px"},["FontSizeUnit","TabletFontSizeUnit","MobileFontSizeUnit"]),{},f(e,{type:"string",default:"em"},["LineHeightUnit","TabletLineHeightUnit","MobileLineHeightUnit"]))},j=_,C=function(e){return Object.keys(_(e))},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},i=nt(n,o,""),r=a.importantSize,l=void 0!==r&&r,s=a.important,p=void 0!==s&&s,g={};return g="tablet"!==t&&"mobile"!==t?{fontFamily:""!==i("FontFamily")?et(c(i("FontFamily"))):void 0,fontSize:""!==i("FontSize")?et("".concat(i("FontSize")).concat(i("FontSizeUnit")||"px"),l):void 0,fontWeight:""!==i("FontWeight")?i("FontWeight"):void 0,textTransform:""!==i("TextTransform")?i("TextTransform"):void 0,letterSpacing:""!==i("LetterSpacing")?"".concat(i("LetterSpacing"),"px"):void 0,lineHeight:""!==i("LineHeight")?"".concat(i("LineHeight")).concat(i("LineHeightUnit")||"em"):void 0}:"tablet"===t?{fontSize:""!==i("TabletFontSize")?et("".concat(i("TabletFontSize")).concat(i("TabletFontSizeUnit")||"px"),l):void 0,lineHeight:""!==i("TabletLineHeight")?"".concat(i("TabletLineHeight")).concat(i("TabletLineHeightUnit")||"em"):void 0}:{fontSize:""!==i("MobileFontSize")?et("".concat(i("MobileFontSize")).concat(i("MobileFontSizeUnit")||"px"),l):void 0,lineHeight:""!==i("MobileLineHeight")?"".concat(i("MobileLineHeight")).concat(i("MobileLineHeightUnit")||"em"):void 0},p?Qe(g):g};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(n,!0).forEach(function(t){S(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},f(e,{type:"string",default:""},["BackgroundColorType","BackgroundColor","BackgroundColor2","BackgroundMediaId","BackgroundMediaUrl","TabletBackgroundMediaId","TabletBackgroundMediaUrl","MobileBackgroundMediaId","MobileBackgroundMediaUrl","BackgroundGradientBlendMode","BackgroundPosition","TabletBackgroundPosition","MobileBackgroundPosition","BackgroundRepeat","TabletBackgroundRepeat","MobileBackgroundRepeat","BackgroundSize","TabletBackgroundSize","MobileBackgroundSize","BackgroundImageBlendMode"]),{},f(e,{type:"number",default:""},["BackgroundColorOpacity","BackgroundTintStrength","BackgroundGradientDirection","BackgroundCustomSize","TabletBackgroundCustomSize","MobileBackgroundCustomSize","BackgroundGradientLocation1","BackgroundGradientLocation2"]),{},f(e,{type:"boolean",default:""},["FixedBackground"]),{},f(e,{type:"string",default:"%"},["BackgroundCustomSizeUnit","TabletBackgroundCustomSizeUnit","MobileBackgroundCustomSizeUnit"]))},T=B,A=function(e){return Object.keys(B(e))};function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(n,!0).forEach(function(t){F(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},i=nt(n,o),r=a.importantBackgroundColor,l=void 0!==r&&r,c=i("BackgroundCustomSize")?i("BackgroundCustomSize")+(i("BackgroundCustomSizeUnit")||"%"):void 0,s=i("TabletBackgroundCustomSize")?i("TabletBackgroundCustomSize")+(i("TabletBackgroundCustomSizeUnit")||"%"):void 0,p=i("MobileBackgroundCustomSize")?i("MobileBackgroundCustomSize")+(i("MobileBackgroundCustomSizeUnit")||"%"):void 0,g=et(i("BackgroundColor"),l);return i("BackgroundColorType")||void 0===n[o("BackgroundColorOpacity")]||""===n[o("BackgroundColorOpacity")]||i("BackgroundMediaURL")||i("TabletBackgroundMediaURL")||i("MobileBackgroundMediaURL")||(g=et("".concat(Bt(i("BackgroundColor")||"#ffffff",i("BackgroundColorOpacity")||0)),l)),"tablet"!==t&&"mobile"!==t?{backgroundColor:g,backgroundAttachment:i("FixedBackground")?"fixed":void 0,backgroundImage:i("BackgroundMediaURL","url(%s)"),backgroundPosition:i("BackgroundPosition"),backgroundRepeat:i("BackgroundRepeat"),backgroundSize:i("BackgroundSize")?"custom"!==i("BackgroundSize")?i("BackgroundSize"):c:void 0,backgroundBlendMode:i("BackgroundImageBlendMode")}:"tablet"===t?{backgroundImage:i("TabletBackgroundMediaURL","url(%s)"),backgroundPosition:i("TabletBackgroundPosition"),backgroundRepeat:i("TabletBackgroundRepeat"),backgroundSize:i("TabletBackgroundSize")?"custom"!==i("TabletBackgroundSize")?i("TabletBackgroundSize"):s:void 0}:{backgroundImage:i("MobileBackgroundMediaURL","url(%s)"),backgroundPosition:i("MobileBackgroundPosition"),backgroundRepeat:i("MobileBackgroundRepeat"),backgroundSize:i("MobileBackgroundSize")?"custom"!==i("MobileBackgroundSize")?i("MobileBackgroundSize"):p:void 0}},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},i=nt(n,o),r=a.importantBackgroundColor,l=void 0!==r&&r,c=parseInt(i("BackgroundTintStrength","",5)||0,10)/10,s="gradient"===i("BackgroundColorType"),p=Bt(i("BackgroundColor2")||"#ffffff",0),g=Bt(i("BackgroundColor")||"#ffffff",0),m="".concat(i("BackgroundGradientLocation1")||"0","%"),d="".concat(i("BackgroundGradientLocation2")||"100","%");return"tablet"!==t&&"mobile"!==t?{backgroundColor:et(!s&&i("BackgroundColor")?i("BackgroundColor"):void 0,l),backgroundImage:et(s?"linear-gradient(".concat(i("BackgroundGradientDirection","%sdeg","90deg"),", ").concat(i("BackgroundColor")||p," ").concat(m,", ").concat(i("BackgroundColor2")||g," ").concat(d,")"):void 0,l),opacity:i("BackgroundMediaURL")?c:void 0,mixBlendMode:s?i("BackgroundGradientBlendMode"):void 0}:"tablet"===t?{opacity:i("TabletBackgroundMediaURL")?c:void 0}:{opacity:i("MobileBackgroundMediaURL")?c:void 0}},M=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},a=nt(t,n);return"gradient"===a("BackgroundColorType")||a("BackgroundMediaUrl")||a("TabletBackgroundMediaUrl")||a("MobileBackgroundMediaUrl")},z=function(){var e,t,n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return F(n={},".".concat(o),P({},R(a,"desktop",i,r))),F(n,".".concat(o,":before"),P({},D(a,"desktop",i,r))),F(n,"tablet",(F(e={},".".concat(o),P({},R(a,"tablet",i,r))),F(e,".".concat(o,":before"),P({},D(a,"tablet",i,r))),e)),F(n,"mobile",(F(t={},".".concat(o),P({},R(a,"mobile",i,r))),F(t,".".concat(o,":before"),P({},D(a,"mobile",i,r))),t)),n},I=R,L=n(8),U=n.n(L),H=n(7),W=function(e,t){var n=nt(t.attributes,function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},""),a=n("BackgroundMediaUrl"),o=n("TabletBackgroundMediaUrl"),i=n("MobileBackgroundMediaUrl"),r=U()(["ugb-video-background"],{"ugb--video-hide-tablet":o,"ugb--video-hide-mobile":i}),l=U()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-mobile":i}),c=U()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-tablet":!0});return wp.element.createElement(H.Fragment,null,xt(a)&&wp.element.createElement("video",{className:r,autoPlay:!0,muted:!0,loop:!0,src:a}),xt(o)&&wp.element.createElement("video",{className:l,autoPlay:!0,muted:!0,loop:!0,src:o}),xt(i)&&wp.element.createElement("video",{className:c,autoPlay:!0,muted:!0,loop:!0,src:i}))};function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(n,!0).forEach(function(t){V(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var X=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-img":n,o=t.exclude,i=void 0===o?[]:o;return v(q({},f(e,{type:"string",default:"",source:"attribute",selector:a,attribute:"src"},["Url"]),{},f(e,{type:"string",default:"",source:"attribute",selector:a,attribute:"alt"},["Alt"]),{},f(e,{type:"string",default:""},["Shape","Size","BlendMode","BackgroundPosition"]),{},f(e,{type:"number",default:""},["Id","Width","Height","TabletWidth","MobileWidth","BorderRadius","Shadow"]),{},f(e,{type:"boolean",default:""},["ShapeStretch","ShapeFlipX","ShapeFlipY","Square"]),{},f(e,{type:"string",default:"large"},["Size"])),i,e)},Y=X,K=n(4),J=n.n(K);function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=J.a.createElement("circle",{cx:50,cy:50,r:50}),Q=function(e){return J.a.createElement("svg",$({viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},e),Z)};function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=J.a.createElement("path",{className:"square_svg__st0",d:"M0 0h200v200H0z"}),ne=function(e){return J.a.createElement("svg",ee({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),te)};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var oe=J.a.createElement("path",{d:"M188.5 31.9c12.9 15.9 12.5 43.3 10.3 77.1s-6.2 74.2-26.2 86.5-56.1-3.3-89.4-21.2-63.7-38.1-76.4-69.8C-5.9 73-.8 29.9 21.6 11.7 44-6.4 83.8.5 116.7 6.1s59 10 71.8 25.8z"}),ie=function(e){return J.a.createElement("svg",ae({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),oe)},re=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(H.renderToString)(e).replace(/viewbox/,"viewBox").replace(/preserveaspectratio/,"preserveAspectRatio");return t?n.replace(/#/g,"%23"):n},le=n(5);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(n,!0).forEach(function(t){ue(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var be={circle:Q,square:ne,blob1:ie},pe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},o=nt(n,a),i=o("Shape"),r=function(e){return o("Square")&&o(e)?o(e,"%spx"):"auto"};return"tablet"!==t&&"mobile"!==t?{borderRadius:i?void 0:o("BorderRadius","%spx"),width:o("Width","%spx"),height:o("Width")?et(r("Width")):void 0}:"tablet"===t?{width:o("TabletWidth","%spx"),height:o("TabletWidth")?et(r("TabletWidth")):void 0}:{width:o("MobileWidth","%spx"),height:o("MobileWidth")?et(r("MobileWidth")):void 0}},ge=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},a=nt(t,n),o=a("Shape");if(!o)return{};var i=a("ShapeStretch"),r=a("ShapeFlipX"),l=a("ShapeFlipY"),c=Object(le.applyFilters)("stackable.image.shape.svgs",be)[o],s=wp.element.createElement(c,{preserveAspectRatio:!["","square"].includes(o)&&i?"none":void 0,transform:r||l?"scale(".concat(r?-1:1,",").concat(l?-1:1,")"):void 0}),p=btoa(re(s));return{"-webkit-mask-image":"url('data:image/svg+xml;base64,".concat(p,"')"),"mask-image":"url('data:image/svg+xml;base64,".concat(p,"')")}},me=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return ue(e={},".".concat(n),se({},pe(t,"desktop",a,o),{},ge(t,a,o))),ue(e,"tablet",ue({},".".concat(n),se({},pe(t,"tablet",a,o)))),ue(e,"mobile",ue({},".".concat(n),se({},pe(t,"mobile",a,o)))),e},de=n(13),fe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{width:e.media_details?e.media_details.width:"",height:e.media_details?e.media_details.height:"",source_url:e.source_url||""}},he=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?e.media_details&&e.media_details.sizes&&e.media_details.sizes[t]||fe(e):null};window._stackableCachedImageData={};var ve=function(e,t){var n=t("core").getMedia,a=e?n(e):null;return a&&void 0!==a.id&&(window._stackableCachedImageData[a.id]=a),a},ye=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"full",n=we(e)||ve(e,de.select);return n?n.media_details.sizes[t]?n.media_details.sizes[t].source_url:n.source_url:""},we=function(e){return window._stackableCachedImageData[e]||null};function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(n,!0).forEach(function(t){_e(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var je=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.exclude,a=void 0===n?[]:n;return v(ke({},f(e,{type:"string",default:""},["Url","BackgroundPosition","BackgroundRepeat","BackgroundSize"]),{},f(e,{type:"number",default:""},["Id","BackgroundCustomSize"]),{},f(e,{type:"string",default:"large"},["Size"]),{},f(e,{type:"string",default:"px"},["BackgroundCustomSizeUnit"])),a,e)},Ce=je,xe=function(e){return Object.keys(je(e))};function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(n,!0).forEach(function(t){Be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Te=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"desktop",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},o=nt(n,a);return"tablet"!==t&&"mobile"!==t?{backgroundImage:o("Url","url(%s)"),backgroundPosition:et(o("BackgroundPosition")),backgroundRepeat:et(o("BackgroundRepeat")),backgroundSize:et("custom"!==o("BackgroundSize")?o("BackgroundSize"):o("BackgroundCustomSize")?o("BackgroundCustomSize")+o("BackgroundCustomSizeUnit","%s","px"):void 0)}:{}},Ae=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Be(e={},".".concat(n),Se({},Te(t,"desktop",a,o))),Be(e,"tablet",Be({},".".concat(n),Se({},Te(t,"tablet",a,o)))),Be(e,"mobile",Be({},".".concat(n),Se({},Te(t,"mobile",a,o)))),e};function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(n,!0).forEach(function(t){Fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Re=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,o=void 0===n?".ugb-button":n,i=t.defaultText,r=void 0===i?Object(b.__)("Button text",a.i18n):i,l=t.exclude,c=void 0===l?[]:l,s=t.include,u=void 0===s?[]:s;return y(v(Pe({},j(e),{},f(e,{type:"string",source:"html",selector:"".concat(o," span"),default:r},["Text"]),{},f(e,{type:"string",source:"attribute",selector:o,attribute:"href",default:""},["Url"]),{},f(e,{type:"boolean",source:"attribute",selector:o,attribute:"target",default:""},["NewTab"]),{},f(e,{type:"string",default:""},["Design","Size","Icon","IconPosition","TextColor","BackgroundColorType","BackgroundColor","BackgroundColor2","HoverEffect","HoverTextColor","HoverBackgroundColor","HoverBackgroundColor2"]),{},f(e,{type:"number",default:""},["Opacity","HoverOpacity","PaddingTop","PaddingRight","PaddingBottom","PaddingLeft","BorderRadius","BorderWidth","Shadow","IconSize","IconSpacing","BackgroundGradientDirection","HoverBackgroundGradientDirection"]),{},f(e,{type:"boolean",default:""},["HoverGhostToNormal","NoFollow"])),c,e),u,e)},De=Re,Me=function(e){return Object.keys(Re(e))},ze=n(14),Ie=n.n(ze);function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(n,!0).forEach(function(t){He(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var We=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=function(e){return Object(u.camelCase)(Object(b.sprintf)(t,e))},r=nt(a,i,""),l=[];l.push((He(e={},".".concat(n," .ugb-button--inner"),Ue({},x(t,"desktop",a))),He(e,"tablet",He({},".".concat(n," .ugb-button--inner"),Ue({},x(t,"tablet",a)))),He(e,"mobile",He({},".".concat(n," .ugb-button--inner"),Ue({},x(t,"mobile",a)))),e));var c=r("BackgroundColor2"),s=r("BackgroundColor"),p=!1;if(""===r("Design")||"basic"===r("Design")){var g;l.push((He(g={},".".concat(n),{backgroundColor:""!==r("BackgroundColor")?r("BackgroundColor"):void 0,backgroundImage:"gradient"===r("BackgroundColorType")?"linear-gradient(".concat(""!==a[i("BackgroundGradientDirection")]?r("BackgroundGradientDirection","%sdeg","90deg"):"90deg",", ").concat(r("BackgroundColor")||c,", ").concat(r("BackgroundColor2")||s,")"):void 0,paddingTop:""!==r("PaddingTop")?"".concat(r("PaddingTop"),"px"):void 0,paddingRight:""!==r("PaddingRight")?"".concat(r("PaddingRight"),"px"):void 0,paddingBottom:""!==r("PaddingBottom")?"".concat(r("PaddingBottom"),"px"):void 0,paddingLeft:""!==r("PaddingLeft")?"".concat(r("PaddingLeft"),"px"):void 0}),He(g,".".concat(n," .ugb-button--inner, .").concat(n," svg"),{color:et(Ze(r("TextColor"),r("BackgroundColor")))}),He(g,".".concat(n,":hover .ugb-button--inner, .").concat(n,":hover svg"),{color:Ze(r("HoverTextColor"),r("HoverBackgroundColor"))}),He(g,".".concat(n,":hover"),{backgroundColor:""!==r("HoverBackgroundColor")?r("HoverBackgroundColor"):void 0}),g)),p=""!==r("HoverBackgroundColor");var m="gradient"===r("BackgroundColorType")&&(r("HoverBackgroundColor")||r("HoverBackgroundColor2")||r("HoverBackgroundGradientDirection"));l.push(He({},".".concat(n,":before"),{content:m?'""':void 0,backgroundImage:m?"linear-gradient(".concat(r("HoverBackgroundGradientDirection","%sdeg")||r("BackgroundGradientDirection","%sdeg","90deg"),", ").concat(r("HoverBackgroundColor")||r("BackgroundColor")||c,", ").concat(r("HoverBackgroundColor2")||r("BackgroundColor2")||s,")"):void 0})),p=p||m||""!==r("HoverTextColor")}if("ghost"===r("Design")){var d,f;if(l.push((He(d={},".".concat(n),{borderColor:""!==r("BackgroundColor")?et(r("BackgroundColor")):void 0,borderWidth:""!==r("BorderWidth")?"".concat(r("BorderWidth"),"px"):void 0,paddingTop:""!==r("PaddingTop")?"".concat(r("PaddingTop"),"px"):void 0,paddingRight:""!==r("PaddingRight")?"".concat(r("PaddingRight"),"px"):void 0,paddingBottom:""!==r("PaddingBottom")?"".concat(r("PaddingBottom"),"px"):void 0,paddingLeft:""!==r("PaddingLeft")?"".concat(r("PaddingLeft"),"px"):void 0}),He(d,".".concat(n," .ugb-button--inner"),{color:""!==r("BackgroundColor")?et(r("BackgroundColor")):void 0}),He(d,".".concat(n,":hover"),{borderColor:""!==r("HoverBackgroundColor")?r("HoverBackgroundColor"):void 0}),He(d,".".concat(n,":hover .ugb-button--inner"),{color:""!==r("HoverBackgroundColor")?r("HoverBackgroundColor"):""!==r("BackgroundColor")?r("BackgroundColor"):void 0}),d)),""!==r("Icon")||o)l.push((He(f={},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:""!==r("BackgroundColor")?r("BackgroundColor"):void 0}),He(f,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:""!==r("HoverBackgroundColor")?r("HoverBackgroundColor"):""!==r("BackgroundColor")?r("BackgroundColor"):void 0}),f));p=""!==r("HoverBackgroundColor");var h,v=r("HoverGhostToNormal");if(v)l.push((He(h={},".".concat(n,":before"),{content:'""',backgroundImage:"linear-gradient(".concat(r("HoverBackgroundGradientDirection","%sdeg","90deg"),", ").concat(r("HoverBackgroundColor")||r("BackgroundColor"),", ").concat(r("HoverBackgroundColor2")||r("HoverBackgroundColor")||r("BackgroundColor"),")"),top:""!==r("BorderWidth")?"-".concat(r("BorderWidth"),"px"):void 0,right:""!==r("BorderWidth")?"-".concat(r("BorderWidth"),"px"):void 0,bottom:""!==r("BorderWidth")?"-".concat(r("BorderWidth"),"px"):void 0,left:""!==r("BorderWidth")?"-".concat(r("BorderWidth"),"px"):void 0}),He(h,".".concat(n,":hover"),{backgroundColor:et(""!==r("HoverBackgroundColor")?r("HoverBackgroundColor"):r("BackgroundColor"))}),He(h,".".concat(n,":hover .ugb-button--inner"),{color:et(Ze(r("HoverTextColor"),r("HoverBackgroundColor")||r("BackgroundColor")))}),h)),(""!==r("Icon")||o)&&l.push(He({},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:et(Ze(r("HoverTextColor"),r("HoverBackgroundColor")||r("BackgroundColor")))})),p=!0}if("plain"===r("Design")){var y,w;if(l.push((He(y={},".".concat(n," .ugb-button--inner"),{color:""!==r("BackgroundColor")?et(r("BackgroundColor")):void 0}),He(y,".".concat(n,":hover .ugb-button--inner"),{color:""!==r("HoverBackgroundColor")?r("HoverBackgroundColor"):void 0}),y)),""!==r("Icon")||o)l.push((He(w={},".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:""!==r("BackgroundColor")?r("BackgroundColor"):void 0}),He(w,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:""!==r("HoverBackgroundColor")?r("HoverBackgroundColor"):void 0}),w));p=""!==r("HoverBackgroundColor")}if("link"!==r("Design")){var O,k=""!==a[i("IconSpacing")]&&void 0!==a[i("IconSpacing")]?"".concat(r("IconSpacing","%spx",16)):void 0,_=a[i("BorderRadius")];l.push((He(O={},".".concat(n),{opacity:""!==r("Opacity")?r("Opacity"):void 0,borderRadius:""!==_&&void 0!==_?et("".concat(_,"px")):void 0}),He(O,".".concat(n,":before"),{borderRadius:""!==_&&void 0!==_?et("".concat(_,"px")):void 0}),He(O,".".concat(n,":hover"),{opacity:""!==r("HoverOpacity")?r("HoverOpacity"):p?1:void 0}),He(O,".".concat(n,".ugb-button--has-icon.ugb-button--has-icon svg"),{marginLeft:(""!==r("Icon")||o)&&"right"===r("IconPosition")?k:void 0,marginRight:(""!==r("Icon")||o)&&"right"!==r("IconPosition")?k:void 0,width:""!==r("IconSize")||o?"".concat(r("IconSize"),"px"):void 0,height:""!==r("IconSize")||o?"".concat(r("IconSize"),"px"):void 0}),O))}return Ie.a.all(l)},Ge=n(58),qe=n.n(Ge);function Ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ye=function(e){try{if(!e.match(/^#/))return qe()(e);var t=e.replace(/#/g,"");return 3===t.length&&(t=t.replace(/(.)(.)(.)/,"$1$1$2$2$3$3")),qe()("#".concat(t))}catch(e){return!1}},Ke=function(e){return"left"===e?0:"auto"},Je=function(e){return"right"===e?0:"auto"},$e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=""!==e?e:void 0;return!n&&t&&Ye(t)?"#ffffff":n},Ze=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"#ffffff",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#222222",o=""!==e?e:void 0;return!o&&t?Ye(t)?n:a:o},Qe=function(e){return Object.keys(e).reduce(function(t,n){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ve(n,!0).forEach(function(t){Xe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ve(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,Xe({},n,et(e[n])))},{})},et=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return""!==e&&void 0!==e&&t&&!String(e).match(/!important/i)?"".concat(e," !important"):e},tt=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"%s",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"marginBottom",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"%spx",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},r=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=nt(i);return[(t={},Xe(t,e,Xe({},a,et(l(Object(b.sprintf)(n,""),o),r))),Xe(t,"tablet",Xe({},e,Xe({},a,et(l(Object(b.sprintf)(n,"Tablet"),o),r)))),Xe(t,"mobile",Xe({},e,Xe({},a,et(l(Object(b.sprintf)(n,"Mobile"),o),r)))),t)]},nt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return function(a){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n,r=null!==t?t:function(e){return Object(u.lowerFirst)(e)},l=void 0===e[r(a)]?"":e[r(a)];return""!==l?o?Object(b.sprintf)(o.replace(/%$/,"%%"),l):l:i}};function at(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?at(n,!0).forEach(function(t){it(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):at(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function it(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.selector,a=void 0===n?".ugb-button-%s":n,o=t.exclude,i=void 0===o?[]:o,r=t.include,l=void 0===r?[]:r,c=Object.keys(pt).reduce(function(n,o){return ot({},n,{},f(e,{type:"string",source:"attribute",selector:Object(b.sprintf)(a,o),attribute:"href",default:t["".concat(o,"Default")]?t["".concat(o,"Default")]:""},["".concat(Object(u.upperFirst)(o),"Url")]))},{});return y(v(ot({},De(e,{exclude:["Text","Url","NoFollow","Icon","IconPosition","NewTab"]}),{},f(e,{type:"boolean",default:""},["NewTab"]),{},f(e,{type:"boolean",default:!0},["UseSocialColors"]),{},c),i,e),l,e)},lt=rt;function ct(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ct(n,!0).forEach(function(t){ut(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ct(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ut(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bt=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"%s",a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))},r=nt(o,i,""),l=[];if(l.push(st({},We(n,a,o,!0))),!r("UseSocialColors"))return Ie.a.all(l);""!==r("Design")&&"basic"!==r("Design")||l.push((ut(e={},".".concat(a),{backgroundColor:void 0,backgroundImage:void 0}),ut(e,".".concat(a," .ugb-button--inner, .").concat(a," svg"),{color:void 0}),ut(e,".".concat(a,":hover .ugb-button--inner, .").concat(a,":hover svg"),{color:void 0}),ut(e,".".concat(a,":hover"),{backgroundColor:void 0}),ut(e,".".concat(a,":before"),{content:void 0,backgroundImage:void 0}),e));if("ghost"===r("Design")){var c;l.push((ut(c={},".".concat(a),{borderColor:void 0}),ut(c,".".concat(a," .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:void 0}),ut(c,".".concat(a,":hover"),{borderColor:void 0}),ut(c,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),c));var s,p=r("HoverGhostToNormal");if(p)l.push((ut(s={},".".concat(a,":before"),{content:void 0,backgroundImage:void 0,top:void 0,right:void 0,bottom:void 0,left:void 0}),ut(s,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),s))}"plain"===r("Design")&&l.push((ut(t={},".".concat(a," .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:void 0}),ut(t,".".concat(a,":hover .ugb-button--inner, .").concat(a,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:void 0}),t));return Ie.a.all(l)},pt={facebook:{label:Object(b.__)("Facebook",a.i18n),icon:"fab-facebook-f"},twitter:{label:Object(b.__)("Twitter",a.i18n),icon:"fab-twitter"},instagram:{label:Object(b.__)("Instagram",a.i18n),icon:"fab-instagram"},pinterest:{label:Object(b.__)("Pinterest",a.i18n),icon:"fab-pinterest-p"},linkedin:{label:Object(b.__)("LinkedIn",a.i18n),icon:"fab-linkedin-in"},youtube:{label:Object(b.__)("YouTube",a.i18n),icon:"fab-youtube"},email:{label:Object(b.__)("Email",a.i18n),icon:"far-envelope"}},gt=n(18);function mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mt(n,!0).forEach(function(t){ft(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ft(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ht=["uniqueClass"],vt={};function yt(e){return vt[e.name]||(vt[e.name]=Object(gt.createBlock)(e.name).attributes),Object.keys(vt[e.name]).every(function(t){return!!ht.includes(t)||vt[e.name][t]===e.attributes[t]})}var wt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=Object(de.select)("core/block-editor"),a=n.getBlockName,o=n.getSelectedBlockClientId,i=n.getBlockAttributes,r=Object(de.dispatch)("core/block-editor"),l=r.updateBlockAttributes,c=Object(de.select)("core/blocks"),b=c.getBlockType,p=t||o();if(p){var g=i(p),m=a(p).replace(/^\w+\//g,""),d=b(a(p)).attributes,f=Object.keys(d).reduce(function(e,t){return dt({},e,ft({},t,d[t]?d[t].default:""))},{}),h=Object(le.applyFilters)("stackable.".concat(m,".design.filtered-block-attributes"),dt({},f,{},e),g),v=Object(le.applyFilters)("stackable.".concat(m,".design.no-text-attributes"),h,g);s(v),l(p,Object(u.omit)(v,["uniqueClass"]))}};function Ot(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var kt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Object(H.useState)(function(){try{var n=window.localStorage.getItem(e);return n?JSON.parse(n):t}catch(e){return t}}),a=Ot(n,2),o=a[0],i=a[1],r=function(t){try{var n=t instanceof Function?t(o):t;i(n),window.localStorage.setItem(e,JSON.stringify(n))}catch(e){}};return[o,r]},_t=n(80),jt=n.n(_t);n.d(t,"X",function(){return Ct}),n.d(t,"bb",function(){return xt}),n.d(t,"L",function(){return Et}),n.d(t,"F",function(){return St}),n.d(t,"N",function(){return Bt}),n.d(t,"V",function(){return Tt}),n.d(t,"g",function(){return At}),n.d(t,"W",function(){return Nt}),n.d(t,"K",function(){return Ft}),n.d(t,"Z",function(){return Rt}),n.d(t,"P",function(){return Mt}),n.d(t,"Y",function(){return zt}),n.d(t,"R",function(){return l}),n.d(t,"H",function(){return c}),n.d(t,"S",function(){return s}),n.d(t,"G",function(){return d}),n.d(t,"h",function(){return f}),n.d(t,"x",function(){return h}),n.d(t,"w",function(){return w}),n.d(t,"C",function(){return j}),n.d(t,"D",function(){return x}),n.d(t,"B",function(){return C}),n.d(t,"j",function(){return T}),n.d(t,"i",function(){return A}),n.d(t,"m",function(){return I}),n.d(t,"k",function(){return D}),n.d(t,"l",function(){return z}),n.d(t,"M",function(){return M}),n.d(t,"E",function(){return W}),n.d(t,"q",function(){return Y}),n.d(t,"v",function(){return me}),n.d(t,"u",function(){return ge}),n.d(t,"I",function(){return he}),n.d(t,"f",function(){return ve}),n.d(t,"J",function(){return ye}),n.d(t,"s",function(){return Ce}),n.d(t,"r",function(){return xe}),n.d(t,"t",function(){return Ae}),n.d(t,"o",function(){return De}),n.d(t,"n",function(){return Me}),n.d(t,"p",function(){return We}),n.d(t,"O",function(){return Ye}),n.d(t,"T",function(){return Ke}),n.d(t,"U",function(){return Je}),n.d(t,"db",function(){return $e}),n.d(t,"eb",function(){return Ze}),n.d(t,"d",function(){return Qe}),n.d(t,"c",function(){return et}),n.d(t,"y",function(){return tt}),n.d(t,"b",function(){return nt}),n.d(t,"z",function(){return lt}),n.d(t,"A",function(){return bt}),n.d(t,"a",function(){return pt}),n.d(t,"Q",function(){return yt}),n.d(t,"e",function(){return wt}),n.d(t,"ab",function(){return re}),n.d(t,"cb",function(){return kt});var Ct=function(e,t){return Array.from({length:t-e},function(t,n){return n+e})},xt=function(e){return e.match(/(mp4|webm|ogg)/i)},Et=function(e){var t="";return(t=(e.match(/youtube\.com\/watch\?v=([^\&\?\/]+)/i)||[])[1])||(t=(e.match(/youtube\.com\/embed\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtube\.com\/v\/([^\&\?\/]+)/i)||[])[1]),t||(t=(e.match(/youtu\.be\/([^\&\?\/]+)/i)||[])[1]),t?{type:"youtube",id:t}:((t=(e.match(/vimeo\.com\/(\w*\/)*(\d+)/i)||[])[2])||(t=(e.match(/^\d+$/i)||[])[0]),t?{type:"vimeo",id:t}:{type:"youtube",id:e})},St=function e(t){return"short"===t?Object(b.__)("Description for this block. You can use this space for describing your block.",a.i18n):"medium"===t?"".concat(e()," ").concat(e("short")):"long"===t?"".concat(e("medium")," ").concat(e()," ").concat(e("short")):Object(b.__)("Description for this block. Use this space for describing your block. Any text will do.",a.i18n)},Bt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=e.replace(/#/,"");n.length<=4&&(n=n.replace(/#?(.)(.)(.)/,"$1$1$2$2$3$3"));var a=jt()("#".concat(n,"ff"));return a[3]=null!==t?t:1,"rgba(".concat(a.join(", "),")")},Tt=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.replace(/\/\*.*?\*\//g,"").replace(/\n\s*\n/g,"").replace(/[\n\r \t]/g," ").replace(/ +/g," ").replace(/ ?([,:;{}]) ?/g,"$1").replace(/[^\}\{]+\{\}/g,"").replace(/[^\}\{]+\{\}/g,"").replace(/;}/g,"}").trim();return t?n.replace(/\s?\!important/g,"").replace(/([;\}])/g," !important$1").replace(/\} !important\}/g,"}}").trim():n},At=function(e,t,n){return(e||"").replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/(.*)?\n/g,"").replace(/([^}]+)({)/g,function(e,a,o){if(a.match(/@\w+/g))return a.replace(/(@\w+[^{]+{\s*)([^{]+)/g,function(e,a,i){var r=Nt(i,t,n);return"".concat(a," ").concat(r," ").concat(o)});var i=Nt(a,t,n);return"".concat(i," ").concat(o)}).trim()},Nt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";return e.trim().replace(/[\n\s\t]+/g," ").split(",").map(function(e){var o="";return o=n&&t?e.includes(n)?e:n&&!t?".".concat(n," ").concat(e.trim()):".".concat(n," ").concat(e.trim()).replace(new RegExp("(.".concat(n,") (.").concat(t,"(#|:|\\[|\\.|\\s|$))"),"g"),"$1$2"):e,a?"".concat(a," ").concat(o):o}).join(", ")},Pt="desktop",Ft=function(){return Pt},Rt=function(e){return Pt=e},Dt=!1,Mt=function(){return Dt},zt=function(e){return Dt=e}},function(e,t,n){"use strict";var a=n(16),o=n(2),i=n(10),r=n(8),l=n.n(r),c=n(7),s=n(0);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach(function(t){g(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.blockAttributes[n(t)];return 0===o?o:o||a},r=Object.keys(o.a).reduce(function(e,o){var r;return p({},e,(g(r={},"".concat(o,"Url"),a("".concat(o,"Url"))),g(r,"onChange".concat(Object(i.upperFirst)(o),"Url"),function(e){return t(g({},n("".concat(o,"Url")),e))}),r))},{});return wp.element.createElement(_,u({design:a("Design",e.designDefault),size:a("Size","normal"),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),useSocialColors:a("UseSocialColors"),newTab:a("NewTab"),onChangeNewTab:function(e){return t(g({},n("NewTab"),e))},isSelected:e.isSelected},r,e))};m.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(m.Content=function(e){var t=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.blockAttributes[t(n)];return 0===o?o:o||a},a=Object.keys(o.a).reduce(function(e,t){return p({},e,g({},"".concat(t,"Url"),n("".concat(t,"Url"))))},{});return wp.element.createElement(_.Content,u({design:n("Design",e.designDefault),size:n("Size","normal"),newTab:n("NewTab"),hoverEffect:n("HoverEffect"),useSocialColors:n("UseSocialColors"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow")},a,e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};var d=m;function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(n,!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var w=function(e){return wp.element.createElement(c.Fragment,null,Object.keys(o.a).map(function(t){var n=l()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return(!0===e["show".concat(Object(i.upperFirst)(t))]||e["".concat(t,"Url")]&&!1!==e["show".concat(Object(i.upperFirst)(t))])&&wp.element.createElement(a.i,y({key:t,iconButton:!0,className:n,rel:"noopener noreferrer nofollow",icon:o.a[t].icon,url:e["".concat(t,"Url")],onChangeUrl:function(n){var a=n;"email"===t&&a.match(/^[^:]+@./)&&(a="mailto:".concat(a)),e["onChange".concat(Object(i.upperFirst)(t),"Url")](a)},onChangeNoFollow:!1,disableSuggestions:!0},e))}))},O=Object.keys(o.a).reduce(function(e,t){var n;return h({},e,(v(n={},"".concat(t,"Url"),""),v(n,"show".concat(Object(i.upperFirst)(t)),null),n))},{});w.defaultProps=h({useSocialColors:!0},O),w.Content=function(e){return wp.element.createElement(c.Fragment,null,Object.keys(o.a).map(function(t){var n=l()(["ugb-social-button","ugb-button-".concat(t)],{"ugb-social-button--social-colors":e.useSocialColors});return e["".concat(t,"Url")]&&!1!==e["show".concat(Object(i.upperFirst)(t))]&&wp.element.createElement(a.i.Content,y({key:t,className:n,iconButton:!0,rel:"noopener noreferrer nofollow",icon:o.a[t].icon,url:e["".concat(t,"Url")]},e))}))};var k=Object.keys(o.a).reduce(function(e,t){var n;return h({},e,(v(n={},"".concat(t,"Url"),""),v(n,"show".concat(Object(i.upperFirst)(t)),null),n))},{});w.Content.defaultProps=h({useSocialColors:!0},k);var _=w,j=n(4),C=n.n(j);function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=C.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),S=C.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),B=C.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),T=function(e){return C.a.createElement("svg",x({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),E,S,B)},A=n(9),N=n(6);function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(n,!0).forEach(function(t){R(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=function(e){var t=e.imageID,n=e.imageURL,a=e.onRemove,o=e.className,i=e.allowedTypes,r=e.render,c=e.hasRemove,s=e.style,u=l()([o,"ugb-image-upload-placeholder"],{"ugb-image-upload-has-image":n,"ugb-image-upload-has-placeholder":!n}),b=F({},s,{backgroundImage:n&&!r?"url(".concat(n,")"):void 0});return wp.element.createElement(N.MediaUpload,{onSelect:function(t){var n=t.url,a=t.width,o=t.height,i=e.imageSize||"full";t.sizes[i]&&(n=t.sizes[i].url,a=t.sizes[i].width,o=t.sizes[i].height),e.onChange(F({},t,{url:n,width:a,height:o}))},allowedTypes:i,value:t,render:function(e){return n&&r?wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:b,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&c&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(A.Dashicon,{icon:"no"})),r):wp.element.createElement("div",{className:u,onClick:e.open,onKeyDown:function(t){13===t.keyCode&&e.open()},style:b,role:"button",tabIndex:0,"data-is-placeholder-visible":!n},n&&a&&c&&wp.element.createElement("button",{className:"ugb-image-upload-remove",onClick:function(e){a(),e.stopPropagation()}},wp.element.createElement(A.Dashicon,{icon:"no"})),!n&&wp.element.createElement(T,null))}})};D.defaultProps={imageID:"",imageURL:"",imageSize:"full",onChange:function(e){e.url,e.id},onRemove:null,className:"",allowedTypes:["image"],render:void 0,hasRemove:!0,style:{}};var M=D,z=n(1);function I(){return(I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var L=function(e){return wp.element.createElement(A.BaseControl,{label:e.label,id:"url-input-control",help:e.help},wp.element.createElement(N.URLInput,I({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},Object(i.omit)(e,["label","help"]))))};L.defaultProps={label:Object(s.__)("URL",z.i18n),help:null,value:"",onChange:function(){}};var U=L,H=n(12),W=Object(s.__)("Show more tools & options",z.i18n),G=Object(s.__)("Hide more tools & options",z.i18n),q=Object(H.withState)({openAdvanced:!1})(function(e){var t=e.openAdvanced,n=e.setState;if(!e.onChange&&!e.onChangeNewTab&&!e.onChangeNoFollow)return null;var a=l()(["ugb-url-input-popover"],{"ugb--show-advanced":t}),o=l()(["ugb-url-input-control__more-button"],{"ugb--active":e.newTab||e.noFollow});return wp.element.createElement(A.Popover,{className:a,focusOnMount:!1,position:"bottom center"},wp.element.createElement(A.PanelBody,null,wp.element.createElement("div",{className:"ugb-url-input-popover__input-wrapper"},wp.element.createElement(A.Dashicon,{className:"ugb-url-input-control__icon",icon:"admin-links"}),e.onChange&&!e.disableSuggestions&&wp.element.createElement(N.URLInput,{className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1}),e.onChange&&e.disableSuggestions&&wp.element.createElement(A.TextControl,{className:"ugb-url-input-control__input ugb-url-input-control__input--plain",value:e.value,onChange:e.onChange,autoFocus:!1,placeholder:Object(s.__)("Paste or type URL",z.i18n)}),(e.onChangeNewTab||e.onChangeNoFollow)&&wp.element.createElement(A.IconButton,{className:o,icon:"ellipsis",label:t?G:W,onClick:function(){return n({openAdvanced:!t})},"aria-expanded":t})),e.onChangeNewTab&&t&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Open link in new tab",z.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeNoFollow&&t&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Nofollow link",z.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow})))});q.defaultProps={value:"",disableSuggestions:!1,onChange:null,newTab:!1,noFollow:!1,onChangeNewTab:null,onChangeNoFollow:null};var V=q;function X(){return(X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Y=Object(s.__)("(current %s: %s)",z.i18n),K=Object(H.compose)([N.withColorContext,Object(H.ifCondition)(function(e){return e.hasColorsToChoose})])(function(e){var t=e.colors,n=e.disableCustomColors,a=e.label,o=e.onChange,i=e.value,r=e.className,u=void 0===r?"":r,b=Object(N.getColorObjectByColorValue)(t,i),p=b&&b.name,g=Object(s.sprintf)(Y,a.toLowerCase(),p||i),m=wp.element.createElement(c.Fragment,null,a,i&&wp.element.createElement(A.ColorIndicator,{colorValue:i,"aria-label":g}));return wp.element.createElement(A.BaseControl,{className:l()([u,"editor-color-palette-control"]),id:"editor-color-palette-control",label:m},wp.element.createElement(A.ColorPalette,X({className:"editor-color-palette-control__color-palette",value:i,onChange:o},{colors:t,disableCustomColors:n})))}),J=n(11);function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=function(e){return wp.element.createElement(A.SelectControl,$({},e,{options:[{value:"",label:Object(s.__)("None",z.i18n)},{value:"normal",label:Object(s.__)("Normal",z.i18n)},{value:"multiply",label:Object(s.__)("Multiply",z.i18n)},{value:"screen",label:Object(s.__)("Screen",z.i18n)},{value:"overlay",label:Object(s.__)("Overlay",z.i18n)},{value:"darken",label:Object(s.__)("Darken",z.i18n)},{value:"lighten",label:Object(s.__)("Lighten",z.i18n)},{value:"color-dodge",label:Object(s.__)("Color Dodge",z.i18n)},{value:"color-burn",label:Object(s.__)("Color Burn",z.i18n)},{value:"hard-light",label:Object(s.__)("Hard Light",z.i18n)},{value:"soft-light",label:Object(s.__)("Soft Light",z.i18n)},{value:"difference",label:Object(s.__)("Difference",z.i18n)},{value:"exclusion",label:Object(s.__)("Exclusion",z.i18n)},{value:"hue",label:Object(s.__)("Hue",z.i18n)},{value:"saturation",label:Object(s.__)("Saturation",z.i18n)},{value:"color",label:Object(s.__)("Color",z.i18n)},{value:"luminosity",label:Object(s.__)("Luminosity",z.i18n)},{value:"initial",label:Object(s.__)("Initial",z.i18n)},{value:"inherit",label:Object(s.__)("Inherit",z.i18n)},{value:"unset",label:Object(s.__)("Unset",z.i18n)}]}))};Z.defaultProps={label:Object(s.__)("Mix Blend Mode",z.i18n),help:Object(s.__)("Not supported in all browsers.",z.i18n)};var Q=Object(H.compose)(Object(J.e)("background-blend-mode"))(Z);function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=C.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),ne=C.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),ae=C.a.createElement("path",{d:"M480 344H32l86.3-164.2 21.7 11.3 49-77.3 100 113.1 8.9-9.3 17.1 22.3 26-46.4 52.9 71.2 15.1-15.9z"}),oe=function(e){return C.a.createElement("svg",ee({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),te,ne,ae)},ie=function(e){var t=e.imageURL&&e.imageURL.match(/(mp4|webm|ogg)/i)?"video":"image",n=function(){e.onRemove?e.onRemove():e.onChange({url:"",id:"",width:"",height:""})};return wp.element.createElement("div",{className:"ugb-image-control"},wp.element.createElement(A.BaseControl,{help:e.help},wp.element.createElement(Ye,{label:e.label,screens:e.screens}),wp.element.createElement(N.MediaUpload,{onSelect:e.onChange,allowedTypes:e.allowedTypes,value:e.imageID,render:function(a){return wp.element.createElement(c.Fragment,null,e.imageURL&&wp.element.createElement("div",{className:"ugb-image-preview-wrapper"},wp.element.createElement("button",{className:"ugb-image-preview-remove",onClick:n},wp.element.createElement(A.Dashicon,{icon:"no"})),"video"===t&&wp.element.createElement("video",{className:"ugb-image-preview",autoPlay:!0,muted:!0,loop:!0,src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()}}),"image"===t&&wp.element.createElement("img",{className:"ugb-image-preview",src:e.imageURL,onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},alt:Object(s.__)("preview",z.i18n)})),!e.imageURL&&wp.element.createElement("div",{className:"ugb-placeholder",onClick:a.open,onKeyDown:function(e){13===e.keyCode&&a.open()},role:"button",tabIndex:0},wp.element.createElement(oe,null)))}})))};ie.defaultProps={label:"",imageID:"",imageURL:"",onChange:function(e){e.url,e.id,e.width,e.height},onRemove:function(){},allowedTypes:["image"],help:"",screens:["desktop"]};var re=ie;function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ce=function(e){return wp.element.createElement(A.TextareaControl,le({},e,{help:wp.element.createElement(c.Fragment,null,wp.element.createElement(A.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(s.__)("Describe the purpose of the image",z.i18n)),Object(s.__)("Leave empty if the image is purely decorative.",z.i18n))}))};ce.defaultProps={label:Object(s.__)("Alt Text (Alternative Text)",z.i18n)};var se=ce,ue=n(81),be=n.n(ue),pe=n(82),ge=n.n(pe),me=n(83),de=n.n(me),fe=n(84),he=n.n(fe),ve=n(5);function ye(){return(ye=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function we(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Oe=function(e){return wp.element.createElement(c.Fragment,null,wp.element.createElement(Ua,ye({},e,{className:l()(e.className,["ugb-image-shape-control","ugb--help-tip-image-shape"]),options:[{label:Object(s.__)("Default",z.i18n),value:"",image:be.a},{label:Object(s.__)("Square",z.i18n),value:"square",image:ge.a},{label:Object(s.__)("Circle",z.i18n),value:"circle",image:de.a},{label:Object(s.sprintf)(Object(s.__)("Blob %s",z.i18n),1),value:"blob1",image:he.a}].concat(we(Object(ve.applyFilters)("stackable.image.control.shapes",[])))})),z.showProNotice&&wp.element.createElement(rr,{type:"image"}))};Oe.defaultProps={className:"",label:Object(s.__)("Shape",z.i18n),selected:""};var ke=Oe,_e=n(13),je=function(e){var t=e.imageData?Object(o.I)(e.imageData,e.imageSize||"full"):null,n=null!==e.isSquareImage?e.isSquareImage:!!t&&t.width===t.height;return wp.element.createElement(c.Fragment,null,e.onChangeShape&&wp.element.createElement(ke,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Flip Shape Horizontally",z.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Flip Shape Vertically",z.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!n&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Stretch Shape Mask",z.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch}))};je.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:function(){},onChangeShapeFlipX:function(){},onChangeShapeFlipY:function(){},onChangeShapeStretch:function(){}};var Ce=Object(H.compose)([Object(_e.withSelect)(function(e,t){var n=e("core").getMedia;return{imageData:t.imageId?n(t.imageId):null}})])(je);function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ee=function(e){var t,n=(t=e.imageSizes,Object(i.map)(t,function(e){var t=e.name;return{value:e.slug,label:t}}));return Object(i.isEmpty)(n)?null:wp.element.createElement(A.SelectControl,xe({},e,{options:n,className:l()(e.className,["ugb--help-tip-image-size"])}))};Ee.defaultProps={className:"",label:Object(s.__)("Image Size"),value:"large",onChange:function(){}};var Se=Object(H.compose)([Object(_e.withSelect)(function(e){return{imageSizes:e("core/block-editor").getSettings().imageSizes}})])(Ee);function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Te=C.a.createElement("path",{d:"M13 18h2c.6 0 1 .4 1 1s-.4 1-1 1H9c-.6 0-1-.4-1-1s.4-1 1-1h2v-2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2h16c1.1 0 2 .9 2 2v8c0 1.1-.9 2-2 2h-7v2zM4 6v8h16V6H4z"}),Ae=function(e){return C.a.createElement("svg",Be({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Te)};function Ne(){return(Ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Pe=C.a.createElement("path",{d:"M8 2h8c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H8c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2zm0 2v15h8V4H8z"}),Fe=function(e){return C.a.createElement("svg",Ne({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),Pe)};function Re(){return(Re=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var De=C.a.createElement("path",{d:"M6 4v15h12V4H6zm0-2h12c1.1 0 2 .9 2 2v16c0 1.1-.9 2-2 2H6c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2z"}),Me=function(e){return C.a.createElement("svg",Re({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),De)};function ze(e){return(ze="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})(e)}function Ie(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Le(e,t){return!t||"object"!==ze(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ue(e){return(Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function He(e,t){return(He=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var We={desktop:wp.element.createElement(Ae,null),tablet:wp.element.createElement(Me,null),mobile:wp.element.createElement(Fe,null)},Ge={desktop:Object(s.__)("Desktop",z.i18n),tablet:Object(s.__)("Tablet",z.i18n),mobile:Object(s.__)("Mobile",z.i18n)},qe=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=Le(this,Ue(t).apply(this,arguments))).state={screen:Object(o.K)(),isScreenPickerOpen:Object(o.P)()},e}var n,a,i;return 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&&He(e,t)}(t,c["Component"]),n=t,(a=[{key:"onChangeScreen",value:function(e){var t=this.props.screens[0];this.state.isScreenPickerOpen||this.state.screen!==t||e!==t?this.state.isScreenPickerOpen&&e===t&&(this.setState({isScreenPickerOpen:!1}),"undefined"==typeof instanceIdOwner&&(Object(o.Y)(!1),Object(ve.doAction)("stackable.responsive-toggle.screen.close"))):(this.setState({isScreenPickerOpen:!0}),"undefined"==typeof instanceIdOwner&&(Object(o.Y)(!0),Object(ve.doAction)("stackable.responsive-toggle.screen.open"))),this.props.onChangeScreen(e),this.setState({screen:e}),Object(o.Z)(e),Object(ve.doAction)("stackable.responsive-toggle.screen.change",e)}},{key:"onOtherScreenChange",value:function(e){this.props.onChangeScreen(e),this.setState({screen:e})}},{key:"onOtherScreenOpen",value:function(){this.setState({isScreenPickerOpen:!0})}},{key:"onOtherScreenClose",value:function(){this.setState({isScreenPickerOpen:!1})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(ve.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e),this.onOtherScreenChange.bind(this)),Object(ve.addAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e),this.onOtherScreenOpen.bind(this)),Object(ve.addAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e),this.onOtherScreenClose.bind(this))}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(ve.removeAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e)),Object(ve.removeAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e)),Object(ve.removeAction)("stackable.responsive-toggle.screen.close","stackable/responsive-toggle-".concat(e))}},{key:"render",value:function(){var e=this;return wp.element.createElement("div",{className:"ugb-base-control-multi-label__responsive"},this.props.screens.length>1&&this.props.screens.map(function(t,n){return n>0&&!e.state.isScreenPickerOpen?null:wp.element.createElement(A.IconButton,{key:n,className:e.state.screen===t?"is-active":"",onClick:function(){return e.onChangeScreen(t)},icon:We[t],label:Ge[t]})}))}}])&&Ie(n.prototype,a),i&&Ie(n,i),t}();qe.defaultProps={screens:["desktop"],onChangeScreen:function(){}};var Ve=Object(H.withInstanceId)(qe),Xe=function(e){return wp.element.createElement("div",{className:"ugb-base-control-multi-label"},wp.element.createElement("div",{className:"ugb-base-control-multi-label__label components-base-control__label"},e.label),wp.element.createElement(Ve,{screens:e.screens,onChangeScreen:e.onChangeScreen}),wp.element.createElement("div",{className:"ugb-base-control-multi-label__units"},e.units.length>1&&e.units.map(function(t,n){return wp.element.createElement("button",{key:n,className:e.unit===t?"is-active":"",onClick:function(){return e.onChangeUnit(t)}},t)}),e.afterButton))};Xe.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],onChangeScreen:function(){},afterButton:null};var Ye=Xe;function Ke(){return(Ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function $e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ze=function(e){var t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Je(n,!0).forEach(function(t){$e(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Je(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(i.omit)(e,["className","help","label","units","unit","onChangeUnit","screens","placeholder","initialPosition"])),n=e.units.indexOf(e.unit)<0?0:e.units.indexOf(e.unit);return Array.isArray(e.min)&&(t.min=e.min[n]),Array.isArray(e.max)&&(t.max=e.max[n]),Array.isArray(e.step)&&(t.step=e.step[n]),t.initialPosition=""!==e.initialPosition?e.initialPosition:e.placeholder,Array.isArray(e.placeholder)&&(t.placeholder=e.placeholder[n]||"",t.initialPosition=e.placeholder[n]||""),Array.isArray(e.initialPosition)&&(t.initialPosition=e.initialPosition[n]||""),wp.element.createElement(A.BaseControl,{help:e.help,className:l()("ugb-advanced-range-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(A.RangeControl,Ke({placeholder:e.placeholder,initialPosition:e.initialPosition},t)))};Ze.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],placeholder:"",initialPosition:""};var Qe=Ze,et=function(e){return wp.element.createElement(A.BaseControl,{help:e.help,className:l()("ugb-advanced-select-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(A.SelectControl,Object(i.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};et.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var tt=et,nt=function(e){return wp.element.createElement(A.BaseControl,{help:e.help,className:l()("ugb-advanced-text-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(A.TextControl,Object(i.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};nt.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var at=n(85),ot=n.n(at);function it(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function rt(e){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function lt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ct(e,t){return(ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function st(e){return(st="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})(e)}var ut=function(e){return!(!e.length||"object"!==st(e[0].options))},bt=function(e,t){if(!t.length)return e;if(!ut(t)){var n=t.filter(function(t){return t.value===e});return n.length?n[0].label:e}var a=t.map(function(t){return{title:t.title,options:t.options.filter(function(t){return t.value===e})}}).filter(function(e){return e.options.length>0});return a.length?a[0].options[0].label:e},pt=function(e){return e.value},gt=function(e){return wp.element.createElement("div",{className:"ugb-autosuggest-option","data-value":e.value},e.label)},mt=function(e){return wp.element.createElement("div",{className:"ugb--autosuggest-group"},e.title)},dt=function(e){return e.options},ft=function(){return!0},ht=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=rt(t).apply(this,arguments))||"object"!==st(a)&&"function"!=typeof a?lt(n):a).state={value:e.props.value,label:e.props.value?bt(e.props.value,e.props.options):e.props.value,suggestions:[],isEmpty:!1},e.onSuggestionsFetchRequested=e.onSuggestionsFetchRequested.bind(lt(e)),e.onSuggestionsClearRequested=e.onSuggestionsClearRequested.bind(lt(e)),e.onChange=e.onChange.bind(lt(e)),e.onFocus=e.onFocus.bind(lt(e)),e.autosuggestDiv=Object(c.createRef)(),e}var n,a,o;return 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&&ct(e,t)}(t,c["Component"]),n=t,(a=[{key:"onChange",value:function(e,t){var n=t.newValue;this.props.onChange(n),this.setState({value:n,label:bt(n,this.props.options)})}},{key:"onFocus",value:function(){var e=this;setTimeout(function(){var t=e.autosuggestDiv.current.querySelector('[data-value="'.concat(e.state.value,'"]'));t&&t.scrollIntoView()},0)}},{key:"onSuggestionsFetchRequested",value:function(e){var t=e.value,n=e.reason;if("input-focused"!==n&&"suggestion-selected"!==n){var a=function(e,t){var n=e.trim().replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(!n)return t;var a=new RegExp(n,"i");return ut(t)?t.map(function(e){return{title:e.title,options:e.options.filter(function(e){return a.test(e.label)||a.test(e.value)})}}).filter(function(e){return e.options.length>0}):t.filter(function(e){return a.test(e.label)||a.test(e.value)})}(t,this.props.options);this.setState({suggestions:a,isEmpty:""!==t.trim()&&0===a.length})}else this.setState({suggestions:this.props.options,isEmpty:!1})}},{key:"onSuggestionsClearRequested",value:function(){this.setState({suggestions:[]})}},{key:"render",value:function(){var e=this.state,t=e.label,n=e.suggestions,a={placeholder:"",value:t,onChange:this.onChange,onFocus:this.onFocus};return wp.element.createElement(A.BaseControl,{help:this.props.help,className:l()("ugb-advanced-autosuggest-control",this.props.className)},wp.element.createElement(Ye,{label:this.props.label,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},wp.element.createElement(ot.a,{multiSection:ut(this.props.options),suggestions:n,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,getSuggestionValue:pt,renderSuggestion:gt,renderSectionTitle:mt,getSectionSuggestions:dt,shouldRenderSuggestions:ft,inputProps:a}),this.state.isEmpty&&wp.element.createElement("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel)))}}])&&it(n.prototype,a),o&&it(n,o),t}();ht.defaultProps={onChange:function(){},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:Object(s.__)("No matches found",z.i18n)};var vt=ht;function yt(){return(yt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wt=C.a.createElement("path",{d:"M3 15.1h14v2H3zM9.4 2.9h1.2v8.6l1.3-1.3 1.1.8-3 3-3-3 1.1-.8 1.3 1.3V2.9z"}),Ot=function(e){return C.a.createElement("svg",yt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),wt)};function kt(){return(kt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _t=C.a.createElement("path",{d:"M9 3h2v14H9zM1.6 10.6V9.4h3.9L4.2 8.1 5 7l3 3-3 3-.8-1.1 1.3-1.3H1.6zM18.4 9.4v1.2h-3.9l1.3 1.3L15 13l-3-3 3-3 .8 1.1-1.3 1.3h3.9z"}),jt=function(e){return C.a.createElement("svg",kt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),_t)};function Ct(){return(Ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xt=C.a.createElement("path",{d:"M2.9 3h2v14h-2zM17.1 9.4v1.2H8.5l1.3 1.3L9 13l-3-3 3-3 .8 1.1-1.3 1.3h8.6z"}),Et=function(e){return C.a.createElement("svg",Ct({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),xt)};function St(){return(St=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Bt=C.a.createElement("path",{d:"M15.1 3h2v14h-2zM2.9 10.6V9.4h8.6l-1.3-1.3L11 7l3 3-3 3-.8-1.1 1.3-1.3H2.9z"}),Tt=function(e){return C.a.createElement("svg",St({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Bt)};function At(){return(At=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Nt=C.a.createElement("path",{d:"M3 16.4h14v2H3zM3 1.6h14v2H3zM10.6 12.8V7.2l1.3 1.3 1.1-.8-3-3-3 3 1.1.8 1.3-1.3v5.6l-1.3-1.3-1.1.8 3 3 3-3-1.1-.8z"}),Pt=function(e){return C.a.createElement("svg",At({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Nt)};function Ft(){return(Ft=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Rt=C.a.createElement("path",{d:"M3 3h14v2H3zM10.6 17.1H9.4V8.4L8.1 9.7 7 9l3-3 3 3-1.1.8-1.3-1.3v8.6z"}),Dt=function(e){return C.a.createElement("svg",Ft({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Rt)};function Mt(){return(Mt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var zt=C.a.createElement("path",{d:"M3 9h14v2H3zM10.6 18.4H9.4v-3.9l-1.3 1.3L7 15l3-3 3 3-1.1.8-1.3-1.3v3.9zM9.4 1.6h1.2v3.9l1.3-1.3L13 5l-3 3-3-3 1.1-.8 1.3 1.3V1.6z"}),It=function(e){return C.a.createElement("svg",Mt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),zt)};function Lt(){return(Lt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ht(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(n,!0).forEach(function(t){Wt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Wt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gt=[{value:"flex-start",title:Object(s.__)("Align Left",z.i18n),icon:wp.element.createElement(Et,null)},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:wp.element.createElement(jt,null)},{value:"flex-end",title:Object(s.__)("Align Right",z.i18n),icon:wp.element.createElement(Tt,null)}],qt=[{value:"flex-start",title:Object(s.__)("Align Top",z.i18n),icon:wp.element.createElement(Dt,null)},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:wp.element.createElement(It,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",z.i18n),icon:wp.element.createElement(Ot,null)},{value:"stretch",title:Object(s.__)("Stretch",z.i18n),icon:wp.element.createElement(Pt,null)}],Vt={"flex-horizontal":Gt,"flex-vertical":[{value:"flex-start",title:Object(s.__)("Align Top",z.i18n),icon:wp.element.createElement(Dt,null)},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:wp.element.createElement(It,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",z.i18n),icon:wp.element.createElement(Ot,null)}],"flex-vertical-with-stretch":qt},Xt=function(e){var t="string"==typeof e.controls?Vt[e.controls]:e.controls,n=l()({"ugb-toolbar--full-width":e.fullwidth,"ugb-toolbar--multiline":e.multiline});return wp.element.createElement(A.BaseControl,{help:e.help,className:l()("ugb-advanced-toolbar-control",e.className)},wp.element.createElement(Ye,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(A.Toolbar,Lt({},Object(i.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"]),{controls:t.map(function(t){return Ht({},t,{onClick:function(){return e.onChange(t.value!==e.value?t.value:"")},isActive:e.value===t.value,extraProps:Ht({},t.icon?{}:{children:t.custom||wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button"},t.title)})})}),className:n})))};Xt.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],value:"",controls:[],multiline:!1,fullwidth:!0};var Yt=Xt;function Kt(){return(Kt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Jt=function(e){return wp.element.createElement(Qe,Kt({initialPosition:"21"},e,{onChangeUnit:function(t){e.value&&("em"===t||"rem"===t?e.onChange(1):"px"===t&&e.onChange(20)),e.onChangeUnit(t)}}))};Jt.defaultProps={label:Object(s.__)("Font Size",z.i18n),value:"",onChange:function(){},unit:"px",onChangeUnit:function(){},min:[10,.1],max:[100,3],step:[1,.05],units:["px","em"]};var $t=Jt;function Zt(){return(Zt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qt=n(86).map(function(e){return{label:e.family,value:e.family}}),en=function(e){return wp.element.createElement(vt,Zt({options:[{title:Object(s.__)("System Fonts",z.i18n),options:[{label:Object(s.__)("Sans-Serif",z.i18n),value:"Sans-Serif"},{label:Object(s.__)("Serif",z.i18n),value:"Serif"},{label:Object(s.__)("Serif Alternative",z.i18n),value:"Serif-Alt"},{label:Object(s.__)("Monospace",z.i18n),value:"Monospace"}]},{title:Object(s.__)("Google Fonts",z.i18n),options:Qt}]},e,{onChange:function(t){Qt.some(function(e){return e.value===t&&(Object(o.R)(t),!0)}),e.onChange(t)}}))};en.defaultProps={onChange:function(){},label:Object(s.__)("Font Family",z.i18n),value:""};var tn=en,nn=n(42);function an(e){return(an="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})(e)}function on(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function rn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ln(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function cn(e){return(cn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function sn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function un(e,t){return(un=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var bn=1,pn=function(e){function t(e){var n,a,o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=this,(n=!(o=cn(t).apply(this,arguments))||"object"!==an(o)&&"function"!=typeof o?sn(a):o).state={opened:e.initialOpen,showAdvanced:e.initialAdvanced},n.onToggle=n.onToggle.bind(sn(n)),n.onAdvancedToggle=n.onAdvancedToggle.bind(sn(n)),n.instanceId=bn++,n.panelRef=Object(c.createRef)(),n}var n,a,o;return 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&&un(e,t)}(t,c["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.hasToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?(this.props.onChange&&this.props.onChange(!0),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?on(n,!0).forEach(function(t){rn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):on(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,rn({},this.props.toggleAttributeName,!0))):e}},{key:"componentDidMount",value:function(){Object(ve.addFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object(ve.removeFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId))}},{key:"onToggle",value:function(){if(this.setState({opened:!this.state.opened}),!this.state.opened&&this.panelRef.current){var e=this.panelRef.current.querySelector(".components-panel__body-title"),t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar");t&&e.getBoundingClientRect().top<t.getBoundingClientRect().bottom?Object(nn.b)(this.panelRef.current):n&&n.getBoundingClientRect().bottom<e.getBoundingClientRect().top&&Object(nn.b)(this.panelRef.current)}}},{key:"onAdvancedToggle",value:function(){this.setState({showAdvanced:!this.state.showAdvanced})}},{key:"render",value:function(){var e=this,t=l()([this.props.className,"ugb-toggle-panel-body"],rn({"ugb-toggle-panel-body--advanced":this.state.showAdvanced},"ugb-panel--".concat(this.props.id),this.props.id));return wp.element.createElement(A.PanelBody,{className:t,initialOpen:this.props.initialOpen,onToggle:this.onToggle,opened:this.state.opened,ref:this.panelRef,title:wp.element.createElement(c.Fragment,null,this.props.hasToggle&&this.props.toggleAttributeName&&wp.element.createElement("span",{className:"editor-panel-toggle-settings__panel-title"},wp.element.createElement(A.FormToggle,{className:"ugb-toggle-panel-form-toggle",checked:this.props.checked,onClick:function(t){t.stopPropagation(),t.preventDefault();var n=e.props.checked;n&&e.state.opened?e.onToggle():n||e.state.opened||e.onToggle(),e.props.onChange&&e.props.onChange(!n)},"aria-describedby":this.props.title}),this.props.title),!(this.props.hasToggle&&this.props.toggleAttributeName)&&this.props.title)},this.props.children,this.state.showAdvanced&&this.props.advancedChildren,this.props.advancedChildren&&wp.element.createElement("button",{className:"ugb-panel-advanced-button",onClick:this.onAdvancedToggle},this.state.showAdvanced?Object(s.__)("Simple",z.i18n):Object(s.__)("Advanced",z.i18n)))}}])&&ln(n.prototype,a),o&&ln(n,o),t}();pn.defaultProps={id:"",className:"",title:Object(s.__)("Settings",z.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:""};var gn=pn;function mn(){return(mn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var dn=function(e){var t=e.blockProps;return wp.element.createElement(gn,mn({title:Object(s.__)("Spacing",z.i18n)},e,{className:l()(["ugb--help-tip-spacing",e.className])}),Object(ve.applyFilters)("stackable.panel-spacing-body.edit.before",null,t),e.children,Object(ve.applyFilters)("stackable.panel-spacing-body.edit.after",null,t))};dn.defaultProps={className:"",blockProps:{}};var fn=dn,hn=function(e){var t=l()(["ugb-inspector-panel-controls","ugb-panel-".concat(e.tab)]);return wp.element.createElement("div",{className:t},e.children)};hn.defaultProps={tab:"layout"};var vn=hn,yn=n(21),wn=n(28),On=n.n(wn);function kn(e,t,n,a,o,i,r){try{var l=e[i](r),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(a,o)}function _n(e){return function(){var t=this,n=arguments;return new Promise(function(a,o){var i=e.apply(t,n);function r(e){kn(i,a,o,r,l,"next",e)}function l(e){kn(i,a,o,r,l,"throw",e)}r(void 0)})}}var jn=null,Cn={},xn=[],En=function(e){return e.replace(/^[\w-]+\//,"")},Sn=function(){var e=_n(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]&&a[0],jn&&!t){e.next=9;break}return e.next=4,On()({path:"/wp/v2/stk_design_library".concat(t?"/reset":""),method:"GET"});case 4:return n=e.sent,e.next=7,n;case 7:jn=e.sent,t&&(Cn={},xn=[]);case 9:return e.abrupt("return",jn);case 10:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}(),Bn=function(){var e=_n(regeneratorRuntime.mark(function e(t){var n,a;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=En(t),Cn[n]){e.next=8;break}return e.next=4,On()({path:"/wp/v2/stk_block_designs/".concat(n),method:"GET"});case 4:return a=e.sent,e.next=7,a;case 7:Cn[n]=e.sent;case 8:return e.abrupt("return",Cn[n]);case 9:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Tn=function(){var e=_n(regeneratorRuntime.mark(function e(t){var n;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(xn[t]){e.next=7;break}return e.next=3,On()({path:"/wp/v2/stk_design/".concat(t),method:"GET"});case 3:return n=e.sent,e.next=6,n;case 6:xn[t]=e.sent;case 7:return e.abrupt("return",xn[t]);case 8:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),An=function(){var e=_n(regeneratorRuntime.mark(function e(){var t,n,a=arguments;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]&&a[0],e.next=3,On()({path:"/wp/v2/stk_design_library_dev_mode/",method:"POST",data:{devmode:t}});case 3:return n=e.sent,e.next=6,n;case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();Object(yn.a)(function(){});var Nn=function(){var e=_n(regeneratorRuntime.mark(function e(t){var n,a,o,i,r,l,c,s,u,b,p,g,m,d,f,h,v,y;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.type,a=void 0===n?"":n,o=t.block,i=void 0===o?"":o,r=t.mood,l=void 0===r?"":r,c=t.plan,s=void 0===c?"":c,u=t.colors,b=void 0===u?[]:u,p=t.categories,g=void 0===p?[]:p,m=t.search,d=void 0===m?"":m,f=t.reset,h=void 0!==f&&f,e.t0=Object,e.next=4,Sn(h);case 4:return e.t1=e.sent,v=e.t0.values.call(e.t0,e.t1),a&&(v=v.filter(function(e){return e.type===a})),i&&(y=-1===i.indexOf("ugb/")?"ugb/".concat(i):i,v=v.filter(function(e){return e.block===y})),l&&(v=v.filter(function(e){return e.mood===l})),s&&(v=v.filter(function(e){return e.plan===s})),b&&b.length&&(v=v.filter(function(e){return e.colors.some(function(e){return b.includes(e)})})),g&&g.length&&(v=v.filter(function(e){return e.categories.some(function(e){return g.includes(e)})})),d&&d.toLowerCase().replace(/\s+/," ").trim().split(" ").forEach(function(e){v=v.filter(function(t){return["label","plan","block","tags","categories","colors"].some(function(n){return-1!==t[n].toString().toLowerCase().indexOf(e)})})}),e.abrupt("return",v);case 14:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Pn=function(){var e=_n(regeneratorRuntime.mark(function e(t){var n,a,o,i,r,l;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Sn();case 2:if(n=e.sent,a=n[t],o=a.type,i=a.block,r=a.template,"block"!==o||!i){e.next=12;break}return e.next=8,Bn(i);case 8:return l=e.sent,e.abrupt("return",l[t]);case 12:if(!r){e.next=16;break}return e.next=15,Tn(t);case 15:return e.abrupt("return",e.sent);case 16:return e.abrupt("return",null);case 17:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),Fn=function(){var e=_n(regeneratorRuntime.mark(function e(){var t;return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Object,e.next=3,Sn();case 3:return e.t1=e.sent,t=e.t0.values.call(e.t0,e.t1),e.abrupt("return",t.reduce(function(e,t){var n=t.block,a=t.type;return e.includes(n)||"block"!==a||e.push(n),e},[]));case 6:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}();function Rn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Dn=function(e){var t=Rn(Object(c.useState)(!1),2),n=t[0],a=t[1],o=Rn(Object(c.useState)(""),2),i=o[0],r=o[1],l=Rn(Object(c.useState)([]),2),u=l[0],b=l[1],p=Rn(Object(c.useState)(!0),2),g=p[0],m=p[1],d=Rn(Object(c.useState)(""),2),f=d[0],h=d[1];return Object(c.useEffect)(function(){Nn({type:"block",block:e.block,search:i}).then(function(e){b(e)}).finally(function(){m(!1)})},[e.block,i]),wp.element.createElement("div",null,wp.element.createElement(A.Button,{className:"ugb-design-library-control__open-library",label:Object(s.__)("Open Design Library",z.i18n),isSmall:!0,alignRight:!0,isLink:!0,onClick:function(){return a(!0)}},Object(s.__)("Open Design Library",z.i18n)),wp.element.createElement(A.TextControl,{placeholder:Object(s.__)("Search designs...",z.i18n),value:i,onChange:function(e){return r(e)}}),!z.isPro&&wp.element.createElement(Yt,{controls:[{value:"",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("All",z.i18n),wp.element.createElement("span",null,u.length))},{value:"free",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Free",z.i18n),wp.element.createElement("span",null,u.reduce(function(e,t){return e+("free"===t.plan?1:0)},0)))},{value:"premium",custom:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button ugb-design-library-control__open-library__toolbar"},Object(s.__)("Premium",z.i18n),wp.element.createElement("span",null,u.reduce(function(e,t){return e+("free"!==t.plan?1:0)},0)))}],value:f,onChange:function(e){return h(e)}}),wp.element.createElement(ea,{designs:u.filter(function(e){var t=e.plan;return!f||t===f}),isBusy:g,onSelect:e.onSelect}),n&&wp.element.createElement(Gb,{search:i,selectedBlock:e.block,onClose:function(){a(!1),r("")},onSelect:function(t){e.onSelect(t),a(!1)}}))};Dn.defaultProps={block:"",onSelect:function(){}};var Mn=Dn;function zn(){return(zn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var In=C.a.createElement("path",{d:"M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z",fill:"#333"}),Ln=function(e){return C.a.createElement("svg",zn({viewBox:"0 0 27 44",xmlns:"http://www.w3.org/2000/svg"},e),In)};function Un(){return(Un=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hn=C.a.createElement("path",{d:"M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z",fill:"#333"}),Wn=function(e){return C.a.createElement("svg",Un({viewBox:"0 0 27 44",xmlns:"http://www.w3.org/2000/svg"},e),Hn)};function Gn(e){return(Gn="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})(e)}function qn(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Vn(e){return(Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Xn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yn(e,t){return(Yn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Kn=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Vn(t).apply(this,arguments))||"object"!==Gn(a)&&"function"!=typeof a?Xn(n):a).state={isOpen:!1,slide:0},e.open=e.open.bind(Xn(e)),e.close=e.close.bind(Xn(e)),e.prev=e.prev.bind(Xn(e)),e.next=e.next.bind(Xn(e)),e}var n,a,o;return 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&&Yn(e,t)}(t,c["Component"]),n=t,(a=[{key:"open",value:function(){this.setState({isOpen:!0})}},{key:"close",value:function(){this.setState({isOpen:!1})}},{key:"next",value:function(){var e=this.state.slide>=4?0:this.state.slide+1;this.setState({slide:e})}},{key:"prev",value:function(){var e=this.state.slide<=0?4:this.state.slide-1;this.setState({slide:e})}},{key:"render",value:function(){var e=this.props,t=e.button,n=void 0===t?Object(s.__)("Learn More",z.i18n):t,a=e.buttonClassName,o=void 0===a?"button button-secondary":a,i=e.tag,r=void 0===i?"div":i;return wp.element.createElement(r,null,wp.element.createElement("a",{onClick:this.open,className:o},n),this.state.isOpen&&wp.element.createElement(A.Modal,{className:"ugb-pro-modal",onRequestClose:this.close},wp.element.createElement("div",{className:"ugb-pro-modal__carousel ugb-pro-modal__carousel--slide-".concat(this.state.slide)},wp.element.createElement("div",{className:"ugb-pro-modal__carousel-wrapper"},wp.element.createElement("img",{src:"https://gambitph.github.io/Stackable/assets/premium-slider/cover.jpg",alt:Object(s.__)("Do more with Stackable Premium",z.i18n)}),wp.element.createElement("img",{src:"https://gambitph.github.io/Stackable/assets/premium-slider/layouts.jpg",alt:Object(s.__)("Premium Layouts",z.i18n)}),wp.element.createElement("img",{src:"https://gambitph.github.io/Stackable/assets/premium-slider/seamless.jpg",alt:Object(s.__)("Seamless Layouts Switching",z.i18n)}),wp.element.createElement("img",{src:"https://gambitph.github.io/Stackable/assets/premium-slider/effects.jpg",alt:Object(s.__)("Premium Effects",z.i18n)}),wp.element.createElement("img",{src:"https://gambitph.github.io/Stackable/assets/premium-slider/others.jpg",alt:Object(s.__)("Other Features",z.i18n)})),wp.element.createElement("div",{className:"ugb-pro-modal__carousel-left",onMouseDown:this.prev,onKeyPress:this.prev,role:"button",tabIndex:"0"},wp.element.createElement(Wn,null)),wp.element.createElement("div",{className:"ugb-pro-modal__carousel-right",onMouseDown:this.next,onKeyPress:this.next,role:"button",tabIndex:"0"},wp.element.createElement(Ln,null))),wp.element.createElement("div",{className:"ugb-pro-modal__footer"},wp.element.createElement("a",{href:z.pricingURL,className:"button button-secondary",target:"_blank",rel:"noopener noreferrer",title:Object(s.__)("Go Premium",z.i18n)},Object(s.__)("Go Premium",z.i18n)),wp.element.createElement("a",{href:"https://rebrand.ly/plugin-premium-demo",className:"button button-secondary button-ghost",target:"_blank",rel:"noopener noreferrer",title:Object(s.__)("Try Premium Demo",z.i18n)},Object(s.__)("Try Premium Demo",z.i18n)),wp.element.createElement("a",{href:"https://rebrand.ly/plugin-slider-premium",target:"_blank",rel:"noopener noreferrer",title:Object(s.__)("Visit Site",z.i18n)},Object(s.__)("Visit Site",z.i18n)))))}}])&&qn(n.prototype,a),o&&qn(n,o),t}();function Jn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var $n=function(e){var t,n,a,o=e.designId,i=e.image,r=e.label,s=e.onClick,u=e.plan,b=e.isPro,p=Jn(Object(c.useState)(!1),2),g=p[0],m=p[1],d=Jn(Object(c.useState)(!1),2),f=d[0],h=d[1],v=l()(["ugb-design-library-item"],(t={"ugb--is-busy":g},n="ugb--is-".concat(u),a=!b&&"free"!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:v,onMouseEnter:function(){return h(!0)},onMouseLeave:function(){return h(!1)}},g&&wp.element.createElement("span",{className:"ugb-design-library-item__spinner","data-testid":"spinner"},wp.element.createElement(A.Spinner,null)),!b&&"free"!==u&&wp.element.createElement("span",{className:"ugb-design-library-item__premium","data-testid":"premium-tag"},u),wp.element.createElement("button",{className:"ugb-design-library-item__image",onClick:function(){(b||"free"===u)&&(m(!0),Pn(o).then(function(e){m(!1),s(e)}))}},!b&&"free"!==u&&wp.element.createElement(A.Dashicon,{icon:"lock"}),wp.element.createElement("img",{src:i,alt:r})),wp.element.createElement("footer",null,(b||"free"===u)&&wp.element.createElement("span",null,r),!b&&"free"!==u&&!f&&wp.element.createElement("span",null,r),!b&&"free"!==u&&f&&wp.element.createElement(Kn,{buttonClassName:"ugb-design-library-item__premium-link",button:wp.element.createElement(c.Fragment,null,wp.element.createElement(A.Dashicon,{icon:"external"}),e.premiumLabel)})))};$n.defaultProps={designId:"",image:"",label:"",onClick:function(){},plan:"free",isPro:z.isPro,premiumLabel:Object(s.__)("Go Premium",z.i18n)};var Zn=$n;var Qn=function(e){var t,n,a,o=e.designs,i=e.isBusy,r=e.onSelect,c=l()(["ugb-design-library-items"],(t={},n="ugb-design-library-items--columns-".concat(e.columns),a=!i&&e.columns,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement("div",{className:c},(o||[]).map(function(e,t){return wp.element.createElement(Zn,{key:t,type:e.type,block:e.block,template:e.template,plan:e.plan,designId:e.id,image:e.image,label:e.label,onClick:function(e){r(e)}})}),i&&wp.element.createElement("div",{className:"ugb-design-library-search__spinner","data-testid":"spinner"},wp.element.createElement(A.Spinner,null)),!i&&!(o||[]).length&&wp.element.createElement("p",{className:"components-base-control__help","data-testid":"nothing-found-note"},Object(s.__)("No designs found",z.i18n)))};Qn.defaultProps={designs:[],columns:1,onSelect:function(){},isBusy:!1};var ea=Qn,ta=(n(290),n(17)),na=n.n(ta);function aa(e){return(aa="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})(e)}function oa(){return(oa=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ia(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ra(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function la(e){return(la=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ca(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sa(e,t){return(sa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ua(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ba={},pa=Object(H.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=la(n).apply(this,arguments))||"object"!==aa(a)&&"function"!=typeof a?ca(t):a).blockClientId=e.props.blockProps.clientId,void 0===ba[e.blockClientId]&&(ba[e.blockClientId]={tab:Object(o.Q)(e.props.blockProps)?"":"style",panel:0}),e.onClickPanel=e.onClickPanel.bind(ca(e)),e.onClickTab=e.onClickTab.bind(ca(e)),e}var a,i,r;return 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&&sa(e,t)}(n,c["Component"]),a=n,(i=[{key:"getActiveTab",value:function(){var e=document.querySelector(".components-panel[data-ugb-tab]");return e?e.getAttribute("data-ugb-tab"):void 0}},{key:"getActiveTabPanelContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab();return e?document.querySelector(".ugb-panel-".concat(e)):void 0}},{key:"getPanelFromIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;return-1===e?null:this.getActiveTabPanelContainer().querySelector(".components-panel__body:nth-child(".concat(e+1,"):not(.is-opened) .components-panel__body-toggle"))}},{key:"getPanelIndex",value:function(e){return e?Array.prototype.slice.call(e.parentElement.children).indexOf(e):-1}},{key:"getOpenPanelIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getActiveTab(),t=this.getActiveTabPanelContainer(e),n=t.querySelector(".components-panel__body.is-opened");return this.getPanelIndex(n)}},{key:"componentDidMount",value:function(){if(-1!==ba[this.blockClientId].panel){var e=this.getPanelFromIndex(ba[this.blockClientId].panel);e&&e.click()}else xa()}},{key:"onClickPanel",value:function(e){ba[this.blockClientId]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ia(n,!0).forEach(function(t){ua(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ia(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},ba[this.blockClientId],{panel:e.classList.contains("is-opened")?-1:this.getPanelIndex(e)})}},{key:"onClickTab",value:function(e){ba[this.blockClientId]={tab:e,panel:this.getOpenPanelIndex(e)}}},{key:"render",value:function(){return wp.element.createElement(e,oa({initialTab:ba[this.blockClientId].tab,onClick:this.onClickTab,onClickPanel:this.onClickPanel},this.props))}}])&&ra(a.prototype,i),r&&ra(a,r),n}(),ua(t,"propTypes",{blockProps:na.a.shape({clientId:na.a.string.isRequired,name:na.a.string.isRequired,attributes:na.a.object.isRequired})}),n},"withMemory");function ga(e){return(ga="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})(e)}function ma(){return(ma=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function da(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function fa(e){return(fa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ha(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function va(e,t){return(va=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ya=Object(H.createHigherOrderComponent)(function(e){var t,n,a,o,i;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=fa(n).apply(this,arguments))||"object"!==ga(a)&&"function"!=typeof a?ha(t):a).onSidebarScroll=e.onSidebarScroll.bind(ha(e)),e.sidebarEl=null,e.tabTop=0,e.styleTop=0,e.styleWidth=0,e.state={fixedTabs:!1},e}var a,o,i;return 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&&va(e,t)}(n,c["Component"]),a=n,(o=[{key:"onSidebarScroll",value:function(){if(!this.tabTop){var e=document.querySelector(".block-editor-block-card");this.tabTop=e?e.getBoundingClientRect().height+32:75}if(!this.styleWidth){var t=document.querySelector(".edit-post-sidebar-header");if(t){var n=t.getBoundingClientRect();this.styleTop=n.bottom-2,this.styleWidth=n.width}else{var a=document.querySelector(".edit-post-sidebar");if(a){var o=a.getBoundingClientRect();this.styleTop=o.top,this.styleWidth=o.width}}}this.sidebarEl&&this.tabTop&&this.setState({fixedTabs:this.sidebarEl.scrollTop>=this.tabTop})}},{key:"componentDidMount",value:function(){this.sidebarEl=document.querySelector(".edit-post-sidebar"),this.sidebarEl&&this.sidebarEl.addEventListener("scroll",this.onSidebarScroll)}},{key:"componentWillUnmount",value:function(){this.sidebarEl&&this.sidebarEl.removeEventListener("scroll",this.onSidebarScroll)}},{key:"render",value:function(){var t=l()([this.props.className],{"ugb--fixed-tabs":this.state.fixedTabs});return wp.element.createElement(c.Fragment,null,wp.element.createElement(e,ma({},this.props,{className:t,style:{top:this.state.fixedTabs?"".concat(this.styleTop,"px"):void 0,width:this.state.fixedTabs?"".concat(this.styleWidth,"px"):void 0}})),this.state.fixedTabs&&wp.element.createElement("div",{className:"ugb--panel-tabs-dummy"}))}}])&&da(a.prototype,o),i&&da(a,i),n}(),i={className:""},(o="defaultProps")in(a=t)?Object.defineProperty(a,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[o]=i,n},"withSticky");function wa(e){return(wa="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})(e)}function Oa(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ka(e){return(ka=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ja(e,t){return(ja=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ca=[{value:"layout",title:Object(s.__)("Layout",z.i18n),label:Object(s.__)("Layout Tab",z.i18n),icon:"admin-settings"},{value:"style",title:Object(s.__)("Style",z.i18n),label:Object(s.__)("Style Tab",z.i18n),icon:"admin-appearance"},{value:"advanced",title:Object(s.__)("Advanced",z.i18n),label:Object(s.__)("Advanced Tab",z.i18n),icon:"admin-tools"}],xa=function(e){[].forEach.call(document.querySelectorAll(".components-panel__body .components-panel__body-toggle"),function(t){0!==t.offsetHeight&&t.parentElement.parentElement.classList.contains("is-opened")&&e!==t&&t.click()})},Ea=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ka(t).apply(this,arguments))||"object"!==wa(a)&&"function"!=typeof a?_a(n):a).tabsToUse=e.props.tabs||["layout","style","advanced"],e.state={activeTab:e.props.initialTab?e.props.initialTab:e.tabsToUse[0]},e.onButtonPanelClick=e.onButtonPanelClick.bind(_a(e)),e.updateSidebarPanelTab=e.updateSidebarPanelTab.bind(_a(e)),e.select=e.select.bind(_a(e)),e.containerDiv=Object(c.createRef)(),e}var n,a,o;return 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&&ja(e,t)}(t,c["Component"]),n=t,(a=[{key:"updateSidebarPanelTab",value:function(e){var t=this.containerDiv.current.closest(".components-panel");t.setAttribute("data-ugb-tab",e),t.closest(".edit-post-sidebar").classList.add("ugb--has-panel-tabs")}},{key:"componentDidMount",value:function(){this.updateSidebarPanelTab(this.state.activeTab),this.props.closeOtherPanels&&document.body.addEventListener("click",this.onButtonPanelClick)}},{key:"componentWillUnmount",value:function(){var e=this.containerDiv.current.closest(".components-panel");e.removeAttribute("data-ugb-tab"),e.closest(".edit-post-sidebar").classList.remove("ugb--has-panel-tabs"),this.props.closeOtherPanels&&document.body.removeEventListener("click",this.onButtonPanelClick)}},{key:"onButtonPanelClick",value:function(e){var t=e.target.closest(".components-panel__body-toggle");t&&"layout"!==this.state.activeTab&&(xa(t),this.props.onClickPanel(t.closest(".components-panel__body")))}},{key:"select",value:function(e){this.setState({activeTab:e}),this.updateSidebarPanelTab(e),this.props.onClick(e)}},{key:"render",value:function(){var e=this,t=l()([this.props.className,"components-panel__body","ugb-panel-tabs"]);return wp.element.createElement("div",{className:t,style:this.props.style,ref:this.containerDiv},wp.element.createElement("div",{className:"ugb-panel-tabs__wrapper"},Ca.map(function(t,n){var a=t.value,o=t.title,i=t.label,r=t.icon;return e.tabsToUse.includes(a)?wp.element.createElement("button",{key:n,onClick:function(){return e.select(a)},className:l()(["edit-post-sidebar__panel-tab","ugb-tab--".concat(a)],{"is-active":e.state.activeTab===a}),"aria-label":i,"data-label":i},wp.element.createElement(A.Icon,{icon:r}),o):null})))}}])&&Oa(n.prototype,a),o&&Oa(n,o),t}();Ea.defaultProps={className:"",style:{},closeOtherPanels:!0,blockProps:{},initialTab:"",onClickPanel:function(){},onClick:function(){},tabs:null};var Sa=ya(pa(Ea));function Ba(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ta(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ba(n,!0).forEach(function(t){Aa(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ba(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Aa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Na=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return Object.keys(e).reduce(function(i,r){return Ta({},i,Aa({},Object(o.W)(r,t,n,a?"#editor":""),e[r]))},{})},Pa=function(e){return Object(o.V)(Object.keys(e).reduce(function(t,n){var a=Object.keys(e[n]).reduce(function(t,a){var o=e[n][a];if(void 0===o)return t;var r=a.replace(/^(--?)?(.*?$)/,function(e,t,n){return"".concat(t||"").concat(Object(i.kebabCase)(n))});return"".concat(t,"\n\t").concat(r,": ").concat(o,";")},"");return"".concat(t,"\n\n").concat(n," {").concat(a,"\n}")},"").trim())},Fa=function(e){var t=e.style,n=void 0===t?{}:t,a=e.editorMode,r=void 0!==a&&a,l=e.blockUniqueClassName,c=void 0===l?"":l,s=e.blockMainClassName,u=void 0===s?"":s,b=e.breakTablet,p=void 0===b?1025:b,g=e.breakMobile,m=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1025,l=arguments.length>4&&void 0!==arguments[4]?arguments[4]:768,c=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,u=[],b=Object(i.omit)(t,["desktopTablet","desktopOnly","tablet","tabletOnly","mobile","ie11","editor"]);if(Object.keys(b).length){var p=Na(b,n,a,c);u.push(Pa(p))}if(void 0!==t.desktopTablet){var g=Na(t.desktopTablet,n,a,c),m=Pa(g);m&&u.push("\n@media screen and (min-width: ".concat(l,"px) {\n").concat(m," }"))}if(void 0!==t.desktopOnly){var d=Na(t.desktopOnly,n,a,c),f=Pa(d);f&&u.push("\n@media screen and (min-width: ".concat(r,"px) {\n").concat(f," }"))}if(void 0!==t.tablet){var h=Na(t.tablet,n,a,c),v=Pa(h);v&&u.push("\n@media screen and (max-width: ".concat(r,"px) {\n").concat(v," }"))}if(void 0!==t.tabletOnly){var y=Na(t.tabletOnly,n,a,c),w=Pa(y);w&&u.push("\n@media screen and (min-width: ".concat(l,"px) and (max-width: ").concat(r,"px) {\n").concat(w," }"))}if(void 0!==t.mobile){var O=Na(t.mobile,n,a,c),k=Pa(O);k&&u.push("\n@media screen and (max-width: ".concat(l,"px) {\n").concat(k," }"))}if(void 0!==t.ie11){var _=Na(t.ie11,n,a,c),j=Pa(_);j&&u.push("\n@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {\n".concat(j," }"))}return c&&void 0!==t.editor&&!s&&u.push(e(t.editor,n,a,r,l,c,s++)),Object(o.V)(u.join(""))}(n,u,c,p,void 0===g?768:g,r);return m?wp.element.createElement("style",null,m):null};function Ra(){return(Ra=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Da=function(e){var t=e.options,n=e.selected,a=e.title,o=void 0===a?Object(s.__)("Layout",z.i18n):a,r=e.selectedOptionInTitle,c=void 0===r||r,u=e.help,b=void 0===u?"":u,p=e.className,g=void 0===p?"":p,m=e.initialOpen,d=void 0===m||m,f=t?t.find(function(e){return e.value===n}):null,h=f?"".concat(o," – ").concat(f.label):o,v=l()(["ugb-design-panel-body",g]);return wp.element.createElement(A.PanelBody,Ra({title:c?wp.element.createElement("span",null,h):o,className:v,initialOpen:d},Object(i.omit)(e,["help"])),b&&wp.element.createElement("p",{className:"components-base-control__help"},b),t&&wp.element.createElement(Ua,Object(i.omit)(e,["help","title"])),e.children)};var Ma=function(e){var t=e.imageFile,n=e.imageHoverFile,a=e.imageWidth,o=void 0===a?"":a,i=e.imageHeight,r=void 0===i?"":i,l=e.label,c=t?t.match(/https?:/i)?t:z.srcUrl?"".concat(z.srcUrl,"/").concat(t):t:"",s=n?n.match(/https?:/i)?n:z.srcUrl?"".concat(z.srcUrl,"/").concat(n):n:null;return wp.element.createElement("span",{className:"ugb-design-panel-item"},s&&wp.element.createElement("img",{className:"ugb-design-panel-item__hover-image",src:s,alt:l,width:o,height:r}),c&&wp.element.createElement("img",{className:"ugb-design-panel-item__image",src:c,alt:l,width:o,height:r}),wp.element.createElement("span",{className:"design-label"},l))};function za(){return(za=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ia(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function La(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ua=function(e){var t=e.selected,n=e.options,a=e.onChange,o=e.className,r=void 0===o?"":o,c=n.map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ia(n,!0).forEach(function(t){La(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ia(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{label:wp.element.createElement(Ma,{imageFile:e.image,imageHoverFile:e.hoverImage,imageWidth:e.imageWidth,imageHeight:e.imageHeight,isPro:e.isPro,label:e.label}),title:e.label,value:e.value})});return wp.element.createElement("div",{className:l()(r,"ugb-design-control-wrapper components-base-control")},wp.element.createElement("div",{className:"components-base-control__label"},e.label),wp.element.createElement(A.RadioControl,za({},Object(i.omit)(e,["label"]),{className:"ugb-design-control",selected:t,options:c,onChange:a})))},Ha=n(87),Wa=n.n(Ha),Ga=n(88),qa=n.n(Ga),Va=n(89),Xa=n.n(Va),Ya=n(90),Ka=n.n(Ya),Ja=n(91),$a=n.n(Ja),Za=n(92),Qa=n.n(Za),eo=n(93),to=n.n(eo),no=n(94),ao=n.n(no),oo=n(95),io=n.n(oo),ro=n(96),lo=n.n(ro),co=n(97),so=n.n(co),uo=n(98),bo=n.n(uo),po=n(99),go=n.n(po);function mo(){return(mo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fo={"wave-1":{image:lo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),1),value:"wave-1"},"straight-1":{image:io.a,label:Object(s.__)("Straight",z.i18n),value:"straight-1"},"wave-2":{image:so.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),2),value:"wave-2"},"wave-3":{image:bo.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),3),value:"wave-3"},"wave-4":{image:go.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Wave",z.i18n),4),value:"wave-4"},"slant-1":{image:to.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Slant",z.i18n),1),value:"slant-1"},"slant-2":{image:ao.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Slant",z.i18n),2),value:"slant-2"},"curve-1":{image:Wa.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Curve",z.i18n),1),value:"curve-1"},"curve-2":{image:qa.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Curve",z.i18n),2),value:"curve-2"},"curve-3":{image:Xa.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Curve",z.i18n),3),value:"curve-3"},"rounded-1":{image:Ka.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Rounded",z.i18n),1),value:"rounded-1"},"rounded-2":{image:$a.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Rounded",z.i18n),2),value:"rounded-2"},"rounded-3":{image:Qa.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Rounded",z.i18n),3),value:"rounded-3"}},ho=function(e){var t=Object.keys(fo).filter(function(t){return!e.excludeDesigns.includes(t)}).map(function(e){return fo[e]});return wp.element.createElement(A.BaseControl,{className:"ugb-design-separator-control",id:"ugb-design-separator-control",label:e.label,help:e.help},wp.element.createElement(Ua,mo({options:Object(ve.applyFilters)("stackable.separator.edit.layouts",t,e)},Object(i.omit)(e,["label","help"]))))};ho.defaultProps={label:"",help:"",excludeDesigns:[]};var vo=ho,yo=n(31),wo=n(23),Oo=n(25),ko=n(26),_o=n(27);function jo(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Co=Object(H.withState)({value:""})(function(e){var t,n,a=e.value,o=e.setState,i=(n=(t=a)&&t.toLowerCase(),[].concat(jo(Object.values(Oo.a).filter(function(e){return e.iconName.includes(n)}).slice(0,100)),jo(Object.values(ko.a).filter(function(e){return e.iconName.includes(n)}).slice(0,100)),jo(Object.values(_o.a).filter(function(e){return e.iconName.includes(n)}).slice(0,100))).slice(0,100));return wp.element.createElement(A.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside},wp.element.createElement(A.PanelBody,null,wp.element.createElement("div",{className:"ugb-icon-popover__label-container"},wp.element.createElement(A.TextControl,{className:"ugb-icon-popover__input",value:a,onChange:function(e){o({value:e})},placeholder:Object(s.__)("Type to search icon",z.i18n)}),e.allowReset&&wp.element.createElement(A.Button,{onClick:function(){e.onChange(""),e.onClose()},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Remove",z.i18n))),wp.element.createElement("div",{className:"ugb-icon-popover__iconlist"},i.map(function(t,n){var a=t.prefix,o=t.iconName,i="".concat(a,"-").concat(o);return wp.element.createElement("button",{key:n,className:"components-button",onClick:function(){e.onChange(i),e.onClose()}},wp.element.createElement(wo.a,{icon:[a,o]}))}),!i.length&&wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("No matches found",z.i18n)))))});Co.defaultProps={onChange:function(){},onClose:function(){},onClickOutside:function(){},allowReset:!0};var xo=Co,Eo=function(e){return wp.element.createElement(Xr,{attrNameTemplate:"%sContentAlign",setAttributes:e.setAttributes,blockAttributes:e.blockAttributes},wp.element.createElement(xl,{label:Object(s.__)("Align",z.i18n),className:l()([e.className,"ugb--help-tip-alignment-all"])}))};Eo.defaultProps={className:"",setAttributes:function(){},blockAttributes:{}};var So=Eo,Bo=function(){return wp.element.createElement("hr",{className:"ugb-control-separator"})};function To(e){return(To="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})(e)}function Ao(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function No(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Po(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Fo(e){return(Fo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ro(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Do(e,t){return(Do=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Mo=1,zo=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Fo(t).apply(this,arguments))||"object"!==To(a)&&"function"!=typeof a?Ro(n):a).state={open:!1},e.handleOpen=e.handleOpen.bind(Ro(e)),e.handleClose=e.handleClose.bind(Ro(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Ro(e)),e.buttonRef=Object(c.createRef)(),e.instanceId=Mo++,e}var n,a,o;return 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&&Do(e,t)}(t,c["Component"]),n=t,(a=[{key:"checkIfAttributeShouldToggleOn",value:function(e,t){if(!this.props.onToggle||!this.props.toggleAttributeName||!this.props.toggleOnSetAttributes.length)return e;if(t.attributes[this.props.toggleAttributeName])return e;var n=!1;return this.props.toggleOnSetAttributes.some(function(t){return!(!Object.keys(e).includes(t)||""===e[t]||(n=!0,0))}),n?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ao(n,!0).forEach(function(t){No(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ao(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,No({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){Object(ve.addFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object(ve.removeFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId))}},{key:"handleOpen",value:function(){this.setState({open:!this.state.open})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleOnClickOutside",value:function(e){e.relatedTarget&&!e.relatedTarget.closest(".components-popover")&&e.relatedTarget!==this.buttonRef.current&&this.handleClose()}},{key:"render",value:function(){return wp.element.createElement(A.BaseControl,{help:this.props.help,label:!this.props.onToggle&&wp.element.createElement("label",{htmlFor:"ugb-button-icon-control__edit-".concat(this.instanceId)},this.props.label),id:"ugb-button-icon-control",className:l()("ugb-button-icon-control",this.props.className)},this.props.onToggle&&wp.element.createElement(A.ToggleControl,{label:this.props.label,checked:this.props.checked,onChange:this.props.onToggle}),wp.element.createElement("div",{className:"ugb-button-icon-control__wrapper"},this.props.allowReset&&wp.element.createElement(A.IconButton,{onClick:this.props.onReset,className:"ugb-button-icon-control__reset",label:Object(s.__)("Reset",z.i18n),icon:"image-rotate"}),wp.element.createElement(A.IconButton,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:Object(s.__)("Edit",z.i18n),isDefault:!0,icon:"edit",id:"ugb-button-icon-control__edit-".concat(this.instanceId),ref:this.buttonRef}),this.state.open&&wp.element.createElement(A.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",onClose:this.handleClose,onFocusOutside:this.handleOnClickOutside,anchorRef:this.buttonRef.current},wp.element.createElement(A.PanelBody,null,(this.props.label||this.props.popoverLabel)&&wp.element.createElement("h2",{className:"components-panel__body-title"},this.props.popoverLabel||this.props.label),this.props.children))))}}])&&Po(n.prototype,a),o&&Po(n,o),t}();zo.defaultProps={help:"",label:"",popoverLabel:"",className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:""};var Io=zo,Lo=function(e){var t=Object(o.I)(e.imageData,e.size||"full"),n=e.widthMax||1e3,a=0;e.imageData&&e.onChangeSize&&t&&(n=t.width,a=t.height);var i=!!t&&t.width===t.height;return wp.element.createElement(c.Fragment,null,e.onChangeImage&&wp.element.createElement(re,{label:Object(s.__)("Image",z.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:"",width:"",height:""})},onChange:function(t){var n=t.url,a=t.width,o=t.height,i=e.size||"full";t.sizes[i]&&(n=t.sizes[i].url,a=t.sizes[i].width,o=t.sizes[i].height),e.onChangeImage({id:t.id,url:n,width:a,height:o})}}),e.onChangeShape&&wp.element.createElement(Ce,{isSquareImage:i,shape:e.shape,shapeFlipX:e.shapeFlipX,shapeFlipY:e.shapeFlipY,shapeStretch:e.shapeStretch,onChangeShape:e.onChangeShape,onChangeShapeFlipX:e.onChangeShapeFlipX,onChangeShapeFlipY:e.onChangeShapeFlipY,onChangeShapeStretch:e.onChangeShapeStretch}),wp.element.createElement(Bo,null),e.onChangeAlt&&wp.element.createElement(se,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&wp.element.createElement(Se,{label:Object(s.__)("Image Size",z.i18n),value:e.size,onChange:function(t){var n=Object(o.I)(e.imageData,t||"full"),a="",i="",r=e.url;n&&(a=n.width,i=n.height,r=n.source_url),e.onChangeSize(t,r,a,i)}}),e.onChangeWidth&&wp.element.createElement(c.Fragment,null,wp.element.createElement(el,null,wp.element.createElement(Qe,{label:Object(s.__)("Image Width",z.i18n),value:e.width,max:n,onChange:function(t){var o=a/n;e.onChangeWidth("number"==typeof t?t:"","number"==typeof t?parseInt(o*t,10):"")},allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(el,{screen:"tablet"},wp.element.createElement(Qe,{label:Object(s.__)("Image Width",z.i18n),value:e.tabletWidth,max:n,onChange:e.onChangeTabletWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"})),wp.element.createElement(el,{screen:"mobile"},wp.element.createElement(Qe,{label:Object(s.__)("Image Width",z.i18n),value:e.mobileWidth,max:n,onChange:e.onChangeMobileWidth,allowReset:!0,className:"ugb--help-tip-image-size-no-crop"}))),e.onChangeSquare&&("number"==typeof e.width||e.width)&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Force square image",z.i18n),checked:e.square,onChange:e.onChangeSquare,className:"ugb--help-tip-image-square"}),e.onChangeBorderRadius&&""===e.shape&&wp.element.createElement(Qe,{label:Object(s.__)("Border Radius",z.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-border-radius"}),e.onChangeShadow&&""===e.shape&&wp.element.createElement(Qe,{label:Object(s.__)("Shadow / Outline",z.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-image-shadow"}),e.onChangeBlendMode&&wp.element.createElement(Q,{label:Object(s.__)("Blend Mode",z.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};Lo.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id,e.width,e.height},shape:"",onChangeShape:function(){},shapeStretch:"",onChangeShapeStretch:function(){},alt:"",onChangeAlt:function(){},size:"large",onChangeSize:function(){},widthMax:1e3,width:"",tabletWidth:"",mobileWidth:"",onChangeWidth:function(){},onChangeTabletWidth:function(){},onChangeMobileWidth:function(){},square:"",onChangeSquare:function(){},borderRadius:"",onChangeBorderRadius:function(){},shadow:"",onChangeShadow:function(){},blendMode:"",onChangeBlendMode:function(){}};var Uo=Object(H.compose)(Object(_e.withSelect)(function(e,t){var n=e("core").getMedia;return Object(o.f)(t.id,e),{imageData:t.id?n(t.id):null}}))(Lo);function Ho(){return(Ho=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Wo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Go=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(o.b)(e.blockAttributes,n,"");return wp.element.createElement(Uo,Ho({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,o=e.url,i=e.id,r=e.width,l=e.height;t((Wo(a={},n("Url"),o),Wo(a,n("Id"),i),Wo(a,n("Width"),r),Wo(a,n("Height"),l),a))},alt:a("Alt"),onChangeAlt:function(e){return t(Wo({},n("Alt"),e))},size:a("Size"),onChangeSize:function(e,a,o,i){var r;t((Wo(r={},n("Size"),e),Wo(r,n("Url"),a),Wo(r,n("Width"),o),Wo(r,n("Height"),i),r))},shape:a("Shape"),onChangeShape:function(e){return t(Wo({},n("Shape"),e))},shapeFlipX:a("ShapeFlipX"),onChangeShapeFlipX:function(e){return t(Wo({},n("ShapeFlipX"),e))},shapeFlipY:a("ShapeFlipY"),onChangeShapeFlipY:function(e){return t(Wo({},n("ShapeFlipY"),e))},shapeStretch:a("ShapeStretch"),onChangeShapeStretch:function(e){return t(Wo({},n("ShapeStretch"),e))},style:a("Style"),onChangeStyle:function(e){return t(Wo({},n("Style"),e))},width:a("Width"),tabletWidth:a("TabletWidth"),mobileWidth:a("MobileWidth"),onChangeWidth:function(e,a){var o;t((Wo(o={},n("Width"),e),Wo(o,n("Height"),a),o))},onChangeTabletWidth:function(e){return t(Wo({},n("TabletWidth"),e))},onChangeMobileWidth:function(e){return t(Wo({},n("MobileWidth"),e))},square:a("Square"),onChangeSquare:function(e){return t(Wo({},n("Square"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(Wo({},n("BorderRadius"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(Wo({},n("Shadow"),e))},blendMode:a("BlendMode"),onChangeBlendMode:function(e){return t(Wo({},n("BlendMode"),e))}},e))};Go.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var qo=Go,Vo=function(e){return wp.element.createElement(c.Fragment,null,e.onChangeImage&&wp.element.createElement(re,{label:Object(s.__)("Image",z.i18n),imageID:e.id,imageURL:e.url,onRemove:function(){return e.onChangeImage({url:"",id:""})},onChange:function(t){var n=t.url,a=e.size||"full";t.sizes[a]&&(n=t.sizes[a].url),e.onChangeImage({id:t.id,url:n})}}),e.onChangeSize&&wp.element.createElement(Se,{label:Object(s.__)("Image Size",z.i18n),value:e.size,onChange:function(t){e.onChangeSize(t,Object(o.J)(e.id,t||"full"))},className:"ugb--help-tip-image-size"}),e.onChangeBackgroundPosition&&wp.element.createElement(tt,{label:Object(s.__)("Background Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"}),e.onChangeBackgroundRepeat&&wp.element.createElement(tt,{label:Object(s.__)("Background Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"}),e.onChangeBackgroundSize&&wp.element.createElement(tt,{label:Object(s.__)("Background Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"}),e.onChangeBackgroundSize&&"custom"===e.backgroundSize&&wp.element.createElement(Qe,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}))};Vo.defaultProps={id:"",url:"",onChangeImage:function(e){e.url,e.id},size:"",onChangeSize:function(){},backgroundPosition:"",onChangeBackgroundPosition:function(){},backgroundRepeat:"",onChangeBackgroundRepeat:function(){},backgroundSize:"",onChangeBackgroundSize:function(){},backgroundCustomSizeUnit:"",onChangeBackgroundCustomSizeUnit:function(){},backgroundCustomSize:"",onChangeBackgroundCustomSize:function(){}};var Xo=Object(H.compose)(Object(_e.withSelect)(function(e,t){var n=e("core").getMedia;return Object(o.f)(t.id,e),{imageData:t.id?n(t.id):null}}))(Vo);function Yo(){return(Yo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Ko(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Jo=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(o.b)(e.blockAttributes,n,"");return wp.element.createElement(Xo,Yo({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,o=e.url,i=e.id;t((Ko(a={},n("Url"),o),Ko(a,n("Id"),i),a))},size:a("Size"),onChangeSize:function(e,a){var o;t((Ko(o={},n("Size"),e),Ko(o,n("Url"),a),o))},backgroundPosition:a("BackgroundPosition"),onChangeBackgroundPosition:function(e){return t(Ko({},n("BackgroundPosition"),e))},backgroundRepeat:a("BackgroundRepeat"),onChangeBackgroundRepeat:function(e){return t(Ko({},n("BackgroundRepeat"),e))},backgroundSize:a("BackgroundSize"),onChangeBackgroundSize:function(e){return t(Ko({},n("BackgroundSize"),e))},backgroundCustomSize:a("BackgroundCustomSize"),onChangeBackgroundCustomSize:function(e){return t(Ko({},n("BackgroundCustomSize"),e))},backgroundCustomSizeUnit:a("BackgroundCustomSizeUnit")||"px",onChangeBackgroundCustomSizeUnit:function(e){return t(Ko({},n("BackgroundCustomSizeUnit"),e))}},e))};Jo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var $o=Jo;function Zo(){return(Zo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qo=function(e){return wp.element.createElement(c.Fragment,null,wp.element.createElement(Io,{label:e.label,onReset:e.onReset,allowReset:e.fontFamily||e.fontSize||e.tabletFontSize||e.mobileFontSize||e.fontWeight||e.textTransform||e.lineHeight||e.tabletLineHeight||e.mobileLineHeight||e.letterSpacing,className:"ugb--help-tip-typography"},e.onChangeFontFamily&&wp.element.createElement(tn,{label:Object(s.__)("Font Family",z.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily,className:"ugb--help-tip-typography-family"}),e.onChangeFontSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(el,null,wp.element.createElement($t,Zo({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(el,{screen:"tablet"},wp.element.createElement($t,Zo({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(el,{screen:"mobile"},wp.element.createElement($t,Zo({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))),e.onChangeFontWeight&&wp.element.createElement(A.SelectControl,{label:Object(s.__)("Weight",z.i18n),options:[{label:"100",value:"100"},{label:"200",value:"200"},{label:"300",value:"300"},{label:"400",value:"400"},{label:"500",value:"500"},{label:"600",value:"600"},{label:"700",value:"700"},{label:"800",value:"800"},{label:"900",value:"900"},{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Normal",z.i18n),value:"normal"},{label:Object(s.__)("Bold",z.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight,className:"ugb--help-tip-typography-weight"}),e.onChangeTextTransform&&wp.element.createElement(A.SelectControl,{label:Object(s.__)("Transform",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Uppercase",z.i18n),value:"uppercase"},{label:Object(s.__)("Lowercase",z.i18n),value:"lowercase"},{label:Object(s.__)("Capitalize",z.i18n),value:"capitalize"},{label:Object(s.__)("Normal",z.i18n),value:"normal"}],onChange:e.onChangeTextTransform,value:e.textTransform,className:"ugb--help-tip-typography-transform"}),e.onChangeLineHeight&&wp.element.createElement(c.Fragment,null,wp.element.createElement(el,null,wp.element.createElement(Qe,{label:Object(s.__)("Line-Height",z.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],allowReset:!0,value:e.lineHeight,onChange:e.onChangeLineHeight,unit:e.lineHeightUnit,onChangeUnit:e.onChangeLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(el,{screen:"tablet"},wp.element.createElement(Qe,{label:Object(s.__)("Line-Height",z.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],allowReset:!0,value:e.tabletLineHeight,onChange:e.onChangeTabletLineHeight,unit:e.tabletLineHeightUnit,onChangeUnit:e.onChangeTabletLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"})),wp.element.createElement(el,{screen:"mobile"},wp.element.createElement(Qe,{label:Object(s.__)("Line-Height",z.i18n),units:["px","em"],min:[1,.1],max:[100,10],step:[1,.1],allowReset:!0,value:e.mobileLineHeight,onChange:e.onChangeMobileLineHeight,unit:e.mobileLineHeightUnit,onChangeUnit:e.onChangeMobileLineHeightUnit,initialPosition:[37,1.8],className:"ugb--help-tip-typography-line-height"}))),e.onChangeLetterSpacing&&wp.element.createElement(Qe,{label:Object(s.__)("Letter Spacing",z.i18n),min:-5,max:10,step:.1,allowReset:!0,onChange:e.onChangeLetterSpacing,value:e.letterSpacing,placeholder:"0",className:"ugb--help-tip-typography-letter-spacing"})),e.showSecondFontSize&&e.onChangeFontSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(el,null,wp.element.createElement($t,Zo({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(el,{screen:"tablet"},wp.element.createElement($t,Zo({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"}))),wp.element.createElement(el,{screen:"mobile"},wp.element.createElement($t,Zo({label:Object(s.__)("Size",z.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps,{className:"ugb--help-tip-typography-size"})))))};Qo.defaultProps={label:Object(s.__)("Typography",z.i18n),showSecondFontSize:!0,fontFamily:"",fontSize:"",tabletFontSize:"",mobileFontSize:"",fontSizeUnit:"px",tabletFontSizeUnit:"px",mobileFontSizeUnit:"px",fontWeight:"",textTransform:"",lineHeight:"",tabletLineHeight:"",mobileLineHeight:"",lineHeightUnit:"em",tabletLineHeightUnit:"em",mobileLineHeightUnit:"em",letterSpacing:"",fontSizeProps:{},onReset:function(){},onChangeFontFamily:function(){},onChangeFontSize:function(){},onChangeTabletFontSize:function(){},onChangeMobileFontSize:function(){},onChangeFontSizeUnit:function(){},onChangeTabletFontSizeUnit:function(){},onChangeMobileFontSizeUnit:function(){},onChangeFontWeight:function(){},onChangeTextTransform:function(){},onChangeLineHeight:function(){},onChangeTabletLineHeight:function(){},onChangeMobileLineHeight:function(){},onChangeLineHeightUnit:function(){},onChangeTabletLineHeightUnit:function(){},onChangeMobileLineHeightUnit:function(){},onChangeLetterSpacing:function(){}};var ei=Qo;function ti(){return(ti=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ni(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ai=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(ei,ti({fontFamily:e.blockAttributes[n("FontFamily")]||"",fontSize:e.blockAttributes[n("FontSize")]||"",tabletFontSize:e.blockAttributes[n("TabletFontSize")]||"",mobileFontSize:e.blockAttributes[n("MobileFontSize")]||"",fontSizeUnit:e.blockAttributes[n("FontSizeUnit")]||"px",tabletFontSizeUnit:e.blockAttributes[n("TabletFontSizeUnit")]||"px",mobileFontSizeUnit:e.blockAttributes[n("MobileFontSizeUnit")]||"px",fontWeight:e.blockAttributes[n("FontWeight")]||"",textTransform:e.blockAttributes[n("TextTransform")]||"",letterSpacing:e.blockAttributes[n("LetterSpacing")]||"",lineHeight:e.blockAttributes[n("LineHeight")]||"",tabletLineHeight:e.blockAttributes[n("TabletLineHeight")]||"",mobileLineHeight:e.blockAttributes[n("MobileLineHeight")]||"",lineHeightUnit:e.blockAttributes[n("LineHeightUnit")]||"em",tabletLineHeightUnit:e.blockAttributes[n("TabletLineHeightUnit")]||"em",mobileLineHeightUnit:e.blockAttributes[n("MobileLineHeightUnit")]||"em",onChangeFontFamily:function(e){return t(ni({},n("FontFamily"),e))},onChangeFontSize:function(e){return t(ni({},n("FontSize"),e))},onChangeTabletFontSize:function(e){return t(ni({},n("TabletFontSize"),e))},onChangeMobileFontSize:function(e){return t(ni({},n("MobileFontSize"),e))},onChangeFontSizeUnit:function(e){return t(ni({},n("FontSizeUnit"),e))},onChangeTabletFontSizeUnit:function(e){return t(ni({},n("TabletFontSizeUnit"),e))},onChangeMobileFontSizeUnit:function(e){return t(ni({},n("MobileFontSizeUnit"),e))},onChangeFontWeight:function(e){return t(ni({},n("FontWeight"),e))},onChangeTextTransform:function(e){return t(ni({},n("TextTransform"),e))},onChangeLetterSpacing:function(e){return t(ni({},n("LetterSpacing"),e))},onChangeLineHeight:function(e){return t(ni({},n("LineHeight"),e))},onChangeTabletLineHeight:function(e){return t(ni({},n("TabletLineHeight"),e))},onChangeMobileLineHeight:function(e){return t(ni({},n("MobileLineHeight"),e))},onChangeLineHeightUnit:function(e){return t(ni({},n("LineHeightUnit"),e))},onChangeTabletLineHeightUnit:function(e){return t(ni({},n("TabletLineHeightUnit"),e))},onChangeMobileLineHeightUnit:function(e){return t(ni({},n("MobileLineHeightUnit"),e))},onReset:function(){var e;t((ni(e={},n("FontFamily"),""),ni(e,n("FontSize"),""),ni(e,n("TabletFontSize"),""),ni(e,n("MobileFontSize"),""),ni(e,n("FontSizeUnit"),"px"),ni(e,n("TabletFontSizeUnit"),"px"),ni(e,n("MobileFontSizeUnit"),"px"),ni(e,n("FontWeight"),""),ni(e,n("TextTransform"),""),ni(e,n("LetterSpacing"),""),ni(e,n("LineHeight"),""),ni(e,n("TabletLineHeight"),""),ni(e,n("MobileLineHeight"),""),ni(e,n("LineHeightUnit"),"em"),ni(e,n("TabletLineHeightUnit"),"em"),ni(e,n("MobileLineHeightUnit"),"em"),e))}},e))};ai.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var oi=ai,ii=function(e){return wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColorType&&wp.element.createElement(A.BaseControl,{label:e.labelBackgroundColorType,id:"ugb-background-color-type",className:"ugb--help-tip-background-color-type"},wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("Single",z.i18n)},{value:"gradient",title:Object(s.__)("Gradient",z.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&wp.element.createElement(K,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),e.labelBackgroundColor,1):e.labelBackgroundColor,value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColorOpacity&&"gradient"!==e.backgroundColorType&&!e.backgroundMediaURL&&!e.tabletBackgroundMediaURL&&!e.mobileBackgroundMediaURL&&wp.element.createElement(Qe,{label:Object(s.__)("Background Color Opacity",z.i18n),value:e.backgroundColorOpacity,onChange:e.onChangeBackgroundColorOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-background-color-opacity"}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&wp.element.createElement(K,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&wp.element.createElement(Io,{label:Object(s.__)("Adv. Gradient Color Settings",z.i18n),onReset:e.onResetAdvancedGradient,allowReset:""!==e.backgroundGradientDirection&&90!==e.backgroundGradientDirection||""!==e.backgroundGradientLocation1&&0!==e.backgroundGradientLocation1||""!==e.backgroundGradientLocation2&&100!==e.backgroundGradientLocation2||e.backgroundGradientBlendMode},e.onChangeBackgroundGradientDirection&&wp.element.createElement(Qe,{label:Object(s.__)("Gradient Direction (degrees)",z.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeBackgroundGradientLocation1&&wp.element.createElement(Qe,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",z.i18n),1),value:e.backgroundGradientLocation1,onChange:e.onChangeBackgroundGradientLocation1,min:0,max:100,step:1,allowReset:!0,placeholder:"0",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientLocation2&&wp.element.createElement(Qe,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",z.i18n),2),value:e.backgroundGradientLocation2,onChange:e.onChangeBackgroundGradientLocation2,min:0,max:100,step:1,allowReset:!0,placeholder:"100",className:"ugb--help-tip-gradient-location"}),e.onChangeBackgroundGradientBlendMode&&wp.element.createElement(Q,{label:Object(s.__)("Background Gradient Blend Mode",z.i18n),value:e.backgroundGradientBlendMode,onChange:e.onChangeBackgroundGradientBlendMode,className:"ugb--help-tip-background-blend-mode"})),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&e.onChangeBackgroundMedia&&wp.element.createElement(Bo,null),e.onChangeBackgroundMedia&&wp.element.createElement(c.Fragment,null,wp.element.createElement(el,null,wp.element.createElement(re,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",z.i18n):Object(s.__)("Background Image",z.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",z.i18n):"",onRemove:function(){return e.onChangeBackgroundMedia({url:"",id:""})},onChange:e.onChangeBackgroundMedia,imageID:e.backgroundMediaID,imageURL:e.backgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(el,{screen:"tablet"},wp.element.createElement(re,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",z.i18n):Object(s.__)("Background Image",z.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",z.i18n):"",onRemove:function(){return e.onChangeTabletBackgroundMedia({url:"",id:""})},onChange:e.onChangeTabletBackgroundMedia,imageID:e.tabletBackgroundMediaID,imageURL:e.tabletBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]})),wp.element.createElement(el,{screen:"mobile"},wp.element.createElement(re,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",z.i18n):Object(s.__)("Background Image",z.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",z.i18n):"",onRemove:function(){return e.onChangeMobileBackgroundMedia({url:"",id:""})},onChange:e.onChangeMobileBackgroundMedia,imageID:e.mobileBackgroundMediaID,imageURL:e.mobileBackgroundMediaURL,allowedTypes:e.backgroundMediaAllowVideo?["image","video"]:["image"]}))),e.onChangeBackgroundTintStrength&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(Qe,{label:Object(s.__)("Background Media Tint Strength",z.i18n),value:e.backgroundTintStrength,onChange:function(t){var n=void 0===t||""===t;""!==e.backgroundColor||n?"#000000"===e.backgroundColor&&n?e.onChangeBackgroundTintStrength(t,""):e.onChangeBackgroundTintStrength(t,e.backgroundColor):e.onChangeBackgroundTintStrength(t,"#000000")},min:0,max:10,step:1,allowReset:!0,placeholder:e.backgroundColor?"5":"0",className:"ugb--help-tip-background-tint"}),e.onChangeFixedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&!([e.backgroundMediaURL,e.tabletBackgroundMediaURL,e.mobileBackgroundMediaURL].filter(function(e){return e}).filter(o.bb).length>0)&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Fixed Background",z.i18n),checked:e.fixedBackground,onChange:e.onChangeFixedBackground,className:"ugb--help-tip-background-fixed"}),e.hasAdvancedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(Io,{label:Object(s.__)("Adv. Background Image Settings",z.i18n),onReset:e.onResetAdvancedBackground,allowReset:e.backgroundPosition||e.tabletBackgroundPosition||e.mobileBackgroundPosition||e.backgroundRepeat||e.tabletBackgroundRepeat||e.mobileBackgroundRepeat||e.backgroundSize||e.tabletBackgroundSize||e.mobileBackgroundSize||e.backgroundImageBlendMode},wp.element.createElement(el,null,wp.element.createElement(tt,{label:Object(s.__)("Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(el,{screen:"tablet"},wp.element.createElement(tt,{label:Object(s.__)("Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(el,{screen:"mobile"},wp.element.createElement(tt,{label:Object(s.__)("Image Position",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Top Left",z.i18n),value:"top left"},{label:Object(s.__)("Top Center",z.i18n),value:"top center"},{label:Object(s.__)("Top Right",z.i18n),value:"top right"},{label:Object(s.__)("Center Left",z.i18n),value:"center left"},{label:Object(s.__)("Center Center",z.i18n),value:"center center"},{label:Object(s.__)("Center Right",z.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",z.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",z.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",z.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition,className:"ugb--help-tip-background-image-position"})),wp.element.createElement(el,null,wp.element.createElement(tt,{label:Object(s.__)("Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(el,{screen:"tablet"},wp.element.createElement(tt,{label:Object(s.__)("Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(el,{screen:"mobile"},wp.element.createElement(tt,{label:Object(s.__)("Image Repeat",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("No-Repeat",z.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",z.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",z.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",z.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat,className:"ugb--help-tip-background-image-repeat"})),wp.element.createElement(el,null,wp.element.createElement(tt,{label:Object(s.__)("Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(el,{screen:"tablet"},wp.element.createElement(tt,{label:Object(s.__)("Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize,className:"ugb--help-tip-background-image-size"})),wp.element.createElement(el,{screen:"mobile"},wp.element.createElement(tt,{label:Object(s.__)("Image Size",z.i18n),options:[{label:Object(s.__)("Default",z.i18n),value:""},{label:Object(s.__)("Auto",z.i18n),value:"auto"},{label:Object(s.__)("Cover",z.i18n),value:"cover"},{label:Object(s.__)("Contain",z.i18n),value:"contain"},{label:Object(s.__)("Custom",z.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize,className:"ugb--help-tip-background-image-size"})),"custom"===e.backgroundSize&&wp.element.createElement(el,null,wp.element.createElement(Qe,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0})),"custom"===e.tabletBackgroundSize&&wp.element.createElement(el,{screen:"tablet"},wp.element.createElement(Qe,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.tabletBackgroundCustomSizeUnit,onChangeUnit:e.onChangeTabletBackgroundCustomSizeUnit,value:e.tabletBackgroundCustomSize,onChange:e.onChangeTabletBackgroundCustomSize,allowReset:!0})),"custom"===e.mobileBackgroundSize&&wp.element.createElement(el,{screen:"mobile"},wp.element.createElement(Qe,{label:Object(s.__)("Custom Size",z.i18n),units:["px","%","vw"],min:[0,0,0],max:[1e3,100,100],unit:e.mobileBackgroundCustomSizeUnit,onChangeUnit:e.onChangeMobileBackgroundCustomSizeUnit,value:e.mobileBackgroundCustomSize,onChange:e.onChangeMobileBackgroundCustomSize,allowReset:!0})),e.onChangeBackgroundImageBlendMode&&wp.element.createElement(Q,{label:Object(s.__)("Image Blend Mode",z.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})))};ii.defaultProps={backgroundColorType:"",backgroundColor:"",backgroundColorOpacity:"",backgroundColor2:"",backgroundMediaID:"",backgroundMediaURL:"",tabletBackgroundMediaID:"",tabletBackgroundMediaURL:"",mobileBackgroundMediaID:"",mobileBackgroundMediaURL:"",backgroundTintStrength:"",fixedBackground:"",onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColorOpacity:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundMedia:function(e){e.url,e.id},onChangeTabletBackgroundMedia:function(e){e.url,e.id},onChangeMobileBackgroundMedia:function(e){e.url,e.id},onChangeBackgroundTintStrength:function(){},onChangeFixedBackground:function(){},labelBackgroundColorType:Object(s.__)("Background Color Type",z.i18n),labelBackgroundColor:Object(s.__)("Background Color",z.i18n),hasAdvancedGradient:!0,backgroundGradientDirection:"",backgroundGradientBlendMode:"",backgroundGradientLocation1:0,backgroundGradientLocation2:100,onResetAdvancedGradient:function(){},onChangeBackgroundGradientDirection:function(){},onChangeBackgroundGradientBlendMode:function(){},onChangeBackgroundGradientLocation1:function(){},onChangeBackgroundGradientLocation2:function(){},hasAdvancedBackground:!0,backgroundMediaAllowVideo:!0,backgroundPosition:"",tabletBackgroundPosition:"",mobileBackgroundPosition:"",backgroundRepeat:"",tabletBackgroundRepeat:"",mobileBackgroundRepeat:"",backgroundSize:"",tabletBackgroundSize:"",mobileBackgroundSize:"",backgroundCustomSize:"",tabletBackgroundCustomSize:"",mobileBackgroundCustomSize:"",backgroundCustomSizeUnit:"%",tabletBackgroundCustomSizeUnit:"%",mobileBackgroundCustomSizeUnit:"%",backgroundImageBlendMode:"",onResetAdvancedBackground:function(){},onChangeBackgroundPosition:function(){},onChangeTabletBackgroundPosition:function(){},onChangeMobileBackgroundPosition:function(){},onChangeBackgroundRepeat:function(){},onChangeTabletBackgroundRepeat:function(){},onChangeMobileBackgroundRepeat:function(){},onChangeBackgroundSize:function(){},onChangeTabletBackgroundSize:function(){},onChangeMobileBackgroundSize:function(){},onChangeBackgroundCustomSize:function(){},onChangeTabletBackgroundCustomSize:function(){},onChangeMobileBackgroundCustomSize:function(){},onChangeBackgroundCustomSizeUnit:function(){},onChangeTabletBackgroundCustomSizeUnit:function(){},onChangeMobileBackgroundCustomSizeUnit:function(){},onChangeBackgroundImageBlendMode:function(){}};var ri=ii;function li(){return(li=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function ci(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var si=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.blockAttributes[n(t)];return 0===o?o:o||a};return wp.element.createElement(ri,li({backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColorOpacity:e.blockAttributes[n("BackgroundColorOpacity")],backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundMediaID:e.blockAttributes[n("BackgroundMediaID")]||"",backgroundMediaURL:e.blockAttributes[n("BackgroundMediaURL")]||"",tabletBackgroundMediaID:e.blockAttributes[n("TabletBackgroundMediaID")]||"",tabletBackgroundMediaURL:e.blockAttributes[n("TabletBackgroundMediaURL")]||"",mobileBackgroundMediaID:e.blockAttributes[n("MobileBackgroundMediaID")]||"",mobileBackgroundMediaURL:e.blockAttributes[n("MobileBackgroundMediaURL")]||"",backgroundTintStrength:e.blockAttributes[n("BackgroundTintStrength")],fixedBackground:e.blockAttributes[n("FixedBackground")]||"",onChangeBackgroundColorType:function(e){return t(ci({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(ci({},n("BackgroundColor"),e))},onChangeBackgroundColorOpacity:function(e){return t(ci({},n("BackgroundColorOpacity"),e))},onChangeBackgroundColor2:function(e){return t(ci({},n("BackgroundColor2"),e))},onChangeBackgroundMedia:function(e){var a,o=e.url,i=e.id;t((ci(a={},n("BackgroundMediaURL"),o),ci(a,n("BackgroundMediaID"),i),a))},onChangeTabletBackgroundMedia:function(e){var a,o=e.url,i=e.id;t((ci(a={},n("TabletBackgroundMediaURL"),o),ci(a,n("TabletBackgroundMediaID"),i),a))},onChangeMobileBackgroundMedia:function(e){var a,o=e.url,i=e.id;t((ci(a={},n("MobileBackgroundMediaURL"),o),ci(a,n("MobileBackgroundMediaID"),i),a))},onChangeBackgroundTintStrength:function(e,a){var o;t((ci(o={},n("BackgroundTintStrength"),e),ci(o,n("BackgroundColor"),a),o))},onChangeFixedBackground:function(e){return t(ci({},n("FixedBackground"),e))},backgroundGradientDirection:a("BackgroundGradientDirection",90),backgroundGradientBlendMode:a("BackgroundGradientBlendMode"),backgroundGradientLocation1:a("BackgroundGradientLocation1",0),backgroundGradientLocation2:a("BackgroundGradientLocation2",100),onChangeBackgroundGradientDirection:function(e){return t(ci({},n("BackgroundGradientDirection"),e))},onChangeBackgroundGradientBlendMode:function(e){return t(ci({},n("BackgroundGradientBlendMode"),e))},onChangeBackgroundGradientLocation1:function(e){return t(ci({},n("BackgroundGradientLocation1"),e))},onChangeBackgroundGradientLocation2:function(e){return t(ci({},n("BackgroundGradientLocation2"),e))},onResetAdvancedGradient:function(){var e;t((ci(e={},n("BackgroundGradientDirection"),""),ci(e,n("BackgroundGradientBlendMode"),""),ci(e,n("BackgroundGradientLocation1"),""),ci(e,n("BackgroundGradientLocation2"),""),e))},backgroundPosition:e.blockAttributes[n("BackgroundPosition")]||"",tabletBackgroundPosition:e.blockAttributes[n("TabletBackgroundPosition")]||"",mobileBackgroundPosition:e.blockAttributes[n("MobileBackgroundPosition")]||"",backgroundRepeat:e.blockAttributes[n("BackgroundRepeat")]||"",tabletBackgroundRepeat:e.blockAttributes[n("TabletBackgroundRepeat")]||"",mobileBackgroundRepeat:e.blockAttributes[n("MobileBackgroundRepeat")]||"",backgroundSize:e.blockAttributes[n("BackgroundSize")]||"",tabletBackgroundSize:e.blockAttributes[n("TabletBackgroundSize")]||"",mobileBackgroundSize:e.blockAttributes[n("MobileBackgroundSize")]||"",backgroundCustomSize:e.blockAttributes[n("BackgroundCustomSize")]||"",tabletBackgroundCustomSize:e.blockAttributes[n("TabletBackgroundCustomSize")]||"",mobileBackgroundCustomSize:e.blockAttributes[n("MobileBackgroundCustomSize")]||"",backgroundCustomSizeUnit:e.blockAttributes[n("BackgroundCustomSizeUnit")]||"%",tabletBackgroundCustomSizeUnit:e.blockAttributes[n("TabletBackgroundCustomSizeUnit")]||"%",mobileBackgroundCustomSizeUnit:e.blockAttributes[n("MobileBackgroundCustomSizeUnit")]||"%",backgroundImageBlendMode:e.blockAttributes[n("BackgroundImageBlendMode")]||"",onChangeBackgroundPosition:function(e){return t(ci({},n("BackgroundPosition"),e))},onChangeTabletBackgroundPosition:function(e){return t(ci({},n("TabletBackgroundPosition"),e))},onChangeMobileBackgroundPosition:function(e){return t(ci({},n("MobileBackgroundPosition"),e))},onChangeBackgroundRepeat:function(e){return t(ci({},n("BackgroundRepeat"),e))},onChangeTabletBackgroundRepeat:function(e){return t(ci({},n("TabletBackgroundRepeat"),e))},onChangeMobileBackgroundRepeat:function(e){return t(ci({},n("MobileBackgroundRepeat"),e))},onChangeBackgroundSize:function(e){return t(ci({},n("BackgroundSize"),e))},onChangeTabletBackgroundSize:function(e){return t(ci({},n("TabletBackgroundSize"),e))},onChangeMobileBackgroundSize:function(e){return t(ci({},n("MobileBackgroundSize"),e))},onChangeBackgroundCustomSize:function(e){return t(ci({},n("BackgroundCustomSize"),e))},onChangeTabletBackgroundCustomSize:function(e){return t(ci({},n("TabletBackgroundCustomSize"),e))},onChangeMobileBackgroundCustomSize:function(e){return t(ci({},n("MobileBackgroundCustomSize"),e))},onChangeBackgroundCustomSizeUnit:function(e){return t(ci({},n("BackgroundCustomSizeUnit"),e))},onChangeTabletBackgroundCustomSizeUnit:function(e){return t(ci({},n("TabletBackgroundCustomSizeUnit"),e))},onChangeMobileBackgroundCustomSizeUnit:function(e){return t(ci({},n("MobileBackgroundCustomSizeUnit"),e))},onChangeBackgroundImageBlendMode:function(e){return t(ci({},n("BackgroundImageBlendMode"),e))},onResetAdvancedBackground:function(){var e;t((ci(e={},n("BackgroundPosition"),""),ci(e,n("TabletBackgroundPosition"),""),ci(e,n("MobileBackgroundPosition"),""),ci(e,n("BackgroundRepeat"),""),ci(e,n("TabletBackgroundRepeat"),""),ci(e,n("MobileBackgroundRepeat"),""),ci(e,n("BackgroundSize"),""),ci(e,n("TabletBackgroundSize"),""),ci(e,n("MobileBackgroundSize"),""),ci(e,n("BackgroundCustomSize"),""),ci(e,n("TabletBackgroundCustomSize"),""),ci(e,n("MobileBackgroundCustomSize"),""),ci(e,n("BackgroundCustomSizeUnit"),"%"),ci(e,n("TabletBackgroundCustomSizeUnit"),"%"),ci(e,n("MobileBackgroundCustomSizeUnit"),"%"),ci(e,n("BackgroundImageBlendMode"),""),e))}},e))};si.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var ui=si,bi=n(100),pi=n.n(bi),gi=n(101),mi=n.n(gi),di=n(102),fi=n.n(di),hi=n(103),vi=n.n(hi);function yi(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var wi=function(e){var t=e.design?e.design:"basic",n=e.size?e.size:"normal",a="basic"===t;return wp.element.createElement(c.Fragment,null,e.onChangeUrl&&wp.element.createElement(U,{label:Object(s.__)("Link / URL",z.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Open link in new tab",z.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Nofollow link",z.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&wp.element.createElement(Bo,null),e.onChangeDesign&&wp.element.createElement(Ua,{label:Object(s.__)("Design",z.i18n),selected:t,options:[{label:Object(s.__)("Basic",z.i18n),value:"basic",image:pi.a},{label:Object(s.__)("Ghost",z.i18n),value:"ghost",image:mi.a},{label:Object(s.__)("Plain",z.i18n),value:"plain",image:vi.a}].concat(yi(e.onChangeUseSocialColors?[]:[{label:Object(s.__)("Link",z.i18n),value:"link",image:fi.a}]),yi(Object(ve.applyFilters)("stackable.button.edit.layouts",[]))),onChange:e.onChangeDesign}),wp.element.createElement(Bo,null),e.hasTypography&&"link"!==t&&wp.element.createElement(oi,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,onChangeLineHeight:null,showSecondFontSize:!1}),e.onChangeSize&&(!e.onChangeDesign||"link"!==t)&&wp.element.createElement(A.SelectControl,{label:Object(s.__)("Button Size",z.i18n),value:n,options:[{value:"tiny",label:Object(s.__)("Tiny",z.i18n)},{value:"small",label:Object(s.__)("Small",z.i18n)},{value:"normal",label:Object(s.__)("Normal",z.i18n)},{value:"medium",label:Object(s.__)("Medium",z.i18n)},{value:"large",label:Object(s.__)("Large",z.i18n)}],onChange:e.onChangeSize,className:"ugb--help-tip-button-size"}),e.onChangeBorderRadius&&"link"!==t&&"plain"!==t&&wp.element.createElement(Qe,{label:Object(s.__)("Border Radius",z.i18n),value:e.borderRadius,min:"0",max:"100",onChange:e.onChangeBorderRadius,allowReset:!0,placeholder:"4",className:"ugb--help-tip-button-border-radius"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(Gr,{label:Object(s.__)("Vertical Padding",z.i18n),top:e.paddingTop,bottom:e.paddingBottom,onChange:e.onChangePaddings,enableLeft:!1,enableRight:!1,placeholder:[8,8],className:"ugb--help-tip-button-vertical-padding"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(Gr,{label:Object(s.__)("Horizontal Padding",z.i18n),right:e.paddingRight,left:e.paddingLeft,onChange:e.onChangePaddings,enableTop:!1,enableBottom:!1,max:100,placeholder:[26,26],className:"ugb--help-tip-button-horizontal-padding"}),e.onChangeBorderWidth&&"ghost"===t&&wp.element.createElement(Qe,{label:Object(s.__)("Border Width",z.i18n),value:e.borderWidth,min:"1",max:"6",onChange:e.onChangeBorderWidth,allowReset:!0,placeholder:"2"}),e.onChangeShadow&&(""===t||"basic"===t)&&wp.element.createElement(Qe,{label:Object(s.__)("Shadow",z.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0",className:"ugb--help-tip-button-shadow"}),"link"!==t&&wp.element.createElement(Bo,null),e.onChangeUseSocialColors&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Use social colors",z.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColorType&&a&&wp.element.createElement(A.BaseControl,{label:Object(s.__)("Button Color Type",z.i18n),id:"button-color-type",className:"ugb--help-tip-button-color-type"},wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("Single",z.i18n)},{value:"gradient",title:Object(s.__)("Gradient",z.i18n)}],value:e.backgroundColorType,onChange:e.onChangeBackgroundColorType})),e.onChangeBackgroundColor&&"link"!==t&&wp.element.createElement(K,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),1):Object(s.__)("Button Color",z.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(K,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(Qe,{label:Object(s.__)("Gradient Direction (degrees)",z.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeTextColor&&a&&wp.element.createElement(K,{label:Object(s.__)("Text Color",z.i18n),value:e.textColor,onChange:e.onChangeTextColor})),e.onChangeOpacity&&wp.element.createElement(Qe,{label:Object(s.__)("Opacity",z.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:.1,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),"link"!==t&&wp.element.createElement(Bo,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Change to Normal Button on Hover",z.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal,className:"ugb--help-tip-button-to-normal"}),e.onChangeHoverEffect&&"link"!==t&&wp.element.createElement(A.SelectControl,{label:Object(s.__)("Hover Effect",z.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:Object(s.__)("None",z.i18n)},{value:"lift",label:Object(s.__)("Lift",z.i18n)},{value:"scale",label:Object(s.__)("Scale",z.i18n)},{value:"lift-scale",label:Object(s.__)("Lift & Scale",z.i18n)},{value:"scale-more",label:Object(s.__)("Scale More",z.i18n)},{value:"lift-scale-more",label:Object(s.__)("Lift & Scale More",z.i18n)}],className:"ugb--help-tip-button-hover-effect"}),e.onChangeOpacity&&wp.element.createElement(Qe,{label:Object(s.__)("Hover Opacity",z.i18n),value:e.hoverOpacity,onChange:e.onChangeHoverOpacity,min:.1,max:1,step:.1,allowReset:!0,className:"ugb--help-tip-button-hover-opacity"}),e.hasHoverColors&&"link"!==t&&(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(Io,{label:Object(s.__)("Hover Colors",z.i18n),onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor,className:"ugb--help-tip-button-hover-color"},e.onChangeHoverBackgroundColor&&wp.element.createElement(K,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),1):Object(s.__)("Button Color",z.i18n),value:e.hoverBackgroundColor,onChange:e.onChangeHoverBackgroundColor,className:"ugb--help-tip-button-hover-color"}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(K,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",z.i18n),Object(s.__)("Button Color",z.i18n),2),value:e.hoverBackgroundColor2,onChange:e.onChangeHoverBackgroundColor2}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(Qe,{label:Object(s.__)("Gradient Direction (degrees)",z.i18n),value:e.hoverBackgroundGradientDirection,onChange:e.onChangeHoverBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90",className:"ugb--help-tip-gradient-direction"}),e.onChangeHoverTextColor&&("ghost"===t&&e.hoverGhostToNormal||a)&&wp.element.createElement(K,{label:Object(s.__)("Text Color",z.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&wp.element.createElement(Bo,null),e.onChangeIcon&&"link"!==t&&wp.element.createElement(yo.a,{label:Object(s.__)("Icon",z.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&wp.element.createElement(Io,{label:Object(s.__)("Adv. Icon Settings",z.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&wp.element.createElement(A.RangeControl,{label:Object(s.__)("Icon Size",z.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&wp.element.createElement(A.SelectControl,{label:Object(s.__)("Icon Position",z.i18n),value:e.iconPosition,options:[{value:"",label:Object(s.__)("Left",z.i18n)},{value:"right",label:Object(s.__)("Right",z.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&wp.element.createElement(A.RangeControl,{label:Object(s.__)("Icon Spacing",z.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};wi.defaultProps={hasTypography:!0,attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},design:"",onChangeDesign:function(){},url:"",newTab:"",noFollow:"",onChangeUrl:function(){},onChangeNewTab:function(){},onChangeNoFollow:function(){},size:"",onChangeSize:function(){},opacity:"",textColor:"",backgroundColorType:"",backgroundColor:"",backgroundColor2:"",backgroundGradientDirection:"",onChangeOpacity:function(){},onChangeTextColor:function(){},onChangeBackgroundColorType:function(){},onChangeBackgroundColor:function(){},onChangeBackgroundColor2:function(){},onChangeBackgroundGradientDirection:function(){},hasHoverColors:!0,onResetHoverColors:function(){},hoverEffect:"",hoverOpacity:"",hoverTextColor:"",hoverBackgroundColor:"",hoverBackgroundColor2:"",hoverBackgroundGradientDirection:"",hoverGhostToNormal:!1,onChangeHoverEffect:function(){},onChangeHoverOpacity:function(){},onChangeHoverTextColor:function(){},onChangeHoverBackgroundColor:function(){},onChangeHoverBackgroundColor2:function(){},onChangeHoverBackgroundGradientDirection:function(){},onChangeHoverGhostToNormal:function(){},borderRadius:"",onChangeBorderRadius:function(){},borderWidth:"",onChangeBorderWidth:function(){},shadow:"",onChangeShadow:function(){},paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:"",onChangePaddings:function(){},hasAdvancedIcon:!0,onResetAdvancedIcon:function(){},icon:"",iconSize:"",iconPosition:"",iconSpacing:"",onChangeIcon:function(){},onChangeIconSize:function(){},onChangeIconPosition:function(){},onChangeIconSpacing:function(){},useSocialColors:!0,onChangeUseSocialColors:null};var Oi=wi;function ki(){return(ki=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function _i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ji=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(o.b)(e.blockAttributes,n,"");return wp.element.createElement(Oi,ki({design:e.blockAttributes[n("Design")]||"",onChangeDesign:function(e){return t(_i({},n("Design"),e))},url:e.blockAttributes[n("Url")]||"",newTab:e.blockAttributes[n("NewTab")]||"",noFollow:e.blockAttributes[n("NoFollow")]||"",onChangeUrl:function(e){return t(_i({},n("Url"),e))},onChangeNewTab:function(e){return t(_i({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(_i({},n("NoFollow"),e))},size:e.blockAttributes[n("Size")]||"",onChangeSize:function(e){return t(_i({},n("Size"),e))},opacity:e.blockAttributes[n("Opacity")]||"",textColor:e.blockAttributes[n("TextColor")]||"",backgroundColorType:e.blockAttributes[n("BackgroundColorType")]||"",backgroundColor:e.blockAttributes[n("BackgroundColor")]||"",backgroundColor2:e.blockAttributes[n("BackgroundColor2")]||"",backgroundGradientDirection:a("BackgroundGradientDirection"),onChangeOpacity:function(e){return t(_i({},n("Opacity"),e))},onChangeTextColor:function(e){return t(_i({},n("TextColor"),e))},onChangeBackgroundColorType:function(e){return t(_i({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(_i({},n("BackgroundColor"),e))},onChangeBackgroundColor2:function(e){return t(_i({},n("BackgroundColor2"),e))},onChangeBackgroundGradientDirection:function(e){return t(_i({},n("BackgroundGradientDirection"),e))},onResetHoverColors:function(){var e;t((_i(e={},n("HoverBackgroundColor"),""),_i(e,n("HoverBackgroundColor2"),""),_i(e,n("HoverBackgroundGradientDirection"),""),_i(e,n("HoverTextColor"),""),e))},hoverEffect:e.blockAttributes[n("HoverEffect")]||"",hoverOpacity:e.blockAttributes[n("HoverOpacity")]||"",hoverTextColor:e.blockAttributes[n("HoverTextColor")]||"",hoverBackgroundColor:e.blockAttributes[n("HoverBackgroundColor")]||"",hoverBackgroundColor2:e.blockAttributes[n("HoverBackgroundColor2")]||"",hoverBackgroundGradientDirection:a("HoverBackgroundGradientDirection"),hoverGhostToNormal:e.blockAttributes[n("HoverGhostToNormal")]||"",onChangeHoverEffect:function(e){return t(_i({},n("HoverEffect"),e))},onChangeHoverOpacity:function(e){return t(_i({},n("HoverOpacity"),e))},onChangeHoverTextColor:function(e){return t(_i({},n("HoverTextColor"),e))},onChangeHoverBackgroundColor:function(e){return t(_i({},n("HoverBackgroundColor"),e))},onChangeHoverBackgroundColor2:function(e){return t(_i({},n("HoverBackgroundColor2"),e))},onChangeHoverBackgroundGradientDirection:function(e){return t(_i({},n("HoverBackgroundGradientDirection"),e))},onChangeHoverGhostToNormal:function(e){return t(_i({},n("HoverGhostToNormal"),e))},borderRadius:e.blockAttributes[n("BorderRadius")],borderWidth:e.blockAttributes[n("BorderWidth")],shadow:e.blockAttributes[n("Shadow")],onChangeBorderRadius:function(e){return t(_i({},n("BorderRadius"),e))},onChangeBorderWidth:function(e){return t(_i({},n("BorderWidth"),e))},onChangeShadow:function(e){return t(_i({},n("Shadow"),e))},paddingTop:a("PaddingTop"),paddingRight:a("PaddingRight"),paddingBottom:a("PaddingBottom"),paddingLeft:a("PaddingLeft"),onChangePaddings:function(e){var a={};void 0!==e.top&&(a[n("PaddingTop")]=""!==e.top?parseInt(e.top,10):""),void 0!==e.right&&(a[n("PaddingRight")]=""!==e.right?parseInt(e.right,10):""),void 0!==e.bottom&&(a[n("PaddingBottom")]=""!==e.bottom?parseInt(e.bottom,10):""),void 0!==e.left&&(a[n("PaddingLeft")]=""!==e.left?parseInt(e.left,10):""),t(a)},icon:e.blockAttributes[n("Icon")]||"",onChangeIcon:function(e){return t(_i({},n("Icon"),e))},onResetAdvancedIcon:function(){var e;t((_i(e={},n("IconSize"),""),_i(e,n("IconPosition"),""),_i(e,n("IconSpacing"),""),e))},iconSize:e.blockAttributes[n("IconSize")]||"",iconPosition:e.blockAttributes[n("IconPosition")]||"",iconSpacing:e.blockAttributes[n("IconSpacing")],onChangeIconSize:function(e){return t(_i({},n("IconSize"),e))},onChangeIconPosition:function(e){return t(_i({},n("IconPosition"),e))},onChangeIconSpacing:function(e){return t(_i({},n("IconSpacing"),e))}},e))};ji.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Ci=ji,xi=function(e){return wp.element.createElement(c.Fragment,null,e.socialUrlFields&&wp.element.createElement(c.Fragment,null,Object.keys(o.a).map(function(t){return wp.element.createElement(A.TextControl,{key:t,className:"ugb-social-url-text-control",label:Object(s.sprintf)(Object(s._x)("%s Link","name",z.i18n),o.a[t].label),value:e["".concat(t,"Url")],onChange:e["onChange".concat(Object(i.upperFirst)(t),"Url")],placeholder:"http://"})})),e.onChangeNewTab&&wp.element.createElement(A.ToggleControl,{label:Object(s.__)("Open link in new tab",z.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),wp.element.createElement(Bo,null),wp.element.createElement(Ci,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,useSocialColors:e.useSocialColors,onChangeUseSocialColors:e.onChangeUseSocialColors,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1,onChangeIcon:!1,hasTypography:!1}))};xi.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:function(){},useSocialColors:!0,onChangeUseSocialColors:function(){}};var Ei=xi;function Si(){return(Si=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Bi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ti=function(e){var t=e.setAttributes,n=function(t){return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(Ei,Si({newTab:e.blockAttributes[n("NewTab")]||"",onChangeNewTab:function(e){return t(Bi({},n("NewTab"),e))},useSocialColors:e.blockAttributes[n("UseSocialColors")]||"",onChangeUseSocialColors:function(e){return t(Bi({},n("UseSocialColors"),e))}},e))};Ti.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Ai=Ti,Ni=n(20);n(34);function Pi(){return(Pi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Fi(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}Ni.c.add(Oo.a,ko.a,_o.a);var Ri=function(e){var t=e.value,n=e.color,a=e.style,o=void 0===a?{}:a,i=e.className,r=void 0===i?"":i,l=Object(yo.b)(t);return l&&wp.element.createElement(wo.a,{color:n,style:o,icon:l,className:r})};Ri.Content=function(e){var t=e.value,n=Fi(e,["value"]),a=Object(yo.b)(t);return a&&wp.element.createElement(wo.a,Pi({focusable:void 0,icon:a},n))};var Di=Ri,Mi=Object(H.withInstanceId)(Object(H.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,a=e.clickedOnButton,o=e.setState,i=e.isOpen;return wp.element.createElement("div",{className:"ugb-svg-icon-placeholder ugb-svg-icon-placeholder-".concat(t)},wp.element.createElement(A.Button,{className:"ugb-svg-icon-placeholder__button",onClick:function(){o(a?{openPopover:!1,clickedOnButton:!1}:{openPopover:!0})}},wp.element.createElement(Di,{className:e.className,color:e.color,style:e.style,value:e.value})),(null!==i&&i||null===i&&n)&&wp.element.createElement(xo,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-svg-icon-placeholder-".concat(t))?o({clickedOnButton:!0}):o({openPopover:!1,clickedOnButton:!1})},onClose:function(){return o({openPopover:!1})},onChange:e.onChange}))}));Mi.defaultProps={isOpen:null,className:"",color:"",value:"",style:{},onChange:function(){}};var zi=Mi;function Ii(){return(Ii=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Li=C.a.createElement("style",null,".pro-icon_svg__st2{fill:#8c33da}"),Ui=C.a.createElement("path",{d:"M107 175.1l43.7-44.8c3.7-3.8 5.4-8.8 5.1-13.8 0-.4-.1-.8-.1-1.2H107v59.8z",fill:"#5fb3dd"}),Hi=C.a.createElement("path",{d:"M48.8.4L5.1 45.2C1.4 49-.3 54 0 59c0 .4.1.7.1 1.1h48.6V.4z",fill:"#e2735d"}),Wi=C.a.createElement("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),Gi=C.a.createElement("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),qi=C.a.createElement("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),Vi=C.a.createElement("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),Xi=C.a.createElement("path",{className:"pro-icon_svg__st2",d:"M107 60.1v55.2h48.6c-.5-3.8-2.1-7.5-4.9-10.4L107 60.1z"}),Yi=C.a.createElement("path",{d:"M48.8 115.3V60.1H.2c.5 3.8 2.1 7.5 4.9 10.4l43.7 44.8z",fill:"#ea75d4"}),Ki=C.a.createElement("path",{d:"M154.3 8.5c3.1-3.2.9-8.5-3.6-8.5H62.3l50.3 51.5 41.7-43z",fill:"#eabd59"}),Ji=C.a.createElement("path",{d:"M1.5 166.8C-1.7 170 .6 175 5 175h88.5l-50.3-51.4-41.7 43.2z",fill:"#49cbce"}),$i=function(e){return C.a.createElement("svg",Ii({id:"pro-icon_svg__Layer_3",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},e),Li,Ui,Hi,Wi,Gi,qi,Vi,Xi,Yi,Ki,Ji)},Zi={layout:{title:Object(s.__)("Say Hello to More Layouts 👋",z.i18n),description:Object(s.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},design:{title:Object(s.__)("Say Hello to More Designs 👋",z.i18n),description:Object(s.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},image:{title:Object(s.__)("Say Hello to More Shapes 👋",z.i18n),description:Object(s.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},effect:{title:Object(s.__)("Say Hello to More Effects 👋",z.i18n),description:Object(s.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},advanced:{title:Object(s.__)("Say Hello to Fine-Grained Controls 👋",z.i18n),description:Object(s.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)},postsBlock:{title:Object(s.__)("Say Hello to More Post Controls 👋",z.i18n),description:Object(s.__)("Get pagination, more post options and Custom Post Types. This feature is only available on Stackable Premium.",z.i18n),button:Object(s.__)("Learn More",z.i18n)}},Qi=function(e){return wp.element.createElement("div",{className:"ugb-design-control-pro-note"},wp.element.createElement($i,null),wp.element.createElement("h4",null,e.title||Zi[e.type].title),wp.element.createElement("p",null,e.description||Zi[e.type].description),e.showButton&&wp.element.createElement(Kn,{button:e.button||Zi[e.type].button}))};Qi.defaultProps={type:"layout",title:"",description:"",button:"",showButton:!0};var er=Qi;function tr(e){return(tr="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})(e)}function nr(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ar(e){return(ar=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function or(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ir(e,t){return(ir=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var rr=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=ar(t).apply(this,arguments))||"object"!==tr(a)&&"function"!=typeof a?or(n):a).state={isOpen:!!e.props.initialOpen&&e.props.initialOpen},e.onClick=e.onClick.bind(or(e)),e}var n,a,o;return 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&&ir(e,t)}(t,c["Component"]),n=t,(a=[{key:"onClick",value:function(){this.setState({isOpen:!this.state.isOpen})}},{key:"render",value:function(){var e=l()(["ugb-pro-control-button__wrapper"],{"ugb-pro-control-button--hidden":!this.state.isOpen});return wp.element.createElement("div",{className:"components-base-control"},wp.element.createElement("button",{className:"ugb-pro-control-more-dots",onClick:this.onClick},wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"}),wp.element.createElement("div",{className:"ugb-pro-control-more-dots__dot"})),wp.element.createElement("div",{className:e},wp.element.createElement(er,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}])&&nr(n.prototype,a),o&&nr(n,o),t}();function lr(e){return(lr="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})(e)}function cr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function sr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cr(n,!0).forEach(function(t){ur(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ur(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function br(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function pr(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function gr(e){return(gr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function mr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dr(e,t){return(dr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var fr=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var o=(e=!(a=gr(t).apply(this,arguments))||"object"!==lr(a)&&"function"!=typeof a?mr(n):a).getEnabledValues(),i=!o.length||o.every(function(e){return e===o[0]}),r=o.every(function(e){return""===e});return e.state={locked:r?e.props.defaultLocked:i},e.onToggleLock=e.onToggleLock.bind(mr(e)),e.onChangeTop=e.onChangeTop.bind(mr(e)),e.onChangeRight=e.onChangeRight.bind(mr(e)),e.onChangeBottom=e.onChangeBottom.bind(mr(e)),e.onChangeLeft=e.onChangeLeft.bind(mr(e)),e}var n,a,o;return 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&&dr(e,t)}(t,c["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){return[].concat(br(this.props.enableTop?[this.props.top]:[]),br(this.props.enableRight?[this.props.right]:[]),br(this.props.enableBottom?[this.props.bottom]:[]),br(this.props.enableLeft?[this.props.left]:[]))}},{key:"getEnabledLocations",value:function(){return[].concat(br(this.props.enableTop?["top"]:[]),br(this.props.enableRight?["right"]:[]),br(this.props.enableBottom?["bottom"]:[]),br(this.props.enableLeft?["left"]:[]))}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeTop",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(sr({},this.getEnabledValues(),{top:n}))}},{key:"onChangeRight",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(sr({},this.getEnabledValues(),{right:n}))}},{key:"onChangeBottom",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(sr({},this.getEnabledValues(),{bottom:n}))}},{key:"onChangeLeft",value:function(e){var t=e.target.value,n=t||0===t?t:"";this.state.locked?this.props.onChange(this.filterOnlyEnabled({top:n,right:n,bottom:n,left:n})):this.props.onChange(sr({},this.getEnabledValues(),{left:n}))}},{key:"render",value:function(){var e=this.props.instanceId,t="ugb-four-number-control-".concat(e,"__item-");return wp.element.createElement(A.BaseControl,{help:this.props.help,className:l()("ugb-four-number-control",this.props.className)},wp.element.createElement(Ye,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-four-number-control__wrapper"},wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-top")},wp.element.createElement("input",{id:"".concat(t,"-top"),type:"number",onChange:this.onChangeTop,"aria-label":Object(s.__)("Top",z.i18n),value:this.props.top,placeholder:this.props.enableTop?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableTop}),wp.element.createElement("span",null,Object(s.__)("Top",z.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-right")},wp.element.createElement("input",{id:"".concat(t,"-right"),type:"number",onChange:this.onChangeRight,"aria-label":this.props.label,value:this.props.right,placeholder:this.props.enableRight?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableRight}),wp.element.createElement("span",null,Object(s.__)("Right",z.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-bottom")},wp.element.createElement("input",{id:"".concat(t,"-bottom"),type:"number",onChange:this.onChangeBottom,"aria-label":this.props.label,value:this.props.bottom,placeholder:this.props.enableBottom?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableBottom}),wp.element.createElement("span",null,Object(s.__)("Bottom",z.i18n))),wp.element.createElement("label",{className:"ugb-four-number-control__label",htmlFor:"".concat(t,"-left")},wp.element.createElement("input",{id:"".concat(t,"-left"),type:"number",onChange:this.onChangeLeft,"aria-label":this.props.label,value:this.props.left,placeholder:this.props.enableLeft?"":Object(s.__)("auto",z.i18n),disabled:!this.props.enableLeft}),wp.element.createElement("span",null,Object(s.__)("Left",z.i18n))),wp.element.createElement(A.IconButton,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:wp.element.createElement(A.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}])&&pr(n.prototype,a),o&&pr(n,o),t}();fr.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0};Object(H.withInstanceId)(fr);function hr(){return(hr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vr=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),yr=C.a.createElement("path",{d:"M4.4 15.7h11.2c.1 0 .2 0 .2.1l2 2c.2.2.1.6-.2.6H2.4c-.3 0-.4-.3-.2-.6l2-2s.1-.1.2-.1z",fill:"#555d63"}),wr=function(e){return C.a.createElement("svg",hr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),vr,yr)};function Or(){return(Or=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kr=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),_r=C.a.createElement("path",{d:"M4.3 4.4v11.2c0 .1 0 .2-.1.2l-2 2c-.2.2-.6.1-.6-.2V2.4c0-.3.4-.4.6-.2l2 2s.1.1.1.2z",fill:"#555d63"}),jr=function(e){return C.a.createElement("svg",Or({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),kr,_r)};function Cr(){return(Cr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xr=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),Er=C.a.createElement("path",{d:"M15.7 15.6V4.4c0-.1 0-.2.1-.2l2-2c.2-.2.6-.1.6.2v15.2c0 .3-.3.4-.6.2l-2-2s-.1-.1-.1-.2z",fill:"#555d63"}),Sr=function(e){return C.a.createElement("svg",Cr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),xr,Er)};function Br(){return(Br=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Tr=C.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),Ar=C.a.createElement("path",{d:"M15.6 4.3H4.4c-.1 0-.2 0-.2-.1l-2-2c-.2-.2-.1-.6.2-.6h15.2c.3 0 .4.3.2.6l-2 2s-.1.1-.2.1z",fill:"#555d63"}),Nr=function(e){return C.a.createElement("svg",Br({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Tr,Ar)};function Pr(e){return(Pr="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})(e)}function Fr(){return(Fr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Rr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function Dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Mr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dr(n,!0).forEach(function(t){zr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ir(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Lr(e){return(Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ur(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hr(e,t){return(Hr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Wr=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this;var o=(e=!(a=Lr(t).apply(this,arguments))||"object"!==Pr(a)&&"function"!=typeof a?Ur(n):a).getEnabledValues(),i=e.firstValue(),r=Object.values(o).every(function(e){return e===i}),l=Object.values(o).every(function(e){return""===e});return e.state={locked:l?e.props.defaultLocked:r},e.onToggleLock=e.onToggleLock.bind(Ur(e)),e.onChangeAll=e.onChangeAll.bind(Ur(e)),e.onChangeTop=e.onChangeTop.bind(Ur(e)),e.onChangeRight=e.onChangeRight.bind(Ur(e)),e.onChangeBottom=e.onChangeBottom.bind(Ur(e)),e.onChangeLeft=e.onChangeLeft.bind(Ur(e)),e}var n,a,o;return 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&&Hr(e,t)}(t,c["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){var e=this;return this.getEnabledLocations().reduce(function(t,n){return Mr({},t,zr({},n,e.props[n]))},{})}},{key:"getEnabledLocations",value:function(){return[].concat(Rr(this.props.enableTop?["top"]:[]),Rr(this.props.enableRight?["right"]:[]),Rr(this.props.enableBottom?["bottom"]:[]),Rr(this.props.enableLeft?["left"]:[]))}},{key:"firstValue",value:function(){return this.getEnabledLocations().length?Object.values(this.getEnabledValues())[0]:""}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(i.pick)(e,this.getEnabledLocations())}},{key:"onToggleLock",value:function(){this.setState({locked:!this.state.locked})}},{key:"onChangeAll",value:function(e){var t=e||0===e?e:"";this.props.onChange(this.filterOnlyEnabled({top:t,right:t,bottom:t,left:t}))}},{key:"onChangeTop",value:function(e){this.props.onChange(Mr({},this.getEnabledValues(),{top:e||0===e?e:""}))}},{key:"onChangeRight",value:function(e){this.props.onChange(Mr({},this.getEnabledValues(),{right:e||0===e?e:""}))}},{key:"onChangeBottom",value:function(e){this.props.onChange(Mr({},this.getEnabledValues(),{bottom:e||0===e?e:""}))}},{key:"onChangeLeft",value:function(e){this.props.onChange(Mr({},this.getEnabledValues(),{left:e||0===e?e:""}))}},{key:"render",value:function(){var e=this.props,t=e.instanceId,n=e.units,a=e.unit,o="ugb-four-range-control-".concat(t,"__item-"),i={min:this.props.min,max:this.props.max,step:this.props.step,placeholder:this.props.placeholder,initialPosition:this.props.initialPosition},r=n.indexOf(a)<0?0:n.indexOf(a);Array.isArray(this.props.min)&&(i.min=this.props.min[r]),Array.isArray(this.props.max)&&(i.max=this.props.max[r]),Array.isArray(this.props.step)&&(i.step=this.props.step[r]),Array.isArray(this.props.placeholder)&&(i.placeholder=this.props.placeholder[r]),Array.isArray(this.props.initialPosition)&&(i.initialPosition=this.props.initialPosition[r]);var u=l()(["ugb-four-range-control__lock"],{"ugb--is-locked":this.state.locked}),b=wp.element.createElement(A.IconButton,{className:u,onClick:this.onToggleLock,icon:wp.element.createElement(A.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})});return wp.element.createElement(A.BaseControl,{help:this.props.help,className:l()("ugb-four-range-control",this.props.className)},wp.element.createElement(Ye,{label:this.props.label,units:this.props.units,unit:this.props.unit,onChangeUnit:this.props.onChangeUnit,screens:this.props.screens,afterButton:b}),this.state.locked&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(A.RangeControl,Fr({id:"".concat(o,"-all"),value:this.firstValue(),onChange:this.onChangeAll,allowReset:!0},i))),!this.state.locked&&wp.element.createElement(c.Fragment,null,this.props.enableTop&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(A.Tooltip,{text:Object(s.__)("Top",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Nr,null))),wp.element.createElement(A.RangeControl,Fr({id:"".concat(o,"-top"),value:this.props.top,onChange:this.onChangeTop,allowReset:!0},i))),this.props.enableRight&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(A.Tooltip,{text:Object(s.__)("Right",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Sr,null))),wp.element.createElement(A.RangeControl,Fr({id:"".concat(o,"-right"),value:this.props.right,onChange:this.onChangeRight,allowReset:!0},i))),this.props.enableBottom&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(A.Tooltip,{text:Object(s.__)("Bottom",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(wr,null))),wp.element.createElement(A.RangeControl,Fr({id:"".concat(o,"-bottom"),value:this.props.bottom,onChange:this.onChangeBottom,allowReset:!0},i))),this.props.enableLeft&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(A.Tooltip,{text:Object(s.__)("Left",z.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(jr,null))),wp.element.createElement(A.RangeControl,Fr({id:"".concat(o,"-left"),value:this.props.left,onChange:this.onChangeLeft,allowReset:!0},i)))))}}])&&Ir(n.prototype,a),o&&Ir(n,o),t}();Wr.defaultProps={onChange:function(){},defaultLocked:!0,top:"",right:"",bottom:"",left:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],enableTop:!0,enableRight:!0,enableBottom:!0,enableLeft:!0,min:0,max:50,step:1,placeholder:"",initialPosition:""};var Gr=Wr;function qr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vr=function(e){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(i.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=Object(o.b)(e.blockAttributes,t,""),a=e.screens;return wp.element.createElement(c.Fragment,null,a.includes("desktop")&&wp.element.createElement(el,{screens:a},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n(),onChange:function(n){e.onChange?e.onChange(t(),n,""):e.setAttributes(qr({},t(),n))}})})),a.includes("tablet")&&wp.element.createElement(el,{screens:a,screen:"tablet"},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n("Tablet"),placeholder:n()||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Tablet"),n,"Tablet"):e.setAttributes(qr({},t("Tablet"),n))}})})),a.includes("mobile")&&wp.element.createElement(el,{screens:a,screen:"mobile"},c.Children.toArray(e.children).map(function(a){return Object(c.cloneElement)(a,{value:n("Mobile"),placeholder:n("Tablet")||n()||a.props.placeholder,onChange:function(n){e.onChange?e.onChange(t("Mobile"),n,"Mobile"):e.setAttributes(qr({},t("Mobile"),n))}})})))};Vr.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},onChange:null,placeholder:"",screens:["desktop","tablet","mobile"]};var Xr=Vr;function Yr(e){return(Yr="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})(e)}function Kr(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Jr(e){return(Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function $r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zr(e,t){return(Zr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Qr=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Jr(t).apply(this,arguments))||"object"!==Yr(a)&&"function"!=typeof a?$r(n):a).state={screen:Object(o.K)()},e.onScreenChange=e.onScreenChange.bind($r(e)),e}var n,a,i;return 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&&Zr(e,t)}(t,c["Component"]),n=t,(a=[{key:"onScreenChange",value:function(e){this.setState({screen:e})}},{key:"componentDidMount",value:function(){var e=this.props.instanceId;Object(ve.addAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e),this.onScreenChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(ve.removeAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e))}},{key:"render",value:function(){var e=this,t=c.Children.toArray(this.props.children).map(function(t){return Object(c.cloneElement)(t,{screens:e.props.screens})}),n=this.state.screen===this.props.screen,a=!this.props.screens.includes(this.state.screen)&&!n&&"desktop"===this.props.screen;return wp.element.createElement(c.Fragment,null,(n||a)&&t)}}])&&Kr(n.prototype,a),i&&Kr(n,i),t}();Qr.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};var el=Object(H.withInstanceId)(Qr);function tl(){return(tl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var nl=C.a.createElement("path",{d:"M26.6 40.2h-8.2V27.8H8.8v12.4H.6V9.8h8.2v11.3h9.5V9.8h8.2v30.4zM49.4 40.2h-8.3V24.1c0-2 0-3.7.1-5.4-.5.6-1.1 1.3-1.9 2l-3.4 2.8-4.3-5.2L42 9.8h7.4v30.4z"}),al=function(e){return C.a.createElement("svg",tl({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),nl)};function ol(){return(ol=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var il=C.a.createElement("path",{d:"M24.1 39.6H18V27.2H6.6v12.4H.5V10.8h6.1v11.3H18V10.8h6.1v28.8zM49.5 39.6H29.4v-4.2l7.2-7.3c2.1-2.2 3.5-3.7 4.2-4.6.7-.8 1.1-1.6 1.4-2.4.3-.7.4-1.5.4-2.2 0-1.2-.3-2-1-2.6-.6-.6-1.5-.8-2.5-.8-1.1 0-2.2.3-3.2.8s-2.1 1.2-3.3 2.2l-3.3-3.9c1.4-1.2 2.6-2.1 3.5-2.6.9-.5 1.9-.9 3-1.2 1.1-.3 2.3-.4 3.7-.4 1.8 0 3.4.3 4.8 1s2.4 1.6 3.2 2.8 1.1 2.5 1.1 4.1c0 1.3-.2 2.6-.7 3.7-.5 1.2-1.2 2.4-2.2 3.6s-2.7 3-5.2 5.2l-3.7 3.5v.3h12.5v5z"}),rl=function(e){return C.a.createElement("svg",ol({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),il)};function ll(){return(ll=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var cl=C.a.createElement("path",{d:"M24 38.9h-4.6V26.4H6.6V39H2V11.1h4.6v11.4h12.8V11.1H24v27.8zM47.2 17.5c0 1.8-.5 3.2-1.5 4.4-1 1.2-2.5 2-4.3 2.4v.2c2.2.3 3.9 1 5 2.1s1.7 2.6 1.7 4.4c0 2.7-.9 4.7-2.8 6.2s-4.6 2.2-8.1 2.2c-3.1 0-5.7-.5-7.8-1.5v-4c1.2.6 2.4 1 3.8 1.4 1.3.3 2.6.5 3.8.5 2.2 0 3.8-.4 4.8-1.2 1.1-.8 1.6-2 1.6-3.7 0-1.5-.6-2.6-1.8-3.3-1.2-.7-3-1-5.6-1h-2.4V23H36c4.4 0 6.7-1.5 6.7-4.6 0-1.2-.4-2.1-1.2-2.8-.8-.6-1.9-1-3.4-1-1.1 0-2.1.1-3 .4-1 .3-2.1.9-3.5 1.7l-2.2-3.1c2.6-1.9 5.5-2.8 8.9-2.8 2.8 0 5 .6 6.6 1.8 1.5 1.1 2.3 2.8 2.3 4.9z"}),sl=function(e){return C.a.createElement("svg",ll({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),cl)};function ul(){return(ul=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var bl=C.a.createElement("path",{d:"M23.5 37.9h-4.2V26.3H7.4v11.6H3.2V12.2h4.2v10.5h11.8V12.2h4.2v25.7zM46.8 32.3h-3.5v5.6h-4v-5.6H27.5v-3.2l11.7-17h4v16.7h3.5v3.5zm-7.5-3.5v-6.4c0-2.3.1-4.2.2-5.6h-.1c-.3.8-.8 1.7-1.5 2.8l-6.4 9.3h7.8z"}),pl=function(e){return C.a.createElement("svg",ul({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),bl)};function gl(){return(gl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ml=C.a.createElement("path",{d:"M24.2 36.2h-3.7V26H10v10.2H6.3V13.5H10v9.3h10.5v-9.3h3.7v22.7zM36.3 22c2.3 0 4.1.6 5.4 1.8 1.3 1.2 2 2.9 2 5 0 2.4-.8 4.3-2.3 5.7s-3.7 2-6.5 2c-2.5 0-4.5-.4-6-1.2V32c.8.5 1.8.8 2.9 1.1s2.1.4 3 .4c1.6 0 2.9-.4 3.8-1.1.9-.7 1.3-1.8 1.3-3.2 0-2.7-1.7-4.1-5.2-4.1-.5 0-1.1 0-1.8.1s-1.3.2-1.9.3l-1.6-1 .9-11.1h11.8v3.2h-8.6l-.5 5.8c.4-.1.8-.1 1.3-.2.6-.1 1.2-.2 2-.2z"}),dl=function(e){return C.a.createElement("svg",gl({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),ml)};function fl(){return(fl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var hl=C.a.createElement("path",{d:"M24.1 35.2h-3.3V26h-9.4v9.2H8.1V14.8h3.3v8.3h9.4v-8.3h3.3v20.4zM28.1 26.5c0-8 3.2-11.9 9.7-11.9 1 0 1.9.1 2.6.2v2.7c-.7-.2-1.5-.3-2.4-.3-2.2 0-3.8.6-4.9 1.8-1.1 1.2-1.7 3-1.8 5.6h.2c.4-.8 1-1.3 1.8-1.7.8-.4 1.7-.6 2.8-.6 1.8 0 3.3.6 4.3 1.7s1.5 2.7 1.5 4.6c0 2.1-.6 3.8-1.8 5.1-1.2 1.2-2.8 1.9-4.9 1.9-1.5 0-2.7-.3-3.8-1.1-1.1-.7-1.9-1.7-2.5-3.1-.5-1.4-.8-3-.8-4.9zm7.1 6.2c1.1 0 2-.4 2.6-1.1.6-.7.9-1.8.9-3.1 0-1.2-.3-2.1-.9-2.8-.6-.7-1.4-1-2.6-1-.7 0-1.4.2-1.9.5-.6.3-1.1.7-1.4 1.2-.3.5-.5 1.1-.5 1.6 0 1.3.4 2.4 1.1 3.3.7 1 1.6 1.4 2.7 1.4z"}),vl=function(e){return C.a.createElement("svg",fl({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),hl)};function yl(){return(yl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wl=[{value:"h1",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),1),icon:wp.element.createElement(al,null)},{value:"h2",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),2),icon:wp.element.createElement(rl,null)},{value:"h3",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),3),icon:wp.element.createElement(sl,null)},{value:"h4",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),4),icon:wp.element.createElement(pl,null)},{value:"h5",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),5),icon:wp.element.createElement(dl,null)},{value:"h6",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",z.i18n),Object(s.__)("Heading",z.i18n),6),icon:wp.element.createElement(vl,null)}],Ol=function(e){return wp.element.createElement(Yt,yl({},e,{className:"ugb-heading-buttons-control",controls:wl}))};Ol.defaultProps={label:Object(s.sprintf)(Object(s._x)("%s HTML Tag","component"),Object(s.__)("Title",z.i18n)),value:wl[0].value};var kl=Ol;function _l(){return(_l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var jl=[{value:"left",title:Object(s.__)("Align Left",z.i18n),icon:"editor-alignleft"},{value:"center",title:Object(s.__)("Align Center",z.i18n),icon:"editor-aligncenter"},{value:"right",title:Object(s.__)("Align Right",z.i18n),icon:"editor-alignright"},{value:"justify",title:Object(s.__)("Justified",z.i18n),icon:"editor-justify"}],Cl=function(e){var t=e.justified,n=e.className;return wp.element.createElement(Yt,_l({},Object(i.omit)(e,["justified"]),{className:l()([n,"ugb-align-buttons-control"]),controls:jl.filter(function(e){return!!t||"justify"!==e.value})}))};Cl.defaultProps={className:"",label:Object(s.__)("Align",z.i18n),value:jl[0].value,justified:!1};var xl=Cl;function El(){return(El=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Sl(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var Bl={Edit:function(e){var t=e.blockProps,n=e.render,a=e.mainClass,o=e.blockTag,i=Sl(e,["blockProps","render","mainClass","blockTag"]),r=t.blockName,c=t.attributes,s=c.anchor,u=void 0===s?"":s,b=c.design,p=c.blockTag,g=void 0===p?"div":p,m=l()([e.className],Object(ve.applyFilters)("stackable.".concat(r,".main-block.classes"),{"ugb-main-block":a},t)),d=g||o||"div";return wp.element.createElement(d,El({},i,{id:u,className:m}),t.styles,Object(ve.applyFilters)("stackable.".concat(r,".edit.output.outer"),null,b,t),n&&wp.element.createElement("div",{className:"ugb-inner-block"},Object(ve.applyFilters)("stackable.".concat(r,".edit.output.before"),null,b,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(ve.applyFilters)("stackable.".concat(r,".edit.output.after"),null,b,t)))}};Bl.Edit.defaultProps={styles:null,mainClass:!0},Bl.Save=function(e){var t=e.blockProps,n=e.render,a=e.mainClass,o=e.blockTag,i=Sl(e,["blockProps","render","mainClass","blockTag"]),r=t.blockName,c=t.attributes,s=c.anchor,u=void 0===s?"":s,b=c.design,p=c.blockTag,g=void 0===p?"div":p,m=l()([e.className],Object(ve.applyFilters)("stackable.".concat(r,".main-block.classes"),{"ugb-main-block":a},t)),d=g||o||"div";return wp.element.createElement(d,El({},i,{id:u,className:m}),t.styles,Object(ve.applyFilters)("stackable.".concat(r,".save.output.outer"),null,b,t),n&&wp.element.createElement("div",{className:"ugb-inner-block"},Object(ve.applyFilters)("stackable.".concat(r,".save.output.before"),null,b,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(ve.applyFilters)("stackable.".concat(r,".save.output.after"),null,b,t)))},Bl.Save.defaultProps={styles:null,mainClass:!0};var Tl=Bl,Al=n(48),Nl=n(14),Pl=n.n(Nl);function Fl(e){return(Fl="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})(e)}function Rl(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Dl(e){return(Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ml(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zl(e,t){return(zl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Il=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Dl(t).apply(this,arguments))||"object"!==Fl(a)&&"function"!=typeof a?Ml(n):a).state={value:e.props.value},e.uniqueId=Object(i.uniqueId)("ugb-code-textarea-"),e.onChange=e.onChange.bind(Ml(e)),e.debouncedOnChange=Object(i.debounce)(e.debouncedOnChange.bind(Ml(e)),500,{leading:!0}),e.codeMirror=null,e}var n,a,o;return 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&&zl(e,t)}(t,c["Component"]),n=t,(a=[{key:"componentWillUnmount",value:function(){this.debouncedOnChange.cancel(),this.codeMirror&&this.codeMirror.codemirror.off("change",this.onChange)}},{key:"componentDidMount",value:function(){Al.initialize&&(this.codeMirror=Object(Al.initialize)(this.uniqueId,Pl()(Al.defaultSettings,this.props.editorSettings)),this.codeMirror.codemirror.on("change",this.onChange))}},{key:"debouncedOnChange",value:function(e){this.props.onChange(e||this.state.value)}},{key:"onChange",value:function(e){var t=e.getValue?e.getValue():e;this.setState({value:t}),this.debouncedOnChange(t)}},{key:"render",value:function(){return wp.element.createElement("textarea",{className:"ugb-code-textarea",id:this.uniqueId,value:this.state.value,onChange:this.onChange})}}])&&Rl(n.prototype,a),o&&Rl(n,o),t}();Il.defaultProps={value:"",onChange:function(){},editorSettings:{}};var Ll=Il;function Ul(){return(Ul=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hl=C.a.createElement("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}),Wl=function(e){return C.a.createElement("svg",Ul({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Hl)};function Gl(){return(Gl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ql=C.a.createElement("filter",{id:"curve-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Vl=C.a.createElement("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}),Xl=function(e){return C.a.createElement("svg",Gl({viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ql,Vl)};function Yl(){return(Yl=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Kl=C.a.createElement("path",{d:"M1610 78.3c-187 54.4-476.7 89.3-802 89.3-334.7 0-631.8-37-818-94.1v136.8h1620v-132z"}),Jl=function(e){return C.a.createElement("svg",Yl({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Kl)};function $l(){return($l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Zl=C.a.createElement("filter",{id:"curve-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ql=C.a.createElement("path",{d:"M808 167.6c-334.7 0-631.8-37-818-94.1v10c186.2 57.1 483.3 94.1 818 94.1 325.3 0 615-34.9 802-89.3v-10c-187 54.4-476.7 89.3-802 89.3z"}),ec=function(e){return C.a.createElement("svg",$l({viewBox:"0 0 1600 200",filter:"url(#curve-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zl,Ql)};function tc(){return(tc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var nc=C.a.createElement("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}),ac=function(e){return C.a.createElement("svg",tc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),nc)};function oc(){return(oc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ic=C.a.createElement("filter",{id:"curve-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),rc=C.a.createElement("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}),lc=function(e){return C.a.createElement("svg",oc({viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ic,rc)};function cc(){return(cc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var sc=C.a.createElement("path",{d:"M-10 207.4h1620S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v199.6z"}),uc=function(e){return C.a.createElement("svg",cc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),sc)};function bc(){return(bc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pc=C.a.createElement("filter",{id:"curve-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),gc=C.a.createElement("path",{d:"M1604.2 13.7c3.3-3.1 5.2 152.3 5.7 193.7h.1S1608.1.1 1604.2 3.7c-32.8 30.8-203.9 178.2-465.9 178.2C884 181.9 234.9 65.6-10 7.8v10c244.9 57.8 894 174.1 1148.3 174.1 262 0 433.1-147.5 465.9-178.2z"}),mc=function(e){return C.a.createElement("svg",bc({viewBox:"0 0 1600 200",filter:"url(#curve-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),pc,gc)};function dc(){return(dc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fc=C.a.createElement("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}),hc=function(e){return C.a.createElement("svg",dc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),fc)};function vc(){return(vc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var yc=C.a.createElement("filter",{id:"curve-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),wc=C.a.createElement("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}),Oc=function(e){return C.a.createElement("svg",vc({viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),yc,wc)};function kc(){return(kc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _c=C.a.createElement("path",{d:"M-6.6 177.6S456.1 40.3 876.2 40.3s730.3 135.1 730.3 135.1v33.5H-6.6v-31.3z"}),jc=function(e){return C.a.createElement("svg",kc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),_c)};function Cc(){return(Cc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var xc=C.a.createElement("filter",{id:"curve-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ec=C.a.createElement("path",{d:"M876.2 40.3C456.1 40.3-6.5 177.6-6.5 177.6v10S456.2 50.3 876.3 50.3s730.3 135.1 730.3 135.1v-10c0-.1-310.3-135.1-730.4-135.1z"}),Sc=function(e){return C.a.createElement("svg",Cc({viewBox:"0 0 1600 200",filter:"url(#curve-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),xc,Ec)};function Bc(){return(Bc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Tc=C.a.createElement("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}),Ac=function(e){return C.a.createElement("svg",Bc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Tc)};function Nc(){return(Nc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Pc=C.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Fc=C.a.createElement("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}),Rc=function(e){return C.a.createElement("svg",Nc({viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Pc,Fc)};function Dc(){return(Dc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Mc=C.a.createElement("path",{d:"M1604.5-2.7l-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v148.5h1613.9l-1.4-213z"}),zc=function(e){return C.a.createElement("svg",Dc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Mc)};function Ic(){return(Ic=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Lc=C.a.createElement("filter",{id:"rounded-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Uc=C.a.createElement("path",{d:"M1596.6 111.7l8.2-78-.2-36.4-10.9 104.5c-3.8 48.1-46.3 84.4-94.4 80.6L-8 61.8v10l1507.2 120.5c48.1 3.8 93.6-32.5 97.4-80.6z"}),Hc=function(e){return C.a.createElement("svg",Ic({viewBox:"0 0 1600 200",filter:"url(#rounded-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Lc,Uc)};function Wc(){return(Wc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Gc=C.a.createElement("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}),qc=function(e){return C.a.createElement("svg",Wc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Gc)};function Vc(){return(Vc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Xc=C.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Yc=C.a.createElement("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}),Kc=function(e){return C.a.createElement("svg",Vc({viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Xc,Yc)};function Jc(){return(Jc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $c=C.a.createElement("path",{d:"M1609.5 128.5h-9.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v83.1h1619.5v-83.3z"}),Zc=function(e){return C.a.createElement("svg",Jc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),$c)};function Qc(){return(Qc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var es=C.a.createElement("filter",{id:"rounded-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ts=C.a.createElement("path",{d:"M1600 128.5c0 10.9-8.9 19.8-19.8 19.8H19.8C8.9 148.4 0 139.5 0 128.5l-10 .2v10l10-.2c0 11 8.9 19.9 19.8 19.8h1560.4c10.9 0 19.8-8.9 19.8-19.8h9.5v-10h-9.5z"}),ns=function(e){return C.a.createElement("svg",Qc({viewBox:"0 0 1600 200",filter:"url(#rounded-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),es,ts)};function as(){return(as=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var os=C.a.createElement("path",{d:"M1610.5 189.1s-128.2-82.6-138.2-89.2c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v50h1620v-24.1z"}),is=function(e){return C.a.createElement("svg",as({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),os)};function rs(){return(rs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ls=C.a.createElement("filter",{id:"rounded-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),cs=C.a.createElement("path",{d:"M1472.3 99.9c-17.1-11.3-37.2-15.5-87-18.1-49.7-2.6-753.6-40.7-783.9-42.3-30.3-1.5-81.1-1.3-121.1 8.2S-9.5 163.2-9.5 163.2v10s449.8-106 489.8-115.5 90.8-9.7 121.1-8.2c30.3 1.6 734.2 39.7 783.9 42.3 49.8 2.6 69.9 6.8 87 18.1 10 6.6 138.2 89.2 138.2 89.2v-10s-128.2-82.6-138.2-89.2z"}),ss=function(e){return C.a.createElement("svg",rs({viewBox:"0 0 1600 200",filter:"url(#rounded-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ls,cs)};function us(){return(us=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var bs=C.a.createElement("path",{d:"M1610.5 24.1s-128.2 82.6-138.2 89.2c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v158.9h1620V24.1z"}),ps=function(e){return C.a.createElement("svg",us({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),bs)};function gs(){return(gs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ms=C.a.createElement("filter",{id:"rounded-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ds=C.a.createElement("path",{d:"M1472.3 113.3c-17.1 11.3-37.2 15.5-87 18.1-49.7 2.6-753.6 40.7-783.9 42.3-30.3 1.5-81.1 1.3-121.1-8.2S-9.5 50-9.5 50v10s449.8 106 489.8 115.5 90.8 9.7 121.1 8.2c30.3-1.6 734.2-39.7 783.9-42.3 49.8-2.6 69.9-6.8 87-18.1 10-6.6 138.2-89.2 138.2-89.2v-10s-128.2 82.6-138.2 89.2z"}),fs=function(e){return C.a.createElement("svg",gs({viewBox:"0 0 1600 200",filter:"url(#rounded-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ms,ds)};function hs(){return(hs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var vs=C.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),ys=function(e){return C.a.createElement("svg",hs({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),vs)};function ws(){return(ws=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Os=C.a.createElement("filter",{id:"slant-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ks=C.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),_s=function(e){return C.a.createElement("svg",ws({viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Os,ks)};function js(){return(js=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Cs=C.a.createElement("path",{d:"M1610 210H-10V.5l1620 183.4z"}),xs=function(e){return C.a.createElement("svg",js({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Cs)};function Es(){return(Es=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ss=C.a.createElement("filter",{id:"slant-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Bs=C.a.createElement("path",{d:"M-10 .5v10l1620 183.4v-10z"}),Ts=function(e){return C.a.createElement("svg",Es({viewBox:"0 0 1600 200",filter:"url(#slant-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ss,Bs)};function As(){return(As=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ns=C.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),Ps=function(e){return C.a.createElement("svg",As({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ns)};function Fs(){return(Fs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Rs=C.a.createElement("filter",{id:"slant-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ds=C.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),Ms=function(e){return C.a.createElement("svg",Fs({viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Rs,Ds)};function zs(){return(zs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Is=C.a.createElement("path",{d:"M1610 160v53.2H-10V160L800 41.1 1610 160z"}),Ls=function(e){return C.a.createElement("svg",zs({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Is)};function Us(){return(Us=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Hs=C.a.createElement("filter",{id:"slant-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ws=C.a.createElement("path",{d:"M800 41.1L-10 160v10L800 51.1 1610 170v-10z"}),Gs=function(e){return C.a.createElement("svg",Us({viewBox:"0 0 1600 200",filter:"url(#slant-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Hs,Ws)};function qs(){return(qs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Vs=C.a.createElement("path",{d:"M-10 210h1620V105.2H-10z"}),Xs=function(e){return C.a.createElement("svg",qs({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Vs)};function Ys(){return(Ys=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ks=C.a.createElement("filter",{id:"straight-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Js=C.a.createElement("path",{d:"M-10 121.6h1620v-16.4H-10z"}),$s=function(e){return C.a.createElement("svg",Ys({viewBox:"0 0 1600 200",filter:"url(#straight-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ks,Js)};function Zs(){return(Zs=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Qs=C.a.createElement("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}),eu=function(e){return C.a.createElement("svg",Zs({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Qs)};function tu(){return(tu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var nu=C.a.createElement("filter",{id:"wave-1-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),au=C.a.createElement("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}),ou=function(e){return C.a.createElement("svg",tu({viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),nu,au)};function iu(){return(iu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ru=C.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v75.9h1620V98.3c-110.6 40.2-181 53.1-268.6 53.1z"}),lu=function(e){return C.a.createElement("svg",iu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ru)};function cu(){return(cu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var su=C.a.createElement("filter",{id:"wave-1-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),uu=C.a.createElement("path",{d:"M1341.4 151.4C1159 151.4 1087.2 71 912 71c-117.8 0-209.7 67.5-393.5 67.5-142.2 0-212.6-38.8-324.6-38.8S-10 135.6-10 135.6v10s91.9-35.9 203.9-35.9 182.4 38.8 324.6 38.8C702.3 148.5 794.2 81 912 81c175.2 0 247 80.4 429.4 80.4 87.6 0 158-12.9 268.6-53.1v-10c-110.6 40.2-181 53.1-268.6 53.1z"}),bu=function(e){return C.a.createElement("svg",cu({viewBox:"0 0 1600 200",filter:"url(#wave-1-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),su,uu)};function pu(){return(pu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var gu=C.a.createElement("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}),mu=function(e){return C.a.createElement("svg",pu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),gu)};function du(){return(du=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var fu=C.a.createElement("filter",{id:"wave-2-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),hu=C.a.createElement("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}),vu=function(e){return C.a.createElement("svg",du({viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),fu,hu)};function yu(){return(yu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var wu=C.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v155.2h1620V132c-53-10-86.8 7.1-177.8 24.2z"}),Ou=function(e){return C.a.createElement("svg",yu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),wu)};function ku(){return(ku=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _u=C.a.createElement("filter",{id:"wave-2-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ju=C.a.createElement("path",{d:"M1432.2 156.2c-88.8 16.7-156 5.3-204-8.5s-147.1-62.2-223.1-73.9c-75.4-11.6-164 7.5-275 27.9S571 135.5 456 125.5c-119.7-10.4-224.7-52-294.4-73C67.1 24-10 55.5-10 55.5v10s77.1-31.5 171.6-3c69.7 21 174.7 62.6 294.4 73 115 10 163.1-3.4 274.1-23.8 111-20.4 199.6-39.5 275-27.9 76 11.7 175.1 60.1 223.1 73.9s115.2 25.2 204 8.5c91-17.1 124.8-34.2 177.8-24.2v-10c-53-10-86.8 7.1-177.8 24.2z"}),Cu=function(e){return C.a.createElement("svg",ku({viewBox:"0 0 1600 200",filter:"url(#wave-2-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),_u,ju)};function xu(){return(xu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Eu=C.a.createElement("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}),Su=function(e){return C.a.createElement("svg",xu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Eu)};function Bu(){return(Bu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Tu=C.a.createElement("filter",{id:"wave-3-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Au=C.a.createElement("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}),Nu=function(e){return C.a.createElement("svg",Bu({viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Tu,Au)};function Pu(){return(Pu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Fu=C.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7-10 64.5-10 64.5v150.2h1620V58.8s-68.8-19.5-196.4-19.5z"}),Ru=function(e){return C.a.createElement("svg",Pu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Fu)};function Du(){return(Du=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Mu=C.a.createElement("filter",{id:"wave-3-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),zu=C.a.createElement("path",{d:"M1413.6 39.3c-157.9 0-338.2 37.7-495.1 67.4-215.6 40.8-328.1 44.6-418.2 41.1S317 127.3 188.4 98.7C59.8 70.1-10 64.5-10 64.5v10s69.8 5.6 198.4 34.2c128.6 28.6 221.8 45.6 311.9 49.1s202.6-.3 418.2-41.1c156.9-29.7 337.2-67.4 495.1-67.4 127.6 0 196.4 19.5 196.4 19.5v-10s-68.8-19.5-196.4-19.5z"}),Iu=function(e){return C.a.createElement("svg",Du({viewBox:"0 0 1600 200",filter:"url(#wave-3-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Mu,zu)};function Lu(){return(Lu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Uu=C.a.createElement("path",{d:"M1610 209.7v-51.2s-81.4-33.3-241.4-23.1c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v154h1620z"}),Hu=function(e){return C.a.createElement("svg",Lu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Uu)};function Wu(){return(Wu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Gu=C.a.createElement("filter",{id:"wave-4-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),qu=C.a.createElement("path",{d:"M1368.6 135.4c-157.4 10-247.9 49.6-340.9 49.4-93.1-.1-121-14.6-174.2-33.6-75.7-27.1-166.9-27.2-185.5-25.1-18.7 2.1-67.8 5.5-106-19.3-38.2-24.7-94.8-55.4-209.2-43.1C238.1 76.3 80 111.8-10 55.7v10c90 56.1 248.1 20.6 362.8 8 114.4-12.3 171 18.4 209.2 43.1 38.2 24.8 87.3 21.4 106 19.3 18.6-2.1 109.8-2 185.5 25.1 53.2 19 81.1 33.5 174.2 33.6 93 .2 183.5-39.4 340.9-49.4 160-10.2 241.4 23.1 241.4 23.1v-10s-81.4-33.3-241.4-23.1z"}),Vu=function(e){return C.a.createElement("svg",Wu({viewBox:"0 0 1600 200",filter:"url(#wave-4-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Gu,qu)};function Xu(){return(Xu=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Yu=C.a.createElement("path",{d:"M1610 208.9V79.2s-81.4 33.3-241.4 23.1c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v26.9h1620z"}),Ku=function(e){return C.a.createElement("svg",Xu({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Yu)};function Ju(){return(Ju=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $u=C.a.createElement("filter",{id:"wave-4-inverted-shadow_svg__a"},C.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),C.a.createElement("feComponentTransfer",null,C.a.createElement("feFuncA",{type:"linear",slope:.4})),C.a.createElement("feMerge",null,C.a.createElement("feMergeNode",null),C.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Zu=C.a.createElement("path",{d:"M1368.6 102.3c-157.4-10-247.9-49.6-340.9-49.4-93.1.1-121 14.6-174.2 33.6-75.7 27.1-166.9 27.2-185.5 25.1-18.7-2.1-67.8-5.5-106 19.3-38.2 24.7-94.8 55.4-209.2 43.1C238.1 161.4 80 125.9-10 182v10c90-56.1 248.1-20.6 362.8-8 114.4 12.3 171-18.4 209.2-43.1 38.2-24.8 87.3-21.4 106-19.3 18.6 2.1 109.8 2 185.5-25.1 53.2-19 81.1-33.5 174.2-33.6 93-.2 183.5 39.4 340.9 49.4 160 10.2 241.4-23.1 241.4-23.1v-10s-81.4 33.3-241.4 23.1z"}),Qu={"wave-1":{default:{shape:eu,shadow:ou},inverted:{shape:lu,shadow:bu}},"wave-2":{default:{shape:mu,shadow:vu},inverted:{shape:Ou,shadow:Cu}},"wave-3":{default:{shape:Su,shadow:Nu},inverted:{shape:Ru,shadow:Iu}},"wave-4":{default:{shape:Hu,shadow:Vu},inverted:{shape:Ku,shadow:function(e){return C.a.createElement("svg",Ju({viewBox:"0 0 1600 200",filter:"url(#wave-4-inverted-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),$u,Zu)}}},"curve-1":{default:{shape:Wl,shadow:Xl},inverted:{shape:Jl,shadow:ec}},"curve-2":{default:{shape:ac,shadow:lc},inverted:{shape:uc,shadow:mc}},"curve-3":{default:{shape:hc,shadow:Oc},inverted:{shape:jc,shadow:Sc}},"slant-1":{default:{shape:ys,shadow:_s},inverted:{shape:xs,shadow:Ts}},"slant-2":{default:{shape:Ps,shadow:Ms},inverted:{shape:Ls,shadow:Gs}},"straight-1":{default:{shape:Xs,shadow:$s},inverted:{shape:Xs,shadow:$s}},"rounded-1":{default:{shape:Ac,shadow:Rc},inverted:{shape:zc,shadow:Hc}},"rounded-2":{default:{shape:qc,shadow:Kc},inverted:{shape:Zc,shadow:ns}},"rounded-3":{default:{shape:is,shadow:ss},inverted:{shape:ps,shadow:fs}}},eb=function(e){var t=Qu[e.design][e.inverted?"inverted":"default"],n=t.shape,a=t.shadow,o=l()([e.className,"ugb-separator-wrapper"]);return wp.element.createElement("div",{className:o},e.shadow&&wp.element.createElement(a,{className:"ugb-separator__shadow",preserveAspectRatio:"none","aria-hidden":"true"}),wp.element.createElement(n,{className:"ugb-separator__layer-1",preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};eb.defaultProps={className:"",design:"wave-1",shadow:!1,inverted:!1},eb.Save=function(e){return wp.element.createElement(eb,e)};var tb=eb;function nb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ab=function(e){var t,n=l()([e.className,"ugb-img"],(nb(t={},"wp-image-".concat(e.imageId),e.imageId),nb(t,"ugb-img--shape",e.shape),nb(t,"ugb-image--shape-stretch",e.shapeStretch),nb(t,"ugb--shadow-".concat(e.shadow),!e.shape&&e.shadow),t));return wp.element.createElement("img",{className:n,src:e.src||void 0,alt:e.alt||void 0,width:e.width||void 0,height:e.height||void 0})};ab.defaultProps={imageId:"",alt:"",src:"",size:"full",width:"",height:"",shape:"",shapeStretch:!1,shadow:""};var ob=ab,ib=n(18),rb=n(32),lb=n(15),cb=wp.element.createElement(A.Icon,{icon:lb.g}),sb=wp.element.createElement(A.Icon,{icon:lb.y});var ub=Object(H.compose)([Object(_e.withSelect)(function(e,t){var n=t.clientIds,a=e("core/block-editor"),o=a.getBlockRootClientId,i=a.getBlocksByClientId,r=(0,a.canInsertBlockType)("ugb/container",n&&n.length>0?o(n[0]):void 0),l=i(n),c=1===l.length&&l[0]&&"ugb/container"===l[0].name;return{isGroupable:r&&l.length&&!c,isUngroupable:c&&!!l[0].innerBlocks.length,blocksSelection:l,groupingBlockName:"ugb/container"}}),Object(_e.withDispatch)(function(e,t){var n=t.clientIds,a=t.onToggle,o=void 0===a?i.noop:a,r=t.blocksSelection,l=void 0===r?[]:r,c=t.groupingBlockName,s=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(l.length){var e=Object(_e.select)("core/blocks").getGroupingBlockName();Object(ib.setGroupingBlockName)("ugb/container");var t=Object(ib.switchToBlockType)(l,c);t&&s(n,t),Object(ib.setGroupingBlockName)(e),o()}},onConvertFromGroup:function(){if(l.length){var e=l[0].innerBlocks;e.length&&(s(n,e),o())}}}})])(function(e){var t=e.onConvertToGroup,n=e.onConvertFromGroup,a=e.isGroupable,o=void 0!==a&&a,i=e.isUngroupable,r=void 0!==i&&i;return Object(_e.select)("core/block-editor").getSelectedBlockClientIds?wp.element.createElement(c.Fragment,null,o&&wp.element.createElement(rb.PluginBlockSettingsMenuItem,{icon:cb,label:Object(s.__)("Group into Container",z.i18n),onClick:t}),r&&wp.element.createElement(rb.PluginBlockSettingsMenuItem,{icon:sb,label:Object(s.__)("Ungroup from Container",z.i18n),onClick:n})):null}),bb=Object(_e.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientIds;return t?{clientIds:t()}:{}})(ub),pb=Object(H.withState)({openPopover:!1,changed:!1})(function(e){var t=e.blockName,n=e.openPopover,a=e.changed,o=e.setState,r=e.getJSONBlockAttributes,l=e.setJSONBlockAttributes;return wp.element.createElement(c.Fragment,null,wp.element.createElement(rb.PluginBlockSettingsMenuItem,{icon:"editor-code",label:"Get / Set Block Attributes",onClick:function(){o({openPopover:!0,changed:!1}),setTimeout(function(){return document.querySelector(".ugb-modal-get-block-attributes-button textarea").select()},100)}}),n&&wp.element.createElement(A.Modal,{title:"".concat(Object(i.startCase)(t)," Block Attributes"),focusOnMount:!0,className:"ugb-modal-get-block-attributes-button",onRequestClose:function(){if(a){var e=document.querySelector(".ugb-modal-get-block-attributes-button textarea").value;l(e)}o({openPopover:!1})}},wp.element.createElement("p",null,'Copy or modify the attributes of the block directly. Use only double quotes "'),wp.element.createElement("textarea",{onChange:function(){return o({changed:!0})}},r())))}),gb=Object(H.compose)([Object(_e.withSelect)(function(e,t){var n=t.clientId,a=e("core/block-editor").getBlockName;return{blockName:n&&a(n)?a(n).replace(/^\w+\//g,""):"",getJSONBlockAttributes:function(){var t=e("core/block-editor").getBlockName,a=e("core/blocks").getBlockType;if(!n)return{};var o=e("core/block-editor").getBlockAttributes(n),i=t(n).replace(/^\w+\//g,""),r=a(t(n)).attributes,l=Object.keys(o).reduce(function(e,t){return o[t]!==(r[t]?r[t].default:"")&&(e[t]=o[t]),e},{});return l.uniqueClass=void 0,JSON.stringify(Object(ve.applyFilters)("stackable.".concat(i,".design.filtered-block-attributes"),l),null,4)}}}),Object(_e.withDispatch)(function(e,t){var n=t.clientId;return{setJSONBlockAttributes:function(e){if(n)try{var t=JSON.parse(e);Object(o.e)(t,n)}catch(e){console.error(e)}}}})])(pb),mb=Object(_e.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientId;return t?{clientId:t()}:{}})(gb);function db(){return(db=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function fb(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var hb=function(e){var t=e.blockTag,n=e.className,a=e.backgroundAttrName,i=e.blockProps,r=e.showBackground,c=e.showVideoBackground,s=fb(e,["blockTag","className","backgroundAttrName","blockProps","showBackground","showVideoBackground"]),u=l()([n],{"ugb--has-background-overlay":r&&Object(o.M)(a,i.attributes)});return wp.element.createElement(t,db({className:u},s),e.children,r&&c&&Object(o.E)(a,i))};hb.defaultProps={className:"",backgroundAttrName:"%s",blockProps:{},showBackground:!0,showVideoBackground:!0,blockTag:"div"};var vb=hb,yb=function(e){return wp.element.createElement(A.Modal,{title:Object(s.__)("Stackable Welcome Guide",z.i18n),className:"ugb-modal-welcome-video",overlayClassName:"ugb-modal-welcome-video__overlay",shouldCloseOnClickOutside:!1,onRequestClose:e.onRequestClose},wp.element.createElement("p",null,Object(s.__)("Hello there 👋 I see you might be new to Stackable, we've made a short 3-minute video so you can make the most out of our unique blocks.",z.i18n)),wp.element.createElement("iframe",{title:Object(s.__)("Video Tutorial",z.i18n),width:"800",height:"413",src:"https://www.youtube.com/embed/UW0Rg96aATA",frameBorder:"0",allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}),wp.element.createElement("p",null,wp.element.createElement(A.Button,{className:"button-primary",onClick:e.onRequestClose,"data-testid":"button-close"},Object(s.__)("Close it, I'm good",z.i18n))))};yb.defaultProps={onRequestClose:function(){}};var wb=yb;function Ob(){return(Ob=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var kb=C.a.createElement("path",{d:"M38 12H12v26h26V12z"}),_b=function(e){return C.a.createElement("svg",Ob({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),kb)};function jb(){return(jb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Cb=C.a.createElement("path",{d:"M12.5 12.5H0V0h12.5v12.5zM31.2 0H18.8v12.5h12.5V0zM50 0H37.5v12.5H50V0zM12.5 18.8H0v12.5h12.5V18.8zm18.7 0H18.8v12.5h12.5V18.8zm18.8 0H37.5v12.5H50V18.8zM12.5 37.5H0V50h12.5V37.5zm18.7 0H18.8V50h12.5V37.5zm18.8 0H37.5V50H50V37.5z"}),xb=function(e){return C.a.createElement("svg",jb({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Cb)};function Eb(){return(Eb=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Sb=C.a.createElement("path",{d:"M21.1 5.3H5.3v15.8h15.8V5.3zm23.6 0H28.9v15.8h15.8V5.3zM21.1 28.9H5.3v15.8h15.8V28.9zm23.6 0H28.9v15.8h15.8V28.9z"}),Bb=function(e){return C.a.createElement("svg",Eb({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Sb)},Tb=void 0;function Ab(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Nb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ab(n,!0).forEach(function(t){Pb(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ab(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Pb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Rb=function(e){var t=Fb(Object(c.useState)([]),2),n=t[0],a=t[1],o=Fb(Object(c.useState)({}),2),r=o[0],u=o[1],b=Fb(Object(c.useState)(0),2),p=b[0],g=b[1],m=Fb(Object(c.useState)(0),2),d=m[0],f=m[1],h=Fb(Object(c.useState)(0),2),v=h[0],y=h[1],w=Fb(Object(c.useState)(""),2),O=w[0],k=w[1];return Object(c.useEffect)(function(){Fn().then(function(e){var t=e.reduce(function(e,t){return e[t]||(e[t]={count:0,name:t,label:t?Object(_e.select)("core/blocks").getBlockType(t).title:""}),e},{});u(t)})},[]),Object(c.useEffect)(function(){Object.keys(r).length&&Nn({type:"block",search:e.search,mood:e.mood,colors:e.colors}).then(function(t){var n=Object.keys(r).reduce(function(e,t){return e[t]=Nb({},r[t]),e},{}),o=0,l=0,c=t.reduce(function(t,n){var a=n.block,i=n.type,r=n.plan;return"block"===i&&t[a]&&t[a].count++,e.forceBlock&&e.forceBlock!==n.block||(l++,"free"===r&&o++),t},Nb({},n));g(l),f(o),y(l-o),a(Object(i.orderBy)(c,["title"],["asc"]))})},[r,e.search,e.mood,e.colors]),wp.element.createElement("ul",{className:"ugb-block-list"},wp.element.createElement("li",null,wp.element.createElement("div",{className:""===O?"is-active":"","data-count":p,onClick:function(){k(""),e.onSelect({block:"",plan:""})},onKeyPress:function(e){13===e.keyCode&&Tb.click()},role:"button",tabIndex:0,"aria-pressed":""===O?"true":"false"},Object(s.__)("All Block Designs",z.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"all-count"},p))),p!==d&&wp.element.createElement("li",null,wp.element.createElement("div",{className:"free"===O?"is-active":"","data-count":d,onClick:function(){k("free"),e.onSelect({block:"",plan:"free"})},onKeyPress:function(e){13===e.keyCode&&Tb.click()},role:"button",tabIndex:0,"aria-pressed":"free"===O?"true":"false"},Object(s.__)("Free Designs",z.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"free-count"},d)),wp.element.createElement("div",{className:"premium"===O?"is-active":"","data-count":v,onClick:function(){k("premium"),e.onSelect({block:"",plan:"premium"})},onKeyPress:function(e){13===e.keyCode&&Tb.click()},role:"button",tabIndex:0,"aria-pressed":"premium"===O?"true":"false"},Object(s.__)("Premium Designs",z.i18n),wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"premium-count"},v))),wp.element.createElement(Bo,null),n.map(function(t,n){var a=O===t.name||t.name===e.forceBlock,o=l()({"is-active":a,"is-disabled":e.forceBlock&&t.name!==e.forceBlock});return wp.element.createElement("li",{key:n},wp.element.createElement("div",{className:o,"data-count":t.count,onClick:function(){e.forceBlock||(k(t.name),e.onSelect({block:t.name,plan:""}))},onKeyPress:function(e){13===e.keyCode&&Tb.click()},role:"button",tabIndex:0,"aria-pressed":a?"true":"false"},t.label,wp.element.createElement("span",{className:"ugb-block-list__count","data-testid":"".concat(t.name,"-count")},t.count)))}))};Rb.defaultProps={search:"",mood:"",colors:[],onSelect:function(){},forceBlock:""};var Db=Rb;function Mb(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function zb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Ib={red:{color:"#f44336",name:"red"},green:{color:"#4caf50",name:"green"},yellow:{color:"#ffeb3b",name:"yellow"},blue:{color:"#2196f3",name:"blue"},pink:{color:"#e91e63",name:"pink"},gray:{color:"#9e9e9e",name:"gray"},brown:{color:"#795548",name:"brown"},orange:{color:"#ff9800",name:"orange"},purple:{color:"#9c27b0",name:"purple"},black:{color:"#212121",name:"black"},white:{color:"#fff",name:"white"}},Lb=function(e){var t=zb(Object(c.useState)([]),2),n=t[0],a=t[1];return wp.element.createElement(A.BaseControl,{className:"ugb-modal-design-library__color-list",id:"design-colors"},wp.element.createElement("div",{className:"ugb-modal-design-library__color-list-wrapper"},Object.keys(e.colors).map(function(t){var o=Ib[t],i=o.color,r=o.name;return wp.element.createElement(A.ColorPalette,{key:t,value:n.includes(r)?i:"",colors:[{color:i,name:r}],onChange:function(t){var o;o=t?[].concat(Mb(n),[r]):n.filter(function(e){return e!==r}),a(o),e.onSelect(o)},clearable:!1,disableCustomColors:!0})})))};Lb.defaultProps={onSelect:function(){},colors:Ib};var Ub=Lb;function Hb(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Wb=function(e){var t=Hb(Object(c.useState)(e.search),2),n=t[0],a=t[1],i=Hb(Object(c.useState)(),2),r=i[0],l=i[1],u=Hb(Object(c.useState)(""),2),b=u[0],p=u[1],g=Hb(Object(c.useState)(""),2),m=g[0],d=g[1],f=Hb(Object(c.useState)([]),2),h=f[0],v=f[1],y=Hb(Object(c.useState)(3),2),w=y[0],O=y[1],k=Hb(Object(c.useState)([]),2),_=k[0],j=k[1],C=Hb(Object(c.useState)(!0),2),x=C[0],E=C[1],S=Hb(Object(c.useState)(!1),2),B=S[0],T=S[1],N=Hb(Object(o.cb)("stk__design_library_dev_mode",!1),2),P=N[0],F=N[1];Object(c.useEffect)(function(){return l(e.selectedBlock)},[e.selectedBlock]);var R=Hb(Object(c.useState)(n),2),D=R[0],M=R[1],I=Hb(Object(c.useState)(null),2),L=I[0],U=I[1];return Object(c.useEffect)(function(){L&&(clearTimeout(L),U(null)),U(setTimeout(function(){M(n)},500))},[n]),Object(c.useEffect)(function(){var e=document.querySelector(".ugb-modal-design-library__search input");e&&e.focus()},[]),Object(c.useEffect)(function(){B&&(j([]),E(!0)),Nn({type:"block",block:r,plan:b,mood:m,colors:h,search:D,reset:B}).then(function(e){j(e)}).finally(function(){E(!1),T(!1)})},[r,m,h,b,D,B]),wp.element.createElement(A.Modal,{title:Object(s.__)("Stackable Design Library",z.i18n),className:"ugb-modal-design-library",onRequestClose:e.onClose},wp.element.createElement("div",{className:"ugb-modal-design-library__wrapper"},wp.element.createElement("aside",{className:"ugb-modal-design-library__sidebar"},wp.element.createElement(A.TextControl,{className:"ugb-modal-design-library__search",placeholder:Object(s.__)("Search designs...",z.i18n),value:n,onChange:function(e){return a(e)},"data-testid":"input-search"}),wp.element.createElement("div",{className:"ugb-modal-design-library__filters"},wp.element.createElement(Ub,{onSelect:function(e){v(e)}}),wp.element.createElement(Yt,{controls:[{value:"",title:Object(s.__)("All",z.i18n)},{value:"light",title:Object(s.__)("Light",z.i18n)},{value:"dark",title:Object(s.__)("Dark",z.i18n)}],value:m,onChange:function(e){return d(e)}}),wp.element.createElement(Db,{search:n,mood:m,colors:h,forceBlock:e.selectedBlock,onSelect:function(e){var t=e.block,n=e.plan;l(t),p(n)}}))),wp.element.createElement("aside",{className:"ugb-modal-design-library__topbar"},z.devMode&&wp.element.createElement(A.ToggleControl,{className:"ugb-modal-design-library__dev-mode",label:"Dev Mode",checked:P,onChange:function(e){An(e).then(function(){T(!0)}),F(e)}}),wp.element.createElement(A.IconButton,{icon:"image-rotate",label:Object(s.__)("Refresh Library",z.i18n),className:"ugb-modal-design-library__refresh",onClick:function(){return T(!0)}}),wp.element.createElement(A.IconButton,{icon:wp.element.createElement(_b,{width:"18",height:"18"}),className:2===w?"is-active":"",label:Object(s.__)("Large preview",z.i18n),onClick:function(){return O(2)}}),wp.element.createElement(A.IconButton,{icon:wp.element.createElement(Bb,{width:"18",height:"18"}),className:3===w?"is-active":"",label:Object(s.__)("Medium preview",z.i18n),onClick:function(){return O(3)}}),wp.element.createElement(A.IconButton,{icon:wp.element.createElement(xb,{width:"18",height:"18"}),className:4===w?"is-active":"",label:Object(s.__)("Small preview",z.i18n),onClick:function(){return O(4)}})),wp.element.createElement("div",{className:"ugb-modal-design-library__designs"},wp.element.createElement(ea,{columns:w,onSelect:e.onSelect,isBusy:x,designs:e.selectedBlock?_.filter(function(t){return t.block===e.selectedBlock}):_}))))};Wb.defaultProps={search:"",selectedBlock:"",onClose:function(){},onSelect:function(){}};var Gb=Wb;n.d(t,"n",function(){return a.i}),n.d(t,"o",function(){return a.a}),n.d(t,"eb",function(){return _}),n.d(t,"fb",function(){return d}),n.d(t,"T",function(){return M}),n.d(t,"mb",function(){return U}),n.d(t,"nb",function(){return V}),n.d(t,"r",function(){return K}),n.d(t,"i",function(){return Q}),n.d(t,"N",function(){return re}),n.d(t,"K",function(){return se}),n.d(t,"Q",function(){return ke}),n.d(t,"R",function(){return Ce}),n.d(t,"S",function(){return Se}),n.d(t,"b",function(){return Qe}),n.d(t,"c",function(){return tt}),n.d(t,"a",function(){return vt}),n.d(t,"d",function(){return Yt}),n.d(t,"D",function(){return $t}),n.d(t,"C",function(){return tn}),n.d(t,"X",function(){return gn}),n.d(t,"Y",function(){return fn}),n.d(t,"U",function(){return vn}),n.d(t,"w",function(){return Mn}),n.d(t,"x",function(){return ea}),n.d(t,"Z",function(){return Sa}),n.d(t,"k",function(){return Fa}),n.d(t,"y",function(){return Da}),n.d(t,"z",function(){return Ma}),n.d(t,"v",function(){return Ua}),n.d(t,"A",function(){return vo}),n.d(t,"H",function(){return yo.a}),n.d(t,"I",function(){return xo}),n.d(t,"s",function(){return So}),n.d(t,"t",function(){return Bo}),n.d(t,"p",function(){return Io}),n.d(t,"O",function(){return Uo}),n.d(t,"P",function(){return qo}),n.d(t,"L",function(){return Xo}),n.d(t,"M",function(){return $o}),n.d(t,"kb",function(){return ei}),n.d(t,"lb",function(){return oi}),n.d(t,"f",function(){return ri}),n.d(t,"g",function(){return ui}),n.d(t,"l",function(){return Oi}),n.d(t,"m",function(){return Ci}),n.d(t,"gb",function(){return Ei}),n.d(t,"hb",function(){return Ai}),n.d(t,"ib",function(){return Di}),n.d(t,"jb",function(){return zi}),n.d(t,"ab",function(){return er}),n.d(t,"bb",function(){return rr}),n.d(t,"E",function(){return Gr}),n.d(t,"cb",function(){return Xr}),n.d(t,"h",function(){return Ye}),n.d(t,"ob",function(){return el}),n.d(t,"G",function(){return kl}),n.d(t,"e",function(){return xl}),n.d(t,"j",function(){return Tl}),n.d(t,"q",function(){return Ll}),n.d(t,"db",function(){return tb}),n.d(t,"J",function(){return ob}),n.d(t,"u",function(){return bb}),n.d(t,"F",function(){return mb}),n.d(t,"B",function(){return vb}),n.d(t,"W",function(){return wb}),n.d(t,"V",function(){return Gb})},,function(e,t){e.exports=wp.hooks},function(e,t){e.exports=wp.blockEditor},function(e,t){e.exports=wp.element},,function(e,t){e.exports=wp.components},function(e,t){e.exports=lodash},function(e,t,n){"use strict";var a=n(3),o=n(5),i=n(8),r=n.n(i),l=n(7),c=n(12),s=n(17),u=n.n(s);function b(e){return(b="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})(e)}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function d(e,t,n){return t&&m(e.prototype,t),n&&m(e,n),e}function f(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function v(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&&y(e,t)}function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object(c.createHigherOrderComponent)(function(n){var i,c;return c=i=function(i){function c(){return g(this,c),f(this,h(c).apply(this,arguments))}return v(c,l["Component"]),d(c,[{key:"render",value:function(){var i=r()([this.props.className,this.props.attributes.uniqueClass]),l=this.props.blockName,c=Object(o.applyFilters)("stackable.".concat(l,".styles"),e(this.props),this.props),s=wp.element.createElement(a.k,{blockUniqueClassName:this.props.attributes.uniqueClass,blockMainClassName:this.props.mainClassName,style:c,editorMode:t.editorMode||!1});return wp.element.createElement(n,p({},this.props,{className:i,styles:s}))}}]),c}(),w(i,"propTypes",{attributes:u.a.shape({uniqueClass:u.a.string.isRequired}),blockName:u.a.string.isRequired,mainClassName:u.a.string.isRequired}),w(i,"defaultProps",{attributes:{},blockName:"",className:"",mainClassName:""}),c},"withBlockStyles")},k=n(2);function _(e){return(_="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})(e)}function j(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function x(e,t,n){return t&&C(e.prototype,t),n&&C(e,n),e}function E(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function B(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&&T(e,t)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Object(c.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return j(this,a),E(this,S(a).apply(this,arguments))}return B(a,l["Component"]),x(a,[{key:"componentDidMount",value:function(){var t=this.props.blockName;Object(o.addFilter)("stackable.".concat(t,".setAttributes"),"stackable/".concat(t,"/contentAlign"),function(n){var a=Object(o.applyFilters)("stackable.with-content-align-reseter.attributeNamesToReset",e,t);return["","Tablet","Mobile"].forEach(function(e){void 0!==n[Object(k.G)("%sContentAlign",e)]&&a.forEach(function(t){n[Object(k.G)(t,e)]=""})}),n})}},{key:"render",value:function(){return wp.element.createElement(t,this.props)}}]),a}(),A(n,"defaultProps",{attributes:{},blockName:""}),a},"withContentAlignReseter")};function P(e){return(P="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})(e)}function F(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function R(e,t){return!t||"object"!==P(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var z=Object(c.createHigherOrderComponent)(function(e){var t,n,a,o,i;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),R(this,D(n).apply(this,arguments))}var a,o,i;return 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&&M(e,t)}(n,l["Component"]),a=n,(o=[{key:"componentDidMount",value:function(){Object(k.S)(this.props.attributes)}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&F(a.prototype,o),i&&F(a,i),n}(),i={attributes:{}},(o="defaultProps")in(a=t)?Object.defineProperty(a,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[o]=i,n},"withGoogleFont");function I(e){return(I="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})(e)}function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function U(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function H(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function W(e){return(W=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var q=function(e){return Object(c.createHigherOrderComponent)(function(t){return function(n){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),H(this,W(a).apply(this,arguments))}var i,c,s;return 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&&G(e,t)}(a,l["Component"]),i=a,(c=[{key:"render",value:function(){var n=e.replace(/^\w+\//g,""),a=e.replace(/\//g,"-"),i=Object(o.applyFilters)("stackable.".concat(n,".mainClassName"),a,e),l=r()([(this.props.className||"").split(" ").filter(function(e){return e!==a}),i]);return wp.element.createElement(t,L({},this.props,{className:l,mainClassName:i,blockName:n}))}}])&&U(i.prototype,c),s&&U(i,s),a}()},"withMainClassname")};function V(e){return(V="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})(e)}function X(){return(X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Y(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $(e,t){return($=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Z=Object(c.createHigherOrderComponent)(function(e){var t,n,a,i,r;return n=t=function(t){function n(){var e,t,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),t=this,(e=!(a=K(n).apply(this,arguments))||"object"!==V(a)&&"function"!=typeof a?J(t):a).setAttributes=e.setAttributes.bind(J(e)),e}var a,i,r;return 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&&$(e,t)}(n,l["Component"]),a=n,(i=[{key:"setAttributes",value:function(e){var t=this.props.blockName,n=Object(o.applyFilters)("stackable.setAttributes",e,this.props);n=Object(o.applyFilters)("stackable.".concat(t,".setAttributes"),n,this.props),this.props.setAttributes(n)}},{key:"render",value:function(){return wp.element.createElement(e,X({},this.props,{setAttributes:this.setAttributes}))}}])&&Y(a.prototype,i),r&&Y(a,r),n}(),a=t,i="propTypes",r={setAttributes:u.a.func.isRequired},i in a?Object.defineProperty(a,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[i]=r,n},"withSetAttributeHook"),Q=n(6);function ee(e){return(ee="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})(e)}function te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ne(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ae(e,t,n){return t&&ne(e.prototype,t),n&&ne(e,n),e}function oe(e,t){return!t||"object"!==ee(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ie(e){return(ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function re(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&&le(e,t)}function le(e,t){return(le=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var se=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Object(c.createHigherOrderComponent)(function(t){var n,i;return i=n=function(n){function i(){return te(this,i),oe(this,ie(i).apply(this,arguments))}return re(i,l["Component"]),ae(i,[{key:"render",value:function(){var n=this.props.blockName,i=Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.style.block"),null,this.props);return wp.element.createElement(l.Fragment,null,Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.before"),null,this.props),wp.element.createElement(Q.InspectorControls,null,wp.element.createElement(a.Z,{tabs:e,blockProps:this.props}),wp.element.createElement(a.U,null,Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.layout.before"),null,this.props),Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.layout.after"),null,this.props)),wp.element.createElement(a.U,{tab:"style"},Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.style.before"),null,this.props),Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.style.after"),null,this.props),i&&wp.element.createElement("div",{className:"ugb-panel-controls-separator",role:"presentation"},"— — —"),i),wp.element.createElement(a.U,{tab:"advanced"},Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.advanced.before"),null,this.props),Object(o.applyFilters)("stackable.".concat(n,".edit.inspector.advanced.after"),null,this.props))),wp.element.createElement(t,this.props))}}]),i}(),ce(n,"defaultProps",{attributes:{},blockName:""}),i},"withTabbedInspector")};function ue(e){return(ue="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})(e)}function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function pe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ge(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function me(e,t){return!t||"object"!==ue(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fe(e,t){return(fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ve=Object(c.createHigherOrderComponent)(function(e){var t,n;return n=t=function(t){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),me(this,de(n).apply(this,arguments))}var a,o,i;return 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&&fe(e,t)}(n,l["Component"]),a=n,(o=[{key:"componentDidMount",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.clientId,o="ugb-".concat(a.substring(0,7));void 0!==t.uniqueClass&&t.uniqueClass===o||n({uniqueClass:o})}},{key:"render",value:function(){return wp.element.createElement(e,this.props)}}])&&ge(a.prototype,o),i&&ge(a,i),n}(),he(t,"defaultProps",{attributes:{},clientId:"",setAttributes:function(){}}),n},"withUniqueClass");Object(o.addFilter)("stackable.user-design-library.save.ignore","stackable/unique-class",function(e){return[].concat(pe(e),["uniqueClass"])}),Object(o.addFilter)("stackable.block.attributes","stackable/unique-class",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(n,!0).forEach(function(t){he(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{uniqueClass:{type:"string",default:""}})});var ye=ve,we=n(42),Oe=n(21);function ke(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ce=!1,xe={".ugb-top-separator":"top-separator",".ugb-bottom-separator":"bottom-separator",".ugb-inner-block":"column-background",".ugb-block-title":"block-title",".ugb-block-description":"block-description",".ugb--has-block-background":"block-background"},Ee={},Se=[".editor-rich-text__editable","svg","img","figure",".ugb-button",'[role="button"]',".ugb-block-content > * > *",".ugb-block-content > *",".ugb-content-wrapper",".ugb-top-separator",".ugb-bottom-separator",".ugb-inner-block",".ugb-main-block"],Be=function(e,t,n){void 0===Ee[e]&&(Ee[e]={}),Ee[e][t]=n},Te=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(n,!0).forEach(function(t){je(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Ee[e],{},xe)};function Ae(e){return(Ae="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})(e)}function Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Fe(e,t,n){return t&&Pe(e.prototype,t),n&&Pe(e,n),e}function Re(e,t){return!t||"object"!==Ae(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function De(e){return(De=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Me(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&&ze(e,t)}function ze(e,t){return(ze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}Object(Oe.a)(function(){if(!Ce&&(Ce=!0,Element.prototype.matches)){var e=Object(o.applyFilters)("stackable.click-open-inspector.listener-override",{});document.body.addEventListener("dblclick",function(t){var n,a,o=(n=t.target,(a=n.closest("[data-type]"))&&a.getAttribute("data-type").match(/^ugb\//i)?a.getAttribute("data-type").replace(/^ugb\//i,""):"");if(o){var i=Te(o);if(i){var r=[];Object.keys(e).some(function(n){return!!t.target.closest(n)&&(r=e[n],!0)}),[].concat(ke(r),Se).some(function(e){var n=t.target.closest(e);return!!n&&Object.keys(i).some(function(e){if(n.matches(e)){var t=i[e];return Object(we.a)(t)}return!1})})}}})}});var Ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Object(c.createHigherOrderComponent)(function(t){return function(n){function a(){var t;Ne(this,a);var n=(t=Re(this,De(a).apply(this,arguments))).props.blockName;return e.forEach(function(e){Be(n,e[0],e[1])}),t}return Me(a,l["Component"]),Fe(a,[{key:"render",value:function(){return wp.element.createElement(t,this.props)}}]),a}()},"withClickOpenInspector")};function Le(e){return(Le="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})(e)}function Ue(){return(Ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function He(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function We(e,t){return!t||"object"!==Le(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ge(e){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qe(e,t){return(qe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xe=function(e){return Object(c.createHigherOrderComponent)(function(t){var n,a;return a=n=function(n){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),We(this,Ge(a).apply(this,arguments))}var o,i,c;return 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&&qe(e,t)}(a,l["Component"]),o=a,(i=[{key:"render",value:function(){var n=this.props.className.match(/ugb--help-tip/),a=r()([this.props.className],Ve({},"ugb--help-tip-".concat(e),!n));return wp.element.createElement(t,Ue({},this.props,{className:a}))}}])&&He(o.prototype,i),c&&He(o,c),a}(),Ve(n,"defaultProps",{className:""}),a},"withHelpTip")};n.d(t,"a",function(){return O}),n.d(t,"c",function(){return N}),n.d(t,"d",function(){return z}),n.d(t,"f",function(){return q}),n.d(t,"g",function(){return Z}),n.d(t,"h",function(){return se}),n.d(t,"i",function(){return ye}),n.d(t,"b",function(){return Ie}),n.d(t,"e",function(){return Xe})},function(e,t){e.exports=wp.compose},function(e,t){e.exports=wp.data},,function(e,t,n){"use strict";var a=n(4),o=n.n(a);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var r=o.a.createElement("path",{d:"M64.1 136L23 176.7c-1.9 1.8-1.9 4.8-.1 6.7.9 1 2.3 1.5 3.6 1.4l86.9.1L64.1 136z"}),l=o.a.createElement("path",{d:"M177.9 128.4c0-4.5-1.8-8.9-5-12.1L71.4 14.7 26.6 59.5c-3.2 3.2-5 7.5-5 12.1 0 4.5 1.8 8.9 5 12.1l101.6 101.6v-.1l44.8-44.8c3.1-3.2 4.9-7.5 4.9-12z",opacity:.75}),c=o.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM128.2 71.6H71.4v56.8h56.8zM128.2 185.1l44.7-44.7c3.1-3.1 4.9-7.4 5-11.8h-49.7v56.5z"}),s=o.a.createElement("path",{d:"M71.4 14.7L26.6 59.5c-3.2 3.2-5 7.5-5 12h49.8V14.7zM172.9 14.7H86.1l49.4 49.6 40.9-41.2c1.9-2 1.8-5.2-.1-7.1-.9-.8-2.1-1.3-3.4-1.3z"}),u=function(e){return o.a.createElement("svg",i({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),r,l,c,s)};function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var p=o.a.createElement("path",{d:"M17 9.4H3c-.4 0-.8-.3-.8-.8s.4-.7.8-.7h14c.4 0 .8.3.8.8s-.4.7-.8.7zm.8 1.9c0-.4-.3-.8-.8-.8H3c-.4 0-.8.3-.8.8s.3.8.8.8h14c.4 0 .8-.4.8-.8zm.4-9.8H1.8c-.2 0-.3.1-.3.3v2.3c0 .2.1.3.3.3h16.3c.2 0 .3-.1.3-.3V1.8c.1-.2 0-.3-.2-.3m0-1.5c1 0 1.8.8 1.8 1.8v2.3c0 1-.8 1.8-1.8 1.8H1.8C.8 6 0 5.2 0 4.2V1.8C0 .8.8 0 1.8 0h16.4zm-5 3c0-.3-.3-.6-.6-.6H3c-.3 0-.6.3-.6.6s.3.6.6.6h9.6c.3 0 .6-.3.6-.6zm4.4 0c0-.3-.3-.6-.6-.6h-1c-.3 0-.6.3-.6.6s.3.6.6.6h1c.4 0 .6-.3.6-.6zm.6 12.5H1.8c-.2 0-.3.1-.3.3v2.3c0 .2.1.3.3.3h16.3c.2 0 .3-.1.3-.3v-2.3c.1-.2 0-.3-.2-.3m0-1.5c1 0 1.8.8 1.8 1.8v2.3c0 1-.8 1.8-1.8 1.8H1.8c-1 0-1.8-.8-1.8-1.8v-2.3c0-1 .8-1.8 1.8-1.8h16.4zm-5 3c0-.3-.3-.6-.6-.6H3c-.3 0-.6.3-.6.6s.3.6.6.6h9.6c.3 0 .6-.3.6-.6zm4.4 0c0-.3-.3-.6-.6-.6h-1c-.3 0-.6.3-.6.6s.3.6.6.6h1c.4 0 .6-.3.6-.6z"}),g=function(e){return o.a.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg"},e),p)};function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var d=o.a.createElement("path",{d:"M0 2.7C0 1.6.3 0 2.4 0c.3 0 .6.3.6.6s-.3.6-.6.6c-.6-.1-1.1.3-1.1.8H2c.6 0 1 .5 1 1v.9c0 .6-.5 1-1 1H1c-.6 0-1-.4-1-1V2.7zm4.4 0c0-1.1.3-2.7 2.4-2.7.3 0 .6.3.6.6s-.3.6-.6.6c-.7-.1-1.2.3-1.2.8h.7c.6 0 1 .5 1 1v.9c0 .6-.5 1-1 1h-1c-.6 0-1-.4-1-1V2.7zm11.2 14.6c0 1.1-.3 2.7-2.4 2.7-.3 0-.6-.3-.6-.6s.3-.6.6-.6c.6 0 1.1-.4 1.1-.9h-.7c-.6 0-1-.5-1-1v-1c0-.6.5-1 1-1h1c.6 0 1 .4 1 1v1.4zm4.4 0c0 1.1-.3 2.7-2.4 2.7-.3 0-.6-.3-.6-.6s.3-.6.6-.6c.6 0 1.1-.4 1.1-.9H18c-.6 0-1-.5-1-1v-1c0-.6.5-1 1-1h1c.6 0 1 .4 1 1v1.4zm0-10c0-.4-.3-.8-.8-.8H.8c-.4.1-.8.4-.8.8s.3.8.8.8h18.5c.4 0 .7-.3.7-.8zm0 2.7c0-.4-.3-.8-.8-.8H.8c-.4 0-.8.4-.8.8s.3.8.8.8h18.5c.4-.1.7-.4.7-.8zm0 2.6c0-.4-.3-.8-.8-.8H.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h18.5c.4 0 .7-.4.7-.8z"}),f=function(e){return o.a.createElement("svg",m({xmlns:"http://www.w3.org/2000/svg"},e),d)};function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var v=o.a.createElement("path",{d:"M4.4 1.5v2.9H1.5V1.5h2.9M5 0H.9C.4 0 0 .4 0 .9V5c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V.9C5.9.4 5.5 0 5 0zm3.3 4.8h11c.4 0 .7-.4.7-.8s-.3-.8-.8-.8h-11c-.3.1-.7.4-.7.8s.4.8.8.8m0-2.2h7.5c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8 0 .4.4.8.8.8m-3.9 6v2.9H1.5V8.6h2.9M5 7.1H.9c-.5 0-.9.4-.9.9v4c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V8c0-.5-.4-.9-.9-.9zm3.3 4.8h11c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-11c-.4 0-.8.3-.8.8 0 .4.4.8.8.8m0-2.3h7.5c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8s.4.8.8.8m-3.9 6v2.9H1.5v-2.9h2.9m.6-1.5H.9c-.5 0-.9.4-.9.9v4.1c0 .5.4.9.9.9H5c.5 0 .9-.4.9-.9V15c0-.5-.4-.9-.9-.9zm3.3 4.8h11c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8h-11c-.4 0-.8.3-.8.8s.4.8.8.8m0-2.2h7.5c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H8.3c-.4 0-.8.3-.8.8s.4.8.8.8"}),y=function(e){return o.a.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg"},e),v)};function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v5.3C0 8.2.8 9 1.8 9H7v2.7c-.1-.2-.2-.4-.3-.5-.3-.5-.7-.9-1.3-1.1-.5-.2-1.1-.1-1.6.2-1.1.6-1.5 1.9-.9 2.9l1.3 2.4c.1.1.1.2.2.3.9 1.6 2.3 4 6.5 4 4.1 0 6-3.6 6-7v-3c0-.4-.1-.7-.2-1h1.5c1 0 1.8-.8 1.8-1.8V1.8c0-1-.8-1.8-1.8-1.8zm-2.8 13c0 2-1 5.5-4.5 5.5-3.3 0-4.3-1.7-5.2-3.3-.1-.1-.1-.2-.2-.3l-1.3-2.4c-.1-.2-.1-.3 0-.5s.2-.3.3-.4c.2-.1.3-.1.5 0s.3.2.4.3c.1.2.3.7.5.9.4.5 1 .8 1.6.6.6-.2 1-.8 1-1.5V5.1c0-.4.3-.7.7-.7s.7.3.7.7v5.7c0 .4.3.8.8.8s.8-.3.8-.8V8.7c.1-.2.3-.3.6-.3.4 0 .7.3.7.7v2.3c0 .4.3.8.8.8s.8-.3.8-.8V9.7c.1-.2.3-.3.6-.3.4 0 .7.3.7.7V13zm3.1-5.8c0 .2-.1.3-.3.3h-4.7c-.4-.4-.9-.6-1.5-.6-.2 0-.4 0-.6.1V5.1c0-1.2-1-2.2-2.2-2.2S7 3.9 7 5.1v2.4H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v5.4z"}),k=function(e){return o.a.createElement("svg",w({xmlns:"http://www.w3.org/2000/svg"},e),O)};function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var j=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zm.3 18.2c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v16.4zm-1.6-5c0 .4-.3.8-.8.8H3.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h12.3c.3 0 .7.4.7.8zm0 2.6c0 .4-.3.8-.8.8H3.9c-.4 0-.8-.3-.8-.8s.4-.8.8-.8h12.3c.3 0 .7.4.7.8zM5 10h10c.2 0 .4-.1.5-.2s.2-.3.2-.5v-5c0-.2-.1-.4-.2-.5s-.3-.3-.5-.3H5c-.2 0-.4.1-.5.2s-.2.3-.2.5v5c0 .2.1.4.2.5s.3.3.5.3zm.8-5h8.5v3.5H5.8V5z"}),C=function(e){return o.a.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg"},e),j)};function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.5c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.5 10.6h1.8l-1.8 1.8v-1.8zm3.1-1.2H4.5V7.7h4.8L7.6 9.4zm2.9-2.9h-6V5H12l-1.5 1.5zM3.3 15H1.5V5h1.7v10zm1.2-.8L13.7 5h1.8v.8L6.3 15H4.5v-.8zm11-4.8h-1.8l1.8-1.8v1.8zm-3.1 1.2h3.1v1.7h-4.8l1.7-1.7zm-2.9 2.9h6V15H8l1.5-1.5zM16.8 5h1.7v10h-1.7V5zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8zm17 16.4c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3v-1.3c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v1.3zm-14.9-.7c0 .3-.2.5-.5.5s-.5-.2-.5-.5.3-.5.5-.5.5.2.5.5zm13.8 0c0 .3-.2.5-.5.5s-.5-.2-.5-.5.2-.5.5-.5.5.2.5.5zM2.6 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm13.8 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}),S=function(e){return o.a.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg"},e),E)};function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=o.a.createElement("path",{d:"M18.5 2.9h-17C.7 2.9 0 3.6 0 4.4v11.1c0 .9.7 1.5 1.5 1.5h16.9c.9 0 1.5-.7 1.5-1.5V4.4c.1-.8-.6-1.5-1.4-1.5zm0 12.7h-7.1c.2-.3.3-.7.4-1.2 0-.3-.1-.6-.2-.9-.3-.5-.8-.9-1.4-1.1.3-.3.7-.8 1-1.2.2-.2.3-.4.4-.6.2-.5.1-.8-.3-1.1-.1-.1-.2-.1-.4-.1h-3c-.1 0-.3.1-.4.1-.2.3-.3.5-.3.7 0 .3.3.6.6.6h2c-.5.6-1.2 1.3-1.4 1.5-.3.3-.4.7-.1 1l.2.2c.1.1.3.1.4.1 1 .1 1.4.3 1.5 1-.1.8-.7.9-1.2 1-.8 0-1-.5-1.1-.8-.1-.3-.4-.5-.7-.5-.3.1-.5.4-.5.7 0 .1.1.4.3.7H1.5V4.4h8.6c-.3.4-.7.8-1 1.1H9c-.6.6-1.2 1.2-1.7 1.6-.2.1-.3.3-.4.4V8c.1.2.2.4.4.5.2.1.4.2.6.2h3.2c.3 0 .6-.3.6-.6s-.3-.6-.6-.6H8.9c.4-.3.7-.7 1.1-1 .5-.5 1.1-1.1 1.4-1.6.1-.1.1-.3.2-.4H16c.1.1.1.3.2.5-.1.8-.7.9-1.2 1-.8 0-1-.5-1.1-.8-.1-.3-.4-.5-.7-.5-.3.1-.5.4-.5.7.1.2.5 1.7 2.3 1.7 1.5 0 2.4-.9 2.5-2.2v-.5h1.1v11.2zM5.9 13c0 .3-.3.6-.6.6H3.6c-.4 0-.6-.3-.6-.6s.3-.6.6-.6h.2V8.2l-.3.1c-.1.1-.3.1-.5.1s-.3-.1-.4-.3v-.5c0-.2.1-.3.3-.4l1.2-.7c.3-.1.7 0 .9.3v5.6h.2c.4-.1.7.2.7.6zm11.2-1h-.3V8.4c0-.3-.3-.6-.6-.6-.2 0-.4.1-.5.3l-3.3 4.2c-.1.1-.2.3-.1.5 0 .2.1.3.2.4.1.1.2.1.4.1h2.7v1.1c0 .3.3.6.6.6s.6-.3.6-.6v-1.1h.3c.3 0 .6-.3.6-.6.1-.4-.2-.7-.6-.7zm-1.5 0h-1.4l1.4-1.8V12z"}),A=function(e){return o.a.createElement("svg",B({xmlns:"http://www.w3.org/2000/svg"},e),T)};function N(){return(N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var P=o.a.createElement("path",{d:"M16.1 8.5c0-1.4-1-2.5-2.2-2.9V1.5c0-.3-.1-.5-.3-.6-.2-.1-.5-.2-.7-.1L4.5 4.6H.8c-.5 0-.8.3-.8.8v6.3c0 .4.3.8.8.8h1.1v5.7c0 .4.3.8.8.8h2.1c.4 0 .8-.3.8-.8V13l7.4 3.4c.1 0 .2.1.3.1.1 0 .3 0 .4-.1.2-.1.3-.4.3-.6v-4.2c1.2-.5 2.1-1.7 2.1-3.1zM1.5 6.1h2.4v4.8H1.5V6.1zm1.8 11.3v-4.9h.6v4.9h-.6zm9.1-3l-6.9-3.2V5.8l6.9-3.2v11.8zm1.5-4.3V7c.6.3 1 .9 1 1.5 0 .7-.4 1.3-1 1.6zM20 8.5c0 .3-.3.6-.6.6h-1.5c-.3 0-.6-.3-.6-.6s.3-.6.6-.6h1.5c.3 0 .6.3.6.6zm-2.2 4.4c.2.2.2.6 0 .9-.1.1-.3.2-.4.2-.2 0-.3-.1-.4-.2l-1.1-1.1c-.2-.2-.2-.6 0-.9.2-.2.6-.2.9 0l1 1.1zm-2-7.7c-.2-.2-.2-.6 0-.9l1.1-1.1c.2-.2.6-.2.9 0 .2.2.2.6 0 .9l-1.1 1.1c-.1.1-.3.2-.4.2-.2 0-.4 0-.5-.2z"}),F=function(e){return o.a.createElement("svg",N({xmlns:"http://www.w3.org/2000/svg"},e),P)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var D=o.a.createElement("path",{d:"M.8 10.8c-.5 0-.8-.4-.8-.8s.3-.8.8-.8h18.5c.4 0 .8.3.8.8s-.3.8-.8.8H.8"}),M=function(e){return o.a.createElement("svg",R({xmlns:"http://www.w3.org/2000/svg"},e),D)};function z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var I=o.a.createElement("path",{d:"M2.5 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1s-1-.5-1-1c0-.6.5-1 1-1m0-1.5C1.1 7.5 0 8.6 0 10s1.1 2.5 2.5 2.5S5 11.4 5 10c.1-1.4-1.1-2.5-2.5-2.5zM10 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1-.6 0-1-.5-1-1 0-.6.4-1 1-1m0-1.5c-1.4 0-2.5 1.1-2.5 2.5s1.1 2.5 2.5 2.5 2.5-1.1 2.5-2.5-1.1-2.5-2.5-2.5zM17.5 9c.6 0 1 .5 1 1 0 .6-.5 1-1 1-.6 0-1-.5-1-1-.1-.6.4-1 1-1m0-1.5C16.1 7.5 15 8.6 15 10s1.1 2.5 2.5 2.5S20 11.4 20 10s-1.1-2.5-2.5-2.5z"}),L=function(e){return o.a.createElement("svg",z({xmlns:"http://www.w3.org/2000/svg"},e),I)};function U(){return(U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var H=o.a.createElement("path",{d:"M18.6 0H12c-.8 0-1.4.6-1.4 1.4v8.3c0 .8.6 1.4 1.4 1.4h6.6c.8 0 1.4-.6 1.4-1.4V1.4c0-.8-.6-1.4-1.4-1.4zm-.1 1.5V7c-.9-.7-2-1-3.2-1-1.2 0-2.4.4-3.2 1V1.5h6.4zm0 8.2h-6.4c0-.2.1-.5.2-.7.5-.9 1.7-1.5 3-1.5s2.4.6 2.9 1.4c.2.2.3.5.3.8zm-5.3-6.1c0-.5.4-1 1-1 .5 0 1 .4 1 1 0 .5-.4 1-1 1-.6-.1-1-.5-1-1zm5.8 13c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h6c.5.1.8.4.8.8zm0 2.6c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h6c.5.1.8.4.8.8zm0-5.2c0 .4-.3.8-.8.8h-6c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h6c.5.1.8.4.8.8zM8 0H1.4C.6 0 0 .6 0 1.4v8.3c0 .8.6 1.4 1.4 1.4H8c.8 0 1.4-.6 1.4-1.4V1.4C9.4.6 8.8 0 8 0zm-.1 1.5V7c-.9-.7-2-1-3.2-1-1.2 0-2.4.4-3.2 1V1.5h6.4zm0 8.2H1.5c0-.2.1-.5.2-.7.5-.9 1.7-1.5 3-1.5 1.3-.1 2.5.5 3 1.4.1.2.2.5.2.8zM2.6 3.6c0-.5.4-1 1-1 .5 0 1 .4 1 1 0 .5-.4 1-1 1-.6-.1-1-.5-1-1zm5.8 13c0 .4-.3.8-.8.8h-6c-.3 0-.6-.4-.6-.8s.3-.8.8-.8h6c.3.1.6.4.6.8zm0 2.6c0 .4-.3.8-.8.8h-6c-.3 0-.6-.3-.6-.8 0-.4.3-.8.8-.8h6c.3.1.6.4.6.8zm0-5.2c0 .4-.3.8-.8.8h-6c-.3 0-.6-.4-.6-.8s.3-.8.8-.8h6c.3.1.6.4.6.8z"}),W=function(e){return o.a.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg"},e),H)};function G(){return(G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var q=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h6.1v9.6c-.8-.8-2-1.3-3.2-1.3-1.2 0-2.4.5-3.2 1.3V1.8c0-.2.1-.3.3-.3zm-.3 16.7v-3.6c0-.9.4-1.7.9-2.3.6-.6 1.4-.9 2.3-.9.9 0 1.7.4 2.3.9.6.6.9 1.4.9 2.3v4H1.8c-.2-.1-.3-.2-.3-.4zm17 0c0 .2-.1.3-.3.3H9.4v-17h8.7c.2 0 .3.1.3.3v16.4zM2.6 6.8c0-.6.5-1 1-1s1 .5 1 1-.5 1-1 1-1-.5-1-1zM17 8.7c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0 2.6c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0-5.2c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5 0 .8.4.8.8zm0 7.7c0 .4-.3.8-.8.8h-4.9c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h4.9c.5.1.8.4.8.8z"}),V=function(e){return o.a.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg"},e),q)};function X(){return(X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Y=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.1 0 .2.1.2.1s.1.1.1.2v1.7h-17V1.8c.1-.2.2-.3.4-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3V4.5h17v13.6c0 .3-.1.4-.3.4zM16.3 5.8H3.7c-.2 0-.4 0-.5.2-.1.1-.2.3-.2.5v5c0 .2.1.4.2.5.1.1.3.2.5.2h12.5c.2 0 .4-.1.5-.2.1-.1.2-.3.2-.5v-5c0-.2-.1-.4-.2-.5 0-.2-.2-.2-.4-.2zM4.5 10.7V7.3h11v3.5h-11zM14 9c0 .4-.3.7-.7.7H6.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7h6.5c.5-.1.8.3.8.7zM2.7 2.5c0-.3.3-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm1.7 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5zm1.7 0c0-.3.2-.5.5-.5s.5.2.5.5-.2.5-.5.5-.5-.2-.5-.5z"}),K=function(e){return o.a.createElement("svg",X({xmlns:"http://www.w3.org/2000/svg"},e),Y)};function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $=o.a.createElement("path",{d:"M19.3 4.3H8.8c-.4 0-.8-.3-.8-.8s.3-.8.8-.8h10.4c.4 0 .8.3.8.8s-.3.8-.7.8zM2.9 5.7l3.2-3.2c.3-.3.3-.8 0-1.1s-.8-.3-1.1 0L2.4 4.1 1.3 3C1 2.7.5 2.7.2 3c-.3.3-.3.8 0 1.1l1.6 1.6c.2.1.4.2.6.2.2 0 .4-.1.5-.2zM20 9.9c0-.4-.3-.8-.8-.8H8.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h10.4c.5 0 .8-.4.8-.8zM2.9 12l3.2-3.2c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.7 2.7-1-1C1 9.1.5 9.1.2 9.4c-.3.3-.3.8 0 1.1L1.8 12c.1.1.3.2.5.2.3.1.5 0 .6-.2zM20 16.3c0-.4-.3-.8-.8-.8H8.8c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h10.4c.5-.1.8-.4.8-.8zM2.9 18.4l3.2-3.2c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.7 2.7-1.1-1.1c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1l1.6 1.6c.1.1.3.2.5.2.4 0 .6 0 .7-.2z"}),Z=function(e){return o.a.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg"},e),$)};function Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ee=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.2 0 .3.1.3.3V11l-3.3-4.4c-.2-.3-.6-.5-.9-.5-.4 0-.7.2-.9.5l-4.7 6.1-1.9-2.6c-.3-.3-.6-.4-1-.4s-.7.2-.9.5l-3.3 4.3V1.8c0-.2.1-.3.3-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3v-1.3c.1 0 .1-.1.2-.2l4.1-5.4 2.1 2.8c.2.2.5.4.7.4.3 0 .6-.1.7-.4l4.9-6.4 4.1 5.4c0 .1.1.1.2.2v4.8c0 .3-.2.4-.3.4zM7.2 7.8c1.3 0 2.3-1 2.3-2.3s-1-2.3-2.3-2.3-2.3 1-2.3 2.3 1 2.3 2.3 2.3zm0-3.2c.4 0 .8.4.8.8 0 .5-.4.8-.8.8-.5 0-.8-.4-.8-.8-.1-.4.3-.8.8-.8z"}),te=function(e){return o.a.createElement("svg",Q({xmlns:"http://www.w3.org/2000/svg"},e),ee)};function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ae=o.a.createElement("path",{d:"M10 2.2l8.3 15.7H1.7L10 2.2m0-1.8c-.4 0-.8.2-1.1.6L.1 17.7c-.4.8.2 1.7 1.1 1.7h17.6c.9 0 1.5-.9 1.1-1.7L11.1 1c-.2-.4-.7-.6-1.1-.6zm-.7 7.2v4.6c0 .4.3.7.7.7s.7-.3.7-.7V7.6c0-.4-.3-.7-.7-.7s-.7.3-.7.7m.7 6.8c-.5 0-.9.4-.9.9s.4.9.9.9.9-.4.9-.9-.4-.9-.9-.9z"}),oe=function(e){return o.a.createElement("svg",ne({xmlns:"http://www.w3.org/2000/svg"},e),ae)};function ie(){return(ie=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var re=o.a.createElement("path",{d:"M18.2 1.5c.2 0 .3.1.3.3v16.3c0 .2-.1.3-.3.3H1.8c-.2 0-.3-.1-.3-.3V1.8c0-.2.1-.3.3-.3h16.4m0-1.5H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM4.4 6.7l1-.6v8.3h-.7c-.4 0-.7.3-.7.8s.3.7.7.7h2.9c.4 0 .8-.3.8-.7s-.4-.8-.8-.8h-.7V4.8c0-.1 0-.3-.1-.4-.2-.3-.7-.4-1-.2L3.6 5.4c-.4.2-.5.7-.3 1 .3.4.7.5 1.1.3zm5.6.1h5.7c.4 0 .8-.3.8-.8 0-.4-.3-.8-.8-.8H10c-.4.1-.7.4-.7.8s.3.8.7.8m0 2.6h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8m0 2.7h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8m0 2.6h5.7c.4 0 .8-.3.8-.8s-.3-.8-.8-.8H10c-.4 0-.8.3-.8.8s.4.8.8.8"}),le=function(e){return o.a.createElement("svg",ie({xmlns:"http://www.w3.org/2000/svg"},e),re)};function ce(){return(ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var se=o.a.createElement("path",{d:"M19.8.2c-.3-.3-.7-.3-1 0l-1.1 1.1c-.2-.1-.4-.1-.6-.1l-5-.1H12c-.7 0-1.4.3-1.9.8L.7 11.3c-.9.9-.9 2.4 0 3.3l4.8 4.8c.5.4 1.1.6 1.7.6.6 0 1.2-.2 1.7-.7l9.4-9.4c.5-.5.8-1.3.8-2l-.1-5c0-.2 0-.4-.1-.6L20 1.2c.1-.2.1-.7-.2-1zm-4.6 5.9c0 .3-.1.6-.4.9-.2.2-.6.4-.9.4-.3 0-.6-.1-.9-.4-.2-.2-.4-.6-.4-.9 0-.3.1-.6.4-.9.2-.2.6-.4.9-.4h.2l-.5.5c-.3.3-.3.7 0 1 .3.3.7.3 1 0l.5-.5c.1.1.1.2.1.3zM17.6 8c0 .3-.1.7-.4.9l-9.4 9.4c-.2.2-.4.3-.6.3-.2 0-.5-.1-.6-.3l-4.8-4.8c-.2-.2-.3-.4-.3-.6 0-.2.1-.5.3-.6l9.4-9.4c.2-.2.6-.4.9-.4l4.4.1-1.1 1.1c-.4-.2-.9-.3-1.3-.3a2.732 2.732 0 00-2.7 2.7 2.732 2.732 0 002.7 2.7 2.732 2.732 0 002.7-2.7c0-.5-.1-.9-.3-1.3l1.1-1.1V8zm-6.1 1.4l-.5.5c.5.7.6 1.5.6 1.6.1.4-.2.8-.6.8-.4.1-.8-.2-.8-.6 0-.2-.2-.8-.5-1.1-.3-.3-.8-.5-1.1-.2-.2.2 0 .8.2 1.3 0 .1.1.2.1.2.3.6.9 1.8-.3 2.9-.3.3-.7.4-1.2.4-.4 0-.7-.1-1.1-.3-.1-.1-.2-.1-.3-.2l-.5.5c-.1.1-.2.1-.3.1-.1 0-.2 0-.3-.1-.2-.2-.2-.5 0-.7l.5-.5c-.4-.5-.8-1.3-.7-2.2 0-.4.4-.7.8-.7s.7.4.7.8c-.1.9.5 1.5.9 1.7.3.1.5.2.7.1.3-.2.3-.4 0-1.1 0-.1-.1-.2-.1-.3-.3-.6-.9-2 .1-3 .8-.8 1.9-.7 2.7-.1l.5-.5c.2-.2.5-.2.7 0 0 .2 0 .5-.2.7z"}),ue=function(e){return o.a.createElement("svg",ce({xmlns:"http://www.w3.org/2000/svg"},e),se)};function be(){return(be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var pe=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.5 1.8c0-.2.1-.3.3-.3h16.3c.2 0 .3.1.3.3v7.1c-.8.7-2.2 2.1-4.1 2.1-3.1 0-4.8-3.6-8.1-3.6-1.9 0-3.7 1.3-4.6 2.1V1.8zm17 16.3c0 .3-.2.4-.3.4H1.8c-.2 0-.3-.1-.3-.3V12c.9-.9 2.7-2.7 4.5-2.7 2.7 0 4.3 3.4 8.3 3.4 1.9 0 3.4-1 4.1-1.6v7z"}),ge=function(e){return o.a.createElement("svg",be({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),pe)};function me(){return(me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var de=o.a.createElement("path",{d:"M1.6.8c0-.5.3-.8.7-.8h16c.4 0 .8.3.8.8s-.3.8-.8.8h-16c-.4-.1-.7-.4-.7-.8zm16.7 17.7h-16c-.4 0-.8.3-.8.8 0 .4.3.8.8.8h16c.4 0 .8-.3.8-.8s-.4-.8-.8-.8zM13.2 6.7c.3.3.8.3 1.1 0 .3-.3.3-.8 0-1.1l-3.4-3.4c-.3-.3-.8-.3-1.1 0L6.4 5.6c-.3.3-.3.8 0 1.1.1.1.3.2.5.2s.4-.1.5-.2l2.1-2.1v11l-2.1-2.1c-.3-.3-.8-.3-1.1 0-.3.3-.3.8 0 1.1L9.7 18c.1.1.3.2.5.2s.4-.1.5-.2l3.4-3.4c.3-.3.3-.8 0-1.1-.3-.3-.8-.3-1.1 0l-2.1 2.1v-11l2.3 2.1z"}),fe=function(e){return o.a.createElement("svg",me({xmlns:"http://www.w3.org/2000/svg"},e),de)};function he(){return(he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ve=o.a.createElement("path",{d:"M8.6 12.1c.4-.5.6-1.2.6-1.9V8c0-1.9-1.5-3.4-3.4-3.4S2.4 6.1 2.4 8v2.1c0 .7.2 1.4.6 1.9-1.7.3-3 1.9-3 3.7V17c0 1.2.9 2.1 2.1 2.1h7.4c1.2 0 2.1-.9 2.1-2.1v-1.2c.1-1.9-1.3-3.4-3-3.7zm-2.8-6c1 0 1.8.7 1.9 1.7-.8.6-1.3.4-1.8-.1-.2-.2-.5-.5-.9-.5s-.8.3-1 .5c.1-.8.9-1.6 1.8-1.6zM4 8.9c.2-.1.5-.2.8-.5.1-.1.2-.1.2-.1s.1 0 .2.2c.6.5 1.1.7 1.6.7.3 0 .6-.1.9-.2v1.1c0 1-.8 1.9-1.9 1.9-1 0-1.9-.8-1.9-1.9V8.9zm2.8 4.6c-.2.9-.6 1.4-1 1.4-.3 0-.7-.5-1-1.4h2zm3.3 3.5c0 .3-.3.6-.6.6H2.1c-.3 0-.6-.3-.6-.6v-1.2c0-1.2 1-2.2 2.2-2.2h.1c.3 1.4 1.1 2.4 2 2.4s1.7-1 2-2.4h.1c1.2 0 2.2 1 2.2 2.2V17zM17 8.3c.4-.5.6-1.2.6-1.9V4.3c0-1.9-1.5-3.4-3.4-3.4s-3.4 1.5-3.4 3.4v2.1c0 .7.2 1.4.6 1.9-.4.1-.8.2-1.1.4v1.4c0 .3 0 .5-.1.8.4-.7 1.1-1.1 1.9-1.1h.1c.3 1.4 1.1 2.4 2 2.4.9 0 1.7-1 2-2.4h.1c1.2 0 2.2 1 2.2 2.2v1.2c0 .3-.3.6-.6.6h-5.4c.2.5.3 1 .4 1.5h5c1.2 0 2.1-.9 2.1-2.1V12c0-1.8-1.3-3.3-3-3.7zm-2.8-5.9c1 0 1.8.7 1.9 1.7-.8.6-1.3.4-1.8-.1-.7-.7-1.3-.6-1.9 0 0-.9.8-1.6 1.8-1.6zm0 8.8c-.3 0-.7-.5-1-1.4h1.9c-.2.8-.6 1.4-.9 1.4zM16 6.4c0 1-.8 1.9-1.9 1.9-1 0-1.9-.8-1.9-1.9V5.2c.3-.1.6-.2.8-.5.2-.2.3-.2.3-.2s.1 0 .2.2c.6.6 1.1.8 1.6.8.3 0 .6-.1.9-.2v1.1z"}),ye=function(e){return o.a.createElement("svg",he({xmlns:"http://www.w3.org/2000/svg"},e),ve)};function we(){return(we=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Oe=o.a.createElement("path",{d:"M4 20c-.1 0-.2 0-.3-.1-.3-.1-.5-.4-.5-.7v-2.9H1.9c-1 0-1.9-.8-1.9-1.9V1.9C0 .8.8 0 1.9 0h16.2c1 0 1.9.8 1.9 1.9v12.6c0 1-.8 1.9-1.9 1.9H7.9l-3.4 3.4c-.1.1-.3.2-.5.2zM1.9 1.5c-.2 0-.4.2-.4.4v12.6c0 .2.2.4.4.4H4c.4 0 .8.3.8.8v1.8l2.3-2.3c.1-.1.3-.2.5-.2h10.5c.2 0 .4-.2.4-.4V1.9c0-.2-.2-.4-.4-.4H1.9zM7.2 13c-.1 0-.3 0-.4-.1-.2-.1-.3-.4-.2-.6L7 9.5l-2-2c-.2-.2-.2-.4-.2-.7.1-.2.3-.4.5-.4L8.1 6l1.3-2.5c.1-.3.3-.4.6-.4.2 0 .5.1.6.3L11.8 6l2.8.4c.2 0 .4.2.5.4.1.2 0 .5-.2.6l-2 2 .5 2.8c0 .2-.1.5-.2.6-.2.1-.4.2-.7 0L10 11.6l-2.5 1.3c-.1.1-.2.1-.3.1zm2.8-2.7c.1 0 .2 0 .3.1l1.7.9-.3-1.9c0-.2 0-.4.2-.6l1.4-1.3-1.9-.3c-.2 0-.4-.2-.5-.3L10 5.1l-.9 1.7c-.1.2-.2.4-.5.4l-1.8.3 1.4 1.3c.1.1.2.4.2.6L8 11.2l1.7-.9h.3z"}),ke=function(e){return o.a.createElement("svg",we({xmlns:"http://www.w3.org/2000/svg"},e),Oe)};function _e(){return(_e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var je=o.a.createElement("path",{d:"M18.2 0H1.8C.8 0 0 .8 0 1.8v16.3c0 1 .8 1.8 1.8 1.8h16.3c1 0 1.8-.8 1.8-1.8V1.8c.1-1-.7-1.8-1.7-1.8zM1.8 1.5h16.3c.2 0 .3.1.3.3V13h-17V1.8c.1-.2.3-.3.4-.3zm16.4 17H1.8c-.2 0-.3-.1-.3-.3v-3.7h17v3.7c0 .2-.1.3-.3.3zm-11-7.2c.2.1.5.1.8 0L13.5 8c.2-.1.4-.4.4-.6 0-.3-.1-.5-.4-.6L7.9 3.4c-.2-.1-.5-.1-.8 0-.2.1-.3.3-.3.6v6.6c0 .3.1.5.4.7zm1.1-6l3.4 2-3.4 2v-4zm9 11.2c0 .4-.3.8-.8.8H3.4c-.4 0-.8-.3-.8-.8 0-.4.3-.8.8-.8h13.2c.4 0 .7.3.7.8z"}),Ce=function(e){return o.a.createElement("svg",_e({xmlns:"http://www.w3.org/2000/svg"},e),je)};function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Ee=o.a.createElement("path",{d:"M10.9 20h-9c-1 0-1.8-.8-1.8-1.8v-5.1c0-1 .8-1.8 1.8-1.8h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zm-9.1-7.4c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5v-5.1c0-.3-.2-.5-.5-.5h-9zM18.2 8.7h-9c-1 0-1.8-.8-1.8-1.8V1.8C7.4.8 8.2 0 9.2 0h9c1 0 1.8.8 1.8 1.8v5.1c0 1-.8 1.8-1.8 1.8zM9.1 1.3c-.3 0-.5.2-.5.5v5.1c0 .3.2.5.5.5h9c.3 0 .5-.2.5-.5V1.8c0-.3-.2-.5-.5-.5h-9z"}),Se=function(e){return o.a.createElement("svg",xe({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ee)},Be=n(7),Te=n(21),Ae=n(18);n.d(t,"s",function(){return Pe}),n.d(t,"v",function(){return Fe}),n.d(t,"a",function(){return Re}),n.d(t,"b",function(){return De}),n.d(t,"c",function(){return Me}),n.d(t,"d",function(){return ze}),n.d(t,"f",function(){return Ie}),n.d(t,"g",function(){return Le}),n.d(t,"h",function(){return Ue}),n.d(t,"e",function(){return He}),n.d(t,"i",function(){return We}),n.d(t,"j",function(){return Ge}),n.d(t,"k",function(){return qe}),n.d(t,"l",function(){return Ve}),n.d(t,"m",function(){return Xe}),n.d(t,"n",function(){return Ye}),n.d(t,"o",function(){return Ke}),n.d(t,"p",function(){return Je}),n.d(t,"q",function(){return $e}),n.d(t,"r",function(){return Ze}),n.d(t,"t",function(){return Qe}),n.d(t,"u",function(){return et}),n.d(t,"w",function(){return tt}),n.d(t,"x",function(){return nt}),n.d(t,"z",function(){return at}),n.d(t,"y",function(){return ot});var Ne=function(e){return Object(Be.cloneElement)(e,{fill:"url(#stackable-gradient)",className:"ugb-stackable-icon-gradient"})};void 0!==window.wp.blocks&&void 0!==window.wp.blocks.updateCategory&&Object(Ae.updateCategory)("stackable",{icon:Ne(wp.element.createElement(u,{className:"components-panel__icon",width:"20",height:"20"}))}),Object(Te.a)(function(){var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(Be.render)(wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:"ugb-stackable-gradient",height:"0",width:"0",style:{opacity:0}},wp.element.createElement("defs",null,wp.element.createElement("linearGradient",{id:"stackable-gradient"},wp.element.createElement("stop",{offset:"0%",stopColor:"#8c33da",stopOpacity:"1"}),wp.element.createElement("stop",{offset:"100%",stopColor:"#f34957",stopOpacity:"1"})))),e)});var Pe=function(){return wp.element.createElement(u,{width:"20",height:"20"})},Fe=function(){return Ne(wp.element.createElement(u,{width:"20",height:"20"}))},Re=function(){return Ne(wp.element.createElement(g,{width:"20",height:"20"}))},De=function(){return Ne(wp.element.createElement(f,{width:"20",height:"20"}))},Me=function(){return Ne(wp.element.createElement(y,{width:"20",height:"20"}))},ze=function(){return Ne(wp.element.createElement(k,{width:"20",height:"20"}))},Ie=function(){return Ne(wp.element.createElement(C,{width:"20",height:"20"}))},Le=function(){return Ne(wp.element.createElement(S,{width:"20",height:"20"}))},Ue=function(){return Ne(wp.element.createElement(A,{width:"20",height:"20"}))},He=function(){return Ne(wp.element.createElement(F,{width:"20",height:"20"}))},We=function(){return Ne(wp.element.createElement(M,{width:"20",height:"20"}))},Ge=function(){return Ne(wp.element.createElement(L,{width:"20",height:"20"}))},qe=function(){return Ne(wp.element.createElement(W,{width:"20",height:"20"}))},Ve=function(){return Ne(wp.element.createElement(V,{width:"20",height:"20"}))},Xe=function(){return Ne(wp.element.createElement(K,{width:"20",height:"20"}))},Ye=function(){return Ne(wp.element.createElement(Z,{width:"20",height:"20"}))},Ke=function(){return Ne(wp.element.createElement(te,{width:"20",height:"20"}))},Je=function(){return Ne(wp.element.createElement(oe,{width:"20",height:"20"}))},$e=function(){return Ne(wp.element.createElement(le,{width:"20",height:"20"}))},Ze=function(){return Ne(wp.element.createElement(ue,{width:"20",height:"20"}))},Qe=function(){return Ne(wp.element.createElement(ge,{width:"20",height:"20"}))},et=function(){return Ne(wp.element.createElement(fe,{width:"20",height:"20"}))},tt=function(){return Ne(wp.element.createElement(ye,{width:"20",height:"20"}))},nt=function(){return Ne(wp.element.createElement(ke,{width:"20",height:"20"}))},at=function(){return Ne(wp.element.createElement(Ce,{width:"20",height:"20"}))},ot=function(){return Ne(wp.element.createElement(Se,{width:"20",height:"20"}))}},function(e,t,n){"use strict";var a=n(3),o=n(0),i=n(7),r=n(8),l=n.n(r),c=n(1),s=n(6),u=n(34);function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){var t,n=e.className,a=void 0===n?"":n,o=e.align,i=void 0===o?"center":o,r=e.size,c=void 0===r?"normal":r,p=e.url,g=void 0===p?"":p,m=e.icon,d=void 0===m?null:m,f=e.color,h=e.text,v=e.backgroundColor,y=e.borderRadius,w=e.design,O=void 0===w?"basic":w,k=e.newTab,_=void 0!==k&&k,j={borderRadius:"link"===O?void 0:"plain"===O?void 0:y+"px",backgroundColor:v||void 0,borderColor:"ghost"===O?v:void 0,color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f};j.backgroundColor="ghost"===O?void 0:j.backgroundColor,j.backgroundColor="plain"===O?void 0:j.backgroundColor,j.backgroundColor="link"===O?void 0:j.backgroundColor;var C=l()([a,"ugb-button","ugb-button--align-".concat(i),"ugb-button--size-".concat(c)],(b(t={},"ugb-button--design-".concat(O),"basic"!==O),b(t,"ugb-button--has-icon",d),t));return wp.element.createElement("div",null,wp.element.createElement("a",{className:C,href:g,style:j,target:_?"_blank":void 0,rel:_?"noopener noreferrer":void 0},d&&"link"!==O&&wp.element.createElement(u.a.Content,{value:d,style:{color:"ghost"===O?v:"plain"===O?v:f}}),wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===O?"":"ugb-button--inner",style:{color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f},value:h})))},g=function(e){var t,n=e.className,a=void 0===n?"":n,o=e.align,i=void 0===o?"center":o,r=e.size,c=void 0===r?"normal":r,p=e.url,g=void 0===p?"":p,m=e.icon,d=void 0===m?null:m,f=e.color,h=e.text,v=e.backgroundColor,y=e.borderRadius,w=e.design,O=void 0===w?"basic":w,k=e.newTab,_=void 0!==k&&k,j={borderRadius:"link"===O?void 0:"plain"===O?void 0:y+"px",backgroundColor:v||void 0,borderColor:"ghost"===O?v:void 0,color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f};j.backgroundColor="ghost"===O?void 0:j.backgroundColor,j.backgroundColor="plain"===O?void 0:j.backgroundColor,j.backgroundColor="link"===O?void 0:j.backgroundColor;var C=l()([a,"ugb-button","ugb-button--align-".concat(i),"ugb-button--size-".concat(c)],(b(t={},"ugb-button--design-".concat(O),"basic"!==O),b(t,"ugb-button--has-icon",d),t));return wp.element.createElement("div",null,wp.element.createElement("a",{className:C,href:g,style:j,target:_?"_blank":void 0},d&&"link"!==O&&wp.element.createElement(u.a.Content,{value:d,style:{color:"ghost"===O?v:"plain"===O?v:f}}),wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===O?"":"ugb-button--inner",style:{color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f},value:h})))},m=function(e){var t,n=e.className,a=void 0===n?"":n,o=e.align,i=void 0===o?"center":o,r=e.size,c=void 0===r?"normal":r,p=e.url,g=void 0===p?"":p,m=e.icon,d=void 0===m?null:m,f=e.color,h=e.text,v=e.backgroundColor,y=e.borderRadius,w=e.design,O=void 0===w?"basic":w,k={borderRadius:"link"===O?void 0:"plain"===O?void 0:y+"px",backgroundColor:v||void 0,borderColor:"ghost"===O?v:void 0,color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f};k.backgroundColor="ghost"===O?void 0:k.backgroundColor,k.backgroundColor="plain"===O?void 0:k.backgroundColor,k.backgroundColor="link"===O?void 0:k.backgroundColor;var _=l()([a,"ugb-button","ugb-button-".concat(i),"ugb-button-".concat(c)],(b(t={},"ugb-".concat(O,"-button"),"basic"!==O),b(t,"ugb-has-icon",d),t));return wp.element.createElement("div",null,wp.element.createElement("a",{className:_,href:g,style:k},d&&"link"!==O&&wp.element.createElement(u.a,{value:d,style:{color:"ghost"===O?v:"plain"===O?v:f}}),wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===O?"":"ugb-button-inner",style:{color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f},value:h})))},d=m,f=function(e){var t,n=e.className,a=void 0===n?"":n,o=e.align,i=void 0===o?"center":o,r=e.size,c=void 0===r?"normal":r,p=e.url,g=void 0===p?"":p,m=e.icon,d=void 0===m?null:m,f=e.color,h=e.text,v=e.backgroundColor,y=e.borderRadius,w=e.design,O=void 0===w?"basic":w,k={borderRadius:y+"px",backgroundColor:v||void 0,borderColor:"ghost"===O?v:void 0};k.backgroundColor="ghost"===O?void 0:k.backgroundColor,k.backgroundColor="plain"===O?void 0:k.backgroundColor,k.backgroundColor="link"===O?void 0:k.backgroundColor;var _=l()([a,"ugb-button","ugb-button-".concat(i),"ugb-button-".concat(c)],(b(t={},"ugb-".concat(O,"-button"),"basic"!==O),b(t,"ugb-has-icon",d),t));return wp.element.createElement("div",{className:_,style:k},d&&"link"!==O&&wp.element.createElement(u.a,{value:d,style:{color:"ghost"===O?v:"plain"===O?v:f}}),wp.element.createElement(s.RichText.Content,{tagName:"a",className:"link"===O?"":"ugb-button-inner",href:g,style:{color:"ghost"===O?v:"plain"===O?v:"link"===O?void 0:f},value:h}))},h=function(e){var t=e.className,n=void 0===t?"":t,a=e.align,o=void 0===a?"center":a,i=e.size,r=void 0===i?"normal":i,c=e.url,u=void 0===c?"":c,b=e.color,p=e.text,g=e.backgroundColor,m={borderRadius:e.borderRadius+"px",backgroundColor:g||void 0},d=l()([n,"ugb-button","ugb-button-".concat(o),"ugb-button-".concat(r)]);return wp.element.createElement("div",{className:d,style:m},wp.element.createElement(s.RichText.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:b},value:p}))},v=function(e){var t=e.align,n=void 0===t?"center":t,a=e.size,o=void 0===a?"normal":a,i=e.url,r=void 0===i?"":i,l=e.color,c=e.text,u=e.backgroundColor,b={borderRadius:e.borderRadius+"px"};return u&&(b.backgroundColor=u),wp.element.createElement("div",{className:"ugb-button ugb-button-".concat(n," ugb-button-").concat(o),style:b},wp.element.createElement(s.RichText.Content,{tagName:"a",className:"ugb-button-inner",href:r,style:{color:l},value:c}))},y=n(10);function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(e){var t=e.setAttributes,n=function(t){return Object(y.camelCase)(Object(o.sprintf)(e.attrNameTemplate,t))},a=function(t){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.blockAttributes[n(t)];return 0===o?o:o||a};return wp.element.createElement(N,w({design:a("Design",e.designDefault),size:a("Size","normal"),text:a("Text",""),shadow:a("Shadow"),hoverEffect:a("HoverEffect"),ghostToNormalEffect:a("HoverGhostToNormal"),icon:a("Icon"),iconPosition:a("IconPosition"),onChange:function(e){return t(O({},n("Text"),e))},url:a("Url"),newTab:a("NewTab"),noFollow:a("NoFollow"),onChangeUrl:function(e){return t(O({},n("Url"),e))},onChangeNewTab:function(e){return t(O({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(O({},n("NoFollow"),e))},onChangeIcon:function(e){return t(O({},n("Icon"),e))},isSelected:e.isSelected},e))};k.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(k.Content=function(e){var t=function(t){return Object(y.camelCase)(Object(o.sprintf)(e.attrNameTemplate,t))},n=function(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.blockAttributes[t(n)];return 0===o?o:o||a};return wp.element.createElement(N.Content,w({design:n("Design",e.designDefault),size:n("Size","normal"),text:n("Text"),icon:n("Icon"),newTab:n("NewTab"),url:n("Url"),noFollow:n("NoFollow"),hoverEffect:n("HoverEffect"),ghostToNormalEffect:n("HoverGhostToNormal"),shadow:n("Shadow"),iconPosition:n("IconPosition")},e))}).defaultProps={attrNameTemplate:"%s",blockAttributes:{},designDefault:"basic"};var _=k;function j(e){return(j="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})(e)}function C(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"d",function(){return p}),n.d(t,"c",function(){return g}),n.d(t,"h",function(){return m}),n.d(t,"b",function(){return d}),n.d(t,"g",function(){return f}),n.d(t,"f",function(){return h}),n.d(t,"e",function(){return v}),n.d(t,"a",function(){return _});var T=1,A=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,a=x(t).apply(this,arguments),e=!a||"object"!==j(a)&&"function"!=typeof a?E(n):a,B(E(e),"hideUrlPopup",function(){document.body.removeEventListener("click",e.outsideClickHandler),e.setState({openPopup:!1})}),e.state={openPopup:!1},e.buttonInstanceId=T++,e.onButtonClickHandler=e.onButtonClickHandler.bind(E(e)),e.outsideClickHandler=e.outsideClickHandler.bind(E(e)),e.onKeyPressHandler=e.onKeyPressHandler.bind(E(e)),e}var n,r,u;return 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&&S(e,t)}(t,i["Component"]),n=t,(r=[{key:"onButtonClickHandler",value:function(e){if(this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button"));else if(e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-url-input-popover")||e.target.closest(".ugb-icon-popover")||e.target.closest(".components-popover"))return;this.state.openPopup||document.body.addEventListener("click",this.outsideClickHandler),this.setState({openPopup:!0})}},{key:"outsideClickHandler",value:function(e){e.target.closest(".ugb-button-container-".concat(this.buttonInstanceId))||e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")?this.props.iconButton&&e.target.closest(".ugb-svg-icon-placeholder__button")||e.target.closest(".ugb-svg-icon-placeholder__button")&&this.hideUrlPopup():this.hideUrlPopup()}},{key:"onKeyPressHandler",value:function(e){e.target.closest(".ugb-url-input-popover")||e.target.closest(".components-popover")||this.hideUrlPopup()}},{key:"render",value:function(){var e,t=this.props,n=t.iconButton,r=t.className,u=void 0===r?"":r,b=t.size,p=void 0===b?"normal":b,g=t.text,m=void 0===g?"":g,d=t.onChange,f=void 0===d?function(){}:d,h=t.design,v=void 0===h?"basic":h,y=t.shadow,w=void 0===y?0:y,O=t.iconPosition,k=void 0===O?"":O,_=t.hoverEffect,j=void 0===_?"":_,C=t.ghostToNormalEffect,x=void 0!==C&&C,E=t.url,S=void 0===E?"":E,T=t.newTab,A=void 0===T?"":T,N=t.noFollow,P=void 0===N?"":N,F=t.onChangeUrl,R=void 0===F?null:F,D=t.onChangeNewTab,M=void 0===D?null:D,z=t.onChangeNoFollow,I=void 0===z?null:z,L=t.onChangeIcon,U=void 0===L?null:L,H=t.icon,W=void 0===H?null:H,G=t.isSelected,q=void 0===G?null:G,V=l()([u,"ugb-button","ugb-button--size-".concat(p)],(B(e={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":x},"ugb--hover-effect-".concat(j),"link"!==v&&j),B(e,"ugb--shadow-".concat(w),"basic"===v&&w),B(e,"ugb-button--design-".concat(v),"basic"!==v),B(e,"ugb-button--has-icon",W),B(e,"ugb-button--icon-position-".concat(k),k),e)),X=(null===q||q)&&this.state.openPopup;return wp.element.createElement("div",{className:"ugb-button-container ugb-button-container-".concat(this.buttonInstanceId),onClick:this.onButtonClickHandler,onKeyPress:this.onKeyPressHandler,role:"button",tabIndex:"0"},wp.element.createElement("a",{className:V},W&&"link"!==v&&wp.element.createElement(i.Fragment,null,!U&&wp.element.createElement(a.ib,{value:W}),U&&wp.element.createElement(a.jb,{value:W,onChange:U,isOpen:n?X:null})),!n&&wp.element.createElement(s.RichText,{tagName:"span",className:"link"===v?"":"ugb-button--inner",placeholder:Object(o.__)("Button text",c.i18n),value:m,onChange:f,withoutInteractiveFormatting:!0,keepPlaceholderOnFocus:!0}),X&&wp.element.createElement(a.nb,{value:S,onChange:R,newTab:A,noFollow:P,onChangeNewTab:M,onChangeNoFollow:I,disableSuggestions:this.props.disableSuggestions})))}}])&&C(n.prototype,r),u&&C(n,u),t}();A.defaultProps={iconButton:!1,disableSuggestions:!1,className:"",size:"normal",text:"",onChange:function(){},design:"basic",shadow:0,iconPosition:"",hoverEffect:"",ghostToNormalEffect:!1,url:"",newTab:"",noFollow:"",onChangeUrl:null,onChangeNewTab:null,onChangeNoFollow:null,onChangeIcon:null,icon:null,isSelected:null},A.Content=function(e){var t,n=e.iconButton,o=e.className,i=void 0===o?"":o,r=e.size,c=void 0===r?"normal":r,u=e.url,b=void 0===u?"":u,p=e.icon,g=void 0===p?null:p,m=e.text,d=void 0===m?"":m,f=e.design,h=void 0===f?"basic":f,v=e.newTab,y=void 0!==v&&v,w=e.shadow,O=void 0===w?0:w,k=e.iconPosition,_=void 0!==k&&k,j=e.hoverEffect,C=void 0===j?"":j,x=e.noFollow,E=void 0!==x&&x,S=e.ghostToNormalEffect,T=void 0!==S&&S,A=e.target,N=void 0===A?"":A,P=l()([i,"ugb-button","ugb-button--size-".concat(c)],(B(t={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":T},"ugb--hover-effect-".concat(C),"link"!==h&&C),B(t,"ugb--shadow-".concat(O),"basic"===h&&O),B(t,"ugb-button--design-".concat(h),"basic"!==h),B(t,"ugb-button--has-icon",g),B(t,"ugb-button--icon-position-".concat(_),_),t)),F=[];return y&&(F.push("noopener"),F.push("noreferrer")),E&&F.push("nofollow"),wp.element.createElement("div",{className:"ugb-button-container"},(d||n)&&wp.element.createElement("a",{className:P,href:b,target:N||y?N||"_blank":void 0,rel:e.rel||F.join(" ")},g&&"link"!==h&&wp.element.createElement(a.ib.Content,{value:g}),!n&&wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===h?"":"ugb-button--inner",value:d})))};var N=t.i=A},,function(e,t){e.exports=wp.blocks},,,,,,,,,,function(e,t){e.exports=wp.apiFetch},,,function(e,t,n){"use strict";n.d(t,"b",function(){return m});var a=n(0),o=n(9),i=n(12),r=n(25),l=n(26),c=n(27),s=n(23),u=n(1),b=n(10),p=n(3);function g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var m=function(e){return"string"!=typeof e?null:e.match(/\w*-/)?[e.match(/\w*/),e.match(/\w+-(.*)$/)[1]]:null},d=Object(i.withInstanceId)(Object(i.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,i=e.clickedOnButton,d=e.setState,f=m(e.value),h=function(e){var t=m(e);if(!t)return!1;var n=e.match(/^\w*/)[0];if(!["fab","far","fas"].includes(n))return!1;var a={fab:r.a,far:l.a,fas:c.a};return Object.values(a[n]).filter(function(e){return e.iconName===t[1]}).length>0}(e.value);return wp.element.createElement(o.BaseControl,g({className:"ugb-icon-control ugb-icon-control-".concat(t)},Object(b.omit)(e,["onChange","value"])),wp.element.createElement("div",{className:"ugb-icon-control__wrapper"},wp.element.createElement("div",{className:"ugb-icon-control__button-wrapper"},wp.element.createElement(o.Button,{isDefault:!0,className:"ugb-icon-control__icon-button",onClick:function(){d(i?{openPopover:!1,clickedOnButton:!1}:{openPopover:!0})}},h&&wp.element.createElement(s.a,{icon:f}),!h&&wp.element.createElement(s.a,{icon:["far","smile"],style:{opacity:.3}})),n&&wp.element.createElement(p.I,{onClickOutside:function(e){e.target&&e.target.closest(".ugb-icon-control-".concat(t))?d({clickedOnButton:!0}):d({openPopover:!1,clickedOnButton:!1})},onClose:function(){return d({openPopover:!1})},onChange:e.onChange})),wp.element.createElement(o.Button,{onClick:function(){e.onChange(""),d({openPopover:!1})},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(a.__)("Reset",u.i18n))))}));d.defaultProps={label:Object(a.__)("Icon",u.i18n),value:"",onChange:function(){}},t.a=d},function(e,t){e.exports=wp.editPost},,function(e,t,n){"use strict";n.d(t,"a",function(){return s});var a=n(31),o=n(25),i=n(26),r=n(27),l=n(23);function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}n(20).c.add(o.a,i.a,r.a);var s=function(e){var t=e.value,n=e.color,o=e.style,i=void 0===o?{}:o,r=e.className,c=void 0===r?"":r,s=Object(a.b)(t);return s&&wp.element.createElement(l.a,{color:n,style:i,icon:s,className:c})};s.Content=function(e){var t=e.value,n=Object(a.b)(t);return n&&wp.element.createElement(l.a,c({focusable:void 0,icon:n},e))}},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return c});var a=function(e){var t=o(e);if(t){var n=i(t);r(n),l(t)}return t},o=function(e){return document.querySelector(".ugb-panel--".concat(e))},i=function(e){var t=e.closest(".ugb-inspector-panel-controls");if(!t)return null;var n=t.getAttribute("class").match(/ugb-panel-(\w+)/);if(n){var a=n[1];return document.querySelector(".ugb-tab--".concat(a))}return null},r=function(e){e&&(e.classList.contains("is-active")||e.click())},l=function(e){if(e){if(!e.classList.contains("is-opened")){var t=e.querySelector("button");t&&t.click()}c(e)}},c=function(e){var t=document.querySelector(".ugb-panel-tabs"),n=document.querySelector(".edit-post-sidebar-header"),a=document.querySelector(".edit-post-sidebar");document.querySelector(".edit-post-sidebar").scrollTop=document.querySelector(".edit-post-sidebar").scrollTop+(e.getBoundingClientRect().top-(n?n.getBoundingClientRect().bottom-2:a.getBoundingClientRect().top)-(t?t.getBoundingClientRect().height:0))}},function(e,t){e.exports=wp.richText},,,,,function(e,t){e.exports=wp.codeEditor},function(e,t){e.exports=wp.plugins},function(e,t){e.exports="dist/videos/help/alignment-image.mp4"},function(e,t){e.exports="dist/videos/help/spacing-image.mp4"},,,,,,,,function(e,t){e.exports="dist/videos/help/typography-family.mp4"},function(e,t){e.exports="dist/videos/help/alignment-title.mp4"},function(e,t){e.exports="dist/videos/help/spacing-title.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-margins.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-paddings.mp4"},function(e,t){e.exports="dist/videos/help/accordion-border-size.mp4"},,function(e,t){e.exports=wp.date},,,,,,,,,,,,,,,function(e,t){e.exports="dist/images/components-image-shape-control-default.f59a6f2.png"},function(e,t){e.exports="dist/images/components-image-shape-control-square.54ea536.png"},function(e,t){e.exports="dist/images/components-image-shape-control-circle.9bd9f74.png"},function(e,t){e.exports="dist/images/components-image-shape-control-blob1.8e07b2a.png"},,function(e){e.exports=JSON.parse('[{"family":"ABeeZee","variants":["regular","italic"],"subsets":["latin"]},{"family":"Abel","variants":["regular"],"subsets":["latin"]},{"family":"Abhaya Libre","variants":["regular","500","600","700","800"],"subsets":["sinhala","latin","latin-ext"]},{"family":"Abril Fatface","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aclonica","variants":["regular"],"subsets":["latin"]},{"family":"Acme","variants":["regular"],"subsets":["latin"]},{"family":"Actor","variants":["regular"],"subsets":["latin"]},{"family":"Adamina","variants":["regular"],"subsets":["latin"]},{"family":"Advent Pro","variants":["100","200","300","regular","500","600","700"],"subsets":["greek","latin","latin-ext"]},{"family":"Aguafina Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Akronim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Aladin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alata","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Alatsi","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Aldrich","variants":["regular"],"subsets":["latin"]},{"family":"Alef","variants":["regular","700"],"subsets":["latin","hebrew"]},{"family":"Alegreya","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Alegreya SC","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Alegreya Sans","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Alegreya Sans SC","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Aleo","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Alex Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Alfa Slab One","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Alice","variants":["regular"],"subsets":["latin","cyrillic","cyrillic-ext"]},{"family":"Alike","variants":["regular"],"subsets":["latin"]},{"family":"Alike Angular","variants":["regular"],"subsets":["latin"]},{"family":"Allan","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Allerta","variants":["regular"],"subsets":["latin"]},{"family":"Allerta Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Allura","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almarai","variants":["300","regular","700","800"],"subsets":["arabic"]},{"family":"Almendra","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Almendra Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Almendra SC","variants":["regular"],"subsets":["latin"]},{"family":"Amarante","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Amaranth","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Amatic SC","variants":["regular","700"],"subsets":["latin","cyrillic","vietnamese","hebrew","latin-ext"]},{"family":"Amethysta","variants":["regular"],"subsets":["latin"]},{"family":"Amiko","variants":["regular","600","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Amiri","variants":["regular","italic","700","700italic"],"subsets":["arabic","latin","latin-ext"]},{"family":"Amita","variants":["regular","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Anaheim","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andada","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Andika","variants":["regular"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Angkor","variants":["regular"],"subsets":["khmer"]},{"family":"Annie Use Your Telescope","variants":["regular"],"subsets":["latin"]},{"family":"Anonymous Pro","variants":["regular","italic","700","700italic"],"subsets":["greek","latin","cyrillic","latin-ext"]},{"family":"Antic","variants":["regular"],"subsets":["latin"]},{"family":"Antic Didone","variants":["regular"],"subsets":["latin"]},{"family":"Antic Slab","variants":["regular"],"subsets":["latin"]},{"family":"Anton","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Arapey","variants":["regular","italic"],"subsets":["latin"]},{"family":"Arbutus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arbutus Slab","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Architects Daughter","variants":["regular"],"subsets":["latin"]},{"family":"Archivo","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Archivo Black","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Archivo Narrow","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Aref Ruqaa","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","vietnamese","latin-ext","tamil"]},{"family":"Arimo","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","hebrew","latin-ext"]},{"family":"Arizonia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Armata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Arsenal","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Artifika","variants":["regular"],"subsets":["latin"]},{"family":"Arvo","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Arya","variants":["regular","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Asap","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Asap Condensed","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Asar","variants":["regular"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Asset","variants":["regular"],"subsets":["latin"]},{"family":"Assistant","variants":["200","300","regular","600","700","800"],"subsets":["latin","hebrew"]},{"family":"Astloch","variants":["regular","700"],"subsets":["latin"]},{"family":"Asul","variants":["regular","700"],"subsets":["latin"]},{"family":"Athiti","variants":["200","300","regular","500","600","700"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Atma","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","bengali"]},{"family":"Atomic Age","variants":["regular"],"subsets":["latin"]},{"family":"Aubrey","variants":["regular"],"subsets":["latin"]},{"family":"Audiowide","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Autour One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Average Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Gruesa Libre","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Averia Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Sans Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Averia Serif Libre","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"B612 Mono","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Bad Script","variants":["regular"],"subsets":["latin","cyrillic"]},{"family":"Bahiana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bahianita","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Bai Jamjuree","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Baloo","variants":["regular"],"subsets":["latin","devanagari","vietnamese","latin-ext"]},{"family":"Baloo Bhai","variants":["regular"],"subsets":["gujarati","latin","vietnamese","latin-ext"]},{"family":"Baloo Bhaijaan","variants":["regular"],"subsets":["arabic","latin","vietnamese","latin-ext"]},{"family":"Baloo Bhaina","variants":["regular"],"subsets":["latin","vietnamese","oriya","latin-ext"]},{"family":"Baloo Chettan","variants":["regular"],"subsets":["latin","vietnamese","malayalam","latin-ext"]},{"family":"Baloo Da","variants":["regular"],"subsets":["latin","vietnamese","latin-ext","bengali"]},{"family":"Baloo Paaji","variants":["regular"],"subsets":["latin","gurmukhi","vietnamese","latin-ext"]},{"family":"Baloo Tamma","variants":["regular"],"subsets":["latin","vietnamese","latin-ext","kannada"]},{"family":"Baloo Tammudu","variants":["regular"],"subsets":["telugu","latin","vietnamese","latin-ext"]},{"family":"Baloo Thambi","variants":["regular"],"subsets":["latin","vietnamese","latin-ext","tamil"]},{"family":"Balthazar","variants":["regular"],"subsets":["latin"]},{"family":"Bangers","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Barlow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Barlow Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Barlow Semi Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Barriecito","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Barrio","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Basic","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Baskervville","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Battambang","variants":["regular","700"],"subsets":["khmer"]},{"family":"Baumans","variants":["regular"],"subsets":["latin"]},{"family":"Bayon","variants":["regular"],"subsets":["khmer"]},{"family":"Be Vietnam","variants":["100","100italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Bebas Neue","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Belgrano","variants":["regular"],"subsets":["latin"]},{"family":"Bellefair","variants":["regular"],"subsets":["latin","hebrew","latin-ext"]},{"family":"Belleza","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"BenchNine","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bentham","variants":["regular"],"subsets":["latin"]},{"family":"Berkshire Swash","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Beth Ellen","variants":["regular"],"subsets":["latin"]},{"family":"Bevan","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Big Shoulders Display","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Big Shoulders Text","variants":["100","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Bigelow Rules","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bigshot One","variants":["regular"],"subsets":["latin"]},{"family":"Bilbo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bilbo Swash Caps","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"BioRhyme Expanded","variants":["200","300","regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Biryani","variants":["200","300","regular","600","700","800","900"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Bitter","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Black And White Picture","variants":["regular"],"subsets":["latin","korean"]},{"family":"Black Han Sans","variants":["regular"],"subsets":["latin","korean"]},{"family":"Black Ops One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Blinker","variants":["100","200","300","regular","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Bokor","variants":["regular"],"subsets":["khmer"]},{"family":"Bonbon","variants":["regular"],"subsets":["latin"]},{"family":"Boogaloo","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One","variants":["regular"],"subsets":["latin"]},{"family":"Bowlby One SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Brawler","variants":["regular"],"subsets":["latin"]},{"family":"Bree Serif","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubblegum Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Bubbler One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Buda","variants":["300"],"subsets":["latin"]},{"family":"Buenard","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Bungee","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Bungee Hairline","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Bungee Inline","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Bungee Outline","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Bungee Shade","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Butcherman","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Butterfly Kids","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cabin","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Cabin Condensed","variants":["regular","500","600","700"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Cabin Sketch","variants":["regular","700"],"subsets":["latin"]},{"family":"Caesar Dressing","variants":["regular"],"subsets":["latin"]},{"family":"Cagliostro","variants":["regular"],"subsets":["latin"]},{"family":"Cairo","variants":["200","300","regular","600","700","900"],"subsets":["arabic","latin","latin-ext"]},{"family":"Caladea","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Calistoga","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Calligraffitti","variants":["regular"],"subsets":["latin"]},{"family":"Cambay","variants":["regular","italic","700","700italic"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Cambo","variants":["regular"],"subsets":["latin"]},{"family":"Candal","variants":["regular"],"subsets":["latin"]},{"family":"Cantarell","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Cantata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cantora One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Capriola","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cardo","variants":["regular","italic","700"],"subsets":["greek-ext","greek","latin","latin-ext"]},{"family":"Carme","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic","variants":["regular"],"subsets":["latin"]},{"family":"Carrois Gothic SC","variants":["regular"],"subsets":["latin"]},{"family":"Carter One","variants":["regular"],"subsets":["latin"]},{"family":"Catamaran","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext","tamil"]},{"family":"Caudex","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","greek","latin","latin-ext"]},{"family":"Caveat","variants":["regular","700"],"subsets":["latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Caveat Brush","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cedarville Cursive","variants":["regular"],"subsets":["latin"]},{"family":"Ceviche One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chakra Petch","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Changa","variants":["200","300","regular","500","600","700","800"],"subsets":["arabic","latin","latin-ext"]},{"family":"Changa One","variants":["regular","italic"],"subsets":["latin"]},{"family":"Chango","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Charm","variants":["regular","700"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Charmonman","variants":["regular","700"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Chathura","variants":["100","300","regular","700","800"],"subsets":["telugu","latin"]},{"family":"Chau Philomene One","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Chela One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chelsea Market","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chenla","variants":["regular"],"subsets":["khmer"]},{"family":"Cherry Cream Soda","variants":["regular"],"subsets":["latin"]},{"family":"Cherry Swash","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Chewy","variants":["regular"],"subsets":["latin"]},{"family":"Chicle","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Chilanka","variants":["regular"],"subsets":["latin","malayalam"]},{"family":"Chivo","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Chonburi","variants":["regular"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Cinzel","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Cinzel Decorative","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Clicker Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Coda","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Coda Caption","variants":["800"],"subsets":["latin","latin-ext"]},{"family":"Codystar","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Coiny","variants":["regular"],"subsets":["latin","vietnamese","latin-ext","tamil"]},{"family":"Combo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Comfortaa","variants":["300","regular","500","600","700"],"subsets":["greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Coming Soon","variants":["regular"],"subsets":["latin"]},{"family":"Concert One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Condiment","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Content","variants":["regular","700"],"subsets":["khmer"]},{"family":"Contrail One","variants":["regular"],"subsets":["latin"]},{"family":"Convergence","variants":["regular"],"subsets":["latin"]},{"family":"Cookie","variants":["regular"],"subsets":["latin"]},{"family":"Copse","variants":["regular"],"subsets":["latin"]},{"family":"Corben","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Cormorant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Cormorant Garamond","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Cormorant Infant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Cormorant SC","variants":["300","regular","500","600","700"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Cormorant Unicase","variants":["300","regular","500","600","700"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Cormorant Upright","variants":["300","regular","500","600","700"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Courgette","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Courier Prime","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Cousine","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","hebrew","latin-ext"]},{"family":"Coustard","variants":["regular","900"],"subsets":["latin"]},{"family":"Covered By Your Grace","variants":["regular"],"subsets":["latin"]},{"family":"Crafty Girls","variants":["regular"],"subsets":["latin"]},{"family":"Creepster","variants":["regular"],"subsets":["latin"]},{"family":"Crete Round","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Crimson Pro","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Crimson Text","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Croissant One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Crushed","variants":["regular"],"subsets":["latin"]},{"family":"Cuprum","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Cute Font","variants":["regular"],"subsets":["latin","korean"]},{"family":"Cutive","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Cutive Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"DM Sans","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Display","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"DM Serif Text","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Damion","variants":["regular"],"subsets":["latin"]},{"family":"Dancing Script","variants":["regular","500","600","700"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Dangrek","variants":["regular"],"subsets":["khmer"]},{"family":"Darker Grotesque","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"David Libre","variants":["regular","500","700"],"subsets":["latin","vietnamese","hebrew","latin-ext"]},{"family":"Dawning of a New Day","variants":["regular"],"subsets":["latin"]},{"family":"Days One","variants":["regular"],"subsets":["latin"]},{"family":"Dekko","variants":["regular"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Delius","variants":["regular"],"subsets":["latin"]},{"family":"Delius Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Delius Unicase","variants":["regular","700"],"subsets":["latin"]},{"family":"Della Respira","variants":["regular"],"subsets":["latin"]},{"family":"Denk One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Devonshire","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dhurjati","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Didact Gothic","variants":["regular"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Diplomata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Diplomata SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Do Hyeon","variants":["regular"],"subsets":["latin","korean"]},{"family":"Dokdo","variants":["regular"],"subsets":["latin","korean"]},{"family":"Domine","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Donegal One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Doppio One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dorsa","variants":["regular"],"subsets":["latin"]},{"family":"Dosis","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Dr Sugiyama","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Duru Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Dynalight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"EB Garamond","variants":["regular","500","600","700","800","italic","500italic","600italic","700italic","800italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Eagle Lake","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"East Sea Dokdo","variants":["regular"],"subsets":["latin","korean"]},{"family":"Eater","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Economica","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Eczar","variants":["regular","500","600","700","800"],"subsets":["latin","devanagari","latin-ext"]},{"family":"El Messiri","variants":["regular","500","600","700"],"subsets":["arabic","latin","cyrillic"]},{"family":"Electrolize","variants":["regular"],"subsets":["latin"]},{"family":"Elsie","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Elsie Swash Caps","variants":["regular","900"],"subsets":["latin","latin-ext"]},{"family":"Emblema One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Emilys Candy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Encode Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Encode Sans Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Encode Sans Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Encode Sans Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Encode Sans Semi Expanded","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Engagement","variants":["regular"],"subsets":["latin"]},{"family":"Englebert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Enriqueta","variants":["regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Erica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Esteban","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Euphoria Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ewert","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Exo","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Exo 2","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Expletus Sans","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Fahkwang","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Fanwood Text","variants":["regular","italic"],"subsets":["latin"]},{"family":"Farro","variants":["300","regular","500","700"],"subsets":["latin","latin-ext"]},{"family":"Farsan","variants":["regular"],"subsets":["gujarati","latin","vietnamese","latin-ext"]},{"family":"Fascinate","variants":["regular"],"subsets":["latin"]},{"family":"Fascinate Inline","variants":["regular"],"subsets":["latin"]},{"family":"Faster One","variants":["regular"],"subsets":["latin"]},{"family":"Fasthand","variants":["regular"],"subsets":["khmer"]},{"family":"Fauna One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Faustina","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Federant","variants":["regular"],"subsets":["latin"]},{"family":"Federo","variants":["regular"],"subsets":["latin"]},{"family":"Felipa","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fenix","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Finger Paint","variants":["regular"],"subsets":["latin"]},{"family":"Fira Code","variants":["300","regular","500","600","700"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Fira Mono","variants":["regular","500","700"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Fira Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Fira Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Fira Sans Extra Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Fjalla One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fjord One","variants":["regular"],"subsets":["latin"]},{"family":"Flamenco","variants":["300","regular"],"subsets":["latin"]},{"family":"Flavors","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fondamento","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Fontdiner Swanky","variants":["regular"],"subsets":["latin"]},{"family":"Forum","variants":["regular"],"subsets":["latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Francois One","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Frank Ruhl Libre","variants":["300","regular","500","700","900"],"subsets":["latin","hebrew","latin-ext"]},{"family":"Freckle Face","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredericka the Great","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fredoka One","variants":["regular"],"subsets":["latin"]},{"family":"Freehand","variants":["regular"],"subsets":["khmer"]},{"family":"Fresca","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Frijole","variants":["regular"],"subsets":["latin"]},{"family":"Fruktur","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Fugaz One","variants":["regular"],"subsets":["latin"]},{"family":"GFS Didot","variants":["regular"],"subsets":["greek"]},{"family":"GFS Neohellenic","variants":["regular","italic","700","700italic"],"subsets":["greek"]},{"family":"Gabriela","variants":["regular"],"subsets":["latin","cyrillic","cyrillic-ext"]},{"family":"Gaegu","variants":["300","regular","700"],"subsets":["latin","korean"]},{"family":"Gafata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Galada","variants":["regular"],"subsets":["latin","bengali"]},{"family":"Galdeano","variants":["regular"],"subsets":["latin"]},{"family":"Galindo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gamja Flower","variants":["regular"],"subsets":["latin","korean"]},{"family":"Gayathri","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Gelasio","variants":["regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Gentium Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Gentium Book Basic","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Geo","variants":["regular","italic"],"subsets":["latin"]},{"family":"Geostar","variants":["regular"],"subsets":["latin"]},{"family":"Geostar Fill","variants":["regular"],"subsets":["latin"]},{"family":"Germania One","variants":["regular"],"subsets":["latin"]},{"family":"Gidugu","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Gilda Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Girassol","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Give You Glory","variants":["regular"],"subsets":["latin"]},{"family":"Glass Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Glegoo","variants":["regular","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Gloria Hallelujah","variants":["regular"],"subsets":["latin"]},{"family":"Goblin One","variants":["regular"],"subsets":["latin"]},{"family":"Gochi Hand","variants":["regular"],"subsets":["latin"]},{"family":"Gorditas","variants":["regular","700"],"subsets":["latin"]},{"family":"Gothic A1","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","korean"]},{"family":"Goudy Bookletter 1911","variants":["regular"],"subsets":["latin"]},{"family":"Graduate","variants":["regular"],"subsets":["latin"]},{"family":"Grand Hotel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gravitas One","variants":["regular"],"subsets":["latin"]},{"family":"Great Vibes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Grenze","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Griffy","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gruppo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Gudea","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Gugi","variants":["regular"],"subsets":["latin","korean"]},{"family":"Gupter","variants":["regular","500","700"],"subsets":["latin"]},{"family":"Gurajada","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Habibi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Halant","variants":["300","regular","500","600","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Hammersmith One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hanalei Fill","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Handlee","variants":["regular"],"subsets":["latin"]},{"family":"Hanuman","variants":["regular","700"],"subsets":["khmer"]},{"family":"Happy Monkey","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Harmattan","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Headland One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Heebo","variants":["100","300","regular","500","700","800","900"],"subsets":["latin","hebrew"]},{"family":"Henny Penny","variants":["regular"],"subsets":["latin"]},{"family":"Hepta Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Herr Von Muellerhoff","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Hi Melody","variants":["regular"],"subsets":["latin","korean"]},{"family":"Hind","variants":["300","regular","500","600","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Hind Guntur","variants":["300","regular","500","600","700"],"subsets":["telugu","latin","latin-ext"]},{"family":"Hind Madurai","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","tamil"]},{"family":"Hind Siliguri","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext","bengali"]},{"family":"Hind Vadodara","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Holtwood One SC","variants":["regular"],"subsets":["latin"]},{"family":"Homemade Apple","variants":["regular"],"subsets":["latin"]},{"family":"Homenaje","variants":["regular"],"subsets":["latin"]},{"family":"IBM Plex Mono","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"IBM Plex Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"IBM Plex Sans Condensed","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"IBM Plex Serif","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"IM Fell DW Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell DW Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Double Pica","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Double Pica SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell English","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell English SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell French Canon","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell French Canon SC","variants":["regular"],"subsets":["latin"]},{"family":"IM Fell Great Primer","variants":["regular","italic"],"subsets":["latin"]},{"family":"IM Fell Great Primer SC","variants":["regular"],"subsets":["latin"]},{"family":"Ibarra Real Nova","variants":["regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Iceberg","variants":["regular"],"subsets":["latin"]},{"family":"Iceland","variants":["regular"],"subsets":["latin"]},{"family":"Imprima","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Inconsolata","variants":["regular","700"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Inder","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Indie Flower","variants":["regular"],"subsets":["latin"]},{"family":"Inika","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Inknut Antiqua","variants":["300","regular","500","600","700","800","900"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Inria Serif","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Irish Grover","variants":["regular"],"subsets":["latin"]},{"family":"Istok Web","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Italiana","variants":["regular"],"subsets":["latin"]},{"family":"Italianno","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Itim","variants":["regular"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Jacques Francois","variants":["regular"],"subsets":["latin"]},{"family":"Jacques Francois Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Jaldi","variants":["regular","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Jim Nightshade","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jockey One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jolly Lodger","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jomhuria","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Jomolhari","variants":["regular"],"subsets":["tibetan","latin"]},{"family":"Josefin Sans","variants":["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Josefin Slab","variants":["100","100italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin"]},{"family":"Joti One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Jua","variants":["regular"],"subsets":["latin","korean"]},{"family":"Judson","variants":["regular","italic","700"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Julee","variants":["regular"],"subsets":["latin"]},{"family":"Julius Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Junge","variants":["regular"],"subsets":["latin"]},{"family":"Jura","variants":["300","regular","500","600","700"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Just Another Hand","variants":["regular"],"subsets":["latin"]},{"family":"Just Me Again Down Here","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"K2D","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Kadwa","variants":["regular","700"],"subsets":["latin","devanagari"]},{"family":"Kalam","variants":["300","regular","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Kameron","variants":["regular","700"],"subsets":["latin"]},{"family":"Kanit","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Kantumruy","variants":["300","regular","700"],"subsets":["khmer"]},{"family":"Karla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Karma","variants":["300","regular","500","600","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Katibeh","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Kaushan Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kavivanar","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Kavoon","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kdam Thmor","variants":["regular"],"subsets":["khmer"]},{"family":"Keania One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kelly Slab","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Kenia","variants":["regular"],"subsets":["latin"]},{"family":"Khand","variants":["300","regular","500","600","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Khmer","variants":["regular"],"subsets":["khmer"]},{"family":"Khula","variants":["300","regular","600","700","800"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Kirang Haerang","variants":["regular"],"subsets":["latin","korean"]},{"family":"Kite One","variants":["regular"],"subsets":["latin"]},{"family":"Knewave","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"KoHo","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Kodchasan","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Kosugi","variants":["regular"],"subsets":["japanese","latin","cyrillic"]},{"family":"Kosugi Maru","variants":["regular"],"subsets":["japanese","latin","cyrillic"]},{"family":"Kotta One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Koulen","variants":["regular"],"subsets":["khmer"]},{"family":"Kranky","variants":["regular"],"subsets":["latin"]},{"family":"Kreon","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"Kristi","variants":["regular"],"subsets":["latin"]},{"family":"Krona One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Krub","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Kulim Park","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Kumar One","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kumar One Outline","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Kurale","variants":["regular"],"subsets":["latin","cyrillic","cyrillic-ext","devanagari","latin-ext"]},{"family":"La Belle Aurore","variants":["regular"],"subsets":["latin"]},{"family":"Lacquer","variants":["regular"],"subsets":["latin"]},{"family":"Laila","variants":["300","regular","500","600","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Lakki Reddy","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Lalezar","variants":["regular"],"subsets":["arabic","latin","vietnamese","latin-ext"]},{"family":"Lancelot","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lateef","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Lato","variants":["100","100italic","300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"League Script","variants":["regular"],"subsets":["latin"]},{"family":"Leckerli One","variants":["regular"],"subsets":["latin"]},{"family":"Ledger","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Lekton","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Lemon","variants":["regular"],"subsets":["latin"]},{"family":"Lemonada","variants":["300","regular","500","600","700"],"subsets":["arabic","latin","vietnamese","latin-ext"]},{"family":"Lexend Deca","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Lexend Exa","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Lexend Giga","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Lexend Mega","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Lexend Peta","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Lexend Tera","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Lexend Zetta","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Libre Barcode 128","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 128 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Extended Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Barcode 39 Text","variants":["regular"],"subsets":["latin"]},{"family":"Libre Baskerville","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Display","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Libre Caslon Text","variants":["regular","italic","700"],"subsets":["latin","latin-ext"]},{"family":"Libre Franklin","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Life Savers","variants":["regular","700","800"],"subsets":["latin","latin-ext"]},{"family":"Lilita One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lily Script One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Limelight","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Linden Hill","variants":["regular","italic"],"subsets":["latin"]},{"family":"Literata","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["greek-ext","greek","latin","cyrillic","vietnamese","latin-ext"]},{"family":"Liu Jian Mao Cao","variants":["regular"],"subsets":["latin","chinese-simplified"]},{"family":"Livvic","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Lobster","variants":["regular"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Lobster Two","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Londrina Outline","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Sketch","variants":["regular"],"subsets":["latin"]},{"family":"Londrina Solid","variants":["100","300","regular","900"],"subsets":["latin"]},{"family":"Long Cang","variants":["regular"],"subsets":["latin","chinese-simplified"]},{"family":"Lora","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Love Ya Like A Sister","variants":["regular"],"subsets":["latin"]},{"family":"Loved by the King","variants":["regular"],"subsets":["latin"]},{"family":"Lovers Quarrel","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Luckiest Guy","variants":["regular"],"subsets":["latin"]},{"family":"Lusitana","variants":["regular","700"],"subsets":["latin"]},{"family":"Lustria","variants":["regular"],"subsets":["latin"]},{"family":"M PLUS 1p","variants":["100","300","regular","500","700","800","900"],"subsets":["japanese","greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","hebrew","latin-ext"]},{"family":"M PLUS Rounded 1c","variants":["100","300","regular","500","700","800","900"],"subsets":["japanese","greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","hebrew","latin-ext"]},{"family":"Ma Shan Zheng","variants":["regular"],"subsets":["latin","chinese-simplified"]},{"family":"Macondo","variants":["regular"],"subsets":["latin"]},{"family":"Macondo Swash Caps","variants":["regular"],"subsets":["latin"]},{"family":"Mada","variants":["200","300","regular","500","600","700","900"],"subsets":["arabic","latin"]},{"family":"Magra","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Maiden Orange","variants":["regular"],"subsets":["latin"]},{"family":"Maitree","variants":["200","300","regular","500","600","700"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Major Mono Display","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Mako","variants":["regular"],"subsets":["latin"]},{"family":"Mali","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Mallanna","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Mandali","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Manjari","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Mansalva","variants":["regular"],"subsets":["latin"]},{"family":"Manuale","variants":["regular","500","600","700","italic","500italic","600italic","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Marcellus","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marcellus SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Marck Script","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Margarine","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Markazi Text","variants":["regular","500","600","700"],"subsets":["arabic","latin","vietnamese","latin-ext"]},{"family":"Marko One","variants":["regular"],"subsets":["latin"]},{"family":"Marmelad","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Martel","variants":["200","300","regular","600","700","800","900"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Martel Sans","variants":["200","300","regular","600","700","800","900"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Marvel","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Mate","variants":["regular","italic"],"subsets":["latin"]},{"family":"Mate SC","variants":["regular"],"subsets":["latin"]},{"family":"Maven Pro","variants":["regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"McLaren","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Meddon","variants":["regular"],"subsets":["latin"]},{"family":"MedievalSharp","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Medula One","variants":["regular"],"subsets":["latin"]},{"family":"Meera Inimai","variants":["regular"],"subsets":["latin","tamil"]},{"family":"Megrim","variants":["regular"],"subsets":["latin"]},{"family":"Meie Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Merienda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Merienda One","variants":["regular"],"subsets":["latin"]},{"family":"Merriweather","variants":["300","300italic","regular","italic","700","700italic","900","900italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Merriweather Sans","variants":["300","300italic","regular","italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Metal","variants":["regular"],"subsets":["khmer"]},{"family":"Metal Mania","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metamorphous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Metrophobic","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Michroma","variants":["regular"],"subsets":["latin"]},{"family":"Milonga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Miltonian","variants":["regular"],"subsets":["latin"]},{"family":"Miltonian Tattoo","variants":["regular"],"subsets":["latin"]},{"family":"Mina","variants":["regular","700"],"subsets":["latin","latin-ext","bengali"]},{"family":"Miniver","variants":["regular"],"subsets":["latin"]},{"family":"Miriam Libre","variants":["regular","700"],"subsets":["latin","hebrew","latin-ext"]},{"family":"Mirza","variants":["regular","500","600","700"],"subsets":["arabic","latin","latin-ext"]},{"family":"Miss Fajardose","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mitr","variants":["200","300","regular","500","600","700"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Modak","variants":["regular"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Modern Antiqua","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mogra","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Molengo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Molle","variants":["italic"],"subsets":["latin","latin-ext"]},{"family":"Monda","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Monofett","variants":["regular"],"subsets":["latin"]},{"family":"Monoton","variants":["regular"],"subsets":["latin"]},{"family":"Monsieur La Doulaise","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Montaga","variants":["regular"],"subsets":["latin"]},{"family":"Montez","variants":["regular"],"subsets":["latin"]},{"family":"Montserrat","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Montserrat Alternates","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Montserrat Subrayada","variants":["regular","700"],"subsets":["latin"]},{"family":"Moul","variants":["regular"],"subsets":["khmer"]},{"family":"Moulpali","variants":["regular"],"subsets":["khmer"]},{"family":"Mountains of Christmas","variants":["regular","700"],"subsets":["latin"]},{"family":"Mouse Memoirs","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Bedfort","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr Dafoe","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mr De Haviland","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Saint Delafield","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mrs Sheppards","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mukta","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Mukta Mahee","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","gurmukhi","latin-ext"]},{"family":"Mukta Malar","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext","tamil"]},{"family":"Mukta Vaani","variants":["200","300","regular","500","600","700","800"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Muli","variants":["200","300","regular","500","600","700","800","900","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Mystery Quest","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"NTR","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Nanum Brush Script","variants":["regular"],"subsets":["latin","korean"]},{"family":"Nanum Gothic","variants":["regular","700","800"],"subsets":["latin","korean"]},{"family":"Nanum Gothic Coding","variants":["regular","700"],"subsets":["latin","korean"]},{"family":"Nanum Myeongjo","variants":["regular","700","800"],"subsets":["latin","korean"]},{"family":"Nanum Pen Script","variants":["regular"],"subsets":["latin","korean"]},{"family":"Neucha","variants":["regular"],"subsets":["latin","cyrillic"]},{"family":"Neuton","variants":["200","300","regular","italic","700","800"],"subsets":["latin","latin-ext"]},{"family":"New Rocker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"News Cycle","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Niconne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Niramit","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Nixie One","variants":["regular"],"subsets":["latin"]},{"family":"Nobile","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Nokora","variants":["regular","700"],"subsets":["khmer"]},{"family":"Norican","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Nosifer","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Notable","variants":["regular"],"subsets":["latin"]},{"family":"Nothing You Could Do","variants":["regular"],"subsets":["latin"]},{"family":"Noticia Text","variants":["regular","italic","700","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Noto Sans","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","devanagari","vietnamese","latin-ext"]},{"family":"Noto Sans HK","variants":["100","300","regular","500","700","900"],"subsets":["latin","chinese-hongkong"]},{"family":"Noto Sans JP","variants":["100","300","regular","500","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Sans KR","variants":["100","300","regular","500","700","900"],"subsets":["latin","korean"]},{"family":"Noto Sans SC","variants":["100","300","regular","500","700","900"],"subsets":["latin","chinese-simplified"]},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Noto Serif JP","variants":["200","300","regular","500","600","700","900"],"subsets":["japanese","latin"]},{"family":"Noto Serif KR","variants":["200","300","regular","500","600","700","900"],"subsets":["latin","korean"]},{"family":"Noto Serif SC","variants":["200","300","regular","500","600","700","900"],"subsets":["latin","chinese-simplified"]},{"family":"Noto Serif TC","variants":["200","300","regular","500","600","700","900"],"subsets":["chinese-traditional","latin"]},{"family":"Nova Cut","variants":["regular"],"subsets":["latin"]},{"family":"Nova Flat","variants":["regular"],"subsets":["latin"]},{"family":"Nova Mono","variants":["regular"],"subsets":["greek","latin"]},{"family":"Nova Oval","variants":["regular"],"subsets":["latin"]},{"family":"Nova Round","variants":["regular"],"subsets":["latin"]},{"family":"Nova Script","variants":["regular"],"subsets":["latin"]},{"family":"Nova Slim","variants":["regular"],"subsets":["latin"]},{"family":"Nova Square","variants":["regular"],"subsets":["latin"]},{"family":"Numans","variants":["regular"],"subsets":["latin"]},{"family":"Nunito","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Nunito Sans","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Odibee Sans","variants":["regular"],"subsets":["latin"]},{"family":"Odor Mean Chey","variants":["regular"],"subsets":["khmer"]},{"family":"Offside","variants":["regular"],"subsets":["latin"]},{"family":"Old Standard TT","variants":["regular","italic","700"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Oldenburg","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oleo Script Swash Caps","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Open Sans","variants":["300","300italic","regular","italic","600","600italic","700","700italic","800","800italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Open Sans Condensed","variants":["300","300italic","700"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Oranienbaum","variants":["regular"],"subsets":["latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Orbitron","variants":["regular","500","600","700","800","900"],"subsets":["latin"]},{"family":"Oregano","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Orienta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Original Surfer","variants":["regular"],"subsets":["latin"]},{"family":"Oswald","variants":["200","300","regular","500","600","700"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Over the Rainbow","variants":["regular"],"subsets":["latin"]},{"family":"Overlock","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overlock SC","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Overpass","variants":["100","100italic","200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Overpass Mono","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Ovo","variants":["regular"],"subsets":["latin"]},{"family":"Oxanium","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","latin-ext"]},{"family":"Oxygen","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Oxygen Mono","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"PT Mono","variants":["regular"],"subsets":["latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"PT Sans","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"PT Sans Caption","variants":["regular","700"],"subsets":["latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"PT Sans Narrow","variants":["regular","700"],"subsets":["latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"PT Serif","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"PT Serif Caption","variants":["regular","italic"],"subsets":["latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Pacifico","variants":["regular"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Padauk","variants":["regular","700"],"subsets":["myanmar","latin"]},{"family":"Palanquin","variants":["100","200","300","regular","500","600","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Palanquin Dark","variants":["regular","500","600","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Pangolin","variants":["regular"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Paprika","variants":["regular"],"subsets":["latin"]},{"family":"Parisienne","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passero One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Passion One","variants":["regular","700","900"],"subsets":["latin","latin-ext"]},{"family":"Pathway Gothic One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Patrick Hand","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Patrick Hand SC","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Pattaya","variants":["regular"],"subsets":["latin","cyrillic","vietnamese","thai","latin-ext"]},{"family":"Patua One","variants":["regular"],"subsets":["latin"]},{"family":"Pavanam","variants":["regular"],"subsets":["latin","latin-ext","tamil"]},{"family":"Paytone One","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Peddana","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Peralta","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Permanent Marker","variants":["regular"],"subsets":["latin"]},{"family":"Petit Formal Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Petrona","variants":["regular"],"subsets":["latin"]},{"family":"Philosopher","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese"]},{"family":"Piedra","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Pinyon Script","variants":["regular"],"subsets":["latin"]},{"family":"Pirata One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Plaster","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Play","variants":["regular","700"],"subsets":["greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Playball","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Playfair Display","variants":["regular","500","600","700","800","900","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","cyrillic","vietnamese","latin-ext"]},{"family":"Playfair Display SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin","cyrillic","vietnamese","latin-ext"]},{"family":"Podkova","variants":["regular","500","600","700","800"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Poiret One","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Poller One","variants":["regular"],"subsets":["latin"]},{"family":"Poly","variants":["regular","italic"],"subsets":["latin"]},{"family":"Pompiere","variants":["regular"],"subsets":["latin"]},{"family":"Pontano Sans","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Poor Story","variants":["regular"],"subsets":["latin","korean"]},{"family":"Poppins","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Port Lligat Sans","variants":["regular"],"subsets":["latin"]},{"family":"Port Lligat Slab","variants":["regular"],"subsets":["latin"]},{"family":"Pragati Narrow","variants":["regular","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Prata","variants":["regular"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese"]},{"family":"Preahvihear","variants":["regular"],"subsets":["khmer"]},{"family":"Press Start 2P","variants":["regular"],"subsets":["greek","latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Pridi","variants":["200","300","regular","500","600","700"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Princess Sofia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Prociono","variants":["regular"],"subsets":["latin"]},{"family":"Prompt","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Prosto One","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Proza Libre","variants":["regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","latin-ext"]},{"family":"Public Sans","variants":["100","200","300","regular","500","600","700","800","900","100italic","200italic","300italic","italic","500italic","600italic","700italic","800italic","900italic"],"subsets":["latin","latin-ext"]},{"family":"Puritan","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Purple Purse","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quando","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Quantico","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Quattrocento","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Quattrocento Sans","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Questrial","variants":["regular"],"subsets":["latin"]},{"family":"Quicksand","variants":["300","regular","500","600","700"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Quintessential","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Qwigley","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Racing Sans One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Radley","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rajdhani","variants":["300","regular","500","600","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Rakkas","variants":["regular"],"subsets":["arabic","latin","latin-ext"]},{"family":"Raleway","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Raleway Dots","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ramabhadra","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Ramaraja","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Rambla","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Rammetto One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ranchers","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rancho","variants":["regular"],"subsets":["latin"]},{"family":"Ranga","variants":["regular","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Rasa","variants":["300","regular","500","600","700"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Rationale","variants":["regular"],"subsets":["latin"]},{"family":"Ravi Prakash","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Red Hat Display","variants":["regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Red Hat Text","variants":["regular","italic","500","500italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Redressed","variants":["regular"],"subsets":["latin"]},{"family":"Reem Kufi","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Reenie Beanie","variants":["regular"],"subsets":["latin"]},{"family":"Revalia","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rhodium Libre","variants":["regular"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Ribeye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ribeye Marrow","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Righteous","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Risque","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Roboto","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Roboto Condensed","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Roboto Mono","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Roboto Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Rochester","variants":["regular"],"subsets":["latin"]},{"family":"Rock Salt","variants":["regular"],"subsets":["latin"]},{"family":"Rokkitt","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Romanesco","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ropa Sans","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rosario","variants":["300","regular","500","600","700","300italic","italic","500italic","600italic","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Rosarivo","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Rouge Script","variants":["regular"],"subsets":["latin"]},{"family":"Rozha One","variants":["regular"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Rubik","variants":["300","300italic","regular","italic","500","500italic","700","700italic","900","900italic"],"subsets":["latin","cyrillic","hebrew","latin-ext"]},{"family":"Rubik Mono One","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Ruda","variants":["regular","500","600","700","800","900"],"subsets":["latin","cyrillic","vietnamese","latin-ext"]},{"family":"Rufina","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Ruge Boogie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruluko","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rum Raisin","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Ruslan Display","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Russo One","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Ruthie","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Rye","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sacramento","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sahitya","variants":["regular","700"],"subsets":["latin","devanagari"]},{"family":"Sail","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Saira","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Saira Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Saira Extra Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Saira Semi Condensed","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Saira Stencil One","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Salsa","variants":["regular"],"subsets":["latin"]},{"family":"Sanchez","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Sancreek","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sansita","variants":["regular","italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Sarabun","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Sarala","variants":["regular","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Sarina","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sarpanch","variants":["regular","500","600","700","800","900"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Satisfy","variants":["regular"],"subsets":["latin"]},{"family":"Sawarabi Gothic","variants":["regular"],"subsets":["japanese","latin","cyrillic","vietnamese","latin-ext"]},{"family":"Sawarabi Mincho","variants":["regular"],"subsets":["japanese","latin","latin-ext"]},{"family":"Scada","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Scheherazade","variants":["regular","700"],"subsets":["arabic","latin"]},{"family":"Schoolbell","variants":["regular"],"subsets":["latin"]},{"family":"Scope One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seaweed Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Secular One","variants":["regular"],"subsets":["latin","hebrew","latin-ext"]},{"family":"Sedgwick Ave","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Sedgwick Ave Display","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Sevillana","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Seymour One","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Shadows Into Light","variants":["regular"],"subsets":["latin"]},{"family":"Shadows Into Light Two","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Shanti","variants":["regular"],"subsets":["latin"]},{"family":"Share","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Share Tech","variants":["regular"],"subsets":["latin"]},{"family":"Share Tech Mono","variants":["regular"],"subsets":["latin"]},{"family":"Shojumaru","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Short Stack","variants":["regular"],"subsets":["latin"]},{"family":"Shrikhand","variants":["regular"],"subsets":["gujarati","latin","latin-ext"]},{"family":"Siemreap","variants":["regular"],"subsets":["khmer"]},{"family":"Sigmar One","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Signika","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Signika Negative","variants":["300","regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Simonetta","variants":["regular","italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Single Day","variants":["regular"],"subsets":["korean"]},{"family":"Sintony","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sirin Stencil","variants":["regular"],"subsets":["latin"]},{"family":"Six Caps","variants":["regular"],"subsets":["latin"]},{"family":"Skranji","variants":["regular","700"],"subsets":["latin","latin-ext"]},{"family":"Slabo 13px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slabo 27px","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Slackey","variants":["regular"],"subsets":["latin"]},{"family":"Smokum","variants":["regular"],"subsets":["latin"]},{"family":"Smythe","variants":["regular"],"subsets":["latin"]},{"family":"Sniglet","variants":["regular","800"],"subsets":["latin","latin-ext"]},{"family":"Snippet","variants":["regular"],"subsets":["latin"]},{"family":"Snowburst One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sofadi One","variants":["regular"],"subsets":["latin"]},{"family":"Sofia","variants":["regular"],"subsets":["latin"]},{"family":"Solway","variants":["300","regular","500","700","800"],"subsets":["latin"]},{"family":"Song Myung","variants":["regular"],"subsets":["latin","korean"]},{"family":"Sonsie One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Sorts Mill Goudy","variants":["regular","italic"],"subsets":["latin","latin-ext"]},{"family":"Source Code Pro","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","900","900italic"],"subsets":["greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Source Sans Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Source Serif Pro","variants":["regular","600","700"],"subsets":["latin","latin-ext"]},{"family":"Space Mono","variants":["regular","italic","700","700italic"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Spartan","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Special Elite","variants":["regular"],"subsets":["latin"]},{"family":"Spectral","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","cyrillic","vietnamese","latin-ext"]},{"family":"Spectral SC","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","cyrillic","vietnamese","latin-ext"]},{"family":"Spicy Rice","variants":["regular"],"subsets":["latin"]},{"family":"Spinnaker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Spirax","variants":["regular"],"subsets":["latin"]},{"family":"Squada One","variants":["regular"],"subsets":["latin"]},{"family":"Sree Krushnadevaraya","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Sriracha","variants":["regular"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Srisakdi","variants":["regular","700"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Staatliches","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalemate","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stalinist One","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Stardos Stencil","variants":["regular","700"],"subsets":["latin"]},{"family":"Stint Ultra Condensed","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stint Ultra Expanded","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Stoke","variants":["300","regular"],"subsets":["latin","latin-ext"]},{"family":"Strait","variants":["regular"],"subsets":["latin"]},{"family":"Stylish","variants":["regular"],"subsets":["latin","korean"]},{"family":"Sue Ellen Francisco","variants":["regular"],"subsets":["latin"]},{"family":"Suez One","variants":["regular"],"subsets":["latin","hebrew","latin-ext"]},{"family":"Sulphur Point","variants":["300","regular","700"],"subsets":["latin","latin-ext"]},{"family":"Sumana","variants":["regular","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Sunflower","variants":["300","500","700"],"subsets":["latin","korean"]},{"family":"Sunshiney","variants":["regular"],"subsets":["latin"]},{"family":"Supermercado One","variants":["regular"],"subsets":["latin"]},{"family":"Sura","variants":["regular","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Suranna","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Suravaram","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Suwannaphum","variants":["regular"],"subsets":["khmer"]},{"family":"Swanky and Moo Moo","variants":["regular"],"subsets":["latin"]},{"family":"Syncopate","variants":["regular","700"],"subsets":["latin"]},{"family":"Tajawal","variants":["200","300","regular","500","700","800","900"],"subsets":["arabic","latin"]},{"family":"Tangerine","variants":["regular","700"],"subsets":["latin"]},{"family":"Taprom","variants":["regular"],"subsets":["khmer"]},{"family":"Tauri","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Taviraj","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Teko","variants":["300","regular","500","600","700"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Telex","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tenali Ramakrishna","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Tenor Sans","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Text Me One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Thasadith","variants":["regular","italic","700","700italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"The Girl Next Door","variants":["regular"],"subsets":["latin"]},{"family":"Tienne","variants":["regular","700","900"],"subsets":["latin"]},{"family":"Tillana","variants":["regular","500","600","700","800"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Timmana","variants":["regular"],"subsets":["telugu","latin"]},{"family":"Tinos","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","vietnamese","hebrew","latin-ext"]},{"family":"Titan One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Titillium Web","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900"],"subsets":["latin","latin-ext"]},{"family":"Tomorrow","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","latin-ext"]},{"family":"Trade Winds","variants":["regular"],"subsets":["latin"]},{"family":"Trirong","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"],"subsets":["latin","vietnamese","thai","latin-ext"]},{"family":"Trocchi","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Trochut","variants":["regular","italic","700"],"subsets":["latin"]},{"family":"Trykker","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Tulpen One","variants":["regular"],"subsets":["latin"]},{"family":"Turret Road","variants":["200","300","regular","500","700","800"],"subsets":["latin","latin-ext"]},{"family":"Ubuntu","variants":["300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Ubuntu Condensed","variants":["regular"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Ubuntu Mono","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","greek","latin","cyrillic","cyrillic-ext","latin-ext"]},{"family":"Ultra","variants":["regular"],"subsets":["latin"]},{"family":"Uncial Antiqua","variants":["regular"],"subsets":["latin"]},{"family":"Underdog","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Unica One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"UnifrakturCook","variants":["700"],"subsets":["latin"]},{"family":"UnifrakturMaguntia","variants":["regular"],"subsets":["latin"]},{"family":"Unkempt","variants":["regular","700"],"subsets":["latin"]},{"family":"Unlock","variants":["regular"],"subsets":["latin"]},{"family":"Unna","variants":["regular","italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"VT323","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Vampiro One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Varela Round","variants":["regular"],"subsets":["latin","vietnamese","hebrew","latin-ext"]},{"family":"Vast Shadow","variants":["regular"],"subsets":["latin"]},{"family":"Vesper Libre","variants":["regular","500","700","900"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Vibes","variants":["regular"],"subsets":["arabic","latin"]},{"family":"Vibur","variants":["regular"],"subsets":["latin"]},{"family":"Vidaloka","variants":["regular"],"subsets":["latin"]},{"family":"Viga","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Voces","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Volkhov","variants":["regular","italic","700","700italic"],"subsets":["latin"]},{"family":"Vollkorn","variants":["regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["greek","latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Vollkorn SC","variants":["regular","600","700","900"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Voltaire","variants":["regular"],"subsets":["latin"]},{"family":"Waiting for the Sunrise","variants":["regular"],"subsets":["latin"]},{"family":"Wallpoet","variants":["regular"],"subsets":["latin"]},{"family":"Walter Turncoat","variants":["regular"],"subsets":["latin"]},{"family":"Warnes","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wellfleet","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wendy One","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Wire One","variants":["regular"],"subsets":["latin"]},{"family":"Work Sans","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["latin","latin-ext"]},{"family":"Yanone Kaffeesatz","variants":["200","300","regular","500","600","700"],"subsets":["latin","cyrillic","vietnamese","latin-ext"]},{"family":"Yantramanav","variants":["100","300","regular","500","700","900"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Yatra One","variants":["regular"],"subsets":["latin","devanagari","latin-ext"]},{"family":"Yellowtail","variants":["regular"],"subsets":["latin"]},{"family":"Yeon Sung","variants":["regular"],"subsets":["latin","korean"]},{"family":"Yeseva One","variants":["regular"],"subsets":["latin","cyrillic","cyrillic-ext","vietnamese","latin-ext"]},{"family":"Yesteryear","variants":["regular"],"subsets":["latin"]},{"family":"Yrsa","variants":["300","regular","500","600","700"],"subsets":["latin","latin-ext"]},{"family":"ZCOOL KuaiLe","variants":["regular"],"subsets":["latin","chinese-simplified"]},{"family":"ZCOOL QingKe HuangYou","variants":["regular"],"subsets":["latin","chinese-simplified"]},{"family":"ZCOOL XiaoWei","variants":["regular"],"subsets":["latin","chinese-simplified"]},{"family":"Zeyada","variants":["regular"],"subsets":["latin"]},{"family":"Zhi Mang Xing","variants":["regular"],"subsets":["latin","chinese-simplified"]},{"family":"Zilla Slab","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","latin-ext"]},{"family":"Zilla Slab Highlight","variants":["regular","700"],"subsets":["latin","latin-ext"]}]')},function(e,t){e.exports="dist/images/components-design-separator-control-curve-1.a61eacd.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-2.7a9883c.png"},function(e,t){e.exports="dist/images/components-design-separator-control-curve-3.b42e517.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-1.d2b77d9.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-2.e6d5edc.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-3.54719e2.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-1.1a7bbee.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-2.622c736.png"},function(e,t){e.exports="dist/images/components-design-separator-control-straight-1.3d6e794.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-1.479a6de.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-2.8ad6a1d.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-3.6db0486.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-4.5f9e008.png"},function(e,t){e.exports="dist/images/components-button-controls-basic.b11a0a1.png"},function(e,t){e.exports="dist/images/components-button-controls-ghost.693bd0a.png"},function(e,t){e.exports="dist/images/components-button-controls-link.5941222.png"},function(e,t){e.exports="dist/images/components-button-controls-plain.9a9337a.png"},,function(e,t){e.exports="dist/videos/help/full-height.mp4"},function(e,t){e.exports="dist/videos/help/general-restrict-content.mp4"},function(e,t){e.exports="dist/videos/help/general-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/general-shadow.mp4"},function(e,t){e.exports="dist/videos/help/alignment-all.mp4"},function(e,t){e.exports="dist/videos/help/general-columns.mp4"},function(e,t){e.exports="dist/videos/help/column-background-on-off.mp4"},function(e,t){e.exports="dist/videos/help/image-shape.mp4"},function(e,t){e.exports="dist/videos/help/image-size.mp4"},function(e,t){e.exports="dist/videos/help/image-size-no-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-width-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-height-crop.mp4"},function(e,t){e.exports="dist/videos/help/image-square.mp4"},function(e,t){e.exports="dist/videos/help/image-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/image-shadow.mp4"},function(e,t){e.exports="dist/videos/help/typography-size.mp4"},function(e,t){e.exports="dist/videos/help/typography-weight.mp4"},function(e,t){e.exports="dist/videos/help/typography-transform.mp4"},function(e,t){e.exports="dist/videos/help/typography-line-height.mp4"},function(e,t){e.exports="dist/videos/help/typography-letter-spacing.mp4"},function(e,t){e.exports="dist/videos/help/alignment-description.mp4"},function(e,t){e.exports="dist/videos/help/alignment-button.mp4"},function(e,t){e.exports="dist/videos/help/button-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-vertical-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-horizontal-padding.mp4"},function(e,t){e.exports="dist/videos/help/button-size.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-opacity.mp4"},function(e,t){e.exports="dist/videos/help/button-hover-color.mp4"},function(e,t){e.exports="dist/videos/help/button-shadow.mp4"},function(e,t){e.exports="dist/videos/help/button-border-radius.mp4"},function(e,t){e.exports="dist/videos/help/button-color-type.mp4"},function(e,t){e.exports="dist/videos/help/button-to-normal.mp4"},function(e,t){e.exports="dist/videos/help/button-collapse.mp4"},function(e,t){e.exports="dist/videos/help/spacing.mp4"},function(e,t){e.exports="dist/videos/help/spacing-block-title.mp4"},function(e,t){e.exports="dist/videos/help/spacing-block-description.mp4"},function(e,t){e.exports="dist/videos/help/spacing-description.mp4"},function(e,t){e.exports="dist/videos/help/spacing-button.mp4"},function(e,t){e.exports="dist/videos/help/spacing-button-gap.mp4"},function(e,t){e.exports="dist/videos/help/hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/background-on-off.mp4"},function(e,t){e.exports="dist/videos/help/background-color-opacity.mp4"},function(e,t){e.exports="dist/videos/help/background-tint.mp4"},function(e,t){e.exports="dist/videos/help/background-color-type.mp4"},function(e,t){e.exports="dist/videos/help/background-fixed.mp4"},function(e,t){e.exports="dist/videos/help/gradient-direction.mp4"},function(e,t){e.exports="dist/videos/help/gradient-location.mp4"},function(e,t){e.exports="dist/videos/help/background-image-position.mp4"},function(e,t){e.exports="dist/videos/help/background-image-repeat.mp4"},function(e,t){e.exports="dist/videos/help/background-image-size.mp4"},function(e,t){e.exports="dist/videos/help/background-blend-mode.mp4"},function(e,t){e.exports="dist/videos/help/separator-top-on.mp4"},function(e,t){e.exports="dist/videos/help/separator-bottom-on.mp4"},function(e,t){e.exports="dist/videos/help/separator-height.mp4"},function(e,t){e.exports="dist/videos/help/separator-width.mp4"},function(e,t){e.exports="dist/videos/help/separator-shadow.mp4"},function(e,t){e.exports="dist/videos/help/separator-bring-to-front.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer2.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer3.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer-opacity.mp4"},function(e,t){e.exports="dist/videos/help/separator-layer-blend-mode.mp4"},function(e,t){e.exports="dist/videos/help/advanced-opacity.mp4"},function(e,t){e.exports="dist/videos/help/advanced-zindex.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-paddings.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-height.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-content-width.mp4"},function(e,t){e.exports="dist/videos/help/advanced-block-horizontal-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-gap.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-column-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-height.mp4"},function(e,t){e.exports="dist/videos/help/advanced-column-content-vertical-align.mp4"},function(e,t){e.exports="dist/videos/help/accordion-adjacent-open.mp4"},function(e,t){e.exports="dist/videos/help/accordion-closed-state-background-color.mp4"},function(e,t){e.exports="dist/videos/help/accordion-padding.mp4"},function(e,t){e.exports="dist/videos/help/accordion-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-column-width.mp4"},function(e,t){e.exports="dist/videos/help/feature-container-width.mp4"},function(e,t){e.exports="dist/videos/help/feature-container-offset.mp4"},function(e,t){e.exports="dist/videos/help/icon-list-grid.mp4"},function(e,t){e.exports="dist/videos/help/icon-list-gap.mp4"},function(e,t){e.exports="dist/videos/help/image-box-height.mp4"},function(e,t){e.exports="dist/videos/help/notification-dismissible.mp4"},function(e,t){e.exports="dist/videos/help/posts-content-order.mp4"},function(e,t){e.exports="dist/videos/help/posts-meta-separator.mp4"},function(e,t){e.exports="dist/videos/help/divider-margin.mp4"},function(e,t){e.exports="dist/videos/help/pricing-image-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-title-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-price-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-subprice-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-button-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-description-align.mp4"},function(e,t){e.exports="dist/videos/help/pricing-image-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-price-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-subprice-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-button-spacing.mp4"},function(e,t){e.exports="dist/videos/help/pricing-description-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-overlay.mp4"},function(e,t){e.exports="dist/videos/help/image-box-overlay-hover.mp4"},function(e,t){e.exports="dist/videos/help/image-box-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/image-box-box-hover-effect.mp4"},function(e,t){e.exports="dist/videos/help/image-box-subtitle-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-title-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-line-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-description-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-arrow-spacing.mp4"},function(e,t){e.exports="dist/videos/help/image-box-subtitle-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-title-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-description-align.mp4"},function(e,t){e.exports="dist/videos/help/image-box-arrow-align.mp4"},function(e,t){e.exports="dist/videos/help/video-popup-width.mp4"},function(e,t){e.exports="dist/videos/help/video-popup-height.mp4"},function(e,t){e.exports="dist/videos/help/container-image-width.mp4"},function(e,t){e.exports="dist/videos/help/container-image-height.mp4"},function(e,t){e.exports="dist/images/block-accordion-basic.b0f3789.png"},function(e,t){e.exports="dist/images/block-accordion-plain.2aeac8f.png"},function(e,t){e.exports="dist/images/block-blockquote-basic.0a574ba.png"},function(e,t){e.exports="dist/images/block-blockquote-plain.cd0c86f.png"},function(e,t){e.exports="dist/images/block-blog-posts-basic.0431caf.png"},function(e,t){e.exports="dist/images/block-blog-posts-list.78b14dd.png"},function(e,t){e.exports=wp.htmlEntities},function(e,t){e.exports="dist/images/block-button-basic.cf5349e.png"},function(e,t){e.exports="dist/images/block-button-fullwidth.f370f41.png"},function(e,t){e.exports="dist/images/block-button-grouped-1.6509764.png"},function(e,t){e.exports="dist/images/block-button-grouped-2.45eb41b.png"},function(e,t){e.exports="dist/images/block-button-spread.a2b3bf6.png"},function(e,t){e.exports="dist/images/block-call-to-action-basic.82b89ff.png"},function(e,t){e.exports="dist/images/block-call-to-action-plain.aeb4b5d.png"},function(e,t){e.exports="dist/images/block-card-basic.ed15cbf.png"},function(e,t){e.exports="dist/images/block-card-plain.01b366e.png"},function(e,t){e.exports="dist/images/block-container-basic.9b80141.png"},function(e,t){e.exports="dist/images/block-container-plain.b0bf4b9.png"},function(e,t){e.exports="dist/images/block-count-up-plain.9350896.png"},function(e,t){e.exports="dist/images/block-count-up-plain-2.ba5ab0d.png"},function(e,t){e.exports="dist/images/block-divider-basic.728eebd.png"},function(e,t){e.exports="dist/images/block-divider-bar.38cc0b7.png"},function(e,t){e.exports="dist/images/block-divider-dots.6f31a0f.png"},function(e,t){e.exports="dist/images/block-divider-asterisks.d07ce3c.png"},function(e,t){e.exports="dist/images/block-feature-grid-basic.d153b82.png"},function(e,t){e.exports="dist/images/block-feature-grid-plain.d4efae7.png"},function(e,t){e.exports="dist/images/block-feature-basic.21129f8.png"},function(e,t){e.exports="dist/images/block-feature-plain.705697f.png"},function(e,t){e.exports="dist/images/block-header-basic.a9cc4da.png"},function(e,t){e.exports="dist/images/block-header-plain.aeccf8f.png"},function(e,t){e.exports="dist/images/block-image-box-basic.f577755.png"},function(e,t){e.exports="dist/images/block-image-box-plain.7482e86.png"},function(e,t){e.exports="dist/images/block-notification-basic.a1f0aae.png"},function(e,t){e.exports="dist/images/block-notification-plain.eccdf36.png"},function(e,t){e.exports="dist/images/block-number-box-basic.3d5ce27.png"},function(e,t){e.exports="dist/images/block-number-box-plain.1e11a36.png"},function(e,t){e.exports="dist/images/block-pricing-box-basic.f439dd1.png"},function(e,t){e.exports="dist/images/block-pricing-box-plain.d7c8289.png"},function(e,t){e.exports="dist/images/block-team-member-basic.53fb1db.png"},function(e,t){e.exports="dist/images/block-team-member-plain.c44209b.png"},function(e,t){e.exports="dist/images/block-testimonial-basic.13e214f.png"},function(e,t){e.exports="dist/images/block-testimonial-plain.8208cdb.png"},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var a={"./accordion/index.js":339,"./blockquote/index.js":337,"./blog-posts/index.js":341,"./button/index.js":353,"./call-to-action/index.js":344,"./card/index.js":345,"./container/index.js":354,"./count-up/index.js":342,"./design-library/index.js":360,"./divider/index.js":355,"./expand/index.js":356,"./feature-grid/index.js":346,"./feature/index.js":347,"./header/index.js":348,"./icon-list/index.js":336,"./image-box/index.js":343,"./notification/index.js":340,"./number-box/index.js":349,"./pricing-box/index.js":350,"./separator/index.js":335,"./spacer/index.js":357,"./team-member/index.js":351,"./testimonial/index.js":352,"./video-popup/index.js":338};function o(e){var t=i(e);return n(t)}function i(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}o.keys=function(){return Object.keys(a)},o.resolve=i,e.exports=o,o.id=329},,,,,function(e,t,n){"use strict";n.r(t);var a=n(20),o=n(25),i=n(26),r=n(27);a.a.autoAddCss=!1,a.a.autoReplaceSvg=!1,a.a.familyPrefix="ugbfa",a.a.keepOriginalSource=!1,a.a.observeMutations=!1,a.a.showMissingIcons=!1,a.c.add(o.a,i.a,r.a);var l=n(3),c=n(2),s=n(1),u=n(9),b=n(43),p=n(6),g=n(0),m=n(7),d=n(12),f=n(21),h=n(13);function v(e){return(v="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})(e)}function y(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e,t){return(k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e,t,n){return t?n?Object(b.applyFormat)(e,{type:"ugb/highlight",attributes:{style:"color: ".concat(Object(c.eb)("",t),"; background-color: ").concat(t,";")}}):Object(b.applyFormat)(e,{type:"ugb/highlight",attributes:{style:"color: ".concat(t,";")}}):Object(b.removeFormat)(e,"ugb/highlight")},j=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=w(t).apply(this,arguments))||"object"!==v(a)&&"function"!=typeof a?O(n):a).state={isOpen:!1},e.handleFocusOutside=e.handleFocusOutside.bind(O(e)),e}var n,a,o;return 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&&k(e,t)}(t,m["Component"]),n=t,(a=[{key:"handleFocusOutside",value:function(){this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.activeAttributes,a=t.isActive,o=t.onChange,i=t.value,r="",c=!1;if(a){var b=n.style.match(/background-color:\s*([#\d\w]+)/);if(b)c=!0,r=b[1];else{var m=n.style.match(/color:\s*([#\d\w]+)/);m&&(r=m[1])}}return wp.element.createElement(p.BlockControls,null,wp.element.createElement(u.Toolbar,{className:"stackable-components-toolbar"},wp.element.createElement(u.IconButton,{className:"components-button components-icon-button components-toolbar__control",icon:"editor-textcolor","aria-haspopup":"true",tooltip:Object(g.__)("Color & Highlight",s.i18n),onClick:function(){return e.setState({isOpen:!e.state.isOpen})}},wp.element.createElement("span",{className:"components-stackable-highlight-color__indicator",style:{backgroundColor:r}})),this.state.isOpen&&wp.element.createElement(u.Popover,{position:"bottom center",className:"components-stackable-highlight__popover",focusOnMount:"container"},wp.element.createElement("div",{className:"components-stackable-highlight__inner"},wp.element.createElement("div",{className:"ugb-highlight-format__color-picker"},wp.element.createElement(l.r,{label:Object(g.__)("Text Color",s.i18n),value:r,onChange:function(e){o(_(i,e,c),{withoutHistory:!0})}})),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Highlight Text",s.i18n),checked:c,onChange:function(e){o(_(i,r||"#8c33da",e))}})))))}}])&&y(n.prototype,a),o&&y(n,o),t}();Object(b.registerFormatType)("ugb/highlight",{title:Object(g.__)("Highlight Text",s.i18n),tagName:"span",className:"ugb-highlight",edit:Object(d.compose)(u.withFocusOutside)(j),attributes:{style:"style"}}),Object(f.a)(function(){Object(h.select)("core/edit-post").isFeatureActive("disableEditorsKitColorsFormats")||Object(h.dispatch)("core/edit-post").toggleFeature("disableEditorsKitColorsFormats"),Object(h.select)("core/edit-post").isFeatureActive("disableEditorsKitHighlightFormats")||Object(h.dispatch)("core/edit-post").toggleFeature("disableEditorsKitHighlightFormats")});var C=n(18),x=n(57),E=n(24),S=n(10);function B(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var T=["style","svg"],A=function(e){return!!e.args&&(4===e.args.length&&("string"==typeof e.args[1]&&"string"==typeof e.args[2]&&"string"==typeof e.args[3]&&("class"===e.args[1]&&!Object(S.isEqual)(e.args[2].match(/ugb-[^\s]+/g),e.args[3].match(/ugb-[^\s]+/g)))))},N=function(e){return!!e.args&&(4===e.args.length&&("string"==typeof e.args[1]&&"string"==typeof e.args[2]&&"string"==typeof e.args[3]&&("class"===e.args[1]&&(e.args[2].match(/wp-image-\d+/)&&!e.args[3].match(/wp-image-\d+/)||!e.args[2].match(/wp-image-\d+/)&&e.args[3].match(/wp-image-\d+/)))))},P=function(e){return!!e.args&&(3===e.args.length&&("style"===e.args[1]&&"style"!==e.args[2]||"style"!==e.args[1]&&"style"===e.args[2]))},F=function(e){var t,n=e.name,a=e.attributes,o=e.innerBlocks,i=e.originalContent;if(e.isValid)return!1;try{t=Object(C.getSaveContent)(n,a,o)}catch(e){return!1}return function(e,t){var n=B([e,t].map(function(e){return function(e){try{return new x.Tokenizer(new E.DecodeEntityParser).tokenize(e)}catch(e){}return null}(e)}),2),a=n[0],o=n[1];if(!a||!o)return!1;var i,r,l=[];for(;i=Object(E.getNextNonWhitespaceToken)(a);){if(r=Object(E.getNextNonWhitespaceToken)(o),"StartTag"===i.type&&l.push(i.tagName.toLowerCase()),!r)return l;if(i.type!==r.type)return l;var c=E.isEqualTokensOfType[i.type];if(c&&!c(i,r))return l;"StartTag"===i.type&&!0===i.selfClosing?l.pop():"EndTag"===i.type&&l.pop(),Object(E.isClosedByToken)(i,o[0])?Object(E.getNextNonWhitespaceToken)(o):Object(E.isClosedByToken)(r,a[0])&&Object(E.getNextNonWhitespaceToken)(a)}return!1}(i,t)};var R=function e(t){t.forEach(function(t){if(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T,n=e.name,a=e.isValid,o=e.validationIssues;if(!n||!n.match(/^ugb\//))return!1;if(a)return!1;if(!o.length)return!1;if(A(o[0]))return!0;if(P(o[0]))return!0;if(N(o[0]))return!0;var i=F(e);return!!i&&i.some(function(e){return t.includes(e)})}(t)){Object(h.dispatch)("core/block-editor").replaceBlock(t.clientId,(a=(n=t).name,o=n.attributes,i=n.innerBlocks,Object(C.createBlock)(a,o,i)))}var n,a,o,i;t.innerBlocks&&t.innerBlocks.length&&e(t.innerBlocks)})};Object(f.a)(function(){window._wpLoadBlockEditor&&window._wpLoadBlockEditor.then(function(){R(Object(h.select)("core/editor").getEditorBlocks())})});var D="https://raw.githubusercontent.com/gambitph/Stackable/feat-three-tabs/dist/deprecation-tests.json",M=function(e){try{var t=Object(C.parse)(e.replace(/\n/g,"").replace(/\t/g,""))[0],n=function(e){var t=(e.match(/<!--\s*[^:]*:([\/\w\d-]+)/i)||[])[1];return"string"!=typeof t?"":t.match(/^[^\/]+\//)?t:"core/".concat(t)}(e);return t.name!==n?"Block rendered as: ".concat(t.name):t.isValid&&t.name===n}catch(e){return!1}},z=n(8),I=n.n(z);function L(e){return(L="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})(e)}function U(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function W(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(n,!0).forEach(function(t){G(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function G(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function q(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function X(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Y(e,t){return(Y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var K=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=V(t).apply(this,arguments))||"object"!==L(a)&&"function"!=typeof a?X(n):a).state={tests:[],testBlockNames:[],show:[],loaded:!1,isLoading:!1},e.onClick=e.onClick.bind(X(e)),e.onClickLocal=e.onClickLocal.bind(X(e)),e.onRunAllTests=e.onRunAllTests.bind(X(e)),e.onRunTest=e.onRunTest.bind(X(e)),e.onShowToggle=e.onShowToggle.bind(X(e)),e}var n,a,o;return 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&&Y(e,t)}(t,m["Component"]),n=t,(a=[{key:"updateTestState",value:function(e){this.setState({tests:e.map(function(e){return W({},e,{passed:null})}),testBlockNames:U(new Set(e.map(function(e){return e.block})))})}},{key:"fetchTests",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D;this.setState({isLoading:!0}),fetch(t).then(function(t){return e.setState({isLoading:!1,loaded:!0}),t.json()}).then(function(t){e.updateTestState(t)})}},{key:"onClick",value:function(){this.fetchTests(D)}},{key:"onClickLocal",value:function(){this.fetchTests(Object(g.sprintf)("%s/dist/deprecation-tests.json",s.srcUrl))}},{key:"onRunAllTests",value:function(){var e=this.state.tests.map(function(e){return e.skip?W({},e,{passed:!0}):W({},e,{passed:M(e.html)})});this.setState({tests:e})}},{key:"onRunTest",value:function(e){var t=this.state.tests.map(function(t){return t.block!==e?t:t.skip?W({},t,{passed:!0}):W({},t,{passed:M(t.html)})});this.setState({tests:t})}},{key:"onShowToggle",value:function(e){this.setState({show:this.state.show.includes(e)?this.state.show.filter(function(t){return t!==e}):this.state.show.concat(e)})}},{key:"render",value:function(){var e=this,t=I()(["ugb-deprecated-tester"],{"ugb-deprecated-tester--loading":this.state.isLoading});return wp.element.createElement("div",{className:t},wp.element.createElement(u.BaseControl,null,wp.element.createElement("p",{className:"components-base-control__help"},Object(g.__)("When Stackable blocks are updated, block internal workings may change & editing existing blocks may result in errors if the changes are not backward compatible. This area tests multiple outdated blocks on whether they can migrate properly to newer versions.",s.i18n)),wp.element.createElement(u.Button,{className:"ugb-deprecated-tester__load-button",isDefault:!0,onClick:this.onClick,disabled:this.state.isLoading},wp.element.createElement(u.Dashicon,{icon:"image-rotate",size:"12"}),Object(g.__)("Load Tests from Server",s.i18n)),!1),this.state.loaded&&wp.element.createElement(m.Fragment,null,wp.element.createElement("hr",null),wp.element.createElement("p",{className:"ugb-deprecated-tester--row ugb--first"},wp.element.createElement(u.Button,{isPrimary:!0,isSmall:!0,onClick:this.onRunAllTests},Object(g.__)("Run All Tests",s.i18n)))),this.state.loaded&&this.state.testBlockNames.map(function(t,n){var a=e.state.tests.filter(function(e){return e.block===t}),o=a.length,i=a.filter(function(e){return e.passed}).length;return wp.element.createElement(m.Fragment,{key:n},wp.element.createElement("div",{key:n,className:"ugb-deprecated-tester--row"},wp.element.createElement("span",{className:"ugb-deprecated-tester--name"},t,wp.element.createElement(u.IconButton,{isDefault:!1,icon:"editor-help",onClick:function(){return e.onShowToggle(t)}})),wp.element.createElement("span",{className:o===i?"ugb--green":""},Object(g.sprintf)(Object(g.__)("%d / %d Tests",s.i18n),i,o),wp.element.createElement(u.IconButton,{isDefault:!1,onClick:function(){return e.onRunTest(t)},icon:"controls-play"}))),e.state.show.includes(t)&&wp.element.createElement("div",{className:"ugb-deprecated-tester--test-detail-wrapper"},a.map(function(e,t){var n=e.html.replace(/(<!--[\s\S]*?-->)/g,function(e,t){return t.replace(/\n/g,"\\n").replace(/\t/g,"\\t")});return wp.element.createElement("div",{key:t},wp.element.createElement("div",null,e.description,!e.skip&&!0===e.passed&&wp.element.createElement("small",{className:"ugb--passed"},Object(g.__)("Passed",s.i18n)),!e.skip&&!1===e.passed&&wp.element.createElement("small",{className:"ugb--failed"},Object(g.__)("Failed",s.i18n)),e.skip&&wp.element.createElement("small",{className:"ugb--skipped"},Object(g.__)("Skipped",s.i18n))),wp.element.createElement("div",{className:"ugb-deprecated-tester--test-details"},wp.element.createElement("small",{className:"ugb--version"},Object(g.sprintf)(Object(g.__)("v%s",s.i18n),e.version)),e.plan&&wp.element.createElement("small",{className:"ugb--plan ugb--plan-".concat(e.plan)},e.plan),wp.element.createElement(u.ClipboardButton,{isDefault:!1,isLink:!0,text:n},Object(g.__)("Copy code",s.i18n)),e.skip&&wp.element.createElement("small",{className:"ugb--skipped-note"},wp.element.createElement("span",{role:"img","aria-label":Object(g.__)("Note",s.i18n)},"⚠️")," ",e.skip)))})))}))}}])&&q(n.prototype,a),o&&q(n,o),t}();function J(e){return(J="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})(e)}function $(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Z(e){return(Z=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Q(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var te={codemirror:{mode:"html"}},ne=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Z(t).apply(this,arguments))||"object"!==J(a)&&"function"!=typeof a?Q(n):a).state={value:e.props.value,isValid:M(e.props.value)},e.onChange=e.onChange.bind(Q(e)),e}var n,a,o;return 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&&ee(e,t)}(t,m["Component"]),n=t,(a=[{key:"onChange",value:function(e){this.setState({value:e,isValid:M(e)})}},{key:"render",value:function(){return wp.element.createElement(u.BaseControl,{className:"ugb-html-validator"},wp.element.createElement("p",{className:"components-base-control__help"},Object(g.__)("Enter some HTML below to see whether it renders correctly as a block. Check the browser console for block errors.",s.i18n)),wp.element.createElement(l.q,{value:this.state.value,onChange:this.onChange,editorSettings:te}),!0===this.state.isValid&&wp.element.createElement("div",{className:"ugb-html-validator--valid"},wp.element.createElement("span",{role:"img","aria-label":Object(g.__)("Valid",s.i18n)},"✔️"),Object(g.__)("Valid",s.i18n)),!0!==this.state.isValid&&wp.element.createElement("div",{className:"ugb-html-validator--invalid"},wp.element.createElement("span",{role:"img","aria-label":Object(g.__)("Invalid",s.i18n)},"️️⚠️"),Object(g.__)("Invalid",s.i18n),wp.element.createElement("br",null),this.state.isValid))}}])&&$(n.prototype,a),o&&$(n,o),t}();ne.defaultProps={value:"\x3c!-- wp:paragraph --\x3e\n<p>Some sample code</p>\n\x3c!-- /wp:paragraph --\x3e"};var ae=ne,oe=n(32),ie=function(){return wp.element.createElement(m.Fragment,null,wp.element.createElement(oe.PluginSidebarMoreMenuItem,{target:"stackable-block-tester"},Object(g.__)("Stackable Debugger",s.i18n)),wp.element.createElement(oe.PluginSidebar,{name:"stackable-block-tester",isPinnable:!1,title:Object(g.__)("Stackable Debugger",s.i18n)},wp.element.createElement("div",{className:"ugb-debugger-panel"},wp.element.createElement("p",{className:"components-base-control__help"},Object(g.__)("This area contains a number of testing and debugging tools made specifically for Stackable.",s.i18n))),wp.element.createElement(u.PanelBody,{initialOpen:!1,title:Object(g.__)("Block Validity Checker",s.i18n)},wp.element.createElement(ae,null)),wp.element.createElement(u.PanelBody,{initialOpen:!1,title:Object(g.__)("Block Migration Tests",s.i18n)},wp.element.createElement(K,null))))},re=n(49);Object(re.registerPlugin)("stackable-convert-to-container-button",{render:l.u}),s.devMode&&(Object(re.registerPlugin)("stackable-block-tester",{icon:"clipboard",render:ie}),Object(re.registerPlugin)("stackable-block-attributes-get-button",{render:l.F}));var le=n(5),ce=null,se={},ue={},be={},pe=function(e){return e.closest('[class*="ugb--help-tip-"]')},ge=function(){!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};se[e]=function(n){var a=n.target.closest(e);a&&ce!==a&&(ce=a,t(a))},ue[e]=function(t){var a=t.target.closest(e);t.relatedTarget&&a===t.relatedTarget.closest(e)||a&&ce===a&&(n(ce),ce=null)},document.body.addEventListener("mouseover",se[e]),document.body.addEventListener("mouseout",ue[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label','[class*="ugb--help-tip-"].components-panel__body .components-panel__body-toggle'].join(", "),function(e){return Object(le.doAction)("stackable.help-video.control.hover.in",e,pe(e))},function(){return Object(le.doAction)("stackable.help-video.control.hover.out")}),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};be[e]=function(n){var a=n.target.closest(e);a&&t(a)},document.body.addEventListener("click",be[e])}(['[class*="ugb--help-tip-"].components-base-control .components-base-control__label','[class*="ugb--help-tip-"].components-base-control .components-toggle-control__label'].join(", "),function(e){return Object(le.doAction)("stackable.help-video.control.click",e,pe(e))})};function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fe,he={show:!1,controlEl:null,target:null},ve=function(e,t){fe=setTimeout(function(){we(e,t)},1500)},ye=function(){fe&&clearTimeout(fe),fe=null},we=function(e,t){he=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(n,!0).forEach(function(t){de(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},he,{show:!0,controlEl:t,target:e}),Object(le.doAction)("stackable.help-video.show",e)},Oe=function(){he.show=!1,Object(le.doAction)("stackable.help-video.hide")},ke=n(105),_e=n.n(ke),je=n(106),Ce=n.n(je),xe=n(107),Ee=n.n(xe),Se=n(108),Be=n.n(Se),Te=n(109),Ae=n.n(Te),Ne=n(110),Pe=n.n(Ne),Fe=n(111),Re=n.n(Fe),De=n(112),Me=n.n(De),ze=n(113),Ie=n.n(ze),Le=n(114),Ue=n.n(Le),He=n(115),We=n.n(He),Ge=n(116),qe=n.n(Ge),Ve=n(117),Xe=n.n(Ve),Ye=n(118),Ke=n.n(Ye),Je=n(119),$e=n.n(Je),Ze=n(59),Qe=n.n(Ze),et=n(120),tt=n.n(et),nt=n(121),at=n.n(nt),ot=n(122),it=n.n(ot),rt=n(123),lt=n.n(rt),ct=n(124),st=n.n(ct),ut=n(50),bt=n.n(ut),pt=n(60),gt=n.n(pt),mt=n(125),dt=n.n(mt),ft=n(126),ht=n.n(ft),vt=n(127),yt=n.n(vt),wt=n(128),Ot=n.n(wt),kt=n(129),_t=n.n(kt),jt=n(130),Ct=n.n(jt),xt=n(131),Et=n.n(xt),St=n(132),Bt=n.n(St),Tt=n(133),At=n.n(Tt),Nt=n(134),Pt=n.n(Nt),Ft=n(135),Rt=n.n(Ft),Dt=n(136),Mt=n.n(Dt),zt=n(137),It=n.n(zt),Lt=n(138),Ut=n.n(Lt),Ht=n(139),Wt=n.n(Ht),Gt=n(140),qt=n.n(Gt),Vt=n(141),Xt=n.n(Vt),Yt=n(51),Kt=n.n(Yt),Jt=n(61),$t=n.n(Jt),Zt=n(142),Qt=n.n(Zt),en=n(143),tn=n.n(en),nn=n(144),an=n.n(nn),on=n(145),rn=n.n(on),ln=n(146),cn=n.n(ln),sn=n(147),un=n.n(sn),bn=n(148),pn=n.n(bn),gn=n(149),mn=n.n(gn),dn=n(150),fn=n.n(dn),hn=n(151),vn=n.n(hn),yn=n(152),wn=n.n(yn),On=n(153),kn=n.n(On),_n=n(154),jn=n.n(_n),Cn=n(155),xn=n.n(Cn),En=n(156),Sn=n.n(En),Bn=n(157),Tn=n.n(Bn),An=n(158),Nn=n.n(An),Pn=n(159),Fn=n.n(Pn),Rn=n(160),Dn=n.n(Rn),Mn=n(161),zn=n.n(Mn),In=n(162),Ln=n.n(In),Un=n(163),Hn=n.n(Un),Wn=n(164),Gn=n.n(Wn),qn=n(165),Vn=n.n(qn),Xn=n(166),Yn=n.n(Xn),Kn=n(167),Jn=n.n(Kn),$n=n(168),Zn=n.n($n),Qn=n(62),ea=n.n(Qn),ta=n(169),na=n.n(ta),aa=n(170),oa=n.n(aa),ia=n(171),ra=n.n(ia),la=n(172),ca=n.n(la),sa=n(173),ua=n.n(sa),ba=n(63),pa=n.n(ba),ga=n(174),ma=n.n(ga),da=n(175),fa=n.n(da),ha=n(176),va=n.n(ha),ya=n(177),wa=n.n(ya),Oa=n(178),ka=n.n(Oa),_a=n(179),ja=n.n(_a),Ca=n(180),xa=n.n(Ca),Ea=n(181),Sa=n.n(Ea),Ba=n(64),Ta=n.n(Ba),Aa=n(182),Na=n.n(Aa),Pa=n(183),Fa=n.n(Pa),Ra=n(184),Da=n.n(Ra),Ma=n(185),za=n.n(Ma),Ia=n(186),La=n.n(Ia),Ua=n(187),Ha=n.n(Ua),Wa=n(188),Ga=n.n(Wa),qa=n(189),Va=n.n(qa),Xa=n(190),Ya=n.n(Xa),Ka=n(191),Ja=n.n(Ka),$a=n(192),Za=n.n($a),Qa=n(193),eo=n.n(Qa),to=n(194),no=n.n(to),ao=n(195),oo=n.n(ao),io=n(196),ro=n.n(io),lo=n(197),co=n.n(lo),so=n(198),uo=n.n(so),bo=n(199),po=n.n(bo),go=n(200),mo=n.n(go),fo=n(201),ho=n.n(fo),vo=n(202),yo=n.n(vo),wo=n(203),Oo=n.n(wo),ko=n(204),_o=n.n(ko),jo=n(205),Co=n.n(jo),xo=n(206),Eo=n.n(xo),So=n(207),Bo=n.n(So),To=n(208),Ao=n.n(To),No=n(209),Po=n.n(No),Fo=n(210),Ro=n.n(Fo),Do=n(211),Mo=n.n(Do),zo=n(212),Io=n.n(zo),Lo=n(213),Uo=n.n(Lo),Ho=n(214),Wo=n.n(Ho),Go=n(215),qo=n.n(Go),Vo=n(216),Xo=n.n(Vo),Yo=n(217),Ko=n.n(Yo),Jo=n(218),$o=n.n(Jo),Zo=n(219),Qo=n.n(Zo),ei=n(220),ti=n.n(ei),ni={fullHeight:{video:_e.a,title:Object(g.__)("Full Height",s.i18n),description:Object(g.__)("Block height takes up the full height of the screen",s.i18n)},generalRestrictContent:{video:Ce.a,title:Object(g.__)("Restrict to Content Width",s.i18n),description:Object(g.__)("Restricts content to a narrower space when block width is set to full width",s.i18n)},generalBorderRadius:{video:Ee.a,title:Object(g.__)("Border Radius",s.i18n),description:Object(g.__)("Adjusts the radius of block corners to make them more rounded",s.i18n)},generalShadow:{video:Be.a,title:Object(g.__)("Shadow/Outline",s.i18n),description:Object(g.__)("Adjusts the intensity of the shadow/outline of the block and the appearance of the block border",s.i18n)},alignmentAll:{video:Ae.a,title:Object(g.__)("Align (general / all)",s.i18n),description:Object(g.__)("Adjusts the placement of all content in the block to align left, center or right",s.i18n)},generalColumns:{video:Pe.a,title:Object(g.__)("Columns",s.i18n),description:Object(g.__)("Sets the number of columns",s.i18n)},columnBackgroundOnOff:{video:Re.a,title:Object(g.__)("Column / Container Background",s.i18n),description:Object(g.__)("Background settings for the container or columns.",s.i18n)},imageShape:{video:Me.a,title:Object(g.__)("Shape",s.i18n),description:Object(g.__)("Change the shape of the image",s.i18n)},imageSize:{video:Ie.a,title:Object(g.__)("Image size",s.i18n),description:Object(g.__)("Sets the image display size to thumbnail, medium, large or full size. A smaller image size will also load faster.",s.i18n)},imageSizeNoCrop:{video:Ue.a,title:Object(g.__)("Image size",s.i18n),description:Object(g.__)("Adjusts the image size / width while preseving the aspect ratio",s.i18n)},imageWidthCrop:{video:We.a,title:Object(g.__)("Image width",s.i18n),description:Object(g.__)("Adjusts the image width",s.i18n)},imageHeightCrop:{video:qe.a,title:Object(g.__)("Image height",s.i18n),description:Object(g.__)("Adjusts the image height",s.i18n)},imageSquare:{video:Xe.a,title:Object(g.__)("Force Square Image",s.i18n),description:Object(g.__)("Crops image into a square",s.i18n)},imageBorderRadius:{video:Ke.a,title:Object(g.__)("Border radius (of image)",s.i18n),description:Object(g.__)("Adjusts the radius of image corners to make them more rounded",s.i18n)},imageShadow:{video:$e.a,title:Object(g.__)("Shadow (of image)",s.i18n),description:Object(g.__)("Adjusts the intensity of the image shadow",s.i18n)},typography:{video:Qe.a,title:Object(g.__)("Typography",s.i18n),description:Object(g.__)("Change the font family, size, weight and spacing of the font of this text",s.i18n)},typographyFamily:{video:Qe.a,title:Object(g.__)("Font family",s.i18n),description:Object(g.__)("Sets the font set to be used for the element",s.i18n)},typographySize:{video:tt.a,title:Object(g.__)("Font size",s.i18n),description:Object(g.__)("Sets the size of text characters",s.i18n)},typographyWeight:{video:at.a,title:Object(g.__)("Font weight",s.i18n),description:Object(g.__)("Sets the thinness or thickness of text characters",s.i18n)},typographyTransform:{video:it.a,title:Object(g.__)("Transform",s.i18n),description:Object(g.__)("Sets the usage of upper or lower case",s.i18n)},typographyLineHeight:{video:lt.a,title:Object(g.__)("Line height",s.i18n),description:Object(g.__)("Sets the vertical distance between lines of text",s.i18n)},typographyLetterSpacing:{video:st.a,title:Object(g.__)("Letter spacing",s.i18n),description:Object(g.__)("Sets the distance or space between letters",s.i18n)},alignmentImage:{video:bt.a,title:Object(g.__)("Image alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the image to align left, center or right",s.i18n)},alignmentNumber:{video:bt.a,title:Object(g.__)("Number alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the number to align left, center or right",s.i18n)},alignmentIcon:{video:bt.a,title:Object(g.__)("Icon alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the icon to align left, center or right",s.i18n)},alignmentTitle:{video:gt.a,title:Object(g.__)("Title / subtitle alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the title or subtitle to align left, center or right",s.i18n)},alignmentName:{video:gt.a,title:Object(g.__)("Name / position alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the name or position to align left, center or right",s.i18n)},alignmentDescription:{video:dt.a,title:Object(g.__)("Description / text alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the text to align left, center or right",s.i18n)},alignmentButton:{video:ht.a,title:Object(g.__)("Button / link alignment",s.i18n),description:Object(g.__)("Adjusts the placement of the button or link to align left, center or right",s.i18n)},buttonPadding:{video:yt.a,title:Object(g.__)("Button padding",s.i18n),description:Object(g.__)("Adjusts the space between the button text and button borders",s.i18n)},buttonVerticalPadding:{video:Ot.a,title:Object(g.__)("Button vertical padding",s.i18n),description:Object(g.__)("Adjusts the space between the button text and button's top and bottom borders",s.i18n)},buttonHorizontalPadding:{video:_t.a,title:Object(g.__)("Button horizontal padding",s.i18n),description:Object(g.__)("Adjusts the space between the button text and button's side borders",s.i18n)},buttonSize:{video:Ct.a,title:Object(g.__)("Button size",s.i18n),description:Object(g.__)("Sets the size of the button. Choose from tiny, small, normal, medium or large.",s.i18n)},buttonHoverEffect:{video:Et.a,title:Object(g.__)("Hover effect",s.i18n),description:Object(g.__)("Triggers animation or effects when you mouse over",s.i18n)},buttonHoverOpacity:{video:Bt.a,title:Object(g.__)("Hover opacity",s.i18n),description:Object(g.__)("Adjusts the transparency of the button when you mouse over",s.i18n)},buttonHoverColor:{video:At.a,title:Object(g.__)("Hover colors",s.i18n),description:Object(g.__)("Triggers a change in color when you mouse over",s.i18n)},buttonShadow:{video:Pt.a,title:Object(g.__)("Button shadow",s.i18n),description:Object(g.__)("Adjusts the intensity of the button shadow",s.i18n)},buttonBorderRadius:{video:Rt.a,title:Object(g.__)("Button border radius",s.i18n),description:Object(g.__)("Adjusts the radius of button corners to make them more rounded",s.i18n)},buttonColorType:{video:Mt.a,title:Object(g.__)("Button color type",s.i18n),description:Object(g.__)("Sets the button color type to single or gradient",s.i18n)},buttonToNormal:{video:It.a,title:Object(g.__)("Change to normal button on hover",s.i18n),description:Object(g.__)("Triggers change from ghost to normal button when you mouse over",s.i18n)},buttonCollapse:{video:Ut.a,title:Object(g.__)("Collapse buttons on",s.i18n),description:Object(g.__)("Sets when buttons will be triggered to arrange vertically",s.i18n)},spacing:{video:Wt.a,title:Object(g.__)("Spacing",s.i18n),description:Object(g.__)("Adjusts the space between block elements",s.i18n)},spacingBlockTitle:{video:qt.a,title:Object(g.__)("Block title spacing",s.i18n),description:Object(g.__)("Adjusts the space below the block title",s.i18n)},spacingBlockDescription:{video:Xt.a,title:Object(g.__)("Block description spacing",s.i18n),description:Object(g.__)("Adjusts the space below the block description",s.i18n)},spacingImage:{video:Kt.a,title:Object(g.__)("Image spacing",s.i18n),description:Object(g.__)("Adjusts the space below the image",s.i18n)},spacingNumber:{video:Kt.a,title:Object(g.__)("Number spacing",s.i18n),description:Object(g.__)("Adjusts the space below the number",s.i18n)},spacingIcon:{video:Kt.a,title:Object(g.__)("Icon spacing",s.i18n),description:Object(g.__)("Adjusts the space below the icon",s.i18n)},spacingTitle:{video:$t.a,title:Object(g.__)("Title spacing",s.i18n),description:Object(g.__)("Adjusts the space below the title",s.i18n)},spacingName:{video:$t.a,title:Object(g.__)("Name / position spacing",s.i18n),description:Object(g.__)("Adjusts the space below the name / position",s.i18n)},spacingDescription:{video:Qt.a,title:Object(g.__)("Description Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the description",s.i18n)},spacingButton:{video:tn.a,title:Object(g.__)("Button spacing",s.i18n),description:Object(g.__)("Adjusts the space beloe the button",s.i18n)},spacingButtonGap:{video:an.a,title:Object(g.__)("Button spacing gap",s.i18n),description:Object(g.__)("Adjusts the gap between the buttons",s.i18n)},hoverEffect:{video:rn.a,title:Object(g.__)("Hover effect",s.i18n),description:Object(g.__)("Triggers animation or effects when you mouse over",s.i18n)},backgroundOnOff:{video:cn.a,title:Object(g.__)("Background Toggle On/Off",s.i18n),description:Object(g.__)("Turns the block background on/off. Turn on to enable different background settings.",s.i18n),learnMore:"https://wpstackable.com/blog/column-backgrounds-and-block-backgrounds/?utm_medium=Help%20Tooltip&utm_campaign=Help%20Tooltip&utm_source=Plugin"},backgroundColorOpacity:{video:un.a,title:Object(g.__)("Background Color Opacity",s.i18n),description:Object(g.__)("Adjusts the transparency of the background color",s.i18n)},backgroundTint:{video:pn.a,title:Object(g.__)("Background Media Tint Strength",s.i18n),description:Object(g.__)("Adjusts the intensity of the background media tint",s.i18n)},backgroundColorType:{video:mn.a,title:Object(g.__)("Color type",s.i18n),description:Object(g.__)("Sets the color to either a single color or a gradient",s.i18n)},backgroundFixed:{video:fn.a,title:Object(g.__)("Fixed Background",s.i18n),description:Object(g.__)("Keeps the background image fixed in place while scrolling",s.i18n)},gradientDirection:{video:vn.a,title:Object(g.__)("Gradient direction",s.i18n),description:Object(g.__)("Sets the direction (in degrees) of the colors",s.i18n)},gradientLocation:{video:wn.a,title:Object(g.__)("Gradient Color location",s.i18n),description:Object(g.__)("Sets the placement of each color in relation to the other color",s.i18n)},backgroundImagePosition:{video:kn.a,title:Object(g.__)("Image Position",s.i18n),description:Object(g.__)("Chooses which part of the background image will be the focal point",s.i18n)},backgroundImageRepeat:{video:jn.a,title:Object(g.__)("Image Repeat",s.i18n),description:Object(g.__)("Covers the background with tiled images",s.i18n)},backgroundImageSize:{video:xn.a,title:Object(g.__)("Image Size",s.i18n),description:Object(g.__)("Sets the display image size",s.i18n)},backgroundBlendMode:{video:Sn.a,title:Object(g.__)("Image Blend Mode",s.i18n),description:Object(g.__)("Sets how this background gradient/image blends into the other background",s.i18n)},separatorTopOn:{video:Tn.a,title:Object(g.__)("Separator Top On and Off",s.i18n),description:Object(g.__)("Turns the top separator on/off. Turn on to enable different separator settings.",s.i18n)},separatorBottomOn:{video:Nn.a,title:Object(g.__)("Separator Bottom On and Off",s.i18n),description:Object(g.__)("Turns the bottom separator on/off. Turn on to enable different separator settings.",s.i18n)},separatorHeight:{video:Fn.a,title:Object(g.__)("Separator height",s.i18n),description:Object(g.__)("Adjusts the height of the separator to stretch or compress vertically",s.i18n)},separatorWidth:{video:Dn.a,title:Object(g.__)("Separator width",s.i18n),description:Object(g.__)("Adusts the width of the separator to stretch or compress horizantally",s.i18n)},separatorShadow:{video:zn.a,title:Object(g.__)("Shadow",s.i18n),description:Object(g.__)("Adjusts the intensity of the separator shadow and makes the separator more prominent",s.i18n)},separatorBringToFront:{video:Ln.a,title:Object(g.__)("Bring to Front",s.i18n),description:Object(g.__)("Brings the separator layer in front of other block elements",s.i18n)},separatorLayer2:{video:Hn.a,title:Object(g.__)("Layer 2",s.i18n),description:Object(g.__)("Turns a second separator layer on/off. Turn on to enable the separate layer settings.",s.i18n)},separatorLayer3:{video:Gn.a,title:Object(g.__)("Layer 3",s.i18n),description:Object(g.__)("Turns a third separator layer on/off. Turn on to enable the separate layer settings.",s.i18n)},separatorLayerOpacity:{video:Vn.a,title:Object(g.__)("Layer Opacity",s.i18n),description:Object(g.__)("Adjusts the transparency of the separator layer",s.i18n)},separatorLayerBlendMode:{video:Yn.a,title:Object(g.__)("Layer blend mode",s.i18n),description:Object(g.__)("Sets how the sepator layer is blended into the background",s.i18n)},advancedOpacity:{video:Jn.a,title:Object(g.__)("Opacity",s.i18n),description:Object(g.__)("Adjusts the transparency of the entire block",s.i18n)},advancedZindex:{video:Zn.a,title:Object(g.__)("Z-Index",s.i18n),description:Object(g.__)("Sets the stack order of different blocks to make one appear in front of another. A block with a higher z-index will show up on top of another block with a lower z-index.",s.i18n)},advancedBlockSpacing:{video:ea.a,title:Object(g.__)("Block Spacing",s.i18n),description:Object(g.__)("Set margins, paddings and alignment of the block and its content",s.i18n)},advancedBlockMargins:{video:ea.a,title:Object(g.__)("Block Margins",s.i18n),description:Object(g.__)("Sets the block margin, i.e. the space outside the block between the block border and the next block",s.i18n)},advancedBlockPaddings:{video:na.a,title:Object(g.__)("Block Padding",s.i18n),description:Object(g.__)("Sets the block padding, i.e. the space inside the block between the column container and the block border",s.i18n)},advancedBlockHeight:{video:oa.a,title:Object(g.__)("Min Block Height",s.i18n),description:Object(g.__)("Adjusts the minimum allowable height of the block",s.i18n)},advancedBlockVerticalAlign:{video:ra.a,title:Object(g.__)("Content Vertical Align",s.i18n),description:Object(g.__)("Sets the placement of the column container to top, center or bottom. Available when the min. block height is set to higher than default.",s.i18n)},advancedBlockContentWidth:{video:ca.a,title:Object(g.__)("Max Content Width",s.i18n),description:Object(g.__)("Adjusts the maximum allowable width of the block. The settings will depend on the block width you set on the toolbar.",s.i18n)},advancedBlockHorizontalAlign:{video:ua.a,title:Object(g.__)("Content Horizontal Align",s.i18n),description:Object(g.__)("Sets the placement of the column container to left, center or right. Not available when block width is set to full width.",s.i18n)},advancedColumnSpacing:{video:pa.a,title:Object(g.__)("Column Spacing & More",s.i18n),description:Object(g.__)("Sets column paddings, the space inside the block between the block elements and the column container border",s.i18n)},advancedColumnPaddings:{video:pa.a,title:Object(g.__)("Column Paddings",s.i18n),description:Object(g.__)("Sets the column padding, the space inside the block between the block elements and the column container border",s.i18n)},advancedColumnGap:{video:ma.a,title:Object(g.__)("Column Gap",s.i18n),description:Object(g.__)("Sets the distance between two or more columns",s.i18n)},advancedColumnColumnVerticalAlign:{video:fa.a,title:Object(g.__)("Column Vertical Align",s.i18n),description:Object(g.__)("Sets the placement of the column container to top, center, bottom or stretch. Available when column heights are different.",s.i18n)},advancedColumnHeight:{video:va.a,title:Object(g.__)("Min Column Height",s.i18n),description:Object(g.__)("Adjusts the minimum allowable height of the column container",s.i18n)},advancedColumnContentVerticalAlign:{video:wa.a,title:Object(g.__)("Content Vertical Align",s.i18n),description:Object(g.__)("Sets the placement of the block elements to top, center, bottom or stretch. Available when column heights are different or when min. column height is set to higher than default.",s.i18n)},accordionAdjacentOpen:{video:ka.a,title:Object(g.__)("Close adjacent on open",s.i18n),description:Object(g.__)("Automatically closes adjacent accordion panels when clicked",s.i18n)},accordionClosedStateBackgroundColor:{video:ja.a,title:Object(g.__)("Closed state Background Color",s.i18n),description:Object(g.__)("Sets color of the panel when closed",s.i18n)},accordionPadding:{video:xa.a,title:Object(g.__)("Accordion Padding",s.i18n),description:Object(g.__)("Sets the accordion padding, i.e. the space inside the block between the panel elements and the panel border",s.i18n)},accordionTitleSpacing:{video:Sa.a,title:Object(g.__)("Accordion Title Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the title",s.i18n)},accordionBorder:{video:Ta.a,title:Object(g.__)("Border",s.i18n),description:Object(g.__)("Adjusts the thickness and color of the border of a closed panel for the Lined to Colored layout",s.i18n)},accordionBorderSize:{video:Ta.a,title:Object(g.__)("Border Size",s.i18n),description:Object(g.__)("Adjusts the thickness of the border of a closed panel for the Lined to Colored layout",s.i18n)},imageColumnWidth:{video:Na.a,title:Object(g.__)("Image Column Width",s.i18n),description:Object(g.__)("Adjusts the width of the image",s.i18n)},featureContainerWidth:{video:Fa.a,title:Object(g.__)("Container Width",s.i18n),description:Object(g.__)("Adjusts the width of the text and button container",s.i18n)},featureContainerOffset:{video:Da.a,title:Object(g.__)("Container Offset",s.i18n),description:Object(g.__)("Adjusts the relative arrangement of the image and the text and button contianer",s.i18n)},iconListGrid:{video:za.a,title:Object(g.__)("Display as a grid",s.i18n),description:Object(g.__)("Displays the list in an evenly-spaced grid arrangement",s.i18n)},iconListGap:{video:La.a,title:Object(g.__)("List Gap",s.i18n),description:Object(g.__)("Adjusts the space between different list lines",s.i18n)},imageBoxHeight:{video:Ha.a,title:Object(g.__)("Height",s.i18n),description:Object(g.__)("Adjusts the height of the image box",s.i18n)},notificationDismissible:{video:Ga.a,title:Object(g.__)("Dismissible",s.i18n),description:Object(g.__)("Provides option to close the notification",s.i18n)},postsContentOrder:{video:Va.a,title:Object(g.__)("Content Order",s.i18n),description:Object(g.__)("Sets the order of the items displayed (category, title, meta, excerpt) for each post",s.i18n)},postsMetaSeparator:{video:Ya.a,title:Object(g.__)("Meta Separator",s.i18n),description:Object(g.__)("Sets the separators between meta items (dot, space, comma, dash, pipe)",s.i18n)},dividerMargin:{video:Ja.a,title:Object(g.__)("Vertical Margin",s.i18n),description:Object(g.__)("Adjusts the space between the divider and the vertically adjacent blocks",s.i18n)},pricingImageAlign:{video:Za.a,title:Object(g.__)("Image Align",s.i18n),description:Object(g.__)("Adjusts the placement of the image to align left, center or right",s.i18n)},pricingTitleAlign:{video:eo.a,title:Object(g.__)("Title Align",s.i18n),description:Object(g.__)("Adjusts the placement of the title to align left, center or right",s.i18n)},pricingPriceAlign:{video:no.a,title:Object(g.__)("Price Align",s.i18n),description:Object(g.__)("Adjusts the placement of the price to align left, center or right",s.i18n)},pricingSubpriceAlign:{video:oo.a,title:Object(g.__)("Sub Price Align",s.i18n),description:Object(g.__)("Adjusts the placement of the subtitle to align left, center or right",s.i18n)},pricingButtonAlign:{video:ro.a,title:Object(g.__)("Button Align",s.i18n),description:Object(g.__)("Adjusts the placement of the button to align left, center or right",s.i18n)},pricingDescriptionAlign:{video:co.a,title:Object(g.__)("Description Align",s.i18n),description:Object(g.__)("Adjusts the placement of the description to align left, center or right",s.i18n)},pricingImageSpacing:{video:uo.a,title:Object(g.__)("Image Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the image",s.i18n)},pricingTitleSpacing:{video:po.a,title:Object(g.__)("Title Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the title",s.i18n)},pricingPriceSpacing:{video:mo.a,title:Object(g.__)("Price Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the price",s.i18n)},pricingSubpriceSpacing:{video:ho.a,title:Object(g.__)("Sub Price Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the subtitle",s.i18n)},pricingButtonSpacing:{video:yo.a,title:Object(g.__)("Button Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the button",s.i18n)},pricingDescriptionSpacing:{video:Oo.a,title:Object(g.__)("Description Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the description",s.i18n)},imageBoxOverlay:{video:_o.a,title:Object(g.__)("Overlay Color",s.i18n),description:Object(g.__)("Sets the overlay color of all image boxes",s.i18n)},imageBoxOverlayHover:{video:Co.a,title:Object(g.__)("Overlay Hover Color",s.i18n),description:Object(g.__)("Triggers change in overlay color when you mouse over",s.i18n)},imageBoxHoverEffect:{video:Eo.a,title:Object(g.__)("Image Hover Effect",s.i18n),description:Object(g.__)("Sets an effect that animates the image",s.i18n)},imageBoxBoxHoverEffect:{video:Bo.a,title:Object(g.__)("Box Hover Effect",s.i18n),description:Object(g.__)("Sets an effect that animates the container of the image",s.i18n)},imageBoxSubtitleSpacing:{video:Ao.a,title:Object(g.__)("Subtitle Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the subtitle",s.i18n)},imageBoxTitleSpacing:{video:Po.a,title:Object(g.__)("Title Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the title",s.i18n)},imageBoxLineSpacing:{video:Ro.a,title:Object(g.__)("Line Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the line",s.i18n)},imageBoxDescriptionSpacing:{video:Mo.a,title:Object(g.__)("Description Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the description",s.i18n)},imageBoxArrowSpacing:{video:Io.a,title:Object(g.__)("Arrow Spacing",s.i18n),description:Object(g.__)("Adjusts the space below the arrow",s.i18n)},imageBoxSubtitleAlign:{video:Uo.a,title:Object(g.__)("Subtitle Align",s.i18n),description:Object(g.__)("Adjusts the placement of the subtitle to align left, center or right",s.i18n)},imageBoxTitleAlign:{video:Wo.a,title:Object(g.__)("Title Align",s.i18n),description:Object(g.__)("Adjusts the placement of the title to align left, center or right",s.i18n)},imageBoxDescriptionAlign:{video:qo.a,title:Object(g.__)("Description Align",s.i18n),description:Object(g.__)("Adjusts the placement of the description to align left, center or right",s.i18n)},imageBoxArrowAlign:{video:Xo.a,title:Object(g.__)("Arrow Align",s.i18n),description:Object(g.__)("Adjusts the placement of the arrow to align left, center or right",s.i18n)},videoPopupWidth:{video:Ko.a,title:Object(g.__)("Video popup width",s.i18n),description:Object(g.__)("Adjusts the width of the video popup container",s.i18n)},videoPopupHeight:{video:$o.a,title:Object(g.__)("Video popup height",s.i18n),description:Object(g.__)("Adjusts the height of the video popup container",s.i18n)},containerImageWidth:{video:Qo.a,title:Object(g.__)("Image width",s.i18n),description:Object(g.__)("Adjusts the image width",s.i18n)},containerImageHeight:{video:ti.a,title:Object(g.__)("Image height",s.i18n),description:Object(g.__)("Adjusts the image height",s.i18n)}},ai=function(e){var t=e.getAnchorRect,n=e.title,a=e.videoUrl,o=e.description,i=e.learnMoreUrl,r=e.learnMore,l=Object(m.useRef)();return Object(m.useEffect)(function(){var e=l.current;e.muted=!0,e&&!e.playing&&e.play()},[]),Object(m.useEffect)(function(){window.dispatchEvent(new window.Event("resize"))},[e.videoUrl]),wp.element.createElement(u.Popover,{title:n,focusOnMount:"container",className:"ugb-help-tooltip-video",position:"middle left",getAnchorRect:t},wp.element.createElement(u.PanelBody,null,wp.element.createElement("button",{className:"ugb-help-tooltip-video__remove","data-testid":"close-button",onClick:e.onClickClose},wp.element.createElement(u.Dashicon,{icon:"no"})),a&&wp.element.createElement(m.Fragment,null,wp.element.createElement("video",{ref:l,width:"600",autoPlay:!0,loop:!0,muted:!0,role:"img","aria-labelledby":"ugb-help-tooltip-video__description",src:a}),(!l.current||!l.current.playing)&&wp.element.createElement(u.Spinner,null)),wp.element.createElement("div",{className:"ugb-help-tooltip-video__description",id:"ugb-help-tooltip-video__description"},n&&wp.element.createElement("h4",null,n),o,i&&wp.element.createElement("div",{className:"ugb-help-tooltip-video__link"},wp.element.createElement("a",{href:i,target:"_learn"},r," ",wp.element.createElement(u.Dashicon,{icon:"external"}))))))};ai.defaultProps={onClickClose:function(){},getAnchorRect:null,title:Object(g.__)("Help",s.i18n),description:"",videoUrl:"",learnMoreUrl:"",learnMore:Object(g.__)("Learn more",s.i18n)};var oi=ai;function ii(e){return(ii="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})(e)}function ri(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function li(e){return(li=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ci(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function si(e,t){return(si=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var ui=function(e){return"".concat(s.cdnUrl,"/").concat(e)},bi=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=li(t).apply(this,arguments))||"object"!==ii(a)&&"function"!=typeof a?ci(n):a).state={target:null,show:!1,helpId:"",rect:{}},e.showHelp=e.showHelp.bind(ci(e)),e.hideHelp=e.hideHelp.bind(ci(e)),e.calculateRect=e.calculateRect.bind(ci(e)),e}var n,a,o;return 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&&si(e,t)}(t,m["Component"]),n=t,(a=[{key:"showHelp",value:function(e){document.activeElement&&document.activeElement.blur();var t,n="string"!=typeof e&&e,a=e&&"string"!=typeof e?(t=e)&&t.closest('[class*="ugb--help-tip-"]')&&Object(S.camelCase)((t.closest('[class*="ugb--help-tip-"]').getAttribute("class").match(/ugb--help-tip-([\w\d-_]+)/)||["",""])[1]):e;this.setState({target:n,helpId:a,show:!0})}},{key:"calculateRect",value:function(){if(!this.state.target)return null;var e=this.state.target.getBoundingClientRect(),t=document.querySelector(".edit-post-sidebar");if(t){var n=t.getBoundingClientRect();e.x=n.x,e.width=n.width}return e}},{key:"hideHelp",value:function(){this.setState({show:!1});var e=document.querySelector(".components-popover .components-popover__content");e&&e.focus()}},{key:"componentDidMount",value:function(){Object(le.addAction)("stackable.help-video.show","stackable/help",this.showHelp),Object(le.addAction)("stackable.help-video.hide","stackable/help",this.hideHelp)}},{key:"componentWillUnmount",value:function(){Object(le.removeAction)("stackable.help-video.show","stackable/help"),Object(le.removeAction)("stackable.help-video.hide","stackable/help")}},{key:"render",value:function(){if(!this.state.show)return null;if(void 0===this.props.tooltipData[this.state.helpId])return null;var e=this.props.tooltipData[this.state.helpId],t=e.title,n=e.video,a=e.description,o=e.learnMore;return wp.element.createElement(oi,{onClickClose:this.hideHelp,getAnchorRect:this.calculateRect,title:t,description:a,videoUrl:ui(n),learnMoreUrl:o})}}])&&ri(n.prototype,a),o&&ri(n,o),t}();bi.defaultProps={tooltipData:ni};var pi=bi,gi=n(28),mi=n.n(gi);function di(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],a=!0,o=!1,i=void 0;try{for(var r,l=e[Symbol.iterator]();!(a=(r=l.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){o=!0,i=e}finally{try{a||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var fi=!1,hi=Object(d.createHigherOrderComponent)(function(e){return function(t){var n=t.isSelected,a=t.name,o=di(Object(m.useState)(!1),2),i=o[0],r=o[1],c=di(Object(m.useState)(null),2),s=c[0],u=c[1];return Object(m.useEffect)(function(){return n&&a.match(/^ugb\//)&&!i&&!fi&&u(setTimeout(function(){fi||(fi=!0,u(null),r(!0))},1e3)),function(){s&&clearTimeout(s)}},[i,n]),wp.element.createElement(m.Fragment,null,wp.element.createElement(e,t),i&&wp.element.createElement(l.W,{onRequestClose:function(){r(!1),mi()({path:"/wp/v2/stk_welcome_video_closed",method:"POST"})}}))}},"withWelcomeTutorialModal");Object(f.a)(function(){if(Element.prototype.closest){ge(),Object(le.addAction)("stackable.help-video.control.hover.in","stackable/help/hoverin",ve),Object(le.addAction)("stackable.help-video.control.hover.out","stackable/help/hoverout",ye),Object(le.addAction)("stackable.help-video.control.click","stackable/help/click",function(e,t){if(!he.show)return we(e,t);e===he.target?Oe():we(e,t)}),document.body.addEventListener("click",function(e){he.show&&(e.target.closest(".ugb-help-tooltip-video")||pe(e.target)===he.controlEl||Oe())});var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(m.render)(wp.element.createElement(pi,null),e)}}),s.displayWelcomeVideo&&Object(le.addFilter)("editor.BlockEdit","stackable/with-welcome-tutorial-modal",hi);var vi=n(14),yi=n.n(vi);function wi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Oi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wi(n,!0).forEach(function(t){ki(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wi(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ki(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _i=function(e,t){return function(n,a){var o=a.setAttributes,i=a.attributes.blockTag,r=void 0===i?"div":i;return wp.element.createElement(m.Fragment,null,n,wp.element.createElement(u.PanelBody,{title:Object(g.__)("General",s.i18n),initialOpen:!1},Object(le.applyFilters)("stackable.".concat(e,".edit.advanced.general.before"),null,a),t.blockTag&&wp.element.createElement(u.SelectControl,{label:Object(g.sprintf)(Object(g._x)("%s HTML Tag","component"),Object(g.__)("Block",s.i18n)),value:r,options:[{value:"",label:Object(g.__)("Default",s.i18n)},{value:"div",label:Object(g._x)("Div","HTML Tag",s.i18n)},{value:"blockquote",label:Object(g._x)("Blockquote","HTML Tag",s.i18n)},{value:"section",label:Object(g._x)("Section","HTML Tag",s.i18n)},{value:"article",label:Object(g._x)("Article","HTML Tag",s.i18n)},{value:"aside",label:Object(g._x)("Aside","HTML Tag",s.i18n)},{value:"main",label:Object(g._x)("Main","HTML Tag",s.i18n)},{value:"header",label:Object(g._x)("Header","HTML Tag",s.i18n)},{value:"footer",label:Object(g._x)("Footer","HTML Tag",s.i18n)},{value:"nav",label:Object(g._x)("Nav","HTML Tag",s.i18n)},{value:"address",label:Object(g._x)("Address","HTML Tag",s.i18n)},{value:"hgroup",label:Object(g._x)("Hgroup","HTML Tag",s.i18n)}],onChange:function(e){return o({blockTag:e})}}),t.opacity&&wp.element.createElement(l.cb,{attrNameTemplate:"%sBlockOpacity",setAttributes:o,blockAttributes:a.attributes},wp.element.createElement(l.b,{label:Object(g.__)("Opacity",s.i18n),min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-advanced-opacity"})),t.zIndex&&wp.element.createElement(l.cb,{attrNameTemplate:"%sBlockZIndex",setAttributes:o,blockAttributes:a.attributes},wp.element.createElement(l.b,{label:Object(g.__)("Z-Index",s.i18n),min:-100,max:1e3,allowReset:!0,placeholder:"1",className:"ugb--help-tip-advanced-zindex"})),Object(le.applyFilters)("stackable.".concat(e,".edit.advanced.general.after"),null,a)))}},ji=function(){return function(e,t){var n,a=Object(c.b)(t.attributes),o=".".concat(t.mainClassName),i=(ki(n={},o,{zIndex:Object(c.c)(a("blockZIndex")),opacity:Object(c.c)(a("blockOpacity"))}),ki(n,"tablet",ki({},o,{zIndex:Object(c.c)(a("tabletBlockZIndex")),opacity:Object(c.c)(a("tabletBlockOpacity"))})),ki(n,"mobile",ki({},o,{zIndex:Object(c.c)(a("mobileBlockZIndex")),opacity:Object(c.c)(a("mobileBlockOpacity"))})),n);return yi.a.all([e,i])}},Ci=function(e){return Oi({},e,{blockTag:{type:"string",default:""}},Object(c.h)("%sBlockOpacity",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(c.h)("%sBlockZIndex",{type:"number",default:""},["","Tablet","Mobile"]))},xi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Oi({blockTag:!0,opacity:!0,zIndex:!0,modifyStyles:!0},t);Object(le.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-general"),_i(e,n),2),n.modifyStyles&&Object(le.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/advanced-general"),ji()),Object(le.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-general"),Ci),Object(le.doAction)("stackable.module.advanced-general",e)};function Ei(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Si(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ei(n,!0).forEach(function(t){Bi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ei(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Bi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(le.removeFilter)("stackable.setAttributes","stackable/module/block-spacing"),Object(le.addFilter)("stackable.setAttributes","stackable/module/block-spacing",function(e,t){return void 0===e.align?e:("full"===e.align&&"full"!==t.align&&(e.marginRight="",e.marginLeft="",e.tabletMarginRight="",e.tabletMarginLeft="",e.tabletPaddingRight="",e.tabletPaddingLeft=""),e)});var Ti=function(e,t){return function(n,a){var o=a.setAttributes,i=a.attributes,r=i.align,c=void 0!==r&&r,u=i.blockInnerWidth,b=void 0===u?"":u,p=i.marginTop,d=void 0===p?"":p,f=i.marginRight,h=void 0===f?"":f,v=i.marginBottom,y=void 0===v?"":v,w=i.marginLeft,O=void 0===w?"":w,k=i.marginUnit,_=void 0===k?"px":k,j=i.tabletMarginTop,C=void 0===j?"":j,x=i.tabletMarginRight,E=void 0===x?"":x,S=i.tabletMarginBottom,B=void 0===S?"":S,T=i.tabletMarginLeft,A=void 0===T?"":T,N=i.tabletMarginUnit,P=void 0===N?"px":N,F=i.mobileMarginTop,R=void 0===F?"":F,D=i.mobileMarginRight,M=void 0===D?"":D,z=i.mobileMarginBottom,I=void 0===z?"":z,L=i.mobileMarginLeft,U=void 0===L?"":L,H=i.mobileMarginUnit,W=void 0===H?"px":H,G=i.paddingTop,q=void 0===G?"":G,V=i.paddingBottom,X=void 0===V?"":V,Y=i.paddingRight,K=void 0===Y?"":Y,J=i.paddingLeft,$=void 0===J?"":J,Z=i.paddingUnit,Q=void 0===Z?"px":Z,ee=i.tabletPaddingTop,te=void 0===ee?"":ee,ne=i.tabletPaddingBottom,ae=void 0===ne?"":ne,oe=i.tabletPaddingRight,ie=void 0===oe?"":oe,re=i.tabletPaddingLeft,ce=void 0===re?"":re,se=i.tabletPaddingUnit,ue=void 0===se?"px":se,be=i.mobilePaddingTop,pe=void 0===be?"":be,ge=i.mobilePaddingBottom,me=void 0===ge?"":ge,de=i.mobilePaddingRight,fe=void 0===de?"":de,he=i.mobilePaddingLeft,ve=void 0===he?"":he,ye=i.mobilePaddingUnit,we=void 0===ye?"px":ye,Oe=i.blockHeight,ke=void 0===Oe?"":Oe,_e=i.blockHeightUnit,je=void 0===_e?"px":_e,Ce=i.tabletBlockHeight,xe=void 0===Ce?"":Ce,Ee=i.tabletBlockHeightUnit,Se=void 0===Ee?"px":Ee,Be=i.mobileBlockHeight,Te=void 0===Be?"":Be,Ae=i.mobileBlockHeightUnit,Ne=void 0===Ae?"px":Ae,Pe=i.blockWidth,Fe=void 0===Pe?"":Pe,Re=i.blockWidthUnit,De=void 0===Re?"px":Re,Me=i.tabletBlockWidth,ze=void 0===Me?"":Me,Ie=i.tabletBlockWidthUnit,Le=void 0===Ie?"px":Ie,Ue=i.mobileBlockWidth,He=void 0===Ue?"":Ue,We=i.mobileBlockWidthUnit,Ge=void 0===We?"px":We,qe=i.blockHorizontalAlign,Ve=void 0===qe?"":qe,Xe=i.tabletBlockHorizontalAlign,Ye=void 0===Xe?"":Xe,Ke=i.mobileBlockHorizontalAlign,Je=void 0===Ke?"":Ke,$e=i.blockVerticalAlign,Ze=void 0===$e?"":$e,Qe=i.tabletBlockVerticalAlign,et=void 0===Qe?"":Qe,tt=i.mobileBlockVerticalAlign,nt=void 0===tt?"":tt;return wp.element.createElement(m.Fragment,null,n,wp.element.createElement(l.X,{title:Object(g.__)("Block Spacing",s.i18n),initialOpen:!1,className:"ugb--help-tip-advanced-block-spacing"},Object(le.applyFilters)("stackable.".concat(e,".edit.advanced.block-spacing.before"),null,a),t.height&&wp.element.createElement(m.Fragment,null,wp.element.createElement(l.ob,null,wp.element.createElement(l.b,{label:Object(g.__)("Min. Block Height",s.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:ke,unit:je,onChange:function(e){return o({blockHeight:e})},onChangeUnit:function(e){return o({blockHeightUnit:e})},initialPosition:"100",className:"ugb--help-tip-advanced-block-height"})),wp.element.createElement(l.ob,{screen:"tablet"},wp.element.createElement(l.b,{label:Object(g.__)("Min. Block Height",s.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:xe,unit:Se,onChange:function(e){return o({tabletBlockHeight:e})},onChangeUnit:function(e){return o({tabletBlockHeightUnit:e})},className:"ugb--help-tip-advanced-block-height"})),wp.element.createElement(l.ob,{screen:"mobile"},wp.element.createElement(l.b,{label:Object(g.__)("Min. Block Height",s.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:Te,unit:Ne,onChange:function(e){return o({mobileBlockHeight:e})},onChangeUnit:function(e){return o({mobileBlockHeightUnit:e})},className:"ugb--help-tip-advanced-block-height"}))),t.verticalAlign&&wp.element.createElement(m.Fragment,null,""!==ke&&wp.element.createElement(l.ob,null,wp.element.createElement(l.d,{label:Object(g.__)("Content Vertical Align",s.i18n),controls:"flex-vertical",value:Ze,onChange:function(e){return o({blockVerticalAlign:Ze!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"})),""!==xe&&wp.element.createElement(l.ob,{screen:"tablet"},wp.element.createElement(l.d,{label:Object(g.__)("Content Vertical Align",s.i18n),controls:"flex-vertical",value:et,onChange:function(e){return o({tabletBlockVerticalAlign:et!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"})),""!==Te&&wp.element.createElement(l.ob,{screen:"mobile"},wp.element.createElement(l.d,{label:Object(g.__)("Content Vertical Align",s.i18n),controls:"flex-vertical",value:nt,onChange:function(e){return o({mobileBlockVerticalAlign:nt!==e?e:""})},className:"ugb--help-tip-advanced-block-vertical-align"}))),t.width&&wp.element.createElement(m.Fragment,null,wp.element.createElement(l.ob,null,wp.element.createElement(l.b,{label:Object(g.__)("Max. Content Width",s.i18n),units:["px","%"],min:[100,10],max:[2e3,100],step:[1,1],allowReset:!0,value:Fe,unit:De,onChange:function(e){return o({blockWidth:e})},onChangeUnit:function(e){return o({blockWidthUnit:e})},initialPosition:"2000",className:"ugb--help-tip-advanced-block-content-width"})),wp.element.createElement(l.ob,{screen:"tablet"},wp.element.createElement(l.b,{label:Object(g.__)("Max. Content Width",s.i18n),units:["px","%"],min:[100,10],max:[1500,100],step:[1,1],allowReset:!0,value:ze,unit:Le,onChange:function(e){return o({tabletBlockWidth:e})},onChangeUnit:function(e){return o({tabletBlockWidthUnit:e})},className:"ugb--help-tip-advanced-block-content-width"})),wp.element.createElement(l.ob,{screen:"mobile"},wp.element.createElement(l.b,{label:Object(g.__)("Max. Content Width",s.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:He,unit:Ge,onChange:function(e){return o({mobileBlockWidth:e})},onChangeUnit:function(e){return o({mobileBlockWidthUnit:e})},className:"ugb--help-tip-advanced-block-content-width"}))),(t.horizontalAlign||""!==b&&"full"!==b)&&wp.element.createElement(m.Fragment,null,(""!==Fe||""!==b&&"full"!==b)&&wp.element.createElement(l.ob,null,wp.element.createElement(l.d,{label:Object(g.__)("Content Horizontal Align",s.i18n),controls:"flex-horizontal",value:Ve,onChange:function(e){return o({blockHorizontalAlign:Ve!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"})),(""!==ze||""!==b&&"full"!==b)&&wp.element.createElement(l.ob,{screen:"tablet"},wp.element.createElement(l.d,{label:Object(g.__)("Content Horizontal Align",s.i18n),controls:"flex-horizontal",value:Ye,onChange:function(e){return o({tabletBlockHorizontalAlign:Ye!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"})),(""!==He||""!==b&&"full"!==b)&&wp.element.createElement(l.ob,{screen:"mobile"},wp.element.createElement(l.d,{label:Object(g.__)("Content Horizontal Align",s.i18n),controls:"flex-horizontal",value:Je,onChange:function(e){return o({mobileBlockHorizontalAlign:Je!==e?e:""})},className:"ugb--help-tip-advanced-block-horizontal-align"}))),t.margins&&wp.element.createElement(m.Fragment,null,wp.element.createElement(l.ob,{screen:"desktop"},wp.element.createElement(l.E,{label:Object(g.__)("Block Margins",s.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:d,bottom:y,right:h,left:O,unit:_,min:[-500,-100],max:[500,100],onChange:function(e){o({marginTop:e.top||0===e.top?parseInt(e.top,10):"",marginRight:e.right||0===e.right?parseInt(e.right,10):"",marginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",marginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({marginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==c&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==c&&t.enableMarginLeft,initialPosition:"0",className:"ugb--help-tip-advanced-block-margins"})),wp.element.createElement(l.ob,{screen:"tablet"},wp.element.createElement(l.E,{label:Object(g.__)("Block Margins",s.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:C,bottom:B,right:E,left:A,unit:P,min:[-500,-100],max:[500,100],onChange:function(e){o({tabletMarginTop:e.top||0===e.top?parseInt(e.top,10):"",tabletMarginRight:e.right||0===e.right?parseInt(e.right,10):"",tabletMarginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",tabletMarginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({tabletMarginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==c&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==c&&t.enableMarginLeft,initialPosition:"0",className:"ugb--help-tip-advanced-block-margins"})),wp.element.createElement(l.ob,{screen:"mobile"},wp.element.createElement(l.E,{label:Object(g.__)("Block Margins",s.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:R,bottom:I,right:M,left:U,unit:W,min:[-500,-100],max:[500,100],onChange:function(e){o({mobileMarginTop:e.top||0===e.top?parseInt(e.top,10):"",mobileMarginRight:e.right||0===e.right?parseInt(e.right,10):"",mobileMarginBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",mobileMarginLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({mobileMarginUnit:e})},enableTop:t.enableMarginTop,enableRight:"full"!==c&&t.enableMarginRight,enableBottom:t.enableMarginBottom,enableLeft:"full"!==c&&t.enableMarginLeft,initialPosition:"0",className:"ugb--help-tip-advanced-block-margins"}))),t.paddings&&wp.element.createElement(m.Fragment,null,wp.element.createElement(l.ob,{screen:"desktop"},wp.element.createElement(l.E,{label:Object(g.__)("Block Paddings",s.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:q,bottom:X,right:K,left:$,unit:Q,min:[0,0,0],max:[500,30,100],onChange:function(e){o({paddingTop:e.top||0===e.top?parseInt(e.top,10):"",paddingRight:e.right||0===e.right?parseInt(e.right,10):"",paddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",paddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({paddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,initialPosition:"10",className:"ugb--help-tip-advanced-block-paddings"})),wp.element.createElement(l.ob,{screen:"tablet"},wp.element.createElement(l.E,{label:Object(g.__)("Block Paddings",s.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:te,bottom:ae,right:ie,left:ce,unit:ue,min:[0,0,0],max:[500,30,100],onChange:function(e){o({tabletPaddingTop:e.top||0===e.top?parseInt(e.top,10):"",tabletPaddingRight:e.right||0===e.right?parseInt(e.right,10):"",tabletPaddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",tabletPaddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({tabletPaddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,className:"ugb--help-tip-advanced-block-paddings"})),wp.element.createElement(l.ob,{screen:"mobile"},wp.element.createElement(l.E,{label:Object(g.__)("Block Paddings",s.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:pe,bottom:me,right:fe,left:ve,unit:we,min:[0,0,0],max:[500,30,100],onChange:function(e){o({mobilePaddingTop:e.top||0===e.top?parseInt(e.top,10):"",mobilePaddingRight:e.right||0===e.right?parseInt(e.right,10):"",mobilePaddingBottom:e.bottom||0===e.bottom?parseInt(e.bottom,10):"",mobilePaddingLeft:e.left||0===e.left?parseInt(e.left,10):""})},onChangeUnit:function(e){return o({mobilePaddingUnit:e})},enableTop:t.enablePaddingTop,enableRight:t.enablePaddingRight,enableBottom:t.enablePaddingBottom,enableLeft:t.enablePaddingLeft,className:"ugb--help-tip-advanced-block-paddings"}))),Object(le.applyFilters)("stackable.".concat(e,".edit.advanced.block-spacing.after"),null,a)))}},Ai=function(e){return function(t,n){var a,o,i,r,l,s=Object(c.b)(n.attributes),u=n.attributes,b=u.blockInnerWidth,p=void 0===b?"":b,g=u.marginUnit,m=void 0===g?"px":g,d=u.tabletMarginUnit,f=void 0===d?"px":d,h=u.mobileMarginUnit,v=void 0===h?"px":h,y=u.paddingUnit,w=void 0===y?"px":y,O=u.tabletPaddingUnit,k=void 0===O?"px":O,_=u.mobilePaddingUnit,j=void 0===_?"px":_,C=u.blockHeightUnit,x=void 0===C?"px":C,E=u.tabletBlockHeightUnit,S=void 0===E?"px":E,B=u.mobileBlockHeightUnit,T=void 0===B?"px":B,A=u.blockWidthUnit,N=void 0===A?"px":A,P=u.tabletBlockWidthUnit,F=void 0===P?"px":P,R=u.mobileBlockWidthUnit,D=void 0===R?"px":R,M=".".concat(n.mainClassName),z=Object(le.applyFilters)("stackable.".concat(e,".advanced-block-spacing.margins"),(Bi(a={},M,{marginTop:Object(c.c)(s("marginTop","%s".concat(m))),marginRight:Object(c.c)(s("marginRight","%s".concat(m))),marginBottom:Object(c.c)(s("marginBottom","%s".concat(m))),marginLeft:Object(c.c)(s("marginLeft","%s".concat(m)))}),Bi(a,"tablet",Bi({},M,{marginTop:Object(c.c)(s("tabletMarginTop","%s".concat(f))),marginRight:Object(c.c)(s("tabletMarginRight","%s".concat(f))),marginBottom:Object(c.c)(s("tabletMarginBottom","%s".concat(f))),marginLeft:Object(c.c)(s("tabletMarginLeft","%s".concat(f)))})),Bi(a,"mobile",Bi({},M,{marginTop:Object(c.c)(s("mobileMarginTop","%s".concat(v))),marginRight:Object(c.c)(s("mobileMarginRight","%s".concat(v))),marginBottom:Object(c.c)(s("mobileMarginBottom","%s".concat(v))),marginLeft:Object(c.c)(s("mobileMarginLeft","%s".concat(v)))})),a)),I=Object(le.applyFilters)("stackable.".concat(e,".advanced-block-spacing.paddings"),(Bi(o={},M,{paddingTop:Object(c.c)(s("paddingTop","%s".concat(w))),paddingRight:Object(c.c)(s("paddingRight","%s".concat(w))),paddingBottom:Object(c.c)(s("paddingBottom","%s".concat(w))),paddingLeft:Object(c.c)(s("paddingLeft","%s".concat(w)))}),Bi(o,"tablet",Bi({},M,{paddingTop:Object(c.c)(s("tabletPaddingTop","%s".concat(k))),paddingRight:Object(c.c)(s("tabletPaddingRight","%s".concat(k))),paddingBottom:Object(c.c)(s("tabletPaddingBottom","%s".concat(k))),paddingLeft:Object(c.c)(s("tabletPaddingLeft","%s".concat(k)))})),Bi(o,"mobile",Bi({},M,{paddingTop:Object(c.c)(s("mobilePaddingTop","%s".concat(j))),paddingRight:Object(c.c)(s("mobilePaddingRight","%s".concat(j))),paddingBottom:Object(c.c)(s("mobilePaddingBottom","%s".concat(j))),paddingLeft:Object(c.c)(s("mobilePaddingLeft","%s".concat(j)))})),o)),L=(Bi(l={},M,{minHeight:s("blockHeight","%s".concat(x)),justifyContent:s("blockHorizontalAlign"),alignItems:s("blockVerticalAlign")}),Bi(l,"".concat(M," .ugb-inner-block"),{width:Object(c.c)(s("blockWidth","%s".concat(N))),minWidth:"wide"===p&&s("blockWidth")?"auto !important":void 0}),Bi(l,"tablet",(Bi(i={},M,{minHeight:s("tabletBlockHeight","%s".concat(S)),justifyContent:s("tabletBlockHorizontalAlign"),alignItems:s("tabletBlockVerticalAlign")}),Bi(i,"".concat(M," .ugb-inner-block"),{width:Object(c.c)(s("tabletBlockWidth","%s".concat(F))),minWidth:"wide"===p&&s("tabletBlockWidth")?"auto !important":void 0}),i)),Bi(l,"mobile",(Bi(r={},M,{minHeight:Object(c.c)(s("mobileBlockHeight","%s".concat(T))),justifyContent:s("mobileBlockHorizontalAlign"),alignItems:s("mobileBlockVerticalAlign")}),Bi(r,"".concat(M," .ugb-inner-block"),{width:Object(c.c)(s("mobileBlockWidth","%s".concat(D))),minWidth:"wide"===p&&s("mobileBlockWidth")?"auto !important":void 0}),r)),Bi(l,"ie11",Bi({},M,{height:s("blockHeight","%s".concat(x))})),l);return yi.a.all([t,z,I,L])}},Ni=function(e){return Si({},e,{},Object(c.h)("%sMargin%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(c.h)("%sMarginUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(c.h)("%sPadding%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(c.h)("%sPaddingUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(c.h)("%sBlockHeight",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(c.h)("%sBlockHeightUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(c.h)("%sBlockWidth",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(c.h)("%sBlockWidthUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(c.h)("%sBlock%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]))},Pi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Si({margins:!0,paddings:!0,height:!0,width:!0,horizontalAlign:!0,verticalAlign:!0,modifyStyles:!0,enableMarginTop:!0,enableMarginRight:!0,enableMarginBottom:!0,enableMarginLeft:!0,enablePaddingTop:!0,enablePaddingRight:!0,enablePaddingBottom:!0,enablePaddingLeft:!0},t);Object(le.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-block-spacing"),Ti(e,n),5),n.modifyStyles&&Object(le.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/advanced-block-spacing"),Ai(e)),Object(le.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-block-spacing"),Ni),Object(le.doAction)("stackable.module.advanced-block-spacing",e)};function Fi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ri(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Di=function(e){return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(l.X,{title:Object(g.__)("Column Spacing & More",s.i18n),initialOpen:!1,className:"ugb--help-tip-advanced-column-spacing"},wp.element.createElement(l.ab,{type:"advanced"})))},Mi=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fi(n,!0).forEach(function(t){Ri(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fi(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{},Object(c.h)("%sColumnPadding%s",{type:"number",default:""},["","Tablet","Mobile"],["Top","Right","Bottom","Left"]),{},Object(c.h)("%sColumnPaddingUnit",{type:"string",default:"px"},["","Tablet","Mobile"]),{},Object(c.h)("%sColumnGap",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(c.h)("%sColumnHeight",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(c.h)("%sColumnContent%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]),{},Object(c.h)("%sColumn%sAlign",{type:"string",default:""},["","Tablet","Mobile"],["Vertical","Horizontal"]))},zi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s.showProNotice&&Object(le.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/fine-grained"),Di,6),Object(le.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-column-spacing"),Mi),Object(le.doAction)("stackable.module.advanced-column-spacing",e,t)};function Ii(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Li(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ii(n,!0).forEach(function(t){Ui(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ii(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Ui(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hi=function(e,t){var n=t.attributes,a=n.hideDesktop,o=void 0!==a&&a,i=n.hideTablet,r=void 0!==i&&i,l=n.hideMobile;return Li({},e,{"ugb--hide-desktop":o,"ugb--hide-tablet":r,"ugb--hide-mobile":void 0!==l&&l})},Wi=function(e){return Li({},e,{hideDesktop:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1}})},Gi=function(e){Object(le.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-responsive"),function(e){return function(t,n){var a=n.setAttributes,o=n.attributes,i=o.hideDesktop,r=void 0!==i&&i,l=o.hideTablet,c=void 0!==l&&l,b=o.hideMobile,p=void 0!==b&&b;return wp.element.createElement(m.Fragment,null,t,wp.element.createElement(u.PanelBody,{title:Object(g.__)("Responsive",s.i18n),initialOpen:!1},Object(le.applyFilters)("stackable.".concat(e,".edit.advanced.responsive.before"),null,n),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Hide on Desktop",s.i18n),checked:r,onChange:function(e){return a({hideDesktop:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Hide on Tablet",s.i18n),checked:c,onChange:function(e){return a({hideTablet:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Hide on Mobile",s.i18n),checked:p,onChange:function(e){return a({hideMobile:e})}}),Object(le.applyFilters)("stackable.".concat(e,".edit.advanced.responsive.after"),null,n)))}}(e),19),Object(le.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-responsive"),Wi),Object(le.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/advanced-responsive"),Hi),Object(le.doAction)("stackable.module.advanced-responsive",e)};function qi(){return(qi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function Vi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Xi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vi(n,!0).forEach(function(t){Yi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vi(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Yi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ki=[],Ji=function(e){return Xi({},e,{supports:Xi({},e.supports,{align:null})})},$i=function(e){return Object(S.includes)(["center","wide","full"],e)},Zi=Object(d.createHigherOrderComponent)(Object(d.compose)([Object(h.withSelect)(function(e){return{hasWideEnabled:!!(0,e("core/block-editor").getSettings)().alignWide}}),function(e){return function(t){var n=t.attributes,a=t.name,o=n.align,i=t.wrapperProps;return Ki.includes(a)&&$i(o)&&(i=Xi({},i,{"data-align":o})),wp.element.createElement(e,qi({},t,{wrapperProps:i}))}}]));function Qi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qi(n,!0).forEach(function(t){tr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qi(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(le.addFilter)("editor.BlockListBlock","stackable/with-data-align",Zi),Object(le.addFilter)("blocks.getSaveContent.extraProps","stackable/addAssignedAlign",function(e,t,n){var a=t.name,o=n.align;return Ki.includes(a)?($i(o)&&(e.className=I()("align".concat(o),e.className)),e):e}),Object(le.removeFilter)("stackable.setAttributes","stackable/module/block-background/show"),Object(le.addFilter)("stackable.setAttributes","stackable/module/block-background/show",function(e,t){if(void 0===e.showBlockBackground)return e;var n=t.attributes,a=n.align,o=void 0===a?"":a,i=n.blockInnerWidth,r=void 0===i?"":i;return e.align=e.showBlockBackground?"full":r||"center",e.blockInnerWidth=e.showBlockBackground?o||"center":"",e});var nr=function(e,t){var n=t.setAttributes,a=t.attributes,o=a.showBlockBackground,i=void 0!==o&&o,r=a.noPaddings,b=void 0===r?"":r;return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(l.X,{title:Object(g.__)("Block Background",s.i18n),id:"block-background",checked:i,onChange:function(e){return n({showBlockBackground:e})},toggleOnSetAttributes:Object(c.i)("blockBackground%s"),toggleAttributeName:"showBlockBackground",className:"ugb--help-tip-background-on-off"},wp.element.createElement(l.t,null),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("No Paddings",s.i18n),checked:b,onChange:function(e){return n({noPaddings:e})}}),wp.element.createElement(l.g,{attrNameTemplate:"blockBackground%s",setAttributes:n,blockAttributes:t.attributes})))},ar=function(e,t){var n=t.setAttributes,a=t.attributes,o=a.showBlockBackground,i=void 0!==o&&o,r=a.align,l=void 0===r?"":r,c=a.blockInnerWidth,b=void 0===c?"":c;return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(p.BlockControls,null,!i&&wp.element.createElement(p.BlockAlignmentToolbar,{value:l,onChange:function(e){var t=i&&!e?"full":e;n(i?{align:"full",blockInnerWidth:"center"===t?"":t}:{align:t})},controls:["center","wide","full"]}),i&&wp.element.createElement(u.Toolbar,{label:Object(g.__)("Change Alignment",s.i18n),controls:[{icon:"align-center",title:Object(g.__)("Align center",s.i18n),isActive:""===b||"center"===b,onClick:function(){n({blockInnerWidth:"center"})}},{icon:"align-wide",title:Object(g.__)("Wide width",s.i18n),isActive:"wide"===b,onClick:function(){n({blockInnerWidth:"wide"})}},{icon:"align-full-width",title:Object(g.__)("Full width",s.i18n),isActive:"full"===b,onClick:function(){n({blockInnerWidth:"full"})}}]})))},or=function(e){return er({},e,{supports:er({},e.supports,{align:["center","wide","full"]})})},ir=function(e){return er({},e,{showBlockBackground:{type:"boolean",default:!1},blockInnerWidth:{type:"string",default:""},align:{type:"string"},noPaddings:{type:"boolean",default:""}},Object(c.j)("blockBackground%s"))},rr=function(e,t){var n,a=t.attributes,o=a.showBlockBackground,i=void 0!==o&&o,r=a.blockInnerWidth,l=void 0===r?"":r;return i?er({},e,(tr(n={},"ugb-main-block--inner-".concat(l),l),tr(n,"ugb--has-block-background",i),tr(n,"ugb--has-background-overlay",Object(c.M)("blockBackground%s",t.attributes)),n)):e},lr=function(e,t,n){return n.attributes.showBlockBackground?wp.element.createElement(m.Fragment,null,e,Object(c.E)("blockBackground%s",n)):e},cr=function(e,t){var n,a,o,i=Object(c.b)(t.attributes);if(!t.attributes.showBlockBackground)return e;var r=(tr(o={},".".concat(t.mainClassName),er({},Object(c.m)("blockBackground%s","desktop",t.attributes))),tr(o,"",{padding:i("noPaddings")?"0 !important":void 0}),tr(o,".".concat(t.mainClassName,":before"),er({},Object(c.k)("blockBackground%s","desktop",t.attributes))),tr(o,"tablet",(tr(n={},".".concat(t.mainClassName),er({},Object(c.m)("blockBackground%s","tablet",t.attributes))),tr(n,".".concat(t.mainClassName,":before"),er({},Object(c.k)("blockBackground%s","tablet",t.attributes))),n)),tr(o,"mobile",(tr(a={},".".concat(t.mainClassName),er({},Object(c.m)("blockBackground%s","mobile",t.attributes))),tr(a,".".concat(t.mainClassName,":before"),er({},Object(c.k)("blockBackground%s","mobile",t.attributes))),a)),o);return yi()(e,r)},sr=function(e){return Object(S.omit)(e,["blockBackgroundBackgroundMediaId"])};function ur(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function br(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ur(n,!0).forEach(function(t){pr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ur(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a=n.setAttributes,o=n.attributes,i=o.showTopSeparator,r=void 0!==i&&i,c=o.topSeparatorDesign,b=void 0===c?"wave-1":c,p=o.topSeparatorColor,d=void 0===p?"":p,f=o.topSeparatorWidth,h=void 0===f?"":f,v=o.topSeparatorFlipHorizontally,y=void 0!==v&&v,w=o.topSeparatorFlipVertically,O=void 0!==w&&w,k=o.topSeparatorShadow,_=void 0===k||k,j=o.topSeparatorBringToFront,C=void 0!==j&&j,x=o.showBottomSeparator,E=void 0!==x&&x,S=o.bottomSeparatorDesign,B=void 0===S?"wave-1":S,T=o.bottomSeparatorColor,A=void 0===T?"":T,N=o.bottomSeparatorWidth,P=void 0===N?"":N,F=o.bottomSeparatorFlipHorizontally,R=void 0!==F&&F,D=o.bottomSeparatorFlipVertically,M=void 0!==D&&D,z=o.bottomSeparatorShadow,I=void 0===z||z,L=o.bottomSeparatorBringToFront,U=void 0!==L&&L;return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(l.X,{title:Object(g.__)("Top Separator",s.i18n),id:"top-separator",checked:r,onChange:function(e){return a({showTopSeparator:e})},toggleOnSetAttributes:["topSeparatorDesign","topSeparatorColor","topSeparatorHeight","topSeparatorTabletHeight","topSeparatorMobileHeight","topSeparatorWidth","topSeparatorFlipHorizontally","topSeparatorFlipVertically","topSeparatorShadow","topSeparatorBringToFront","showTopSeparatorLayer2","showTopSeparatorLayer3","topSeparatorLayer2Color","topSeparatorLayer3Color","topSeparatorLayer2BlendMode","topSeparatorLayer3BlendMode","topSeparatorLayer2Height","topSeparatorLayer3Height","topSeparatorLayer2Width","topSeparatorLayer3Width","topSeparatorLayer2Opacity","topSeparatorLayer3Opacity","topSeparatorLayer2FlipHorizontally","topSeparatorLayer3FlipHorizontally"],toggleAttributeName:"showTopSeparator",className:"ugb-top-block-separator-panel ugb--help-tip-separator-top-on"},wp.element.createElement(l.A,{label:Object(g.__)("Design",s.i18n),selected:b,onChange:function(e){return a({topSeparatorDesign:e})}}),wp.element.createElement(l.r,{label:Object(g.__)("Color",s.i18n),value:d,onChange:function(e){return a({topSeparatorColor:e})}}),wp.element.createElement(l.cb,{attrNameTemplate:"topSeparator%sHeight",setAttributes:a,blockAttributes:n.attributes},wp.element.createElement(l.b,{label:Object(g.__)("Height",s.i18n),min:"30",max:"400",allowReset:!0,placeholder:"200",className:"ugb--help-tip-separator-height"})),wp.element.createElement(l.b,{label:Object(g.__)("Width",s.i18n),min:"1",max:"4",step:"0.1",value:h,onChange:function(e){return a({topSeparatorWidth:e})},allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-separator-width"}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Flip Horizontally",s.i18n),checked:y,onChange:function(e){return a({topSeparatorFlipHorizontally:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Flip Vertically",s.i18n),checked:O,onChange:function(e){return a({topSeparatorFlipVertically:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Shadow",s.i18n),checked:_,onChange:function(e){return a({topSeparatorShadow:e})},className:"ugb--help-tip-separator-shadow"}),t.enableBringToFront&&wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Bring to Front",s.i18n),checked:C,onChange:function(e){return a({topSeparatorBringToFront:e})},className:"ugb--help-tip-separator-bring-to-front"}),Object(le.applyFilters)("stackable.block-separators.edit.top",null,n),s.showProNotice&&wp.element.createElement(l.bb,{title:Object(g.__)("Say Hello to Gorgeous Separators 👋",s.i18n),description:Object(g.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",s.i18n)})),wp.element.createElement(l.X,{title:Object(g.__)("Bottom Separator",s.i18n),id:"bottom-separator",checked:E,onChange:function(e){return a({showBottomSeparator:e})},toggleOnSetAttributes:["bottomSeparatorDesign","bottomSeparatorColor","bottomSeparatorHeight","bottomSeparatorTabletHeight","bottomSeparatorMobileHeight","bottomSeparatorWidth","bottomSeparatorFlipHorizontally","bottomSeparatorFlipVertically","bottomSeparatorShadow","bottomSeparatorBringToFront","showBottomSeparatorLayer2","showBottomSeparatorLayer3","bottomSeparatorLayer2Color","bottomSeparatorLayer3Color","bottomSeparatorLayer2BlendMode","bottomSeparatorLayer3BlendMode","bottomSeparatorLayer2Height","bottomSeparatorLayer3Height","bottomSeparatorLayer2Width","bottomSeparatorLayer3Width","bottomSeparatorLayer2Opacity","bottomSeparatorLayer3Opacity","bottomSeparatorLayer2FlipHorizontally","bottomSeparatorLayer3FlipHorizontally"],toggleAttributeName:"showBottomSeparator",className:"ugb-bottom-block-separator-panel ugb--help-tip-separator-bottom-on"},wp.element.createElement(l.A,{label:Object(g.__)("Design",s.i18n),selected:B,onChange:function(e){return a({bottomSeparatorDesign:e})}}),wp.element.createElement(l.r,{label:Object(g.__)("Color",s.i18n),value:A,onChange:function(e){return a({bottomSeparatorColor:e})}}),wp.element.createElement(l.cb,{attrNameTemplate:"bottomSeparator%sHeight",setAttributes:a,blockAttributes:n.attributes},wp.element.createElement(l.b,{label:Object(g.__)("Height",s.i18n),min:"30",max:"400",allowReset:!0,placeholder:"200",className:"ugb--help-tip-separator-height"})),wp.element.createElement(l.b,{label:Object(g.__)("Width",s.i18n),min:"1",max:"4",step:"0.1",value:P,onChange:function(e){return a({bottomSeparatorWidth:e})},allowReset:!0,placeholder:"1.0",className:"ugb--help-tip-separator-width"}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Flip Horizontally",s.i18n),checked:R,onChange:function(e){return a({bottomSeparatorFlipHorizontally:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Flip Vertically",s.i18n),checked:M,onChange:function(e){return a({bottomSeparatorFlipVertically:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Shadow",s.i18n),checked:I,onChange:function(e){return a({bottomSeparatorShadow:e})},className:"ugb--help-tip-separator-shadow"}),t.enableBringToFront&&wp.element.createElement(u.ToggleControl,{label:Object(g.__)("Bring to Front",s.i18n),checked:U,onChange:function(e){return a({bottomSeparatorBringToFront:e})},className:"ugb--help-tip-separator-bring-to-front"}),Object(le.applyFilters)("stackable.block-separators.edit.bottom",null,n),s.showProNotice&&wp.element.createElement(l.bb,{title:Object(g.__)("Say Hello to Gorgeous Separators 👋",s.i18n),description:Object(g.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",s.i18n)})))}},mr=function(e){return br({},e,{},Object(c.h)("Show%sSeparator",{type:"boolean",default:""},["Top","Bottom"]),{},Object(c.h)("%sSeparator%s",{type:"string",default:"wave-1"},["Top","Bottom"],["Design"]),{},Object(c.h)("%sSeparator%s",{type:"string",default:""},["Top","Bottom"],["Color"]),{},Object(c.h)("%sSeparator%s",{type:"number",default:""},["Top","Bottom"],["Height","TabletHeight","MobileHeight","Width"]),{},Object(c.h)("%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["FlipHorizontally","FlipVertically","BringToFront"]),{},Object(c.h)("%sSeparatorShadow",{type:"boolean",default:!0},["Top","Bottom"]),{},Object(c.h)("Show%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["Layer2","Layer3"]),{},Object(c.h)("%sSeparator%s",{type:"string",default:""},["Top","Bottom"],["Layer2Color","Layer3Color","Layer2BlendMode","Layer3BlendMode"]),{},Object(c.h)("%sSeparator%s",{type:"number",default:""},["Top","Bottom"],["Layer2Height","Layer3Height","Layer2Width","Layer3Width","Layer2Opacity","Layer3Opacity"]),{},Object(c.h)("%sSeparator%s",{type:"boolean",default:""},["Top","Bottom"],["Layer2FlipHorizontally","Layer3FlipHorizontally"]))},dr=function(e,t,n){var a=n.attributes,o=a.showTopSeparator,i=void 0!==o&&o,r=a.topSeparatorDesign,c=void 0===r?"wave-1":r,s=a.topSeparatorFlipVertically,u=void 0!==s&&s,b=a.topSeparatorShadow,p=void 0===b||b,g=a.showBottomSeparator,d=void 0!==g&&g,f=a.bottomSeparatorDesign,h=void 0===f?"wave-1":f,v=a.bottomSeparatorFlipVertically,y=void 0!==v&&v,w=a.bottomSeparatorShadow,O=void 0===w||w;return wp.element.createElement(m.Fragment,null,e,i&&wp.element.createElement(m.Fragment,null,wp.element.createElement("div",{className:"ugb-top-separator"},wp.element.createElement(l.db,{design:c,shadow:p,inverted:u},Object(le.applyFilters)("stackable.module.block-separator.output.top.after",null,n)))),d&&wp.element.createElement(m.Fragment,null,wp.element.createElement("div",{className:"ugb-bottom-separator"},wp.element.createElement(l.db,{design:h,shadow:O,inverted:y},Object(le.applyFilters)("stackable.module.block-separator.output.bottom.after",null,n)))))},fr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a,o=n.attributes,i=o.showTopSeparator,r=void 0!==i&&i,l=o.topSeparatorColor,c=void 0===l?"":l,s=o.topSeparatorHeight,u=void 0===s?"":s,b=o.topSeparatorTabletHeight,p=void 0===b?"":b,g=o.topSeparatorMobileHeight,m=void 0===g?"":g,d=o.topSeparatorWidth,f=void 0===d?"":d,h=o.topSeparatorFlipHorizontally,v=void 0!==h&&h,y=o.topSeparatorBringToFront,w=void 0!==y&&y;if(!r)return e;var O=(pr(a={},".ugb-top-separator",{zIndex:t.enableBringToFront&&w?6:void 0,transform:v?"scale(-1)":void 0}),pr(a,".ugb-top-separator svg",{fill:""!==c?c:void 0}),pr(a,".ugb-top-separator .ugb-separator-wrapper",{height:""!==u?"".concat(u,"px"):void 0,transform:""!==f?"scaleX(".concat(f,")"):void 0}),pr(a,"tablet",pr({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==p?"".concat(p,"px"):void 0})),pr(a,"mobile",pr({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==m?"".concat(m,"px"):void 0})),a);return yi()(e,O)}},hr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a,o=n.attributes,i=o.showBottomSeparator,r=void 0!==i&&i,l=o.bottomSeparatorColor,c=void 0===l?"":l,s=o.bottomSeparatorHeight,u=void 0===s?"":s,b=o.bottomSeparatorTabletHeight,p=void 0===b?"":b,g=o.bottomSeparatorMobileHeight,m=void 0===g?"":g,d=o.bottomSeparatorWidth,f=void 0===d?"":d,h=o.bottomSeparatorFlipHorizontally,v=void 0!==h&&h,y=o.bottomSeparatorBringToFront,w=void 0!==y&&y;if(!r)return e;var O=(pr(a={},".ugb-bottom-separator",{zIndex:t.enableBringToFront&&w?6:void 0,transform:v?"scaleX(-1)":void 0}),pr(a,".ugb-bottom-separator svg",{fill:""!==c?c:void 0}),pr(a,".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==u?"".concat(u,"px"):void 0,transform:""!==f?"scaleX(".concat(f,")"):void 0}),pr(a,"tablet",pr({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==p?"".concat(p,"px"):void 0})),pr(a,"mobile",pr({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==m?"".concat(m,"px"):void 0})),a);return yi()(e,O)}},vr=function(e,t){var n=t.attributes,a=n.showTopSeparator,o=void 0!==a&&a,i=n.showBottomSeparator;return br({},e,{"ugb--has-top-separator":o,"ugb--has-bottom-separator":void 0!==i&&i})};function yr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function wr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yr(n,!0).forEach(function(t){Or(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Or(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function kr(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var _r=function(e,t){var n=t.setAttributes,a=t.attributes,o=a.showBlockTitle,i=void 0!==o&&o,r=a.blockTitleTag,u=void 0===r?"":r,b=a.blockTitleColor,p=void 0===b?"":b,d=a.showBlockDescription,f=void 0!==d&&d,h=a.blockDescriptionColor,v=void 0===h?"":h,y=a.blockTitle,w=void 0===y?"":y,O=a.blockDescription,k=void 0===O?"":O;return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(l.X,{title:Object(g.__)("Block Title",s.i18n),id:"block-title",className:"ugb-panel-block-title-module",checked:i,onChange:function(e){var t={showBlockTitle:e};e&&""===w&&(t.blockTitle=Object(g.__)("Title for This Block",s.i18n)),n(t)},toggleOnSetAttributes:[].concat(kr(Object(c.B)("blockTitle%s")),["blockTitleTag","blockTitleColor"],kr(Object(c.w)("blockTitle%sAlign"))),toggleAttributeName:"showBlockTitle"},wp.element.createElement(l.lb,{attrNameTemplate:"blockTitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(l.G,{value:u||"h2",onChange:function(e){return n({blockTitleTag:e})}}),wp.element.createElement(l.r,{value:p,onChange:function(e){return n({blockTitleColor:e})},label:Object(g.__)("Title Color",s.i18n)}),wp.element.createElement(l.cb,{attrNameTemplate:"BlockTitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(l.e,{label:Object(g.__)("Align",s.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(l.X,{title:Object(g.__)("Block Description",s.i18n),id:"block-description",checked:f,onChange:function(e){var t={showBlockDescription:e};e&&""===k&&(t.blockDescription=Object(c.F)()),n(t)},toggleOnSetAttributes:[].concat(kr(Object(c.B)("blockDescription%s")),["blockDescriptionTag","blockDescriptionColor"],kr(Object(c.w)("blockDescription%sAlign"))),toggleAttributeName:"showBlockDescription"},wp.element.createElement(l.lb,{attrNameTemplate:"blockDescription%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(l.r,{value:v,onChange:function(e){return n({blockDescriptionColor:e})},label:Object(g.__)("Description Color",s.i18n)}),wp.element.createElement(l.cb,{attrNameTemplate:"BlockDescription%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(l.e,{label:Object(g.__)("Align",s.i18n),className:"ugb--help-tip-alignment-description"}))))},jr=function(e){return wr({},e,{showBlockTitle:{type:"boolean",default:!1},blockTitle:{source:"html",selector:".ugb-block-title",default:Object(g.__)("Title for This Block",s.i18n)}},Object(c.x)("blockTitle%sBottomMargin",{type:"number",default:""}),{},Object(c.C)("blockTitle%s"),{},Object(c.x)("blockTitle%sAlign",{type:"string",default:""}),{blockTitleColor:{type:"string",default:""},blockTitleTag:{type:"string",default:""},showBlockDescription:{type:"boolean",default:!1},blockDescription:{source:"html",selector:".ugb-block-description",default:Object(c.F)()}},Object(c.x)("blockDescription%sBottomMargin",{type:"number",default:""}),{},Object(c.C)("blockDescription%s"),{},Object(c.x)("blockDescription%sAlign",{type:"string",default:""}),{blockDescriptionColor:{type:"string",default:""}})},Cr=function(e,t,n){var a=n.setAttributes,o=n.attributes,i=o.showBlockTitle,r=void 0!==i&&i,l=o.blockTitle,u=void 0===l?"":l,b=o.blockTitleTag,d=void 0===b?"":b,f=o.showBlockDescription,h=void 0!==f&&f,v=o.blockDescription,y=void 0===v?"":v,w=I()(["ugb-block-title"],{"ugb-block-title--with-subtitle":h&&y});return wp.element.createElement(m.Fragment,null,e,r&&wp.element.createElement(p.RichText,{tagName:d||"h2",value:u,className:w,onChange:function(e){return a({blockTitle:e})},placeholder:Object(g.__)("Title for This Block",s.i18n),keepPlaceholderOnFocus:!0}),h&&wp.element.createElement(p.RichText,{tagName:"p",value:y,className:"ugb-block-description",onChange:function(e){return a({blockDescription:e})},placeholder:Object(c.F)(),keepPlaceholderOnFocus:!0}))},xr=function(e,t){var n=t.setAttributes,a=t.attributes,o=a.showBlockTitle,i=void 0!==o&&o,r=a.showBlockDescription,c=void 0!==r&&r;return wp.element.createElement(m.Fragment,null,e,i&&wp.element.createElement(l.cb,{attrNameTemplate:"blockTitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(l.b,{label:Object(g.__)("Block Title",s.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-block-title"})),c&&wp.element.createElement(l.cb,{attrNameTemplate:"blockDescription%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(l.b,{label:Object(g.__)("Block Description",s.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-block-description"})))},Er=function(e,t,n){var a=n.attributes,o=a.showBlockTitle,i=void 0!==o&&o,r=a.blockTitle,l=void 0===r?"":r,c=a.blockTitleTag,s=void 0===c?"":c,u=a.showBlockDescription,b=void 0!==u&&u,g=a.blockDescription,d=void 0===g?"":g,f=I()(["ugb-block-title"],{"ugb-block-title--with-subtitle":b&&d});return wp.element.createElement(m.Fragment,null,e,i&&!p.RichText.isEmpty(l)&&wp.element.createElement(p.RichText.Content,{tagName:s||"h2",className:f,value:l}),b&&!p.RichText.isEmpty(d)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-block-description",value:d}))},Sr=function(e,t){var n=Object(c.b)(t.attributes),a=t.attributes,o=a.showBlockTitle,i=void 0!==o&&o,r=a.blockTitleColor,l=void 0===r?"":r,s=a.showBlockDescription,u=void 0!==s&&s,b=a.blockDescriptionColor,p=void 0===b?"":b,g=a.showBlockBackground,m=void 0!==g&&g,d=a.blockBackgroundBackgroundColor,f=void 0===d?"":d,h=[e];return i&&h.push({".ugb-block-title":wr({},Object(c.D)("BlockTitle%s","desktop",t.attributes),{color:Object(c.db)(l,m&&f),textAlign:n("blockTitleAlign"),marginBottom:n("blockTitleBottomMargin","%spx")}),tablet:{".ugb-block-title":wr({},Object(c.D)("BlockTitle%s","tablet",t.attributes),{textAlign:n("blockTitleTabletAlign"),marginBottom:n("blockTitleTabletBottomMargin","%spx")})},mobile:{".ugb-block-title":wr({},Object(c.D)("BlockTitle%s","mobile",t.attributes),{textAlign:n("blockTitleMobileAlign"),marginBottom:n("blockTitleMobileBottomMargin","%spx")})}}),u&&h.push({".ugb-block-description":wr({},Object(c.D)("BlockDescription%s","desktop",t.attributes),{color:Object(c.db)(p,m&&f),textAlign:n("blockDescriptionAlign"),marginBottom:n("blockDescriptionBottomMargin","%spx")}),tablet:{".ugb-block-description":wr({},Object(c.D)("BlockDescription%s","tablet",t.attributes),{textAlign:n("blockDescriptionTabletAlign"),marginBottom:n("blockDescriptionTabletBottomMargin","%spx")})},mobile:{".ugb-block-description":wr({},Object(c.D)("BlockDescription%s","mobile",t.attributes),{textAlign:n("blockDescriptionMobileAlign"),marginBottom:n("blockDescriptionMobileBottomMargin","%spx")})}}),yi.a.all(h)},Br=function(e){return Object(S.omit)(wr({},e,{blockTitle:Object(g.__)("Title for This Block",s.i18n),blockDescription:Object(c.F)()}),[e.showBlockTitle?"blockTitle":"",e.showBlockDescription?"blockDescription":""])},Tr=function(e){return[].concat(kr(e),["BlockTitle%sAlign","BlockDescription%sAlign"])};function Ar(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Nr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ar(n,!0).forEach(function(t){Pr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ar(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Pr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fr=function(e){return function(t){return wp.element.createElement(m.Fragment,null,t,wp.element.createElement(u.PanelBody,{title:Object(g.__)("Designs",s.i18n),initialOpen:!0},wp.element.createElement("p",{className:"components-base-control__help"},Object(g.__)("You will not lose your block content when changing designs.",s.i18n)),wp.element.createElement(l.w,{block:"ugb/".concat(e),onSelect:function(e){Object(c.e)(e.attributes)}})))}};function Rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Dr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Mr=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rr(n,!0).forEach(function(t){Dr(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{},Object(c.h)("%sContentAlign",{type:"string",default:""},["","Tablet","Mobile"]))},zr=function(e,t){var n=Object(c.b)(t.attributes),a=[e];return a.push({".ugb-inner-block":{textAlign:n("contentAlign")},tablet:{".ugb-inner-block":{textAlign:n("tabletContentAlign")}},mobile:{".ugb-inner-block":{textAlign:n("mobileContentAlign")}}}),yi.a.all(a)},Ir=function(e,t){var n=t.setAttributes,a=t.attributes.contentAlign,o=void 0===a?"":a;return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(p.BlockControls,null,wp.element.createElement(p.AlignmentToolbar,{value:o,onChange:function(e){return n({contentAlign:e})}})))};function Lr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ur(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Hr=function(e){return wp.element.createElement(m.Fragment,null,e,wp.element.createElement(u.PanelBody,{initialOpen:!1,title:Object(g.__)("Custom CSS",s.i18n)},wp.element.createElement(l.ab,{title:Object(g.__)("Say Hello to Custom CSS 👋",s.i18n),description:Object(g.__)("Further tweak this block by adding guided custom CSS rules. This feature is only available on Stackable Premium",s.i18n)})))},Wr=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lr(n,!0).forEach(function(t){Ur(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""}})},Gr=function(e,t,n){var a=n.mainClassName,o=n.attributes,i=o.customCSS,r=void 0===i?"":i,l=o.uniqueClass,s=void 0===l?n.attributes.customCSSUniqueID||"":l,u=Object(c.V)(Object(c.g)(r,a,s),!0);return wp.element.createElement(m.Fragment,null,e,u&&wp.element.createElement("style",null,u))},qr={},Vr=function(e,t){qr[e]=t},Xr=function(e){return qr[e]},Yr=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Xr(t)){var a=Kr.reduce(function(e,n){var a=n.name,o=n.module;return t===a?o:e},null);a&&Vr(t,a)}var o=Xr(t);o&&o(e,n)},Kr=[{name:"advanced-general",module:xi},{name:"advanced-responsive",module:Gi},{name:"advanced-block-spacing",module:Pi},{name:"advanced-column-spacing",module:zi},{name:"block-background",module:function(e){Object(le.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-background"),nr,18),Object(le.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-background"),ir),Object(le.addFilter)("stackable.".concat(e,".edit.inspector.before"),"stackable/".concat(e,"/block-background"),ar),Object(le.addFilter)("stackable.".concat(e,".settings"),"stackable/".concat(e,"/block-background"),or),Object(le.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/block-background"),rr),Object(le.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-background"),cr),Object(le.addFilter)("stackable.".concat(e,".edit.output.outer"),"stackable/".concat(e,"/block-separators"),lr),Object(le.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/".concat(e,"/block-separators"),lr),Object(le.addFilter)("stackable.".concat(e,".design.filtered-block-attributes"),"stackable/".concat(e,"/block-separators"),sr),Object(le.doAction)("stackable.module.block-background",e),function(e){Object(le.addFilter)("stackable.".concat(e,".settings"),"stackable/".concat(e,"/block-background"),Ji,99),Ki.push("ugb/".concat(e))}(e)}},{name:"block-separators",module:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=br({enableBringToFront:!0},t);Object(le.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-separators"),gr(e,n),18),Object(le.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-separators"),mr),Object(le.addFilter)("stackable.".concat(e,".edit.output.outer"),"stackable/".concat(e,"/block-separators"),dr),Object(le.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/".concat(e,"/block-separators"),dr),Object(le.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-separators/top"),fr(e,n)),Object(le.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-separators/bottom"),hr(e,n)),Object(le.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/block-separators"),vr),Object(le.doAction)("stackable.module.block-separators",e)}},{name:"block-title",module:function(e){Object(le.removeFilter)("stackable.panel-spacing-body.edit.before","stackable/block-title"),Object(le.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-title"),_r,17),Object(le.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-title"),jr),Object(le.addFilter)("stackable.panel-spacing-body.edit.before","stackable/block-title",xr),Object(le.addFilter)("stackable.".concat(e,".edit.output.before"),"stackable/".concat(e,"/block-title"),Cr),Object(le.addFilter)("stackable.".concat(e,".save.output.before"),"stackable/".concat(e,"/block-title"),Er),Object(le.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-title"),Sr),Object(le.addFilter)("stackable.with-content-align-reseter.attributeNamesToReset","stackable/".concat(e,"/block-title"),Tr),Object(le.addFilter)("stackable.".concat(e,".design.filtered-block-attributes"),"stackable/".concat(e,"/block-title"),Br),Object(le.doAction)("stackable.module.block-title",e)}},{name:"block-designs",module:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Nr({},t);Object(le.addFilter)("stackable.".concat(e,".edit.inspector.layout.before"),"stackable/".concat(e,"/block-designs"),Fr(e),20),Object(le.doAction)("stackable.module.block-designs",e)}},{name:"content-align",module:function(e){Object(le.addFilter)("stackable.".concat(e,".edit.inspector.before"),"stackable/".concat(e,"/content-align"),Ir,11),Object(le.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/content-align"),Mr),Object(le.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/content-align"),zr,9),Object(le.doAction)("stackable.module.content-align",e)}},{name:"custom-css",module:function(e){s.showProNotice&&Object(le.addFilter)("stackable.".concat(e,".edit.inspector.advanced.after"),"stackable/".concat(e,"/custom-css"),Hr,20),Object(le.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/custom-css"),Wr),s.isPro||Object(le.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/pro/".concat(e,"/custom-css/downgrade"),Gr),Object(le.doAction)("stackable.module.custom-css",e)}}],Jr=n(11);function $r(e){return($r="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})(e)}function Zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zr(n,!0).forEach(function(t){el(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function el(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var tl,nl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Object(C.getBlockType)(e)){var n=e.replace(/^\w+\//g,""),a=Qr({},t,{modules:Object(le.applyFilters)("stackable.".concat(n,".modules"),t.modules||{}),deprecated:(t.deprecated||[]).map(function(t){return Qr({},t,{save:Object(Jr.f)(e)(t.save)})})});return Object.keys(a.modules).forEach(function(e){var t=a.modules[e];t&&Yr(n,e,"object"===$r(t)?t:{})}),a.attributes=Object(le.applyFilters)("stackable.block.attributes",a.attributes),a.attributes=Object(le.applyFilters)("stackable.".concat(n,".attributes"),a.attributes),a.edit=Object(Jr.f)(e)(a.edit),a.save=Object(Jr.f)(e)(a.save),Object(C.registerBlockType)(e,Object(le.applyFilters)("stackable.".concat(n,".settings"),a)),a}};(tl=n(329)).keys().forEach(function(e){var t=tl(e),n=t.name,a=t.settings;try{return n&&a&&nl(n,a)}catch(e){console.error("Could not register ".concat(n," block"))}})},function(e,t,n){"use strict";n.r(t);var a=n(4),o=n.n(a);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var r=o.a.createElement("path",{className:"curve-1_svg__st2",d:"M1610 177.3C1423 122.9 1133.3 88 808 88c-334.7 0-631.8 37-818 94.1v28h1620v-32.8z"}),l=function(e){return o.a.createElement("svg",i({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),r)};function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var s=o.a.createElement("filter",{id:"curve-1-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),u=o.a.createElement("path",{className:"curve-1-shadow_svg__st2",d:"M808 87.9c-334.7 0-631.8 37-818 94.1v10c186.2-57.1 483.3-94.1 818-94.1 325.3 0 615 34.9 802 89.3v-10c-187-54.3-476.7-89.3-802-89.3z"}),b=function(e){return o.a.createElement("svg",c({viewBox:"0 0 1600 200",filter:"url(#curve-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),s,u)};function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=o.a.createElement("path",{className:"curve-2_svg__st2",d:"M-10 207.6h1620S1430.8 23.8 1138.3 23.8C884 23.8 234.9 140.1-10 197.9v9.7z"}),m=function(e){return o.a.createElement("svg",p({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),g)};function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var f=o.a.createElement("filter",{id:"curve-2-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),h=o.a.createElement("path",{className:"curve-2-shadow_svg__st2",d:"M1138.3 36.2c246.1 0 412 130.1 458.4 171.4h13.3S1430.8 23.8 1138.3 23.8C884 23.8 172 156.9-10 197.9v9.7H2.2C201.7 163.7 889.3 36.2 1138.3 36.2z"}),v=function(e){return o.a.createElement("svg",d({viewBox:"0 0 1600 200",filter:"url(#curve-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),f,h)};function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var w=o.a.createElement("path",{className:"curve-3_svg__st1",d:"M-6.7 13.4S456 171.1 876.1 171.1 1606.4 16 1606.4 16v192.6H-6.7V13.4z"}),O=function(e){return o.a.createElement("svg",y({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),w)};function k(){return(k=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var _=o.a.createElement("filter",{id:"curve-3-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),j=o.a.createElement("path",{className:"curve-3-shadow_svg__st1",d:"M876.1 171.1C456 171.1-6.7 13.4-6.7 13.4v13.7S456 184.8 876.1 184.8s730.3-155.1 730.3-155.1V16s-310.3 155.1-730.3 155.1z"}),C=function(e){return o.a.createElement("svg",k({viewBox:"0 0 1600 200",filter:"url(#curve-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),_,j)};function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=o.a.createElement("path",{className:"rounded-1_svg__st1",d:"M1602.9 209l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2V209h1610.9z"}),S=function(e){return o.a.createElement("svg",x({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),E)};function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=o.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),A=o.a.createElement("path",{className:"rounded-1-shadow_svg__st1",d:"M1491.2 20.7c48.1-3.8 90.6 32.5 94.4 80.6l8.5 107.7h8.8l-9.3-117.7c-3.8-48.1-46.3-84.4-94.4-80.6L-8 131.2v9.4L1491.2 20.7z"}),N=function(e){return o.a.createElement("svg",B({viewBox:"0 0 1600 200",filter:"url(#rounded-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),T,A)};function P(){return(P=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var F=o.a.createElement("path",{className:"rounded-2_svg__st2",d:"M1609.5 133.2h-9.5c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2l-10-.2v77h1619.5v-76.8z"}),R=function(e){return o.a.createElement("svg",P({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),F)};function D(){return(D=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var M=o.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),z=o.a.createElement("path",{className:"rounded-2-shadow_svg__st2",d:"M1600 133.2c0-10.9-8.9-19.8-19.8-19.8H19.8C8.9 113.3 0 122.2 0 133.2V210h9v-66.8c0-10.9 8.9-19.8 19.8-19.8h1542.4c10.9 0 19.8 8.9 19.8 19.8V210h9v-76.8z"}),I=function(e){return o.a.createElement("svg",D({viewBox:"0 0 1600 200",filter:"url(#rounded-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),M,z)};function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var U=o.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),H=function(e){return o.a.createElement("svg",L({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),U)};function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var G=o.a.createElement("filter",{id:"slant-1-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),q=o.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),V=function(e){return o.a.createElement("svg",W({viewBox:"0 0 1600 200",filter:"url(#slant-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),G,q)};function X(){return(X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Y=o.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),K=function(e){return o.a.createElement("svg",X({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Y)};function J(){return(J=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var $=o.a.createElement("filter",{id:"slant-2-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Z=o.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),Q=function(e){return o.a.createElement("svg",J({viewBox:"0 0 1600 200",filter:"url(#slant-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),$,Z)};function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=o.a.createElement("path",{className:"wave-1_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7V210h1620V102c-110.6-40.2-181-53.1-268.6-53.1z"}),ne=function(e){return o.a.createElement("svg",ee({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),te)};function ae(){return(ae=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var oe=o.a.createElement("filter",{id:"wave-1-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ie=o.a.createElement("path",{className:"wave-1-shadow_svg__st2",d:"M1341.4 48.9c-182.4 0-254.2 80.4-429.4 80.4-117.8 0-209.7-67.5-393.5-67.5-142.2 0-212.6 38.8-324.6 38.8S-10 64.7-10 64.7v10s91.9 35.9 203.9 35.9 182.4-38.8 324.6-38.8c183.8 0 275.7 67.5 393.5 67.5 175.2 0 247-80.4 429.4-80.4 87.6 0 158 12.9 268.6 53.1v-10c-110.6-40.2-181-53.1-268.6-53.1z"}),re=function(e){return o.a.createElement("svg",ae({viewBox:"0 0 1600 200",filter:"url(#wave-1-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),oe,ie)};function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ce=o.a.createElement("path",{className:"wave-2_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3V210h1620V91.6c-53 10-86.8-7.1-177.8-24.2z"}),se=function(e){return o.a.createElement("svg",le({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ce)};function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var be=o.a.createElement("filter",{id:"wave-2-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),pe=o.a.createElement("path",{className:"wave-2-shadow_svg__st2",d:"M1432.2 67.4c-88.8-16.7-156-5.3-204 8.5s-147.1 62.2-223.1 73.9c-75.4 11.6-164-7.5-275-27.9S571 88.1 456 98.1c-119.7 10.4-224.7 52-294.4 73-94.5 28.5-171.6-3-171.6-3v10s77.1 31.5 171.6 3c69.7-21 174.7-62.6 294.4-73 115-10 163.1 3.4 274.1 23.8 111 20.4 199.6 39.5 275 27.9 76-11.7 175.1-60.1 223.1-73.9s115.2-25.2 204-8.5c91 17.1 124.8 34.2 177.8 24.2v-10c-53 10-86.8-7.1-177.8-24.2z"}),ge=function(e){return o.a.createElement("svg",ue({viewBox:"0 0 1600 200",filter:"url(#wave-2-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),be,pe)};function me(){return(me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var de=o.a.createElement("path",{className:"wave-3_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.4 102-10 136.2-10 136.2v74.2h1620v-68.5s-68.8 19.5-196.4 19.5z"}),fe=function(e){return o.a.createElement("svg",me({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),de)};function he(){return(he=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ve=o.a.createElement("filter",{id:"wave-3-shadow_svg__a"},o.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),o.a.createElement("feComponentTransfer",null,o.a.createElement("feFuncA",{type:"linear",slope:.4})),o.a.createElement("feMerge",null,o.a.createElement("feMergeNode",null),o.a.createElement("feMergeNode",{in:"SourceGraphic"}))),ye=o.a.createElement("path",{className:"wave-3-shadow_svg__st2",d:"M1413.6 161.4c-157.9 0-338.2-37.7-495.1-67.4-215.6-40.8-328.1-44.6-418.2-41.1S317 73.4 188.5 102-10 136.2-10 136.2v10s69.9-5.7 198.5-34.3 221.7-45.7 311.8-49.1 202.6.3 418.2 41.1c156.9 29.7 337.2 67.4 495.1 67.4 127.6 0 196.4-19.4 196.4-19.4v-10s-68.8 19.5-196.4 19.5z"}),we={"wave-1":ne,"wave-2":se,"wave-3":fe,"curve-1":l,"curve-2":m,"curve-3":O,"slant-1":H,"slant-2":K,"rounded-1":S,"rounded-2":R},Oe={"wave-1":re,"wave-2":ge,"wave-3":function(e){return o.a.createElement("svg",he({viewBox:"0 0 1600 200",filter:"url(#wave-3-shadow_svg__a)",enableBackground:"new 0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),ve,ye)},"curve-1":b,"curve-2":v,"curve-3":C,"slant-1":V,"slant-2":Q,"rounded-1":N,"rounded-2":I},ke=n(5),_e=n(8),je=n.n(_e),Ce=[{attributes:{align:{type:"string",default:"full"},design:{type:"string",default:"wave-1"},height:{type:"number",default:200},flipVertically:{type:"boolean",default:!1},flipHorizontally:{type:"boolean",default:!1},backgroundColor:{type:"string",default:""},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingBottom:{type:"number",default:0},layer1Color:{type:"string",default:""},layer1Width:{type:"number",default:1},layer1Flip:{type:"boolean",default:!1},layer1Shadow:{type:"boolean",default:!1},layer2:{type:"boolean",default:!1},layer2Color:{type:"string",default:""},layer2Height:{type:"number",default:1},layer2Width:{type:"number",default:1},layer2Flip:{type:"boolean",default:!1},layer2Opacity:{type:"number",default:.5},layer3:{type:"boolean",default:!1},layer3Color:{type:"string",default:""},layer3Height:{type:"number",default:1},layer3Width:{type:"number",default:1},layer3Flip:{type:"boolean",default:!1},layer3Opacity:{type:"number",default:.5},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.height,o=n.design,i=void 0===o?"wave-1":o,r=n.marginTop,l=void 0===r?0:r,c=n.marginBottom,s=void 0===c?0:c,u=n.paddingTop,b=void 0===u?0:u,p=n.paddingBottom,g=void 0===p?0:p,m=n.backgroundColor,d=void 0===m?"":m,f=n.flipVertically,h=void 0!==f&&f,v=n.flipHorizontally,y=void 0!==v&&v,w=n.layer1Color,O=void 0===w?"":w,k=n.layer1Width,_=void 0===k?1:k,j=n.layer1Flip,C=void 0!==j&&j,x=n.layer1Shadow,E=void 0!==x&&x,S=je()([t,"ugb-separator","ugb-separator--design-".concat(i)],Object(ke.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":h,"ugb-separator--flip-horizontal":y},i,e)),B={backgroundColor:d||void 0,marginTop:"".concat(l-1,"px"),marginBottom:"".concat(s-1,"px")},T={height:"".concat(g,"px"),background:O||void 0},A={height:"".concat(b,"px"),background:d||void 0},N={height:a+"px"},P={fill:O||void 0,transform:_?"scaleX(".concat(_,")"):void 0};C&&(P.transform=P.transform?"".concat(P.transform," scaleX(-1)"):"scaleX(-1)");var F=we[i],R=Oe[i];return wp.element.createElement("div",{className:S,style:B,"aria-hidden":"true"},Object(ke.applyFilters)("stackable.separator.save.output.before_1_15",null,i,e),wp.element.createElement("div",{className:"ugb-separator__top-pad",style:A}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper",style:N},wp.element.createElement("div",{className:"ugb-separator__svg-inner"},E&&wp.element.createElement(R,{preserveAspectRatio:"none",style:P}),wp.element.createElement(F,{preserveAspectRatio:"none",style:P}),Object(ke.applyFilters)("stackable.separator.save.output.layers_1_15",null,i,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad",style:T}))}}],xe=n(3),Ee=n(1),Se=n(0),Be=n(7);Ee.showProNotice&&Object(ke.addFilter)("stackable.separator.edit.inspector.style.after","stackable/separator",function(e){return wp.element.createElement(Be.Fragment,null,e,wp.element.createElement(xe.X,{initialOpen:!1,title:Object(Se.sprintf)(Object(Se._x)("%s %d","Nth Title",Ee.i18n),Object(Se.__)("Layer",Ee.i18n),2),className:"ugb--help-tip-separator-layer2"},wp.element.createElement(xe.ab,{title:Object(Se.__)("Say Hello to Gorgeous Separators 👋",Ee.i18n),description:Object(Se.__)("Add a second layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",Ee.i18n)})),wp.element.createElement(xe.X,{initialOpen:!1,title:Object(Se.sprintf)(Object(Se._x)("%s %d","Nth Title",Ee.i18n),Object(Se.__)("Layer",Ee.i18n),3),className:"ugb--help-tip-separator-layer3"},wp.element.createElement(xe.ab,{title:Object(Se.__)("Say Hello to Gorgeous Separators 👋",Ee.i18n),description:Object(Se.__)("Add a third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",Ee.i18n)})))});var Te=n(11),Ae=n(2),Ne=function(e){var t,n=Object(Ae.b)(e.attributes),a=e.attributes,o=a.backgroundColor,i=void 0===o?"":o,r=a.layer1Color,l=void 0===r?"":r,c=a.layer1Width,s=void 0===c?1:c,u=a.layer1Flip,b=void 0!==u&&u,p=a.marginTop,g=void 0===p?0:p,m=a.marginBottom,d=void 0===m?0:m,f=a.marginUnit,h=void 0===f?"px":f,v=a.tabletMarginTop,y=void 0===v?"":v,w=a.tabletMarginBottom,O=void 0===w?"":w,k=a.tabletMarginUnit,_=void 0===k?"px":k,j=a.mobileMarginTop,C=void 0===j?"":j,x=a.mobileMarginBottom,E=void 0===x?"":x,S=a.mobileMarginUnit,B=void 0===S?"px":S,T=a.paddingTop,A=void 0===T?0:T,N=a.paddingBottom,P=void 0===N?0:N,F=a.paddingUnit,R=void 0===F?"px":F,D=a.tabletPaddingTop,M=void 0===D?"":D,z=a.tabletPaddingBottom,I=void 0===z?"":z,L=a.tabletPaddingUnit,U=void 0===L?"px":L,H=a.mobilePaddingTop,W=void 0===H?"":H,G=a.mobilePaddingBottom,q=void 0===G?"":G,V=a.mobilePaddingUnit,X=void 0===V?"px":V,Y=void 0!==e.mergeBlocks;return{".ugb-separator":{backgroundColor:i||void 0,marginTop:"".concat(g-1+(Y?-14:0)).concat(h," !important"),marginBottom:"".concat(d-1+(Y?-14:0)).concat(h," !important")},".ugb-separator__bottom-pad":{height:""!==P?"".concat(P).concat(R):void 0,background:l||void 0},".ugb-separator__top-pad":{height:""!==A?"".concat(A).concat(R):void 0,background:i||void 0},".ugb-separator__svg-wrapper":{height:200!==n("height")?Object(Ae.c)(n("height","%spx")):void 0},".ugb-separator__shadow, .ugb-separator__layer-1":{fill:l||void 0,transform:(t=s?"scaleX(".concat(s,")"):void 0,b&&(t=t?"".concat(t," scaleX(-1)"):"scaleX(-1)"),t)},tablet:{".ugb-separator__svg-wrapper":{height:Object(Ae.c)(n("tabletHeight","%spx"))},".ugb-separator":{marginTop:"".concat(y-1).concat(_," !important"),marginBottom:"".concat(O-1).concat(_," !important")},".ugb-separator__bottom-pad":{height:""!==I?"".concat(I).concat(U):void 0},".ugb-separator__top-pad":{height:""!==M?"".concat(M).concat(U):void 0}},mobile:{".ugb-separator__svg-wrapper":{height:Object(Ae.c)(n("mobileHeight","%spx"))},".ugb-separator":{marginTop:"".concat(C-1).concat(B," !important"),marginBottom:"".concat(E-1).concat(B," !important")},".ugb-separator__bottom-pad":{height:""!==q?"".concat(q).concat(X):void 0},".ugb-separator__top-pad":{height:""!==W?"".concat(W).concat(X):void 0}}}},Pe=n(9),Fe=n(12);Object(ke.addFilter)("stackable.separator.edit.inspector.layout.before","stackable/separator",function(e,t){var n=t.setAttributes,a=t.attributes.design,o=void 0===a?"wave-1":a;return wp.element.createElement(Be.Fragment,null,e,wp.element.createElement(xe.y,null,wp.element.createElement(xe.A,{onChange:function(e){return n({design:e})},selected:o,excludeDesigns:["straight-1"]})))}),Object(ke.addFilter)("stackable.separator.edit.inspector.style.before","stackable/separator",function(e,t){var n=t.setAttributes,a=t.attributes,o=a.height,i=a.tabletHeight,r=void 0===i?"":i,l=a.mobileHeight,c=void 0===l?"":l,s=a.marginTop,u=void 0===s?0:s,b=a.marginBottom,p=void 0===b?0:b,g=a.marginUnit,m=void 0===g?"px":g,d=a.tabletMarginTop,f=void 0===d?"":d,h=a.tabletMarginBottom,v=void 0===h?"":h,y=a.tabletMarginUnit,w=void 0===y?"px":y,O=a.mobileMarginTop,k=void 0===O?"":O,_=a.mobileMarginBottom,j=void 0===_?"":_,C=a.mobileMarginUnit,x=void 0===C?"px":C,E=a.backgroundColor,S=void 0===E?"":E,B=a.flipVertically,T=void 0!==B&&B,A=a.flipHorizontally,N=void 0!==A&&A,P=a.layer1Color,F=void 0===P?"":P,R=a.layer1Width,D=void 0===R?1:R,M=a.layer1Flip,z=void 0!==M&&M,I=a.layer1Shadow,L=void 0!==I&&I,U=a.paddingTop,H=void 0===U?0:U,W=a.paddingBottom,G=void 0===W?0:W,q=a.paddingUnit,V=void 0===q?"px":q,X=a.tabletPaddingTop,Y=void 0===X?"":X,K=a.tabletPaddingBottom,J=void 0===K?"":K,$=a.tabletPaddingUnit,Z=void 0===$?"px":$,Q=a.mobilePaddingTop,ee=void 0===Q?"":Q,te=a.mobilePaddingBottom,ne=void 0===te?"":te,ae=a.mobilePaddingUnit,oe=void 0===ae?"px":ae;return wp.element.createElement(Be.Fragment,null,e,wp.element.createElement(xe.X,{title:Object(Se.__)("Separator",Ee.i18n),id:"separator"},wp.element.createElement(xe.r,{label:Object(Se.__)("Separator Color",Ee.i18n),value:F,onChange:function(e){return n({layer1Color:e})}}),wp.element.createElement(xe.b,{label:Object(Se.__)("Separator Width",Ee.i18n),value:D,min:"1",max:"4",step:"0.1",onChange:function(e){return n({layer1Width:e})},allowReset:!0,placeholder:"1",className:"ugb--help-tip-separator-width"}),wp.element.createElement(Pe.ToggleControl,{label:Object(Se.__)("Flip Horizontally",Ee.i18n),checked:z,onChange:function(e){return n({layer1Flip:e})}}),wp.element.createElement(Pe.ToggleControl,{label:Object(Se.__)("Shadow",Ee.i18n),checked:L,onChange:function(e){return n({layer1Shadow:e})},className:"ugb--help-tip-separator-shadow"})),wp.element.createElement(Pe.PanelBody,{title:Object(Se.__)("General",Ee.i18n),initialOpen:!1},wp.element.createElement(xe.ob,{screen:"desktop"},wp.element.createElement(xe.b,{label:Object(Se.__)("Height",Ee.i18n),value:o,min:"30",max:"400",onChange:function(e){t.setAttributes({height:e})},allowReset:!0,placeholder:"200"})),wp.element.createElement(xe.ob,{screen:"tablet"},wp.element.createElement(xe.b,{label:Object(Se.__)("Height",Ee.i18n),value:r,min:"30",max:"400",onChange:function(e){t.setAttributes({tabletHeight:e})},allowReset:!0})),wp.element.createElement(xe.ob,{screen:"mobile"},wp.element.createElement(xe.b,{label:Object(Se.__)("Height",Ee.i18n),value:c,min:"30",max:"400",onChange:function(e){t.setAttributes({mobileHeight:e})},allowReset:!0})),wp.element.createElement(Pe.ToggleControl,{label:Object(Se.__)("Flip Vertically",Ee.i18n),checked:T,onChange:function(e){return n({flipVertically:e})}}),wp.element.createElement(Pe.ToggleControl,{label:Object(Se.__)("Flip Horizontally",Ee.i18n),checked:N,onChange:function(e){return n({flipHorizontally:e})}}),wp.element.createElement(xe.r,{label:Object(Se.__)("Background Color",Ee.i18n),value:S,onChange:function(e){return n({backgroundColor:e})}})),wp.element.createElement(Pe.PanelBody,{title:Object(Se.__)("Spacing",Ee.i18n),initialOpen:!1},wp.element.createElement(xe.ob,{screen:"desktop"},wp.element.createElement(xe.b,{label:Object(Se.__)("Padding Top",Ee.i18n),value:H,min:"0",max:"400",onChange:function(e){return n({paddingTop:e})},units:["px","em","%"],unit:V,onChangeUnit:function(e){return n({paddingUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.b,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:G,min:"0",max:"400",onChange:function(e){return n({paddingBottom:e})},units:["px","em","%"],unit:V,onChangeUnit:function(e){return n({paddingUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.b,{label:Object(Se.__)("Margin Top",Ee.i18n),value:u,min:-o-H-100,max:"400",onChange:function(e){return n({marginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:m,onChangeUnit:function(e){return n({marginUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.b,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:p,min:-o-G-100,max:"400",onChange:function(e){return n({marginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:m,onChangeUnit:function(e){return n({marginUnit:e})},allowReset:!0,placeholder:"0"})),wp.element.createElement(xe.ob,{screen:"tablet"},wp.element.createElement(xe.b,{label:Object(Se.__)("Padding Top",Ee.i18n),value:Y,min:"0",max:"400",onChange:function(e){return n({tabletPaddingTop:e})},units:["px","em","%"],unit:Z,onChangeUnit:function(e){return n({tabletPaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:J,min:"0",max:"400",onChange:function(e){return n({tabletPaddingBottom:e})},units:["px","em","%"],unit:Z,onChangeUnit:function(e){return n({tabletPaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Se.__)("Margin Top",Ee.i18n),value:f,min:-r-Y-100,max:"400",onChange:function(e){return n({tabletMarginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:w,onChangeUnit:function(e){return n({tabletMarginUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:v,min:-r-J-100,max:"400",onChange:function(e){return n({tabletMarginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:w,onChangeUnit:function(e){return n({tabletMarginUnit:e})},allowReset:!0})),wp.element.createElement(xe.ob,{screen:"mobile"},wp.element.createElement(xe.b,{label:Object(Se.__)("Padding Top",Ee.i18n),value:ee,min:"0",max:"400",onChange:function(e){return n({mobilePaddingTop:e})},units:["px","em","%"],unit:oe,onChangeUnit:function(e){return n({mobilePaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Se.__)("Padding Bottom",Ee.i18n),value:ne,min:"0",max:"400",onChange:function(e){return n({mobilePaddingBottom:e})},units:["px","em","%"],unit:oe,onChangeUnit:function(e){return n({mobilePaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Se.__)("Margin Top",Ee.i18n),value:k,min:-c-ee-100,max:"400",onChange:function(e){return n({mobileMarginTop:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:x,onChangeUnit:function(e){return n({mobileMarginUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Se.__)("Margin Bottom",Ee.i18n),value:j,min:-c-ne-100,max:"400",onChange:function(e){return n({mobileMarginBottom:e})},help:Object(Se.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:x,onChangeUnit:function(e){return n({mobileMarginUnit:e})},allowReset:!0}))))});var Re=Object(Fe.compose)(Te.i,Te.g,Te.d,Object(Te.h)(),Object(Te.a)(Ne,{editorMode:!0}),Object(Te.b)([[".ugb-separator__layer-1","separator"]]))(function(e){var t=e.className,n=e.attributes,a=n.design,o=void 0===a?"wave-1":a,i=n.flipVertically,r=void 0!==i&&i,l=n.flipHorizontally,c=void 0!==l&&l,s=n.layer1Shadow,u=void 0!==s&&s,b=je()([t,"ugb-separator--v2","ugb-separator--design-".concat(o)],Object(ke.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":r,"ugb-separator--flip-horizontal":c},o,e));return wp.element.createElement(xe.j.Edit,{mainClass:!1,className:b,"aria-hidden":"true",blockProps:e,render:function(){return wp.element.createElement(Be.Fragment,null,wp.element.createElement("div",{className:"ugb-separator__top-pad"}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper"},wp.element.createElement(xe.db,{design:o,shadow:u,className:"ugb-separator__svg-inner"},Object(ke.applyFilters)("stackable.separator.edit.output.layers",null,o,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad"}))}})}),De=Object(Fe.compose)(Te.i,Object(Te.a)(Ne))(function(e){var t=e.className,n=e.attributes,a=n.design,o=void 0===a?"wave-1":a,i=n.flipVertically,r=void 0!==i&&i,l=n.flipHorizontally,c=void 0!==l&&l,s=n.layer1Shadow,u=void 0!==s&&s,b=je()([t,"ugb-separator--v2","ugb-separator--design-".concat(o)],Object(ke.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":r,"ugb-separator--flip-horizontal":c},o,e));return wp.element.createElement(xe.j.Save,{mainClass:!1,className:b,"aria-hidden":"true",blockProps:e,render:function(){return wp.element.createElement(Be.Fragment,null,wp.element.createElement("div",{className:"ugb-separator__top-pad"}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper"},wp.element.createElement(xe.db,{design:o,shadow:u,className:"ugb-separator__svg-inner"},Object(ke.applyFilters)("stackable.separator.edit.output.layers",null,o,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad"}))}})}),Me=n(15);n.d(t,"schema",function(){return ze}),n.d(t,"name",function(){return Ie}),n.d(t,"settings",function(){return Le});var ze={align:{type:"string",default:"full"},design:{type:"string",default:"wave-1"},height:{type:"number",default:200},tabletHeight:{type:"number",default:""},mobileHeight:{type:"number",default:""},flipVertically:{type:"boolean",default:!1},flipHorizontally:{type:"boolean",default:!1},backgroundColor:{type:"string",default:""},marginTop:{type:"number",default:0},marginBottom:{type:"number",default:0},tabletMarginTop:{type:"number",default:""},tabletMarginBottom:{type:"number",default:""},mobileMarginTop:{type:"number",default:""},mobileMarginBottom:{type:"number",default:""},paddingTop:{type:"number",default:0},paddingBottom:{type:"number",default:0},tabletPaddingTop:{type:"number",default:""},tabletPaddingBottom:{type:"number",default:""},mobilePaddingTop:{type:"number",default:""},mobilePaddingBottom:{type:"number",default:""},layer1Color:{type:"string",default:""},layer1Width:{type:"number",default:1},layer1Flip:{type:"boolean",default:!1},layer1Shadow:{type:"boolean",default:!1},layer2:{type:"boolean",default:!1},layer2Color:{type:"string",default:""},layer2Height:{type:"number",default:1},layer2Width:{type:"number",default:1},layer2Flip:{type:"boolean",default:!1},layer2Opacity:{type:"number",default:.5},layer2BlendMode:{type:"string",default:""},layer3:{type:"boolean",default:!1},layer3Color:{type:"string",default:""},layer3Height:{type:"number",default:1},layer3Width:{type:"number",default:1},layer3Flip:{type:"boolean",default:!1},layer3Opacity:{type:"number",default:.5}},Ie="ugb/separator",Le={title:Object(Se.__)("Separator",Ee.i18n),description:Object(Se.__)("A fancy separator to be placed between containers and content.",Ee.i18n),icon:Me.t,category:"stackable",keywords:[Object(Se.__)("Separator",Ee.i18n),Object(Se.__)("SVG Divider",Ee.i18n),Object(Se.__)("Stackable",Ee.i18n)],attributes:ze,supports:{align:["full"],inserter:!Ee.disabledBlocks.includes(Ie)},deprecated:Ce,save:De,edit:Re,modules:{"advanced-general":!0,"advanced-responsive":!0,"advanced-block-spacing":{enableMarginRight:!1,enableMarginLeft:!1,enablePaddingRight:!1,enablePaddingLeft:!1,height:!1,width:!1,horizontalContentAlign:!1,verticalContentAlign:!1,modifyStyles:!1},"custom-css":{default:Object(ke.applyFilters)("stackable.separator.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),o=n(15),i=n(10),r=n(1),l=n(0),c=n(5);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(c.addFilter)("stackable.icon-list.design.no-text-attributes","stackable/icon-list",function(e){return Object(i.omit)(e,["text"])}),Object(c.addFilter)("stackable.icon-list.edit.designs","stackable/icon-list",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(l.__)("Corporate Light 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-icon-list-design-corporate-light-01.jpg",attributes:{iconShape:"circle",iconColor:"#ff550a",iconSize:25,columns:3,listTextColor:"#707070",listTextFontFamily:"Serif",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffd781",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ff550a",showBlockDescription:!0,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070"}},corporateLight2:{label:Object(l.__)("Corporate Light 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-icon-list-design-corporate-light-02.jpg",attributes:{iconShape:"circle",iconColor:"#1e55d3",iconSize:25,columns:3,listTextColor:"#707070",listTextFontFamily:"Serif",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffffff",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c49732",showBlockDescription:!0,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070"}},corporateDark1:{label:Object(l.__)("Corporate Dark 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-icon-list-design-corporate-dark-01.jpg",attributes:{iconShape:"circle",iconColor:"#c4e558",iconSize:25,columns:3,listTextColor:"#ffffff",listTextFontFamily:"Serif",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#0e2448",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c5dfb4",showBlockDescription:!0,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center"}},corporateDark2:{label:Object(l.__)("Corporate Dark 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-icon-list-design-corporate-dark-02.jpg",attributes:{iconShape:"circle",iconColor:"#06c19d",iconSize:25,columns:3,listTextColor:"#ffffff",listTextFontFamily:"Serif",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#707070",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ffffff",showBlockDescription:!0,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}}})});var b=n(7);var p={check:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"173.8,28.4 60.4,141.8 15.7,97.2 5.1,107.8 60.4,163 184.4,39 173.8,28.4"}))},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M76.6,144.7l-36.5-36.5l10.6-10.6l25.9,25.9 l68.8-68.8l0,0L156,65.3L76.6,144.7z"}))},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"79.4,112.4 60.7,93.7 50.1,104.3 79.4,133.6 141.7,71.3 131.1,60.7 \t"}),wp.element.createElement("path",{d:"M182.3,57.5C175.1,40.5,163,26,147.9,15.7C132.7,5.5,114.4-0.5,94.7-0.5c-13.1,0-25.6,2.7-37,7.5 C40.7,14.2,26.2,26.2,16,41.4C5.7,56.5-0.3,74.8-0.3,94.5c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8 c15.2,10.2,33.5,16.2,53.1,16.2c13.1,0,25.6-2.7,37-7.5c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1 C189.8,81.4,187.1,68.9,182.3,57.5z M168.5,125.6c-6.1,14.3-16.2,26.6-29,35.2c-12.8,8.6-28.1,13.7-44.7,13.7 c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29c-8.6-12.8-13.7-28.1-13.7-44.7c0-11.1,2.2-21.6,6.3-31.1 C27.1,49,37.2,36.8,50,28.1c12.8-8.6,28.1-13.7,44.7-13.7c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29 c8.6,12.8,13.7,28.1,13.7,44.7C174.8,105.6,172.5,116.1,168.5,125.6z"}))},title:Object(l.__)("Check",r.i18n),value:"check"},plus:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"181.9,87.6 102.6,87.6 102.6,8.4 87.6,8.4 87.6,87.6 8.4,87.6 8.4,102.6 87.6,102.6 87.6,181.8 102.6,181.8 102.6,102.6 181.9,102.6 "}))},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M151,104.5h-46.6v46.6h-15v-46.6H42.8v-15 h46.6V42.9h15v46.6H151V104.5z"}))},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"104.5,55.4 89.5,55.4 89.5,89.5 55.4,89.5 55.4,104.5 89.5,104.5 89.5,138.6 104.5,138.6 104.5,104.5 138.6,104.5 138.6,89.5 104.5,89.5 \t"}),wp.element.createElement("path",{d:"M184.5,60c-7.2-17-19.2-31.5-34.4-41.8C135,8,116.6,2,97,2C83.9,2,71.4,4.7,60,9.5c-17.1,7.2-31.6,19.3-41.8,34.4 S2,77.4,2,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.3,192,97,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4C186,134.9,192,116.6,192,97C192,83.9,189.3,71.4,184.5,60z M170.7,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.9,172,113.6,177,97,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C22,129,17,113.6,17,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C65,22,80.4,17,97,17c11.1,0,21.6,2.2,31.1,6.3 c14.3,6.1,26.6,16.2,35.2,29C171.9,65.1,177,80.4,177,97C177,108.1,174.8,118.6,170.7,128.1z"}))},title:Object(l.__)("Plus",r.i18n),value:"plus"},arrow:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"59.4,177.5 141.8,95.1 59.4,12.8 48.8,23.4 120.6,95.1 48.8,166.9 "}))},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M78.2,150.4L78.2,150.4l-10.6-10.6L110.3,97 L67.6,54.2l10.6-10.6L131.5,97L78.2,150.4z"}))},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"73.1,65.3 104.8,97 73.1,128.7 83.7,139.3 126,97 83.7,54.7 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))},title:Object(l.__)("Arrow",r.i18n),value:"arrow"},cross:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"167.2,33.4 156.6,22.8 94.9,84.5 33.2,22.8 22.6,33.4 84.3,95.1 22.6,156.8 33.2,167.4 94.9,105.7 156.6,167.4 167.2,156.8 105.5,95.1 "}))},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M144.3,133.5l-10.6,10.6l-36.5-36.5l-36.5,36.5 l-10.6-10.6L86.6,97L50.1,60.5l10.6-10.6l36.5,36.5l36.5-36.5l10.6,10.6L107.8,97L144.3,133.5z"}))},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("polygon",{points:"134.7,70.1 124.1,59.5 97.2,86.4 70.4,59.5 59.7,70.1 86.6,97 59.7,123.9 70.4,134.5 97.2,107.6 124.1,134.5 134.7,123.9 107.8,97 \t"}),wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}))},title:Object(l.__)("Cross",r.i18n),value:"cross"},star:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 190 190",style:{fill:e}},wp.element.createElement("polygon",{points:"95.4,6.3 124.6,64.3 188.8,74.2 142.6,119.9 153.1,184 95.4,154.2 37.6,184 48.1,119.9 2,74.2 66.2,64.3 "}))},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M96.9,2c-52.4,0-95,42.6-95,95s42.6,95,95,95s95-42.6,95-95S149.3,2,96.9,2z M134.7,152.1l-37.8-19.5l-37.8,19.5l6.9-41.9 L35.8,80.3l42-6.4l19.1-38l19.1,38l42,6.4l-30.2,29.9L134.7,152.1z"}))},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 194 194",style:{fill:e}},wp.element.createElement("path",{d:"M184.4,60c-7.2-17-19.2-31.5-34.4-41.8C134.9,8,116.5,2,96.9,2c-13.1,0-25.6,2.7-37,7.5c-17.1,7.2-31.6,19.3-41.8,34.4 S1.9,77.4,1.9,97c0,13.1,2.7,25.6,7.5,37c7.2,17.1,19.3,31.6,34.4,41.8S77.2,192,96.9,192c13.1,0,25.6-2.7,37-7.5 c17.1-7.2,31.6-19.3,41.8-34.4c10.2-15.2,16.2-33.5,16.2-53.1C191.9,83.9,189.2,71.4,184.4,60z M170.6,128.1 c-6.1,14.3-16.2,26.6-29,35.2C128.8,172,113.5,177,96.9,177c-11.1,0-21.6-2.2-31.1-6.3c-14.3-6.1-26.6-16.2-35.2-29 C21.9,129,16.9,113.6,16.9,97c0-11.1,2.2-21.6,6.3-31.1c6.1-14.3,16.2-26.6,29-35.2C64.9,22,80.3,17,96.9,17 c11.1,0,21.6,2.2,31.1,6.3c14.3,6.1,26.6,16.2,35.2,29c8.6,12.8,13.7,28.1,13.7,44.7C176.9,108.1,174.7,118.6,170.6,128.1z"}),wp.element.createElement("polygon",{points:"96.9,49.3 82.2,78.5 49.9,83.5 73.1,106.5 67.8,138.7 96.9,123.7 125.9,138.7 120.7,106.5 143.9,83.5 111.6,78.5 "}))},title:Object(l.__)("Star",r.i18n),value:"star"}},g=function(e){return"circle"===e||"outline"===e?"".concat(e,"Func"):"iconFunc"},m=function(e,t,n){var a=g(t),o=d(p[e][a](n),!1);return btoa(o)},d=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Object(b.renderToString)(e).replace(/viewbox/i,"viewBox");return t?n.replace(/#/g,"%23"):n},f=n(4),h=n.n(f);function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var y=h.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM78.2 150.4l-10.6-10.6L110.3 97 67.6 54.2l10.6-10.6L131.5 97l-53.3 53.4z"}),w=function(e){return h.a.createElement("svg",v({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),y)};function O(){return(O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var k=h.a.createElement("path",{d:"M59.4 177.5l82.4-82.4-82.4-82.3-10.6 10.6 71.8 71.7-71.8 71.8 10.6 10.6z"}),_=function(e){return h.a.createElement("svg",O({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),k)};function j(){return(j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var C=h.a.createElement("path",{d:"M73.1 65.3L104.8 97l-31.7 31.7 10.6 10.6L126 97 83.7 54.7z"}),x=h.a.createElement("path",{d:"M184.4 60c-7.2-17-19.2-31.5-34.4-41.8C134.9 8 116.5 2 96.9 2c-13.1 0-25.6 2.7-37 7.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.2 192 96.9 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),E=function(e){return h.a.createElement("svg",j({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),C,x)};function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var B=h.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM76.6 144.7l-36.5-36.5 10.6-10.6 25.9 25.9 68.8-68.8L156 65.3l-79.4 79.4z"}),T=function(e){return h.a.createElement("svg",S({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),B)};function A(){return(A=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var N=h.a.createElement("path",{d:"M173.8 28.4L60.4 141.8 15.7 97.2 5.1 107.8 60.4 163l124-124-10.6-10.6z"}),P=function(e){return h.a.createElement("svg",A({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),N)};function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var R=h.a.createElement("path",{d:"M79.4 112.4L60.7 93.7l-10.6 10.6 29.3 29.3 62.3-62.3-10.6-10.6z"}),D=h.a.createElement("path",{d:"M182.3 57.5c-7.2-17-19.3-31.5-34.4-41.8C132.7 5.5 114.4-.5 94.7-.5c-13.1 0-25.6 2.7-37 7.5-17 7.2-31.5 19.2-41.7 34.4C5.7 56.5-.3 74.8-.3 94.5c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8 15.2 10.2 33.5 16.2 53.1 16.2 13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1.1-13.1-2.6-25.6-7.4-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.6-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29-8.6-12.8-13.7-28.1-13.7-44.7 0-11.1 2.2-21.6 6.3-31.1C27.1 49 37.2 36.8 50 28.1c12.8-8.6 28.1-13.7 44.7-13.7 11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7.1 11.2-2.2 21.7-6.2 31.2z"}),M=function(e){return h.a.createElement("svg",F({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),R,D)};function z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var I=h.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zm47.4 131.5l-10.6 10.6-36.5-36.5-36.5 36.5-10.6-10.6L86.6 97 50.1 60.5l10.6-10.6 36.5 36.5 36.5-36.5 10.6 10.6L107.8 97l36.5 36.5z"}),L=function(e){return h.a.createElement("svg",z({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),I)};function U(){return(U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var H=h.a.createElement("path",{d:"M167.2 33.4l-10.6-10.6-61.7 61.7-61.7-61.7-10.6 10.6 61.7 61.7-61.7 61.7 10.6 10.6 61.7-61.7 61.7 61.7 10.6-10.6-61.7-61.7z"}),W=function(e){return h.a.createElement("svg",U({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),H)};function G(){return(G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var q=h.a.createElement("path",{d:"M134.7 70.1l-10.6-10.6-26.9 26.9-26.8-26.9-10.7 10.6L86.6 97l-26.9 26.9 10.7 10.6 26.8-26.9 26.9 26.9 10.6-10.6L107.8 97z"}),V=h.a.createElement("path",{d:"M184.4 60c-7.2-17-19.2-31.5-34.4-41.8C134.9 8 116.5 2 96.9 2c-13.1 0-25.6 2.7-37 7.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.2 192 96.9 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),X=function(e){return h.a.createElement("svg",G({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),q,V)};function Y(){return(Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var K=h.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zM151 104.5h-46.6v46.6h-15v-46.6H42.8v-15h46.6V42.9h15v46.6H151v15z"}),J=function(e){return h.a.createElement("svg",Y({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),K)};function $(){return($=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var Z=h.a.createElement("path",{d:"M181.9 87.6h-79.3V8.4h-15v79.2H8.4v15h79.2v79.2h15v-79.2h79.3z"}),Q=function(e){return h.a.createElement("svg",$({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),Z)};function ee(){return(ee=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var te=h.a.createElement("path",{d:"M104.5 55.4h-15v34.1H55.4v15h34.1v34.1h15v-34.1h34.1v-15h-34.1z"}),ne=h.a.createElement("path",{d:"M184.5 60c-7.2-17-19.2-31.5-34.4-41.8C135 8 116.6 2 97 2 83.9 2 71.4 4.7 60 9.5c-17.1 7.2-31.6 19.3-41.8 34.4S2 77.4 2 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.3 192 97 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4C186 134.9 192 116.6 192 97c0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2C128.9 172 113.6 177 97 177c-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C22 129 17 113.6 17 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C65 22 80.4 17 97 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29C171.9 65.1 177 80.4 177 97c0 11.1-2.2 21.6-6.3 31.1z"}),ae=function(e){return h.a.createElement("svg",ee({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),te,ne)};function oe(){return(oe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ie=h.a.createElement("path",{d:"M96.9 2c-52.4 0-95 42.6-95 95s42.6 95 95 95 95-42.6 95-95-42.6-95-95-95zm37.8 150.1l-37.8-19.5-37.8 19.5 6.9-41.9-30.2-29.9 42-6.4 19.1-38 19.1 38 42 6.4-30.2 29.9 6.9 41.9z"}),re=function(e){return h.a.createElement("svg",oe({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),ie)};function le(){return(le=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var ce=h.a.createElement("path",{d:"M95.4 6.3l29.2 58 64.2 9.9-46.2 45.7 10.5 64.1-57.7-29.8L37.6 184l10.5-64.1L2 74.2l64.2-9.9z"}),se=function(e){return h.a.createElement("svg",le({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),ce)};function ue(){return(ue=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var be=h.a.createElement("path",{d:"M184.4 60c-7.2-17-19.2-31.5-34.4-41.8C134.9 8 116.5 2 96.9 2c-13.1 0-25.6 2.7-37 7.5-17.1 7.2-31.6 19.3-41.8 34.4S1.9 77.4 1.9 97c0 13.1 2.7 25.6 7.5 37 7.2 17.1 19.3 31.6 34.4 41.8S77.2 192 96.9 192c13.1 0 25.6-2.7 37-7.5 17.1-7.2 31.6-19.3 41.8-34.4 10.2-15.2 16.2-33.5 16.2-53.1 0-13.1-2.7-25.6-7.5-37zm-13.8 68.1c-6.1 14.3-16.2 26.6-29 35.2-12.8 8.7-28.1 13.7-44.7 13.7-11.1 0-21.6-2.2-31.1-6.3-14.3-6.1-26.6-16.2-35.2-29C21.9 129 16.9 113.6 16.9 97c0-11.1 2.2-21.6 6.3-31.1 6.1-14.3 16.2-26.6 29-35.2C64.9 22 80.3 17 96.9 17c11.1 0 21.6 2.2 31.1 6.3 14.3 6.1 26.6 16.2 35.2 29 8.6 12.8 13.7 28.1 13.7 44.7 0 11.1-2.2 21.6-6.3 31.1z"}),pe=h.a.createElement("path",{d:"M96.9 49.3L82.2 78.5l-32.3 5 23.2 23-5.3 32.2 29.1-15 29 15-5.2-32.2 23.2-23-32.3-5z"}),ge=function(e){return h.a.createElement("svg",ue({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),be,pe)};function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(n,!0).forEach(function(t){fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var he={check:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(P,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(T,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(M,{style:{fill:e}})},title:Object(l.__)("Check",r.i18n),value:"check"},plus:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(Q,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(J,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(ae,{style:{fill:e}})},title:Object(l.__)("Plus",r.i18n),value:"plus"},arrow:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(_,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(w,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(E,{style:{fill:e}})},title:Object(l.__)("Arrow",r.i18n),value:"arrow"},cross:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(W,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(L,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(X,{style:{fill:e}})},title:Object(l.__)("Cross",r.i18n),value:"cross"},star:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(se,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(re,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(ge,{style:{fill:e}})},title:Object(l.__)("Star",r.i18n),value:"star"}},ve=function(e){return"circle"===e||"outline"===e?"".concat(e,"Func"):"iconFunc"},ye=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return he[e]?he[e][ve(t)]():null},we=function(e,t,n){var o=ve(t);if(!he[e])return"";var i=Object(a.ab)(he[e][o](n),!1);return btoa(i)},Oe=function(e){return["","circle","outline"].map(function(t){return de({},he[e],{icon:ye(e,t),value:t})})},ke=n(8),_e=n.n(ke),je=n(6);function Ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ee=[{attributes:{icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li",default:""},gap:{type:"number",default:16},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,o=n.iconShape,i=n.iconColor,r=n.iconSize,l=n.text,s=n.columns,u=n.gap,b=n.design,p=void 0===b?"":b,g=_e()([t.split(" ").filter(function(e){return"ugb-icon-list"!==e}),"ugb-icon-list-wrapper"],Object(c.applyFilters)("stackable.icon-list.mainclasses_1_15_4",{},p,e)),m=_e()(["ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(s)],Object(c.applyFilters)("stackable.icon-list.ulclasses_1_15_4",{},p,e)),d={"--icon":"url('data:image/svg+xml;base64,"+we(a,o,i)+"')","--icon-size":r?"".concat(r,"px"):void 0,"--gap":u?"".concat(u,"px"):void 0};return wp.element.createElement("div",{className:g},Object(c.applyFilters)("stackable.icon-list.save.output.before_1_15_4",null,p,e),wp.element.createElement(je.RichText.Content,{tagName:"ul",className:m,style:d,value:l}),Object(c.applyFilters)("stackable.icon-list.save.output.after_1_15_4",null,p,e))},migrate:function(e){var t=function(e){return(e||"").replace(/.ugb-icon-list-wrapper .ugb-icon-list li/g,".ugb-icon-list li").replace(/.ugb-icon-list-wrapper .ugb-icon-list/g,".ugb-icon-list ul").replace(/.ugb-icon-list-wrapper/g,".ugb-icon-list")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ce(n,!0).forEach(function(t){xe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ce(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{columns:e.columns?e.columns:1,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled)})}},{attributes:{icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li"},gap:{type:"number",default:16}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,o=n.iconShape,i=n.iconColor,r=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=_e()([t,"ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(c)]),b={"--icon":"url('data:image/svg+xml;base64,"+we(a,o,i)+"')","--icon-size":r?"".concat(r,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement(je.RichText.Content,{tagName:"ul",className:u,style:b,value:l})}},{attributes:{icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li"},gap:{type:"number",default:16}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,o=n.iconShape,i=n.iconColor,r=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=_e()([t,"ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(c)]),b={"--icon":"url('data:image/svg+xml;base64,"+m(a,o,i)+"')","--icon-size":r?"".concat(r,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement(je.RichText.Content,{tagName:"ul",className:u,style:b,value:l})}},{attributes:{icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:1},text:{source:"html",selector:"ul",multiline:"li"},gap:{type:"number",default:16}},save:function(e){var t=e.className,n=e.attributes,a=n.icon,o=n.iconShape,i=n.iconColor,r=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=_e()([t,"ugb-icon-list","ugb-icon-".concat(a),"column-".concat(c)]),b={"--icon":"url('data:image/svg+xml;base64,"+m(a,o,i)+"')","--icon-size":r?"".concat(r,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement(je.RichText.Content,{tagName:"ul",className:u,style:b,value:l})}}],Se=n(11),Be=n(3),Te=n(14),Ae=n.n(Te);function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(n,!0).forEach(function(t){Fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Re=function(e){var t=Object(a.b)(e.attributes),n=e.attributes,o=n.icon,i=n.iconShape,r=n.iconColor,l=n.iconSize,c=n.showBlockBackground,s=void 0===c?"":c,u=n.blockBackgroundBackgroundColor,b=void 0===u?"":u,p=n.listTextColor,g=void 0===p?"":p,m=we(o,i,Object(a.db)(r,s&&b)),d=[];d.push({li:Pe({},Object(a.D)("listText%s","desktop",e.attributes),{color:Object(a.db)(g,s&&b)}),tablet:{li:Pe({},Object(a.D)("listText%s","tablet",e.attributes))},mobile:{li:Pe({},Object(a.D)("listText%s","mobile",e.attributes))}}),d.push({li:{"--icon-size":l?"".concat(l,"px"):void 0},"li::before":{height:Object(a.c)(t("iconSize","%spx")),width:Object(a.c)(t("iconSize","%spx")),backgroundImage:"url('data:image/svg+xml;base64,"+m+"')"}}),d.push({li:{marginBottom:Object(a.c)(t("gap","%spx"))},"li ul":{marginBottom:Object(a.c)(t("gap","%spx"))}});var f=e.attributes.displayAsGrid,h=void 0!==f&&f,v=function(e){return t(e)?parseInt(t(e),10):1},y=function(e){return new Array(e+1).join("1fr ").trim()};return d.push({".ugb-icon-list ul":{columns:t("columns"),gridTemplateColumns:t("columns")&&h?y(v("columns")):void 0},tablet:{".ugb-icon-list ul":{columns:t("tabletColumns","%s !important"),gridTemplateColumns:t("tabletColumns")&&h?y(v("tabletColumns"))+" !important":void 0}},mobile:{".ugb-icon-list ul":{columns:t("mobileColumns","%s !important"),gridTemplateColumns:t("mobileColumns")&&h?y(v("mobileColumns"))+" !important":void 0}}}),Ae.a.all(d)},De=n(9),Me=n(12);Object(c.addFilter)("stackable.icon-list.edit.inspector.style.before","stackable/icon-list",function(e,t){var n=t.setAttributes,a=t.attributes,o=a.icon,i=a.iconShape,c=a.iconColor,s=a.iconSize,u=a.gap,p=a.listTextColor,g=void 0===p?"":p,m=a.displayAsGrid,d=void 0!==m&&m,f=a.columns,h=void 0===f?"":f,v=a.tabletColumns,y=void 0===v?"":v,w=a.mobileColumns,O=void 0===w?"":w;return wp.element.createElement(b.Fragment,null,e,wp.element.createElement(De.PanelBody,{title:Object(l.__)("General",r.i18n)},wp.element.createElement(Be.cb,{attrNameTemplate:"%sColumns",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Be.b,{label:Object(l.__)("Columns",r.i18n),min:1,max:4})),(h&&h>1||y&&y>1||O&&O>1)&&wp.element.createElement(De.ToggleControl,{label:Object(l.__)("Display as a grid (left to right & evenly spaced)",r.i18n),checked:d,onChange:function(e){return n({displayAsGrid:e})},className:"ugb--help-tip-icon-list-grid"}),wp.element.createElement(Be.s,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(De.PanelBody,{title:Object(l.__)("Icon",r.i18n),initialOpen:!1},wp.element.createElement(Be.d,{label:Object(l.__)("Icon",r.i18n),controls:Object.keys(he).map(function(e){return de({},he[e],{icon:ye(e)})}),value:o,onChange:function(e){return n({icon:e})},fullwidth:!1}),wp.element.createElement(Be.d,{label:Object(l.__)("Icon Shape",r.i18n),controls:Oe(o),value:i,onChange:function(e){return n({iconShape:e})},fullwidth:!1}),wp.element.createElement(Be.r,{label:Object(l.__)("Icon Color",r.i18n),value:c,onChange:function(e){return n({iconColor:e})}}),wp.element.createElement(Be.b,{label:Object(l.__)("Icon Size",r.i18n),value:s,onChange:function(e){return n({iconSize:e})},min:8,max:50,allowReset:!0,placeholder:"20"})),wp.element.createElement(Be.X,{title:Object(l.__)("List Text",r.i18n),id:"text",initialOpen:!1},wp.element.createElement(Be.lb,{attrNameTemplate:"listText%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(Be.r,{value:g,onChange:function(e){return n({listTextColor:e})},label:Object(l.__)("Color",r.i18n)})),wp.element.createElement(Be.Y,{initialOpen:!1,blockProps:t},wp.element.createElement(Be.b,{label:Object(l.__)("List Gap",r.i18n),value:u,onChange:function(e){return n({gap:e})},min:0,max:30,allowReset:!0,placeholder:"16",className:"ugb--help-tip-icon-list-gap"})))});var ze=Object(Me.compose)(Se.i,Se.g,Se.d,Object(Se.h)(),Object(Se.c)(),Object(Se.a)(Re,{editorMode:!0}),Object(Se.b)([["ul, ul li","text"]]))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,o=a.icon,i=a.text,s=a.design,u=void 0===s?"":s,p=a.displayAsGrid,g=void 0!==p&&p,m=_e()([t,"ugb-icon-list--v2","ugb-icon--icon-".concat(o)],Object(c.applyFilters)("stackable.icon-list.mainclasses",{"ugb-icon-list--display-grid":g},u,e));return wp.element.createElement(Be.j.Edit,{className:m,blockProps:e,render:function(){return wp.element.createElement(b.Fragment,null,wp.element.createElement(je.RichText,{tagName:"ul",multiline:"li",value:i,onChange:function(e){return n({text:e})},placeholder:Object(l.__)("Text for this block",r.i18n),keepPlaceholderOnFocus:!0}))}})}),Ie=Object(Me.compose)(Se.i,Object(Se.a)(Re))(function(e){var t=e.className,n=e.attributes,a=n.icon,o=n.text,i=n.design,r=void 0===i?"":i,l=n.displayAsGrid,s=void 0!==l&&l,u=_e()([t,"ugb-icon-list--v2","ugb-icon--icon-".concat(a)],Object(c.applyFilters)("stackable.icon-list.mainclasses",{"ugb-icon-list--display-grid":s},r,e));return wp.element.createElement(Be.j.Save,{className:u,blockProps:e,render:function(){return wp.element.createElement(b.Fragment,null,wp.element.createElement(je.RichText.Content,{tagName:"ul",value:o}))}})});function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return He}),n.d(t,"name",function(){return We}),n.d(t,"settings",function(){return Ge});var He=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(n,!0).forEach(function(t){Ue(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({icon:{type:"string",default:"check"},iconShape:{type:"string"},iconColor:{type:"string"},iconSize:{type:"number",default:20},columns:{type:"number",default:2},tabletColumns:{type:"number",default:""},mobileColumns:{type:"number",default:""},text:{source:"html",selector:"ul",multiline:"li",default:Object(i.range)(1,7).map(function(e){return Object(l.sprintf)(Object(l.__)("Line %d",r.i18n),e)}).map(function(e){return"<li>".concat(e,"</li>")}).join("")},displayAsGrid:{type:"boolean",default:!1},gap:{type:"number",default:16},listTextColor:{type:"string",default:""}},Object(a.C)("listText%s")),We="ugb/icon-list",Ge={title:Object(l.__)("Icon List",r.i18n),description:Object(l.__)("An unordered list with icons. You can use this as a list of features or benefits.",r.i18n),icon:o.n,category:"stackable",keywords:[Object(l.__)("Icon List",r.i18n),Object(l.__)("Stackable",r.i18n)],attributes:He,supports:{inserter:!r.disabledBlocks.includes(We)},deprecated:Ee,edit:ze,save:Ie,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(c.applyFilters)("stackable.icon-list.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(10),o=n(1),i=n(0),r=n(5);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(r.addFilter)("stackable.blockquote.design.no-text-attributes","stackable/blockquote",function(e){return Object(a.omit)(e,["text"])}),Object(r.addFilter)("stackable.blockquote.edit.designs","stackable/blockquote",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(i.__)("Corporate Light 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-blockquote-design-corporate-light-01.jpg",attributes:{quoteIcon:"square",quoteOpacity:.3,quoteColor:"#ffb20b",quoteSize:150,quoteY:19,textFontFamily:"Roboto Condensed",textFontWeight:"100",textColor:"#707070",textAlign:"center",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#ffffff",showBottomSeparator:!1}},corporateLight2:{label:Object(i.__)("Corporate Light 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-blockquote-design-corporate-light-02.jpg",attributes:{quoteIcon:"square",quoteOpacity:.3,quoteColor:"#c49732",quoteSize:150,quoteY:19,textFontFamily:"Roboto Condensed",textFontWeight:"100",textColor:"#6a91eb",textAlign:"center",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#ffffff",showBottomSeparator:!1}},corporateDark1:{label:Object(i.__)("Corporate Dark 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-blockquote-design-corporate-dark-01.jpg",attributes:{quoteIcon:"square",quoteOpacity:.3,quoteColor:"#1785cb",quoteSize:150,quoteY:19,textFontFamily:"Roboto Condensed",textFontWeight:"100",textColor:"#ffffff",textAlign:"center",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#081831",showBottomSeparator:!1}},corporateDark2:{label:Object(i.__)("Corporate Dark 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-blockquote-design-corporate-dark-02.jpg",attributes:{quoteIcon:"square",quoteOpacity:.3,quoteColor:"#2f2f2f",quoteSize:150,quoteY:19,textFontFamily:"Roboto Condensed",textFontWeight:"100",textColor:"#06c19d",textAlign:"center",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#707070",showBottomSeparator:!1}}})});var s=n(4),u=n.n(s);function b(){return(b=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var p=u.a.createElement("path",{d:"M22.3 30.5c0 6-4.8 10.8-10.8 10.8-2.3 0-4.5-.8-6.3-2-.9-.6-1.8-1.4-2.5-2.4-1.8-2.4-2.7-5.4-2.7-9 0-4.5 1.3-8.5 4-11.9 2.7-3.4 6.4-5.8 11.1-7.3v2.8c-2.7 2.2-4.4 5-4.9 8.3.4-.1.9-.1 1.3-.1 6-.1 10.8 4.8 10.8 10.8zm16.9-10.9c-.5 0-.9 0-1.3.1.5-3.3 2.2-6.1 4.9-8.3V8.7c-4.7 1.4-8.4 3.9-11.1 7.3-2.7 3.4-4 7.4-4 11.9 0 3.6.9 6.6 2.7 9 .8 1 1.6 1.8 2.5 2.4 1.8 1.3 3.9 2 6.3 2 6 0 10.8-4.8 10.8-10.8 0-6-4.8-10.9-10.8-10.9z"}),g=function(e){return u.a.createElement("svg",b({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),p)};function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var d=u.a.createElement("path",{d:"M9.4 14.6c-2.4 2.9-3.6 5.9-3.6 8.9 0 1.3.2 2.4.5 3.3 1.8-1.4 3.8-2.1 6-2.1 2.9 0 5.3.9 7.3 2.7 2 1.8 3 4.2 3 7.3 0 1.9-.5 3.6-1.4 5.1-.9 1.5-2.2 2.7-3.8 3.6s-3.3 1.3-5.1 1.3c-4.1 0-7.3-1.6-9.5-4.9C.9 36.9 0 33.5 0 29.4c0-5.2 1.4-9.9 4.1-14 2.8-4.1 6.9-7.5 12.5-10l1.5 2.8c-3.3 1.3-6.2 3.5-8.7 6.4zm27.5 0c-2.4 2.9-3.6 5.9-3.6 8.9 0 1.3.2 2.4.5 3.3 1.8-1.4 3.8-2.1 6-2.1 2.9 0 5.4.9 7.4 2.7 2 1.8 3 4.2 3 7.3 0 2.8-1 5.2-3 7.1-2 1.9-4.4 2.9-7.3 2.9-4.1 0-7.3-1.6-9.5-4.9-1.8-2.7-2.8-6.2-2.8-10.3 0-5.2 1.4-9.9 4.1-14 2.8-4.1 6.9-7.5 12.5-10l1.5 2.8c-3.5 1.2-6.4 3.4-8.8 6.3z"}),f=function(e){return u.a.createElement("svg",m({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),d)};function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var v=u.a.createElement("path",{d:"M22.6 12.8c-1.9.5-3.7 1.2-5.3 2.1-1.6.9-3.1 1.9-4.3 3-1.2 1.1-2.2 2.4-2.9 3.7-.7 1.3-1.1 2.7-1.1 4 0 1.2.1 1.8.3 1.8.8 0 1.5-.3 2.4-.9.8-.6 1.9-.9 3.3-.9 2.1 0 3.9.8 5.4 2.4 1.5 1.6 2.3 3.7 2.3 6.2s-1 4.6-2.9 6.4c-1.9 1.8-4.3 2.6-7.3 2.6-1.8 0-3.4-.4-4.9-1.1-1.5-.8-2.8-1.8-3.9-3.1s-2-2.8-2.6-4.6C.3 32.5 0 30.6 0 28.6c0-3 .6-5.8 1.8-8.3 1.2-2.5 2.8-4.8 4.9-6.7 2-1.9 4.4-3.5 7.2-4.6 2.8-1.2 5.6-1.8 8.6-2v5.8zm27.4 0c-1.9.5-3.7 1.2-5.4 2.1-1.7.9-3.1 1.9-4.3 3-1.2 1.1-2.2 2.4-2.9 3.7-.7 1.3-1.1 2.7-1.1 4 0 1.2.1 1.8.4 1.8.8 0 1.5-.3 2.3-.9.8-.6 1.9-.9 3.3-.9 2 0 3.8.8 5.3 2.4 1.5 1.6 2.3 3.7 2.3 6.2s-1 4.6-2.9 6.4c-2 1.8-4.4 2.6-7.3 2.6-1.7 0-3.3-.4-4.8-1.1-1.5-.8-2.8-1.8-3.9-3.1s-2-2.8-2.7-4.6c-.7-1.8-1-3.7-1-5.7 0-3 .6-5.8 1.8-8.3 1.2-2.5 2.8-4.8 4.9-6.7 2-1.9 4.4-3.5 7.2-4.6 2.8-1.2 5.7-1.8 8.8-2v5.7z"}),y=function(e){return u.a.createElement("svg",h({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),v)};function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=u.a.createElement("path",{d:"M19.8 9.3C10.5 11.8 4.6 17 2.1 24.8c2.3-3.6 5.6-5.4 9.9-5.4 3.3 0 6 1.1 8.3 3.3 2.2 2.2 3.4 5 3.4 8.3 0 3.2-1.1 5.8-3.3 8-2.2 2.2-5.1 3.2-8.7 3.2-3.7 0-6.5-1.2-8.6-3.5C1 36.3 0 33.1 0 29 0 18.3 6.5 11.2 19.6 7.9l.2 1.4zm26.4 0C36.9 11.9 31 17 28.5 24.8c2.2-3.6 5.5-5.4 9.8-5.4 3.2 0 6 1.1 8.3 3.2 2.3 2.2 3.4 4.9 3.4 8.3 0 3.1-1.1 5.8-3.3 7.9-2.2 2.2-5.1 3.3-8.6 3.3-3.7 0-6.6-1.1-8.6-3.4-2.1-2.3-3.1-5.5-3.1-9.7 0-10.7 6.6-17.8 19.7-21.1l.1 1.4z"}),k=function(e){return u.a.createElement("svg",w({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),O)};function _(){return(_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var j=u.a.createElement("path",{d:"M12.5 9.2H19c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v3.4c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7h-5.8c-.7 0-1.3.2-1.7.6-.4.4-.6 1-.6 1.7v1.3H20c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v12.5c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7H3c-1.1 0-1.8-.2-2.3-.7-.5-.4-.7-1.2-.7-2.2V21.9c0-4.3 1.1-7.4 3.4-9.6 2.3-2 5.3-3.1 9.1-3.1zm26.9 0h6.5c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v3.4c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7h-5.8c-.7 0-1.3.2-1.7.6-.4.4-.6 1-.6 1.7v1.3H47c1.1 0 1.8.2 2.3.7.5.5.7 1.2.7 2.3v12.5c0 1.1-.2 1.8-.7 2.3-.5.5-1.2.7-2.3.7H30c-1.1 0-1.8-.2-2.3-.7-.5-.5-.7-1.2-.7-2.3V21.9c0-4.3 1.1-7.4 3.4-9.6 2.2-2 5.2-3.1 9-3.1z"}),C=function(e){return u.a.createElement("svg",_({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),j)};function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var E=u.a.createElement("path",{d:"M20.8 44.5H0V23.7L9.3 5.5h7.3L12 23.7h8.8v20.8zm29.2 0H29.2V23.7l9.3-18.1h7.3l-4.6 18.1H50v20.8z"}),S=function(e){return u.a.createElement("svg",x({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),E)};function B(){return(B=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var T=u.a.createElement("path",{d:"M10.3 24.8V26H20v16.9H0V26.2C0 13.4 6.6 7.1 19.9 7.1v7.1c-3.4.5-5.9 1.6-7.4 3.3-1.5 1.7-2.2 4.1-2.2 7.3zm30 0V26H50v16.9H30.1V26.2c0-12.7 6.6-19.1 19.9-19.1v7.1c-6.4.7-9.7 4.3-9.7 10.6z"}),A=function(e){return u.a.createElement("svg",B({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),T)};function N(){return(N=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var P=u.a.createElement("path",{d:"M21.1 6.8v36.4H0V22.1L21.1 6.8zm28.9 0v36.4H28.9V22.1L50 6.8z"}),F=function(e){return u.a.createElement("svg",N({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),P)};function R(){return(R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var D=u.a.createElement("path",{d:"M14.7 45.9H0V31.3C0 17.6 8.6 6.6 21.6 4.1v4.7c-10 2.6-16.7 10.9-16.7 22.6h9.8v14.5zm28.1 0H28.4V31.3C28.4 17.6 37 6.6 50 4.1v4.7c-9.8 2.6-16.7 10.9-16.7 22.6h9.5v14.5z"}),M=function(e){return u.a.createElement("svg",R({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),D)};function z(){return(z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(f,z({style:e},t))},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(k,z({style:e},t))},U=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(y,z({style:e},t))},H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(g,z({style:e},t))},W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(A,z({style:e},t))},G=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(C,z({style:e},t))},q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(S,z({style:e},t))},V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(F,z({style:e},t))},X=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return wp.element.createElement(M,z({style:e},t))},Y={"round-thin":{icon:L(),iconFunc:L,title:Object(i.__)("Round Thin",o.i18n),value:"round-thin"},round:{icon:I(),iconFunc:I,title:Object(i.__)("Round",o.i18n),value:"round"},"round-thick":{icon:U(),iconFunc:U,title:Object(i.__)("Round Thick",o.i18n),value:"round-thick"},"round-fat":{icon:H(),iconFunc:H,title:Object(i.__)("Round Fat",o.i18n),value:"round-fat"},"square-thin":{icon:X(),iconFunc:X,title:Object(i.__)("Square Thin",o.i18n),value:"square-thin"},square:{icon:W(),iconFunc:W,title:Object(i.__)("Square",o.i18n),value:"square"},"square-simple":{icon:V(),iconFunc:V,title:Object(i.__)("Square Simple",o.i18n),value:"square-simple"},"square-modern":{icon:q(),iconFunc:q,title:Object(i.__)("Square Modern",o.i18n),value:"square-modern"},"square-fat":{icon:G(),iconFunc:G,title:Object(i.__)("Square Fat",o.i18n),value:"square-fat"}},K=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M9.4,14.6c-2.4,2.9-3.6,5.9-3.6,8.9c0,1.3,0.2,2.4,0.5,3.3c1.8-1.4,3.8-2.1,6-2.1c2.9,0,5.3,0.9,7.3,2.7c2,1.8,3,4.2,3,7.3 c0,1.9-0.5,3.6-1.4,5.1c-0.9,1.5-2.2,2.7-3.8,3.6s-3.3,1.3-5.1,1.3c-4.1,0-7.3-1.6-9.5-4.9C0.9,36.9,0,33.5,0,29.4 c0-5.2,1.4-9.9,4.1-14c2.8-4.1,6.9-7.5,12.5-10l1.5,2.8C14.8,9.5,11.9,11.7,9.4,14.6z M36.9,14.6c-2.4,2.9-3.6,5.9-3.6,8.9 c0,1.3,0.2,2.4,0.5,3.3c1.8-1.4,3.8-2.1,6-2.1c2.9,0,5.4,0.9,7.4,2.7c2,1.8,3,4.2,3,7.3c0,2.8-1,5.2-3,7.1c-2,1.9-4.4,2.9-7.3,2.9 c-4.1,0-7.3-1.6-9.5-4.9c-1.8-2.7-2.8-6.2-2.8-10.3c0-5.2,1.4-9.9,4.1-14c2.8-4.1,6.9-7.5,12.5-10l1.5,2.8 C42.2,9.5,39.3,11.7,36.9,14.6z"}))},J=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M19.8,9.3C10.5,11.8,4.6,17,2.1,24.8c2.3-3.6,5.6-5.4,9.9-5.4c3.3,0,6,1.1,8.3,3.3c2.2,2.2,3.4,5,3.4,8.3 c0,3.2-1.1,5.8-3.3,8c-2.2,2.2-5.1,3.2-8.7,3.2c-3.7,0-6.5-1.2-8.6-3.5C1,36.3,0,33.1,0,29C0,18.3,6.5,11.2,19.6,7.9L19.8,9.3z M46.2,9.3C36.9,11.9,31,17,28.5,24.8c2.2-3.6,5.5-5.4,9.8-5.4c3.2,0,6,1.1,8.3,3.2c2.3,2.2,3.4,4.9,3.4,8.3c0,3.1-1.1,5.8-3.3,7.9 c-2.2,2.2-5.1,3.3-8.6,3.3c-3.7,0-6.6-1.1-8.6-3.4c-2.1-2.3-3.1-5.5-3.1-9.7c0-10.7,6.6-17.8,19.7-21.1L46.2,9.3z"}))},$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M22.6,12.8c-1.9,0.5-3.7,1.2-5.3,2.1c-1.6,0.9-3.1,1.9-4.3,3c-1.2,1.1-2.2,2.4-2.9,3.7c-0.7,1.3-1.1,2.7-1.1,4 c0,1.2,0.1,1.8,0.3,1.8c0.8,0,1.5-0.3,2.4-0.9c0.8-0.6,1.9-0.9,3.3-0.9c2.1,0,3.9,0.8,5.4,2.4c1.5,1.6,2.3,3.7,2.3,6.2 c0,2.5-1,4.6-2.9,6.4c-1.9,1.8-4.3,2.6-7.3,2.6c-1.8,0-3.4-0.4-4.9-1.1c-1.5-0.8-2.8-1.8-3.9-3.1c-1.1-1.3-2-2.8-2.6-4.6 C0.3,32.5,0,30.6,0,28.6c0-3,0.6-5.8,1.8-8.3c1.2-2.5,2.8-4.8,4.9-6.7c2-1.9,4.4-3.5,7.2-4.6c2.8-1.2,5.6-1.8,8.6-2V12.8z M50,12.8 c-1.9,0.5-3.7,1.2-5.4,2.1c-1.7,0.9-3.1,1.9-4.3,3c-1.2,1.1-2.2,2.4-2.9,3.7c-0.7,1.3-1.1,2.7-1.1,4c0,1.2,0.1,1.8,0.4,1.8 c0.8,0,1.5-0.3,2.3-0.9c0.8-0.6,1.9-0.9,3.3-0.9c2,0,3.8,0.8,5.3,2.4c1.5,1.6,2.3,3.7,2.3,6.2c0,2.5-1,4.6-2.9,6.4 c-2,1.8-4.4,2.6-7.3,2.6c-1.7,0-3.3-0.4-4.8-1.1c-1.5-0.8-2.8-1.8-3.9-3.1c-1.1-1.3-2-2.8-2.7-4.6c-0.7-1.8-1-3.7-1-5.7 c0-3,0.6-5.8,1.8-8.3c1.2-2.5,2.8-4.8,4.9-6.7c2-1.9,4.4-3.5,7.2-4.6c2.8-1.2,5.7-1.8,8.8-2V12.8z"}))},Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M22.3,30.5c0,6-4.8,10.8-10.8,10.8c-2.3,0-4.5-0.8-6.3-2c-0.9-0.6-1.8-1.4-2.5-2.4c-1.8-2.4-2.7-5.4-2.7-9 c0-4.5,1.3-8.5,4-11.9c2.7-3.4,6.4-5.8,11.1-7.3v2.8c-2.7,2.2-4.4,5-4.9,8.3c0.4-0.1,0.9-0.1,1.3-0.1C17.5,19.6,22.3,24.5,22.3,30.5 z M39.2,19.6c-0.5,0-0.9,0-1.3,0.1c0.5-3.3,2.2-6.1,4.9-8.3V8.7c-4.7,1.4-8.4,3.9-11.1,7.3c-2.7,3.4-4,7.4-4,11.9 c0,3.6,0.9,6.6,2.7,9c0.8,1,1.6,1.8,2.5,2.4c1.8,1.3,3.9,2,6.3,2c6,0,10.8-4.8,10.8-10.8C50,24.5,45.2,19.6,39.2,19.6z"}))},Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M10.3,24.8V26h9.7v16.9H0V26.2C0,13.4,6.6,7.1,19.9,7.1v7.1c-3.4,0.5-5.9,1.6-7.4,3.3C11,19.2,10.3,21.6,10.3,24.8z M40.3,24.8V26H50v16.9H30.1V26.2c0-12.7,6.6-19.1,19.9-19.1v7.1C43.6,14.9,40.3,18.5,40.3,24.8z"}))},ee=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M12.5,9.2h6.5c1.1,0,1.8,0.2,2.3,0.7c0.5,0.5,0.7,1.2,0.7,2.3v3.4c0,1.1-0.2,1.8-0.7,2.3c-0.5,0.5-1.2,0.7-2.3,0.7h-5.8 c-0.7,0-1.3,0.2-1.7,0.6c-0.4,0.4-0.6,1-0.6,1.7v1.3H20c1.1,0,1.8,0.2,2.3,0.7c0.5,0.5,0.7,1.2,0.7,2.3v12.5c0,1.1-0.2,1.8-0.7,2.3 c-0.5,0.5-1.2,0.7-2.3,0.7H3c-1.1,0-1.8-0.2-2.3-0.7C0.2,39.6,0,38.8,0,37.8V21.9c0-4.3,1.1-7.4,3.4-9.6C5.7,10.3,8.7,9.2,12.5,9.2z M39.4,9.2h6.5c1.1,0,1.8,0.2,2.3,0.7c0.5,0.5,0.7,1.2,0.7,2.3v3.4c0,1.1-0.2,1.8-0.7,2.3c-0.5,0.5-1.2,0.7-2.3,0.7h-5.8 c-0.7,0-1.3,0.2-1.7,0.6c-0.4,0.4-0.6,1-0.6,1.7v1.3H47c1.1,0,1.8,0.2,2.3,0.7c0.5,0.5,0.7,1.2,0.7,2.3v12.5c0,1.1-0.2,1.8-0.7,2.3 c-0.5,0.5-1.2,0.7-2.3,0.7H30c-1.1,0-1.8-0.2-2.3-0.7c-0.5-0.5-0.7-1.2-0.7-2.3V21.9c0-4.3,1.1-7.4,3.4-9.6 C32.6,10.3,35.6,9.2,39.4,9.2z"}))},te=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M20.8,44.5H0V23.7L9.3,5.5h7.3L12,23.7h8.8V44.5z M50,44.5H29.2V23.7l9.3-18.1h7.3l-4.6,18.1H50V44.5z"}))},ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M21.1,6.8v36.4H0V22.1L21.1,6.8z M50,6.8v36.4H28.9V22.1L50,6.8z"}))},ae=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 50 50",style:e},wp.element.createElement("path",{d:"M14.7,45.9H0V31.3C0,17.6,8.6,6.6,21.6,4.1v4.7c-10,2.6-16.7,10.9-16.7,22.6h9.8V45.9z M42.8,45.9H28.4V31.3 C28.4,17.6,37,6.6,50,4.1v4.7c-9.8,2.6-16.7,10.9-16.7,22.6h9.5V45.9z"}))},oe={"round-thin":{icon:J(),iconFunc:J,title:"Round Thin",value:"round-thin"},round:{icon:K(),iconFunc:K,title:"Round",value:"round"},"round-thick":{icon:$(),iconFunc:$,title:"Round Thick",value:"round-thick"},"round-fat":{icon:Z(),iconFunc:Z,title:"Round Fat",value:"round-fat"},"square-thin":{icon:ae(),iconFunc:ae,title:"Square Thin",value:"square-thin"},square:{icon:Q(),iconFunc:Q,title:"Square",value:"square"},"square-simple":{icon:ne(),iconFunc:ne,title:"Square Simple",value:"square-simple"},"square-modern":{icon:te(),iconFunc:te,title:"Square Modern",value:"square-modern"},"square-fat":{icon:ee(),iconFunc:ee,title:"Square Fat",value:"square-fat"}},ie=n(2),re=n(6),le=n(8),ce=n.n(le);function se(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?se(n,!0).forEach(function(t){be(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):se(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pe={align:{type:"string"},text:{source:"html",selector:"p",default:Object(ie.F)("long")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},quotationMark:{type:"string",default:"round-thin"},quotationSize:{type:"number",default:70},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},ge={text:{source:"html",selector:"p",default:Object(ie.F)("long")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1}},me={align:{type:"string"},text:{source:"html",selector:"p",default:Object(ie.F)("long")},color:{type:"string",default:""},quoteColor:{type:"string",default:""},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},contentWidth:{type:"boolean",default:!1},quotationMark:{type:"string",default:"round-thin"},quotationSize:{type:"number",default:70},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},de=[{attributes:pe,save:function(e){var t,n=e.className,a=e.attributes,o=a.color,i=a.text,l=a.quoteColor,c=a.backgroundColorType,s=void 0===c?"":c,u=a.backgroundColor,b=a.backgroundColor2,p=a.backgroundColorDirection,g=void 0===p?0:p,m=a.backgroundType,d=void 0===m?"":m,f=a.backgroundImageURL,h=a.backgroundOpacity,v=void 0===h?5:h,y=a.fixedBackground,w=a.quotationMark,O=void 0===w?"round-thin":w,k=a.quotationSize,_=void 0===k?70:k,j=a.align,C=a.contentWidth,x=a.design,E=void 0===x?"plain":x,S=a.borderRadius,B=void 0===S?12:S,T=a.shadow,A=void 0===T?3:T,N=["basic","top-icon"].includes(E),P=ce()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(v/1),"ugb-blockquote--design-".concat(E)],Object(r.applyFilters)("stackable.blockquote.mainclasses_1_17_3",(be(t={"ugb--has-background":N&&(u||f),"ugb--has-background-image":N&&f},"ugb--shadow-".concat(A),N&&3!==A),be(t,"ugb-content-width","full"===j&&C),be(t,"ugb-blockquote--small-quote",_<60),be(t,"ugb--has-background-gradient","gradient"===s),be(t,"ugb--has-background-video","video"===d),t),E,e)),F=N?{backgroundColor:u||void 0,backgroundImage:f?"url(".concat(f,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":f||"gradient"===s?u:void 0,"--ugb-background-color2":"gradient"===s&&b?b:void 0,"--ugb-background-direction":"gradient"===s?"".concat(g,"deg"):void 0,borderRadius:12!==B?B:void 0}:{},R=Object(r.applyFilters)("stackable.blockquote.styles_1_17_3",{main:ue({"--quote-color":l||void 0},F),text:{color:o}},E,e);return wp.element.createElement("blockquote",{className:P,style:R.main},N&&"video"===d&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(r.applyFilters)("stackable.blockquote.save.output.before_1_17_3",null,E,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},Y[O].iconFunc({fill:l,width:_,height:_}),Object(r.applyFilters)("stackable.blockquote.save.output_1_17_3",wp.element.createElement(re.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:R.text,value:i}),E,e)),Object(r.applyFilters)("stackable.blockquote.save.output.after_1_17_3",null,E,e))},migrate:function(e){var t=function(t){var n=(t||"").replace(/\.ugb-content-wrapper/g,".ugb-blockquote__item").replace(/svg(\s*\{)/g,".ugb-blockquote__quote$1");return"basic"===e.design&&(n=n.replace(/\.ugb-blockquote(\s*\{)/g,".ugb-blockquote__item$1")),n};return ue({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),showQuote:!0,quoteIcon:e.quotationMark,quoteSize:e.quotationSize,textColor:e.color?e.color:e.backgroundColor?"#000000":void 0,containerBackgroundColorType:e.backgroundColorType,containerBackgroundColor:e.backgroundColor,containerBackgroundColor2:e.backgroundColor2,containerBackgroundGradientDirection:e.backgroundColorDirection,containerBackgroundMediaId:e.backgroundImageID,containerBackgroundMediaUrl:e.backgroundImageURL,containerBackgroundTintStrength:e.backgroundOpacity,containerFixedBackground:e.fixedBackground,design:"basic"===e.design&&"full"===e.align?"plain":e.design,showBlockBackground:"basic"===e.design&&"full"===e.align||void 0,blockInnerWidth:"full"!==e.align?void 0:"basic"===e.design&&!0===e.contentWidth?"center":"full",blockBackgroundBackgroundColor:"basic"===e.design&&"full"===e.align?e.backgroundColor:void 0,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}},{attributes:me,save:function(e){var t,n=e.className,a=e.attributes,o=a.color,i=a.text,l=a.quoteColor,c=a.backgroundColorType,s=void 0===c?"":c,u=a.backgroundColor,b=a.backgroundColor2,p=a.backgroundColorDirection,g=void 0===p?0:p,m=a.backgroundType,d=void 0===m?"":m,f=a.backgroundImageURL,h=a.backgroundOpacity,v=void 0===h?5:h,y=a.fixedBackground,w=a.quotationMark,O=void 0===w?"round-thin":w,k=a.quotationSize,_=void 0===k?70:k,j=a.align,C=a.contentWidth,x=a.design,E=void 0===x?"plain":x,S=a.borderRadius,B=void 0===S?12:S,T=a.shadow,A=void 0===T?3:T,N=["basic","top-icon"].includes(E),P=ce()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(v/1),"ugb-blockquote--design-".concat(E)],Object(r.applyFilters)("stackable.blockquote.mainclasses",(be(t={"ugb--has-background":N&&(u||f),"ugb--has-background-image":N&&f},"ugb--shadow-".concat(A),N&&3!==A),be(t,"ugb-content-width","full"===j&&C),be(t,"ugb-blockquote--small-quote",_<60),be(t,"ugb--has-background-gradient","gradient"===s),be(t,"ugb--has-background-video","video"===d),t),E,e)),F=N?{backgroundColor:u||void 0,backgroundImage:f?"url(".concat(f,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":f||"gradient"===s?u:void 0,"--ugb-background-color2":"gradient"===s&&b?b:void 0,"--ugb-background-direction":"gradient"===s?"".concat(g,"deg"):void 0,borderRadius:12!==B?B:void 0}:{},R=Object(r.applyFilters)("stackable.blockquote.styles_1_17_3",{main:ue({"--quote-color":l||void 0},F),text:{color:o}},E,e);return wp.element.createElement("blockquote",{className:P,style:R.main},N&&"video"===d&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(r.applyFilters)("stackable.blockquote.save.output.before",null,E,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},Y[O].iconFunc({fill:l,width:_,height:_}),Object(r.applyFilters)("stackable.blockquote.save.text",wp.element.createElement(re.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:R.text,value:i}),E,e)),Object(r.applyFilters)("stackable.blockquote.save.output.after",null,E,e))}},{attributes:me,save:function(e){var t,n=e.className,a=e.attributes,o=a.color,i=a.text,r=a.quoteColor,l=a.backgroundColor,c=a.backgroundImageURL,s=a.backgroundOpacity,u=void 0===s?5:s,b=a.fixedBackground,p=a.quotationMark,g=void 0===p?"round-thin":p,m=a.quotationSize,d=void 0===m?70:m,f=a.align,h=a.contentWidth,v=a.design,y=void 0===v?"plain":v,w=a.borderRadius,O=void 0===w?12:w,k=a.shadow,_=void 0===k?3:k,j=["basic","top-icon"].includes(y),C=ce()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(u/1),"ugb-blockquote--design-".concat(y)],(be(t={"ugb--has-background":j&&(l||c),"ugb--has-background-image":j&&c},"ugb--shadow-".concat(_),j&&3!==_),be(t,"ugb-content-width","full"===f&&h),t)),x={"--quote-color":r||void 0,backgroundColor:j&&l?l:void 0,backgroundImage:j&&c?"url(".concat(c,")"):void 0,backgroundAttachment:j&&b?"fixed":void 0,"--ugb-background-color":j&&c?l:void 0,borderRadius:j&&12!==O?O:void 0};return wp.element.createElement("blockquote",{className:C,style:x},wp.element.createElement("div",{className:"ugb-content-wrapper"},oe[g].iconFunc({fill:r,width:d,height:d}),wp.element.createElement(re.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:{color:o},value:i})))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return ue({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:ge,save:function(e){var t=e.className,n=e.attributes,a=n.color,o=n.text,i=n.quoteColor,r=n.backgroundColor,l=n.backgroundImageURL,c=n.backgroundOpacity,s=void 0===c?5:c,u=n.fixedBackground,b=ce()([t,"ugb-blockquote","ugb-has-background-opacity-"+1*Math.round(s/1)],{"ugb-has-background":r||l,"ugb-has-background-image":l}),p={"--quote-color":i||void 0,backgroundColor:r||void 0,backgroundImage:l?"url(".concat(l,")"):void 0,backgroundAttachment:u?"fixed":void 0,"--ugb-background-color":l?r:void 0};return wp.element.createElement("blockquote",{className:b,style:p},wp.element.createElement(re.RichText.Content,{tagName:"p",style:{color:a},value:o}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").trim();return ue({},e,{design:e.backgroundColor||e.backgroundImageURL?"basic":"plain",borderRadius:12,shadow:3,quotationMark:"round-thin",quotationSize:70,contentWidth:!1,className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{text:{source:"html",selector:"p",default:"It's okay to acknowledge that life can get complicated, but we musn't forget the beauty in its simplicity, too. From the multitude of stars above, to freshly mowed grass in the morning, life is simply wonderful."},color:{type:"string",default:""},quoteColor:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.color,o=n.text,i=n.quoteColor,r=ce()([t,"ugb-blockquote"]);return wp.element.createElement("blockquote",{className:r,style:{"--quote-color":i}},wp.element.createElement(re.RichText.Content,{tagName:"p",style:{color:a},value:o}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return ue({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}}],fe=n(223),he=n.n(fe),ve=n(224),ye=n.n(ve),we=function(e){var t=e.attributes.design,n=void 0===t?"basic":t;return Object(r.applyFilters)("stackable.blockquote.show",{containerBackground:"basic"===n,borderRadius:"basic"===n,shadow:"basic"===n},e)},Oe=n(14),ke=n.n(Oe);function _e(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(n,!0).forEach(function(t){xe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ee=function(e){var t=Object(ie.b)(e.attributes),n=we(e),a=[];a.push(Ce({},n.containerBackground?Object(ie.l)("container%s","ugb-blockquote__item",e.attributes,{importantBackgroundColor:!0}):{})),n.containerBackground&&a.push({".ugb-blockquote__item":{borderRadius:n.borderRadius?t("borderRadius","%spx !important"):void 0}});var o=e.attributes.showQuote;(void 0===o||o)&&(a.push({".ugb-blockquote__quote":{fill:Object(ie.c)(t("quoteColor")),opacity:t("quoteOpacity")}}),a.push.apply(a,_e(Object(ie.y)(".ugb-blockquote__quote","quote%sSize","width","%spx",e.attributes,!0))),a.push.apply(a,_e(Object(ie.y)(".ugb-blockquote__quote","quote%sSize","height","%spx",e.attributes,!0))),a.push.apply(a,_e(Object(ie.y)(".ugb-blockquote__quote","quote%sX","left","%spx",e.attributes,!0))),a.push.apply(a,_e(Object(ie.y)(".ugb-blockquote__quote","quote%sY","top","%spx",e.attributes,!0))));var i=e.attributes,r=i.containerBackgroundColor,l=void 0===r?"":r,c=i.textColor,s=void 0===c?"":c;return a.push({".ugb-blockquote__text":Ce({},Object(ie.D)("text%s","desktop",e.attributes,{important:!0}),{color:Object(ie.db)(s,n.containerBackground&&l)}),tablet:{".ugb-blockquote__text":Ce({},Object(ie.D)("text%s","tablet",e.attributes,{important:!0}))},mobile:{".ugb-blockquote__text":Ce({},Object(ie.D)("text%s","mobile",e.attributes,{important:!0}))}}),a.push.apply(a,_e(Object(ie.y)(".ugb-blockquote__item","text%sAlign","textAlign","%s",e.attributes,!0))),ke.a.all(a)},Se=n(3),Be=n(11),Te=n(9),Ae=n(7),Ne=n(12);function Pe(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(r.addFilter)("stackable.blockquote.edit.inspector.layout.before","stackable/blockquote",function(e,t){var n=t.setAttributes,a=t.attributes.design,l=void 0===a?"basic":a;return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(Se.y,{initialOpen:!0,selected:l,options:Object(r.applyFilters)("stackable.blockquote.edit.layouts",[{label:Object(i.__)("Basic",o.i18n),value:"basic",image:he.a},{label:Object(i.__)("Plain",o.i18n),value:"plain",image:ye.a}]),onChange:function(e){return n({design:e})}},o.showProNotice&&wp.element.createElement(Se.bb,null)))}),Object(r.addFilter)("stackable.blockquote.edit.inspector.style.before","stackable/blockquote",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.borderRadius,l=void 0===r?"":r,c=a.shadow,s=void 0===c?"":c,u=a.showQuote,b=void 0===u||u,p=a.quoteIcon,g=void 0===p?"round-thin":p,m=a.quoteColor,d=void 0===m?"":m,f=a.quoteOpacity,h=void 0===f?"":f,v=a.textColor,y=void 0===v?"":v,w=we(t);return wp.element.createElement(Ae.Fragment,null,e,wp.element.createElement(Te.PanelBody,{title:Object(i.__)("General",o.i18n)},w.borderRadius&&wp.element.createElement(Se.b,{label:Object(i.__)("Border Radius",o.i18n),value:l,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),w.shadow&&wp.element.createElement(Se.b,{label:Object(i.__)("Shadow / Outline",o.i18n),value:s,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(Se.s,{setAttributes:n,blockAttributes:t.attributes})),w.containerBackground&&wp.element.createElement(Se.X,{title:Object(i.__)("Container Background",o.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(Se.g,{attrNameTemplate:"container%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(Se.X,{title:Object(i.__)("Quotation Mark",o.i18n),id:"quotation",checked:b,onChange:function(e){return n({showQuote:e})},toggleOnSetAttributes:["quoteIcon","quoteColor"].concat(Pe(Object(ie.w)("quote%sSize")),Pe(Object(ie.w)("quote%sX")),Pe(Object(ie.w)("quote%sY"))),toggleAttributeName:"showQuote"},wp.element.createElement(Se.d,{label:Object(i.__)("Icon",o.i18n),multiline:!0,className:"ugb-blockquote__inspector__icon",controls:Object.values(Y),value:g,onChange:function(e){return n({quoteIcon:e})}}),wp.element.createElement(Se.r,{value:d,onChange:function(e){return n({quoteColor:e})},label:Object(i.__)("Color",o.i18n)}),wp.element.createElement(Se.cb,{attrNameTemplate:"quote%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Se.b,{label:Object(i.__)("Size",o.i18n),min:0,max:400,allowReset:!0,placeholder:"70"})),wp.element.createElement(Se.b,{label:Object(i.__)("Opacity",o.i18n),value:h,onChange:function(e){return n({quoteOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"1"}),wp.element.createElement(Se.cb,{attrNameTemplate:"quote%sX",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Se.b,{label:Object(i.__)("Horizontal Position",o.i18n),min:-400,max:400,allowReset:!0,placeholder:"0"})),wp.element.createElement(Se.cb,{attrNameTemplate:"quote%sY",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Se.b,{label:Object(i.__)("Vertical Position",o.i18n),min:-400,max:400,allowReset:!0,placeholder:"0"}))),wp.element.createElement(Se.X,{title:Object(i.__)("Text",o.i18n),id:"text",hasToggle:!1},wp.element.createElement(Se.lb,{attrNameTemplate:"text%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(Se.r,{value:y,onChange:function(e){return n({textColor:e})},label:Object(i.__)("Text Color",o.i18n)}),wp.element.createElement(Se.cb,{attrNameTemplate:"Text%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Se.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-description"}))))});var Fe=Object(Ne.compose)(Be.i,Be.g,Be.d,Object(Be.h)(),Object(Be.c)(["Text%sAlign"]),Object(Be.a)(Ee,{editorMode:!0}),Object(Be.b)([[".ugb-blockquote__item","column-background"],[".ugb-blockquote__quote","quotation"],[".ugb-blockquote__text","text"]]))(function(e){var t,n,a,o=e.className,i=e.setAttributes,l=e.attributes,c=l.blockTag,s=void 0===c?"":c,u=l.design,b=void 0===u?"plain":u,p=l.shadow,g=void 0===p?"":p,m=l.text,d=void 0===m?"":m,f=l.showQuote,h=void 0===f||f,v=l.quoteIcon,y=void 0===v?"round-thin":v,w=l.quoteSize,O=void 0===w?70:w,k=we(e),_=ce()([o,"ugb-blockquote--v3","ugb-blockquote--design-".concat(b)],Object(r.applyFilters)("stackable.blockquote.mainclasses",{"ugb-blockquote--small-quote":O<60},b,e)),j=ce()(["ugb-blockquote__item"],(t={},n="ugb--shadow-".concat(g),a=k.containerBackground&&""!==g,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement(Se.j.Edit,{blockTag:s||"blockquote",className:_,blockProps:e,render:function(){return wp.element.createElement(Ae.Fragment,null,wp.element.createElement(Se.B,{className:j,backgroundAttrName:"container%s",blockProps:e,showBackground:k.containerBackground},h&&Y[y].iconFunc({},{className:"ugb-blockquote__quote",width:O,height:O}),wp.element.createElement("div",{className:"ugb-blockquote__content"},wp.element.createElement(re.RichText,{className:"ugb-blockquote__text",value:d,onChange:function(e){return i({text:e})},placeholder:Object(ie.F)("long"),keepPlaceholderOnFocus:!0}))))}})});var Re=Object(Ne.compose)(Be.i,Object(Be.a)(Ee))(function(e){var t,n,a,o=e.className,i=e.attributes,l=i.blockTag,c=void 0===l?"":l,s=i.design,u=void 0===s?"plain":s,b=i.shadow,p=void 0===b?"":b,g=i.text,m=void 0===g?"":g,d=i.showQuote,f=void 0===d||d,h=i.quoteIcon,v=void 0===h?"round-thin":h,y=i.quoteSize,w=void 0===y?70:y,O=we(e),k=ce()([o,"ugb-blockquote--v3","ugb-blockquote--design-".concat(u)],Object(r.applyFilters)("stackable.blockquote.mainclasses",{"ugb-blockquote--small-quote":w<60},u,e)),_=ce()(["ugb-blockquote__item"],(t={},n="ugb--shadow-".concat(p),a=O.containerBackground&&""!==p,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t));return wp.element.createElement(Se.j.Save,{blockTag:c||"blockquote",className:k,blockProps:e,render:function(){return wp.element.createElement(Ae.Fragment,null,wp.element.createElement(Se.B,{className:_,backgroundAttrName:"container%s",blockProps:e,showBackground:O.containerBackground},f&&Y[v].iconFunc({},{className:"ugb-blockquote__quote",width:w,height:w}),wp.element.createElement("div",{className:"ugb-blockquote__content"},wp.element.createElement(re.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",value:m}))))}})}),De=n(15);function Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ze(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return Le}),n.d(t,"settings",function(){return Ue});var Ie=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(n,!0).forEach(function(t){ze(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"plain"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(ie.j)("container%s"),{showQuote:{type:"boolean",default:!0},quoteIcon:{type:"string",default:"round-thin"},quoteOpacity:{type:"number",default:""},quoteColor:{type:"string",default:""},quoteSize:{type:"number",default:70}},Object(ie.h)("quote%s%s",{type:"number",default:""},["","Tablet","Mobile"],["X","Y"]),{text:{source:"html",selector:".ugb-blockquote__text",default:Object(ie.F)("long")}},Object(ie.C)("text%s"),{textColor:{type:"string",default:""}},Object(ie.x)("text%sAlign",{type:"string",default:""})),Le="ugb/blockquote",Ue={title:Object(i.__)("Blockquote",o.i18n),description:Object(i.__)("Display a quote in style.",o.i18n),icon:De.b,category:"stackable",keywords:[Object(i.__)("Blockquote",o.i18n),Object(i.__)("Stackable",o.i18n)],supports:{align:["center","wide","full"],inserter:!o.disabledBlocks.includes(Le)},attributes:Ie,deprecated:de,edit:Fe,save:Re,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(r.applyFilters)("stackable.blockquote.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(15),o=n(2),i=n(10),r=n(1),l=n(0),c=n(5);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(c.addFilter)("stackable.video-popup.design.filtered-block-attributes","stackable/video-popup",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(i.omit)(e,["videoLink","videoID","video-popup3","previewBackgroundMediaId"].concat(b(t&&t.previewBackgroundMediaId?["previewBackgroundMediaUrl"]:[])))}),Object(c.addFilter)("stackable.video-popup.edit.designs","stackable/video-popup",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(l.__)("Corporate Light 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-video-popup-design-corporate-light-01.jpg",attributes:{borderRadius:0,playButtonColor:"#ff550a",previewBackgroundColor:"#ffffff",previewBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-testimonial-corporate-light-01-01.jpg",previewBackgroundTintStrength:6,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#ff550a",blockBackgroundBackgroundColor2:"#ffb20b",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ffffff",showBlockDescription:!0,blockDescriptionBottomMargin:55,blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}},corporateLight2:{label:Object(l.__)("Corporate Light 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-video-popup-design-corporate-light-02.jpg",attributes:{borderRadius:0,playButtonColor:"#c49732",previewBackgroundColor:"#c49732",previewBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-video-popup-corporate-light-02-01.jpg",previewBackgroundTintStrength:3,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#1e55d3",blockBackgroundBackgroundColor2:"#6a91eb",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ffffff",showBlockDescription:!0,blockDescriptionBottomMargin:55,blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}},corporateDark1:{label:Object(l.__)("Corporate Dark 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-video-popup-design-corporate-dark-01.jpg",attributes:{borderRadius:0,playButtonColor:"#0e2448",previewBackgroundColor:"#c5dfb4",previewBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-video-popup-corporate-dark-01-01.jpg",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#0e2448",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-corporate-dark-01-01.jpg",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c5dfb4",showBlockDescription:!0,blockDescriptionBottomMargin:55,blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}},corporateDark2:{label:Object(l.__)("Corporate Dark 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-video-popup-design-corporate-dark-02.jpg",attributes:{borderRadius:0,playButtonColor:"#ffffff",previewBackgroundColor:"#06c19d",previewBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-video-popup-corporate-dark-02-01.jpg",previewBackgroundTintStrength:5,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#707070",blockBackgroundBackgroundColor2:"#6a91eb",showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#06c19d",showBlockDescription:!0,blockDescriptionBottomMargin:55,blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}}})});var p=n(4),g=n.n(p);function m(){return(m=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var d=g.a.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"}),f=function(e){return g.a.createElement("svg",m({viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},e),d)};function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var v=g.a.createElement("path",{d:"M0 0v320l256-160L0 0z"}),y=function(e){return g.a.createElement("svg",h({viewBox:"0 0 256 320",xmlns:"http://www.w3.org/2000/svg"},e),v)};function w(){return(w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var O=g.a.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),k=g.a.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}),_=function(e){return g.a.createElement("svg",w({viewBox:"0 0 34 34",xmlns:"http://www.w3.org/2000/svg"},e),O,k)},j={normal:function(e){return wp.element.createElement(y,{style:e,width:"30",height:"30"})},circle:function(e){return wp.element.createElement(f,{style:e,width:"50",height:"50"})},outline:function(e){return wp.element.createElement(_,{style:e,width:"50",height:"50"})}},C=(Object(l.__)("Normal Play Button",r.i18n),Object(l.__)("Play Button with Circle",r.i18n),Object(l.__)("Outline Play Button",r.i18n),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return j[e]({fill:t})}),x=n(8),E=n.n(x);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(n,!0).forEach(function(t){T(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A={normal:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 256 320"},wp.element.createElement("path",{d:"M0 0v320l256-160L0 0z"})),circle:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 40 40"},wp.element.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"})),outline:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 34 34"},wp.element.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),wp.element.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}))},N=[{attributes:{videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"div",attribute:"data-video"},playButtonType:{type:"string",default:"normal"},playButtonColor:{type:"string",default:"#ffffff"},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string",default:"#000000"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},align:{type:"string"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},overlayColor:{type:"string"},mediaLink:{type:"string"},mediaID:{type:"number"}},save:function(e){var t,n=e.className,a=e.attributes,o=a.videoID,i=a.playButtonType,r=a.playButtonColor,l=void 0===r?"#ffffff":r,s=a.backgroundImageURL,u=a.backgroundColorType,b=void 0===u?"":u,p=a.backgroundColor,g=a.backgroundColor2,m=a.backgroundColorDirection,d=void 0===m?0:m,f=a.backgroundType,h=void 0===f?"":f,v=a.backgroundOpacity,y=a.design,w=void 0===y?"basic":y,O=a.borderRadius,k=void 0===O?12:O,_=a.shadow,j=void 0===_?3:_,x=E()([n,"ugb-video-popup","ugb-video-popup--v2","ugb-video-popup--design-".concat(w),"ugb-video-popup--button-".concat(i),"ugb--background-opacity-"+1*Math.round(v/1)],Object(c.applyFilters)("stackable.video-popup.mainclasses_1_15_6",(T(t={"ugb--has-background":p||s,"ugb--has-background-image":s},"ugb--shadow-".concat(j),"plain"!==w&&3!==j),T(t,"ugb--has-background-gradient","gradient"===b),T(t,"ugb--has-background-video","video"===h),t),w,e)),S={backgroundColor:p||void 0,backgroundImage:s?"url(".concat(s,")"):void 0,"--ugb-background-color":s||"gradient"===b?p:void 0,"--ugb-background-color2":"gradient"===b&&g?g:void 0,"--ugb-background-direction":"gradient"===b?"".concat(d,"deg"):void 0,borderRadius:"plain"!==w&&12!==k?k:void 0};return wp.element.createElement("div",{className:x,style:S,"data-video":o},"video"===h&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:s}),Object(c.applyFilters)("stackable.video-popup.save.output.before_1_15_6",null,w,e),wp.element.createElement("div",{className:"ugb-video-popup__wrapper"},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},C(i,l))))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-video-popup([\s\{\[\.\#\:])/g,".ugb-video-popup__wrapper$1")};return B({},e,{previewBackgroundColorType:e.backgroundColorType,previewBackgroundColor:e.backgroundColor,previewBackgroundColor2:e.backgroundColor2,previewBackgroundGradientDirection:e.backgroundColorDirection,previewBackgroundMediaId:e.backgroundImageID,previewBackgroundMediaUrl:e.backgroundImageURL,previewBackgroundTintStrength:e.backgroundOpacity,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}},{attributes:{videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"div",attribute:"data-video"},playButtonType:{type:"string",default:"normal"},playButtonColor:{type:"string",default:"#ffffff"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},align:{type:"string"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},overlayColor:{type:"string"},mediaLink:{type:"string"},mediaID:{type:"number"}},save:function(e){var t=e.className,n=e.attributes,a=n.videoID,o=n.playButtonType,i=n.playButtonColor,r=void 0===i?"#ffffff":i,l=n.backgroundImageURL,c=n.backgroundColor,s=n.backgroundOpacity,u=n.design,b=void 0===u?"basic":u,p=n.borderRadius,g=void 0===p?12:p,m=n.shadow,d=void 0===m?3:m,f=E()([t,"ugb-video-popup","ugb-video-popup--v2","ugb-video-popup--design-".concat(b),"ugb-video-popup--button-".concat(o),"ugb--background-opacity-"+1*Math.round(s/1)],T({"ugb--has-background":c||l,"ugb--has-background-image":l},"ugb--shadow-".concat(d),"plain"!==b&&3!==d)),h={backgroundColor:c||void 0,backgroundImage:l?"url(".concat(l,")"):void 0,"--ugb-background-color":l?c:void 0,borderRadius:"plain"!==b&&12!==g?g:void 0},v={normal:function(e){return wp.element.createElement("svg",{style:e,xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 256 320"},wp.element.createElement("path",{d:"M0 0v320l256-160L0 0z"}))},circle:function(e){return wp.element.createElement("svg",{style:e,xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 40 40"},wp.element.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"}))},outline:function(e){return wp.element.createElement("svg",{style:e,xmlns:"http://www.w3.org/2000/svg",width:"50",height:"50",viewBox:"0 0 34 34"},wp.element.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),wp.element.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}))}};return wp.element.createElement("div",{className:f,style:h,"data-video":a},wp.element.createElement("div",{className:"ugb-video-popup__wrapper"},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return v[e]({fill:t})}(o,r))))}},{attributes:{videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"div",attribute:"data-video"},playButtonType:{type:"string",default:"normal"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},overlayColor:{type:"string"},mediaLink:{type:"string"},mediaID:{type:"number"}},save:function(e){var t=e.className,n=e.attributes,a=n.videoID,o=n.playButtonType,i=n.backgroundImageURL,r=n.backgroundColor,l=n.backgroundOpacity,c=E()([t,"ugb-video-popup","ugb-has-background-opacity-"+1*Math.round(l/1)],{"ugb-has-background":r||i,"ugb-has-background-image":i}),s={backgroundColor:r||void 0,backgroundImage:i?"url(".concat(i,")"):void 0,"--ugb-background-color":i?r:void 0};return wp.element.createElement("div",{className:c,style:s,"data-video":a},wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#"}),wp.element.createElement("span",{className:"ugb-play-button"},C(o))))},migrate:function(e){return B({},e,{align:"center",playButtonColor:"#ffffff",design:"basic",borderRadius:12,shadow:3})}},{attributes:{videoLink:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video-url"},videoID:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video"},mediaLink:{type:"string",source:"attribute",selector:".ugb-video-preview",attribute:"data-url"},mediaID:{type:"number"},overlayColor:{type:"string",default:"#000000"},playButtonType:{type:"string",default:"normal"}},save:function(e){var t=e.className,n=e.attributes,a=n.videoLink,o=n.videoID,i=n.mediaLink,r=n.overlayColor,l=n.playButtonType,c=E()([t,"ugb-video-popup"]);return wp.element.createElement("div",{className:c,"data-video":o,"data-video-url":a,style:{backgroundColor:r}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url(".concat(i,")")},"data-url":i}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:r}}),wp.element.createElement("span",{className:"ugb-play-button"},A[l])))},migrate:function(e){return Object(i.omit)(B({},e,{backgroundOpacity:5,backgroundColor:e.overlayColor,backgroundImageID:e.mediaID,backgroundImageURL:e.mediaLink}),["overlayColor","mediaID","mediaLink"])}},{attributes:{videoLink:{type:"string",source:"attribute",selector:".ugb-video-popup",attribute:"data-video"},mediaLink:{type:"string",source:"attribute",selector:".ugb-video-preview",attribute:"data-url"},mediaID:{type:"number"},overlayColor:{type:"string",default:"#000000"},playButtonType:{type:"string",default:"normal"}},migrate:function(e){return e.videoID=e.videoLink,e},save:function(e){var t=e.attributes,n=t.videoLink,a=t.mediaLink,o=t.overlayColor,i=t.playButtonType;return wp.element.createElement("div",{className:"ugb-video-popup","data-video":n,style:{backgroundColor:o}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url(".concat(a,")")},"data-url":a}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:o}}),wp.element.createElement("span",{className:"ugb-play-button"},A[i])))}}],P=n(3);function F(){return(F=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var R=g.a.createElement("path",{d:"M16 29l12-9-12-9v18zm4-29C8.95 0 0 8.95 0 20s8.95 20 20 20 20-8.95 20-20S31.05 0 20 0zm0 36c-8.82 0-16-7.18-16-16S11.18 4 20 4s16 7.18 16 16-7.18 16-16 16z"}),D=function(e){return g.a.createElement("svg",F({viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg"},e),R)};function M(){return(M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var z=g.a.createElement("path",{d:"M0 0v320l256-160L0 0z"}),I=function(e){return g.a.createElement("svg",M({viewBox:"0 0 256 320",xmlns:"http://www.w3.org/2000/svg"},e),z)};function L(){return(L=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var U=g.a.createElement("path",{d:"M17 34C7.6 34 0 26.4 0 17S7.6 0 17 0s17 7.6 17 17-7.6 17-17 17zm0-32C8.7 2 2 8.7 2 17s6.7 15 15 15 15-6.7 15-15S25.3 2 17 2z"}),H=g.a.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}),W=function(e){return g.a.createElement("svg",L({viewBox:"0 0 34 34",xmlns:"http://www.w3.org/2000/svg"},e),U,H)},G={normal:wp.element.createElement(I,{className:"ugb-play-button-normal",width:"30",height:"30"}),circle:wp.element.createElement(D,{className:"ugb-play-button-cirle",width:"50",height:"50"}),outline:wp.element.createElement(W,{className:"ugb-play-button-outline",width:"50",height:"50"})},q=[{value:"normal",label:Object(l.__)("Normal Play Button",r.i18n)},{value:"circle",label:Object(l.__)("Play Button with Circle",r.i18n)},{value:"outline",label:Object(l.__)("Outline Play Button",r.i18n)}],V=function(e){return G[e]},X=function(e){var t=e.attributes,n=t.showBlockBackground,a=void 0!==n&&n,o=t.blockInnerWidth,i=void 0===o?"":o,r=t.align,l=!a&&"full"===(void 0===r?"":r)||a&&"full"===i;return Object(c.applyFilters)("stackable.video-popup.show",{containerWidth:!l,borderRadius:!l},e)},Y=n(11),K=n(14),J=n.n(K);function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Q=function(e){var t=Object(o.b)(e.attributes),n=X(e);!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e.attributes);var a=[];n.containerWidth&&a.push({".ugb-video-popup__wrapper":{maxWidth:""!==t("width")?t("width","%spx"):void 0},tablet:{".ugb-video-popup__wrapper":{maxWidth:""!==t("tabletWidth")?t("tabletWidth","%spx"):void 0}},mobile:{".ugb-video-popup__wrapper":{maxWidth:""!==t("mobileWidth")?t("mobileWidth","%spx"):void 0}}}),a.push({".ugb-video-popup__wrapper":{height:""!==t("height")?t("height","%spx !important"):void 0,borderRadius:n.borderRadius&&""!==t("borderRadius")?t("borderRadius","%spx"):void 0},".ugb-video-popup__play-button svg":{fill:""!==t("playButtonColor")?t("playButtonColor","%s !important"):void 0,height:""!==t("playButtonSize")?t("playButtonSize","%spx"):void 0,width:""!==t("playButtonSize")?t("playButtonSize","%spx"):void 0,opacity:""!==t("playButtonOpacity")?t("playButtonOpacity"):void 0},tablet:{".ugb-video-popup__wrapper":{height:""!==t("tabletHeight")?t("tabletHeight","%spx !important"):void 0},".ugb-video-popup__play-button svg":{height:""!==t("tabletPlayButtonSize")?t("tabletPlayButtonSize","%spx"):void 0,width:""!==t("tabletPlayButtonSize")?t("tabletPlayButtonSize","%spx"):void 0}},mobile:{".ugb-video-popup__wrapper":{height:""!==t("mobileHeight")?t("mobileHeight","%spx !important"):void 0},".ugb-video-popup__play-button svg":{height:""!==t("mobilePlayButtonSize")?t("mobilePlayButtonSize","%spx"):void 0,width:""!==t("mobilePlayButtonSize")?t("mobilePlayButtonSize","%spx"):void 0}}}),a.push(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(n,!0).forEach(function(t){Z(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Object(o.l)("preview%s","ugb-video-popup__wrapper",e.attributes)));var i=e.attributes,r=i.previewBackgroundTintStrength,l=void 0===r?"":r,c=i.previewBackgroundColor,s=void 0===c?"":c;return(l||s)&&a.push({".ugb-video-popup__wrapper:hover:before":{opacity:s&&""===l?.2:l>=5?l/10-.3:l/10+.3}}),J.a.all(a)},ee=n(9),te=n(12),ne=n(7);Object(c.addFilter)("stackable.video-popup.edit.inspector.style.before","stackable/video-popup",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.borderRadius,c=void 0===i?"":i,s=a.shadow,u=void 0===s?"":s,b=a.videoLink,p=void 0===b?"":b,g=a.videoID,m=void 0===g?"":g,d=a.playButtonType,f=a.playButtonColor,h=void 0===f?"#ffffff":f,v=a.playButtonOpacity,y=void 0===v?"":v,w=a.width,O=void 0===w?"":w,k=a.tabletWidth,_=void 0===k?"":k,j=a.mobileWidth,C=void 0===j?"":j,x=a.showBlockTitle,E=void 0!==x&&x,S=a.showBlockDescription,B=void 0!==S&&S,T=X(t);return wp.element.createElement(ne.Fragment,null,e,wp.element.createElement(ee.PanelBody,{title:Object(l.__)("General",r.i18n)},wp.element.createElement(P.N,{label:Object(l.__)("Popup Option #1: Upload Video",r.i18n),help:Object(l.__)("Use .mp4 format for videos",r.i18n),onRemove:function(){return n({videoLink:"",videoID:""})},onChange:function(e){n({videoLink:e.url,videoID:e.url})},imageID:Object(o.bb)(p)?m:"",imageURL:Object(o.bb)(p)?p:"",allowedTypes:["video"]}),wp.element.createElement(ee.TextControl,{label:Object(l.__)("Popup Option #2: Video URL",r.i18n),help:Object(l.__)("Paste a Youtube / Vimeo URL",r.i18n),placeholder:"https://",value:Object(o.bb)(p)?"":p,onChange:function(e){return n({videoLink:e,videoID:Object(o.L)(e).id})},min:1,max:4})),wp.element.createElement(P.X,{title:Object(l.__)("Container",r.i18n),initialOpen:!1},T.containerWidth&&wp.element.createElement(ne.Fragment,null,wp.element.createElement(P.ob,{screen:"desktop"},wp.element.createElement(P.b,{label:Object(l.__)("Width",r.i18n),value:O,min:"200",max:"2000",allowReset:!0,onChange:function(e){return t.setAttributes({width:e})},className:"ugb--help-tip-video-popup-width"})),wp.element.createElement(P.ob,{screen:"tablet"},wp.element.createElement(P.b,{label:Object(l.__)("Width",r.i18n),value:_,min:"200",max:"1000",allowReset:!0,onChange:function(e){return t.setAttributes({tabletWidth:e})},className:"ugb--help-tip-video-popup-width"})),wp.element.createElement(P.ob,{screen:"mobile"},wp.element.createElement(P.b,{label:Object(l.__)("Width",r.i18n),value:C,min:"200",max:"700",allowReset:!0,onChange:function(e){return t.setAttributes({mobileWidth:e})},className:"ugb--help-tip-video-popup-width"}))),wp.element.createElement(P.cb,{attrNameTemplate:"%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(P.b,{label:Object(l.__)("Height",r.i18n),min:100,max:1e3,allowReset:!0,placeholder:"400",className:"ugb--help-tip-video-popup-height"})),T.borderRadius&&wp.element.createElement(P.b,{label:Object(l.__)("Border Radius",r.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),wp.element.createElement(P.b,{label:Object(l.__)("Shadow / Outline",r.i18n),value:u,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"})),wp.element.createElement(P.X,{title:Object(l.__)("Background",r.i18n),id:"background",initialOpen:!1},wp.element.createElement(P.g,{attrNameTemplate:"preview%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(P.X,{title:Object(l.__)("Play Button",r.i18n),id:"play-button",initialOpen:!1},wp.element.createElement(ee.SelectControl,{label:Object(l.__)("Button Style",r.i18n),value:d,options:q.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({playButtonType:e})}}),wp.element.createElement(P.cb,{attrNameTemplate:"%sPlayButtonSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(P.b,{label:Object(l.__)("Size",r.i18n),min:10,max:200,allowReset:!0,placeholder:"40"})),wp.element.createElement(P.r,{label:Object(l.__)("Color",r.i18n),value:h,onChange:function(e){return n({playButtonColor:e})}}),wp.element.createElement(P.b,{label:Object(l.__)("Opacity",r.i18n),min:0,max:1,step:.1,value:y,onChange:function(e){return n({playButtonOpacity:e})},allowReset:!0,placeholder:"1.0"})),(E||B)&&wp.element.createElement(P.Y,{initialOpen:!1,blockProps:t}))});var ae=Object(te.compose)(Y.i,Y.g,Y.d,Object(Y.h)(),Object(Y.a)(Q,{editorMode:!0}),Object(Y.b)([[".ugb-video-popup__wrapper","background"],[".ugb-video-popup__play-button svg","play-button"]]))(function(e){var t,n,a,o=e.className,i=e.attributes,r=i.playButtonType,l=i.shadow,s=void 0===l?"":l,u=E()([o,"ugb-video-popup--v3"],Object(c.applyFilters)("stackable.video-popup.mainclasses",{},e)),b=E()(["ugb-video-popup__wrapper"],Object(c.applyFilters)("stackable.video-popup.boxclasses",(t={},n="ugb--shadow-".concat(s),a=""!==s,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),e));return wp.element.createElement(P.j.Edit,{className:u,blockProps:e,render:function(){return wp.element.createElement(ne.Fragment,null,wp.element.createElement(P.B,{className:b,backgroundAttrName:"preview%s",blockProps:e},wp.element.createElement("span",{className:"ugb-video-popup__play-button"},V(r))))}})});var oe=Object(te.compose)(Y.i,Object(Y.a)(Q))(function(e){var t,n,a,o=e.className,i=e.attributes,r=i.videoID,l=i.playButtonType,s=i.shadow,u=void 0===s?"":s,b=E()([o,"ugb-video-popup--v3"],Object(c.applyFilters)("stackable.video-popup.mainclasses",{},e)),p=E()(["ugb-video-popup__wrapper"],Object(c.applyFilters)("stackable.video-popup.boxclasses",(t={},n="ugb--shadow-".concat(u),a=""!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),e));return wp.element.createElement(P.j.Save,{className:b,blockProps:e,render:function(){return wp.element.createElement(ne.Fragment,null,wp.element.createElement(P.B,{className:p,backgroundAttrName:"preview%s",blockProps:e,"data-video":r},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},V(l))))}})});function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return le}),n.d(t,"name",function(){return ce}),n.d(t,"settings",function(){return se});var le=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(n,!0).forEach(function(t){re(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({videoLink:{type:"string"},videoID:{type:"string",source:"attribute",selector:"[data-video]",attribute:"data-video"}},Object(o.x)("%sWidth",{type:"number",default:""}),{},Object(o.x)("%sHeight",{type:"number",default:""}),{borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},playButtonType:{type:"string",default:"normal"},playButtonColor:{type:"string"},playButtonSize:{type:"number",default:""},playButtonOpacity:{type:"number",default:""}},Object(o.j)("preview%s"),{previewBackgroundColor:{type:"string",default:"#000000"},hoverEffect:{type:"string",default:""}}),ce="ugb/video-popup",se={title:Object(l.__)("Video Popup",r.i18n),description:Object(l.__)("Display a large thumbnail that your users can click to play a video full-screen. Great for introductory or tutorial videos.",r.i18n),icon:a.z,category:"stackable",keywords:[Object(l.__)("Video Popup",r.i18n),Object(l.__)("Stackable",r.i18n),Object(l.__)("YouTube Vimeo mp4",r.i18n)],attributes:le,supports:{align:["center","wide","full"],inserter:!r.disabledBlocks.includes(ce)},deprecated:N,edit:ae,save:oe,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"block-designs":!0,"custom-css":{default:Object(c.applyFilters)("stackable.video-popup.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(10),o=n(5);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(o.addFilter)("stackable.accordion.design.no-text-attributes","stackable/accordion",function(e){return Object(a.omit)(e,["title"])}),Object(o.addFilter)("stackable.accordion.edit.designs","stackable/accordion",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(n,!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e)});var l=n(4),c=n.n(l);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var u=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),b=function(e){return c.a.createElement("svg",s({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),u)};function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),m=function(e){return c.a.createElement("svg",p({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),g)},d=n(2),f=n(8),h=n.n(f),v=n(36),y=n.n(v),w=n(1),O=n(0),k=n(18),_=n(6);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(n,!0).forEach(function(t){E(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(){return(x=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=[{attributes:{heading:{source:"html",selector:".ugb-accordion__heading h4",default:Object(O.__)("Title for This Block",w.i18n)},text:{source:"html",selector:".ugb-accordion__text",default:Object(d.F)("long")},headingColor:{type:"string"},headingBackgroundColor:{type:"string"},openStart:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n,a=e.className,i=e.attributes,r=i.headingColor,l=i.headingBackgroundColor,c=i.heading,s=i.text,u=i.openStart,b=i.design,p=void 0===b?"basic":b,g=i.borderRadius,d=void 0===g?12:g,f=i.shadow,v=void 0===f?3:f,y=h()([a,"ugb-accordion"],Object(o.applyFilters)("stackable.accordion.mainclasses_1_17_3",(E(t={},"ugb-accordion--design-".concat(p),"basic"!==p),E(t,"ugb-accordion--open",u),t),p,e)),w=h()(["ugb-accordion__heading"],Object(o.applyFilters)("stackable.accordion.headingclasses_1_17_3",E({},"ugb--shadow-".concat(v),"plain"!==p&&3!==v),p,e)),O=Object(o.applyFilters)("stackable.accordion.styles_1_17_3",{main:{},heading:{borderRadius:"plain"!==p&&12!==d?d:void 0,backgroundColor:"plain"!==p&&l?l:void 0},title:{color:r||void 0}},p,e);return wp.element.createElement("div",{className:y,style:O.main,role:"presentation"},Object(o.applyFilters)("stackable.accordion.save.output.before_1_17_3",null,p,e),wp.element.createElement("div",{className:w,role:"button",tabIndex:"0","aria-expanded":u?"true":"false",style:O.heading},wp.element.createElement(_.RichText.Content,{tagName:"h4",role:"heading","aria-level":"3",style:O.title,value:c}),(n={fill:r||void 0}.fill,wp.element.createElement(m,{width:"20",height:"20",fill:n}))),wp.element.createElement(_.RichText.Content,{tagName:"p",className:"ugb-accordion__text",role:"region",value:s}),Object(o.applyFilters)("stackable.accordion.save.output.after",null,p,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-accordion__heading h4(\s*{)/g,"\n.ugb-accordion__title$1").replace(/\.ugb-accordion__text/g,".ugb-accordion__content").replace(/\.ugb-accordion__heading svg/g,".ugb-accordion__arrow")};return[C({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),title:e.heading,titleColor:e.headingColor||"#222222",containerBackgroundColor:e.headingBackgroundColor,showBorder:"plain"!==e.design,containerClosedBackgroundColor:"colored"===e.design?"#ffffff":void 0,arrowColor:"colored"===e.design||"basic"===e.design||"plain"===e.design?e.headingColor||"#222222":"line-colored"===e.design?e.headingBackgroundColor:void 0}),[Object(k.createBlock)("core/paragraph",{content:e.text})]]}},{attributes:{heading:{source:"html",selector:".ugb-accordion__heading h4",default:"Title for This Block"},text:{source:"html",selector:".ugb-accordion__text",default:Object(d.F)("long")},headingColor:{type:"string"},headingBackgroundColor:{type:"string"},openStart:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t,n=e.className,a=e.attributes,o=a.headingColor,i=a.headingBackgroundColor,r=a.heading,l=a.text,c=a.openStart,s=a.design,u=void 0===s?"basic":s,p=a.borderRadius,g=void 0===p?12:p,m=a.shadow,d=void 0===m?3:m,f=h()([n,"ugb-accordion"],(E(t={},"ugb-accordion--design-".concat(u),"basic"!==u),E(t,"ugb-accordion--open",c),t)),v=h()(["ugb-accordion__heading"],E({},"ugb--shadow-".concat(d),"plain"!==u&&3!==d)),w={borderRadius:"plain"!==u&&12!==g?g:void 0,backgroundColor:"plain"!==u&&i?i:void 0},O=y()(l+r).substr(0,6);return wp.element.createElement("div",{className:f,role:"presentation"},wp.element.createElement("div",{className:v,role:"button",tabIndex:"0","aria-expanded":c?"true":"false",style:w},wp.element.createElement(_.RichText.Content,{tagName:"h4",role:"heading","aria-level":"3",id:"".concat(O,"__heading"),"aria-controls":"".concat(O,"__text"),style:{color:o||void 0},value:r}),wp.element.createElement(b,{width:"20",height:"20",fill:o||void 0})),wp.element.createElement(_.RichText.Content,{tagName:"p",className:"ugb-accordion__text",role:"region",id:"".concat(O,"__text"),"aria-labelledby":"".concat(O,"__heading"),value:l}))}},{attributes:{heading:{source:"html",selector:".ugb-accordion__heading h4",default:"Title for This Block"},text:{source:"html",selector:".ugb-accordion__text",default:Object(d.F)("long")},headingColor:{type:"string"},headingBackgroundColor:{type:"string"},openStart:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t,n=e.className,a=e.attributes,o=a.headingColor,i=a.headingBackgroundColor,r=a.heading,l=a.text,c=a.openStart,s=a.design,u=void 0===s?"basic":s,b=a.borderRadius,p=void 0===b?12:b,g=a.shadow,m=void 0===g?3:g,d=h()([n,"ugb-accordion"],(E(t={},"ugb-accordion--design-".concat(u),"basic"!==u),E(t,"ugb-accordion--open",c),t)),f=h()(["ugb-accordion__heading"],E({},"ugb--shadow-".concat(m),"plain"!==u&&3!==m)),v={borderRadius:"plain"!==u&&12!==p?p:void 0,backgroundColor:"plain"!==u&&i?i:void 0},w=y()(l+r).substr(0,6);return wp.element.createElement("div",{className:d,role:"presentation"},wp.element.createElement("div",{className:f,role:"button",tabIndex:"0","aria-expanded":c?"true":"false",style:v},wp.element.createElement(_.RichText.Content,{tagName:"h4",role:"heading","aria-level":"3",id:"".concat(w,"__heading"),"aria-controls":"".concat(w,"__text"),style:{color:o||void 0},value:r}),function(e){return wp.element.createElement("svg",x({role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},e),wp.element.createElement("polygon",{points:"16.7,3.3 10,10 3.3,3.4 0,6.7 10,16.7 10,16.6 20,6.7 "}))}({fill:o||void 0})),wp.element.createElement(_.RichText.Content,{tagName:"p",className:"ugb-accordion__text",role:"region",id:"".concat(w,"__text"),"aria-labelledby":"".concat(w,"__heading"),value:l}))}},{attributes:{heading:{source:"html",selector:".ugb-accordion__heading h4",default:"Title for This Block"},text:{source:"html",selector:".ugb-accordion__text",default:Object(d.F)("long")},headingColor:{type:"string"},headingBackgroundColor:{type:"string"},openStart:{type:"boolean",default:!1}},save:function(e){var t=e.className,n=e.attributes,a=n.headingColor,o=n.headingBackgroundColor,i=n.heading,r=n.text,l=n.openStart,c=h()([t,"ugb-accordion"]);return wp.element.createElement("div",{className:c},wp.element.createElement("input",{type:"checkbox",checked:l?"checked":null}),wp.element.createElement("div",{className:"ugb-accordion__heading",style:{backgroundColor:o||void 0}},wp.element.createElement(_.RichText.Content,{tagName:"h4",style:{color:a||void 0},value:i}),function(e){return wp.element.createElement("svg",x({role:"img",focusable:"false",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20"},e),wp.element.createElement("polygon",{points:"16.7,3.3 10,10 3.3,3.4 0,6.7 10,16.7 10,16.6 20,6.7 "}))}({fill:a||void 0})),wp.element.createElement(_.RichText.Content,{tagName:"p",className:"ugb-accordion__text",value:r}))},migrate:function(e){return C({},e,{design:"basic",borderRadius:12,shadow:3})}}],B=n(221),T=n.n(B),A=n(222),N=n.n(A),P=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,i=t.showTitle,r=void 0===i||i;return Object(o.applyFilters)("stackable.accordion.show",{headerBackground:"basic"===a,containerBackground:"colored"===a||"line-colored"===a,borderRadius:"plain"!==a,shadow:"plain"!==a,border:"line-colored"===a||"plain"===a,titleSpacing:r},e)},F=n(14),R=n.n(F);function D(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(n,!0).forEach(function(t){I(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L=function(e){var t=Object(d.b)(e.attributes),n=e.attributes,a=n.design,o=void 0===a?"basic":a,i=n.reverseArrow,r=void 0!==i&&i,l=P(e),c=[];c.push({".ugb-accordion__heading":{flexDirection:r?"row-reverse":void 0}}),l.borderRadius&&"basic"===o&&c.push({".ugb-accordion__heading":{borderRadius:t("borderRadius","%spx !important")}});c.push(z({},l.headerBackground?Object(d.l)("container%s","ugb-accordion__heading",e.attributes,{importantBackgroundColor:!0}):{}));var s=e.attributes,u=s.titleColor,b=void 0===u?"":u,p=s.showTitle;(void 0===p||p)&&c.push({".ugb-accordion__title":z({},Object(d.D)("title%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-accordion__title":z({},Object(d.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-accordion__title":z({},Object(d.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var g=e.attributes.containerBackgroundColor,m=void 0===g?"":g;"basic"!==o&&"plain"!==o||c.push({".ugb-accordion__title":{color:Object(d.db)(b,l.headerBackground&&m)}});var f=e.attributes,h=f.showArrow,v=void 0===h||h,y=f.arrowColor,w=void 0===y?"":y;v&&c.push({".ugb-accordion__arrow":{width:Object(d.c)(t("arrowSize","%spx")),height:Object(d.c)(t("arrowSize","%spx"))}}),!v||"basic"!==o&&"plain"!==o||c.push({".ugb-accordion__arrow":{fill:Object(d.db)(w,l.headerBackground&&m)}});var O=e.attributes.showBorder,k=void 0===O||O;return l.border&&!k&&c.push({".ugb-accordion__item":{border:"none !important"}}),l.border&&k&&c.push({".ugb-accordion__item":{borderWidth:Object(d.c)(t("borderSize","%spx")),borderColor:Object(d.c)(t("borderColor"))}}),l.headerBackground&&c.push({".ugb-accordion__heading":{paddingTop:Object(d.c)(t("containerPaddingTop","%spx")),paddingRight:Object(d.c)(t("containerPaddingRight","%spx")),paddingBottom:Object(d.c)(t("containerPaddingBottom","%spx")),paddingLeft:Object(d.c)(t("containerPaddingLeft","%spx"))}}),l.titleSpacing&&c.push.apply(c,D(Object(d.y)(".ugb-accordion.ugb-accordion--open .ugb-accordion__heading","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),R.a.all(c)};function U(){return(U=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var H=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),W=function(e){return c.a.createElement("svg",U({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),H)},G=n(3),q=n(11),V=n(9),X=n(12),Y=n(7),K=n(13);Object(o.addFilter)("stackable.accordion.edit.inspector.layout.before","stackable/accordion",function(e,t){var n=t.setAttributes,a=t.attributes.design,i=void 0===a?"basic":a;return wp.element.createElement(Y.Fragment,null,e,wp.element.createElement(G.y,{initialOpen:!0,selected:i,options:Object(o.applyFilters)("stackable.accordion.edit.layouts",[{label:Object(O.__)("Basic",w.i18n),value:"basic",image:T.a},{label:Object(O.__)("Plain",w.i18n),value:"plain",image:N.a}]),onChange:function(e){return n({design:e})}},w.showProNotice&&wp.element.createElement(G.bb,null)))}),Object(o.addFilter)("stackable.accordion.edit.inspector.style.before","stackable/accordion",function(e,t){var n=t.setAttributes,a=t.attributes,o=a.design,i=void 0===o?"basic":o,r=a.titleColor,l=a.borderRadius,c=void 0===l?"":l,s=a.shadow,u=void 0===s?"":s,b=a.onlyOnePanelOpen,p=void 0!==b&&b,g=a.openStart,m=void 0!==g&&g,d=a.reverseArrow,f=void 0!==d&&d,h=a.titleTag,v=void 0===h?"":h,y=a.showArrow,k=void 0===y||y,_=a.arrowSize,j=void 0===_?"":_,C=a.arrowColor,x=void 0===C?"":C,E=a.showBorder,S=void 0===E||E,B=a.borderSize,T=void 0===B?"":B,A=a.borderColor,N=void 0===A?"":A,F=a.containerPaddingTop,R=void 0===F?"":F,D=a.containerPaddingRight,M=void 0===D?"":D,z=a.containerPaddingBottom,I=void 0===z?"":z,L=a.containerPaddingLeft,U=void 0===L?"":L,H=a.containerClosedBackgroundColor,W=void 0===H?"":H,q=P(t);return wp.element.createElement(Y.Fragment,null,e,wp.element.createElement(V.PanelBody,{title:Object(O.__)("General",w.i18n)},wp.element.createElement(V.ToggleControl,{label:Object(O.__)("Close adjacent on open",w.i18n),checked:p,onChange:function(e){return n({onlyOnePanelOpen:e})},className:"ugb--help-tip-accordion-adjacent-open"}),wp.element.createElement(V.ToggleControl,{label:Object(O.__)("Open at the start",w.i18n),checked:m,onChange:function(e){return n({openStart:e})}}),wp.element.createElement(V.ToggleControl,{label:Object(O.__)("Reverse arrow",w.i18n),checked:f,onChange:function(e){return n({reverseArrow:e})}}),q.borderRadius&&wp.element.createElement(G.b,{label:Object(O.__)("Border Radius",w.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),(q.headerBackground||q.containerBackground)&&wp.element.createElement(G.b,{label:Object(O.__)("Shadow / Outline",w.i18n),value:u,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(G.s,{setAttributes:n,blockAttributes:t.attributes})),(q.headerBackground||q.containerBackground)&&wp.element.createElement(G.X,{title:Object(O.__)("Container Background",w.i18n),id:"column-background",initialOpen:!1},wp.element.createElement(G.g,{attrNameTemplate:"container%s",setAttributes:n,blockAttributes:t.attributes}),"colored"===i&&wp.element.createElement(G.r,{value:W,onChange:function(e){return n({containerClosedBackgroundColor:e})},label:Object(O.__)("Closed State Background Color",w.i18n),className:"ugb--help-tip-accordion-closed-state-background-color"})),wp.element.createElement(G.X,{title:Object(O.__)("Title",w.i18n),id:"title",hasToggle:!1},wp.element.createElement(G.lb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(G.G,{value:v||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(G.r,{value:r,onChange:function(e){return n({titleColor:e})},label:Object(O.__)("Title Color",w.i18n)}),wp.element.createElement(G.cb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(G.e,{label:Object(O.__)("Align",w.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(G.X,{title:Object(O.__)("Arrow",w.i18n),id:"arrow",checked:k,onChange:function(e){return n({showArrow:e})},toggleOnSetAttributes:["arrowSize","arrowColor"],toggleAttributeName:"showArrow"},wp.element.createElement(G.b,{label:Object(O.__)("Size",w.i18n),min:10,max:100,allowReset:!0,value:j,onChange:function(e){return n({arrowSize:e})},placeholder:"20"}),wp.element.createElement(G.r,{value:x,onChange:function(e){return n({arrowColor:e})},label:Object(O.__)("Color",w.i18n)})),q.border&&wp.element.createElement(G.X,{title:Object(O.__)("Border",w.i18n),checked:S,onChange:function(e){return n({showBorder:e})},toggleOnSetAttributes:["borderSize","borderColor"],toggleAttributeName:"showBorder",className:"ugb--help-tip-accordion-border"},wp.element.createElement(G.b,{label:Object(O.__)("Size",w.i18n),min:0,max:10,allowReset:!0,value:T,onChange:function(e){return n({borderSize:e})},placeholder:"3",className:"ugb--help-tip-accordion-border-size"}),wp.element.createElement(G.r,{value:N,onChange:function(e){return n({borderColor:e})},label:Object(O.__)("Color",w.i18n)})),wp.element.createElement(G.Y,{initialOpen:!1,blockProps:t},(q.headerBackground||q.containerBackground)&&wp.element.createElement(G.E,{label:Object(O.__)("Padding",w.i18n),top:R,right:M,bottom:I,left:U,onChange:function(e){return n({containerPaddingTop:e.top,containerPaddingRight:e.right,containerPaddingBottom:e.bottom,containerPaddingLeft:e.left})},max:200,className:"ugb--help-tip-accordion-padding"}),q.titleSpacing&&wp.element.createElement(G.cb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(G.b,{label:Object(O.__)("Title",w.i18n),min:-50,max:100,allowReset:!0,placeholder:"0",className:"ugb--help-tip-accordion-title-spacing"}))))});var J=[["core/paragraph",{content:Object(d.F)("long")}]],$=Object(X.compose)(q.i,q.g,q.d,Object(q.h)(),Object(q.c)(),Object(q.a)(L,{editorMode:!0}),Object(q.b)([[".ugb-accordion__title","title"],[".ugb-accordion__arrow","arrow"]]),Object(K.withSelect)(function(e,t){var n=t.clientId,a=(0,e("core/block-editor").getBlock)(n);return{hasInnerBlocks:!(!a||!a.innerBlocks.length)}}),Object(X.withState)({openTimeout:null,isOpen:null}))(function(e){var t,n,a,i=e.className,r=e.setAttributes,l=e.attributes,c=l.design,s=void 0===c?"basic":c,u=l.shadow,b=void 0===u?"":u,p=l.titleTag,g=void 0===p?"":p,m=l.title,d=void 0===m?"":m,f=l.openStart,v=void 0!==f&&f,y=l.showArrow,k=void 0===y||y,j=P(e),C=h()([i,"ugb-accordion--v2","ugb-accordion--design-".concat(s)],Object(o.applyFilters)("stackable.accordion.mainclasses",{"ugb-accordion--open":null===e.isOpen?v:e.isOpen},e)),x=h()(["ugb-accordion__item"],Object(o.applyFilters)("stackable.accordion.itemclasses",{},e)),E=h()(["ugb-accordion__heading"],Object(o.applyFilters)("stackable.accordion.headingclasses",(t={},n="ugb--shadow-".concat(b),a="basic"===s&&""!==b,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),s,e));return wp.element.createElement(G.j.Edit,{className:C,blockProps:e,render:function(){return wp.element.createElement(Y.Fragment,null,wp.element.createElement(G.B,{className:x,backgroundAttrName:"container%s",blockProps:e,showBackground:j.containerBackground},wp.element.createElement(G.B,{className:E,backgroundAttrName:"container%s",blockProps:e,showBackground:j.headerBackground,onClick:function(){e.openTimeout&&clearTimeout(e.openTimeout);var t=setTimeout(function(){e.setState({isOpen:!e.isOpen})},150);e.setState({openTimeout:t})},onDoubleClick:function(){e.openTimeout&&clearTimeout(e.openTimeout)},onKeyPress:function(){e.openTimeout&&clearTimeout(e.openTimeout),e.setState({isOpen:!v})},role:"button",tabIndex:"0"},wp.element.createElement(_.RichText,{tagName:g||"h4",className:"ugb-accordion__title",value:d,onChange:function(e){return r({title:e})},placeholder:Object(O.__)("Title for This Block",w.i18n),keepPlaceholderOnFocus:!0}),k&&wp.element.createElement(W,{className:"ugb-accordion__arrow",width:"20",height:"20"})),wp.element.createElement("div",{className:"ugb-accordion__content"},wp.element.createElement("div",{className:"ugb-accordion__content-inner"},wp.element.createElement(_.InnerBlocks,{template:J,renderAppender:function(){return e.hasInnerBlocks?wp.element.createElement(_.InnerBlocks.DefaultBlockAppender,null):wp.element.createElement(_.InnerBlocks.ButtonBlockAppender,null)}})))))}})});var Z=Object(X.compose)(q.i,Object(q.a)(L))(function(e){var t,n,a,i=e.className,r=e.attributes,l=r.design,c=void 0===l?"basic":l,s=r.shadow,u=void 0===s?"":s,b=r.titleTag,p=void 0===b?"":b,g=r.title,m=void 0===g?"":g,d=r.openStart,f=void 0!==d&&d,v=r.showArrow,y=void 0===v||v,w=r.onlyOnePanelOpen,O=void 0!==w&&w,k=P(e),j=h()([i,"ugb-accordion--v2","ugb-accordion--design-".concat(c)],Object(o.applyFilters)("stackable.accordion.mainclasses",{"ugb-accordion--open":f,"ugb-accordion--single-open":O},e)),C=h()(["ugb-accordion__item"],Object(o.applyFilters)("stackable.accordion.itemclasses",{},e)),x=h()(["ugb-accordion__heading"],Object(o.applyFilters)("stackable.accordion.headingclasses",(t={},n="ugb--shadow-".concat(u),a=k.headerBackground&&""!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),c,e));return wp.element.createElement(G.j.Save,{className:j,blockProps:e,"aria-expanded":f?"true":"false",render:function(){return wp.element.createElement(Y.Fragment,null,wp.element.createElement(G.B,{className:C,backgroundAttrName:"container%s",blockProps:e,showBackground:k.containerBackground},wp.element.createElement(G.B,{className:x,backgroundAttrName:"container%s",blockProps:e,showBackground:k.headerBackground,role:"button",tabIndex:"0"},wp.element.createElement(_.RichText.Content,{tagName:p||"h4",className:"ugb-accordion__title",role:"heading","aria-level":"3",value:m}),y&&wp.element.createElement(W,{className:"ugb-accordion__arrow",width:"20",height:"20"})),wp.element.createElement("div",{className:"ugb-accordion__content",role:"region"},wp.element.createElement("div",{className:"ugb-accordion__content-inner"},wp.element.createElement(_.InnerBlocks.Content,null)))))}})}),Q=n(15);function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return ae}),n.d(t,"settings",function(){return oe});var ne=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(n,!0).forEach(function(t){te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},onlyOnePanelOpen:{type:"boolean",default:!1},openStart:{type:"boolean",default:!1},reverseArrow:{type:"boolean",default:!1}},Object(d.j)("container%s"),{containerClosedBackgroundColor:{type:"string",default:""},title:{source:"html",selector:".ugb-accordion__title",default:Object(O.__)("Title for This Block",w.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(d.C)("title%s"),{titleColor:{type:"string",default:""},showArrow:{type:"boolean",default:!0},arrowSize:{type:"number",default:""},arrowColor:{type:"string",defualt:""},showBorder:{type:"boolean",default:!0},borderSize:{type:"number",default:""},borderColor:{type:"string",defualt:""}},Object(d.h)("Title%sAlign",{type:"string",default:""},["","Tablet","Mobile"]),{},Object(d.h)("containerPadding%s",{type:"number",default:""},["Top","Right","Bottom","Left"]),{},Object(d.x)("title%sBottomMargin",{type:"number",default:""})),ae="ugb/accordion",oe={title:Object(O.__)("Accordion",w.i18n),description:Object(O.__)("A title that your visitors can toggle to view more text. Use as FAQs or multiple ones for an Accordion.",w.i18n),icon:Q.a,category:"stackable",keywords:[Object(O.__)("Accordion",w.i18n),Object(O.__)("Toggle",w.i18n),Object(O.__)("Stackable",w.i18n)],attributes:ne,deprecated:S,edit:$,save:Z,supports:{inserter:!w.disabledBlocks.includes(ae)},modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(o.applyFilters)("stackable.cta.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(10),o=n(1),i=n(0),r=n(5);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(r.addFilter)("stackable.notification.design.no-text-attributes","stackable/notification",function(e){return Object(a.omit)(e,["title","description","buttonText"])}),Object(r.addFilter)("stackable.notification.design.filtered-block-attributes","stackable/notification",function(e){return Object(a.omit)(e,["buttonUrl","buttonNewTab","buttonNoFollow"])}),Object(r.addFilter)("stackable.notification.edit.designs","stackable/notification",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(i.__)("Corporate Light 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-notification-design-corporate-light-01.jpg",attributes:{borderRadius:0,columnBackgroundColor:"#ff550a",columnBackgroundColorOpacity:.8,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffd781",titleAlign:"center",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#ffd781",buttonHoverEffect:"lift",buttonBorderRadius:100,buttonAlign:"center",titleBottomMargin:30,descriptionBottomMargin:55,columnPaddingTop:60,columnPaddingRight:40,columnPaddingBottom:60,columnPaddingLeft:40,columnContentVerticalAlign:"center",showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#ffffff",contentAlign:"left"}},corporateLight2:{label:Object(i.__)("Corporate Light 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-notification-design-corporate-light-02.jpg",attributes:{borderRadius:0,columnBackgroundColor:"#c49732",columnBackgroundColorOpacity:.8,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",titleAlign:"center",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#1e55d3",buttonHoverEffect:"lift",buttonBorderRadius:100,buttonAlign:"center",titleBottomMargin:30,descriptionBottomMargin:55,columnPaddingTop:60,columnPaddingRight:40,columnPaddingBottom:60,columnPaddingLeft:40,columnContentVerticalAlign:"center",showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#ffffff",contentAlign:"left"}},corporateDark1:{label:Object(i.__)("Corporate Dark 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-notification-design-corporate-dark-01.jpg",attributes:{borderRadius:0,columnBackgroundColor:"#0c4887",columnBackgroundColorOpacity:.8,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleAlign:"center",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#3f4174",buttonBackgroundColor:"#c4e558",buttonHoverEffect:"lift",buttonBorderRadius:100,buttonAlign:"center",titleBottomMargin:30,descriptionBottomMargin:55,columnPaddingTop:60,columnPaddingRight:40,columnPaddingBottom:60,columnPaddingLeft:40,columnContentVerticalAlign:"center",showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#081831",contentAlign:"left"}},corporateDark2:{label:Object(i.__)("Corporate Dark 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-notification-design-corporate-dark-02.jpg",attributes:{borderRadius:0,columnBackgroundColor:"#707070",columnBackgroundColorOpacity:.8,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#06c19d",titleAlign:"center",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#06c19d",buttonHoverEffect:"lift",buttonBorderRadius:100,buttonAlign:"center",titleBottomMargin:30,descriptionBottomMargin:55,columnPaddingTop:60,columnPaddingRight:40,columnPaddingBottom:60,columnPaddingLeft:40,columnContentVerticalAlign:"center",showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#2f2f2f",contentAlign:"left"}}})});var s=n(2),u=n(4),b=n.n(u);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=b.a.createElement("path",{d:"M52.4-166.2c3.2 0 3.2-5 0-5s-3.2 5 0 5zM16.8 13.9L26.9 3.8c.6-.6.6-1.5 0-2.1s-1.5-.6-2.1 0L14.7 11.8 4.6 1.7c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l10.1 10.1L2.5 24c-.6.6-.6 1.5 0 2.1.3.3.7.4 1.1.4s.8-.1 1.1-.4l10-10.1 10.1 10.1c.3.3.7.4 1.1.4s.8-.1 1.1-.4c.6-.6.6-1.5 0-2.1L16.8 13.9z"}),m=function(e){return b.a.createElement("svg",p({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),g)},d=n(8),f=n.n(d),h=n(36),v=n.n(h),y=n(6);function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(n,!0).forEach(function(t){k(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=[{attributes:{text:{source:"html",selector:"p",default:Object(s.F)("long")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.className,n=e.attributes,a=n.text,o=n.color,i=n.textColor,l=n.notifType,c=n.dismissible,s=n.borderRadius,u=void 0===s?12:s,b=n.shadow,p=void 0===b?3:b,g=n.design,d=void 0===g?"":g,h=f()([t,"ugb-notification","ugb-notification--type-".concat(l)],Object(r.applyFilters)("stackable.notification.mainclasses_1_17",k({"ugb-notification--dismissible":c},"ugb--shadow-".concat(p),3!==p),d,e)),v={backgroundColor:o,color:i,borderRadius:12!==u?u:void 0};return wp.element.createElement("div",{className:h,style:v},Object(r.applyFilters)("stackable.notification.save.output.before_1_17",null,d,e),c&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(m,{style:{fill:i}})),wp.element.createElement(y.RichText.Content,{tagName:"p",style:{color:i},value:a}))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-notification(\s*{)/g,"\n.ugb-notification__item$1").replace(/\n\.ugb-notification p(\s*{)/g,"\n.ugb-notification__description$1")};return O({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),description:e.text,columnBackgroundColor:e.color,iconColor:e.textColor,titleColor:e.textColor,descriptionColor:e.textColor,showTitle:!1,showButton:!1})}},{attributes:{text:{source:"html",selector:"p",default:Object(s.F)("long")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t=e.className,n=e.attributes,a=n.text,o=n.color,i=n.textColor,r=n.notifType,l=n.dismissible,c=n.borderRadius,s=void 0===c?12:c,u=n.shadow,b=void 0===u?3:u,p=f()([t,"ugb-notification","ugb-notification--type-".concat(r)],k({"ugb-notification--dismissible":l},"ugb--shadow-".concat(b),3!==b)),g={backgroundColor:o,color:i,borderRadius:12!==s?s:void 0},d=v()(a+r).substr(0,6);return wp.element.createElement("div",{className:p,style:g,"data-uid":d},l&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(m,{style:{fill:i}})),wp.element.createElement(y.RichText.Content,{tagName:"p",style:{color:i},value:a}))}},{attributes:{text:{source:"html",selector:"p",default:Object(s.F)("long")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t=e.className,n=e.attributes,a=n.text,o=n.color,i=n.textColor,r=n.notifType,l=n.dismissible,c=n.borderRadius,s=void 0===c?12:c,u=n.shadow,b=void 0===u?3:u,p=f()([t,"ugb-notification","ugb-notification--type-".concat(r)],k({"ugb-notification--dismissible":l},"ugb--shadow-".concat(b),3!==b)),g={backgroundColor:o,color:i,borderRadius:12!==s?s:void 0},m=v()(a+r).substr(0,6);return wp.element.createElement("div",{className:p,style:g,"data-uid":m},l&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:i}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(y.RichText.Content,{tagName:"p",style:{color:i},value:a}))}},{attributes:{text:{source:"html",selector:"p",default:Object(s.F)("long")},color:{type:"string"},textColor:{type:"string"},notifType:{type:"string",default:"success"},dismissible:{type:"boolean",default:!1}},save:function(e){var t=e.className,n=e.attributes,a=n.text,o=n.color,i=n.textColor,r=n.notifType,l=n.dismissible,c=f()([t,"ugb-notification","type-".concat(r),"dismissible-".concat(l)]),s={backgroundColor:o,color:i},u=v()(a+r).substr(0,6);return wp.element.createElement("div",{className:c,"data-uid":u},l&&wp.element.createElement("span",{key:"button",className:"close-button"},wp.element.createElement("svg",{viewBox:"0 0 28.3 28.3",style:{fill:i}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(y.RichText.Content,{tagName:"p",className:"wp-ugb-notif notif-".concat(r),style:s,value:a}))},migrate:function(e){return O({},e,{borderRadius:12,shadow:3})}}],j=n(253),C=n.n(j),x=n(254),E=n.n(x);function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var B=b.a.createElement("path",{d:"M52.4-166.2c3.2 0 3.2-5 0-5s-3.2 5 0 5zM16.8 13.9L26.9 3.8c.6-.6.6-1.5 0-2.1s-1.5-.6-2.1 0L14.7 11.8 4.6 1.7c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l10.1 10.1L2.5 24c-.6.6-.6 1.5 0 2.1.3.3.7.4 1.1.4s.8-.1 1.1-.4l10-10.1 10.1 10.1c.3.3.7.4 1.1.4s.8-.1 1.1-.4c.6-.6.6-1.5 0-2.1L16.8 13.9z"}),T=function(e){return b.a.createElement("svg",S({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),B)},A=n(14),N=n.n(A),P=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showIcon,i=void 0!==o&&o,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showButton,p=void 0===b||b;return Object(r.applyFilters)("stackable.notification.show",{columnBorder:!1,columnBackground:"plain"!==a,backgroundColor:"plain"!==a,borderRadius:"plain"!==a,shadow:"plain"!==a,iconSpacing:i,titleSpacing:c,descriptionSpacing:u,buttonSpacing:p,iconAlign:!0,iconLocation:!1},e)};function F(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(n,!0).forEach(function(t){M(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var z={success:"#ffffff",error:"#ffffff",info:"#ffffff",warning:"#424242"},I=function(e){var t=Object(s.b)(e.attributes),n=[],a=e.attributes,o=a.contentAlign,i=void 0===o?"":o,r=a.tabletContentAlign,l=void 0===r?"":r,c=a.mobileContentAlign,u=void 0===c?"":c,b=a.notifType,p=a.design,g=void 0===p?"basic":p,m=a.columnBackgroundColor,d=void 0===m?"":m,f=P(e);n.push({".ugb-notification__item":{borderRadius:"plain"!==g?t("borderRadius","%spx !important"):void 0}}),n.push(D({},f.columnBackground?Object(s.l)("column%s","ugb-notification__item",e.attributes,{importantBackgroundColor:!0}):{}));var h=e.attributes,v=h.dismissible,y=void 0!==v&&v,w=h.dismissibleIconSize,O=void 0===w?"":w,k=h.dismissibleIconTabletSize,_=void 0===k?"":k,j=h.dismissibleIconMobileSize,C=void 0===j?"":j,x=h.dismissibleIconColor,E=void 0===x?"":x;y&&n.push({".ugb-notification__item":{paddingRight:O&&O>40?"100px !important":void 0},".ugb-notification__close-button":{width:O?"".concat(O,"px"):void 0,height:O?"".concat(O,"px"):void 0},".ugb-notification__close-button svg":{fill:E?"".concat(E," !important"):void 0},tablet:{".ugb-notification__close-button":{width:_?"".concat(_,"px"):void 0,height:_?"".concat(_,"px"):void 0}},mobile:{".ugb-notification__close-button":{width:C?"".concat(C,"px"):void 0,height:C?"".concat(C,"px"):void 0}}});var S=e.attributes,B=S.showIcon,T=void 0!==B&&B,A=S.iconColor,R=void 0===A?"":A,I=S.iconAlign,L=void 0===I?"":I,U=S.iconTabletAlign,H=void 0===U?"":U,W=S.iconMobileAlign,G=void 0===W?"":W;if(T){var q=Object(s.eb)(R,f.columnBackground&&d);n.push({".ugb-notification__icon":{marginLeft:""!==L||""!==i?Object(s.c)(Object(s.T)(L||i)):void 0,marginRight:""!==L||""!==i?Object(s.c)(Object(s.U)(L||i)):void 0,color:q?"".concat(q," !important"):void 0,height:t("iconSize","%spx !important"),width:t("iconSize","%spx !important"),opacity:t("iconOpacity","%s !important"),transform:t("iconRotation","rotate(%sdeg) !important")},tablet:{".ugb-notification__icon":{marginLeft:""!==H||""!==l?Object(s.T)(H||l):void 0,marginRight:""!==H||""!==l?Object(s.U)(H||l):void 0,height:t("iconTabletSize","%spx !important"),width:t("iconTabletSize","%spx !important")}},mobile:{".ugb-notification__icon":{marginLeft:""!==G||""!==u?Object(s.T)(G||u):void 0,marginRight:""!==G||""!==u?Object(s.U)(G||u):void 0,height:t("iconMobileSize","%spx !important"),width:t("iconMobileSize","%spx !important")}}})}var V=e.attributes,X=V.titleColor,Y=void 0===X?"":X,K=V.showTitle;if(void 0===K||K){var J=Object(s.eb)(Y,f.columnBackground&&d);n.push({".ugb-notification__title":D({},Object(s.D)("title%s","desktop",e.attributes,{importantSize:!0}),{color:J?"".concat(J," !important"):void 0,textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-notification__title":D({},Object(s.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-notification__title":D({},Object(s.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}})}var $=e.attributes,Z=$.descriptionColor,Q=void 0===Z?"":Z,ee=$.showDescription;if(void 0===ee||ee){var te=Object(s.eb)(Q,f.columnBackground&&d);n.push({".ugb-notification__description":D({},Object(s.D)("description%s","desktop",e.attributes),{color:te?"".concat(te," !important"):void 0,textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-notification__description":D({},Object(s.D)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-notification__description":D({},Object(s.D)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign","%s !important")})}})}var ne=e.attributes,ae=ne.showButton,oe=void 0!==ae&&ae,ie=ne.buttonDesign,re=void 0===ie?"ghost":ie,le=ne.buttonBackgroundColor,ce=void 0===le?"":le;if(oe){if(n.push(D({},Object(s.p)("button%s","ugb-button",e.attributes))),!ce&&f.columnBackground){var se,ue,be=d?Object(s.eb)(ce,d,"#ffffff","#424242"):"bordered"===g?"#424242":z[b],pe=be?"#ffffff"===be?"#424242":"#ffffff":void 0;if("basic"===re||""===re)n.push((M(se={},".ugb-button",{backgroundColor:be||void 0}),M(se,".ugb-button .ugb-button--inner, .ugb-button.ugb-button--has-icon.ugb-button--has-icon svg",{color:pe||void 0}),M(se,".ugb-button:hover .ugb-button--inner, .ugb-button:hover svg",{color:pe||void 0}),se));else n.push((M(ue={},".ugb-button",{borderColor:be||void 0}),M(ue,".ugb-button .ugb-button--inner, .ugb-button.ugb-button--has-icon.ugb-button--has-icon svg",{color:be||void 0}),M(ue,".ugb-button:hover .ugb-button--inner, .ugb-button:hover svg",{color:be||void 0}),ue))}n.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})}return f.iconSpacing&&n.push.apply(n,F(Object(s.y)(".ugb-notification__icon","icon%sBottomMargin","marginBottom","%spx",e.attributes,!0))),f.titleSpacing&&n.push.apply(n,F(Object(s.y)(".ugb-notification__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),f.descriptionSpacing&&n.push.apply(n,F(Object(s.y)(".ugb-notification__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),f.buttonSpacing&&n.push.apply(n,F(Object(s.y)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),N.a.all(n)},L=n(3),U=n(11),H=n(9),W=n(12),G=n(7);function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(n,!0).forEach(function(t){X(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function X(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var K=[{value:"success",label:Object(i.__)("Success",o.i18n)},{value:"error",label:Object(i.__)("Error",o.i18n)},{value:"warning",label:Object(i.__)("Warning",o.i18n)},{value:"info",label:Object(i.__)("Information",o.i18n)}];Object(r.addFilter)("stackable.notification.edit.inspector.layout.before","stackable/notification",function(e,t){var n=t.setAttributes,a=t.attributes.design,l=void 0===a?"basic":a;return wp.element.createElement(G.Fragment,null,e,wp.element.createElement(L.y,{initialOpen:!0,selected:l,options:[{image:C.a,label:Object(i.__)("Basic",o.i18n),value:"basic"},{image:E.a,label:Object(i.__)("Plain",o.i18n),value:"plain"}].concat(Y(Object(r.applyFilters)("stackable.notification.edit.layouts",[]))),onChange:function(e){n({design:e})}},o.showProNotice&&wp.element.createElement(L.bb,null)))}),Object(r.addFilter)("stackable.notification.edit.inspector.style.before","stackable/notification",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.titleColor,l=a.descriptionColor,c=a.design,u=void 0===c?"basic":c,b=a.borderRadius,p=void 0===b?"":b,g=a.shadow,m=void 0===g?"":g,d=a.showTitle,f=void 0===d||d,h=a.showDescription,v=void 0===h||h,y=a.titleTag,w=void 0===y?"":y,O=a.notifType,k=a.dismissible,_=void 0!==k&&k,j=a.dismissibleIconColor,C=void 0===j?"":j,x=a.columnBorderColor,E=void 0===x?"":x,S=a.columnBorderThickness,B=void 0===S?"":S,T=a.showButton,A=void 0===T||T,N=a.showIcon,F=void 0===N||N,R=a.icon,D=void 0===R?"":R,M=a.iconColor,z=void 0===M?"":M,I=a.iconOpacity,U=void 0===I?"":I,W=a.iconRotation,q=void 0===W?"":W,V=a.iconTop,X=void 0===V?"":V,J=a.iconLeft,$=void 0===J?"":J,Z=P(t);return wp.element.createElement(G.Fragment,null,e,wp.element.createElement(H.PanelBody,{title:Object(i.__)("General",o.i18n)},wp.element.createElement(H.SelectControl,{label:Object(i.__)("Notification Type",o.i18n),value:O,options:K.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}}),Z.borderRadius&&wp.element.createElement(L.b,{label:Object(i.__)("Border Radius",o.i18n),value:p,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),Z.shadow&&wp.element.createElement(L.b,{label:Object(i.__)("Shadow / Outline",o.i18n),value:m,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(L.s,{setAttributes:n,blockAttributes:t.attributes})),Z.columnBorder&&wp.element.createElement(L.X,{title:Object(i.__)("Border",o.i18n),hasToggle:!1},wp.element.createElement(L.r,{value:E,onChange:function(e){return n({columnBorderColor:e})},label:Object(i.__)("Border Color",o.i18n)}),wp.element.createElement(L.b,{label:Object(i.__)("Border Thickness",o.i18n),value:B,onChange:function(e){return n({columnBorderThickness:e})},min:0,max:20,allowReset:!0,placeholder:"bordered"===u?5:3})),Z.columnBackground&&wp.element.createElement(L.X,{title:Object(i.__)("Background",o.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(L.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(L.X,{title:Object(i.__)("Dismissible",o.i18n),id:"dismissible",checked:_,onChange:function(e){return n({dismissible:e})},toggleOnSetAttributes:[].concat(Y(Object(s.w)("dismissibleIcon%sSize")),["dismissibleIconColor"]),toggleAttributeName:"dismissible",className:"ugb--help-tip-notification-dismissible"},wp.element.createElement(L.cb,{attrNameTemplate:"dismissibleIcon%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(i.__)("Icon Size",o.i18n),min:5,max:50,allowReset:!0,placeholder:"16"})),wp.element.createElement(L.r,{value:C,onChange:function(e){return n({dismissibleIconColor:e})},label:Object(i.__)("Icon Color",o.i18n)})),wp.element.createElement(L.X,{title:Object(i.__)("Icon",o.i18n),id:"icon",checked:F,onChange:function(e){return n({showIcon:e})},toggleOnSetAttributes:["icon","iconColor"].concat(Y(Object(s.w)("icon%sSize")),["iconOpacity","iconRotation"],Y(Object(s.w)("icon%sAlign"))),toggleAttributeName:"showIcon"},wp.element.createElement(L.H,{label:Object(i.__)("Icon",o.i18n),value:D,onChange:function(e){return n({icon:e})}}),wp.element.createElement(L.r,{value:z,onChange:function(e){return n({iconColor:e})},label:Object(i.__)("Icon Color",o.i18n)}),wp.element.createElement(L.cb,{attrNameTemplate:"icon%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(i.__)("Icon Size",o.i18n),min:5,max:"large-icon"!==u?200:400,step:1,allowReset:!0,placeholder:"30"})),wp.element.createElement(L.b,{label:Object(i.__)("Icon Opacity",o.i18n),value:U,onChange:function(e){return n({iconOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"1"}),wp.element.createElement(L.b,{label:Object(i.__)("Icon Rotation",o.i18n),value:q,onChange:function(e){return n({iconRotation:e})},min:0,max:360,step:1,allowReset:!0,placeholder:"large-icon"===u?-20:0}),Z.iconLocation&&wp.element.createElement(L.E,{label:Object(i.__)("Icon Location",o.i18n),min:-250,max:250,top:X,left:$,onChange:function(e){n({iconTop:e.top||0===e.top?parseInt(e.top,10):"",iconLeft:e.left||0===e.left?parseInt(e.left,10):""})},enableRight:!1,enableBottom:!1}),Z.iconAlign&&wp.element.createElement(L.cb,{attrNameTemplate:"icon%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-icon"}))),wp.element.createElement(L.X,{title:Object(i.__)("Title",o.i18n),id:"title",checked:f,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(Y(Object(s.B)("title%s")),["titleTag","titleColor"],Y(Object(s.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(L.lb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(L.G,{value:w||"h5",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(L.r,{value:r,onChange:function(e){return n({titleColor:e})},label:Object(i.__)("Title Color",o.i18n)}),wp.element.createElement(L.cb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(L.X,{title:Object(i.__)("Description",o.i18n),id:"description",checked:v,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(Y(Object(s.B)("description%s")),["descriptionColor"],Y(Object(s.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(L.lb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(L.r,{value:l,onChange:function(e){return n({descriptionColor:e})},label:Object(i.__)("Description Color",o.i18n)}),wp.element.createElement(L.cb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(L.X,{title:Object(i.__)("Button",o.i18n),id:"button",checked:A,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(Y(Object(s.n)("button%s")),Y(Object(s.w)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(L.m,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(L.t,null),wp.element.createElement(L.cb,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-button"}))),(Z.iconSpacing||Z.titleSpacing||Z.descriptionSpacing||Z.buttonSpacing)&&wp.element.createElement(L.Y,{initialOpen:!1,blockProps:t},Z.iconSpacing&&wp.element.createElement(L.cb,{attrNameTemplate:"icon%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(i.__)("Icon",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-icon"})),Z.titleSpacing&&wp.element.createElement(L.cb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(i.__)("Title",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),Z.descriptionSpacing&&wp.element.createElement(L.cb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(i.__)("Description",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),Z.buttonSpacing&&wp.element.createElement(L.cb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(i.__)("Button",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var J=Object(W.compose)(U.i,U.g,U.d,Object(U.h)(),Object(U.c)(["Icon%sAlign","Title%sAlign","Description%sAlign","Button%sAlign"]),Object(U.a)(I,{editorMode:!0}),Object(U.b)([[".ugb-notification__item","column-background"],[".ugb-notification__close-button","dismissible"],[".ugb-notification__icon","icon"],[".ugb-notification__title","title"],[".ugb-notification__description","description"],[".ugb-button","button"]]))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,l=a.design,c=void 0===l?"basic":l,u=a.notifType,b=a.dismissible,p=a.shadow,g=void 0===p?"":p,m=a.showIcon,d=void 0!==m&&m,h=a.icon,v=void 0===h?"fas-exclamation-triangle":h,w=a.showTitle,O=void 0===w||w,k=a.titleTag,_=void 0===k?"h5":k,j=a.title,C=void 0===j?"":j,x=a.showDescription,E=void 0===x||x,S=a.description,B=void 0===S?"":S,A=a.showButton,N=void 0===A||A,F=a.buttonDesign,R=void 0===F?"plain":F,D=f()([t,"ugb-notification--v2","ugb-notification--design-".concat(c),"ugb-notification--type-".concat(u)],Object(r.applyFilters)("stackable.notification.mainclasses",{"ugb-notification--dismissible":b},e)),M=f()(["ugb-notification__item"],X({},"ugb--shadow-".concat(g),""!==g)),z=P(e);return wp.element.createElement(L.j.Edit,{className:D,blockProps:e,render:function(){return wp.element.createElement(G.Fragment,null,wp.element.createElement(L.B,{className:M,backgroundAttrName:"column%s",blockProps:e,showBackground:z.columnBackground},b&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button"},wp.element.createElement(T,null)),d&&wp.element.createElement(L.jb,{className:"ugb-notification__icon",value:v,onChange:function(e){return n({icon:e})}}),O&&wp.element.createElement(y.RichText,{tagName:_||"h5",value:C,className:"ugb-notification__title",placeholder:Object(i.__)("Title for This Block",o.i18n),onChange:function(e){return n({title:e})},keepPlaceholderOnFocus:!0}),E&&wp.element.createElement(y.RichText,{tagName:"p",className:"ugb-notification__description",value:B,onChange:function(e){return n({description:e})},placeholder:Object(s.F)("long"),keepPlaceholderOnFocus:!0}),N&&wp.element.createElement(L.o,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:V({},e.attributes,{buttonDesign:""!==R?R:"ghost"})})))}})});var $=Object(W.compose)(U.i,Object(U.a)(I))(function(e){var t,n,a,o=e.className,i=e.attributes,l=i.design,c=void 0===l?"basic":l,s=i.notifType,u=i.dismissible,b=i.shadow,p=void 0===b?"":b,g=i.showIcon,m=void 0!==g&&g,d=i.icon,h=void 0===d?"fas-exclamation-triangle":d,v=i.showTitle,w=void 0===v||v,O=i.titleTag,k=void 0===O?"h5":O,_=i.title,j=void 0===_?"":_,C=i.showDescription,x=void 0===C||C,E=i.description,S=void 0===E?"":E,B=i.showButton,A=void 0===B||B,N=i.buttonSize,F=void 0===N?"normal":N,R=i.buttonText,D=void 0===R?"":R,M=i.buttonShadow,z=void 0===M?0:M,I=i.buttonHoverEffect,U=void 0===I?"":I,H=i.buttonIcon,W=void 0===H?"":H,q=i.buttonIconPosition,V=void 0===q?"":q,X=i.buttonDesign,Y=void 0===X?"plain":X,K=i.buttonHoverGhostToNormal,J=void 0!==K&&K,$=i.buttonNewTab,Z=void 0!==$&&$,Q=i.buttonUrl,ee=void 0===Q?"":Q,te=i.buttonNoFollow,ne=void 0!==te&&te,ae=f()([o,"ugb-notification--v2","ugb-notification--design-".concat(c),"ugb-notification--type-".concat(s)],Object(r.applyFilters)("stackable.notification.mainclasses",{"ugb-notification--dismissible":u},e)),oe=f()(["ugb-notification__item"],(t={},n="ugb--shadow-".concat(p),a=""!==p,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t)),ie=P(e);return wp.element.createElement(L.j.Save,{className:ae,blockProps:e,render:function(){return wp.element.createElement(G.Fragment,null,wp.element.createElement(L.B,{className:oe,backgroundAttrName:"column%s",blockProps:e,showBackground:ie.columnBackground},u&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(T,null)),m&&wp.element.createElement(L.ib.Content,{className:"ugb-notification__icon",value:h}),w&&!y.RichText.isEmpty(j)&&wp.element.createElement(y.RichText.Content,{tagName:k||"h5",className:"ugb-notification__title",value:j}),x&&!y.RichText.isEmpty(S)&&wp.element.createElement(y.RichText.Content,{tagName:"p",className:"ugb-notification__description",value:S}),A&&!y.RichText.isEmpty(D)&&wp.element.createElement(L.n.Content,{size:""!==F?F:"normal",text:D,icon:W,newTab:""!==Z&&Z,url:ee,noFollow:ne,hoverEffect:U,ghostToNormalEffect:J,shadow:z,iconPosition:V,design:""!==Y?Y:"ghost"})))}})}),Z=n(15);function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(n,!0).forEach(function(t){te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function te(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return ne}),n.d(t,"name",function(){return ae}),n.d(t,"settings",function(){return oe});var ne=ee({design:{type:"string",default:"basic"},notifType:{type:"string",default:"success"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:3},columnBorderColor:{type:"string",default:""},columnBorderThickness:{type:"number",default:""}},Object(s.j)("column%s"),{dismissible:{type:"boolean",default:!1}},Object(s.x)("dismissibleIcon%sSize",{type:"number",default:""}),{dismissibleIconColor:{type:"string",default:""},showIcon:{type:"boolean",default:!1},icon:{type:"string",default:"fas-exclamation-triangle"},iconColor:{type:"string",default:""}},Object(s.x)("icon%sSize",{type:"number",default:""}),{},Object(s.x)("icon%sAlign",{type:"string",default:""}),{},Object(s.h)("icon%s",{type:"number",default:""},["Opacity","Rotation","Top","Left"]),{title:{source:"html",selector:".ugb-notification__title",default:Object(i.__)("Title for This Block",o.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(s.C)("title%s"),{titleColor:{type:"string",default:""}},Object(s.x)("title%sAlign",{type:"string",default:""}),{description:{source:"html",selector:".ugb-notification__description",default:Object(s.F)("long")},showDescription:{type:"boolean",default:!0}},Object(s.C)("description%s"),{descriptionColor:{type:"string",default:""}},Object(s.x)("description%sAlign",{type:"string",default:""}),{showButton:{type:"boolean",default:!0}},Object(s.o)("button%s",{selector:".ugb-button"}),{buttonDesign:{type:"string",default:"ghost"}},Object(s.x)("button%sAlign",{type:"string",default:""}),{},Object(s.x)("icon%sBottomMargin",{type:"number",default:""}),{},Object(s.x)("title%sBottomMargin",{type:"number",default:""}),{},Object(s.x)("description%sBottomMargin",{type:"number",default:""}),{},Object(s.x)("button%sBottomMargin",{type:"number",default:""})),ae="ugb/notification",oe={title:Object(i.__)("Notification",o.i18n),description:Object(i.__)("Show a notice to your readers. People can dismiss the notice to permanently hide it.",o.i18n),icon:Z.p,category:"stackable",keywords:[Object(i.__)("Notification",o.i18n),Object(i.__)("Stackable",o.i18n)],attributes:ne,supports:{inserter:!o.disabledBlocks.includes(ae)},deprecated:_,edit:J,save:$,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(r.applyFilters)("stackable.notification.custom-css.default","")}}};Object(r.addFilter)("stackable.notification.setAttributes","stackable/notification/notifType",function(e){return void 0===e.notifType?e:ee({},e,{columnBackgroundColor:"",columnBackgroundColorOpacity:"",iconColor:"",titleColor:"",descriptionColor:"",buttonBackgroundColor:"",columnBorderColor:""})}),Object(r.addFilter)("stackable.notification.setAttributes","stackable/notification/opacity",function(e,t){var n=e.hasOwnProperty("columnBackgroundColor");if(void 0===e.columnBackgroundColorOpacity&&!n)return e;if(n&&void 0!==e.columnBackgroundColor)return e;var a=t.attributes,o=a.notifType,i=void 0===o?"success":o,r=a.columnBackgroundColor,l=void 0===r?"":r;return ee({},e,{columnBackgroundColor:l&&!n?l:{success:"#40ba7b",error:"#d9534f",info:"#2091e1",warning:"#ffdd57"}[i]})})},function(e,t,n){"use strict";n.r(t);var a=n(10),o=n(1),i=n(0),r=n(5);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(r.addFilter)("stackable.blog-posts.design.no-text-attributes","stackable/blog-posts",function(e){return Object(a.omit)(e,["text"])}),Object(r.addFilter)("stackable.blog-posts.edit.designs","stackable/blog-posts",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(i.__)("Corporate Light 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-posts-design-corporate-light-01.jpg",attributes:{borderRadius:0,showCategory:!1,categoryFontFamily:"Roboto",categoryColor:"#ff550a",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffb20b",excerptFontFamily:"Serif",excerptColor:"#707070",showMeta:!1,metaFontFamily:"Roboto",metaColor:"#6d6d6d",readmoreFontFamily:"Roboto Condensed",readmoreFontWeight:"100",readmoreLetterSpacing:.5,readmoreFontSize:20,readmoreColor:"#ff550a",excerptBottomMargin:55,columnGap:100,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffffff",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ffb20b",blockDescriptionAlign:"center",blockDescriptionColor:"#707070",contentAlign:"center"}},corporateLight2:{label:Object(i.__)("Corporate Light 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-posts-design-corporate-light-02.jpg",attributes:{borderRadius:0,showCategory:!1,categoryFontFamily:"Roboto",categoryColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#c49732",excerptFontFamily:"Serif",excerptColor:"#ffffff",showMeta:!1,metaFontFamily:"Roboto",metaColor:"#ffffff",readmoreFontFamily:"Roboto Condensed",readmoreFontWeight:"100",readmoreLetterSpacing:.5,readmoreFontSize:20,readmoreColor:"#c49732",excerptBottomMargin:55,columnGap:100,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#4571d5",blockBackgroundBackgroundColor2:"#86abff",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ffffff",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff",contentAlign:"center"}},corporateDark1:{label:Object(i.__)("Corporate Dark 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-posts-design-corporate-dark-01.jpg",attributes:{borderRadius:0,showCategory:!1,categoryFontFamily:"Roboto",categoryColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#c5dfb4",excerptFontFamily:"Serif",excerptColor:"#ffffff",showMeta:!1,metaFontFamily:"Roboto",metaColor:"#ffffff",readmoreFontFamily:"Roboto Condensed",readmoreFontWeight:"100",readmoreLetterSpacing:.5,readmoreFontSize:20,readmoreColor:"#c4e558",excerptBottomMargin:55,columnGap:100,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-header-corporate-dark-01-01.jpg",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c5dfb4",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff",contentAlign:"center"}},corporateDark2:{label:Object(i.__)("Corporate Dark 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-posts-design-corporate-dark-02.jpg",attributes:{borderRadius:0,showCategory:!1,categoryFontFamily:"Roboto",categoryColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#06c19d",excerptFontFamily:"Serif",excerptColor:"#ffffff",showMeta:!1,metaFontFamily:"Roboto",metaColor:"#ffffff",readmoreFontFamily:"Roboto Condensed",readmoreFontWeight:"100",readmoreLetterSpacing:.5,readmoreFontSize:20,readmoreColor:"#06c19d",excerptBottomMargin:55,columnGap:100,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#2f2f2f",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#06c19d",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff",contentAlign:"center"}}})});var s=n(225),u=n.n(s),b=n(226),p=n.n(b),g=n(2),m=n(14),d=n.n(m),f=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,i=t.postType,l=void 0===i?"post":i,c=t.showImage,s=void 0===c||c,u=t.showTitle,b=void 0===u||u,p=t.showCategory,g=void 0===p||p,m=t.showExcerpt,d=void 0===m||m,f=t.showMeta,h=void 0===f||f,v=t.showReadmore,y=void 0===v||v;return Object(r.applyFilters)("stackable.blog-posts.show",{columnBackground:!["basic","list"].includes(a),showBackgroundInItem:"vertical-card2"===a,showBackgroundInContent:["vertical-card","horizontal-card","image-card"].includes(a),borderRadius:!0,shadow:!0,imageShadow:["basic","list"].includes(a),postType:o.isPro,imageHeight:"portfolio"!==a&&"portfolio2"!==a,imageWidth:"horizontal-card"===a||"list"===a,showCategory:"post"===l,imageAsBackground:["portfolio","portfolio2","image-card"].includes(a),imageOutsideContainer:["list","vertical-card","horizontal-card","image-card"].includes(a),imageSpacing:s&&["basic","list","vertical-card2"].includes(a),categorySpacing:g,titleSpacing:b,excerptSpacing:d,metaSpacing:h,readmoreSpacing:y,contentOrderStyles:"image-card"!==a},e)};function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(n,!0).forEach(function(t){w(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function y(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O=function(e){var t=Object(g.b)(e.attributes),n=e.attributes,a=n.columnBackgroundColor,o=void 0===a?"":a,i=n.design,r=void 0===i?"basc":i,l=n.showReadmore,c=void 0===l||l,s=f(e),u=[];s.columnBackground||u.push({".ugb-blog-posts__featured-image":{borderRadius:Object(g.c)(t("borderRadius","%spx"))}});var b=e.attributes.contentOrder,p=void 0===b?"":b;p&&s.contentOrderStyles&&p.split(",").forEach(function(e,t){var n=0===t?1:3===t?10:t+3;u.push(w({},".ugb-blog-posts__".concat(e),{order:Object(g.c)(n)})),c&&"excerpt"===e&&u.push({".ugb-blog-posts__readmore":{order:Object(g.c)(n)}})});var m=e.attributes.showImage,h=void 0===m||m;h&&s.imageHeight&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__featured-image img","image%sHeight","height","%spx",e.attributes,!0))),h&&s.imageWidth&&"list"===r&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__item","image%sWidth","gridTemplateColumns","%spx minmax(0, 1fr)",e.attributes,!0)));var O=e.attributes,k=O.categoryHighlighted,_=void 0!==k&&k,j=O.categoryColor,C=void 0===j?"":j,x=O.showCategory;(void 0===x||x)&&(_?u.push({".ugb-blog-posts__category a":{backgroundColor:Object(g.c)(t("categoryColor")),color:Object(g.c)(Object(g.eb)("",t("categoryColor")))},".ugb-blog-posts__category a:hover":{opacity:t("categoryHoverColor")?void 0:.8,backgroundColor:Object(g.c)(t("categoryHoverColor")),color:Object(g.c)(Object(g.eb)("",t("categoryHoverColor")))}}):u.push({".ugb-blog-posts__category a":{color:Object(g.c)(Object(g.eb)(C,s.columnBackground&&o))},".ugb-blog-posts__category a:hover":{opacity:C&&!t("categoryHoverColor")?.8:void 0,color:Object(g.c)(t("categoryHoverColor"))}}),u.push({".ugb-blog-posts__category":v({},Object(g.D)("category%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("categoryAlign","%s !important")}),tablet:{".ugb-blog-posts__category":v({},Object(g.D)("category%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("categoryTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__category":v({},Object(g.D)("category%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("categoryMobileAlign","%s !important")})}}));var E=e.attributes,S=E.titleColor,B=void 0===S?"":S,T=E.showTitle;(void 0===T||T)&&u.push({".ugb-blog-posts__title a":{color:Object(g.c)(Object(g.eb)(B,s.columnBackground&&o))},".ugb-blog-posts__title a:hover":{opacity:B&&!t("titleHoverColor")?.8:void 0,color:Object(g.c)(t("titleHoverColor"))},".ugb-blog-posts__title":v({},Object(g.D)("title%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-blog-posts__title":v({},Object(g.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__title":v({},Object(g.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var A=e.attributes,N=A.excerptColor,P=void 0===N?"":N,F=A.showExcerpt;(void 0===F||F)&&u.push({".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":v({},Object(g.D)("excerpt%s","desktop",e.attributes,{importantSize:!0}),{color:Object(g.c)(Object(g.eb)(P,s.columnBackground&&o))}),".ugb-blog-posts__excerpt":{textAlign:t("excerptAlign","%s !important")},tablet:{".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":v({},Object(g.D)("excerpt%s","tablet",e.attributes,{importantSize:!0})),".ugb-blog-posts__excerpt":{textAlign:t("excerptTabletAlign","%s !important")}},mobile:{".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":v({},Object(g.D)("excerpt%s","mobile",e.attributes,{importantSize:!0})),".ugb-blog-posts__excerpt":{textAlign:t("excerptMobileAlign","%s !important")}}});var R=e.attributes,D=R.metaColor,M=void 0===D?"":D,z=R.showMeta,I=void 0===z||z,L=R.showAuthor,U=void 0===L||L,H=R.showDate,W=void 0===H||H,G=R.showComments;I&&(U||W||(void 0===G||G))&&u.push({".ugb-blog-posts__meta":v({},Object(g.D)("meta%s","desktop",e.attributes,{importantSize:!0}),{color:Object(g.c)(Object(g.eb)(M,s.columnBackground&&o)),textAlign:t("metaAlign","%s !important")}),tablet:{".ugb-blog-posts__meta":v({},Object(g.D)("meta%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("metaTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__meta":v({},Object(g.D)("meta%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("metaMobileAlign","%s !important")})}});var q=e.attributes.readmoreColor,V=void 0===q?"":q;return c&&u.push({".ugb-blog-posts__readmore a":{color:Object(g.c)(Object(g.eb)(V,s.columnBackground&&o))},".ugb-blog-posts__readmore a:hover":{opacity:V&&!t("readmoreHoverColor")?.8:void 0,color:Object(g.c)(t("readmoreHoverColor"))},".ugb-blog-posts__readmore":v({},Object(g.D)("readmore%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("readmoreAlign","%s !important")}),tablet:{".ugb-blog-posts__readmore":v({},Object(g.D)("readmore%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("readmoreTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__readmore":v({},Object(g.D)("readmore%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("readmoreMobileAlign","%s !important")})}}),s.imageSpacing&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__featured-image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.categorySpacing&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__category","category%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.titleSpacing&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.excerptSpacing&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__excerpt","excerpt%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.metaSpacing&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__meta","meta%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.readmoreSpacing&&u.push.apply(u,y(Object(g.y)(".ugb-blog-posts__readmore","readmore%sBottomMargin","marginBottom","%spx",e.attributes,!0))),d.a.all(u)},k=n(3),_=n(7),j=n(9),C=n(362),x=n(28),E=n.n(x);function S(e){return(S="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})(e)}function B(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function T(e,t){return!t||"object"!==S(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var P=[],F=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=T(this,A(t).apply(this,arguments))).state={isLoading:0===P.length,termList:P},e}var n,a,r;return 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&&N(e,t)}(t,_["Component"]),n=t,(a=[{key:"componentWillMount",value:function(){var e=this;this.state.termList.length||(this.isStillMounted=!0,this.fetchRequest=E()({path:Object(C.a)("/wp/v2/stk_terms",{per_page:-1})}).then(function(t){e.isStillMounted&&(P=t,e.setState({termList:t,isLoading:!1}))}).catch(function(){e.isStillMounted&&e.setState({termList:[],isLoading:!1})}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"render",value:function(){var e=this,t=[],n=[],a=[{label:Object(i.__)("All",o.i18n),value:""}],r="";if(Object.keys(this.state.termList).forEach(function(o){var i=e.state.termList[o],r=i.label,l=i.taxonomies;t.push({label:r,value:o}),o===e.props.postType&&Object.keys(l).forEach(function(t,o){var i=l[t],r=i.label,c=i.terms;n.push({label:r,value:t});var s=!e.props.taxonomyType&&0===o;(t===e.props.taxonomyType||s)&&Object.keys(c).forEach(function(e){a.push({label:c[e].name,value:c[e].term_id})})})}),n.length){var l=this.props.taxonomyType||n[0].value,c=n.filter(function(e){var t=e.value;return l===t});r=c.length?c[0].label:n[0].label}return this.state.isLoading?wp.element.createElement("div",{className:"ugb-blog-post__inspector-spinner"},wp.element.createElement(j.Spinner,null)):wp.element.createElement("div",null,o.isPro&&wp.element.createElement(k.c,{label:Object(i.__)("Post Type",o.i18n),options:t,value:this.props.postType,onChange:function(t){var n=Object.keys(e.state.termList[t].taxonomies);e.props.onChangePostType(t),e.props.onChangeTaxonomyType(n.length?n[0]:""),e.props.onChangeTaxonomy("")}}),n.length>0&&wp.element.createElement(k.c,{label:Object(i.__)("Filter by Taxonomy",o.i18n),options:n,value:this.props.taxonomyType,onChange:function(t){e.props.onChangeTaxonomyType(t),e.props.onChangeTaxonomy("")}}),n.length>0&&wp.element.createElement(k.c,{label:r,options:a,value:this.props.taxonomy,onChange:this.props.onChangeTaxonomy}))}}])&&B(n.prototype,a),r&&B(n,r),t}();F.defaultProps={postType:"post",onChangePostType:function(){},taxonomyType:"category",onChangeTaxonomyType:function(){},taxonomy:"",onChangeTaxonomy:function(){}};var R=F,D=n(11),M=n(8),z=n.n(M),I=n(66),L=n(227),U=n(13),H=n(12);function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(n,!0).forEach(function(t){V(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function q(e){return(q="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})(e)}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Y(e,t){return!t||"object"!==q(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var Z={dot:"·",space:" ",comma:",",dash:"—",pipe:"|"};Object(r.addFilter)("stackable.blog-posts.edit.inspector.layout.before","stackable/blog-posts",function(e,t){var n=t.setAttributes,a=t.attributes.design,l=void 0===a?"basic":a;return wp.element.createElement(_.Fragment,null,e,wp.element.createElement(k.y,{initialOpen:!0,selected:l,options:Object(r.applyFilters)("stackable.blog-posts.edit.layouts",[{label:Object(i.__)("Basic",o.i18n),value:"basic",image:u.a},{label:Object(i.__)("List",o.i18n),value:"list",image:p.a}]),onChange:function(e){return n({design:e})}},o.showProNotice&&wp.element.createElement(k.bb,null)))}),Object(r.addFilter)("stackable.blog-posts.edit.inspector.style.before","stackable/blog-posts",function(e,t){var n=t.setAttributes,a=t.attributes,l=a.columns,c=void 0===l?2:l,s=a.borderRadius,u=void 0===s?"":s,b=a.shadow,p=void 0===b?"":b,m=a.contentOrder,d=void 0===m?"":m,h=a.numberOfItems,v=void 0===h?6:h,y=a.showImage,w=void 0===y||y,O=a.showTitle,C=void 0===O||O,x=a.showCategory,E=void 0===x||x,S=a.showExcerpt,B=void 0===S||S,T=a.showMeta,A=void 0===T||T,N=a.showReadmore,P=void 0!==N&&N,F=a.titleTag,D=void 0===F?"":F,M=a.titleColor,z=void 0===M?"":M,I=a.titleHoverColor,L=void 0===I?"":I,U=a.orderBy,H=void 0===U?"date":U,W=a.order,G=void 0===W?"desc":W,q=a.postType,V=void 0===q?"post":q,X=a.taxonomyType,Y=void 0===X?"category":X,K=a.taxonomy,J=void 0===K?"":K,Z=a.imageSize,Q=void 0===Z?"large":Z,ee=a.categoryHighlighted,te=void 0!==ee&&ee,ne=a.categoryColor,ae=void 0===ne?"":ne,oe=a.categoryHoverColor,ie=void 0===oe?"":oe,re=a.excerptColor,le=void 0===re?"":re,ce=a.excerptLength,se=void 0===ce?55:ce,ue=a.showAuthor,be=void 0===ue||ue,pe=a.showDate,ge=void 0===pe||pe,me=a.showComments,de=void 0===me||me,fe=a.metaColor,he=void 0===fe?"":fe,ve=a.metaSeparator,ye=void 0===ve?"":ve,we=a.readmoreColor,Oe=void 0===we?"":we,ke=a.readmoreHoverColor,_e=void 0===ke?"":ke,je=a.readmoreText,Ce=void 0===je?"":je,xe=f(t),Ee=Object(i.__)("Category",o.i18n),Se=Object(i.__)("Title",o.i18n),Be=Object(i.__)("Meta",o.i18n),Te=Object(i.__)("Excerpt",o.i18n);return wp.element.createElement(_.Fragment,null,e,wp.element.createElement(j.PanelBody,{title:Object(i.__)("General",o.i18n)},wp.element.createElement(k.b,{label:Object(i.__)("Columns",o.i18n),value:c,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),xe.borderRadius&&wp.element.createElement(k.b,{label:Object(i.__)("Border Radius",o.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),xe.shadow&&wp.element.createElement(k.b,{label:Object(i.__)("Shadow / Outline",o.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(k.c,{label:Object(i.__)("Content Order",o.i18n),options:[{label:Object(i.__)("Default",o.i18n),value:""},{label:"".concat(Ee," → ").concat(Se," → ").concat(Be," → ").concat(Te),value:"category,title,meta,excerpt"},{label:"".concat(Ee," → ").concat(Se," → ").concat(Te," → ").concat(Be),value:"category,title,excerpt,meta"},{label:"".concat(Se," → ").concat(Be," → ").concat(Te," → ").concat(Ee),value:"title,meta,excerpt,category"},{label:"".concat(Se," → ").concat(Ee," → ").concat(Te," → ").concat(Be),value:"title,category,excerpt,meta"},{label:"".concat(Be," → ").concat(Se," → ").concat(Te," → ").concat(Ee),value:"meta,title,excerpt,category"},{label:"".concat(Be," → ").concat(Se," → ").concat(Ee," → ").concat(Te),value:"meta,title,category,excerpt"}],value:d,onChange:function(e){return n({contentOrder:e})},className:"ugb--help-tip-posts-content-order"}),wp.element.createElement(k.s,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(j.PanelBody,{title:Object(i.__)("Posts Settings",o.i18n),initialOpen:!1},wp.element.createElement(k.b,{label:Object(i.__)("Number of items",o.i18n),min:1,max:100,allowReset:!0,value:v,onChange:function(e){return n({numberOfItems:e})},placeholder:"6"}),wp.element.createElement(k.c,{label:Object(i.__)("Order by",o.i18n),options:[{label:Object(i.__)("Newest to Oldest",o.i18n),value:"date,desc"},{label:Object(i.__)("Oldest to Newest",o.i18n),value:"date,asc"},{label:Object(i.__)("A → Z",o.i18n),value:"title,asc"},{label:Object(i.__)("Z → A",o.i18n),value:"title,desc"},{label:Object(i.__)("Last Modified to Oldest",o.i18n),value:"modified,desc"},{label:Object(i.__)("Oldest Modified to Last",o.i18n),value:"modified,asc"},{label:Object(i.__)("Menu Order",o.i18n),value:"menu_order,asc"},{label:Object(i.__)("Random",o.i18n),value:"rand,desc"}],value:"".concat(H,",").concat(G),onChange:function(e){return n({orderBy:e.split(",")[0],order:e.split(",")[1]})}}),wp.element.createElement(R,{postType:V,onChangePostType:function(e){return n({postType:e})},taxonomyType:Y,onChangeTaxonomyType:function(e){return n({taxonomyType:e})},taxonomy:J,onChangeTaxonomy:function(e){return n({taxonomy:e})}}),Object(r.applyFilters)("stackable.blog-posts.edit.inspector.style.posts.after",null,t),o.showProNotice&&wp.element.createElement(k.bb,{type:"postsBlock"})),xe.columnBackground&&wp.element.createElement(k.X,{title:Object(i.__)("Column Background",o.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},(xe.showBackgroundInItem||xe.showBackgroundInContent)&&wp.element.createElement(k.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes,backgroundMediaAllowVideo:!1}),!(xe.showBackgroundInItem||xe.showBackgroundInContent)&&xe.columnBackground&&wp.element.createElement(k.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes,onChangeBackgroundMedia:!1,onChangeBackgroundColorOpacity:!1,onChangeBackgroundGradientBlendMode:!1})),wp.element.createElement(k.X,{title:Object(i.__)("Featured Image",o.i18n),id:"image",checked:w,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:["imageSize"].concat($(Object(g.w)("Image%sWidth")),$(Object(g.w)("Image%sHeight"))),toggleAttributeName:"showTitle"},wp.element.createElement(k.S,{label:Object(i.__)("Image Size",o.i18n),value:Q,onChange:function(e){return n({imageSize:e})},className:"ugb--help-tip-image-size"}),xe.imageWidth&&wp.element.createElement(k.cb,{attrNameTemplate:"image%sWidth",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Image Width",o.i18n),min:100,max:600,allowReset:!0,className:"ugb--help-tip-image-width-crop"})),xe.imageHeight&&wp.element.createElement(k.cb,{attrNameTemplate:"image%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Image Height",o.i18n),min:100,max:1e3,allowReset:!0,className:"ugb--help-tip-image-height-crop"}))),wp.element.createElement(k.X,{title:Object(i.__)("Category",o.i18n),id:"category",checked:E,onChange:function(e){return n({showCategory:e})},toggleOnSetAttributes:[].concat($(Object(g.B)("category%s")),["categoryHighlighted","categoryColor","categoryHoverColor"],$(Object(g.w)("Category%sAlign"))),toggleAttributeName:"showCategory"},wp.element.createElement(k.lb,{attrNameTemplate:"category%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(j.ToggleControl,{label:Object(i.__)("Highlighted",o.i18n),checked:te,onChange:function(e){return n({categoryHighlighted:e})}}),wp.element.createElement(k.r,{value:ae,onChange:function(e){return n({categoryColor:e})},label:Object(i.__)("Color",o.i18n)}),wp.element.createElement(k.r,{value:ie,onChange:function(e){return n({categoryHoverColor:e})},label:Object(i.__)("Hover Color",o.i18n)}),wp.element.createElement(k.cb,{attrNameTemplate:"Category%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(k.X,{title:Object(i.__)("Title",o.i18n),id:"title",checked:C,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat($(Object(g.B)("title%s")),["titleTag","titleColor","titleHoverColor"],$(Object(g.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(k.lb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(k.G,{value:D||"h3",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(k.r,{value:z,onChange:function(e){return n({titleColor:e})},label:Object(i.__)("Text Color",o.i18n)}),wp.element.createElement(k.r,{value:L,onChange:function(e){return n({titleHoverColor:e})},label:Object(i.__)("Hover Color",o.i18n)}),wp.element.createElement(k.cb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(k.X,{title:Object(i.__)("Excerpt",o.i18n),id:"excerpt",checked:B,onChange:function(e){return n({showExcerpt:e})},toggleOnSetAttributes:[].concat($(Object(g.B)("excerpt%s")),["excerptColor","excerptLength"],$(Object(g.w)("Excerpt%sAlign"))),toggleAttributeName:"showExcerpt"},wp.element.createElement(k.b,{label:Object(i.__)("Excerpt Length",o.i18n),value:se,onChange:function(e){return n({excerptLength:e})},min:1,max:100,allowReset:!0,placeholder:"55"}),wp.element.createElement(k.lb,{attrNameTemplate:"excerpt%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(k.r,{value:le,onChange:function(e){return n({excerptColor:e})},label:Object(i.__)("Text Color",o.i18n)}),wp.element.createElement(k.cb,{attrNameTemplate:"Excerpt%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(k.X,{title:Object(i.__)("Meta",o.i18n),id:"meta",checked:A,onChange:function(e){return n({showMeta:e})},toggleOnSetAttributes:["showAuthor","showDate","showComments"].concat($(Object(g.B)("meta%s")),["metaColor","metaSeparator"],$(Object(g.w)("Meta%sAlign"))),toggleAttributeName:"showMeta"},wp.element.createElement(j.ToggleControl,{label:Object(i.__)("Show Author",o.i18n),checked:be,onChange:function(e){return n({showAuthor:e})}}),wp.element.createElement(j.ToggleControl,{label:Object(i.__)("Show Date",o.i18n),checked:ge,onChange:function(e){return n({showDate:e})}}),wp.element.createElement(j.ToggleControl,{label:Object(i.__)("Show Comments",o.i18n),checked:de,onChange:function(e){return n({showComments:e})}}),wp.element.createElement(k.lb,{attrNameTemplate:"meta%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(k.r,{value:he,onChange:function(e){return n({metaColor:e})},label:Object(i.__)("Text Color",o.i18n)}),wp.element.createElement(k.c,{label:Object(i.__)("Separator",o.i18n),options:[{label:Object(i.__)("Default (Dot)",o.i18n),value:""},{label:Object(i.__)("Space",o.i18n),value:"space"},{label:Object(i.__)("Comma",o.i18n),value:"comma"},{label:Object(i.__)("Dash",o.i18n),value:"dash"},{label:Object(i.__)("Pipe",o.i18n),value:"pipe"}],value:ye,onChange:function(e){return n({metaSeparator:e})},className:"ugb--help-tip-posts-meta-separator"}),wp.element.createElement(k.cb,{attrNameTemplate:"Meta%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(k.X,{title:Object(i.__)("Read More Link",o.i18n),id:"readmore",checked:P,onChange:function(e){return n({showReadmore:e})},toggleOnSetAttributes:["readmoreText"].concat($(Object(g.B)("readmore%s")),["readmoreColor","readmoreHoverColor"],$(Object(g.w)("Readmore%sAlign"))),toggleAttributeName:"showReadmore"},wp.element.createElement(j.TextControl,{label:Object(i.__)("Customize Read More Link",o.i18n),type:"text",value:Ce,onChange:function(e){return n({readmoreText:e})}}),wp.element.createElement(k.lb,{attrNameTemplate:"readmore%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(k.r,{value:Oe,onChange:function(e){return n({readmoreColor:e})},label:Object(i.__)("Text Color",o.i18n)}),wp.element.createElement(k.r,{value:_e,onChange:function(e){return n({readmoreHoverColor:e})},label:Object(i.__)("Hover Color",o.i18n)}),wp.element.createElement(k.cb,{attrNameTemplate:"Readmore%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(k.Y,{initialOpen:!1,blockProps:t},xe.imageSpacing&&wp.element.createElement(k.cb,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Image",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-image"})),xe.categorySpacing&&wp.element.createElement(k.cb,{attrNameTemplate:"category%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Category",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.titleSpacing&&wp.element.createElement(k.cb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Title",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-title"})),xe.excerptSpacing&&wp.element.createElement(k.cb,{attrNameTemplate:"excerpt%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Excerpt",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.metaSpacing&&wp.element.createElement(k.cb,{attrNameTemplate:"meta%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Meta",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-description"})),xe.readmoreSpacing&&wp.element.createElement(k.cb,{attrNameTemplate:"readmore%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(i.__)("Read More",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-alignment-button"}))))});var Q=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),Y(this,K(t).apply(this,arguments))}var n,a,l;return 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&&J(e,t)}(t,_["Component"]),n=t,(a=[{key:"render",value:function(){var e=this,t=this.props,n=t.className,a=t.attributes,l=t.posts,c=a.columns,s=void 0===c?2:c,u=a.design,b=void 0===u?"basic":u,p=a.shadow,g=void 0===p?"":p,m=a.numberOfItems,d=void 0===m?6:m,h=a.titleTag,v=void 0===h?"":h,y=a.imageSize,w=void 0===y?"large":y,O=a.categoryHighlighted,C=void 0!==O&&O,x=a.excerptLength,E=void 0===x?"":x,S=a.metaSeparator,B=void 0===S?"":S,T=a.showImage,A=void 0===T||T,N=a.showTitle,P=void 0===N||N,F=a.showCategory,R=void 0===F||F,D=a.showExcerpt,M=void 0===D||D,U=a.showMeta,H=void 0===U||U,W=a.showReadmore,G=void 0!==W&&W,q=a.showAuthor,X=void 0===q||q,Y=a.showDate,K=void 0===Y||Y,J=a.showComments,$=void 0===J||J,Q=a.readmoreText,ee=void 0===Q?"":Q,te=a.columnBackgroundColor,ne=void 0===te?"":te,ae=a.columnBackgroundColor2,oe=void 0===ae?"":ae,ie=f(this.props),re=Array.isArray(l)&&l.length,le=v||"h3",ce=z()([n,"ugb-blog-posts--v2","ugb-blog-posts--columns-".concat(s),"ugb-blog-posts--design-".concat(b)],Object(r.applyFilters)("stackable.blog-posts.mainclasses",{"ugb-blog-posts--cat-highlighted":C,"ugb-blog-posts--has-bg-color":ne||oe},this.props)),se=re&&l.length>d?l.slice(0,d):l,ue=z()(["ugb-blog-posts__item"],V({},"ugb--shadow-".concat(g||3),!ie.imageShadow)),be=z()(["ugb-blog-posts__featured-image"],V({},"ugb--shadow-".concat(g||3),ie.imageShadow));return re?wp.element.createElement(k.j.Edit,{className:ce,blockProps:this.props,render:function(){return wp.element.createElement(_.Fragment,null,se.map(function(t,n){var a=(t.featured_image_urls&&t.featured_image_urls[w||"large"]||[])[0],l=a&&wp.element.createElement("figure",{className:be},wp.element.createElement("a",null,wp.element.createElement("img",{src:a,alt:Object(i.__)("featured",o.i18n)}))),c=a&&wp.element.createElement("div",{className:"ugb-blog-posts__featured-image-background",style:{backgroundImage:"url(".concat(a,")")}}),s=wp.element.createElement(le,{className:"ugb-blog-posts__title"},wp.element.createElement("a",null,Object(L.decodeEntities)(t.title.rendered.trim())||Object(i.__)("(Untitled)",o.i18n))),u=t.category_list&&wp.element.createElement("div",{className:"ugb-blog-posts__category",dangerouslySetInnerHTML:{__html:t.category_list.replace(/href=['"].*?['"]/g,"")}}),b=wp.element.createElement("span",{className:"ugb-blog-posts__sep"},Z[B||"dot"]),p=t.author_info&&t.author_info.name&&wp.element.createElement("span",null,t.author_info.name),g=t.date_gmt&&wp.element.createElement("time",{dateTime:Object(I.format)("c",t.date_gmt),className:"ugb-blog-posts__date"},Object(I.dateI18n)("F d, Y",t.date_gmt)),m=wp.element.createElement("span",null,t.comments_num),d=t.post_excerpt_stackable.split(" "),f=(d=d.length>(E||55)?d.slice(0,E||55).join(" ")+"...":t.post_excerpt_stackable)&&wp.element.createElement("div",{className:"ugb-blog-posts__excerpt",dangerouslySetInnerHTML:{__html:d}}),h=wp.element.createElement("p",{className:"ugb-blog-posts__readmore"},wp.element.createElement("a",null,ee||Object(i.__)("Continue reading",o.i18n))),v=(X||K||$)&&wp.element.createElement("aside",{className:"entry-meta ugb-blog-posts__meta"},X&&p,X&&p&&(K&&g||$&&m)&&b,K&&g,(X&&p||K&&g)&&$&&m&&b,$&&m),y=Object(r.applyFilters)("stackable.blog-posts.edit.output",null,e.props,{itemClasses:ue,featuredImageBackground:c,featuredImage:l,category:u,title:s,author:p,separator:b,date:g,comments:m,excerpt:f,readmore:h,meta:v},n);return y||wp.element.createElement(k.B,{tagName:"article",className:ue,backgroundAttrName:"column%s",blockProps:e.props,showBackground:ie.showBackgroundInItem,showBackgroundVideo:!1,key:n},A&&ie.imageAsBackground&&c,A&&!ie.imageAsBackground&&ie.imageOutsideContainer&&l,wp.element.createElement(k.B,{className:"ugb-blog-posts__content",backgroundAttrName:"column%s",blockProps:e.props,showBackground:ie.showBackgroundInContent,showBackgroundVideo:!1},A&&!ie.imageAsBackground&&!ie.imageOutsideContainer&&l,R&&u,P&&s,H&&v,M&&f,G&&h))}))}}):wp.element.createElement(j.Placeholder,{icon:"admin-post",label:Object(i.__)("Posts",o.i18n)},Array.isArray(l)?Object(i.__)("No posts found.",o.i18n):wp.element.createElement(j.Spinner,null))}}])&&X(n.prototype,a),l&&X(n,l),t}(),ee=Object(H.compose)(D.i,D.g,D.d,Object(D.h)(),Object(D.c)(["Category%sAlign","Title%sAlign","Excerpt%sAlign","Meta%sAlign","Readmore%sAlign"]),Object(D.a)(O,{editorMode:!0}),Object(D.b)([[".ugb-blog-posts__featured-image","image"],[".ugb-blog-posts__featured-image img","image"],[".ugb-blog-posts__category","category"],[".ugb-blog-posts__title","title"],[".ugb-blog-posts__excerpt","excerpt"],[".ugb-blog-posts__meta","meta"],[".ugb-blog-posts__readmore","readmore"],[".ugb-blog-posts--design-image-card .ugb-blog-posts__header","image"],[".ugb-blog-posts__item","column-background"]]),Object(U.withSelect)(function(e,t){var n=t.attributes,o=n.postType,i=void 0===o?"post":o,l=n.numberOfItems,c=void 0===l?6:l,s=n.orderBy,u=void 0===s?"date":s,b=n.order,p=void 0===b?"desc":b,g=n.taxonomyType,m=void 0===g?"":g,d=n.taxonomy,f=void 0===d?"":d;return{posts:(0,e("core").getEntityRecords)("postType",i,Object(a.pickBy)(G({order:p,orderby:u,per_page:c,categories:"category"===m&&f?[f]:void 0,tags:"post_tag"===m&&f?[f]:void 0},Object(r.applyFilters)("stackable.blog-posts.postQuery",{},t)),function(e){return!Object(a.isUndefined)(e)&&""!==e}))}}))(Q);Object(r.addFilter)("stackable.click-open-inspector.listener-override","stackable/blog-posts",function(e){return G({},e,{'[data-type="ugb/blog-posts"]':["img","p","h1","h2","h3","h4","h5","h6","span","time","aside","figure","div"]})});var te=Object(H.compose)(D.i,Object(D.a)(O))(function(e){var t=e.className,n=e.attributes,a=n.columns,o=void 0===a?2:a,i=n.design,l=void 0===i?"basic":i,c=n.categoryHighlighted,s=void 0!==c&&c,u=n.columnBackgroundColor,b=void 0===u?"":u,p=n.columnBackgroundColor2,g=void 0===p?"":p,m=z()([t,"ugb-blog-posts--v2","ugb-blog-posts--design-".concat(l),"ugb-blog-posts--columns-".concat(o)],Object(r.applyFilters)("stackable.blog-posts.mainclasses",{"ugb-blog-posts--cat-highlighted":s,"ugb-blog-posts--has-bg-color":b||g},e));return wp.element.createElement(k.j.Save,{className:m,blockProps:e,render:function(){return null}})});function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oe=[{attributes:{className:{type:"string"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},categories:{type:"string"},postsToShow:{type:"number",default:6},columns:{type:"number",default:2},displayFeaturedImage:{type:"boolean",default:!0},featuredImageShape:{type:"string",default:"landscape"},displayTitle:{type:"boolean",default:!0},displayDate:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayComments:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0},displayExcerpt:{type:"boolean",default:!0},displayReadMoreLink:{type:"boolean",default:!1},readMoreText:{type:"string"},contentAlign:{type:"string"},align:{type:"string"},accentColor:{type:"string"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(){return null},migrate:function(e){var t,n=["portfolio","portfolio2"].includes(e.design)?"#ffffff":void 0;e.accentColor&&["basic","list","vertical-card","horizontal-card","vertical-card2"].includes(e.design)&&(n=e.accentColor),e.accentColor&&["portfolio","portfolio2","horizontal-card","image-card"].includes(e.design)&&(t=e.accentColor);var a=function(e){return(e||"").replace(/\.ugb-blog-posts__category-list/g,".ugb-blog-posts__category").replace(/\.ugb-blog-posts__read_more/g,".ugb-blog-posts__readmore").replace(/\.ugb-blog-posts__side/g,".ugb-blog-posts__content")};return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(n,!0).forEach(function(t){ae(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{customCSS:a(e.customCSS),customCSSCompiled:a(e.customCSSCompiled),numberOfItems:e.postsToShow,categoryHighlighted:["portfolio","portfolio2","horizontal-card","image-card"].includes(e.design),metaColor:n,categoryColor:t,showImage:e.displayFeaturedImage,showTitle:e.displayTitle,showDate:e.displayDate,showCategory:e.displayCategory,showComments:e.displayComments,showAuthor:e.displayAuthor,showExcerpt:e.displayExcerpt,showReadmore:e.displayReadMoreLink,readmoreText:e.readMoreText,postType:"post",taxonomyType:"category",taxonomy:e.categories})}}],ie=n(15);function re(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function le(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return se}),n.d(t,"settings",function(){return ue});var ce=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?re(n,!0).forEach(function(t){le(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):re(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:2},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},contentOrder:{type:"string",default:""},numberOfItems:{type:"number",default:6},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},postType:{type:"string",default:"post"},taxonomyType:{type:"string",default:"category"},taxonomy:{type:"string",default:""},postOffset:{type:"number",default:""},postExclude:{type:"string",default:""},postInclude:{type:"string",default:""}},Object(g.j)("column%s"),{showImage:{type:"boolean",default:!0},imageSize:{type:"string",default:""}},Object(g.x)("image%sWidth",{type:"number",default:""}),{},Object(g.x)("image%sHeight",{type:"number",default:""}),{showCategory:{type:"boolean",default:!0}},Object(g.C)("category%s"),{categoryHighlighted:{type:"boolean",default:!1},categoryColor:{type:"string",default:""},categoryHoverColor:{type:"string",default:""}},Object(g.x)("Category%sAlign",{type:"string",default:""}),{showTitle:{type:"boolean",default:!0}},Object(g.C)("title%s"),{titleTag:{type:"string",defualt:""},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""}},Object(g.x)("Title%sAlign",{type:"string",default:""}),{showExcerpt:{type:"boolean",default:!0}},Object(g.C)("excerpt%s"),{excerptLength:{type:"number",default:""},excerptColor:{type:"string",default:""}},Object(g.x)("Excerpt%sAlign",{type:"string",default:""}),{showMeta:{type:"boolean",default:!0},showAuthor:{type:"boolean",default:!0},showDate:{type:"boolean",default:!0},showComments:{type:"boolean",default:!0}},Object(g.C)("meta%s"),{metaColor:{type:"string",default:""},metaSeparator:{type:"string",default:""}},Object(g.x)("Meta%sAlign",{type:"string",default:""}),{showReadmore:{type:"boolean",default:!0},readmoreText:{type:"string",default:""}},Object(g.C)("readmore%s"),{readmoreColor:{type:"string",default:""},readmoreHoverColor:{type:"string",default:""}},Object(g.x)("Readmore%sAlign",{type:"string",default:""}),{},Object(g.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Category","Title","Excerpt","Meta","Readmore"],["","Tablet","Mobile"])),se="ugb/blog-posts",ue={title:Object(i.__)("Posts",o.i18n),description:Object(i.__)("Your latest blog posts. Use this to showcase a few of your posts in your landing pages.",o.i18n),icon:ie.c,category:"stackable",keywords:[Object(i.__)("Blog Posts",o.i18n),Object(i.__)("Stackable",o.i18n)],supports:{align:["center","wide","full"],inserter:!o.disabledBlocks.includes(se)},attributes:ce,save:te,edit:ee,deprecated:oe,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0,verticalContentAlign:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(r.applyFilters)("stackable.blog-posts.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),o=n(15),i=n(10),r=n(1),l=n(0),c=n(5);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(c.addFilter)("stackable.count-up.design.no-text-attributes","stackable/count-up",function(e){return Object(i.omit)(e,["title1","title2","title3","title4","countText1","countText2","countText3","countText4","description1","description2","description3","description4"])}),Object(c.addFilter)("stackable.count-up.edit.designs","stackable/count-up",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(l.__)("Corporate Light 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-countup-design-corporate-light-01.jpg",attributes:{columns:3,iconColor:"#eeffb5",numberFontFamily:"Roboto Condensed",numberFontWeight:"bold",numberFontSize:58,numberColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#ff550a",blockBackgroundBackgroundColor2:"#ffb20b",blockBackgroundBackgroundGradientDirection:40,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleColor:"#ffffff",blockDescriptionFontFamily:"Serif",blockDescriptionColor:"#ffffff"}},corporateLight2:{label:Object(l.__)("Corporate Light 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-countup-design-corporate-light-02.jpg",attributes:{columns:3,iconColor:"#eeffb5",numberFontFamily:"Roboto Condensed",numberFontWeight:"bold",numberFontSize:58,numberColor:"#1e55d3",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColor:"#6a91eb",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleColor:"#1e55d3",blockDescriptionFontFamily:"Serif",blockDescriptionColor:"#ffffff"}},corporateDark1:{label:Object(l.__)("Corporate Dark 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-countup-design-corporate-dark-01.jpg",attributes:{columns:3,iconColor:"#eeffb5",numberFontFamily:"Roboto Condensed",numberFontWeight:"bold",numberFontSize:58,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#eeffb5",descriptionFontFamily:"Serif",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColor:"#0e2448",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleColor:"#eeffb5",blockDescriptionFontFamily:"Serif"}},corporateDark2:{label:Object(l.__)("Corporate Dark 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-countup-design-corporate-dark-02.jpg",attributes:{columns:3,iconColor:"#eeffb5",numberFontFamily:"Roboto Condensed",numberFontWeight:"bold",numberFontSize:58,numberColor:"#06c19d",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",paddingTop:80,paddingBottom:80,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColor:"#2f2f2f",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleColor:"#06c19d",blockDescriptionFontFamily:"Serif"}}})});var b=function(e){return"serif"===e?'"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif':"monospace"===e?'SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace':'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'},p=n(8),g=n.n(p),m=n(6);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=[{attributes:{columns:{type:"number",default:4},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},title1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__title",default:Object(l.__)("Title")},title2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__title",default:Object(l.__)("Title")},title3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__title",default:Object(l.__)("Title")},title4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__title",default:Object(l.__)("Title")},countText1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__description",default:Object(l.__)("Description")},description2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__description",default:Object(l.__)("Description")},description3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__description",default:Object(l.__)("Description")},description4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__description",default:Object(l.__)("Description")},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},countFont:{type:"string",default:"theme"},countFontWeight:{type:"string",default:"400"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},title:{type:"string"},counter:{type:"string"},des:{type:"string"},fontSize:{type:"number"},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},save:function(e){var t,n=e.className,o=e.attributes,i=o.columns,r=o.backgroundColorType,l=void 0===r?"":r,s=o.backgroundColor,u=o.backgroundColor2,p=o.backgroundColorDirection,d=void 0===p?0:p,v=o.backgroundType,y=void 0===v?"":v,w=o.backgroundImageURL,O=o.fixedBackground,k=o.backgroundOpacity,_=void 0===k?5:k,j=o.textColor,C=o.countColor,x=o.countSize,E=o.contentWidth,S=o.design,B=void 0===S?"plain":S,T=o.align,A=o.borderRadius,N=void 0===A?12:A,P=o.shadow,F=void 0===P?3:P,R=o.countFont,D=o.countFontWeight,M=Object(c.applyFilters)("stackable.count-up.edit.show_1_15_4",{background:"plain"!==B},B,e),z="basic"===B,I=g()([n.split(" ").filter(function(e){return"ugb-count-up"!==e}),"ugb-countup","ugb-countup--v3","ugb-countup--columns-".concat(i),"ugb--background-opacity-"+1*Math.round(_/1)],Object(c.applyFilters)("stackable.count-up.mainclasses_1_15_4",(h(t={"ugb--has-background-image":w},"ugb--content-width","full"===T&&E),h(t,"ugb-countup--design-".concat(B),"plain"!==B),h(t,"ugb--shadow-".concat(F),"basic"===B&&3!==F),h(t,"ugb--has-background-gradient","basic"===B&&"gradient"===l),h(t,"ugb--has-background-video","basic"===B&&"video"===y),t),B,e)),L=z?{backgroundColor:s||void 0,backgroundImage:w?"url(".concat(w,")"):void 0,"--ugb-background-color":w||"gradient"===l?s:void 0,"--ugb-background-color2":"gradient"===l&&u?u:void 0,"--ugb-background-direction":"gradient"===l?"".concat(d,"deg"):void 0,borderRadius:12!==N?N:void 0}:{},U=Object(c.applyFilters)("stackable.count-up.mainstyle_1_15_4",f({backgroundAttachment:O?"fixed":void 0},L),B,e),H={color:C||void 0,fontSize:x?x+"px":void 0,fontWeight:D||void 0};return R&&"theme"!==R&&(H.fontFamily=b(R)),wp.element.createElement("div",{className:I,style:U},M.background&&"video"===y&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:w}),Object(c.applyFilters)("stackable.count-up.save.output.before_1_15_4",null,B,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},Object(a.X)(1,i+1).map(function(t){var n=o["title".concat(t)],a=o["description".concat(t)],i=o["countText".concat(t)],r=!m.RichText.isEmpty(n)&&wp.element.createElement(m.RichText.Content,{tagName:"h4",className:"ugb-countup__title",style:{color:j||void 0},value:n}),l=!m.RichText.isEmpty(i)&&wp.element.createElement(m.RichText.Content,{tagName:"div",className:"ugb-countup__counter",style:H,value:i,"data-duration":"1000","data-delay":"16"}),s=!m.RichText.isEmpty(a)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-countup__description",style:{color:j||void 0},value:a}),u={i:t,titleComp:r,countComp:l,descriptionComp:s};return Object(c.applyFilters)("stackable.count-up.save.output_1_15_4",wp.element.createElement("div",{className:"ugb-countup__item",key:t},r,l,s),u,t,e)})))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-countup([\s\{\[\.\#\:])/g,".ugb-count-up$1")};return f({},e,{columns:e.columns?e.columns:4,columnBackgroundColorType:e.backgroundColorType?e.backgroundColorType:void 0,columnBackgroundColor:e.backgroundColor?e.backgroundColor:void 0,columnBackgroundColor2:e.backgroundColor2?e.backgroundColor2:void 0,columnBackgroundGradientDirection:e.backgroundColorDirection?e.backgroundColorDirection:void 0,columnBackgroundMediaID:e.backgroundImageID?e.backgroundImageID:void 0,columnBackgroundMediaURL:e.backgroundImageURL?e.backgroundImageURL:void 0,columnBackgroundTintStrength:e.backgroundOpacity?e.backgroundOpacity:void 0,columnFixedBackground:e.fixedBackground?e.fixedBackground:void 0,numberColor:e.countColor?e.countColor:void 0,numberFontSize:e.countSize?e.countSize:void 0,numberFontFamily:"theme"===e.countFont?"":e.countFont?e.countFont:void 0,numberFontWeight:e.countFontWeight?e.countFontWeight:void 0,titleColor:e.textColor?e.textColor:void 0,descriptionColor:e.textColor?e.textColor:void 0,showBlockBackground:"full"===e.align&&"basic"===e.design||void 0,blockInnerWidth:"full"!==e.align?void 0:!0===e.contentWidth?"center":"full",customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}},{attributes:{columns:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},title1:{source:"html",selector:".ugb-countup-item:nth-of-type(1) h4",default:"Title"},title2:{source:"html",selector:".ugb-countup-item:nth-of-type(2) h4",default:"Title"},title3:{source:"html",selector:".ugb-countup-item:nth-of-type(3) h4",default:"Title"},title4:{source:"html",selector:".ugb-countup-item:nth-of-type(4) h4",default:"Title"},countText1:{source:"html",selector:".ugb-countup-item:nth-of-type(1) .ugb-counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup-item:nth-of-type(2) .ugb-counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup-item:nth-of-type(3) .ugb-counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup-item:nth-of-type(4) .ugb-counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup-item:nth-of-type(1) p",default:"Description"},description2:{source:"html",selector:".ugb-countup-item:nth-of-type(2) p",default:"Description"},description3:{source:"html",selector:".ugb-countup-item:nth-of-type(3) p",default:"Description"},description4:{source:"html",selector:".ugb-countup-item:nth-of-type(4) p",default:"Description"},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},countFont:{type:"string",default:"theme"},countFontWeight:{type:"string",default:"400"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},title:{source:"html",selector:"h4"},counter:{source:"html",selector:".ugb-counter"},des:{source:"html",selector:"p"},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},save:function(e){var t,n=e.className,o=e.attributes,i=o.columns,r=o.backgroundColor,l=o.backgroundImageURL,c=o.fixedBackground,s=o.backgroundOpacity,u=void 0===s?5:s,p=o.textColor,d=o.countColor,f=o.countSize,v=o.contentWidth,y=o.design,w=o.align,O=o.borderRadius,k=o.shadow,_=o.countFont,j=o.countFontWeight,C=g()([n,"ugb-countup","ugb-countup-v3","columns-".concat(i),"ugb-has-background-opacity-"+1*Math.round(u/1)],(h(t={"ugb-has-background-image":l},"ugb-content-width","full"===w&&v),h(t,"ugb-design-".concat(y),"plain"!==y),h(t,"ugb-shadow-".concat(k),"plain"!==y&&3!==k),t)),x={backgroundColor:"plain"!==y&&r?r:void 0,backgroundImage:"plain"!==y&&l?"url(".concat(l,")"):void 0,backgroundAttachment:c?"fixed":void 0,"--ugb-background-color":"plain"!==y&&l?r:void 0,borderRadius:"plain"!==y&&12!==O?O:void 0},E={color:d||void 0,fontSize:f?f+"px":void 0,fontWeight:j||void 0};return _&&"theme"!==_&&(E.fontFamily=b(_)),wp.element.createElement("div",{className:C,style:x},wp.element.createElement("div",{className:"ugb-content-wrapper"},Object(a.X)(1,i+1).map(function(e){var t=o["title".concat(e)],n=o["description".concat(e)],a=o["countText".concat(e)];return wp.element.createElement("div",{className:"ugb-countup-item",key:e},!m.RichText.isEmpty(t)&&wp.element.createElement(m.RichText.Content,{tagName:"h4",style:{color:p||void 0},value:t}),!m.RichText.isEmpty(a)&&wp.element.createElement(m.RichText.Content,{tagName:"div",className:"ugb-counter",style:E,value:a,"data-duration":"1000","data-delay":"16"}),!m.RichText.isEmpty(n)&&wp.element.createElement(m.RichText.Content,{tagName:"p",style:{color:p||void 0},value:n}))})))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return f({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{columns:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},title1:{source:"html",selector:".ugb-countup-item:nth-of-type(1) h4",default:"Stat Title"},title2:{source:"html",selector:".ugb-countup-item:nth-of-type(2) h4",default:"Stat Title"},title3:{source:"html",selector:".ugb-countup-item:nth-of-type(3) h4",default:"Stat Title"},title4:{source:"html",selector:".ugb-countup-item:nth-of-type(4) h4",default:"Stat Title"},countText1:{source:"html",selector:".ugb-countup-item:nth-of-type(1) .ugb-counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup-item:nth-of-type(2) .ugb-counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup-item:nth-of-type(3) .ugb-counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup-item:nth-of-type(4) .ugb-counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup-item:nth-of-type(1) p",default:"stat description"},description2:{source:"html",selector:".ugb-countup-item:nth-of-type(2) p",default:"stat description"},description3:{source:"html",selector:".ugb-countup-item:nth-of-type(3) p",default:"stat description"},description4:{source:"html",selector:".ugb-countup-item:nth-of-type(4) p",default:"stat description"},textColor:{type:"string"},countColor:{type:"string"},countSize:{type:"number",default:40},title:{source:"html",selector:"h4",default:"Happy Customers"},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:"and counting"},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},save:function(e){var t=e.className,n=e.attributes,o=n.columns,i=n.backgroundColor,r=n.backgroundImageURL,l=n.fixedBackground,c=n.backgroundOpacity,s=void 0===c?5:c,u=n.textColor,b=n.countColor,p=n.countSize,d=g()([t,"ugb-countup","ugb-countup-v2","columns-".concat(o),"ugb-has-background-opacity-"+1*Math.round(s/1)],{"ugb-has-background":i||r,"ugb-has-background-image":r}),f={backgroundColor:i||void 0,backgroundImage:r?"url(".concat(r,")"):void 0,backgroundAttachment:l?"fixed":void 0,"--ugb-background-color":r?i:void 0};return wp.element.createElement("div",{className:d,style:f},Object(a.X)(1,o+1).map(function(e){var t=n["title".concat(e)],a=n["description".concat(e)],o=n["countText".concat(e)];return wp.element.createElement("div",{className:"ugb-countup-item",key:e},!m.RichText.isEmpty(t)&&wp.element.createElement(m.RichText.Content,{tagName:"h4",style:{color:u||void 0},value:t}),!m.RichText.isEmpty(o)&&wp.element.createElement(m.RichText.Content,{tagName:"div",className:"ugb-counter",style:{color:b||void 0,fontSize:p?p+"px":void 0},value:o,"data-duration":"1000","data-delay":"16"}),!m.RichText.isEmpty(a)&&wp.element.createElement(m.RichText.Content,{tagName:"p",style:{color:u||void 0},value:a}))}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return f({},e,{design:e.backgroundColor?"basic":"plain",borderRadius:12,shadow:3,contentWidth:!1,countFont:"theme",countFontWeight:"400",className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{title:{source:"html",selector:"h4",default:"Happy Customers"},counter:{source:"html",selector:".ugb-counter",default:"12,345"},des:{source:"html",selector:"p",default:"and counting"},fontSize:{type:"number",default:60},headingColor:{type:"string"},desColor:{type:"string"},color:{type:"string"}},save:function(e){var t=e.className,n=e.attributes,a=n.color,o=n.headingColor,i=n.desColor,r=n.title,l=n.counter,c=n.des,s=n.fontSize,u=g()([t,"ugb-countup"]);return wp.element.createElement("div",{className:u},wp.element.createElement(m.RichText.Content,{tagName:"h4",style:{color:o},value:r}),wp.element.createElement(m.RichText.Content,{tagName:"div",className:"ugb-counter",style:{color:a,fontSize:s+"px"},value:l,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(m.RichText.Content,{tagName:"p",style:{color:i},value:c}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return{columns:1,title1:e.title,description1:e.des,countText1:e.counter,textColor:e.headingColor,countColor:e.color,countSize:e.fontSize,className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align}}}],y=n(3),w=n(11),O=function(e){var t=e.attributes.design,n=void 0===t?"plain":t;return Object(c.applyFilters)("stackable.count-up.show",{columnBackground:"boxed"===n},e)},k=n(14),_=n.n(k);function j(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(n,!0).forEach(function(t){E(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function(e){var t=Object(a.b)(e.attributes),n=O(e),o=[];o.push({".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("contentAlign")},tablet:{".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-countup__icon, .ugb-countup__counter, .ugb-countup__title, .ugb-countup__description":{textAlign:t("mobileContentAlign")}}}),n.columnBackground&&o.push({".ugb-countup__item":{borderRadius:t("borderRadius","%spx !important")}});o.push(x({},n.columnBackground?Object(a.l)("column%s","ugb-countup__item",e.attributes,{importantBackgroundColor:!0}):{}));var i=e.attributes,r=i.showIcon,l=void 0!==r&&r,c=i.showNumber,s=void 0===c||c,u=i.showTitle,b=void 0===u||u,p=i.showDescription,g=void 0===p||p;l&&o.push.apply(o,j(Object(a.y)(".ugb-countup__icon","icon%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s&&o.push.apply(o,j(Object(a.y)(".ugb-countup__counter","number%sBottomMargin","marginBottom","%spx",e.attributes,!0))),b&&o.push.apply(o,j(Object(a.y)(".ugb-countup__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),g&&o.push.apply(o,j(Object(a.y)(".ugb-countup__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0)));var m=e.attributes,d=m.iconColor,f=void 0===d?"":d,h=m.columnBackgroundColor,v=void 0===h?"":h,y=m.showBlockBackground,w=void 0!==y&&y,k=m.blockBackgroundBackgroundColor,C=void 0===k?"":k,E=m.iconAlign,S=void 0===E?"":E,B=m.contentAlign,T=void 0===B?"":B,A=m.iconTabletAlign,N=void 0===A?"":A,P=m.tabletContentAlign,F=void 0===P?"":P,R=m.iconMobileAlign,D=void 0===R?"":R,M=m.mobileContentAlign,z=void 0===M?"":M;l&&o.push({".ugb-countup__icon":{textAlign:Object(a.c)(t("iconAlign"))},".ugb-countup__icon svg":{color:Object(a.db)(f,n.columnBackground?v:w?C:""),height:Object(a.c)(t("iconSize","%spx")),width:Object(a.c)(t("iconSize","%spx")),marginLeft:""!==S||""!==T?Object(a.c)(Object(a.T)(S||T)):void 0,marginRight:""!==S||""!==T?Object(a.c)(Object(a.U)(S||T)):void 0},tablet:{".ugb-countup__icon":{textAlign:Object(a.c)(N)},".ugb-countup__icon svg":{height:t("iconTabletSize","%spx"),width:t("iconTabletSize","%spx"),marginLeft:""!==N||""!==F?Object(a.c)(Object(a.T)(N||F)):void 0,marginRight:""!==N||""!==F?Object(a.c)(Object(a.U)(N||F)):void 0}},mobile:{".ugb-countup__icon":{textAlign:Object(a.c)(D)},".ugb-countup__icon svg":{height:t("iconMobileSize","%spx"),width:t("iconMobileSize","%spx"),marginLeft:""!==D||""!==z?Object(a.c)(Object(a.T)(D||z)):void 0,marginRight:""!==D||""!==z?Object(a.c)(Object(a.U)(D||z)):void 0}}});var I=e.attributes.titleColor,L=void 0===I?"":I;b&&o.push({".ugb-countup__title":x({},Object(a.D)("title%s","desktop",e.attributes),{color:Object(a.db)(L,n.columnBackground?v:w?C:""),textAlign:t("titleAlign")}),tablet:{".ugb-countup__title":x({},Object(a.D)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")})},mobile:{".ugb-countup__title":x({},Object(a.D)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")})}});var U=e.attributes.numberColor,H=void 0===U?"":U;s&&o.push({".ugb-countup__counter":x({},Object(a.D)("number%s","desktop",e.attributes,{importantSize:!0}),{color:Object(a.db)(H,n.columnBackground?v:w?C:""),textAlign:t("numberAlign")}),tablet:{".ugb-countup__counter":x({},Object(a.D)("number%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("numberTabletAlign")})},mobile:{".ugb-countup__counter":x({},Object(a.D)("number%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("numberMobileAlign")})}});var W=e.attributes.descriptionColor,G=void 0===W?"":W;return g&&o.push({".ugb-countup__description":x({},Object(a.D)("description%s","desktop",e.attributes),{color:Object(a.db)(G,n.columnBackground?v:w?C:""),textAlign:t("descriptionAlign")}),tablet:{".ugb-countup__description":x({},Object(a.D)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")})},mobile:{".ugb-countup__description":x({},Object(a.D)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")})}}),_.a.all(o)},B=n(239),T=n.n(B),A=n(240),N=n.n(A),P=n(9),F=n(12),R=n(7);function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(c.addFilter)("stackable.count-up.edit.inspector.layout.before","stackable/count-up",function(e,t){var n=t.setAttributes,a=t.attributes.design,o=void 0===a?"basic":a;return wp.element.createElement(R.Fragment,null,e,wp.element.createElement(y.y,{initialOpen:!0,selected:o,options:Object(c.applyFilters)("stackable.count-up.edit.layouts",[{label:Object(l.__)("Plain",r.i18n),value:"plain",image:T.a},{label:Object(l.sprintf)(Object(l._x)("%s %d","Nth Title",r.i18n),Object(l.__)("Plain",r.i18n),2),value:"plain-2",image:N.a}]),onChange:function(e){return n({design:e})}},r.showProNotice&&wp.element.createElement(y.bb,null)))}),Object(c.addFilter)("stackable.count-up.edit.inspector.style.before","stackable/count-up",function(e,t){var n=t.setAttributes,o=t.attributes,c=o.columns,s=o.borderRadius,u=void 0===s?"":s,b=o.shadow,p=void 0===b?"":b,g=o.showNumber,m=void 0===g||g,d=o.showTitle,f=void 0===d||d,h=o.showDescription,v=void 0===h||h,w=o.showIcon,k=void 0!==w&&w,_=o.numberColor,j=void 0===_?"":_,C=o.titleTag,x=void 0===C?"":C,E=o.titleColor,S=void 0===E?"":E,B=o.descriptionColor,T=void 0===B?"":B,A=o.iconColor,N=void 0===A?"":A,F=O(t);return wp.element.createElement(R.Fragment,null,e,wp.element.createElement(P.PanelBody,{title:Object(l.__)("General",r.i18n)},wp.element.createElement(y.b,{label:Object(l.__)("Columns",r.i18n),value:c,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),F.columnBackground&&wp.element.createElement(y.b,{label:Object(l.__)("Border Radius",r.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),F.columnBackground&&wp.element.createElement(y.b,{label:Object(l.__)("Shadow / Outline",r.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(y.s,{setAttributes:n,blockAttributes:t.attributes})),F.columnBackground&&wp.element.createElement(y.X,{title:Object(l.__)("Column Background",r.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(y.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(y.X,{title:Object(l.__)("Icon",r.i18n),id:"icon",checked:k,onChange:function(e){return n({showIcon:e})},toggleOnSetAttributes:["icon1","icon2","icon3","icon4","iconColor"].concat(M(Object(a.w)("icon%sSize")),M(Object(a.w)("icon%sAlign"))),toggleAttributeName:"showIcon"},Object(i.range)(1,c+1).map(function(e){return wp.element.createElement(y.H,{key:e,label:Object(l.sprintf)(Object(l._x)("%s #%d","Panel title",r.i18n),Object(l.__)("Icon",r.i18n),e),value:t.attributes["icon".concat(e)],onChange:function(t){return n(D({},"icon".concat(e),t))}})}),wp.element.createElement(y.r,{value:N,onChange:function(e){return n({iconColor:e})},label:Object(l.__)("Icon Color",r.i18n)}),wp.element.createElement(y.cb,{attrNameTemplate:"icon%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Icon Size",r.i18n),min:10,max:200,allowReset:!0,placeholder:"50"})),wp.element.createElement(y.cb,{attrNameTemplate:"Icon%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-icon"}))),wp.element.createElement(y.X,{title:Object(l.__)("Title",r.i18n),id:"title",checked:f,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(M(Object(a.B)("title%s")),["titleTag","titleColor"],M(Object(a.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(y.lb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.G,{value:x||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(y.r,{value:S,onChange:function(e){return n({titleColor:e})},label:Object(l.__)("Title Color",r.i18n)}),wp.element.createElement(y.cb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(y.X,{title:Object(l.__)("Number",r.i18n),id:"number",checked:m,onChange:function(e){return n({showNumber:e})},toggleOnSetAttributes:[].concat(M(Object(a.B)("number%s")),["numberColor"],M(Object(a.w)("Number%sAlign"))),toggleAttributeName:"showNumber"},wp.element.createElement(y.lb,{attrNameTemplate:"number%s",setAttributes:n,blockAttributes:t.attributes,fontSizeProps:{max:[150,10]}}),wp.element.createElement(y.r,{value:j,onChange:function(e){return n({numberColor:e})},label:Object(l.__)("Number Color",r.i18n)}),wp.element.createElement(y.cb,{attrNameTemplate:"Number%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.X,{title:Object(l.__)("Description",r.i18n),id:"description",checked:v,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(M(Object(a.B)("description%s")),["descriptionColor"],M(Object(a.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(y.lb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.r,{value:T,onChange:function(e){return n({descriptionColor:e})},label:Object(l.__)("Description Color",r.i18n)}),wp.element.createElement(y.cb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.Y,{initialOpen:!1,blockProps:t},k&&wp.element.createElement(y.cb,{attrNameTemplate:"icon%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Icon",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-icon"})),f&&wp.element.createElement(y.cb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Title",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),m&&wp.element.createElement(y.cb,{attrNameTemplate:"number%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Number",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),v&&wp.element.createElement(y.cb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Description",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"}))))});var z=Object(F.compose)(w.i,w.g,w.d,Object(w.h)(),Object(w.c)(["Icon%sAlign","Number%sAlign","Title%sAlign","Description%sAlign"]),Object(w.a)(S,{editorMode:!0}),Object(w.b)([[".ugb-container__wrapper","column-background"],[".ugb-countup__icon svg","icon"],[".ugb-countup__title","title"],[".ugb-countup__counter","number"],[".ugb-countup__description","description"]]))(function(e){var t=e.setAttributes,n=e.className,a=e.attributes,o=a.columns,s=a.design,u=void 0===s?"plain":s,b=a.titleTag,p=void 0===b?"":b,d=a.showIcon,f=void 0!==d&&d,h=a.showNumber,v=void 0===h||h,w=a.showTitle,k=void 0===w||w,_=a.showDescription,j=void 0===_||_,C=g()([n,"ugb-countup--v4","ugb-countup--columns-".concat(o)],Object(c.applyFilters)("stackable.count-up.mainclasses",D({},"ugb-countup--design-".concat(u),"plain"!==u),u,e)),x=O(e);return wp.element.createElement(y.j.Edit,{className:C,blockProps:e,render:function(){return wp.element.createElement(R.Fragment,null,Object(i.range)(1,o+1).map(function(n){var o=a["icon".concat(n)],i=a["title".concat(n)],s=a["description".concat(n)],b=a["countText".concat(n)],d=f&&wp.element.createElement("div",{className:"ugb-countup__icon"},wp.element.createElement(y.jb,{value:o,onChange:function(e){return t(D({},"icon".concat(n),e))}})),h=k&&wp.element.createElement(m.RichText,{tagName:p||"h4",className:"ugb-countup__title",value:i,placeholder:Object(l.__)("Title",r.i18n),onChange:function(e){return t(D({},"title".concat(n),e))},keepPlaceholderOnFocus:!0}),w=v&&wp.element.createElement(m.RichText,{tagName:"div",className:"ugb-countup__counter",placeholder:"1,234","data-duration":"1000","data-delay":"16",value:b,onChange:function(e){return t(D({},"countText".concat(n),e))},keepPlaceholderOnFocus:!0}),O=j&&wp.element.createElement(m.RichText,{tagName:"p",className:"ugb-countup__description",placeholder:Object(l.__)("Description",r.i18n),value:s,onChange:function(e){return t(D({},"description".concat(n),e))},keepPlaceholderOnFocus:!0}),_={i:n,iconComp:d,titleComp:h,countComp:w,descriptionComp:O},C=g()(["ugb-countup__item","ugb-countup__item".concat(n)],Object(c.applyFilters)("stackable.count-up.boxclasses",{},u,e));return wp.element.createElement(y.B,{className:C,backgroundAttrName:"column%s",blockProps:e,showBackground:x.columnBackground,key:n},Object(c.applyFilters)("stackable.count-up.save.output",wp.element.createElement(R.Fragment,null,d,"plain-2"===u&&w,h,"plain-2"!==u&&w,O),_,n,e))}))}})});var I=Object(F.compose)(w.i,Object(w.a)(S))(function(e){var t,n,a,o=e.className,r=e.attributes,l=r.columns,s=r.design,u=void 0===s?"plain":s,b=r.titleTag,p=void 0===b?"":b,d=r.showIcon,f=void 0!==d&&d,h=r.showNumber,v=void 0===h||h,w=r.showTitle,k=void 0===w||w,_=r.showDescription,j=void 0===_||_,C=g()([o,"ugb-countup--v4","ugb-countup--columns-".concat(l)],Object(c.applyFilters)("stackable.count-up.mainclasses",(t={},n="ugb-countup--design-".concat(u),a="plain"!==u,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t),u,e)),x=O(e);return wp.element.createElement(y.j.Save,{className:C,blockProps:e,render:function(){return wp.element.createElement(R.Fragment,null,Object(i.range)(1,l+1).map(function(t){var n=r["icon".concat(t)],a=r["title".concat(t)],o=r["description".concat(t)],i=r["countText".concat(t)],l=f&&wp.element.createElement("div",{className:"ugb-countup__icon"},wp.element.createElement(y.ib.Content,{value:n})),s=k&&!m.RichText.isEmpty(a)&&wp.element.createElement(m.RichText.Content,{tagName:p||"h4",className:"ugb-countup__title",value:a}),b=v&&!m.RichText.isEmpty(i)&&wp.element.createElement(m.RichText.Content,{tagName:"div",className:"ugb-countup__counter",value:i,"data-duration":"1000","data-delay":"16"}),d=j&&!m.RichText.isEmpty(o)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-countup__description",value:o}),h={i:t,iconComp:l,titleComp:s,countComp:b,descriptionComp:d},w=g()(["ugb-countup__item","ugb-countup__item".concat(t)],Object(c.applyFilters)("stackable.count-up.boxclasses",{},u,e));return wp.element.createElement(y.B,{className:w,backgroundAttrName:"column%s",blockProps:e,showBackground:x.columnBackground,key:t},Object(c.applyFilters)("stackable.count-up.save.output",wp.element.createElement(R.Fragment,null,l,"plain-2"===u&&b,s,"plain-2"!==u&&b,d),h,t,e))}))}})});function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function U(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return H}),n.d(t,"name",function(){return W}),n.d(t,"settings",function(){return G});var H=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(n,!0).forEach(function(t){U(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({title1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__title",default:Object(l.__)("Title",r.i18n)},title2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__title",default:Object(l.__)("Title",r.i18n)},title3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__title",default:Object(l.__)("Title",r.i18n)},title4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__title",default:Object(l.__)("Title",r.i18n)},countText1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__counter",default:"$99.99"},countText2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__counter",default:"1,234"},countText3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__counter",default:"1,234.56"},countText4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__counter",default:"£99.99"},description1:{source:"html",selector:".ugb-countup__item:nth-of-type(1) .ugb-countup__description",default:Object(l.__)("Description",r.i18n)},description2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__description",default:Object(l.__)("Description",r.i18n)},description3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__description",default:Object(l.__)("Description",r.i18n)},description4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__description",default:Object(l.__)("Description",r.i18n)},design:{type:"string",default:"plain"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},columns:{type:"number",default:2}},Object(a.j)("column%s"),{},Object(a.x)("icon%sBottomMargin",{type:"number",default:""}),{},Object(a.x)("title%sBottomMargin",{type:"number",default:""}),{},Object(a.x)("number%sBottomMargin",{type:"number",default:""}),{},Object(a.x)("description%sBottomMargin",{type:"number",default:""}),{showIcon:{type:"boolean",default:!1},iconColor:{type:"string",default:""}},Object(a.x)("icon%sSize",{type:"number",default:""}),{icon1:{type:"string",default:"fas-cogs"},icon2:{type:"string",default:"fas-hands-helping"},icon3:{type:"string",default:"fas-envelope"},icon4:{type:"string",default:"fas-globe-americas"},showNumber:{type:"boolean",default:!0}},Object(a.C)("number%s"),{numberColor:{type:"string",default:""},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(a.C)("title%s"),{titleColor:{type:"string",default:""},showDescription:{type:"boolean",default:!0}},Object(a.C)("description%s"),{descriptionColor:{type:"string",default:""}},Object(a.h)("%s%sAlign",{type:"string",default:""},["Icon","Number","Title","Description"],["","Tablet","Mobile"]),{},Object(a.h)("Column%s%sColor",{type:"string",default:""},["1","2","3","4"],["Background","Icon"])),W="ugb/count-up",G={title:Object(l.__)("Count Up",r.i18n),description:Object(l.__)("Showcase your stats. Display how many customers you have or the number of downloads of your app.",r.i18n),icon:o.h,category:"stackable",keywords:[Object(l.__)("Statistics",r.i18n),Object(l.__)("Count Up",r.i18n),Object(l.__)("Stackable",r.i18n)],attributes:H,supports:{align:["center","wide","full"],inserter:!r.disabledBlocks.includes(W)},deprecated:v,edit:z,save:I,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{verticalColumnAlign:!0},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(c.applyFilters)("stackable.count-up.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(10),o=n(1),i=n(0),r=n(5);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(r.addFilter)("stackable.image-box.design.no-text-attributes","stackable/image-box",function(e){return Object(a.omit)(e,["subtitle1","subtitle2","subtitle3","subtitle4","title1","title2","title3","title4","description1","description2","description3","description4"])}),Object(r.addFilter)("stackable.image-box.design.filtered-block-attributes","stackable/image-box",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["link1Url","link2Url","link3Url","link4Url","link1NewTab","link2NewTab","link3NewTab","link4NewTab","link1NoFollow","link2NoFollow","link3NoFollow","link4NoFollow","image1Id"].concat(s(t&&t.image1Id?["image1Url"]:[]),["image2Id"],s(t&&t.image2Id?["image2Url"]:[]),["image3Id"],s(t&&t.image3Id?["image3Url"]:[]),["image4Id"],s(t&&t.image4Id?["image4Url"]:[])))}),Object(r.addFilter)("stackable.image-box.edit.designs","stackable/image-box",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(n,!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(i.__)("Corporate Light 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-image-box-design-corporate-light-01.jpg",attributes:{design:"plain",columns:2,borderRadius:0,image1FullWidth:1200,image1FullHeight:800,image2FullWidth:1200,image2FullHeight:800,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-light-01-01.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-light-01-02.jpg",showOverlay:!0,overlayBackgroundColor:"#ffffff",overlayOpacity:.1,overlayHoverBackgroundColor:"#ffb20b",overlayHoverOpacity:.8,imageHoverEffect:"zoom-in",showSubtitle:!1,subtitleFontFamily:"Roboto Condensed",subtitleFontWeight:"400",subtitleLetterSpacing:.5,subtitleColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",arrowColor:"#728a23",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffffff",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ffb20b",blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070"}},corporateLight2:{label:Object(i.__)("Corporate Light 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-image-box-design-corporate-light-02.jpg",attributes:{design:"plain",columns:2,borderRadius:0,image1FullWidth:1200,image1FullHeight:800,image2FullWidth:1200,image2FullHeight:800,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-light-02-02.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-dark-01-01.jpg",showOverlay:!0,overlayBackgroundColor:"#c49732",overlayOpacity:.2,overlayHoverBackgroundColor:"#1e55d3",overlayHoverOpacity:.8,imageHoverEffect:"zoom-in",showSubtitle:!1,subtitleFontFamily:"Roboto Condensed",subtitleFontWeight:"400",subtitleLetterSpacing:.5,subtitleColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#c49732",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",arrowColor:"#728a23",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffffff",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#6a91eb",blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070"}},corporateDark1:{label:Object(i.__)("Corporate Dark 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-image-box-design-corporate-dark-01.jpg",attributes:{design:"plain",columns:2,borderRadius:0,image1FullWidth:1200,image1FullHeight:800,image2FullWidth:2250,image2FullHeight:1500,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-dark-01-02.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-dark-01-01.jpg",showOverlay:!0,overlayBackgroundColor:"#ffffff",overlayOpacity:.3,overlayHoverBackgroundColor:"#c5dfb4",overlayHoverOpacity:.8,imageHoverEffect:"zoom-in",showSubtitle:!1,subtitleFontFamily:"Roboto Condensed",subtitleFontWeight:"400",subtitleLetterSpacing:.5,subtitleColor:"#728a23",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#062a65",descriptionFontFamily:"Serif",descriptionColor:"#707070",arrowColor:"#728a23",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#081831",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#eeffb5",blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center"}},corporateDark2:{label:Object(i.__)("Corporate Dark 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-image-box-design-corporate-dark-02.jpg",attributes:{design:"plain",columns:2,borderRadius:0,image1FullWidth:1200,image1FullHeight:800,image2FullWidth:1200,image2FullHeight:800,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-dark-02-01.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-image-box-corporate-dark-02-02.jpg",showOverlay:!0,overlayBackgroundColor:"#ffffff",overlayOpacity:0,overlayHoverBackgroundColor:"#06c19d",overlayHoverOpacity:.8,imageHoverEffect:"zoom-in",showSubtitle:!1,subtitleFontFamily:"Roboto Condensed",subtitleFontWeight:"400",subtitleLetterSpacing:.5,subtitleColor:"#ffffff",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",arrowColor:"#728a23",paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#707070",blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#06c19d",blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}}})});var u=n(4),b=n.n(u);function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}var g=b.a.createElement("path",{d:"M116.8 106.6l50.8-52.7-50.9-52.7c-1.5-1.6-4.1-1.6-5.7-.1-1.6 1.5-1.6 4.1-.1 5.7l41.6 43.1H4c-2.2 0-4 1.7-4 3.9s1.7 4 3.9 4.1h148.7L111 101c-1.5 1.6-1.4 4.1.1 5.6 1.6 1.6 4.1 1.5 5.7 0z"}),m=function(e){return b.a.createElement("svg",p({viewBox:"0 0 167.6 107.8",xmlns:"http://www.w3.org/2000/svg"},e),g)},d=n(2),f=n(8),h=n.n(f),v=n(6);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(n,!0).forEach(function(t){O(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function O(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k={align:{type:"string"},columns:{type:"number",default:3},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string"},width:{type:"number",default:400},height:{type:"number",default:400},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},overlayOpacity:{type:"number",default:7},imageHoverEffect:{type:"string",default:""},arrow:{type:"string",default:""},hoverEffect:{type:"string",default:""},full:{type:"boolean"},title:{type:"string"},subtitle:{type:"string"},id:{type:"number"},url:{type:"string"},href:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}};[1,2,3,4].forEach(function(e){k["title".concat(e)]={source:"html",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__title"),default:Object(i.__)("Title",o.i18n)},k["description".concat(e)]={source:"html",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__description"),default:Object(i.__)("Description",o.i18n)},k["imageURL".concat(e)]={type:"string"},k["imageID".concat(e)]={type:"number"},k["link".concat(e)]={type:"string",source:"attribute",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__overlay"),attribute:"href",default:""},k["newTab".concat(e)]={type:"boolean",source:"attribute",selector:".ugb-image-box__item:nth-of-type(".concat(e,") .ugb-image-box__overlay"),attribute:"target",default:!1}});var _=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function(n){var a,o=n.className,i=n.attributes,l=n.attributes,c=l.titleColor,s=l.subtitleColor,u=l.overlayColor,b=l.height,p=l.width,g=l.verticalAlign,f=l.horizontalAlign,y=l.align,w=l.columns,k=l.design,_=void 0===k?"basic":k,j=l.borderRadius,C=void 0===j?12:j,x=l.shadow,E=void 0===x?3:x,S=l.imageHoverEffect,B=void 0===S?"":S,T=l.overlayOpacity,A=void 0===T?7:T,N=l.arrow,P=void 0===N?"":N,F=h()([o,"ugb-image-box","ugb-image-box--v3","ugb-image-box--columns-".concat(w)],Object(r.applyFilters)("stackable.image-box.mainclasses_1_17_3",(O(a={},"ugb-image-box--design-".concat(_),"basic"!==_),O(a,"ugb-image-box--effect-".concat(B),B),O(a,"ugb-image-box--overlay-".concat(A),7!==A),O(a,"ugb-image-box--arrow",P),a),_,n)),R={textAlign:f||void 0,"--overlay-color":u};return wp.element.createElement("div",{className:F,style:R},Object(r.applyFilters)("stackable.image-box.save.output.before_1_17_3",null,_,n),Object(d.X)(1,w+1).map(function(a){var o=i["imageURL".concat(a)],l=i["title".concat(a)],u=i["description".concat(a)],d=i["link".concat(a)],k=i["newTab".concat(a)],j={backgroundImage:o?"url(".concat(o,")"):void 0,maxWidth:"wide"!==y&&"full"!==y&&1===w?p:void 0,height:b,textAlign:f,justifyContent:g,borderRadius:C},x=h()(["ugb-image-box__item"],Object(r.applyFilters)("stackable.image-box.itemclasses_1_17_3",O({},"ugb--shadow-".concat(E),3!==E),_,a,n)),S=h()(["ugb-image-box__arrow","ugb-image-box__arrow--align-".concat(P)]);return wp.element.createElement("div",{className:x,style:j,key:a},B&&wp.element.createElement("div",{className:"ugb-image-box__image-effect",style:{backgroundImage:o?"url(".concat(o,")"):void 0}}),wp.element.createElement("a",{className:"ugb-image-box__overlay",href:d,target:k?"_blank":void 0}),wp.element.createElement("div",{className:"ugb-image-box__content"},!v.RichText.isEmpty(l)&&wp.element.createElement(v.RichText.Content,{tagName:"h4",className:"ugb-image-box__title",style:e?{color:c}:void 0,value:l}),!v.RichText.isEmpty(u)&&wp.element.createElement(v.RichText.Content,{tagName:"p",className:"ugb-image-box__description",style:t?{color:s}:void 0,value:u})),P&&d&&wp.element.createElement("div",{className:S},wp.element.createElement(m,{style:{fill:c||void 0}})))}),Object(r.applyFilters)("stackable.image-box.save.output.after_1_17_3",null,_,n))}},j={columns:{type:"number",default:3},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string"},width:{type:"number",default:400},height:{type:"number",default:400},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean"},title:{type:"string"},subtitle:{type:"string"},id:{type:"number"},url:{type:"string"},href:{type:"string"},align:{type:"string"}};[1,2,3,4].forEach(function(e){j["title".concat(e)]={source:"html",selector:".ugb-image-box-wrapper > *:nth-child(".concat(e,") h4"),default:"Title"},j["description".concat(e)]={source:"html",selector:".ugb-image-box-wrapper > *:nth-child(".concat(e,") p"),default:"Description"},j["imageURL".concat(e)]={type:"string"},j["imageID".concat(e)]={type:"number"},j["link".concat(e)]={type:"string",source:"attribute",selector:".ugb-image-box-wrapper > *:nth-child(".concat(e,") a"),attribute:"href"}});var C=function(e){var t=function(e){return(e||"").replace(/\.ugb-image-box__overlay(\s*{)/g,".ugb-image-box__overlay-hover$1")};return w({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),blockWidth:1===e.columns&&"full"!==e.align?e.width:void 0,columnHeight:e.height,columnContentVerticalAlign:e.verticalAlign,contentAlign:e.horizontalAlign,link1Url:e.link1,link2Url:e.link2,link3Url:e.link3,link4Url:e.link4,link1NewTab:e.newTab1,link2NewTab:e.newTab2,link3NewTab:e.newTab3,link4NewTab:e.newTab4,image1Id:e.imageID1,image2Id:e.imageID2,image3Id:e.imageID3,image4Id:e.imageID4,image1Url:e.imageURL1,image2Url:e.imageURL2,image3Url:e.imageURL3,image4Url:e.imageURL4,image1FullUrl:e.imageURL1,image2FullUrl:e.imageURL2,image3FullUrl:e.imageURL3,image4FullUrl:e.imageURL4,imageSize:"full",showOverlay:!1,showOverlayHover:!0,overlayHoverBackgroundColor:e.overlayColor,overlayHoverOpacity:isNaN(parseInt(e.overlayOpacity,10))?.7:parseInt(e.overlayOpacity,10)/10,showArrow:!!e.arrow,arrowAlign:e.arrow?e.arrow:void 0,arrowColor:e.titleColor,descriptionColor:e.subtitleColor,showSubtitle:!1,borderRadius:1===e.columns&&"full"===e.align?0:e.borderRadius,paddingRight:1===e.columns&&"full"===e.align?0:void 0,paddingLeft:1===e.columns&&"full"===e.align?0:void 0})},x=[{attributes:k,save:function(e){var t,n=e.className,a=e.attributes,o=e.attributes,i=o.titleColor,l=o.subtitleColor,c=o.overlayColor,s=o.height,u=o.width,b=o.verticalAlign,p=o.horizontalAlign,g=o.align,f=o.columns,y=o.design,w=void 0===y?"basic":y,k=o.borderRadius,_=void 0===k?12:k,j=o.shadow,C=void 0===j?3:j,x=o.imageHoverEffect,E=void 0===x?"":x,S=o.overlayOpacity,B=void 0===S?7:S,T=o.arrow,A=void 0===T?"":T,N=h()([n,"ugb-image-box","ugb-image-box--v3","ugb-image-box--columns-".concat(f)],Object(r.applyFilters)("stackable.image-box.mainclasses_1_17_3",(O(t={},"ugb-image-box--design-".concat(w),"basic"!==w),O(t,"ugb-image-box--effect-".concat(E),E),O(t,"ugb-image-box--overlay-".concat(B),7!==B),O(t,"ugb-image-box--arrow",A),t),w,e)),P={textAlign:p||void 0,"--overlay-color":c};return wp.element.createElement("div",{className:N,style:P},Object(r.applyFilters)("stackable.image-box.save.output.before_1_17_3",null,w,e),Object(d.X)(1,f+1).map(function(t){var n=a["imageURL".concat(t)],o=a["title".concat(t)],c=a["description".concat(t)],d=a["link".concat(t)],y=a["newTab".concat(t)],k={backgroundImage:n?"url(".concat(n,")"):void 0,maxWidth:"wide"!==g&&"full"!==g&&1===f?u:void 0,height:s,textAlign:p,justifyContent:b,borderRadius:_},j=h()(["ugb-image-box__item"],Object(r.applyFilters)("stackable.image-box.itemclasses_1_17_3",O({},"ugb--shadow-".concat(C),3!==C),w,t,e)),x=h()(["ugb-image-box__arrow","ugb-image-box__arrow--align-".concat(A)]);return wp.element.createElement("div",{className:j,style:k,key:t},E&&wp.element.createElement("div",{className:"ugb-image-box__image-effect",style:{backgroundImage:n?"url(".concat(n,")"):void 0}}),wp.element.createElement("a",{className:"ugb-image-box__overlay",href:d,target:y?"_blank":void 0}),wp.element.createElement("div",{className:"ugb-image-box__content"},!v.RichText.isEmpty(o)&&wp.element.createElement(v.RichText.Content,{tagName:"h4",className:"ugb-image-box__title",style:{color:i},value:o}),!v.RichText.isEmpty(c)&&wp.element.createElement(v.RichText.Content,{tagName:"p",className:"ugb-image-box__description",style:{color:l},value:c})),A&&d&&wp.element.createElement("div",{className:x},wp.element.createElement(m,{style:{fill:i||void 0}})))}),Object(r.applyFilters)("stackable.image-box.save.output.after_1_17_3",null,w,e))},migrate:C},{attributes:k,save:_(!1,!1),migrate:C},{attributes:k,save:_(!0,!1),migrate:C},{attributes:k,save:_(!1,!0),migrate:C},{attributes:j,save:function(e){var t=e.className,n=e.attributes,a=e.attributes,o=a.titleColor,i=a.subtitleColor,r=a.overlayColor,l=a.height,c=a.width,s=a.verticalAlign,u=a.horizontalAlign,b=a.align,p=a.columns,g=h()([t,"ugb-image-box-wrapper","ugb-image-box-v2","columns-".concat(p)]),m={textAlign:u||void 0,"--overlay-color":r};return wp.element.createElement("div",{className:g,style:m},Object(d.X)(1,p+1).map(function(e){var t=n["imageURL".concat(e)],a=n["title".concat(e)],r=n["description".concat(e)],g=n["link".concat(e)],m={backgroundImage:t?"url(".concat(t,")"):void 0,maxWidth:"wide"!==b&&"full"!==b&&1===p?c:void 0,height:l,textAlign:u,justifyContent:s};return wp.element.createElement("div",{className:"ugb-image-box",style:m,key:e},wp.element.createElement("a",{href:g}),!v.RichText.isEmpty(a)&&wp.element.createElement(v.RichText.Content,{tagName:"h4",style:{color:o},value:a}),!v.RichText.isEmpty(r)&&wp.element.createElement(v.RichText.Content,{tagName:"p",style:{color:i},value:r}))}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return w({},e,{design:"basic",borderRadius:12,shadow:3,className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align,newTab1:!1,newTab2:!1,newTab3:!1,newTab4:!1})}},{attributes:{title:{source:"html",selector:"h4",default:"Title"},subtitle:{source:"html",selector:"p",default:"Subtitle goes here"},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},href:{type:"string",source:"attribute",selector:"a",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}},save:function(e){var t=e.className,n=e.attributes,a=n.url,o=n.href,i=n.title,r=n.titleColor,l=n.subtitle,c=n.subtitleColor,s=n.overlayColor,u=n.height,b=n.width,p=n.verticalAlign,g=n.horizontalAlign,m=n.full,d=h()([t,"ugb-image-box"],{"has-image":a,"full-width":m,"has-no-content":!i&&!l,"has-content":i||l});return wp.element.createElement("div",{className:d,"data-url":a,style:{width:b+"px",height:u+"px",backgroundImage:"url(".concat(a,")"),alignItems:g,justifyContent:p}},wp.element.createElement("a",{href:o,style:{backgroundColor:s}}),!v.RichText.isEmpty(i)&&wp.element.createElement(v.RichText.Content,{tagName:"h4",style:{color:r},value:i}),!v.RichText.isEmpty(l)&&wp.element.createElement(v.RichText.Content,{tagName:"p",style:{color:c},value:l}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return Object(a.omit)(w({},e,{columns:1,horizontalAlign:"flex-end"===e.horizontalAlign?"right":"flex-start"===e.horizontalAlign?"left":e.horizontalAlign,align:e.full?"wide":"",title1:e.title,description1:e.subtitle,link1:e.href,imageURL1:e.url,imageID1:e.id,className:t||void 0}),["full","title","subtitle","href","url","id"])}},{attributes:{title:{type:"array",source:"children",selector:"h4",default:"Title"},subtitle:{type:"array",source:"children",selector:"p",default:"Subtitle goes here"},url:{type:"string",source:"attribute",selector:".ugb-image-box",attribute:"data-url"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},overlayColor:{type:"string",default:"#42b078"},id:{type:"number"},width:{type:"number",default:"400"},height:{type:"number",default:"400"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},full:{type:"boolean",default:!1}},save:function(e){var t=e.attributes,n=t.url,a=t.title,o=t.titleColor,i=t.subtitle,r=t.subtitleColor,l=t.overlayColor,c=t.height,s=t.width,u=t.verticalAlign,b=t.horizontalAlign,p=n?"has-image":"",g=t.full?"full-width":"",m=a.length||i.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box ".concat(p," ").concat(m," ").concat(g),"data-url":n,style:{width:s+"px",height:c+"px",backgroundImage:"url(".concat(n,")"),alignItems:b,justifyContent:u}},wp.element.createElement("a",{href:"#",style:{backgroundColor:l}}),!v.RichText.isEmpty(a)&&wp.element.createElement(v.RichText.Content,{tagName:"h4",style:{color:o},value:a}),!v.RichText.isEmpty(i)&&wp.element.createElement(v.RichText.Content,{tagName:"p",style:{color:r},value:i}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return w({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}}],E=n(3),S=n(11),B=n(251),T=n.n(B),A=n(252),N=n.n(A),P=n(14),F=n.n(P),R=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showSubtitle,i=void 0===o||o,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showArrow,p=void 0!==b&&b;return Object(r.applyFilters)("stackable.image-box.show",{columnBackground:!0,borderRadius:!0,shadow:!0,line:"box"===a||"line"===a,subtitleSpacing:i,titleSpacing:c,lineSpacing:"line"===a,descriptionSpacing:u,arrowSpacing:p},e)};function D(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(n,!0).forEach(function(t){I(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L=function(e){var t=Object(d.b)(e.attributes),n=R(e),a=[];n.borderRadius&&a.push({".ugb-image-box__box":{borderRadius:Object(d.c)(t("borderRadius","%spx !important"))}}),a.push({".ugb-image-box__item":{height:Object(d.c)(t("columnHeight","%spx"))},tablet:{".ugb-image-box__item":{height:Object(d.c)(t("tabletColumnHeight","%spx"))}},mobile:{".ugb-image-box__item":{height:Object(d.c)(t("mobileColumnHeight","%spx"))}}}),a.push({".ugb-image-box__item":{justifyContent:Object(d.c)(t("columnContentVerticalAlign"))},tablet:{".ugb-image-box__item":{justifyContent:Object(d.c)(t("columnContentTabletVerticalAlign"))}},mobile:{".ugb-image-box__item":{justifyContent:Object(d.c)(t("columnContentMobileVerticalAlign"))}}}),a.push({".ugb-image-box__item1 .ugb-image-box__image":{backgroundImage:t("image1Url","url(%s)")},".ugb-image-box__item2 .ugb-image-box__image":{backgroundImage:t("image2Url","url(%s)")},".ugb-image-box__item3 .ugb-image-box__image":{backgroundImage:t("image3Url","url(%s)")},".ugb-image-box__item4 .ugb-image-box__image":{backgroundImage:t("image4Url","url(%s)")},".ugb-image-box__image":{backgroundPosition:Object(d.c)(t("imageBackgroundPosition")),backgroundRepeat:Object(d.c)(t("imageBackgroundRepeat")),backgroundSize:Object(d.c)(t("imageBackgroundSize"))}});var o=e.attributes.showOverlay;void 0!==o&&o&&a.push({".ugb-image-box__overlay":z({},Object(d.m)("overlay%s","desktop",e.attributes,{importantBackgroundColor:!0}),{},Object(d.k)("overlay%s","desktop",e.attributes,{importantBackgroundColor:!0})),".ugb-image-box__item:not(:hover) .ugb-image-box__overlay":{opacity:Object(d.c)(t("overlayOpacity"))}});var i=e.attributes.showOverlayHover;void 0!==i&&i&&a.push({".ugb-image-box__overlay-hover":z({},Object(d.m)("overlayHover%s","desktop",e.attributes,{importantBackgroundColor:!0}),{},Object(d.k)("overlayHover%s","desktop",e.attributes,{importantBackgroundColor:!0})),".ugb-image-box__item:hover .ugb-image-box__overlay-hover":{opacity:Object(d.c)(t("overlayHoverOpacity"))}});var r=e.attributes.showSubtitle;(void 0===r||r)&&a.push({".ugb-image-box__subtitle":z({},Object(d.D)("subtitle%s","desktop",e.attributes,{importantSize:!0}),{color:Object(d.c)(t("subtitleColor")),textAlign:t("subtitleAlign","%s !important")}),tablet:{".ugb-image-box__subtitle":z({},Object(d.D)("subtitle%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("subtitleTabletAlign","%s !important")})},mobile:{".ugb-image-box__subtitle":z({},Object(d.D)("subtitle%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("subtitleMobileAlign","%s !important")})}});var l=e.attributes.showTitle;(void 0===l||l)&&a.push({".ugb-image-box__title":z({},Object(d.D)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(d.c)(t("titleColor")),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-image-box__title":z({},Object(d.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-image-box__title":z({},Object(d.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var c=e.attributes.showDescription;(void 0===c||c)&&a.push({".ugb-image-box__description":z({},Object(d.D)("description%s","desktop",e.attributes,{importantSize:!0}),{color:Object(d.c)(t("descriptionColor")),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-image-box__description":z({},Object(d.D)("description%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-image-box__description":z({},Object(d.D)("description%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("descriptionMobileAlign","%s !important")})}});var s=e.attributes.showArrow;return void 0!==s&&s&&(a.push({".ugb-image-box__arrow svg":{fill:Object(d.c)(t("arrowColor"))}}),a.push.apply(a,D(Object(d.y)(".ugb-image-box__arrow svg","arrow%sSize","width","%spx",e.attributes,!0))),a.push.apply(a,D(Object(d.y)(".ugb-image-box__arrow","arrow%sAlign","textAlign","%s",e.attributes,!0)))),n.subtitleSpacing&&a.push.apply(a,D(Object(d.y)(".ugb-image-box__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.titleSpacing&&a.push.apply(a,D(Object(d.y)(".ugb-image-box__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.descriptionSpacing&&a.push.apply(a,D(Object(d.y)(".ugb-image-box__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.arrowSpacing&&a.push.apply(a,D(Object(d.y)(".ugb-image-box__arrow","arrow%sBottomMargin","marginBottom","%spx",e.attributes,!0))),F.a.all(a)},U=n(9),H=n(7),W=n(12),G=n(13);function q(e){return(q="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})(e)}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function K(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J(e,t){return(J=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(r.addFilter)("stackable.image-box.edit.inspector.layout.before","stackable/image-box",function(e,t){var n=t.setAttributes,a=t.attributes.design,l=void 0===a?"basic":a;return wp.element.createElement(H.Fragment,null,e,wp.element.createElement(E.y,{initialOpen:!0,selected:l,options:[{image:T.a,label:Object(i.__)("Basic",o.i18n),value:"basic"},{image:N.a,label:Object(i.__)("Plain",o.i18n),value:"plain"}].concat($(Object(r.applyFilters)("stackable.image-box.edit.layouts",[]))),onChange:function(e){n({design:e})}},o.showProNotice&&wp.element.createElement(E.bb,null)))}),Object(r.addFilter)("stackable.image-box.edit.inspector.style.before","stackable/image-box",function(e,t){var n=t.setAttributes,a=t.attributes,l=a.design,c=void 0===l?"basic":l,s=a.columns,u=void 0===s?3:s,b=a.titleColor,p=a.descriptionColor,g=a.borderRadius,m=void 0===g?"":g,f=a.shadow,h=void 0===f?"":f,v=a.showTitle,y=void 0===v||v,w=a.showDescription,O=void 0===w||w,k=a.titleTag,_=void 0===k?"":k,j=a.image1Id,C=void 0===j?"":j,x=a.image2Id,S=void 0===x?"":x,B=a.image3Id,T=void 0===B?"":B,A=a.image4Id,N=void 0===A?"":A,P=a.imageHoverEffect,F=void 0===P?"":P,D=a.showOverlay,M=void 0!==D&&D,z=a.showOverlayHover,I=void 0===z||z,L=a.overlayOpacity,W=void 0===L?.7:L,G=a.overlayHoverOpacity,q=void 0===G?.7:G,V=a.showSubtitle,X=void 0===V||V,Y=a.subtitleColor,K=void 0===Y?"":Y,J=a.lineColor,Z=void 0===J?"":J,Q=a.lineSize,ee=void 0===Q?"":Q,te=a.showArrow,ne=void 0!==te&&te,ae=a.arrowColor,oe=void 0===ae?"":ae,ie=R(t);return wp.element.createElement(H.Fragment,null,e,wp.element.createElement(U.PanelBody,{title:Object(i.__)("General",o.i18n)},wp.element.createElement(E.b,{label:Object(i.__)("Columns",o.i18n),value:u,onChange:function(e){return n({columns:e})},min:1,max:4,className:"ugb--help-tip-general-columns"}),wp.element.createElement(E.cb,{attrNameTemplate:"%sColumnHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Height",o.i18n),min:"100",max:"700",allowReset:!0,placeholder:"350",className:"ugb--help-tip-image-box-height"})),ie.borderRadius&&wp.element.createElement(E.b,{label:Object(i.__)("Border Radius",o.i18n),value:m,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),ie.shadow&&wp.element.createElement(E.b,{label:Object(i.__)("Shadow / Outline",o.i18n),value:h,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(E.cb,{attrNameTemplate:"columnContent%sVerticalAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.d,{label:Object(i.__)("Content Vertical Align",o.i18n),controls:"flex-vertical",className:"ugb--help-tip-advanced-column-content-vertical-align"})),wp.element.createElement(E.s,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(U.PanelBody,{title:Object(i.__)("Image",o.i18n),initialOpen:!1},wp.element.createElement(E.M,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeImage:null,onChangeSize:function(e){n({imageSize:e,image1Url:Object(d.J)(C,e||"large"),image2Url:Object(d.J)(S,e||"large"),image3Url:Object(d.J)(T,e||"large"),image4Url:Object(d.J)(N,e||"large")})}})),wp.element.createElement(E.X,{title:Object(i.__)("Overlay Color",o.i18n),checked:M,onChange:function(e){return n({showOverlay:e})},toggleOnSetAttributes:[].concat($(Object(d.i)("overlay%s")),["overlayOpacity"]),toggleAttributeName:"showOverlay",className:"ugb--help-tip-image-box-overlay"},wp.element.createElement(E.g,{attrNameTemplate:"overlay%s",setAttributes:n,blockAttributes:t.attributes,labelBackgroundColorType:Object(i.__)("Overlay Color Type",o.i18n),labelBackgroundColor:Object(i.__)("Overlay Color",o.i18n),onChangeImage:null,onChangeBackgroundMedia:null,onChangeBackgroundColorOpacity:null}),wp.element.createElement(E.b,{label:Object(i.__)("Opacity",o.i18n),value:W,onChange:function(e){return n({overlayOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"0.7",className:"ugb--help-tip-background-color-opacity"})),wp.element.createElement(E.X,{title:Object(i.__)("Overlay Hover Color",o.i18n),checked:I,onChange:function(e){return n({showOverlayHover:e})},toggleOnSetAttributes:[].concat($(Object(d.i)("overlayHover%s")),["overlayHoverOpacity"]),toggleAttributeName:"showOverlayHover",className:"ugb--help-tip-image-box-overlay-hover"},wp.element.createElement(E.g,{attrNameTemplate:"overlayHover%s",setAttributes:n,blockAttributes:t.attributes,labelBackgroundColorType:Object(i.__)("Overlay Color Type",o.i18n),labelBackgroundColor:Object(i.__)("Overlay Color",o.i18n),onChangeImage:null,onChangeBackgroundMedia:null,onChangeBackgroundColorOpacity:null}),wp.element.createElement(E.b,{label:Object(i.__)("Opacity",o.i18n),value:q,onChange:function(e){return n({overlayHoverOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"0.7",className:"ugb--help-tip-background-color-opacity"})),wp.element.createElement(U.PanelBody,{title:Object(i.__)("Effects",o.i18n),initialOpen:!1},wp.element.createElement(U.SelectControl,{label:Object(i.__)("Image Hover Effect",o.i18n),options:Object(r.applyFilters)("stackable.image-box.edit.image-hover-effects",[{label:Object(i.__)("None",o.i18n),value:""},{label:Object(i.__)("Zoom In",o.i18n),value:"zoom-in"},{label:Object(i.__)("Zoom Out",o.i18n),value:"zoom-out"}]),value:F,onChange:function(e){return n({imageHoverEffect:e})},className:"ugb--help-tip-image-box-hover-effect"}),Object(r.applyFilters)("stackable.image-box.edit.panel.image-hover-effects",null,t),o.showProNotice&&wp.element.createElement(E.bb,{type:"effect"})),ie.line&&wp.element.createElement(E.X,{title:Object(i.__)("Line",o.i18n),hasToggle:!1},wp.element.createElement(E.r,{value:Z,onChange:function(e){return n({lineColor:e})},label:Object(i.__)("Color",o.i18n)}),wp.element.createElement(E.b,{label:Object(i.__)("Size",o.i18n),min:"0",max:"10",value:ee,onChange:function(e){return n({lineSize:e})},allowReset:!0,placeholder:"box"===c?1:12})),wp.element.createElement(E.X,{title:Object(i.__)("Subtitle",o.i18n),id:"subtitle",checked:X,onChange:function(e){return n({showSubtitle:e})},toggleOnSetAttributes:[].concat($(Object(d.B)("subtitle%s")),["subtitleColor"],$(Object(d.w)("subtitle%sAlign"))),toggleAttributeName:"showSubtitle"},wp.element.createElement(E.lb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(E.r,{value:K,onChange:function(e){return n({subtitleColor:e})},label:Object(i.__)("Subtitle Color",o.i18n)}),wp.element.createElement(E.cb,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-image-box-subtitle-align"}))),wp.element.createElement(E.X,{title:Object(i.__)("Title",o.i18n),id:"title",checked:y,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat($(Object(d.B)("title%s")),["titleTag","titleColor"],$(Object(d.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(E.lb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(E.G,{value:_||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(E.r,{value:b,onChange:function(e){return n({titleColor:e})},label:Object(i.__)("Title Color",o.i18n)}),wp.element.createElement(E.cb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-image-box-title-align"}))),wp.element.createElement(E.X,{title:Object(i.__)("Description",o.i18n),id:"description",checked:O,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat($(Object(d.B)("description%s")),["descriptionColor"],$(Object(d.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(E.lb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(E.r,{value:p,onChange:function(e){return n({descriptionColor:e})},label:Object(i.__)("Description Color",o.i18n)}),wp.element.createElement(E.cb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-image-box-description-align"}))),wp.element.createElement(E.X,{title:Object(i.__)("Arrow",o.i18n),id:"arrow",checked:ne,onChange:function(e){return n({showArrow:e})},toggleOnSetAttributes:["arrowColor"].concat($(Object(d.w)("Arrow%sSize")),$(Object(d.w)("Arrow%sAlign"))),toggleAttributeName:"showArrow"},wp.element.createElement(E.r,{value:oe,onChange:function(e){return n({arrowColor:e})},label:Object(i.__)("Color",o.i18n)}),wp.element.createElement(E.cb,{attrNameTemplate:"Arrow%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Size",o.i18n),min:"0",max:"50",allowReset:!0})),wp.element.createElement(E.cb,{attrNameTemplate:"Arrow%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.e,{label:Object(i.__)("Align",o.i18n),className:"ugb--help-tip-image-box-arrow-align"}))),wp.element.createElement(E.Y,{initialOpen:!1,blockProps:t},ie.subtitleSpacing&&wp.element.createElement(E.cb,{attrNameTemplate:"subtitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Subtitle",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-subtitle-spacing"})),ie.titleSpacing&&wp.element.createElement(E.cb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Title",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-title-spacing"})),ie.lineSpacing&&wp.element.createElement(E.cb,{attrNameTemplate:"line%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Line",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-line-spacing"})),ie.descriptionSpacing&&wp.element.createElement(E.cb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Description",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-description-spacing"})),ie.arrowSpacing&&wp.element.createElement(E.cb,{attrNameTemplate:"arrow%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(i.__)("Arrow",o.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-image-box-arrow-spacing"}))))});var Z=function(e){function t(){var e,n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),n=this,(e=!(a=Y(t).apply(this,arguments))||"object"!==q(a)&&"function"!=typeof a?K(n):a).state={selectedBox:null},e.handleFocusOutside=e.handleFocusOutside.bind(K(e)),e}var n,l,c;return 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&&J(e,t)}(t,H["Component"]),n=t,(l=[{key:"handleFocusOutside",value:function(){this.setState({selectedBox:null})}},{key:"render",value:function(){var e,t=this,n=this.props,l=n.className,c=n.setAttributes,s=n.attributes,u=s.columns,b=void 0===u?3:u,p=s.contentAlign,g=void 0===p?"":p,d=s.design,f=void 0===d?"basic":d,y=s.shadow,w=void 0===y?"":y,O=s.imageSize,k=void 0===O?"large":O,_=s.imageHoverEffect,j=void 0===_?"":_,C=s.showSubtitle,x=void 0===C||C,S=s.showTitle,B=void 0===S||S,T=s.showDescription,A=void 0===T||T,N=s.showArrow,P=void 0!==N&&N,F=s.titleTag,D=void 0===F?"":F,M=s.showOverlay,z=void 0!==M&&M,I=s.showOverlayHover,L=void 0===I||I,U=h()([l,"ugb-image-box--v4","ugb-image-box--columns-".concat(b),"ugb-image-box--design-".concat(f)],Object(r.applyFilters)("stackable.image-box.mainclasses",(V(e={},"ugb-image-box--effect-".concat(j),j),V(e,"ugb-image-box--with-arrow",P),V(e,"ugb-image-box--align-".concat(g),g),e),this.props)),W=R(this.props);return wp.element.createElement(E.j.Edit,{className:U,blockProps:this.props,render:function(){return wp.element.createElement(H.Fragment,null,Object(a.range)(1,b+1).map(function(e){var n=h()(["ugb-image-box__item","ugb-image-box__item".concat(e),"ugb-image-box__box"],Object(r.applyFilters)("stackable.image-box.itemclasses",V({},"ugb--shadow-".concat(w),W.columnBackground&&""!==w),t.props,e));return wp.element.createElement("div",{className:n,key:e,onMouseDown:function(){return t.setState({selectedBox:e})},role:"button",tabIndex:"0"},wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image-wrapper"},wp.element.createElement(E.T,{imageID:s["image".concat(e,"Id")],imageURL:s["image".concat(e,"Url")],imageSize:k,className:"ugb-image-box__box ugb-image-box__image",onRemove:function(){var t;c((V(t={},"image".concat(e,"Id"),""),V(t,"image".concat(e,"Url"),""),V(t,"image".concat(e,"FullWidth"),""),V(t,"image".concat(e,"FullHeight"),""),V(t,"image".concat(e,"FullUrl"),""),t))},onChange:function(t){var n;c((V(n={},"image".concat(e,"Id"),t.id),V(n,"image".concat(e,"Url"),t.url),V(n,"image".concat(e,"FullWidth"),t.sizes.full.width),V(n,"image".concat(e,"FullHeight"),t.sizes.full.height),V(n,"image".concat(e,"FullUrl"),t.sizes.full.url),n))}})),z&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay"}),L&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay-hover"}),wp.element.createElement("div",{className:"ugb-image-box__content"},(x||B)&&wp.element.createElement("div",{className:"ugb-image-box__header"},x&&wp.element.createElement(v.RichText,{tagName:"div",className:"ugb-image-box__subtitle",value:s["subtitle".concat(e)],onChange:function(t){return c(V({},"subtitle".concat(e),t))},placeholder:Object(i.__)("Subtitle",o.i18n),keepPlaceholderOnFocus:!0}),B&&wp.element.createElement(v.RichText,{tagName:D||"h4",className:"ugb-image-box__title",value:s["title".concat(e)],onChange:function(t){return c(V({},"title".concat(e),t))},placeholder:Object(i.__)("Title",o.i18n),keepPlaceholderOnFocus:!0})),A&&wp.element.createElement(v.RichText,{tagName:"p",className:"ugb-image-box__description",value:s["description".concat(e)],onChange:function(t){return c(V({},"description".concat(e),t))},placeholder:Object(i.__)("Description",o.i18n),keepPlaceholderOnFocus:!0})),P&&wp.element.createElement("div",{className:"ugb-image-box__arrow"},wp.element.createElement(m,null)),t.state.selectedBox===e&&wp.element.createElement(E.nb,{value:s["link".concat(e,"Url")],onChange:function(t){return c(V({},"link".concat(e,"Url"),t))},newTab:s["link".concat(e,"NewTab")],noFollow:s["link".concat(e,"NoFollow")],onChangeNewTab:function(t){return c(V({},"link".concat(e,"NewTab"),t))},onChangeNoFollow:function(t){return c(V({},"link".concat(e,"NoFollow"),t))}}))}))}})}}])&&X(n.prototype,l),c&&X(n,c),t}(),Q=Object(W.compose)(S.i,S.g,S.d,Object(S.h)(),Object(S.c)(["Line%sAlign","Subtitle%sAlign","Title%sAlign","Description%sAlign","Arrow%sAlign"]),Object(S.a)(L,{editorMode:!0}),Object(S.b)([[".ugb-image-box__title","title"],[".ugb-image-box__subtitle","subtitle"],[".ugb-image-box__description","description"],[".ugb-image-box__arrow svg","arrow"]]),Object(G.withSelect)(function(e,t){Object(d.f)(t.attributes.image1Id,e),Object(d.f)(t.attributes.image2Id,e),Object(d.f)(t.attributes.image3Id,e),Object(d.f)(t.attributes.image4Id,e)}),U.withFocusOutside)(Z);function ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var te=Object(W.compose)(S.i,Object(S.a)(L))(function(e){var t,n=e.className,o=e.attributes,i=o.columns,l=void 0===i?2:i,c=o.contentAlign,s=void 0===c?"":c,u=o.design,b=void 0===u?"basic":u,p=o.titleTag,g=void 0===p?"":p,d=o.shadow,f=void 0===d?"":d,y=o.showOverlay,w=void 0!==y&&y,O=o.showOverlayHover,k=void 0===O||O,_=o.showSubtitle,j=void 0===_||_,C=o.showTitle,x=void 0===C||C,S=o.showDescription,B=void 0===S||S,T=o.showArrow,A=void 0!==T&&T,N=o.imageHoverEffect,P=void 0===N?"":N,F=h()([n,"ugb-image-box--v4","ugb-image-box--columns-".concat(l),"ugb-image-box--design-".concat(b)],Object(r.applyFilters)("stackable.image-box.mainclasses",(ee(t={},"ugb-image-box--effect-".concat(P),P),ee(t,"ugb-image-box--with-arrow",A),ee(t,"ugb-image-box--align-".concat(s),s),t),e)),D=R(e);return wp.element.createElement(E.j.Save,{className:F,blockProps:e,render:function(){return wp.element.createElement(H.Fragment,null,Object(a.range)(1,l+1).map(function(t){var n=o["subtitle".concat(t)],a=o["title".concat(t)],i=o["description".concat(t)],l=h()(["ugb-image-box__item","ugb-image-box__item".concat(t),"ugb-image-box__box"],Object(r.applyFilters)("stackable.image-box.itemclasses",ee({},"ugb--shadow-".concat(f),D.columnBackground&&""!==f),e,t)),c=[];return o["link".concat(t,"NewTab")]&&(c.push("noopener"),c.push("noreferrer")),o["link".concat(t,"NoFollow")]&&c.push("nofollow"),wp.element.createElement("div",{className:l,key:t},o["image".concat(t,"Url")]&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image-wrapper"},wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__image"})),w&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay"}),k&&wp.element.createElement("div",{className:"ugb-image-box__box ugb-image-box__overlay-hover"}),wp.element.createElement("div",{className:"ugb-image-box__content"},(j||x)&&wp.element.createElement("div",{className:"ugb-image-box__header"},j&&!v.RichText.isEmpty(n)&&wp.element.createElement(v.RichText.Content,{tagName:"div",className:"ugb-image-box__subtitle",value:n}),x&&!v.RichText.isEmpty(a)&&wp.element.createElement(v.RichText.Content,{tagName:g||"h4",className:"ugb-image-box__title",value:a})),B&&!v.RichText.isEmpty(i)&&wp.element.createElement(v.RichText.Content,{tagName:"p",className:"ugb-image-box__description",value:i})),A&&wp.element.createElement("div",{className:"ugb-image-box__arrow"},wp.element.createElement(m,null)),o["link".concat(t,"Url")]&&wp.element.createElement("a",{className:"ugb-image-box__overlay-link",href:o["link".concat(t,"Url")],target:o["link".concat(t,"NewTab")]?"_blank":void 0,rel:c.join(" ")||void 0,title:o["title".concat(t)],"aria-label":o["title".concat(t)]},null))}))}})}),ne=n(15);function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"schema",function(){return ie}),n.d(t,"name",function(){return re}),n.d(t,"settings",function(){return le});var ie=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(n,!0).forEach(function(t){oe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},columns:{type:"number",default:3},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(d.h)("link%sUrl",{type:"string",default:"",source:"attribute",selector:".ugb-image-box__item%d .ugb-image-box__overlay-link",attribute:"href"},["1","2","3","4"]),{},Object(d.h)("link%s%s",{type:"boolean",default:""},["1","2","3","4"],["NewTab","NoFollow"]),{},Object(d.q)("image%s",{exclude:["Url","Id","Alt","BlendMode"]}),{},Object(d.s)("image%s"),{imageSize:{type:"string",default:"large"}},Object(d.h)("image%s%s",{type:"number",default:""},["1","2","3","4"],["Id","FullWidth","FullHeight"]),{},Object(d.h)("image%s%s",{type:"string",default:""},["1","2","3","4"],["Url","FullUrl"]),{showOverlay:{type:"boolean",default:!1}},Object(d.j)("overlay%s"),{overlayOpacity:{type:"number",default:.7},showOverlayHover:{type:"boolean",default:!0}},Object(d.j)("overlayHover%s"),{overlayHoverOpacity:{type:"number",default:.7}},Object(d.x)("imageBackground%sHeight",{type:"number",default:""}),{imageHoverEffect:{type:"string",default:""},hoverEffect:{type:"string",default:""},lineColor:{type:"string",default:""},lineSize:{type:"number",default:""}},Object(d.x)("Line%sAlign",{type:"string",default:""}),{},Object(d.h)("subtitle%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__subtitle",default:Object(i.__)("Subtitle",o.i18n)},["1","2","3","4"]),{showSubtitle:{type:"boolean",default:!0}},Object(d.C)("subtitle%s"),{subtitleColor:{type:"string",defualt:""}},Object(d.h)("title%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__title",default:Object(i.__)("Title",o.i18n)},["1","2","3","4"]),{showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(d.C)("title%s"),{titleColor:{type:"string",default:""}},Object(d.h)("description%s",{type:"string",source:"html",selector:".ugb-image-box__item%d .ugb-image-box__description",default:Object(i.__)("Description",o.i18n)},["1","2","3","4"]),{showDescription:{type:"boolean",default:!0}},Object(d.C)("description%s"),{descriptionColor:{type:"string",default:""},showArrow:{type:"boolean",default:!1},arrowColor:{type:"string",default:""}},Object(d.x)("Arrow%sSize",{type:"number",default:""}),{},Object(d.x)("Arrow%sAlign",{type:"string",default:""}),{},Object(d.h)("%s%sAlign",{type:"string",default:""},["Subtitle","Title","Description","Arrow"],["","Tablet","Mobile"]),{},Object(d.h)("%s%sBottomMargin",{type:"number",default:""},["Subtitle","Title","Line","Description","Arrow"],["","Tablet","Mobile"])),re="ugb/image-box",le={title:Object(i.__)("Image Box",o.i18n),description:Object(i.__)("Display an image that shows more information when hovered on. Can be used as a fancy link to other pages.",o.i18n),icon:ne.o,category:"stackable",keywords:[Object(i.__)("Image Box",o.i18n),Object(i.__)("Stackable",o.i18n)],supports:{align:["center","wide","full"],inserter:!o.disabledBlocks.includes(re)},attributes:ie,deprecated:x,edit:Q,save:te,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"block-title":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(r.applyFilters)("stackable.image-box.custom-css.default","")}}};Object(r.addFilter)("stackable.image-box.advanced-column-spacing.styles","stackable/image-box/column-height",function(e){return e["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e.tablet["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e.mobile["> .ugb-inner-block > .ugb-block-content > *"]={minHeight:void 0},e})},function(e,t,n){"use strict";n.r(t);var a=n(2),o=n(15),i=n(1),r=n(10),l=n(0),c=n(5);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object(c.addFilter)("stackable.cta.design.no-text-attributes","stackable/cta",function(e){return Object(r.omit)(e,["title","description","buttonText"])}),Object(c.addFilter)("stackable.cta.design.filtered-block-attributes","stackable/cta",function(e){return Object(r.omit)(e,["buttonUrl","buttonNewTab","buttonNoFollow"])}),Object(c.addFilter)("stackable.cta.edit.designs","stackable/cta",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(l.__)("Corporate Light 1",i.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-cta-design-corporate-light-01.jpg",attributes:{design:"plain",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonSize:"small",buttonTextColor:"#ff550a",buttonBackgroundColor:"#ffffff",buttonHoverEffect:"lift",buttonBorderRadius:100,columnFixedBackground:!0,descriptionBottomMargin:45,columnPaddingTop:130,columnPaddingBottom:130,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#ff550a",blockBackgroundBackgroundColor2:"#ffb20b",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-cta-corporate-light-01-01.jpg",blockBackgroundBackgroundTintStrength:8,blockBackgroundBackgroundGradientDirection:40,blockBackgroundFixedBackground:!0,showTopSeparator:!1}},corporateLight2:{label:Object(l.__)("Corporate Light 2",i.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-cta-design-corporate-light-02.jpg",attributes:{design:"plain",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#c49732",buttonHoverEffect:"lift",buttonBorderRadius:100,columnFixedBackground:!0,descriptionBottomMargin:45,columnPaddingTop:130,columnPaddingBottom:130,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#4571d5",blockBackgroundBackgroundColor2:"#86abff",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-cta-corporate-light-02-01.jpg",blockBackgroundBackgroundTintStrength:6,blockBackgroundBackgroundGradientDirection:40,blockBackgroundFixedBackground:!0,showTopSeparator:!1}},corporateDark1:{label:Object(l.__)("Corporate Dark 1",i.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-cta-design-corporate-dark-01.jpg",attributes:{design:"plain",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#c5dfb4",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonSize:"small",buttonTextColor:"#3f4174",buttonBackgroundColor:"#c4e558",buttonHoverEffect:"lift",buttonBorderRadius:100,columnFixedBackground:!0,descriptionBottomMargin:45,columnPaddingTop:130,columnPaddingBottom:130,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-cta-corporate-dark-01-01.jpg",blockBackgroundFixedBackground:!0,showTopSeparator:!1}},corporateDark2:{label:Object(l.__)("Corporate Dark 2",i.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-cta-design-corporate-dark-02.jpg",attributes:{design:"plain",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#06c19d",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"ghost",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#06c19d",buttonHoverEffect:"lift",buttonBorderRadius:100,columnFixedBackground:!0,descriptionBottomMargin:45,columnPaddingTop:130,columnPaddingBottom:130,showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColor:"#000000",blockBackgroundBackgroundColor2:"#86abff",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-cta-corporate-dark-02-01.jpg",blockBackgroundBackgroundTintStrength:7,blockBackgroundBackgroundGradientDirection:40,blockBackgroundFixedBackground:!0,showTopSeparator:!1}}})});var b=n(16),p=n(8),g=n.n(p),m=n(6);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(n,!0).forEach(function(t){h(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=[{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},newTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},ctaTitle:{source:"html",selector:"h3",default:Object(l.__)("Title for This Block")},bodyText:{source:"html",selector:"p",default:Object(a.F)()},buttonText:{source:"html",selector:".ugb-button span",default:Object(l.__)("Button text")},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColorType:{type:"string",default:""},backgroundColor:{type:"string"},backgroundColor2:{type:"string",default:""},backgroundColorDirection:{type:"number",default:0},backgroundType:{type:"string",default:""},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},bgColor:{type:"string"}},save:function(e){var t,n=e.className,a=e.attributes,o=a.url,i=a.buttonText,r=a.ctaTitle,l=a.bodyText,s=a.color,u=a.textColor,p=a.size,d=a.borderButtonRadius,v=a.bodyTextColor,y=a.titleColor,w=a.backgroundColorType,O=void 0===w?"":w,k=a.backgroundColor,_=a.backgroundColor2,j=a.backgroundColorDirection,C=void 0===j?0:j,x=a.backgroundType,E=void 0===x?"":x,S=a.backgroundImageURL,B=a.backgroundOpacity,T=a.fixedBackground,A=a.buttonDesign,N=a.buttonIcon,P=a.design,F=void 0===P?"basic":P,R=a.borderRadius,D=void 0===R?12:R,M=a.shadow,z=void 0===M?3:M,I=a.align,L=a.contentWidth,U=a.newTab,H="plain"!==F,W=g()([n,"ugb-cta","ugb--background-opacity-"+1*Math.round(B/1)],Object(c.applyFilters)("stackable.cta.mainclasses_1_15_5",(h(t={},"ugb-cta--design-".concat(F),"basic"!==F),h(t,"ugb--shadow-".concat(z),"plain"!==F&&3!==z),h(t,"ugb--has-background",k||S),h(t,"ugb--has-background-image",S),h(t,"ugb-content-width","full"===I&&L),h(t,"ugb--has-background-gradient",H&&"gradient"===O),h(t,"ugb--has-background-video",H&&"video"===E),t),F,e)),G=f({backgroundAttachment:T?"fixed":void 0},H?{backgroundColor:k||void 0,backgroundImage:S?"url(".concat(S,")"):void 0,"--ugb-background-color":S||"gradient"===O?k:void 0,"--ugb-background-color2":"gradient"===O&&_?_:void 0,"--ugb-background-direction":"gradient"===O?"".concat(C,"deg"):void 0,borderRadius:12!==D?D:void 0}:{});return wp.element.createElement("div",{className:W,style:G},H&&"video"===E&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:S}),Object(c.applyFilters)("stackable.cta.save.output.before_1_15_5",null,F,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},r&&!!r.length&&wp.element.createElement(m.RichText.Content,{tagName:"h3",className:"ugb-cta__title",style:{color:y},value:r}),l&&!!l.length&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta__description",style:{color:v},value:l}),i&&!!i.length&&wp.element.createElement(b.d,{size:p,url:o,color:u,text:i,design:A,icon:N,backgroundColor:s,borderRadius:d,newTab:U})))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-cta(\s*{)/g,"\n.ugb-cta__item$1").replace(/\.ugb-content-wrapper/g,".ugb-cta__item")};return f({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),title:e.ctaTitle||"",titleColor:e.titleColor||"",description:e.bodyText||"",descriptionColor:e.bodyTextColor||"",buttonUrl:e.url,buttonNewTab:e.newTab,buttonBackgroundColor:e.color,buttonTextColor:e.textColor,buttonSize:e.size,buttonDesign:e.buttonDesign,buttonBorderRadius:e.borderButtonRadius,columnBackgroundColorType:e.backgroundColorType,columnBackgroundColor:e.backgroundColor,columnBackgroundColor2:e.backgroundColor2,columnBackgroundGradientDirection:e.backgroundColorDirection,backgroundType:void 0,columnBackgroundMediaId:e.backgroundImageID,columnBackgroundMediaUrl:e.backgroundImageURL,columnBackgroundTintStrength:e.backgroundOpacity,columnFixedBackground:e.fixedBackground?e.fixedBackground:void 0,marginTop:"full"===e.align?0:void 0,marginBottom:"full"===e.align?0:void 0})}},{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},newTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},ctaTitle:{source:"html",selector:"h3",default:"Title for This Block"},bodyText:{source:"html",selector:"p",default:Object(a.F)()},buttonText:{source:"html",selector:".ugb-button span",default:"Button text"},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},bgColor:{type:"string"}},save:function(e){var t,n=e.className,a=e.attributes,o=a.url,i=a.buttonText,r=a.ctaTitle,l=a.bodyText,c=a.color,s=a.textColor,u=void 0===s?"#ffffff":s,p=a.size,d=a.borderButtonRadius,f=a.bodyTextColor,v=a.titleColor,y=a.backgroundColor,w=a.backgroundImageURL,O=a.backgroundOpacity,k=a.fixedBackground,_=a.buttonDesign,j=a.buttonIcon,C=a.design,x=void 0===C?"basic":C,E=a.borderRadius,S=void 0===E?12:E,B=a.shadow,T=void 0===B?3:B,A=a.align,N=a.contentWidth,P=a.newTab,F=g()([n,"ugb-cta","ugb--background-opacity-"+1*Math.round(O/1)],(h(t={},"ugb-cta--design-".concat(x),"basic"!==x),h(t,"ugb--shadow-".concat(T),"plain"!==x&&3!==T),h(t,"ugb--has-background",y||w),h(t,"ugb--has-background-image",w),h(t,"ugb--content-width","full"===A&&N),t)),R={backgroundColor:"plain"!==x&&y?y:void 0,backgroundImage:"plain"!==x&&w?"url(".concat(w,")"):void 0,backgroundAttachment:k?"fixed":void 0,"--ugb-background-color":"plain"!==x&&w?y:void 0,borderRadius:"plain"!==x&&12!==S?S:void 0};return wp.element.createElement("div",{className:F,style:R},wp.element.createElement("div",{className:"ugb-content-wrapper"},r&&!!r.length&&wp.element.createElement(m.RichText.Content,{tagName:"h3",className:"ugb-cta__title",style:{color:v},value:r}),l&&!!l.length&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta__description",style:{color:f},value:l}),i&&!!i.length&&wp.element.createElement(b.c,{size:p,url:o,color:u,text:i,design:_,icon:j,backgroundColor:c,borderRadius:d,newTab:P})))}},{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:"Title for This Block"},bodyText:{source:"html",selector:"p",default:Object(a.F)()},buttonText:{source:"html",selector:".ugb-button span",default:"Button text"},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},contentWidth:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},align:{type:"string"},bgColor:{type:"string"}},save:function(e){var t,n=e.className,a=e.attributes,o=a.url,i=a.buttonText,r=a.ctaTitle,l=a.bodyText,c=a.color,s=a.textColor,u=a.size,p=a.borderButtonRadius,d=a.bodyTextColor,f=a.titleColor,v=a.backgroundColor,y=a.backgroundImageURL,w=a.backgroundOpacity,O=a.fixedBackground,k=a.buttonDesign,_=a.buttonIcon,j=a.design,C=a.borderRadius,x=a.shadow,E=a.align,S=a.contentWidth,B=g()([n,"ugb-cta","ugb-has-background-opacity-"+1*Math.round(w/1)],(h(t={},"ugb-design-".concat(j),"basic"!==j),h(t,"ugb-shadow-".concat(x),"plain"!==j&&3!==x),h(t,"ugb-has-background",v||y),h(t,"ugb-has-background-image",y),h(t,"ugb-content-width","full"===E&&S),t)),T={backgroundColor:v||void 0,backgroundImage:y?"url(".concat(y,")"):void 0,backgroundAttachment:O?"fixed":void 0,"--ugb-background-color":y?v:void 0,borderRadius:"plain"!==j&&12!==C?C:void 0};return wp.element.createElement("div",{className:B,style:T},wp.element.createElement("div",{className:"ugb-content-wrapper"},r&&!!r.length&&wp.element.createElement(m.RichText.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:f},value:r}),l&&!!l.length&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:d},value:l}),i&&!!i.length&&wp.element.createElement(b.b,{size:u,url:o,color:s,text:i,design:k,icon:_,backgroundColor:c,borderRadius:p})))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").trim();return f({},e,{newTab:!1,className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:"Get Started Today"},bodyText:{source:"html",selector:"p",default:"Get Stackable: Ultimate Gutenberg Blocks today.  Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg’s functionality."},buttonText:{source:"html",selector:".ugb-button span"},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},align:{type:"string"},bgColor:{type:"string"}},save:function(e){var t=e.className,n=e.attributes,a=n.url,o=n.buttonText,i=n.ctaTitle,r=n.bodyText,l=n.color,c=n.textColor,s=n.size,u=n.borderButtonRadius,p=n.bodyTextColor,d=n.titleColor,f=n.backgroundColor,h=n.backgroundImageURL,v=n.backgroundOpacity,y=n.fixedBackground,w=n.buttonDesign,O=n.buttonIcon,k=n.columns,_=void 0===k?void 0:k,j=g()([t,"ugb-cta","columns-".concat(_),"ugb-has-background-opacity-"+1*Math.round(v/1)],{"ugb-has-background":f||h,"ugb-has-background-image":h}),C={backgroundColor:f||void 0,backgroundImage:h?"url(".concat(h,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":h?f:void 0};return wp.element.createElement("div",{className:j,style:C},i&&!!i.length&&wp.element.createElement(m.RichText.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:d},value:i}),r&&!!r.length&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:p},value:r}),o&&!!o.length&&wp.element.createElement(b.h,{size:s,url:a,color:c,text:o,design:w,icon:O,backgroundColor:l,borderRadius:u}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").trim();return f({},e,{contentWidth:!1,design:"basic",borderRadius:12,shadow:3,className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:"Get Started Today"},bodyText:{source:"html",selector:"p",default:"Get Stackable: Ultimate Gutenberg Blocks today.  Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg’s functionality."},buttonText:{source:"html",selector:".ugb-button a"},buttonDesign:{type:"string",default:"basic"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},buttonIcon:{type:"string"},align:{type:"string"},bgColor:{type:"string"}},save:function(e){var t=e.className,n=e.attributes,a=n.url,o=n.buttonText,i=n.ctaTitle,r=n.bodyText,l=n.color,c=n.textColor,s=n.size,u=n.borderButtonRadius,p=n.bodyTextColor,d=n.titleColor,f=n.backgroundColor,h=n.backgroundImageURL,v=n.backgroundOpacity,y=n.fixedBackground,w=n.buttonDesign,O=n.buttonIcon,k=n.columns,_=void 0===k?void 0:k,j=g()([t,"ugb-cta","columns-".concat(_),"ugb-has-background-opacity-"+1*Math.round(v/1)],{"ugb-has-background":f||h,"ugb-has-background-image":h}),C={backgroundColor:f||void 0,backgroundImage:h?"url(".concat(h,")"):void 0,backgroundAttachment:y?"fixed":void 0,"--ugb-background-color":h?f:void 0};return wp.element.createElement("div",{className:j,style:C},i&&!!i.length&&wp.element.createElement(m.RichText.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:d},value:i}),r&&!!r.length&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:p},value:r}),o&&!!o.length&&wp.element.createElement(b.g,{size:s,url:a,color:c,text:o,design:w,icon:O,backgroundColor:l,borderRadius:u}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").trim();return f({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{url:{type:"string",source:"attribute",selector:".ugb-button a",attribute:"href"},ctaTitle:{source:"html",selector:"h3",default:"Get Started Today"},bodyText:{source:"html",selector:"p",default:"Get Stackable: Ultimate Gutenberg Blocks today.  Apart from adding new blocks, it gives Gutenberg users more options and settings to tinker with, expanding Gutenberg’s functionality."},buttonText:{source:"html",selector:".ugb-button a"},color:{type:"string"},textColor:{type:"string",default:"#ffffff"},titleColor:{type:"string"},bodyTextColor:{type:"string"},bgColor:{type:"string"},size:{type:"string",default:"normal"},borderButtonRadius:{type:"number",default:4},align:{type:"string"}},save:function(e){var t=e.className,n=e.attributes,a=n.url,o=n.buttonText,i=n.ctaTitle,r=n.bodyText,l=n.color,c=n.textColor,s=n.size,u=n.borderButtonRadius,p=n.bodyTextColor,d=n.titleColor,f=n.bgColor,h=g()([t,"ugb-cta"]);return wp.element.createElement("div",{className:h,style:{backgroundColor:f}},i&&!!i.length&&wp.element.createElement(m.RichText.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:d},value:i}),r&&!!r.length&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:p},value:r}),o&&!!o.length&&wp.element.createElement(b.f,{size:s,url:a,color:c,text:o,backgroundColor:l,borderRadius:u}))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").trim();return f({backgroundColor:e.bgColor},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}}],y=n(3),w=n(11),O=n(14),k=n.n(O),_=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showBlockBackground,i=void 0!==o&&o,r=t.blockInnerWidth,l=void 0===r?"":r,s=t.align,u=void 0===s?"":s,b=t.showTitle,p=void 0===b||b,g=t.showDescription,m=void 0===g||g,d=t.showButton,f=void 0===d||d,h=!0;return"plain"===a?h=!1:"full"===u&&(i?"full"===l&&(h=!1):h=!1),Object(c.applyFilters)("stackable.cta.show",{columnBackground:"plain"!==a,borderRadius:h,titleSpacing:p,descriptionSpacing:m,buttonSpacing:f},e)};function j(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(n,!0).forEach(function(t){E(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function E(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function(e){var t=Object(a.b)(e.attributes),n=e.attributes,o=n.columnBackgroundColor,i=void 0===o?"":o,r=n.columnBackgroundColorOpacity,l=void 0===r?1:r,c=_(e),s=[];s.push({".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:Object(a.c)(t("contentAlign"))},tablet:{".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-cta__title, .ugb-cta__description, .ugb-button-container":{textAlign:t("mobileContentAlign")}}}),c.borderRadius&&s.push({".ugb-cta__item":{borderRadius:t("borderRadius","%spx !important")}});s.push(x({},c.columnBackground?Object(a.l)("column%s","ugb-cta__item",e.attributes,{importantBackgroundColor:!0}):{})),c.titleSpacing&&s.push.apply(s,j(Object(a.y)(".ugb-cta__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),c.descriptionSpacing&&s.push.apply(s,j(Object(a.y)(".ugb-cta__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),c.buttonSpacing&&s.push.apply(s,j(Object(a.y)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0)));var u=e.attributes,b=u.titleColor,p=void 0===b?"":b,g=u.showTitle;(void 0===g||g)&&s.push({".ugb-cta__title":x({},Object(a.D)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(a.db)(p,0!==l?i:null),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-cta__title":x({},Object(a.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-cta__title":x({},Object(a.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var m=e.attributes,d=m.descriptionColor,f=void 0===d?"":d,h=m.showDescription;(void 0===h||h)&&s.push({".ugb-cta__description":x({},Object(a.D)("description%s","desktop",e.attributes),{color:Object(a.db)(f,0!==l?i:null),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-cta__description":x({},Object(a.D)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-cta__description":x({},Object(a.D)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign","%s !important")})}});var v=e.attributes.showButton;return(void 0===v||v)&&(s.push(x({},Object(a.p)("button%s","ugb-button",e.attributes))),s.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")}}})),k.a.all(s)},B=n(233),T=n.n(B),A=n(234),N=n.n(A),P=n(9),F=n(12),R=n(7);function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(c.addFilter)("stackable.cta.edit.inspector.layout.before","stackable/cta",function(e,t){var n=t.setAttributes,a=t.attributes.design,o=void 0===a?"basic":a;return wp.element.createElement(R.Fragment,null,e,wp.element.createElement(y.y,{initialOpen:!0,selected:o,options:Object(c.applyFilters)("stackable.cta.edit.layouts",[{label:Object(l.__)("Basic",i.i18n),value:"basic",image:T.a},{label:Object(l.__)("Plain",i.i18n),value:"plain",image:N.a}]),onChange:function(e){return n({design:e})}},i.showProNotice&&wp.element.createElement(y.bb,null)))}),Object(c.addFilter)("stackable.cta.edit.inspector.style.before","stackable/cta",function(e,t){var n=t.setAttributes,o=t.attributes,r=o.titleColor,c=o.descriptionColor,s=o.borderRadius,u=void 0===s?"":s,b=o.shadow,p=void 0===b?"":b,g=o.showTitle,m=void 0===g||g,d=o.showDescription,f=void 0===d||d,h=o.showButton,v=void 0===h||h,w=o.titleTag,O=void 0===w?"":w,k=_(t);return wp.element.createElement(R.Fragment,null,e,wp.element.createElement(P.PanelBody,{title:Object(l.__)("General",i.i18n)},k.borderRadius&&wp.element.createElement(y.b,{label:Object(l.__)("Border Radius",i.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),k.columnBackground&&wp.element.createElement(y.b,{label:Object(l.__)("Shadow / Outline",i.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(y.s,{setAttributes:n,blockAttributes:t.attributes})),k.columnBackground&&wp.element.createElement(y.X,{title:Object(l.__)("Column Background",i.i18n),initialOpen:!1,id:"column-background",className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(y.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(y.X,{title:Object(l.__)("Title",i.i18n),id:"title",checked:m,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(M(Object(a.B)("title%s")),["titleTag","titleColor"],M(Object(a.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(y.lb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes,className:"ugb--help-tip-typography-family"}),wp.element.createElement(y.G,{value:O||"h3",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(y.r,{value:r,onChange:function(e){return n({titleColor:e})},label:Object(l.__)("Title Color",i.i18n)}),wp.element.createElement(y.cb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",i.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(y.X,{title:Object(l.__)("Description",i.i18n),id:"description",checked:f,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(M(Object(a.B)("description%s")),["descriptionColor"],M(Object(a.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(y.lb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.r,{value:c,onChange:function(e){return n({descriptionColor:e})},label:Object(l.__)("Description Color",i.i18n)}),wp.element.createElement(y.cb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",i.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(y.X,{title:Object(l.__)("Button",i.i18n),id:"button",checked:v,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(M(Object(a.n)("button%s")),M(Object(a.w)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(y.m,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.t,null),wp.element.createElement(y.cb,{attrNameTemplate:"Button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",i.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(y.Y,{initialOpen:!1,blockProps:t},k.titleSpacing&&wp.element.createElement(y.cb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Title",i.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),k.descriptionSpacing&&wp.element.createElement(y.cb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Description",i.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),k.buttonSpacing&&wp.element.createElement(y.cb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Button",i.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var z=Object(F.compose)(w.i,w.g,w.d,Object(w.h)(),Object(w.c)(["Title%sAlign","Description%sAlign","Button%sAlign"]),Object(w.a)(S,{editorMode:!0}),Object(w.b)([[".ugb-cta__title","title"],[".ugb-cta__description","description"],[".ugb-button","button"]]))(function(e){var t=e.className,n=e.setAttributes,o=e.attributes,r=o.design,s=void 0===r?"basic":r,u=o.shadow,b=void 0===u?"":u,p=o.showTitle,d=void 0===p||p,f=o.title,h=void 0===f?"":f,v=o.titleTag,w=void 0===v?"h3":v,O=o.showDescription,k=void 0===O||O,_=o.description,j=void 0===_?"":_,C=o.showButton,x=void 0===C||C,E=g()([t,"ugb-cta","ugb-cta--v2"],Object(c.applyFilters)("stackable.cta.mainclasses",D({},"ugb-cta--design-".concat(s),"basic"!==s),s,e)),S=g()(["ugb-cta__item"],Object(c.applyFilters)("stackable.cta.boxclasses",D({},"ugb--shadow-".concat(b),"plain"!==s&&""!==b),s,e)),B=d&&wp.element.createElement(m.RichText,{tagName:w||"h3",value:h,className:"ugb-cta__title",placeholder:Object(l.__)("Title for This Block",i.i18n),onChange:function(e){return n({title:e})},keepPlaceholderOnFocus:!0}),T=k&&wp.element.createElement(m.RichText,{tagName:"p",value:j,className:"ugb-cta__description",onChange:function(e){return n({description:e})},placeholder:Object(a.F)(),keepPlaceholderOnFocus:!0}),A=x&&wp.element.createElement(y.o,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes}),N={title:B,description:T,button:A};return wp.element.createElement(y.j.Edit,{className:E,blockProps:e,render:function(){return wp.element.createElement(R.Fragment,null,wp.element.createElement(y.B,{className:S,backgroundAttrName:"column%s",blockProps:e},Object(c.applyFilters)("stackable.cta.edit.output",wp.element.createElement(R.Fragment,null,B,T,A),N,e)))}})});function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var L=Object(F.compose)(w.i,Object(w.a)(S))(function(e){var t=e.className,n=e.attributes,a=n.design,o=void 0===a?"basic":a,i=n.shadow,r=void 0===i?"":i,l=n.showTitle,s=void 0===l||l,u=n.title,b=void 0===u?"":u,p=n.titleTag,d=void 0===p?"h3":p,f=n.showDescription,h=void 0===f||f,v=n.description,w=void 0===v?"":v,O=n.showButton,k=void 0===O||O,_=n.buttonUrl,j=void 0===_?"":_,C=n.buttonNewTab,x=void 0!==C&&C,E=n.buttonSize,S=void 0===E?"normal":E,B=n.buttonText,T=void 0===B?"":B,A=n.buttonShadow,N=void 0===A?0:A,P=n.buttonHoverEffect,F=void 0===P?"":P,D=n.buttonIcon,M=void 0===D?"":D,z=n.buttonIconPosition,L=void 0===z?"":z,U=n.buttonDesign,H=void 0===U?"basic":U,W=n.buttonHoverGhostToNormal,G=void 0!==W&&W,q=n.buttonNoFollow,V=void 0!==q&&q,X=g()([t,"ugb-cta","ugb-cta--v2"],Object(c.applyFilters)("stackable.cta.mainclasses",I({},"ugb-cta--design-".concat(o),"basic"!==o),o,e)),Y=g()(["ugb-cta__item"],Object(c.applyFilters)("stackable.cta.boxclasses",I({},"ugb--shadow-".concat(r),"plain"!==o&&""!==r),o,e)),K=s&&!m.RichText.isEmpty(b)&&wp.element.createElement(m.RichText.Content,{tagName:d||"h3",className:"ugb-cta__title",value:b}),J=h&&!m.RichText.isEmpty(w)&&wp.element.createElement(m.RichText.Content,{tagName:"p",className:"ugb-cta__description",value:w}),$=k&&!m.RichText.isEmpty(T)&&wp.element.createElement(y.n.Content,{size:""!==S?S:"normal",text:T,icon:M,newTab:""!==x&&x,url:j,noFollow:V,hoverEffect:F,ghostToNormalEffect:G,shadow:N,iconPosition:L,design:""!==H?H:"basic"}),Z={title:K,description:J,button:$};return wp.element.createElement(y.j.Save,{className:X,blockProps:e,render:function(){return wp.element.createElement(R.Fragment,null,wp.element.createElement(y.B,{className:Y,backgroundAttrName:"column%s",blockProps:e},Object(c.applyFilters)("stackable.cta.save.output",wp.element.createElement(R.Fragment,null,K,J,$),Z,e)))}})});function U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function H(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"name",function(){return G}),n.d(t,"settings",function(){return q});var W=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?U(n,!0).forEach(function(t){H(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):U(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({design:{type:"string",default:"basic"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""},title:{source:"html",selector:"h3, .ugb-cta__title",default:Object(l.__)("Title for This Block",i.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(a.C)("title%s"),{titleColor:{type:"string",default:""},description:{source:"html",selector:"p, .ugb-cta__description",default:Object(a.F)()},showDescription:{type:"boolean",default:!0}},Object(a.C)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(a.o)("button%s",{selector:".ugb-button"}),{},Object(a.j)("column%s"),{hoverEffect:{type:"string",default:""}},Object(a.x)("title%sBottomMargin",{type:"number",default:""}),{},Object(a.x)("description%sBottomMargin",{type:"number",default:""}),{},Object(a.x)("button%sBottomMargin",{type:"number",default:""}),{},Object(a.h)("%s%sAlign",{type:"string",default:""},["Title","Description","Button"],["","Tablet","Mobile"])),G="ugb/cta",q={title:Object(l.__)("Call to Action",i.i18n),description:Object(l.__)("A small section you can use to call the attention of your visitors. Great for calling attention to your products or deals.",i.i18n),icon:o.e,category:"stackable",keywords:[Object(l.__)("Call to Action",i.i18n),Object(l.__)("Stackable",i.i18n),Object(l.__)("CTA",i.i18n)],attributes:W,supports:{align:["center","wide","full"],inserter:!i.disabledBlocks.includes(G)},deprecated:v,edit:z,save:L,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-column-spacing":{columnGap:!1},"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(c.applyFilters)("stackable.cta.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(15),o=n(2),i=n(10),r=n(1),l=n(0),c=n(5);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(c.addFilter)("stackable.card.design.no-text-attributes","stackable/card",function(e){return Object(i.omit)(e,["title1","title2","title3","subtitle1","subtitle2","subtitle3","description1","description2","description3","button1Text","button2Text","button3Text"])}),Object(c.addFilter)("stackable.card.design.filtered-block-attributes","stackable/card",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(i.omit)(e,[].concat(b(t&&t.image1Id?["image1Url"]:[]),["image1Id"],b(t&&t.image2Id?["image2Url"]:[]),["image2Id"],b(t&&t.image3Id?["image3Url"]:[]),["image3Id","button1Url","button1NewTab","button1NoFollow","button2Url","button2NewTab","button2NoFollow","button3Url","button3NewTab","button3NoFollow"]))}),Object(c.addFilter)("stackable.card.edit.designs","stackable/card",function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){u(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{corporateLight1:{label:Object(l.__)("Corporate Light 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-card-design-corporate-light-01.jpg",attributes:{columns:1,borderRadius:0,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-card-corporate-light-01-01.jpg",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ff550a",subtitleFontFamily:"Roboto",subtitleColor:"#acacac",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#ff550a",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColor:"#ffd781",blockBackgroundFixedBackground:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ff550a",blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070"}},corporateLight2:{label:Object(l.__)("Corporate Light 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-card-design-corporate-light-02.jpg",attributes:{columns:1,borderRadius:0,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-card-corporate-light-02-01.jpg",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#1e55d3",subtitleFontFamily:"Roboto",subtitleColor:"#acacac",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#c49732",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#4571d5",blockBackgroundBackgroundColor2:"#86abff",blockBackgroundBackgroundGradientDirection:180,blockBackgroundFixedBackground:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c49732",blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}},corporateDark1:{label:Object(l.__)("Corporate Dark 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-card-design-corporate-dark-01.jpg",attributes:{columns:1,borderRadius:0,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-card-corporate-dark-01-01.jpg",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#1785cb",subtitleFontFamily:"Roboto",subtitleColor:"#acacac",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"ghost",buttonSize:"small",buttonBackgroundColor:"#c4e558",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-corporate-dark-01-01.jpg",blockBackgroundFixedBackground:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c5dfb4",blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}},corporateDark2:{label:Object(l.__)("Corporate Dark 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-card-design-corporate-dark-02.jpg",attributes:{columns:1,borderRadius:0,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-card-corporate-dark-02-01.jpg",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#06c19d",subtitleFontFamily:"Roboto",subtitleColor:"#acacac",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"ghost",buttonSize:"small",buttonBackgroundColor:"#06c19d",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"center",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#717171",blockBackgroundBackgroundColor2:"#393939",blockBackgroundFixedBackground:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#06c19d",blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#ffffff"}}})});var p=n(16),g=n(8),m=n.n(g),d=n(6);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(n,!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=[{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card__image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card__title",default:Object(l.__)("Title for This Block",r.i18n)},tagline:{source:"html",selector:".ugb-card__tagline",default:Object(l.__)("Subtitle for this block",r.i18n)},des:{source:"html",selector:".ugb-card__description",default:Object(o.F)("long")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},buttonNewTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},buttonText:{source:"html",selector:".ugb-button span",default:Object(l.__)("Button text",r.i18n)},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"},design:{type:"string",default:"basic"},backgroundColor:{type:"string"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t,n=e.className,a=e.attributes,o=a.heading,i=a.tagline,r=a.des,l=a.mediaURL,s=a.headingColor,u=a.taglineColor,b=a.desColor,g=a.buttonURL,f=a.buttonNewTab,y=a.buttonText,w=a.buttonColor,O=a.buttonTextColor,k=a.size,_=a.cornerButtonRadius,j=a.contentAlign,C=a.buttonDesign,x=a.buttonIcon,E=a.design,S=void 0===E?"basic":E,B=a.backgroundColor,T=a.borderRadius,A=void 0===T?12:T,N=a.shadow,P=void 0===N?3:N,F=m()([n,"ugb-card"],Object(c.applyFilters)("stackable.card.mainclasses_1_17_3",(v(t={},"ugb-card--design-".concat(S),"basic"!==S),v(t,"ugb--shadow-".concat(P),"plain"!==S&&3!==P),t),S,e)),R={borderRadius:"plain"!==S?A:void 0,backgroundColor:"plain"!==S?B:void 0},D=m()(["ugb-card__image-container"],v({},"ugb--shadow-".concat(P),"plain"===S)),M={borderRadius:"plain"===S?A:void 0};return wp.element.createElement("div",{className:F,style:R},Object(c.applyFilters)("stackable.card.save.output.before_1_17_3",null,S,e),l&&wp.element.createElement("div",{className:D,style:h({},M,{backgroundImage:"url(".concat(l,")"),textAlign:j}),"data-src":l}),!d.RichText.isEmpty(o)&&wp.element.createElement(d.RichText.Content,{tagName:"h4",className:"ugb-card__title",style:{color:s,textAlign:j},value:o}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__tagline",style:{color:u,textAlign:j},value:i}),!d.RichText.isEmpty(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__description",style:{color:b,textAlign:j},value:r}),y&&!!y.length&&wp.element.createElement(p.d,{size:k,url:g,newTab:f,align:j,color:O,text:y,icon:x,design:C,backgroundColor:w,borderRadius:_}),Object(c.applyFilters)("stackable.card.save.output.after_1_17_3",null,S,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-card([\s\{\[\.\#\:])/g,".ugb-card__item$1").replace(/\.ugb-card__tagline([\s\{\[\.\#\:])/g,".ugb-card__subtitle$1").replace(/\.ugb-card__image-container([\s\{\[\.\#\:])/g,".ugb-card__image$1")};return h({},e,{customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),columns:1,showButton:!!e.buttonText,image1Id:e.mediaID,image1Url:e.mediaURL,title1:e.heading,subtitle1:e.tagline,description1:e.des,titleColor:e.headingColor,subtitleColor:e.taglineColor,descriptionColor:e.desColor,button1Url:e.buttonURL,button1NewTab:e.buttonNewTab,button1Text:e.buttonText,buttonBackgroundColor:e.buttonColor,buttonIcon:e.buttonIcon,buttonTextColor:e.buttonTextColor,buttonSize:e.size,buttonBorderRadius:e.cornerButtonRadius,buttonDesign:e.buttonDesign,columnBackgroundColor:e.backgroundColor})}},{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card__image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card__title",default:"Title for This Block"},tagline:{source:"html",selector:".ugb-card__tagline",default:"Subtitle for this block"},des:{source:"html",selector:".ugb-card__description",default:Object(o.F)("long")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href",default:""},buttonNewTab:{type:"boolean",source:"attribute",selector:".ugb-button",attribute:"target",default:!1},buttonText:{source:"html",selector:".ugb-button span",default:"Button text"},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"},design:{type:"string",default:"basic"},backgroundColor:{type:"string"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t,n=e.className,a=e.attributes,o=a.heading,i=a.tagline,r=a.des,l=a.mediaURL,c=a.headingColor,s=a.taglineColor,u=a.desColor,b=a.buttonURL,g=a.buttonNewTab,f=a.buttonText,y=a.buttonColor,w=a.buttonTextColor,O=a.size,k=a.cornerButtonRadius,_=a.contentAlign,j=a.buttonDesign,C=a.buttonIcon,x=a.design,E=void 0===x?"basic":x,S=a.backgroundColor,B=void 0===S?"#ffffff":S,T=a.borderRadius,A=void 0===T?12:T,N=a.shadow,P=void 0===N?3:N,F=m()([n,"ugb-card"],(v(t={},"ugb-card--design-".concat(E),"basic"!==E),v(t,"ugb--shadow-".concat(P),"plain"!==E&&3!==P),t)),R={borderRadius:"plain"!==E?A:void 0,backgroundColor:"plain"!==E?B:void 0},D=m()(["ugb-card__image-container"],v({},"ugb--shadow-".concat(P),"plain"===E)),M={borderRadius:"plain"===E?A:void 0};return wp.element.createElement("div",{className:F,style:R},l&&wp.element.createElement("div",{className:D,style:h({},M,{backgroundImage:"url(".concat(l,")"),textAlign:_}),"data-src":l}),!d.RichText.isEmpty(o)&&wp.element.createElement(d.RichText.Content,{tagName:"h4",className:"ugb-card__title",style:{color:c,textAlign:_},value:o}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__tagline",style:{color:s,textAlign:_},value:i}),!d.RichText.isEmpty(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__description",style:{color:u,textAlign:_},value:r}),f&&!!f.length&&wp.element.createElement(p.c,{size:O,url:b,newTab:g,align:_,color:w,text:f,icon:C,design:j,backgroundColor:y,borderRadius:k}))}},{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card h4",default:"Title for This Block"},tagline:{source:"html",selector:".ugb-tagline",default:"Subtitle for this block"},des:{source:"html",selector:".ugb-card-des",default:Object(o.F)("long")},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href"},buttonText:{source:"html",selector:".ugb-button span",default:"Button text"},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"},design:{type:"string",default:"basic"},backgroundColor:{type:"string",default:"#ffffff"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3}},save:function(e){var t,n=e.className,a=e.attributes,o=a.heading,i=a.tagline,r=a.des,l=a.mediaURL,c=a.headingColor,s=a.taglineColor,u=a.desColor,b=a.buttonURL,g=a.buttonText,f=a.buttonColor,y=a.buttonTextColor,w=a.size,O=a.cornerButtonRadius,k=a.contentAlign,_=a.buttonDesign,j=a.buttonIcon,C=a.design,x=a.backgroundColor,E=a.borderRadius,S=a.shadow,B=m()([n,"ugb-card"],(v(t={},"ugb-design-".concat(C),"basic"!==C),v(t,"ugb-shadow-".concat(S),"plain"!==C),t)),T={borderRadius:"plain"!==C?E:void 0,backgroundColor:"plain"!==C?x:void 0},A=m()(["ugb-card-image-container"],v({},"ugb-shadow-".concat(S),"plain"===C)),N={borderRadius:"plain"===C?E:void 0};return wp.element.createElement("div",{className:B,style:T},l&&wp.element.createElement("div",{className:A,style:h({},N,{backgroundImage:"url(".concat(l,")"),textAlign:k}),"data-src":l}),!d.RichText.isEmpty(o)&&wp.element.createElement(d.RichText.Content,{tagName:"h4",style:{color:c,textAlign:k},value:o}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-tagline",style:{color:s,textAlign:k},value:i}),!d.RichText.isEmpty(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card-des",style:{color:u,textAlign:k},value:r}),g&&!!g.length&&wp.element.createElement(p.b,{size:w,url:b,align:k,color:y,text:g,icon:j,design:_,backgroundColor:f,borderRadius:O}))},migrate:function(e){return h({},e,{buttonNewTab:!1})}},{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card h4",default:"Ben Adams"},tagline:{source:"html",selector:".ugb-tagline",default:"Ben is the head of our small team"},des:{source:"html",selector:".ugb-card-des",default:"Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time."},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href"},buttonText:{source:"html",selector:".ugb-button span",default:"Button"},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"}},save:function(e){var t=e.className,n=e.attributes,a=n.heading,o=n.tagline,i=n.des,r=n.mediaURL,l=n.headingColor,c=n.taglineColor,s=n.desColor,u=n.buttonURL,b=n.buttonText,g=n.buttonColor,f=n.buttonTextColor,h=n.size,v=n.cornerButtonRadius,y=n.contentAlign,w=n.buttonDesign,O=n.buttonIcon,k=m()([t,"ugb-card"],{"has-image":r});return wp.element.createElement("div",{className:k},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url(".concat(r,")"),textAlign:y},"data-src":r}),!d.RichText.isEmpty(a)&&wp.element.createElement(d.RichText.Content,{tagName:"h4",style:{color:l,textAlign:y},value:a}),!d.RichText.isEmpty(o)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-tagline",style:{color:c,textAlign:y},value:o}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:y},value:i}),b&&!!b.length&&wp.element.createElement(p.h,{size:h,url:u,align:y,color:f,text:b,icon:O,design:w,backgroundColor:g,borderRadius:v}))},migrate:function(e){return h({},e,{design:"basic",backgroundColor:"#ffffff",borderRadius:12,shadow:3})}},{attributes:{mediaID:{type:"number"},mediaURL:{type:"string",source:"attribute",selector:".ugb-card-image-container",attribute:"data-src"},heading:{source:"html",selector:".ugb-card h4",default:"Ben Adams"},tagline:{source:"html",selector:".ugb-tagline",default:"Ben is the head of our small team"},des:{source:"html",selector:".ugb-card-des",default:"Ben is the head of our small team. He loves walking his dog, Walter, when he has some free time."},headingColor:{type:"string"},taglineColor:{type:"string"},desColor:{type:"string"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:"Button"},buttonColor:{type:"string"},buttonIcon:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},contentAlign:{type:"string",default:"left"}},save:function(e){var t=e.className,n=e.attributes,a=n.heading,o=n.tagline,i=n.des,r=n.mediaURL,l=n.headingColor,c=n.taglineColor,s=n.desColor,u=n.buttonURL,b=n.buttonText,g=n.buttonColor,f=n.buttonTextColor,h=n.size,v=n.cornerButtonRadius,y=n.contentAlign,w=n.buttonDesign,O=n.buttonIcon,k=m()([t,"ugb-card"],{"has-image":r});return wp.element.createElement("div",{className:k},r&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url(".concat(r,")"),textAlign:y},"data-src":r}),!d.RichText.isEmpty(a)&&wp.element.createElement(d.RichText.Content,{tagName:"h4",style:{color:l,textAlign:y},value:a}),!d.RichText.isEmpty(o)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-tagline",style:{color:c,textAlign:y},value:o}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:y},value:i}),b&&!!b.length&&wp.element.createElement(p.g,{size:h,url:u,align:y,color:f,text:b,icon:O,design:w,backgroundColor:g,borderRadius:v}))}}],w=n(3),O=n(11),k=n(235),_=n.n(k),j=n(236),C=n.n(j),x=n(14),E=n.n(x),S=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showImage,i=void 0===o||o,r=t.showTitle,l=void 0===r||r,s=t.showSubtitle,u=void 0===s||s,b=t.showDescription,p=void 0===b||b,g=t.showButton,m=void 0===g||g;return Object(c.applyFilters)("stackable.card.show",{columnBackground:"plain"!==a,borderRadius:!0,shadow:!0,imageHeight:("basic"===a||"plain"===a)&&"horizontal-card"!==a,imageWidth:"horizontal"===a,imageSpacing:"plain"===a&&i,titleSpacing:l,subtitleSpacing:u,descriptionSpacing:p,buttonSpacing:m},e)};function B(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,a)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(n,!0).forEach(function(t){N(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function N(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var P=function(e){var t=Object(o.b)(e.attributes),n=e.attributes.columnBackgroundColor,a=void 0===n?"":n,i=S(e),r=[];if(r.push({".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("contentAlign")},tablet:{".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("tabletContentAlign")}},mobile:{".ugb-card__title, .ugb-card__subtitle, .ugb-card__description, .ugb-button-container":{textAlign:t("mobileContentAlign")}}}),i.borderRadius){var l=i.columnBackground?".ugb-card__item":".ugb-card__image";r.push(N({},l,{borderRadius:t("borderRadius","%spx !important")}))}r.push(A({},i.columnBackground?Object(o.l)("column%s","ugb-card__item",e.attributes,{importantBackgroundColor:!0}):{})),r.push({".ugb-card__item1 .ugb-card__image":{backgroundImage:t("image1Url","url(%s)")},".ugb-card__item2 .ugb-card__image":{backgroundImage:t("image2Url","url(%s)")},".ugb-card__item3 .ugb-card__image":{backgroundImage:t("image3Url","url(%s)")}}),r.push(A({},Object(o.t)("image%s","ugb-card__image",e.attributes))),i.imageHeight&&r.push.apply(r,B(Object(o.y)(".ugb-card__image","imageBackground%sHeight","height","%spx",e.attributes,!0))),i.imageWidth&&r.push({".ugb-card__image":{width:t("imageBackgroundWidth")?Object(o.c)(t("imageBackgroundWidth")+t("imageBackgroundWidthUnit","%s","%")):void 0},tablet:{".ugb-card__image":{width:t("imageBackgroundTabletWidth")?Object(o.c)(t("imageBackgroundTabletWidth")+t("imageBackgroundTabletWidthUnit","%s","%")):void 0}},mobile:{".ugb-card__image":{width:t("imageBackgroundMobileWidth")?Object(o.c)(t("imageBackgroundMobileWidth")+t("imageBackgroundMobileWidthUnit","%s","%")):void 0}}});var c=e.attributes,s=c.titleColor,u=void 0===s?"":s,b=c.showTitle;(void 0===b||b)&&r.push({".ugb-card__title":A({},Object(o.D)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(o.c)(Object(o.eb)(u,i.columnBackground&&a)),textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-card__title":A({},Object(o.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-card__title":A({},Object(o.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var p=e.attributes,g=p.subtitleColor,m=void 0===g?"":g,d=p.showSubtitle;(void 0===d||d)&&r.push({".ugb-card__subtitle":A({},Object(o.D)("subtitle%s","desktop",e.attributes,{importantSize:!0}),{color:Object(o.c)(Object(o.eb)(m,i.columnBackground&&a)),textAlign:t("subtitleAlign","%s !important")}),tablet:{".ugb-card__subtitle":A({},Object(o.D)("subtitle%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("subtitleTabletAlign","%s !important")})},mobile:{".ugb-card__subtitle":A({},Object(o.D)("subtitle%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("subtitleMobileAlign","%s !important")})}});var f=e.attributes,h=f.descriptionColor,v=void 0===h?"":h,y=f.showDescription;(void 0===y||y)&&r.push({".ugb-card__description":A({},Object(o.D)("description%s","desktop",e.attributes,{importantSize:!0}),{color:Object(o.c)(Object(o.eb)(v,i.columnBackground&&a)),textAlign:t("descriptionAlign","%s !important")}),tablet:{".ugb-card__description":A({},Object(o.D)("description%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("descriptionTabletAlign","%s !important")})},mobile:{".ugb-card__description":A({},Object(o.D)("description%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("descriptionMobileAlign","%s !important")})}});var w=e.attributes.showButton;return(void 0===w||w)&&(r.push(A({},Object(o.p)("button%s","ugb-button",e.attributes))),r.push.apply(r,B(Object(o.y)(".ugb-button-container","button%sAlign","textAlign","%s",e.attributes,!0)))),i.imageSpacing&&r.push.apply(r,B(Object(o.y)(".ugb-card__image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),i.titleSpacing&&r.push.apply(r,B(Object(o.y)(".ugb-card__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),i.subtitleSpacing&&r.push.apply(r,B(Object(o.y)(".ugb-card__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,!0))),i.descriptionSpacing&&r.push.apply(r,B(Object(o.y)(".ugb-card__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),i.buttonSpacing&&r.push.apply(r,B(Object(o.y)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),E.a.all(r)},F=n(9),R=n(12),D=n(7),M=n(13);function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object(c.addFilter)("stackable.card.edit.inspector.layout.before","stackable/card",function(e,t){var n=t.setAttributes,a=t.attributes.design,o=void 0===a?"basic":a;return wp.element.createElement(D.Fragment,null,e,wp.element.createElement(w.y,{initialOpen:!0,selected:o,options:Object(c.applyFilters)("stackable.card.edit.layouts",[{label:Object(l.__)("Basic",r.i18n),value:"basic",image:_.a},{label:Object(l.__)("Plain",r.i18n),value:"plain",image:C.a}]),onChange:function(e){return n({design:e})}},r.showProNotice&&wp.element.createElement(w.bb,null)))}),Object(c.addFilter)("stackable.card.edit.inspector.style.before","stackable/card",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.columns,c=a.borderRadius,s=void 0===c?"":c,u=a.shadow,b=void 0===u?"":u,p=a.showImage,g=void 0===p||p,m=a.showTitle,d=void 0===m||m,f=a.showSubtitle,h=void 0===f||f,v=a.showDescription,y=void 0===v||v,O=a.showButton,k=void 0===O||O,_=a.image1Id,j=void 0===_?"":_,C=a.image2Id,x=void 0===C?"":C,E=a.image3Id,B=void 0===E?"":E,T=a.imageBackgroundWidth,A=void 0===T?"":T,N=a.imageBackgroundTabletWidth,P=void 0===N?"":N,R=a.imageBackgroundMobileWidth,M=void 0===R?"":R,z=a.imageBackgroundWidthUnit,L=void 0===z?"%":z,U=a.imageBackgroundTabletWidthUnit,H=void 0===U?"%":U,W=a.imageBackgroundMobileWidthUnit,G=void 0===W?"%":W,q=a.titleTag,V=void 0===q?"":q,X=a.titleColor,Y=void 0===X?"":X,K=a.descriptionColor,J=void 0===K?"":K,$=a.subtitleColor,Z=void 0===$||$,Q=S(t);return wp.element.createElement(D.Fragment,null,e,wp.element.createElement(F.PanelBody,{title:Object(l.__)("General",r.i18n)},wp.element.createElement(w.b,{label:Object(l.__)("Columns",r.i18n),value:i,onChange:function(e){return n({columns:e})},min:1,max:3,className:"ugb--help-tip-general-columns"}),Q.borderRadius&&wp.element.createElement(w.b,{label:Object(l.__)("Border Radius",r.i18n),value:s,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12",className:"ugb--help-tip-general-border-radius"}),Q.shadow&&wp.element.createElement(w.b,{label:Object(l.__)("Shadow / Outline",r.i18n),value:b,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3",className:"ugb--help-tip-general-shadow"}),wp.element.createElement(w.s,{setAttributes:n,blockAttributes:t.attributes})),Q.columnBackground&&wp.element.createElement(w.X,{title:Object(l.__)("Column Background",r.i18n),id:"column-background",initialOpen:!1,className:"ugb--help-tip-column-background-on-off"},wp.element.createElement(w.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(w.X,{title:Object(l.__)("Image",r.i18n),checked:g,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:[].concat(I(Object(o.r)("image%s")),I(Object(o.w)("imageBackground%sHeight")),I(Object(o.w)("imageBackground%sWidth"))),toggleAttributeName:"showImage"},wp.element.createElement(w.M,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeImage:null,onChangeSize:function(e){n({imageSize:e,image1Url:Object(o.J)(j,e||"large"),image2Url:Object(o.J)(x,e||"large"),image3Url:Object(o.J)(B,e||"large")})}}),Q.imageHeight&&wp.element.createElement(w.cb,{attrNameTemplate:"imageBackground%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Image Height",r.i18n),min:50,max:1e3,allowReset:!0,placeholder:"300",className:"ugb--help-tip-image-height-crop"})),Q.imageWidth&&wp.element.createElement(D.Fragment,null,wp.element.createElement(w.ob,null,wp.element.createElement(w.b,{label:Object(l.__)("Image Width",r.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:A,unit:L,onChange:function(e){return n({imageBackgroundWidth:e})},onChangeUnit:function(e){return n({imageBackgroundWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})),wp.element.createElement(w.ob,{screen:"tablet"},wp.element.createElement(w.b,{label:Object(l.__)("Image Width",r.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:P,unit:H,onChange:function(e){return n({imageBackgroundTabletWidth:e})},onChangeUnit:function(e){return n({imageBackgroundTabletWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})),wp.element.createElement(w.ob,{screen:"mobile"},wp.element.createElement(w.b,{label:Object(l.__)("Image Width",r.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:M,unit:G,onChange:function(e){return n({imageBackgroundMobileWidth:e})},onChangeUnit:function(e){return n({imageBackgroundMobileWidthUnit:e})},placeholder:"50",className:"ugb--help-tip-image-width-crop"})))),wp.element.createElement(w.X,{title:Object(l.__)("Title",r.i18n),id:"title",checked:d,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(I(Object(o.B)("title%s")),["titleTag","titleColor"],I(Object(o.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(w.lb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(w.G,{value:V||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(w.r,{value:Y,onChange:function(e){return n({titleColor:e})},label:Object(l.__)("Title Color",r.i18n)}),wp.element.createElement(w.cb,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(w.X,{title:Object(l.__)("Subtitle",r.i18n),id:"subtitle",checked:h,onChange:function(e){return n({showSubtitle:e})},toggleOnSetAttributes:[].concat(I(Object(o.B)("subtitle%s")),["subtitleColor"],I(Object(o.w)("subtitle%sAlign"))),toggleAttributeName:"showSubtitle"},wp.element.createElement(w.lb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(w.r,{value:Z,onChange:function(e){return n({subtitleColor:e})},label:Object(l.__)("Subtitle Color",r.i18n)}),wp.element.createElement(w.cb,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-title"}))),wp.element.createElement(w.X,{title:Object(l.__)("Description",r.i18n),id:"description",checked:y,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(I(Object(o.B)("description%s")),["descriptionColor"],I(Object(o.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(w.lb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(w.r,{value:J,onChange:function(e){return n({descriptionColor:e})},label:Object(l.__)("Description Color",r.i18n)}),wp.element.createElement(w.cb,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-description"}))),wp.element.createElement(w.X,{title:Object(l.__)("Button",r.i18n),id:"button",checked:k,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(I(Object(o.n)("button%s")),I(Object(o.w)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(w.m,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes,onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1}),wp.element.createElement(w.t,null),wp.element.createElement(w.cb,{attrNameTemplate:"Button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.e,{label:Object(l.__)("Align",r.i18n),className:"ugb--help-tip-alignment-button"}))),wp.element.createElement(w.Y,{initialOpen:!1,blockProps:t},Q.imageSpacing&&wp.element.createElement(w.cb,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Image",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-image"})),Q.titleSpacing&&wp.element.createElement(w.cb,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Title",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),Q.subtitleSpacing&&wp.element.createElement(w.cb,{attrNameTemplate:"subtitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Subtitle",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-title"})),Q.descriptionSpacing&&wp.element.createElement(w.cb,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Description",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-description"})),Q.buttonSpacing&&wp.element.createElement(w.cb,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Button",r.i18n),min:-50,max:100,allowReset:!0,className:"ugb--help-tip-spacing-button"}))))});var L=Object(R.compose)(O.i,O.g,O.d,Object(O.h)(),Object(O.c)(["Title%sAlign","Subtitle%sAlign","Description%sAlign","Button%sAlign"]),Object(O.a)(P,{editorMode:!0}),Object(O.b)([[".ugb-card__title","title"],[".ugb-card__subtitle","subtitle"],[".ugb-card__description","description"],[".ugb-button","button"],[".ugb-card__item","column-background"]]),Object(M.withSelect)(function(e,t){Object(o.f)(t.attributes.image1Id,e),Object(o.f)(t.attributes.image2Id,e),Object(o.f)(t.attributes.image3Id,e)}))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,s=a.columns,u=void 0===s?2:s,b=a.design,p=void 0===b?"basic":b,g=a.shadow,f=void 0===g?"":g,h=a.imageSize,v=void 0===h?"":h,y=a.titleTag,O=void 0===y?"h4":y,k=a.showImage,_=void 0===k||k,j=a.showTitle,C=void 0===j||j,x=a.showSubtitle,E=void 0===x||x,B=a.showDescription,T=void 0===B||B,A=a.showButton,N=void 0===A||A,P=a.buttonIcon,F=void 0===P?"":P,R=S(e),M=m()([t,"ugb-card--v2","ugb-card--design-".concat(p),"ugb-card--columns-".concat(u)],Object(c.applyFilters)("stackable.card.mainclasses",{},e));return wp.element.createElement(w.j.Edit,{className:M,blockProps:e,render:function(){return wp.element.createElement(D