Stackable – Page Builder Gutenberg Blocks - Version 2.0.3

Version Description

  • Fixed: Jetpack Search compatibility may show an error
  • Fixed: Top/bottom margins of full-width Separator blocks (and other full-width blocks) when migrating from v1
  • Fixed: Testimonial basic 2 layout from v1 suddenly have shadows
  • Fixed: Feature Grid block now estimates a closer image size when migrating from v1
  • Fixed: Container block's vertical align option wasn't being followed
  • Fixed: Blog Posts block strips out strings with a dollar sign followed by a number
  • New: Decrease minimum block margins to -500px and -100%
Download this release

Release Info

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

Code changes from version 2.0.2 to 2.0.3

dist/dummy-block-registration.js CHANGED
@@ -344,7 +344,10 @@ registerBlockType( 'ugb/container', {
344
 
345
  ],
346
  },
347
- } )
 
 
 
348
  registerBlockType( 'ugb/count-up', {
349
  title: __( 'Count Up', i18n ),
350
  description: __( 'Showcase your stats. Display how many customers you have or the number of downloads of your app.', i18n ),
344
 
345
  ],
346
  },
347
+ }
348
+
349
+ // Remove the default way of how the column spacing -> vertical align works since we are using another method in `style.js`
350
+ addFilter( 'stackable.container.advanced-column-spacing.vertical-align', 'stackable/container', () => ( {} ) ) )
351
  registerBlockType( 'ugb/count-up', {
352
  title: __( 'Count Up', i18n ),
353
  description: __( 'Showcase your stats. Display how many customers you have or the number of downloads of your app.', i18n ),
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}[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__inspector__icon{flex-wrap:wrap}.ugb-blog-post__inspector-spinner>*{margin:0 auto 16px;display:block;float: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-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}[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>div,.ugb-advanced-toolbar-control .components-toolbar>div>button,.ugb-advanced-toolbar-control .components-toolbar>div>button>svg{width:100%!important}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control{justify-content:center}.ugb-advanced-toolbar-control__text-button{height:30px;width:100%;justify-content:center;align-items:center;display:flex;border-radius:4px}.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-advanced-toolbar-control .components-toolbar .components-toolbar__control:not(:disabled):focus{outline:2px solid transparent}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control:hover .ugb-advanced-toolbar-control__text-button{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.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;background:#ddd;margin:24px -16px}.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-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}.components-toolbar.ugb-toolbar-full-width>div,.components-toolbar.ugb-toolbar-full-width>div>button,.components-toolbar.ugb-toolbar-full-width>div>button>svg{width:100%!important}.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{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-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:120px;width:279px;background:#fff;z-index:2;box-shadow:0 20px 30px -20px rgba(0,0,0,.1);margin-top:-16px!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}.ugb-text-toolbar{display:flex}.ugb-text-toolbar>div{flex:1}.ugb-text-toolbar .components-button{width:100%!important;justify-content:center}.ugb-text-toolbar__label{border-radius:4px;padding:5px;width:100%;height:30px;align-items:center;justify-content:center;display:flex}.components-button:not(:disabled):hover>.ugb-text-toolbar__label{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-button:not(:disabled).is-active>.ugb-text-toolbar__label{outline:none;color:#fff;box-shadow:none;background:#555d66}.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}.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:6px;left:auto;right:auto;margin:0 5px}.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-]{z-index:1}@supports (-webkit-overflow-scrolling:touch){[class*=ugb-][style*="background-attachment:fixed"],[class*=ugb-][style*="background-attachment: fixed"]{background-attachment:scroll!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}.ugb-block-design-panel .components-radio-control__option,[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}[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__inspector__icon{flex-wrap:wrap}.ugb-blog-post__inspector-spinner>*{margin:0 auto 16px;display:block;float: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-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}[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>div,.ugb-advanced-toolbar-control .components-toolbar>div>button,.ugb-advanced-toolbar-control .components-toolbar>div>button>svg{width:100%!important}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control{justify-content:center}.ugb-advanced-toolbar-control__text-button{height:30px;width:100%;justify-content:center;align-items:center;display:flex;border-radius:4px}.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-advanced-toolbar-control .components-toolbar .components-toolbar__control:not(:disabled):focus{outline:2px solid transparent}.ugb-advanced-toolbar-control .components-toolbar .components-toolbar__control:hover .ugb-advanced-toolbar-control__text-button{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff}.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;background:#ddd;margin:24px -16px}.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-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}.components-toolbar.ugb-toolbar-full-width>div,.components-toolbar.ugb-toolbar-full-width>div>button,.components-toolbar.ugb-toolbar-full-width>div>button>svg{width:100%!important}.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{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-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:120px;width:279px;background:#fff;z-index:2;box-shadow:0 20px 30px -20px rgba(0,0,0,.1);margin-top:-16px!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}.ugb-text-toolbar{display:flex}.ugb-text-toolbar>div{flex:1}.ugb-text-toolbar .components-button{width:100%!important;justify-content:center}.ugb-text-toolbar__label{border-radius:4px;padding:5px;width:100%;height:30px;align-items:center;justify-content:center;display:flex}.components-button:not(:disabled):hover>.ugb-text-toolbar__label{box-shadow:inset 0 0 0 1px #555d66,inset 0 0 0 2px #fff;outline:2px solid transparent;outline-offset:-2px}.components-button:not(:disabled).is-active>.ugb-text-toolbar__label{outline:none;color:#fff;box-shadow:none;background:#555d66}.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}.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:6px;left:auto;right:auto;margin:0 5px}.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-]{z-index:1}@supports (-webkit-overflow-scrolling:touch){[class*=ugb-][style*="background-attachment:fixed"],[class*=ugb-][style*="background-attachment: fixed"]{background-attachment:scroll!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}.ugb-block-design-panel .components-radio-control__option,[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,i,l=t[0],c=t[1],s=t[2],b=0,g=[];b<l.length;b++)i=l[b],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&g.push(o[i][0]),o[i]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(u&&u(t);g.length;)g.shift()();return r.push.apply(r,s||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,l=1;l<n.length;l++){var c=n[l];0!==o[c]&&(a=!1)}a&&(r.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},o={0:0},r=[];function i(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,i),n.l=!0,n.exports}i.m=e,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.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 r.push([143,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=[],r={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"},i=function(e){return!e.match(/^(sans[-+]serif|serif|monospace|serif-alt)$/i)},l=function(e){if(!o.includes(e)){if(document&&i(e)){var t=document.createElement("link");t.setAttribute("href",function(e){var t=e.replace(/ /g,"+"),n=r[a.locale]?"&subset=".concat(r):"";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 i(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(11),b=n(0);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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){p(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 p(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 m({},n,{},a.reduce(function(n,a,r){var i=m({},t);return void 0!==i.selector&&(i.selector=Object(b.sprintf)(i.selector,r+1)),n[Object(u.camelCase)(Object(b.sprintf)(e,o,a))]=i,n},{}))},{}):n.reduce(function(n,a,o){var r=m({},t);return void 0!==r.selector&&(r.selector=Object(b.sprintf)(r.selector,o+1)),n[Object(u.camelCase)(Object(b.sprintf)(e,a))]=r,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))},r=nt(n,o,""),i=a.importantSize,l=void 0!==i&&i,s=a.important,g=void 0!==s&&s,m={};return m="tablet"!==t&&"mobile"!==t?{fontFamily:""!==r("FontFamily")?et(c(r("FontFamily"))):void 0,fontSize:""!==r("FontSize")?et("".concat(r("FontSize")).concat(r("FontSizeUnit")||"px"),l):void 0,fontWeight:""!==r("FontWeight")?r("FontWeight"):void 0,textTransform:""!==r("TextTransform")?r("TextTransform"):void 0,letterSpacing:""!==r("LetterSpacing")?"".concat(r("LetterSpacing"),"px"):void 0,lineHeight:""!==r("LineHeight")?"".concat(r("LineHeight")).concat(r("LineHeightUnit")||"em"):void 0}:"tablet"===t?{fontSize:""!==r("TabletFontSize")?et("".concat(r("TabletFontSize")).concat(r("TabletFontSizeUnit")||"px"),l):void 0,lineHeight:""!==r("TabletLineHeight")?"".concat(r("TabletLineHeight")).concat(r("TabletLineHeightUnit")||"em"):void 0}:{fontSize:""!==r("MobileFontSize")?et("".concat(r("MobileFontSize")).concat(r("MobileFontSizeUnit")||"px"),l):void 0,lineHeight:""!==r("MobileLineHeight")?"".concat(r("MobileLineHeight")).concat(r("MobileLineHeightUnit")||"em"):void 0},g?Ze(m):m};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 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 S=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){T(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"]))},B=S,A=function(e){return Object.keys(S(e))};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 N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(n,!0).forEach(function(t){F(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 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))},r=nt(n,o),i=a.importantBackgroundColor,l=void 0!==i&&i,c=r("BackgroundCustomSize")?r("BackgroundCustomSize")+(r("BackgroundCustomSizeUnit")||"%"):void 0,s=r("TabletBackgroundCustomSize")?r("TabletBackgroundCustomSize")+(r("TabletBackgroundCustomSizeUnit")||"%"):void 0,g=r("MobileBackgroundCustomSize")?r("MobileBackgroundCustomSize")+(r("MobileBackgroundCustomSizeUnit")||"%"):void 0,m=et(r("BackgroundColor"),l);return r("BackgroundColorType")||void 0===n[o("BackgroundColorOpacity")]||""===n[o("BackgroundColorOpacity")]||r("BackgroundMediaURL")||r("TabletBackgroundMediaURL")||r("MobileBackgroundMediaURL")||(m=et("".concat(Et(r("BackgroundColor")||"#ffffff",r("BackgroundColorOpacity")||0)),l)),"tablet"!==t&&"mobile"!==t?{backgroundColor:m,backgroundAttachment:r("FixedBackground")?"fixed":void 0,backgroundImage:r("BackgroundMediaURL","url(%s)"),backgroundPosition:r("BackgroundPosition"),backgroundRepeat:r("BackgroundRepeat"),backgroundSize:r("BackgroundSize")?"custom"!==r("BackgroundSize")?r("BackgroundSize"):c:void 0,backgroundBlendMode:r("BackgroundImageBlendMode")}:"tablet"===t?{backgroundImage:r("TabletBackgroundMediaURL","url(%s)"),backgroundPosition:r("TabletBackgroundPosition"),backgroundRepeat:r("TabletBackgroundRepeat"),backgroundSize:r("TabletBackgroundSize")?"custom"!==r("TabletBackgroundSize")?r("TabletBackgroundSize"):s:void 0}:{backgroundImage:r("MobileBackgroundMediaURL","url(%s)"),backgroundPosition:r("MobileBackgroundPosition"),backgroundRepeat:r("MobileBackgroundRepeat"),backgroundSize:r("MobileBackgroundSize")?"custom"!==r("MobileBackgroundSize")?r("MobileBackgroundSize"):g: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))},r=nt(n,o),i=a.importantBackgroundColor,l=void 0!==i&&i,c=parseInt(r("BackgroundTintStrength","",5)||0,10)/10,s="gradient"===r("BackgroundColorType"),g=Et(r("BackgroundColor2")||"#ffffff",0),m=Et(r("BackgroundColor")||"#ffffff",0),p="".concat(r("BackgroundGradientLocation1")||"0","%"),d="".concat(r("BackgroundGradientLocation2")||"100","%");return"tablet"!==t&&"mobile"!==t?{backgroundColor:et(!s&&r("BackgroundColor")?r("BackgroundColor"):void 0,l),backgroundImage:et(s?"linear-gradient(".concat(r("BackgroundGradientDirection","%sdeg","90deg"),", ").concat(r("BackgroundColor")||g," ").concat(p,", ").concat(r("BackgroundColor2")||m," ").concat(d,")"):void 0,l),opacity:r("BackgroundMediaURL")?c:void 0,mixBlendMode:s?r("BackgroundGradientBlendMode"):void 0}:"tablet"===t?{opacity:r("TabletBackgroundMediaURL")?c:void 0}:{opacity:r("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]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return F(n={},".".concat(o),N({},R(a,"desktop",r,i))),F(n,".".concat(o,":before"),N({},D(a,"desktop",r,i))),F(n,"tablet",(F(e={},".".concat(o),N({},R(a,"tablet",r,i))),F(e,".".concat(o,":before"),N({},D(a,"tablet",r,i))),e)),F(n,"mobile",(F(t={},".".concat(o),N({},R(a,"mobile",r,i))),F(t,".".concat(o,":before"),N({},D(a,"mobile",r,i))),t)),n},I=R,L=n(7),U=n.n(L),H=n(9),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"),r=n("MobileBackgroundMediaUrl"),i=U()(["ugb-video-background"],{"ugb--video-hide-tablet":o,"ugb--video-hide-mobile":r}),l=U()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-mobile":r}),c=U()(["ugb-video-background"],{"ugb--video-hide-desktop":!0,"ugb--video-hide-tablet":!0});return wp.element.createElement(H.Fragment,null,jt(a)&&wp.element.createElement("video",{className:i,autoPlay:!0,muted:!0,loop:!0,src:a}),jt(o)&&wp.element.createElement("video",{className:l,autoPlay:!0,muted:!0,loop:!0,src:o}),jt(r)&&wp.element.createElement("video",{className:c,autoPlay:!0,muted:!0,loop:!0,src:r}))};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 Y=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,r=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"])),r,e)},X=Y,K=n(5),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 Q=J.a.createElement("circle",{cx:50,cy:50,r:50}),Z=function(e){return J.a.createElement("svg",$({viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},e),Q)};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"}),re=function(e){return J.a.createElement("svg",ae({viewBox:"0 0 200 200",xmlns:"http://www.w3.org/2000/svg"},e),oe)},ie=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(4);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:Z,square:ne,blob1:re},ge=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),r=o("Shape"),i=function(e){return o("Square")&&o(e)?o(e,"%spx"):"auto"};return"tablet"!==t&&"mobile"!==t?{borderRadius:r?void 0:o("BorderRadius","%spx"),width:o("Width","%spx"),height:o("Width")?et(i("Width")):void 0}:"tablet"===t?{width:o("TabletWidth","%spx"),height:o("TabletWidth")?et(i("TabletWidth")):void 0}:{width:o("MobileWidth","%spx"),height:o("MobileWidth")?et(i("MobileWidth")):void 0}},me=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 r=a("ShapeStretch"),i=a("ShapeFlipX"),l=a("ShapeFlipY"),c=Object(le.applyFilters)("stackable.image.shape.svgs",be)[o],s=wp.element.createElement(c,{preserveAspectRatio:!["","square"].includes(o)&&r?"none":void 0,transform:i||l?"scale(".concat(i?-1:1,",").concat(l?-1:1,")"):void 0}),g=btoa(ie(s));return{"-webkit-mask-image":"url('data:image/svg+xml;base64,".concat(g,"')"),"mask-image":"url('data:image/svg+xml;base64,".concat(g,"')")}},pe=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({},ge(t,"desktop",a,o),{},me(t,a,o))),ue(e,"tablet",ue({},".".concat(n),se({},ge(t,"tablet",a,o)))),ue(e,"mobile",ue({},".".concat(n),se({},ge(t,"mobile",a,o)))),e},de=n(14),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 Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(n,!0).forEach(function(t){Se(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 Se(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=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 Se(e={},".".concat(n),Te({},Be(t,"desktop",a,o))),Se(e,"tablet",Se({},".".concat(n),Te({},Be(t,"tablet",a,o)))),Se(e,"mobile",Se({},".".concat(n),Te({},Be(t,"mobile",a,o)))),e};function Pe(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 Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(n,!0).forEach(function(t){Fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(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,r=t.defaultText,i=void 0===r?Object(b.__)("Button text",a.i18n):r,l=t.exclude,c=void 0===l?[]:l,s=t.include,u=void 0===s?[]:s;return y(v(Ne({},j(e),{},f(e,{type:"string",source:"html",selector:"".concat(o," span"),default:i},["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(13),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=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]:{},a=function(t){return Object(u.camelCase)(Object(b.sprintf)(e,t))},o=nt(n,a,""),r=[];r.push(He({},".".concat(t," .ugb-button--inner"),Ue({},x(e,"desktop",n))));var i=o("BackgroundColor2"),l=o("BackgroundColor"),c=!1;if(""===o("Design")||"basic"===o("Design")){var s;r.push((He(s={},".".concat(t),{backgroundColor:""!==o("BackgroundColor")?o("BackgroundColor"):void 0,backgroundImage:"gradient"===o("BackgroundColorType")?"linear-gradient(".concat(""!==n[a("BackgroundGradientDirection")]?o("BackgroundGradientDirection","%sdeg","90deg"):"90deg",", ").concat(o("BackgroundColor")||i,", ").concat(o("BackgroundColor2")||l,")"):void 0,paddingTop:""!==o("PaddingTop")?"".concat(o("PaddingTop"),"px"):void 0,paddingRight:""!==o("PaddingRight")?"".concat(o("PaddingRight"),"px"):void 0,paddingBottom:""!==o("PaddingBottom")?"".concat(o("PaddingBottom"),"px"):void 0,paddingLeft:""!==o("PaddingLeft")?"".concat(o("PaddingLeft"),"px"):void 0}),He(s,".".concat(t," .ugb-button--inner, .").concat(t," svg"),{color:Qe(o("TextColor"),o("BackgroundColor"))}),He(s,".".concat(t,":hover .ugb-button--inner, .").concat(t,":hover svg"),{color:Qe(o("HoverTextColor"),o("HoverBackgroundColor"))}),He(s,".".concat(t,":hover"),{backgroundColor:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0}),s)),c=""!==o("HoverBackgroundColor");var g="gradient"===o("BackgroundColorType")&&(o("HoverBackgroundColor")||o("HoverBackgroundColor2")||o("HoverBackgroundGradientDirection"));r.push(He({},".".concat(t,":before"),{content:g?'""':void 0,backgroundImage:g?"linear-gradient(".concat(o("HoverBackgroundGradientDirection","%sdeg")||o("BackgroundGradientDirection","%sdeg","90deg"),", ").concat(o("HoverBackgroundColor")||o("BackgroundColor")||i,", ").concat(o("HoverBackgroundColor2")||o("BackgroundColor2")||l,")"):void 0})),c=c||g||""!==o("HoverTextColor")}if("ghost"===o("Design")){var m,p;if(r.push((He(m={},".".concat(t),{borderColor:""!==o("BackgroundColor")?o("BackgroundColor"):void 0,borderWidth:""!==o("BorderWidth")?"".concat(o("BorderWidth"),"px"):void 0,paddingTop:""!==o("PaddingTop")?"".concat(o("PaddingTop"),"px"):void 0,paddingRight:""!==o("PaddingRight")?"".concat(o("PaddingRight"),"px"):void 0,paddingBottom:""!==o("PaddingBottom")?"".concat(o("PaddingBottom"),"px"):void 0,paddingLeft:""!==o("PaddingLeft")?"".concat(o("PaddingLeft"),"px"):void 0}),He(m,".".concat(t," .ugb-button--inner"),{color:""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),He(m,".".concat(t,":hover"),{borderColor:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0}),He(m,".".concat(t,":hover .ugb-button--inner"),{color:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),m)),""!==o("Icon"))r.push((He(p={},".".concat(t,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),He(p,".".concat(t,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),p));c=""!==o("HoverBackgroundColor");var d,f=o("HoverGhostToNormal");if(f)r.push((He(d={},".".concat(t,":before"),{content:'""',backgroundImage:"linear-gradient(".concat(o("HoverBackgroundGradientDirection","%sdeg","90deg"),", ").concat(o("HoverBackgroundColor")||o("BackgroundColor"),", ").concat(o("HoverBackgroundColor2")||o("HoverBackgroundColor")||o("BackgroundColor"),")"),top:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0,right:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0,bottom:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0,left:""!==o("BorderWidth")?"-".concat(o("BorderWidth"),"px"):void 0}),He(d,".".concat(t,":hover"),{backgroundColor:et(""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):o("BackgroundColor"))}),He(d,".".concat(t,":hover .ugb-button--inner"),{color:et(Qe(o("HoverTextColor"),o("HoverBackgroundColor")||o("BackgroundColor")))}),d)),""!==o("Icon")&&r.push(He({},".".concat(t,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:et(Qe(o("HoverTextColor"),o("HoverBackgroundColor")||o("BackgroundColor")))})),c=!0}if("plain"===o("Design")){var h,v;if(r.push((He(h={},".".concat(t," .ugb-button--inner"),{color:""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),He(h,".".concat(t,":hover .ugb-button--inner"),{color:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0}),h)),""!==o("Icon"))r.push((He(v={},".".concat(t,".ugb-button--has-icon.ugb-button--has-icon svg"),{color:""!==o("BackgroundColor")?o("BackgroundColor"):void 0}),He(v,".".concat(t,".ugb-button--has-icon.ugb-button--has-icon:hover svg"),{color:""!==o("HoverBackgroundColor")?o("HoverBackgroundColor"):void 0}),v));c=""!==o("HoverBackgroundColor")}if("link"!==o("Design")){var y,w=""!==n[a("IconSpacing")]&&void 0!==n[a("IconSpacing")]?"".concat(o("IconSpacing","%spx",16)):void 0,O=n[a("BorderRadius")];r.push((He(y={},".".concat(t),{opacity:""!==o("Opacity")?o("Opacity"):void 0,borderRadius:""!==O&&void 0!==O?et("".concat(O,"px")):void 0}),He(y,".".concat(t,":before"),{borderRadius:""!==O&&void 0!==O?et("".concat(O,"px")):void 0}),He(y,".".concat(t,":hover"),{opacity:""!==o("HoverOpacity")?o("HoverOpacity"):c?1:void 0}),He(y,".".concat(t,".ugb-button--has-icon.ugb-button--has-icon svg"),{marginLeft:""!==o("Icon")&&"right"===o("IconPosition")?w:void 0,marginRight:""!==o("Icon")&&"right"!==o("IconPosition")?w:void 0,width:""!==o("IconSize")?"".concat(o("IconSize"),"px"):void 0,height:""!==o("IconSize")?"".concat(o("IconSize"),"px"):void 0}),y))}return Ie.a.all(r)},Ge=n(37),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 Ye(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){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&&Xe(t)?"#ffffff":n},Qe=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?Xe(t)?n:a:o},Ze=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){Ye(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,Ye({},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",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=nt(r);return[(t={},Ye(t,e,Ye({},a,et(l(Object(b.sprintf)(n,""),o),i))),Ye(t,"tablet",Ye({},e,Ye({},a,et(l(Object(b.sprintf)(n,"Tablet"),o),i)))),Ye(t,"mobile",Ye({},e,Ye({},a,et(l(Object(b.sprintf)(n,"Mobile"),o),i)))),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]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n,i=null!==t?t:function(e){return e},l=void 0===e[i(a)]?"":e[i(a)];return""!==l?o?Object(b.sprintf)(o.replace(/%$/,"%%"),l):l:r}};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){rt(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 rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var it=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,r=void 0===o?[]:o,i=t.include,l=void 0===i?[]:i,c=Object.keys(gt).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),r,e),l,e)},lt=it;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]:{},r=function(e){return Object(u.camelCase)(Object(b.sprintf)(n,e))},i=nt(o,r,""),l=[];if(l.push(st({},We(n,a,o))),!i("UseSocialColors"))return Ie.a.all(l);""!==i("Design")&&"basic"!==i("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"===i("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,g=i("HoverGhostToNormal");if(g)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"===i("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)},gt={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"}},mt=n(18);function pt(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?pt(n,!0).forEach(function(t){ft(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pt(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(mt.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,r=n.getBlockAttributes,i=Object(de.dispatch)("core/block-editor"),l=i.updateBlockAttributes,c=Object(de.select)("core/blocks"),b=c.getBlockType,g=t||o();if(g){var m=r(g),p=a(g).replace(/^\w+\//g,""),d=b(a(g)).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(p,".design.apply-block-attributes"),dt({},f,{},e),m);s(h),l(g,Object(u.omit)(h,["uniqueClass"]))}},Ot=n(42),kt=n.n(Ot);n.d(t,"X",function(){return _t}),n.d(t,"bb",function(){return jt}),n.d(t,"L",function(){return Ct}),n.d(t,"F",function(){return xt}),n.d(t,"N",function(){return Et}),n.d(t,"V",function(){return Tt}),n.d(t,"g",function(){return St}),n.d(t,"W",function(){return Bt}),n.d(t,"K",function(){return Pt}),n.d(t,"Z",function(){return Nt}),n.d(t,"P",function(){return Rt}),n.d(t,"Y",function(){return Dt}),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 B}),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 X}),n.d(t,"v",function(){return pe}),n.d(t,"u",function(){return me}),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 Xe}),n.d(t,"T",function(){return Ke}),n.d(t,"U",function(){return Je}),n.d(t,"cb",function(){return $e}),n.d(t,"db",function(){return Qe}),n.d(t,"d",function(){return Ze}),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 gt}),n.d(t,"Q",function(){return yt}),n.d(t,"e",function(){return wt}),n.d(t,"ab",function(){return ie});var _t=function(e,t){return Array.from({length:t-e},function(t,n){return n+e})},jt=function(e){return e.match(/(mp4|webm|ogg)/i)},Ct=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})},xt=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)},Et=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=kt()("#".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},St=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,r){var i=Bt(r,t,n);return"".concat(a," ").concat(i," ").concat(o)});var r=Bt(a,t,n);return"".concat(r," ").concat(o)}).trim()},Bt=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?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(", ")},At="desktop",Pt=function(){return At},Nt=function(e){return At=e},Ft=!1,Rt=function(){return Ft},Dt=function(e){return Ft=e}},function(e,t,n){"use strict";var a=n(16),o=n(2),r=n(11),i=n(7),l=n.n(i),c=n(9),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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(n,!0).forEach(function(t){m(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 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 p=function(e){var t=e.setAttributes,n=function(t){return Object(r.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},i=Object.keys(o.a).reduce(function(e,o){var i;return g({},e,(m(i={},"".concat(o,"Url"),a("".concat(o,"Url"))),m(i,"onChange".concat(Object(r.upperFirst)(o),"Url"),function(e){return t(m({},n("".concat(o,"Url")),e))}),i))},{});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(m({},n("NewTab"),e))},isSelected:e.isSelected},i,e))};p.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},designDefault:"basic"},(p.Content=function(e){var t=function(t){return Object(r.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 g({},e,m({},"".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=p;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(r.upperFirst)(t))]||e["".concat(t,"Url")]&&!1!==e["show".concat(Object(r.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(r.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(r.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(r.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(r.upperFirst)(t)),null),n))},{});w.Content.defaultProps=h({useSocialColors:!0},k);var _=w,j=n(12),C=n(1),x=n(8),E=n(14),T=n(32);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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=[{icon:"align-wide",title:Object(s.__)("Occupy Entire Width",C.i18n),align:"full"},{icon:"align-pull-left",title:Object(s.__)("Half & Align Left",C.i18n),align:"left"},{icon:"align-center",title:Object(s.__)("Half & Align Center",C.i18n),align:"center"},{icon:"align-pull-right",title:Object(s.__)("Half & Align Right",C.i18n),align:"right"}];Object(j.compose)(Object(T.withViewportMatch)({isLargeViewport:"medium"}),Object(E.withSelect)(function(e,t){var n=t.clientId,a=t.isLargeViewport,o=t.isCollapsed,r=e("core/editor").getEditorSettings,i=e("core/block-editor").getBlockRootClientId;return{isCollapsed:o||!a||!r().hasFixedToolbar&&i(n)}}))(function(e){var t=e.isCollapsed,n=e.value,a=e.onChange;function o(e){return function(){return a(e)}}var i=Object(r.find)(A,function(e){return e.align===n});return wp.element.createElement(x.Toolbar,{isCollapsed:t,icon:i?i.icon:"align-wide",label:Object(s.__)("Change Horizontal Alignment",C.i18n),controls:A.map(function(e){var t=e.align;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){B(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,{isActive:n===t,onClick:o(t)})})})});var P=n(5),N=n.n(P);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=N.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"}),D=function(e){return N.a.createElement("svg",F({viewBox:"0 0 20 20",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=N.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"}),I=function(e){return N.a.createElement("svg",M({viewBox:"0 0 20 20",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=N.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"}),H=function(e){return N.a.createElement("svg",L({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),U)};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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var q=[{icon:wp.element.createElement(H,null),title:Object(s.__)("Align text top",C.i18n),align:"flex-start"},{icon:wp.element.createElement(I,null),title:Object(s.__)("Align text center",C.i18n),align:"center"},{icon:wp.element.createElement(D,null),title:Object(s.__)("Align text bottom",C.i18n),align:"flex-end"}];Object(j.compose)(Object(T.withViewportMatch)({isLargeViewport:"medium"}),Object(E.withSelect)(function(e,t){var n=t.clientId,a=t.isLargeViewport,o=t.isCollapsed,r=e("core/editor").getEditorSettings,i=e("core/block-editor").getBlockRootClientId;return{isCollapsed:o||!a||!r().hasFixedToolbar&&i(n)}}))(function(e){var t=e.isCollapsed,n=e.value,a=e.onChange,o=e.isDisabled;function i(e){return function(){return a(n===e?void 0:e)}}var l=Object(r.find)(q,function(e){return e.align===n});return wp.element.createElement(x.Toolbar,{isCollapsed:t,icon:l?l.icon:wp.element.createElement(H,null),label:Object(s.__)("Change Vertical Alignment",C.i18n),controls:q.map(function(e){var t=e.align;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(n,!0).forEach(function(t){G(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}({},e,{isDisabled:o,isActive:n===t,onClick:i(t)})})})});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=N.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),X=N.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),K=N.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"}),J=function(e){return N.a.createElement("svg",V({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),Y,X,K)},$=n(6);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 Z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(n,!0).forEach(function(t){ee(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 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=function(e){var t=e.imageID,n=e.imageURL,a=e.onRemove,o=e.className,r=e.allowedTypes,i=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=Z({},s,{backgroundImage:n&&!i?"url(".concat(n,")"):void 0});return wp.element.createElement($.MediaUpload,{onSelect:function(t){var n=t.url,a=t.width,o=t.height,r=e.imageSize||"full";t.sizes[r]&&(n=t.sizes[r].url,a=t.sizes[r].width,o=t.sizes[r].height),e.onChange(Z({},t,{url:n,width:a,height:o}))},allowedTypes:r,value:t,render:function(e){return n&&i?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(x.Dashicon,{icon:"no"})),i):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(x.Dashicon,{icon:"no"})),!n&&wp.element.createElement(J,null))}})};te.defaultProps={imageID:"",imageURL:"",imageSize:"full",onChange:function(e){e.url,e.id},onRemove:null,className:"",allowedTypes:["image"],render:void 0,hasRemove:!0,style:{}};var ne=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=function(e){return wp.element.createElement(x.BaseControl,{label:e.label,id:"url-input-control",help:e.help},wp.element.createElement($.URLInput,ae({className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1},Object(r.omit)(e,["label","help"]))))};oe.defaultProps={label:Object(s.__)("URL",C.i18n),help:null,value:"",onChange:function(){}};var re=oe,ie=Object(s.__)("Show more tools & options",C.i18n),le=Object(s.__)("Hide more tools & options",C.i18n),ce=Object(j.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(x.Popover,{className:a,focusOnMount:!1,position:"bottom center"},wp.element.createElement(x.PanelBody,null,wp.element.createElement("div",{className:"ugb-url-input-popover__input-wrapper"},wp.element.createElement(x.Dashicon,{className:"ugb-url-input-control__icon",icon:"admin-links"}),e.onChange&&!e.disableSuggestions&&wp.element.createElement($.URLInput,{className:"ugb-url-input-control__input",value:e.value,onChange:e.onChange,autoFocus:!1}),e.onChange&&e.disableSuggestions&&wp.element.createElement(x.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",C.i18n)}),(e.onChangeNewTab||e.onChangeNoFollow)&&wp.element.createElement(x.IconButton,{className:o,icon:"ellipsis",label:t?le:ie,onClick:function(){return n({openAdvanced:!t})},"aria-expanded":t})),e.onChangeNewTab&&t&&wp.element.createElement(x.ToggleControl,{label:Object(s.__)("Open link in new tab",C.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeNoFollow&&t&&wp.element.createElement(x.ToggleControl,{label:Object(s.__)("Nofollow link",C.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow})))});ce.defaultProps={value:"",disableSuggestions:!1,onChange:null,newTab:!1,noFollow:!1,onChangeNewTab:null,onChangeNoFollow:null};var se=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=Object(s.__)("(current %s: %s)",C.i18n),ge=Object(j.compose)([$.withColorContext,Object(j.ifCondition)(function(e){return e.hasColorsToChoose})])(function(e){var t=e.colors,n=e.disableCustomColors,a=e.label,o=e.onChange,r=e.value,i=Object($.getColorObjectByColorValue)(t,r),l=i&&i.name,u=Object(s.sprintf)(be,a.toLowerCase(),l||r),b=wp.element.createElement(c.Fragment,null,a,r&&wp.element.createElement(x.ColorIndicator,{colorValue:r,"aria-label":u}));return wp.element.createElement(x.BaseControl,{className:"editor-color-palette-control",id:"editor-color-palette-control",label:b},wp.element.createElement(x.ColorPalette,ue({className:"editor-color-palette-control__color-palette",value:r,onChange:o},{colors:t,disableCustomColors:n})))}),me=function(e){return wp.element.createElement(x.SelectControl,{label:e.label,value:e.value,help:e.help,options:[{value:"",label:Object(s.__)("None",C.i18n)},{value:"normal",label:Object(s.__)("Normal",C.i18n)},{value:"multiply",label:Object(s.__)("Multiply",C.i18n)},{value:"screen",label:Object(s.__)("Screen",C.i18n)},{value:"overlay",label:Object(s.__)("Overlay",C.i18n)},{value:"darken",label:Object(s.__)("Darken",C.i18n)},{value:"lighten",label:Object(s.__)("Lighten",C.i18n)},{value:"color-dodge",label:Object(s.__)("Color Dodge",C.i18n)},{value:"color-burn",label:Object(s.__)("Color Burn",C.i18n)},{value:"hard-light",label:Object(s.__)("Hard Light",C.i18n)},{value:"soft-light",label:Object(s.__)("Soft Light",C.i18n)},{value:"difference",label:Object(s.__)("Difference",C.i18n)},{value:"exclusion",label:Object(s.__)("Exclusion",C.i18n)},{value:"hue",label:Object(s.__)("Hue",C.i18n)},{value:"saturation",label:Object(s.__)("Saturation",C.i18n)},{value:"color",label:Object(s.__)("Color",C.i18n)},{value:"luminosity",label:Object(s.__)("Luminosity",C.i18n)},{value:"initial",label:Object(s.__)("Initial",C.i18n)},{value:"inherit",label:Object(s.__)("Inherit",C.i18n)},{value:"unset",label:Object(s.__)("Unset",C.i18n)}],onChange:e.onChange})};me.defaultProps={onChange:function(){},value:"",label:Object(s.__)("Mix Blend Mode",C.i18n),help:Object(s.__)("Not supported in all browsers.",C.i18n)};var pe=me;function de(){return(de=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 fe=N.a.createElement("path",{d:"M0 0v376h512V0H0zm480 344H32V32h448v312z"}),he=N.a.createElement("circle",{cx:409.1,cy:102.9,r:40.9}),ve=N.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"}),ye=function(e){return N.a.createElement("svg",de({viewBox:"0 0 512 376",xmlns:"http://www.w3.org/2000/svg"},e),fe,he,ve)},we=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(x.BaseControl,{help:e.help},wp.element.createElement(Ge,{label:e.label,screens:e.screens}),wp.element.createElement($.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(x.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",C.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(ye,null)))}})))};we.defaultProps={label:"",imageID:"",imageURL:"",onChange:function(e){e.url,e.id,e.width,e.height},onRemove:function(){},allowedTypes:["image"],help:"",screens:["desktop"]};var Oe=we;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)}var _e=function(e){return wp.element.createElement(x.TextareaControl,ke({},e,{help:wp.element.createElement(c.Fragment,null,wp.element.createElement(x.ExternalLink,{href:"https://www.w3.org/WAI/tutorials/images/decision-tree"},Object(s.__)("Describe the purpose of the image",C.i18n)),Object(s.__)("Leave empty if the image is purely decorative.",C.i18n))}))};_e.defaultProps={label:Object(s.__)("Alt Text (Alternative Text)",C.i18n)};var je=_e,Ce=n(43),xe=n.n(Ce),Ee=n(44),Te=n.n(Ee),Se=n(45),Be=n.n(Se),Ae=n(46),Pe=n.n(Ae),Ne=n(4);function Fe(){return(Fe=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 Re(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 De=function(e){return wp.element.createElement(c.Fragment,null,wp.element.createElement(Zn,Fe({className:"ugb-image-shape-control"},e,{options:[{label:Object(s.__)("Default",C.i18n),value:"",image:xe.a},{label:Object(s.__)("Square",C.i18n),value:"square",image:Te.a},{label:Object(s.__)("Circle",C.i18n),value:"circle",image:Be.a},{label:Object(s.sprintf)(Object(s.__)("Blob %s",C.i18n),1),value:"blob1",image:Pe.a}].concat(Re(Object(Ne.applyFilters)("stackable.image.control.shapes",[])))})),C.showProNotice&&wp.element.createElement(xr,{type:"image"}))};De.defaultProps={label:Object(s.__)("Shape",C.i18n),selected:""};var Me=De,ze=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(Me,{selected:e.shape,onChange:e.onChangeShape}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(x.ToggleControl,{label:Object(s.__)("Flip Shape Horizontally",C.i18n),checked:e.shapeFlipX,onChange:e.onChangeShapeFlipX}),e.onChangeShapeStretch&&!["","square","circle"].includes(e.shape)&&wp.element.createElement(x.ToggleControl,{label:Object(s.__)("Flip Shape Vertically",C.i18n),checked:e.shapeFlipY,onChange:e.onChangeShapeFlipY}),e.onChangeShapeStretch&&!["","square"].includes(e.shape)&&!n&&wp.element.createElement(x.ToggleControl,{label:Object(s.__)("Stretch Shape Mask",C.i18n),checked:e.shapeStretch,onChange:e.onChangeShapeStretch}))};ze.defaultProps={imageId:"",imageSize:"full",isSquareImage:null,shape:"",shapeFlipX:!1,shapeFlipY:!1,shapeStretch:!1,onChangeShape:function(){},onChangeShapeFlipX:function(){},onChangeShapeFlipY:function(){},onChangeShapeStretch:function(){}};var Ie=Object(j.compose)([Object(E.withSelect)(function(e,t){var n=e("core").getMedia;return{imageData:t.imageId?n(t.imageId):null}})])(ze);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 Ue=function(e){var t,n=(t=e.imageSizes,Object(r.map)(t,function(e){var t=e.name;return{value:e.slug,label:t}}));return Object(r.isEmpty)(n)?null:wp.element.createElement(x.SelectControl,Le({},e,{options:n}))};Ue.defaultProps={label:Object(s.__)("Image Size"),value:"large",onChange:function(){}};var He=Object(j.compose)([Object(E.withSelect)(function(e){return{imageSizes:e("core/block-editor").getSettings().imageSizes}})])(Ue),We=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(Ti,{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))};We.defaultProps={label:"",units:["px"],unit:"px",onChangeUnit:function(){},screens:["desktop"],onChangeScreen:function(){},afterButton:null};var Ge=We;function qe(){return(qe=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 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 Ye(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){var t=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){Ye(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}({},Object(r.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(x.BaseControl,{help:e.help,className:l()("ugb-advanced-range-control",e.className)},wp.element.createElement(Ge,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(x.RangeControl,qe({placeholder:e.placeholder,initialPosition:e.initialPosition},t)))};Xe.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],placeholder:"",initialPosition:""};var Ke=Xe,Je=function(e){return wp.element.createElement(x.BaseControl,{help:e.help,className:l()("ugb-advanced-select-control",e.className)},wp.element.createElement(Ge,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(x.SelectControl,Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};Je.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var $e=Je,Qe=function(e){return wp.element.createElement(x.BaseControl,{help:e.help,className:l()("ugb-advanced-text-control",e.className)},wp.element.createElement(Ge,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(x.TextControl,Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"])))};Qe.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"]};var Ze=n(47),et=n.n(Ze);function tt(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 nt(e){return(nt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function at(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ot(e,t){return(ot=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rt(e){return(rt="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 it=function(e){return!(!e.length||"object"!==rt(e[0].options))},lt=function(e,t){if(!t.length)return e;if(!it(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},ct=function(e){return e.value},st=function(e){return wp.element.createElement("div",{className:"ugb-autosuggest-option","data-value":e.value},e.label)},ut=function(e){return wp.element.createElement("div",{className:"ugb--autosuggest-group"},e.title)},bt=function(e){return e.options},gt=function(){return!0},mt=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=nt(t).apply(this,arguments))||"object"!==rt(a)&&"function"!=typeof a?at(n):a).state={value:e.props.value,label:e.props.value?lt(e.props.value,e.props.options):e.props.value,suggestions:[],isEmpty:!1},e.onSuggestionsFetchRequested=e.onSuggestionsFetchRequested.bind(at(e)),e.onSuggestionsClearRequested=e.onSuggestionsClearRequested.bind(at(e)),e.onChange=e.onChange.bind(at(e)),e.onFocus=e.onFocus.bind(at(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&&ot(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:lt(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 it(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(x.BaseControl,{help:this.props.help,className:l()("ugb-advanced-autosuggest-control",this.props.className)},wp.element.createElement(Ge,{label:this.props.label,screens:this.props.screens}),wp.element.createElement("div",{className:"ugb-advanced-autosuggest-control__select",ref:this.autosuggestDiv},wp.element.createElement(et.a,{multiSection:it(this.props.options),suggestions:n,focusInputOnSuggestionClick:!1,onSuggestionsFetchRequested:this.onSuggestionsFetchRequested,onSuggestionsClearRequested:this.onSuggestionsClearRequested,getSuggestionValue:ct,renderSuggestion:st,renderSectionTitle:ut,getSectionSuggestions:bt,shouldRenderSuggestions:gt,inputProps:a}),this.state.isEmpty&&wp.element.createElement("div",{className:"ugb--autosuggest-empty"},this.props.noMatchesLabel)))}}])&&tt(n.prototype,a),o&&tt(n,o),t}();mt.defaultProps={onChange:function(){},help:"",className:"",screens:["desktop"],options:[],value:"",noMatchesLabel:Object(s.__)("No matches found",C.i18n)};var pt=mt;function dt(){return(dt=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 ft=N.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"}),ht=function(e){return N.a.createElement("svg",dt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),ft)};function vt(){return(vt=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 yt=N.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"}),wt=function(e){return N.a.createElement("svg",vt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),yt)};function Ot(){return(Ot=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 kt=N.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"}),_t=function(e){return N.a.createElement("svg",Ot({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),kt)};function jt(){return(jt=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 Ct=N.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"}),xt=function(e){return N.a.createElement("svg",jt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ct)};function Et(){return(Et=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 Tt=N.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"}),St=function(e){return N.a.createElement("svg",Et({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Tt)};function Bt(){return(Bt=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 At=N.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"}),Pt=function(e){return N.a.createElement("svg",Bt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),At)};function Nt(){return(Nt=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 Ft=N.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"}),Rt=function(e){return N.a.createElement("svg",Nt({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Ft)};function Dt(){return(Dt=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 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 zt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(n,!0).forEach(function(t){It(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 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 Lt=[{value:"flex-start",title:Object(s.__)("Align Left",C.i18n),icon:wp.element.createElement(_t,null)},{value:"center",title:Object(s.__)("Align Center",C.i18n),icon:wp.element.createElement(wt,null)},{value:"flex-end",title:Object(s.__)("Align Right",C.i18n),icon:wp.element.createElement(xt,null)}],Ut=[{value:"flex-start",title:Object(s.__)("Align Top",C.i18n),icon:wp.element.createElement(Pt,null)},{value:"center",title:Object(s.__)("Align Center",C.i18n),icon:wp.element.createElement(Rt,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",C.i18n),icon:wp.element.createElement(ht,null)},{value:"stretch",title:Object(s.__)("Stretch",C.i18n),icon:wp.element.createElement(St,null)}],Ht={"flex-horizontal":Lt,"flex-vertical":[{value:"flex-start",title:Object(s.__)("Align Top",C.i18n),icon:wp.element.createElement(Pt,null)},{value:"center",title:Object(s.__)("Align Center",C.i18n),icon:wp.element.createElement(Rt,null)},{value:"flex-end",title:Object(s.__)("Align Bottom",C.i18n),icon:wp.element.createElement(ht,null)}],"flex-vertical-with-stretch":Ut},Wt=function(e){var t="string"==typeof e.controls?Ht[e.controls]:e.controls;return t=t.map(function(e){return!e.icon&&e.label?zt({},e,{icon:wp.element.createElement("span",{className:"ugb-advanced-toolbar-control__text-button"},e.label)}):e}),wp.element.createElement(x.BaseControl,{help:e.help,className:l()("ugb-advanced-toolbar-control",e.className)},wp.element.createElement(Ge,{label:e.label,units:e.units,unit:e.unit,onChangeUnit:e.onChangeUnit,screens:e.screens}),wp.element.createElement(x.Toolbar,Dt({},Object(r.omit)(e,["className","help","label","units","unit","onChangeUnit","screens"]),{controls:t.map(function(t){return zt({},t,{onClick:function(){return e.onChange(t.value!==e.value?t.value:"")},isActive:e.value===t.value})})})))};Wt.defaultProps={onChange:function(){},onChangeUnit:function(){},help:"",className:"",units:["px"],unit:"px",screens:["desktop"],value:"",controls:[]};var Gt=Wt;function qt(){return(qt=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 Vt=function(e){return wp.element.createElement(Ke,qt({min:[10,.1],max:[100,3],step:[1,.05],units:["px","em"],initialPosition:"21"},e,{onChangeUnit:function(t){e.value&&("em"===t||"rem"===t?e.onChange(1):"px"===t&&e.onChange(20)),e.onChangeUnit(t)}}))};Vt.defaultProps={label:Object(s.__)("Font Size",C.i18n),value:"",onChange:function(){},unit:"px",onChangeUnit:function(){}};var Yt=Vt;function Xt(){return(Xt=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 Kt=n(48).map(function(e){return{label:e.family,value:e.family}}),Jt=function(e){return wp.element.createElement(pt,Xt({options:[{title:Object(s.__)("System Fonts",C.i18n),options:[{label:Object(s.__)("Sans-Serif",C.i18n),value:"Sans-Serif"},{label:Object(s.__)("Serif",C.i18n),value:"Serif"},{label:Object(s.__)("Serif Alternative",C.i18n),value:"Serif-Alt"},{label:Object(s.__)("Monospace",C.i18n),value:"Monospace"}]},{title:Object(s.__)("Google Fonts",C.i18n),options:Kt}]},e,{onChange:function(t){Kt.some(function(e){return e.value===t&&(Object(o.R)(t),!0)}),e.onChange(t)}}))};Jt.defaultProps={onChange:function(){},label:Object(s.__)("Font Family",C.i18n),value:""};var $t=Jt;function Qt(e){return(Qt="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 Zt(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 en(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tn(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 nn(e){return(nn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function an(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function on(e,t){return(on=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var rn=1,ln=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=nn(t).apply(this,arguments))||"object"!==Qt(o)&&"function"!=typeof o?an(a):o).state={opened:e.initialOpen,showAdvanced:e.initialAdvanced},n.onToggle=n.onToggle.bind(an(n)),n.onAdvancedToggle=n.onAdvancedToggle.bind(an(n)),n.instanceId=rn++,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&&on(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?Zt(n,!0).forEach(function(t){en(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,en({},this.props.toggleAttributeName,!0))):e}},{key:"componentDidMount",value:function(){Object(Ne.addFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object(Ne.removeFilter)("stackable.setAttributes","stackable/panel-advanced-settings-".concat(this.instanceId))}},{key:"onToggle",value:function(){this.setState({opened:!this.state.opened})}},{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"],{"ugb-toggle-panel-body--advanced":this.state.showAdvanced});return wp.element.createElement(x.PanelBody,{className:t,initialOpen:this.props.initialOpen,onToggle:this.onToggle,opened:this.state.opened,title:wp.element.createElement(c.Fragment,null,this.props.hasToggle&&wp.element.createElement("span",{className:"editor-panel-toggle-settings__panel-title"},wp.element.createElement(x.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.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",C.i18n):Object(s.__)("Advanced",C.i18n)))}}])&&tn(n.prototype,a),o&&tn(n,o),t}();ln.defaultProps={className:"",title:Object(s.__)("Settings",C.i18n),checked:!1,onChange:null,initialOpen:!1,hasToggle:!0,initialAdvanced:!1,advancedChildren:null,toggleOnSetAttributes:[],toggleAttributeName:""};var cn=ln;function sn(){return(sn=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 un=function(e){var t=e.blockProps;return wp.element.createElement(x.PanelBody,sn({title:Object(s.__)("Spacing",C.i18n)},e),Object(Ne.applyFilters)("stackable.panel-spacing-body.edit.before",null,t),e.children,Object(Ne.applyFilters)("stackable.panel-spacing-body.edit.after",null,t))},bn=function(e){var t=l()(["ugb-inspector-panel-controls","ugb-panel-".concat(e.tab)]);return wp.element.createElement($.InspectorControls,null,wp.element.createElement("div",{className:t},e.children))};bn.defaultProps={tab:"layout"};var gn=bn,mn=(n(135),n(17)),pn=n.n(mn);function dn(e){return(dn="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 fn(){return(fn=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 hn(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 vn(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 yn(e){return(yn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function wn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function On(e,t){return(On=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function kn(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={},jn=Object(j.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=yn(n).apply(this,arguments))||"object"!==dn(a)&&"function"!=typeof a?wn(t):a).blockClientId=e.props.blockProps.clientId,void 0===_n[e.blockClientId]&&(_n[e.blockClientId]={tab:Object(o.Q)(e.props.blockProps)?"":"style",panel:0}),e.onClickPanel=e.onClickPanel.bind(wn(e)),e.onClickTab=e.onClickTab.bind(wn(e)),e}var a,r,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&&On(e,t)}(n,c["Component"]),a=n,(r=[{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!==_n[this.blockClientId].panel){var e=this.getPanelFromIndex(_n[this.blockClientId].panel);e&&e.click()}else zn()}},{key:"onClickPanel",value:function(e){_n[this.blockClientId]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hn(n,!0).forEach(function(t){kn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hn(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},_n[this.blockClientId],{panel:e.classList.contains("is-opened")?-1:this.getPanelIndex(e)})}},{key:"onClickTab",value:function(e){_n[this.blockClientId]={tab:e,panel:this.getOpenPanelIndex(e)}}},{key:"render",value:function(){return wp.element.createElement(e,fn({initialTab:_n[this.blockClientId].tab,onClick:this.onClickTab,onClickPanel:this.onClickPanel},this.props))}}])&&vn(a.prototype,r),i&&vn(a,i),n}(),kn(t,"propTypes",{blockProps:pn.a.shape({clientId:pn.a.string.isRequired,name:pn.a.string.isRequired,attributes:pn.a.object.isRequired})}),n},"withMemory");function Cn(e){return(Cn="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 xn(){return(xn=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 En(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 Tn(e){return(Tn=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 Bn(e,t){return(Bn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var An=Object(j.createHigherOrderComponent)(function(e){var t,n,a,o,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=Tn(n).apply(this,arguments))||"object"!==Cn(a)&&"function"!=typeof a?Sn(t):a).onSidebarScroll=e.onSidebarScroll.bind(Sn(e)),e.sidebarEl=null,e.tabTop=0,e.state={fixedTabs:!1},e.styleTop=120,e.styleWidth=280,e}var a,o,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&&Bn(e,t)}(n,c["Component"]),a=n,(o=[{key:"calcStyleTop",value:function(){var e=document.querySelector(".block-editor-block-card");return e?e.getBoundingClientRect().top:120}},{key:"calcStyleWidth",value:function(){var e=document.querySelector(".components-panel");return e?e.getBoundingClientRect().width:279}},{key:"onSidebarScroll",value:function(){if(!this.tabTop){var e=document.querySelector(".block-editor-block-card");e&&(this.tabTop=e?e.getBoundingClientRect().height+32:75,this.styleTop=this.calcStyleTop(),this.styleWidth=this.calcStyleWidth())}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,xn({},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"}))}}])&&En(a.prototype,o),r&&En(a,r),n}(),r={className:""},(o="defaultProps")in(a=t)?Object.defineProperty(a,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[o]=r,n},"withSticky");function Pn(e){return(Pn="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 Nn(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 Fn(e){return(Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Rn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dn(e,t){return(Dn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Mn=[{value:"layout",title:Object(s.__)("Layout",C.i18n),label:Object(s.__)("Layout Tab",C.i18n),icon:"admin-settings"},{value:"style",title:Object(s.__)("Style",C.i18n),label:Object(s.__)("Style Tab",C.i18n),icon:"admin-appearance"},{value:"advanced",title:Object(s.__)("Advanced",C.i18n),label:Object(s.__)("Advanced Tab",C.i18n),icon:"admin-tools"}],zn=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()})},In=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=Fn(t).apply(this,arguments))||"object"!==Pn(a)&&"function"!=typeof a?Rn(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(Rn(e)),e.updateSidebarPanelTab=e.updateSidebarPanelTab.bind(Rn(e)),e.select=e.select.bind(Rn(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&&Dn(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&&(zn(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"},Mn.map(function(t,n){var a=t.value,o=t.title,r=t.label,i=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"],{"is-active":e.state.activeTab===a}),"aria-label":r,"data-label":r},wp.element.createElement(x.Icon,{icon:i}),o):null})))}}])&&Nn(n.prototype,a),o&&Nn(n,o),t}();In.defaultProps={className:"",style:{},closeOtherPanels:!0,blockProps:{},initialTab:"",onClickPanel:function(){},onClick:function(){},tabs:null};var Ln=An(jn(In));function Un(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 Hn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Un(n,!0).forEach(function(t){Wn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Un(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gn=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(r,i){return Hn({},r,Wn({},Object(o.W)(i,t,n,a?"#editor":""),e[i]))},{})},qn=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 i=a.replace(/^(--?)?(.*?$)/,function(e,t,n){return"".concat(t||"").concat(Object(r.kebabCase)(n))});return"".concat(t,"\n\t").concat(i,": ").concat(o,";")},"");return"".concat(t,"\n\n").concat(n," {").concat(a,"\n}")},"").trim())},Vn=function(e){var t=e.style,n=void 0===t?{}:t,a=e.editorMode,i=void 0!==a&&a,l=e.blockUniqueClassName,c=void 0===l?"":l,s=e.blockMainClassName,u=void 0===s?"":s,b=e.breakTablet,g=void 0===b?1025:b,m=e.breakMobile,p=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]:1025,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:768,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=[],s=Object(r.omit)(e,["tablet","mobile","editor"]);if(Object.keys(s).length){var u=Gn(s,t,n,l);c.push(qn(u))}if(void 0!==e.tablet){var b=Gn(e.tablet,t,n,l),g=qn(b);g&&c.push("\n@media screen and (max-width: ".concat(a,"px) {\n").concat(g," }"))}if(void 0!==e.mobile){var m=Gn(e.mobile,t,n,l),p=qn(m);p&&c.push("\n@media screen and (max-width: ".concat(i,"px) {\n").concat(p," }"))}if(l&&void 0!==e.editor){var d=Gn(e.editor,t,n,l);c.push(qn(d))}return Object(o.V)(c.join(""))}(n,u,c,g,void 0===m?768:m,i);return p?wp.element.createElement("style",null,p):null};function Yn(){return(Yn=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 Xn=function(e){var t=e.options,n=e.selected,a=e.title,o=void 0===a?Object(s.__)("Layout",C.i18n):a,i=e.selectedOptionInTitle,c=void 0===i||i,u=e.help,b=void 0===u?"":u,g=e.className,m=void 0===g?"":g,p=e.initialOpen,d=void 0===p||p,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",m]);return wp.element.createElement(x.PanelBody,Yn({title:c?wp.element.createElement("span",null,h):o,className:v,initialOpen:d},Object(r.omit)(e,["help"])),b&&wp.element.createElement("p",{className:"components-base-control__help"},b),t&&wp.element.createElement(Zn,Object(r.omit)(e,["help","title"])),e.children)};var Kn=function(e){var t=e.imageFile,n=e.imageHoverFile,a=e.imageWidth,o=void 0===a?"":a,r=e.imageHeight,i=void 0===r?"":r,l=e.label,c=t?t.match(/https?:/i)?t:C.srcUrl?"".concat(C.srcUrl,"/").concat(t):t:"",s=n?n.match(/https?:/i)?n:C.srcUrl?"".concat(C.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:i}),c&&wp.element.createElement("img",{className:"ugb-design-panel-item__image",src:c,alt:l,width:o,height:i}),wp.element.createElement("span",{className:"design-label"},l))};function Jn(){return(Jn=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 $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 Qn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zn=function(e){var t=e.selected,n=e.options,a=e.onChange,o=e.className,i=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?$n(n,!0).forEach(function(t){Qn(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}({},e,{label:wp.element.createElement(Kn,{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:"ugb-design-control-wrapper components-base-control"},wp.element.createElement("div",{className:"components-base-control__label"},e.label),wp.element.createElement(x.RadioControl,Jn({},Object(r.omit)(e,["label"]),{className:l()(i,"ugb-design-control"),selected:t,options:c,onChange:a})))},ea=n(49),ta=n.n(ea),na=n(50),aa=n.n(na),oa=n(51),ra=n.n(oa),ia=n(52),la=n.n(ia),ca=n(53),sa=n.n(ca),ua=n(54),ba=n.n(ua),ga=n(55),ma=n.n(ga),pa=n(56),da=n.n(pa),fa=n(57),ha=n.n(fa),va=n(58),ya=n.n(va),wa=n(59),Oa=n.n(wa);function ka(){return(ka=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 _a={"wave-1":{image:ha.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Wave",C.i18n),1),value:"wave-1"},"straight-1":{image:da.a,label:Object(s.__)("Straight",C.i18n),value:"straight-1"},"wave-2":{image:ya.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Wave",C.i18n),2),value:"wave-2"},"wave-3":{image:Oa.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Wave",C.i18n),3),value:"wave-3"},"slant-1":{image:ba.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Slant",C.i18n),1),value:"slant-1"},"slant-2":{image:ma.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Slant",C.i18n),2),value:"slant-2"},"curve-1":{image:ta.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Curve",C.i18n),1),value:"curve-1"},"curve-2":{image:aa.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Curve",C.i18n),2),value:"curve-2"},"curve-3":{image:ra.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Curve",C.i18n),3),value:"curve-3"},"rounded-1":{image:la.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Rounded",C.i18n),1),value:"rounded-1"},"rounded-2":{image:sa.a,label:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Rounded",C.i18n),2),value:"rounded-2"}},ja=function(e){var t=Object.keys(_a).filter(function(t){return!e.excludeDesigns.includes(t)}).map(function(e){return _a[e]});return wp.element.createElement(x.BaseControl,{className:"ugb-design-separator-control",id:"ugb-design-separator-control",label:e.label,help:e.help},wp.element.createElement(Zn,ka({options:Object(Ne.applyFilters)("stackable.separator.edit.layouts",t,e)},Object(r.omit)(e,["label","help"]))))};ja.defaultProps={label:"",help:"",excludeDesigns:[]};var Ca=ja,xa=n(24),Ea=n(20),Ta=n(21),Sa=n(22),Ba=n(23);function Aa(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 Pa=Object(j.withState)({value:""})(function(e){var t,n,a=e.value,o=e.setState,r=(n=(t=a)&&t.toLowerCase(),[].concat(Aa(Object.values(Ta.a).filter(function(e){return e.iconName.includes(n)}).slice(0,100)),Aa(Object.values(Sa.a).filter(function(e){return e.iconName.includes(n)}).slice(0,100)),Aa(Object.values(Ba.a).filter(function(e){return e.iconName.includes(n)}).slice(0,100))).slice(0,100));return wp.element.createElement(x.Popover,{className:"ugb-icon-popover",onClose:e.onClose,onClickOutside:e.onClickOutside},wp.element.createElement(x.PanelBody,null,wp.element.createElement("div",{className:"ugb-icon-popover__label-container"},wp.element.createElement(x.TextControl,{className:"ugb-icon-popover__input",value:a,onChange:function(e){o({value:e})},placeholder:Object(s.__)("Type to search icon",C.i18n)}),e.allowReset&&wp.element.createElement(x.Button,{onClick:function(){e.onChange(""),e.onClose()},isSmall:!0,isDefault:!0,className:"components-range-control__reset"},Object(s.__)("Remove",C.i18n))),wp.element.createElement("div",{className:"ugb-icon-popover__iconlist"},r.map(function(t,n){var a=t.prefix,o=t.iconName,r="".concat(a,"-").concat(o);return wp.element.createElement("button",{key:n,className:"components-button",onClick:function(){e.onChange(r),e.onClose()}},wp.element.createElement(Ea.a,{icon:[a,o]}))}),!r.length&&wp.element.createElement("p",{className:"components-base-control__help"},Object(s.__)("No matches found",C.i18n)))))});Pa.defaultProps={onChange:function(){},onClose:function(){},onClickOutside:function(){},allowReset:!0};var Na=Pa,Fa=function(e){return wp.element.createElement(Ai,{attrNameTemplate:"%sContentAlign",setAttributes:e.setAttributes,blockAttributes:e.blockAttributes},wp.element.createElement(gl,{label:Object(s.__)("Align",C.i18n)}))};Fa.defaultProps={setAttributes:function(){},blockAttributes:{}};var Ra=Fa,Da=function(){return wp.element.createElement("div",{className:"ugb-control-separator"})};function Ma(e){return(Ma="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 za(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 Ia(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function La(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 Ua(e){return(Ua=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 Wa(e,t){return(Wa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ga=1,qa=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=Ua(t).apply(this,arguments))||"object"!==Ma(a)&&"function"!=typeof a?Ha(n):a).state={open:!1},e.handleOpen=e.handleOpen.bind(Ha(e)),e.handleClose=e.handleClose.bind(Ha(e)),e.handleOnClickOutside=e.handleOnClickOutside.bind(Ha(e)),e.instanceId=Ga++,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&&Wa(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?za(n,!0).forEach(function(t){Ia(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):za(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,Ia({},this.props.toggleAttributeName,!0)):e}},{key:"componentDidMount",value:function(){Object(Ne.addFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId),this.checkIfAttributeShouldToggleOn.bind(this),9)}},{key:"componentWillUnmount",value:function(){Object(Ne.removeFilter)("stackable.setAttributes","stackable/button-icon-popover-control-".concat(this.instanceId))}},{key:"handleOpen",value:function(){this.state.open||this.setState({open:!0})}},{key:"handleClose",value:function(){this.setState({open:!1})}},{key:"handleOnClickOutside",value:function(e){e.target.closest(".components-popover")||this.handleClose()}},{key:"render",value:function(){return wp.element.createElement(x.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(x.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(x.IconButton,{onClick:this.props.onReset,className:"ugb-button-icon-control__reset",label:Object(s.__)("Reset",C.i18n),icon:"image-rotate"}),wp.element.createElement(x.IconButton,{onClick:this.handleOpen,className:"ugb-button-icon-control__edit",label:Object(s.__)("Edit",C.i18n),isDefault:!0,icon:"edit",id:"ugb-button-icon-control__edit-".concat(this.instanceId)},this.state.open&&wp.element.createElement(x.Popover,{className:"ugb-button-icon-control__popover",focusOnMount:"container",onClose:this.handleClose,onClickOutside:this.handleOnClickOutside},wp.element.createElement(x.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)))))}}])&&La(n.prototype,a),o&&La(n,o),t}();qa.defaultProps={help:"",label:"",popoverLabel:"",className:"",allowReset:!1,onReset:function(){},checked:!1,onToggle:void 0,toggleOnSetAttributes:[],toggleAttributeName:""};var Va=qa,Ya=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 r=!!t&&t.width===t.height;return wp.element.createElement(c.Fragment,null,e.onChangeImage&&wp.element.createElement(Oe,{label:Object(s.__)("Image",C.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,r=e.size||"full";t.sizes[r]&&(n=t.sizes[r].url,a=t.sizes[r].width,o=t.sizes[r].height),e.onChangeImage({id:t.id,url:n,width:a,height:o})}}),e.onChangeShape&&wp.element.createElement(Ie,{isSquareImage:r,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(Da,null),e.onChangeAlt&&wp.element.createElement(je,{value:e.alt,onChange:e.onChangeAlt}),e.onChangeSize&&wp.element.createElement(He,{label:Object(s.__)("Image Size",C.i18n),value:e.size,onChange:function(t){var n=Object(o.I)(e.imageData,t||"full"),a="",r="",i=e.url;n&&(a=n.width,r=n.height,i=n.source_url),e.onChangeSize(t,i,a,r)}}),e.onChangeWidth&&wp.element.createElement(c.Fragment,null,wp.element.createElement(zi,null,wp.element.createElement(Ke,{label:Object(s.__)("Image Width",C.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})),wp.element.createElement(zi,{screen:"tablet"},wp.element.createElement(Ke,{label:Object(s.__)("Image Width",C.i18n),value:e.tabletWidth,max:n,onChange:e.onChangeTabletWidth,allowReset:!0})),wp.element.createElement(zi,{screen:"mobile"},wp.element.createElement(Ke,{label:Object(s.__)("Image Width",C.i18n),value:e.mobileWidth,max:n,onChange:e.onChangeMobileWidth,allowReset:!0}))),e.onChangeSquare&&("number"==typeof e.width||e.width)&&wp.element.createElement(x.ToggleControl,{label:Object(s.__)("Force square image",C.i18n),checked:e.square,onChange:e.onChangeSquare}),e.onChangeBorderRadius&&""===e.shape&&wp.element.createElement(Ke,{label:Object(s.__)("Border Radius",C.i18n),value:e.borderRadius,onChange:e.onChangeBorderRadius,min:0,max:100,allowReset:!0,placeholder:"0"}),e.onChangeShadow&&""===e.shape&&wp.element.createElement(Ke,{label:Object(s.__)("Shadow / Outline",C.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0"}),e.onChangeBlendMode&&wp.element.createElement(pe,{label:Object(s.__)("Blend Mode",C.i18n),value:e.blendMode,onChange:e.onChangeBlendMode}))};Ya.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 Xa=Object(j.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}}))(Ya);function Ka(){return(Ka=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 Ja(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=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(o.b)(e.blockAttributes,n,"");return wp.element.createElement(Xa,Ka({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,o=e.url,r=e.id,i=e.width,l=e.height;t((Ja(a={},n("Url"),o),Ja(a,n("Id"),r),Ja(a,n("Width"),i),Ja(a,n("Height"),l),a))},alt:a("Alt"),onChangeAlt:function(e){return t(Ja({},n("Alt"),e))},size:a("Size"),onChangeSize:function(e,a,o,r){var i;t((Ja(i={},n("Size"),e),Ja(i,n("Url"),a),Ja(i,n("Width"),o),Ja(i,n("Height"),r),i))},shape:a("Shape"),onChangeShape:function(e){return t(Ja({},n("Shape"),e))},shapeFlipX:a("ShapeFlipX"),onChangeShapeFlipX:function(e){return t(Ja({},n("ShapeFlipX"),e))},shapeFlipY:a("ShapeFlipY"),onChangeShapeFlipY:function(e){return t(Ja({},n("ShapeFlipY"),e))},shapeStretch:a("ShapeStretch"),onChangeShapeStretch:function(e){return t(Ja({},n("ShapeStretch"),e))},style:a("Style"),onChangeStyle:function(e){return t(Ja({},n("Style"),e))},width:a("Width"),tabletWidth:a("TabletWidth"),mobileWidth:a("MobileWidth"),onChangeWidth:function(e,a){var o;t((Ja(o={},n("Width"),e),Ja(o,n("Height"),a),o))},onChangeTabletWidth:function(e){return t(Ja({},n("TabletWidth"),e))},onChangeMobileWidth:function(e){return t(Ja({},n("MobileWidth"),e))},square:a("Square"),onChangeSquare:function(e){return t(Ja({},n("Square"),e))},borderRadius:a("BorderRadius"),onChangeBorderRadius:function(e){return t(Ja({},n("BorderRadius"),e))},shadow:a("Shadow"),onChangeShadow:function(e){return t(Ja({},n("Shadow"),e))},blendMode:a("BlendMode"),onChangeBlendMode:function(e){return t(Ja({},n("BlendMode"),e))}},e))};$a.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Qa=$a,Za=function(e){return wp.element.createElement(c.Fragment,null,e.onChangeImage&&wp.element.createElement(Oe,{label:Object(s.__)("Image",C.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(He,{label:Object(s.__)("Image Size",C.i18n),value:e.size,onChange:function(t){e.onChangeSize(t,Object(o.J)(e.id,t||"full"))}}),e.onChangeBackgroundPosition&&wp.element.createElement($e,{label:Object(s.__)("Background Image Position",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("Top Left",C.i18n),value:"top left"},{label:Object(s.__)("Top Center",C.i18n),value:"top center"},{label:Object(s.__)("Top Right",C.i18n),value:"top right"},{label:Object(s.__)("Center Left",C.i18n),value:"center left"},{label:Object(s.__)("Center Center",C.i18n),value:"center center"},{label:Object(s.__)("Center Right",C.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",C.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",C.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",C.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition}),e.onChangeBackgroundRepeat&&wp.element.createElement($e,{label:Object(s.__)("Background Image Repeat",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("No-Repeat",C.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",C.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",C.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",C.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat}),e.onChangeBackgroundSize&&wp.element.createElement($e,{label:Object(s.__)("Background Image Size",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("Auto",C.i18n),value:"auto"},{label:Object(s.__)("Cover",C.i18n),value:"cover"},{label:Object(s.__)("Contain",C.i18n),value:"contain"},{label:Object(s.__)("Custom",C.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize}),e.onChangeBackgroundSize&&"custom"===e.backgroundSize&&wp.element.createElement(Ke,{label:Object(s.__)("Custom Size",C.i18n),units:["px","%"],min:[0,0],max:[1e3,100],unit:e.backgroundCustomSizeUnit,onChangeUnit:e.onChangeBackgroundCustomSizeUnit,value:e.backgroundCustomSize,onChange:e.onChangeBackgroundCustomSize,allowReset:!0}))};Za.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 eo=Object(j.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}}))(Za);function to(){return(to=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 no(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ao=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(o.b)(e.blockAttributes,n,"");return wp.element.createElement(eo,to({id:a("Id"),url:a("Url"),onChangeImage:function(e){var a,o=e.url,r=e.id;t((no(a={},n("Url"),o),no(a,n("Id"),r),a))},size:a("Size"),onChangeSize:function(e,a){var o;t((no(o={},n("Size"),e),no(o,n("Url"),a),o))},backgroundPosition:a("BackgroundPosition"),onChangeBackgroundPosition:function(e){return t(no({},n("BackgroundPosition"),e))},backgroundRepeat:a("BackgroundRepeat"),onChangeBackgroundRepeat:function(e){return t(no({},n("BackgroundRepeat"),e))},backgroundSize:a("BackgroundSize"),onChangeBackgroundSize:function(e){return t(no({},n("BackgroundSize"),e))},backgroundCustomSize:a("BackgroundCustomSize"),onChangeBackgroundCustomSize:function(e){return t(no({},n("BackgroundCustomSize"),e))},backgroundCustomSizeUnit:a("BackgroundCustomSizeUnit")||"px",onChangeBackgroundCustomSizeUnit:function(e){return t(no({},n("BackgroundCustomSizeUnit"),e))}},e))};ao.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var oo=ao;function ro(){return(ro=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 io=function(e){return wp.element.createElement(c.Fragment,null,wp.element.createElement(Va,{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},e.onChangeFontFamily&&wp.element.createElement($t,{label:Object(s.__)("Font Family",C.i18n),onChange:e.onChangeFontFamily,value:e.fontFamily}),e.onChangeFontSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(zi,null,wp.element.createElement(Yt,ro({label:Object(s.__)("Size",C.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps))),wp.element.createElement(zi,{screen:"tablet"},wp.element.createElement(Yt,ro({label:Object(s.__)("Size",C.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps))),wp.element.createElement(zi,{screen:"mobile"},wp.element.createElement(Yt,ro({label:Object(s.__)("Size",C.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps)))),e.onChangeFontWeight&&wp.element.createElement(x.SelectControl,{label:Object(s.__)("Weight",C.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",C.i18n),value:""},{label:Object(s.__)("Normal",C.i18n),value:"normal"},{label:Object(s.__)("Bold",C.i18n),value:"bold"}],onChange:e.onChangeFontWeight,value:e.fontWeight}),e.onChangeTextTransform&&wp.element.createElement(x.SelectControl,{label:Object(s.__)("Transform",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("Uppercase",C.i18n),value:"uppercase"},{label:Object(s.__)("Lowercase",C.i18n),value:"lowercase"},{label:Object(s.__)("Capitalize",C.i18n),value:"capitalize"},{label:Object(s.__)("Normal",C.i18n),value:"normal"}],onChange:e.onChangeTextTransform,value:e.textTransform}),e.onChangeLineHeight&&wp.element.createElement(c.Fragment,null,wp.element.createElement(zi,null,wp.element.createElement(Ke,{label:Object(s.__)("Line-Height",C.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]})),wp.element.createElement(zi,{screen:"tablet"},wp.element.createElement(Ke,{label:Object(s.__)("Line-Height",C.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]})),wp.element.createElement(zi,{screen:"mobile"},wp.element.createElement(Ke,{label:Object(s.__)("Line-Height",C.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]}))),e.onChangeLetterSpacing&&wp.element.createElement(Ke,{label:Object(s.__)("Letter Spacing",C.i18n),min:-5,max:10,step:.1,allowReset:!0,onChange:e.onChangeLetterSpacing,value:e.letterSpacing,placeholder:"0"})),e.showSecondFontSize&&e.onChangeFontSize&&wp.element.createElement(c.Fragment,null,wp.element.createElement(zi,null,wp.element.createElement(Yt,ro({label:Object(s.__)("Size",C.i18n),onChange:e.onChangeFontSize,value:e.fontSize,allowReset:!0,unit:e.fontSizeUnit,onChangeUnit:e.onChangeFontSizeUnit},e.fontSizeProps))),wp.element.createElement(zi,{screen:"tablet"},wp.element.createElement(Yt,ro({label:Object(s.__)("Size",C.i18n),onChange:e.onChangeTabletFontSize,value:e.tabletFontSize,allowReset:!0,unit:e.tabletfontSizeUnit,onChangeUnit:e.onChangeTabletFontSizeUnit},e.fontSizeProps))),wp.element.createElement(zi,{screen:"mobile"},wp.element.createElement(Yt,ro({label:Object(s.__)("Size",C.i18n),onChange:e.onChangeMobileFontSize,value:e.mobileFontSize,allowReset:!0,unit:e.mobilefontSizeUnit,onChangeUnit:e.onChangeMobileFontSizeUnit},e.fontSizeProps)))))};io.defaultProps={label:Object(s.__)("Typography",C.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 lo=io;function co(){return(co=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 so(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uo=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(lo,co({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(so({},n("FontFamily"),e))},onChangeFontSize:function(e){return t(so({},n("FontSize"),e))},onChangeTabletFontSize:function(e){return t(so({},n("TabletFontSize"),e))},onChangeMobileFontSize:function(e){return t(so({},n("MobileFontSize"),e))},onChangeFontSizeUnit:function(e){return t(so({},n("FontSizeUnit"),e))},onChangeTabletFontSizeUnit:function(e){return t(so({},n("TabletFontSizeUnit"),e))},onChangeMobileFontSizeUnit:function(e){return t(so({},n("MobileFontSizeUnit"),e))},onChangeFontWeight:function(e){return t(so({},n("FontWeight"),e))},onChangeTextTransform:function(e){return t(so({},n("TextTransform"),e))},onChangeLetterSpacing:function(e){return t(so({},n("LetterSpacing"),e))},onChangeLineHeight:function(e){return t(so({},n("LineHeight"),e))},onChangeTabletLineHeight:function(e){return t(so({},n("TabletLineHeight"),e))},onChangeMobileLineHeight:function(e){return t(so({},n("MobileLineHeight"),e))},onChangeLineHeightUnit:function(e){return t(so({},n("LineHeightUnit"),e))},onChangeTabletLineHeightUnit:function(e){return t(so({},n("TabletLineHeightUnit"),e))},onChangeMobileLineHeightUnit:function(e){return t(so({},n("MobileLineHeightUnit"),e))},onReset:function(){var e;t((so(e={},n("FontFamily"),""),so(e,n("FontSize"),""),so(e,n("TabletFontSize"),""),so(e,n("MobileFontSize"),""),so(e,n("FontSizeUnit"),"px"),so(e,n("TabletFontSizeUnit"),"px"),so(e,n("MobileFontSizeUnit"),"px"),so(e,n("FontWeight"),""),so(e,n("TextTransform"),""),so(e,n("LetterSpacing"),""),so(e,n("LineHeight"),""),so(e,n("TabletLineHeight"),""),so(e,n("MobileLineHeight"),""),so(e,n("LineHeightUnit"),"em"),so(e,n("TabletLineHeightUnit"),"em"),so(e,n("MobileLineHeightUnit"),"em"),e))}},e))};uo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var bo=uo,go=function(e){return wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColorType&&wp.element.createElement(x.BaseControl,{label:e.labelBackgroundColorType,id:"ugb-background-color-type"},wp.element.createElement(Pl,{controls:[{value:"",title:Object(s.__)("Single",C.i18n),isActive:""===e.backgroundColorType,onClick:function(){return e.onChangeBackgroundColorType("")}},{value:"gradient",title:Object(s.__)("Gradient",C.i18n),isActive:"gradient"===e.backgroundColorType,onClick:function(){return e.onChangeBackgroundColorType("gradient")}}]})),e.onChangeBackgroundColor&&wp.element.createElement(ge,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",C.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(Ke,{label:Object(s.__)("Background Color Opacity",C.i18n),value:e.backgroundColorOpacity,onChange:e.onChangeBackgroundColorOpacity,min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&wp.element.createElement(ge,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",C.i18n),e.labelBackgroundColor,2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&wp.element.createElement(Va,{label:Object(s.__)("Adv. Gradient Color Settings",C.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(Ke,{label:Object(s.__)("Gradient Direction (degrees)",C.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90"}),e.onChangeBackgroundGradientLocation1&&wp.element.createElement(Ke,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",C.i18n),1),value:e.backgroundGradientLocation1,onChange:e.onChangeBackgroundGradientLocation1,min:0,max:100,step:1,allowReset:!0,placeholder:"0"}),e.onChangeBackgroundGradientLocation2&&wp.element.createElement(Ke,{label:Object(s.sprintf)(Object(s.__)("Color %d Location",C.i18n),2),value:e.backgroundGradientLocation2,onChange:e.onChangeBackgroundGradientLocation2,min:0,max:100,step:1,allowReset:!0,placeholder:"100"}),e.onChangeBackgroundGradientBlendMode&&wp.element.createElement(pe,{label:Object(s.__)("Background Gradient Blend Mode",C.i18n),value:e.backgroundGradientBlendMode,onChange:e.onChangeBackgroundGradientBlendMode})),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&e.hasAdvancedGradient&&e.onChangeBackgroundMedia&&wp.element.createElement(Da,null),e.onChangeBackgroundMedia&&wp.element.createElement(c.Fragment,null,wp.element.createElement(zi,null,wp.element.createElement(Oe,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",C.i18n):Object(s.__)("Background Image",C.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",C.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(zi,{screen:"tablet"},wp.element.createElement(Oe,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",C.i18n):Object(s.__)("Background Image",C.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",C.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(zi,{screen:"mobile"},wp.element.createElement(Oe,{label:e.backgroundMediaAllowVideo?Object(s.__)("Background Image or Video",C.i18n):Object(s.__)("Background Image",C.i18n),help:e.backgroundMediaAllowVideo?Object(s.__)("Use .mp4 format for videos",C.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(Ke,{label:Object(s.__)("Background Media Tint Strength",C.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"}),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(x.ToggleControl,{label:Object(s.__)("Fixed Background",C.i18n),checked:e.fixedBackground,onChange:e.onChangeFixedBackground}),e.hasAdvancedBackground&&e.onChangeBackgroundMedia&&(e.backgroundMediaURL||e.tabletBackgroundMediaURL||e.mobileBackgroundMediaURL)&&wp.element.createElement(Va,{label:Object(s.__)("Adv. Background Image Settings",C.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(zi,null,wp.element.createElement($e,{label:Object(s.__)("Image Position",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("Top Left",C.i18n),value:"top left"},{label:Object(s.__)("Top Center",C.i18n),value:"top center"},{label:Object(s.__)("Top Right",C.i18n),value:"top right"},{label:Object(s.__)("Center Left",C.i18n),value:"center left"},{label:Object(s.__)("Center Center",C.i18n),value:"center center"},{label:Object(s.__)("Center Right",C.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",C.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",C.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",C.i18n),value:"bottom right"}],value:e.backgroundPosition,onChange:e.onChangeBackgroundPosition})),wp.element.createElement(zi,{screen:"tablet"},wp.element.createElement($e,{label:Object(s.__)("Image Position",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("Top Left",C.i18n),value:"top left"},{label:Object(s.__)("Top Center",C.i18n),value:"top center"},{label:Object(s.__)("Top Right",C.i18n),value:"top right"},{label:Object(s.__)("Center Left",C.i18n),value:"center left"},{label:Object(s.__)("Center Center",C.i18n),value:"center center"},{label:Object(s.__)("Center Right",C.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",C.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",C.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",C.i18n),value:"bottom right"}],value:e.tabletBackgroundPosition,onChange:e.onChangeTabletBackgroundPosition})),wp.element.createElement(zi,{screen:"mobile"},wp.element.createElement($e,{label:Object(s.__)("Image Position",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("Top Left",C.i18n),value:"top left"},{label:Object(s.__)("Top Center",C.i18n),value:"top center"},{label:Object(s.__)("Top Right",C.i18n),value:"top right"},{label:Object(s.__)("Center Left",C.i18n),value:"center left"},{label:Object(s.__)("Center Center",C.i18n),value:"center center"},{label:Object(s.__)("Center Right",C.i18n),value:"center right"},{label:Object(s.__)("Bottom Left",C.i18n),value:"bottom left"},{label:Object(s.__)("Bottom Center",C.i18n),value:"bottom center"},{label:Object(s.__)("Bottom Right",C.i18n),value:"bottom right"}],value:e.mobileBackgroundPosition,onChange:e.onChangeMobileBackgroundPosition})),wp.element.createElement(zi,null,wp.element.createElement($e,{label:Object(s.__)("Image Repeat",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("No-Repeat",C.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",C.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",C.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",C.i18n),value:"repeat-y"}],value:e.backgroundRepeat,onChange:e.onChangeBackgroundRepeat})),wp.element.createElement(zi,{screen:"tablet"},wp.element.createElement($e,{label:Object(s.__)("Image Repeat",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("No-Repeat",C.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",C.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",C.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",C.i18n),value:"repeat-y"}],value:e.tabletBackgroundRepeat,onChange:e.onChangeTabletBackgroundRepeat})),wp.element.createElement(zi,{screen:"mobile"},wp.element.createElement($e,{label:Object(s.__)("Image Repeat",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("No-Repeat",C.i18n),value:"no-repeat"},{label:Object(s.__)("Repeat",C.i18n),value:"repeat"},{label:Object(s.__)("Repeat-X",C.i18n),value:"repeat-x"},{label:Object(s.__)("Repeat-Y",C.i18n),value:"repeat-y"}],value:e.mobileBackgroundRepeat,onChange:e.onChangeMobileBackgroundRepeat})),wp.element.createElement(zi,null,wp.element.createElement($e,{label:Object(s.__)("Image Size",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("Auto",C.i18n),value:"auto"},{label:Object(s.__)("Cover",C.i18n),value:"cover"},{label:Object(s.__)("Contain",C.i18n),value:"contain"},{label:Object(s.__)("Custom",C.i18n),value:"custom"}],value:e.backgroundSize,onChange:e.onChangeBackgroundSize})),wp.element.createElement(zi,{screen:"tablet"},wp.element.createElement($e,{label:Object(s.__)("Image Size",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("Auto",C.i18n),value:"auto"},{label:Object(s.__)("Cover",C.i18n),value:"cover"},{label:Object(s.__)("Contain",C.i18n),value:"contain"},{label:Object(s.__)("Custom",C.i18n),value:"custom"}],value:e.tabletBackgroundSize,onChange:e.onChangeTabletBackgroundSize})),wp.element.createElement(zi,{screen:"mobile"},wp.element.createElement($e,{label:Object(s.__)("Image Size",C.i18n),options:[{label:Object(s.__)("Default",C.i18n),value:""},{label:Object(s.__)("Auto",C.i18n),value:"auto"},{label:Object(s.__)("Cover",C.i18n),value:"cover"},{label:Object(s.__)("Contain",C.i18n),value:"contain"},{label:Object(s.__)("Custom",C.i18n),value:"custom"}],value:e.mobileBackgroundSize,onChange:e.onChangeMobileBackgroundSize})),"custom"===e.backgroundSize&&wp.element.createElement(zi,null,wp.element.createElement(Ke,{label:Object(s.__)("Custom Size",C.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(zi,{screen:"tablet"},wp.element.createElement(Ke,{label:Object(s.__)("Custom Size",C.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(zi,{screen:"mobile"},wp.element.createElement(Ke,{label:Object(s.__)("Custom Size",C.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(pe,{label:Object(s.__)("Image Blend Mode",C.i18n),value:e.backgroundImageBlendMode,onChange:e.onChangeBackgroundImageBlendMode})))};go.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",C.i18n),labelBackgroundColor:Object(s.__)("Background Color",C.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 mo=go;function po(){return(po=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 fo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ho=function(e){var t=e.setAttributes,n=function(t){return Object(r.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(mo,po({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(fo({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(fo({},n("BackgroundColor"),e))},onChangeBackgroundColorOpacity:function(e){return t(fo({},n("BackgroundColorOpacity"),e))},onChangeBackgroundColor2:function(e){return t(fo({},n("BackgroundColor2"),e))},onChangeBackgroundMedia:function(e){var a,o=e.url,r=e.id;t((fo(a={},n("BackgroundMediaURL"),o),fo(a,n("BackgroundMediaID"),r),a))},onChangeTabletBackgroundMedia:function(e){var a,o=e.url,r=e.id;t((fo(a={},n("TabletBackgroundMediaURL"),o),fo(a,n("TabletBackgroundMediaID"),r),a))},onChangeMobileBackgroundMedia:function(e){var a,o=e.url,r=e.id;t((fo(a={},n("MobileBackgroundMediaURL"),o),fo(a,n("MobileBackgroundMediaID"),r),a))},onChangeBackgroundTintStrength:function(e,a){var o;t((fo(o={},n("BackgroundTintStrength"),e),fo(o,n("BackgroundColor"),a),o))},onChangeFixedBackground:function(e){return t(fo({},n("FixedBackground"),e))},backgroundGradientDirection:a("BackgroundGradientDirection",90),backgroundGradientBlendMode:a("BackgroundGradientBlendMode"),backgroundGradientLocation1:a("BackgroundGradientLocation1",0),backgroundGradientLocation2:a("BackgroundGradientLocation2",100),onChangeBackgroundGradientDirection:function(e){return t(fo({},n("BackgroundGradientDirection"),e))},onChangeBackgroundGradientBlendMode:function(e){return t(fo({},n("BackgroundGradientBlendMode"),e))},onChangeBackgroundGradientLocation1:function(e){return t(fo({},n("BackgroundGradientLocation1"),e))},onChangeBackgroundGradientLocation2:function(e){return t(fo({},n("BackgroundGradientLocation2"),e))},onResetAdvancedGradient:function(){var e;t((fo(e={},n("BackgroundGradientDirection"),""),fo(e,n("BackgroundGradientBlendMode"),""),fo(e,n("BackgroundGradientLocation1"),""),fo(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(fo({},n("BackgroundPosition"),e))},onChangeTabletBackgroundPosition:function(e){return t(fo({},n("TabletBackgroundPosition"),e))},onChangeMobileBackgroundPosition:function(e){return t(fo({},n("MobileBackgroundPosition"),e))},onChangeBackgroundRepeat:function(e){return t(fo({},n("BackgroundRepeat"),e))},onChangeTabletBackgroundRepeat:function(e){return t(fo({},n("TabletBackgroundRepeat"),e))},onChangeMobileBackgroundRepeat:function(e){return t(fo({},n("MobileBackgroundRepeat"),e))},onChangeBackgroundSize:function(e){return t(fo({},n("BackgroundSize"),e))},onChangeTabletBackgroundSize:function(e){return t(fo({},n("TabletBackgroundSize"),e))},onChangeMobileBackgroundSize:function(e){return t(fo({},n("MobileBackgroundSize"),e))},onChangeBackgroundCustomSize:function(e){return t(fo({},n("BackgroundCustomSize"),e))},onChangeTabletBackgroundCustomSize:function(e){return t(fo({},n("TabletBackgroundCustomSize"),e))},onChangeMobileBackgroundCustomSize:function(e){return t(fo({},n("MobileBackgroundCustomSize"),e))},onChangeBackgroundCustomSizeUnit:function(e){return t(fo({},n("BackgroundCustomSizeUnit"),e))},onChangeTabletBackgroundCustomSizeUnit:function(e){return t(fo({},n("TabletBackgroundCustomSizeUnit"),e))},onChangeMobileBackgroundCustomSizeUnit:function(e){return t(fo({},n("MobileBackgroundCustomSizeUnit"),e))},onChangeBackgroundImageBlendMode:function(e){return t(fo({},n("BackgroundImageBlendMode"),e))},onResetAdvancedBackground:function(){var e;t((fo(e={},n("BackgroundPosition"),""),fo(e,n("TabletBackgroundPosition"),""),fo(e,n("MobileBackgroundPosition"),""),fo(e,n("BackgroundRepeat"),""),fo(e,n("TabletBackgroundRepeat"),""),fo(e,n("MobileBackgroundRepeat"),""),fo(e,n("BackgroundSize"),""),fo(e,n("TabletBackgroundSize"),""),fo(e,n("MobileBackgroundSize"),""),fo(e,n("BackgroundCustomSize"),""),fo(e,n("TabletBackgroundCustomSize"),""),fo(e,n("MobileBackgroundCustomSize"),""),fo(e,n("BackgroundCustomSizeUnit"),"%"),fo(e,n("TabletBackgroundCustomSizeUnit"),"%"),fo(e,n("MobileBackgroundCustomSizeUnit"),"%"),fo(e,n("BackgroundImageBlendMode"),""),e))}},e))};ho.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var vo=ho,yo=n(60),wo=n.n(yo),Oo=n(61),ko=n.n(Oo),_o=n(62),jo=n.n(_o),Co=n(63),xo=n.n(Co);function Eo(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 To=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(re,{label:Object(s.__)("Link / URL",C.i18n),value:e.url,onChange:e.onChangeUrl,placeholder:"http://"}),e.onChangeUrl&&e.onChangeNewTab&&wp.element.createElement(x.ToggleControl,{label:Object(s.__)("Open link in new tab",C.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),e.onChangeUrl&&e.onChangeNoFollow&&wp.element.createElement(x.ToggleControl,{label:Object(s.__)("Nofollow link",C.i18n),checked:e.noFollow,onChange:e.onChangeNoFollow}),e.onChangeUrl&&wp.element.createElement(Da,null),e.onChangeDesign&&wp.element.createElement(Zn,{label:Object(s.__)("Design",C.i18n),selected:t,options:[{label:Object(s.__)("Basic",C.i18n),value:"basic",image:wo.a},{label:Object(s.__)("Ghost",C.i18n),value:"ghost",image:ko.a},{label:Object(s.__)("Plain",C.i18n),value:"plain",image:xo.a}].concat(Eo(e.onChangeUseSocialColors?[]:[{label:Object(s.__)("Link",C.i18n),value:"link",image:jo.a}]),Eo(Object(Ne.applyFilters)("stackable.button.edit.layouts",[]))),onChange:e.onChangeDesign}),wp.element.createElement(Da,null),e.hasTypography&&"link"!==t&&wp.element.createElement(bo,{attrNameTemplate:e.attrNameTemplate,setAttributes:e.setAttributes,blockAttributes:e.blockAttributes,onChangeLineHeight:null,showSecondFontSize:!1}),e.onChangeSize&&(!e.onChangeDesign||"link"!==t)&&wp.element.createElement(x.SelectControl,{label:Object(s.__)("Button Size",C.i18n),value:n,options:[{value:"tiny",label:Object(s.__)("Tiny",C.i18n)},{value:"small",label:Object(s.__)("Small",C.i18n)},{value:"normal",label:Object(s.__)("Normal",C.i18n)},{value:"medium",label:Object(s.__)("Medium",C.i18n)},{value:"large",label:Object(s.__)("Large",C.i18n)}],onChange:e.onChangeSize}),e.onChangeBorderRadius&&"link"!==t&&"plain"!==t&&wp.element.createElement(Ke,{label:Object(s.__)("Border Radius",C.i18n),value:e.borderRadius,min:"0",max:"100",onChange:e.onChangeBorderRadius,allowReset:!0,placeholder:"4"}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(ui,{label:Object(s.__)("Vertical Padding",C.i18n),top:e.paddingTop,bottom:e.paddingBottom,onChange:e.onChangePaddings,enableLeft:!1,enableRight:!1,placeholder:[8,8]}),e.onChangePaddings&&"link"!==t&&"plain"!==t&&wp.element.createElement(ui,{label:Object(s.__)("Horizontal Padding",C.i18n),right:e.paddingRight,left:e.paddingLeft,onChange:e.onChangePaddings,enableTop:!1,enableBottom:!1,max:100,placeholder:[26,26]}),e.onChangeBorderWidth&&"ghost"===t&&wp.element.createElement(Ke,{label:Object(s.__)("Border Width",C.i18n),value:e.borderWidth,min:"1",max:"6",onChange:e.onChangeBorderWidth,allowReset:!0,placeholder:"2"}),e.onChangeShadow&&(""===t||"basic"===t)&&wp.element.createElement(Ke,{label:Object(s.__)("Shadow",C.i18n),value:e.shadow,onChange:e.onChangeShadow,min:0,max:9,allowReset:!0,placeholder:"0"}),"link"!==t&&wp.element.createElement(Da,null),e.onChangeUseSocialColors&&wp.element.createElement(x.ToggleControl,{label:Object(s.__)("Use social colors",C.i18n),checked:e.useSocialColors,onChange:e.onChangeUseSocialColors}),(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(c.Fragment,null,e.onChangeBackgroundColorType&&a&&wp.element.createElement(x.BaseControl,{label:Object(s.__)("Button Color Type",C.i18n),id:"button-color-type"},wp.element.createElement(Pl,{controls:[{value:"",title:Object(s.__)("Single",C.i18n),isActive:""===e.backgroundColorType,onClick:function(){return e.onChangeBackgroundColorType("")}},{value:"gradient",title:Object(s.__)("Gradient",C.i18n),isActive:"gradient"===e.backgroundColorType,onClick:function(){return e.onChangeBackgroundColorType("gradient")}}]})),e.onChangeBackgroundColor&&"link"!==t&&wp.element.createElement(ge,{label:e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",C.i18n),Object(s.__)("Button Color",C.i18n),1):Object(s.__)("Button Color",C.i18n),value:e.backgroundColor,onChange:e.onChangeBackgroundColor}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(ge,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",C.i18n),Object(s.__)("Button Color",C.i18n),2),value:e.backgroundColor2,onChange:e.onChangeBackgroundColor2}),e.onChangeBackgroundColor2&&"gradient"===e.backgroundColorType&&a&&wp.element.createElement(Ke,{label:Object(s.__)("Gradient Direction (degrees)",C.i18n),value:e.backgroundGradientDirection,onChange:e.onChangeBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90"}),e.onChangeTextColor&&a&&wp.element.createElement(ge,{label:Object(s.__)("Text Color",C.i18n),value:e.textColor,onChange:e.onChangeTextColor})),e.onChangeOpacity&&wp.element.createElement(Ke,{label:Object(s.__)("Opacity",C.i18n),value:e.opacity,onChange:e.onChangeOpacity,min:.1,max:1,step:.1,allowReset:!0,placeholder:"1.0"}),"link"!==t&&wp.element.createElement(Da,null),e.onChangeHoverGhostToNormal&&"ghost"===t&&wp.element.createElement(x.ToggleControl,{label:Object(s.__)("Change to Normal Button on Hover",C.i18n),checked:e.hoverGhostToNormal,onChange:e.onChangeHoverGhostToNormal}),e.onChangeHoverEffect&&"link"!==t&&wp.element.createElement(x.SelectControl,{label:Object(s.__)("Hover Effect",C.i18n),value:e.hoverEffect,onChange:e.onChangeHoverEffect,options:[{value:"",label:Object(s.__)("None",C.i18n)},{value:"lift",label:Object(s.__)("Lift",C.i18n)},{value:"scale",label:Object(s.__)("Scale",C.i18n)},{value:"lift-scale",label:Object(s.__)("Lift & Scale",C.i18n)},{value:"scale-more",label:Object(s.__)("Scale More",C.i18n)},{value:"lift-scale-more",label:Object(s.__)("Lift & Scale More",C.i18n)}]}),e.onChangeOpacity&&wp.element.createElement(x.RangeControl,{label:Object(s.__)("Hover Opacity",C.i18n),value:e.hoverOpacity,onChange:e.onChangeHoverOpacity,min:.1,max:1,step:.1,allowReset:!0}),e.hasHoverColors&&"link"!==t&&(!e.onChangeUseSocialColors||!e.useSocialColors)&&wp.element.createElement(Va,{label:Object(s.__)("Hover Colors",C.i18n),onReset:e.onResetHoverColors,allowReset:e.hoverBackgroundColor||e.hoverBackgroundColor2||e.hoverBackgroundGradientDirection||e.hoverTextColor},e.onChangeHoverBackgroundColor&&wp.element.createElement(ge,{label:e.onChangeHoverBackgroundColor&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)?Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",C.i18n),Object(s.__)("Button Color",C.i18n),1):Object(s.__)("Button Color",C.i18n),value:e.hoverBackgroundColor,onChange:e.onChangeHoverBackgroundColor}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(ge,{label:Object(s.sprintf)(Object(s._x)("%s #%d","Panel title",C.i18n),Object(s.__)("Button Color",C.i18n),2),value:e.hoverBackgroundColor2,onChange:e.onChangeHoverBackgroundColor2}),e.onChangeHoverBackgroundColor2&&("ghost"===t&&e.hoverGhostToNormal||"gradient"===e.backgroundColorType&&a)&&wp.element.createElement(Ke,{label:Object(s.__)("Gradient Direction (degrees)",C.i18n),value:e.hoverBackgroundGradientDirection,onChange:e.onChangeHoverBackgroundGradientDirection,min:0,max:360,step:10,allowReset:!0,placeholder:"90"}),e.onChangeHoverTextColor&&("ghost"===t&&e.hoverGhostToNormal||a)&&wp.element.createElement(ge,{label:Object(s.__)("Text Color",C.i18n),value:e.hoverTextColor,onChange:e.onChangeHoverTextColor})),"link"!==t&&wp.element.createElement(Da,null),e.onChangeIcon&&"link"!==t&&wp.element.createElement(xa.a,{label:Object(s.__)("Icon",C.i18n),value:e.icon,onChange:e.onChangeIcon}),e.hasAdvancedIcon&&"link"!==t&&""!==e.icon&&wp.element.createElement(Va,{label:Object(s.__)("Adv. Icon Settings",C.i18n),onReset:e.onResetAdvancedIcon,allowReset:e.iconPosition||""!==e.iconSize||""!==e.iconSpacing},e.onChangeIconSize&&wp.element.createElement(x.RangeControl,{label:Object(s.__)("Icon Size",C.i18n),value:e.iconSize,onChange:e.onChangeIconSize,min:5,max:100,step:1,allowReset:!0}),e.onChangeIconPosition&&wp.element.createElement(x.SelectControl,{label:Object(s.__)("Icon Position",C.i18n),value:e.iconPosition,options:[{value:"",label:Object(s.__)("Left",C.i18n)},{value:"right",label:Object(s.__)("Right",C.i18n)}],onChange:e.onChangeIconPosition}),e.onChangeIconSpacing&&wp.element.createElement(x.RangeControl,{label:Object(s.__)("Icon Spacing",C.i18n),value:e.iconSpacing,onChange:e.onChangeIconSpacing,min:0,max:50,step:1,allowReset:!0,placeholder:"16"})))};To.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 So=To;function Bo(){return(Bo=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 Ao(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Po=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},a=Object(o.b)(e.blockAttributes,n,"");return wp.element.createElement(So,Bo({design:e.blockAttributes[n("Design")]||"",onChangeDesign:function(e){return t(Ao({},n("Design"),e))},url:e.blockAttributes[n("Url")]||"",newTab:e.blockAttributes[n("NewTab")]||"",noFollow:e.blockAttributes[n("NoFollow")]||"",onChangeUrl:function(e){return t(Ao({},n("Url"),e))},onChangeNewTab:function(e){return t(Ao({},n("NewTab"),e))},onChangeNoFollow:function(e){return t(Ao({},n("NoFollow"),e))},size:e.blockAttributes[n("Size")]||"",onChangeSize:function(e){return t(Ao({},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(Ao({},n("Opacity"),e))},onChangeTextColor:function(e){return t(Ao({},n("TextColor"),e))},onChangeBackgroundColorType:function(e){return t(Ao({},n("BackgroundColorType"),e))},onChangeBackgroundColor:function(e){return t(Ao({},n("BackgroundColor"),e))},onChangeBackgroundColor2:function(e){return t(Ao({},n("BackgroundColor2"),e))},onChangeBackgroundGradientDirection:function(e){return t(Ao({},n("BackgroundGradientDirection"),e))},onResetHoverColors:function(){var e;t((Ao(e={},n("HoverBackgroundColor"),""),Ao(e,n("HoverBackgroundColor2"),""),Ao(e,n("HoverBackgroundGradientDirection"),""),Ao(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(Ao({},n("HoverEffect"),e))},onChangeHoverOpacity:function(e){return t(Ao({},n("HoverOpacity"),e))},onChangeHoverTextColor:function(e){return t(Ao({},n("HoverTextColor"),e))},onChangeHoverBackgroundColor:function(e){return t(Ao({},n("HoverBackgroundColor"),e))},onChangeHoverBackgroundColor2:function(e){return t(Ao({},n("HoverBackgroundColor2"),e))},onChangeHoverBackgroundGradientDirection:function(e){return t(Ao({},n("HoverBackgroundGradientDirection"),e))},onChangeHoverGhostToNormal:function(e){return t(Ao({},n("HoverGhostToNormal"),e))},borderRadius:e.blockAttributes[n("BorderRadius")],borderWidth:e.blockAttributes[n("BorderWidth")],shadow:e.blockAttributes[n("Shadow")],onChangeBorderRadius:function(e){return t(Ao({},n("BorderRadius"),e))},onChangeBorderWidth:function(e){return t(Ao({},n("BorderWidth"),e))},onChangeShadow:function(e){return t(Ao({},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(Ao({},n("Icon"),e))},onResetAdvancedIcon:function(){var e;t((Ao(e={},n("IconSize"),""),Ao(e,n("IconPosition"),""),Ao(e,n("IconSpacing"),""),e))},iconSize:e.blockAttributes[n("IconSize")]||"",iconPosition:e.blockAttributes[n("IconPosition")]||"",iconSpacing:e.blockAttributes[n("IconSpacing")],onChangeIconSize:function(e){return t(Ao({},n("IconSize"),e))},onChangeIconPosition:function(e){return t(Ao({},n("IconPosition"),e))},onChangeIconSpacing:function(e){return t(Ao({},n("IconSpacing"),e))}},e))};Po.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var No=Po,Fo=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(x.TextControl,{key:t,className:"ugb-social-url-text-control",label:Object(s.sprintf)(Object(s._x)("%s Link","name",C.i18n),o.a[t].label),value:e["".concat(t,"Url")],onChange:e["onChange".concat(Object(r.upperFirst)(t),"Url")],placeholder:"http://"})})),e.onChangeNewTab&&wp.element.createElement(x.ToggleControl,{label:Object(s.__)("Open link in new tab",C.i18n),checked:e.newTab,onChange:e.onChangeNewTab}),wp.element.createElement(Da,null),wp.element.createElement(No,{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}))};Fo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},socialUrlFields:!0,newTab:!1,onChangeNewTab:function(){},useSocialColors:!0,onChangeUseSocialColors:function(){}};var Ro=Fo;function Do(){return(Do=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 Mo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var zo=function(e){var t=e.setAttributes,n=function(t){return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))};return wp.element.createElement(Ro,Do({newTab:e.blockAttributes[n("NewTab")]||"",onChangeNewTab:function(e){return t(Mo({},n("NewTab"),e))},useSocialColors:e.blockAttributes[n("UseSocialColors")]||"",onChangeUseSocialColors:function(e){return t(Mo({},n("UseSocialColors"),e))}},e))};zo.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{}};var Io=zo,Lo=n(19);n(26);function Uo(){return(Uo=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 Ho(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}Lo.c.add(Ta.a,Sa.a,Ba.a);var Wo=function(e){var t=e.value,n=e.color,a=e.style,o=void 0===a?{}:a,r=e.className,i=void 0===r?"":r,l=Object(xa.b)(t);return l&&wp.element.createElement(Ea.a,{color:n,style:o,icon:l,className:i})};Wo.Content=function(e){var t=e.value,n=Ho(e,["value"]),a=Object(xa.b)(t);return a&&wp.element.createElement(Ea.a,Uo({focusable:void 0,icon:a},n))};var Go=Wo,qo=Object(j.withInstanceId)(Object(j.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,a=e.clickedOnButton,o=e.setState,r=e.isOpen;return wp.element.createElement("div",{className:"ugb-svg-icon-placeholder ugb-svg-icon-placeholder-".concat(t)},wp.element.createElement(x.Button,{className:"ugb-svg-icon-placeholder__button",onClick:function(){o(a?{openPopover:!1,clickedOnButton:!1}:{openPopover:!0})}},wp.element.createElement(Go,{className:e.className,color:e.color,style:e.style,value:e.value})),(null!==r&&r||null===r&&n)&&wp.element.createElement(Na,{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}))}));qo.defaultProps={isOpen:null,className:"",color:"",value:"",style:{},onChange:function(){}};var Vo=qo;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)}var Xo=N.a.createElement("path",{d:"M27 22L5 44l-2.1-2.1L22.8 22 2.9 2.1 5 0l22 22z",fill:"#333"}),Ko=function(e){return N.a.createElement("svg",Yo({viewBox:"0 0 27 44",xmlns:"http://www.w3.org/2000/svg"},e),Xo)};function Jo(){return(Jo=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=N.a.createElement("path",{d:"M0 22L22 0l2.1 2.1L4.2 22l19.9 19.9L22 44 0 22z",fill:"#333"}),Qo=function(e){return N.a.createElement("svg",Jo({viewBox:"0 0 27 44",xmlns:"http://www.w3.org/2000/svg"},e),$o)};function Zo(e){return(Zo="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 er(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 tr(e){return(tr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function nr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ar(e,t){return(ar=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var or=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=tr(t).apply(this,arguments))||"object"!==Zo(a)&&"function"!=typeof a?nr(n):a).state={isOpen:!1,slide:0},e.open=e.open.bind(nr(e)),e.close=e.close.bind(nr(e)),e.prev=e.prev.bind(nr(e)),e.next=e.next.bind(nr(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&&ar(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",C.i18n):t,a=e.buttonClassName,o=void 0===a?"button button-secondary":a,r=e.tag,i=void 0===r?"div":r;return wp.element.createElement(i,null,wp.element.createElement("a",{onClick:this.open,className:o},n),this.state.isOpen&&wp.element.createElement(x.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",C.i18n)}),wp.element.createElement("img",{src:"https://gambitph.github.io/Stackable/assets/premium-slider/layouts.jpg",alt:Object(s.__)("Premium Layouts",C.i18n)}),wp.element.createElement("img",{src:"https://gambitph.github.io/Stackable/assets/premium-slider/seamless.jpg",alt:Object(s.__)("Seamless Layouts Switching",C.i18n)}),wp.element.createElement("img",{src:"https://gambitph.github.io/Stackable/assets/premium-slider/effects.jpg",alt:Object(s.__)("Premium Effects",C.i18n)}),wp.element.createElement("img",{src:"https://gambitph.github.io/Stackable/assets/premium-slider/others.jpg",alt:Object(s.__)("Other Features",C.i18n)})),wp.element.createElement("div",{className:"ugb-pro-modal__carousel-left",onMouseDown:this.prev,onKeyPress:this.prev,role:"button",tabIndex:"0"},wp.element.createElement(Qo,null)),wp.element.createElement("div",{className:"ugb-pro-modal__carousel-right",onMouseDown:this.next,onKeyPress:this.next,role:"button",tabIndex:"0"},wp.element.createElement(Ko,null))),wp.element.createElement("div",{className:"ugb-pro-modal__footer"},wp.element.createElement("a",{href:C.pricingURL,className:"button button-secondary",target:"_blank",rel:"noopener noreferrer",title:Object(s.__)("Go Premium",C.i18n)},Object(s.__)("Go Premium",C.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",C.i18n)},Object(s.__)("Try Premium Demo",C.i18n)),wp.element.createElement("a",{href:"https://rebrand.ly/plugin-slider-premium",target:"_blank",rel:"noopener noreferrer",title:Object(s.__)("Visit Site",C.i18n)},Object(s.__)("Visit Site",C.i18n)))))}}])&&er(n.prototype,a),o&&er(n,o),t}();function rr(){return(rr=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 ir=N.a.createElement("style",null,".pro-icon_svg__st2{fill:#8c33da}"),lr=N.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"}),cr=N.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"}),sr=N.a.createElement("path",{className:"pro-icon_svg__st2",d:"M48.8 115.3zM107 60.1z"}),ur=N.a.createElement("path",{fill:"#e1565d",d:"M48.8 60.1v55.2H107V60.1z"}),br=N.a.createElement("path",{fill:"#47a0dd",d:"M48.8 115.3l58.2 59.8v-59.8z"}),gr=N.a.createElement("path",{fill:"#ef9856",d:"M107 60.1L48.8.4v59.7z"}),mr=N.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"}),pr=N.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"}),dr=N.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"}),fr=N.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"}),hr=function(e){return N.a.createElement("svg",rr({id:"pro-icon_svg__Layer_3",viewBox:"0 0 155.8 175.1",xmlSpace:"preserve",xmlns:"http://www.w3.org/2000/svg"},e),ir,lr,cr,sr,ur,br,gr,mr,pr,dr,fr)},vr={layout:{title:Object(s.__)("Say Hello to More Layouts 👋",C.i18n),description:Object(s.__)("Get more layouts for this block. This feature is only available on Stackable Premium.",C.i18n),button:Object(s.__)("Learn More",C.i18n)},design:{title:Object(s.__)("Say Hello to More Designs 👋",C.i18n),description:Object(s.__)("Get more pre-set sections / designs for this block. This feature is only available on Stackable Premium.",C.i18n),button:Object(s.__)("Learn More",C.i18n)},image:{title:Object(s.__)("Say Hello to More Shapes 👋",C.i18n),description:Object(s.__)("Get more cool shapes for your images. This feature is only available on Stackable Premium.",C.i18n),button:Object(s.__)("Learn More",C.i18n)},effect:{title:Object(s.__)("Say Hello to More Effects 👋",C.i18n),description:Object(s.__)("Get more flashy image & hover effects. This feature is only available on Stackable Premium.",C.i18n),button:Object(s.__)("Learn More",C.i18n)},advanced:{title:Object(s.__)("Say Hello to Fine-Grained Controls 👋",C.i18n),description:Object(s.__)("Get column spacing options, column colors and more. This feature is only available on Stackable Premium.",C.i18n),button:Object(s.__)("Learn More",C.i18n)},postsBlock:{title:Object(s.__)("Say Hello to More Post Controls 👋",C.i18n),description:Object(s.__)("Get pagination, more post options and Custom Post Types. This feature is only available on Stackable Premium.",C.i18n),button:Object(s.__)("Learn More",C.i18n)}},yr=function(e){return wp.element.createElement("div",{className:"ugb-design-control-pro-note"},wp.element.createElement(hr,null),wp.element.createElement("h4",null,e.title||vr[e.type].title),wp.element.createElement("p",null,e.description||vr[e.type].description),e.showButton&&wp.element.createElement(or,{button:e.button||vr[e.type].button}))};yr.defaultProps={type:"layout",title:"",description:"",button:"",showButton:!0};var wr=yr;function Or(e){return(Or="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 _r(e){return(_r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function jr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cr(e,t){return(Cr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var xr=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=_r(t).apply(this,arguments))||"object"!==Or(a)&&"function"!=typeof a?jr(n):a).state={isOpen:!!e.props.initialOpen&&e.props.initialOpen},e.onClick=e.onClick.bind(jr(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&&Cr(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(wr,{type:this.props.type,title:this.props.title,description:this.props.description,button:this.props.button,showButton:this.props.showButton})))}}])&&kr(n.prototype,a),o&&kr(n,o),t}();function Er(e){return(Er="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 Tr(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?Tr(n,!0).forEach(function(t){Br(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tr(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Br(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ar(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 Nr(e){return(Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Fr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rr(e,t){return(Rr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Dr=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=Nr(t).apply(this,arguments))||"object"!==Er(a)&&"function"!=typeof a?Fr(n):a).getEnabledValues(),r=!o.length||o.every(function(e){return e===o[0]}),i=o.every(function(e){return""===e});return e.state={locked:i?e.props.defaultLocked:r},e.onToggleLock=e.onToggleLock.bind(Fr(e)),e.onChangeTop=e.onChangeTop.bind(Fr(e)),e.onChangeRight=e.onChangeRight.bind(Fr(e)),e.onChangeBottom=e.onChangeBottom.bind(Fr(e)),e.onChangeLeft=e.onChangeLeft.bind(Fr(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&&Rr(e,t)}(t,c["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){return[].concat(Ar(this.props.enableTop?[this.props.top]:[]),Ar(this.props.enableRight?[this.props.right]:[]),Ar(this.props.enableBottom?[this.props.bottom]:[]),Ar(this.props.enableLeft?[this.props.left]:[]))}},{key:"getEnabledLocations",value:function(){return[].concat(Ar(this.props.enableTop?["top"]:[]),Ar(this.props.enableRight?["right"]:[]),Ar(this.props.enableBottom?["bottom"]:[]),Ar(this.props.enableLeft?["left"]:[]))}},{key:"filterOnlyEnabled",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(r.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(x.BaseControl,{help:this.props.help,className:l()("ugb-four-number-control",this.props.className)},wp.element.createElement(Ge,{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",C.i18n),value:this.props.top,placeholder:this.props.enableTop?"":Object(s.__)("auto",C.i18n),disabled:!this.props.enableTop}),wp.element.createElement("span",null,Object(s.__)("Top",C.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",C.i18n),disabled:!this.props.enableRight}),wp.element.createElement("span",null,Object(s.__)("Right",C.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",C.i18n),disabled:!this.props.enableBottom}),wp.element.createElement("span",null,Object(s.__)("Bottom",C.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",C.i18n),disabled:!this.props.enableLeft}),wp.element.createElement("span",null,Object(s.__)("Left",C.i18n))),wp.element.createElement(x.IconButton,{className:this.state.locked?"ugb--is-locked":"",onClick:this.onToggleLock,icon:wp.element.createElement(x.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})})))}}])&&Pr(n.prototype,a),o&&Pr(n,o),t}();Dr.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(j.withInstanceId)(Dr);function Mr(){return(Mr=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 zr=N.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),Ir=N.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"}),Lr=function(e){return N.a.createElement("svg",Mr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),zr,Ir)};function Ur(){return(Ur=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 Hr=N.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),Wr=N.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"}),Gr=function(e){return N.a.createElement("svg",Ur({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Hr,Wr)};function qr(){return(qr=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=N.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),Yr=N.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"}),Xr=function(e){return N.a.createElement("svg",qr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Vr,Yr)};function Kr(){return(Kr=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 Jr=N.a.createElement("path",{d:"M1.6 1.6v16.8h16.8V1.6H1.6zm14.1 14.1H4.3V4.3h11.4v11.4z",opacity:.06,fill:"#555d63"}),$r=N.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"}),Qr=function(e){return N.a.createElement("svg",Kr({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),Jr,$r)};function Zr(e){return(Zr="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 ei(){return(ei=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 ti(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 ni(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 ai(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ni(n,!0).forEach(function(t){oi(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ni(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function oi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,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 ii(e){return(ii=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function li(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ci(e,t){return(ci=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var si=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=ii(t).apply(this,arguments))||"object"!==Zr(a)&&"function"!=typeof a?li(n):a).getEnabledValues(),r=e.firstValue(),i=Object.values(o).every(function(e){return e===r}),l=Object.values(o).every(function(e){return""===e});return e.state={locked:l?e.props.defaultLocked:i},e.onToggleLock=e.onToggleLock.bind(li(e)),e.onChangeAll=e.onChangeAll.bind(li(e)),e.onChangeTop=e.onChangeTop.bind(li(e)),e.onChangeRight=e.onChangeRight.bind(li(e)),e.onChangeBottom=e.onChangeBottom.bind(li(e)),e.onChangeLeft=e.onChangeLeft.bind(li(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&&ci(e,t)}(t,c["Component"]),n=t,(a=[{key:"getEnabledValues",value:function(){var e=this;return this.getEnabledLocations().reduce(function(t,n){return ai({},t,oi({},n,e.props[n]))},{})}},{key:"getEnabledLocations",value:function(){return[].concat(ti(this.props.enableTop?["top"]:[]),ti(this.props.enableRight?["right"]:[]),ti(this.props.enableBottom?["bottom"]:[]),ti(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(r.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(ai({},this.getEnabledValues(),{top:e||0===e?e:""}))}},{key:"onChangeRight",value:function(e){this.props.onChange(ai({},this.getEnabledValues(),{right:e||0===e?e:""}))}},{key:"onChangeBottom",value:function(e){this.props.onChange(ai({},this.getEnabledValues(),{bottom:e||0===e?e:""}))}},{key:"onChangeLeft",value:function(e){this.props.onChange(ai({},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-"),r={min:this.props.min,max:this.props.max,step:this.props.step,placeholder:this.props.placeholder,initialPosition:this.props.initialPosition},i=n.indexOf(a)<0?0:n.indexOf(a);Array.isArray(this.props.min)&&(r.min=this.props.min[i]),Array.isArray(this.props.max)&&(r.max=this.props.max[i]),Array.isArray(this.props.step)&&(r.step=this.props.step[i]),Array.isArray(this.props.placeholder)&&(r.placeholder=this.props.placeholder[i]),Array.isArray(this.props.initialPosition)&&(r.initialPosition=this.props.initialPosition[i]);var u=l()(["ugb-four-range-control__lock"],{"ugb--is-locked":this.state.locked}),b=wp.element.createElement(x.IconButton,{className:u,onClick:this.onToggleLock,icon:wp.element.createElement(x.Dashicon,{icon:this.state.locked?"admin-links":"editor-unlink",size:"16"})});return wp.element.createElement(x.BaseControl,{help:this.props.help,className:l()("ugb-four-range-control",this.props.className)},wp.element.createElement(Ge,{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(x.RangeControl,ei({id:"".concat(o,"-all"),value:this.firstValue(),onChange:this.onChangeAll,allowReset:!0},r))),!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(x.Tooltip,{text:Object(s.__)("Top",C.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Qr,null))),wp.element.createElement(x.RangeControl,ei({id:"".concat(o,"-top"),value:this.props.top,onChange:this.onChangeTop,allowReset:!0},r))),this.props.enableRight&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(x.Tooltip,{text:Object(s.__)("Right",C.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Xr,null))),wp.element.createElement(x.RangeControl,ei({id:"".concat(o,"-right"),value:this.props.right,onChange:this.onChangeRight,allowReset:!0},r))),this.props.enableBottom&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(x.Tooltip,{text:Object(s.__)("Bottom",C.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Lr,null))),wp.element.createElement(x.RangeControl,ei({id:"".concat(o,"-bottom"),value:this.props.bottom,onChange:this.onChangeBottom,allowReset:!0},r))),this.props.enableLeft&&wp.element.createElement("div",{className:"ugb-four-range-control__range"},wp.element.createElement(x.Tooltip,{text:Object(s.__)("Left",C.i18n)},wp.element.createElement("span",{className:"ugb-four-range-control__icon"},wp.element.createElement(Gr,null))),wp.element.createElement(x.RangeControl,ei({id:"".concat(o,"-left"),value:this.props.left,onChange:this.onChangeLeft,allowReset:!0},r)))))}}])&&ri(n.prototype,a),o&&ri(n,o),t}();si.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 ui=si;function bi(){return(bi=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 gi=N.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"}),mi=function(e){return N.a.createElement("svg",bi({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),gi)};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)}var di=N.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"}),fi=function(e){return N.a.createElement("svg",pi({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),di)};function hi(){return(hi=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 vi=N.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"}),yi=function(e){return N.a.createElement("svg",hi({viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},e),vi)};function wi(e){return(wi="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 Oi(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 ki(e,t){return!t||"object"!==wi(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 _i(e){return(_i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ji(e,t){return(ji=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Ci={desktop:wp.element.createElement(mi,null),tablet:wp.element.createElement(yi,null),mobile:wp.element.createElement(fi,null)},xi={desktop:Object(s.__)("Desktop",C.i18n),tablet:Object(s.__)("Tablet",C.i18n),mobile:Object(s.__)("Mobile",C.i18n)},Ei=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=ki(this,_i(t).apply(this,arguments))).state={screen:Object(o.K)(),isScreenPickerOpen:Object(o.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&&ji(e,t)}(t,c["Component"]),n=t,(a=[{key:"onChangeUnit",value:function(e){this.props.onChangeUnit(e),this.setState({unit:e})}},{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(Ne.doAction)("stackable.responsive-toggle.screen.close"))):(this.setState({isScreenPickerOpen:!0}),"undefined"==typeof instanceIdOwner&&(Object(o.Y)(!0),Object(Ne.doAction)("stackable.responsive-toggle.screen.open"))),this.props.onChangeScreen(e),this.setState({screen:e}),Object(o.Z)(e),Object(Ne.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(Ne.addAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e),this.onOtherScreenChange.bind(this)),Object(Ne.addAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e),this.onOtherScreenOpen.bind(this)),Object(Ne.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(Ne.removeAction)("stackable.responsive-toggle.screen.change","stackable/responsive-toggle-".concat(e)),Object(Ne.removeAction)("stackable.responsive-toggle.screen.open","stackable/responsive-toggle-".concat(e)),Object(Ne.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(x.IconButton,{key:n,className:e.state.screen===t?"is-active":"",onClick:function(){return e.onChangeScreen(t)},icon:Ci[t],label:xi[t]})}))}}])&&Oi(n.prototype,a),r&&Oi(n,r),t}();Ei.defaultProps={screens:["desktop"],onChangeScreen:function(){}};var Ti=Object(j.withInstanceId)(Ei);function Si(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bi=function(e){var t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return Object(r.camelCase)(Object(s.sprintf)(e.attrNameTemplate,t))},n=Object(o.b)(e.blockAttributes,t,"");return wp.element.createElement(c.Fragment,null,wp.element.createElement(zi,null,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(Si({},t(),n))}})})),wp.element.createElement(zi,{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(Si({},t("Tablet"),n))}})})),wp.element.createElement(zi,{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(Si({},t("Mobile"),n))}})})))};Bi.defaultProps={attrNameTemplate:"%s",setAttributes:function(){},blockAttributes:{},onChange:null,placeholder:""};var Ai=Bi;function Pi(e){return(Pi="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 Ni(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 Fi(e){return(Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ri(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Di(e,t){return(Di=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Mi=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=Fi(t).apply(this,arguments))||"object"!==Pi(a)&&"function"!=typeof a?Ri(n):a).state={screen:Object(o.K)()},e.onScreenChange=e.onScreenChange.bind(Ri(e)),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&&Di(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(Ne.addAction)("stackable.responsive-toggle.screen.change","stackable/when-responsive-screen-".concat(e),this.onScreenChange)}},{key:"componentWillUnmount",value:function(){var e=this.props.instanceId;Object(Ne.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})});return wp.element.createElement(c.Fragment,null,this.state.screen===this.props.screen&&t)}}])&&Ni(n.prototype,a),r&&Ni(n,r),t}();Mi.defaultProps={screen:"desktop",screens:["desktop","tablet","mobile"]};var zi=Object(j.withInstanceId)(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=N.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"}),Ui=function(e){return N.a.createElement("svg",Ii({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Li)};function Hi(){return(Hi=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 Wi=N.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"}),Gi=function(e){return N.a.createElement("svg",Hi({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Wi)};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)}var Vi=N.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"}),Yi=function(e){return N.a.createElement("svg",qi({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Vi)};function Xi(){return(Xi=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 Ki=N.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"}),Ji=function(e){return N.a.createElement("svg",Xi({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Ki)};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 Qi=N.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"}),Zi=function(e){return N.a.createElement("svg",$i({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),Qi)};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)}var tl=N.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"}),nl=function(e){return N.a.createElement("svg",el({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),tl)};function al(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 ol(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rl=[{value:"h1",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Heading",C.i18n),1),icon:wp.element.createElement(Ui,null)},{value:"h2",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Heading",C.i18n),2),icon:wp.element.createElement(Gi,null)},{value:"h3",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Heading",C.i18n),3),icon:wp.element.createElement(Yi,null)},{value:"h4",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Heading",C.i18n),4),icon:wp.element.createElement(Ji,null)},{value:"h5",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Heading",C.i18n),5),icon:wp.element.createElement(Zi,null)},{value:"h6",title:Object(s.sprintf)(Object(s._x)("%s %d","Nth Title",C.i18n),Object(s.__)("Heading",C.i18n),6),icon:wp.element.createElement(nl,null)}],il=function(e){var t=e.label,n=e.value,a=e.onChange;return wp.element.createElement(x.BaseControl,{label:t,id:"ugb-heading-buttons-control",className:"ugb-heading-buttons-control"},wp.element.createElement(x.Toolbar,{className:"ugb-toolbar-full-width",controls:rl.map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?al(n,!0).forEach(function(t){ol(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):al(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{onClick:function(){return a(n!==e.value?e.value:"")},isActive:n===e.value})})}))};il.defaultProps={label:Object(s.sprintf)(Object(s._x)("%s HTML Tag","component"),Object(s.__)("Title",C.i18n)),value:rl[0].value,onChange:function(){}};var ll=il;function cl(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 sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ul=[{value:"left",title:Object(s.__)("Align Left",C.i18n),icon:"editor-alignleft"},{value:"center",title:Object(s.__)("Align Center",C.i18n),icon:"editor-aligncenter"},{value:"right",title:Object(s.__)("Align Right",C.i18n),icon:"editor-alignright"},{value:"justify",title:Object(s.__)("Justified",C.i18n),icon:"editor-justify"}],bl=function(e){var t=e.label,n=e.help,a=e.value,o=e.onChange,r=e.justified,i=e.screens;return wp.element.createElement(x.BaseControl,{className:"ugb-align-buttons-control",help:n},wp.element.createElement(Ge,{label:t,screens:i}),wp.element.createElement(x.Toolbar,{className:"ugb-toolbar-full-width",controls:ul.filter(function(e){return!!r||"justify"!==e.value}).map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cl(n,!0).forEach(function(t){sl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{onClick:function(){return o(a!==e.value?e.value:"")},isActive:a===e.value})})}))};bl.defaultProps={label:Object(s.__)("Align",C.i18n),help:"",value:ul[0].value,onChange:function(){},justified:!1,screens:["desktop"]};var gl=bl;function ml(){return(ml=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 pl(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var dl={Edit:function(e){var t=e.blockProps,n=e.render,a=e.mainClass,o=e.blockTag,r=pl(e,["blockProps","render","mainClass","blockTag"]),i=t.blockName,c=t.attributes,s=c.anchor,u=void 0===s?"":s,b=c.design,g=c.blockTag,m=void 0===g?"div":g,p=l()([e.className],Object(Ne.applyFilters)("stackable.".concat(i,".main-block.classes"),{"ugb-main-block":a},t)),d=m||o||"div";return wp.element.createElement(d,ml({},r,{id:u,className:p}),t.styles,Object(Ne.applyFilters)("stackable.".concat(i,".edit.output.outer"),null,b,t),n&&wp.element.createElement("div",{className:"ugb-inner-block"},Object(Ne.applyFilters)("stackable.".concat(i,".edit.output.before"),null,b,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(Ne.applyFilters)("stackable.".concat(i,".edit.output.after"),null,b,t)))}};dl.Edit.defaultProps={styles:null,mainClass:!0},dl.Save=function(e){var t=e.blockProps,n=e.render,a=e.mainClass,o=e.blockTag,r=pl(e,["blockProps","render","mainClass","blockTag"]),i=t.blockName,c=t.attributes,s=c.anchor,u=void 0===s?"":s,b=c.design,g=c.blockTag,m=void 0===g?"div":g,p=l()([e.className],Object(Ne.applyFilters)("stackable.".concat(i,".main-block.classes"),{"ugb-main-block":a},t)),d=m||o||"div";return wp.element.createElement(d,ml({},r,{id:u,className:p}),t.styles,Object(Ne.applyFilters)("stackable.".concat(i,".save.output.outer"),null,b,t),n&&wp.element.createElement("div",{className:"ugb-inner-block"},Object(Ne.applyFilters)("stackable.".concat(i,".save.output.before"),null,b,t),wp.element.createElement("div",{className:"ugb-block-content"},n(t)),Object(Ne.applyFilters)("stackable.".concat(i,".save.output.after"),null,b,t)))},dl.Save.defaultProps={styles:null,mainClass:!0};var fl=dl,hl=n(34),vl=n(13),yl=n.n(vl);function wl(e){return(wl="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 Ol(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 kl(e){return(kl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jl(e,t){return(jl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var Cl=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=kl(t).apply(this,arguments))||"object"!==wl(a)&&"function"!=typeof a?_l(n):a).state={value:e.props.value},e.uniqueId=Object(r.uniqueId)("ugb-code-textarea-"),e.onChange=e.onChange.bind(_l(e)),e.debouncedOnChange=Object(r.debounce)(e.debouncedOnChange.bind(_l(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&&jl(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(){hl.initialize&&(this.codeMirror=Object(hl.initialize)(this.uniqueId,yl()(hl.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})}}])&&Ol(n.prototype,a),o&&Ol(n,o),t}();Cl.defaultProps={value:"",onChange:function(){},editorSettings:{}};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 Tl(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 Sl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bl={value:"",title:Object(s.__)("Option",C.i18n),onClick:function(){},isActive:!1},Al=function(e){return wp.element.createElement(x.Toolbar,El({className:"ugb-text-toolbar"},e,{controls:e.controls.map(function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tl(n,!0).forEach(function(t){Sl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},Bl,{extraProps:{children:wp.element.createElement("span",{className:"ugb-text-toolbar__label"},e.title)}},e,{icon:void 0})})}))};Al.defaultProps={controls:[]};var Pl=Al;function Nl(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 Fl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rl=function(e){return wp.element.createElement(x.BaseControl,Object(r.omit)(e,["controls"]),wp.element.createElement(Pl,{controls:e.controls.map(function(t){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nl(n,!0).forEach(function(t){Fl(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nl(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t,{isActive:e.value===t.value,onClick:function(){return e.onChange(t.value)}})})}))};Rl.defaultProps={controls:{},value:"",onChange:function(){}};function Dl(){return(Dl=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=N.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"}),zl=function(e){return N.a.createElement("svg",Dl({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ml)};function Il(){return(Il=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 Ll=N.a.createElement("filter",{id:"curve-1-shadow_svg__a"},N.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),N.a.createElement("feComponentTransfer",null,N.a.createElement("feFuncA",{type:"linear",slope:.4})),N.a.createElement("feMerge",null,N.a.createElement("feMergeNode",null),N.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Ul=N.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"}),Hl=function(e){return N.a.createElement("svg",Il({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),Ll,Ul)};function Wl(){return(Wl=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 Gl=N.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"}),ql=function(e){return N.a.createElement("svg",Wl({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Gl)};function Vl(){return(Vl=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 Yl=N.a.createElement("filter",{id:"curve-2-shadow_svg__a"},N.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),N.a.createElement("feComponentTransfer",null,N.a.createElement("feFuncA",{type:"linear",slope:.4})),N.a.createElement("feMerge",null,N.a.createElement("feMergeNode",null),N.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Xl=N.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"}),Kl=function(e){return N.a.createElement("svg",Vl({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),Yl,Xl)};function Jl(){return(Jl=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=N.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"}),Ql=function(e){return N.a.createElement("svg",Jl({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),$l)};function Zl(){return(Zl=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 ec=N.a.createElement("filter",{id:"curve-3-shadow_svg__a"},N.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),N.a.createElement("feComponentTransfer",null,N.a.createElement("feFuncA",{type:"linear",slope:.4})),N.a.createElement("feMerge",null,N.a.createElement("feMergeNode",null),N.a.createElement("feMergeNode",{in:"SourceGraphic"}))),tc=N.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"}),nc=function(e){return N.a.createElement("svg",Zl({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),ec,tc)};function ac(){return(ac=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 oc=N.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"}),rc=function(e){return N.a.createElement("svg",ac({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),oc)};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=N.a.createElement("filter",{id:"rounded-1-shadow_svg__a"},N.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),N.a.createElement("feComponentTransfer",null,N.a.createElement("feFuncA",{type:"linear",slope:.4})),N.a.createElement("feMerge",null,N.a.createElement("feMergeNode",null),N.a.createElement("feMergeNode",{in:"SourceGraphic"}))),cc=N.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"}),sc=function(e){return N.a.createElement("svg",ic({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),lc,cc)};function uc(){return(uc=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 bc=N.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"}),gc=function(e){return N.a.createElement("svg",uc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),bc)};function mc(){return(mc=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=N.a.createElement("filter",{id:"rounded-2-shadow_svg__a"},N.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),N.a.createElement("feComponentTransfer",null,N.a.createElement("feFuncA",{type:"linear",slope:.4})),N.a.createElement("feMerge",null,N.a.createElement("feMergeNode",null),N.a.createElement("feMergeNode",{in:"SourceGraphic"}))),dc=N.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"}),fc=function(e){return N.a.createElement("svg",mc({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),pc,dc)};function hc(){return(hc=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 vc=N.a.createElement("path",{className:"slant-1_svg__st2",d:"M-10 210h1620V.5L-10 183.9z"}),yc=function(e){return N.a.createElement("svg",hc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),vc)};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 Oc=N.a.createElement("filter",{id:"slant-1-shadow_svg__a"},N.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),N.a.createElement("feComponentTransfer",null,N.a.createElement("feFuncA",{type:"linear",slope:.4})),N.a.createElement("feMerge",null,N.a.createElement("feMergeNode",null),N.a.createElement("feMergeNode",{in:"SourceGraphic"}))),kc=N.a.createElement("path",{className:"slant-1-shadow_svg__st2",d:"M-10 183.9v10L1610 10.5V.5z"}),_c=function(e){return N.a.createElement("svg",wc({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),Oc,kc)};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 Cc=N.a.createElement("path",{className:"slant-2_svg__st1",d:"M1610 39.2V209H-10V39.2l810 118.9 810-118.9z"}),xc=function(e){return N.a.createElement("svg",jc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Cc)};function Ec(){return(Ec=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=N.a.createElement("filter",{id:"slant-2-shadow_svg__a"},N.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),N.a.createElement("feComponentTransfer",null,N.a.createElement("feFuncA",{type:"linear",slope:.4})),N.a.createElement("feMerge",null,N.a.createElement("feMergeNode",null),N.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Sc=N.a.createElement("path",{className:"slant-2-shadow_svg__st1",d:"M1610 39.2v12L800 170.1-10 51.2v-12l810 118.9 810-118.9z"}),Bc=function(e){return N.a.createElement("svg",Ec({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),Tc,Sc)};function Ac(){return(Ac=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=N.a.createElement("path",{d:"M-10 210h1620V105.2H-10z"}),Nc=function(e){return N.a.createElement("svg",Ac({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Pc)};function Fc(){return(Fc=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 Rc=N.a.createElement("filter",{id:"straight-1-shadow_svg__a"},N.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),N.a.createElement("feComponentTransfer",null,N.a.createElement("feFuncA",{type:"linear",slope:.4})),N.a.createElement("feMerge",null,N.a.createElement("feMergeNode",null),N.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Dc=N.a.createElement("path",{d:"M-10 121.6h1620v-16.4H-10z"}),Mc=function(e){return N.a.createElement("svg",Fc({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),Rc,Dc)};function zc(){return(zc=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=N.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"}),Lc=function(e){return N.a.createElement("svg",zc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Ic)};function Uc(){return(Uc=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 Hc=N.a.createElement("filter",{id:"wave-1-shadow_svg__a"},N.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),N.a.createElement("feComponentTransfer",null,N.a.createElement("feFuncA",{type:"linear",slope:.4})),N.a.createElement("feMerge",null,N.a.createElement("feMergeNode",null),N.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Wc=N.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"}),Gc=function(e){return N.a.createElement("svg",Uc({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),Hc,Wc)};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 Vc=N.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"}),Yc=function(e){return N.a.createElement("svg",qc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Vc)};function Xc(){return(Xc=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 Kc=N.a.createElement("filter",{id:"wave-2-shadow_svg__a"},N.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),N.a.createElement("feComponentTransfer",null,N.a.createElement("feFuncA",{type:"linear",slope:.4})),N.a.createElement("feMerge",null,N.a.createElement("feMergeNode",null),N.a.createElement("feMergeNode",{in:"SourceGraphic"}))),Jc=N.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"}),$c=function(e){return N.a.createElement("svg",Xc({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),Kc,Jc)};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 Zc=N.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"}),es=function(e){return N.a.createElement("svg",Qc({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),Zc)};function ts(){return(ts=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=N.a.createElement("filter",{id:"wave-3-shadow_svg__a"},N.a.createElement("feGaussianBlur",{in:"SourceAlpha",stdDeviation:4}),N.a.createElement("feComponentTransfer",null,N.a.createElement("feFuncA",{type:"linear",slope:.4})),N.a.createElement("feMerge",null,N.a.createElement("feMergeNode",null),N.a.createElement("feMergeNode",{in:"SourceGraphic"}))),as=N.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"}),os={"wave-1":Lc,"wave-2":Yc,"wave-3":es,"curve-1":zl,"curve-2":ql,"curve-3":Ql,"slant-1":yc,"slant-2":xc,"straight-1":Nc,"rounded-1":rc,"rounded-2":gc},rs={"wave-1":Gc,"wave-2":$c,"wave-3":function(e){return N.a.createElement("svg",ts({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),ns,as)},"curve-1":Hl,"curve-2":Kl,"curve-3":nc,"slant-1":_c,"slant-2":Bc,"straight-1":Mc,"rounded-1":sc,"rounded-2":fc},is=function(e){var t=os[e.design],n=rs[e.design],a=l()([e.className,"ugb-separator-wrapper"]);return wp.element.createElement("div",{className:a},e.shadow&&wp.element.createElement(n,{className:"ugb-separator__shadow",preserveAspectRatio:"none","aria-hidden":"true"}),wp.element.createElement(t,{className:"ugb-separator__layer-1",preserveAspectRatio:"none","aria-hidden":"true"}),e.children)};is.defaultProps={className:"",design:"wave-1",shadow:!1},is.Save=function(e){return wp.element.createElement(is,e)};var ls=is;function cs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ss=function(e){var t,n=l()([e.className,"ugb-img"],(cs(t={},"wp-image-".concat(e.imageId),e.imageId),cs(t,"ugb-img--shape",e.shape),cs(t,"ugb-image--shape-stretch",e.shapeStretch),cs(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})};ss.defaultProps={imageId:"",alt:"",src:"",size:"full",width:"",height:"",shape:"",shapeStretch:!1,shadow:""};var us=ss,bs=n(18),gs=n(25),ms=n(15),ps=wp.element.createElement(x.Icon,{icon:ms.g}),ds=wp.element.createElement(x.Icon,{icon:ms.w});var fs=Object(j.compose)([Object(E.withSelect)(function(e,t){var n=t.clientIds,a=e("core/block-editor"),o=a.getBlockRootClientId,r=a.getBlocksByClientId,i=(0,a.canInsertBlockType)("ugb/container",n&&n.length>0?o(n[0]):void 0),l=r(n),c=1===l.length&&l[0]&&"ugb/container"===l[0].name;return{isGroupable:i&&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?r.noop:a,i=t.blocksSelection,l=void 0===i?[]:i,c=t.groupingBlockName,s=e("core/block-editor").replaceBlocks;return{onConvertToGroup:function(){if(l.length){var e=Object(E.select)("core/blocks").getGroupingBlockName();Object(bs.setGroupingBlockName)("ugb/container");var t=Object(bs.switchToBlockType)(l,c);t&&s(n,t),Object(bs.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,r=e.isUngroupable,i=void 0!==r&&r;return Object(E.select)("core/block-editor").getSelectedBlockClientIds?wp.element.createElement(c.Fragment,null,o&&wp.element.createElement(gs.PluginBlockSettingsMenuItem,{icon:ps,label:Object(s.__)("Group into Container",C.i18n),onClick:t}),i&&wp.element.createElement(gs.PluginBlockSettingsMenuItem,{icon:ds,label:Object(s.__)("Ungroup from Container",C.i18n),onClick:n})):null}),hs=Object(E.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientIds;return t?{clientIds:t()}:{}})(fs),vs=Object(j.withState)({openPopover:!1,changed:!1})(function(e){var t=e.blockName,n=e.openPopover,a=e.changed,o=e.setState,i=e.getJSONBlockAttributes,l=e.setJSONBlockAttributes;return wp.element.createElement(c.Fragment,null,wp.element.createElement(gs.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(x.Modal,{title:"".concat(Object(r.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})}},i())))}),ys=Object(j.compose)([Object(E.withSelect)(function(e,t){var n=t.clientId,a=e("core/block-editor").getBlockName;return{blockName: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),r=t(n).replace(/^\w+\//g,""),i=a(t(n)).attributes,l=Object.keys(o).reduce(function(e,t){return o[t]!==(i[t]?i[t].default:"")&&(e[t]=o[t]),e},{});return l.uniqueClass=void 0,JSON.stringify(Object(Ne.applyFilters)("stackable.".concat(r,".design.apply-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)}}}})])(vs),ws=Object(E.withSelect)(function(e){var t=e("core/block-editor").getSelectedBlockClientId;return t?{clientId:t()}:{}})(ys);function Os(){return(Os=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 ks(e,t){if(null==e)return{};var n,a,o=function(e,t){if(null==e)return{};var n,a,o={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)n=r[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var _s=function(e){var t=e.blockTag,n=e.className,a=e.backgroundAttrName,r=e.blockProps,i=e.showBackground,c=e.showVideoBackground,s=ks(e,["blockTag","className","backgroundAttrName","blockProps","showBackground","showVideoBackground"]),u=l()([n],{"ugb--has-background-overlay":i&&Object(o.M)(a,r.attributes)});return wp.element.createElement(t,Os({className:u},s),e.children,i&&c&&Object(o.E)(a,r))};_s.defaultProps={className:"",backgroundAttrName:"%s",blockProps:{},showBackground:!0,showVideoBackground:!0,blockTag:"div"};var js=_s;n.d(t,"n",function(){return a.i}),n.d(t,"o",function(){return a.a}),n.d(t,"bb",function(){return _}),n.d(t,"cb",function(){return d}),n.d(t,"R",function(){return ne}),n.d(t,"kb",function(){return re}),n.d(t,"lb",function(){return se}),n.d(t,"r",function(){return ge}),n.d(t,"i",function(){return pe}),n.d(t,"L",function(){return Oe}),n.d(t,"I",function(){return je}),n.d(t,"O",function(){return Me}),n.d(t,"P",function(){return Ie}),n.d(t,"Q",function(){return He}),n.d(t,"b",function(){return Ke}),n.d(t,"c",function(){return $e}),n.d(t,"a",function(){return pt}),n.d(t,"d",function(){return Gt}),n.d(t,"B",function(){return Yt}),n.d(t,"A",function(){return $t}),n.d(t,"T",function(){return cn}),n.d(t,"U",function(){return un}),n.d(t,"S",function(){return gn}),n.d(t,"V",function(){return Ln}),n.d(t,"k",function(){return Vn}),n.d(t,"w",function(){return Xn}),n.d(t,"x",function(){return Kn}),n.d(t,"v",function(){return Zn}),n.d(t,"y",function(){return Ca}),n.d(t,"F",function(){return xa.a}),n.d(t,"G",function(){return Na}),n.d(t,"s",function(){return Ra}),n.d(t,"t",function(){return Da}),n.d(t,"p",function(){return Va}),n.d(t,"M",function(){return Xa}),n.d(t,"N",function(){return Qa}),n.d(t,"J",function(){return eo}),n.d(t,"K",function(){return oo}),n.d(t,"ib",function(){return lo}),n.d(t,"jb",function(){return bo}),n.d(t,"f",function(){return mo}),n.d(t,"g",function(){return vo}),n.d(t,"l",function(){return So}),n.d(t,"m",function(){return No}),n.d(t,"db",function(){return Ro}),n.d(t,"eb",function(){return Io}),n.d(t,"fb",function(){return Go}),n.d(t,"gb",function(){return Vo}),n.d(t,"W",function(){return wr}),n.d(t,"X",function(){return xr}),n.d(t,"C",function(){return ui}),n.d(t,"Z",function(){return Ti}),n.d(t,"Y",function(){return Ai}),n.d(t,"h",function(){return Ge}),n.d(t,"mb",function(){return zi}),n.d(t,"E",function(){return ll}),n.d(t,"e",function(){return gl}),n.d(t,"j",function(){return fl}),n.d(t,"q",function(){return xl}),n.d(t,"hb",function(){return Pl}),n.d(t,"ab",function(){return ls}),n.d(t,"H",function(){return us}),n.d(t,"u",function(){return hs}),n.d(t,"D",function(){return ws}),n.d(t,"z",function(){return js})},function(e,t){e.exports=wp.hooks},,function(e,t){e.exports=wp.blockEditor},,function(e,t){e.exports=wp.components},function(e,t){e.exports=wp.element},function(e,t,n){"use strict";var a=n(3),o=n(4),r=n(7),i=n.n(r),l=n(9),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 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)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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&&p(e.prototype,t),n&&p(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 r,c;return c=r=function(r){function c(){return m(this,c),f(this,h(c).apply(this,arguments))}return v(c,l["Component"]),d(c,[{key:"render",value:function(){var r=i()([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,g({},this.props,{className:r,styles:s}))}}]),c}(),w(r,"propTypes",{attributes:u.a.shape({uniqueClass:u.a.string.isRequired}),blockName:u.a.string.isRequired,mainClassName:u.a.string.isRequired}),w(r,"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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(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&&B(e,t)}function B(e,t){return(B=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 P=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,T(a).apply(this,arguments))}return S(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 N(e){return(N="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"!==N(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,r;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,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&&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),r&&F(a,r),n}(),r={attributes:{}},(o="defaultProps")in(a=t)?Object.defineProperty(a,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[o]=r,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 r,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"]),r=a,(c=[{key:"render",value:function(){var n=e.replace(/^\w+\//g,""),a=e.replace(/\//g,"-"),r=Object(o.applyFilters)("stackable.".concat(n,".mainClassName"),a,e),l=i()([(this.props.className||"").split(" ").filter(function(e){return e!==a}),r]);return wp.element.createElement(t,L({},this.props,{className:l,mainClassName:r,blockName:n}))}}])&&U(r.prototype,c),s&&U(r,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 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)}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 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 Q=Object(c.createHigherOrderComponent)(function(e){var t,n,a,r,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=K(n).apply(this,arguments))||"object"!==V(a)&&"function"!=typeof a?J(t):a).setAttributes=e.setAttributes.bind(J(e)),e}var a,r,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&&$(e,t)}(n,l["Component"]),a=n,(r=[{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,Y({},this.props,{setAttributes:this.setAttributes}))}}])&&X(a.prototype,r),i&&X(a,i),n}(),a=t,r="propTypes",i={setAttributes:u.a.func.isRequired},r in a?Object.defineProperty(a,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):a[r]=i,n},"withSetAttributeHook"),Z=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 re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ie(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,r;return r=n=function(n){function r(){return te(this,r),oe(this,re(r).apply(this,arguments))}return ie(r,l["Component"]),ae(r,[{key:"render",value:function(){var n=this.props.blockName,r=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(Z.InspectorControls,null,wp.element.createElement(a.V,{tabs:e,blockProps:this.props})),wp.element.createElement(a.S,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.S,{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),r&&wp.element.createElement("div",{className:"ugb-panel-controls-separator",role:"presentation"},"— — —"),r),wp.element.createElement(a.S,{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))}}]),r}(),ce(n,"defaultProps",{attributes:{},blockName:""}),r},"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 ge(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 me(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 pe(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),pe(this,de(n).apply(this,arguments))}var a,o,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&&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)}}])&&me(a.prototype,o),r&&me(a,r),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(ge(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;n.d(t,"a",function(){return O}),n.d(t,"b",function(){return P}),n.d(t,"c",function(){return z}),n.d(t,"d",function(){return q}),n.d(t,"e",function(){return Q}),n.d(t,"f",function(){return se}),n.d(t,"g",function(){return ye})},function(e,t){e.exports=lodash},function(e,t){e.exports=wp.compose},,function(e,t){e.exports=wp.data},function(e,t,n){"use strict";var a=n(5),o=n.n(a);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 i=o.a.createElement("path",{d:"M64.08 136L23 176.66a4.75 4.75 0 003.53 8.15l86.91.14zM177.91 128.39a17 17 0 00-5-12.07L71.39 14.72 26.61 59.5a17 17 0 00-5 12.05 17 17 0 005 12.05l101.55 101.6v-.07l44.76-44.76a17 17 0 005-12zM172.95 14.69H86.12l49.42 49.62 40.92-41.16a5 5 0 00-3.51-8.46z"}),l=function(e){return o.a.createElement("svg",r({viewBox:"0 0 200 200",fill:"#fff",xmlns:"http://www.w3.org/2000/svg"},e),i)};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("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"}),u=function(e){return o.a.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg"},e),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 g=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"}),m=function(e){return o.a.createElement("svg",b({xmlns:"http://www.w3.org/2000/svg"},e),g)};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 d=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"}),f=function(e){return o.a.createElement("svg",p({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:"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"}),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.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"}),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.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"}),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.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"}),T=function(e){return o.a.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg"},e),E)};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=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"}),A=function(e){return o.a.createElement("svg",S({xmlns:"http://www.w3.org/2000/svg"},e),B)};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 N=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"}),F=function(e){return o.a.createElement("svg",P({xmlns:"http://www.w3.org/2000/svg"},e),N)};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:"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"}),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:"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"}),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.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"}),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.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"}),V=function(e){return o.a.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg"},e),q)};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 X=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"}),K=function(e){return o.a.createElement("svg",Y({xmlns:"http://www.w3.org/2000/svg"},e),X)};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:"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"}),Q=function(e){return o.a.createElement("svg",J({xmlns:"http://www.w3.org/2000/svg"},e),$)};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 ee=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"}),te=function(e){return o.a.createElement("svg",Z({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:"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"}),oe=function(e){return o.a.createElement("svg",ne({xmlns:"http://www.w3.org/2000/svg"},e),ae)};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 ie=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"}),le=function(e){return o.a.createElement("svg",re({xmlns:"http://www.w3.org/2000/svg"},e),ie)};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:"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"}),ue=function(e){return o.a.createElement("svg",ce({viewBox:"0 0 20 20",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 ge=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"}),me=function(e){return o.a.createElement("svg",be({xmlns:"http://www.w3.org/2000/svg"},e),ge)};function pe(){return(pe=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:"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"}),fe=function(e){return o.a.createElement("svg",pe({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:"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"}),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:"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"}),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:"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"}),Ce=function(e){return o.a.createElement("svg",_e({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),je)},xe=n(9),Ee=n(33),Te=n(18);n.d(t,"a",function(){return Be}),n.d(t,"b",function(){return Ae}),n.d(t,"c",function(){return Pe}),n.d(t,"d",function(){return Ne}),n.d(t,"f",function(){return Fe}),n.d(t,"g",function(){return Re}),n.d(t,"h",function(){return De}),n.d(t,"e",function(){return Me}),n.d(t,"i",function(){return ze}),n.d(t,"j",function(){return Ie}),n.d(t,"k",function(){return Le}),n.d(t,"l",function(){return Ue}),n.d(t,"m",function(){return He}),n.d(t,"n",function(){return We}),n.d(t,"o",function(){return Ge}),n.d(t,"p",function(){return qe}),n.d(t,"q",function(){return Ve}),n.d(t,"r",function(){return Ye}),n.d(t,"s",function(){return Xe}),n.d(t,"t",function(){return Ke}),n.d(t,"u",function(){return Je}),n.d(t,"v",function(){return $e}),n.d(t,"x",function(){return Qe}),n.d(t,"w",function(){return Ze});var Se=function(e){return Object(xe.cloneElement)(e,{fill:"url(#stackable-gradient)",className:"ugb-stackable-icon-gradient"})};void 0!==window.wp.blocks&&void 0!==window.wp.blocks.updateCategory&&Object(Te.updateCategory)("stackable",{icon:Se(wp.element.createElement(l,{className:"components-panel__icon",width:"20",height:"20"}))}),Object(Ee.a)(function(){var e=document.createElement("DIV");document.querySelector("body").appendChild(e),Object(xe.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 Be=function(){return Se(wp.element.createElement(u,{width:"20",height:"20"}))},Ae=function(){return Se(wp.element.createElement(m,{width:"20",height:"20"}))},Pe=function(){return Se(wp.element.createElement(f,{width:"20",height:"20"}))},Ne=function(){return Se(wp.element.createElement(y,{width:"20",height:"20"}))},Fe=function(){return Se(wp.element.createElement(k,{width:"20",height:"20"}))},Re=function(){return Se(wp.element.createElement(C,{width:"20",height:"20"}))},De=function(){return Se(wp.element.createElement(T,{width:"20",height:"20"}))},Me=function(){return Se(wp.element.createElement(A,{width:"20",height:"20"}))},ze=function(){return Se(wp.element.createElement(F,{width:"20",height:"20"}))},Ie=function(){return Se(wp.element.createElement(M,{width:"20",height:"20"}))},Le=function(){return Se(wp.element.createElement(L,{width:"20",height:"20"}))},Ue=function(){return Se(wp.element.createElement(W,{width:"20",height:"20"}))},He=function(){return Se(wp.element.createElement(V,{width:"20",height:"20"}))},We=function(){return Se(wp.element.createElement(K,{width:"20",height:"20"}))},Ge=function(){return Se(wp.element.createElement(Q,{width:"20",height:"20"}))},qe=function(){return Se(wp.element.createElement(te,{width:"20",height:"20"}))},Ve=function(){return Se(wp.element.createElement(oe,{width:"20",height:"20"}))},Ye=function(){return Se(wp.element.createElement(le,{width:"20",height:"20"}))},Xe=function(){return Se(wp.element.createElement(ue,{width:"20",height:"20"}))},Ke=function(){return Se(wp.element.createElement(me,{width:"20",height:"20"}))},Je=function(){return Se(wp.element.createElement(fe,{width:"20",height:"20"}))},$e=function(){return Se(wp.element.createElement(ye,{width:"20",height:"20"}))},Qe=function(){return Se(wp.element.createElement(ke,{width:"20",height:"20"}))},Ze=function(){return Se(wp.element.createElement(Ce,{width:"20",height:"20"}))}},function(e,t,n){"use strict";var a=n(3),o=n(0),r=n(9),i=n(7),l=n.n(i),c=n(1),s=n(6),u=n(26);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 g=function(e){var t,n=e.className,a=void 0===n?"":n,o=e.align,r=void 0===o?"center":o,i=e.size,c=void 0===i?"normal":i,g=e.url,m=void 0===g?"":g,p=e.icon,d=void 0===p?null:p,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(r),"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:m,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})))},m=function(e){var t,n=e.className,a=void 0===n?"":n,o=e.align,r=void 0===o?"center":o,i=e.size,c=void 0===i?"normal":i,g=e.url,m=void 0===g?"":g,p=e.icon,d=void 0===p?null:p,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(r),"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:m,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})))},p=function(e){var t,n=e.className,a=void 0===n?"":n,o=e.align,r=void 0===o?"center":o,i=e.size,c=void 0===i?"normal":i,g=e.url,m=void 0===g?"":g,p=e.icon,d=void 0===p?null:p,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(r),"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:m,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=p,f=function(e){var t,n=e.className,a=void 0===n?"":n,o=e.align,r=void 0===o?"center":o,i=e.size,c=void 0===i?"normal":i,g=e.url,m=void 0===g?"":g,p=e.icon,d=void 0===p?null:p,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(r),"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:m,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,r=e.size,i=void 0===r?"normal":r,c=e.url,u=void 0===c?"":c,b=e.color,g=e.text,m=e.backgroundColor,p={borderRadius:e.borderRadius+"px",backgroundColor:m||void 0},d=l()([n,"ugb-button","ugb-button-".concat(o),"ugb-button-".concat(i)]);return wp.element.createElement("div",{className:d,style:p},wp.element.createElement(s.RichText.Content,{tagName:"a",className:"ugb-button-inner",href:u,style:{color:b},value:g}))},v=function(e){var t=e.align,n=void 0===t?"center":t,a=e.size,o=void 0===a?"normal":a,r=e.url,i=void 0===r?"":r,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:i,style:{color:l},value:c}))},y=n(11);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(P,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(P.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 T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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}n.d(t,"d",function(){return g}),n.d(t,"c",function(){return m}),n.d(t,"h",function(){return p}),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 B=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,S(E(e),"hideUrlPopup",function(){document.body.removeEventListener("click",e.outsideClickHandler),e.setState({openPopup:!1})}),e.state={openPopup:!1},e.buttonInstanceId=B++,e.onButtonClickHandler=e.onButtonClickHandler.bind(E(e)),e.outsideClickHandler=e.outsideClickHandler.bind(E(e)),e.onKeyPressHandler=e.onKeyPressHandler.bind(E(e)),e}var n,i,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&&T(e,t)}(t,r["Component"]),n=t,(i=[{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,i=t.className,u=void 0===i?"":i,b=t.size,g=void 0===b?"normal":b,m=t.text,p=void 0===m?"":m,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,T=void 0===E?"":E,B=t.newTab,A=void 0===B?"":B,P=t.noFollow,N=void 0===P?"":P,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(g)],(S(e={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":x},"ugb--hover-effect-".concat(j),"link"!==v&&j),S(e,"ugb--shadow-".concat(w),"basic"===v&&w),S(e,"ugb-button--design-".concat(v),"basic"!==v),S(e,"ugb-button--has-icon",W),S(e,"ugb-button--icon-position-".concat(k),k),e)),Y=(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(r.Fragment,null,!U&&wp.element.createElement(a.fb,{value:W}),U&&wp.element.createElement(a.gb,{value:W,onChange:U,isOpen:n?Y:null})),!n&&wp.element.createElement(s.RichText,{tagName:"span",className:"link"===v?"":"ugb-button--inner",placeholder:Object(o.__)("Button text",c.i18n),value:p,onChange:f,withoutInteractiveFormatting:!0,keepPlaceholderOnFocus:!0}),Y&&wp.element.createElement(a.lb,{value:T,onChange:R,newTab:A,noFollow:N,onChangeNewTab:M,onChangeNoFollow:I,disableSuggestions:this.props.disableSuggestions})))}}])&&C(n.prototype,i),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,r=void 0===o?"":o,i=e.size,c=void 0===i?"normal":i,u=e.url,b=void 0===u?"":u,g=e.icon,m=void 0===g?null:g,p=e.text,d=void 0===p?"":p,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,T=e.ghostToNormalEffect,B=void 0!==T&&T,A=e.target,P=void 0===A?"":A,N=l()([r,"ugb-button","ugb-button--size-".concat(c)],(S(t={"ugb-button--icon-only":n,"ugb-button--ghost-to-normal-effect":B},"ugb--hover-effect-".concat(C),"link"!==h&&C),S(t,"ugb--shadow-".concat(O),"basic"===h&&O),S(t,"ugb-button--design-".concat(h),"basic"!==h),S(t,"ugb-button--has-icon",m),S(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:N,href:b,target:P||y?P||"_blank":void 0,rel:e.rel||F.join(" ")},m&&"link"!==h&&wp.element.createElement(a.fb.Content,{value:m}),!n&&wp.element.createElement(s.RichText.Content,{tagName:"span",className:"link"===h?"":"ugb-button--inner",value:d})))};var P=t.i=A},,function(e,t){e.exports=wp.blocks},,,,,,function(e,t,n){"use strict";n.d(t,"b",function(){return p});var a=n(0),o=n(8),r=n(12),i=n(21),l=n(22),c=n(23),s=n(20),u=n(1),b=n(11),g=n(3);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 p=function(e){return"string"!=typeof e?null:e.match(/\w*-/)?[e.match(/\w*/),e.match(/\w+-(.*)$/)[1]]:null},d=Object(r.withInstanceId)(Object(r.withState)({openPopover:!1,clickedOnButton:!1})(function(e){var t=e.instanceId,n=e.openPopover,r=e.clickedOnButton,d=e.setState,f=p(e.value),h=function(e){var t=p(e);if(!t)return!1;var n=e.match(/^\w*/)[0];if(!["fab","far","fas"].includes(n))return!1;var a={fab:i.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,m({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(r?{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(g.G,{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(24),o=n(21),r=n(22),i=n(23),l=n(20);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(19).c.add(o.a,r.a,i.a);var s=function(e){var t=e.value,n=e.color,o=e.style,r=void 0===o?{}:o,i=e.className,c=void 0===i?"":i,s=Object(a.b)(t);return s&&wp.element.createElement(l.a,{color:n,style:r,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){e.exports=wp.richText},function(e,t){e.exports=wp.viewport},,function(e,t){e.exports=wp.codeEditor},function(e,t){e.exports=wp.plugins},,,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.5865083.png"},function(e,t){e.exports="dist/images/components-image-shape-control-circle.199e4d0.png"},function(e,t){e.exports="dist/images/components-image-shape-control-blob1.e99e5be.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":["latin","sinhala","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":["latin","greek","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","latin","cyrillic-ext","greek","vietnamese","cyrillic","latin-ext"]},{"family":"Alegreya SC","variants":["regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["greek-ext","latin","cyrillic-ext","greek","vietnamese","cyrillic","latin-ext"]},{"family":"Alegreya Sans","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["greek-ext","latin","cyrillic-ext","greek","vietnamese","cyrillic","latin-ext"]},{"family":"Alegreya Sans SC","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic","800","800italic","900","900italic"],"subsets":["greek-ext","latin","cyrillic-ext","greek","vietnamese","cyrillic","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-ext","cyrillic"]},{"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","hebrew","vietnamese","cyrillic","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":["latin","arabic","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-ext","vietnamese","cyrillic","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":["latin","greek","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":["latin","arabic"]},{"family":"Arima Madurai","variants":["100","200","300","regular","500","700","800","900"],"subsets":["latin","tamil","vietnamese","latin-ext"]},{"family":"Arimo","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","latin","cyrillic-ext","greek","hebrew","vietnamese","cyrillic","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-ext","vietnamese","cyrillic","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","thai","vietnamese","latin-ext"]},{"family":"Atma","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"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","thai","vietnamese","latin-ext"]},{"family":"Baloo","variants":["regular"],"subsets":["latin","devanagari","vietnamese","latin-ext"]},{"family":"Baloo Bhai","variants":["regular"],"subsets":["latin","gujarati","vietnamese","latin-ext"]},{"family":"Baloo Bhaijaan","variants":["regular"],"subsets":["latin","arabic","vietnamese","latin-ext"]},{"family":"Baloo Bhaina","variants":["regular"],"subsets":["latin","oriya","vietnamese","latin-ext"]},{"family":"Baloo Chettan","variants":["regular"],"subsets":["latin","malayalam","vietnamese","latin-ext"]},{"family":"Baloo Da","variants":["regular"],"subsets":["bengali","latin","vietnamese","latin-ext"]},{"family":"Baloo Paaji","variants":["regular"],"subsets":["latin","gurmukhi","vietnamese","latin-ext"]},{"family":"Baloo Tamma","variants":["regular"],"subsets":["kannada","latin","vietnamese","latin-ext"]},{"family":"Baloo Tammudu","variants":["regular"],"subsets":["latin","telugu","vietnamese","latin-ext"]},{"family":"Baloo Thambi","variants":["regular"],"subsets":["latin","tamil","vietnamese","latin-ext"]},{"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":["latin","arabic","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","latin","greek","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","tamil","latin-ext"]},{"family":"Caudex","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","latin","greek","latin-ext"]},{"family":"Caveat","variants":["regular","700"],"subsets":["latin","cyrillic-ext","cyrillic","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","thai","vietnamese","latin-ext"]},{"family":"Changa","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","arabic","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","thai","vietnamese","latin-ext"]},{"family":"Charmonman","variants":["regular","700"],"subsets":["latin","thai","vietnamese","latin-ext"]},{"family":"Chathura","variants":["100","300","regular","700","800"],"subsets":["latin","telugu"]},{"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","thai","vietnamese","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","tamil","vietnamese","latin-ext"]},{"family":"Combo","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Comfortaa","variants":["300","regular","500","600","700"],"subsets":["latin","cyrillic-ext","greek","vietnamese","cyrillic","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-ext","vietnamese","cyrillic","latin-ext"]},{"family":"Cormorant Garamond","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","cyrillic-ext","vietnamese","cyrillic","latin-ext"]},{"family":"Cormorant Infant","variants":["300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","cyrillic-ext","vietnamese","cyrillic","latin-ext"]},{"family":"Cormorant SC","variants":["300","regular","500","600","700"],"subsets":["latin","cyrillic-ext","vietnamese","cyrillic","latin-ext"]},{"family":"Cormorant Unicase","variants":["300","regular","500","600","700"],"subsets":["latin","cyrillic-ext","vietnamese","cyrillic","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":"Cousine","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","latin","cyrillic-ext","greek","hebrew","vietnamese","cyrillic","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-ext","vietnamese","cyrillic","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","hebrew","vietnamese","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":["latin","telugu"]},{"family":"Didact Gothic","variants":["regular"],"subsets":["greek-ext","latin","cyrillic-ext","greek","cyrillic","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","latin","cyrillic-ext","greek","vietnamese","cyrillic","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":["latin","arabic","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-ext","vietnamese","cyrillic","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","thai","vietnamese","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":["latin","gujarati","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","italic","500","500italic","600","600italic","700","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","latin","cyrillic-ext","greek","cyrillic","latin-ext"]},{"family":"Fira Mono","variants":["regular","500","700"],"subsets":["greek-ext","latin","cyrillic-ext","greek","cyrillic","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","latin","cyrillic-ext","greek","vietnamese","cyrillic","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","latin","cyrillic-ext","greek","vietnamese","cyrillic","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","latin","cyrillic-ext","greek","vietnamese","cyrillic","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-ext","cyrillic","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-ext","cyrillic"]},{"family":"Gaegu","variants":["300","regular","700"],"subsets":["latin","korean"]},{"family":"Gafata","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Galada","variants":["regular"],"subsets":["bengali","latin"]},{"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":"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":["latin","telugu"]},{"family":"Gilda Display","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":["latin","telugu"]},{"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":["latin","arabic"]},{"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":["latin","telugu","latin-ext"]},{"family":"Hind Madurai","variants":["300","regular","500","600","700"],"subsets":["latin","tamil","latin-ext"]},{"family":"Hind Siliguri","variants":["300","regular","500","600","700"],"subsets":["bengali","latin","latin-ext"]},{"family":"Hind Vadodara","variants":["300","regular","500","600","700"],"subsets":["latin","gujarati","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-ext","vietnamese","cyrillic","latin-ext"]},{"family":"IBM Plex Sans","variants":["100","100italic","200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","cyrillic-ext","greek","vietnamese","cyrillic","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-ext","vietnamese","cyrillic","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":"Irish Grover","variants":["regular"],"subsets":["latin"]},{"family":"Istok Web","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic-ext","cyrillic","latin-ext"]},{"family":"Italiana","variants":["regular"],"subsets":["latin"]},{"family":"Italianno","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Itim","variants":["regular"],"subsets":["latin","thai","vietnamese","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":["latin","arabic","latin-ext"]},{"family":"Jomolhari","variants":["regular"],"subsets":["latin","tibetan"]},{"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","latin","cyrillic-ext","greek","vietnamese","cyrillic","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","thai","vietnamese","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","thai","vietnamese","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":["latin","arabic","latin-ext"]},{"family":"Kaushan Script","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Kavivanar","variants":["regular"],"subsets":["latin","tamil","latin-ext"]},{"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","thai","vietnamese","latin-ext"]},{"family":"Kodchasan","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic"],"subsets":["latin","thai","vietnamese","latin-ext"]},{"family":"Kosugi","variants":["regular"],"subsets":["latin","cyrillic","japanese"]},{"family":"Kosugi Maru","variants":["regular"],"subsets":["latin","cyrillic","japanese"]},{"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","thai","vietnamese","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":["latin","gujarati","latin-ext"]},{"family":"Kumar One Outline","variants":["regular"],"subsets":["latin","gujarati","latin-ext"]},{"family":"Kurale","variants":["regular"],"subsets":["latin","cyrillic-ext","devanagari","cyrillic","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":["latin","telugu"]},{"family":"Lalezar","variants":["regular"],"subsets":["latin","arabic","vietnamese","latin-ext"]},{"family":"Lancelot","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Lateef","variants":["regular"],"subsets":["latin","arabic"]},{"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":["latin","arabic","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","latin","greek","vietnamese","cyrillic","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-ext","vietnamese","cyrillic","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-ext","vietnamese","cyrillic","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":["greek-ext","latin","cyrillic-ext","greek","hebrew","vietnamese","cyrillic","japanese","latin-ext"]},{"family":"M PLUS Rounded 1c","variants":["100","300","regular","500","700","800","900"],"subsets":["greek-ext","latin","cyrillic-ext","greek","hebrew","vietnamese","cyrillic","japanese","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":["latin","arabic"]},{"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","thai","vietnamese","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","thai","vietnamese","latin-ext"]},{"family":"Mallanna","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Mandali","variants":["regular"],"subsets":["latin","telugu"]},{"family":"Manjari","variants":["100","regular","700"],"subsets":["latin","malayalam"]},{"family":"Mansalva","variants":["regular"],"subsets":["latin"]},{"family":"Manuale","variants":["regular","italic","500","500italic","600","600italic","700","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":["latin","arabic","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","700","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-ext","vietnamese","cyrillic","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":["bengali","latin","latin-ext"]},{"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":["latin","arabic","latin-ext"]},{"family":"Miss Fajardose","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Mitr","variants":["200","300","regular","500","600","700"],"subsets":["latin","thai","vietnamese","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":["latin","gujarati","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-ext","vietnamese","cyrillic","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-ext","vietnamese","cyrillic","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","tamil","latin-ext"]},{"family":"Mukta Vaani","variants":["200","300","regular","500","600","700","800"],"subsets":["latin","gujarati","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":["latin","telugu"]},{"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","thai","vietnamese","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","latin","cyrillic-ext","greek","devanagari","vietnamese","cyrillic","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":["latin","japanese"]},{"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","vietnamese","cyrillic"]},{"family":"Noto Sans TC","variants":["100","300","regular","500","700","900"],"subsets":["latin","chinese-traditional"]},{"family":"Noto Serif","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","latin","cyrillic-ext","greek","vietnamese","cyrillic","latin-ext"]},{"family":"Noto Serif JP","variants":["200","300","regular","500","600","700","900"],"subsets":["latin","japanese"]},{"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","vietnamese","cyrillic"]},{"family":"Noto Serif TC","variants":["200","300","regular","500","600","700","900"],"subsets":["latin","chinese-traditional","vietnamese","cyrillic"]},{"family":"Nova Cut","variants":["regular"],"subsets":["latin"]},{"family":"Nova Flat","variants":["regular"],"subsets":["latin"]},{"family":"Nova Mono","variants":["regular"],"subsets":["latin","greek"]},{"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-ext","vietnamese","cyrillic","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-ext","vietnamese","cyrillic","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","latin","cyrillic-ext","greek","vietnamese","cyrillic","latin-ext"]},{"family":"Open Sans Condensed","variants":["300","300italic","700"],"subsets":["greek-ext","latin","cyrillic-ext","greek","vietnamese","cyrillic","latin-ext"]},{"family":"Oranienbaum","variants":["regular"],"subsets":["latin","cyrillic-ext","cyrillic","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-ext","vietnamese","cyrillic","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":"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-ext","cyrillic","latin-ext"]},{"family":"PT Sans","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic-ext","cyrillic","latin-ext"]},{"family":"PT Sans Caption","variants":["regular","700"],"subsets":["latin","cyrillic-ext","cyrillic","latin-ext"]},{"family":"PT Sans Narrow","variants":["regular","700"],"subsets":["latin","cyrillic-ext","cyrillic","latin-ext"]},{"family":"PT Serif","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic-ext","cyrillic","latin-ext"]},{"family":"PT Serif Caption","variants":["regular","italic"],"subsets":["latin","cyrillic-ext","cyrillic","latin-ext"]},{"family":"Pacifico","variants":["regular"],"subsets":["latin","cyrillic-ext","vietnamese","cyrillic","latin-ext"]},{"family":"Padauk","variants":["regular","700"],"subsets":["latin","myanmar"]},{"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-ext","vietnamese","cyrillic","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","thai","vietnamese","cyrillic","latin-ext"]},{"family":"Patua One","variants":["regular"],"subsets":["latin"]},{"family":"Pavanam","variants":["regular"],"subsets":["latin","tamil","latin-ext"]},{"family":"Paytone One","variants":["regular"],"subsets":["latin","vietnamese","latin-ext"]},{"family":"Peddana","variants":["regular"],"subsets":["latin","telugu"]},{"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-ext","vietnamese","cyrillic"]},{"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":["latin","cyrillic-ext","greek","vietnamese","cyrillic","latin-ext"]},{"family":"Playball","variants":["regular"],"subsets":["latin","latin-ext"]},{"family":"Playfair Display","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin","vietnamese","cyrillic","latin-ext"]},{"family":"Playfair Display SC","variants":["regular","italic","700","700italic","900","900italic"],"subsets":["latin","vietnamese","cyrillic","latin-ext"]},{"family":"Podkova","variants":["regular","500","600","700","800"],"subsets":["latin","cyrillic-ext","vietnamese","cyrillic","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-ext","vietnamese","cyrillic"]},{"family":"Preahvihear","variants":["regular"],"subsets":["khmer"]},{"family":"Press Start 2P","variants":["regular"],"subsets":["latin","cyrillic-ext","greek","cyrillic","latin-ext"]},{"family":"Pridi","variants":["200","300","regular","500","600","700"],"subsets":["latin","thai","vietnamese","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","thai","vietnamese","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":["latin","arabic","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":["latin","telugu"]},{"family":"Ramaraja","variants":["regular"],"subsets":["latin","telugu"]},{"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":["latin","gujarati","latin-ext"]},{"family":"Rationale","variants":["regular"],"subsets":["latin"]},{"family":"Ravi Prakash","variants":["regular"],"subsets":["latin","telugu"]},{"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":["latin","arabic"]},{"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","latin","cyrillic-ext","greek","vietnamese","cyrillic","latin-ext"]},{"family":"Roboto Condensed","variants":["300","300italic","regular","italic","700","700italic"],"subsets":["greek-ext","latin","cyrillic-ext","greek","vietnamese","cyrillic","latin-ext"]},{"family":"Roboto Mono","variants":["100","100italic","300","300italic","regular","italic","500","500italic","700","700italic"],"subsets":["greek-ext","latin","cyrillic-ext","greek","vietnamese","cyrillic","latin-ext"]},{"family":"Roboto Slab","variants":["100","200","300","regular","500","600","700","800","900"],"subsets":["greek-ext","latin","cyrillic-ext","greek","vietnamese","cyrillic","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","hebrew","cyrillic","latin-ext"]},{"family":"Rubik Mono One","variants":["regular"],"subsets":["latin","cyrillic","latin-ext"]},{"family":"Ruda","variants":["regular","700","900"],"subsets":["latin","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","thai","vietnamese","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":["latin","vietnamese","cyrillic","japanese","latin-ext"]},{"family":"Sawarabi Mincho","variants":["regular"],"subsets":["latin","japanese","latin-ext"]},{"family":"Scada","variants":["regular","italic","700","700italic"],"subsets":["latin","cyrillic-ext","cyrillic","latin-ext"]},{"family":"Scheherazade","variants":["regular","700"],"subsets":["latin","arabic"]},{"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":["latin","gujarati","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":["latin","cyrillic-ext","greek","vietnamese","cyrillic","latin-ext"]},{"family":"Source Sans Pro","variants":["200","200italic","300","300italic","regular","italic","600","600italic","700","700italic","900","900italic"],"subsets":["greek-ext","latin","cyrillic-ext","greek","vietnamese","cyrillic","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":"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","vietnamese","cyrillic","latin-ext"]},{"family":"Spectral SC","variants":["200","200italic","300","300italic","regular","italic","500","500italic","600","600italic","700","700italic","800","800italic"],"subsets":["latin","vietnamese","cyrillic","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":["latin","telugu"]},{"family":"Sriracha","variants":["regular"],"subsets":["latin","thai","vietnamese","latin-ext"]},{"family":"Srisakdi","variants":["regular","700"],"subsets":["latin","thai","vietnamese","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":["latin","telugu"]},{"family":"Suravaram","variants":["regular"],"subsets":["latin","telugu"]},{"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":["latin","arabic"]},{"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","thai","vietnamese","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":["latin","telugu"]},{"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","thai","vietnamese","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":["latin","telugu"]},{"family":"Tinos","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","latin","cyrillic-ext","greek","hebrew","vietnamese","cyrillic","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","thai","vietnamese","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","latin","cyrillic-ext","greek","cyrillic","latin-ext"]},{"family":"Ubuntu Condensed","variants":["regular"],"subsets":["greek-ext","latin","cyrillic-ext","greek","cyrillic","latin-ext"]},{"family":"Ubuntu Mono","variants":["regular","italic","700","700italic"],"subsets":["greek-ext","latin","cyrillic-ext","greek","cyrillic","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","hebrew","vietnamese","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":["latin","arabic"]},{"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":["latin","cyrillic-ext","greek","vietnamese","cyrillic","latin-ext"]},{"family":"Vollkorn SC","variants":["regular","600","700","900"],"subsets":["latin","cyrillic-ext","vietnamese","cyrillic","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","700"],"subsets":["latin","vietnamese","cyrillic","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-ext","vietnamese","cyrillic","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.2c78d5f.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.348b345.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-1.8d0e4b1.png"},function(e,t){e.exports="dist/images/components-design-separator-control-rounded-2.adf6e61.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-1.cddefe7.png"},function(e,t){e.exports="dist/images/components-design-separator-control-slant-2.2714578.png"},function(e,t){e.exports="dist/images/components-design-separator-control-straight-1.ec0a7cf.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-1.3a94d9c.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-2.6ff2dca.png"},function(e,t){e.exports="dist/images/components-design-separator-control-wave-3.9b2fd74.png"},function(e,t){e.exports="dist/images/components-button-controls-basic.889b4c9.png"},function(e,t){e.exports="dist/images/components-button-controls-ghost.a9bf5fe.png"},function(e,t){e.exports="dist/images/components-button-controls-link.60a0e44.png"},function(e,t){e.exports="dist/images/components-button-controls-plain.6d6f551.png"},function(e,t){e.exports="dist/images/block-accordion-basic.e3078f9.png"},function(e,t){e.exports="dist/images/block-accordion-plain.7d9ea45.png"},function(e,t){e.exports="dist/images/block-blockquote-basic.d0486a6.png"},function(e,t){e.exports="dist/images/block-blockquote-plain.c1caea3.png"},function(e,t){e.exports="dist/images/block-blog-posts-basic.ae38d19.png"},function(e,t){e.exports="dist/images/block-blog-posts-list.e49137e.png"},,function(e,t){e.exports=wp.apiFetch},function(e,t){e.exports=wp.htmlEntities},function(e,t){e.exports="dist/images/block-button-basic.11e15c9.png"},function(e,t){e.exports="dist/images/block-button-fullwidth.148f17b.png"},function(e,t){e.exports="dist/images/block-button-grouped-1.60c13f3.png"},function(e,t){e.exports="dist/images/block-button-grouped-2.4d19ee3.png"},function(e,t){e.exports="dist/images/block-button-spread.1d90bcb.png"},function(e,t){e.exports="dist/images/block-call-to-action-basic.130fca6.png"},function(e,t){e.exports="dist/images/block-call-to-action-plain.b4c4002.png"},function(e,t){e.exports="dist/images/block-card-basic.39d514f.png"},function(e,t){e.exports="dist/images/block-card-plain.0b46c3e.png"},function(e,t){e.exports="dist/images/block-container-basic.0c1fd33.png"},function(e,t){e.exports="dist/images/block-container-plain.ce4b9eb.png"},function(e,t){e.exports="dist/images/block-count-up-plain.5918ae3.png"},function(e,t){e.exports="dist/images/block-count-up-plain-2.6f3c58c.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.ebff9a5.png"},function(e,t){e.exports="dist/images/block-divider-asterisks.3eca5a0.png"},function(e,t){e.exports="dist/images/block-feature-grid-basic.772088b.png"},function(e,t){e.exports="dist/images/block-feature-grid-plain.a89f2dc.png"},function(e,t){e.exports="dist/images/block-feature-basic.62c78ce.png"},function(e,t){e.exports="dist/images/block-feature-plain.6f44d79.png"},function(e,t){e.exports="dist/images/block-header-basic.64df365.png"},function(e,t){e.exports="dist/images/block-header-plain.66ccc4c.png"},function(e,t){e.exports="dist/images/block-image-box-basic.b88fb2a.png"},function(e,t){e.exports="dist/images/block-image-box-plain.5ad2fea.png"},function(e,t){e.exports="dist/images/block-notification-basic.c35fb5f.png"},function(e,t){e.exports="dist/images/block-notification-plain.68e3fb1.png"},function(e,t){e.exports="dist/images/block-number-box-basic.0d6bdf4.png"},function(e,t){e.exports="dist/images/block-number-box-plain.d3f8895.png"},function(e,t){e.exports="dist/images/block-pricing-box-basic.11c52a1.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.1b2e918.png"},function(e,t){e.exports="dist/images/block-team-member-plain.713daa0.png"},function(e,t){e.exports="dist/images/block-testimonial-basic.feb3c75.png"},function(e,t){e.exports="dist/images/block-testimonial-plain.34e8e8e.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":146,"./blockquote/index.js":144,"./blog-posts/index.js":148,"./button/index.js":160,"./call-to-action/index.js":151,"./card/index.js":152,"./container/index.js":161,"./count-up/index.js":149,"./divider/index.js":162,"./expand/index.js":163,"./feature-grid/index.js":153,"./feature/index.js":154,"./header/index.js":155,"./icon-list/index.js":142,"./image-box/index.js":150,"./notification/index.js":147,"./number-box/index.js":156,"./pricing-box/index.js":157,"./separator/index.js":141,"./spacer/index.js":164,"./team-member/index.js":158,"./testimonial/index.js":159,"./video-popup/index.js":145};function o(e){var t=r(e);return n(t)}function r(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=r,e.exports=o,o.id=136},,,,,function(e,t,n){"use strict";n.r(t);var a=n(5),o=n.n(a);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 i=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",r({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),i)};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 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=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"}),p=function(e){return o.a.createElement("svg",g({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),m)};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"}),T=function(e){return o.a.createElement("svg",x({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),E)};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=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"}),P=function(e){return o.a.createElement("svg",S({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),B,A)};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 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",N({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 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 X=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",Y({viewBox:"0 0 1600 200",xmlns:"http://www.w3.org/2000/svg"},e),X)};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"}))),Q=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"}),Z=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),$,Q)};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"}))),re=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"}),ie=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,re)};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"}))),ge=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"}),me=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,ge)};function pe(){return(pe=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",pe({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":p,"curve-3":O,"slant-1":H,"slant-2":K,"rounded-1":T,"rounded-2":R},Oe={"wave-1":ie,"wave-2":me,"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":Z,"rounded-1":P,"rounded-2":I},ke=n(4),_e=n(7),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,r=void 0===o?"wave-1":o,i=n.marginTop,l=void 0===i?0:i,c=n.marginBottom,s=void 0===c?0:c,u=n.paddingTop,b=void 0===u?0:u,g=n.paddingBottom,m=void 0===g?0:g,p=n.backgroundColor,d=void 0===p?"":p,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,T=je()([t,"ugb-separator","ugb-separator--design-".concat(r)],Object(ke.applyFilters)("stackable.separator.mainclasses",{"ugb-separator--flip-vertical":h,"ugb-separator--flip-horizontal":y},r,e)),S={backgroundColor:d||void 0,marginTop:"".concat(l-1,"px"),marginBottom:"".concat(s-1,"px")},B={height:"".concat(m,"px"),background:O||void 0},A={height:"".concat(b,"px"),background:d||void 0},P={height:a+"px"},N={fill:O||void 0,transform:_?"scaleX(".concat(_,")"):void 0};C&&(N.transform=N.transform?"".concat(N.transform," scaleX(-1)"):"scaleX(-1)");var F=we[r],R=Oe[r];return wp.element.createElement("div",{className:T,style:S,"aria-hidden":"true"},Object(ke.applyFilters)("stackable.separator.save.output.before_1_15",null,r,e),wp.element.createElement("div",{className:"ugb-separator__top-pad",style:A}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper",style:P},wp.element.createElement("div",{className:"ugb-separator__svg-inner"},E&&wp.element.createElement(R,{preserveAspectRatio:"none",style:N}),wp.element.createElement(F,{preserveAspectRatio:"none",style:N}),Object(ke.applyFilters)("stackable.separator.save.output.layers_1_15",null,r,e))),wp.element.createElement("div",{className:"ugb-separator__bottom-pad",style:B}))}}],xe=n(3),Ee=n(1),Te=n(0),Se=n(9),Be=n(8);Ee.showProNotice&&Object(ke.addFilter)("stackable.separator.edit.inspector.style.after","stackable/separator",function(e){return wp.element.createElement(Se.Fragment,null,e,wp.element.createElement(Be.PanelBody,{initialOpen:!1,title:Object(Te.sprintf)(Object(Te._x)("%s %d","Nth Title",Ee.i18n),Object(Te.__)("Layer",Ee.i18n),2)},wp.element.createElement(xe.W,{title:Object(Te.__)("Say Hello to Gorgeous Separators 👋",Ee.i18n),description:Object(Te.__)("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(Be.PanelBody,{initialOpen:!1,title:Object(Te.sprintf)(Object(Te._x)("%s %d","Nth Title",Ee.i18n),Object(Te.__)("Layer",Ee.i18n),3)},wp.element.createElement(xe.W,{title:Object(Te.__)("Say Hello to Gorgeous Separators 👋",Ee.i18n),description:Object(Te.__)("Add a third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",Ee.i18n)})))});var Ae=n(10),Pe=n(2),Ne=function(e){var t,n=Object(Pe.b)(e.attributes),a=e.attributes,o=a.backgroundColor,r=void 0===o?"":o,i=a.layer1Color,l=void 0===i?"":i,c=a.layer1Width,s=void 0===c?1:c,u=a.layer1Flip,b=void 0!==u&&u,g=a.marginTop,m=void 0===g?0:g,p=a.marginBottom,d=void 0===p?0:p,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,T=a.mobileMarginUnit,S=void 0===T?"px":T,B=a.paddingTop,A=void 0===B?0:B,P=a.paddingBottom,N=void 0===P?0:P,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,Y=void 0===V?"px":V,X=void 0!==e.mergeBlocks;return{".ugb-separator":{backgroundColor:r||void 0,marginTop:"".concat(m-1+(X?-14:0)).concat(h," !important"),marginBottom:"".concat(d-1+(X?-14:0)).concat(h," !important")},".ugb-separator__bottom-pad":{height:""!==N?"".concat(N).concat(R):void 0,background:l||void 0},".ugb-separator__top-pad":{height:""!==A?"".concat(A).concat(R):void 0,background:r||void 0},".ugb-separator__svg-wrapper":{height:Object(Pe.c)(n("height","%spx"))},".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(Pe.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(Pe.c)(n("mobileHeight","%spx"))},".ugb-separator":{marginTop:"".concat(C-1).concat(S," !important"),marginBottom:"".concat(E-1).concat(S," !important")},".ugb-separator__bottom-pad":{height:""!==q?"".concat(q).concat(Y):void 0},".ugb-separator__top-pad":{height:""!==W?"".concat(W).concat(Y):void 0}}}},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(Se.Fragment,null,e,wp.element.createElement(xe.w,null,wp.element.createElement(xe.y,{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,r=a.tabletHeight,i=void 0===r?"":r,l=a.mobileHeight,c=void 0===l?"":l,s=a.marginTop,u=void 0===s?0:s,b=a.marginBottom,g=void 0===b?0:b,m=a.marginUnit,p=void 0===m?"px":m,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,T=void 0===E?"":E,S=a.flipVertically,B=void 0!==S&&S,A=a.flipHorizontally,P=void 0!==A&&A,N=a.layer1Color,F=void 0===N?"":N,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,Y=a.tabletPaddingTop,X=void 0===Y?"":Y,K=a.tabletPaddingBottom,J=void 0===K?"":K,$=a.tabletPaddingUnit,Q=void 0===$?"px":$,Z=a.mobilePaddingTop,ee=void 0===Z?"":Z,te=a.mobilePaddingBottom,ne=void 0===te?"":te,ae=a.mobilePaddingUnit,oe=void 0===ae?"px":ae;return wp.element.createElement(Se.Fragment,null,e,wp.element.createElement(Be.PanelBody,{title:Object(Te.__)("Separator",Ee.i18n)},wp.element.createElement(xe.r,{label:Object(Te.__)("Separator Color",Ee.i18n),value:F,onChange:function(e){return n({layer1Color:e})}}),wp.element.createElement(xe.b,{label:Object(Te.__)("Separator Width",Ee.i18n),value:D,min:"1",max:"4",step:"0.1",onChange:function(e){return n({layer1Width:e})},allowReset:!0,placeholder:"1"}),wp.element.createElement(Be.ToggleControl,{label:Object(Te.__)("Flip Horizontally",Ee.i18n),checked:z,onChange:function(e){return n({layer1Flip:e})}}),wp.element.createElement(Be.ToggleControl,{label:Object(Te.__)("Shadow",Ee.i18n),checked:L,onChange:function(e){return n({layer1Shadow:e})}})),wp.element.createElement(Be.PanelBody,{title:Object(Te.__)("General",Ee.i18n),initialOpen:!1},wp.element.createElement(xe.mb,{screen:"desktop"},wp.element.createElement(xe.b,{label:Object(Te.__)("Height",Ee.i18n),value:o,min:"30",max:"400",onChange:function(e){t.setAttributes({height:e})},allowReset:!0,placeholder:"200"})),wp.element.createElement(xe.mb,{screen:"tablet"},wp.element.createElement(xe.b,{label:Object(Te.__)("Height",Ee.i18n),value:i,min:"30",max:"400",onChange:function(e){t.setAttributes({tabletHeight:e})},allowReset:!0})),wp.element.createElement(xe.mb,{screen:"mobile"},wp.element.createElement(xe.b,{label:Object(Te.__)("Height",Ee.i18n),value:c,min:"30",max:"400",onChange:function(e){t.setAttributes({mobileHeight:e})},allowReset:!0})),wp.element.createElement(Be.ToggleControl,{label:Object(Te.__)("Flip Vertically",Ee.i18n),checked:B,onChange:function(e){return n({flipVertically:e})}}),wp.element.createElement(Be.ToggleControl,{label:Object(Te.__)("Flip Horizontally",Ee.i18n),checked:P,onChange:function(e){return n({flipHorizontally:e})}}),wp.element.createElement(xe.r,{label:Object(Te.__)("Background Color",Ee.i18n),value:T,onChange:function(e){return n({backgroundColor:e})}})),wp.element.createElement(Be.PanelBody,{title:Object(Te.__)("Spacing",Ee.i18n),initialOpen:!1},wp.element.createElement(xe.mb,{screen:"desktop"},wp.element.createElement(xe.b,{label:Object(Te.__)("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(Te.__)("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(Te.__)("Margin Top",Ee.i18n),value:u,min:-o-H-100,max:"400",onChange:function(e){return n({marginTop:e})},help:Object(Te.__)("Use this to pull up/down the separator to the block above it",Ee.i18n),units:["px","%"],unit:p,onChangeUnit:function(e){return n({marginUnit:e})},allowReset:!0,placeholder:"0"}),wp.element.createElement(xe.b,{label:Object(Te.__)("Margin Bottom",Ee.i18n),value:g,min:-o-G-100,max:"400",onChange:function(e){return n({marginBottom:e})},help:Object(Te.__)("Use this to pull up/down the separator to the block below it",Ee.i18n),units:["px","%"],unit:p,onChangeUnit:function(e){return n({marginUnit:e})},allowReset:!0,placeholder:"0"})),wp.element.createElement(xe.mb,{screen:"tablet"},wp.element.createElement(xe.b,{label:Object(Te.__)("Padding Top",Ee.i18n),value:X,min:"0",max:"400",onChange:function(e){return n({tabletPaddingTop:e})},units:["px","em","%"],unit:Q,onChangeUnit:function(e){return n({tabletPaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Te.__)("Padding Bottom",Ee.i18n),value:J,min:"0",max:"400",onChange:function(e){return n({tabletPaddingBottom:e})},units:["px","em","%"],unit:Q,onChangeUnit:function(e){return n({tabletPaddingUnit:e})},allowReset:!0}),wp.element.createElement(xe.b,{label:Object(Te.__)("Margin Top",Ee.i18n),value:f,min:-i-X-100,max:"400",onChange:function(e){return n({tabletMarginTop:e})},help:Object(Te.__)("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(Te.__)("Margin Bottom",Ee.i18n),value:v,min:-i-J-100,max:"400",onChange:function(e){return n({tabletMarginBottom:e})},help:Object(Te.__)("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.mb,{screen:"mobile"},wp.element.createElement(xe.b,{label:Object(Te.__)("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(Te.__)("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(Te.__)("Margin Top",Ee.i18n),value:k,min:-c-ee-100,max:"400",onChange:function(e){return n({mobileMarginTop:e})},help:Object(Te.__)("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(Te.__)("Margin Bottom",Ee.i18n),value:j,min:-c-ne-100,max:"400",onChange:function(e){return n({mobileMarginBottom:e})},help:Object(Te.__)("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)(Ae.g,Ae.e,Ae.c,Object(Ae.f)(),Object(Ae.a)(Ne,{editorMode:!0}))(function(e){var t=e.className,n=e.attributes,a=n.design,o=void 0===a?"wave-1":a,r=n.flipVertically,i=void 0!==r&&r,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":i,"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(Se.Fragment,null,wp.element.createElement("div",{className:"ugb-separator__top-pad"}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper"},wp.element.createElement(xe.ab,{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)(Ae.g,Object(Ae.a)(Ne))(function(e){var t=e.className,n=e.attributes,a=n.design,o=void 0===a?"wave-1":a,r=n.flipVertically,i=void 0!==r&&r,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":i,"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(Se.Fragment,null,wp.element.createElement("div",{className:"ugb-separator__top-pad"}),wp.element.createElement("div",{className:"ugb-separator__svg-wrapper"},wp.element.createElement(xe.ab,{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(Te.__)("Separator",Ee.i18n),description:Object(Te.__)("A fancy separator to be placed between containers and content.",Ee.i18n),icon:Me.s,category:"stackable",keywords:[Object(Te.__)("Separator",Ee.i18n),Object(Te.__)("SVG Divider",Ee.i18n),Object(Te.__)("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),r=n(11),i=n(1),l=n(0),c=n(4);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.apply-block-attributes","stackable/icon-list",function(e){return Object(r.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",i.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",i.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",i.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",i.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(9);var g={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",i.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",i.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",i.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",i.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",i.i18n),value:"star"}},m=function(e){return"circle"===e||"outline"===e?"".concat(e,"Func"):"iconFunc"},p=function(e,t,n){var a=m(t),o=d(g[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(5),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 T(){return(T=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=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"}),B=function(e){return h.a.createElement("svg",T({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),S)};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 P=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"}),N=function(e){return h.a.createElement("svg",A({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),P)};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"}),Y=function(e){return h.a.createElement("svg",G({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),q,V)};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 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",X({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 Q=h.a.createElement("path",{d:"M181.9 87.6h-79.3V8.4h-15v79.2H8.4v15h79.2v79.2h15v-79.2h79.3z"}),Z=function(e){return h.a.createElement("svg",$({viewBox:"0 0 190 190",xmlns:"http://www.w3.org/2000/svg"},e),Q)};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 re=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"}),ie=function(e){return h.a.createElement("svg",oe({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),re)};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"}),ge=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"}),me=function(e){return h.a.createElement("svg",ue({viewBox:"0 0 194 194",xmlns:"http://www.w3.org/2000/svg"},e),be,ge)};function pe(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?pe(n,!0).forEach(function(t){fe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(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(N,{style:{fill:e}})},circleFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(B,{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",i.i18n),value:"check"},plus:{iconFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(Z,{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",i.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",i.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(Y,{style:{fill:e}})},title:Object(l.__)("Cross",i.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(ie,{style:{fill:e}})},outlineFunc:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return wp.element.createElement(me,{style:{fill:e}})},title:Object(l.__)("Star",i.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 r=Object(a.ab)(he[e][o](n),!1);return btoa(r)},Oe=function(e){var t=e.isActive,n=void 0===t?function(){}:t,a=e.onChange,o=void 0===a?function(){}:a;return Object.keys(he).map(function(e){return de({},he[e],{icon:ye(e),isActive:n(e),onClick:o(e)})})},ke=function(e,t){var n=t.isActive,a=void 0===n?function(){}:n,o=t.onChange,r=void 0===o?function(){}:o;return["","circle","outline"].map(function(t){return de({},he[e],{icon:ye(e,t),isActive:a(t),onClick:r(t)})})},_e=n(7),je=n.n(_e),Ce=n(6);function xe(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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Te=[{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,r=n.iconColor,i=n.iconSize,l=n.text,s=n.columns,u=n.gap,b=n.design,g=void 0===b?"":b,m=je()([t.split(" ").filter(function(e){return"ugb-icon-list"!==e}),"ugb-icon-list-wrapper"],Object(c.applyFilters)("stackable.icon-list.mainclasses_1_15_4",{},g,e)),p=je()(["ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(s)],Object(c.applyFilters)("stackable.icon-list.ulclasses_1_15_4",{},g,e)),d={"--icon":"url('data:image/svg+xml;base64,"+we(a,o,r)+"')","--icon-size":i?"".concat(i,"px"):void 0,"--gap":u?"".concat(u,"px"):void 0};return wp.element.createElement("div",{className:m},Object(c.applyFilters)("stackable.icon-list.save.output.before_1_15_4",null,g,e),wp.element.createElement(Ce.RichText.Content,{tagName:"ul",className:p,style:d,value:l}),Object(c.applyFilters)("stackable.icon-list.save.output.after_1_15_4",null,g,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?xe(n,!0).forEach(function(t){Ee(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(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,r=n.iconColor,i=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=je()([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,r)+"')","--icon-size":i?"".concat(i,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement(Ce.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,r=n.iconColor,i=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=je()([t,"ugb-icon-list","ugb-icon--icon-".concat(a),"ugb-icon--columns-".concat(c)]),b={"--icon":"url('data:image/svg+xml;base64,"+p(a,o,r)+"')","--icon-size":i?"".concat(i,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement(Ce.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,r=n.iconColor,i=n.iconSize,l=n.text,c=n.columns,s=n.gap,u=je()([t,"ugb-icon-list","ugb-icon-".concat(a),"column-".concat(c)]),b={"--icon":"url('data:image/svg+xml;base64,"+p(a,o,r)+"')","--icon-size":i?"".concat(i,"px"):void 0,"--gap":s?"".concat(s,"px"):void 0};return wp.element.createElement(Ce.RichText.Content,{tagName:"ul",className:u,style:b,value:l})}}],Se=n(10),Be=n(3),Ae=n(13),Pe=n.n(Ae);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 Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(n,!0).forEach(function(t){Re(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 Re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var De=function(e){var t=Object(a.b)(e.attributes),n=e.attributes,o=n.icon,r=n.iconShape,i=n.iconColor,l=n.iconSize,c=n.showBlockBackground,s=void 0===c?"":c,u=n.blockBackgroundBackgroundColor,b=void 0===u?"":u,g=n.listTextColor,m=void 0===g?"":g,p=we(o,r,Object(a.cb)(i,s&&b)),d=[];d.push({li:Fe({},Object(a.D)("listText%s","desktop",e.attributes),{color:Object(a.cb)(m,s&&b)})}),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,"+p+"')"}}),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}}}),Pe.a.all(d)},Me=n(8),ze=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,r=a.iconShape,c=a.iconColor,s=a.iconSize,u=a.gap,g=a.listTextColor,m=void 0===g?"":g,p=a.displayAsGrid,d=void 0!==p&&p,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(Me.PanelBody,{title:Object(l.__)("General",i.i18n)},wp.element.createElement(Be.Y,{attrNameTemplate:"%sColumns",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Be.b,{label:Object(l.__)("Columns",i.i18n),min:1,max:4})),(h&&h>1||y&&y>1||O&&O>1)&&wp.element.createElement(Me.ToggleControl,{label:Object(l.__)("Display as a grid (left to right & evenly spaced)",i.i18n),checked:d,onChange:function(e){return n({displayAsGrid:e})}}),wp.element.createElement(Be.s,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(Me.PanelBody,{title:Object(l.__)("Icon",i.i18n),initialOpen:!1},wp.element.createElement(Me.BaseControl,{label:Object(l.__)("Icon",i.i18n),id:"ugb-icon-control"},wp.element.createElement(Me.Toolbar,{icon:ye(o),controls:Oe({onChange:function(e){return function(){return n({icon:e})}},isActive:function(e){return o===e}})})),wp.element.createElement(Me.BaseControl,{label:Object(l.__)("Icon Shape",i.i18n),id:"ugb-icon-shape-control"},wp.element.createElement(Me.Toolbar,{icon:ye(o,r),controls:ke(o,{onChange:function(e){return function(){return n({iconShape:e})}},isActive:function(e){return r===e}})})),wp.element.createElement(Be.r,{label:Object(l.__)("Icon Color",i.i18n),value:c,onChange:function(e){return n({iconColor:e})}}),wp.element.createElement(Be.b,{label:Object(l.__)("Icon Size",i.i18n),value:s,onChange:function(e){return n({iconSize:e})},min:8,max:50,allowReset:!0,placeholder:"20"})),wp.element.createElement(Me.PanelBody,{title:Object(l.__)("List Text",i.i18n),initialOpen:!1},wp.element.createElement(Be.jb,{attrNameTemplate:"listText%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(Be.r,{value:m,onChange:function(e){return n({listTextColor:e})},label:Object(l.__)("Color",i.i18n)})),wp.element.createElement(Be.U,{initialOpen:!1,blockProps:t},wp.element.createElement(Be.b,{label:Object(l.__)("List Gap",i.i18n),value:u,onChange:function(e){return n({gap:e})},min:0,max:30,allowReset:!0,placeholder:"16"})))});var Ie=Object(ze.compose)(Se.g,Se.e,Se.c,Object(Se.f)(),Object(Se.b)(),Object(Se.a)(De,{editorMode:!0}))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,o=a.icon,r=a.text,s=a.design,u=void 0===s?"":s,g=a.displayAsGrid,m=void 0!==g&&g,p=je()([t,"ugb-icon-list--v2","ugb-icon--icon-".concat(o)],Object(c.applyFilters)("stackable.icon-list.mainclasses",{"ugb-icon-list--display-grid":m},u,e));return wp.element.createElement(Be.j.Edit,{className:p,blockProps:e,render:function(){return wp.element.createElement(b.Fragment,null,wp.element.createElement(Ce.RichText,{tagName:"ul",multiline:"li",value:r,onChange:function(e){return n({text:e})},placeholder:Object(l.__)("Text for this block",i.i18n),keepPlaceholderOnFocus:!0}))}})}),Le=Object(ze.compose)(Se.g,Object(Se.a)(De))(function(e){var t=e.className,n=e.attributes,a=n.icon,o=n.text,r=n.design,i=void 0===r?"":r,l=n.displayAsGrid,s=void 0!==l&&l,u=je()([t,"ugb-icon-list--v2","ugb-icon--icon-".concat(a)],Object(c.applyFilters)("stackable.icon-list.mainclasses",{"ugb-icon-list--display-grid":s},i,e));return wp.element.createElement(Be.j.Save,{className:u,blockProps:e,render:function(){return wp.element.createElement(b.Fragment,null,wp.element.createElement(Ce.RichText.Content,{tagName:"ul",value:o}))}})});function Ue(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 He(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 We}),n.d(t,"name",function(){return Ge}),n.d(t,"settings",function(){return qe});var We=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(n,!0).forEach(function(t){He(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(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(r.range)(1,7).map(function(e){return Object(l.sprintf)(Object(l.__)("Line %d",i.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")),Ge="ugb/icon-list",qe={title:Object(l.__)("Icon List",i.i18n),description:Object(l.__)("An unordered list with icons. You can use this as a list of features or benefits.",i.i18n),icon:o.n,category:"stackable",keywords:[Object(l.__)("Icon List",i.i18n),Object(l.__)("Stackable",i.i18n)],attributes:We,supports:{inserter:!i.disabledBlocks.includes(Ge)},deprecated:Te,edit:Ie,save:Le,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(19),o=n(21),r=n(22),i=n(23);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,r.a,i.a);var l=n(3),c=n(2),s=n(1),u=n(8),b=n(31),g=n(6),m=n(0),p=n(9),d=n(12),f=n(33),h=n(14);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.db)("",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,p["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,r=t.value,i="",c=!1;if(a){var b=n.style.match(/background-color:\s*([#\d\w]+)/);if(b)c=!0,i=b[1];else{var p=n.style.match(/color:\s*([#\d\w]+)/);p&&(i=p[1])}}return wp.element.createElement(g.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(m.__)("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:i}})),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(m.__)("Text Color",s.i18n),value:i,onChange:function(e){o(_(r,e,c),{withoutHistory:!0})}})),wp.element.createElement(u.ToggleControl,{label:Object(m.__)("Highlight Text",s.i18n),checked:c,onChange:function(e){o(_(r,i||"#8c33da",e))}})))))}}])&&y(n.prototype,a),o&&y(n,o),t}();Object(b.registerFormatType)("ugb/highlight",{title:Object(m.__)("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="https://raw.githubusercontent.com/gambitph/Stackable/feat-three-tabs/dist/deprecation-tests.json",x=n(18),E=function(e){try{var t=Object(x.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}},T=n(7),S=n.n(T);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 A(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 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 N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(n,!0).forEach(function(t){F(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 F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function R(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){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z(e,t){return(z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var I=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=D(t).apply(this,arguments))||"object"!==B(a)&&"function"!=typeof a?M(n):a).state={tests:[],testBlockNames:[],show:[],loaded:!1,isLoading:!1},e.onClick=e.onClick.bind(M(e)),e.onClickLocal=e.onClickLocal.bind(M(e)),e.onRunAllTests=e.onRunAllTests.bind(M(e)),e.onRunTest=e.onRunTest.bind(M(e)),e.onShowToggle=e.onShowToggle.bind(M(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&&z(e,t)}(t,p["Component"]),n=t,(a=[{key:"updateTestState",value:function(e){this.setState({tests:e.map(function(e){return N({},e,{passed:null})}),testBlockNames:A(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]:C;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(C)}},{key:"onClickLocal",value:function(){this.fetchTests(Object(m.sprintf)("%s/dist/deprecation-tests.json",s.srcUrl))}},{key:"onRunAllTests",value:function(){var e=this.state.tests.map(function(e){return e.skip?N({},e,{passed:!0}):N({},e,{passed:E(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?N({},t,{passed:!0}):N({},t,{passed:E(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=S()(["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(m.__)("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(m.__)("Load Tests from Server",s.i18n)),!1),this.state.loaded&&wp.element.createElement(p.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(m.__)("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,r=a.filter(function(e){return e.passed}).length;return wp.element.createElement(p.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===r?"ugb--green":""},Object(m.sprintf)(Object(m.__)("%d / %d Tests",s.i18n),r,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(m.__)("Passed",s.i18n)),!e.skip&&!1===e.passed&&wp.element.createElement("small",{className:"ugb--failed"},Object(m.__)("Failed",s.i18n)),e.skip&&wp.element.createElement("small",{className:"ugb--skipped"},Object(m.__)("Skipped",s.i18n))),wp.element.createElement("div",{className:"ugb-deprecated-tester--test-details"},wp.element.createElement("small",{className:"ugb--version"},Object(m.sprintf)(Object(m.__)("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(m.__)("Copy code",s.i18n)),e.skip&&wp.element.createElement("small",{className:"ugb--skipped-note"},wp.element.createElement("span",{role:"img","aria-label":Object(m.__)("Note",s.i18n)},"⚠️")," ",e.skip)))})))}))}}])&&R(n.prototype,a),o&&R(n,o),t}();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,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){return(H=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function W(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G(e,t){return(G=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var q={codemirror:{mode:"html"}},V=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=H(t).apply(this,arguments))||"object"!==L(a)&&"function"!=typeof a?W(n):a).state={value:e.props.value,isValid:E(e.props.value)},e.onChange=e.onChange.bind(W(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&&G(e,t)}(t,p["Component"]),n=t,(a=[{key:"onChange",value:function(e){this.setState({value:e,isValid:E(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(m.__)("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:q}),!0===this.state.isValid&&wp.element.createElement("div",{className:"ugb-html-validator--valid"},wp.element.createElement("span",{role:"img","aria-label":Object(m.__)("Valid",s.i18n)},"✔️"),Object(m.__)("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(m.__)("Invalid",s.i18n)},"️️⚠️"),Object(m.__)("Invalid",s.i18n),wp.element.createElement("br",null),this.state.isValid))}}])&&U(n.prototype,a),o&&U(n,o),t}();V.defaultProps={value:"\x3c!-- wp:paragraph --\x3e\n<p>Some sample code</p>\n\x3c!-- /wp:paragraph --\x3e"};var Y=V,X=n(25),K=function(){return wp.element.createElement(p.Fragment,null,wp.element.createElement(X.PluginSidebarMoreMenuItem,{target:"stackable-block-tester"},Object(m.__)("Stackable Debugger",s.i18n)),wp.element.createElement(X.PluginSidebar,{name:"stackable-block-tester",isPinnable:!1,title:Object(m.__)("Stackable Debugger",s.i18n)},wp.element.createElement("div",{className:"ugb-debugger-panel"},wp.element.createElement("p",{className:"components-base-control__help"},Object(m.__)("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(m.__)("Block Validity Checker",s.i18n)},wp.element.createElement(Y,null)),wp.element.createElement(u.PanelBody,{initialOpen:!1,title:Object(m.__)("Block Migration Tests",s.i18n)},wp.element.createElement(I,null))))},J=n(35);Object(J.registerPlugin)("stackable-convert-to-container-button",{render:l.u}),s.devMode&&(Object(J.registerPlugin)("stackable-block-tester",{icon:"clipboard",render:K}),Object(J.registerPlugin)("stackable-block-attributes-get-button",{render:l.D}));var $=n(4),Q=n(13),Z=n.n(Q);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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(n,!0).forEach(function(t){ne(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 ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ae=function(e,t){return function(n,a){var o=a.setAttributes,r=a.attributes.blockTag,i=void 0===r?"div":r;return wp.element.createElement(p.Fragment,null,n,wp.element.createElement(u.PanelBody,{title:Object(m.__)("General",s.i18n),initialOpen:!1},Object($.applyFilters)("stackable.".concat(e,".edit.advanced.general.before"),null,a),t.blockTag&&wp.element.createElement(u.SelectControl,{label:Object(m.sprintf)(Object(m._x)("%s HTML Tag","component"),Object(m.__)("Block",s.i18n)),value:i,options:[{value:"",label:Object(m.__)("Default",s.i18n)},{value:"div",label:Object(m._x)("Div","HTML Tag",s.i18n)},{value:"blockquote",label:Object(m._x)("Blockquote","HTML Tag",s.i18n)},{value:"section",label:Object(m._x)("Section","HTML Tag",s.i18n)},{value:"article",label:Object(m._x)("Article","HTML Tag",s.i18n)},{value:"aside",label:Object(m._x)("Aside","HTML Tag",s.i18n)},{value:"main",label:Object(m._x)("Main","HTML Tag",s.i18n)},{value:"header",label:Object(m._x)("Header","HTML Tag",s.i18n)},{value:"footer",label:Object(m._x)("Footer","HTML Tag",s.i18n)},{value:"nav",label:Object(m._x)("Nav","HTML Tag",s.i18n)},{value:"address",label:Object(m._x)("Address","HTML Tag",s.i18n)},{value:"hgroup",label:Object(m._x)("Hgroup","HTML Tag",s.i18n)}],onChange:function(e){return o({blockTag:e})}}),t.opacity&&wp.element.createElement(l.Y,{attrNameTemplate:"%sBlockOpacity",setAttributes:o,blockAttributes:a.attributes},wp.element.createElement(l.b,{label:Object(m.__)("Opacity",s.i18n),min:0,max:1,step:.1,allowReset:!0,placeholder:"1.0"})),t.zIndex&&wp.element.createElement(l.Y,{attrNameTemplate:"%sBlockZIndex",setAttributes:o,blockAttributes:a.attributes},wp.element.createElement(l.b,{label:Object(m.__)("Z-Index",s.i18n),min:-100,max:1e3,allowReset:!0,placeholder:"1"})),Object($.applyFilters)("stackable.".concat(e,".edit.advanced.general.after"),null,a)))}},oe=function(){return function(e,t){var n,a=Object(c.b)(t.attributes),o=".".concat(t.mainClassName),r=(ne(n={},o,{zIndex:Object(c.c)(a("blockZIndex")),opacity:Object(c.c)(a("blockOpacity"))}),ne(n,"tablet",ne({},o,{zIndex:Object(c.c)(a("tabletBlockZIndex")),opacity:Object(c.c)(a("tabletBlockOpacity"))})),ne(n,"mobile",ne({},o,{zIndex:Object(c.c)(a("mobileBlockZIndex")),opacity:Object(c.c)(a("mobileBlockOpacity"))})),n);return Z.a.all([e,r])}},re=function(e){return te({},e,{blockTag:{type:"string",default:""}},Object(c.h)("%sBlockOpacity",{type:"number",default:""},["","Tablet","Mobile"]),{},Object(c.h)("%sBlockZIndex",{type:"number",default:""},["","Tablet","Mobile"]))},ie=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=te({blockTag:!0,opacity:!0,zIndex:!0,modifyStyles:!0},t);Object($.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-general"),ae(e,n),2),n.modifyStyles&&Object($.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/advanced-general"),oe()),Object($.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-general"),re),Object($.doAction)("stackable.module.advanced-general",e)};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 ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(n,!0).forEach(function(t){se(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 se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object($.removeFilter)("stackable.setAttributes","stackable/module/block-spacing"),Object($.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 ue=function(e,t){return function(n,a){var o=a.setAttributes,r=a.attributes,i=r.align,c=void 0!==i&&i,b=r.blockInnerWidth,g=void 0===b?"":b,d=r.marginTop,f=void 0===d?"":d,h=r.marginRight,v=void 0===h?"":h,y=r.marginBottom,w=void 0===y?"":y,O=r.marginLeft,k=void 0===O?"":O,_=r.marginUnit,j=void 0===_?"px":_,C=r.tabletMarginTop,x=void 0===C?"":C,E=r.tabletMarginRight,T=void 0===E?"":E,S=r.tabletMarginBottom,B=void 0===S?"":S,A=r.tabletMarginLeft,P=void 0===A?"":A,N=r.tabletMarginUnit,F=void 0===N?"px":N,R=r.mobileMarginTop,D=void 0===R?"":R,M=r.mobileMarginRight,z=void 0===M?"":M,I=r.mobileMarginBottom,L=void 0===I?"":I,U=r.mobileMarginLeft,H=void 0===U?"":U,W=r.mobileMarginUnit,G=void 0===W?"px":W,q=r.paddingTop,V=void 0===q?"":q,Y=r.paddingBottom,X=void 0===Y?"":Y,K=r.paddingRight,J=void 0===K?"":K,Q=r.paddingLeft,Z=void 0===Q?"":Q,ee=r.paddingUnit,te=void 0===ee?"px":ee,ne=r.tabletPaddingTop,ae=void 0===ne?"":ne,oe=r.tabletPaddingBottom,re=void 0===oe?"":oe,ie=r.tabletPaddingRight,le=void 0===ie?"":ie,ce=r.tabletPaddingLeft,se=void 0===ce?"":ce,ue=r.tabletPaddingUnit,be=void 0===ue?"px":ue,ge=r.mobilePaddingTop,me=void 0===ge?"":ge,pe=r.mobilePaddingBottom,de=void 0===pe?"":pe,fe=r.mobilePaddingRight,he=void 0===fe?"":fe,ve=r.mobilePaddingLeft,ye=void 0===ve?"":ve,we=r.mobilePaddingUnit,Oe=void 0===we?"px":we,ke=r.blockHeight,_e=void 0===ke?"":ke,je=r.blockHeightUnit,Ce=void 0===je?"px":je,xe=r.tabletBlockHeight,Ee=void 0===xe?"":xe,Te=r.tabletBlockHeightUnit,Se=void 0===Te?"px":Te,Be=r.mobileBlockHeight,Ae=void 0===Be?"":Be,Pe=r.mobileBlockHeightUnit,Ne=void 0===Pe?"px":Pe,Fe=r.blockWidth,Re=void 0===Fe?"":Fe,De=r.blockWidthUnit,Me=void 0===De?"px":De,ze=r.tabletBlockWidth,Ie=void 0===ze?"":ze,Le=r.tabletBlockWidthUnit,Ue=void 0===Le?"px":Le,He=r.mobileBlockWidth,We=void 0===He?"":He,Ge=r.mobileBlockWidthUnit,qe=void 0===Ge?"px":Ge,Ve=r.blockHorizontalAlign,Ye=void 0===Ve?"":Ve,Xe=r.tabletBlockHorizontalAlign,Ke=void 0===Xe?"":Xe,Je=r.mobileBlockHorizontalAlign,$e=void 0===Je?"":Je,Qe=r.blockVerticalAlign,Ze=void 0===Qe?"":Qe,et=r.tabletBlockVerticalAlign,tt=void 0===et?"":et,nt=r.mobileBlockVerticalAlign,at=void 0===nt?"":nt;return wp.element.createElement(p.Fragment,null,n,wp.element.createElement(u.PanelBody,{title:Object(m.__)("Block Spacing",s.i18n),initialOpen:!1},Object($.applyFilters)("stackable.".concat(e,".edit.advanced.block-spacing.before"),null,a),t.margins&&wp.element.createElement(p.Fragment,null,wp.element.createElement(l.mb,{screen:"desktop"},wp.element.createElement(l.C,{label:Object(m.__)("Block Margins",s.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:f,bottom:w,right:v,left:k,unit:j,min:[-200,-50],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"})),wp.element.createElement(l.mb,{screen:"tablet"},wp.element.createElement(l.C,{label:Object(m.__)("Block Margins",s.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:x,bottom:B,right:T,left:P,unit:F,min:[-200,-50],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"})),wp.element.createElement(l.mb,{screen:"mobile"},wp.element.createElement(l.C,{label:Object(m.__)("Block Margins",s.i18n),units:["px","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:D,bottom:L,right:z,left:H,unit:G,min:[-200,-50],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"}))),t.paddings&&wp.element.createElement(p.Fragment,null,wp.element.createElement(l.mb,{screen:"desktop"},wp.element.createElement(l.C,{label:Object(m.__)("Block Paddings",s.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:V,bottom:X,right:J,left:Z,unit:te,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"})),wp.element.createElement(l.mb,{screen:"tablet"},wp.element.createElement(l.C,{label:Object(m.__)("Block Paddings",s.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:ae,bottom:re,right:le,left:se,unit:be,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})),wp.element.createElement(l.mb,{screen:"mobile"},wp.element.createElement(l.C,{label:Object(m.__)("Block Paddings",s.i18n),units:["px","em","%"],screens:["desktop","tablet","mobile"],defaultLocked:!1,top:me,bottom:de,right:he,left:ye,unit:Oe,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}))),t.height&&wp.element.createElement(p.Fragment,null,wp.element.createElement(l.mb,null,wp.element.createElement(l.b,{label:Object(m.__)("Min. Block Height",s.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:_e,unit:Ce,onChange:function(e){return o({blockHeight:e})},onChangeUnit:function(e){return o({blockHeightUnit:e})},initialPosition:"100"})),wp.element.createElement(l.mb,{screen:"tablet"},wp.element.createElement(l.b,{label:Object(m.__)("Min. Block Height",s.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:Ee,unit:Se,onChange:function(e){return o({tabletBlockHeight:e})},onChangeUnit:function(e){return o({tabletBlockHeightUnit:e})}})),wp.element.createElement(l.mb,{screen:"mobile"},wp.element.createElement(l.b,{label:Object(m.__)("Min. Block Height",s.i18n),units:["px","vh"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:Ae,unit:Ne,onChange:function(e){return o({mobileBlockHeight:e})},onChangeUnit:function(e){return o({mobileBlockHeightUnit:e})}}))),t.verticalAlign&&wp.element.createElement(p.Fragment,null,""!==_e&&wp.element.createElement(l.mb,null,wp.element.createElement(l.d,{label:Object(m.__)("Content Vertical Align",s.i18n),controls:"flex-vertical",value:Ze,onChange:function(e){return o({blockVerticalAlign:Ze!==e?e:""})}})),""!==Ee&&wp.element.createElement(l.mb,{screen:"tablet"},wp.element.createElement(l.d,{label:Object(m.__)("Content Vertical Align",s.i18n),controls:"flex-vertical",value:tt,onChange:function(e){return o({tabletBlockVerticalAlign:tt!==e?e:""})}})),""!==Ae&&wp.element.createElement(l.mb,{screen:"mobile"},wp.element.createElement(l.d,{label:Object(m.__)("Content Vertical Align",s.i18n),controls:"flex-vertical",value:at,onChange:function(e){return o({mobileBlockVerticalAlign:at!==e?e:""})}}))),t.width&&wp.element.createElement(p.Fragment,null,wp.element.createElement(l.mb,null,wp.element.createElement(l.b,{label:Object(m.__)("Max. Content Width",s.i18n),units:["px","%"],min:[100,10],max:[2e3,100],step:[1,1],allowReset:!0,value:Re,unit:Me,onChange:function(e){return o({blockWidth:e})},onChangeUnit:function(e){return o({blockWidthUnit:e})},initialPosition:"2000"})),wp.element.createElement(l.mb,{screen:"tablet"},wp.element.createElement(l.b,{label:Object(m.__)("Max. Content Width",s.i18n),units:["px","%"],min:[100,10],max:[1500,100],step:[1,1],allowReset:!0,value:Ie,unit:Ue,onChange:function(e){return o({tabletBlockWidth:e})},onChangeUnit:function(e){return o({tabletBlockWidthUnit:e})}})),wp.element.createElement(l.mb,{screen:"mobile"},wp.element.createElement(l.b,{label:Object(m.__)("Max. Content Width",s.i18n),units:["px","%"],min:[100,10],max:[1e3,100],step:[1,1],allowReset:!0,value:We,unit:qe,onChange:function(e){return o({mobileBlockWidth:e})},onChangeUnit:function(e){return o({mobileBlockWidthUnit:e})}}))),(t.horizontalAlign||""!==g&&"full"!==g)&&wp.element.createElement(p.Fragment,null,(""!==Re||""!==g&&"full"!==g)&&wp.element.createElement(l.mb,null,wp.element.createElement(l.d,{label:Object(m.__)("Content Horizontal Align",s.i18n),controls:"flex-horizontal",value:Ye,onChange:function(e){return o({blockHorizontalAlign:Ye!==e?e:""})}})),(""!==Ie||""!==g&&"full"!==g)&&wp.element.createElement(l.mb,{screen:"tablet"},wp.element.createElement(l.d,{label:Object(m.__)("Content Horizontal Align",s.i18n),controls:"flex-horizontal",value:Ke,onChange:function(e){return o({tabletBlockHorizontalAlign:Ke!==e?e:""})}})),(""!==We||""!==g&&"full"!==g)&&wp.element.createElement(l.mb,{screen:"mobile"},wp.element.createElement(l.d,{label:Object(m.__)("Content Horizontal Align",s.i18n),controls:"flex-horizontal",value:$e,onChange:function(e){return o({mobileBlockHorizontalAlign:$e!==e?e:""})}}))),Object($.applyFilters)("stackable.".concat(e,".edit.advanced.block-spacing.after"),null,a)))}},be=function(e){return function(t,n){var a,o,r,i,l,s=Object(c.b)(n.attributes),u=n.attributes,b=u.blockInnerWidth,g=void 0===b?"":b,m=u.marginUnit,p=void 0===m?"px":m,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,T=void 0===E?"px":E,S=u.mobileBlockHeightUnit,B=void 0===S?"px":S,A=u.blockWidthUnit,P=void 0===A?"px":A,N=u.tabletBlockWidthUnit,F=void 0===N?"px":N,R=u.mobileBlockWidthUnit,D=void 0===R?"px":R,M=".".concat(n.mainClassName),z=Object($.applyFilters)("stackable.".concat(e,".advanced-block-spacing.margins"),(se(a={},M,{marginTop:Object(c.c)(s("marginTop","%s".concat(p))),marginRight:Object(c.c)(s("marginRight","%s".concat(p))),marginBottom:Object(c.c)(s("marginBottom","%s".concat(p))),marginLeft:Object(c.c)(s("marginLeft","%s".concat(p)))}),se(a,"tablet",se({},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)))})),se(a,"mobile",se({},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($.applyFilters)("stackable.".concat(e,".advanced-block-spacing.paddings"),(se(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)))}),se(o,"tablet",se({},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)))})),se(o,"mobile",se({},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=(se(l={},M,{minHeight:s("blockHeight","%s".concat(x)),justifyContent:s("blockHorizontalAlign"),alignItems:s("blockVerticalAlign")}),se(l,"".concat(M," .ugb-inner-block"),{width:Object(c.c)(s("blockWidth","%s".concat(P))),minWidth:"wide"===g&&s("blockWidth")?"auto !important":void 0}),se(l,"tablet",(se(r={},M,{minHeight:s("tabletBlockHeight","%s".concat(T)),justifyContent:s("tabletBlockHorizontalAlign"),alignItems:s("tabletBlockVerticalAlign")}),se(r,"".concat(M," .ugb-inner-block"),{width:Object(c.c)(s("tabletBlockWidth","%s".concat(F))),minWidth:"wide"===g&&s("tabletBlockWidth")?"auto !important":void 0}),r)),se(l,"mobile",(se(i={},M,{minHeight:Object(c.c)(s("mobileBlockHeight","%s".concat(B))),justifyContent:s("mobileBlockHorizontalAlign"),alignItems:s("mobileBlockVerticalAlign")}),se(i,"".concat(M," .ugb-inner-block"),{width:Object(c.c)(s("mobileBlockWidth","%s".concat(D))),minWidth:"wide"===g&&s("mobileBlockWidth")?"auto !important":void 0}),i)),l);return Z.a.all([t,z,I,L])}},ge=function(e){return ce({},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"]))},me=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ce({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($.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/advanced-block-spacing"),ue(e,n),5),n.modifyStyles&&Object($.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/advanced-block-spacing"),be(e)),Object($.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-block-spacing"),ge),Object($.doAction)("stackable.module.advanced-block-spacing",e)};function pe(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=function(e){return wp.element.createElement(p.Fragment,null,e,wp.element.createElement(u.PanelBody,{title:Object(m.__)("Column Spacing & More",s.i18n),initialOpen:!1},wp.element.createElement(l.W,{type:"advanced"})))},he=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(n,!0).forEach(function(t){de(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(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"]))},ve=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s.showProNotice&&Object($.addFilter)("stackable.".concat(e,".edit.inspector.advanced.before"),"stackable/".concat(e,"/fine-grained"),fe,6),Object($.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-column-spacing"),he),Object($.doAction)("stackable.module.advanced-column-spacing",e,t)};function ye(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 we(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(n,!0).forEach(function(t){Oe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}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}var ke=function(e,t){var n=t.attributes,a=n.hideDesktop,o=void 0!==a&&a,r=n.hideTablet,i=void 0!==r&&r,l=n.hideMobile;return we({},e,{"ugb--hide-desktop":o,"ugb--hide-tablet":i,"ugb--hide-mobile":void 0!==l&&l})},_e=function(e){return we({},e,{hideDesktop:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1}})},je=function(e){Object($.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,r=o.hideDesktop,i=void 0!==r&&r,l=o.hideTablet,c=void 0!==l&&l,b=o.hideMobile,g=void 0!==b&&b;return wp.element.createElement(p.Fragment,null,t,wp.element.createElement(u.PanelBody,{title:Object(m.__)("Responsive",s.i18n),initialOpen:!1},Object($.applyFilters)("stackable.".concat(e,".edit.advanced.responsive.before"),null,n),wp.element.createElement(u.ToggleControl,{label:Object(m.__)("Hide on Desktop",s.i18n),checked:i,onChange:function(e){return a({hideDesktop:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(m.__)("Hide on Tablet",s.i18n),checked:c,onChange:function(e){return a({hideTablet:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(m.__)("Hide on Mobile",s.i18n),checked:g,onChange:function(e){return a({hideMobile:e})}}),Object($.applyFilters)("stackable.".concat(e,".edit.advanced.responsive.after"),null,n)))}}(e),19),Object($.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/advanced-responsive"),_e),Object($.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/advanced-responsive"),ke),Object($.doAction)("stackable.module.advanced-responsive",e)},Ce=n(11);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)}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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(n,!0).forEach(function(t){Se(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 Se(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=[],Ae=function(e){return Te({},e,{supports:Te({},e.supports,{align:null})})},Pe=function(e){return Object(Ce.includes)(["center","wide","full"],e)},Ne=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,r=t.wrapperProps;return Be.includes(a)&&Pe(o)&&(r=Te({},r,{"data-align":o})),wp.element.createElement(e,xe({},t,{wrapperProps:r}))}}]));function Fe(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){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(n,!0).forEach(function(t){De(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}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}Object($.addFilter)("editor.BlockListBlock","stackable/with-data-align",Ne),Object($.addFilter)("blocks.getSaveContent.extraProps","stackable/addAssignedAlign",function(e,t,n){var a=t.name,o=n.align;return Be.includes(a)?(Pe(o)&&(e.className=S()("align".concat(o),e.className)),e):e}),Object($.removeFilter)("stackable.setAttributes","stackable/module/block-background/show"),Object($.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,r=n.blockInnerWidth,i=void 0===r?"":r;return e.align=e.showBlockBackground?"full":i||"center",e.blockInnerWidth=e.showBlockBackground?o||"center":"",e});var Me=function(e,t){var n=t.setAttributes,a=t.attributes.showBlockBackground,o=void 0!==a&&a;return wp.element.createElement(p.Fragment,null,e,wp.element.createElement(l.T,{title:Object(m.__)("Block Background",s.i18n),checked:o,onChange:function(e){return n({showBlockBackground:e})},toggleOnSetAttributes:Object(c.i)("blockBackground%s"),toggleAttributeName:"showBlockBackground"},wp.element.createElement(l.g,{attrNameTemplate:"blockBackground%s",setAttributes:n,blockAttributes:t.attributes})))},ze=function(e,t){var n=t.setAttributes,a=t.attributes,o=a.showBlockBackground,r=void 0!==o&&o,i=a.align,l=void 0===i?"":i,c=a.blockInnerWidth,b=void 0===c?"":c;return wp.element.createElement(p.Fragment,null,e,wp.element.createElement(g.BlockControls,null,!r&&wp.element.createElement(g.BlockAlignmentToolbar,{value:l,onChange:function(e){var t=r&&!e?"full":e;n(r?{align:"full",blockInnerWidth:"center"===t?"":t}:{align:t})},controls:["center","wide","full"]}),r&&wp.element.createElement(u.Toolbar,{label:Object(m.__)("Change Alignment",s.i18n),controls:[{icon:"align-center",title:Object(m.__)("Align center",s.i18n),isActive:""===b||"center"===b,onClick:function(){n({blockInnerWidth:"center"})}},{icon:"align-wide",title:Object(m.__)("Wide width",s.i18n),isActive:"wide"===b,onClick:function(){n({blockInnerWidth:"wide"})}},{icon:"align-full-width",title:Object(m.__)("Full width",s.i18n),isActive:"full"===b,onClick:function(){n({blockInnerWidth:"full"})}}]})))},Ie=function(e){return Re({},e,{supports:Re({},e.supports,{align:["center","wide","full"]})})},Le=function(e){return Re({},e,{showBlockBackground:{type:"boolean",default:!1},blockInnerWidth:{type:"string",default:""},align:{type:"string"}},Object(c.j)("blockBackground%s"))},Ue=function(e,t){var n,a=t.attributes,o=a.showBlockBackground,r=void 0!==o&&o,i=a.blockInnerWidth,l=void 0===i?"":i;return r?Re({},e,(De(n={},"ugb-main-block--inner-".concat(l),l),De(n,"ugb--has-block-background",r),De(n,"ugb--has-background-overlay",Object(c.M)("blockBackground%s",t.attributes)),n)):e},He=function(e,t,n){return n.attributes.showBlockBackground?wp.element.createElement(p.Fragment,null,e,Object(c.E)("blockBackground%s",n)):e},We=function(e,t){var n,a,o;if(!t.attributes.showBlockBackground)return e;var r=(De(o={},".".concat(t.mainClassName),Re({},Object(c.m)("blockBackground%s","desktop",t.attributes))),De(o,".".concat(t.mainClassName,":before"),Re({},Object(c.k)("blockBackground%s","desktop",t.attributes))),De(o,"tablet",(De(n={},".".concat(t.mainClassName),Re({},Object(c.m)("blockBackground%s","tablet",t.attributes))),De(n,".".concat(t.mainClassName,":before"),Re({},Object(c.k)("blockBackground%s","tablet",t.attributes))),n)),De(o,"mobile",(De(a={},".".concat(t.mainClassName),Re({},Object(c.m)("blockBackground%s","mobile",t.attributes))),De(a,".".concat(t.mainClassName,":before"),Re({},Object(c.k)("blockBackground%s","mobile",t.attributes))),a)),o);return Z()(e,r)};function Ge(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 qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ge(n,!0).forEach(function(t){Ve(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ge(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}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 Ye=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a=n.setAttributes,o=n.attributes,r=o.showTopSeparator,i=void 0!==r&&r,c=o.topSeparatorDesign,b=void 0===c?"wave-1":c,g=o.topSeparatorColor,d=void 0===g?"":g,f=o.topSeparatorWidth,h=void 0===f?"":f,v=o.topSeparatorFlipHorizontally,y=void 0!==v&&v,w=o.topSeparatorShadow,O=void 0===w||w,k=o.topSeparatorBringToFront,_=void 0!==k&&k,j=o.showBottomSeparator,C=void 0!==j&&j,x=o.bottomSeparatorDesign,E=void 0===x?"wave-1":x,T=o.bottomSeparatorColor,S=void 0===T?"":T,B=o.bottomSeparatorWidth,A=void 0===B?"":B,P=o.bottomSeparatorFlipHorizontally,N=void 0!==P&&P,F=o.bottomSeparatorShadow,R=void 0===F||F,D=o.bottomSeparatorBringToFront,M=void 0!==D&&D;return wp.element.createElement(p.Fragment,null,e,wp.element.createElement(l.T,{title:Object(m.__)("Top Separator",s.i18n),checked:i,onChange:function(e){return a({showTopSeparator:e})},className:"ugb-top-block-separator-panel",toggleOnSetAttributes:["topSeparatorDesign","topSeparatorColor","topSeparatorHeight","topSeparatorTabletHeight","topSeparatorMobileHeight","topSeparatorWidth","topSeparatorFlipHorizontally","topSeparatorShadow","topSeparatorBringToFront","showTopSeparatorLayer2","showTopSeparatorLayer3","topSeparatorLayer2Color","topSeparatorLayer3Color","topSeparatorLayer2BlendMode","topSeparatorLayer3BlendMode","topSeparatorLayer2Height","topSeparatorLayer3Height","topSeparatorLayer2Width","topSeparatorLayer3Width","topSeparatorLayer2Opacity","topSeparatorLayer3Opacity","topSeparatorLayer2FlipHorizontally","topSeparatorLayer3FlipHorizontally"],toggleAttributeName:"showTopSeparator"},wp.element.createElement(l.y,{label:Object(m.__)("Design",s.i18n),selected:b,onChange:function(e){return a({topSeparatorDesign:e})}}),wp.element.createElement(l.r,{label:Object(m.__)("Color",s.i18n),value:d,onChange:function(e){return a({topSeparatorColor:e})}}),wp.element.createElement(l.Y,{attrNameTemplate:"topSeparator%sHeight",setAttributes:a,blockAttributes:n.attributes},wp.element.createElement(l.b,{label:Object(m.__)("Height",s.i18n),min:"30",max:"400",allowReset:!0,placeholder:"200"})),wp.element.createElement(l.b,{label:Object(m.__)("Width",s.i18n),min:"1",max:"4",step:"0.1",value:h,onChange:function(e){return a({topSeparatorWidth:e})},allowReset:!0,placeholder:"1.0"}),wp.element.createElement(u.ToggleControl,{label:Object(m.__)("Flip Horizontally",s.i18n),checked:y,onChange:function(e){return a({topSeparatorFlipHorizontally:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(m.__)("Shadow",s.i18n),checked:O,onChange:function(e){return a({topSeparatorShadow:e})}}),t.enableBringToFront&&wp.element.createElement(u.ToggleControl,{label:Object(m.__)("Bring to Front",s.i18n),checked:_,onChange:function(e){return a({topSeparatorBringToFront:e})}}),Object($.applyFilters)("stackable.block-separators.edit.top",null,n),s.showProNotice&&wp.element.createElement(l.X,{title:Object(m.__)("Say Hello to Gorgeous Separators 👋",s.i18n),description:Object(m.__)("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.T,{title:Object(m.__)("Bottom Separator",s.i18n),checked:C,onChange:function(e){return a({showBottomSeparator:e})},className:"ugb-bottom-block-separator-panel",toggleOnSetAttributes:["bottomSeparatorDesign","bottomSeparatorColor","bottomSeparatorHeight","bottomSeparatorTabletHeight","bottomSeparatorMobileHeight","bottomSeparatorWidth","bottomSeparatorFlipHorizontally","bottomSeparatorShadow","bottomSeparatorBringToFront","showBottomSeparatorLayer2","showBottomSeparatorLayer3","bottomSeparatorLayer2Color","bottomSeparatorLayer3Color","bottomSeparatorLayer2BlendMode","bottomSeparatorLayer3BlendMode","bottomSeparatorLayer2Height","bottomSeparatorLayer3Height","bottomSeparatorLayer2Width","bottomSeparatorLayer3Width","bottomSeparatorLayer2Opacity","bottomSeparatorLayer3Opacity","bottomSeparatorLayer2FlipHorizontally","bottomSeparatorLayer3FlipHorizontally"],toggleAttributeName:"showBottomSeparator"},wp.element.createElement(l.y,{label:Object(m.__)("Design",s.i18n),selected:E,onChange:function(e){return a({bottomSeparatorDesign:e})}}),wp.element.createElement(l.r,{label:Object(m.__)("Color",s.i18n),value:S,onChange:function(e){return a({bottomSeparatorColor:e})}}),wp.element.createElement(l.Y,{attrNameTemplate:"bottomSeparator%sHeight",setAttributes:a,blockAttributes:n.attributes},wp.element.createElement(l.b,{label:Object(m.__)("Height",s.i18n),min:"30",max:"400",allowReset:!0,placeholder:"200"})),wp.element.createElement(l.b,{label:Object(m.__)("Width",s.i18n),min:"1",max:"4",step:"0.1",value:A,onChange:function(e){return a({bottomSeparatorWidth:e})},allowReset:!0,placeholder:"1.0"}),wp.element.createElement(u.ToggleControl,{label:Object(m.__)("Flip Horizontally",s.i18n),checked:N,onChange:function(e){return a({bottomSeparatorFlipHorizontally:e})}}),wp.element.createElement(u.ToggleControl,{label:Object(m.__)("Shadow",s.i18n),checked:R,onChange:function(e){return a({bottomSeparatorShadow:e})}}),t.enableBringToFront&&wp.element.createElement(u.ToggleControl,{label:Object(m.__)("Bring to Front",s.i18n),checked:M,onChange:function(e){return a({bottomSeparatorBringToFront:e})}}),Object($.applyFilters)("stackable.block-separators.edit.bottom",null,n),s.showProNotice&&wp.element.createElement(l.X,{title:Object(m.__)("Say Hello to Gorgeous Separators 👋",s.i18n),description:Object(m.__)("Add a second & third layer to this separator and make it look even sweeter. This feature is only available on Stackable Premium",s.i18n)})))}},Xe=function(e){return qe({},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","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"]))},Ke=function(e,t,n){var a=n.attributes,o=a.showTopSeparator,r=void 0!==o&&o,i=a.topSeparatorDesign,c=void 0===i?"wave-1":i,s=a.topSeparatorShadow,u=void 0===s||s,b=a.showBottomSeparator,g=void 0!==b&&b,m=a.bottomSeparatorDesign,d=void 0===m?"wave-1":m,f=a.bottomSeparatorShadow,h=void 0===f||f;return wp.element.createElement(p.Fragment,null,e,r&&wp.element.createElement(p.Fragment,null,wp.element.createElement("div",{className:"ugb-top-separator"},wp.element.createElement(l.ab,{design:c,shadow:u},Object($.applyFilters)("stackable.module.block-separator.output.top.after",null,n)))),g&&wp.element.createElement(p.Fragment,null,wp.element.createElement("div",{className:"ugb-bottom-separator"},wp.element.createElement(l.ab,{design:d,shadow:h},Object($.applyFilters)("stackable.module.block-separator.output.bottom.after",null,n)))))},Je=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a,o=n.attributes,r=o.showTopSeparator,i=void 0!==r&&r,l=o.topSeparatorColor,c=void 0===l?"":l,s=o.topSeparatorHeight,u=void 0===s?"":s,b=o.topSeparatorTabletHeight,g=void 0===b?"":b,m=o.topSeparatorMobileHeight,p=void 0===m?"":m,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(!i)return e;var O=(Ve(a={},".ugb-top-separator",{zIndex:t.enableBringToFront&&w?6:void 0,transform:v?"scale(-1)":void 0}),Ve(a,".ugb-top-separator svg",{fill:""!==c?c:void 0}),Ve(a,".ugb-top-separator .ugb-separator-wrapper",{height:""!==u?"".concat(u,"px"):void 0,transform:""!==f?"scaleX(".concat(f,")"):void 0}),Ve(a,"tablet",Ve({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==g?"".concat(g,"px"):void 0})),Ve(a,"mobile",Ve({},".ugb-top-separator .ugb-separator-wrapper",{height:""!==p?"".concat(p,"px"):void 0})),a);return Z()(e,O)}},$e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(e,n){var a,o=n.attributes,r=o.showBottomSeparator,i=void 0!==r&&r,l=o.bottomSeparatorColor,c=void 0===l?"":l,s=o.bottomSeparatorHeight,u=void 0===s?"":s,b=o.bottomSeparatorTabletHeight,g=void 0===b?"":b,m=o.bottomSeparatorMobileHeight,p=void 0===m?"":m,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(!i)return e;var O=(Ve(a={},".ugb-bottom-separator",{zIndex:t.enableBringToFront&&w?6:void 0,transform:v?"scaleX(-1)":void 0}),Ve(a,".ugb-bottom-separator svg",{fill:""!==c?c:void 0}),Ve(a,".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==u?"".concat(u,"px"):void 0,transform:""!==f?"scaleX(".concat(f,")"):void 0}),Ve(a,"tablet",Ve({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==g?"".concat(g,"px"):void 0})),Ve(a,"mobile",Ve({},".ugb-bottom-separator .ugb-separator-wrapper",{height:""!==p?"".concat(p,"px"):void 0})),a);return Z()(e,O)}},Qe=function(e,t){var n=t.attributes,a=n.showTopSeparator,o=void 0!==a&&a,r=n.showBottomSeparator;return qe({},e,{"ugb--has-top-separator":o,"ugb--has-bottom-separator":void 0!==r&&r})};function Ze(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 et(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ze(n,!0).forEach(function(t){tt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nt(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 at=function(e,t){var n=t.setAttributes,a=t.attributes,o=a.showBlockTitle,r=void 0!==o&&o,i=a.blockTitleTag,u=void 0===i?"":i,b=a.blockTitleColor,g=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(p.Fragment,null,e,wp.element.createElement(l.T,{title:Object(m.__)("Block Title",s.i18n),className:"ugb-panel-block-title-module",checked:r,onChange:function(e){var t={showBlockTitle:e};e&&""===w&&(t.blockTitle=Object(m.__)("Title for This Block",s.i18n)),n(t)},toggleOnSetAttributes:[].concat(nt(Object(c.B)("blockTitle%s")),["blockTitleTag","blockTitleColor"],nt(Object(c.w)("blockTitle%sAlign"))),toggleAttributeName:"showBlockTitle"},wp.element.createElement(l.jb,{attrNameTemplate:"blockTitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(l.E,{value:u||"h2",onChange:function(e){return n({blockTitleTag:e})}}),wp.element.createElement(l.r,{value:g,onChange:function(e){return n({blockTitleColor:e})},label:Object(m.__)("Title Color",s.i18n)}),wp.element.createElement(l.Y,{attrNameTemplate:"BlockTitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(l.e,{label:Object(m.__)("Align",s.i18n)}))),wp.element.createElement(l.T,{title:Object(m.__)("Block Description",s.i18n),checked:f,onChange:function(e){var t={showBlockDescription:e};e&&""===k&&(t.blockDescription=Object(c.F)()),n(t)},toggleOnSetAttributes:[].concat(nt(Object(c.B)("blockDescription%s")),["blockDescriptionTag","blockDescriptionColor"],nt(Object(c.w)("blockDescription%sAlign"))),toggleAttributeName:"showBlockDescription"},wp.element.createElement(l.jb,{attrNameTemplate:"blockDescription%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(l.r,{value:v,onChange:function(e){return n({blockDescriptionColor:e})},label:Object(m.__)("Description Color",s.i18n)}),wp.element.createElement(l.Y,{attrNameTemplate:"BlockDescription%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(l.e,{label:Object(m.__)("Align",s.i18n)}))))},ot=function(e){return et({},e,{showBlockTitle:{type:"boolean",default:!1},blockTitle:{source:"html",selector:".ugb-block-title",default:Object(m.__)("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:""}})},rt=function(e,t,n){var a=n.setAttributes,o=n.attributes,r=o.showBlockTitle,i=void 0!==r&&r,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=S()(["ugb-block-title"],{"ugb-block-title--with-subtitle":h&&y});return wp.element.createElement(p.Fragment,null,e,i&&wp.element.createElement(g.RichText,{tagName:d||"h2",value:u,className:w,onChange:function(e){return a({blockTitle:e})},placeholder:Object(m.__)("Title for This Block",s.i18n),keepPlaceholderOnFocus:!0}),h&&wp.element.createElement(g.RichText,{tagName:"p",value:y,className:"ugb-block-description",onChange:function(e){return a({blockDescription:e})},placeholder:Object(c.F)(),keepPlaceholderOnFocus:!0}))},it=function(e,t){var n=t.setAttributes,a=t.attributes,o=a.showBlockTitle,r=void 0!==o&&o,i=a.showBlockDescription,c=void 0!==i&&i;return wp.element.createElement(p.Fragment,null,e,r&&wp.element.createElement(l.Y,{attrNameTemplate:"blockTitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(l.b,{label:Object(m.__)("Block Title",s.i18n),min:-50,max:100,allowReset:!0})),c&&wp.element.createElement(l.Y,{attrNameTemplate:"blockDescription%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(l.b,{label:Object(m.__)("Block Description",s.i18n),min:-50,max:100,allowReset:!0})))},lt=function(e,t,n){var a=n.attributes,o=a.showBlockTitle,r=void 0!==o&&o,i=a.blockTitle,l=void 0===i?"":i,c=a.blockTitleTag,s=void 0===c?"":c,u=a.showBlockDescription,b=void 0!==u&&u,m=a.blockDescription,d=void 0===m?"":m,f=S()(["ugb-block-title"],{"ugb-block-title--with-subtitle":b&&d});return wp.element.createElement(p.Fragment,null,e,r&&!g.RichText.isEmpty(l)&&wp.element.createElement(g.RichText.Content,{tagName:s||"h2",className:f,value:l}),b&&!g.RichText.isEmpty(d)&&wp.element.createElement(g.RichText.Content,{tagName:"p",className:"ugb-block-description",value:d}))},ct=function(e,t){var n=Object(c.b)(t.attributes),a=t.attributes,o=a.showBlockTitle,r=void 0!==o&&o,i=a.blockTitleColor,l=void 0===i?"":i,s=a.showBlockDescription,u=void 0!==s&&s,b=a.blockDescriptionColor,g=void 0===b?"":b,m=a.showBlockBackground,p=void 0!==m&&m,d=a.blockBackgroundBackgroundColor,f=void 0===d?"":d,h=[e];return r&&h.push({".ugb-block-title":et({},Object(c.D)("BlockTitle%s","desktop",t.attributes),{color:Object(c.cb)(l,p&&f),textAlign:n("blockTitleAlign"),marginBottom:n("blockTitleBottomMargin","%spx")}),tablet:{".ugb-block-title":et({},Object(c.D)("BlockTitle%s","tablet",t.attributes),{textAlign:n("blockTitleTabletAlign"),marginBottom:n("blockTitleTabletBottomMargin","%spx")})},mobile:{".ugb-block-title":et({},Object(c.D)("BlockTitle%s","mobile",t.attributes),{textAlign:n("blockTitleMobileAlign"),marginBottom:n("blockTitleMobileBottomMargin","%spx")})}}),u&&h.push({".ugb-block-description":et({},Object(c.D)("BlockDescription%s","desktop",t.attributes),{color:Object(c.cb)(g,p&&f),textAlign:n("blockDescriptionAlign"),marginBottom:n("blockDescriptionBottomMargin","%spx")}),tablet:{".ugb-block-description":et({},Object(c.D)("BlockDescription%s","tablet",t.attributes),{textAlign:n("blockDescriptionTabletAlign"),marginBottom:n("blockDescriptionTabletBottomMargin","%spx")})},mobile:{".ugb-block-description":et({},Object(c.D)("BlockDescription%s","mobile",t.attributes),{textAlign:n("blockDescriptionMobileAlign"),marginBottom:n("blockDescriptionMobileBottomMargin","%spx")})}}),Z.a.all(h)},st=function(e){return Object(Ce.omit)(et({},e,{blockTitle:Object(m.__)("Title for This Block",s.i18n),blockDescription:Object(c.F)()}),[e.showBlockTitle?"blockTitle":"",e.showBlockDescription?"blockDescription":""])},ut=function(e){return[].concat(nt(e),["BlockTitle%sAlign","BlockDescription%sAlign"])};function bt(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 gt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(n,!0).forEach(function(t){mt(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pt=function(e,t){return function(n){var a=Object($.applyFilters)("stackable.".concat(e,".edit.designs"),{});return Object.keys(a).length?wp.element.createElement(p.Fragment,null,n,wp.element.createElement(l.w,{title:Object(m.__)("Designs",s.i18n),initialOpen:!0,className:"ugb-block-design-panel",options:Object.keys(a).map(function(e){var t=a[e];return{label:t.label,value:e,image:t.image,imageHeight:400,imageWidth:600}}),onChange:function(e){a[e]&&Object(c.e)(a[e].attributes)}},t.hasPremiumDesigns&&wp.element.createElement(l.X,{title:Object(m.__)("More Designs Coming Soon 👋",s.i18n),description:Object(m.__)("We'll be adding more pre-set sections / designs for this block soon.",s.i18n),showButton:!1}))):n}};function dt(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 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=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dt(n,!0).forEach(function(t){ft(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},e,{},Object(c.h)("%sContentAlign",{type:"string",default:""},["","Tablet","Mobile"]))},vt=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")}}}),Z.a.all(a)},yt=function(e,t){var n=t.setAttributes,a=t.attributes.contentAlign,o=void 0===a?"":a;return wp.element.createElement(p.Fragment,null,e,wp.element.createElement(g.BlockControls,null,wp.element.createElement(g.AlignmentToolbar,{value:o,onChange:function(e){return n({contentAlign:e})}})))};function wt(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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kt=function(e){return wp.element.createElement(p.Fragment,null,e,wp.element.createElement(u.PanelBody,{initialOpen:!1,title:Object(m.__)("Custom CSS",s.i18n)},wp.element.createElement(l.W,{title:Object(m.__)("Say Hello to Custom CSS 👋",s.i18n),description:Object(m.__)("Further tweak this block by adding guided custom CSS rules. This feature is only available on Stackable Premium",s.i18n)})))},_t=function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wt(n,!0).forEach(function(t){Ot(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wt(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:""}})},jt=function(e,t,n){var a=n.mainClassName,o=n.attributes,r=o.customCSS,i=void 0===r?"":r,l=o.uniqueClass,s=void 0===l?n.attributes.customCSSUniqueID||"":l,u=Object(c.V)(Object(c.g)(i,a,s),!0);return wp.element.createElement(p.Fragment,null,e,u&&wp.element.createElement("style",null,u))},Ct={},xt=function(e,t){Ct[e]=t},Et=function(e){return Ct[e]},Tt=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!Et(t)){var a=St.reduce(function(e,n){var a=n.name,o=n.module;return t===a?o:e},null);a&&xt(t,a)}var o=Et(t);o&&o(e,n)},St=[{name:"advanced-general",module:ie},{name:"advanced-responsive",module:je},{name:"advanced-block-spacing",module:me},{name:"advanced-column-spacing",module:ve},{name:"block-background",module:function(e){Object($.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-background"),Me,18),Object($.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-background"),Le),Object($.addFilter)("stackable.".concat(e,".edit.inspector.before"),"stackable/".concat(e,"/block-background"),ze),Object($.addFilter)("stackable.".concat(e,".settings"),"stackable/".concat(e,"/block-background"),Ie),Object($.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/block-background"),Ue),Object($.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-background"),We),Object($.addFilter)("stackable.".concat(e,".edit.output.outer"),"stackable/".concat(e,"/block-separators"),He),Object($.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/".concat(e,"/block-separators"),He),Object($.doAction)("stackable.module.block-background",e),function(e){Object($.addFilter)("stackable.".concat(e,".settings"),"stackable/".concat(e,"/block-background"),Ae,99),Be.push("ugb/".concat(e))}(e)}},{name:"block-separators",module:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=qe({enableBringToFront:!0},t);Object($.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-separators"),Ye(e,n),18),Object($.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-separators"),Xe),Object($.addFilter)("stackable.".concat(e,".edit.output.outer"),"stackable/".concat(e,"/block-separators"),Ke),Object($.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/".concat(e,"/block-separators"),Ke),Object($.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-separators/top"),Je(e,n)),Object($.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-separators/bottom"),$e(e,n)),Object($.addFilter)("stackable.".concat(e,".main-block.classes"),"stackable/".concat(e,"/block-separators"),Qe),Object($.doAction)("stackable.module.block-separators",e)}},{name:"block-title",module:function(e){Object($.removeFilter)("stackable.panel-spacing-body.edit.before","stackable/block-title"),Object($.addFilter)("stackable.".concat(e,".edit.inspector.style.block"),"stackable/".concat(e,"/block-title"),at,17),Object($.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/block-title"),ot),Object($.addFilter)("stackable.panel-spacing-body.edit.before","stackable/block-title",it),Object($.addFilter)("stackable.".concat(e,".edit.output.before"),"stackable/".concat(e,"/block-title"),rt),Object($.addFilter)("stackable.".concat(e,".save.output.before"),"stackable/".concat(e,"/block-title"),lt),Object($.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/block-title"),ct),Object($.addFilter)("stackable.with-content-align-reseter.attributeNamesToReset","stackable/".concat(e,"/block-title"),ut),Object($.addFilter)("stackable.".concat(e,".design.apply-block-attributes"),"stackable/".concat(e,"/block-title"),st),Object($.doAction)("stackable.module.block-title",e)}},{name:"block-designs",module:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=gt({hasPremiumDesigns:!0},t);Object($.addFilter)("stackable.".concat(e,".edit.inspector.layout.before"),"stackable/".concat(e,"/block-designs"),pt(e,n),20),Object($.doAction)("stackable.module.block-designs",e)}},{name:"content-align",module:function(e){Object($.addFilter)("stackable.".concat(e,".edit.inspector.before"),"stackable/".concat(e,"/content-align"),yt,11),Object($.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/content-align"),ht),Object($.addFilter)("stackable.".concat(e,".styles"),"stackable/".concat(e,"/content-align"),vt,9),Object($.doAction)("stackable.module.content-align",e)}},{name:"custom-css",module:function(e){s.showProNotice&&Object($.addFilter)("stackable.".concat(e,".edit.inspector.advanced.after"),"stackable/".concat(e,"/custom-css"),kt,20),Object($.addFilter)("stackable.".concat(e,".attributes"),"stackable/".concat(e,"/custom-css"),_t),s.isPro||Object($.addFilter)("stackable.".concat(e,".save.output.outer"),"stackable/pro/".concat(e,"/custom-css/downgrade"),jt),Object($.doAction)("stackable.module.custom-css",e)}}],Bt=n(10);function At(e){return(At="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 Pt(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 Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pt(n,!0).forEach(function(t){Ft(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pt(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 Rt,Dt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Object(x.getBlockType)(e)){var n=e.replace(/^\w+\//g,""),a=Nt({},t,{modules:Object($.applyFilters)("stackable.".concat(n,".modules"),t.modules||{}),deprecated:(t.deprecated||[]).map(function(t){return Nt({},t,{save:Object(Bt.d)(e)(t.save)})})});return Object.keys(a.modules).forEach(function(e){var t=a.modules[e];t&&Tt(n,e,"object"===At(t)?t:{})}),a.attributes=Object($.applyFilters)("stackable.block.attributes",a.attributes),a.attributes=Object($.applyFilters)("stackable.".concat(n,".attributes"),a.attributes),a.edit=Object(Bt.d)(e)(a.edit),a.save=Object(Bt.d)(e)(a.save),Object(x.registerBlockType)(e,Object($.applyFilters)("stackable.".concat(n,".settings"),a)),a}};(Rt=n(136)).keys().forEach(function(e){var t=Rt(e),n=t.name,a=t.settings;try{return n&&a&&Dt(n,a)}catch(e){console.error("Could not register ".concat(n," block"))}})},function(e,t,n){"use strict";n.r(t);var a=n(11),o=n(1),r=n(0),i=n(4);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(i.addFilter)("stackable.blockquote.design.apply-block-attributes","stackable/blockquote",function(e){return Object(a.omit)(e,["text"])}),Object(i.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(r.__)("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(r.__)("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(r.__)("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(r.__)("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(5),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 g=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"}),m=function(e){return u.a.createElement("svg",b({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),g)};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 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",p({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"}),T=function(e){return u.a.createElement("svg",x({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),E)};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=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",S({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),B)};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 N=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",P({viewBox:"0 0 50 50",xmlns:"http://www.w3.org/2000/svg"},e),N)};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(m,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(T,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))},Y=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))},X={"round-thin":{icon:L(),iconFunc:L,title:Object(r.__)("Round Thin",o.i18n),value:"round-thin"},round:{icon:I(),iconFunc:I,title:Object(r.__)("Round",o.i18n),value:"round"},"round-thick":{icon:U(),iconFunc:U,title:Object(r.__)("Round Thick",o.i18n),value:"round-thick"},"round-fat":{icon:H(),iconFunc:H,title:Object(r.__)("Round Fat",o.i18n),value:"round-fat"},"square-thin":{icon:Y(),iconFunc:Y,title:Object(r.__)("Square Thin",o.i18n),value:"square-thin"},square:{icon:W(),iconFunc:W,title:Object(r.__)("Square",o.i18n),value:"square"},"square-simple":{icon:V(),iconFunc:V,title:Object(r.__)("Square Simple",o.i18n),value:"square-simple"},"square-modern":{icon:q(),iconFunc:q,title:Object(r.__)("Square Modern",o.i18n),value:"square-modern"},"square-fat":{icon:G(),iconFunc:G,title:Object(r.__)("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"}))},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:"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"}))},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:"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:Q(),iconFunc:Q,title:"Round Fat",value:"round-fat"},"square-thin":{icon:ae(),iconFunc:ae,title:"Square Thin",value:"square-thin"},square:{icon:Z(),iconFunc:Z,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"}},re=n(2),ie=n(6),le=n(7),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 ge={align:{type:"string"},text:{source:"html",selector:"p",default:Object(re.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:""}},me={text:{source:"html",selector:"p",default:Object(re.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}},pe={align:{type:"string"},text:{source:"html",selector:"p",default:Object(re.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:ge,save:function(e){var t,n=e.className,a=e.attributes,o=a.color,r=a.text,l=a.quoteColor,c=a.backgroundColorType,s=void 0===c?"":c,u=a.backgroundColor,b=a.backgroundColor2,g=a.backgroundColorDirection,m=void 0===g?0:g,p=a.backgroundType,d=void 0===p?"":p,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,T=a.borderRadius,S=void 0===T?12:T,B=a.shadow,A=void 0===B?3:B,P=["basic","top-icon"].includes(E),N=ce()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(v/1),"ugb-blockquote--design-".concat(E)],Object(i.applyFilters)("stackable.blockquote.mainclasses_1_17_3",(be(t={"ugb--has-background":P&&(u||f),"ugb--has-background-image":P&&f},"ugb--shadow-".concat(A),P&&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=P?{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(m,"deg"):void 0,borderRadius:12!==S?S:void 0}:{},R=Object(i.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:N,style:R.main},P&&"video"===d&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(i.applyFilters)("stackable.blockquote.save.output.before_1_17_3",null,E,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},X[O].iconFunc({fill:l,width:_,height:_}),Object(i.applyFilters)("stackable.blockquote.save.output_1_17_3",wp.element.createElement(ie.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:R.text,value:r}),E,e)),Object(i.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})}},{attributes:pe,save:function(e){var t,n=e.className,a=e.attributes,o=a.color,r=a.text,l=a.quoteColor,c=a.backgroundColorType,s=void 0===c?"":c,u=a.backgroundColor,b=a.backgroundColor2,g=a.backgroundColorDirection,m=void 0===g?0:g,p=a.backgroundType,d=void 0===p?"":p,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,T=a.borderRadius,S=void 0===T?12:T,B=a.shadow,A=void 0===B?3:B,P=["basic","top-icon"].includes(E),N=ce()([n,"ugb-blockquote","ugb-blockquote--v2","ugb--background-opacity-"+1*Math.round(v/1),"ugb-blockquote--design-".concat(E)],Object(i.applyFilters)("stackable.blockquote.mainclasses",(be(t={"ugb--has-background":P&&(u||f),"ugb--has-background-image":P&&f},"ugb--shadow-".concat(A),P&&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=P?{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(m,"deg"):void 0,borderRadius:12!==S?S:void 0}:{},R=Object(i.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:N,style:R.main},P&&"video"===d&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:f}),Object(i.applyFilters)("stackable.blockquote.save.output.before",null,E,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},X[O].iconFunc({fill:l,width:_,height:_}),Object(i.applyFilters)("stackable.blockquote.save.text",wp.element.createElement(ie.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:R.text,value:r}),E,e)),Object(i.applyFilters)("stackable.blockquote.save.output.after",null,E,e))}},{attributes:pe,save:function(e){var t,n=e.className,a=e.attributes,o=a.color,r=a.text,i=a.quoteColor,l=a.backgroundColor,c=a.backgroundImageURL,s=a.backgroundOpacity,u=void 0===s?5:s,b=a.fixedBackground,g=a.quotationMark,m=void 0===g?"round-thin":g,p=a.quotationSize,d=void 0===p?70:p,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":i||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[m].iconFunc({fill:i,width:d,height:d}),wp.element.createElement(ie.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",style:{color:o},value:r})))},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:me,save:function(e){var t=e.className,n=e.attributes,a=n.color,o=n.text,r=n.quoteColor,i=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":i||l,"ugb-has-background-image":l}),g={"--quote-color":r||void 0,backgroundColor:i||void 0,backgroundImage:l?"url(".concat(l,")"):void 0,backgroundAttachment:u?"fixed":void 0,"--ugb-background-color":l?i:void 0};return wp.element.createElement("blockquote",{className:b,style:g},wp.element.createElement(ie.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,r=n.quoteColor,i=ce()([t,"ugb-blockquote"]);return wp.element.createElement("blockquote",{className:i,style:{"--quote-color":r}},wp.element.createElement(ie.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(66),he=n.n(fe),ve=n(67),ye=n.n(ve),we=function(e){var t=e.attributes.design,n=void 0===t?"basic":t;return Object(i.applyFilters)("stackable.blockquote.show",{containerBackground:"basic"===n,borderRadius:"basic"===n,shadow:"basic"===n},e)},Oe=n(13),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(re.b)(e.attributes),n=we(e),a=[];a.push(Ce({},n.containerBackground?Object(re.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(re.c)(t("quoteColor")),opacity:t("quoteOpacity")}}),a.push.apply(a,_e(Object(re.y)(".ugb-blockquote__quote","quote%sSize","width","%spx",e.attributes,!0))),a.push.apply(a,_e(Object(re.y)(".ugb-blockquote__quote","quote%sSize","height","%spx",e.attributes,!0))),a.push.apply(a,_e(Object(re.y)(".ugb-blockquote__quote","quote%sX","left","%spx",e.attributes,!0))),a.push.apply(a,_e(Object(re.y)(".ugb-blockquote__quote","quote%sY","top","%spx",e.attributes,!0))));var r=e.attributes,i=r.containerBackgroundColor,l=void 0===i?"":i,c=r.textColor,s=void 0===c?"":c;return a.push({".ugb-blockquote__text":Ce({},Object(re.D)("text%s","desktop",e.attributes,{important:!0}),{color:Object(re.cb)(s,n.containerBackground&&l)}),tablet:{".ugb-blockquote__text":Ce({},Object(re.D)("text%s","tablet",e.attributes,{important:!0}))},mobile:{".ugb-blockquote__text":Ce({},Object(re.D)("text%s","mobile",e.attributes,{important:!0}))}}),a.push.apply(a,_e(Object(re.y)(".ugb-blockquote__item","text%sAlign","textAlign","%s",e.attributes,!0))),ke.a.all(a)},Te=n(3),Se=n(10),Be=n(8),Ae=n(9),Pe=n(12);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 Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Re(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(i.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(Te.w,{initialOpen:!0,selected:l,options:Object(i.applyFilters)("stackable.blockquote.edit.layouts",[{label:Object(r.__)("Basic",o.i18n),value:"basic",image:he.a},{label:Object(r.__)("Plain",o.i18n),value:"plain",image:ye.a}]),onChange:function(e){return n({design:e})}},o.showProNotice&&wp.element.createElement(Te.X,null)))}),Object(i.addFilter)("stackable.blockquote.edit.inspector.style.before","stackable/blockquote",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.borderRadius,l=void 0===i?"":i,c=a.shadow,s=void 0===c?"":c,u=a.showQuote,b=void 0===u||u,g=a.quoteIcon,m=void 0===g?"round-thin":g,p=a.quoteColor,d=void 0===p?"":p,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(Be.PanelBody,{title:Object(r.__)("General",o.i18n)},w.borderRadius&&wp.element.createElement(Te.b,{label:Object(r.__)("Border Radius",o.i18n),value:l,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12"}),w.shadow&&wp.element.createElement(Te.b,{label:Object(r.__)("Shadow / Outline",o.i18n),value:s,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3"}),wp.element.createElement(Te.s,{setAttributes:n,blockAttributes:t.attributes})),w.containerBackground&&wp.element.createElement(Be.PanelBody,{title:Object(r.__)("Container Background",o.i18n),initialOpen:!1},wp.element.createElement(Te.g,{attrNameTemplate:"container%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(Te.T,{title:Object(r.__)("Quotation Mark",o.i18n),checked:b,onChange:function(e){return n({showQuote:e})},toggleOnSetAttributes:["quoteIcon","quoteColor"].concat(Re(Object(re.w)("quote%sSize")),Re(Object(re.w)("quote%sX")),Re(Object(re.w)("quote%sY"))),toggleAttributeName:"showQuote"},wp.element.createElement(Be.BaseControl,{label:Object(r.__)("Icon",o.i18n),id:"ugb-icon-control"},wp.element.createElement(Be.Toolbar,{className:"ugb-blockquote__inspector__icon",icon:X[m].icon,controls:Object.keys(X).map(function(e){var t=X[e].value;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){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}({},X[e],{onClick:function(){return n({quoteIcon:t})},isActive:m===t})})})),wp.element.createElement(Te.r,{value:d,onChange:function(e){return n({quoteColor:e})},label:Object(r.__)("Color",o.i18n)}),wp.element.createElement(Te.Y,{attrNameTemplate:"quote%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Te.b,{label:Object(r.__)("Size",o.i18n),min:0,max:400,allowReset:!0,placeholder:"70"})),wp.element.createElement(Te.b,{label:Object(r.__)("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(Te.Y,{attrNameTemplate:"quote%sX",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Te.b,{label:Object(r.__)("Horizontal Position",o.i18n),min:-400,max:400,allowReset:!0,placeholder:"0"})),wp.element.createElement(Te.Y,{attrNameTemplate:"quote%sY",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Te.b,{label:Object(r.__)("Vertical Position",o.i18n),min:-400,max:400,allowReset:!0,placeholder:"0"}))),wp.element.createElement(Te.T,{title:Object(r.__)("Text",o.i18n),hasToggle:!1},wp.element.createElement(Te.jb,{attrNameTemplate:"text%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(Te.r,{value:y,onChange:function(e){return n({textColor:e})},label:Object(r.__)("Text Color",o.i18n)}),wp.element.createElement(Te.Y,{attrNameTemplate:"Text%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(Te.e,{label:Object(r.__)("Align",o.i18n)}))))});var De=Object(Pe.compose)(Se.g,Se.e,Se.c,Object(Se.f)(),Object(Se.b)(["Text%sAlign"]),Object(Se.a)(Ee,{editorMode:!0}))(function(e){var t=e.className,n=e.setAttributes,a=e.attributes,o=a.blockTag,r=void 0===o?"":o,l=a.design,c=void 0===l?"plain":l,s=a.shadow,u=void 0===s?"":s,b=a.text,g=void 0===b?"":b,m=a.showQuote,p=void 0===m||m,d=a.quoteIcon,f=void 0===d?"round-thin":d,h=a.quoteSize,v=void 0===h?70:h,y=we(e),w=ce()([t,"ugb-blockquote--v3","ugb-blockquote--design-".concat(c)],Object(i.applyFilters)("stackable.blockquote.mainclasses",{"ugb-blockquote--small-quote":v<60},c,e)),O=ce()(["ugb-blockquote__item"],Fe({},"ugb--shadow-".concat(u),y.containerBackground&&""!==u));return wp.element.createElement(Te.j.Edit,{blockTag:r||"blockquote",className:w,blockProps:e,render:function(){return wp.element.createElement(Ae.Fragment,null,wp.element.createElement(Te.z,{className:O,backgroundAttrName:"container%s",blockProps:e,showBackground:y.containerBackground},p&&X[f].iconFunc({},{className:"ugb-blockquote__quote",width:v,height:v}),wp.element.createElement("div",{className:"ugb-blockquote__content"},wp.element.createElement(ie.RichText,{className:"ugb-blockquote__text",value:g,onChange:function(e){return n({text:e})},placeholder:Object(re.F)("long"),keepPlaceholderOnFocus:!0}))))}})});var Me=Object(Pe.compose)(Se.g,Object(Se.a)(Ee))(function(e){var t,n,a,o=e.className,r=e.attributes,l=r.blockTag,c=void 0===l?"":l,s=r.design,u=void 0===s?"plain":s,b=r.shadow,g=void 0===b?"":b,m=r.text,p=void 0===m?"":m,d=r.showQuote,f=void 0===d||d,h=r.quoteIcon,v=void 0===h?"round-thin":h,y=r.quoteSize,w=void 0===y?70:y,O=we(e),k=ce()([o,"ugb-blockquote--v3","ugb-blockquote--design-".concat(u)],Object(i.applyFilters)("stackable.blockquote.mainclasses",{"ugb-blockquote--small-quote":w<60},u,e)),_=ce()(["ugb-blockquote__item"],(t={},n="ugb--shadow-".concat(g),a=O.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(Te.j.Save,{blockTag:c||"blockquote",className:k,blockProps:e,render:function(){return wp.element.createElement(Ae.Fragment,null,wp.element.createElement(Te.z,{className:_,backgroundAttrName:"container%s",blockProps:e,showBackground:O.containerBackground},f&&X[v].iconFunc({},{className:"ugb-blockquote__quote",width:w,height:w}),wp.element.createElement("div",{className:"ugb-blockquote__content"},wp.element.createElement(ie.RichText.Content,{tagName:"p",className:"ugb-blockquote__text",value:p}))))}})}),ze=n(15);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 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 He}),n.d(t,"settings",function(){return We});var Ue=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){Le(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}({design:{type:"string",default:"plain"},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(re.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(re.h)("quote%s%s",{type:"number",default:""},["","Tablet","Mobile"],["X","Y"]),{text:{source:"html",selector:".ugb-blockquote__text",default:Object(re.F)("long")}},Object(re.C)("text%s"),{textColor:{type:"string",default:""}},Object(re.x)("text%sAlign",{type:"string",default:""})),He="ugb/blockquote",We={title:Object(r.__)("Blockquote",o.i18n),description:Object(r.__)("Display a quote in style.",o.i18n),icon:ze.b,category:"stackable",keywords:[Object(r.__)("Blockquote",o.i18n),Object(r.__)("Stackable",o.i18n)],supports:{align:["center","wide","full"],inserter:!o.disabledBlocks.includes(He)},attributes:Ue,deprecated:de,edit:De,save:Me,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(i.applyFilters)("stackable.blockquote.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(15),o=n(2),r=n(11),i=n(1),l=n(0),c=n(4);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.apply-block-attributes","stackable/video-popup",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(r.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",i.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",i.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",i.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",i.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 g=n(5),m=n.n(g);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 d=m.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 m.a.createElement("svg",p({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=m.a.createElement("path",{d:"M0 0v320l256-160L0 0z"}),y=function(e){return m.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=m.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=m.a.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}),_=function(e){return m.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",i.i18n),Object(l.__)("Play Button with Circle",i.i18n),Object(l.__)("Outline Play Button",i.i18n),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return j[e]({fill:t})}),x=n(7),E=n.n(x);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 S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(n,!0).forEach(function(t){B(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 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 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"}))},P=[{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,r=a.playButtonType,i=a.playButtonColor,l=void 0===i?"#ffffff":i,s=a.backgroundImageURL,u=a.backgroundColorType,b=void 0===u?"":u,g=a.backgroundColor,m=a.backgroundColor2,p=a.backgroundColorDirection,d=void 0===p?0:p,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(r),"ugb--background-opacity-"+1*Math.round(v/1)],Object(c.applyFilters)("stackable.video-popup.mainclasses_1_15_6",(B(t={"ugb--has-background":g||s,"ugb--has-background-image":s},"ugb--shadow-".concat(j),"plain"!==w&&3!==j),B(t,"ugb--has-background-gradient","gradient"===b),B(t,"ugb--has-background-video","video"===h),t),w,e)),T={backgroundColor:g||void 0,backgroundImage:s?"url(".concat(s,")"):void 0,"--ugb-background-color":s||"gradient"===b?g:void 0,"--ugb-background-color2":"gradient"===b&&m?m: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:T,"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(r,l))))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-video-popup([\s\{\[\.\#\:])/g,".ugb-video-popup__wrapper$1")};return S({},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)})}},{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,r=n.playButtonColor,i=void 0===r?"#ffffff":r,l=n.backgroundImageURL,c=n.backgroundColor,s=n.backgroundOpacity,u=n.design,b=void 0===u?"basic":u,g=n.borderRadius,m=void 0===g?12:g,p=n.shadow,d=void 0===p?3:p,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)],B({"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!==m?m: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,i))))}},{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,r=n.backgroundImageURL,i=n.backgroundColor,l=n.backgroundOpacity,c=E()([t,"ugb-video-popup","ugb-has-background-opacity-"+1*Math.round(l/1)],{"ugb-has-background":i||r,"ugb-has-background-image":r}),s={backgroundColor:i||void 0,backgroundImage:r?"url(".concat(r,")"):void 0,"--ugb-background-color":r?i: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 S({},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,r=n.mediaLink,i=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:i}},wp.element.createElement("div",{className:"ugb-video-preview",style:{backgroundImage:"url(".concat(r,")")},"data-url":r}),wp.element.createElement("div",{className:"ugb-video-wrapper"},wp.element.createElement("a",{href:"#",style:{backgroundColor:i}}),wp.element.createElement("span",{className:"ugb-play-button"},A[l])))},migrate:function(e){return Object(r.omit)(S({},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,r=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[r])))}}],N=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=m.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 m.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=m.a.createElement("path",{d:"M0 0v320l256-160L0 0z"}),I=function(e){return m.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=m.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=m.a.createElement("path",{d:"M12 25.7V8.3L27 17l-15 8.7zm2-14v10.5l9-5.3-9-5.2z"}),W=function(e){return m.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",i.i18n)},{value:"circle",label:Object(l.__)("Play Button with Circle",i.i18n)},{value:"outline",label:Object(l.__)("Outline Play Button",i.i18n)}],V=function(e){return G[e]},Y=function(e){var t=e.attributes,n=t.showBlockBackground,a=void 0!==n&&n,o=t.blockInnerWidth,r=void 0===o?"":o,i=t.align,l=!a&&"full"===(void 0===i?"":i)||a&&"full"===r;return Object(c.applyFilters)("stackable.video-popup.show",{containerWidth:!l,borderRadius:!l},e)},X=n(10),K=n(13),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 Q(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=function(e){var t=Object(o.b)(e.attributes),n=Y(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){Q(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 r=e.attributes,i=r.previewBackgroundTintStrength,l=void 0===i?"":i,c=r.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(8),te=n(12),ne=n(9);Object(c.addFilter)("stackable.video-popup.edit.inspector.style.before","stackable/video-popup",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.borderRadius,c=void 0===r?"":r,s=a.shadow,u=void 0===s?"":s,b=a.videoLink,g=void 0===b?"":b,m=a.videoID,p=void 0===m?"":m,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,T=a.showBlockDescription,S=void 0!==T&&T,B=Y(t);return wp.element.createElement(ne.Fragment,null,e,wp.element.createElement(ee.PanelBody,{title:Object(l.__)("General",i.i18n)},wp.element.createElement(N.L,{label:Object(l.__)("Popup Option #1: Upload Video",i.i18n),help:Object(l.__)("Use .mp4 format for videos",i.i18n),onRemove:function(){return n({videoLink:"",videoID:""})},onChange:function(e){n({videoLink:e.url,videoID:e.url})},imageID:Object(o.bb)(g)?p:"",imageURL:Object(o.bb)(g)?g:"",allowedTypes:["video"]}),wp.element.createElement(ee.TextControl,{label:Object(l.__)("Popup Option #2: Video URL",i.i18n),help:Object(l.__)("Paste a Youtube / Vimeo URL",i.i18n),placeholder:"https://",value:Object(o.bb)(g)?"":g,onChange:function(e){return n({videoLink:e,videoID:Object(o.L)(e).id})},min:1,max:4})),wp.element.createElement(ee.PanelBody,{title:Object(l.__)("Container",i.i18n),initialOpen:!1},B.containerWidth&&wp.element.createElement(ne.Fragment,null,wp.element.createElement(N.mb,{screen:"desktop"},wp.element.createElement(N.b,{label:Object(l.__)("Width",i.i18n),value:O,min:"200",max:"2000",allowReset:!0,onChange:function(e){return t.setAttributes({width:e})}})),wp.element.createElement(N.mb,{screen:"tablet"},wp.element.createElement(N.b,{label:Object(l.__)("Width",i.i18n),value:_,min:"200",max:"1000",allowReset:!0,onChange:function(e){return t.setAttributes({tabletWidth:e})}})),wp.element.createElement(N.mb,{screen:"mobile"},wp.element.createElement(N.b,{label:Object(l.__)("Width",i.i18n),value:C,min:"200",max:"700",allowReset:!0,onChange:function(e){return t.setAttributes({mobileWidth:e})}}))),wp.element.createElement(N.Y,{attrNameTemplate:"%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.b,{label:Object(l.__)("Height",i.i18n),min:100,max:1e3,allowReset:!0,placeholder:"400"})),B.borderRadius&&wp.element.createElement(N.b,{label:Object(l.__)("Border Radius",i.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12"}),wp.element.createElement(N.b,{label:Object(l.__)("Shadow / Outline",i.i18n),value:u,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3"})),wp.element.createElement(ee.PanelBody,{title:Object(l.__)("Background",i.i18n),initialOpen:!1},wp.element.createElement(N.g,{attrNameTemplate:"preview%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(ee.PanelBody,{title:Object(l.__)("Play Button",i.i18n),initialOpen:!1},wp.element.createElement(ee.SelectControl,{label:Object(l.__)("Button Style",i.i18n),value:d,options:q.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({playButtonType:e})}}),wp.element.createElement(N.Y,{attrNameTemplate:"%sPlayButtonSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(N.b,{label:Object(l.__)("Size",i.i18n),min:10,max:200,allowReset:!0,placeholder:"40"})),wp.element.createElement(N.r,{label:Object(l.__)("Color",i.i18n),value:h,onChange:function(e){return n({playButtonColor:e})}}),wp.element.createElement(N.b,{label:Object(l.__)("Opacity",i.i18n),min:0,max:1,step:.1,value:y,onChange:function(e){return n({playButtonOpacity:e})},allowReset:!0,placeholder:"1.0"})),(E||S)&&wp.element.createElement(N.U,{initialOpen:!1,blockProps:t}))});var ae=Object(te.compose)(X.g,X.e,X.c,Object(X.f)(),Object(X.a)(Z,{editorMode:!0}))(function(e){var t,n,a,o=e.className,r=e.attributes,i=r.playButtonType,l=r.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(N.j.Edit,{className:u,blockProps:e,render:function(){return wp.element.createElement(ne.Fragment,null,wp.element.createElement(N.z,{className:b,backgroundAttrName:"preview%s",blockProps:e},wp.element.createElement("span",{className:"ugb-video-popup__play-button"},V(i))))}})});var oe=Object(te.compose)(X.g,Object(X.a)(Z))(function(e){var t,n,a,o=e.className,r=e.attributes,i=r.videoID,l=r.playButtonType,s=r.shadow,u=void 0===s?"":s,b=E()([o,"ugb-video-popup--v3"],Object(c.applyFilters)("stackable.video-popup.mainclasses",{},e)),g=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(N.j.Save,{className:b,blockProps:e,render:function(){return wp.element.createElement(ne.Fragment,null,wp.element.createElement(N.z,{className:g,backgroundAttrName:"preview%s",blockProps:e,"data-video":i},wp.element.createElement("a",{href:"#",className:"ugb-video-popup__overlay"}),wp.element.createElement("span",{className:"ugb-video-popup__play-button"},V(l))))}})});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 ie(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?re(n,!0).forEach(function(t){ie(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}({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",i.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.",i.i18n),icon:a.x,category:"stackable",keywords:[Object(l.__)("Video Popup",i.i18n),Object(l.__)("Stackable",i.i18n),Object(l.__)("YouTube Vimeo mp4",i.i18n)],attributes:le,supports:{align:["center","wide","full"],inserter:!i.disabledBlocks.includes(ce)},deprecated:P,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(11),o=n(4);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 i(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.apply-block-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?r(n,!0).forEach(function(t){i(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}({},e)});var l=n(5),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 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=c.a.createElement("path",{d:"M16.7 3.3L10 10 3.3 3.4 0 6.7l10 10v-.1l10-9.9z"}),p=function(e){return c.a.createElement("svg",g({viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},e),m)},d=n(2),f=n(7),h=n.n(f),v=n(28),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 T=[{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,r=e.attributes,i=r.headingColor,l=r.headingBackgroundColor,c=r.heading,s=r.text,u=r.openStart,b=r.design,g=void 0===b?"basic":b,m=r.borderRadius,d=void 0===m?12:m,f=r.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(g),"basic"!==g),E(t,"ugb-accordion--open",u),t),g,e)),w=h()(["ugb-accordion__heading"],Object(o.applyFilters)("stackable.accordion.headingclasses_1_17_3",E({},"ugb--shadow-".concat(v),"plain"!==g&&3!==v),g,e)),O=Object(o.applyFilters)("stackable.accordion.styles_1_17_3",{main:{},heading:{borderRadius:"plain"!==g&&12!==d?d:void 0,backgroundColor:"plain"!==g&&l?l:void 0},title:{color:i||void 0}},g,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,g,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:i||void 0}.fill,wp.element.createElement(p,{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,g,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,r=a.headingBackgroundColor,i=a.heading,l=a.text,c=a.openStart,s=a.design,u=void 0===s?"basic":s,g=a.borderRadius,m=void 0===g?12:g,p=a.shadow,d=void 0===p?3:p,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!==m?m:void 0,backgroundColor:"plain"!==u&&r?r:void 0},O=y()(l+i).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:i}),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,r=a.headingBackgroundColor,i=a.heading,l=a.text,c=a.openStart,s=a.design,u=void 0===s?"basic":s,b=a.borderRadius,g=void 0===b?12:b,m=a.shadow,p=void 0===m?3:m,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(p),"plain"!==u&&3!==p)),v={borderRadius:"plain"!==u&&12!==g?g:void 0,backgroundColor:"plain"!==u&&r?r:void 0},w=y()(l+i).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: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: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,r=n.heading,i=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: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:a||void 0})),wp.element.createElement(_.RichText.Content,{tagName:"p",className:"ugb-accordion__text",value:i}))},migrate:function(e){return C({},e,{design:"basic",borderRadius:12,shadow:3})}}],S=n(64),B=n.n(S),A=n(65),P=n.n(A),N=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.showTitle,i=void 0===r||r;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:i},e)},F=n(13),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,r=n.reverseArrow,i=void 0!==r&&r,l=N(e),c=[];c.push({".ugb-accordion__heading":{flexDirection:i?"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,g=s.showTitle;(void 0===g||g)&&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 m=e.attributes.containerBackgroundColor,p=void 0===m?"":m;"basic"!==o&&"plain"!==o||c.push({".ugb-accordion__title":{color:Object(d.cb)(b,l.headerBackground&&p)}});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.cb)(w,l.headerBackground&&p)}});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(10),V=n(8),Y=n(12),X=n(9),K=n(14);Object(o.addFilter)("stackable.accordion.edit.inspector.layout.before","stackable/accordion",function(e,t){var n=t.setAttributes,a=t.attributes.design,r=void 0===a?"basic":a;return wp.element.createElement(X.Fragment,null,e,wp.element.createElement(G.w,{initialOpen:!0,selected:r,options:Object(o.applyFilters)("stackable.accordion.edit.layouts",[{label:Object(O.__)("Basic",w.i18n),value:"basic",image:B.a},{label:Object(O.__)("Plain",w.i18n),value:"plain",image:P.a}]),onChange:function(e){return n({design:e})}},w.showProNotice&&wp.element.createElement(G.X,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,r=void 0===o?"basic":o,i=a.titleColor,l=a.borderRadius,c=void 0===l?"":l,s=a.shadow,u=void 0===s?"":s,b=a.onlyOnePanelOpen,g=void 0!==b&&b,m=a.openStart,p=void 0!==m&&m,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,T=void 0===E||E,S=a.borderSize,B=void 0===S?"":S,A=a.borderColor,P=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=N(t);return wp.element.createElement(X.Fragment,null,e,wp.element.createElement(V.PanelBody,{title:Object(O.__)("General",w.i18n)},wp.element.createElement(V.ToggleControl,{label:Object(O.__)("Close adjacent accordions when this opens",w.i18n),checked:g,onChange:function(e){return n({onlyOnePanelOpen:e})}}),wp.element.createElement(V.ToggleControl,{label:Object(O.__)("Open at the start",w.i18n),checked:p,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"}),(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"}),wp.element.createElement(G.s,{setAttributes:n,blockAttributes:t.attributes})),(q.headerBackground||q.containerBackground)&&wp.element.createElement(V.PanelBody,{title:Object(O.__)("Container Background",w.i18n),initialOpen:!1},wp.element.createElement(G.g,{attrNameTemplate:"container%s",setAttributes:n,blockAttributes:t.attributes}),"colored"===r&&wp.element.createElement(G.r,{value:W,onChange:function(e){return n({containerClosedBackgroundColor:e})},label:Object(O.__)("Closed State Background Color",w.i18n)})),wp.element.createElement(G.T,{title:Object(O.__)("Title",w.i18n),hasToggle:!1},wp.element.createElement(G.jb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(G.E,{value:v||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(G.r,{value:i,onChange:function(e){return n({titleColor:e})},label:Object(O.__)("Title Color",w.i18n)}),wp.element.createElement(G.Y,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(G.e,{label:Object(O.__)("Align",w.i18n)}))),wp.element.createElement(G.T,{title:Object(O.__)("Arrow",w.i18n),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.T,{title:Object(O.__)("Border",w.i18n),checked:T,onChange:function(e){return n({showBorder:e})},toggleOnSetAttributes:["borderSize","borderColor"],toggleAttributeName:"showBorder"},wp.element.createElement(G.b,{label:Object(O.__)("Size",w.i18n),min:0,max:10,allowReset:!0,value:B,onChange:function(e){return n({borderSize:e})},placeholder:"3"}),wp.element.createElement(G.r,{value:P,onChange:function(e){return n({borderColor:e})},label:Object(O.__)("Color",w.i18n)})),wp.element.createElement(G.U,{initialOpen:!1,blockProps:t},(q.headerBackground||q.containerBackground)&&wp.element.createElement(G.C,{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}),q.titleSpacing&&wp.element.createElement(G.Y,{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"}))))});var J=[["core/paragraph",{content:Object(d.F)("long")}]],$=Object(Y.compose)(q.g,q.e,q.c,Object(q.f)(),Object(q.b)(),Object(q.a)(L,{editorMode:!0}),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(Y.withState)({isOpen:null}))(function(e){var t,n,a,r=e.className,i=e.setAttributes,l=e.attributes,c=l.design,s=void 0===c?"basic":c,u=l.shadow,b=void 0===u?"":u,g=l.titleTag,m=void 0===g?"":g,p=l.title,d=void 0===p?"":p,f=l.openStart,v=void 0!==f&&f,y=l.showArrow,k=void 0===y||y,j=N(e),C=h()([r,"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(X.Fragment,null,wp.element.createElement(G.z,{className:x,backgroundAttrName:"container%s",blockProps:e,showBackground:j.containerBackground},wp.element.createElement(G.z,{className:E,backgroundAttrName:"container%s",blockProps:e,showBackground:j.headerBackground,onMouseUp:function(){return e.setState({isOpen:!e.isOpen})},onKeyPress:function(){return e.setState({isOpen:!v})},role:"button",tabIndex:"0"},wp.element.createElement(_.RichText,{tagName:m||"h4",className:"ugb-accordion__title",value:d,onChange:function(e){return i({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 Q=Object(Y.compose)(q.g,Object(q.a)(L))(function(e){var t,n,a,r=e.className,i=e.attributes,l=i.design,c=void 0===l?"basic":l,s=i.shadow,u=void 0===s?"":s,b=i.titleTag,g=void 0===b?"":b,m=i.title,p=void 0===m?"":m,d=i.openStart,f=void 0!==d&&d,v=i.showArrow,y=void 0===v||v,w=i.onlyOnePanelOpen,O=void 0!==w&&w,k=N(e),j=h()([r,"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(X.Fragment,null,wp.element.createElement(G.z,{className:C,backgroundAttrName:"container%s",blockProps:e,showBackground:k.containerBackground},wp.element.createElement(G.z,{className:x,backgroundAttrName:"container%s",blockProps:e,showBackground:k.headerBackground,role:"button",tabIndex:"0"},wp.element.createElement(_.RichText.Content,{tagName:g||"h4",className:"ugb-accordion__title",role:"heading","aria-level":"3",value:p}),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)))))}})}),Z=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:Z.a,category:"stackable",keywords:[Object(O.__)("Accordion",w.i18n),Object(O.__)("Toggle",w.i18n),Object(O.__)("Stackable",w.i18n)],attributes:ne,deprecated:T,edit:$,save:Q,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(11),o=n(1),r=n(0),i=n(4);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(i.addFilter)("stackable.notification.design.apply-block-attributes","stackable/notification",function(e){return Object(a.omit)(e,["title","description","buttonText","buttonUrl","buttonNewTab","buttonNoFollow"])}),Object(i.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(r.__)("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(r.__)("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(r.__)("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(r.__)("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(5),b=n.n(u);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=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"}),p=function(e){return b.a.createElement("svg",g({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),m)},d=n(7),f=n.n(d),h=n(28),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,r=n.textColor,l=n.notifType,c=n.dismissible,s=n.borderRadius,u=void 0===s?12:s,b=n.shadow,g=void 0===b?3:b,m=n.design,d=void 0===m?"":m,h=f()([t,"ugb-notification","ugb-notification--type-".concat(l)],Object(i.applyFilters)("stackable.notification.mainclasses_1_17",k({"ugb-notification--dismissible":c},"ugb--shadow-".concat(g),3!==g),d,e)),v={backgroundColor:o,color:r,borderRadius:12!==u?u:void 0};return wp.element.createElement("div",{className:h,style:v},Object(i.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(p,{style:{fill:r}})),wp.element.createElement(y.RichText.Content,{tagName:"p",style:{color:r},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,r=n.textColor,i=n.notifType,l=n.dismissible,c=n.borderRadius,s=void 0===c?12:c,u=n.shadow,b=void 0===u?3:u,g=f()([t,"ugb-notification","ugb-notification--type-".concat(i)],k({"ugb-notification--dismissible":l},"ugb--shadow-".concat(b),3!==b)),m={backgroundColor:o,color:r,borderRadius:12!==s?s:void 0},d=v()(a+i).substr(0,6);return wp.element.createElement("div",{className:g,style:m,"data-uid":d},l&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(p,{style:{fill:r}})),wp.element.createElement(y.RichText.Content,{tagName:"p",style:{color:r},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,r=n.textColor,i=n.notifType,l=n.dismissible,c=n.borderRadius,s=void 0===c?12:c,u=n.shadow,b=void 0===u?3:u,g=f()([t,"ugb-notification","ugb-notification--type-".concat(i)],k({"ugb-notification--dismissible":l},"ugb--shadow-".concat(b),3!==b)),m={backgroundColor:o,color:r,borderRadius:12!==s?s:void 0},p=v()(a+i).substr(0,6);return wp.element.createElement("div",{className:g,style:m,"data-uid":p},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:r}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(y.RichText.Content,{tagName:"p",style:{color:r},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,r=n.textColor,i=n.notifType,l=n.dismissible,c=f()([t,"ugb-notification","type-".concat(i),"dismissible-".concat(l)]),s={backgroundColor:o,color:r},u=v()(a+i).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:r}},wp.element.createElement("path",{d:"M52.4-166.2c3.2,0,3.2-5,0-5C49.2-171.2,49.2-166.2,52.4-166.2L52.4-166.2z"}),wp.element.createElement("path",{d:"M16.8,13.9L26.9,3.8c0.6-0.6,0.6-1.5,0-2.1s-1.5-0.6-2.1,0L14.7,11.8L4.6,1.7C4,1.1,3.1,1.1,2.5,1.7s-0.6,1.5,0,2.1l10.1,10.1L2.5,24c-0.6,0.6-0.6,1.5,0,2.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4L14.7,16l10.1,10.1c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4c0.6-0.6,0.6-1.5,0-2.1L16.8,13.9z"}))),wp.element.createElement(y.RichText.Content,{tagName:"p",className:"wp-ugb-notif notif-".concat(i),style:s,value:a}))},migrate:function(e){return O({},e,{borderRadius:12,shadow:3})}}],j=n(98),C=n.n(j),x=n(99),E=n.n(x);function T(){return(T=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=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"}),B=function(e){return b.a.createElement("svg",T({viewBox:"0 0 28.3 28.3",xmlns:"http://www.w3.org/2000/svg"},e),S)},A=n(13),P=n.n(A),N=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showIcon,r=void 0!==o&&o,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showButton,g=void 0===b||b;return Object(i.applyFilters)("stackable.notification.show",{columnBorder:!1,columnBackground:"plain"!==a,backgroundColor:"plain"!==a,borderRadius:"plain"!==a,shadow:"plain"!==a,iconSpacing:r,titleSpacing:c,descriptionSpacing:u,buttonSpacing:g,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,r=void 0===o?"":o,i=a.tabletContentAlign,l=void 0===i?"":i,c=a.mobileContentAlign,u=void 0===c?"":c,b=a.notifType,g=a.design,m=void 0===g?"basic":g,p=a.columnBackgroundColor,d=void 0===p?"":p,f=N(e);n.push({".ugb-notification__item":{borderRadius:"plain"!==m?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 T=e.attributes,S=T.showIcon,B=void 0!==S&&S,A=T.iconColor,R=void 0===A?"":A,I=T.iconAlign,L=void 0===I?"":I,U=T.iconTabletAlign,H=void 0===U?"":U,W=T.iconMobileAlign,G=void 0===W?"":W;if(B){var q=Object(s.db)(R,f.columnBackground&&d);n.push({".ugb-notification__icon":{marginLeft:""!==L||""!==r?Object(s.c)(Object(s.T)(L||r)):void 0,marginRight:""!==L||""!==r?Object(s.c)(Object(s.U)(L||r)):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,Y=V.titleColor,X=void 0===Y?"":Y,K=V.showTitle;if(void 0===K||K){var J=Object(s.db)(X,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,Q=$.descriptionColor,Z=void 0===Q?"":Q,ee=$.showDescription;if(void 0===ee||ee){var te=Object(s.db)(Z,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,re=ne.buttonDesign,ie=void 0===re?"ghost":re,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.db)(ce,d,"#ffffff","#424242"):"bordered"===m?"#424242":z[b],ge=be?"#ffffff"===be?"#424242":"#ffffff":void 0;if("basic"===ie||""===ie)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:ge||void 0}),M(se,".ugb-button:hover .ugb-button--inner, .ugb-button:hover svg",{color:ge||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))),P.a.all(n)},L=n(3),U=n(10),H=n(8),W=n(12),G=n(9);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){Y(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 Y(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){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(r.__)("Success",o.i18n)},{value:"error",label:Object(r.__)("Error",o.i18n)},{value:"warning",label:Object(r.__)("Warning",o.i18n)},{value:"info",label:Object(r.__)("Information",o.i18n)}];Object(i.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.w,{initialOpen:!0,selected:l,options:[{image:C.a,label:Object(r.__)("Basic",o.i18n),value:"basic"},{image:E.a,label:Object(r.__)("Plain",o.i18n),value:"plain"}].concat(X(Object(i.applyFilters)("stackable.notification.edit.layouts",[]))),onChange:function(e){n({design:e})}},o.showProNotice&&wp.element.createElement(L.X,null)))}),Object(i.addFilter)("stackable.notification.edit.inspector.style.before","stackable/notification",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.titleColor,l=a.descriptionColor,c=a.design,u=void 0===c?"basic":c,b=a.borderRadius,g=void 0===b?"":b,m=a.shadow,p=void 0===m?"":m,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,T=a.columnBorderThickness,S=void 0===T?"":T,B=a.showButton,A=void 0===B||B,P=a.showIcon,F=void 0===P||P,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,Y=void 0===V?"":V,J=a.iconLeft,$=void 0===J?"":J,Q=N(t);return wp.element.createElement(G.Fragment,null,e,wp.element.createElement(H.PanelBody,{title:Object(r.__)("General",o.i18n)},wp.element.createElement(H.SelectControl,{label:Object(r.__)("Notification Type",o.i18n),value:O,options:K.map(function(e){return{value:e.value,label:e.label}}),onChange:function(e){n({notifType:e})}}),Q.borderRadius&&wp.element.createElement(L.b,{label:Object(r.__)("Border Radius",o.i18n),value:g,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12"}),Q.shadow&&wp.element.createElement(L.b,{label:Object(r.__)("Shadow / Outline",o.i18n),value:p,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3"}),wp.element.createElement(L.s,{setAttributes:n,blockAttributes:t.attributes})),Q.columnBorder&&wp.element.createElement(L.T,{title:Object(r.__)("Border",o.i18n),hasToggle:!1},wp.element.createElement(L.r,{value:E,onChange:function(e){return n({columnBorderColor:e})},label:Object(r.__)("Border Color",o.i18n)}),wp.element.createElement(L.b,{label:Object(r.__)("Border Thickness",o.i18n),value:S,onChange:function(e){return n({columnBorderThickness:e})},min:0,max:20,allowReset:!0,placeholder:"bordered"===u?5:3})),Q.columnBackground&&wp.element.createElement(H.PanelBody,{title:Object(r.__)("Background",o.i18n),initialOpen:!1},wp.element.createElement(L.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(L.T,{title:Object(r.__)("Dismissible",o.i18n),checked:_,onChange:function(e){return n({dismissible:e})},toggleOnSetAttributes:[].concat(X(Object(s.w)("dismissibleIcon%sSize")),["dismissibleIconColor"]),toggleAttributeName:"dismissible"},wp.element.createElement(L.Y,{attrNameTemplate:"dismissibleIcon%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(r.__)("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(r.__)("Icon Color",o.i18n)})),wp.element.createElement(L.T,{title:Object(r.__)("Icon",o.i18n),checked:F,onChange:function(e){return n({showIcon:e})},toggleOnSetAttributes:["icon","iconColor"].concat(X(Object(s.w)("icon%sSize")),["iconOpacity","iconRotation"],X(Object(s.w)("icon%sAlign"))),toggleAttributeName:"showIcon"},wp.element.createElement(L.F,{label:Object(r.__)("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(r.__)("Icon Color",o.i18n)}),wp.element.createElement(L.Y,{attrNameTemplate:"icon%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(r.__)("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(r.__)("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(r.__)("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}),Q.iconLocation&&wp.element.createElement(L.C,{label:Object(r.__)("Icon Location",o.i18n),min:-250,max:250,top:Y,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}),Q.iconAlign&&wp.element.createElement(L.Y,{attrNameTemplate:"icon%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(L.T,{title:Object(r.__)("Title",o.i18n),checked:f,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(X(Object(s.B)("title%s")),["titleTag","titleColor"],X(Object(s.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(L.jb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(L.E,{value:w||"h5",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(L.r,{value:i,onChange:function(e){return n({titleColor:e})},label:Object(r.__)("Title Color",o.i18n)}),wp.element.createElement(L.Y,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(L.T,{title:Object(r.__)("Description",o.i18n),checked:v,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(X(Object(s.B)("description%s")),["descriptionColor"],X(Object(s.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(L.jb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(L.r,{value:l,onChange:function(e){return n({descriptionColor:e})},label:Object(r.__)("Description Color",o.i18n)}),wp.element.createElement(L.Y,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(L.T,{title:Object(r.__)("Button",o.i18n),checked:A,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(X(Object(s.n)("button%s")),X(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.Y,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.e,{label:Object(r.__)("Align",o.i18n)}))),(Q.iconSpacing||Q.titleSpacing||Q.descriptionSpacing||Q.buttonSpacing)&&wp.element.createElement(L.U,{initialOpen:!1,blockProps:t},Q.iconSpacing&&wp.element.createElement(L.Y,{attrNameTemplate:"icon%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(r.__)("Icon",o.i18n),min:-50,max:100,allowReset:!0})),Q.titleSpacing&&wp.element.createElement(L.Y,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(r.__)("Title",o.i18n),min:-50,max:100,allowReset:!0})),Q.descriptionSpacing&&wp.element.createElement(L.Y,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(r.__)("Description",o.i18n),min:-50,max:100,allowReset:!0})),Q.buttonSpacing&&wp.element.createElement(L.Y,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(L.b,{label:Object(r.__)("Button",o.i18n),min:-50,max:100,allowReset:!0}))))});var J=Object(W.compose)(U.g,U.e,U.c,Object(U.f)(),Object(U.b)(["Icon%sAlign","Title%sAlign","Description%sAlign","Button%sAlign"]),Object(U.a)(I,{editorMode:!0}))(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,g=a.shadow,m=void 0===g?"":g,p=a.showIcon,d=void 0!==p&&p,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,T=a.description,S=void 0===T?"":T,A=a.showButton,P=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(i.applyFilters)("stackable.notification.mainclasses",{"ugb-notification--dismissible":b},e)),M=f()(["ugb-notification__item"],Y({},"ugb--shadow-".concat(m),""!==m)),z=N(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.z,{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(B,null)),d&&wp.element.createElement(L.gb,{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(r.__)("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:S,onChange:function(e){return n({description:e})},placeholder:Object(s.F)("long"),keepPlaceholderOnFocus:!0}),P&&wp.element.createElement(L.o,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:V({},e.attributes,{buttonDesign:""!==R?R:"ghost"})})))}})});var $=Object(W.compose)(U.g,Object(U.a)(I))(function(e){var t,n,a,o=e.className,r=e.attributes,l=r.design,c=void 0===l?"basic":l,s=r.notifType,u=r.dismissible,b=r.shadow,g=void 0===b?"":b,m=r.showIcon,p=void 0!==m&&m,d=r.icon,h=void 0===d?"fas-exclamation-triangle":d,v=r.showTitle,w=void 0===v||v,O=r.titleTag,k=void 0===O?"h5":O,_=r.title,j=void 0===_?"":_,C=r.showDescription,x=void 0===C||C,E=r.description,T=void 0===E?"":E,S=r.showButton,A=void 0===S||S,P=r.buttonSize,F=void 0===P?"normal":P,R=r.buttonText,D=void 0===R?"":R,M=r.buttonShadow,z=void 0===M?0:M,I=r.buttonHoverEffect,U=void 0===I?"":I,H=r.buttonIcon,W=void 0===H?"":H,q=r.buttonIconPosition,V=void 0===q?"":q,Y=r.buttonDesign,X=void 0===Y?"plain":Y,K=r.buttonHoverGhostToNormal,J=void 0!==K&&K,$=r.buttonNewTab,Q=void 0!==$&&$,Z=r.buttonUrl,ee=void 0===Z?"":Z,te=r.buttonNoFollow,ne=void 0!==te&&te,ae=f()([o,"ugb-notification--v2","ugb-notification--design-".concat(c),"ugb-notification--type-".concat(s)],Object(i.applyFilters)("stackable.notification.mainclasses",{"ugb-notification--dismissible":u},e)),oe=f()(["ugb-notification__item"],(t={},n="ugb--shadow-".concat(g),a=""!==g,n in t?Object.defineProperty(t,n,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[n]=a,t)),re=N(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.z,{className:oe,backgroundAttrName:"column%s",blockProps:e,showBackground:re.columnBackground},u&&wp.element.createElement("span",{className:"ugb-notification__close-button",role:"button",tabIndex:"0"},wp.element.createElement(B,null)),p&&wp.element.createElement(L.fb.Content,{className:"ugb-notification__icon",value:h}),w&&!!j.length&&wp.element.createElement(y.RichText.Content,{tagName:k||"h5",className:"ugb-notification__title",value:j}),x&&!!T.length&&wp.element.createElement(y.RichText.Content,{tagName:"p",className:"ugb-notification__description",value:T}),A&&!!D.length&&wp.element.createElement(L.n.Content,{size:""!==F?F:"normal",text:D,icon:W,newTab:""!==Q&&Q,url:ee,noFollow:ne,hoverEffect:U,ghostToNormalEffect:J,shadow:z,iconPosition:V,design:""!==X?X:"ghost"})))}})}),Q=n(15);function Z(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?Z(n,!0).forEach(function(t){te(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Z(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(r.__)("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(r.__)("Notification",o.i18n),description:Object(r.__)("Show a notice to your readers. People can dismiss the notice to permanently hide it.",o.i18n),icon:Q.p,category:"stackable",keywords:[Object(r.__)("Notification",o.i18n),Object(r.__)("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(i.applyFilters)("stackable.notification.custom-css.default","")}}};Object(i.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(i.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,r=void 0===o?"success":o,i=a.columnBackgroundColor,l=void 0===i?"":i;return ee({},e,{columnBackgroundColor:l&&!n?l:{success:"#40ba7b",error:"#d9534f",info:"#2091e1",warning:"#ffdd57"}[r]})})},function(e,t,n){"use strict";n.r(t);var a=n(11),o=n(1),r=n(0),i=n(4);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(i.addFilter)("stackable.blog-posts.design.apply-block-attributes","stackable/blog-posts",function(e){return Object(a.omit)(e,["text"])}),Object(i.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(r.__)("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(r.__)("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(r.__)("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(r.__)("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(68),u=n.n(s),b=n(69),g=n.n(b),m=n(2),p=n(13),d=n.n(p),f=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,r=t.postType,l=void 0===r?"post":r,c=t.showImage,s=void 0===c||c,u=t.showTitle,b=void 0===u||u,g=t.showCategory,m=void 0===g||g,p=t.showExcerpt,d=void 0===p||p,f=t.showMeta,h=void 0===f||f,v=t.showReadmore,y=void 0===v||v;return Object(i.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:m,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(m.b)(e.attributes),n=e.attributes,a=n.columnBackgroundColor,o=void 0===a?"":a,r=n.design,i=void 0===r?"basc":r,l=n.showReadmore,c=void 0===l||l,s=f(e),u=[];s.columnBackground||u.push({".ugb-blog-posts__featured-image":{borderRadius:Object(m.c)(t("borderRadius","%spx"))}});var b=e.attributes.contentOrder,g=void 0===b?"":b;g&&s.contentOrderStyles&&g.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(m.c)(n)})),c&&"excerpt"===e&&u.push({".ugb-blog-posts__readmore":{order:Object(m.c)(n)}})});var p=e.attributes.showImage,h=void 0===p||p;h&&s.imageHeight&&u.push.apply(u,y(Object(m.y)(".ugb-blog-posts__featured-image img","image%sHeight","height","%spx",e.attributes,!0))),h&&s.imageWidth&&"list"===i&&u.push.apply(u,y(Object(m.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(m.c)(t("categoryColor")),color:Object(m.c)(Object(m.db)("",t("categoryColor")))},".ugb-blog-posts__category a:hover":{opacity:t("categoryHoverColor")?void 0:.8,backgroundColor:Object(m.c)(t("categoryHoverColor")),color:Object(m.c)(Object(m.db)("",t("categoryHoverColor")))}}):u.push({".ugb-blog-posts__category a":{color:Object(m.c)(Object(m.db)(C,s.columnBackground&&o))},".ugb-blog-posts__category a:hover":{opacity:C&&!t("categoryHoverColor")?.8:void 0,color:Object(m.c)(t("categoryHoverColor"))}}),u.push({".ugb-blog-posts__category":v({},Object(m.D)("category%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("categoryAlign","%s !important")}),tablet:{".ugb-blog-posts__category":v({},Object(m.D)("category%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("categoryTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__category":v({},Object(m.D)("category%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("categoryMobileAlign","%s !important")})}}));var E=e.attributes,T=E.titleColor,S=void 0===T?"":T,B=E.showTitle;(void 0===B||B)&&u.push({".ugb-blog-posts__title a":{color:Object(m.c)(Object(m.db)(S,s.columnBackground&&o))},".ugb-blog-posts__title a:hover":{opacity:S&&!t("titleHoverColor")?.8:void 0,color:Object(m.c)(t("titleHoverColor"))},".ugb-blog-posts__title":v({},Object(m.D)("title%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("titleAlign","%s !important")}),tablet:{".ugb-blog-posts__title":v({},Object(m.D)("title%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("titleTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__title":v({},Object(m.D)("title%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("titleMobileAlign","%s !important")})}});var A=e.attributes,P=A.excerptColor,N=void 0===P?"":P,F=A.showExcerpt;(void 0===F||F)&&u.push({".ugb-blog-posts__excerpt, .ugb-blog-posts__excerpt p":v({},Object(m.D)("excerpt%s","desktop",e.attributes,{importantSize:!0}),{color:Object(m.c)(Object(m.db)(N,s.columnBackground&&o))}),".ugb-blog-posts__excerpt":{textAlign:t("excerptAlign","%s !important")},tablet:{".ugb-blog-posts__excerpt":v({},Object(m.D)("excerpt%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("excerptTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__excerpt":v({},Object(m.D)("excerpt%s","mobile",e.attributes,{importantSize:!0}),{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(m.D)("meta%s","desktop",e.attributes,{importantSize:!0}),{color:Object(m.c)(Object(m.db)(M,s.columnBackground&&o)),textAlign:t("metaAlign","%s !important")}),tablet:{".ugb-blog-posts__meta":v({},Object(m.D)("meta%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("metaTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__meta":v({},Object(m.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(m.c)(Object(m.db)(V,s.columnBackground&&o))},".ugb-blog-posts__readmore a:hover":{opacity:V&&!t("readmoreHoverColor")?.8:void 0,color:Object(m.c)(t("readmoreHoverColor"))},".ugb-blog-posts__readmore":v({},Object(m.D)("readmore%s","desktop",e.attributes,{importantSize:!0}),{textAlign:t("readmoreAlign","%s !important")}),tablet:{".ugb-blog-posts__readmore":v({},Object(m.D)("readmore%s","tablet",e.attributes,{importantSize:!0}),{textAlign:t("readmoreTabletAlign","%s !important")})},mobile:{".ugb-blog-posts__readmore":v({},Object(m.D)("readmore%s","mobile",e.attributes,{importantSize:!0}),{textAlign:t("readmoreMobileAlign","%s !important")})}}),s.imageSpacing&&u.push.apply(u,y(Object(m.y)(".ugb-blog-posts__featured-image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.categorySpacing&&u.push.apply(u,y(Object(m.y)(".ugb-blog-posts__category","category%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.titleSpacing&&u.push.apply(u,y(Object(m.y)(".ugb-blog-posts__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.excerptSpacing&&u.push.apply(u,y(Object(m.y)(".ugb-blog-posts__excerpt","excerpt%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.metaSpacing&&u.push.apply(u,y(Object(m.y)(".ugb-blog-posts__meta","meta%sBottomMargin","marginBottom","%spx",e.attributes,!0))),s.readmoreSpacing&&u.push.apply(u,y(Object(m.y)(".ugb-blog-posts__readmore","readmore%sBottomMargin","marginBottom","%spx",e.attributes,!0))),d.a.all(u)},k=n(3),_=n(9),j=n(8),C=n(70),x=n(71),E=n.n(x);function T(e){return(T="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 S(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 B(e,t){return!t||"object"!==T(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 P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var N=[],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=B(this,A(t).apply(this,arguments))).state={isLoading:0===N.length,termList:N},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&&P(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&&(N=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(r.__)("All",o.i18n),value:""}],i="";if(Object.keys(this.state.termList).forEach(function(o){var r=e.state.termList[o],i=r.label,l=r.taxonomies;t.push({label:i,value:o}),o===e.props.postType&&Object.keys(l).forEach(function(t,o){var r=l[t],i=r.label,c=r.terms;n.push({label:i,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});i=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(r.__)("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(r.__)("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:i,options:a,value:this.props.taxonomy,onChange:this.props.onChangeTaxonomy}))}}])&&S(n.prototype,a),i&&S(n,i),t}();F.defaultProps={postType:"post",onChangePostType:function(){},taxonomyType:"category",onChangeTaxonomyType:function(){},taxonomy:"",onChangeTaxonomy:function(){}};var R=F,D=n(10),M=n(7),z=n.n(M),I=n(38),L=n(72),U=n(14),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){return(G="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 q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(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"!==G(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 X(e){return(X=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function K(e,t){return(K=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}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")}()}var $={dot:"·",space:" ",comma:",",dash:"—",pipe:"|"};Object(i.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.w,{initialOpen:!0,selected:l,options:Object(i.applyFilters)("stackable.blog-posts.edit.layouts",[{label:Object(r.__)("Basic",o.i18n),value:"basic",image:u.a},{label:Object(r.__)("List",o.i18n),value:"list",image:g.a}]),onChange:function(e){return n({design:e})}},o.showProNotice&&wp.element.createElement(k.X,null)))}),Object(i.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,g=void 0===b?"":b,p=a.contentOrder,d=void 0===p?"":p,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,T=a.showExcerpt,S=void 0===T||T,B=a.showMeta,A=void 0===B||B,P=a.showReadmore,N=void 0!==P&&P,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,Y=a.taxonomyType,X=void 0===Y?"category":Y,K=a.taxonomy,$=void 0===K?"":K,Q=a.imageSize,Z=void 0===Q?"large":Q,ee=a.categoryHighlighted,te=void 0!==ee&&ee,ne=a.categoryColor,ae=void 0===ne?"":ne,oe=a.categoryHoverColor,re=void 0===oe?"":oe,ie=a.excerptColor,le=void 0===ie?"":ie,ce=a.excerptLength,se=void 0===ce?55:ce,ue=a.showAuthor,be=void 0===ue||ue,ge=a.showDate,me=void 0===ge||ge,pe=a.showComments,de=void 0===pe||pe,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(r.__)("Category",o.i18n),Te=Object(r.__)("Title",o.i18n),Se=Object(r.__)("Meta",o.i18n),Be=Object(r.__)("Excerpt",o.i18n);return wp.element.createElement(_.Fragment,null,e,wp.element.createElement(j.PanelBody,{title:Object(r.__)("General",o.i18n)},wp.element.createElement(j.RangeControl,{label:Object(r.__)("Columns",o.i18n),value:c,onChange:function(e){return n({columns:e})},min:1,max:4}),xe.borderRadius&&wp.element.createElement(k.b,{label:Object(r.__)("Border Radius",o.i18n),value:u,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12"}),xe.shadow&&wp.element.createElement(k.b,{label:Object(r.__)("Shadow / Outline",o.i18n),value:g,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3"}),wp.element.createElement(k.c,{label:Object(r.__)("Content Order",o.i18n),options:[{label:Object(r.__)("Default",o.i18n),value:""},{label:"".concat(Ee," → ").concat(Te," → ").concat(Se," → ").concat(Be),value:"category,title,meta,excerpt"},{label:"".concat(Ee," → ").concat(Te," → ").concat(Be," → ").concat(Se),value:"category,title,excerpt,meta"},{label:"".concat(Te," → ").concat(Se," → ").concat(Be," → ").concat(Ee),value:"title,meta,excerpt,category"},{label:"".concat(Te," → ").concat(Ee," → ").concat(Be," → ").concat(Se),value:"title,category,excerpt,meta"},{label:"".concat(Se," → ").concat(Te," → ").concat(Be," → ").concat(Ee),value:"meta,title,excerpt,category"},{label:"".concat(Se," → ").concat(Te," → ").concat(Ee," → ").concat(Be),value:"meta,title,category,excerpt"}],value:d,onChange:function(e){return n({contentOrder:e})}}),wp.element.createElement(k.s,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(j.PanelBody,{title:Object(r.__)("Posts Settings",o.i18n),initialOpen:!1},wp.element.createElement(k.b,{label:Object(r.__)("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(r.__)("Order by",o.i18n),options:[{label:Object(r.__)("Newest to Oldest",o.i18n),value:"date,desc"},{label:Object(r.__)("Oldest to Newest",o.i18n),value:"date,asc"},{label:Object(r.__)("A → Z",o.i18n),value:"title,asc"},{label:Object(r.__)("Z → A",o.i18n),value:"title,desc"},{label:Object(r.__)("Last Modified to Oldest",o.i18n),value:"modified,desc"},{label:Object(r.__)("Oldest Modified to Last",o.i18n),value:"modified,asc"},{label:Object(r.__)("Menu Order",o.i18n),value:"menu_order,asc"},{label:Object(r.__)("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:X,onChangeTaxonomyType:function(e){return n({taxonomyType:e})},taxonomy:$,onChangeTaxonomy:function(e){return n({taxonomy:e})}}),Object(i.applyFilters)("stackable.blog-posts.edit.inspector.style.posts.after",null,t),o.showProNotice&&wp.element.createElement(k.X,{type:"postsBlock"})),xe.columnBackground&&wp.element.createElement(j.PanelBody,{title:Object(r.__)("Column Background",o.i18n),initialOpen:!1},(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.T,{title:Object(r.__)("Featured Image",o.i18n),checked:w,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:["imageSize"].concat(J(Object(m.w)("Image%sWidth")),J(Object(m.w)("Image%sHeight"))),toggleAttributeName:"showTitle"},wp.element.createElement(k.Q,{label:Object(r.__)("Image Size",o.i18n),value:Z,onChange:function(e){return n({imageSize:e})}}),xe.imageWidth&&wp.element.createElement(k.Y,{attrNameTemplate:"image%sWidth",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(r.__)("Image Width",o.i18n),min:100,max:600,allowReset:!0})),xe.imageHeight&&wp.element.createElement(k.Y,{attrNameTemplate:"image%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(r.__)("Image Height",o.i18n),min:100,max:1e3,allowReset:!0}))),wp.element.createElement(k.T,{title:Object(r.__)("Category",o.i18n),checked:E,onChange:function(e){return n({showCategory:e})},toggleOnSetAttributes:[].concat(J(Object(m.B)("category%s")),["categoryHighlighted","categoryColor","categoryHoverColor"],J(Object(m.w)("Category%sAlign"))),toggleAttributeName:"showCategory"},wp.element.createElement(k.jb,{attrNameTemplate:"category%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(j.ToggleControl,{label:Object(r.__)("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(r.__)("Color",o.i18n)}),wp.element.createElement(k.r,{value:re,onChange:function(e){return n({categoryHoverColor:e})},label:Object(r.__)("Hover Color",o.i18n)}),wp.element.createElement(k.Y,{attrNameTemplate:"Category%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(k.T,{title:Object(r.__)("Title",o.i18n),checked:C,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(J(Object(m.B)("title%s")),["titleTag","titleColor","titleHoverColor"],J(Object(m.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(k.jb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(k.E,{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(r.__)("Text Color",o.i18n)}),wp.element.createElement(k.r,{value:L,onChange:function(e){return n({titleHoverColor:e})},label:Object(r.__)("Hover Color",o.i18n)}),wp.element.createElement(k.Y,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(k.T,{title:Object(r.__)("Excerpt",o.i18n),checked:S,onChange:function(e){return n({showExcerpt:e})},toggleOnSetAttributes:[].concat(J(Object(m.B)("excerpt%s")),["excerptColor","excerptLength"],J(Object(m.w)("Excerpt%sAlign"))),toggleAttributeName:"showExcerpt"},wp.element.createElement(k.b,{label:Object(r.__)("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.jb,{attrNameTemplate:"excerpt%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(k.r,{value:le,onChange:function(e){return n({excerptColor:e})},label:Object(r.__)("Text Color",o.i18n)}),wp.element.createElement(k.Y,{attrNameTemplate:"Excerpt%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(k.T,{title:Object(r.__)("Meta",o.i18n),checked:A,onChange:function(e){return n({showMeta:e})},toggleOnSetAttributes:["showAuthor","showDate","showComments"].concat(J(Object(m.B)("meta%s")),["metaColor","metaSeparator"],J(Object(m.w)("Meta%sAlign"))),toggleAttributeName:"showMeta"},wp.element.createElement(j.ToggleControl,{label:Object(r.__)("Show Author",o.i18n),checked:be,onChange:function(e){return n({showAuthor:e})}}),wp.element.createElement(j.ToggleControl,{label:Object(r.__)("Show Date",o.i18n),checked:me,onChange:function(e){return n({showDate:e})}}),wp.element.createElement(j.ToggleControl,{label:Object(r.__)("Show Comments",o.i18n),checked:de,onChange:function(e){return n({showComments:e})}}),wp.element.createElement(k.jb,{attrNameTemplate:"meta%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(k.r,{value:he,onChange:function(e){return n({metaColor:e})},label:Object(r.__)("Text Color",o.i18n)}),wp.element.createElement(k.c,{label:Object(r.__)("Separator",o.i18n),options:[{label:Object(r.__)("Default (Dot)",o.i18n),value:""},{label:Object(r.__)("Space",o.i18n),value:"space"},{label:Object(r.__)("Comma",o.i18n),value:"comma"},{label:Object(r.__)("Dash",o.i18n),value:"dash"},{label:Object(r.__)("Pipe",o.i18n),value:"pipe"}],value:ye,onChange:function(e){return n({metaSeparator:e})}}),wp.element.createElement(k.Y,{attrNameTemplate:"Meta%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(k.T,{title:Object(r.__)("Read More Link",o.i18n),checked:N,onChange:function(e){return n({showReadmore:e})},toggleOnSetAttributes:["readmoreText"].concat(J(Object(m.B)("readmore%s")),["readmoreColor","readmoreHoverColor"],J(Object(m.w)("Readmore%sAlign"))),toggleAttributeName:"showReadmore"},wp.element.createElement(j.TextControl,{label:Object(r.__)("Customize Read More Link",o.i18n),type:"text",value:Ce,onChange:function(e){return n({readmoreText:e})}}),wp.element.createElement(k.jb,{attrNameTemplate:"readmore%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(k.r,{value:Oe,onChange:function(e){return n({readmoreColor:e})},label:Object(r.__)("Text Color",o.i18n)}),wp.element.createElement(k.r,{value:_e,onChange:function(e){return n({readmoreHoverColor:e})},label:Object(r.__)("Hover Color",o.i18n)}),wp.element.createElement(k.Y,{attrNameTemplate:"Readmore%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(k.U,{initialOpen:!1,blockProps:t},xe.imageSpacing&&wp.element.createElement(k.Y,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(r.__)("Image",o.i18n),min:-50,max:100,allowReset:!0})),xe.categorySpacing&&wp.element.createElement(k.Y,{attrNameTemplate:"category%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(r.__)("Category",o.i18n),min:-50,max:100,allowReset:!0})),xe.titleSpacing&&wp.element.createElement(k.Y,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(r.__)("Title",o.i18n),min:-50,max:100,allowReset:!0})),xe.excerptSpacing&&wp.element.createElement(k.Y,{attrNameTemplate:"excerpt%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(r.__)("Excerpt",o.i18n),min:-50,max:100,allowReset:!0})),xe.metaSpacing&&wp.element.createElement(k.Y,{attrNameTemplate:"meta%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(r.__)("Meta",o.i18n),min:-50,max:100,allowReset:!0})),xe.readmoreSpacing&&wp.element.createElement(k.Y,{attrNameTemplate:"readmore%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(k.b,{label:Object(r.__)("Read More",o.i18n),min:-50,max:100,allowReset:!0}))))});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,X(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&&K(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,g=a.shadow,m=void 0===g?"":g,p=a.numberOfItems,d=void 0===p?6:p,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,T=a.metaSeparator,S=void 0===T?"":T,B=a.showImage,A=void 0===B||B,P=a.showTitle,N=void 0===P||P,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,V=a.showAuthor,Y=void 0===V||V,X=a.showDate,K=void 0===X||X,J=a.showComments,Q=void 0===J||J,Z=a.readmoreText,ee=void 0===Z?"":Z,te=a.columnBackgroundColor,ne=void 0===te?"":te,ae=a.columnBackgroundColor2,oe=void 0===ae?"":ae,re=f(this.props),ie=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(i.applyFilters)("stackable.blog-posts.mainclasses",{"ugb-blog-posts--cat-highlighted":C,"ugb-blog-posts--has-bg-color":ne||oe},this.props)),se=ie&&l.length>d?l.slice(0,d):l,ue=z()(["ugb-blog-posts__item"],q({},"ugb--shadow-".concat(m||3),!re.imageShadow)),be=z()(["ugb-blog-posts__featured-image"],q({},"ugb--shadow-".concat(m||3),re.imageShadow));return ie?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(r.__)("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(r.__)("(Untitled)",o.i18n))),u=t.category_list&&wp.element.createElement("div",{className:"ugb-blog-posts__category",dangerouslySetInnerHTML:{__html:t.category_list}}),b=wp.element.createElement("span",{className:"ugb-blog-posts__sep"},$[S||"dot"]),g=t.author_info&&t.author_info.name&&wp.element.createElement("span",null,t.author_info.name),m=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)),p=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(r.__)("Continue reading",o.i18n))),v=(Y||K||Q)&&wp.element.createElement("aside",{className:"entry-meta ugb-blog-posts__meta"},Y&&g,Y&&g&&(K&&m||Q&&p)&&b,K&&m,(Y&&g||K&&m)&&Q&&p&&b,Q&&p),y=Object(i.applyFilters)("stackable.blog-posts.edit.output",null,e.props,{itemClasses:ue,featuredImageBackground:c,featuredImage:l,category:u,title:s,author:g,separator:b,date:m,comments:p,excerpt:f,readmore:h,meta:v},n);return y||wp.element.createElement(k.z,{tagName:"article",className:ue,backgroundAttrName:"column%s",blockProps:e.props,showBackground:re.showBackgroundInItem,showBackgroundVideo:!1,key:n},A&&re.imageAsBackground&&c,A&&!re.imageAsBackground&&re.imageOutsideContainer&&l,wp.element.createElement(k.z,{className:"ugb-blog-posts__content",backgroundAttrName:"column%s",blockProps:e.props,showBackground:re.showBackgroundInContent,showBackgroundVideo:!1},A&&!re.imageAsBackground&&!re.imageOutsideContainer&&l,R&&u,N&&s,H&&v,M&&f,G&&h))}))}}):wp.element.createElement(j.Placeholder,{icon:"admin-post",label:Object(r.__)("Posts",o.i18n)},Array.isArray(l)?Object(r.__)("No posts found.",o.i18n):wp.element.createElement(j.Spinner,null))}}])&&V(n.prototype,a),l&&V(n,l),t}(),Z=Object(H.compose)(D.g,D.e,D.c,Object(D.f)(),Object(D.b)(["Category%sAlign","Title%sAlign","Excerpt%sAlign","Meta%sAlign","Readmore%sAlign"]),Object(D.a)(O,{editorMode:!0}),Object(U.withSelect)(function(e,t){var n=t.attributes,o=n.postType,r=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,g=void 0===b?"desc":b,m=n.taxonomyType,p=void 0===m?"":m,d=n.taxonomy,f=void 0===d?"":d;return{posts:(0,e("core").getEntityRecords)("postType",r,Object(a.pickBy)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(n,!0).forEach(function(t){q(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}({order:g,orderby:u,per_page:c,categories:"category"===p&&f?[f]:void 0,tags:"post_tag"===p&&f?[f]:void 0},Object(i.applyFilters)("stackable.blog-posts.postQuery",{},t)),function(e){return!Object(a.isUndefined)(e)&&""!==e}))}}))(Q),ee=Object(H.compose)(D.g,Object(D.a)(O))(function(e){var t=e.className,n=e.attributes,a=n.columns,o=void 0===a?2:a,r=n.design,l=void 0===r?"basic":r,c=n.categoryHighlighted,s=void 0!==c&&c,u=n.columnBackgroundColor,b=void 0===u?"":u,g=n.columnBackgroundColor2,m=void 0===g?"":g,p=z()([t,"ugb-blog-posts--v2","ugb-blog-posts--design-".concat(l),"ugb-blog-posts--columns-".concat(o)],Object(i.applyFilters)("stackable.blog-posts.mainclasses",{"ugb-blog-posts--cat-highlighted":s,"ugb-blog-posts--has-bg-color":b||m},e));return wp.element.createElement(k.j.Save,{className:p,blockProps:e,render:function(){return null}})});function te(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 ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ae=[{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?te(n,!0).forEach(function(t){ne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(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})}}],oe=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 ie(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 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?re(n,!0).forEach(function(t){ie(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(m.j)("column%s"),{showImage:{type:"boolean",default:!0},imageSize:{type:"string",default:""}},Object(m.x)("image%sWidth",{type:"number",default:""}),{},Object(m.x)("image%sHeight",{type:"number",default:""}),{showCategory:{type:"boolean",default:!0}},Object(m.C)("category%s"),{categoryHighlighted:{type:"boolean",default:!1},categoryColor:{type:"string",default:""},categoryHoverColor:{type:"string",default:""}},Object(m.x)("Category%sAlign",{type:"string",default:""}),{showTitle:{type:"boolean",default:!0}},Object(m.C)("title%s"),{titleTag:{type:"string",defualt:""},titleColor:{type:"string",default:""},titleHoverColor:{type:"string",default:""}},Object(m.x)("Title%sAlign",{type:"string",default:""}),{showExcerpt:{type:"boolean",default:!0}},Object(m.C)("excerpt%s"),{excerptLength:{type:"number",default:""},excerptColor:{type:"string",default:""}},Object(m.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(m.C)("meta%s"),{metaColor:{type:"string",default:""},metaSeparator:{type:"string",default:""}},Object(m.x)("Meta%sAlign",{type:"string",default:""}),{showReadmore:{type:"boolean",default:!0},readmoreText:{type:"string",default:""}},Object(m.C)("readmore%s"),{readmoreColor:{type:"string",default:""},readmoreHoverColor:{type:"string",default:""}},Object(m.x)("Readmore%sAlign",{type:"string",default:""}),{},Object(m.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Category","Title","Excerpt","Meta","Readmore"],["","Tablet","Mobile"])),ce="ugb/blog-posts",se={title:Object(r.__)("Posts",o.i18n),description:Object(r.__)("Your latest blog posts. Use this to showcase a few of your posts in your landing pages.",o.i18n),icon:oe.c,category:"stackable",keywords:[Object(r.__)("Blog Posts",o.i18n),Object(r.__)("Stackable",o.i18n)],supports:{align:["center","wide","full"],inserter:!o.disabledBlocks.includes(ce)},attributes:le,save:ee,edit:Z,deprecated:ae,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(i.applyFilters)("stackable.blog-posts.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),o=n(15),r=n(11),i=n(1),l=n(0),c=n(4);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.apply-block-attributes","stackable/count-up",function(e){return Object(r.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",i.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",i.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",i.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",i.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"'},g=n(7),m=n.n(g),p=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,r=o.columns,i=o.backgroundColorType,l=void 0===i?"":i,s=o.backgroundColor,u=o.backgroundColor2,g=o.backgroundColorDirection,d=void 0===g?0:g,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,T=o.design,S=void 0===T?"plain":T,B=o.align,A=o.borderRadius,P=void 0===A?12:A,N=o.shadow,F=void 0===N?3:N,R=o.countFont,D=o.countFontWeight,M=Object(c.applyFilters)("stackable.count-up.edit.show_1_15_4",{background:"plain"!==S},S,e),z="basic"===S,I=m()([n.split(" ").filter(function(e){return"ugb-count-up"!==e}),"ugb-countup","ugb-countup--v3","ugb-countup--columns-".concat(r),"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"===B&&E),h(t,"ugb-countup--design-".concat(S),"plain"!==S),h(t,"ugb--shadow-".concat(F),"basic"===S&&3!==F),h(t,"ugb--has-background-gradient","basic"===S&&"gradient"===l),h(t,"ugb--has-background-video","basic"===S&&"video"===y),t),S,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!==P?P:void 0}:{},U=Object(c.applyFilters)("stackable.count-up.mainstyle_1_15_4",f({backgroundAttachment:O?"fixed":void 0},L),S,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,S,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},Object(a.X)(1,r+1).map(function(t){var n=o["title".concat(t)],a=o["description".concat(t)],r=o["countText".concat(t)],i=!p.RichText.isEmpty(n)&&wp.element.createElement(p.RichText.Content,{tagName:"h4",className:"ugb-countup__title",style:{color:j||void 0},value:n}),l=!p.RichText.isEmpty(r)&&wp.element.createElement(p.RichText.Content,{tagName:"div",className:"ugb-countup__counter",style:H,value:r,"data-duration":"1000","data-delay":"16"}),s=!p.RichText.isEmpty(a)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-countup__description",style:{color:j||void 0},value:a}),u={i:t,titleComp:i,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},i,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)})}},{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,r=o.columns,i=o.backgroundColor,l=o.backgroundImageURL,c=o.fixedBackground,s=o.backgroundOpacity,u=void 0===s?5:s,g=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=m()([n,"ugb-countup","ugb-countup-v3","columns-".concat(r),"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&&i?i:void 0,backgroundImage:"plain"!==y&&l?"url(".concat(l,")"):void 0,backgroundAttachment:c?"fixed":void 0,"--ugb-background-color":"plain"!==y&&l?i: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,r+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},!p.RichText.isEmpty(t)&&wp.element.createElement(p.RichText.Content,{tagName:"h4",style:{color:g||void 0},value:t}),!p.RichText.isEmpty(a)&&wp.element.createElement(p.RichText.Content,{tagName:"div",className:"ugb-counter",style:E,value:a,"data-duration":"1000","data-delay":"16"}),!p.RichText.isEmpty(n)&&wp.element.createElement(p.RichText.Content,{tagName:"p",style:{color:g||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,r=n.backgroundColor,i=n.backgroundImageURL,l=n.fixedBackground,c=n.backgroundOpacity,s=void 0===c?5:c,u=n.textColor,b=n.countColor,g=n.countSize,d=m()([t,"ugb-countup","ugb-countup-v2","columns-".concat(o),"ugb-has-background-opacity-"+1*Math.round(s/1)],{"ugb-has-background":r||i,"ugb-has-background-image":i}),f={backgroundColor:r||void 0,backgroundImage:i?"url(".concat(i,")"):void 0,backgroundAttachment:l?"fixed":void 0,"--ugb-background-color":i?r: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},!p.RichText.isEmpty(t)&&wp.element.createElement(p.RichText.Content,{tagName:"h4",style:{color:u||void 0},value:t}),!p.RichText.isEmpty(o)&&wp.element.createElement(p.RichText.Content,{tagName:"div",className:"ugb-counter",style:{color:b||void 0,fontSize:g?g+"px":void 0},value:o,"data-duration":"1000","data-delay":"16"}),!p.RichText.isEmpty(a)&&wp.element.createElement(p.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,r=n.desColor,i=n.title,l=n.counter,c=n.des,s=n.fontSize,u=m()([t,"ugb-countup"]);return wp.element.createElement("div",{className:u},wp.element.createElement(p.RichText.Content,{tagName:"h4",style:{color:o},value:i}),wp.element.createElement(p.RichText.Content,{tagName:"div",className:"ugb-counter",style:{color:a,fontSize:s+"px"},value:l,"data-duration":"1000","data-delay":"16"}),wp.element.createElement(p.RichText.Content,{tagName:"p",style:{color:r},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(10),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(13),_=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 T=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 r=e.attributes,i=r.showIcon,l=void 0!==i&&i,c=r.showNumber,s=void 0===c||c,u=r.showTitle,b=void 0===u||u,g=r.showDescription,m=void 0===g||g;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))),m&&o.push.apply(o,j(Object(a.y)(".ugb-countup__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0)));var p=e.attributes,d=p.iconColor,f=void 0===d?"":d,h=p.columnBackgroundColor,v=void 0===h?"":h,y=p.showBlockBackground,w=void 0!==y&&y,k=p.blockBackgroundBackgroundColor,C=void 0===k?"":k,E=p.iconAlign,T=void 0===E?"":E,S=p.contentAlign,B=void 0===S?"":S,A=p.iconTabletAlign,P=void 0===A?"":A,N=p.tabletContentAlign,F=void 0===N?"":N,R=p.iconMobileAlign,D=void 0===R?"":R,M=p.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.cb)(f,n.columnBackground?v:w?C:""),height:Object(a.c)(t("iconSize","%spx")),width:Object(a.c)(t("iconSize","%spx")),marginLeft:""!==T||""!==B?Object(a.c)(Object(a.T)(T||B)):void 0,marginRight:""!==T||""!==B?Object(a.c)(Object(a.U)(T||B)):void 0},tablet:{".ugb-countup__icon":{textAlign:Object(a.c)(P)},".ugb-countup__icon svg":{height:t("iconTabletSize","%spx"),width:t("iconTabletSize","%spx"),marginLeft:""!==P||""!==F?Object(a.c)(Object(a.T)(P||F)):void 0,marginRight:""!==P||""!==F?Object(a.c)(Object(a.U)(P||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.cb)(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.cb)(H,n.columnBackground?v:w?C:""),textAlign:t("numberAlign")}),tablet:{".ugb-countup__counter":x({},Object(a.D)("number%s","tablet",e.attributes),{textAlign:t("numberTabletAlign")})},mobile:{".ugb-countup__counter":x({},Object(a.D)("number%s","mobile",e.attributes),{textAlign:t("numberMobileAlign")})}});var W=e.attributes.descriptionColor,G=void 0===W?"":W;return m&&o.push({".ugb-countup__description":x({},Object(a.D)("description%s","desktop",e.attributes),{color:Object(a.cb)(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)},S=n(84),B=n.n(S),A=n(85),P=n.n(A),N=n(8),F=n(12),R=n(9);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.w,{initialOpen:!0,selected:o,options:Object(c.applyFilters)("stackable.count-up.edit.layouts",[{label:Object(l.__)("Plain",i.i18n),value:"plain",image:B.a},{label:Object(l.sprintf)(Object(l._x)("%s %d","Nth Title",i.i18n),Object(l.__)("Plain",i.i18n),2),value:"plain-2",image:P.a}]),onChange:function(e){return n({design:e})}},i.showProNotice&&wp.element.createElement(y.X,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,g=void 0===b?"":b,m=o.showNumber,p=void 0===m||m,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,T=void 0===E?"":E,S=o.descriptionColor,B=void 0===S?"":S,A=o.iconColor,P=void 0===A?"":A,F=O(t);return wp.element.createElement(R.Fragment,null,e,wp.element.createElement(N.PanelBody,{title:Object(l.__)("General",i.i18n)},wp.element.createElement(N.RangeControl,{label:Object(l.__)("Columns",i.i18n),value:c,onChange:function(e){return n({columns:e})},min:1,max:4}),F.columnBackground&&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"}),F.columnBackground&&wp.element.createElement(y.b,{label:Object(l.__)("Shadow / Outline",i.i18n),value:g,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3"}),wp.element.createElement(y.s,{setAttributes:n,blockAttributes:t.attributes})),F.columnBackground&&wp.element.createElement(N.PanelBody,{title:Object(l.__)("Column Background",i.i18n),initialOpen:!1},wp.element.createElement(y.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(y.T,{title:Object(l.__)("Icon",i.i18n),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(r.range)(1,c+1).map(function(e){return wp.element.createElement(y.F,{key:e,label:Object(l.sprintf)(Object(l._x)("%s #%d","Panel title",i.i18n),Object(l.__)("Icon",i.i18n),e),value:t.attributes["icon".concat(e)],onChange:function(t){return n(D({},"icon".concat(e),t))}})}),wp.element.createElement(y.r,{value:P,onChange:function(e){return n({iconColor:e})},label:Object(l.__)("Icon Color",i.i18n)}),wp.element.createElement(y.Y,{attrNameTemplate:"icon%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Icon Size",i.i18n),min:10,max:200,allowReset:!0,placeholder:"50"})),wp.element.createElement(y.Y,{attrNameTemplate:"Icon%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",i.i18n)}))),wp.element.createElement(y.T,{title:Object(l.__)("Title",i.i18n),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.jb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.E,{value:x||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(y.r,{value:T,onChange:function(e){return n({titleColor:e})},label:Object(l.__)("Title Color",i.i18n)}),wp.element.createElement(y.Y,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",i.i18n)}))),wp.element.createElement(y.T,{title:Object(l.__)("Number",i.i18n),checked:p,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.jb,{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",i.i18n)}),wp.element.createElement(y.Y,{attrNameTemplate:"Number%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",i.i18n)}))),wp.element.createElement(y.T,{title:Object(l.__)("Description",i.i18n),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.jb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.r,{value:B,onChange:function(e){return n({descriptionColor:e})},label:Object(l.__)("Description Color",i.i18n)}),wp.element.createElement(y.Y,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",i.i18n)}))),wp.element.createElement(y.U,{initialOpen:!1,blockProps:t},k&&wp.element.createElement(y.Y,{attrNameTemplate:"icon%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Icon",i.i18n),min:-50,max:100,allowReset:!0})),f&&wp.element.createElement(y.Y,{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})),p&&wp.element.createElement(y.Y,{attrNameTemplate:"number%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Number",i.i18n),min:-50,max:100,allowReset:!0})),v&&wp.element.createElement(y.Y,{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}))))});var z=Object(F.compose)(w.g,w.e,w.c,Object(w.f)(),Object(w.b)(["Icon%sAlign","Number%sAlign","Title%sAlign","Description%sAlign"]),Object(w.a)(T,{editorMode:!0}))(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,g=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=m()([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(r.range)(1,o+1).map(function(n){var o=a["icon".concat(n)],r=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.gb,{value:o,onChange:function(e){return t(D({},"icon".concat(n),e))}})),h=k&&wp.element.createElement(p.RichText,{tagName:g||"h4",className:"ugb-countup__title",value:r,placeholder:Object(l.__)("Title",i.i18n),onChange:function(e){return t(D({},"title".concat(n),e))},keepPlaceholderOnFocus:!0}),w=v&&wp.element.createElement(p.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(p.RichText,{tagName:"p",className:"ugb-countup__description",placeholder:Object(l.__)("Description",i.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=m()(["ugb-countup__item","ugb-countup__item".concat(n)],Object(c.applyFilters)("stackable.count-up.boxclasses",{},u,e));return wp.element.createElement(y.z,{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.g,Object(w.a)(T))(function(e){var t,n,a,o=e.className,i=e.attributes,l=i.columns,s=i.design,u=void 0===s?"plain":s,b=i.titleTag,g=void 0===b?"":b,d=i.showIcon,f=void 0!==d&&d,h=i.showNumber,v=void 0===h||h,w=i.showTitle,k=void 0===w||w,_=i.showDescription,j=void 0===_||_,C=m()([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(r.range)(1,l+1).map(function(t){var n=i["icon".concat(t)],a=i["title".concat(t)],o=i["description".concat(t)],r=i["countText".concat(t)],l=f&&wp.element.createElement("div",{className:"ugb-countup__icon"},wp.element.createElement(y.fb.Content,{value:n})),s=k&&!p.RichText.isEmpty(a)&&wp.element.createElement(p.RichText.Content,{tagName:g||"h4",className:"ugb-countup__title",value:a}),b=v&&!p.RichText.isEmpty(r)&&wp.element.createElement(p.RichText.Content,{tagName:"div",className:"ugb-countup__counter",value:r,"data-duration":"1000","data-delay":"16"}),d=j&&!p.RichText.isEmpty(o)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-countup__description",value:o}),h={i:t,iconComp:l,titleComp:s,countComp:b,descriptionComp:d},w=m()(["ugb-countup__item","ugb-countup__item".concat(t)],Object(c.applyFilters)("stackable.count-up.boxclasses",{},u,e));return wp.element.createElement(y.z,{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",i.i18n)},title2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__title",default:Object(l.__)("Title",i.i18n)},title3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__title",default:Object(l.__)("Title",i.i18n)},title4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__title",default:Object(l.__)("Title",i.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",i.i18n)},description2:{source:"html",selector:".ugb-countup__item:nth-of-type(2) .ugb-countup__description",default:Object(l.__)("Description",i.i18n)},description3:{source:"html",selector:".ugb-countup__item:nth-of-type(3) .ugb-countup__description",default:Object(l.__)("Description",i.i18n)},description4:{source:"html",selector:".ugb-countup__item:nth-of-type(4) .ugb-countup__description",default:Object(l.__)("Description",i.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",i.i18n),description:Object(l.__)("Showcase your stats. Display how many customers you have or the number of downloads of your app.",i.i18n),icon:o.h,category:"stackable",keywords:[Object(l.__)("Statistics",i.i18n),Object(l.__)("Count Up",i.i18n),Object(l.__)("Stackable",i.i18n)],attributes:H,supports:{align:["center","wide","full"],inserter:!i.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(11),o=n(1),r=n(0),i=n(4);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(i.addFilter)("stackable.image-box.design.apply-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"]:[]),["subtitle1","subtitle2","subtitle3","subtitle4","title1","title2","title3","title4","description1","description2","description3","description4"]))}),Object(i.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(r.__)("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(r.__)("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(r.__)("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(r.__)("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(5),b=n.n(u);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=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"}),p=function(e){return b.a.createElement("svg",g({viewBox:"0 0 167.6 107.8",xmlns:"http://www.w3.org/2000/svg"},e),m)},d=n(2),f=n(7),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(r.__)("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(r.__)("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,r=n.attributes,l=n.attributes,c=l.titleColor,s=l.subtitleColor,u=l.overlayColor,b=l.height,g=l.width,m=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,T=l.imageHoverEffect,S=void 0===T?"":T,B=l.overlayOpacity,A=void 0===B?7:B,P=l.arrow,N=void 0===P?"":P,F=h()([o,"ugb-image-box","ugb-image-box--v3","ugb-image-box--columns-".concat(w)],Object(i.applyFilters)("stackable.image-box.mainclasses_1_17_3",(O(a={},"ugb-image-box--design-".concat(_),"basic"!==_),O(a,"ugb-image-box--effect-".concat(S),S),O(a,"ugb-image-box--overlay-".concat(A),7!==A),O(a,"ugb-image-box--arrow",N),a),_,n)),R={textAlign:f||void 0,"--overlay-color":u};return wp.element.createElement("div",{className:F,style:R},Object(i.applyFilters)("stackable.image-box.save.output.before_1_17_3",null,_,n),Object(d.X)(1,w+1).map(function(a){var o=r["imageURL".concat(a)],l=r["title".concat(a)],u=r["description".concat(a)],d=r["link".concat(a)],k=r["newTab".concat(a)],j={backgroundImage:o?"url(".concat(o,")"):void 0,maxWidth:"wide"!==y&&"full"!==y&&1===w?g:void 0,height:b,textAlign:f,justifyContent:m,borderRadius:C},x=h()(["ugb-image-box__item"],Object(i.applyFilters)("stackable.image-box.itemclasses_1_17_3",O({},"ugb--shadow-".concat(E),3!==E),_,a,n)),T=h()(["ugb-image-box__arrow","ugb-image-box__arrow--align-".concat(N)]);return wp.element.createElement("div",{className:x,style:j,key:a},S&&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})),N&&d&&wp.element.createElement("div",{className:T},wp.element.createElement(p,{style:{fill:c||void 0}})))}),Object(i.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,r=o.titleColor,l=o.subtitleColor,c=o.overlayColor,s=o.height,u=o.width,b=o.verticalAlign,g=o.horizontalAlign,m=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,T=o.overlayOpacity,S=void 0===T?7:T,B=o.arrow,A=void 0===B?"":B,P=h()([n,"ugb-image-box","ugb-image-box--v3","ugb-image-box--columns-".concat(f)],Object(i.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(S),7!==S),O(t,"ugb-image-box--arrow",A),t),w,e)),N={textAlign:g||void 0,"--overlay-color":c};return wp.element.createElement("div",{className:P,style:N},Object(i.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"!==m&&"full"!==m&&1===f?u:void 0,height:s,textAlign:g,justifyContent:b,borderRadius:_},j=h()(["ugb-image-box__item"],Object(i.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:r},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(p,{style:{fill:r||void 0}})))}),Object(i.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,r=a.subtitleColor,i=a.overlayColor,l=a.height,c=a.width,s=a.verticalAlign,u=a.horizontalAlign,b=a.align,g=a.columns,m=h()([t,"ugb-image-box-wrapper","ugb-image-box-v2","columns-".concat(g)]),p={textAlign:u||void 0,"--overlay-color":i};return wp.element.createElement("div",{className:m,style:p},Object(d.X)(1,g+1).map(function(e){var t=n["imageURL".concat(e)],a=n["title".concat(e)],i=n["description".concat(e)],m=n["link".concat(e)],p={backgroundImage:t?"url(".concat(t,")"):void 0,maxWidth:"wide"!==b&&"full"!==b&&1===g?c:void 0,height:l,textAlign:u,justifyContent:s};return wp.element.createElement("div",{className:"ugb-image-box",style:p,key:e},wp.element.createElement("a",{href:m}),!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,{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,r=n.title,i=n.titleColor,l=n.subtitle,c=n.subtitleColor,s=n.overlayColor,u=n.height,b=n.width,g=n.verticalAlign,m=n.horizontalAlign,p=n.full,d=h()([t,"ugb-image-box"],{"has-image":a,"full-width":p,"has-no-content":!r&&!l,"has-content":r||l});return wp.element.createElement("div",{className:d,"data-url":a,style:{width:b+"px",height:u+"px",backgroundImage:"url(".concat(a,")"),alignItems:m,justifyContent:g}},wp.element.createElement("a",{href:o,style:{backgroundColor:s}}),!v.RichText.isEmpty(r)&&wp.element.createElement(v.RichText.Content,{tagName:"h4",style:{color:i},value:r}),!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,r=t.subtitle,i=t.subtitleColor,l=t.overlayColor,c=t.height,s=t.width,u=t.verticalAlign,b=t.horizontalAlign,g=n?"has-image":"",m=t.full?"full-width":"",p=a.length||r.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-image-box ".concat(g," ").concat(p," ").concat(m),"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(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,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}}],E=n(3),T=n(10),S=n(96),B=n.n(S),A=n(97),P=n.n(A),N=n(13),F=n.n(N),R=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showSubtitle,r=void 0===o||o,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showArrow,g=void 0!==b&&b;return Object(i.applyFilters)("stackable.image-box.show",{columnBackground:!0,borderRadius:!0,shadow:!0,line:"box"===a||"line"===a,subtitleSpacing:r,titleSpacing:c,lineSpacing:"line"===a,descriptionSpacing:u,arrowSpacing:g},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 r=e.attributes.showOverlayHover;void 0!==r&&r&&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 i=e.attributes.showSubtitle;(void 0===i||i)&&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(8),H=n(9),W=n(12),G=n(14);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 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 X(e){return(X=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(i.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.w,{initialOpen:!0,selected:l,options:[{image:B.a,label:Object(r.__)("Basic",o.i18n),value:"basic"},{image:P.a,label:Object(r.__)("Plain",o.i18n),value:"plain"}].concat($(Object(i.applyFilters)("stackable.image-box.edit.layouts",[]))),onChange:function(e){n({design:e})}},o.showProNotice&&wp.element.createElement(E.X,null)))}),Object(i.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,g=a.descriptionColor,m=a.borderRadius,p=void 0===m?"":m,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,T=void 0===x?"":x,S=a.image3Id,B=void 0===S?"":S,A=a.image4Id,P=void 0===A?"":A,N=a.imageHoverEffect,F=void 0===N?"":N,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,Y=void 0===V||V,X=a.subtitleColor,K=void 0===X?"":X,J=a.lineColor,Q=void 0===J?"":J,Z=a.lineSize,ee=void 0===Z?"":Z,te=a.showArrow,ne=void 0!==te&&te,ae=a.arrowColor,oe=void 0===ae?"":ae,re=R(t);return wp.element.createElement(H.Fragment,null,e,wp.element.createElement(U.PanelBody,{title:Object(r.__)("General",o.i18n)},wp.element.createElement(U.RangeControl,{label:Object(r.__)("Columns",o.i18n),value:u,onChange:function(e){return n({columns:e})},min:1,max:4}),wp.element.createElement(E.Y,{attrNameTemplate:"%sColumnHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(r.__)("Height",o.i18n),min:"100",max:"700",allowReset:!0,placeholder:"350"})),re.borderRadius&&wp.element.createElement(E.b,{label:Object(r.__)("Border Radius",o.i18n),value:p,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12"}),re.shadow&&wp.element.createElement(E.b,{label:Object(r.__)("Shadow / Outline",o.i18n),value:h,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3"}),wp.element.createElement(E.Y,{attrNameTemplate:"columnContent%sVerticalAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.d,{label:Object(r.__)("Content Vertical Align",o.i18n),controls:"flex-vertical"})),wp.element.createElement(E.s,{setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(U.PanelBody,{title:Object(r.__)("Image",o.i18n),initialOpen:!1},wp.element.createElement(E.K,{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)(T,e||"large"),image3Url:Object(d.J)(B,e||"large"),image4Url:Object(d.J)(P,e||"large")})}})),wp.element.createElement(E.T,{title:Object(r.__)("Overlay Color",o.i18n),checked:M,onChange:function(e){return n({showOverlay:e})},toggleOnSetAttributes:[].concat($(Object(d.i)("overlay%s")),["overlayOpacity"]),toggleAttributeName:"showOverlay"},wp.element.createElement(E.g,{attrNameTemplate:"overlay%s",setAttributes:n,blockAttributes:t.attributes,labelBackgroundColorType:Object(r.__)("Overlay Color Type",o.i18n),labelBackgroundColor:Object(r.__)("Overlay Color",o.i18n),onChangeImage:null,onChangeBackgroundMedia:null,onChangeBackgroundColorOpacity:null}),wp.element.createElement(E.b,{label:Object(r.__)("Opacity",o.i18n),value:W,onChange:function(e){return n({overlayOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"0.7"})),wp.element.createElement(E.T,{title:Object(r.__)("Overlay Hover Color",o.i18n),checked:I,onChange:function(e){return n({showOverlayHover:e})},toggleOnSetAttributes:[].concat($(Object(d.i)("overlayHover%s")),["overlayHoverOpacity"]),toggleAttributeName:"showOverlayHover"},wp.element.createElement(E.g,{attrNameTemplate:"overlayHover%s",setAttributes:n,blockAttributes:t.attributes,labelBackgroundColorType:Object(r.__)("Overlay Color Type",o.i18n),labelBackgroundColor:Object(r.__)("Overlay Color",o.i18n),onChangeImage:null,onChangeBackgroundMedia:null,onChangeBackgroundColorOpacity:null}),wp.element.createElement(E.b,{label:Object(r.__)("Opacity",o.i18n),value:q,onChange:function(e){return n({overlayHoverOpacity:e})},min:0,max:1,step:.1,allowReset:!0,placeholder:"0.7"})),wp.element.createElement(U.PanelBody,{title:Object(r.__)("Effects",o.i18n),initialOpen:!1},wp.element.createElement(U.SelectControl,{label:Object(r.__)("Image Hover Effect",o.i18n),options:Object(i.applyFilters)("stackable.image-box.edit.image-hover-effects",[{label:Object(r.__)("None",o.i18n),value:""},{label:Object(r.__)("Zoom In",o.i18n),value:"zoom-in"},{label:Object(r.__)("Zoom Out",o.i18n),value:"zoom-out"}]),value:F,onChange:function(e){return n({imageHoverEffect:e})}}),Object(i.applyFilters)("stackable.image-box.edit.panel.image-hover-effects",null,t),o.showProNotice&&wp.element.createElement(E.X,{type:"effect"})),re.line&&wp.element.createElement(E.T,{title:Object(r.__)("Line",o.i18n),hasToggle:!1},wp.element.createElement(E.r,{value:Q,onChange:function(e){return n({lineColor:e})},label:Object(r.__)("Color",o.i18n)}),wp.element.createElement(E.b,{label:Object(r.__)("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.T,{title:Object(r.__)("Subtitle",o.i18n),checked:Y,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.jb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(E.r,{value:K,onChange:function(e){return n({subtitleColor:e})},label:Object(r.__)("Subtitle Color",o.i18n)}),wp.element.createElement(E.Y,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(E.T,{title:Object(r.__)("Title",o.i18n),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.jb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(E.E,{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(r.__)("Title Color",o.i18n)}),wp.element.createElement(E.Y,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(E.T,{title:Object(r.__)("Description",o.i18n),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.jb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(E.r,{value:g,onChange:function(e){return n({descriptionColor:e})},label:Object(r.__)("Description Color",o.i18n)}),wp.element.createElement(E.Y,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(E.T,{title:Object(r.__)("Arrow",o.i18n),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(r.__)("Color",o.i18n)}),wp.element.createElement(E.Y,{attrNameTemplate:"Arrow%sSize",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(r.__)("Size",o.i18n),min:"0",max:"50",allowReset:!0})),wp.element.createElement(E.Y,{attrNameTemplate:"Arrow%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(E.U,{initialOpen:!1,blockProps:t},re.subtitleSpacing&&wp.element.createElement(E.Y,{attrNameTemplate:"subtitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(r.__)("Subtitle",o.i18n),min:-50,max:100,allowReset:!0})),re.titleSpacing&&wp.element.createElement(E.Y,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(r.__)("Title",o.i18n),min:-50,max:100,allowReset:!0})),re.lineSpacing&&wp.element.createElement(E.Y,{attrNameTemplate:"line%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(r.__)("Line",o.i18n),min:-50,max:100,allowReset:!0})),re.descriptionSpacing&&wp.element.createElement(E.Y,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(r.__)("Description",o.i18n),min:-50,max:100,allowReset:!0})),re.arrowSpacing&&wp.element.createElement(E.Y,{attrNameTemplate:"arrow%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(E.b,{label:Object(r.__)("Arrow",o.i18n),min:-50,max:100,allowReset:!0}))))});var Q=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=X(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,g=s.contentAlign,m=void 0===g?"":g,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,T=s.showTitle,S=void 0===T||T,B=s.showDescription,A=void 0===B||B,P=s.showArrow,N=void 0!==P&&P,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(i.applyFilters)("stackable.image-box.mainclasses",(V(e={},"ugb-image-box--effect-".concat(j),j),V(e,"ugb-image-box--with-arrow",N),V(e,"ugb-image-box--align-".concat(m),m),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(i.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.R,{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||S)&&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(r.__)("Subtitle",o.i18n),keepPlaceholderOnFocus:!0}),S&&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(r.__)("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(r.__)("Description",o.i18n),keepPlaceholderOnFocus:!0})),N&&wp.element.createElement("div",{className:"ugb-image-box__arrow"},wp.element.createElement(p,null)),t.state.selectedBox===e&&wp.element.createElement(E.lb,{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))}}))}))}})}}])&&Y(n.prototype,l),c&&Y(n,c),t}(),Z=Object(W.compose)(T.g,T.e,T.c,Object(T.f)(),Object(T.b)(["Line%sAlign","Subtitle%sAlign","Title%sAlign","Description%sAlign","Arrow%sAlign"]),Object(T.a)(L,{editorMode:!0}),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)(Q);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)(T.g,Object(T.a)(L))(function(e){var t,n=e.className,o=e.attributes,r=o.columns,l=void 0===r?2:r,c=o.contentAlign,s=void 0===c?"":c,u=o.design,b=void 0===u?"basic":u,g=o.titleTag,m=void 0===g?"":g,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,T=o.showDescription,S=void 0===T||T,B=o.showArrow,A=void 0!==B&&B,P=o.imageHoverEffect,N=void 0===P?"":P,F=h()([n,"ugb-image-box--v4","ugb-image-box--columns-".concat(l),"ugb-image-box--design-".concat(b)],Object(i.applyFilters)("stackable.image-box.mainclasses",(ee(t={},"ugb-image-box--effect-".concat(N),N),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)],r=o["description".concat(t)],l=h()(["ugb-image-box__item","ugb-image-box__item".concat(t),"ugb-image-box__box"],Object(i.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:m||"h4",className:"ugb-image-box__title",value:a})),S&&!v.RichText.isEmpty(r)&&wp.element.createElement(v.RichText.Content,{tagName:"p",className:"ugb-image-box__description",value:r})),A&&wp.element.createElement("div",{className:"ugb-image-box__arrow"},wp.element.createElement(p,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 re}),n.d(t,"name",function(){return ie}),n.d(t,"settings",function(){return le});var re=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(r.__)("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(r.__)("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(r.__)("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"])),ie="ugb/image-box",le={title:Object(r.__)("Image Box",o.i18n),description:Object(r.__)("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(r.__)("Image Box",o.i18n),Object(r.__)("Stackable",o.i18n)],supports:{align:["center","wide","full"],inserter:!o.disabledBlocks.includes(ie)},attributes:re,deprecated:x,edit:Z,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(i.applyFilters)("stackable.image-box.custom-css.default","")}}};Object(i.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),r=n(1),i=n(11),l=n(0),c=n(4);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.apply-block-attributes","stackable/cta",function(e){return Object(i.omit)(e,["title","description","buttonText","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",r.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",r.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",r.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",r.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),g=n(7),m=n.n(g),p=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,r=a.buttonText,i=a.ctaTitle,l=a.bodyText,s=a.color,u=a.textColor,g=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,T=a.backgroundImageURL,S=a.backgroundOpacity,B=a.fixedBackground,A=a.buttonDesign,P=a.buttonIcon,N=a.design,F=void 0===N?"basic":N,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=m()([n,"ugb-cta","ugb--background-opacity-"+1*Math.round(S/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||T),h(t,"ugb--has-background-image",T),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:B?"fixed":void 0},H?{backgroundColor:k||void 0,backgroundImage:T?"url(".concat(T,")"):void 0,"--ugb-background-color":T||"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:T}),Object(c.applyFilters)("stackable.cta.save.output.before_1_15_5",null,F,e),wp.element.createElement("div",{className:"ugb-content-wrapper"},i&&!!i.length&&wp.element.createElement(p.RichText.Content,{tagName:"h3",className:"ugb-cta__title",style:{color:y},value:i}),l&&!!l.length&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta__description",style:{color:v},value:l}),r&&!!r.length&&wp.element.createElement(b.d,{size:g,url:o,color:u,text:r,design:A,icon:P,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})}},{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,r=a.buttonText,i=a.ctaTitle,l=a.bodyText,c=a.color,s=a.textColor,u=void 0===s?"#ffffff":s,g=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,T=void 0===E?12:E,S=a.shadow,B=void 0===S?3:S,A=a.align,P=a.contentWidth,N=a.newTab,F=m()([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(B),"plain"!==x&&3!==B),h(t,"ugb--has-background",y||w),h(t,"ugb--has-background-image",w),h(t,"ugb--content-width","full"===A&&P),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!==T?T:void 0};return wp.element.createElement("div",{className:F,style:R},wp.element.createElement("div",{className:"ugb-content-wrapper"},i&&!!i.length&&wp.element.createElement(p.RichText.Content,{tagName:"h3",className:"ugb-cta__title",style:{color:v},value:i}),l&&!!l.length&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta__description",style:{color:f},value:l}),r&&!!r.length&&wp.element.createElement(b.c,{size:g,url:o,color:u,text:r,design:_,icon:j,backgroundColor:c,borderRadius:d,newTab:N})))}},{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,r=a.buttonText,i=a.ctaTitle,l=a.bodyText,c=a.color,s=a.textColor,u=a.size,g=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,T=a.contentWidth,S=m()([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&&T),t)),B={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:S,style:B},wp.element.createElement("div",{className:"ugb-content-wrapper"},i&&!!i.length&&wp.element.createElement(p.RichText.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:f},value:i}),l&&!!l.length&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:d},value:l}),r&&!!r.length&&wp.element.createElement(b.b,{size:u,url:o,color:s,text:r,design:k,icon:_,backgroundColor:c,borderRadius:g})))},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,r=n.ctaTitle,i=n.bodyText,l=n.color,c=n.textColor,s=n.size,u=n.borderButtonRadius,g=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=m()([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},r&&!!r.length&&wp.element.createElement(p.RichText.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:d},value:r}),i&&!!i.length&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:g},value:i}),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,r=n.ctaTitle,i=n.bodyText,l=n.color,c=n.textColor,s=n.size,u=n.borderButtonRadius,g=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=m()([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},r&&!!r.length&&wp.element.createElement(p.RichText.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:d},value:r}),i&&!!i.length&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:g},value:i}),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,r=n.ctaTitle,i=n.bodyText,l=n.color,c=n.textColor,s=n.size,u=n.borderButtonRadius,g=n.bodyTextColor,d=n.titleColor,f=n.bgColor,h=m()([t,"ugb-cta"]);return wp.element.createElement("div",{className:h,style:{backgroundColor:f}},r&&!!r.length&&wp.element.createElement(p.RichText.Content,{tagName:"h3",className:"ugb-cta-title",style:{color:d},value:r}),i&&!!i.length&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta-bodyText",style:{color:g},value:i}),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(10),O=n(13),k=n.n(O),_=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showBlockBackground,r=void 0!==o&&o,i=t.blockInnerWidth,l=void 0===i?"":i,s=t.align,u=void 0===s?"":s,b=t.showTitle,g=void 0===b||b,m=t.showDescription,p=void 0===m||m,d=t.showButton,f=void 0===d||d,h=!0;return"plain"===a?h=!1:"full"===u&&(r?"full"===l&&(h=!1):h=!1),Object(c.applyFilters)("stackable.cta.show",{columnBackground:"plain"!==a,borderRadius:h,titleSpacing:g,descriptionSpacing:p,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 T=function(e){var t=Object(a.b)(e.attributes),n=e.attributes,o=n.columnBackgroundColor,r=void 0===o?"":o,i=n.columnBackgroundColorOpacity,l=void 0===i?1:i,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,g=void 0===b?"":b,m=u.showTitle;(void 0===m||m)&&s.push({".ugb-cta__title":x({},Object(a.D)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(a.cb)(g,0!==l?r: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 p=e.attributes,d=p.descriptionColor,f=void 0===d?"":d,h=p.showDescription;(void 0===h||h)&&s.push({".ugb-cta__description":x({},Object(a.D)("description%s","desktop",e.attributes),{color:Object(a.cb)(f,0!==l?r: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)},S=n(78),B=n.n(S),A=n(79),P=n.n(A),N=n(8),F=n(12),R=n(9);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.w,{initialOpen:!0,selected:o,options:Object(c.applyFilters)("stackable.cta.edit.layouts",[{label:Object(l.__)("Basic",r.i18n),value:"basic",image:B.a},{label:Object(l.__)("Plain",r.i18n),value:"plain",image:P.a}]),onChange:function(e){return n({design:e})}},r.showProNotice&&wp.element.createElement(y.X,null)))}),Object(c.addFilter)("stackable.cta.edit.inspector.style.before","stackable/cta",function(e,t){var n=t.setAttributes,o=t.attributes,i=o.titleColor,c=o.descriptionColor,s=o.borderRadius,u=void 0===s?"":s,b=o.shadow,g=void 0===b?"":b,m=o.showTitle,p=void 0===m||m,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(N.PanelBody,{title:Object(l.__)("General",r.i18n)},k.borderRadius&&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"}),k.columnBackground&&wp.element.createElement(y.b,{label:Object(l.__)("Shadow / Outline",r.i18n),value:g,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3"}),wp.element.createElement(y.s,{setAttributes:n,blockAttributes:t.attributes})),k.columnBackground&&wp.element.createElement(N.PanelBody,{title:Object(l.__)("Column Background",r.i18n),initialOpen:!1},wp.element.createElement(y.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(y.T,{title:Object(l.__)("Title",r.i18n),checked:p,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.jb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(y.E,{value:O||"h3",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(y.r,{value:i,onChange:function(e){return n({titleColor:e})},label:Object(l.__)("Title Color",r.i18n)}),wp.element.createElement(y.Y,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",r.i18n)}))),wp.element.createElement(y.T,{title:Object(l.__)("Description",r.i18n),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.jb,{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",r.i18n)}),wp.element.createElement(y.Y,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",r.i18n)}))),wp.element.createElement(y.T,{title:Object(l.__)("Button",r.i18n),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.Y,{attrNameTemplate:"Button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.e,{label:Object(l.__)("Align",r.i18n)}))),wp.element.createElement(y.U,{initialOpen:!1,blockProps:t},k.titleSpacing&&wp.element.createElement(y.Y,{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})),k.descriptionSpacing&&wp.element.createElement(y.Y,{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})),k.buttonSpacing&&wp.element.createElement(y.Y,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(y.b,{label:Object(l.__)("Button",r.i18n),min:-50,max:100,allowReset:!0}))))});var z=Object(F.compose)(w.g,w.e,w.c,Object(w.f)(),Object(w.b)(["Title%sAlign","Description%sAlign","Button%sAlign"]),Object(w.a)(T,{editorMode:!0}))(function(e){var t=e.className,n=e.setAttributes,o=e.attributes,i=o.design,s=void 0===i?"basic":i,u=o.shadow,b=void 0===u?"":u,g=o.showTitle,d=void 0===g||g,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=m()([t,"ugb-cta","ugb-cta--v2"],Object(c.applyFilters)("stackable.cta.mainclasses",D({},"ugb-cta--design-".concat(s),"basic"!==s),s,e)),T=m()(["ugb-cta__item"],Object(c.applyFilters)("stackable.cta.boxclasses",D({},"ugb--shadow-".concat(b),"plain"!==s&&""!==b),s,e)),S=d&&wp.element.createElement(p.RichText,{tagName:w||"h3",value:h,className:"ugb-cta__title",placeholder:Object(l.__)("Title for This Block",r.i18n),onChange:function(e){return n({title:e})},keepPlaceholderOnFocus:!0}),B=k&&wp.element.createElement(p.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}),P={title:S,description:B,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.z,{className:T,backgroundAttrName:"column%s",blockProps:e},Object(c.applyFilters)("stackable.cta.edit.output",wp.element.createElement(R.Fragment,null,S,B,A),P,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.g,Object(w.a)(T))(function(e){var t=e.className,n=e.attributes,a=n.design,o=void 0===a?"basic":a,r=n.shadow,i=void 0===r?"":r,l=n.showTitle,s=void 0===l||l,u=n.title,b=void 0===u?"":u,g=n.titleTag,d=void 0===g?"h3":g,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,T=void 0===E?"normal":E,S=n.buttonText,B=void 0===S?"":S,A=n.buttonShadow,P=void 0===A?0:A,N=n.buttonHoverEffect,F=void 0===N?"":N,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,Y=m()([t,"ugb-cta","ugb-cta--v2"],Object(c.applyFilters)("stackable.cta.mainclasses",I({},"ugb-cta--design-".concat(o),"basic"!==o),o,e)),X=m()(["ugb-cta__item"],Object(c.applyFilters)("stackable.cta.boxclasses",I({},"ugb--shadow-".concat(i),"plain"!==o&&""!==i),o,e)),K=s&&!p.RichText.isEmpty(b)&&wp.element.createElement(p.RichText.Content,{tagName:d||"h3",className:"ugb-cta__title",value:b}),J=h&&!p.RichText.isEmpty(w)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-cta__description",value:w}),$=k&&!!B.length&&wp.element.createElement(y.n.Content,{size:""!==T?T:"normal",text:B,icon:M,newTab:""!==x&&x,url:j,noFollow:V,hoverEffect:F,ghostToNormalEffect:G,shadow:P,iconPosition:L,design:""!==H?H:"basic"}),Q={title:K,description:J,button:$};return wp.element.createElement(y.j.Save,{className:Y,blockProps:e,render:function(){return wp.element.createElement(R.Fragment,null,wp.element.createElement(y.z,{className:X,backgroundAttrName:"column%s",blockProps:e},Object(c.applyFilters)("stackable.cta.save.output",wp.element.createElement(R.Fragment,null,K,J,$),Q,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",r.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",r.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.",r.i18n),icon:o.e,category:"stackable",keywords:[Object(l.__)("Call to Action",r.i18n),Object(l.__)("Stackable",r.i18n),Object(l.__)("CTA",r.i18n)],attributes:W,supports:{align:["center","wide","full"],inserter:!r.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),r=n(11),i=n(1),l=n(0),c=n(4);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.apply-block-attributes","stackable/card",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(r.omit)(e,[].concat(b(t&&t.image1Id?["image1Url"]:[]),["image1Id"],b(t&&t.image2Id?["image2Url"]:[]),["image2Id"],b(t&&t.image3Id?["image3Url"]:[]),["image3Id","title1","title2","title3","subtitle1","subtitle2","subtitle3","description1","description2","description3","button1Text","button1Url","button1NewTab","button1NoFollow","button2Text","button2Url","button2NewTab","button2NoFollow","button3Text","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",i.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",i.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",i.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",i.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 g=n(16),m=n(7),p=n.n(m),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",i.i18n)},tagline:{source:"html",selector:".ugb-card__tagline",default:Object(l.__)("Subtitle for this block",i.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",i.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,r=a.tagline,i=a.des,l=a.mediaURL,s=a.headingColor,u=a.taglineColor,b=a.desColor,m=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,T=void 0===E?"basic":E,S=a.backgroundColor,B=a.borderRadius,A=void 0===B?12:B,P=a.shadow,N=void 0===P?3:P,F=p()([n,"ugb-card"],Object(c.applyFilters)("stackable.card.mainclasses_1_17_3",(v(t={},"ugb-card--design-".concat(T),"basic"!==T),v(t,"ugb--shadow-".concat(N),"plain"!==T&&3!==N),t),T,e)),R={borderRadius:"plain"!==T?A:void 0,backgroundColor:"plain"!==T?S:void 0},D=p()(["ugb-card__image-container"],v({},"ugb--shadow-".concat(N),"plain"===T)),M={borderRadius:"plain"===T?A:void 0};return wp.element.createElement("div",{className:F,style:R},Object(c.applyFilters)("stackable.card.save.output.before_1_17_3",null,T,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(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__tagline",style:{color:u,textAlign:j},value:r}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__description",style:{color:b,textAlign:j},value:i}),y&&!!y.length&&wp.element.createElement(g.d,{size:k,url:m,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,T,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,r=a.tagline,i=a.des,l=a.mediaURL,c=a.headingColor,s=a.taglineColor,u=a.desColor,b=a.buttonURL,m=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,T=a.backgroundColor,S=void 0===T?"#ffffff":T,B=a.borderRadius,A=void 0===B?12:B,P=a.shadow,N=void 0===P?3:P,F=p()([n,"ugb-card"],(v(t={},"ugb-card--design-".concat(E),"basic"!==E),v(t,"ugb--shadow-".concat(N),"plain"!==E&&3!==N),t)),R={borderRadius:"plain"!==E?A:void 0,backgroundColor:"plain"!==E?S:void 0},D=p()(["ugb-card__image-container"],v({},"ugb--shadow-".concat(N),"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(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__tagline",style:{color:s,textAlign:_},value:r}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__description",style:{color:u,textAlign:_},value:i}),f&&!!f.length&&wp.element.createElement(g.c,{size:O,url:b,newTab:m,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,r=a.tagline,i=a.des,l=a.mediaURL,c=a.headingColor,s=a.taglineColor,u=a.desColor,b=a.buttonURL,m=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,T=a.shadow,S=p()([n,"ugb-card"],(v(t={},"ugb-design-".concat(C),"basic"!==C),v(t,"ugb-shadow-".concat(T),"plain"!==C),t)),B={borderRadius:"plain"!==C?E:void 0,backgroundColor:"plain"!==C?x:void 0},A=p()(["ugb-card-image-container"],v({},"ugb-shadow-".concat(T),"plain"===C)),P={borderRadius:"plain"===C?E:void 0};return wp.element.createElement("div",{className:S,style:B},l&&wp.element.createElement("div",{className:A,style:h({},P,{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(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-tagline",style:{color:s,textAlign:k},value:r}),!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card-des",style:{color:u,textAlign:k},value:i}),m&&!!m.length&&wp.element.createElement(g.b,{size:w,url:b,align:k,color:y,text:m,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,r=n.des,i=n.mediaURL,l=n.headingColor,c=n.taglineColor,s=n.desColor,u=n.buttonURL,b=n.buttonText,m=n.buttonColor,f=n.buttonTextColor,h=n.size,v=n.cornerButtonRadius,y=n.contentAlign,w=n.buttonDesign,O=n.buttonIcon,k=p()([t,"ugb-card"],{"has-image":i});return wp.element.createElement("div",{className:k},i&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url(".concat(i,")"),textAlign:y},"data-src":i}),!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(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:y},value:r}),b&&!!b.length&&wp.element.createElement(g.h,{size:h,url:u,align:y,color:f,text:b,icon:O,design:w,backgroundColor:m,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,r=n.des,i=n.mediaURL,l=n.headingColor,c=n.taglineColor,s=n.desColor,u=n.buttonURL,b=n.buttonText,m=n.buttonColor,f=n.buttonTextColor,h=n.size,v=n.cornerButtonRadius,y=n.contentAlign,w=n.buttonDesign,O=n.buttonIcon,k=p()([t,"ugb-card"],{"has-image":i});return wp.element.createElement("div",{className:k},i&&wp.element.createElement("div",{className:"ugb-card-image-container",style:{backgroundImage:"url(".concat(i,")"),textAlign:y},"data-src":i}),!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(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card-des",style:{color:s,textAlign:y},value:r}),b&&!!b.length&&wp.element.createElement(g.g,{size:h,url:u,align:y,color:f,text:b,icon:O,design:w,backgroundColor:m,borderRadius:v}))}}],w=n(3),O=n(10),k=n(80),_=n.n(k),j=n(81),C=n.n(j),x=n(13),E=n.n(x),T=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showImage,r=void 0===o||o,i=t.showTitle,l=void 0===i||i,s=t.showSubtitle,u=void 0===s||s,b=t.showDescription,g=void 0===b||b,m=t.showButton,p=void 0===m||m;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&&r,titleSpacing:l,subtitleSpacing:u,descriptionSpacing:g,buttonSpacing:p},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")}()}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 A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B(n,!0).forEach(function(t){P(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 P(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(e){var t=Object(o.b)(e.attributes),n=e.attributes.columnBackgroundColor,a=void 0===n?"":n,r=T(e),i=[];if(i.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")}}}),r.borderRadius){var l=r.columnBackground?".ugb-card__item":".ugb-card__image";i.push(P({},l,{borderRadius:t("borderRadius","%spx !important")}))}i.push(A({},r.columnBackground?Object(o.l)("column%s","ugb-card__item",e.attributes,{importantBackgroundColor:!0}):{})),i.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)")}}),i.push(A({},Object(o.t)("image%s","ugb-card__image",e.attributes))),r.imageHeight&&i.push.apply(i,S(Object(o.y)(".ugb-card__image","imageBackground%sHeight","height","%spx",e.attributes,!0))),r.imageWidth&&i.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)&&i.push({".ugb-card__title":A({},Object(o.D)("title%s","desktop",e.attributes,{importantSize:!0}),{color:Object(o.c)(Object(o.db)(u,r.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 g=e.attributes,m=g.subtitleColor,p=void 0===m?"":m,d=g.showSubtitle;(void 0===d||d)&&i.push({".ugb-card__subtitle":A({},Object(o.D)("subtitle%s","desktop",e.attributes,{importantSize:!0}),{color:Object(o.c)(Object(o.db)(p,r.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)&&i.push({".ugb-card__description":A({},Object(o.D)("description%s","desktop",e.attributes,{importantSize:!0}),{color:Object(o.c)(Object(o.db)(v,r.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)&&(i.push(A({},Object(o.p)("button%s","ugb-button",e.attributes))),i.push.apply(i,S(Object(o.y)(".ugb-button-container","button%sAlign","textAlign","%s",e.attributes,!0)))),r.imageSpacing&&i.push.apply(i,S(Object(o.y)(".ugb-card__image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),r.titleSpacing&&i.push.apply(i,S(Object(o.y)(".ugb-card__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),r.subtitleSpacing&&i.push.apply(i,S(Object(o.y)(".ugb-card__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,!0))),r.descriptionSpacing&&i.push.apply(i,S(Object(o.y)(".ugb-card__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),r.buttonSpacing&&i.push.apply(i,S(Object(o.y)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),E.a.all(i)},F=n(8),R=n(12),D=n(9),M=n(14);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.w,{initialOpen:!0,selected:o,options:Object(c.applyFilters)("stackable.card.edit.layouts",[{label:Object(l.__)("Basic",i.i18n),value:"basic",image:_.a},{label:Object(l.__)("Plain",i.i18n),value:"plain",image:C.a}]),onChange:function(e){return n({design:e})}},i.showProNotice&&wp.element.createElement(w.X,null)))}),Object(c.addFilter)("stackable.card.edit.inspector.style.before","stackable/card",function(e,t){var n=t.setAttributes,a=t.attributes,r=a.columns,c=a.borderRadius,s=void 0===c?"":c,u=a.shadow,b=void 0===u?"":u,g=a.showImage,m=void 0===g||g,p=a.showTitle,d=void 0===p||p,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,S=void 0===E?"":E,B=a.imageBackgroundWidth,A=void 0===B?"":B,P=a.imageBackgroundTabletWidth,N=void 0===P?"":P,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,Y=a.titleColor,X=void 0===Y?"":Y,K=a.descriptionColor,J=void 0===K?"":K,$=a.subtitleColor,Q=void 0===$||$,Z=T(t);return wp.element.createElement(D.Fragment,null,e,wp.element.createElement(F.PanelBody,{title:Object(l.__)("General",i.i18n)},wp.element.createElement(F.RangeControl,{label:Object(l.__)("Columns",i.i18n),value:r,onChange:function(e){return n({columns:e})},min:1,max:3}),Z.borderRadius&&wp.element.createElement(w.b,{label:Object(l.__)("Border Radius",i.i18n),value:s,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12"}),Z.shadow&&wp.element.createElement(w.b,{label:Object(l.__)("Shadow / Outline",i.i18n),value:b,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3"}),wp.element.createElement(w.s,{setAttributes:n,blockAttributes:t.attributes})),Z.columnBackground&&wp.element.createElement(F.PanelBody,{title:Object(l.__)("Column Background",i.i18n),initialOpen:!1},wp.element.createElement(w.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(w.T,{title:Object(l.__)("Image",i.i18n),checked:m,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.K,{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)(S,e||"large")})}}),Z.imageHeight&&wp.element.createElement(w.Y,{attrNameTemplate:"imageBackground%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Image Height",i.i18n),min:50,max:1e3,allowReset:!0,placeholder:"300"})),Z.imageWidth&&wp.element.createElement(D.Fragment,null,wp.element.createElement(w.mb,null,wp.element.createElement(w.b,{label:Object(l.__)("Image Width",i.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"})),wp.element.createElement(w.mb,{screen:"tablet"},wp.element.createElement(w.b,{label:Object(l.__)("Image Width",i.i18n),units:["px","%"],min:[50,10],max:[1e3,90],step:[1,1],allowReset:!0,value:N,unit:H,onChange:function(e){return n({imageBackgroundTabletWidth:e})},onChangeUnit:function(e){return n({imageBackgroundTabletWidthUnit:e})},placeholder:"50"})),wp.element.createElement(w.mb,{screen:"mobile"},wp.element.createElement(w.b,{label:Object(l.__)("Image Width",i.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"})))),wp.element.createElement(w.T,{title:Object(l.__)("Title",i.i18n),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.jb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(w.E,{value:V||"h4",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(w.r,{value:X,onChange:function(e){return n({titleColor:e})},label:Object(l.__)("Title Color",i.i18n)}),wp.element.createElement(w.Y,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.e,{label:Object(l.__)("Align",i.i18n)}))),wp.element.createElement(w.T,{title:Object(l.__)("Subtitle",i.i18n),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.jb,{attrNameTemplate:"subtitle%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(w.r,{value:Q,onChange:function(e){return n({subtitleColor:e})},label:Object(l.__)("Subtitle Color",i.i18n)}),wp.element.createElement(w.Y,{attrNameTemplate:"subtitle%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.e,{label:Object(l.__)("Align",i.i18n)}))),wp.element.createElement(w.T,{title:Object(l.__)("Description",i.i18n),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.jb,{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",i.i18n)}),wp.element.createElement(w.Y,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.e,{label:Object(l.__)("Align",i.i18n)}))),wp.element.createElement(w.T,{title:Object(l.__)("Button",i.i18n),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.Y,{attrNameTemplate:"Button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.e,{label:Object(l.__)("Align",i.i18n)}))),wp.element.createElement(w.U,{initialOpen:!1,blockProps:t},Z.imageSpacing&&wp.element.createElement(w.Y,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Image",i.i18n),min:-50,max:100,allowReset:!0})),Z.titleSpacing&&wp.element.createElement(w.Y,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Title",i.i18n),min:-50,max:100,allowReset:!0})),Z.subtitleSpacing&&wp.element.createElement(w.Y,{attrNameTemplate:"subtitle%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Subtitle",i.i18n),min:-50,max:100,allowReset:!0})),Z.descriptionSpacing&&wp.element.createElement(w.Y,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Description",i.i18n),min:-50,max:100,allowReset:!0})),Z.buttonSpacing&&wp.element.createElement(w.Y,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(w.b,{label:Object(l.__)("Button",i.i18n),min:-50,max:100,allowReset:!0}))))});var L=Object(R.compose)(O.g,O.e,O.c,Object(O.f)(),Object(O.b)(["Title%sAlign","Subtitle%sAlign","Description%sAlign","Button%sAlign"]),Object(O.a)(N,{editorMode:!0}),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,g=void 0===b?"basic":b,m=a.shadow,f=void 0===m?"":m,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,S=a.showDescription,B=void 0===S||S,A=a.showButton,P=void 0===A||A,N=a.buttonIcon,F=void 0===N?"":N,R=T(e),M=p()([t,"ugb-card--v2","ugb-card--design-".concat(g),"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.Fragment,null,Object(r.range)(1,u+1).map(function(t){var r=a["image".concat(t,"Url")],s=a["image".concat(t,"Id")],u=a["title".concat(t)],b=a["subtitle".concat(t)],g=a["description".concat(t)],m=a["button".concat(t,"Text")],h=p()(["ugb-card__item","ugb-card__item".concat(t)],Object(c.applyFilters)("stackable.card.itemclasses",z({},"ugb--shadow-".concat(f),R.columnBackground&&""!==f),e)),y=p()(["ugb-card__image"],Object(c.applyFilters)("stackable.card.imageclasses",z({},"ugb--shadow-".concat(f),!R.columnBackground),e));return wp.element.createElement(w.z,{className:h,backgroundAttrName:"column%s",blockProps:e,showBackground:R.columnBackground,key:t},_&&wp.element.createElement(w.R,{imageID:s,imageURL:r,imageSize:v,className:y,onRemove:function(){var e;n((z(e={},"image".concat(t,"Url"),""),z(e,"image".concat(t,"Id"),""),e))},onChange:function(e){var a;n((z(a={},"image".concat(t,"Url"),e.url),z(a,"image".concat(t,"Id"),e.id),a))}}),wp.element.createElement("div",{className:"ugb-card__content"},C&&wp.element.createElement(d.RichText,{tagName:O||"h4",value:u,className:"ugb-card__title",placeholder:Object(l.__)("Title for This Block",i.i18n),onChange:function(e){return n(z({},"title".concat(t),e))},keepPlaceholderOnFocus:!0}),E&&wp.element.createElement(d.RichText,{tagName:"p",value:b,className:"ugb-card__subtitle",onChange:function(e){return n(z({},"subtitle".concat(t),e))},placeholder:Object(l.__)("Subtitle for this block",i.i18n),keepPlaceholderOnFocus:!0}),B&&wp.element.createElement(d.RichText,{tagName:"p",value:g,className:"ugb-card__description",onChange:function(e){return n(z({},"description".concat(t),e))},placeholder:Object(o.F)("medium"),keepPlaceholderOnFocus:!0}),P&&wp.element.createElement(w.o,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes,text:m,icon:a["button".concat(t,"Icon")]||F,onChange:function(e){return n(z({},"button".concat(t,"Text"),e))},onChangeIcon:function(e){return n(z({},"button".concat(t,"Icon"),e))},url:a["button".concat(t,"Url")],newTab:a["button".concat(t,"NewTab")],noFollow:a["button".concat(t,"NoFollow")],onChangeUrl:function(e){return n(z({},"button".concat(t,"Url"),e))},onChangeNewTab:function(e){return n(z({},"button".concat(t,"NewTab"),e))},onChangeNoFollow:function(e){return n(z({},"button".concat(t,"NoFollow"),e))}})))}))}})});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}var H=Object(R.compose)(O.g,Object(O.a)(N))(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,s=n.shadow,u=void 0===s?"":s,b=n.titleTag,g=void 0===b?"h4":b,m=n.showImage,f=void 0===m||m,h=n.showTitle,v=void 0===h||h,y=n.showSubtitle,O=void 0===y||y,k=n.showDescription,_=void 0===k||k,j=n.showButton,C=void 0===j||j,x=n.buttonIcon,E=void 0===x?"":x,S=T(e),B=p()([t,"ugb-card--v2","ugb-card--design-".concat(l),"ugb-card--columns-".concat(o)],Object(c.applyFilters)("stackable.card.mainclasses",{},e));return wp.element.createElement(w.j.Save,{className:B,blockProps:e,render:function(){return wp.element.createElement(D.Fragment,null,Object(r.range)(1,o+1).map(function(t){var a=n["image".concat(t,"Url")],o=n["title".concat(t)],r=n["subtitle".concat(t)],i=n["description".concat(t)],l=n["button".concat(t,"Text")],s=p()(["ugb-card__item","ugb-card__item".concat(t)],Object(c.applyFilters)("stackable.card.itemclasses",U({},"ugb--shadow-".concat(u),S.columnBackground&&""!==u),e)),b=p()(["ugb-card__image"],Object(c.applyFilters)("stackable.card.imageclasses",U({},"ugb--shadow-".concat(u),!S.columnBackground),e));return wp.element.createElement(w.z,{className:s,backgroundAttrName:"column%s",blockProps:e,showBackground:S.columnBackground,key:t},f&&a&&wp.element.createElement("div",{className:b}),wp.element.createElement("div",{className:"ugb-card__content"},v&&!d.RichText.isEmpty(o)&&wp.element.createElement(d.RichText.Content,{tagName:g||"h4",className:"ugb-card__title",value:o}),O&&!d.RichText.isEmpty(r)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__subtitle",value:r}),_&&!d.RichText.isEmpty(i)&&wp.element.createElement(d.RichText.Content,{tagName:"p",className:"ugb-card__description",value:i}),C&&!!l.length&&wp.element.createElement(w.o.Content,{attrNameTemplate:"button%s",blockAttributes:e.attributes,text:l,icon:n["button".concat(t,"Icon")]||E,url:n["button".concat(t,"Url")],newTab:n["button".concat(t,"NewTab")],noFollow:n["button".concat(t,"NoFollow")]})))}))}})});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,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 q}),n.d(t,"name",function(){return V}),n.d(t,"settings",function(){return Y});var q=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(n,!0).forEach(function(t){G(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}({design:{type:"string",default:"basic"},columns:{type:"number",default:2},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(o.j)("column%s"),{showImage:{type:"boolean",default:!0}},Object(o.s)("image%s"),{},Object(o.h)("imageBackground%s%s",{type:"number",default:""},["","Tablet","Mobile"],["Width","Height"]),{},Object(o.x)("imageBackground%sWidthUnit",{type:"string",default:"%"}),{},Object(o.h)("image%sId",{type:"number",default:""},["1","2","3"]),{},Object(o.h)("image%sUrl",{type:"string",default:""},["1","2","3"]),{},Object(o.h)("title%s",{type:"string",source:"html",selector:".ugb-card__item%d .ugb-card__title",default:Object(l.__)("Title for This Block",i.i18n)},["1","2","3"]),{showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(o.C)("title%s"),{titleColor:{type:"string",default:""}},Object(o.h)("subtitle%s",{type:"string",source:"html",selector:".ugb-card__item%d .ugb-card__subtitle",default:Object(l.__)("Subtitle for This Block",i.i18n)},["1","2","3"]),{showSubtitle:{type:"boolean",default:!0}},Object(o.C)("subtitle%s"),{subtitleColor:{type:"string",default:""}},Object(o.h)("description%s",{type:"string",source:"html",selector:".ugb-card__item%d .ugb-card__description",default:Object(o.F)("medium")},["1","2","3"]),{showDescription:{type:"boolean",default:!0}},Object(o.C)("description%s"),{descriptionColor:{type:"string",default:""},showButton:{type:"boolean",default:!0}},Object(o.o)("button%s",{exclude:["Text","Url","NewTab","NoFollow"]}),{},Object(o.o)("button1%s",{selector:".ugb-card__item1 .ugb-button"}),{},Object(o.o)("button2%s",{selector:".ugb-card__item2 .ugb-button"}),{},Object(o.o)("button3%s",{selector:".ugb-card__item3 .ugb-button"}),{},Object(o.h)("%s%sAlign",{type:"string",default:""},["Image","Title","Subtitle","Description","Button"],["","Tablet","Mobile"]),{},Object(o.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Title","Subtitle","Description","Button"],["","Tablet","Mobile"]),{},Object(o.h)("Column%sBackgroundColor",{type:"string",default:""},["1","2","3"]),{hoverEffect:{type:"string",default:""}}),V="ugb/card",Y={title:Object(l.__)("Card",i.i18n),description:Object(l.__)("Describe a single subject in a small card. You can use this to describe your product, service or a person.",i.i18n),icon:a.f,category:"stackable",keywords:[Object(l.__)("Card",i.i18n),Object(l.__)("Stackable",i.i18n)],attributes:q,supports:{inserter:!i.disabledBlocks.includes(V)},deprecated:y,edit:L,save:H,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.card.custom-css.default","")}}};Object(c.addFilter)("stackable.card.advanced-column-spacing.paddings.selector","stackable/card",function(){return".ugb-card__content"}),Object(c.addFilter)("stackable.card.advanced-column-spacing.vertical-align.selector","stackable/card",function(){return".ugb-card__content"})},function(e,t,n){"use strict";n.r(t);var a=n(11),o=n(1),r=n(0),i=n(4);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(i.addFilter)("stackable.feature-grid.design.apply-block-attributes","stackable/feature-grid",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["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"]:[]),["title1","title2","title3","title4","description1","description2","description3","description4","button1Text","button1Url","button1NewTab","button1NoFollow","button2Text","button2Url","button2NewTab","button2NoFollow","button3Text","button3Url","button3NewTab","button3NoFollow","button4Text","button4Url","button4NewTab","button4NoFollow"]))}),Object(i.addFilter)("stackable.feature-grid.edit.designs","stackable/feature-grid",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(r.__)("Corporate Light 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-featuregrid-design-corporate-light-01.jpg",attributes:{borderRadius:0,columnBackgroundColor:"#ffffff",image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-light-01-03.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-light-01-02.jpg",image3Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-light-01-01.jpg",image1Alt:"Title",image2Alt:"Title",image3Alt:"Title",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleFontSize:34,titleColor:"#ff550a",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#ffb20b",buttonHoverEffect:"lift",buttonBorderRadius:100,imageBottomMargin:40,descriptionBottomMargin:40,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffd781",showTopSeparator:!1,showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#ff550a",showBlockDescription:!0,blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070",contentAlign:"left"}},corporateLight2:{label:Object(r.__)("Corporate Light 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-featuregrid-design-corporate-light-02.jpg",attributes:{borderRadius:0,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-light-02-01.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-light-02-02.jpg",image3Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-light-02-03.jpg",image1Alt:"Title",image2Alt:"Title",image3Alt:"Title",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleFontSize:34,titleColor:"#1e55d3",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#c49732",buttonHoverEffect:"lift",buttonBorderRadius:100,imageBottomMargin:40,descriptionBottomMargin:40,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffffff",showTopSeparator:!1,showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#c49732",showBlockDescription:!0,blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",blockDescriptionColor:"#707070",contentAlign:"left"}},corporateDark1:{label:Object(r.__)("Corporate Dark 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-featuregrid-design-corporate-dark-01.jpg",attributes:{borderRadius:0,image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-dark-01-01.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-dark-01-02.jpg",image3Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-dark-01-03.jpg",image1Alt:"Title",image2Alt:"Title",image3Alt:"Title",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleFontSize:34,titleColor:"#1785cb",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#c4e558",buttonHoverEffect:"lift",buttonBorderRadius:100,imageBottomMargin:40,descriptionBottomMargin:40,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#0e2448",showTopSeparator:!1,showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#eeffb5",showBlockDescription:!0,blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",contentAlign:"left"}},corporateDark2:{label:Object(r.__)("Corporate Dark 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-featuregrid-design-corporate-dark-02.jpg",attributes:{borderRadius:0,columnBackgroundColor:"#2f2f2f",image1Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-dark-02-04.jpg",image2Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-dark-02-02.jpg",image3Url:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-grid-corporate-dark-02-01.jpg",image1Alt:"Title",image2Alt:"Title",image3Alt:"Title",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleFontSize:34,titleColor:"#06c19d",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#06c19d",buttonHoverEffect:"lift",buttonBorderRadius:100,imageBottomMargin:40,descriptionBottomMargin:40,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#717171",showTopSeparator:!1,showBlockTitle:!0,blockTitleFontFamily:"Roboto Condensed",blockTitleFontWeight:"100",blockTitleLetterSpacing:.5,blockTitleAlign:"center",blockTitleColor:"#06c19d",showBlockDescription:!0,blockDescriptionBottomMargin:50,blockDescriptionFontFamily:"Serif",blockDescriptionAlign:"center",contentAlign:"left"}}})});var u=n(16),b=n(2),g=n(7),m=n.n(g),p=n(27),d=n.n(p),f=n(6);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){y(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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=[{attributes:{design:{type:"string",default:"basic"},columns:{type:"number",default:3},imageSize:{type:"number",default:100},imageID1:{type:"number"},imageID2:{type:"number"},imageID3:{type:"number"},imageUrl1:{type:"url"},imageUrl2:{type:"url"},imageUrl3:{type:"url"},imageAlt1:{type:"string"},imageAlt2:{type:"string"},imageAlt3:{type:"string"},title1:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-feature-grid__title",default:Object(r.__)("Title",o.i18n)},title2:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-feature-grid__title",default:Object(r.__)("Title",o.i18n)},title3:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-feature-grid__title",default:Object(r.__)("Title",o.i18n)},description1:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-feature-grid__description",default:Object(b.F)("short")},description2:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-feature-grid__description",default:Object(b.F)("short")},description3:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-feature-grid__description",default:Object(b.F)("short")},linkUrl1:{type:"string",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-button",attribute:"href",default:""},linkUrl2:{type:"string",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-button",attribute:"href",default:""},linkUrl3:{type:"string",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-button",attribute:"href",default:""},newTab1:{type:"boolean",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-button",attribute:"target",default:!1},newTab2:{type:"boolean",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-button",attribute:"target",default:!1},newTab3:{type:"boolean",source:"attribute",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-button",attribute:"target",default:!1},linkText1:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(1) .ugb-button span",default:Object(r.__)("Button text",o.i18n)},linkText2:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(2) .ugb-button span",default:Object(r.__)("Button text",o.i18n)},linkText3:{source:"html",selector:".ugb-feature-grid__item:nth-of-type(3) .ugb-button span",default:Object(r.__)("Button text",o.i18n)},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"link"},buttonIcon:{type:"string"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},hoverEffect:{type:"string",default:""},align:{type:"string"},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""}},save:function(e){var t=e.attributes,n=e.className,a=t.columns,o=t.imageSize,r=t.design,l=t.buttonColor,c=t.buttonTextColor,s=t.buttonSize,g=t.buttonBorderRadius,p=t.buttonDesign,h=void 0===p?"link":p,v=t.buttonIcon,w=t.borderRadius,O=void 0===w?12:w,k=t.shadow,_=void 0===k?3:k,j=m()([n,"ugb-feature-grid","ugb-feature-grid--columns-".concat(a)],Object(i.applyFilters)("stackable.feature-grid.mainclasses_1_17_2",y({},"ugb-feature-grid--design-".concat(r),r&&"basic"!==r),r,e)),C={borderRadius:"plain"!==r&&12!==O?O:void 0};return wp.element.createElement("div",{className:j},Object(i.applyFilters)("stackable.feature-grid.edit.output.before_1_17_2",null,r,e),Object(b.X)(1,a+1).map(function(n){var a=t["imageUrl".concat(n)],b=t["imageAlt".concat(n)],p=t["title".concat(n)],w=t["description".concat(n)],O=t["linkUrl".concat(n)],k=t["newTab".concat(n)],j=t["linkText".concat(n)],x=m()(["ugb-feature-grid__item"],Object(i.applyFilters)("stackable.feature-grid.itemclasses_1_17_2",y({},"ugb--shadow-".concat(_),"plain"!==r&&3!==_),r,n,e)),E=Object(i.applyFilters)("stackable.feature-grid.itemstyles_1_17_2",{image:{width:a?"".concat(o,"%"):void 0}},r,n,e);return wp.element.createElement("div",{className:x,style:C,key:n},a&&wp.element.createElement("div",{className:"ugb-feature-grid__image"},wp.element.createElement("img",{src:a,style:E.image,alt:d()(p||b)})),wp.element.createElement("div",{className:"ugb-feature-grid__content"},!f.RichText.isEmpty(p)&&wp.element.createElement(f.RichText.Content,{tagName:"h5",className:"ugb-feature-grid__title",value:p}),!f.RichText.isEmpty(w)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-feature-grid__description",value:w}),!f.RichText.isEmpty(j)&&wp.element.createElement(u.d,{size:s,url:O,newTab:k,color:c,text:j,icon:v,design:h,backgroundColor:l,borderRadius:g})))}),Object(i.applyFilters)("stackable.feature-grid.edit.output.after_1_17_2",null,r,e))},migrate:function(e){return v({},e,{image1Id:e.imageID1,image2Id:e.imageID2,image3Id:e.imageID3,image1Url:e.imageUrl1,image2Url:e.imageUrl2,image3Url:e.imageUrl3,image1Alt:e.imageAlt1,image2Alt:e.imageAlt2,image3Alt:e.imageAlt3,button1Url:e.linkUrl1,button2Url:e.linkUrl2,button3Url:e.linkUrl3,button1NewTab:e.newTab1,button2NewTab:e.newTab2,button3NewTab:e.newTab3,button1Text:e.linkText1,button2Text:e.linkText2,button3Text:e.linkText3,buttonBackgroundColor:e.buttonColor})}},{attributes:{design:{type:"string",default:"basic"},columns:{type:"number",default:3},imageSize:{type:"number",default:100},imageID1:{type:"number"},imageID2:{type:"number"},imageID3:{type:"number"},imageUrl1:{type:"url"},imageUrl2:{type:"url"},imageUrl3:{type:"url"},title1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) h5",default:"Title"},title2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) h5",default:"Title"},title3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) h5",default:"Title"},description1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-description",default:Object(b.F)("short")},description2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-description",default:Object(b.F)("short")},description3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-description",default:Object(b.F)("short")},linkUrl1:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",attribute:"href"},linkUrl2:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",attribute:"href"},linkUrl3:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",attribute:"href"},linkText1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",default:"Button text"},linkText2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",default:"Button text"},linkText3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",default:"Button text"}},save:function(e){var t=e.attributes,n=e.className,a=t.columns,o=t.imageSize,r=t.design,i=m()([n,"ugb-feature-grid","columns-".concat(a)],y({},"ugb-design-".concat(r),r&&"basic"!==r));return wp.element.createElement("div",{className:i},Object(b.X)(1,a+1).map(function(e){var n=t["imageUrl".concat(e)],a=t["title".concat(e)],r=t["description".concat(e)],i=t["linkUrl".concat(e)],l=t["linkText".concat(e)];return wp.element.createElement("div",{className:"ugb-feature-grid-item",key:e},n&&wp.element.createElement("img",{src:n,style:{width:"".concat(o,"%")},alt:a}),!f.RichText.isEmpty(a)&&wp.element.createElement(f.RichText.Content,{tagName:"h5",className:"ugb-fg-title",value:a}),!f.RichText.isEmpty(r)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-fg-description",value:r}),!f.RichText.isEmpty(l)&&wp.element.createElement("p",null,wp.element.createElement(f.RichText.Content,{tagName:"a",href:i,value:l,className:"ugb-fg-link"})))}))},migrate:function(e){return v({},e,{buttonDesign:"link",buttonSize:"normal",buttonBorderRadius:4,borderRadius:12,shadow:3,newTab1:!1,newTab2:!1,newTab3:!1})}},{attributes:{design:{type:"string",default:"basic"},columns:{type:"number",default:3},imageSize:{type:"number",default:100},imageID1:{type:"number"},imageID2:{type:"number"},imageID3:{type:"number"},imageUrl1:{type:"url"},imageUrl2:{type:"url"},imageUrl3:{type:"url"},title1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) h5",default:"Feature 1"},title2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) h5",default:"Feature 2"},title3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) h5",default:"Feature 3"},description1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-description",default:"Some feature description for an awesome feature"},description2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-description",default:"Some feature description for an awesome feature"},description3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-description",default:"Some feature description for an awesome feature"},linkUrl1:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",attribute:"href"},linkUrl2:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",attribute:"href"},linkUrl3:{type:"string",source:"attribute",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",attribute:"href"},linkText1:{source:"html",selector:".ugb-feature-grid > *:nth-child(1) .ugb-fg-link",default:"View More"},linkText2:{source:"html",selector:".ugb-feature-grid > *:nth-child(2) .ugb-fg-link",default:"View More"},linkText3:{source:"html",selector:".ugb-feature-grid > *:nth-child(3) .ugb-fg-link",default:"View More"}},save:function(e){var t=e.attributes,n=e.className,a=t.columns,o=t.imageSize,r=t.design,i=m()([n,"ugb-feature-grid","columns-".concat(a)],y({},"ugb-design-".concat(r),r&&"basic"!==r));return wp.element.createElement("div",{className:i},Object(b.X)(1,a+1).map(function(e){var n=t["imageUrl".concat(e)],a=t["title".concat(e)],r=t["description".concat(e)],i=t["linkUrl".concat(e)],l=t["linkText".concat(e)];return wp.element.createElement("div",{className:"ugb-feature-grid-item",key:e},n&&wp.element.createElement("img",{src:n,style:{width:"".concat(o,"%")}}),!f.RichText.isEmpty(a)&&wp.element.createElement(f.RichText.Content,{tagName:"h5",className:"ugb-fg-title",value:a}),!f.RichText.isEmpty(r)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-fg-description",value:r}),!f.RichText.isEmpty(l)&&wp.element.createElement("p",null,wp.element.createElement(f.RichText.Content,{tagName:"a",href:i,value:l,className:"ugb-fg-link"})))}))}}],O=n(3),k=n(10),_=n(90),j=n.n(_),C=n(91),x=n.n(C),E=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showImage,r=void 0===o||o,l=t.showTitle,c=void 0===l||l,s=t.showDescription,u=void 0===s||s,b=t.showButton,g=void 0===b||b;return Object(i.applyFilters)("stackable.feature-grid.show",{columnBackground:"plain"!==a,columnBackground1:"plain"!==a,columnBackground2:"plain"!==a,columnBackground3:"plain"!==a,columnBackground4:"plain"!==a,imageSpacing:r&&"horizontal"!==a,titleSpacing:c,descriptionSpacing:u,buttonSpacing:g},e)},T=n(13),S=n.n(T);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 A(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?A(n,!0).forEach(function(t){N(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(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 F=function(e){var t=Object(b.b)(e.attributes),n=E(e),a=e.attributes,o=a.columnBackgroundColor,r=void 0===o?"":o,l=a.showImage,c=void 0===l||l,s=a.contentAlign,u=void 0===s?"":s,g=[];n.columnBackground&&g.push({".ugb-feature-grid__item":{borderRadius:t("borderRadius","%spx !important")}});var m=Object(i.applyFilters)("stackable.feature-grid.styles.column-background","ugb-feature-grid__item",e.attributes);m&&g.push(P({},n.columnBackground?Object(b.l)("column%s",m,e.attributes,{importantBackgroundColor:!0}):{}));var p=e.attributes,d=p.imageAlign,f=void 0===d?"":d,h=p.imageTabletAlign,v=void 0===h?"":h,y=p.tabletContentAlign,w=void 0===y?"":y,O=p.imageMobileAlign,k=void 0===O?"":O,_=p.mobileContentAlign,j=void 0===_?"":_;c&&(g.push(P({},Object(b.v)("image%s","ugb-img",e.attributes))),g.push({".ugb-img, .ugb-feature-grid__image":{marginLeft:""!==f||""!==u?Object(b.T)(f||u)+" !important":void 0,marginRight:""!==f||""!==u?Object(b.U)(f||u)+" !important":void 0},tablet:{".ugb-img, .ugb-feature-grid__image":{marginLeft:""!==v||""!==w?Object(b.T)(v||w)+" !important":void 0,marginRight:""!==v||""!==w?Object(b.U)(v||w)+" !important":void 0}},mobile:{".ugb-img, .ugb-feature-grid__image":{marginLeft:""!==k||""!==j?Object(b.T)(k||j)+" !important":void 0,marginRight:""!==k||""!==j?Object(b.U)(k||j)+" !important":void 0}}}));var C=e.attributes,x=C.titleColor,T=void 0===x?"":x,A=C.showTitle;if(void 0===A||A){var F=Object(i.applyFilters)("stackable.feature-grid.styles.title.color-selector",".ugb-feature-grid__title",e);g.push(N({},F,{color:Object(b.cb)(T,n.columnBackground&&r)})),g.push({".ugb-feature-grid__title":P({},Object(b.D)("title%s","desktop",e.attributes),{textAlign:t("titleAlign")||t("contentAlign")}),tablet:{".ugb-feature-grid__title":P({},Object(b.D)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")||t("tabletContentAlign")})},mobile:{".ugb-feature-grid__title":P({},Object(b.D)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")||t("mobileContentAlign")})}})}var R=e.attributes,D=R.descriptionColor,M=void 0===D?"":D,z=R.showDescription;if(void 0===z||z){var I=Object(i.applyFilters)("stackable.feature-grid.styles.description.color-selector",".ugb-feature-grid__description",e);g.push(N({},I,{color:Object(b.cb)(M,n.columnBackground&&r)})),g.push({".ugb-feature-grid__description":P({},Object(b.D)("description%s","desktop",e.attributes),{textAlign:t("descriptionAlign")||t("contentAlign")}),tablet:{".ugb-feature-grid__description":P({},Object(b.D)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")||t("tabletContentAlign")})},mobile:{".ugb-feature-grid__description":P({},Object(b.D)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")||t("mobileContentAlign")})}})}var L=e.attributes,U=L.showButton,H=void 0===U||U,W=L.buttonDesign,G=void 0===W?"":W;return H&&(g.push(P({},Object(b.p)("button%s","ugb-button",P({},e.attributes,{buttonDesign:G||"plain"})))),g.push({".ugb-button-container":{textAlign:t("buttonAlign","%s !important")||t("contentAlign","%s !important")},tablet:{".ugb-button-container":{textAlign:t("buttonTabletAlign","%s !important")||t("tabletContentAlign","%s !important")}},mobile:{".ugb-button-container":{textAlign:t("buttonMobileAlign","%s !important")||t("mobileContentAlign","%s !important")}}})),n.imageSpacing&&g.push.apply(g,B(Object(b.y)(".ugb-feature-grid__image","image%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.titleSpacing&&g.push.apply(g,B(Object(b.y)(".ugb-feature-grid__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.descriptionSpacing&&g.push.apply(g,B(Object(b.y)(".ugb-feature-grid__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonSpacing&&g.push.apply(g,B(Object(b.y)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),S.a.all(g)},R=n(8),D=n(12),M=n(9),z=n(14);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}function L(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(i.addFilter)("stackable.feature-grid.edit.inspector.layout.before","stackable/feature-grid",function(e,t){var n=t.setAttributes,a=t.attributes.design,l=void 0===a?"basic":a;return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(O.w,{initialOpen:!0,selected:l,options:[{image:j.a,label:Object(r.__)("Basic",o.i18n),value:"basic"},{image:x.a,label:Object(r.__)("Plain",o.i18n),value:"plain"}].concat(L(Object(i.applyFilters)("stackable.feature-grid.edit.layouts",[]))),onChange:function(e){n({design:e})}},o.showProNotice&&wp.element.createElement(O.X,null)))}),Object(i.addFilter)("stackable.feature-grid.edit.inspector.style.before","stackable/feature-grid",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.columns,l=a.borderRadius,c=void 0===l?"":l,s=a.shadow,u=void 0===s?"":s,g=a.showTitle,m=void 0===g||g,p=a.showDescription,d=void 0===p||p,f=a.titleTag,h=void 0===f?"":f,v=a.titleColor,y=void 0===v?"":v,w=a.descriptionColor,k=void 0===w?"":w,_=a.showImage,j=void 0===_||_,C=a.showButton,x=void 0===C||C,T=a.image1Id,S=void 0===T?"":T,B=a.image2Id,A=void 0===B?"":B,P=a.image3Id,N=void 0===P?"":P,F=a.image4Id,D=void 0===F?"":F,z=E(t);return wp.element.createElement(M.Fragment,null,e,wp.element.createElement(R.PanelBody,{title:Object(r.__)("General",o.i18n)},wp.element.createElement(R.RangeControl,{label:Object(r.__)("Columns",o.i18n),value:i,onChange:function(e){return n({columns:e})},min:1,max:4}),z.columnBackground&&wp.element.createElement(O.b,{label:Object(r.__)("Border Radius",o.i18n),value:c,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12"}),z.columnBackground&&wp.element.createElement(O.b,{label:Object(r.__)("Shadow / Outline",o.i18n),value:u,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3"}),wp.element.createElement(O.s,{setAttributes:n,blockAttributes:t.attributes})),z.columnBackground&&wp.element.createElement(R.PanelBody,{title:Object(r.__)("Column Background",o.i18n),initialOpen:!1},wp.element.createElement(O.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(O.T,{title:Object(r.__)("Image",o.i18n),checked:j,onChange:function(e){return n({showImage:e})},toggleOnSetAttributes:["imageSize","imageShape","imageShapeFlipX","imageShapeFlipY","imageShapeStretch","imageWidth"].concat(L(Object(b.w)("image%sWidth")),["imageBorderRadius","imageShadow","imageBlendMode"]),toggleAttributeName:"showImage"},wp.element.createElement(O.N,{attrNameTemplate:"image%s",setAttributes:t.setAttributes,blockAttributes:t.attributes,onChangeImage:!1,onChangeAlt:!1,onChangeBlendMode:!1,onChangeSize:function(e){n({imageSize:e,image1Url:Object(b.J)(S,e||"medium"),image2Url:Object(b.J)(A,e||"medium"),image3Url:Object(b.J)(N,e||"medium"),image4Url:Object(b.J)(D,e||"medium")})}}),wp.element.createElement(O.Y,{attrNameTemplate:"Image%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(O.T,{title:Object(r.__)("Title",o.i18n),checked:m,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(L(Object(b.B)("title%s")),["titleTag","titleColor"],L(Object(b.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(O.jb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(O.E,{value:h||"h2",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(O.r,{value:y,onChange:function(e){return n({titleColor:e})},label:Object(r.__)("Title Color",o.i18n)}),wp.element.createElement(O.Y,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(O.T,{title:Object(r.__)("Description",o.i18n),checked:d,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(L(Object(b.B)("description%s")),["descriptionColor"],L(Object(b.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(O.jb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(O.r,{value:k,onChange:function(e){return n({descriptionColor:e})},label:Object(r.__)("Description Color",o.i18n)}),wp.element.createElement(O.Y,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(O.T,{title:Object(r.__)("Button",o.i18n),checked:x,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:L(Object(b.n)("button%s")),toggleAttributeName:"showButton"},wp.element.createElement(O.m,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes,design:t.attributes.buttonDesign||"plain",onChangeUrl:!1,onChangeNewTab:!1,onChangeNoFollow:!1}),wp.element.createElement(O.t,null),wp.element.createElement(O.Y,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(O.U,{initialOpen:!1,blockProps:t},z.imageSpacing&&wp.element.createElement(O.Y,{attrNameTemplate:"image%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(r.__)("Image",o.i18n),min:-50,max:100,allowReset:!0})),z.titleSpacing&&wp.element.createElement(O.Y,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(r.__)("Title",o.i18n),min:-50,max:100,allowReset:!0})),z.descriptionSpacing&&wp.element.createElement(O.Y,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(r.__)("Description",o.i18n),min:-50,max:100,allowReset:!0})),z.buttonSpacing&&wp.element.createElement(O.Y,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(r.__)("Button",o.i18n),min:-50,max:100,allowReset:!0}))))});var U=Object(D.compose)(k.g,k.e,k.c,Object(k.f)(),Object(k.b)(["Image%sAlign","Title%sAlign","Description%sAlign","Button%sAlign"]),Object(k.a)(F,{editorMode:!0}),Object(z.withSelect)(function(e,t){Object(b.f)(t.attributes.image1Id,e),Object(b.f)(t.attributes.image2Id,e),Object(b.f)(t.attributes.image3Id,e),Object(b.f)(t.attributes.image4Id,e)}))(function(e){var t=e.className,n=e.setAttributes,l=e.attributes,c=l.columns,s=void 0===c?3:c,u=l.titleTag,g=void 0===u?"":u,p=l.imageSize,d=l.imageShape,h=void 0===d?"":d,v=l.imageShapeStretch,y=void 0!==v&&v,w=l.imageWidth,k=void 0===w?"":w,_=l.imageShadow,j=void 0===_?"":_,C=l.design,x=void 0===C?"basic":C,T=l.shadow,S=void 0===T?"":T,B=l.showImage,A=void 0===B||B,P=l.showTitle,N=void 0===P||P,F=l.showDescription,R=void 0===F||F,D=l.showButton,z=void 0===D||D,L=l.buttonIcon,U=void 0===L?"":L,H=m()([t,"ugb-feature-grid--v2","ugb-feature-grid--columns-".concat(s),"ugb-feature-grid--design-".concat(x)],Object(i.applyFilters)("stackable.feature-grid.mainclasses",{},e)),W=E(e);return wp.element.createElement(O.j.Edit,{className:H,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(a.range)(1,s+1).map(function(t){var a=l["image".concat(t,"Url")],c=l["image".concat(t,"Id")],s=l["image".concat(t,"Alt")],u=l["title".concat(t)],d=l["description".concat(t)],v=l["button".concat(t,"Text")],w=m()(["ugb-feature-grid__item","ugb-feature-grid__item".concat(t)],Object(i.applyFilters)("stackable.feature-grid.itemclasses",I({},"ugb--shadow-".concat(S),W.columnBackground&&""!==S),e,t));return wp.element.createElement(O.z,{className:w,backgroundAttrName:"column%s",blockProps:e,showBackground:W.columnBackground&&W["columnBackground".concat(t)],key:t},A&&wp.element.createElement("div",{className:"ugb-feature-grid__image"},wp.element.createElement(O.R,{imageID:c,imageURL:a,imageSize:p,onRemove:function(){var e;n((I(e={},"image".concat(t,"Url"),""),I(e,"image".concat(t,"Id"),""),e))},onChange:function(e){var a,o=e.url,r=e.id;n((I(a={},"image".concat(t,"Url"),o),I(a,"image".concat(t,"Id"),r),a))},render:wp.element.createElement(O.H,{imageId:c,src:a,size:p,shape:l["image".concat(t,"Shape")]||h,shapeStretch:l["image".concat(t,"ShapeStretch")]||y,alt:s,shadow:j,width:k})})),wp.element.createElement("div",{className:"ugb-feature-grid__content"},N&&wp.element.createElement(f.RichText,{tagName:g||"h5",className:"ugb-feature-grid__title",value:u,onChange:function(e){return n(I({},"title".concat(t),e))},placeholder:Object(r.__)("Title",o.i18n),keepPlaceholderOnFocus:!0}),R&&wp.element.createElement(f.RichText,{tagName:"p",className:"ugb-feature-grid__description",value:d,onChange:function(e){return n(I({},"description".concat(t),e))},placeholder:Object(b.F)("short"),keepPlaceholderOnFocus:!0}),z&&wp.element.createElement(O.o,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:e.attributes,designDefault:"plain",text:v,icon:l["button".concat(t,"Icon")]||U,onChange:function(e){return n(I({},"button".concat(t,"Text"),e))},onChangeIcon:function(e){return n(I({},"button".concat(t,"Icon"),e))},url:l["button".concat(t,"Url")],newTab:l["button".concat(t,"NewTab")],noFollow:l["button".concat(t,"NoFollow")],onChangeUrl:function(e){return n(I({},"button".concat(t,"Url"),e))},onChangeNewTab:function(e){return n(I({},"button".concat(t,"NewTab"),e))},onChangeNoFollow:function(e){return n(I({},"button".concat(t,"NoFollow"),e))}})))}))}})});var H=Object(D.compose)(k.g,Object(k.a)(F))(function(e){var t=e.attributes,n=e.className,o=t.design,r=void 0===o?"basic":o,l=t.columns,c=void 0===l?3:l,s=t.imageShape,u=void 0===s?"":s,b=t.imageShapeStretch,g=void 0!==b&&b,p=t.imageWidth,d=void 0===p?"":p,h=t.imageShadow,v=void 0===h?"":h,y=t.titleTag,w=void 0===y?"":y,k=t.shadow,_=void 0===k?"":k,j=t.showImage,C=void 0===j||j,x=t.showTitle,T=void 0===x||x,S=t.showDescription,B=void 0===S||S,A=t.showButton,P=void 0===A||A,N=t.buttonIcon,F=void 0===N?"":N,R=m()([n,"ugb-feature-grid--v2","ugb-feature-grid--columns-".concat(c),"ugb-feature-grid--design-".concat(r)],Object(i.applyFilters)("stackable.feature-grid.mainclasses",{},e)),D=E(e);return wp.element.createElement(O.j.Save,{className:R,blockProps:e,render:function(){return wp.element.createElement(M.Fragment,null,Object(a.range)(1,c+1).map(function(n){var a,o,r,l=t["image".concat(n,"Url")],c=t["image".concat(n,"Id")],s=t["image".concat(n,"Alt")],b=t["title".concat(n)],p=t["description".concat(n)],h=t["button".concat(n,"Text")],y=m()(["ugb-feature-grid__item","ugb-feature-grid__item".concat(n)],Object(i.applyFilters)("stackable.feature-grid.itemclasses",(a={},o="ugb--shadow-".concat(_),r=D.columnBackground&&""!==_,o in a?Object.defineProperty(a,o,{value:r,enumerable:!0,configurable:!0,writable:!0}):a[o]=r,a),e,n));return wp.element.createElement(O.z,{className:y,backgroundAttrName:"column%s",blockProps:e,showBackground:D.columnBackground&&D["columnBackground".concat(n)],key:n},l&&C&&wp.element.createElement("div",{className:"ugb-feature-grid__image"},wp.element.createElement(O.H,{imageId:c,src:l,width:d,alt:s||T&&b,shadow:v,shape:t["image".concat(n,"Shape")]||u,shapeStretch:t["image".concat(n,"ShapeStretch")]||g})),wp.element.createElement("div",{className:"ugb-feature-grid__content"},T&&!f.RichText.isEmpty(b)&&wp.element.createElement(f.RichText.Content,{tagName:w||"h5",className:"ugb-feature-grid__title",value:b}),B&&!f.RichText.isEmpty(p)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-feature-grid__description",value:p}),P&&!!h.length&&wp.element.createElement(O.o.Content,{attrNameTemplate:"button%s",blockAttributes:e.attributes,designDefault:"plain",text:h,icon:t["button".concat(n,"Icon")]||F,url:t["button".concat(n,"Url")],newTab:t["button".concat(n,"NewTab")],noFollow:t["button".concat(n,"NoFollow")]})))}))}})}),W=n(15);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}n.d(t,"schema",function(){return Y}),n.d(t,"name",function(){return X}),n.d(t,"settings",function(){return K});var Y=q({design:{type:"string",default:"basic"},columns:{type:"number",default:3},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(b.j)("column%s"),{showImage:{type:"boolean",default:!0}},Object(b.q)("image%s",{exclude:["Url","Id","Alt","BlendMode"]}),{},Object(b.h)("image%sId",{type:"number",default:""},["1","2","3","4"]),{},Object(b.h)("image%sUrl",{type:"string",default:"",source:"attribute",selector:".ugb-feature-grid__item%d .ugb-feature-grid__image img",attribute:"src"},["1","2","3","4"]),{},Object(b.h)("image%sAlt",{type:"string",default:"",source:"attribute",selector:".ugb-feature-grid__item%d .ugb-feature-grid__image img",attribute:"alt"},["1","2","3","4"]),{},Object(b.h)("image%sShape",{type:"string",default:""},["1","2","3","4"]),{},Object(b.h)("image%s%s",{type:"boolean",default:!1},["1","2","3","4"],["ShapeFlipX","ShapeFlipY","ShapeStretch"]),{showTitle:{type:"boolean",default:!0}},Object(b.h)("title%s",{type:"string",source:"html",selector:".ugb-feature-grid__item%d .ugb-feature-grid__title",default:Object(r.__)("Title",o.i18n)},["1","2","3","4"]),{titleTag:{type:"string",defualt:""}},Object(b.C)("title%s"),{titleColor:{type:"string",default:""},showDescription:{type:"boolean",default:!0}},Object(b.h)("description%s",{type:"string",source:"html",selector:".ugb-feature-grid__item%d .ugb-feature-grid__description",default:Object(b.F)("short")},["1","2","3","4"]),{},Object(b.C)("description%s"),{descriptionColor:{type:"string",defualt:""},showButton:{type:"boolean",default:!0}},Object(b.o)("button%s",{exclude:["Text","Url","NewTab","NoFollow"]}),{},Object(b.o)("button1%s",{selector:".ugb-feature-grid__item1 .ugb-button"}),{},Object(b.o)("button2%s",{selector:".ugb-feature-grid__item2 .ugb-button"}),{},Object(b.o)("button3%s",{selector:".ugb-feature-grid__item3 .ugb-button"}),{},Object(b.o)("button4%s",{selector:".ugb-feature-grid__item4 .ugb-button"}),{},Object(b.h)("%s%sAlign",{type:"string",default:""},["Image","Title","Description","Button"],["","Tablet","Mobile"]),{},Object(b.h)("%s%sBottomMargin",{type:"number",default:""},["Image","Title","Description","Button"],["","Tablet","Mobile"]),{hoverEffect:{type:"string",default:""}},Object(b.h)("Column%sBackgroundColor",{type:"string",default:""},["1","2","3","4"])),X="ugb/feature-grid",K={title:Object(r.__)("Feature Grid",o.i18n),description:Object(r.__)("Display multiple product features or services. You can use Feature Grids one after another.",o.i18n),icon:W.k,category:"stackable",keywords:[Object(r.__)("Feature Grid",o.i18n),Object(r.__)("Stackable",o.i18n)],attributes:Y,supports:{align:["wide"],inserter:!o.disabledBlocks.includes(X)},deprecated:w,edit:U,save:H,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(i.applyFilters)("stackable.feature-grid.custom-css.default","")}}};Object(i.addFilter)("stackable.feature-grid.setAttributes","stackable/feature-grid/imageShape",function(e){return void 0!==e.imageShape?q({},e,{image1Shape:"",image2Shape:"",image3Shape:"",image4Shape:"",image1ShapeFlipX:"",image1ShapeFlipY:"",image1ShapeStretch:"",image2ShapeFlipX:"",image2ShapeFlipY:"",image2ShapeStretch:"",image3ShapeFlipX:"",image3ShapeFlipY:"",image3ShapeStretch:"",image4ShapeFlipX:"",image4ShapeFlipY:"",image4ShapeStretch:""}):void 0!==e.imageShapeFlipX?q({},e,{image1ShapeFlipX:"",image2ShapeFlipX:"",image3ShapeFlipX:"",image4ShapeFlipX:""}):void 0!==e.imageShapeFlipY?q({},e,{image1ShapeFlipY:"",image2ShapeFlipY:"",image3ShapeFlipY:"",image4ShapeFlipY:""}):void 0!==e.imageShapeStretch?q({},e,{image1ShapeStretch:"",image2ShapeStretch:"",image3ShapeStretch:"",image4ShapeStretch:""}):void 0!==e.columnBackgroundColor||void 0!==e.columnBackgroundColorType?q({},e,{column1BackgroundColor:"",column2BackgroundColor:"",column3BackgroundColor:"",column4BackgroundColor:""}):e})},function(e,t,n){"use strict";n.r(t);var a=n(11),o=n(1),r=n(0),i=n(4);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(i.addFilter)("stackable.feature.design.apply-block-attributes","stackable/feature",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return Object(a.omit)(e,["imageId"].concat(s(t&&t.imageId?["imageUrl"]:[]),["imageAlt","title","description","buttonText","buttonUrl","buttonNewTab","buttonNoFollow"]))}),Object(i.addFilter)("stackable.feature.edit.designs","stackable/feature",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(r.__)("Corporate Light 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-feature-design-corporate-light-01.jpg",attributes:{invert:!0,imageUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-corporate-light-01-01.jpg",imageWidth:580,imageHeight:506,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ff550a",descriptionFontFamily:"Serif",descriptionColor:"#707070",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ff550a",buttonBackgroundColor:"#ffffff",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#ffd781",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1}},corporateLight2:{label:Object(r.__)("Corporate Light 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-feature-design-corporate-light-02.jpg",attributes:{invert:!0,imageUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-corporate-light-02-01.jpg",imageWidth:580,imageHeight:506,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#ffffff",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",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:"wide",align:"full",blockBackgroundBackgroundColor:"#1e55d3",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1}},corporateDark1:{label:Object(r.__)("Corporate Dark 1",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-feature-design-corporate-dark-01.jpg",attributes:{invert:!0,imageUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-corporate-dark-01-03.jpg",imageWidth:580,imageHeight:506,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#eeffb5",descriptionFontFamily:"Serif",buttonFontFamily:"Roboto Condensed",buttonLetterSpacing:.5,buttonSize:"small",buttonBorderRadius:100,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundMediaUrl:"http://sandbox.gambit.ph/v2-dev43-free-for-template-saving/wp-content/uploads/sites/42/2019/11/stack-cta-corporate-dark-01-01.jpg",blockBackgroundFixedBackground:!0,descriptionColor:"#ffffff"}},corporateDark2:{label:Object(r.__)("Corporate Dark 2",o.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-feature-design-corporate-dark-02.jpg",attributes:{invert:!0,imageUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-feature-corporate-dark-02-01.jpg",imageWidth:580,imageHeight:506,titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,titleColor:"#06c19d",descriptionFontFamily:"Serif",descriptionColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonDesign:"basic",buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#06c19d",buttonHoverEffect:"lift",buttonBorderRadius:100,descriptionBottomMargin:55,paddingTop:130,paddingBottom:130,showBlockBackground:!0,blockInnerWidth:"wide",align:"full",blockBackgroundBackgroundColor:"#2f2f2f",blockBackgroundFixedBackground:!0,showTopSeparator:!1,showBottomSeparator:!1}}})});var u=n(16),b=n(2),g=n(7),m=n.n(g),p=n(27),d=n.n(p),f=n(6);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){y(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,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=[{attributes:{textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},imageAlt:{type:"string"},title:{source:"html",selector:"h2",default:Object(r.__)("Title for This Block",o.i18n)},description:{source:"html",selector:"p",default:Object(b.F)("medium")},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(r.__)("Button text",o.i18n)},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},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},design:{type:"string",default:"plain"},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:""}},save:function(e){var t,n=e.className,a=e.attributes,o=a.invert,r=a.contentAlign,l=a.textColor,c=a.imageAlt,s=void 0===c?"":c,b=a.imageSize,g=a.imageUrl,p=a.title,h=a.description,w=a.buttonURL,O=a.buttonNewTab,k=a.buttonText,_=a.buttonColor,j=a.buttonTextColor,C=a.buttonSize,x=a.buttonBorderRadius,E=a.buttonDesign,T=a.buttonIcon,S=a.backgroundColorType,B=void 0===S?"":S,A=a.backgroundColor,P=a.backgroundColor2,N=a.backgroundColorDirection,F=void 0===N?0:N,R=a.backgroundType,D=void 0===R?"":R,M=a.backgroundImageURL,z=a.backgroundOpacity,I=void 0===z?5:z,L=a.fixedBackground,U=a.contentWidth,H=a.align,W=a.design,G=void 0===W?"plain":W,q=a.borderRadius,V=void 0===q?12:q,Y=a.shadow,X=void 0===Y?3:Y,K=m()([n,"ugb-feature","ugb--background-opacity-"+1*Math.round(I/1),"ugb-feature--design-".concat(G)],Object(i.applyFilters)("stackable.feature.mainclasses_1_17_2",(y(t={},"ugb-feature--content-".concat(r),r),y(t,"ugb-feature--invert",o),y(t,"ugb--has-background","plain"!==G&&(A||M)),y(t,"ugb--has-background-image","plain"!==G&&M),y(t,"ugb--content-width","full"===H&&U),y(t,"ugb--shadow-".concat(X),"plain"!==G&&3!==X),y(t,"ugb--has-background-gradient","plain"!==G&&"gradient"===B),y(t,"ugb--has-background-video","plain"!==G&&"video"===D),t),G,e)),J=m()(["ugb-feature__image"],Object(i.applyFilters)("stackable.feature.imageclasses_1_17_2",y({},"ugb--shadow-".concat(X),"plain"===G),G,e)),$="plain"===G?{}:{backgroundColor:A||void 0,backgroundImage:M?"url(".concat(M,")"):void 0,backgroundAttachment:L?"fixed":void 0,"--ugb-background-color":M||"gradient"===B?A:void 0,"--ugb-background-color2":"gradient"===B&&P?P:void 0,"--ugb-background-direction":"gradient"===B?"".concat(F,"deg"):void 0,borderRadius:12!==V?V:void 0},Q=Object(i.applyFilters)("stackable.feature.styles_1_17_2",{main:v({"--image-size":b?"".concat(b,"px"):void 0},$),image:{borderRadius:"plain"===G?V:void 0}},G,e),Z=!f.RichText.isEmpty(p)&&wp.element.createElement(f.RichText.Content,{tagName:"h2",className:"ugb-feature__title",style:{color:l},value:p}),ee=!f.RichText.isEmpty(h)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-feature__description",style:{color:l},value:h}),te=!f.RichText.isEmpty(k)&&wp.element.createElement(u.d,{size:C,url:w,newTab:O,align:r,color:j,text:k,icon:T,design:E,backgroundColor:_,borderRadius:x}),ne=g&&wp.element.createElement("img",{className:J,style:Q.image,src:g,alt:d()(p||s)}),ae={titleComp:Z,descriptionComp:ee,buttonComp:te,imageComp:ne};return wp.element.createElement("div",{className:K,style:Q.main},"basic"===G&&"video"===D&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:M}),Object(i.applyFilters)("stackable.feature.save.output.before_1_17_2",null,G,e),Object(i.applyFilters)("stackable.feature.save.output_1_17_2",wp.element.createElement("div",{className:"ugb-content-wrapper"},wp.element.createElement("div",{className:"ugb-feature__content"},Z,ee,te),wp.element.createElement("div",{className:"ugb-feature__image-side"},ne)),ae,e))},migrate:function(e){var t=function(e){return(e||"").replace(/\n\.ugb-feature(\s*{)/g,"\n.ugb-feature__item$1")},n={overlap:"overlap-bg",overlap2:"overlap-bg2",overlap3:"overlap-bg4"};return v({},e,{design:Object.keys(n).includes(e.design)?n[e.design]:e.design,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled),titleColor:e.textColor,descriptionColor:e.textColor,imageWidth:e.imageSize,imageId:e.imageID,imageUrl:e.imageUrl,buttonUrl:e.buttonURL,buttonNewTab:e.buttonNewTab,buttonBackgroundColor:e.buttonColor,columnBackgroundColorType:e.backgroundColorType,columnBackgroundColor:e.backgroundColor,columnBackgroundColor2:e.backgroundColor2,columnBackgroundGradientDirection:e.backgroundColorDirection,columnBackgroundMediaId:e.backgroundImageID,columnBackgroundMediaUrl:e.backgroundImageURL,columnBackgroundTintStrength:e.backgroundOpacity,columnFixedBackground:e.fixedBackground})}},{attributes:{textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},title:{source:"html",selector:"h2",default:"Title for This Block"},description:{source:"html",selector:"p",default:Object(b.F)("medium")},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href"},buttonText:{source:"html",selector:".ugb-button span",default:"Button text"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1}},save:function(e){var t,n=e.className,a=e.attributes,o=a.invert,r=a.contentAlign,i=a.textColor,l=a.imageSize,c=a.imageUrl,s=a.title,b=a.description,g=a.buttonURL,p=a.buttonText,d=a.buttonColor,h=a.buttonTextColor,v=a.buttonSize,w=a.buttonBorderRadius,O=a.buttonDesign,k=a.buttonIcon,_=a.backgroundColor,j=a.backgroundImageURL,C=a.backgroundOpacity,x=a.fixedBackground,E=m()([n,"ugb-feature","ugb-has-background-opacity-"+1*Math.round(C/1)],(y(t={},"ugb-content-".concat(r),r),y(t,"ugb-invert",o),y(t,"ugb-has-background",_||j),y(t,"ugb-has-background-image",j),t)),T={"--image-size":l?"".concat(l,"px"):void 0,backgroundColor:_||void 0,backgroundImage:j?"url(".concat(j,")"):void 0,backgroundAttachment:x?"fixed":void 0,"--ugb-background-color":j?_:void 0};return wp.element.createElement("div",{className:E,style:T},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!f.RichText.isEmpty(s)&&wp.element.createElement(f.RichText.Content,{tagName:"h2",style:{color:i},value:s}),!f.RichText.isEmpty(b)&&wp.element.createElement(f.RichText.Content,{tagName:"p",style:{color:i},value:b}),!f.RichText.isEmpty(p)&&wp.element.createElement(u.b,{size:v,url:g,align:r,color:h,text:p,icon:k,design:O,backgroundColor:d,borderRadius:w})),wp.element.createElement("div",{className:"ugb-feature-image-side"},c&&wp.element.createElement("img",{src:c,alt:s}))))},migrate:function(e){var t=e.backgroundColor||e.backgroundImageURL?"basic":"plain",n=(e.className||"").replace(/align\w+/,"").trim();return v({},e,{design:t,contentWidth:"full"===e.align||"alignfull"===e.className,borderRadius:"plain"===t?0:12,shadow:"plain"===t?0:3,className:n||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align,buttonNewTab:!1})}},{attributes:{textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},title:{source:"html",selector:"h2",default:"Feature Title"},description:{source:"html",selector:"p",default:"Some feature description for an awesome feature"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:"Learn More"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1}},save:function(e){var t,n=e.className,a=e.attributes,o=a.invert,r=a.contentAlign,i=a.textColor,l=a.imageSize,c=a.imageUrl,s=a.title,b=a.description,g=a.buttonURL,p=a.buttonText,d=a.buttonColor,h=a.buttonTextColor,v=a.buttonSize,w=a.buttonBorderRadius,O=a.buttonDesign,k=a.buttonIcon,_=a.backgroundColor,j=a.backgroundImageURL,C=a.backgroundOpacity,x=a.fixedBackground,E=m()([n,"ugb-feature","ugb-has-background-opacity-"+1*Math.round(C/1)],(y(t={},"ugb-content-".concat(r),r),y(t,"ugb-invert",o),y(t,"ugb-has-background",_||j),y(t,"ugb-has-background-image",j),t)),T={"--image-size":l?"".concat(l,"px"):void 0,backgroundColor:_||void 0,backgroundImage:j?"url(".concat(j,")"):void 0,backgroundAttachment:x?"fixed":void 0,"--ugb-background-color":j?_:void 0};return wp.element.createElement("div",{className:E,style:T},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!f.RichText.isEmpty(s)&&wp.element.createElement(f.RichText.Content,{tagName:"h2",style:{color:i},value:s}),!f.RichText.isEmpty(b)&&wp.element.createElement(f.RichText.Content,{tagName:"p",style:{color:i},value:b}),!f.RichText.isEmpty(p)&&wp.element.createElement(u.g,{size:v,url:g,align:r,color:h,text:p,icon:k,design:O,backgroundColor:d,borderRadius:w})),wp.element.createElement("div",{className:"ugb-feature-image-side"},c&&wp.element.createElement("img",{src:c,alt:s}))))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return v({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{backgroundColor:{type:"string"},textColor:{type:"string"},invert:{type:"boolean",default:!1},contentAlign:{type:"string",default:"left"},imageSize:{type:"number",default:400},imageID:{type:"number"},imageUrl:{type:"url"},title:{source:"html",selector:"h2",default:"Feature Title"},description:{source:"html",selector:"p",default:"Some feature description for an awesome feature"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},buttonText:{source:"html",selector:".ugb-button-inner",default:"Learn More"},buttonColor:{type:"string"},buttonTextColor:{type:"string"},buttonSize:{type:"string",default:"normal"},buttonBorderRadius:{type:"number",default:4}},save:function(e){var t,n=e.className,a=e.attributes,o=a.invert,r=a.contentAlign,i=a.backgroundColor,l=a.textColor,c=a.imageSize,s=a.imageUrl,b=a.title,g=a.description,p=a.buttonURL,d=a.buttonText,h=a.buttonColor,v=a.buttonTextColor,w=a.buttonSize,O=a.buttonBorderRadius,k=m()([n,"ugb-feature"],(y(t={"ugb-has-background":i},"ugb-content-".concat(r),r),y(t,"ugb-invert",o),t)),_={backgroundColor:i||void 0,"--image-size":c?"".concat(c,"px"):void 0};return wp.element.createElement("div",{className:k,style:_},wp.element.createElement("div",{className:"ugb-feature-wrapper"},wp.element.createElement("div",null,!f.RichText.isEmpty(b)&&wp.element.createElement(f.RichText.Content,{tagName:"h2",style:{color:l},value:b}),!f.RichText.isEmpty(g)&&wp.element.createElement(f.RichText.Content,{tagName:"p",style:{color:l},value:g}),!f.RichText.isEmpty(d)&&wp.element.createElement(u.f,{size:w,url:p,align:r,color:v,text:d,backgroundColor:h,borderRadius:O})),wp.element.createElement("div",{className:"ugb-feature-image-side"},s&&wp.element.createElement("img",{src:s,alt:b}))))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return v({},e,{className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}}],O=n(3),k=n(10),_=n(92),j=n.n(_),C=n(93),x=n.n(C),E=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.showTitle,r=void 0===o||o,l=t.showDescription,c=void 0===l||l,s=t.showButton,u=void 0===s||s;return Object(i.applyFilters)("stackable.feature.show",{imageColumnWidth:["basic","plain","half"].includes(a),containerWidth:a.match(/^overlap/),containerOffset:a.match(/^overlap(.*)?[2-5]$/),reverseHorizontally:!a.match(/^overlap-?\w*[45]$/),borderRadius:"plain"!==a,columnBackground:"plain"!==a,featuredImageAsBackground:a.match(/^(overlap-bg|half)/),titleSpacing:r,descriptionSpacing:c,buttonSpacing:u},e)},T=n(13),S=n.n(T);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 A(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?A(n,!0).forEach(function(t){N(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(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 F=function(e){var t=Object(b.b)(e.attributes),n=E(e),a=e.attributes,o=a.design,r=void 0===o?"plain":o,i=a.columnBackgroundColor,l=void 0===i?"":i,c=a.invert,s=void 0!==c&&c,u=[],g=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=("number"!=typeof e?50:e)/100*2,a=2-n;return t?"".concat(a.toFixed(2),"fr ").concat(n.toFixed(2),"fr"):"".concat(n.toFixed(2),"fr ").concat(a.toFixed(2),"fr")};if(n.imageColumnWidth&&u.push({".ugb-feature__item":{gridTemplateColumns:t("imageColumnWidth")?g(t("imageColumnWidth"),!s)+" !important":void 0},tablet:{".ugb-feature__item":{gridTemplateColumns:t("imageColumnTabletWidth")?g(t("imageColumnTabletWidth"),!s)+" !important":void 0}},mobile:{".ugb-feature__item":{gridTemplateColumns:t("imageColumnMobileWidth")?g(t("imageColumnMobileWidth"),!s)+" !important":void 0}}}),n.borderRadius){var m="basic"===r||"half"===r?".ugb-feature__item":".ugb-feature__content";u.push(N({},m,{borderRadius:t("borderRadius","%spx !important")}))}if(n.columnBackground){var p="basic"===r?"ugb-feature__item":"ugb-feature__content";u.push(P({},n.columnBackground?Object(b.l)("column%s",p,e.attributes,{importantBackgroundColor:!0}):{}))}n.featuredImageAsBackground?(u.push(P({},Object(b.t)("image%s","ugb-feature__image",e.attributes))),u.push({".ugb-feature__item":{height:t("imageBackgroundHeight","%spx !important")},tablet:{".ugb-feature__item":{height:t("imageBackgroundTabletHeight","%spx !important")}},mobile:{".ugb-feature__item":{height:t("imageBackgroundMobileHeight","%spx !important")}}})):u.push(P({},n.featuredImageAsBackground?{}:Object(b.v)("image%s","ugb-img",e.attributes)));var d=e.attributes,f=d.titleColor,h=void 0===f?"":f,v=d.showTitle;(void 0===v||v)&&u.push({".ugb-feature__title":P({},Object(b.D)("title%s","desktop",e.attributes),{color:Object(b.cb)(h,n.columnBackground&&l),textAlign:t("titleAlign")}),tablet:{".ugb-feature__title":P({},Object(b.D)("title%s","tablet",e.attributes),{textAlign:t("titleTabletAlign")})},mobile:{".ugb-feature__title":P({},Object(b.D)("title%s","mobile",e.attributes),{textAlign:t("titleMobileAlign")})}});var y=e.attributes,w=y.descriptionColor,O=void 0===w?"":w,k=y.showDescription;(void 0===k||k)&&u.push({".ugb-feature__description":P({},Object(b.D)("description%s","desktop",e.attributes),{color:Object(b.cb)(O,n.columnBackground&&l),textAlign:t("descriptionAlign")}),tablet:{".ugb-feature__description":P({},Object(b.D)("description%s","tablet",e.attributes),{textAlign:t("descriptionTabletAlign")})},mobile:{".ugb-feature__description":P({},Object(b.D)("description%s","mobile",e.attributes),{textAlign:t("descriptionMobileAlign")})}});var _=e.attributes.showButton;return(void 0===_||_)&&(u.push(P({},Object(b.p)("button%s","ugb-button",e.attributes))),u.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")}}})),n.titleSpacing&&u.push.apply(u,B(Object(b.y)(".ugb-feature__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.descriptionSpacing&&u.push.apply(u,B(Object(b.y)(".ugb-feature__description","description%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonSpacing&&u.push.apply(u,B(Object(b.y)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),S.a.all(u)},R=n(8),D=n(9),M=n(12),z=n(14);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}function L(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(i.addFilter)("stackable.feature.edit.inspector.layout.before","stackable/feature",function(e,t){var n=t.setAttributes,a=t.attributes.design,l=void 0===a?"plain":a;return wp.element.createElement(D.Fragment,null,e,wp.element.createElement(O.w,{initialOpen:!0,selected:l,options:[{image:j.a,label:Object(r.__)("Basic",o.i18n),value:"basic"},{image:x.a,label:Object(r.__)("Plain",o.i18n),value:"plain"}].concat(L(Object(i.applyFilters)("stackable.feature.edit.layouts",[]))),onChange:function(e){n({design:e})}},o.showProNotice&&wp.element.createElement(O.X,null)))}),Object(i.addFilter)("stackable.feature.edit.inspector.style.before","stackable/feature",function(e,t){var n=t.setAttributes,a=t.attributes,i=a.borderRadius,l=void 0===i?"":i,c=a.shadow,s=void 0===c?"":c,u=a.showTitle,g=void 0===u||u,m=a.titleTag,p=void 0===m?"":m,d=a.titleColor,f=void 0===d?"":d,h=a.invert,v=void 0!==h&&h,y=a.showButton,w=void 0===y||y,k=a.showDescription,_=void 0===k||k,j=a.descriptionColor,C=void 0===j?"":j,x=E(t);return wp.element.createElement(D.Fragment,null,e,wp.element.createElement(R.PanelBody,{title:Object(r.__)("General",o.i18n)},x.imageColumnWidth&&wp.element.createElement(O.Y,{attrNameTemplate:"imageColumn%sWidth",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(r.__)("Image Column Width",o.i18n),min:0,max:100,allowReset:!0,placeholder:"50"})),x.containerWidth&&wp.element.createElement(O.Y,{attrNameTemplate:"container%sWidth",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(r.__)("Container Width",o.i18n),min:300,max:1e3,allowReset:!0})),x.containerOffset&&wp.element.createElement(O.Y,{attrNameTemplate:"container%sOffset",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(r.__)("Container Offset",o.i18n),min:0,max:300,allowReset:!0})),x.reverseHorizontally&&wp.element.createElement(R.ToggleControl,{label:Object(r.__)("Reverse Horizontally",o.i18n),checked:v,onChange:function(e){return n({invert:e})}}),x.borderRadius&&wp.element.createElement(O.b,{label:Object(r.__)("Border Radius",o.i18n),value:l,onChange:function(e){return n({borderRadius:e})},min:0,max:50,allowReset:!0,placeholder:"12"}),x.columnBackground&&wp.element.createElement(O.b,{label:Object(r.__)("Shadow / Outline",o.i18n),value:s,onChange:function(e){return n({shadow:e})},min:0,max:9,allowReset:!0,placeholder:"3"}),wp.element.createElement(O.s,{setAttributes:n,blockAttributes:t.attributes})),x.columnBackground&&wp.element.createElement(R.PanelBody,{title:Object(r.__)("Background",o.i18n),initialOpen:!1},wp.element.createElement(O.g,{attrNameTemplate:"column%s",setAttributes:n,blockAttributes:t.attributes})),wp.element.createElement(R.PanelBody,{title:Object(r.__)("Image",o.i18n),initialOpen:!1},!x.featuredImageAsBackground&&wp.element.createElement(O.N,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes,onChangeBlendMode:!1}),x.featuredImageAsBackground&&wp.element.createElement(D.Fragment,null,wp.element.createElement(O.K,{attrNameTemplate:"image%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(O.Y,{attrNameTemplate:"imageBackground%sHeight",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(r.__)("Image Height",o.i18n),min:400,max:1e3,allowReset:!0})))),wp.element.createElement(O.T,{title:Object(r.__)("Title",o.i18n),checked:g,onChange:function(e){return n({showTitle:e})},toggleOnSetAttributes:[].concat(L(Object(b.B)("title%s")),["titleTag","titleColor"],L(Object(b.w)("Title%sAlign"))),toggleAttributeName:"showTitle"},wp.element.createElement(O.jb,{attrNameTemplate:"title%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(O.E,{value:p||"h2",onChange:function(e){return n({titleTag:e})}}),wp.element.createElement(O.r,{value:f,onChange:function(e){return n({titleColor:e})},label:Object(r.__)("Title Color",o.i18n)}),wp.element.createElement(O.Y,{attrNameTemplate:"Title%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(O.T,{title:Object(r.__)("Description",o.i18n),checked:_,onChange:function(e){return n({showDescription:e})},toggleOnSetAttributes:[].concat(L(Object(b.B)("description%s")),["descriptionColor"],L(Object(b.w)("description%sAlign"))),toggleAttributeName:"showDescription"},wp.element.createElement(O.jb,{attrNameTemplate:"description%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(O.r,{value:C,onChange:function(e){return n({descriptionColor:e})},label:Object(r.__)("Description Color",o.i18n)}),wp.element.createElement(O.Y,{attrNameTemplate:"description%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(O.T,{title:Object(r.__)("Button",o.i18n),checked:w,onChange:function(e){return n({showButton:e})},toggleOnSetAttributes:[].concat(L(Object(b.n)("button%s")),L(Object(b.w)("button%sAlign"))),toggleAttributeName:"showButton"},wp.element.createElement(O.m,{attrNameTemplate:"button%s",setAttributes:n,blockAttributes:t.attributes}),wp.element.createElement(O.t,null),wp.element.createElement(O.Y,{attrNameTemplate:"button%sAlign",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.e,{label:Object(r.__)("Align",o.i18n)}))),wp.element.createElement(O.U,{initialOpen:!1,blockProps:t},x.titleSpacing&&wp.element.createElement(O.Y,{attrNameTemplate:"title%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(r.__)("Title",o.i18n),min:-50,max:100,allowReset:!0})),x.descriptionSpacing&&wp.element.createElement(O.Y,{attrNameTemplate:"description%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(r.__)("Description",o.i18n),min:-50,max:100,allowReset:!0})),x.buttonSpacing&&wp.element.createElement(O.Y,{attrNameTemplate:"button%sBottomMargin",setAttributes:n,blockAttributes:t.attributes},wp.element.createElement(O.b,{label:Object(r.__)("Button",o.i18n),min:-50,max:100,allowReset:!0}))))});var U=Object(M.compose)(k.g,k.e,k.c,Object(k.f)(),Object(k.b)(["Title%sAlign","Description%sAlign","Button%sAlign"]),Object(k.a)(F,{editorMode:!0}),Object(z.withSelect)(function(e,t){Object(b.f)(t.attributes.imageId,e)}))(function(e){var t,n=e.className,a=e.setAttributes,l=e.attributes,c=l.title,s=l.design,u=void 0===s?"basic":s,g=l.shadow,p=void 0===g?"":g,d=l.invert,h=void 0!==d&&d,v=l.showTitle,y=void 0===v||v,w=l.titleTag,k=void 0===w?"":w,_=l.showDescription,j=void 0===_||_,C=l.description,x=void 0===C?"":C,T=l.imageId,S=void 0===T?"":T,B=l.imageUrl,A=void 0===B?"":B,P=l.imageAlt,N=void 0===P?"":P,F=l.imageSize,R=void 0===F?"large":F,M=l.imageShape,z=void 0===M?"":M,L=l.imageShapeStretch,U=void 0!==L&&L,H=l.imageWidth,W=void 0===H?"":H,G=l.imageHeight,q=void 0===G?"":G,V=l.imageShadow,Y=void 0===V?"":V,X=l.showButton,K=void 0===X||X,J=E(e),$=m()([n,"ugb-feature--v2","ugb-feature--design-".concat(u)],Object(i.applyFilters)("stackable.feature.mainclasses",{"ugb-feature--invert":J.reverseHorizontally&&h},u,e)),Q=m()(["ugb-feature__item"],Object(i.applyFilters)("stackable.feature.itemclasses",I({},"ugb--shadow-".concat(p),J.columnBackground&&("basic"===u||"half"===u)&&""!==p),e)),Z=m()(["ugb-feature__content"],Object(i.applyFilters)("stackable.feature.contentclasses",I({},"ugb--shadow-".concat(p),J.columnBackground&&"basic"!==u&&"half"!==u&&""!==p),e)),ee=m()(["ugb-feature__image"],Object(i.applyFilters)("stackable.feature.imageclasses",(I(t={},"ugb--shadow-".concat(Y),J.columnBackground&&"plain"===u&&""===z),I(t,"ugb-feature__image-has-shape",""!==z),t),u,e));return wp.element.createElement(O.j.Edit,{className:$,blockProps:e,render:function(){return wp.element.createElement(D.Fragment,null,wp.element.createElement(O.z,{className:Q,backgroundAttrName:"column%s",blockProps:e,showBackground:J.columnBackground&&"basic"===u},wp.element.createElement(O.z,{className:Z,backgroundAttrName:"column%s",blockProps:e,showBackground:J.columnBackground&&"basic"!==u},y&&wp.element.createElement(f.RichText,{tagName:k||"h2",className:"ugb-feature__title",value:c,onChange:function(e){return a({title:e})},placeholder:Object(r.__)("Title for This Block",o.i18n),keepPlaceholderOnFocus:!0}),j&&wp.element.createElement(f.RichText,{tagName:"p",className:"ugb-feature__description",value:x,onChange:function(e){return a({description:e})},placeholder:Object(b.F)("medium"),keepPlaceholderOnFocus:!0}),K&&wp.element.createElement(O.o,{attrNameTemplate:"button%s",setAttributes:a,blockAttributes:e.attributes})),!J.featuredImageAsBackground&&wp.element.createElement("div",{className:"ugb-feature__image-side"},wp.element.createElement(O.R,{imageID:S,imageURL:A,imageSize:R,className:ee,onRemove:function(){a({imageUrl:"",imageId:"",imageAlt:"",imageWidth:"",imageHeight:""})},onChange:function(e){a({imageUrl:e.url,imageId:e.id,imageAlt:e.alt,imageWidth:e.width,imageHeight:e.height})},render:wp.element.createElement(O.H,{imageId:S,src:A,size:R,shape:z,shapeStretch:U,alt:N,width:W,height:q,shadow:Y})})),J.featuredImageAsBackground&&wp.element.createElement(O.R,{imageID:S,imageURL:A,imageSize:R,className:ee,onRemove:function(){a({imageUrl:"",imageId:"",imageAlt:"",imageWidth:"",imageHeight:""})},onChange:function(e){a({imageUrl:e.url,imageId:e.id,imageAlt:e.alt,imageWidth:e.width,imageHeight:e.height})}})))}})});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 W=Object(M.compose)(k.g,Object(k.a)(F))(function(e){var t,n=e.className,a=e.attributes,o=a.title,r=a.design,l=void 0===r?"basic":r,c=a.shadow,s=void 0===c?"":c,u=a.invert,b=void 0!==u&&u,g=a.showTitle,p=void 0===g||g,d=a.titleTag,h=void 0===d?"":d,v=a.showDescription,y=void 0===v||v,w=a.description,k=void 0===w?"":w,_=a.imageId,j=void 0===_?"":_,C=a.imageUrl,x=void 0===C?"":C,T=a.imageAlt,S=void 0===T?"":T,B=a.imageShape,A=void 0===B?"":B,P=a.imageWidth,N=void 0===P?"":P,F=a.imageHeight,R=void 0===F?"":F,M=a.imageShadow,z=void 0===M?"":M,I=a.showButton,L=void 0===I||I,U=a.buttonUrl,W=void 0===U?"":U,G=a.buttonNewTab,q=void 0!==G&&G,V=a.buttonSize,Y=void 0===V?"normal":V,X=a.buttonText,K=void 0===X?"":X,J=a.buttonShadow,$=void 0===J?0:J,Q=a.buttonHoverEffect,Z=void 0===Q?"":Q,ee=a.buttonIcon,te=void 0===ee?"":ee,ne=a.buttonIconPosition,ae=void 0===ne?"":ne,oe=a.buttonDesign,re=void 0===oe?"basic":oe,ie=a.buttonHoverGhostToNormal,le=void 0!==ie&&ie,ce=a.buttonNoFollow,se=void 0!==ce&&ce,ue=E(e),be=m()([n,"ugb-feature--v2","ugb-feature--design-".concat(l)],Object(i.applyFilters)("stackable.feature.mainclasses",{"ugb-feature--invert":ue.reverseHorizontally&&b},l,e)),ge=m()(["ugb-feature__item"],Object(i.applyFilters)("stackable.feature.itemclasses",H({},"ugb--shadow-".concat(s),ue.columnBackground&&("basic"===l||"half"===l)&&""!==s),e)),me=m()(["ugb-feature__content"],Object(i.applyFilters)("stackable.feature.contentclasses",H({},"ugb--shadow-".concat(s),ue.columnBackground&&"basic"!==l&&"half"!==l&&""!==s),e)),pe=m()(["ugb-feature__image"],Object(i.applyFilters)("stackable.feature.imageclasses",(H(t={},"ugb--shadow-".concat(z),ue.columnBackground&&"plain"===l&&""===A),H(t,"ugb-feature__image-has-shape",""!==A),t),l,e));return wp.element.createElement(O.j.Save,{className:be,blockProps:e,render:function(){return wp.element.createElement(D.Fragment,null,wp.element.createElement(O.z,{className:ge,backgroundAttrName:"column%s",blockProps:e,showBackground:ue.columnBackground&&"basic"===l},wp.element.createElement(O.z,{className:me,backgroundAttrName:"column%s",blockProps:e,showBackground:ue.columnBackground&&"basic"!==l},p&&!f.RichText.isEmpty(o)&&wp.element.createElement(f.RichText.Content,{tagName:h||"h2",className:"ugb-feature__title",value:o}),y&&!f.RichText.isEmpty(k)&&wp.element.createElement(f.RichText.Content,{tagName:"p",className:"ugb-feature__description",value:k}),L&&!!K.length&&wp.element.createElement(O.n.Content,{size:""!==Y?Y:"normal",text:K,icon:te,newTab:""!==q&&q,url:W,noFollow:se,hoverEffect:Z,ghostToNormalEffect:le,shadow:$,iconPosition:ae,design:""!==re?re:"basic"})),!ue.featuredImageAsBackground&&wp.element.createElement("div",{className:"ugb-feature__image-side"},wp.element.createElement(O.H,{imageId:j,className:pe,src:x,width:N,height:R,alt:S,shape:A,shadow:z})),ue.featuredImageAsBackground&&wp.element.createElement("div",{className:"ugb-feature__image"})))}})}),G=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 V(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 Y}),n.d(t,"name",function(){return X}),n.d(t,"settings",function(){return K});var Y=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(n,!0).forEach(function(t){V(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}({design:{type:"string",default:"plain"}},Object(b.x)("imageColumn%sWidth",{type:"number",default:""}),{},Object(b.x)("container%sWidth",{type:"number",default:""}),{},Object(b.x)("container%sOffset",{type:"number",default:""}),{invert:{type:"boolean",default:!1},borderRadius:{type:"number",default:""},shadow:{type:"number",default:""}},Object(b.j)("column%s"),{},Object(b.q)("image%s"),{},Object(b.s)("image%s"),{imageShapeStretch:{type:"boolean",default:!0}},Object(b.x)("imageBackground%sHeight",{type:"number",default:""}),{title:{source:"html",selector:".ugb-feature__title",default:Object(r.__)("Title for This Block",o.i18n)},showTitle:{type:"boolean",default:!0},titleTag:{type:"string",defualt:""}},Object(b.C)("title%s"),{titleColor:{type:"string",default:""},description:{source:"html",selector:".ugb-feature__description",default:Object(b.F)("medium")},showDescription:{type:"boolean",default:!0}},Object(b.C)("description%s"),{descriptionColor:{type:"string",defualt:""},showButton:{type:"boolean",default:!0}},Object(b.o)("button%s",{selector:".ugb-button"}),{},Object(b.x)("title%sBottomMargin",{type:"number",default:""}),{},Object(b.x)("description%sBottomMargin",{type:"number",default:""}),{},Object(b.x)("button%sBottomMargin",{type:"number",default:""}),{},Object(b.h)("%s%sAlign",{type:"string",default:""},["Title","Description","Button"],["","Tablet","Mobile"]),{hoverEffect:{type:"string",default:""}}),X="ugb/feature",K={title:Object(r.__)("Feature",o.i18n),description:Object(r.__)("Display a product feature or a service in a large area.",o.i18n),icon:G.l,category:"stackable",keywords:[Object(r.__)("Feature",o.i18n),Object(r.__)("Stackable",o.i18n)],supports:{align:["center","wide","full"],inserter:!o.disabledBlocks.includes(X)},deprecated:w,edit:U,save:W,attributes:Y,modules:{"advanced-general":!0,"advanced-block-spacing":!0,"advanced-responsive":!0,"block-background":!0,"block-separators":!0,"content-align":!0,"block-designs":!0,"custom-css":{default:Object(i.applyFilters)("stackable.feature.custom-css.default","")}}}},function(e,t,n){"use strict";n.r(t);var a=n(2),o=n(15),r=n(1),i=n(11),l=n(0),c=n(4);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.header.design.apply-block-attributes","stackable/header",function(e){return Object(i.omit)(e,["title","subtitle","buttonText","buttonUrl","buttonNewTab","buttonNoFollow","button2Text","button2Url","button2NewTab","button2NoFollow"])}),Object(c.addFilter)("stackable.header.edit.designs","stackable/header",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-header-design-corporate-light-01.jpg",attributes:{design:"plain",shadow:0,columnBackgroundColorOpacity:0,columnBackgroundTintStrength:1,titleColor:"#fefffc",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,subtitleFontFamily:"Serif",subtitleColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonFontSize:18,buttonSize:"small",buttonTextColor:"#ff550a",buttonBackgroundColor:"#ffffff",buttonHoverEffect:"lift",buttonBorderRadius:100,showButton2:!0,button2FontFamily:"Roboto Condensed",button2FontWeight:"400",button2LetterSpacing:.5,button2FontSize:18,button2Design:"ghost",button2Size:"small",button2BackgroundColor:"#ffffff",button2HoverEffect:"lift",button2BorderRadius:100,button2HoverGhostToNormal:!1,subtitleBottomMargin:55,blockWidth:650,blockHorizontalAlign:"flex-start",columnHeight:650,columnContentVerticalAlign:"center",showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColorType:"gradient",blockBackgroundBackgroundColor:"#ff550a",blockBackgroundBackgroundColor2:"#ffb20b",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-header-corporate-light-01-01.jpg",blockBackgroundBackgroundTintStrength:8,blockBackgroundBackgroundGradientDirection:40,contentAlign:"left"}},corporateLight2:{label:Object(l.__)("Corporate Light 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-header-design-corporate-light-02.jpg",attributes:{design:"plain",shadow:0,columnBackgroundColorOpacity:0,columnBackgroundTintStrength:1,titleColor:"#fefffc",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,subtitleFontFamily:"Serif",subtitleColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonFontSize:18,buttonSize:"small",buttonTextColor:"#1e55d3",buttonBackgroundColor:"#ffffff",buttonHoverEffect:"lift",buttonBorderRadius:100,showButton2:!0,button2FontFamily:"Roboto Condensed",button2FontWeight:"400",button2LetterSpacing:.5,button2FontSize:18,button2Design:"ghost",button2Size:"small",button2BackgroundColor:"#ffffff",button2HoverEffect:"lift",button2BorderRadius:100,button2HoverGhostToNormal:!1,subtitleBottomMargin:55,blockWidth:650,blockHorizontalAlign:"flex-start",columnHeight:650,columnContentVerticalAlign:"center",showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColor:"#1e55d3",blockBackgroundBackgroundColor2:"#ffb20b",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-header-corporate-light-02-01.jpg",blockBackgroundBackgroundTintStrength:5,blockBackgroundBackgroundGradientDirection:40,contentAlign:"left"}},corporateDark1:{label:Object(l.__)("Corporate Dark 1",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-header-design-corporate-dark-01.jpg",attributes:{design:"plain",shadow:0,columnBackgroundColorOpacity:0,columnBackgroundTintStrength:1,titleColor:"#eeffb5",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,subtitleFontFamily:"Serif",subtitleColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonFontSize:18,buttonSize:"small",buttonTextColor:"#3f4174",buttonBackgroundColor:"#c4e558",buttonHoverEffect:"lift",buttonBorderRadius:100,showButton2:!0,button2FontFamily:"Roboto Condensed",button2FontWeight:"400",button2LetterSpacing:.5,button2FontSize:18,button2Design:"ghost",button2Size:"small",button2BackgroundColor:"#c4e558",button2HoverEffect:"lift",button2BorderRadius:100,button2HoverGhostToNormal:!1,subtitleBottomMargin:55,blockWidth:650,blockHorizontalAlign:"flex-start",columnHeight:650,columnContentVerticalAlign:"center",showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-header-corporate-dark-01-01.jpg",contentAlign:"left"}},corporateDark2:{label:Object(l.__)("Corporate Dark 2",r.i18n),image:"https://gambitph.github.io/Stackable/assets/block-design-previews/stack-header-design-corporate-dark-02.jpg",attributes:{design:"plain",shadow:0,columnBackgroundColorOpacity:0,columnBackgroundTintStrength:1,titleColor:"#06c19d",titleFontFamily:"Roboto Condensed",titleFontWeight:"100",titleLetterSpacing:.5,subtitleFontFamily:"Serif",subtitleColor:"#ffffff",buttonFontFamily:"Roboto Condensed",buttonFontWeight:"400",buttonLetterSpacing:.5,buttonFontSize:18,buttonSize:"small",buttonTextColor:"#ffffff",buttonBackgroundColor:"#06c19d",buttonHoverEffect:"lift",buttonBorderRadius:100,showButton2:!0,button2FontFamily:"Roboto Condensed",button2FontWeight:"400",button2LetterSpacing:.5,button2FontSize:18,button2Design:"ghost",button2Size:"small",button2BackgroundColor:"#06c19d",button2HoverEffect:"lift",button2BorderRadius:100,button2HoverGhostToNormal:!1,subtitleBottomMargin:55,blockWidth:650,blockHorizontalAlign:"flex-start",columnHeight:650,columnContentVerticalAlign:"center",showBlockBackground:!0,blockInnerWidth:"full",align:"full",blockBackgroundBackgroundColor:"#000000",blockBackgroundBackgroundMediaUrl:"https://gambitph.github.io/Stackable/assets/block-design-assets/stack-header-corporate-dark-02-01.jpg",blockBackgroundBackgroundTintStrength:7,contentAlign:"left"}}})});var b=n(16),g=n(7),m=n.n(g),p=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:{title:{source:"html",selector:"h2",default:Object(l.__)("Title for This Block",r.i18n)},subtitle:{source:"html",selector:"p",default:Object(a.F)()},titleColor:{type:"string"},subtitleColor:{type:"string"},contentAlign:{type:"string",default:"center"},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},fixedBackground:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},contentWidth:{type:"boolean",default:!1},align:{type:"string"},invert:{type:"boolean",default:!1},fullHeight:{type:"boolean",default:!1},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"},buttonTextColor:{type:"string",default:"#ffffff"},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},buttonURL2:{type:"string",source:"attribute",selector:".ugb-header__buttons > *:last-child .ugb-button",attribute:"href",default:""},buttonNewTab2:{type:"boolean",source:"attribute",selector:".ugb-header__buttons > *:last-child .ugb-button",attribute:"target",default:!1},buttonText2:{source:"html",selector:".ugb-header__buttons > *:last-child .ugb-button span",default:Object(l.__)("Button text",r.i18n)},buttonColor2:{type:"string"},buttonTextColor2:{type:"string",default:"#ffffff"},buttonDesign2:{type:"string",default:"basic"},buttonIcon2:{type:"string"},buttonSize2:{type:"string",default:"normal"},buttonBorderRadius2:{type:"number",default:4},customCSSUniqueID:{type:"string",default:""},customCSS:{type:"string",default:""},customCSSCompiled:{type:"string",default:""},opacity:{type:"number"},url:{type:"string"},id:{type:"number"}},save:function(e){var t,n,a,o,r,i,l,s,u=e.className,g=e.attributes,d=g.buttonURL,v=g.buttonText,y=g.buttonColor,w=g.buttonTextColor,O=g.buttonDesign,k=g.buttonIcon,_=g.cornerButtonRadius,j=g.size,C=g.title,x=g.titleColor,E=g.subtitle,T=g.subtitleColor,S=g.contentAlign,B=void 0===S?"center":S,A=g.backgroundColorType,P=void 0===A?"":A,N=g.backgroundColor,F=g.backgroundColor2,R=g.backgroundColorDirection,D=void 0===R?0:R,M=g.backgroundType,z=void 0===M?"":M,I=g.backgroundImageURL,L=g.backgroundOpacity,U=g.fixedBackground,H=g.design,W=void 0===H?"basic":H,G=g.borderRadius,q=void 0===G?12:G,V=g.shadow,Y=void 0===V?3:V,X=g.align,K=g.contentWidth,J=void 0!==K&&K,$=g.buttonNewTab,Q=g.invert,Z=void 0!==Q&&Q,ee=g.fullHeight,te=void 0!==ee&&ee,ne=g.buttonSize2,ae=g.buttonTextColor2,oe=g.buttonColor2,re=g.buttonText2,ie=void 0===re?"":re,le=g.buttonBorderRadius2,ce=void 0===le?4:le,se=g.buttonDesign2,ue=void 0===se?"basic":se,be=g.buttonIcon2,ge=void 0===be?"":be,me=g.buttonURL2,pe=void 0===me?"":me,de=g.buttonNewTab2,fe=void 0!==de&&de,he=m()([u,"ugb-header","ugb-header--v2","ugb--background-opacity-"+1*Math.round(L/1),["ugb-header--design-".concat(W)]],Object(c.applyFilters)("stackable.header.mainclasses_1_15_6",(h(t={"ugb--has-background":"plain"!==W&&(N||I),"ugb--has-background-image":"plain"!==W&&I},"ugb--shadow-".concat(Y),"plain"!==W&&3!==Y),h(t,"ugb--content-width","full"===X&&J),h(t,"ugb-header--invert",Z),h(t,"ugb-header--full-height",te),h(t,"ugb--has-background-gradient","gradient"===P),h(t,"ugb--has-background-video","video"===z),t),W,e)),ve="plain"===W?{}:{"--ugb-background-color":I||"gradient"===P?N:void 0,"--ugb-background-color2":"gradient"===P&&F?F:void 0,"--ugb-background-direction":"gradient"===P?"".concat(D,"deg"):void 0,backgroundAttachment:U?"fixed":void 0,backgroundColor:N||void 0,backgroundImage:I?"url(".concat(I,")"):void 0,borderRadius:12!==q?q:void 0},ye=Object(c.applyFilters)("stackable.header.styles_1_15_6",{main:f({textAlign:B||void 0},ve),title:{color:x||("plain"===W?void 0:"#ffffff"),textAlign:B||void 0},subtitle:{color:T||("plain"===W?void 0:"#ffffff"),textAlign:B||void 0}},W,e);return wp.element.createElement("div",{className:he,style:ye.main},"plain"!==W&&"video"===z&&wp.element.createElement("video",{className:"ugb-video-background",autoPlay:!0,muted:!0,loop:!0,src:I}),Object(c.applyFilters)("stackable.header.save.output.before_1_15_6",null,W,e),(n=!p.RichText.isEmpty(C)&&wp.element.createElement(p.RichText.Content,{tagName:"h2",className:"ugb-header__title",style:ye.title,value:C}),a=!p.RichText.isEmpty(E)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-header__subtitle",style:ye.subtitle,value:E}),o=v&&!!v.length&&wp.element.createElement(b.d,{size:j,url:d,newTab:$,align:B,color:w,text:v,design:O,icon:k,backgroundColor:y,borderRadius:_}),r=ie&&!!ie.length&&wp.element.createElement(b.d,{size:ne,url:pe,newTab:fe,align:B,color:ae,text:ie,design:ue,icon:ge,backgroundColor:oe,borderRadius:ce}),i={titleComp:n,subtitleComp:a,buttonComp:o},l={justifyContent:"right"===B?"flex-end":"left"===B?"flex-start":void 0},s=ie?wp.element.createElement("div",{className:"ugb-header__buttons",style:l},i.buttonComp,r):i.buttonComp,"basic"===W||"plain"===W?wp.element.createElement("div",{className:"ugb-content-wrapper"},n,a,s):wp.element.createElement("div",{className:"ugb-content-wrapper"},wp.element.createElement("div",{className:"ugb-header__wrapper"},n,a,s))))},migrate:function(e){var t=function(e){return(e||"").replace(/\.ugb-header(\s*\{)/g,".ugb-header__item$1")},n={};return"half-overlay"===e.design&&e.fullHeight&&(n.design="side-overlay",n[e.invert?"columnPaddingRight":"columnPaddingLeft"]=0),f({},e,{},n,{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,restrictContentWidth:e.contentWidth,showButton:!!e.buttonText,buttonUrl:e.buttonURL,buttonNewTab:e.buttonNewTab,buttonBackgroundColor:e.buttonColor,buttonSize:e.size,buttonBorderRadius:e.cornerButtonRadius,showButton2:!!e.buttonText2,button2Url:e.buttonURL2,button2NewTab:e.buttonNewTab2,button2Text:e.buttonText2,button2BackgroundColor:e.buttonColor2,button2TextColor:e.buttonTextColor2,button2Design:e.buttonDesign2,button2Icon:e.buttonIcon2,button2Size:e.buttonSize2,button2BorderRadius:e.buttonBorderRadius2,customCSS:t(e.customCSS),customCSSCompiled:t(e.customCSSCompiled)})}},{attributes:{title:{source:"html",selector:"h2",default:"Title for This Block"},subtitle:{source:"html",selector:"p",default:Object(a.F)()},titleColor:{type:"string"},subtitleColor:{type:"string"},contentAlign:{type:"string",default:"center"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},design:{type:"string",default:"basic"},borderRadius:{type:"number",default:12},shadow:{type:"number",default:3},contentWidth:{type:"boolean",default:!1},align:{type:"string"},invert:{type:"boolean",default:!1},fullHeight:{type:"boolean",default:!1},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"},buttonTextColor:{type:"string",default:"#ffffff"},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},opacity:{type:"number"},url:{type:"string"},id:{type:"number"}},save:function(e){var t,n,a,o,r=e.className,i=e.attributes,l=i.buttonURL,c=i.buttonText,s=i.buttonColor,u=i.buttonTextColor,g=i.buttonDesign,d=i.buttonIcon,f=i.cornerButtonRadius,v=i.size,y=i.title,w=i.titleColor,O=i.subtitle,k=i.subtitleColor,_=i.contentAlign,j=void 0===_?"center":_,C=i.backgroundColor,x=i.backgroundImageURL,E=i.backgroundOpacity,T=i.fixedBackground,S=i.design,B=void 0===S?"basic":S,A=i.borderRadius,P=void 0===A?12:A,N=i.shadow,F=void 0===N?3:N,R=i.align,D=i.contentWidth,M=void 0!==D&&D,z=i.buttonNewTab,I=i.invert,L=void 0!==I&&I,U=i.fullHeight,H=void 0!==U&&U,W=m()([r,"ugb-header","ugb-header--v2","ugb--background-opacity-"+1*Math.round(E/1),["ugb-header--design-".concat(B)]],(h(t={"ugb--has-background":"plain"!==B&&(C||x),"ugb--has-background-image":"plain"!==B&&x},"ugb--shadow-".concat(F),"plain"!==B&&3!==F),h(t,"ugb--content-width","full"===R&&M),h(t,"ugb-header--invert",L),h(t,"ugb-header--full-height",H),t)),G={main:{"--ugb-background-color":"plain"!==B&&x?C:void 0,backgroundAttachment:"plain"!==B&&T?"fixed":void 0,backgroundColor:"plain"!==B&&C?C:void 0,backgroundImage:"plain"!==B&&x?"url(".concat(x,")"):void 0,borderRadius:"plain"!==B&&12!==P?P:void 0,textAlign:j||void 0},title:{color:w||("plain"===B?void 0:"#ffffff")},subtitle:{color:k||("plain"===B?void 0:"#ffffff")}};return wp.element.createElement("div",{className:W,style:G.main},(n=!p.RichText.isEmpty(y)&&wp.element.createElement(p.RichText.Content,{tagName:"h2",className:"ugb-header__title",style:G.title,value:y}),a=!p.RichText.isEmpty(O)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-header__subtitle",style:G.subtitle,value:O}),o=c&&!!c.length&&wp.element.createElement(b.c,{size:v,url:l,newTab:z,align:j,color:u,text:c,design:g,icon:d,backgroundColor:s,borderRadius:f}),wp.element.createElement("div",{className:"ugb-content-wrapper"},n,a,o)))}},{attributes:{title:{source:"html",selector:"h2",default:"Title for This Block"},subtitle:{source:"html",selector:"p",default:Object(a.F)()},buttonURL:{type:"string",source:"attribute",selector:".ugb-button",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{source:"html",selector:".ugb-button span",default:"Button text"},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},opacity:{type:"number"},url:{type:"string"},id:{type:"number"}},save:function(e){var t=e.className,n=e.attributes,a=n.buttonURL,o=n.buttonText,r=n.buttonColor,i=n.buttonTextColor,l=n.buttonDesign,c=n.buttonIcon,s=n.cornerButtonRadius,u=n.size,g=n.title,d=n.titleColor,f=n.subtitle,h=n.subtitleColor,v=n.contentAlign,y=n.backgroundColor,w=n.backgroundImageURL,O=n.backgroundOpacity,k=n.fixedBackground,_=m()([t,"ugb-header","ugb-has-background-opacity-"+1*Math.round(O/1)],{"ugb-has-background":y||w,"ugb-has-background-image":w}),j={backgroundColor:y||void 0,backgroundImage:w?"url(".concat(w,")"):void 0,backgroundAttachment:k?"fixed":void 0,"--ugb-background-color":w?y:void 0,textAlign:v||void 0};return wp.element.createElement("div",{className:_,style:j},wp.element.createElement("div",{className:"ugb-header-wrapper"},!p.RichText.isEmpty(g)&&wp.element.createElement(p.RichText.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!p.RichText.isEmpty(f)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:h},value:f}),o&&!!o.length&&wp.element.createElement(b.b,{size:u,url:a,align:v,color:i,text:o,design:l,icon:c,backgroundColor:r,borderRadius:s})))},migrate:function(e){var t=e.backgroundColor||e.backgroundImageURL?"basic":"plain",n=(e.className||"").replace(/align\w+/,"").trim();return f({},e,{design:t,borderRadius:12,shadow:3,titleColor:"#ffffff",contentWidth:"full"===e.align,className:n||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align,buttonNewTab:!1})}},{attributes:{title:{source:"html",selector:"h2",default:"Heading Title"},subtitle:{source:"html",selector:"p",default:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor."},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{source:"html",selector:".ugb-button-inner",default:"Button"},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},buttonDesign:{type:"string",default:"basic"},buttonIcon:{type:"string"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},backgroundColor:{type:"string",default:"#000000"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundOpacity:{type:"number",default:5},fixedBackground:{type:"boolean",default:!1},opacity:{type:"number",default:5},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},id:{type:"number"}},save:function(e){var t=e.className,n=e.attributes,a=n.buttonURL,o=n.buttonText,r=n.buttonColor,i=n.buttonTextColor,l=n.buttonDesign,c=n.buttonIcon,s=n.cornerButtonRadius,u=n.size,g=n.title,d=n.titleColor,f=n.subtitle,h=n.subtitleColor,v=n.contentAlign,y=n.backgroundColor,w=n.backgroundImageURL,O=n.backgroundOpacity,k=n.fixedBackground,_=m()([t,"ugb-header","ugb-has-background-opacity-"+1*Math.round(O/1)],{"ugb-has-background":y||w,"ugb-has-background-image":w}),j={backgroundColor:y||void 0,backgroundImage:w?"url(".concat(w,")"):void 0,backgroundAttachment:k?"fixed":void 0,"--ugb-background-color":w?y:void 0,textAlign:v||void 0};return wp.element.createElement("div",{className:_,style:j},wp.element.createElement("div",{className:"ugb-header-wrapper"},!p.RichText.isEmpty(g)&&wp.element.createElement(p.RichText.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!p.RichText.isEmpty(f)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:h},value:f}),o&&!!o.length&&wp.element.createElement(b.g,{size:u,url:a,align:v,color:i,text:o,design:l,icon:c,backgroundColor:r,borderRadius:s})))},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:{title:{source:"html",selector:"h2",default:"Heading Title"},subtitle:{source:"html",selector:"p",default:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor."},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{source:"html",selector:".ugb-button-inner",default:"Button"},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},save:function(e){var t,n=e.className,a=e.attributes,o=a.url,r=a.buttonURL,i=a.buttonText,l=a.buttonColor,c=a.buttonTextColor,s=a.cornerButtonRadius,u=a.size,g=a.title,d=a.titleColor,f=a.subtitle,h=a.subtitleColor,v=a.contentAlign,y=a.backgroundColor,w=a.opacity,O={backgroundImage:o?"url(".concat(o,")"):void 0,textAlign:v||void 0},k=m()([n,"ugb-header"],{"has-image":o,"has-no-content":!g&&!f&&!i,"has-content":g||f||i}),_=m()([(t=w,0===t?null:"overlay-opacity-"+1*Math.round(t/1)),"ugb-header-overlay"],{"overlay-opacity":0!==w});return wp.element.createElement("div",{className:k},wp.element.createElement("div",{className:_,style:{backgroundColor:y}}),wp.element.createElement("section",{key:"preview","data-url":o,style:O,className:"ugb-header-section"},!p.RichText.isEmpty(g)&&wp.element.createElement(p.RichText.Content,{tagName:"h2",className:"ugb-header-title",style:{color:d},value:g}),!p.RichText.isEmpty(f)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:h},value:f}),i&&!!i.length&&wp.element.createElement(b.f,{size:u,url:r,align:v,color:c,text:i,backgroundColor:l,borderRadius:s})))},migrate:function(e){var t=(e.className||"").replace(/align\w+/,"").replace(/\s+/," ").trim();return f({},e,{backgroundOpacity:e.opacity,backgroundImageID:e.id,backgroundImageURL:e.url,className:t||void 0,align:["aligncenter","alignwide","alignfull"].includes(e.className)?e.className.replace(/^align/,""):e.align})}},{attributes:{title:{type:"array",source:"children",selector:"h2",default:"Heading Title"},subtitle:{type:"array",source:"children",selector:"p",default:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus congue tincidunt nisit ut pretium. Duis blandit, tortor et suscipit tincidunt, dolor metus mattis neque, ac varius magna nibh ac tortor."},url:{type:"string",source:"attribute",selector:".ugb-header .ugb-header-section",attribute:"data-url"},buttonURL:{type:"string",source:"attribute",selector:".ugb-button-inner",attribute:"href"},titleColor:{type:"string",default:"#ffffff"},subtitleColor:{type:"string",default:"#ffffff"},buttonText:{type:"array",source:"children",selector:".ugb-button-inner",default:"Button"},buttonColor:{type:"string"},buttonTextColor:{type:"string",default:"#ffffff"},size:{type:"string",default:"normal"},cornerButtonRadius:{type:"number",default:4},contentAlign:{type:"string",default:"center"},id:{type:"number"},backgroundColor:{type:"string",default:"#000000"},opacity:{type:"number",default:5}},save:function(e){var t=e.attributes,n=t.url,a=t.buttonURL,o=t.buttonText,r=t.buttonColor,i=t.buttonTextColor,l=t.cornerButtonRadius,c=t.size,s=t.title,u=t.titleColor,g=t.subtitle,d=t.subtitleColor,f=t.contentAlign,v=t.backgroundColor,y=t.opacity,w=n?{backgroundImage:"url(".concat(n,")")}:void 0,O=n?"has-image":"",k=m()([],h({"overlay-opacity":0!==y},"overlay-opacity-"+1*Math.round(y/1),0===y)),_=s.length||g.length||o.length?"has-content":"has-no-content";return wp.element.createElement("div",{className:"ugb-header ".concat(O," ").concat(_)},wp.element.createElement("div",{className:"ugb-header-overlay ".concat(k),style:{backgroundColor:v}}),wp.element.createElement("section",{key:"preview","data-url":n,style:w,className:"ugb-header-section"},!p.RichText.isEmpty(s)&&wp.element.createElement(p.RichText.Content,{tagName:"h2",className:"ugb-header-title",style:{color:u},value:s}),!p.RichText.isEmpty(g)&&wp.element.createElement(p.RichText.Content,{tagName:"p",className:"ugb-header-subtitle",style:{color:d},value:g}),o&&!!o.length&&wp.element.createElement(b.e,{size:c,url:a,align:f,color:i,text:o,backgroundColor:r,borderRadius:l})))},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})}}],y=n(3),w=n(10),O=n(13),k=n.n(O),_=function(e){var t=e.attributes,n=t.design,a=void 0===n?"basic":n,o=t.align,r=void 0===o?"":o,i=t.showTitle,l=void 0===i||i,s=t.showSubtitle,u=void 0===s||s,b=t.showButton,g=void 0===b||b,m=t.showButton2,p=void 0!==m&&m,d=t.showBlockBackground,f=void 0!==d&&d,h=t.blockInnerWidth,v=void 0===h?"":h,y=!f&&"full"!==r||f&&"full"!==v;return Object(c.applyFilters)("stackable.header.show",{columnBackground:"plain"!==a,borderRadius:"plain"!==a&&y,titleSpacing:l,subtitleSpacing:u,buttonSpacing:g||p,buttonGap:g&&p,restrictContent:!f&&"full"===r||f&&"full"===v,overlayBackground:a.match(/overlay/)},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 T=function(e){var t=Object(a.b)(e.attributes),n=_(e),o=e.attributes.columnBackgroundColor,r=void 0===o?"":o,i=[];n.columnBackground&&i.push({".ugb-header__item":{borderRadius:n.borderRadius?t("borderRadius","%spx !important"):void 0}}),i.push(x({},n.columnBackground?Object(a.l)("column%s","ugb-header__item",x({},e.attributes,{columnBackgroundColor:e.attributes.columnBackgroundColor||"#000000"}),{importantBackgroundColor:!0}):{}));var l=e.attributes,c=l.overlayColor,s=void 0===c?"":c,u=l.overlayOpacity,b=void 0===u?"0.4":u;n.overlayBackground&&(s||b)&&i.push({".ugb-content-wrapper, .ugb-content-wrapper:after":{background:Object(a.N)(s||"#000000",""===b?.4:b)+" !important"}});var g=e.attributes,m=g.titleColor,p=void 0===m?"":m,d=g.showTitle;(void 0===d||d)&&i.push({".ugb-header__title":x({},Object(a.D)("title%s","desktop",e.attributes),{color:Object(a.cb)(p,n.columnBackground&&r),textAlign:Object(a.c)(t("contentAlign")||t("titleAlign"))}),tablet:{".ugb-header__title":x({},Object(a.D)("title%s","tablet",e.attributes),{textAlign:Object(a.c)(t("tabletContentAlign")||t("titleTabletAlign"))})},mobile:{".ugb-header__title":x({},Object(a.D)("title%s","mobile",e.attributes),{textAlign:Object(a.c)(t("mobileContentAlign")||t("titleMobileAlign"))})}});var f=e.attributes,h=f.subtitleColor,v=void 0===h?"":h,y=f.showSubtitle;(void 0===y||y)&&i.push({".ugb-header__subtitle":x({},Object(a.D)("subtitle%s","desktop",e.attributes),{color:Object(a.cb)(v,n.columnBackground&&r),textAlign:t("subtitleAlign")}),tablet:{".ugb-header__subtitle":x({},Object(a.D)("subtitle%s","tablet",e.attributes),{textAlign:t("subtitleTabletAlign")})},mobile:{".ugb-header__subtitle":x({},Object(a.D)("subtitle%s","mobile",e.attributes),{textAlign:t("subtitleMobileAlign")})}});var w=e.attributes,O=w.showButton,C=void 0!==O&&O,E=w.showButton2,T=void 0===E||E;return(C||T)&&(i.push({".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("contentAlign")?"flex-start":"right"===t("contentAlign")?"flex-end":"center"===t("contentAlign")?"center":void 0)},tablet:{".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("tabletContentAlign")?"flex-start":"right"===t("tabletContentAlign")?"flex-end":"center"===t("tabletContentAlign")?"center":void 0)}},mobile:{".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("mobileContentAlign")?"flex-start":"right"===t("mobileContentAlign")?"flex-end":"center"===t("mobileContentAlign")?"center":void 0)}}}),t("buttonAlign")&&i.push({".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("buttonAlign")?"flex-start":"right"===t("buttonAlign")?"flex-end":"center"===t("buttonAlign")?"center":void 0)}}),t("buttonTabletAlign")&&i.push({tablet:{".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("buttonTabletAlign")?"flex-start":"right"===t("buttonTabletAlign")?"flex-end":"center"===t("buttonTabletAlign")?"center":void 0)}}}),t("buttonMobileAlign")&&i.push({mobile:{".ugb-header__buttons":{justifyContent:Object(a.c)("left"===t("buttonMobileAlign")?"flex-start":"right"===t("buttonMobileAlign")?"flex-end":"center"===t("buttonMobileAlign")?"center":void 0)}}})),C&&i.push(x({},Object(a.p)("button%s","ugb-button1",e.attributes))),T&&i.push(x({},Object(a.p)("button2%s","ugb-button2",e.attributes))),n.titleSpacing&&i.push.apply(i,j(Object(a.y)(".ugb-header__title","title%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.subtitleSpacing&&i.push.apply(i,j(Object(a.y)(".ugb-header__subtitle","subtitle%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonSpacing&&i.push.apply(i,j(Object(a.y)(".ugb-button-container","button%sBottomMargin","marginBottom","%spx",e.attributes,!0))),n.buttonGap&&i.push.apply(i,j(Object(a.y)(".ugb-button1","buttonGap%s","marginRight","%spx",e.attributes,!0))),k.a.all(i)},S=n(94),B=n.n(S),A=n(95),P=n.n(A),N=n(8),F=n(12),R=n(9);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")}()}Object(c.addFilter)("stackable.header.edit.inspector.layout.before","stackable/header",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.w,{initialOpen:!0,selected:o,options:[{image:B.a,label:Object(l.__)("Basic",r.i18n),value:"basic"},{image:P.a,label:Object(l.__)("Plain",r.i18n),value:"plain"}].concat(D(Object(c.applyFilters)("stackable.header.edit.layouts",[]))),onChange:function(e){n({design:e})}},r.showProNotice&&wp.element.createElement(y.X,null)))}),Object(c.addFilter)("stackable.header.edit.inspector.style.before","stackable/header",function(e,t){var n=t.setAttributes,o=t.attributes,i=o.design,c=void 0===i?"basic":i,s=o.borderRadius,u=void 0===s?"":s,b=o.shadow,g=void 0===b?"":b,m=o.showTitle,p=void 0===m||m,d=o.showSubtitle,f=void 0===d||d,h=o.titleTag,v=void 0===h?"":h,w=o.titleColor,O=void 0===w?"":w,k=o.subtitleColor,j=void 0===k?"":k,C=o.invert,x=void 0!==C&&C,E=o.restrictContentWidth,T=void 0!==E&&E,S=o.fullHeight,B=void 0!==S&&S,A=o.showButton,P=void 0===A||A,F=o.showButton2,M=void 0!==F&&F,z=o.overlayColor,I=void 0===z?"":z,L=o.overlayOpacity,U=void 0===L?"":L,H=_(t);return wp.element.createElement(R.Fragment,null,e,wp.element.createElement(N.PanelBody,{title:Object(l.__)("General",r.i18n)},!["basic","plain","center-overlay"].includes(c)&&wp.element.createElement(N.ToggleControl,{label:Object(l.__)("Reverse Horizontally",r.i18n),checked:x,onChange:function(e){return n({invert:e})}}),wp.element.createElement(N.ToggleControl,{label:Object(l.__)("Full Height",r.i18n),checked:B,onChange:function(e){return n({fullHeight:e})}}),H.restrictContent&&wp.element.createElement(N.ToggleControl,{label:Object(l.__)("Restrict to Content Width",r.i18n),checked:T,onChange:function(e){return n({restrictContentWidth:e})}}),H.borderRadius&&wp.element.createElement(y.b,{label:Object(l.__)("Border Radius",r.i18n),value