Getwid – Gutenberg Blocks - Version 1.8.0

Version Description

Download this release

Release Info

Developer endzevich
Plugin Icon 128x128 Getwid – Gutenberg Blocks
Version 1.8.0
Comparing to
See all releases

Code changes from version 1.7.10 to 1.8.0

assets/blocks/common.style.css CHANGED
@@ -1,3 +1,3 @@
1
  /*!
2
  * getwid-common-styles
3
- */@-webkit-keyframes slideInDownShort{from{-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInDownShort{from{-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInDownShort{-webkit-animation-name:slideInDownShort;animation-name:slideInDownShort}@-webkit-keyframes slideInLeftShort{from{-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInLeftShort{from{-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInLeftShort{-webkit-animation-name:slideInLeftShort;animation-name:slideInLeftShort}@-webkit-keyframes slideInRightShort{from{-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInRightShort{from{-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInRightShort{-webkit-animation-name:slideInRightShort;animation-name:slideInRightShort}@-webkit-keyframes slideInUpShort{from{-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInUpShort{from{-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInUpShort{-webkit-animation-name:slideInUpShort;animation-name:slideInUpShort}@-webkit-keyframes bounceInDownShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, 25px, 0);transform:translate3d(0, 25px, 0)}75%{-webkit-transform:translate3d(0, -10px, 0);transform:translate3d(0, -10px, 0)}90%{-webkit-transform:translate3d(0, 5px, 0);transform:translate3d(0, 5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInDownShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, 25px, 0);transform:translate3d(0, 25px, 0)}75%{-webkit-transform:translate3d(0, -10px, 0);transform:translate3d(0, -10px, 0)}90%{-webkit-transform:translate3d(0, 5px, 0);transform:translate3d(0, 5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInDownShort{-webkit-animation-name:bounceInDownShort;animation-name:bounceInDownShort}@-webkit-keyframes bounceInLeftShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(25px, 0, 0);transform:translate3d(25px, 0, 0)}75%{-webkit-transform:translate3d(-10px, 0, 0);transform:translate3d(-10px, 0, 0)}90%{-webkit-transform:translate3d(5px, 0, 0);transform:translate3d(5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInLeftShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(25px, 0, 0);transform:translate3d(25px, 0, 0)}75%{-webkit-transform:translate3d(-10px, 0, 0);transform:translate3d(-10px, 0, 0)}90%{-webkit-transform:translate3d(5px, 0, 0);transform:translate3d(5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInLeftShort{-webkit-animation-name:bounceInLeftShort;animation-name:bounceInLeftShort}@-webkit-keyframes bounceInRightShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(-25px, 0, 0);transform:translate3d(-25px, 0, 0)}75%{-webkit-transform:translate3d(10px, 0, 0);transform:translate3d(10px, 0, 0)}90%{-webkit-transform:translate3d(-5px, 0, 0);transform:translate3d(-5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInRightShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(-25px, 0, 0);transform:translate3d(-25px, 0, 0)}75%{-webkit-transform:translate3d(10px, 0, 0);transform:translate3d(10px, 0, 0)}90%{-webkit-transform:translate3d(-5px, 0, 0);transform:translate3d(-5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInRightShort{-webkit-animation-name:bounceInRightShort;animation-name:bounceInRightShort}@-webkit-keyframes bounceInUpShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, -20px, 0);transform:translate3d(0, -20px, 0)}75%{-webkit-transform:translate3d(0, 10px, 0);transform:translate3d(0, 10px, 0)}90%{-webkit-transform:translate3d(0, -5px, 0);transform:translate3d(0, -5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInUpShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, -20px, 0);transform:translate3d(0, -20px, 0)}75%{-webkit-transform:translate3d(0, 10px, 0);transform:translate3d(0, 10px, 0)}90%{-webkit-transform:translate3d(0, -5px, 0);transform:translate3d(0, -5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInUpShort{-webkit-animation-name:bounceInUpShort;animation-name:bounceInUpShort}@-webkit-keyframes fadeInDownShort{from{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInDownShort{from{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInDownShort{-webkit-animation-name:fadeInDownShort;animation-name:fadeInDownShort}@-webkit-keyframes fadeInLeftShort{from{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInLeftShort{from{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInLeftShort{-webkit-animation-name:fadeInLeftShort;animation-name:fadeInLeftShort}@-webkit-keyframes fadeInRightShort{from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInRightShort{from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInRightShort{-webkit-animation-name:fadeInRightShort;animation-name:fadeInRightShort}@-webkit-keyframes fadeInUpShort{from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInUpShort{from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInUpShort{-webkit-animation-name:fadeInUpShort;animation-name:fadeInUpShort}@-webkit-keyframes lightSpeedInShort{from{-webkit-transform:translate3d(400px, 0, 0) skewX(-30deg);transform:translate3d(400px, 0, 0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes lightSpeedInShort{from{-webkit-transform:translate3d(400px, 0, 0) skewX(-30deg);transform:translate3d(400px, 0, 0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.lightSpeedInShort{-webkit-animation-name:lightSpeedInShort;animation-name:lightSpeedInShort;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes getwidPulseAnimation{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@keyframes getwidPulseAnimation{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@-webkit-keyframes getwidTimelinePointBounce{0%{opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}60%{opacity:1;-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes getwidTimelinePointBounce{0%{opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}60%{opacity:1;-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes getwidFadeIn{from{opacity:0}to{opacity:1}}@keyframes getwidFadeIn{from{opacity:0}to{opacity:1}}.wp-block-getwid-post-carousel.is-carousel .slick-list,.wp-block-getwid-images-slider.is-carousel .slick-list{margin:0 -5px}.wp-block-getwid-post-carousel.is-carousel .slick-slide,.wp-block-getwid-images-slider.is-carousel .slick-slide{margin:0 5px}.wp-block-getwid-post-carousel.has-slides-gap-none .slick-list,.wp-block-getwid-images-slider.has-slides-gap-none .slick-list{margin:0}.wp-block-getwid-post-carousel.has-slides-gap-none .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-none .slick-slide{margin:0}.wp-block-getwid-post-carousel.has-slides-gap-small .slick-list,.wp-block-getwid-images-slider.has-slides-gap-small .slick-list{margin:0 -5px}.wp-block-getwid-post-carousel.has-slides-gap-small .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-small .slick-slide{margin:0 5px}.wp-block-getwid-post-carousel.has-slides-gap-normal .slick-list,.wp-block-getwid-images-slider.has-slides-gap-normal .slick-list{margin:0 -10px}.wp-block-getwid-post-carousel.has-slides-gap-normal .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-normal .slick-slide{margin:0 10px}.wp-block-getwid-post-carousel.has-slides-gap-large .slick-list,.wp-block-getwid-images-slider.has-slides-gap-large .slick-list{margin:0 -20px}.wp-block-getwid-post-carousel.has-slides-gap-large .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-large .slick-slide{margin:0 20px}.wp-block-getwid-post-carousel.has-slides-gap-huge .slick-list,.wp-block-getwid-images-slider.has-slides-gap-huge .slick-list{margin:0 -30px}.wp-block-getwid-post-carousel.has-slides-gap-huge .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-huge .slick-slide{margin:0 30px}.wp-block-getwid-images-slider .slick-prev,.wp-block-getwid-images-slider .slick-next,.wp-block-getwid-media-text-slider .slick-prev,.wp-block-getwid-media-text-slider .slick-next,.wp-block-getwid-post-slider .slick-prev,.wp-block-getwid-post-slider .slick-next,.wp-block-getwid-post-carousel .slick-prev,.wp-block-getwid-post-carousel .slick-next{z-index:1;background-color:transparent}.wp-block-getwid-images-slider .slick-prev:before,.wp-block-getwid-images-slider .slick-next:before,.wp-block-getwid-media-text-slider .slick-prev:before,.wp-block-getwid-media-text-slider .slick-next:before,.wp-block-getwid-post-slider .slick-prev:before,.wp-block-getwid-post-slider .slick-next:before,.wp-block-getwid-post-carousel .slick-prev:before,.wp-block-getwid-post-carousel .slick-next:before{color:#000}.wp-block-getwid-images-slider .slick-prev:hover,.wp-block-getwid-images-slider .slick-prev:focus,.wp-block-getwid-images-slider .slick-next:hover,.wp-block-getwid-images-slider .slick-next:focus,.wp-block-getwid-media-text-slider .slick-prev:hover,.wp-block-getwid-media-text-slider .slick-prev:focus,.wp-block-getwid-media-text-slider .slick-next:hover,.wp-block-getwid-media-text-slider .slick-next:focus,.wp-block-getwid-post-slider .slick-prev:hover,.wp-block-getwid-post-slider .slick-prev:focus,.wp-block-getwid-post-slider .slick-next:hover,.wp-block-getwid-post-slider .slick-next:focus,.wp-block-getwid-post-carousel .slick-prev:hover,.wp-block-getwid-post-carousel .slick-prev:focus,.wp-block-getwid-post-carousel .slick-next:hover,.wp-block-getwid-post-carousel .slick-next:focus{text-decoration:none}.wp-block-getwid-images-slider .slick-dotted.slick-slider,.wp-block-getwid-media-text-slider .slick-dotted.slick-slider,.wp-block-getwid-post-slider .slick-dotted.slick-slider,.wp-block-getwid-post-carousel .slick-dotted.slick-slider{margin-bottom:0;padding-bottom:30px}.wp-block-getwid-images-slider .slick-dots,.wp-block-getwid-media-text-slider .slick-dots,.wp-block-getwid-post-slider .slick-dots,.wp-block-getwid-post-carousel .slick-dots{margin:0 auto;max-width:100%;width:100%;bottom:0}.wp-block-getwid-images-slider .slick-dots li,.wp-block-getwid-media-text-slider .slick-dots li,.wp-block-getwid-post-slider .slick-dots li,.wp-block-getwid-post-carousel .slick-dots li{margin:0 5px}.wp-block-getwid-images-slider.has-arrows-inside,.wp-block-getwid-media-text-slider.has-arrows-inside,.wp-block-getwid-post-slider.has-arrows-inside,.wp-block-getwid-post-carousel.has-arrows-inside{padding-left:0;padding-right:0}.wp-block-getwid-images-slider.has-arrows-inside .slick-prev,.wp-block-getwid-images-slider.has-arrows-inside .slick-next,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-prev,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-slider.has-arrows-inside .slick-prev,.wp-block-getwid-post-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev,.wp-block-getwid-post-carousel.has-arrows-inside .slick-next{text-shadow:0px 0px 3px rgba(0,0,0,0.5)}.wp-block-getwid-images-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-images-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-post-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-post-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev:before,.wp-block-getwid-post-carousel.has-arrows-inside .slick-next:before{color:#fff}.wp-block-getwid-images-slider.has-arrows-inside .slick-prev,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-prev,.wp-block-getwid-post-slider.has-arrows-inside .slick-prev,.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev{left:25px}.wp-block-getwid-images-slider.has-arrows-inside .slick-next,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-carousel.has-arrows-inside .slick-next{right:25px}.wp-block-getwid-images-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-post-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-post-carousel.has-dots-inside .slick-dotted.slick-slider{margin-bottom:0;padding-bottom:0}.wp-block-getwid-images-slider.has-dots-inside .slick-dots,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots,.wp-block-getwid-post-slider.has-dots-inside .slick-dots,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots{bottom:20px}.wp-block-getwid-images-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-post-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots li .slick-active{color:#fff}.wp-block-getwid-images-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-post-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots li button{text-shadow:0px 0px 3px rgba(0,0,0,0.5)}.wp-block-getwid-images-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-post-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots li button:before{color:#fff}.wp-block-getwid-images-slider.alignfull .slick-list,.wp-block-getwid-media-text-slider.alignfull .slick-list,.wp-block-getwid-post-slider.alignfull .slick-list,.wp-block-getwid-post-carousel.alignfull .slick-list{margin:0}.wp-block-getwid-images-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-images-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-media-text-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-media-text-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-post-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-post-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-post-carousel.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-post-carousel.alignfull.has-arrows-outside .slick-prev{left:25px}.wp-block-getwid-images-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-images-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-media-text-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-media-text-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-post-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-post-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-post-carousel.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-post-carousel.alignfull.has-arrows-outside .slick-next{right:25px}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-50 .wp-block-getwid-advanced-heading__content,.fs-tablet-50 .wp-block-getwid-countdown__content{font-size:50%}}@media screen and (max-width: 767px){.fs-mobile-50 .wp-block-getwid-advanced-heading__content,.fs-mobile-50 .wp-block-getwid-countdown__content{font-size:50%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-60 .wp-block-getwid-advanced-heading__content,.fs-tablet-60 .wp-block-getwid-countdown__content{font-size:60%}}@media screen and (max-width: 767px){.fs-mobile-60 .wp-block-getwid-advanced-heading__content,.fs-mobile-60 .wp-block-getwid-countdown__content{font-size:60%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-70 .wp-block-getwid-advanced-heading__content,.fs-tablet-70 .wp-block-getwid-countdown__content{font-size:70%}}@media screen and (max-width: 767px){.fs-mobile-70 .wp-block-getwid-advanced-heading__content,.fs-mobile-70 .wp-block-getwid-countdown__content{font-size:70%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-80 .wp-block-getwid-advanced-heading__content,.fs-tablet-80 .wp-block-getwid-countdown__content{font-size:80%}}@media screen and (max-width: 767px){.fs-mobile-80 .wp-block-getwid-advanced-heading__content,.fs-mobile-80 .wp-block-getwid-countdown__content{font-size:80%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-90 .wp-block-getwid-advanced-heading__content,.fs-tablet-90 .wp-block-getwid-countdown__content{font-size:90%}}@media screen and (max-width: 767px){.fs-mobile-90 .wp-block-getwid-advanced-heading__content,.fs-mobile-90 .wp-block-getwid-countdown__content{font-size:90%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-100 .wp-block-getwid-advanced-heading__content,.fs-tablet-100 .wp-block-getwid-countdown__content{font-size:100%}}@media screen and (max-width: 767px){.fs-mobile-100 .wp-block-getwid-advanced-heading__content,.fs-mobile-100 .wp-block-getwid-countdown__content{font-size:100%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-110 .wp-block-getwid-advanced-heading__content,.fs-tablet-110 .wp-block-getwid-countdown__content{font-size:110%}}@media screen and (max-width: 767px){.fs-mobile-110 .wp-block-getwid-advanced-heading__content,.fs-mobile-110 .wp-block-getwid-countdown__content{font-size:110%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-120 .wp-block-getwid-advanced-heading__content,.fs-tablet-120 .wp-block-getwid-countdown__content{font-size:120%}}@media screen and (max-width: 767px){.fs-mobile-120 .wp-block-getwid-advanced-heading__content,.fs-mobile-120 .wp-block-getwid-countdown__content{font-size:120%}}[data-animation] .wp-block-getwid-image-box__image-wrapper,[data-animation].wp-block-getwid-icon__wrapper,[data-animation] .wp-block-getwid-icon-box__icon-wrapper{-webkit-transition:.3s ease;transition:.3s ease;-webkit-transform:none;transform:none}[data-animation="slideTop"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideTop"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideTop"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateY(-10px);transform:translateY(-10px)}[data-animation="slideBottom"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideBottom"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideBottom"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateY(10px);transform:translateY(10px)}[data-animation="slideLeft"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideLeft"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideLeft"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateX(-10px);transform:translateX(-10px)}[data-animation="slideRight"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideRight"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideRight"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateX(10px);transform:translateX(10px)}[data-animation="zoomSmall"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="zoomSmall"]:hover.wp-block-getwid-icon__wrapper,[data-animation="zoomSmall"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:scale(1.05);transform:scale(1.05)}[data-animation="zoomBig"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="zoomBig"]:hover.wp-block-getwid-icon__wrapper,[data-animation="zoomBig"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:scale(1.2);transform:scale(1.2)}.getwid-columns{margin-left:-30px;margin-right:-30px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.getwid-columns.getwid-columns-1>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-1>*{width:100%}}.getwid-columns.getwid-columns-2>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-2>*{width:50%}}.getwid-columns.getwid-columns-3>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-3>*{width:33.33333%}}.getwid-columns.getwid-columns-4>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-4>*{width:25%}}.getwid-columns.getwid-columns-5>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-5>*{width:20%}}.getwid-columns.getwid-columns-6>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-6>*{width:16.66667%}}.getwid-columns.getwid-columns-7>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-7>*{width:14.28571%}}.getwid-columns.getwid-columns-8>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-8>*{width:12.5%}}.getwid-columns.getwid-columns-9>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-9>*{width:11.11111%}}.getwid-columns.getwid-columns-10>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-10>*{width:10%}}.getwid-columns.getwid-columns-11>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-11>*{width:9.09091%}}.getwid-columns.getwid-columns-12>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-12>*{width:8.33333%}}@media screen and (min-width: 992px){.getwid-hide-desktop{display:none}}@media screen and (min-width: 768px) and (max-width: 991px){.getwid-hide-tablet{display:none}}@media screen and (max-width: 767px){.getwid-hide-mobile{display:none}}.getwid-padding-top-small{padding-top:10px}.getwid-padding-top-medium{padding-top:25px}.getwid-padding-top-normal{padding-top:40px}.getwid-padding-top-large{padding-top:60px}.getwid-padding-top-none{padding-top:0 !important}.getwid-padding-bottom-small{padding-bottom:10px}.getwid-padding-bottom-medium{padding-bottom:25px}.getwid-padding-bottom-normal{padding-bottom:40px}.getwid-padding-bottom-large{padding-bottom:60px}.getwid-padding-bottom-none{padding-bottom:0 !important}.getwid-padding-left-small{padding-left:10px}.getwid-padding-left-medium{padding-left:25px}.getwid-padding-left-normal{padding-left:40px}.getwid-padding-left-large{padding-left:60px}.getwid-padding-left-none{padding-left:0 !important}.getwid-padding-right-small{padding-right:10px}.getwid-padding-right-medium{padding-right:25px}.getwid-padding-right-normal{padding-right:40px}.getwid-padding-right-large{padding-right:60px}.getwid-padding-right-none{padding-right:0 !important}@media screen and (max-width: 991px){.getwid-padding-tablet-top-small{padding-top:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-medium{padding-top:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-normal{padding-top:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-large{padding-top:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-none{padding-top:0 !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-small{padding-bottom:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-medium{padding-bottom:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-normal{padding-bottom:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-large{padding-bottom:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-none{padding-bottom:0 !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-small{padding-left:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-medium{padding-left:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-normal{padding-left:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-large{padding-left:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-none{padding-left:0 !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-small{padding-right:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-medium{padding-right:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-normal{padding-right:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-large{padding-right:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-none{padding-right:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-small{padding-top:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-medium{padding-top:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-normal{padding-top:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-large{padding-top:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-none{padding-top:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-small{padding-bottom:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-medium{padding-bottom:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-normal{padding-bottom:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-large{padding-bottom:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-none{padding-bottom:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-small{padding-left:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-medium{padding-left:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-normal{padding-left:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-large{padding-left:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-none{padding-left:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-small{padding-right:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-medium{padding-right:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-normal{padding-right:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-large{padding-right:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-none{padding-right:0 !important}}.getwid-margin-top-small{margin-top:10px !important}.getwid-margin-top-medium{margin-top:25px !important}.getwid-margin-top-normal{margin-top:40px !important}.getwid-margin-top-large{margin-top:60px !important}.getwid-margin-top-none{margin-top:0 !important}.getwid-margin-bottom-small{margin-bottom:10px !important}.getwid-margin-bottom-medium{margin-bottom:25px !important}.getwid-margin-bottom-normal{margin-bottom:40px !important}.getwid-margin-bottom-large{margin-bottom:60px !important}.getwid-margin-bottom-none{margin-bottom:0 !important}.getwid-margin-left-small{margin-left:10px}.getwid-margin-left-medium{margin-left:25px}.getwid-margin-left-normal{margin-left:40px}.getwid-margin-left-large{margin-left:60px}.getwid-margin-left-none{margin-left:0 !important}.getwid-margin-right-small{margin-right:10px}.getwid-margin-right-medium{margin-right:25px}.getwid-margin-right-normal{margin-right:40px}.getwid-margin-right-large{margin-right:60px}.getwid-margin-right-none{margin-right:0 !important}@media screen and (max-width: 991px){.getwid-margin-tablet-top-small{margin-top:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-medium{margin-top:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-normal{margin-top:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-large{margin-top:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-none{margin-top:0 !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-small{margin-bottom:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-medium{margin-bottom:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-normal{margin-bottom:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-large{margin-bottom:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-none{margin-bottom:0 !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-small{margin-left:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-medium{margin-left:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-normal{margin-left:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-large{margin-left:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-none{margin-left:0 !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-small{margin-right:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-medium{margin-right:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-normal{margin-right:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-large{margin-right:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-none{margin-right:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-small{margin-top:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-medium{margin-top:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-normal{margin-top:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-large{margin-top:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-none{margin-top:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-small{margin-bottom:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-medium{margin-bottom:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-normal{margin-bottom:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-large{margin-bottom:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-none{margin-bottom:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-small{margin-left:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-medium{margin-left:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-normal{margin-left:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-large{margin-left:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-none{margin-left:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-small{margin-right:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-medium{margin-right:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-normal{margin-right:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-large{margin-right:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-none{margin-right:0 !important}}@media screen and (min-width: 768px) and (max-width: 991px){.getwid-reset-min-height-tablet{min-height:auto !important}}@media screen and (max-width: 767px){.getwid-reset-min-height-mobile{min-height:auto !important}}@media screen and (min-width: 768px) and (max-width: 991px){.getwid-reset-height-tablet{height:auto !important}}@media screen and (max-width: 767px){.getwid-reset-height-mobile{height:auto !important}}.getwid-align-items-flex-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.getwid-align-items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.getwid-align-items-flex-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}@media screen and (max-width: 991px){.getwid-align-items-tablet-flex-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 991px){.getwid-align-items-tablet-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 991px){.getwid-align-items-tablet-flex-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}}@media screen and (max-width: 767px){.getwid-align-items-mobile-flex-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 767px){.getwid-align-items-mobile-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 767px){.getwid-align-items-mobile-flex-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}}.getwid-justify-content-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.getwid-justify-content-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.getwid-justify-content-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}@media screen and (max-width: 991px){.getwid-justify-content-tablet-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width: 991px){.getwid-justify-content-tablet-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media screen and (max-width: 991px){.getwid-justify-content-tablet-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}@media screen and (max-width: 767px){.getwid-justify-content-mobile-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width: 767px){.getwid-justify-content-mobile-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media screen and (max-width: 767px){.getwid-justify-content-mobile-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}.getwid-icon{font-style:normal}.getwid-icon-like{font-family:'Font Awesome 5 Free';font-weight:900}.getwid-icon-like:before{content:'\f004'}.getwid-icon-comment{font-family:'Font Awesome 5 Free';font-weight:900}.getwid-icon-comment:before{content:'\f075'}.getwid-opacity-0{opacity:0}.getwid-opacity-5{opacity:.05}.getwid-opacity-10{opacity:.1}.getwid-opacity-15{opacity:.15}.getwid-opacity-20{opacity:.2}.getwid-opacity-25{opacity:.25}.getwid-opacity-30{opacity:.3}.getwid-opacity-35{opacity:.35}.getwid-opacity-40{opacity:.4}.getwid-opacity-45{opacity:.45}.getwid-opacity-50{opacity:.5}.getwid-opacity-55{opacity:.55}.getwid-opacity-60{opacity:.6}.getwid-opacity-65{opacity:.65}.getwid-opacity-70{opacity:.7}.getwid-opacity-75{opacity:.75}.getwid-opacity-80{opacity:.8}.getwid-opacity-85{opacity:.85}.getwid-opacity-90{opacity:.9}.getwid-opacity-95{opacity:.95}.getwid-opacity-100{opacity:1}
1
  /*!
2
  * getwid-common-styles
3
+ */@-webkit-keyframes slideInDownShort{from{-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInDownShort{from{-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInDownShort{-webkit-animation-name:slideInDownShort;animation-name:slideInDownShort}@-webkit-keyframes slideInLeftShort{from{-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInLeftShort{from{-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInLeftShort{-webkit-animation-name:slideInLeftShort;animation-name:slideInLeftShort}@-webkit-keyframes slideInRightShort{from{-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInRightShort{from{-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInRightShort{-webkit-animation-name:slideInRightShort;animation-name:slideInRightShort}@-webkit-keyframes slideInUpShort{from{-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInUpShort{from{-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInUpShort{-webkit-animation-name:slideInUpShort;animation-name:slideInUpShort}@-webkit-keyframes bounceInDownShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, 25px, 0);transform:translate3d(0, 25px, 0)}75%{-webkit-transform:translate3d(0, -10px, 0);transform:translate3d(0, -10px, 0)}90%{-webkit-transform:translate3d(0, 5px, 0);transform:translate3d(0, 5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInDownShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, 25px, 0);transform:translate3d(0, 25px, 0)}75%{-webkit-transform:translate3d(0, -10px, 0);transform:translate3d(0, -10px, 0)}90%{-webkit-transform:translate3d(0, 5px, 0);transform:translate3d(0, 5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInDownShort{-webkit-animation-name:bounceInDownShort;animation-name:bounceInDownShort}@-webkit-keyframes bounceInLeftShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(25px, 0, 0);transform:translate3d(25px, 0, 0)}75%{-webkit-transform:translate3d(-10px, 0, 0);transform:translate3d(-10px, 0, 0)}90%{-webkit-transform:translate3d(5px, 0, 0);transform:translate3d(5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInLeftShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(25px, 0, 0);transform:translate3d(25px, 0, 0)}75%{-webkit-transform:translate3d(-10px, 0, 0);transform:translate3d(-10px, 0, 0)}90%{-webkit-transform:translate3d(5px, 0, 0);transform:translate3d(5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInLeftShort{-webkit-animation-name:bounceInLeftShort;animation-name:bounceInLeftShort}@-webkit-keyframes bounceInRightShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(-25px, 0, 0);transform:translate3d(-25px, 0, 0)}75%{-webkit-transform:translate3d(10px, 0, 0);transform:translate3d(10px, 0, 0)}90%{-webkit-transform:translate3d(-5px, 0, 0);transform:translate3d(-5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInRightShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(-25px, 0, 0);transform:translate3d(-25px, 0, 0)}75%{-webkit-transform:translate3d(10px, 0, 0);transform:translate3d(10px, 0, 0)}90%{-webkit-transform:translate3d(-5px, 0, 0);transform:translate3d(-5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInRightShort{-webkit-animation-name:bounceInRightShort;animation-name:bounceInRightShort}@-webkit-keyframes bounceInUpShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, -20px, 0);transform:translate3d(0, -20px, 0)}75%{-webkit-transform:translate3d(0, 10px, 0);transform:translate3d(0, 10px, 0)}90%{-webkit-transform:translate3d(0, -5px, 0);transform:translate3d(0, -5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInUpShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, -20px, 0);transform:translate3d(0, -20px, 0)}75%{-webkit-transform:translate3d(0, 10px, 0);transform:translate3d(0, 10px, 0)}90%{-webkit-transform:translate3d(0, -5px, 0);transform:translate3d(0, -5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInUpShort{-webkit-animation-name:bounceInUpShort;animation-name:bounceInUpShort}@-webkit-keyframes fadeInDownShort{from{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInDownShort{from{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInDownShort{-webkit-animation-name:fadeInDownShort;animation-name:fadeInDownShort}@-webkit-keyframes fadeInLeftShort{from{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInLeftShort{from{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInLeftShort{-webkit-animation-name:fadeInLeftShort;animation-name:fadeInLeftShort}@-webkit-keyframes fadeInRightShort{from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInRightShort{from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInRightShort{-webkit-animation-name:fadeInRightShort;animation-name:fadeInRightShort}@-webkit-keyframes fadeInUpShort{from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInUpShort{from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInUpShort{-webkit-animation-name:fadeInUpShort;animation-name:fadeInUpShort}@-webkit-keyframes lightSpeedInShort{from{-webkit-transform:translate3d(400px, 0, 0) skewX(-30deg);transform:translate3d(400px, 0, 0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes lightSpeedInShort{from{-webkit-transform:translate3d(400px, 0, 0) skewX(-30deg);transform:translate3d(400px, 0, 0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.lightSpeedInShort{-webkit-animation-name:lightSpeedInShort;animation-name:lightSpeedInShort;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes getwidPulseAnimation{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@keyframes getwidPulseAnimation{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@-webkit-keyframes getwidTimelinePointBounce{0%{opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}60%{opacity:1;-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes getwidTimelinePointBounce{0%{opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}60%{opacity:1;-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes getwidFadeIn{from{opacity:0}to{opacity:1}}@keyframes getwidFadeIn{from{opacity:0}to{opacity:1}}.wp-block-getwid-post-carousel.is-carousel .slick-list,.wp-block-getwid-images-slider.is-carousel .slick-list{margin:0 -5px}.wp-block-getwid-post-carousel.is-carousel .slick-slide,.wp-block-getwid-images-slider.is-carousel .slick-slide{margin:0 5px}.wp-block-getwid-post-carousel.has-slides-gap-none .slick-list,.wp-block-getwid-images-slider.has-slides-gap-none .slick-list{margin:0}.wp-block-getwid-post-carousel.has-slides-gap-none .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-none .slick-slide{margin:0}.wp-block-getwid-post-carousel.has-slides-gap-small .slick-list,.wp-block-getwid-images-slider.has-slides-gap-small .slick-list{margin:0 -5px}.wp-block-getwid-post-carousel.has-slides-gap-small .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-small .slick-slide{margin:0 5px}.wp-block-getwid-post-carousel.has-slides-gap-normal .slick-list,.wp-block-getwid-images-slider.has-slides-gap-normal .slick-list{margin:0 -10px}.wp-block-getwid-post-carousel.has-slides-gap-normal .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-normal .slick-slide{margin:0 10px}.wp-block-getwid-post-carousel.has-slides-gap-large .slick-list,.wp-block-getwid-images-slider.has-slides-gap-large .slick-list{margin:0 -20px}.wp-block-getwid-post-carousel.has-slides-gap-large .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-large .slick-slide{margin:0 20px}.wp-block-getwid-post-carousel.has-slides-gap-huge .slick-list,.wp-block-getwid-images-slider.has-slides-gap-huge .slick-list{margin:0 -30px}.wp-block-getwid-post-carousel.has-slides-gap-huge .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-huge .slick-slide{margin:0 30px}.wp-block-getwid-content-slider .slick-prev,.wp-block-getwid-content-slider .slick-next,.wp-block-getwid-images-slider .slick-prev,.wp-block-getwid-images-slider .slick-next,.wp-block-getwid-media-text-slider .slick-prev,.wp-block-getwid-media-text-slider .slick-next,.wp-block-getwid-post-slider .slick-prev,.wp-block-getwid-post-slider .slick-next,.wp-block-getwid-post-carousel .slick-prev,.wp-block-getwid-post-carousel .slick-next{z-index:1;background-color:transparent}.wp-block-getwid-content-slider .slick-prev:before,.wp-block-getwid-content-slider .slick-next:before,.wp-block-getwid-images-slider .slick-prev:before,.wp-block-getwid-images-slider .slick-next:before,.wp-block-getwid-media-text-slider .slick-prev:before,.wp-block-getwid-media-text-slider .slick-next:before,.wp-block-getwid-post-slider .slick-prev:before,.wp-block-getwid-post-slider .slick-next:before,.wp-block-getwid-post-carousel .slick-prev:before,.wp-block-getwid-post-carousel .slick-next:before{color:#000}.wp-block-getwid-content-slider .slick-prev:hover,.wp-block-getwid-content-slider .slick-prev:focus,.wp-block-getwid-content-slider .slick-next:hover,.wp-block-getwid-content-slider .slick-next:focus,.wp-block-getwid-images-slider .slick-prev:hover,.wp-block-getwid-images-slider .slick-prev:focus,.wp-block-getwid-images-slider .slick-next:hover,.wp-block-getwid-images-slider .slick-next:focus,.wp-block-getwid-media-text-slider .slick-prev:hover,.wp-block-getwid-media-text-slider .slick-prev:focus,.wp-block-getwid-media-text-slider .slick-next:hover,.wp-block-getwid-media-text-slider .slick-next:focus,.wp-block-getwid-post-slider .slick-prev:hover,.wp-block-getwid-post-slider .slick-prev:focus,.wp-block-getwid-post-slider .slick-next:hover,.wp-block-getwid-post-slider .slick-next:focus,.wp-block-getwid-post-carousel .slick-prev:hover,.wp-block-getwid-post-carousel .slick-prev:focus,.wp-block-getwid-post-carousel .slick-next:hover,.wp-block-getwid-post-carousel .slick-next:focus{text-decoration:none}.wp-block-getwid-content-slider .slick-dotted.slick-slider,.wp-block-getwid-images-slider .slick-dotted.slick-slider,.wp-block-getwid-media-text-slider .slick-dotted.slick-slider,.wp-block-getwid-post-slider .slick-dotted.slick-slider,.wp-block-getwid-post-carousel .slick-dotted.slick-slider{margin-bottom:0;padding-bottom:30px}.wp-block-getwid-content-slider .slick-dots,.wp-block-getwid-images-slider .slick-dots,.wp-block-getwid-media-text-slider .slick-dots,.wp-block-getwid-post-slider .slick-dots,.wp-block-getwid-post-carousel .slick-dots{margin:0 auto;max-width:100%;width:100%;bottom:0}.wp-block-getwid-content-slider .slick-dots li,.wp-block-getwid-images-slider .slick-dots li,.wp-block-getwid-media-text-slider .slick-dots li,.wp-block-getwid-post-slider .slick-dots li,.wp-block-getwid-post-carousel .slick-dots li{margin:0 5px}.wp-block-getwid-content-slider.has-arrows-inside,.wp-block-getwid-images-slider.has-arrows-inside,.wp-block-getwid-media-text-slider.has-arrows-inside,.wp-block-getwid-post-slider.has-arrows-inside,.wp-block-getwid-post-carousel.has-arrows-inside{padding-left:0;padding-right:0}.wp-block-getwid-content-slider.has-arrows-inside .slick-prev,.wp-block-getwid-content-slider.has-arrows-inside .slick-next,.wp-block-getwid-images-slider.has-arrows-inside .slick-prev,.wp-block-getwid-images-slider.has-arrows-inside .slick-next,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-prev,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-slider.has-arrows-inside .slick-prev,.wp-block-getwid-post-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev,.wp-block-getwid-post-carousel.has-arrows-inside .slick-next{text-shadow:0px 0px 3px rgba(0,0,0,0.5)}.wp-block-getwid-content-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-content-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-images-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-images-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-post-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-post-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev:before,.wp-block-getwid-post-carousel.has-arrows-inside .slick-next:before{color:#fff}.wp-block-getwid-content-slider.has-arrows-inside .slick-prev,.wp-block-getwid-images-slider.has-arrows-inside .slick-prev,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-prev,.wp-block-getwid-post-slider.has-arrows-inside .slick-prev,.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev{left:25px}.wp-block-getwid-content-slider.has-arrows-inside .slick-next,.wp-block-getwid-images-slider.has-arrows-inside .slick-next,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-carousel.has-arrows-inside .slick-next{right:25px}.wp-block-getwid-content-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-images-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-post-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-post-carousel.has-dots-inside .slick-dotted.slick-slider{margin-bottom:0;padding-bottom:0}.wp-block-getwid-content-slider.has-dots-inside .slick-dots,.wp-block-getwid-images-slider.has-dots-inside .slick-dots,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots,.wp-block-getwid-post-slider.has-dots-inside .slick-dots,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots{bottom:20px}.wp-block-getwid-content-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-images-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-post-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots li .slick-active{color:#fff}.wp-block-getwid-content-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-images-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-post-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots li button{text-shadow:0px 0px 3px rgba(0,0,0,0.5)}.wp-block-getwid-content-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-images-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-post-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots li button:before{color:#fff}.wp-block-getwid-content-slider.alignfull .slick-list,.wp-block-getwid-images-slider.alignfull .slick-list,.wp-block-getwid-media-text-slider.alignfull .slick-list,.wp-block-getwid-post-slider.alignfull .slick-list,.wp-block-getwid-post-carousel.alignfull .slick-list{margin:0}.wp-block-getwid-content-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-content-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-images-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-images-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-media-text-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-media-text-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-post-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-post-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-post-carousel.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-post-carousel.alignfull.has-arrows-outside .slick-prev{left:25px}.wp-block-getwid-content-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-content-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-images-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-images-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-media-text-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-media-text-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-post-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-post-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-post-carousel.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-post-carousel.alignfull.has-arrows-outside .slick-next{right:25px}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-50 .wp-block-getwid-advanced-heading__content,.fs-tablet-50 .wp-block-getwid-countdown__content{font-size:50%}}@media screen and (max-width: 767px){.fs-mobile-50 .wp-block-getwid-advanced-heading__content,.fs-mobile-50 .wp-block-getwid-countdown__content{font-size:50%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-60 .wp-block-getwid-advanced-heading__content,.fs-tablet-60 .wp-block-getwid-countdown__content{font-size:60%}}@media screen and (max-width: 767px){.fs-mobile-60 .wp-block-getwid-advanced-heading__content,.fs-mobile-60 .wp-block-getwid-countdown__content{font-size:60%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-70 .wp-block-getwid-advanced-heading__content,.fs-tablet-70 .wp-block-getwid-countdown__content{font-size:70%}}@media screen and (max-width: 767px){.fs-mobile-70 .wp-block-getwid-advanced-heading__content,.fs-mobile-70 .wp-block-getwid-countdown__content{font-size:70%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-80 .wp-block-getwid-advanced-heading__content,.fs-tablet-80 .wp-block-getwid-countdown__content{font-size:80%}}@media screen and (max-width: 767px){.fs-mobile-80 .wp-block-getwid-advanced-heading__content,.fs-mobile-80 .wp-block-getwid-countdown__content{font-size:80%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-90 .wp-block-getwid-advanced-heading__content,.fs-tablet-90 .wp-block-getwid-countdown__content{font-size:90%}}@media screen and (max-width: 767px){.fs-mobile-90 .wp-block-getwid-advanced-heading__content,.fs-mobile-90 .wp-block-getwid-countdown__content{font-size:90%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-100 .wp-block-getwid-advanced-heading__content,.fs-tablet-100 .wp-block-getwid-countdown__content{font-size:100%}}@media screen and (max-width: 767px){.fs-mobile-100 .wp-block-getwid-advanced-heading__content,.fs-mobile-100 .wp-block-getwid-countdown__content{font-size:100%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-110 .wp-block-getwid-advanced-heading__content,.fs-tablet-110 .wp-block-getwid-countdown__content{font-size:110%}}@media screen and (max-width: 767px){.fs-mobile-110 .wp-block-getwid-advanced-heading__content,.fs-mobile-110 .wp-block-getwid-countdown__content{font-size:110%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-120 .wp-block-getwid-advanced-heading__content,.fs-tablet-120 .wp-block-getwid-countdown__content{font-size:120%}}@media screen and (max-width: 767px){.fs-mobile-120 .wp-block-getwid-advanced-heading__content,.fs-mobile-120 .wp-block-getwid-countdown__content{font-size:120%}}[data-animation] .wp-block-getwid-image-box__image-wrapper,[data-animation].wp-block-getwid-icon__wrapper,[data-animation] .wp-block-getwid-icon-box__icon-wrapper{-webkit-transition:.3s ease;transition:.3s ease;-webkit-transform:none;transform:none}[data-animation="slideTop"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideTop"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideTop"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateY(-10px);transform:translateY(-10px)}[data-animation="slideBottom"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideBottom"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideBottom"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateY(10px);transform:translateY(10px)}[data-animation="slideLeft"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideLeft"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideLeft"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateX(-10px);transform:translateX(-10px)}[data-animation="slideRight"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideRight"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideRight"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateX(10px);transform:translateX(10px)}[data-animation="zoomSmall"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="zoomSmall"]:hover.wp-block-getwid-icon__wrapper,[data-animation="zoomSmall"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:scale(1.05);transform:scale(1.05)}[data-animation="zoomBig"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="zoomBig"]:hover.wp-block-getwid-icon__wrapper,[data-animation="zoomBig"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:scale(1.2);transform:scale(1.2)}.getwid-columns{margin-left:-30px;margin-right:-30px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.getwid-columns.getwid-columns-1>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-1>*{width:100%}}.getwid-columns.getwid-columns-2>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-2>*{width:50%}}.getwid-columns.getwid-columns-3>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-3>*{width:33.33333%}}.getwid-columns.getwid-columns-4>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-4>*{width:25%}}.getwid-columns.getwid-columns-5>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-5>*{width:20%}}.getwid-columns.getwid-columns-6>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-6>*{width:16.66667%}}.getwid-columns.getwid-columns-7>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-7>*{width:14.28571%}}.getwid-columns.getwid-columns-8>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-8>*{width:12.5%}}.getwid-columns.getwid-columns-9>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-9>*{width:11.11111%}}.getwid-columns.getwid-columns-10>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-10>*{width:10%}}.getwid-columns.getwid-columns-11>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-11>*{width:9.09091%}}.getwid-columns.getwid-columns-12>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-12>*{width:8.33333%}}@media screen and (min-width: 992px){.getwid-hide-desktop{display:none}}@media screen and (min-width: 768px) and (max-width: 991px){.getwid-hide-tablet{display:none}}@media screen and (max-width: 767px){.getwid-hide-mobile{display:none}}.getwid-padding-top-small{padding-top:10px}.getwid-padding-top-medium{padding-top:25px}.getwid-padding-top-normal{padding-top:40px}.getwid-padding-top-large{padding-top:60px}.getwid-padding-top-none{padding-top:0 !important}.getwid-padding-bottom-small{padding-bottom:10px}.getwid-padding-bottom-medium{padding-bottom:25px}.getwid-padding-bottom-normal{padding-bottom:40px}.getwid-padding-bottom-large{padding-bottom:60px}.getwid-padding-bottom-none{padding-bottom:0 !important}.getwid-padding-left-small{padding-left:10px}.getwid-padding-left-medium{padding-left:25px}.getwid-padding-left-normal{padding-left:40px}.getwid-padding-left-large{padding-left:60px}.getwid-padding-left-none{padding-left:0 !important}.getwid-padding-right-small{padding-right:10px}.getwid-padding-right-medium{padding-right:25px}.getwid-padding-right-normal{padding-right:40px}.getwid-padding-right-large{padding-right:60px}.getwid-padding-right-none{padding-right:0 !important}@media screen and (max-width: 991px){.getwid-padding-tablet-top-small{padding-top:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-medium{padding-top:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-normal{padding-top:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-large{padding-top:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-none{padding-top:0 !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-small{padding-bottom:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-medium{padding-bottom:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-normal{padding-bottom:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-large{padding-bottom:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-none{padding-bottom:0 !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-small{padding-left:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-medium{padding-left:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-normal{padding-left:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-large{padding-left:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-none{padding-left:0 !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-small{padding-right:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-medium{padding-right:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-normal{padding-right:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-large{padding-right:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-none{padding-right:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-small{padding-top:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-medium{padding-top:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-normal{padding-top:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-large{padding-top:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-none{padding-top:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-small{padding-bottom:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-medium{padding-bottom:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-normal{padding-bottom:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-large{padding-bottom:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-none{padding-bottom:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-small{padding-left:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-medium{padding-left:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-normal{padding-left:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-large{padding-left:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-none{padding-left:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-small{padding-right:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-medium{padding-right:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-normal{padding-right:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-large{padding-right:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-none{padding-right:0 !important}}.getwid-margin-top-small{margin-top:10px !important}.getwid-margin-top-medium{margin-top:25px !important}.getwid-margin-top-normal{margin-top:40px !important}.getwid-margin-top-large{margin-top:60px !important}.getwid-margin-top-none{margin-top:0 !important}.getwid-margin-bottom-small{margin-bottom:10px !important}.getwid-margin-bottom-medium{margin-bottom:25px !important}.getwid-margin-bottom-normal{margin-bottom:40px !important}.getwid-margin-bottom-large{margin-bottom:60px !important}.getwid-margin-bottom-none{margin-bottom:0 !important}.getwid-margin-left-small{margin-left:10px}.getwid-margin-left-medium{margin-left:25px}.getwid-margin-left-normal{margin-left:40px}.getwid-margin-left-large{margin-left:60px}.getwid-margin-left-none{margin-left:0 !important}.getwid-margin-right-small{margin-right:10px}.getwid-margin-right-medium{margin-right:25px}.getwid-margin-right-normal{margin-right:40px}.getwid-margin-right-large{margin-right:60px}.getwid-margin-right-none{margin-right:0 !important}@media screen and (max-width: 991px){.getwid-margin-tablet-top-small{margin-top:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-medium{margin-top:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-normal{margin-top:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-large{margin-top:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-none{margin-top:0 !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-small{margin-bottom:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-medium{margin-bottom:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-normal{margin-bottom:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-large{margin-bottom:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-none{margin-bottom:0 !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-small{margin-left:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-medium{margin-left:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-normal{margin-left:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-large{margin-left:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-none{margin-left:0 !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-small{margin-right:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-medium{margin-right:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-normal{margin-right:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-large{margin-right:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-none{margin-right:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-small{margin-top:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-medium{margin-top:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-normal{margin-top:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-large{margin-top:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-none{margin-top:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-small{margin-bottom:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-medium{margin-bottom:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-normal{margin-bottom:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-large{margin-bottom:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-none{margin-bottom:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-small{margin-left:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-medium{margin-left:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-normal{margin-left:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-large{margin-left:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-none{margin-left:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-small{margin-right:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-medium{margin-right:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-normal{margin-right:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-large{margin-right:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-none{margin-right:0 !important}}@media screen and (min-width: 768px) and (max-width: 991px){.getwid-reset-min-height-tablet{min-height:auto !important}}@media screen and (max-width: 767px){.getwid-reset-min-height-mobile{min-height:auto !important}}@media screen and (min-width: 768px) and (max-width: 991px){.getwid-reset-height-tablet{height:auto !important}}@media screen and (max-width: 767px){.getwid-reset-height-mobile{height:auto !important}}.getwid-align-items-flex-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.getwid-align-items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.getwid-align-items-flex-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}@media screen and (max-width: 991px){.getwid-align-items-tablet-flex-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 991px){.getwid-align-items-tablet-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 991px){.getwid-align-items-tablet-flex-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}}@media screen and (max-width: 767px){.getwid-align-items-mobile-flex-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 767px){.getwid-align-items-mobile-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 767px){.getwid-align-items-mobile-flex-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}}.getwid-justify-content-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.getwid-justify-content-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.getwid-justify-content-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}@media screen and (max-width: 991px){.getwid-justify-content-tablet-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width: 991px){.getwid-justify-content-tablet-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media screen and (max-width: 991px){.getwid-justify-content-tablet-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}@media screen and (max-width: 767px){.getwid-justify-content-mobile-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width: 767px){.getwid-justify-content-mobile-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media screen and (max-width: 767px){.getwid-justify-content-mobile-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}.getwid-icon{font-style:normal}.getwid-icon-like{font-family:'Font Awesome 5 Free';font-weight:900}.getwid-icon-like:before{content:'\f004'}.getwid-icon-comment{font-family:'Font Awesome 5 Free';font-weight:900}.getwid-icon-comment:before{content:'\f075'}.getwid-opacity-0{opacity:0}.getwid-opacity-5{opacity:.05}.getwid-opacity-10{opacity:.1}.getwid-opacity-15{opacity:.15}.getwid-opacity-20{opacity:.2}.getwid-opacity-25{opacity:.25}.getwid-opacity-30{opacity:.3}.getwid-opacity-35{opacity:.35}.getwid-opacity-40{opacity:.4}.getwid-opacity-45{opacity:.45}.getwid-opacity-50{opacity:.5}.getwid-opacity-55{opacity:.55}.getwid-opacity-60{opacity:.6}.getwid-opacity-65{opacity:.65}.getwid-opacity-70{opacity:.7}.getwid-opacity-75{opacity:.75}.getwid-opacity-80{opacity:.8}.getwid-opacity-85{opacity:.85}.getwid-opacity-90{opacity:.9}.getwid-opacity-95{opacity:.95}.getwid-opacity-100{opacity:1}
assets/blocks/content-slider/frontend.js ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ !function(e){function o(l){if(t[l])return t[l].exports;var n=t[l]={i:l,l:!1,exports:{}};return e[l].call(n.exports,n,n.exports,o),n.l=!0,n.exports}var t={};o.m=e,o.c=t,o.d=function(e,t,l){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:l})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},o.p="",o(o.s=4)}({4:function(e,o){/*!
2
+ * getwid-images-slider
3
+ */
4
+ !function(e){e(document).ready(function(o){e(document.body).on("post-load",function(e){t()});var t=function(){var o=e(".wp-block-getwid-content-slider:not(.getwid-init)");o.length&&o.each(function(o){var t,l,n,a,i,s,d,r,u,c,p=e(this),f=p.find(".wp-block-getwid-content-slider__wrapper").first();p.addClass("getwid-init"),f.slick({autoplay:!!p.data("autoplay"),autoplaySpeed:null!==(t=p.data("autoplay-speed"))&&void 0!==t?t:3e3,arrows:"none"!==p.data("arrows"),dots:"none"!==p.data("dots"),speed:null!==(l=p.data("animation-speed"))&&void 0!==l?l:800,infinite:!!p.data("infinite"),fade:"fade"===p.data("effect"),centerMode:!!p.data("center-mode"),pauseOnHover:!!p.data("pause-hover"),rows:0,slidesToShow:null!==(n=p.data("slides-show"))&&void 0!==n?n:1,slidesToScroll:null!==(a=p.data("slides-scroll"))&&void 0!==a?a:1,responsive:[{breakpoint:991,settings:{slidesToShow:null!==(i=p.data("slides-show-laptop"))&&void 0!==i?i:1,slidesToScroll:null!==(s=p.data("slides-scroll-laptop"))&&void 0!==s?s:1}},{breakpoint:768,settings:{slidesToShow:null!==(d=p.data("slides-show-tablet"))&&void 0!==d?d:1,slidesToScroll:null!==(r=p.data("slides-scroll-tablet"))&&void 0!==r?r:1}},{breakpoint:468,settings:{slidesToShow:null!==(u=p.data("slides-show-mobile"))&&void 0!==u?u:1,slidesToScroll:null!==(c=p.data("slides-scroll-mobile"))&&void 0!==c?c:1}}]})})};t()})}(jQuery)}});
assets/blocks/content-timeline/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(n){function t(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var e={};t.m=n,t.c=e,t.d=function(n,e,i){t.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:i})},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=4)}([,,,,function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e(5),o=e.n(i);/*!
2
  * getwid-content-timeline
3
  */
4
- !function(n){var t=this;n(document).ready(function(e){n(document.body).on("post-load",function(n){i()});var i=function(){n(".wp-block-getwid-content-timeline:not(.getwid-init)").each(function(e,i){n(t).addClass("getwid-init");var c=!1,r="wp-block-getwid-content-timeline-item",a=n(i).find(".".concat(r)),s="none"!=n(i).data("animation")?n(i).data("animation"):null,d=n(i).find("div[class$=__point]").data("point-color"),u=n(i).data("filling");n.each(a,function(t,e){s&&(e.getBoundingClientRect().top>.8*window.innerHeight?n(e).addClass("is-hidden"):n(e).addClass(s));var i=n(e).find(".".concat(r,"__content-wrapper"));(0==i.children().length||i.find(".".concat(r,"__mobile-meta")).is(":only-child"))&&i.addClass("has-no-content")});var l=function(t){n.each(a,function(e,i){n(i).hasClass("is-hidden")&&i.getBoundingClientRect().top<=.8*window.innerHeight&&(n(i).removeClass("is-hidden"),n(i).addClass(t))}),c=!1};s&&n(document).scroll(function(){c||(c=!0,window.requestAnimationFrame?window.requestAnimationFrame(function(){return l(s)}):setTimeout(function(){return l(s)},250))});var f=n(window).height()/2,p=function(){var t=n(i).find(".".concat(r,"__point")),e=0;n.each(t,function(n,i){t[n+1]&&(e+=t[n+1].getBoundingClientRect().top-i.getBoundingClientRect().top)});var c=n(i).find("div[class$=__line]"),a=t.get(),s=o()(a),d=s[0],u=(s.slice(1),n(d).position().top+n(d).height()/2);c.css({height:e,top:u})},g=function(){var t=n(i).find(".".concat(r,"__point")),e=t.get(),c=o()(e);c[0],c.slice(1).length&&n.each(t,function(t,e){var i=e.getBoundingClientRect().top,o=n(e).parents(".".concat(r))[0];i<=f?(n(o).hasClass("is-active")||n(o).addClass("is-active"),n(e).find(":first-child").css({borderColor:d||""})):(n(o).hasClass("is-active")&&n(o).removeClass("is-active"),n(e).find(":first-child").css({borderColor:""}))})},h=function(){var t=n(i).find(".".concat(r,"__point")),e=n(i).find("div[class*=__bar]")[0],c=e.getBoundingClientRect().top,a=t.toArray(),s=o()(a),d=s[0],u=s.slice(1),l=f-d.getBoundingClientRect().top;if(u.length){var p=u.slice(-1).pop(),g=p.getBoundingClientRect().top;c<=f&&g>=f&&n(e).css({height:l}),c>=f&&n(e).css({height:0}),g<=f&&n(e).css({height:"100%"})}};n(document).ready(function(){var t=setInterval(function(){"complete"==document.readyState&&(p(),u&&(g(),h()),u&&n(document).scroll(function(){g(),h()}),clearInterval(t))},1e3)}),n(window).resize(function(){p(),u&&(g(),h())})})};i()})}(jQuery)},function(n,t,e){function i(n){return o(n)||c(n)||r()}var o=e(6),c=e(7),r=e(8);n.exports=i},function(n,t){function e(n){if(Array.isArray(n))return n}n.exports=e},function(n,t){function e(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}n.exports=e},function(n,t){function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.exports=e}]);
1
+ !function(n){function t(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var e={};t.m=n,t.c=e,t.d=function(n,e,i){t.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:i})},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=5)}([,,,,,function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e(6),o=e.n(i);/*!
2
  * getwid-content-timeline
3
  */
4
+ !function(n){var t=this;n(document).ready(function(e){n(document.body).on("post-load",function(n){i()});var i=function(){n(".wp-block-getwid-content-timeline:not(.getwid-init)").each(function(e,i){n(t).addClass("getwid-init");var c=!1,r="wp-block-getwid-content-timeline-item",a=n(i).find(".".concat(r)),s="none"!=n(i).data("animation")?n(i).data("animation"):null,d=n(i).find("div[class$=__point]").data("point-color"),u=n(i).data("filling");n.each(a,function(t,e){s&&(e.getBoundingClientRect().top>.8*window.innerHeight?n(e).addClass("is-hidden"):n(e).addClass(s));var i=n(e).find(".".concat(r,"__content-wrapper"));(0==i.children().length||i.find(".".concat(r,"__mobile-meta")).is(":only-child"))&&i.addClass("has-no-content")});var l=function(t){n.each(a,function(e,i){n(i).hasClass("is-hidden")&&i.getBoundingClientRect().top<=.8*window.innerHeight&&(n(i).removeClass("is-hidden"),n(i).addClass(t))}),c=!1};s&&n(document).scroll(function(){c||(c=!0,window.requestAnimationFrame?window.requestAnimationFrame(function(){return l(s)}):setTimeout(function(){return l(s)},250))});var f=n(window).height()/2,p=function(){var t=n(i).find(".".concat(r,"__point")),e=0;n.each(t,function(n,i){t[n+1]&&(e+=t[n+1].getBoundingClientRect().top-i.getBoundingClientRect().top)});var c=n(i).find("div[class$=__line]"),a=t.get(),s=o()(a),d=s[0],u=(s.slice(1),n(d).position().top+n(d).height()/2);c.css({height:e,top:u})},g=function(){var t=n(i).find(".".concat(r,"__point")),e=t.get(),c=o()(e);c[0],c.slice(1).length&&n.each(t,function(t,e){var i=e.getBoundingClientRect().top,o=n(e).parents(".".concat(r))[0];i<=f?(n(o).hasClass("is-active")||n(o).addClass("is-active"),n(e).find(":first-child").css({borderColor:d||""})):(n(o).hasClass("is-active")&&n(o).removeClass("is-active"),n(e).find(":first-child").css({borderColor:""}))})},h=function(){var t=n(i).find(".".concat(r,"__point")),e=n(i).find("div[class*=__bar]")[0],c=e.getBoundingClientRect().top,a=t.toArray(),s=o()(a),d=s[0],u=s.slice(1),l=f-d.getBoundingClientRect().top;if(u.length){var p=u.slice(-1).pop(),g=p.getBoundingClientRect().top;c<=f&&g>=f&&n(e).css({height:l}),c>=f&&n(e).css({height:0}),g<=f&&n(e).css({height:"100%"})}};n(document).ready(function(){var t=setInterval(function(){"complete"==document.readyState&&(p(),u&&(g(),h()),u&&n(document).scroll(function(){g(),h()}),clearInterval(t))},1e3)}),n(window).resize(function(){p(),u&&(g(),h())})})};i()})}(jQuery)},function(n,t,e){function i(n){return o(n)||c(n)||r()}var o=e(7),c=e(8),r=e(9);n.exports=i},function(n,t){function e(n){if(Array.isArray(n))return n}n.exports=e},function(n,t){function e(n){if(Symbol.iterator in Object(n)||"[object Arguments]"===Object.prototype.toString.call(n))return Array.from(n)}n.exports=e},function(n,t){function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}n.exports=e}]);
assets/blocks/countdown/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(t){function n(e){if(o[e])return o[e].exports;var a=o[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,n),a.l=!0,a.exports}var o={};n.m=t,n.c=o,n.d=function(t,o,e){n.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(o,"a",o),o},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=9)}({9:function(t,n){/*!
2
  * getwid-countdown
3
  */
4
  !function(t){t(document).ready(function(n){t(document.body).on("post-load",function(t){o()});var o=function(){t(".wp-block-getwid-countdown:not(.getwid-init)").each(function(n,o){t(this).addClass("getwid-init");var e=jQuery(o).find(".wp-block-getwid-countdown__content"),a=e.data("datetime"),r=e.data("years"),c=e.data("months"),u=e.data("weeks"),d=e.data("days"),i=e.data("hours"),s=e.data("minutes"),f=e.data("seconds"),l=e.data("bg-color"),p="negative"==a?"":a,w="";r&&(w+="Y"),c&&(w+="O"),u&&(w+="W"),d&&(w+="D"),i&&(w+="H"),s&&(w+="M"),f&&(w+="S"),e.countdown({until:p,format:w,onTick:function(t){var n=jQuery(".countdown-section",e);l&&n.css("background-color",l)}})})};o()})}(jQuery)}});
1
+ !function(t){function n(e){if(o[e])return o[e].exports;var a=o[e]={i:e,l:!1,exports:{}};return t[e].call(a.exports,a,a.exports,n),a.l=!0,a.exports}var o={};n.m=t,n.c=o,n.d=function(t,o,e){n.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(o,"a",o),o},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=10)}({10:function(t,n){/*!
2
  * getwid-countdown
3
  */
4
  !function(t){t(document).ready(function(n){t(document.body).on("post-load",function(t){o()});var o=function(){t(".wp-block-getwid-countdown:not(.getwid-init)").each(function(n,o){t(this).addClass("getwid-init");var e=jQuery(o).find(".wp-block-getwid-countdown__content"),a=e.data("datetime"),r=e.data("years"),c=e.data("months"),u=e.data("weeks"),d=e.data("days"),i=e.data("hours"),s=e.data("minutes"),f=e.data("seconds"),l=e.data("bg-color"),p="negative"==a?"":a,w="";r&&(w+="Y"),c&&(w+="O"),u&&(w+="W"),d&&(w+="D"),i&&(w+="H"),s&&(w+="M"),f&&(w+="S"),e.countdown({until:p,format:w,onTick:function(t){var n=jQuery(".countdown-section",e);l&&n.css("background-color",l)}})})};o()})}(jQuery)}});
assets/blocks/counter/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(n){function t(a){if(r[a])return r[a].exports;var e=r[a]={i:a,l:!1,exports:{}};return n[a].call(e.exports,e,e.exports,t),e.l=!0,e.exports}var r={};t.m=n,t.c=r,t.d=function(n,r,a){t.o(n,r)||Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:a})},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=10)}({10:function(n,t){/*!
2
  * getwid-counter
3
  */
4
  !function(n){n(document).ready(function(t){n(document.body).on("post-load",function(n){r()});var r=function(){n(".wp-block-getwid-counter:not(.getwid-init)").each(function(t){function r(){if(!d)return null;switch(l){case"outExpo":return function(n,t,r,a){return r*(1-Math.pow(2,-10*n/a))*1024/1023+t};case"outQuintic":return function(n,t,r,a){var e=(n/=a)*n,c=e*n;return t+r*(c*e+-5*e*e+10*c+-10*e+5*n)};case"outCubic":return function(n,t,r,a){var e=(n/=a)*n;return t+r*(e*n+-3*e+3*n)}}}function a(){switch(_){case"eastern_arabic":return["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"];case"farsi":return["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"];default:return null}}function e(){return{startVal:c,decimalPlaces:i,duration:u,useEasing:d,useGrouping:p,separator:f,decimal:s,easingFn:r(),numerals:a()}}n(this).addClass("getwid-init");var c,o,i,u,d,p,f,s,l,_,w=".wp-block-getwid-counter",g=n(this);c=g.find("".concat(w,"__wrapper")).data("start"),o=g.find("".concat(w,"__wrapper")).data("end"),i=g.find("".concat(w,"__wrapper")).data("decimal-places"),u=g.find("".concat(w,"__wrapper")).data("duration"),d=g.find("".concat(w,"__wrapper")).data("use-easing"),p=g.find("".concat(w,"__wrapper")).data("use-grouping"),f=g.find("".concat(w,"__wrapper")).data("separator"),s=g.find("".concat(w,"__wrapper")).data("decimal"),l=g.find("".concat(w,"__wrapper")).data("easing-fn"),_=g.find("".concat(w,"__wrapper")).data("numerals");var m=g.find("".concat(w,"__number")),b=new Waypoint({element:m.get(0),handler:function(){new CountUp(m.get(0),o,e()).start(),b.destroy()},offset:"100%"})})};r()})}(jQuery)}});
1
+ !function(n){function t(a){if(r[a])return r[a].exports;var e=r[a]={i:a,l:!1,exports:{}};return n[a].call(e.exports,e,e.exports,t),e.l=!0,e.exports}var r={};t.m=n,t.c=r,t.d=function(n,r,a){t.o(n,r)||Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:a})},t.n=function(n){var r=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(r,"a",r),r},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=11)}({11:function(n,t){/*!
2
  * getwid-counter
3
  */
4
  !function(n){n(document).ready(function(t){n(document.body).on("post-load",function(n){r()});var r=function(){n(".wp-block-getwid-counter:not(.getwid-init)").each(function(t){function r(){if(!d)return null;switch(l){case"outExpo":return function(n,t,r,a){return r*(1-Math.pow(2,-10*n/a))*1024/1023+t};case"outQuintic":return function(n,t,r,a){var e=(n/=a)*n,c=e*n;return t+r*(c*e+-5*e*e+10*c+-10*e+5*n)};case"outCubic":return function(n,t,r,a){var e=(n/=a)*n;return t+r*(e*n+-3*e+3*n)}}}function a(){switch(_){case"eastern_arabic":return["٠","١","٢","٣","٤","٥","٦","٧","٨","٩"];case"farsi":return["۰","۱","۲","۳","۴","۵","۶","۷","۸","۹"];default:return null}}function e(){return{startVal:c,decimalPlaces:i,duration:u,useEasing:d,useGrouping:p,separator:f,decimal:s,easingFn:r(),numerals:a()}}n(this).addClass("getwid-init");var c,o,i,u,d,p,f,s,l,_,w=".wp-block-getwid-counter",g=n(this);c=g.find("".concat(w,"__wrapper")).data("start"),o=g.find("".concat(w,"__wrapper")).data("end"),i=g.find("".concat(w,"__wrapper")).data("decimal-places"),u=g.find("".concat(w,"__wrapper")).data("duration"),d=g.find("".concat(w,"__wrapper")).data("use-easing"),p=g.find("".concat(w,"__wrapper")).data("use-grouping"),f=g.find("".concat(w,"__wrapper")).data("separator"),s=g.find("".concat(w,"__wrapper")).data("decimal"),l=g.find("".concat(w,"__wrapper")).data("easing-fn"),_=g.find("".concat(w,"__wrapper")).data("numerals");var m=g.find("".concat(w,"__number")),b=new Waypoint({element:m.get(0),handler:function(){new CountUp(m.get(0),o,e()).start(),b.destroy()},offset:"100%"})})};r()})}(jQuery)}});
assets/blocks/icon-box/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(n){function t(o){if(i[o])return i[o].exports;var e=i[o]={i:o,l:!1,exports:{}};return n[o].call(e.exports,e,e.exports,t),e.l=!0,e.exports}var i={};t.m=n,t.c=i,t.d=function(n,i,o){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=11)}({0:function(n,t,i){"use strict";function o(n,t,i){var o=function(n){var t={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var i in t)if(void 0!==n.style[i])return t[i]}(document.createElement("div")),e=void 0!==t.animation?t.animation:"",a=void 0!==t.duration?t.duration:"1s",r=void 0!==t.delay?t.delay:"0s";return n.css({"animation-duration":a,"animation-delay":r,"-webkit-animation-delay":r}),n.addClass("animated "+e).one(o,function(){jQuery(this).removeClass("animated "+e),"function"==typeof i&&i()}),this}t.a=o},11:function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(0);/*!
2
  * getwid-icon-box
3
  */
4
  !function(n){n(document).ready(function(t){n(document.body).on("post-load",function(n){i()});var i=function(){n(".wp-block-getwid-icon-box:not(.getwid-init)").each(function(t,i){n(i).addClass("getwid-init"),n(".getwid-animation.wp-block-getwid-icon-box").on("mouseenter",function(){Object(o.a)(n(this).find(".wp-block-getwid-icon-box__icon-wrapper"),{animation:n(this).attr("data-animation")})})})};i()})}(jQuery)}});
1
+ !function(n){function t(o){if(i[o])return i[o].exports;var e=i[o]={i:o,l:!1,exports:{}};return n[o].call(e.exports,e,e.exports,t),e.l=!0,e.exports}var i={};t.m=n,t.c=i,t.d=function(n,i,o){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=12)}({0:function(n,t,i){"use strict";function o(n,t,i){var o=function(n){var t={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var i in t)if(void 0!==n.style[i])return t[i]}(document.createElement("div")),e=void 0!==t.animation?t.animation:"",a=void 0!==t.duration?t.duration:"1s",r=void 0!==t.delay?t.delay:"0s";return n.css({"animation-duration":a,"animation-delay":r,"-webkit-animation-delay":r}),n.addClass("animated "+e).one(o,function(){jQuery(this).removeClass("animated "+e),"function"==typeof i&&i()}),this}t.a=o},12:function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(0);/*!
2
  * getwid-icon-box
3
  */
4
  !function(n){n(document).ready(function(t){n(document.body).on("post-load",function(n){i()});var i=function(){n(".wp-block-getwid-icon-box:not(.getwid-init)").each(function(t,i){n(i).addClass("getwid-init"),n(".getwid-animation.wp-block-getwid-icon-box").on("mouseenter",function(){Object(o.a)(n(this).find(".wp-block-getwid-icon-box__icon-wrapper"),{animation:n(this).attr("data-animation")})})})};i()})}(jQuery)}});
assets/blocks/icon/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(n){function t(o){if(i[o])return i[o].exports;var e=i[o]={i:o,l:!1,exports:{}};return n[o].call(e.exports,e,e.exports,t),e.l=!0,e.exports}var i={};t.m=n,t.c=i,t.d=function(n,i,o){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=12)}({0:function(n,t,i){"use strict";function o(n,t,i){var o=function(n){var t={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var i in t)if(void 0!==n.style[i])return t[i]}(document.createElement("div")),e=void 0!==t.animation?t.animation:"",a=void 0!==t.duration?t.duration:"1s",r=void 0!==t.delay?t.delay:"0s";return n.css({"animation-duration":a,"animation-delay":r,"-webkit-animation-delay":r}),n.addClass("animated "+e).one(o,function(){jQuery(this).removeClass("animated "+e),"function"==typeof i&&i()}),this}t.a=o},12:function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(0);/*!
2
  * getwid-icon
3
  */
4
  !function(n){n(document).ready(function(t){n(document.body).on("post-load",function(n){i()});var i=function(){n(".wp-block-getwid-icon:not(.getwid-init)").each(function(t,i){n(i).addClass("getwid-init"),n(".getwid-animation.wp-block-getwid-icon__wrapper").on("mouseenter",function(){Object(o.a)(n(this),{animation:n(this).attr("data-animation")})})})};i()})}(jQuery)}});
1
+ !function(n){function t(o){if(i[o])return i[o].exports;var e=i[o]={i:o,l:!1,exports:{}};return n[o].call(e.exports,e,e.exports,t),e.l=!0,e.exports}var i={};t.m=n,t.c=i,t.d=function(n,i,o){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=13)}({0:function(n,t,i){"use strict";function o(n,t,i){var o=function(n){var t={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var i in t)if(void 0!==n.style[i])return t[i]}(document.createElement("div")),e=void 0!==t.animation?t.animation:"",a=void 0!==t.duration?t.duration:"1s",r=void 0!==t.delay?t.delay:"0s";return n.css({"animation-duration":a,"animation-delay":r,"-webkit-animation-delay":r}),n.addClass("animated "+e).one(o,function(){jQuery(this).removeClass("animated "+e),"function"==typeof i&&i()}),this}t.a=o},13:function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(0);/*!
2
  * getwid-icon
3
  */
4
  !function(n){n(document).ready(function(t){n(document.body).on("post-load",function(n){i()});var i=function(){n(".wp-block-getwid-icon:not(.getwid-init)").each(function(t,i){n(i).addClass("getwid-init"),n(".getwid-animation.wp-block-getwid-icon__wrapper").on("mouseenter",function(){Object(o.a)(n(this),{animation:n(this).attr("data-animation")})})})};i()})}(jQuery)}});
assets/blocks/image-box/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(n){function t(o){if(i[o])return i[o].exports;var e=i[o]={i:o,l:!1,exports:{}};return n[o].call(e.exports,e,e.exports,t),e.l=!0,e.exports}var i={};t.m=n,t.c=i,t.d=function(n,i,o){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=13)}({0:function(n,t,i){"use strict";function o(n,t,i){var o=function(n){var t={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var i in t)if(void 0!==n.style[i])return t[i]}(document.createElement("div")),e=void 0!==t.animation?t.animation:"",a=void 0!==t.duration?t.duration:"1s",r=void 0!==t.delay?t.delay:"0s";return n.css({"animation-duration":a,"animation-delay":r,"-webkit-animation-delay":r}),n.addClass("animated "+e).one(o,function(){jQuery(this).removeClass("animated "+e),"function"==typeof i&&i()}),this}t.a=o},13:function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(0);/*!
2
  * getwid-image-box
3
  */
4
  !function(n){n(document).ready(function(t){n(document.body).on("post-load",function(n){i()});var i=function(){n(".wp-block-getwid-image-box:not(.getwid-init)").each(function(t,i){n(i).addClass("getwid-init"),n(".getwid-animation.wp-block-getwid-image-box").on("mouseenter",function(){Object(o.a)(n(this).find(".wp-block-getwid-image-box__image-wrapper"),{animation:n(this).attr("data-animation")})})})};i()})}(jQuery)}});
1
+ !function(n){function t(o){if(i[o])return i[o].exports;var e=i[o]={i:o,l:!1,exports:{}};return n[o].call(e.exports,e,e.exports,t),e.l=!0,e.exports}var i={};t.m=n,t.c=i,t.d=function(n,i,o){t.o(n,i)||Object.defineProperty(n,i,{configurable:!1,enumerable:!0,get:o})},t.n=function(n){var i=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(i,"a",i),i},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=14)}({0:function(n,t,i){"use strict";function o(n,t,i){var o=function(n){var t={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var i in t)if(void 0!==n.style[i])return t[i]}(document.createElement("div")),e=void 0!==t.animation?t.animation:"",a=void 0!==t.duration?t.duration:"1s",r=void 0!==t.delay?t.delay:"0s";return n.css({"animation-duration":a,"animation-delay":r,"-webkit-animation-delay":r}),n.addClass("animated "+e).one(o,function(){jQuery(this).removeClass("animated "+e),"function"==typeof i&&i()}),this}t.a=o},14:function(n,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=i(0);/*!
2
  * getwid-image-box
3
  */
4
  !function(n){n(document).ready(function(t){n(document.body).on("post-load",function(n){i()});var i=function(){n(".wp-block-getwid-image-box:not(.getwid-init)").each(function(t,i){n(i).addClass("getwid-init"),n(".getwid-animation.wp-block-getwid-image-box").on("mouseenter",function(){Object(o.a)(n(this).find(".wp-block-getwid-image-box__image-wrapper"),{animation:n(this).attr("data-animation")})})})};i()})}(jQuery)}});
assets/blocks/image-hotspot/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(t){function i(o){if(n[o])return n[o].exports;var e=n[o]={i:o,l:!1,exports:{}};return t[o].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var n={};i.m=t,i.c=n,i.d=function(t,n,o){i.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},i.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(n,"a",n),n},i.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="",i(i.s=14)}({0:function(t,i,n){"use strict";function o(t,i,n){var o=function(t){var i={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var n in i)if(void 0!==t.style[n])return i[n]}(document.createElement("div")),e=void 0!==i.animation?i.animation:"",a=void 0!==i.duration?i.duration:"1s",d=void 0!==i.delay?i.delay:"0s";return t.css({"animation-duration":a,"animation-delay":d,"-webkit-animation-delay":d}),t.addClass("animated "+e).one(o,function(){jQuery(this).removeClass("animated "+e),"function"==typeof n&&n()}),this}i.a=o},14:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var o=n(0);/*!
2
  * getwid-image-hotspot
3
  */
4
  !function(t){t(document).ready(function(i){t(document.body).on("post-load",function(t){n()});var n=function(){t(".wp-block-getwid-image-hotspot:not(.getwid-init)").each(function(i,n){t(this).addClass("getwid-init");var e=t(n).data("trigger"),a=t(n).data("theme"),d=t(n).data("tooltip-animation"),r=t(n).data("arrow"),c=t(n).data("image-points");t(".getwid-animation .wp-block-getwid-image-hotspot__dot").on("mouseenter",function(){Object(o.a)(t(this),{animation:t(this).closest(".getwid-animation").attr("data-animation")})}),t(n).find(".wp-block-getwid-image-hotspot__dot").each(function(i,n){var o=t(n),s=o.data("point-id"),l=_unescape(o.find(".wp-block-getwid-image-hotspot__dot-title").html()),m=_unescape(c[s].content),p=c[s].popUpOpen,u=c[s].placement,f=c[s].popUpWidth,g=tippy(n,{maxWidth:parseInt(f,10),hideOnClick:"multiple"!=e||"toggle",theme:a,animation:d,animateFill:!1,interactive:!0,trigger:"hover"==e?"mouseenter":"click",arrow:r,placement:u,allowHTML:!0,content:'<div class="wp-block-getwid-image-hotspot__tooltip"><div class="wp-block-getwid-image-hotspot__tooltip-title">'.concat(l,'</div><div class="wp-block-getwid-image-hotspot__tooltip-content">').concat(m,"</div></div>")});p&&setTimeout(function(){g.show()},1e3),o.find(".wp-block-getwid-image-hotspot__dot-description").remove(),new Waypoint({element:n,handler:function(i){t(this.element).addClass("is-visible")},offset:"100%"})})})};n()})}(jQuery)}});
1
+ !function(t){function i(o){if(n[o])return n[o].exports;var e=n[o]={i:o,l:!1,exports:{}};return t[o].call(e.exports,e,e.exports,i),e.l=!0,e.exports}var n={};i.m=t,i.c=n,i.d=function(t,n,o){i.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},i.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(n,"a",n),n},i.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},i.p="",i(i.s=15)}({0:function(t,i,n){"use strict";function o(t,i,n){var o=function(t){var i={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var n in i)if(void 0!==t.style[n])return i[n]}(document.createElement("div")),e=void 0!==i.animation?i.animation:"",a=void 0!==i.duration?i.duration:"1s",d=void 0!==i.delay?i.delay:"0s";return t.css({"animation-duration":a,"animation-delay":d,"-webkit-animation-delay":d}),t.addClass("animated "+e).one(o,function(){jQuery(this).removeClass("animated "+e),"function"==typeof n&&n()}),this}i.a=o},15:function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var o=n(0);/*!
2
  * getwid-image-hotspot
3
  */
4
  !function(t){t(document).ready(function(i){t(document.body).on("post-load",function(t){n()});var n=function(){t(".wp-block-getwid-image-hotspot:not(.getwid-init)").each(function(i,n){t(this).addClass("getwid-init");var e=t(n).data("trigger"),a=t(n).data("theme"),d=t(n).data("tooltip-animation"),r=t(n).data("arrow"),c=t(n).data("image-points");t(".getwid-animation .wp-block-getwid-image-hotspot__dot").on("mouseenter",function(){Object(o.a)(t(this),{animation:t(this).closest(".getwid-animation").attr("data-animation")})}),t(n).find(".wp-block-getwid-image-hotspot__dot").each(function(i,n){var o=t(n),s=o.data("point-id"),l=_unescape(o.find(".wp-block-getwid-image-hotspot__dot-title").html()),m=_unescape(c[s].content),p=c[s].popUpOpen,u=c[s].placement,f=c[s].popUpWidth,g=tippy(n,{maxWidth:parseInt(f,10),hideOnClick:"multiple"!=e||"toggle",theme:a,animation:d,animateFill:!1,interactive:!0,trigger:"hover"==e?"mouseenter":"click",arrow:r,placement:u,allowHTML:!0,content:'<div class="wp-block-getwid-image-hotspot__tooltip"><div class="wp-block-getwid-image-hotspot__tooltip-title">'.concat(l,'</div><div class="wp-block-getwid-image-hotspot__tooltip-content">').concat(m,"</div></div>")});p&&setTimeout(function(){g.show()},1e3),o.find(".wp-block-getwid-image-hotspot__dot-description").remove(),new Waypoint({element:n,handler:function(i){t(this.element).addClass("is-visible")},offset:"100%"})})})};n()})}(jQuery)}});
assets/blocks/images-slider/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e){function t(s){if(a[s])return a[s].exports;var o=a[s]={i:s,l:!1,exports:{}};return e[s].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var a={};t.m=e,t.c=a,t.d=function(e,a,s){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:s})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=15)}({15:function(e,t){/*!
2
  * getwid-images-slider
3
  */
4
  !function(e){e(document).ready(function(t){e(document.body).on("post-load",function(e){a()});var a=function(){var t,a,s,o,d,i,n,l,r,p,c,u,f,w,h,b,g,m,v,y=e(".wp-block-getwid-images-slider:not(.getwid-init) .wp-block-getwid-images-slider__wrapper");y.length&&"undefined"!=typeof imagesLoaded&&y.each(function(y){t=e(this),t.closest(".wp-block-getwid-images-slider").addClass("getwid-init"),t.imagesLoaded().done(function(t){var y=e(t.elements[0]);a="fade"==y.data("effect"),s=y.data("slides-show")&&"slide"==y.data("effect")?parseInt(y.data("slides-show")):1,o=y.data("slides-show-laptop")?parseInt(y.data("slides-show-laptop")):1,d=y.data("slides-show-tablet")?parseInt(y.data("slides-show-tablet")):1,i=y.data("slides-show-mobile")?parseInt(y.data("slides-show-mobile")):1,n=y.data("slides-scroll")?parseInt(y.data("slides-scroll")):1,l=1==y.data("autoplay"),r=parseInt(y.data("autoplay-speed"))?parseInt(y.data("autoplay-speed")):2e3,p=1==y.data("infinite"),c=parseInt(y.data("animation-speed")),u=1==y.data("center-mode"),f=1==y.data("variable-width"),w=1==y.data("pause-hover"),h="none"!=y.data("arrows"),b="none"!=y.data("dots"),g=y.data("height")?y.data("height"):void 0,m=!!y.data("reset-on-tablet"),v=!!y.data("reset-on-mobile"),e(t.elements[0]).slick({arrows:h,dots:b,rows:0,slidesToShow:s,slidesToScroll:n,autoplay:l,autoplaySpeed:r,fade:a,speed:c,infinite:p,centerMode:u,variableWidth:f,pauseOnHover:w,adaptiveHeight:!0,responsive:[{breakpoint:991,settings:{slidesToShow:o,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:d,slidesToScroll:1}},{breakpoint:468,settings:{slidesToShow:i,slidesToScroll:1}}]})})})};a()})}(jQuery)}});
1
+ !function(e){function t(s){if(a[s])return a[s].exports;var o=a[s]={i:s,l:!1,exports:{}};return e[s].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var a={};t.m=e,t.c=a,t.d=function(e,a,s){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:s})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=16)}({16:function(e,t){/*!
2
  * getwid-images-slider
3
  */
4
  !function(e){e(document).ready(function(t){e(document.body).on("post-load",function(e){a()});var a=function(){var t,a,s,o,d,i,n,l,r,p,c,u,f,w,h,b,g,m,v,y=e(".wp-block-getwid-images-slider:not(.getwid-init) .wp-block-getwid-images-slider__wrapper");y.length&&"undefined"!=typeof imagesLoaded&&y.each(function(y){t=e(this),t.closest(".wp-block-getwid-images-slider").addClass("getwid-init"),t.imagesLoaded().done(function(t){var y=e(t.elements[0]);a="fade"==y.data("effect"),s=y.data("slides-show")&&"slide"==y.data("effect")?parseInt(y.data("slides-show")):1,o=y.data("slides-show-laptop")?parseInt(y.data("slides-show-laptop")):1,d=y.data("slides-show-tablet")?parseInt(y.data("slides-show-tablet")):1,i=y.data("slides-show-mobile")?parseInt(y.data("slides-show-mobile")):1,n=y.data("slides-scroll")?parseInt(y.data("slides-scroll")):1,l=1==y.data("autoplay"),r=parseInt(y.data("autoplay-speed"))?parseInt(y.data("autoplay-speed")):2e3,p=1==y.data("infinite"),c=parseInt(y.data("animation-speed")),u=1==y.data("center-mode"),f=1==y.data("variable-width"),w=1==y.data("pause-hover"),h="none"!=y.data("arrows"),b="none"!=y.data("dots"),g=y.data("height")?y.data("height"):void 0,m=!!y.data("reset-on-tablet"),v=!!y.data("reset-on-mobile"),e(t.elements[0]).slick({arrows:h,dots:b,rows:0,slidesToShow:s,slidesToScroll:n,autoplay:l,autoplaySpeed:r,fade:a,speed:c,infinite:p,centerMode:u,variableWidth:f,pauseOnHover:w,adaptiveHeight:!0,responsive:[{breakpoint:991,settings:{slidesToShow:o,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:d,slidesToScroll:1}},{breakpoint:468,settings:{slidesToShow:i,slidesToScroll:1}}]})})})};a()})}(jQuery)}});
assets/blocks/mailchimp/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(t){function e(s){if(n[s])return n[s].exports;var a=n[s]={i:s,l:!1,exports:{}};return t[s].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,s){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:s})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=16)}({16:function(t,e){/*!
2
  * getwid-mailchimp
3
  */
4
  !function(t){var e=this;t(document).ready(function(n){t(document.body).on("post-load",function(t){s()});var s=function(){t(".wp-block-getwid-mailchimp__form:not(.getwid-init)").each(function(n,s){t(e).addClass("getwid-init");var a=t(s).find("p[class$=__result]"),r=t(s).find("button[type='submit']");a.hide(),t(s).submit(function(e){e.preventDefault(),r.prop("disabled",!0);var n={};t(s).serializeArray().forEach(function(t,e){n[t.name]=t.value});var i={action:"getwid_subscribe",data:n};""!=a.text()&&a.hide(300),t.post(Getwid.ajax_url,i,function(e){a.hasClass("success")?a.removeClass("success"):a.hasClass("fail")&&a.removeClass("fail"),r.prop("disabled",!1),e.success?(t(s)[0].reset(),a.addClass("success")):a.addClass("fail"),a.html(e.data),a.show(300)})})})};s()})}(jQuery)}});
1
+ !function(t){function e(s){if(n[s])return n[s].exports;var a=n[s]={i:s,l:!1,exports:{}};return t[s].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,s){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:s})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=17)}({17:function(t,e){/*!
2
  * getwid-mailchimp
3
  */
4
  !function(t){var e=this;t(document).ready(function(n){t(document.body).on("post-load",function(t){s()});var s=function(){t(".wp-block-getwid-mailchimp__form:not(.getwid-init)").each(function(n,s){t(e).addClass("getwid-init");var a=t(s).find("p[class$=__result]"),r=t(s).find("button[type='submit']");a.hide(),t(s).submit(function(e){e.preventDefault(),r.prop("disabled",!0);var n={};t(s).serializeArray().forEach(function(t,e){n[t.name]=t.value});var i={action:"getwid_subscribe",data:n};""!=a.text()&&a.hide(300),t.post(Getwid.ajax_url,i,function(e){a.hasClass("success")?a.removeClass("success"):a.hasClass("fail")&&a.removeClass("fail"),r.prop("disabled",!1),e.success?(t(s)[0].reset(),a.addClass("success")):a.addClass("fail"),a.html(e.data),a.show(300)})})})};s()})}(jQuery)}});
assets/blocks/map/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var o={};e.m=t,e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=17)}({17:function(module,__webpack_exports__,__webpack_require__){"use strict";Object.defineProperty(__webpack_exports__,"__esModule",{value:!0});var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof__=__webpack_require__(18),__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof__);/*!
2
  * getwid-map
3
  */
4
- !function($){var _this=this;$(document).ready(function(event){function removeAllAttributes(t){var e=$.map(t[0].attributes,function(t){return t.name});$.each(e,function(e,o){"class"!=o&&t.removeAttr(o)})}function mapStyles(mapData){var mapStyle=mapData.mapStyle,customStyle=mapData.customStyle;if("object"==__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof___default()(mapStyle))return null;if("default"!=mapStyle){if("custom"!=mapStyle)return stylesArr[mapStyle];try{return eval(customStyle)}catch(t){if(!(t instanceof SyntaxError))throw t;console.error(t.message)}}}function initMarkers(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t.mapMarkers,r=n[e].coords,a=new google.maps.Marker({position:r,map:o,draggable:!1,animation:google.maps.Animation.DROP});n[e].bounce&&setTimeout(function(){return a.setAnimation(google.maps.Animation.BOUNCE)},2e3);var i="";""!=unescape(n[e].description)&&(i="\n\t\t\t\t\t<div class='getwid-poi-info-window'>\n\t\t\t\t\t\t".concat(_unescape(n[e].description),"\n\t\t\t\t\t</div>\n\t\t\t\t")),attachMessage(a,i,n[e].popUpOpen,n[e].popUpMaxWidth)}function attachMessage(t,e,o,n){var r=new google.maps.InfoWindow({content:e,maxWidth:n});o&&""!=r.content&&r.open(t.get("map"),t),google.maps.event.clearInstanceListeners(t),t.addListener("click",function(){""!=r.content&&r.open(t.get("map"),t)})}$(document.body).on("post-load",function(t){getwid_init_map()});var getwid_init_map=function(){var t=$(".wp-block-getwid-map:not(.getwid-init)");"undefined"!=typeof google?t.each(function(t,e){$(_this).addClass("getwid-init"),$(e).find(".wp-block-getwid-map__points").remove();var o=$(e).find(".wp-block-getwid-map__container")[0],n=$(e).data("map-center"),r=$(e).data("map-markers"),a=$(e).data("map-zoom"),i=$(e).data("map-style"),l=$(e).data("custom-style"),p=$(e).data("zoom-control"),c=$(e).data("type-control"),s=$(e).data("interaction"),m=$(e).data("street-view-control"),u=$(e).data("full-screen-control");removeAllAttributes($(e));var _={mapCenter:n,mapZoom:a,interaction:s,mapStyle:i,customStyle:l,zoomControl:p,mapTypeControl:c,streetViewControl:m,fullscreenControl:u,mapMarkers:r},f=new google.maps.Map(o,{center:n,styles:mapStyles(_),gestureHandling:s,zoomControl:p,mapTypeControl:c,streetViewControl:m,fullscreenControl:u,zoom:a});void 0!==r&&r.length&&$.each(r,function(t,e){initMarkers(_,t,f)})}):t.length&&t.each(function(t,e){var o=$(e);o.find(".wp-block-getwid-map__container").remove(),$(o).prepend('<iframe loading="lazy" src="https://www.google.com/maps/embed" style="border:0;" allowfullscreen="" width="100%" height="400px" frameborder="0"></iframe>')})};getwid_init_map()})}(jQuery)},18:function(t,e){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(e){return"function"==typeof Symbol&&"symbol"===o(Symbol.iterator)?t.exports=n=function(t){return o(t)}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":o(t)},n(e)}t.exports=n}});
1
+ !function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var o={};e.m=t,e.c=o,e.d=function(t,o,n){e.o(t,o)||Object.defineProperty(t,o,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(o,"a",o),o},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=18)}({18:function(module,__webpack_exports__,__webpack_require__){"use strict";Object.defineProperty(__webpack_exports__,"__esModule",{value:!0});var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof__=__webpack_require__(19),__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof___default=__webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof__);/*!
2
  * getwid-map
3
  */
4
+ !function($){var _this=this;$(document).ready(function(event){function removeAllAttributes(t){var e=$.map(t[0].attributes,function(t){return t.name});$.each(e,function(e,o){"class"!=o&&t.removeAttr(o)})}function mapStyles(mapData){var mapStyle=mapData.mapStyle,customStyle=mapData.customStyle;if("object"==__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_typeof___default()(mapStyle))return null;if("default"!=mapStyle){if("custom"!=mapStyle)return stylesArr[mapStyle];try{return eval(customStyle)}catch(t){if(!(t instanceof SyntaxError))throw t;console.error(t.message)}}}function initMarkers(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=t.mapMarkers,r=n[e].coords,a=new google.maps.Marker({position:r,map:o,draggable:!1,animation:google.maps.Animation.DROP});n[e].bounce&&setTimeout(function(){return a.setAnimation(google.maps.Animation.BOUNCE)},2e3);var i="";""!=unescape(n[e].description)&&(i="\n\t\t\t\t\t<div class='getwid-poi-info-window'>\n\t\t\t\t\t\t".concat(_unescape(n[e].description),"\n\t\t\t\t\t</div>\n\t\t\t\t")),attachMessage(a,i,n[e].popUpOpen,n[e].popUpMaxWidth)}function attachMessage(t,e,o,n){var r=new google.maps.InfoWindow({content:e,maxWidth:n});o&&""!=r.content&&r.open(t.get("map"),t),google.maps.event.clearInstanceListeners(t),t.addListener("click",function(){""!=r.content&&r.open(t.get("map"),t)})}$(document.body).on("post-load",function(t){getwid_init_map()});var getwid_init_map=function(){var t=$(".wp-block-getwid-map:not(.getwid-init)");"undefined"!=typeof google?t.each(function(t,e){$(_this).addClass("getwid-init"),$(e).find(".wp-block-getwid-map__points").remove();var o=$(e).find(".wp-block-getwid-map__container")[0],n=$(e).data("map-center"),r=$(e).data("map-markers"),a=$(e).data("map-zoom"),i=$(e).data("map-style"),l=$(e).data("custom-style"),p=$(e).data("zoom-control"),c=$(e).data("type-control"),s=$(e).data("interaction"),m=$(e).data("street-view-control"),u=$(e).data("full-screen-control");removeAllAttributes($(e));var _={mapCenter:n,mapZoom:a,interaction:s,mapStyle:i,customStyle:l,zoomControl:p,mapTypeControl:c,streetViewControl:m,fullscreenControl:u,mapMarkers:r},f=new google.maps.Map(o,{center:n,styles:mapStyles(_),gestureHandling:s,zoomControl:p,mapTypeControl:c,streetViewControl:m,fullscreenControl:u,zoom:a});void 0!==r&&r.length&&$.each(r,function(t,e){initMarkers(_,t,f)})}):t.length&&t.each(function(t,e){var o=$(e);o.find(".wp-block-getwid-map__container").remove(),$(o).prepend('<iframe loading="lazy" src="https://www.google.com/maps/embed" style="border:0;" allowfullscreen="" width="100%" height="400px" frameborder="0"></iframe>')})};getwid_init_map()})}(jQuery)},19:function(t,e){function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function n(e){return"function"==typeof Symbol&&"symbol"===o(Symbol.iterator)?t.exports=n=function(t){return o(t)}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":o(t)},n(e)}t.exports=n}});
assets/blocks/media-text-slider/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(t){function e(n){if(i[n])return i[n].exports;var a=i[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var i={};e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=19)}({0:function(t,e,i){"use strict";function n(t,e,i){var n=function(t){var e={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var i in e)if(void 0!==t.style[i])return e[i]}(document.createElement("div")),a=void 0!==e.animation?e.animation:"",o=void 0!==e.duration?e.duration:"1s",d=void 0!==e.delay?e.delay:"0s";return t.css({"animation-duration":o,"animation-delay":d,"-webkit-animation-delay":d}),t.addClass("animated "+a).one(n,function(){jQuery(this).removeClass("animated "+a),"function"==typeof i&&i()}),this}e.a=n},19:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(0);/*!
2
  * getwid-media-text-slider
3
  */
4
  !function(t){t(document).ready(function(e){t(document.body).on("post-load",function(t){i()});var i=function(){var e,i,a,o,d,s,l,c,r=t(".wp-block-getwid-media-text-slider:not(.getwid-init) .wp-block-getwid-media-text-slider__content");r.each(function(r){l=t(this),l.closest(".wp-block-getwid-media-text-slider").addClass("getwid-init"),c=void 0!==t(this).closest(".wp-block-getwid-media-text-slider").data("animation"),e=1==l.data("slide-autoplay"),i=1==l.data("slide-pause-on-hover"),a=parseInt(l.data("slide-autoplay-speed")),o="fade"==l.data("slide-effect"),d=parseInt(l.data("slide-speed")),s=1==l.data("infinite"),c&&t(this).find(".wp-block-getwid-media-text-slider-slide .wp-block-getwid-media-text-slider-slide-content__content").css("opacity","0"),l.on("init",function(){c&&t(this).find(".wp-block-getwid-media-text-slider-slide.slick-active .wp-block-getwid-media-text-slider-slide-content__content").css("opacity","1")});var u=!1;l.on("beforeChange",function(t,e,i,n){u=i==n}),l.on("afterChange",function(e,i,a){if(!u){c&&t(this).find(".wp-block-getwid-media-text-slider-slide .wp-block-getwid-media-text-slider-slide-content__content").css("opacity","0");var o=t(this).find('.wp-block-getwid-media-text-slider-slide[data-slick-index="'+a+'"]').find(".wp-block-getwid-media-text-slider-slide-content__content");c&&o.length&&Object(n.a)(o,{animation:t(this).closest(".wp-block-getwid-media-text-slider").data("animation"),duration:t(this).closest(".wp-block-getwid-media-text-slider").data("duration"),delay:t(this).closest(".wp-block-getwid-media-text-slider").data("delay")},o.css("opacity","1"))}});var p=t(this).closest(".".concat("wp-block-getwid-media-text-slider")),f=!p.hasClass("has-arrows-none"),m=!p.hasClass("has-dots-none");l.slick({rows:0,slidesToShow:1,slidesToScroll:1,autoplay:e,pauseOnHover:i,autoplaySpeed:a,fade:o,speed:d,infinite:s,arrows:f,dots:m})})};i()})}(jQuery)}});
1
+ !function(t){function e(n){if(i[n])return i[n].exports;var a=i[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var i={};e.m=t,e.c=i,e.d=function(t,i,n){e.o(t,i)||Object.defineProperty(t,i,{configurable:!1,enumerable:!0,get:n})},e.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(i,"a",i),i},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=20)}({0:function(t,e,i){"use strict";function n(t,e,i){var n=function(t){var e={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var i in e)if(void 0!==t.style[i])return e[i]}(document.createElement("div")),a=void 0!==e.animation?e.animation:"",o=void 0!==e.duration?e.duration:"1s",d=void 0!==e.delay?e.delay:"0s";return t.css({"animation-duration":o,"animation-delay":d,"-webkit-animation-delay":d}),t.addClass("animated "+a).one(n,function(){jQuery(this).removeClass("animated "+a),"function"==typeof i&&i()}),this}e.a=n},20:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(0);/*!
2
  * getwid-media-text-slider
3
  */
4
  !function(t){t(document).ready(function(e){t(document.body).on("post-load",function(t){i()});var i=function(){var e,i,a,o,d,s,l,c,r=t(".wp-block-getwid-media-text-slider:not(.getwid-init) .wp-block-getwid-media-text-slider__content");r.each(function(r){l=t(this),l.closest(".wp-block-getwid-media-text-slider").addClass("getwid-init"),c=void 0!==t(this).closest(".wp-block-getwid-media-text-slider").data("animation"),e=1==l.data("slide-autoplay"),i=1==l.data("slide-pause-on-hover"),a=parseInt(l.data("slide-autoplay-speed")),o="fade"==l.data("slide-effect"),d=parseInt(l.data("slide-speed")),s=1==l.data("infinite"),c&&t(this).find(".wp-block-getwid-media-text-slider-slide .wp-block-getwid-media-text-slider-slide-content__content").css("opacity","0"),l.on("init",function(){c&&t(this).find(".wp-block-getwid-media-text-slider-slide.slick-active .wp-block-getwid-media-text-slider-slide-content__content").css("opacity","1")});var u=!1;l.on("beforeChange",function(t,e,i,n){u=i==n}),l.on("afterChange",function(e,i,a){if(!u){c&&t(this).find(".wp-block-getwid-media-text-slider-slide .wp-block-getwid-media-text-slider-slide-content__content").css("opacity","0");var o=t(this).find('.wp-block-getwid-media-text-slider-slide[data-slick-index="'+a+'"]').find(".wp-block-getwid-media-text-slider-slide-content__content");c&&o.length&&Object(n.a)(o,{animation:t(this).closest(".wp-block-getwid-media-text-slider").data("animation"),duration:t(this).closest(".wp-block-getwid-media-text-slider").data("duration"),delay:t(this).closest(".wp-block-getwid-media-text-slider").data("delay")},o.css("opacity","1"))}});var p=t(this).closest(".".concat("wp-block-getwid-media-text-slider")),f=!p.hasClass("has-arrows-none"),m=!p.hasClass("has-dots-none");l.slick({rows:0,slidesToShow:1,slidesToScroll:1,autoplay:e,pauseOnHover:i,autoplaySpeed:a,fade:o,speed:d,infinite:s,arrows:f,dots:m})})};i()})}(jQuery)}});
assets/blocks/post-carousel/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e){function o(i){if(t[i])return t[i].exports;var s=t[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,o),s.l=!0,s.exports}var t={};o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},o.p="",o(o.s=20)}({20:function(e,o){/*!
2
  * getwid-post-carousel
3
  */
4
  !function(e){e(document).ready(function(o){e(document.body).on("post-load",function(e){t()});var t=function(){var o=e(".wp-block-getwid-post-carousel:not(.getwid-init) .wp-block-getwid-post-carousel__wrapper");o.length&&"undefined"!=typeof imagesLoaded&&o.each(function(o){getwid_post_carousel=e(this);var t=getwid_post_carousel.data("slider-option"),i=t.sliderSlidesToShowDesktop,s=t.getwid_slidesToShowLaptop,n=t.getwid_slidesToShowTablet,d=t.getwid_slidesToShowMobile,r=t.getwid_slidesToScroll,a=t.getwid_autoplay,l=t.getwid_autoplay_speed,p=t.getwid_infinite,c=t.getwid_animation_speed,u=t.getwid_center_mode,w=t.getwid_pause_on_hover,g=t.getwid_arrows,_=t.getwid_dots;w=!1,r=parseInt(r),i=parseInt(i),s=parseInt(s),d=parseInt(d),n=parseInt(n),g="none"!=g,_="none"!=_,getwid_post_carousel.closest(".wp-block-getwid-post-carousel").addClass("getwid-init"),getwid_post_carousel.imagesLoaded().done(function(o){e(o.elements[0]).slick({arrows:g,dots:_,rows:0,slidesToShow:i,slidesToScroll:r,autoplay:a,autoplaySpeed:l,fade:!1,speed:c,infinite:p,centerMode:u,variableWidth:!1,pauseOnHover:w,adaptiveHeight:!0,responsive:[{breakpoint:991,settings:{slidesToShow:s,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:n,slidesToScroll:1}},{breakpoint:468,settings:{slidesToShow:d,slidesToScroll:1}}]})})})};t()})}(jQuery)}});
1
+ !function(e){function o(i){if(t[i])return t[i].exports;var s=t[i]={i:i,l:!1,exports:{}};return e[i].call(s.exports,s,s.exports,o),s.l=!0,s.exports}var t={};o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,o){return Object.prototype.hasOwnProperty.call(e,o)},o.p="",o(o.s=21)}({21:function(e,o){/*!
2
  * getwid-post-carousel
3
  */
4
  !function(e){e(document).ready(function(o){e(document.body).on("post-load",function(e){t()});var t=function(){var o=e(".wp-block-getwid-post-carousel:not(.getwid-init) .wp-block-getwid-post-carousel__wrapper");o.length&&"undefined"!=typeof imagesLoaded&&o.each(function(o){getwid_post_carousel=e(this);var t=getwid_post_carousel.data("slider-option"),i=t.sliderSlidesToShowDesktop,s=t.getwid_slidesToShowLaptop,n=t.getwid_slidesToShowTablet,d=t.getwid_slidesToShowMobile,r=t.getwid_slidesToScroll,a=t.getwid_autoplay,l=t.getwid_autoplay_speed,p=t.getwid_infinite,c=t.getwid_animation_speed,u=t.getwid_center_mode,w=t.getwid_pause_on_hover,g=t.getwid_arrows,_=t.getwid_dots;w=!1,r=parseInt(r),i=parseInt(i),s=parseInt(s),d=parseInt(d),n=parseInt(n),g="none"!=g,_="none"!=_,getwid_post_carousel.closest(".wp-block-getwid-post-carousel").addClass("getwid-init"),getwid_post_carousel.imagesLoaded().done(function(o){e(o.elements[0]).slick({arrows:g,dots:_,rows:0,slidesToShow:i,slidesToScroll:r,autoplay:a,autoplaySpeed:l,fade:!1,speed:c,infinite:p,centerMode:u,variableWidth:!1,pauseOnHover:w,adaptiveHeight:!0,responsive:[{breakpoint:991,settings:{slidesToShow:s,slidesToScroll:1}},{breakpoint:768,settings:{slidesToShow:n,slidesToScroll:1}},{breakpoint:468,settings:{slidesToShow:d,slidesToScroll:1}}]})})})};t()})}(jQuery)}});
assets/blocks/post-slider/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e){function t(i){if(o[i])return o[i].exports;var n=o[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var o={};t.m=e,t.c=o,t.d=function(e,o,i){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=21)}({21:function(e,t){/*!
2
  * getwid-post-slider
3
  */
4
  !function(e){e(document).ready(function(t){e(document.body).on("post-load",function(e){o()});var o=function(){var t=e(".wp-block-getwid-post-slider:not(.getwid-init) .wp-block-getwid-post-slider__content");t.length&&"undefined"!=typeof imagesLoaded&&t.each(function(t){getwid_post_slider=e(this);var o=getwid_post_slider.data("slider-option"),i=o.getwid_fade_effect,n=o.getwid_autoplay,d=o.getwid_autoplay_speed,r=o.getwid_infinite,s=o.getwid_animation_speed,a=o.getwid_arrows,l=o.getwid_dots;i="fade"==i,getwid_pause_on_hover=!1,a="none"!=a,l="none"!=l,getwid_post_slider.closest(".wp-block-getwid-post-slider").addClass("getwid-init"),getwid_post_slider.imagesLoaded().done(function(t){e(t.elements[0]).slick({arrows:a,dots:l,rows:0,slidesToShow:1,slidesToScroll:1,autoplay:n,autoplaySpeed:d,fade:i,speed:s,infinite:r,centerMode:!1,variableWidth:!1,pauseOnHover:!1,adaptiveHeight:!0})})})};o()})}(jQuery)}});
1
+ !function(e){function t(i){if(o[i])return o[i].exports;var n=o[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var o={};t.m=e,t.c=o,t.d=function(e,o,i){t.o(e,o)||Object.defineProperty(e,o,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var o=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(o,"a",o),o},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=22)}({22:function(e,t){/*!
2
  * getwid-post-slider
3
  */
4
  !function(e){e(document).ready(function(t){e(document.body).on("post-load",function(e){o()});var o=function(){var t=e(".wp-block-getwid-post-slider:not(.getwid-init) .wp-block-getwid-post-slider__content");t.length&&"undefined"!=typeof imagesLoaded&&t.each(function(t){getwid_post_slider=e(this);var o=getwid_post_slider.data("slider-option"),i=o.getwid_fade_effect,n=o.getwid_autoplay,d=o.getwid_autoplay_speed,r=o.getwid_infinite,s=o.getwid_animation_speed,a=o.getwid_arrows,l=o.getwid_dots;i="fade"==i,getwid_pause_on_hover=!1,a="none"!=a,l="none"!=l,getwid_post_slider.closest(".wp-block-getwid-post-slider").addClass("getwid-init"),getwid_post_slider.imagesLoaded().done(function(t){e(t.elements[0]).slick({arrows:a,dots:l,rows:0,slidesToShow:1,slidesToScroll:1,autoplay:n,autoplaySpeed:d,fade:i,speed:s,infinite:r,centerMode:!1,variableWidth:!1,pauseOnHover:!1,adaptiveHeight:!0})})})};o()})}(jQuery)}});
assets/blocks/progress-bar/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(n){function t(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return n[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var e={};t.m=n,t.c=e,t.d=function(n,e,o){t.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:o})},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=22)}({22:function(n,t){/*!
2
  * getwid-progress-bar
3
  */
4
  !function(n){n(document).ready(function(t){n(document.body).on("post-load",function(n){e()});var e=function(){n(".wp-block-getwid-progress-bar:not(.getwid-init)").each(function(t){function e(t){a.find(n("".concat(i,"__progress"))).css("width","".concat(t,"%")),a.find(n("".concat(i,"__percent"))).text("".concat(t,"%"))}function o(t){var e=a.find(n("".concat(i,"__progress"))),o=function(){return Math.round(e.width()/e.parent().width()*100)};e.animate({width:"".concat(t,"%")},{duration:2e3,progress:function(){a.find(n("".concat(i,"__percent"))).text(o()+"%")}})}n(this).addClass("getwid-init");var r,c,i=".wp-block-getwid-progress-bar",a=n(this);r=a.find("".concat(i,"__wrapper")).data("fill-amount"),c=a.find("".concat(i,"__wrapper")).data("is-animated");var u=a.find(n("".concat(i,"__wrapper"))),d=new Waypoint({element:u.get(0),handler:function(){c?o(r):e(r),d.destroy()},offset:"100%"});n(window).resize(function(){e(r)})})};e()})}(jQuery)}});
1
+ !function(n){function t(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return n[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var e={};t.m=n,t.c=e,t.d=function(n,e,o){t.o(n,e)||Object.defineProperty(n,e,{configurable:!1,enumerable:!0,get:o})},t.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(e,"a",e),e},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=23)}({23:function(n,t){/*!
2
  * getwid-progress-bar
3
  */
4
  !function(n){n(document).ready(function(t){n(document.body).on("post-load",function(n){e()});var e=function(){n(".wp-block-getwid-progress-bar:not(.getwid-init)").each(function(t){function e(t){a.find(n("".concat(i,"__progress"))).css("width","".concat(t,"%")),a.find(n("".concat(i,"__percent"))).text("".concat(t,"%"))}function o(t){var e=a.find(n("".concat(i,"__progress"))),o=function(){return Math.round(e.width()/e.parent().width()*100)};e.animate({width:"".concat(t,"%")},{duration:2e3,progress:function(){a.find(n("".concat(i,"__percent"))).text(o()+"%")}})}n(this).addClass("getwid-init");var r,c,i=".wp-block-getwid-progress-bar",a=n(this);r=a.find("".concat(i,"__wrapper")).data("fill-amount"),c=a.find("".concat(i,"__wrapper")).data("is-animated");var u=a.find(n("".concat(i,"__wrapper"))),d=new Waypoint({element:u.get(0),handler:function(){c?o(r):e(r),d.destroy()},offset:"100%"});n(window).resize(function(){e(r)})})};e()})}(jQuery)}});
assets/blocks/section/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(e){function i(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}var t={};i.m=e,i.c=t,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},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,i){return Object.prototype.hasOwnProperty.call(e,i)},i.p="",i(i.s=23)}({23:function(e,i){/*!
2
  * getwid-section
3
  */
4
  !function(e){e(document).ready(function(i){function t(){var e=document.createElement("script");e.type="text/javascript",e.src="https://www.youtube.com/iframe_api",e.id="youtube_video_api_js";var i=!1;document.getElementsByTagName("head")[0].appendChild(e),e.onload=e.onreadystatechange=function(){i||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(i=!0,e.onload=e.onreadystatechange=null)}}function o(e){var i=/(?:https?:\/\/)?(?:www\.)?(?:youtube(?:-nocookie)?\.com\/\S*(?:(?:\/e(?:mbed))?\/v?|(?:watch\?)?(?:\S*?&?vi?\=))|youtu\.be\/)([a-zA-Z0-9_-]{6,11})/;return!!e.match(i)&&RegExp.$1}function n(){void 0===window.onYouTubeIframeAPIReady?window.onYouTubeIframeAPIReady=function(){getwidYT.init()}:d=setInterval(function(){void 0!==window.YT&&window.YT.loaded&&(getwidYT.ready||getwidYT.init())})}var a,d=!1,c=e(".wp-block-getwid-section__background-video.source-youtube .wp-block-getwid-section__background-video-youtube");window.getwidYT={data:{ready:!1},init:function(){getwidYT.data.ready=!0,clearInterval(d),c.each(function(i){var t=e(this).attr("id"),o=e(this).parent().attr("youtube-video-autoplay"),n=e(this).parent().attr("youtube-video-loop"),a=e(this).parent().attr("youtube-video-muted"),d=e(this).closest(".wp-block-getwid-section__wrapper").find(".getwid-background-video-controls .getwid-background-video-play"),u=e(this).closest(".wp-block-getwid-section__wrapper").find(".getwid-background-video-controls .getwid-background-video-mute");window.YT.ready(function(){var s={playsinline:1,autoplay:"true"==o?1:0,controls:0,disablekb:1,fs:0,cc_load_policy:0,iv_load_policy:3,loop:"true"==n?1:0,modestbranding:1,rel:0,showinfo:0,enablejsapi:1,mute:"true"==a?1:0,autohide:1};"true"==n&&(s.playlist=t);new YT.Player(c[i],{playerVars:s,height:"100%",width:"100%",videoId:t,events:{onReady:function(i){var t=i.target;"true"==o?d.html('<i class="getwid-icon getwid-icon-pause"></i>'):"false"==o&&d.html('<i class="getwid-icon getwid-icon-play"></i>'),"true"==a?u.html('<i class="getwid-icon getwid-icon-mute"></i>'):"false"==a&&u.html('<i class="getwid-icon getwid-icon-volume-up"></i>'),e(d).on("click",function(e){"true"==o?(t.pauseVideo(),d.html('<i class="getwid-icon getwid-icon-play"></i>'),o="false"):"false"==o&&(t.playVideo(),d.html('<i class="getwid-icon getwid-icon-pause"></i>'),o="true")}),e(u).on("click",function(e){"true"==a?(t.unMute(),u.html('<i class="getwid-icon getwid-icon-volume-up"></i>'),a="false"):"false"==a&&(t.mute(),u.html('<i class="getwid-icon getwid-icon-mute"></i>'),a="true")}),"true"==o&&t.playVideo()},onStateChange:function(e){-1==e.data&&(d.html('<i class="getwid-icon getwid-icon-play"></i>'),o="false"),1==e.data&&(d.html('<i class="getwid-icon getwid-icon-pause"></i>'),o="true"),2==e.data&&(d.html('<i class="getwid-icon getwid-icon-play"></i>'),o="false"),3==e.data&&(d.html('<i class="getwid-icon getwid-icon-pause"></i>'),o="true"),0==e.data&&"false"==n&&(e.target.stopVideo(),d.html('<i class="getwid-icon getwid-icon-play"></i>'),o="false")}}})})})}},e(document.body).on("post-load",function(e){u(),s(),l(),r()});var u=function(){a=e(".wp-block-getwid-section__background-video.source-youtube .wp-block-getwid-section__background-video-youtube:not(.getwid-init)"),a.each(function(i){e(this).addClass("getwid-init");var t=o(e(this).parent().attr("youtube-video-url"));e(this).attr("id",t)}),a.length&&(e("#youtube_video_api_js").length||(t(),n()))},s=function(){var i,t,o,n,a,d,c=e(".wp-block-getwid-section__background-slider:not(.getwid-init)");c.length&&"undefined"!=typeof imagesLoaded&&c.each(function(c){d=e(this),i=1==d.data("autoplay"),t=parseInt(d.data("autoplay-speed")),o="fade"==d.data("slide-effect"),n=parseInt(d.data("slide-speed")),a=1==d.data("infinite"),e(this).addClass("getwid-init"),d.imagesLoaded().done(function(d){e(d.elements[0]).slick({arrows:!1,dots:!1,rows:0,slidesToShow:1,slidesToScroll:1,autoplay:i,autoplaySpeed:t,fade:o,speed:n,infinite:a})})})},l=function(){if("undefined"!=typeof WOW){new WOW({boxClass:"getwid-anim",mobile:!1}).init()}},r=function(){e(".wp-block-getwid-section:not(.getwid-init)").each(function(i){e(this).addClass("getwid-init");var t=e(this),o=t.find(".wp-block-getwid-section__background-video.source-media-library").get(0),n=t.find(".getwid-background-video-play"),a=t.find(".getwid-background-video-mute");t.find(".wp-block-getwid-section__background-video.source-media-library").on("play",function(e){n.html('<i class="getwid-icon getwid-icon-pause"></i>')}).on("pause",function(e){n.html('<i class="getwid-icon getwid-icon-play"></i>')}),t.on("click",".getwid-background-video-play",function(e){e.preventDefault(),o&&(o.paused?o.play():o.pause())}),t.ready(function(){o&&(o.paused?n.html('<i class="getwid-icon getwid-icon-play"></i>'):n.html('<i class="getwid-icon getwid-icon-pause"></i>'),o.muted?a.html('<i class="getwid-icon getwid-icon-mute"></i>'):a.html('<i class="getwid-icon getwid-icon-volume-up"></i>'))}),t.on("click",".getwid-background-video-mute",function(e){e.preventDefault(),o&&(o.muted=!o.muted,o.muted?a.html('<i class="getwid-icon getwid-icon-mute"></i>'):a.html('<i class="getwid-icon getwid-icon-volume-up"></i>'))})})};u(),s(),l(),r()})}(jQuery)}});
1
+ !function(e){function i(o){if(t[o])return t[o].exports;var n=t[o]={i:o,l:!1,exports:{}};return e[o].call(n.exports,n,n.exports,i),n.l=!0,n.exports}var t={};i.m=e,i.c=t,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},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,i){return Object.prototype.hasOwnProperty.call(e,i)},i.p="",i(i.s=24)}({24:function(e,i){/*!
2
  * getwid-section
3
  */
4
  !function(e){e(document).ready(function(i){function t(){var e=document.createElement("script");e.type="text/javascript",e.src="https://www.youtube.com/iframe_api",e.id="youtube_video_api_js";var i=!1;document.getElementsByTagName("head")[0].appendChild(e),e.onload=e.onreadystatechange=function(){i||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(i=!0,e.onload=e.onreadystatechange=null)}}function o(e){var i=/(?:https?:\/\/)?(?:www\.)?(?:youtube(?:-nocookie)?\.com\/\S*(?:(?:\/e(?:mbed))?\/v?|(?:watch\?)?(?:\S*?&?vi?\=))|youtu\.be\/)([a-zA-Z0-9_-]{6,11})/;return!!e.match(i)&&RegExp.$1}function n(){void 0===window.onYouTubeIframeAPIReady?window.onYouTubeIframeAPIReady=function(){getwidYT.init()}:d=setInterval(function(){void 0!==window.YT&&window.YT.loaded&&(getwidYT.ready||getwidYT.init())})}var a,d=!1,c=e(".wp-block-getwid-section__background-video.source-youtube .wp-block-getwid-section__background-video-youtube");window.getwidYT={data:{ready:!1},init:function(){getwidYT.data.ready=!0,clearInterval(d),c.each(function(i){var t=e(this).attr("id"),o=e(this).parent().attr("youtube-video-autoplay"),n=e(this).parent().attr("youtube-video-loop"),a=e(this).parent().attr("youtube-video-muted"),d=e(this).closest(".wp-block-getwid-section__wrapper").find(".getwid-background-video-controls .getwid-background-video-play"),u=e(this).closest(".wp-block-getwid-section__wrapper").find(".getwid-background-video-controls .getwid-background-video-mute");window.YT.ready(function(){var s={playsinline:1,autoplay:"true"==o?1:0,controls:0,disablekb:1,fs:0,cc_load_policy:0,iv_load_policy:3,loop:"true"==n?1:0,modestbranding:1,rel:0,showinfo:0,enablejsapi:1,mute:"true"==a?1:0,autohide:1};"true"==n&&(s.playlist=t);new YT.Player(c[i],{playerVars:s,height:"100%",width:"100%",videoId:t,events:{onReady:function(i){var t=i.target;"true"==o?d.html('<i class="getwid-icon getwid-icon-pause"></i>'):"false"==o&&d.html('<i class="getwid-icon getwid-icon-play"></i>'),"true"==a?u.html('<i class="getwid-icon getwid-icon-mute"></i>'):"false"==a&&u.html('<i class="getwid-icon getwid-icon-volume-up"></i>'),e(d).on("click",function(e){"true"==o?(t.pauseVideo(),d.html('<i class="getwid-icon getwid-icon-play"></i>'),o="false"):"false"==o&&(t.playVideo(),d.html('<i class="getwid-icon getwid-icon-pause"></i>'),o="true")}),e(u).on("click",function(e){"true"==a?(t.unMute(),u.html('<i class="getwid-icon getwid-icon-volume-up"></i>'),a="false"):"false"==a&&(t.mute(),u.html('<i class="getwid-icon getwid-icon-mute"></i>'),a="true")}),"true"==o&&t.playVideo()},onStateChange:function(e){-1==e.data&&(d.html('<i class="getwid-icon getwid-icon-play"></i>'),o="false"),1==e.data&&(d.html('<i class="getwid-icon getwid-icon-pause"></i>'),o="true"),2==e.data&&(d.html('<i class="getwid-icon getwid-icon-play"></i>'),o="false"),3==e.data&&(d.html('<i class="getwid-icon getwid-icon-pause"></i>'),o="true"),0==e.data&&"false"==n&&(e.target.stopVideo(),d.html('<i class="getwid-icon getwid-icon-play"></i>'),o="false")}}})})})}},e(document.body).on("post-load",function(e){u(),s(),l(),r()});var u=function(){a=e(".wp-block-getwid-section__background-video.source-youtube .wp-block-getwid-section__background-video-youtube:not(.getwid-init)"),a.each(function(i){e(this).addClass("getwid-init");var t=o(e(this).parent().attr("youtube-video-url"));e(this).attr("id",t)}),a.length&&(e("#youtube_video_api_js").length||(t(),n()))},s=function(){var i,t,o,n,a,d,c=e(".wp-block-getwid-section__background-slider:not(.getwid-init)");c.length&&"undefined"!=typeof imagesLoaded&&c.each(function(c){d=e(this),i=1==d.data("autoplay"),t=parseInt(d.data("autoplay-speed")),o="fade"==d.data("slide-effect"),n=parseInt(d.data("slide-speed")),a=1==d.data("infinite"),e(this).addClass("getwid-init"),d.imagesLoaded().done(function(d){e(d.elements[0]).slick({arrows:!1,dots:!1,rows:0,slidesToShow:1,slidesToScroll:1,autoplay:i,autoplaySpeed:t,fade:o,speed:n,infinite:a})})})},l=function(){if("undefined"!=typeof WOW){new WOW({boxClass:"getwid-anim",mobile:!1}).init()}},r=function(){e(".wp-block-getwid-section:not(.getwid-init)").each(function(i){e(this).addClass("getwid-init");var t=e(this),o=t.find(".wp-block-getwid-section__background-video.source-media-library").get(0),n=t.find(".getwid-background-video-play"),a=t.find(".getwid-background-video-mute");t.find(".wp-block-getwid-section__background-video.source-media-library").on("play",function(e){n.html('<i class="getwid-icon getwid-icon-pause"></i>')}).on("pause",function(e){n.html('<i class="getwid-icon getwid-icon-play"></i>')}),t.on("click",".getwid-background-video-play",function(e){e.preventDefault(),o&&(o.paused?o.play():o.pause())}),t.ready(function(){o&&(o.paused?n.html('<i class="getwid-icon getwid-icon-play"></i>'):n.html('<i class="getwid-icon getwid-icon-pause"></i>'),o.muted?a.html('<i class="getwid-icon getwid-icon-mute"></i>'):a.html('<i class="getwid-icon getwid-icon-volume-up"></i>'))}),t.on("click",".getwid-background-video-mute",function(e){e.preventDefault(),o&&(o.muted=!o.muted,o.muted?a.html('<i class="getwid-icon getwid-icon-mute"></i>'):a.html('<i class="getwid-icon getwid-icon-volume-up"></i>'))})})};u(),s(),l(),r()})}(jQuery)}});
assets/blocks/tabs/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(t){function n(e){if(a[e])return a[e].exports;var i=a[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var a={};n.m=t,n.c=a,n.d=function(t,a,e){n.o(t,a)||Object.defineProperty(t,a,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var a=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(a,"a",a),a},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=24)}({24:function(t,n){/*!
2
  * getwid-tabs
3
  */
4
  !function(t){t(document).ready(function(n){function a(t){for(var n="",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",e=a.length,i=0;i<t;i++)n+=a.charAt(Math.floor(Math.random()*e));return n}t(document.body).on("post-load",function(t){e()});var e=function(){var n=t(".wp-block-getwid-tabs:not(.getwid-init)"),e=0;n.each(function(n){var i=a(5);t(this).addClass("getwid-init"),e=t(this).data("active-tab");t(this).find(".wp-block-getwid-tabs__nav-links");t(this).find(".wp-block-getwid-tabs__nav-link").each(function(n,a){t(a).find("a").attr("href","#tab-".concat(i,"-").concat(n))}),t(this).find(".wp-block-getwid-tabs__tab-content-wrapper, > .wp-block-getwid-tabs__tab-content").each(function(n,a){t(a).attr("id","tab-".concat(i,"-").concat(n))}),t(this).find(".wp-block-getwid-tabs__nav-link").each(function(n,a){var e=t(a).closest(".wp-block-getwid-tabs").find(">.wp-block-getwid-tabs__nav-links");t(a).detach(),e.append(a);var i={};t.each(t(a)[0].attributes,function(t,n){i[n.nodeName]=n.nodeValue}),t(a).replaceWith(function(){return t("<li/>",i).append(t(a).contents())})}),t(this).find(".wp-block-getwid-tabs__tab-content-wrapper").eq(e).addClass("is-active-tab"),t(this).tabs({active:e,activate:function(n,a){a.newPanel.closest(".wp-block-getwid-tabs").find(".wp-block-getwid-tabs__tab-content-wrapper").removeClass("is-active-tab"),a.newPanel.addClass("is-active-tab"),t("html, body").add(window,document).stop()}})})};e()})}(jQuery)}});
1
+ !function(t){function n(e){if(a[e])return a[e].exports;var i=a[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var a={};n.m=t,n.c=a,n.d=function(t,a,e){n.o(t,a)||Object.defineProperty(t,a,{configurable:!1,enumerable:!0,get:e})},n.n=function(t){var a=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(a,"a",a),a},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=25)}({25:function(t,n){/*!
2
  * getwid-tabs
3
  */
4
  !function(t){t(document).ready(function(n){function a(t){for(var n="",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",e=a.length,i=0;i<t;i++)n+=a.charAt(Math.floor(Math.random()*e));return n}t(document.body).on("post-load",function(t){e()});var e=function(){var n=t(".wp-block-getwid-tabs:not(.getwid-init)"),e=0;n.each(function(n){var i=a(5);t(this).addClass("getwid-init"),e=t(this).data("active-tab");t(this).find(".wp-block-getwid-tabs__nav-links");t(this).find(".wp-block-getwid-tabs__nav-link").each(function(n,a){t(a).find("a").attr("href","#tab-".concat(i,"-").concat(n))}),t(this).find(".wp-block-getwid-tabs__tab-content-wrapper, > .wp-block-getwid-tabs__tab-content").each(function(n,a){t(a).attr("id","tab-".concat(i,"-").concat(n))}),t(this).find(".wp-block-getwid-tabs__nav-link").each(function(n,a){var e=t(a).closest(".wp-block-getwid-tabs").find(">.wp-block-getwid-tabs__nav-links");t(a).detach(),e.append(a);var i={};t.each(t(a)[0].attributes,function(t,n){i[n.nodeName]=n.nodeValue}),t(a).replaceWith(function(){return t("<li/>",i).append(t(a).contents())})}),t(this).find(".wp-block-getwid-tabs__tab-content-wrapper").eq(e).addClass("is-active-tab"),t(this).tabs({active:e,activate:function(n,a){a.newPanel.closest(".wp-block-getwid-tabs").find(".wp-block-getwid-tabs__tab-content-wrapper").removeClass("is-active-tab"),a.newPanel.addClass("is-active-tab"),t("html, body").add(window,document).stop()}})})};e()})}(jQuery)}});
assets/blocks/toggle/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(t){function e(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=25)}({25:function(t,e){/*!
2
  * getwid-toggle
3
  */
4
  !function(t){t(document).ready(function(e){t(document.body).on("post-load",function(t){n()});var n=function(){t(".wp-block-getwid-toggle:not(.getwid-init)").each(function(e,n){t(this).addClass("getwid-init"),t(n).find(".wp-block-getwid-toggle__row").on("click",".wp-block-getwid-toggle__header-wrapper",function(e){var n=t(this).parent(),o=n.find(".wp-block-getwid-toggle__content-wrapper"),i=n.find(".wp-block-getwid-toggle__content").outerHeight(!0);e.preventDefault(),n.hasClass("is-active")?(n.removeClass("is-active"),o.css("height",i),t(o).animate({height:0},{queue:!1,duration:500,complete:function(){t(this).css("height","")}})):(t(o).animate({height:i},{queue:!1,duration:500,complete:function(){t(this).css("height","")}}),n.addClass("is-active"))})})};n()})}(jQuery)}});
1
+ !function(t){function e(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=26)}({26:function(t,e){/*!
2
  * getwid-toggle
3
  */
4
  !function(t){t(document).ready(function(e){t(document.body).on("post-load",function(t){n()});var n=function(){t(".wp-block-getwid-toggle:not(.getwid-init)").each(function(e,n){t(this).addClass("getwid-init"),t(n).find(".wp-block-getwid-toggle__row").on("click",".wp-block-getwid-toggle__header-wrapper",function(e){var n=t(this).parent(),o=n.find(".wp-block-getwid-toggle__content-wrapper"),i=n.find(".wp-block-getwid-toggle__content").outerHeight(!0);e.preventDefault(),n.hasClass("is-active")?(n.removeClass("is-active"),o.css("height",i),t(o).animate({height:0},{queue:!1,duration:500,complete:function(){t(this).css("height","")}})):(t(o).animate({height:i},{queue:!1,duration:500,complete:function(){t(this).css("height","")}}),n.addClass("is-active"))})})};n()})}(jQuery)}});
assets/blocks/video-popup/frontend.js CHANGED
@@ -1,4 +1,4 @@
1
- !function(n){function t(e){if(o[e])return o[e].exports;var i=o[e]={i:e,l:!1,exports:{}};return n[e].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var o={};t.m=n,t.c=o,t.d=function(n,o,e){t.o(n,o)||Object.defineProperty(n,o,{configurable:!1,enumerable:!0,get:e})},t.n=function(n){var o=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(o,"a",o),o},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=26)}({26:function(n,t){/*!
2
  * getwid-video-popup
3
  */
4
  !function(n){n(document).ready(function(t){n(document.body).on("post-load",function(n){o()});var o=function(){n(".wp-block-getwid-video-popup:not(.getwid-init)").each(function(t){n(this).addClass("getwid-init"),n(this).find(".wp-block-getwid-video-popup__link").fancybox({baseClass:"getwid-video-popup"})})};o()})}(jQuery)}});
1
+ !function(n){function t(e){if(o[e])return o[e].exports;var i=o[e]={i:e,l:!1,exports:{}};return n[e].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var o={};t.m=n,t.c=o,t.d=function(n,o,e){t.o(n,o)||Object.defineProperty(n,o,{configurable:!1,enumerable:!0,get:e})},t.n=function(n){var o=n&&n.__esModule?function(){return n.default}:function(){return n};return t.d(o,"a",o),o},t.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t.p="",t(t.s=27)}({27:function(n,t){/*!
2
  * getwid-video-popup
3
  */
4
  !function(n){n(document).ready(function(t){n(document.body).on("post-load",function(n){o()});var o=function(){n(".wp-block-getwid-video-popup:not(.getwid-init)").each(function(t){n(this).addClass("getwid-init"),n(this).find(".wp-block-getwid-video-popup__link").fancybox({baseClass:"getwid-video-popup"})})};o()})}(jQuery)}});
assets/css/blocks.editor.css CHANGED
@@ -50,4 +50,5 @@
50
  .wp-block-getwid-template-library .components-placeholder__fieldset{display:contents}.wp-block-getwid-template-library .components-placeholder__fieldset span{margin-top:30px}.wp-block-getwid-template-library .components-placeholder__fieldset .no-templates{width:100%}.wp-block-getwid-template-library .components-placeholder__fieldset .insert-template-button{display:block;width:100%;margin-top:30px}.wp-block-getwid-template-library__modal-templates{width:100%;min-height:90%;max-width:1600px;overflow:hidden}@media screen and (min-width: 600px){.wp-block-getwid-template-library__modal-templates{width:80%}}.wp-block-getwid-template-library__modal-templates .components-tab-panel__tabs{display:none}.wp-block-getwid-template-library__modal-templates .components-modal__content{padding:0 16px 16px}.wp-block-getwid-template-library__modal-templates .components-modal__content .components-modal__header{margin:0 -24px 16px}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs{padding:0}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs{padding:0;background-color:#f3f4f5;margin:-16px -16px 10px -16px}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item{font-size:16px;padding:10px 10px 15px 10px;position:relative}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item.is-active{font-weight:500}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item.is-active:before{border-bottom:3px solid #007cba}.wp-block-getwid-template-library__wrapper .components-placeholder__fieldset{max-width:100%}.wp-block-getwid-template-library__wrapper .template-library-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;overflow-y:auto;padding:0px 20px 0px 0px;margin:-16px -16px 0px 0px}.wp-block-getwid-template-library__wrapper .template-library-list.loading-items{height:auto;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wp-block-getwid-template-library__wrapper .template-library-list.view-grid .template-library-container{width:100%}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.view-grid .template-library-container{width:50%}}.wp-block-getwid-template-library__wrapper .template-library-list.view-list .template-library-container{width:100%}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-2 .template-library-container{width:50%}}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-3 .template-library-container{width:50%}}@media screen and (min-width: 1201px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-3 .template-library-container{width:33.333%}}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-4 .template-library-container{width:50%}}@media screen and (min-width: 1201px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-4 .template-library-container{width:25%}}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-5 .template-library-container{width:50%}}@media screen and (min-width: 1201px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-5 .template-library-container{width:20%}}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper{width:100%;overflow:hidden}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;margin:0 -20px}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items .template-library-item{height:auto;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border:1px solid #ececec;background:#fff}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items .template-library-item:hover{border-color:#0085ba}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items .template-library-item:hover .template-insert-button{pointer-events:all;opacity:1}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container{padding:0 20px 40px 20px;width:100%}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-image-wrapper{border-bottom:1px solid #ededed;position:relative;padding-top:56.25%;overflow:hidden}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-image-wrapper .template-image{background-position:center;background-repeat:no-repeat;background-size:contain;position:absolute;top:0;left:0;right:0;bottom:0;-webkit-transform:translateZ(0);transform:translateZ(0)}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-content-wrapper{padding:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-content-wrapper .template-insert-button{-webkit-transition:opacity 0.15s linear;transition:opacity 0.15s linear;pointer-events:none;opacity:0}.edit-post-header-toolbar #getwid-layout-insert-button{margin-left:8px}.wp-block-getwid-template-library__layout-view{padding-right:20px}.wp-block-getwid-template-library__layout-view .template-view-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wp-block-getwid-template-library__modal-toolbar{position:relative;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:-16px -16px 16px -16px;padding:24px 16px 16px;background:#f3f4f5;border-bottom:1px solid #e2e4e7}@media screen and (min-width: 768px){.wp-block-getwid-template-library__modal-toolbar{-ms-flex-wrap:nowrap;flex-wrap:nowrap}}.wp-block-getwid-template-library__modal-toolbar>*{margin:0 !important}.wp-block-getwid-template-library__modal-toolbar .template-category-field{padding-right:20px}@media screen and (max-width: 768px){.wp-block-getwid-template-library__modal-toolbar .template-category-field{padding-right:0;width:100%}}.wp-block-getwid-template-library__modal-toolbar .template-search-field{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding-right:20px}@media screen and (max-width: 768px){.wp-block-getwid-template-library__modal-toolbar .template-search-field{width:100%;padding-right:0}}.wp-block-getwid-template-library__modal-toolbar .template-search-field input{line-height:28px;height:28px}.wp-block-getwid-template-library__modal-templates{height:100%}.wp-block-getwid-template-library__modal-templates>.components-modal__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.components-modal__header{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.getwid-modal-editor-tabs{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;min-height:0}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.getwid-modal-editor-tabs>.components-tab-panel__tab-content{height:100%}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.getwid-modal-editor-tabs .wp-block-getwid-template-library__wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.getwid-modal-editor-tabs .wp-block-getwid-template-library__modal-toolbar{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}
51
  .wp-block-getwid-table td,.wp-block-getwid-table th{border:1px solid #eee}.wp-block-getwid-table td.selected,.wp-block-getwid-table th.selected{outline:2px solid #0085ba}.wp-block-getwid-table__placeholder-form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.wp-block-getwid-table__placeholder-form .wp-block-getwid-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.wp-block-getwid-table__placeholder-form .wp-block-getwid-table__placeholder-input input{height:36px}.wp-block-getwid-table__placeholder-form .wp-block-getwid-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-getwid-table__placeholder-form button{margin-top:auto;margin-right:auto}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item{min-width:25%;margin-top:5px;margin-bottom:5px}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item button.components-button{padding:10px;height:auto;display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:0px;border:1px solid #e2e4e7}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item button.components-button:hover,.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item button.components-button:focus{-webkit-box-shadow:none;box-shadow:none}
52
  .wp-block-getwid-anchor{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wp-block-getwid-anchor span{border-top:1px solid currentColor;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.wp-block-getwid-anchor svg{margin:0px 10px 0px 10px}
 
53
  .wp-block-getwid-images-slider .slick-prev,.wp-block-getwid-images-slider .slick-next,.wp-block-getwid-media-text-slider .slick-prev,.wp-block-getwid-media-text-slider .slick-next,.wp-block-getwid-post-slider .slick-prev,.wp-block-getwid-post-slider .slick-next,.wp-block-getwid-post-carousel .slick-prev,.wp-block-getwid-post-carousel .slick-next{font-size:0}.wp-block-getwid-images-slider .slick-dots,.wp-block-getwid-media-text-slider .slick-dots,.wp-block-getwid-post-slider .slick-dots,.wp-block-getwid-post-carousel .slick-dots{margin:0 auto !important}.wp-block-getwid-map__key-form,.wp-block-getwid-instagram__key-form,.wp-block-getwid-mailchimp__key-form{padding:1em}.wp-block-getwid-map__key-form .form-title,.wp-block-getwid-instagram__key-form .form-title,.wp-block-getwid-mailchimp__key-form .form-title{margin-bottom:.5em;display:block}.wp-block-getwid-map__key-form .form-description,.wp-block-getwid-instagram__key-form .form-description,.wp-block-getwid-mailchimp__key-form .form-description{font-size:0.875em;margin-top:1em;display:block}.wp-block-getwid-mailchimp .getwid-field-label,.wp-block-getwid-contact-form .getwid-field-label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.wp-block-getwid-mailchimp .getwid-field-label .required,.wp-block-getwid-contact-form .getwid-field-label .required{margin-left:10px;color:inherit}.wp-block-getwid-mailchimp .components-base-control__label,.wp-block-getwid-contact-form .components-base-control__label{width:100%}.wp-block-getwid-mailchimp .getwid-field-label__input,.wp-block-getwid-contact-form .getwid-field-label__input{border:0;-webkit-box-shadow:none;box-shadow:none;outline:none;background:transparent}.wp-block-getwid-mailchimp .getwid-field-label__input:focus,.wp-block-getwid-contact-form .getwid-field-label__input:focus{padding:2px 10px;background:#fff}.wp-block-getwid-mailchimp .getwid-field-label__required,.wp-block-getwid-contact-form .getwid-field-label__required{margin-left:10px}.wp-block-getwid-mailchimp .getwid-field-label__required .components-base-control__field,.wp-block-getwid-contact-form .getwid-field-label__required .components-base-control__field{margin:0}.components-select-control.getwid-wp56-fix .components-select-control__input,.components-getwid-custom-query-control__terms .components-select-control__input,.components-getwid-custom-query-control__taxonomy .components-select-control__input{height:auto !important}.components-select-control.getwid-wp56-fix .components-input-control__suffix,.components-getwid-custom-query-control__terms .components-input-control__suffix,.components-getwid-custom-query-control__taxonomy .components-input-control__suffix{display:none !important}.components-select-control.getwid-wp56-fix .components-input-control__label,.components-getwid-custom-query-control__terms .components-input-control__label,.components-getwid-custom-query-control__taxonomy .components-input-control__label{font-size:inherit}.interface-interface-skeleton__editor{overflow:hidden}.getwid-custom-pallete .components-panel__body-title{display:none}.components-getwid-color-palette-control .components-base-control__label{vertical-align:text-bottom}body.getwid-fix-scroll-while-animation{overflow:hidden}.block-editor__container .getwid-slider-image-wrapper{margin-bottom:0.5em;line-height:0}.block-editor__container .getwid-slider-image-wrapper img{max-width:33%;-o-object-fit:cover;object-fit:cover;height:75px;border:1px solid #f7f7f7}.block-editor__container .getwid-background-image-wrapper{cursor:pointer;padding:5px;border:1px solid #e2e4e7;margin-bottom:0.5em;line-height:0;position:relative;text-align:center}.block-editor__container .getwid-background-image-wrapper img{max-height:150px;position:relative}.block-editor__container .getwid-background-image-wrapper:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:-webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0.95)), to(rgba(255,255,255,0.95))),-webkit-gradient(linear, left top, right top, color-stop(50%, black), color-stop(50%, white)),-webkit-gradient(linear, left top, left bottom, color-stop(50%, black), color-stop(50%, white));background-image:linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.95)),linear-gradient(to right, black 50%, white 50%),linear-gradient(to bottom, black 50%, white 50%);background-blend-mode:normal, difference, normal;background-size:20px 20px}.block-editor__container .getwid-editor-tabs{margin-bottom:1.5em}.block-editor__container .getwid-editor-tabs:not(.left) .components-tab-panel__tabs{text-align:right}.block-editor__container .getwid-editor-tabs.left .components-tab-panel__tabs{text-align:left}.block-editor__container .getwid-editor-tabs .components-tab-panel__tabs{margin-bottom:-1px}.block-editor__container .getwid-editor-tabs .components-tab-panel__tabs .components-button{text-decoration:none;padding:2px 8px 4px;height:auto;border-top:1px solid #ffffff;border-left:1px solid #ffffff;border-right:1px solid #ffffff;border-bottom:1px solid #e2e4e7}.block-editor__container .getwid-editor-tabs .components-tab-panel__tabs .components-button.is-active{color:inherit;border-top:1px solid #e2e4e7;border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7;border-bottom:1px solid #ffffff}.block-editor__container .getwid-editor-tabs .components-tab-panel__tab-content{padding:1em;border:1px solid #e2e4e7}.getwid-editor-url-input .components-base-control__field input{width:100%}.wp-block-getwid-custom-post-type__template .wp-block-columns{display:-webkit-box;display:-ms-flexbox;display:flex}
50
  .wp-block-getwid-template-library .components-placeholder__fieldset{display:contents}.wp-block-getwid-template-library .components-placeholder__fieldset span{margin-top:30px}.wp-block-getwid-template-library .components-placeholder__fieldset .no-templates{width:100%}.wp-block-getwid-template-library .components-placeholder__fieldset .insert-template-button{display:block;width:100%;margin-top:30px}.wp-block-getwid-template-library__modal-templates{width:100%;min-height:90%;max-width:1600px;overflow:hidden}@media screen and (min-width: 600px){.wp-block-getwid-template-library__modal-templates{width:80%}}.wp-block-getwid-template-library__modal-templates .components-tab-panel__tabs{display:none}.wp-block-getwid-template-library__modal-templates .components-modal__content{padding:0 16px 16px}.wp-block-getwid-template-library__modal-templates .components-modal__content .components-modal__header{margin:0 -24px 16px}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs{padding:0}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs{padding:0;background-color:#f3f4f5;margin:-16px -16px 10px -16px}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item{font-size:16px;padding:10px 10px 15px 10px;position:relative}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item:before{content:"";position:absolute;top:0;bottom:1px;right:0;left:0;border-bottom:3px solid transparent}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item.is-active{font-weight:500}.wp-block-getwid-template-library__modal-templates .getwid-modal-editor-tabs .components-tab-panel__tabs .template-library-item.is-active:before{border-bottom:3px solid #007cba}.wp-block-getwid-template-library__wrapper .components-placeholder__fieldset{max-width:100%}.wp-block-getwid-template-library__wrapper .template-library-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;overflow-y:auto;padding:0px 20px 0px 0px;margin:-16px -16px 0px 0px}.wp-block-getwid-template-library__wrapper .template-library-list.loading-items{height:auto;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.wp-block-getwid-template-library__wrapper .template-library-list.view-grid .template-library-container{width:100%}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.view-grid .template-library-container{width:50%}}.wp-block-getwid-template-library__wrapper .template-library-list.view-list .template-library-container{width:100%}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-2 .template-library-container{width:50%}}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-3 .template-library-container{width:50%}}@media screen and (min-width: 1201px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-3 .template-library-container{width:33.333%}}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-4 .template-library-container{width:50%}}@media screen and (min-width: 1201px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-4 .template-library-container{width:25%}}@media screen and (min-width: 992px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-5 .template-library-container{width:50%}}@media screen and (min-width: 1201px){.wp-block-getwid-template-library__wrapper .template-library-list.has-columns-5 .template-library-container{width:20%}}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper{width:100%;overflow:hidden}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;margin:0 -20px}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items .template-library-item{height:auto;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border:1px solid #ececec;background:#fff}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items .template-library-item:hover{border-color:#0085ba}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-category-wrapper .template-library-category-items .template-library-item:hover .template-insert-button{pointer-events:all;opacity:1}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container{padding:0 20px 40px 20px;width:100%}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-image-wrapper{border-bottom:1px solid #ededed;position:relative;padding-top:56.25%;overflow:hidden}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-image-wrapper .template-image{background-position:center;background-repeat:no-repeat;background-size:contain;position:absolute;top:0;left:0;right:0;bottom:0;-webkit-transform:translateZ(0);transform:translateZ(0)}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-content-wrapper{padding:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wp-block-getwid-template-library__wrapper .template-library-list .template-library-container .template-content-wrapper .template-insert-button{-webkit-transition:opacity 0.15s linear;transition:opacity 0.15s linear;pointer-events:none;opacity:0}.edit-post-header-toolbar #getwid-layout-insert-button{margin-left:8px}.wp-block-getwid-template-library__layout-view{padding-right:20px}.wp-block-getwid-template-library__layout-view .template-view-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wp-block-getwid-template-library__modal-toolbar{position:relative;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:-16px -16px 16px -16px;padding:24px 16px 16px;background:#f3f4f5;border-bottom:1px solid #e2e4e7}@media screen and (min-width: 768px){.wp-block-getwid-template-library__modal-toolbar{-ms-flex-wrap:nowrap;flex-wrap:nowrap}}.wp-block-getwid-template-library__modal-toolbar>*{margin:0 !important}.wp-block-getwid-template-library__modal-toolbar .template-category-field{padding-right:20px}@media screen and (max-width: 768px){.wp-block-getwid-template-library__modal-toolbar .template-category-field{padding-right:0;width:100%}}.wp-block-getwid-template-library__modal-toolbar .template-search-field{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto;padding-right:20px}@media screen and (max-width: 768px){.wp-block-getwid-template-library__modal-toolbar .template-search-field{width:100%;padding-right:0}}.wp-block-getwid-template-library__modal-toolbar .template-search-field input{line-height:28px;height:28px}.wp-block-getwid-template-library__modal-templates{height:100%}.wp-block-getwid-template-library__modal-templates>.components-modal__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.components-modal__header{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.getwid-modal-editor-tabs{-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;min-height:0}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.getwid-modal-editor-tabs>.components-tab-panel__tab-content{height:100%}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.getwid-modal-editor-tabs .wp-block-getwid-template-library__wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:100%}.wp-block-getwid-template-library__modal-templates>.components-modal__content>.getwid-modal-editor-tabs .wp-block-getwid-template-library__modal-toolbar{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto}
51
  .wp-block-getwid-table td,.wp-block-getwid-table th{border:1px solid #eee}.wp-block-getwid-table td.selected,.wp-block-getwid-table th.selected{outline:2px solid #0085ba}.wp-block-getwid-table__placeholder-form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.wp-block-getwid-table__placeholder-form .wp-block-getwid-table__placeholder-input{width:112px;margin-right:8px;margin-bottom:0}.wp-block-getwid-table__placeholder-form .wp-block-getwid-table__placeholder-input input{height:36px}.wp-block-getwid-table__placeholder-form .wp-block-getwid-table__placeholder-input .components-base-control__field{margin-bottom:0}.wp-block-getwid-table__placeholder-form button{margin-top:auto;margin-right:auto}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item{min-width:25%;margin-top:5px;margin-bottom:5px}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item button.components-button{padding:10px;height:auto;display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:0px;border:1px solid #e2e4e7}.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item button.components-button:hover,.edit-post-sidebar .components-getwid-border-control .components-getwid-border-group .getwid-border-item button.components-button:focus{-webkit-box-shadow:none;box-shadow:none}
52
  .wp-block-getwid-anchor{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-ms-flex-line-pack:center;align-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wp-block-getwid-anchor span{border-top:1px solid currentColor;-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.wp-block-getwid-anchor svg{margin:0px 10px 0px 10px}
53
+ .wp-block-getwid-content-slider__controls-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.wp-block-getwid-content-slider__controls-arrows{margin-left:10px}.wp-block-getwid-content-slider__controls-arrows button{margin-left:5px}.wp-block-getwid-content-slider__controls-actions{margin-right:auto}.wp-block-getwid-content-slider__controls-slides{margin-left:15px}[data-type='getwid/content-slider-slide']{max-width:100% !important;display:block}[data-type='getwid/content-slider-slide'][data-hidden]{display:none}.wp-block-getwid-content-slider-slide__wrapper>.block-editor-inner-blocks>.block-editor-block-list__layout>.wp-block{max-width:100%}
54
  .wp-block-getwid-images-slider .slick-prev,.wp-block-getwid-images-slider .slick-next,.wp-block-getwid-media-text-slider .slick-prev,.wp-block-getwid-media-text-slider .slick-next,.wp-block-getwid-post-slider .slick-prev,.wp-block-getwid-post-slider .slick-next,.wp-block-getwid-post-carousel .slick-prev,.wp-block-getwid-post-carousel .slick-next{font-size:0}.wp-block-getwid-images-slider .slick-dots,.wp-block-getwid-media-text-slider .slick-dots,.wp-block-getwid-post-slider .slick-dots,.wp-block-getwid-post-carousel .slick-dots{margin:0 auto !important}.wp-block-getwid-map__key-form,.wp-block-getwid-instagram__key-form,.wp-block-getwid-mailchimp__key-form{padding:1em}.wp-block-getwid-map__key-form .form-title,.wp-block-getwid-instagram__key-form .form-title,.wp-block-getwid-mailchimp__key-form .form-title{margin-bottom:.5em;display:block}.wp-block-getwid-map__key-form .form-description,.wp-block-getwid-instagram__key-form .form-description,.wp-block-getwid-mailchimp__key-form .form-description{font-size:0.875em;margin-top:1em;display:block}.wp-block-getwid-mailchimp .getwid-field-label,.wp-block-getwid-contact-form .getwid-field-label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.wp-block-getwid-mailchimp .getwid-field-label .required,.wp-block-getwid-contact-form .getwid-field-label .required{margin-left:10px;color:inherit}.wp-block-getwid-mailchimp .components-base-control__label,.wp-block-getwid-contact-form .components-base-control__label{width:100%}.wp-block-getwid-mailchimp .getwid-field-label__input,.wp-block-getwid-contact-form .getwid-field-label__input{border:0;-webkit-box-shadow:none;box-shadow:none;outline:none;background:transparent}.wp-block-getwid-mailchimp .getwid-field-label__input:focus,.wp-block-getwid-contact-form .getwid-field-label__input:focus{padding:2px 10px;background:#fff}.wp-block-getwid-mailchimp .getwid-field-label__required,.wp-block-getwid-contact-form .getwid-field-label__required{margin-left:10px}.wp-block-getwid-mailchimp .getwid-field-label__required .components-base-control__field,.wp-block-getwid-contact-form .getwid-field-label__required .components-base-control__field{margin:0}.components-select-control.getwid-wp56-fix .components-select-control__input,.components-getwid-custom-query-control__terms .components-select-control__input,.components-getwid-custom-query-control__taxonomy .components-select-control__input{height:auto !important}.components-select-control.getwid-wp56-fix .components-input-control__suffix,.components-getwid-custom-query-control__terms .components-input-control__suffix,.components-getwid-custom-query-control__taxonomy .components-input-control__suffix{display:none !important}.components-select-control.getwid-wp56-fix .components-input-control__label,.components-getwid-custom-query-control__terms .components-input-control__label,.components-getwid-custom-query-control__taxonomy .components-input-control__label{font-size:inherit}.interface-interface-skeleton__editor{overflow:hidden}.getwid-custom-pallete .components-panel__body-title{display:none}.components-getwid-color-palette-control .components-base-control__label{vertical-align:text-bottom}body.getwid-fix-scroll-while-animation{overflow:hidden}.block-editor__container .getwid-slider-image-wrapper{margin-bottom:0.5em;line-height:0}.block-editor__container .getwid-slider-image-wrapper img{max-width:33%;-o-object-fit:cover;object-fit:cover;height:75px;border:1px solid #f7f7f7}.block-editor__container .getwid-background-image-wrapper{cursor:pointer;padding:5px;border:1px solid #e2e4e7;margin-bottom:0.5em;line-height:0;position:relative;text-align:center}.block-editor__container .getwid-background-image-wrapper img{max-height:150px;position:relative}.block-editor__container .getwid-background-image-wrapper:before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-image:-webkit-gradient(linear, left top, right top, from(rgba(255,255,255,0.95)), to(rgba(255,255,255,0.95))),-webkit-gradient(linear, left top, right top, color-stop(50%, black), color-stop(50%, white)),-webkit-gradient(linear, left top, left bottom, color-stop(50%, black), color-stop(50%, white));background-image:linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.95)),linear-gradient(to right, black 50%, white 50%),linear-gradient(to bottom, black 50%, white 50%);background-blend-mode:normal, difference, normal;background-size:20px 20px}.block-editor__container .getwid-editor-tabs{margin-bottom:1.5em}.block-editor__container .getwid-editor-tabs:not(.left) .components-tab-panel__tabs{text-align:right}.block-editor__container .getwid-editor-tabs.left .components-tab-panel__tabs{text-align:left}.block-editor__container .getwid-editor-tabs .components-tab-panel__tabs{margin-bottom:-1px}.block-editor__container .getwid-editor-tabs .components-tab-panel__tabs .components-button{text-decoration:none;padding:2px 8px 4px;height:auto;border-top:1px solid #ffffff;border-left:1px solid #ffffff;border-right:1px solid #ffffff;border-bottom:1px solid #e2e4e7}.block-editor__container .getwid-editor-tabs .components-tab-panel__tabs .components-button.is-active{color:inherit;border-top:1px solid #e2e4e7;border-left:1px solid #e2e4e7;border-right:1px solid #e2e4e7;border-bottom:1px solid #ffffff}.block-editor__container .getwid-editor-tabs .components-tab-panel__tab-content{padding:1em;border:1px solid #e2e4e7}.getwid-editor-url-input .components-base-control__field input{width:100%}.wp-block-getwid-custom-post-type__template .wp-block-columns{display:-webkit-box;display:-ms-flexbox;display:flex}
assets/css/blocks.style.css CHANGED
@@ -145,4 +145,4 @@
145
  */.wp-block-getwid-table-of-contents.is-style-none ul{list-style:none}.wp-block-getwid-table-of-contents.is-style-none li{padding-left:0;margin-left:0}.wp-block-getwid-table-of-contents.is-style-none li:after,.wp-block-getwid-table-of-contents.is-style-none li:before{display:none}.wp-block-getwid-table-of-contents.is-style-none .wp-block-getwid-table-of-contents__list{padding:0;margin:0}.wp-block-getwid-table-of-contents.is-style-none .wp-block-getwid-table-of-contents__list>li{padding-left:0;margin-left:0}.wp-block-getwid-table-of-contents.is-style-unordered ul{list-style:outside disc;margin-left:1em;padding-left:0}.wp-block-getwid-table-of-contents.is-style-unordered li{padding-left:0;margin-left:0}.wp-block-getwid-table-of-contents.is-style-unordered li:after,.wp-block-getwid-table-of-contents.is-style-unordered li:before{display:none}.wp-block-getwid-table-of-contents.is-style-ordered .wp-block-getwid-table-of-contents__list{margin-left:0;padding-left:0}.wp-block-getwid-table-of-contents.is-style-ordered ol{counter-reset:item;list-style:none}.wp-block-getwid-table-of-contents.is-style-ordered li{padding-left:0;margin-left:0}.wp-block-getwid-table-of-contents.is-style-ordered li:after{display:none}.wp-block-getwid-table-of-contents.is-style-ordered li:before{content:counters(item, ".") ".";counter-increment:item;margin-right:.5em}
146
  /*!
147
  * getwid-common-styles
148
- */@-webkit-keyframes slideInDownShort{from{-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInDownShort{from{-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInDownShort{-webkit-animation-name:slideInDownShort;animation-name:slideInDownShort}@-webkit-keyframes slideInLeftShort{from{-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInLeftShort{from{-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInLeftShort{-webkit-animation-name:slideInLeftShort;animation-name:slideInLeftShort}@-webkit-keyframes slideInRightShort{from{-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInRightShort{from{-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInRightShort{-webkit-animation-name:slideInRightShort;animation-name:slideInRightShort}@-webkit-keyframes slideInUpShort{from{-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInUpShort{from{-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInUpShort{-webkit-animation-name:slideInUpShort;animation-name:slideInUpShort}@-webkit-keyframes bounceInDownShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, 25px, 0);transform:translate3d(0, 25px, 0)}75%{-webkit-transform:translate3d(0, -10px, 0);transform:translate3d(0, -10px, 0)}90%{-webkit-transform:translate3d(0, 5px, 0);transform:translate3d(0, 5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInDownShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, 25px, 0);transform:translate3d(0, 25px, 0)}75%{-webkit-transform:translate3d(0, -10px, 0);transform:translate3d(0, -10px, 0)}90%{-webkit-transform:translate3d(0, 5px, 0);transform:translate3d(0, 5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInDownShort{-webkit-animation-name:bounceInDownShort;animation-name:bounceInDownShort}@-webkit-keyframes bounceInLeftShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(25px, 0, 0);transform:translate3d(25px, 0, 0)}75%{-webkit-transform:translate3d(-10px, 0, 0);transform:translate3d(-10px, 0, 0)}90%{-webkit-transform:translate3d(5px, 0, 0);transform:translate3d(5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInLeftShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(25px, 0, 0);transform:translate3d(25px, 0, 0)}75%{-webkit-transform:translate3d(-10px, 0, 0);transform:translate3d(-10px, 0, 0)}90%{-webkit-transform:translate3d(5px, 0, 0);transform:translate3d(5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInLeftShort{-webkit-animation-name:bounceInLeftShort;animation-name:bounceInLeftShort}@-webkit-keyframes bounceInRightShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(-25px, 0, 0);transform:translate3d(-25px, 0, 0)}75%{-webkit-transform:translate3d(10px, 0, 0);transform:translate3d(10px, 0, 0)}90%{-webkit-transform:translate3d(-5px, 0, 0);transform:translate3d(-5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInRightShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(-25px, 0, 0);transform:translate3d(-25px, 0, 0)}75%{-webkit-transform:translate3d(10px, 0, 0);transform:translate3d(10px, 0, 0)}90%{-webkit-transform:translate3d(-5px, 0, 0);transform:translate3d(-5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInRightShort{-webkit-animation-name:bounceInRightShort;animation-name:bounceInRightShort}@-webkit-keyframes bounceInUpShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, -20px, 0);transform:translate3d(0, -20px, 0)}75%{-webkit-transform:translate3d(0, 10px, 0);transform:translate3d(0, 10px, 0)}90%{-webkit-transform:translate3d(0, -5px, 0);transform:translate3d(0, -5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInUpShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, -20px, 0);transform:translate3d(0, -20px, 0)}75%{-webkit-transform:translate3d(0, 10px, 0);transform:translate3d(0, 10px, 0)}90%{-webkit-transform:translate3d(0, -5px, 0);transform:translate3d(0, -5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInUpShort{-webkit-animation-name:bounceInUpShort;animation-name:bounceInUpShort}@-webkit-keyframes fadeInDownShort{from{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInDownShort{from{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInDownShort{-webkit-animation-name:fadeInDownShort;animation-name:fadeInDownShort}@-webkit-keyframes fadeInLeftShort{from{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInLeftShort{from{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInLeftShort{-webkit-animation-name:fadeInLeftShort;animation-name:fadeInLeftShort}@-webkit-keyframes fadeInRightShort{from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInRightShort{from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInRightShort{-webkit-animation-name:fadeInRightShort;animation-name:fadeInRightShort}@-webkit-keyframes fadeInUpShort{from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInUpShort{from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInUpShort{-webkit-animation-name:fadeInUpShort;animation-name:fadeInUpShort}@-webkit-keyframes lightSpeedInShort{from{-webkit-transform:translate3d(400px, 0, 0) skewX(-30deg);transform:translate3d(400px, 0, 0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes lightSpeedInShort{from{-webkit-transform:translate3d(400px, 0, 0) skewX(-30deg);transform:translate3d(400px, 0, 0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.lightSpeedInShort{-webkit-animation-name:lightSpeedInShort;animation-name:lightSpeedInShort;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes getwidPulseAnimation{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@keyframes getwidPulseAnimation{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@-webkit-keyframes getwidTimelinePointBounce{0%{opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}60%{opacity:1;-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes getwidTimelinePointBounce{0%{opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}60%{opacity:1;-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes getwidFadeIn{from{opacity:0}to{opacity:1}}@keyframes getwidFadeIn{from{opacity:0}to{opacity:1}}.wp-block-getwid-post-carousel.is-carousel .slick-list,.wp-block-getwid-images-slider.is-carousel .slick-list{margin:0 -5px}.wp-block-getwid-post-carousel.is-carousel .slick-slide,.wp-block-getwid-images-slider.is-carousel .slick-slide{margin:0 5px}.wp-block-getwid-post-carousel.has-slides-gap-none .slick-list,.wp-block-getwid-images-slider.has-slides-gap-none .slick-list{margin:0}.wp-block-getwid-post-carousel.has-slides-gap-none .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-none .slick-slide{margin:0}.wp-block-getwid-post-carousel.has-slides-gap-small .slick-list,.wp-block-getwid-images-slider.has-slides-gap-small .slick-list{margin:0 -5px}.wp-block-getwid-post-carousel.has-slides-gap-small .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-small .slick-slide{margin:0 5px}.wp-block-getwid-post-carousel.has-slides-gap-normal .slick-list,.wp-block-getwid-images-slider.has-slides-gap-normal .slick-list{margin:0 -10px}.wp-block-getwid-post-carousel.has-slides-gap-normal .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-normal .slick-slide{margin:0 10px}.wp-block-getwid-post-carousel.has-slides-gap-large .slick-list,.wp-block-getwid-images-slider.has-slides-gap-large .slick-list{margin:0 -20px}.wp-block-getwid-post-carousel.has-slides-gap-large .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-large .slick-slide{margin:0 20px}.wp-block-getwid-post-carousel.has-slides-gap-huge .slick-list,.wp-block-getwid-images-slider.has-slides-gap-huge .slick-list{margin:0 -30px}.wp-block-getwid-post-carousel.has-slides-gap-huge .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-huge .slick-slide{margin:0 30px}.wp-block-getwid-images-slider .slick-prev,.wp-block-getwid-images-slider .slick-next,.wp-block-getwid-media-text-slider .slick-prev,.wp-block-getwid-media-text-slider .slick-next,.wp-block-getwid-post-slider .slick-prev,.wp-block-getwid-post-slider .slick-next,.wp-block-getwid-post-carousel .slick-prev,.wp-block-getwid-post-carousel .slick-next{z-index:1;background-color:transparent}.wp-block-getwid-images-slider .slick-prev:before,.wp-block-getwid-images-slider .slick-next:before,.wp-block-getwid-media-text-slider .slick-prev:before,.wp-block-getwid-media-text-slider .slick-next:before,.wp-block-getwid-post-slider .slick-prev:before,.wp-block-getwid-post-slider .slick-next:before,.wp-block-getwid-post-carousel .slick-prev:before,.wp-block-getwid-post-carousel .slick-next:before{color:#000}.wp-block-getwid-images-slider .slick-prev:hover,.wp-block-getwid-images-slider .slick-prev:focus,.wp-block-getwid-images-slider .slick-next:hover,.wp-block-getwid-images-slider .slick-next:focus,.wp-block-getwid-media-text-slider .slick-prev:hover,.wp-block-getwid-media-text-slider .slick-prev:focus,.wp-block-getwid-media-text-slider .slick-next:hover,.wp-block-getwid-media-text-slider .slick-next:focus,.wp-block-getwid-post-slider .slick-prev:hover,.wp-block-getwid-post-slider .slick-prev:focus,.wp-block-getwid-post-slider .slick-next:hover,.wp-block-getwid-post-slider .slick-next:focus,.wp-block-getwid-post-carousel .slick-prev:hover,.wp-block-getwid-post-carousel .slick-prev:focus,.wp-block-getwid-post-carousel .slick-next:hover,.wp-block-getwid-post-carousel .slick-next:focus{text-decoration:none}.wp-block-getwid-images-slider .slick-dotted.slick-slider,.wp-block-getwid-media-text-slider .slick-dotted.slick-slider,.wp-block-getwid-post-slider .slick-dotted.slick-slider,.wp-block-getwid-post-carousel .slick-dotted.slick-slider{margin-bottom:0;padding-bottom:30px}.wp-block-getwid-images-slider .slick-dots,.wp-block-getwid-media-text-slider .slick-dots,.wp-block-getwid-post-slider .slick-dots,.wp-block-getwid-post-carousel .slick-dots{margin:0 auto;max-width:100%;width:100%;bottom:0}.wp-block-getwid-images-slider .slick-dots li,.wp-block-getwid-media-text-slider .slick-dots li,.wp-block-getwid-post-slider .slick-dots li,.wp-block-getwid-post-carousel .slick-dots li{margin:0 5px}.wp-block-getwid-images-slider.has-arrows-inside,.wp-block-getwid-media-text-slider.has-arrows-inside,.wp-block-getwid-post-slider.has-arrows-inside,.wp-block-getwid-post-carousel.has-arrows-inside{padding-left:0;padding-right:0}.wp-block-getwid-images-slider.has-arrows-inside .slick-prev,.wp-block-getwid-images-slider.has-arrows-inside .slick-next,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-prev,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-slider.has-arrows-inside .slick-prev,.wp-block-getwid-post-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev,.wp-block-getwid-post-carousel.has-arrows-inside .slick-next{text-shadow:0px 0px 3px rgba(0,0,0,0.5)}.wp-block-getwid-images-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-images-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-post-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-post-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev:before,.wp-block-getwid-post-carousel.has-arrows-inside .slick-next:before{color:#fff}.wp-block-getwid-images-slider.has-arrows-inside .slick-prev,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-prev,.wp-block-getwid-post-slider.has-arrows-inside .slick-prev,.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev{left:25px}.wp-block-getwid-images-slider.has-arrows-inside .slick-next,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-carousel.has-arrows-inside .slick-next{right:25px}.wp-block-getwid-images-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-post-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-post-carousel.has-dots-inside .slick-dotted.slick-slider{margin-bottom:0;padding-bottom:0}.wp-block-getwid-images-slider.has-dots-inside .slick-dots,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots,.wp-block-getwid-post-slider.has-dots-inside .slick-dots,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots{bottom:20px}.wp-block-getwid-images-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-post-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots li .slick-active{color:#fff}.wp-block-getwid-images-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-post-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots li button{text-shadow:0px 0px 3px rgba(0,0,0,0.5)}.wp-block-getwid-images-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-post-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots li button:before{color:#fff}.wp-block-getwid-images-slider.alignfull .slick-list,.wp-block-getwid-media-text-slider.alignfull .slick-list,.wp-block-getwid-post-slider.alignfull .slick-list,.wp-block-getwid-post-carousel.alignfull .slick-list{margin:0}.wp-block-getwid-images-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-images-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-media-text-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-media-text-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-post-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-post-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-post-carousel.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-post-carousel.alignfull.has-arrows-outside .slick-prev{left:25px}.wp-block-getwid-images-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-images-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-media-text-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-media-text-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-post-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-post-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-post-carousel.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-post-carousel.alignfull.has-arrows-outside .slick-next{right:25px}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-50 .wp-block-getwid-advanced-heading__content,.fs-tablet-50 .wp-block-getwid-countdown__content{font-size:50%}}@media screen and (max-width: 767px){.fs-mobile-50 .wp-block-getwid-advanced-heading__content,.fs-mobile-50 .wp-block-getwid-countdown__content{font-size:50%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-60 .wp-block-getwid-advanced-heading__content,.fs-tablet-60 .wp-block-getwid-countdown__content{font-size:60%}}@media screen and (max-width: 767px){.fs-mobile-60 .wp-block-getwid-advanced-heading__content,.fs-mobile-60 .wp-block-getwid-countdown__content{font-size:60%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-70 .wp-block-getwid-advanced-heading__content,.fs-tablet-70 .wp-block-getwid-countdown__content{font-size:70%}}@media screen and (max-width: 767px){.fs-mobile-70 .wp-block-getwid-advanced-heading__content,.fs-mobile-70 .wp-block-getwid-countdown__content{font-size:70%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-80 .wp-block-getwid-advanced-heading__content,.fs-tablet-80 .wp-block-getwid-countdown__content{font-size:80%}}@media screen and (max-width: 767px){.fs-mobile-80 .wp-block-getwid-advanced-heading__content,.fs-mobile-80 .wp-block-getwid-countdown__content{font-size:80%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-90 .wp-block-getwid-advanced-heading__content,.fs-tablet-90 .wp-block-getwid-countdown__content{font-size:90%}}@media screen and (max-width: 767px){.fs-mobile-90 .wp-block-getwid-advanced-heading__content,.fs-mobile-90 .wp-block-getwid-countdown__content{font-size:90%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-100 .wp-block-getwid-advanced-heading__content,.fs-tablet-100 .wp-block-getwid-countdown__content{font-size:100%}}@media screen and (max-width: 767px){.fs-mobile-100 .wp-block-getwid-advanced-heading__content,.fs-mobile-100 .wp-block-getwid-countdown__content{font-size:100%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-110 .wp-block-getwid-advanced-heading__content,.fs-tablet-110 .wp-block-getwid-countdown__content{font-size:110%}}@media screen and (max-width: 767px){.fs-mobile-110 .wp-block-getwid-advanced-heading__content,.fs-mobile-110 .wp-block-getwid-countdown__content{font-size:110%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-120 .wp-block-getwid-advanced-heading__content,.fs-tablet-120 .wp-block-getwid-countdown__content{font-size:120%}}@media screen and (max-width: 767px){.fs-mobile-120 .wp-block-getwid-advanced-heading__content,.fs-mobile-120 .wp-block-getwid-countdown__content{font-size:120%}}[data-animation] .wp-block-getwid-image-box__image-wrapper,[data-animation].wp-block-getwid-icon__wrapper,[data-animation] .wp-block-getwid-icon-box__icon-wrapper{-webkit-transition:.3s ease;transition:.3s ease;-webkit-transform:none;transform:none}[data-animation="slideTop"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideTop"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideTop"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateY(-10px);transform:translateY(-10px)}[data-animation="slideBottom"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideBottom"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideBottom"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateY(10px);transform:translateY(10px)}[data-animation="slideLeft"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideLeft"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideLeft"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateX(-10px);transform:translateX(-10px)}[data-animation="slideRight"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideRight"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideRight"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateX(10px);transform:translateX(10px)}[data-animation="zoomSmall"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="zoomSmall"]:hover.wp-block-getwid-icon__wrapper,[data-animation="zoomSmall"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:scale(1.05);transform:scale(1.05)}[data-animation="zoomBig"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="zoomBig"]:hover.wp-block-getwid-icon__wrapper,[data-animation="zoomBig"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:scale(1.2);transform:scale(1.2)}.getwid-columns{margin-left:-30px;margin-right:-30px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.getwid-columns.getwid-columns-1>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-1>*{width:100%}}.getwid-columns.getwid-columns-2>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-2>*{width:50%}}.getwid-columns.getwid-columns-3>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-3>*{width:33.33333%}}.getwid-columns.getwid-columns-4>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-4>*{width:25%}}.getwid-columns.getwid-columns-5>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-5>*{width:20%}}.getwid-columns.getwid-columns-6>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-6>*{width:16.66667%}}.getwid-columns.getwid-columns-7>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-7>*{width:14.28571%}}.getwid-columns.getwid-columns-8>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-8>*{width:12.5%}}.getwid-columns.getwid-columns-9>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-9>*{width:11.11111%}}.getwid-columns.getwid-columns-10>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-10>*{width:10%}}.getwid-columns.getwid-columns-11>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-11>*{width:9.09091%}}.getwid-columns.getwid-columns-12>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-12>*{width:8.33333%}}@media screen and (min-width: 992px){.getwid-hide-desktop{display:none}}@media screen and (min-width: 768px) and (max-width: 991px){.getwid-hide-tablet{display:none}}@media screen and (max-width: 767px){.getwid-hide-mobile{display:none}}.getwid-padding-top-small{padding-top:10px}.getwid-padding-top-medium{padding-top:25px}.getwid-padding-top-normal{padding-top:40px}.getwid-padding-top-large{padding-top:60px}.getwid-padding-top-none{padding-top:0 !important}.getwid-padding-bottom-small{padding-bottom:10px}.getwid-padding-bottom-medium{padding-bottom:25px}.getwid-padding-bottom-normal{padding-bottom:40px}.getwid-padding-bottom-large{padding-bottom:60px}.getwid-padding-bottom-none{padding-bottom:0 !important}.getwid-padding-left-small{padding-left:10px}.getwid-padding-left-medium{padding-left:25px}.getwid-padding-left-normal{padding-left:40px}.getwid-padding-left-large{padding-left:60px}.getwid-padding-left-none{padding-left:0 !important}.getwid-padding-right-small{padding-right:10px}.getwid-padding-right-medium{padding-right:25px}.getwid-padding-right-normal{padding-right:40px}.getwid-padding-right-large{padding-right:60px}.getwid-padding-right-none{padding-right:0 !important}@media screen and (max-width: 991px){.getwid-padding-tablet-top-small{padding-top:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-medium{padding-top:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-normal{padding-top:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-large{padding-top:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-none{padding-top:0 !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-small{padding-bottom:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-medium{padding-bottom:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-normal{padding-bottom:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-large{padding-bottom:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-none{padding-bottom:0 !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-small{padding-left:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-medium{padding-left:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-normal{padding-left:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-large{padding-left:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-none{padding-left:0 !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-small{padding-right:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-medium{padding-right:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-normal{padding-right:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-large{padding-right:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-none{padding-right:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-small{padding-top:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-medium{padding-top:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-normal{padding-top:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-large{padding-top:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-none{padding-top:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-small{padding-bottom:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-medium{padding-bottom:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-normal{padding-bottom:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-large{padding-bottom:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-none{padding-bottom:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-small{padding-left:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-medium{padding-left:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-normal{padding-left:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-large{padding-left:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-none{padding-left:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-small{padding-right:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-medium{padding-right:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-normal{padding-right:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-large{padding-right:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-none{padding-right:0 !important}}.getwid-margin-top-small{margin-top:10px !important}.getwid-margin-top-medium{margin-top:25px !important}.getwid-margin-top-normal{margin-top:40px !important}.getwid-margin-top-large{margin-top:60px !important}.getwid-margin-top-none{margin-top:0 !important}.getwid-margin-bottom-small{margin-bottom:10px !important}.getwid-margin-bottom-medium{margin-bottom:25px !important}.getwid-margin-bottom-normal{margin-bottom:40px !important}.getwid-margin-bottom-large{margin-bottom:60px !important}.getwid-margin-bottom-none{margin-bottom:0 !important}.getwid-margin-left-small{margin-left:10px}.getwid-margin-left-medium{margin-left:25px}.getwid-margin-left-normal{margin-left:40px}.getwid-margin-left-large{margin-left:60px}.getwid-margin-left-none{margin-left:0 !important}.getwid-margin-right-small{margin-right:10px}.getwid-margin-right-medium{margin-right:25px}.getwid-margin-right-normal{margin-right:40px}.getwid-margin-right-large{margin-right:60px}.getwid-margin-right-none{margin-right:0 !important}@media screen and (max-width: 991px){.getwid-margin-tablet-top-small{margin-top:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-medium{margin-top:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-normal{margin-top:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-large{margin-top:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-none{margin-top:0 !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-small{margin-bottom:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-medium{margin-bottom:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-normal{margin-bottom:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-large{margin-bottom:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-none{margin-bottom:0 !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-small{margin-left:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-medium{margin-left:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-normal{margin-left:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-large{margin-left:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-none{margin-left:0 !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-small{margin-right:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-medium{margin-right:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-normal{margin-right:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-large{margin-right:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-none{margin-right:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-small{margin-top:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-medium{margin-top:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-normal{margin-top:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-large{margin-top:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-none{margin-top:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-small{margin-bottom:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-medium{margin-bottom:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-normal{margin-bottom:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-large{margin-bottom:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-none{margin-bottom:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-small{margin-left:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-medium{margin-left:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-normal{margin-left:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-large{margin-left:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-none{margin-left:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-small{margin-right:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-medium{margin-right:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-normal{margin-right:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-large{margin-right:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-none{margin-right:0 !important}}@media screen and (min-width: 768px) and (max-width: 991px){.getwid-reset-min-height-tablet{min-height:auto !important}}@media screen and (max-width: 767px){.getwid-reset-min-height-mobile{min-height:auto !important}}@media screen and (min-width: 768px) and (max-width: 991px){.getwid-reset-height-tablet{height:auto !important}}@media screen and (max-width: 767px){.getwid-reset-height-mobile{height:auto !important}}.getwid-align-items-flex-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.getwid-align-items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.getwid-align-items-flex-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}@media screen and (max-width: 991px){.getwid-align-items-tablet-flex-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 991px){.getwid-align-items-tablet-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 991px){.getwid-align-items-tablet-flex-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}}@media screen and (max-width: 767px){.getwid-align-items-mobile-flex-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 767px){.getwid-align-items-mobile-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 767px){.getwid-align-items-mobile-flex-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}}.getwid-justify-content-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.getwid-justify-content-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.getwid-justify-content-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}@media screen and (max-width: 991px){.getwid-justify-content-tablet-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width: 991px){.getwid-justify-content-tablet-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media screen and (max-width: 991px){.getwid-justify-content-tablet-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}@media screen and (max-width: 767px){.getwid-justify-content-mobile-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width: 767px){.getwid-justify-content-mobile-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media screen and (max-width: 767px){.getwid-justify-content-mobile-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}.getwid-icon{font-style:normal}.getwid-icon-like{font-family:'Font Awesome 5 Free';font-weight:900}.getwid-icon-like:before{content:'\f004'}.getwid-icon-comment{font-family:'Font Awesome 5 Free';font-weight:900}.getwid-icon-comment:before{content:'\f075'}.getwid-opacity-0{opacity:0}.getwid-opacity-5{opacity:.05}.getwid-opacity-10{opacity:.1}.getwid-opacity-15{opacity:.15}.getwid-opacity-20{opacity:.2}.getwid-opacity-25{opacity:.25}.getwid-opacity-30{opacity:.3}.getwid-opacity-35{opacity:.35}.getwid-opacity-40{opacity:.4}.getwid-opacity-45{opacity:.45}.getwid-opacity-50{opacity:.5}.getwid-opacity-55{opacity:.55}.getwid-opacity-60{opacity:.6}.getwid-opacity-65{opacity:.65}.getwid-opacity-70{opacity:.7}.getwid-opacity-75{opacity:.75}.getwid-opacity-80{opacity:.8}.getwid-opacity-85{opacity:.85}.getwid-opacity-90{opacity:.9}.getwid-opacity-95{opacity:.95}.getwid-opacity-100{opacity:1}
145
  */.wp-block-getwid-table-of-contents.is-style-none ul{list-style:none}.wp-block-getwid-table-of-contents.is-style-none li{padding-left:0;margin-left:0}.wp-block-getwid-table-of-contents.is-style-none li:after,.wp-block-getwid-table-of-contents.is-style-none li:before{display:none}.wp-block-getwid-table-of-contents.is-style-none .wp-block-getwid-table-of-contents__list{padding:0;margin:0}.wp-block-getwid-table-of-contents.is-style-none .wp-block-getwid-table-of-contents__list>li{padding-left:0;margin-left:0}.wp-block-getwid-table-of-contents.is-style-unordered ul{list-style:outside disc;margin-left:1em;padding-left:0}.wp-block-getwid-table-of-contents.is-style-unordered li{padding-left:0;margin-left:0}.wp-block-getwid-table-of-contents.is-style-unordered li:after,.wp-block-getwid-table-of-contents.is-style-unordered li:before{display:none}.wp-block-getwid-table-of-contents.is-style-ordered .wp-block-getwid-table-of-contents__list{margin-left:0;padding-left:0}.wp-block-getwid-table-of-contents.is-style-ordered ol{counter-reset:item;list-style:none}.wp-block-getwid-table-of-contents.is-style-ordered li{padding-left:0;margin-left:0}.wp-block-getwid-table-of-contents.is-style-ordered li:after{display:none}.wp-block-getwid-table-of-contents.is-style-ordered li:before{content:counters(item, ".") ".";counter-increment:item;margin-right:.5em}
146
  /*!
147
  * getwid-common-styles
148
+ */@-webkit-keyframes slideInDownShort{from{-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInDownShort{from{-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInDownShort{-webkit-animation-name:slideInDownShort;animation-name:slideInDownShort}@-webkit-keyframes slideInLeftShort{from{-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInLeftShort{from{-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInLeftShort{-webkit-animation-name:slideInLeftShort;animation-name:slideInLeftShort}@-webkit-keyframes slideInRightShort{from{-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInRightShort{from{-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInRightShort{-webkit-animation-name:slideInRightShort;animation-name:slideInRightShort}@-webkit-keyframes slideInUpShort{from{-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes slideInUpShort{from{-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0);visibility:visible}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.slideInUpShort{-webkit-animation-name:slideInUpShort;animation-name:slideInUpShort}@-webkit-keyframes bounceInDownShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, 25px, 0);transform:translate3d(0, 25px, 0)}75%{-webkit-transform:translate3d(0, -10px, 0);transform:translate3d(0, -10px, 0)}90%{-webkit-transform:translate3d(0, 5px, 0);transform:translate3d(0, 5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInDownShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, 25px, 0);transform:translate3d(0, 25px, 0)}75%{-webkit-transform:translate3d(0, -10px, 0);transform:translate3d(0, -10px, 0)}90%{-webkit-transform:translate3d(0, 5px, 0);transform:translate3d(0, 5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInDownShort{-webkit-animation-name:bounceInDownShort;animation-name:bounceInDownShort}@-webkit-keyframes bounceInLeftShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(25px, 0, 0);transform:translate3d(25px, 0, 0)}75%{-webkit-transform:translate3d(-10px, 0, 0);transform:translate3d(-10px, 0, 0)}90%{-webkit-transform:translate3d(5px, 0, 0);transform:translate3d(5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInLeftShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}0%{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(25px, 0, 0);transform:translate3d(25px, 0, 0)}75%{-webkit-transform:translate3d(-10px, 0, 0);transform:translate3d(-10px, 0, 0)}90%{-webkit-transform:translate3d(5px, 0, 0);transform:translate3d(5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInLeftShort{-webkit-animation-name:bounceInLeftShort;animation-name:bounceInLeftShort}@-webkit-keyframes bounceInRightShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(-25px, 0, 0);transform:translate3d(-25px, 0, 0)}75%{-webkit-transform:translate3d(10px, 0, 0);transform:translate3d(10px, 0, 0)}90%{-webkit-transform:translate3d(-5px, 0, 0);transform:translate3d(-5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInRightShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}60%{opacity:1;-webkit-transform:translate3d(-25px, 0, 0);transform:translate3d(-25px, 0, 0)}75%{-webkit-transform:translate3d(10px, 0, 0);transform:translate3d(10px, 0, 0)}90%{-webkit-transform:translate3d(-5px, 0, 0);transform:translate3d(-5px, 0, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInRightShort{-webkit-animation-name:bounceInRightShort;animation-name:bounceInRightShort}@-webkit-keyframes bounceInUpShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, -20px, 0);transform:translate3d(0, -20px, 0)}75%{-webkit-transform:translate3d(0, 10px, 0);transform:translate3d(0, 10px, 0)}90%{-webkit-transform:translate3d(0, -5px, 0);transform:translate3d(0, -5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes bounceInUpShort{from,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);animation-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}60%{opacity:1;-webkit-transform:translate3d(0, -20px, 0);transform:translate3d(0, -20px, 0)}75%{-webkit-transform:translate3d(0, 10px, 0);transform:translate3d(0, 10px, 0)}90%{-webkit-transform:translate3d(0, -5px, 0);transform:translate3d(0, -5px, 0)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.bounceInUpShort{-webkit-animation-name:bounceInUpShort;animation-name:bounceInUpShort}@-webkit-keyframes fadeInDownShort{from{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInDownShort{from{opacity:0;-webkit-transform:translate3d(0, -100px, 0);transform:translate3d(0, -100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInDownShort{-webkit-animation-name:fadeInDownShort;animation-name:fadeInDownShort}@-webkit-keyframes fadeInLeftShort{from{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInLeftShort{from{opacity:0;-webkit-transform:translate3d(-100px, 0, 0);transform:translate3d(-100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInLeftShort{-webkit-animation-name:fadeInLeftShort;animation-name:fadeInLeftShort}@-webkit-keyframes fadeInRightShort{from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInRightShort{from{opacity:0;-webkit-transform:translate3d(100px, 0, 0);transform:translate3d(100px, 0, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInRightShort{-webkit-animation-name:fadeInRightShort;animation-name:fadeInRightShort}@-webkit-keyframes fadeInUpShort{from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes fadeInUpShort{from{opacity:0;-webkit-transform:translate3d(0, 100px, 0);transform:translate3d(0, 100px, 0)}to{opacity:1;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.fadeInUpShort{-webkit-animation-name:fadeInUpShort;animation-name:fadeInUpShort}@-webkit-keyframes lightSpeedInShort{from{-webkit-transform:translate3d(400px, 0, 0) skewX(-30deg);transform:translate3d(400px, 0, 0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}@keyframes lightSpeedInShort{from{-webkit-transform:translate3d(400px, 0, 0) skewX(-30deg);transform:translate3d(400px, 0, 0) skewX(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skewX(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skewX(-5deg)}to{-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}}.lightSpeedInShort{-webkit-animation-name:lightSpeedInShort;animation-name:lightSpeedInShort;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes getwidPulseAnimation{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@keyframes getwidPulseAnimation{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}100%{-webkit-transform:scale(1.5);transform:scale(1.5);opacity:0}}@-webkit-keyframes getwidTimelinePointBounce{0%{opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}60%{opacity:1;-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes getwidTimelinePointBounce{0%{opacity:0;-webkit-transform:scale(0.5);transform:scale(0.5)}60%{opacity:1;-webkit-transform:scale(1.2);transform:scale(1.2)}100%{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes getwidFadeIn{from{opacity:0}to{opacity:1}}@keyframes getwidFadeIn{from{opacity:0}to{opacity:1}}.wp-block-getwid-post-carousel.is-carousel .slick-list,.wp-block-getwid-images-slider.is-carousel .slick-list{margin:0 -5px}.wp-block-getwid-post-carousel.is-carousel .slick-slide,.wp-block-getwid-images-slider.is-carousel .slick-slide{margin:0 5px}.wp-block-getwid-post-carousel.has-slides-gap-none .slick-list,.wp-block-getwid-images-slider.has-slides-gap-none .slick-list{margin:0}.wp-block-getwid-post-carousel.has-slides-gap-none .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-none .slick-slide{margin:0}.wp-block-getwid-post-carousel.has-slides-gap-small .slick-list,.wp-block-getwid-images-slider.has-slides-gap-small .slick-list{margin:0 -5px}.wp-block-getwid-post-carousel.has-slides-gap-small .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-small .slick-slide{margin:0 5px}.wp-block-getwid-post-carousel.has-slides-gap-normal .slick-list,.wp-block-getwid-images-slider.has-slides-gap-normal .slick-list{margin:0 -10px}.wp-block-getwid-post-carousel.has-slides-gap-normal .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-normal .slick-slide{margin:0 10px}.wp-block-getwid-post-carousel.has-slides-gap-large .slick-list,.wp-block-getwid-images-slider.has-slides-gap-large .slick-list{margin:0 -20px}.wp-block-getwid-post-carousel.has-slides-gap-large .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-large .slick-slide{margin:0 20px}.wp-block-getwid-post-carousel.has-slides-gap-huge .slick-list,.wp-block-getwid-images-slider.has-slides-gap-huge .slick-list{margin:0 -30px}.wp-block-getwid-post-carousel.has-slides-gap-huge .slick-slide,.wp-block-getwid-images-slider.has-slides-gap-huge .slick-slide{margin:0 30px}.wp-block-getwid-content-slider .slick-prev,.wp-block-getwid-content-slider .slick-next,.wp-block-getwid-images-slider .slick-prev,.wp-block-getwid-images-slider .slick-next,.wp-block-getwid-media-text-slider .slick-prev,.wp-block-getwid-media-text-slider .slick-next,.wp-block-getwid-post-slider .slick-prev,.wp-block-getwid-post-slider .slick-next,.wp-block-getwid-post-carousel .slick-prev,.wp-block-getwid-post-carousel .slick-next{z-index:1;background-color:transparent}.wp-block-getwid-content-slider .slick-prev:before,.wp-block-getwid-content-slider .slick-next:before,.wp-block-getwid-images-slider .slick-prev:before,.wp-block-getwid-images-slider .slick-next:before,.wp-block-getwid-media-text-slider .slick-prev:before,.wp-block-getwid-media-text-slider .slick-next:before,.wp-block-getwid-post-slider .slick-prev:before,.wp-block-getwid-post-slider .slick-next:before,.wp-block-getwid-post-carousel .slick-prev:before,.wp-block-getwid-post-carousel .slick-next:before{color:#000}.wp-block-getwid-content-slider .slick-prev:hover,.wp-block-getwid-content-slider .slick-prev:focus,.wp-block-getwid-content-slider .slick-next:hover,.wp-block-getwid-content-slider .slick-next:focus,.wp-block-getwid-images-slider .slick-prev:hover,.wp-block-getwid-images-slider .slick-prev:focus,.wp-block-getwid-images-slider .slick-next:hover,.wp-block-getwid-images-slider .slick-next:focus,.wp-block-getwid-media-text-slider .slick-prev:hover,.wp-block-getwid-media-text-slider .slick-prev:focus,.wp-block-getwid-media-text-slider .slick-next:hover,.wp-block-getwid-media-text-slider .slick-next:focus,.wp-block-getwid-post-slider .slick-prev:hover,.wp-block-getwid-post-slider .slick-prev:focus,.wp-block-getwid-post-slider .slick-next:hover,.wp-block-getwid-post-slider .slick-next:focus,.wp-block-getwid-post-carousel .slick-prev:hover,.wp-block-getwid-post-carousel .slick-prev:focus,.wp-block-getwid-post-carousel .slick-next:hover,.wp-block-getwid-post-carousel .slick-next:focus{text-decoration:none}.wp-block-getwid-content-slider .slick-dotted.slick-slider,.wp-block-getwid-images-slider .slick-dotted.slick-slider,.wp-block-getwid-media-text-slider .slick-dotted.slick-slider,.wp-block-getwid-post-slider .slick-dotted.slick-slider,.wp-block-getwid-post-carousel .slick-dotted.slick-slider{margin-bottom:0;padding-bottom:30px}.wp-block-getwid-content-slider .slick-dots,.wp-block-getwid-images-slider .slick-dots,.wp-block-getwid-media-text-slider .slick-dots,.wp-block-getwid-post-slider .slick-dots,.wp-block-getwid-post-carousel .slick-dots{margin:0 auto;max-width:100%;width:100%;bottom:0}.wp-block-getwid-content-slider .slick-dots li,.wp-block-getwid-images-slider .slick-dots li,.wp-block-getwid-media-text-slider .slick-dots li,.wp-block-getwid-post-slider .slick-dots li,.wp-block-getwid-post-carousel .slick-dots li{margin:0 5px}.wp-block-getwid-content-slider.has-arrows-inside,.wp-block-getwid-images-slider.has-arrows-inside,.wp-block-getwid-media-text-slider.has-arrows-inside,.wp-block-getwid-post-slider.has-arrows-inside,.wp-block-getwid-post-carousel.has-arrows-inside{padding-left:0;padding-right:0}.wp-block-getwid-content-slider.has-arrows-inside .slick-prev,.wp-block-getwid-content-slider.has-arrows-inside .slick-next,.wp-block-getwid-images-slider.has-arrows-inside .slick-prev,.wp-block-getwid-images-slider.has-arrows-inside .slick-next,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-prev,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-slider.has-arrows-inside .slick-prev,.wp-block-getwid-post-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev,.wp-block-getwid-post-carousel.has-arrows-inside .slick-next{text-shadow:0px 0px 3px rgba(0,0,0,0.5)}.wp-block-getwid-content-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-content-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-images-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-images-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-post-slider.has-arrows-inside .slick-prev:before,.wp-block-getwid-post-slider.has-arrows-inside .slick-next:before,.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev:before,.wp-block-getwid-post-carousel.has-arrows-inside .slick-next:before{color:#fff}.wp-block-getwid-content-slider.has-arrows-inside .slick-prev,.wp-block-getwid-images-slider.has-arrows-inside .slick-prev,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-prev,.wp-block-getwid-post-slider.has-arrows-inside .slick-prev,.wp-block-getwid-post-carousel.has-arrows-inside .slick-prev{left:25px}.wp-block-getwid-content-slider.has-arrows-inside .slick-next,.wp-block-getwid-images-slider.has-arrows-inside .slick-next,.wp-block-getwid-media-text-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-slider.has-arrows-inside .slick-next,.wp-block-getwid-post-carousel.has-arrows-inside .slick-next{right:25px}.wp-block-getwid-content-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-images-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-post-slider.has-dots-inside .slick-dotted.slick-slider,.wp-block-getwid-post-carousel.has-dots-inside .slick-dotted.slick-slider{margin-bottom:0;padding-bottom:0}.wp-block-getwid-content-slider.has-dots-inside .slick-dots,.wp-block-getwid-images-slider.has-dots-inside .slick-dots,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots,.wp-block-getwid-post-slider.has-dots-inside .slick-dots,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots{bottom:20px}.wp-block-getwid-content-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-images-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-post-slider.has-dots-inside .slick-dots li .slick-active,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots li .slick-active{color:#fff}.wp-block-getwid-content-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-images-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-post-slider.has-dots-inside .slick-dots li button,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots li button{text-shadow:0px 0px 3px rgba(0,0,0,0.5)}.wp-block-getwid-content-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-images-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-media-text-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-post-slider.has-dots-inside .slick-dots li button:before,.wp-block-getwid-post-carousel.has-dots-inside .slick-dots li button:before{color:#fff}.wp-block-getwid-content-slider.alignfull .slick-list,.wp-block-getwid-images-slider.alignfull .slick-list,.wp-block-getwid-media-text-slider.alignfull .slick-list,.wp-block-getwid-post-slider.alignfull .slick-list,.wp-block-getwid-post-carousel.alignfull .slick-list{margin:0}.wp-block-getwid-content-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-content-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-images-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-images-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-media-text-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-media-text-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-post-slider.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-post-slider.alignfull.has-arrows-outside .slick-prev,.wp-block-getwid-post-carousel.alignfull.has-arrows-ouside .slick-prev,.wp-block-getwid-post-carousel.alignfull.has-arrows-outside .slick-prev{left:25px}.wp-block-getwid-content-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-content-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-images-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-images-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-media-text-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-media-text-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-post-slider.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-post-slider.alignfull.has-arrows-outside .slick-next,.wp-block-getwid-post-carousel.alignfull.has-arrows-ouside .slick-next,.wp-block-getwid-post-carousel.alignfull.has-arrows-outside .slick-next{right:25px}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-50 .wp-block-getwid-advanced-heading__content,.fs-tablet-50 .wp-block-getwid-countdown__content{font-size:50%}}@media screen and (max-width: 767px){.fs-mobile-50 .wp-block-getwid-advanced-heading__content,.fs-mobile-50 .wp-block-getwid-countdown__content{font-size:50%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-60 .wp-block-getwid-advanced-heading__content,.fs-tablet-60 .wp-block-getwid-countdown__content{font-size:60%}}@media screen and (max-width: 767px){.fs-mobile-60 .wp-block-getwid-advanced-heading__content,.fs-mobile-60 .wp-block-getwid-countdown__content{font-size:60%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-70 .wp-block-getwid-advanced-heading__content,.fs-tablet-70 .wp-block-getwid-countdown__content{font-size:70%}}@media screen and (max-width: 767px){.fs-mobile-70 .wp-block-getwid-advanced-heading__content,.fs-mobile-70 .wp-block-getwid-countdown__content{font-size:70%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-80 .wp-block-getwid-advanced-heading__content,.fs-tablet-80 .wp-block-getwid-countdown__content{font-size:80%}}@media screen and (max-width: 767px){.fs-mobile-80 .wp-block-getwid-advanced-heading__content,.fs-mobile-80 .wp-block-getwid-countdown__content{font-size:80%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-90 .wp-block-getwid-advanced-heading__content,.fs-tablet-90 .wp-block-getwid-countdown__content{font-size:90%}}@media screen and (max-width: 767px){.fs-mobile-90 .wp-block-getwid-advanced-heading__content,.fs-mobile-90 .wp-block-getwid-countdown__content{font-size:90%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-100 .wp-block-getwid-advanced-heading__content,.fs-tablet-100 .wp-block-getwid-countdown__content{font-size:100%}}@media screen and (max-width: 767px){.fs-mobile-100 .wp-block-getwid-advanced-heading__content,.fs-mobile-100 .wp-block-getwid-countdown__content{font-size:100%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-110 .wp-block-getwid-advanced-heading__content,.fs-tablet-110 .wp-block-getwid-countdown__content{font-size:110%}}@media screen and (max-width: 767px){.fs-mobile-110 .wp-block-getwid-advanced-heading__content,.fs-mobile-110 .wp-block-getwid-countdown__content{font-size:110%}}@media screen and (min-width: 768px) and (max-width: 991px){.fs-tablet-120 .wp-block-getwid-advanced-heading__content,.fs-tablet-120 .wp-block-getwid-countdown__content{font-size:120%}}@media screen and (max-width: 767px){.fs-mobile-120 .wp-block-getwid-advanced-heading__content,.fs-mobile-120 .wp-block-getwid-countdown__content{font-size:120%}}[data-animation] .wp-block-getwid-image-box__image-wrapper,[data-animation].wp-block-getwid-icon__wrapper,[data-animation] .wp-block-getwid-icon-box__icon-wrapper{-webkit-transition:.3s ease;transition:.3s ease;-webkit-transform:none;transform:none}[data-animation="slideTop"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideTop"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideTop"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateY(-10px);transform:translateY(-10px)}[data-animation="slideBottom"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideBottom"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideBottom"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateY(10px);transform:translateY(10px)}[data-animation="slideLeft"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideLeft"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideLeft"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateX(-10px);transform:translateX(-10px)}[data-animation="slideRight"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="slideRight"]:hover.wp-block-getwid-icon__wrapper,[data-animation="slideRight"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:translateX(10px);transform:translateX(10px)}[data-animation="zoomSmall"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="zoomSmall"]:hover.wp-block-getwid-icon__wrapper,[data-animation="zoomSmall"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:scale(1.05);transform:scale(1.05)}[data-animation="zoomBig"]:hover .wp-block-getwid-image-box__image-wrapper,[data-animation="zoomBig"]:hover.wp-block-getwid-icon__wrapper,[data-animation="zoomBig"]:hover .wp-block-getwid-icon-box__icon-wrapper{-webkit-transform:scale(1.2);transform:scale(1.2)}.getwid-columns{margin-left:-30px;margin-right:-30px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.getwid-columns.getwid-columns-1>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-1>*{width:100%}}.getwid-columns.getwid-columns-2>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-2>*{width:50%}}.getwid-columns.getwid-columns-3>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-3>*{width:33.33333%}}.getwid-columns.getwid-columns-4>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-4>*{width:25%}}.getwid-columns.getwid-columns-5>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-5>*{width:20%}}.getwid-columns.getwid-columns-6>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-6>*{width:16.66667%}}.getwid-columns.getwid-columns-7>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-7>*{width:14.28571%}}.getwid-columns.getwid-columns-8>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-8>*{width:12.5%}}.getwid-columns.getwid-columns-9>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-9>*{width:11.11111%}}.getwid-columns.getwid-columns-10>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-10>*{width:10%}}.getwid-columns.getwid-columns-11>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-11>*{width:9.09091%}}.getwid-columns.getwid-columns-12>*{padding-left:30px;padding-right:30px;margin-right:0;margin-left:0;width:100%}@media screen and (min-width: 992px){.getwid-columns.getwid-columns-12>*{width:8.33333%}}@media screen and (min-width: 992px){.getwid-hide-desktop{display:none}}@media screen and (min-width: 768px) and (max-width: 991px){.getwid-hide-tablet{display:none}}@media screen and (max-width: 767px){.getwid-hide-mobile{display:none}}.getwid-padding-top-small{padding-top:10px}.getwid-padding-top-medium{padding-top:25px}.getwid-padding-top-normal{padding-top:40px}.getwid-padding-top-large{padding-top:60px}.getwid-padding-top-none{padding-top:0 !important}.getwid-padding-bottom-small{padding-bottom:10px}.getwid-padding-bottom-medium{padding-bottom:25px}.getwid-padding-bottom-normal{padding-bottom:40px}.getwid-padding-bottom-large{padding-bottom:60px}.getwid-padding-bottom-none{padding-bottom:0 !important}.getwid-padding-left-small{padding-left:10px}.getwid-padding-left-medium{padding-left:25px}.getwid-padding-left-normal{padding-left:40px}.getwid-padding-left-large{padding-left:60px}.getwid-padding-left-none{padding-left:0 !important}.getwid-padding-right-small{padding-right:10px}.getwid-padding-right-medium{padding-right:25px}.getwid-padding-right-normal{padding-right:40px}.getwid-padding-right-large{padding-right:60px}.getwid-padding-right-none{padding-right:0 !important}@media screen and (max-width: 991px){.getwid-padding-tablet-top-small{padding-top:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-medium{padding-top:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-normal{padding-top:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-large{padding-top:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-top-none{padding-top:0 !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-small{padding-bottom:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-medium{padding-bottom:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-normal{padding-bottom:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-large{padding-bottom:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-bottom-none{padding-bottom:0 !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-small{padding-left:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-medium{padding-left:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-normal{padding-left:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-large{padding-left:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-left-none{padding-left:0 !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-small{padding-right:10px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-medium{padding-right:25px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-normal{padding-right:40px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-large{padding-right:60px !important}}@media screen and (max-width: 991px){.getwid-padding-tablet-right-none{padding-right:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-small{padding-top:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-medium{padding-top:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-normal{padding-top:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-large{padding-top:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-top-none{padding-top:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-small{padding-bottom:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-medium{padding-bottom:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-normal{padding-bottom:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-large{padding-bottom:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-bottom-none{padding-bottom:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-small{padding-left:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-medium{padding-left:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-normal{padding-left:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-large{padding-left:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-left-none{padding-left:0 !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-small{padding-right:10px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-medium{padding-right:25px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-normal{padding-right:40px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-large{padding-right:60px !important}}@media screen and (max-width: 767px){.getwid-padding-mobile-right-none{padding-right:0 !important}}.getwid-margin-top-small{margin-top:10px !important}.getwid-margin-top-medium{margin-top:25px !important}.getwid-margin-top-normal{margin-top:40px !important}.getwid-margin-top-large{margin-top:60px !important}.getwid-margin-top-none{margin-top:0 !important}.getwid-margin-bottom-small{margin-bottom:10px !important}.getwid-margin-bottom-medium{margin-bottom:25px !important}.getwid-margin-bottom-normal{margin-bottom:40px !important}.getwid-margin-bottom-large{margin-bottom:60px !important}.getwid-margin-bottom-none{margin-bottom:0 !important}.getwid-margin-left-small{margin-left:10px}.getwid-margin-left-medium{margin-left:25px}.getwid-margin-left-normal{margin-left:40px}.getwid-margin-left-large{margin-left:60px}.getwid-margin-left-none{margin-left:0 !important}.getwid-margin-right-small{margin-right:10px}.getwid-margin-right-medium{margin-right:25px}.getwid-margin-right-normal{margin-right:40px}.getwid-margin-right-large{margin-right:60px}.getwid-margin-right-none{margin-right:0 !important}@media screen and (max-width: 991px){.getwid-margin-tablet-top-small{margin-top:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-medium{margin-top:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-normal{margin-top:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-large{margin-top:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-top-none{margin-top:0 !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-small{margin-bottom:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-medium{margin-bottom:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-normal{margin-bottom:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-large{margin-bottom:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-bottom-none{margin-bottom:0 !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-small{margin-left:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-medium{margin-left:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-normal{margin-left:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-large{margin-left:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-left-none{margin-left:0 !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-small{margin-right:10px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-medium{margin-right:25px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-normal{margin-right:40px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-large{margin-right:60px !important}}@media screen and (max-width: 991px){.getwid-margin-tablet-right-none{margin-right:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-small{margin-top:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-medium{margin-top:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-normal{margin-top:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-large{margin-top:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-top-none{margin-top:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-small{margin-bottom:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-medium{margin-bottom:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-normal{margin-bottom:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-large{margin-bottom:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-bottom-none{margin-bottom:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-small{margin-left:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-medium{margin-left:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-normal{margin-left:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-large{margin-left:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-left-none{margin-left:0 !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-small{margin-right:10px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-medium{margin-right:25px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-normal{margin-right:40px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-large{margin-right:60px !important}}@media screen and (max-width: 767px){.getwid-margin-mobile-right-none{margin-right:0 !important}}@media screen and (min-width: 768px) and (max-width: 991px){.getwid-reset-min-height-tablet{min-height:auto !important}}@media screen and (max-width: 767px){.getwid-reset-min-height-mobile{min-height:auto !important}}@media screen and (min-width: 768px) and (max-width: 991px){.getwid-reset-height-tablet{height:auto !important}}@media screen and (max-width: 767px){.getwid-reset-height-mobile{height:auto !important}}.getwid-align-items-flex-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.getwid-align-items-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.getwid-align-items-flex-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}@media screen and (max-width: 991px){.getwid-align-items-tablet-flex-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 991px){.getwid-align-items-tablet-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 991px){.getwid-align-items-tablet-flex-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}}@media screen and (max-width: 767px){.getwid-align-items-mobile-flex-start{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}}@media screen and (max-width: 767px){.getwid-align-items-mobile-center{-webkit-box-align:center;-ms-flex-align:center;align-items:center}}@media screen and (max-width: 767px){.getwid-align-items-mobile-flex-end{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}}.getwid-justify-content-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.getwid-justify-content-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.getwid-justify-content-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}@media screen and (max-width: 991px){.getwid-justify-content-tablet-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width: 991px){.getwid-justify-content-tablet-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media screen and (max-width: 991px){.getwid-justify-content-tablet-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}@media screen and (max-width: 767px){.getwid-justify-content-mobile-flex-start{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}}@media screen and (max-width: 767px){.getwid-justify-content-mobile-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}@media screen and (max-width: 767px){.getwid-justify-content-mobile-flex-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}}.getwid-icon{font-style:normal}.getwid-icon-like{font-family:'Font Awesome 5 Free';font-weight:900}.getwid-icon-like:before{content:'\f004'}.getwid-icon-comment{font-family:'Font Awesome 5 Free';font-weight:900}.getwid-icon-comment:before{content:'\f075'}.getwid-opacity-0{opacity:0}.getwid-opacity-5{opacity:.05}.getwid-opacity-10{opacity:.1}.getwid-opacity-15{opacity:.15}.getwid-opacity-20{opacity:.2}.getwid-opacity-25{opacity:.25}.getwid-opacity-30{opacity:.3}.getwid-opacity-35{opacity:.35}.getwid-opacity-40{opacity:.4}.getwid-opacity-45{opacity:.45}.getwid-opacity-50{opacity:.5}.getwid-opacity-55{opacity:.55}.getwid-opacity-60{opacity:.6}.getwid-opacity-65{opacity:.65}.getwid-opacity-70{opacity:.7}.getwid-opacity-75{opacity:.75}.getwid-opacity-80{opacity:.8}.getwid-opacity-85{opacity:.85}.getwid-opacity-90{opacity:.9}.getwid-opacity-95{opacity:.95}.getwid-opacity-100{opacity:1}
assets/js/editor.blocks.js CHANGED
@@ -1,9 +1,9 @@
1
- window.wp=window.wp||{},window.wp["./assets/js/editor.blocks"]=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=87)}([function(e,t,n){"use strict";var r=n(35);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.d});n(92),n(93),n(94),n(41)},function(e,t){!function(){e.exports=window.wp.i18n}()},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t,n){function r(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&&o(e,t)}var o=n(99);e.exports=r},function(e,t,n){function r(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?i(e):t}var o=n(13),i=n(11);e.exports=r},function(e,t){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}e.exports=n},function(e,t,n){var r,o;/*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
4
  http://jedwatson.github.io/classnames
5
  */
6
- !function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=n.apply(null,r);a&&e.push(a)}else if("object"===o)for(var l in r)i.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){!function(){e.exports=window.lodash}()},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t,n){"use strict";function r(e){var t=/(?:https?:\/\/)?(?:www\.)?(?:youtube(?:-nocookie)?\.com\/\S*(?:(?:\/e(?:mbed))?\/v?|(?:watch\?)?(?:\S*?&?vi?\=))|youtu\.be\/)([a-zA-Z0-9_-]{6,11})/;return!!e.match(t)&&RegExp.$1}function o(e,t){return{edit:Getwid.disabled_blocks.includes(e)?function(){var t=Object(p.sprintf)(Object(p.__)('%1$s block is disabled in plugin settings. <a href="%2$s">Manage Blocks</a>',"getwid"),e,Getwid.options_url.blocks);return wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:t}})}:t}}function i(e,t){var n=document.createElement("script");n.type="text/javascript",n.src=e;var r=!1;document.getElementsByTagName("head")[0].appendChild(n),n.onload=n.onreadystatechange=function(){r||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(r=!0,n.onload=n.onreadystatechange=null,t(n))}}function a(e){return e.offset().top-m(window).scrollTop()-m(window).height()<0}function l(e,t,n){var r=this;m(e).on("scroll",{element:t},function(e){a(e.data.element)&&(n(),m(r).off(e))})}function c(){var e;return e=m(".edit-post-layout__content"),e.length?e[0].className:(e=m(".block-editor-editor-skeleton__content"),e.length?e[0].className:(e=m(".interface-interface-skeleton__content"),!!e.length&&e[0].className))}function s(e,t,n){var r=document.createElement("iframe");r.style.pointerEvents="none",r.style.position="absolute",r.style.display="block",r.style.height="100%",r.style.width="100%",r.style.top="0",r.style.bottom="0",r.style.left="0",r.style.backgroundColor="transparent",r.className="".concat(t,"__resize-observer"),m(r).load(function(){m(r.contentWindow).resize(function(){n()})}),e.append(r)}function u(e){var t=function(e){return null!==e&&void 0!==e&&""!==e&&(e=e.toString(),e.replace(/<[^>]*>/g,""))};return e.map(function(e,n){return t(e.content)})}t.f=r,t.b=o,t.a=i,t.g=a,t.h=l,t.e=c,t.c=s,t.d=u;var p=(n(0),n(1)),d=(n.n(p),window),m=d.jQuery},function(e,t){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 r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t,n){"use strict";n.d(t,"g",function(){return N}),n.d(t,"d",function(){return M}),n.d(t,"b",function(){return L}),n.d(t,"i",function(){return V}),n.d(t,"c",function(){return H}),n.d(t,"f",function(){return G}),n.d(t,"e",function(){return W}),n.d(t,"h",function(){return U}),n.d(t,"a",function(){return q});var r=(n(0),n(1)),o=(n.n(r),n(8)),i=n.n(o),a=n(10),l=(n.n(a),n(17)),c=n(16),s=n(45),u=n(18),p=n(121),d=(n.n(p),window),m=d.jQuery,g=wp.blockEditor||wp.editor,f=g.MediaPlaceholder,b=g.MediaUpload,w=wp.element.Fragment,h=wp.components,v=h.SelectControl,y=h.TabPanel,_=h.BaseControl,O=h.TextControl,k=h.ToggleControl,E=h.Button,C=h.IconButton,j=h.RangeControl,S=h.TextareaControl,x=h.RadioControl,P=h.CheckboxControl,T=h.ButtonGroup,R=["image"],N=function(e){var t=e.props.attributes,n=t.paddingTop,o=t.paddingRight,i=t.paddingBottom,a=t.paddingLeft,l=e.props.attributes,c=l.paddingTopValue,u=l.paddingRightValue,p=l.paddingBottomValue,d=l.paddingLeftValue,m=function(){(0,e.props.setAttributes)({paddingTopValue:void 0,paddingBottomValue:void 0,paddingLeftValue:void 0,paddingRightValue:void 0,paddingTop:"",paddingBottom:"",paddingLeft:"",paddingRight:"",paddingTopTablet:"",paddingBottomTablet:"",paddingLeftTablet:"",paddingRightTablet:"",paddingTopMobile:"",paddingBottomMobile:"",paddingLeftMobile:"",paddingRightMobile:""})};return wp.element.createElement(s.a,{title:Object(r.__)("Padding","getwid"),initialOpen:!1,hints:[{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,4 1,4 1,15 15,15 15,4 16,4 16,16 0,16 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,5.35 8.71,9 12.35,12.65 11.65,13.35 8,9.71 4.35,13.35 3.65,12.65 7.29,9 3.65,5.35 4.35,4.65 8,8.29 11.65,4.65 "})),value:n?"custom"!=n?n:c:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{x:"13",width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12,0 12,1 1,1 1,15 12,15 12,16 0,16 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"10.65,12.35 7,8.71 3.35,12.35 2.65,11.65 6.29,8 2.65,4.35 3.35,3.65 7,7.29 10.65,3.65 11.35,4.35 7.71,8 11.35,11.65 "})),value:o?"custom"!=o?o:u:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{y:"13",width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,12 1,12 1,1 15,1 15,12 16,12 16,0 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,10.65 8.71,7 12.35,3.35 11.65,2.65 8,6.29 4.35,2.65 3.65,3.35 7.29,7 3.65,10.65 4.35,11.35 8,7.71 11.65,11.35 "})),value:i?"custom"!=i?i:p:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"4,0 4,1 15,1 15,15 4,15 4,16 16,16 16,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"5.35,12.35 9,8.71 12.65,12.35 13.35,11.65 9.71,8 13.35,4.35 12.65,3.65 9,7.29 5.35,3.65 4.65,4.35 8.29,8 4.65,11.65 "})),value:a?"custom"!=a?a:d:""}]},wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return B(e,t)}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,onClick:m,disabled:!A(e)},Object(r.__)("Reset All","getwid"))))},A=function(e){var t=e.props.attributes,n=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,a=e.props.attributes,l=a.paddingTopValue,c=a.paddingRightValue,s=a.paddingBottomValue,u=a.paddingLeftValue,p=e.props.attributes,d=p.paddingTopTablet,m=p.paddingRightTablet,g=p.paddingBottomTablet,f=p.paddingLeftTablet,b=e.props.attributes,w=b.paddingTopMobile,h=b.paddingRightMobile,v=b.paddingBottomMobile,y=b.paddingLeftMobile;return void 0!==l||void 0!==s||void 0!==c||void 0!==u||""!==n||""!==r||""!==o||""!==i||""!==d||""!==m||""!==g||""!==f||""!==w||""!==h||""!==v||""!==y},B=function(e,t){var n=e.props.setAttributes,o=e.props.attributes,i=o.paddingTop,a=o.paddingRight,c=o.paddingBottom,s=o.paddingLeft,u=e.props.attributes,p=u.paddingTopValue,d=u.paddingRightValue,m=u.paddingBottomValue,g=u.paddingLeftValue,f=e.props.attributes,b=f.paddingTopTablet,h=f.paddingRightTablet,y=f.paddingBottomTablet,_=f.paddingLeftTablet,O=e.props.attributes,k=O.paddingTopMobile,E=O.paddingRightMobile,j=O.paddingBottomMobile,S=O.paddingLeftMobile,x=e.props,P=x.changeState,T=x.isLockedPaddingsOnDesktop,R=x.isLockedPaddingsOnTablet,N=x.isLockedPaddingsOnMobile;switch(t.name){case"desktop":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Padding Top","getwid"),value:void 0!==i?i:"",onChange:function(e){T?function(){n({paddingBottom:e,paddingRight:e,paddingLeft:e,paddingTop:e})}():n({paddingTop:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:T?"lock":"unlock",onClick:function(){T?P("isLockedPaddingsOnDesktop",!1):function(){P("isLockedPaddingsOnDesktop",!0);"custom"==i?function(){n({paddingBottom:i,paddingRight:i,paddingLeft:i,paddingBottomValue:p,paddingRightValue:p,paddingLeftValue:p})}():function(){n({paddingBottom:i,paddingLeft:i,paddingRight:i})}()}()},label:T?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),"custom"===i&&wp.element.createElement(l.a,{value:p,onChange:function(e){T?function(){n({paddingBottomValue:e,paddingRightValue:e,paddingLeftValue:e,paddingTopValue:e})}():n({paddingTopValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Padding Bottom","getwid"),disabled:!!T||null,value:void 0!==c?c:"",onChange:function(e){return n({paddingBottom:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===c&&wp.element.createElement(l.a,{value:m,isLocked:T,onChange:function(e){return n({paddingBottomValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Padding Left","getwid"),disabled:!!T||null,value:void 0!==s?s:"",onChange:function(e){return n({paddingLeft:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===s&&wp.element.createElement(l.a,{value:g,isLocked:T,onChange:function(e){return n({paddingLeftValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Padding Right","getwid"),disabled:!!T||null,value:void 0!==a?a:"",onChange:function(e){return n({paddingRight:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===a&&wp.element.createElement(l.a,{value:d,isLocked:T,onChange:function(e){return n({paddingRightValue:void 0!==e?e:""})}}));case"tablet":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Padding Top","getwid"),value:void 0!==b?b:"",onChange:function(e){R?function(){n({paddingBottomTablet:e,paddingRightTablet:e,paddingLeftTablet:e,paddingTopTablet:e})}():n({paddingTopTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:R?"lock":"unlock",onClick:function(){R?P("isLockedPaddingsOnTablet",!1):function(){P("isLockedPaddingsOnTablet",!0),n({paddingBottomTablet:b,paddingRightTablet:b,paddingLeftTablet:b})}()},label:R?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Padding Bottom","getwid"),disabled:!!R||null,value:void 0!==y?y:"",onChange:function(e){return n({paddingBottomTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Left","getwid"),disabled:!!R||null,value:void 0!==_?_:"",onChange:function(e){return n({paddingLeftTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Right","getwid"),disabled:!!R||null,value:void 0!==h?h:"",onChange:function(e){return n({paddingRightTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}));case"mobile":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Padding Top","getwid"),value:void 0!==k?k:"",onChange:function(e){N?function(){n({paddingBottomMobile:e,paddingLeftMobile:e,paddingRightMobile:e,paddingTopMobile:e})}():n({paddingTopMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:N?"lock":"unlock",onClick:function(){N?P("isLockedPaddingsOnMobile",!1):function(){P("isLockedPaddingsOnMobile",!0),n({paddingBottomMobile:k,paddingLeftMobile:k,paddingRightMobile:k})}()},label:N?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Padding Bottom","getwid"),disabled:!!N||null,value:void 0!==j?j:"",onChange:function(e){return n({paddingBottomMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Left","getwid"),disabled:!!N||null,value:void 0!==S?S:"",onChange:function(e){return n({paddingLeftMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Right","getwid"),disabled:!!N||null,value:void 0!==E?E:"",onChange:function(e){return n({paddingRightMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}))}},M=function(e){var t=e.props.attributes,n=t.marginTop,o=t.marginRight,i=t.marginBottom,a=t.marginLeft,l=e.props.attributes,c=l.marginTopValue,u=l.marginRightValue,p=l.marginBottomValue,d=l.marginLeftValue,m=function(){(0,e.props.setAttributes)({marginTopValue:void 0,marginBottomValue:void 0,marginLeftValue:void 0,marginRightValue:void 0,marginTop:"",marginBottom:"",marginLeft:"",marginRight:"",marginTopTablet:"",marginBottomTablet:"",marginLeftTablet:"",marginRightTablet:"",marginTopMobile:"",marginBottomMobile:"",marginLeftMobile:"",marginRightMobile:""})};return wp.element.createElement(s.a,{title:Object(r.__)("Margin","getwid"),initialOpen:!1,hints:[{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,4 1,4 1,15 15,15 15,4 16,4 16,16 0,16 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,5.35 8.71,9 12.35,12.65 11.65,13.35 8,9.71 4.35,13.35 3.65,12.65 7.29,9 3.65,5.35 4.35,4.65 8,8.29 11.65,4.65 "})),value:n?"custom"!=n?n:c:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{x:"13",width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12,0 12,1 1,1 1,15 12,15 12,16 0,16 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"10.65,12.35 7,8.71 3.35,12.35 2.65,11.65 6.29,8 2.65,4.35 3.35,3.65 7,7.29 10.65,3.65 11.35,4.35 7.71,8 11.35,11.65 "})),value:o?"custom"!=o?o:u:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{y:"13",width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,12 1,12 1,1 15,1 15,12 16,12 16,0 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,10.65 8.71,7 12.35,3.35 11.65,2.65 8,6.29 4.35,2.65 3.65,3.35 7.29,7 3.65,10.65 4.35,11.35 8,7.71 11.65,11.35 "})),value:i?"custom"!=i?i:p:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"4,0 4,1 15,1 15,15 4,15 4,16 16,16 16,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"5.35,12.35 9,8.71 12.65,12.35 13.35,11.65 9.71,8 13.35,4.35 12.65,3.65 9,7.29 5.35,3.65 4.65,4.35 8.29,8 4.65,11.65 "})),value:a?"custom"!=a?a:d:""}]},wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return I(e,t)}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,onClick:m,disabled:!D(e)},Object(r.__)("Reset All","getwid"))))},D=function(e){var t=e.props.attributes,n=t.marginTop,r=t.marginRight,o=t.marginBottom,i=t.marginLeft,a=e.props.attributes,l=a.marginTopValue,c=a.marginRightValue,s=a.marginBottomValue,u=a.marginLeftValue,p=e.props.attributes,d=p.marginTopTablet,m=p.marginRightTablet,g=p.marginBottomTablet,f=p.marginLeftTablet,b=e.props.attributes,w=b.marginTopMobile,h=b.marginRightMobile,v=b.marginBottomMobile,y=b.marginLeftMobile;return void 0!==l||void 0!==s||void 0!==c||void 0!==u||""!==n||""!==r||""!==o||""!==i||""!==d||""!==m||""!==g||""!==f||""!==w||""!==h||""!==v||""!==y},I=function(e,t){var n=e.props.setAttributes,o=e.props.attributes,i=o.marginTop,a=o.marginRight,c=o.marginBottom,s=o.marginLeft,u=e.props.attributes,p=u.marginTopValue,d=u.marginRightValue,m=u.marginBottomValue,g=u.marginLeftValue,f=e.props.attributes,b=f.marginTopTablet,h=f.marginRightTablet,y=f.marginBottomTablet,_=f.marginLeftTablet,O=e.props.attributes,k=O.marginTopMobile,E=O.marginRightMobile,j=O.marginBottomMobile,S=O.marginLeftMobile,x=e.props,P=x.changeState,T=x.isLockedMarginsOnDesktop,R=x.isLockedMarginsOnTablet,N=x.isLockedMarginsOnMobile;switch(t.name){case"desktop":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Margin Top","getwid"),value:void 0!==i?i:"",onChange:function(e){T?function(){n({marginBottom:e,marginLeft:e,marginRight:e,marginTop:e,marginTopValue:p})}():n({marginTop:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:T?"lock":"unlock",onClick:function(){T?P("isLockedMarginsOnDesktop",!1):function(){P("isLockedMarginsOnDesktop",!0);"custom"==i?function(){n({marginBottom:i,marginRight:i,marginLeft:i,marginBottomValue:p,marginRightValue:p,marginLeftValue:p})}():function(){n({marginBottom:i,marginLeft:i,marginRight:i})}()}()},label:T?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),"custom"===i&&wp.element.createElement(l.a,{allowNegative:!0,value:p,onChange:function(e){T?function(){n({marginBottomValue:e,marginRightValue:e,marginLeftValue:e,marginTopValue:e})}():n({marginTopValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Margin Bottom","getwid"),disabled:!!T||null,value:void 0!==c?c:"",onChange:function(e){return n({marginBottom:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===c&&wp.element.createElement(l.a,{allowNegative:!0,value:m,isLocked:T,onChange:function(e){return n({marginBottomValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Margin Left","getwid"),disabled:!!T||null,value:void 0!==s?s:"",onChange:function(e){return n({marginLeft:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===s&&wp.element.createElement(l.a,{allowNegative:!0,value:g,isLocked:T,onChange:function(e){n({marginLeftValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Margin Right","getwid"),disabled:!!T||null,value:void 0!==a?a:"",onChange:function(e){return n({marginRight:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===a&&wp.element.createElement(l.a,{allowNegative:!0,value:d,isLocked:T,onChange:function(e){return n({marginRightValue:void 0!==e?e:""})}}));case"tablet":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Margin Top","getwid"),value:void 0!==b?b:"",onChange:function(e){R?function(){n({marginBottomTablet:e,marginRightTablet:e,marginLeftTablet:e,marginTopTablet:e})}():n({marginTopTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:R?"lock":"unlock",onClick:function(){R?P("isLockedMarginsOnTablet",!1):function(){P("isLockedMarginsOnTablet",!0),n({marginBottomTablet:b,marginRightTablet:b,marginLeftTablet:b})}()},label:R?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Margin Bottom","getwid"),disabled:!!R||null,value:void 0!==y?y:"",onChange:function(e){return n({marginBottomTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Left","getwid"),disabled:!!R||null,value:void 0!==_?_:"",onChange:function(e){return n({marginLeftTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Right","getwid"),disabled:!!R||null,value:void 0!==h?h:"",onChange:function(e){return n({marginRightTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}));case"mobile":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Margin Top","getwid"),value:void 0!==k?k:"",onChange:function(e){N?function(){n({marginBottomMobile:e,marginRightMobile:e,marginLeftMobile:e,marginTopMobile:e})}():n({marginTopMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:N?"lock":"unlock",onClick:function(){N?P("isLockedMarginsOnMobile",!1):function(){P("isLockedMarginsOnMobile",!0),n({marginBottomMobile:k,marginRightMobile:k,marginLeftMobile:k})}()},label:N?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Margin Bottom","getwid"),value:void 0!==j?j:"",disabled:!!N||null,onChange:function(e){return n({marginBottomMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Left","getwid"),value:void 0!==S?S:"",disabled:!!N||null,onChange:function(e){return n({marginLeftMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Right","getwid"),value:void 0!==E?E:"",disabled:!!N||null,onChange:function(e){return n({marginRightMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}))}},L=function(e){var t=e.props.attributes,n=t.fontSize,o=t.fontSizeTablet,i=t.fontSizeMobile,a=e.props.setAttributes;return wp.element.createElement(w,null,wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return z(e,t)}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,onClick:function(){return a({fontSizeTablet:"fs-tablet-100",fontSizeMobile:"fs-mobile-100",fontSize:void 0})},disabled:!("fs-tablet-100"!=o||"fs-mobile-100"!=i||void 0!=n)},Object(r.__)("Reset All","getwid"))))},z=function(e,t){var n=e.props.attributes,o=n.fontSize,i=n.fontSizeTablet,a=n.fontSizeMobile,c=e.props.setAttributes;switch(t.name){case"desktop":return wp.element.createElement(l.a,{label:Object(r.__)("Font Size","getwid"),value:o,onChange:function(e){return c({fontSize:e})}});case"tablet":return wp.element.createElement(v,{label:Object(r.__)("Font Size","getwid"),value:i,onChange:function(e){return c({fontSizeTablet:e})},options:[{value:"fs-tablet-50",label:Object(r.__)("50%","getwid")},{value:"fs-tablet-60",label:Object(r.__)("60%","getwid")},{value:"fs-tablet-70",label:Object(r.__)("70%","getwid")},{value:"fs-tablet-80",label:Object(r.__)("80%","getwid")},{value:"fs-tablet-90",label:Object(r.__)("90%","getwid")},{value:"fs-tablet-100",label:Object(r.__)("100%","getwid")},{value:"fs-tablet-110",label:Object(r.__)("110%","getwid")},{value:"fs-tablet-120",label:Object(r.__)("120%","getwid")}]});case"mobile":return wp.element.createElement(v,{label:Object(r.__)("Font Size","getwid"),value:a,onChange:function(e){return c({fontSizeMobile:e})},options:[{value:"fs-mobile-50",label:Object(r.__)("50%","getwid")},{value:"fs-mobile-60",label:Object(r.__)("60%","getwid")},{value:"fs-mobile-70",label:Object(r.__)("70%","getwid")},{value:"fs-mobile-80",label:Object(r.__)("80%","getwid")},{value:"fs-mobile-90",label:Object(r.__)("90%","getwid")},{value:"fs-mobile-100",label:Object(r.__)("100%","getwid")},{value:"fs-mobile-110",label:Object(r.__)("110%","getwid")},{value:"fs-mobile-120",label:Object(r.__)("120%","getwid")}]})}},V=function(e){var t=e.props.attributes.slideHeight,n=e.props.setAttributes;return wp.element.createElement(w,null,wp.element.createElement(_,null,wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),disabled:!0,className:"components-button is-link is-small"}]},function(t){return F(e,t)}),wp.element.createElement(E,{isLink:!0,onClick:function(){return n({slideHeight:""})},disabled:!(""!=t&&void 0!==t)},Object(r.__)("Reset All","getwid"))))},F=function(e,t){var n=e.props.attributes,o=n.slideHeight,i=n.resetHeightOnTablet,a=n.resetHeightOnMobile,c=e.props.setAttributes,s=function(e,t){var n=e.find("button[tabindex='-1']");m.each(n,function(e,n){m(n).attr("disabled",t)})},u=setInterval(function(){var e=m(".getwid-editor-tabs");e.length&&(o?s(e,!1):s(e,!0),clearInterval(u))},1);switch(t.name){case"desktop":return wp.element.createElement(l.a,{label:Object(r.__)("Slider Height","getwid"),value:o,units:[{label:"px",value:"px"},{label:"vh",value:"vh"}],onChange:function(e){var t=m(".getwid-editor-tabs");e?(s(t,!1),c({slideHeight:e})):(s(t,!0),c({slideHeight:e,resetHeightOnTablet:!1,resetHeightOnMobile:!1}))}});case"tablet":return wp.element.createElement(P,{label:"Reset height on tablet",checked:i,onChange:function(e){c({resetHeightOnTablet:e})}});case"mobile":return wp.element.createElement(P,{label:"Reset height on mobile",checked:a,onChange:function(e){c({resetHeightOnMobile:e})}})}},H=function(e){var t=e.props,n=t.setAttributes,o=t.isLockedMargins,i=t.changeState,a=e.props.attributes,c=a.marginTop,s=a.marginBottom,u=a.marginLeft,p=a.marginRight,d=function(){return n({marginBottom:void 0,marginRight:void 0,marginLeft:void 0,marginTop:void 0})};return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(l.a,{label:Object(r.__)("Margin Top","getwid"),value:c,onChange:function(e){o?function(){n({marginBottom:e,marginRight:e,marginLeft:e,marginTop:e})}():n({marginTop:e})},allowNegative:!0}),wp.element.createElement(C,{icon:o?"lock":"unlock",onClick:function(){o?i("isLockedMargins",!1):function(){i("isLockedMargins",!0),n({marginBottom:c,marginRight:c,marginLeft:c})}()},label:o?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(l.a,{label:Object(r.__)("Margin Bottom","getwid"),isLocked:!!o||null,value:s,onChange:function(e){n({marginBottom:e})},allowNegative:!0}),wp.element.createElement(l.a,{label:Object(r.__)("Margin Left","getwid"),isLocked:!!o||null,value:u,onChange:function(e){n({marginLeft:e})},allowNegative:!0}),wp.element.createElement(l.a,{label:Object(r.__)("Margin Right","getwid"),isLocked:!!o||null,value:p,onChange:function(e){n({marginRight:e})},allowNegative:!0}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,isDestructive:!0,onClick:d,isLocked:!function(){return void 0!==s||void 0!==p||void 0!==u||void 0!==c}()},Object(r.__)("Reset","getwid"))))},G=function(e){var t=e.props,n=t.setAttributes,o=t.isLockedPaddings,i=t.changeState,a=e.props.attributes,c=a.paddingTop,s=a.paddingBottom,u=a.paddingLeft,p=a.paddingRight,d=function(){return n({paddingTop:void 0,paddingBottom:void 0,paddingLeft:void 0,paddingRight:void 0})};return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(l.a,{label:Object(r.__)("Padding Top","getwid"),value:c,onChange:function(e){o?function(){n({paddingBottom:e,paddingRight:e,paddingLeft:e,paddingTop:e})}():n({paddingTop:e})},allowNegative:!0}),wp.element.createElement(C,{icon:o?"lock":"unlock",onClick:function(){o?i("isLockedPaddings",!1):function(){i("isLockedPaddings",!0),n({paddingBottom:c,paddingRight:c,paddingLeft:c})}()},label:o?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(l.a,{label:Object(r.__)("Padding Bottom","getwid"),isLocked:!!o||null,value:s,onChange:function(e){n({paddingBottom:e})}}),wp.element.createElement(l.a,{label:Object(r.__)("Padding Left","getwid"),isLocked:!!o||null,value:u,onChange:function(e){n({paddingLeft:e})}}),wp.element.createElement(l.a,{label:Object(r.__)("Padding Right","getwid"),isLocked:!!o||null,value:p,onChange:function(e){n({paddingRight:e})}}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,isDestructive:!0,onClick:d,disabled:!function(){return void 0!==c||void 0!==s||void 0!==p||void 0!==u}()},Object(r.__)("Reset","getwid"))))},W=function(e){var t=e.id,n=e.url,o=e.onSelectMedia,i=e.onRemoveMedia,a=void 0===i?null:i,l=e.removeButton,c=void 0===l||l,s=(e.video,e.label),u=void 0===s?Object(r.__)("Background Image","getwid"):s,p=c?"ButtonGroup":"Fragment";return wp.element.createElement(w,null,wp.element.createElement(_,{label:u},wp.element.createElement(w,null,!n&&wp.element.createElement(f,{icon:"format-image",labels:{title:Object(r.__)("Image","getwid"),instructions:Object(r.__)("Upload an image file, pick one from your media library, or add one with a URL.","getwid")},onSelect:o,accept:"image/*",allowedTypes:R}),n&&wp.element.createElement(b,{onSelect:o,allowedTypes:R,value:t,render:function(e){var o=e.open;return wp.element.createElement(_,null,!!n&&wp.element.createElement("div",{onClick:o,className:"getwid-background-image-wrapper"},wp.element.createElement("img",{src:n})),wp.element.createElement(p,null,wp.element.createElement(E,{isPrimary:!0,onClick:o},!t&&Object(r.__)("Select Image","getwid"),!!t&&Object(r.__)("Replace Image","getwid")),!!t&&c&&wp.element.createElement(E,{isDefault:!0,onClick:a},Object(r.__)("Remove Image","getwid"))))}}))))},U=function(e){var t=e.props.getState;if(!Object(a.isEqual)(t("currentPoint"),null)){var n=e.props.attributes.imagePoints,o=e.props,i=o.updateArrValues,l=o.changeState,s=n?JSON.parse(n):[],p=t("currentPoint");return wp.element.createElement(w,null,wp.element.createElement(O,{label:Object(r.__)("Title","getwid"),value:s[p].title,onChange:function(e){i({title:e},p),l("updatePoints",!0)}}),wp.element.createElement(O,{placeholder:Object(r.__)("Enter URL","getwid"),value:s[p].link,onChange:function(e){i({link:e},p)}}),wp.element.createElement(k,{label:Object(r.__)("Open in New Tab","getwid"),checked:s[p].newTab,onChange:function(e){i({newTab:e},p)}}),wp.element.createElement(S,{label:Object(r.__)("Popup Content. Plain Text or HTML.","getwid"),rows:"5",value:unescape(s[p].content),onChange:function(e){i({content:e},p),l("updatePoints",!0)}}),wp.element.createElement(k,{label:Object(r.__)("Opened by default","getwid"),checked:s[p].popUpOpen,onChange:function(e){i({popUpOpen:e},p)}}),wp.element.createElement(j,{label:Object(r.__)("X Coord (%)","getwid"),value:parseFloat(s[p].position.x),onChange:function(e){void 0===e&&(e=50),i({position:{x:parseFloat(e)+"%",y:s[p].position.y}},p),l("updatePoints",!0)},allowReset:!0,min:0,max:100,step:.5}),wp.element.createElement(j,{label:Object(r.__)("Y Coord (%)","getwid"),value:parseFloat(s[p].position.y),onChange:function(e){void 0===e&&(e=50),i({position:{x:s[p].position.x,y:parseFloat(e)+"%"}},p),l("updatePoints",!0)},allowReset:!0,min:0,max:100,step:.5}),wp.element.createElement(c.a,{colorSettings:[{title:Object(r.__)("Point Background","getwid"),colors:{customColor:s[p].backgroundColor},changeColor:function(e){i({backgroundColor:e},p),l({updatePoints:!0,highlightDot:!0})}},{title:Object(r.__)("Icon Color","getwid"),colors:{customColor:s[p].color},changeColor:function(e){i({color:e},p),l({updatePoints:!0,highlightDot:!0})}}]}),wp.element.createElement(x,{label:Object(r.__)("Tooltip Position","getwid"),selected:s[p].placement,options:[{value:"top",label:Object(r.__)("Top","getwid")},{value:"right",label:Object(r.__)("Right","getwid")},{value:"bottom",label:Object(r.__)("Bottom","getwid")},{value:"left",label:Object(r.__)("Left","getwid")}],onChange:function(e){i({placement:e},p),l({updatePoints:!0,highlightDot:!0})}}),wp.element.createElement(O,{label:Object(r.__)("Popup Maximum Width, px.","getwid"),value:s[p].popUpWidth,type:"number",onChange:function(e){i({popUpWidth:e},p)}}),wp.element.createElement(_,{label:Object(r.__)("Point Icon","getwid")},wp.element.createElement(u.a,{value:s[p].icon,onChange:function(e){i({icon:e},p),l({updatePoints:!0,highlightDot:!0})}})))}},q=function(e){var t=e.props,n=t.updateCellsStyles,o=t.getSelectedCell,a=e.props,l=a.isRangeSelected,c=a.isMultiSelected,s=o(),u=l(),p=c();return wp.element.createElement(_,{label:"Borders",className:"components-getwid-border-control"},wp.element.createElement(T,{className:"components-getwid-border-group"},wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M7 21h2v-2H7v2zm0-8h2v-2H7v2zm4 0h2v-2h-2v2zm0 8h2v-2h-2v2zm-8-4h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2v-2H3v2zm0-4h2V7H3v2zm8 8h2v-2h-2v2zm8-8h2V7h-2v2zm0 4h2v-2h-2v2zM3 3v2h18V3H3zm16 14h2v-2h-2v2zm-4 4h2v-2h-2v2zM11 9h2V7h-2v2zm8 12h2v-2h-2v2zm-4-8h2v-2h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Top Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"top"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M7 21h2v-2H7v2zM3 5h2V3H3v2zm4 0h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2v-2H3v2zm8 0h2v-2h-2v2zm-8-8h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm8 8h2v-2h-2v2zm4-4h2v-2h-2v2zm4-10v18h2V3h-2zm-4 18h2v-2h-2v2zm0-16h2V3h-2v2zm-4 8h2v-2h-2v2zm0-8h2V3h-2v2zm0 4h2V7h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Right Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"right"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M9 11H7v2h2v-2zm4 4h-2v2h2v-2zM9 3H7v2h2V3zm4 8h-2v2h2v-2zM5 3H3v2h2V3zm8 4h-2v2h2V7zm4 4h-2v2h2v-2zm-4-8h-2v2h2V3zm4 0h-2v2h2V3zm2 10h2v-2h-2v2zm0 4h2v-2h-2v2zM5 7H3v2h2V7zm14-4v2h2V3h-2zm0 6h2V7h-2v2zM5 11H3v2h2v-2zM3 21h18v-2H3v2zm2-6H3v2h2v-2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Bottom Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"bottom"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M11 21h2v-2h-2v2zm0-4h2v-2h-2v2zm0-12h2V3h-2v2zm0 4h2V7h-2v2zm0 4h2v-2h-2v2zm-4 8h2v-2H7v2zM7 5h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2V3H3v18zM19 9h2V7h-2v2zm-4 12h2v-2h-2v2zm4-4h2v-2h-2v2zm0-14v2h2V3h-2zm0 10h2v-2h-2v2zm0 8h2v-2h-2v2zm-4-8h2v-2h-2v2zm0-8h2V3h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Left Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"left"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M3 3v18h18V3H3zm8 16H5v-6h6v6zm0-8H5V5h6v6zm8 8h-6v-6h6v6zm0-8h-6V5h6v6z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("All","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"all"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M7 5h2V3H7v2zm0 8h2v-2H7v2zm0 8h2v-2H7v2zm4-4h2v-2h-2v2zm0 4h2v-2h-2v2zm-8 0h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2V7H3v2zm0-4h2V3H3v2zm8 8h2v-2h-2v2zm8 4h2v-2h-2v2zm0-4h2v-2h-2v2zm0 8h2v-2h-2v2zm0-12h2V7h-2v2zm-8 0h2V7h-2v2zm8-6v2h2V3h-2zm-8 2h2V3h-2v2zm4 16h2v-2h-2v2zm0-8h2v-2h-2v2zm0-8h2V3h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("None","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"none"})}}))))}},function(e,t,n){function r(e){return o(e)||i(e)||a()}var o=n(123),i=n(31),a=n(124);e.exports=r},function(e,t,n){"use strict";var r=(n(0),n(1)),o=(n.n(r),n(8)),i=n.n(o),a=n(10),l=(n.n(a),n(107)),c=(n.n(l),wp.element.Fragment),s=wp.components,u=s.BaseControl,p=s.ColorPalette,d=s.ColorIndicator,m=wp.data.withSelect,g=wp.compose.compose,f=function(e){var t=e.props,n=e.getEditorSettings,r=t.colorSettings,o=Object(a.get)(n(),["colors"],[]);return wp.element.createElement(c,null,wp.element.createElement(u,{className:"components-getwid-color-palette-control"},r.map(function(e,t){var n=Object(a.has)(e,["colors","defaultColor"])?e.colors.defaultColor.color:void 0;return wp.element.createElement(c,null,wp.element.createElement(u.VisualLabel,null,e.title,(e.colors.customColor||n)&&wp.element.createElement(d,{colorValue:e.colors.customColor?e.colors.customColor:n})),wp.element.createElement(p,{colors:o,value:n||e.colors.customColor,onChange:e.changeColor}))})))};Object(a.has)(u,["VisualLabel"])||(u.VisualLabel=function(e){var t=e.className,n=e.children;return t=i()("components-base-control__label",t),wp.element.createElement("span",{className:t},n)}),t.a=g([m(function(e,t){return{getEditorSettings:e("core/editor").getEditorSettings,props:t}})])(f)},function(e,t,n){"use strict";function r(e){function t(e,t){var r=void 0;return"unit"===t?h=e:w=e,h=void 0!==h?h:"",w=void 0!==w?w:"","auto"===h?r=n?e:"":void 0!==w&&""!==w&&(r=w+h),m(r)}var n=e.allowAuto,r=e.allowNegative,o=e.units,l=void 0===o?[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"},{label:"vh",value:"vh"},{label:"vw",value:"vw"}]:o,s=e.value,u=e.label,m=e.onChange,g=e.isLocked,f=void 0!==g&&g,b="components-base-control components-getwid-style-length-control",w="",h="";if(n&&l.push({value:"auto",label:Object(c.__)("Auto","getwid")}),n&&"auto"===s&&(w="",h="auto"),void 0!==s){var v,y=Object(a.map)(l,"value").join("|"),_=r?"[-]?":"";(v=new RegExp("^(".concat(_,"[0-9]*\\.?[0-9]*)(").concat(y,"){0,1}$")).exec(s))?(w=v&&v[1]?v[1]:"",h=v&&v[2]?v[2]:""):(w="",h="")}return h||(h=l[0].value),wp.element.createElement("div",{className:b},wp.element.createElement(p,i()({className:["".concat(b,"__value_input")],name:"length",type:"number",label:u,value:w,onChange:function(e){return t(e,"length")},disabled:"auto"===h,min:r?void 0:0},"disabled",!!f||null)),wp.element.createElement(d,{className:["".concat(b,"__unit_select")],name:"unit",options:l,value:h,onChange:function(e){return t(e,"unit")},disabled:!!f||null}))}t.a=r;var o=n(7),i=n.n(o),a=(n(0),n(10)),l=(n.n(a),n(106)),c=(n.n(l),n(1)),s=(n.n(c),window),u=(s.jQuery,wp.components),p=u.TextControl,d=u.SelectControl},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){l()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"a",function(){return y});var a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=n(109),w=n.n(b),h=n(120),v=(n.n(h),Getwid.settings.iconList),y=function(e){function t(){return s()(this,t),n.apply(this,arguments)}p()(t,e);var n=i(t);return t}(w.a);y.defaultProps=o(o({},y.defaultProps),{},{icons:v||[],theme:"getwid",iconsPerPage:12})},function(e,t,n){"use strict";function r(e){var t=e.state,n=e.stateName,r=e.onChangeTab,o=e.tabs,i=void 0===o?["general","style","layout","advanced"]:o;return wp.element.createElement(m,null,wp.element.createElement(d,{className:"components-getwid-tabs-control"},i.includes("general")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"general"===t}),onClick:function(){r(n,"general")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"admin-settings"}),Object(l.__)("General","getwid")))),i.includes("style")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"style"===t}),onClick:function(){r(n,"style")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"admin-appearance"}),Object(l.__)("Style","getwid")))),i.includes("layout")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"layout"===t}),onClick:function(){r(n,"layout")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"layout"}),Object(l.__)("Layout","getwid")))),i.includes("advanced")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"advanced"===t}),onClick:function(){r(n,"advanced")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"admin-generic"}),Object(l.__)("Advanced","getwid"))))))}t.a=r;var o=(n(0),n(125)),i=(n.n(o),n(8)),a=n.n(i),l=n(1),c=(n.n(l),window),s=(c.jQuery,wp.components),u=s.Dashicon,p=s.Button,d=s.PanelBody,m=wp.element.Fragment},function(e,t){!function(){e.exports=window.React}()},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(10)),v=(n.n(h),wp.element.Component),y=wp.blockEditor,_=y.getFontSize,O=y.getFontSizeObjectByValue,k=wp.components.FontSizePicker,E=wp.compose.compose,C=wp.data.withSelect,j=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.onChange=e.onChange.bind(p()(e)),e.fontSizeAttributeName=e.props.fontSizeAttributeName,e.customFontSizeAttributeName="custom".concat(Object(h.upperFirst)(e.fontSizeAttributeName)),e.getFontSizeObjectByValue=O||e._getFontSizeObjectByValue,e}m()(t,e);var n=r(t);return s()(t,[{key:"_getFontSizeObjectByValue",value:function(e,t){var n=Object(h.find)(e,{size:t});return n||{size:t}}},{key:"onChange",value:function(e){var t,n=this.props.setAttributes,r=this.getFontSizeObjectByValue(this.props.fontSizes,e).slug;n((t={},i()(t,this.fontSizeAttributeName,r),i()(t,this.customFontSizeAttributeName,r?void 0:null===e||void 0===e?void 0:e.toString()),t))}},{key:"render",value:function(){var e=_(this.props.fontSizes,this.props.fontSize.fontSize,this.props.fontSize.customFontSize);return wp.element.createElement(k,{fontSizes:this.props.fontSizes,value:null===e||void 0===e?void 0:e.size,onChange:this.onChange})}}]),t}(v);t.a=E([C(function(e,t){return{fontSizes:e("core/block-editor").getSettings().fontSizes}})])(j)},function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n(13),o=n.n(r),i=n(2),a=n.n(i),l=n(4),c=n.n(l),s=n(10),u=(n.n(s),n(43)),p=(n.n(u),n(44)),d=(n.n(p),function(e,t){return e[t].value.toString()}),m=function(e){var t=u.parse(e)[0],n=t.colorStops;if(Object(s.isEqual)(n[0].type,"hex")){var r=p(d(n,0)).toString(),o=p(d(n,1)).toString(),i=n[0].length.value,a=n[1].length.value,l=t.type,c=t.orientation?t.orientation.value:void 0;return Object(s.isEqual)(l,"linear-gradient")?"".concat(l,"(").concat(c,"deg,rgba(").concat(r,") ").concat(i,"%,rgba(").concat(o,") ").concat(a,"%)"):"".concat(l,"(rgba(").concat(r,") ").concat(i,"%,rgba(").concat(o,") ").concat(a,"%)")}return e},g=function(){function e(){a()(this,e)}return c()(e,null,[{key:"prepareMultiGradientStyle",value:function(t,n){var r=n.attributes,o=r.backgroundGradientFirstColor,i=r.foregroundGradientFirstColor,a=n.attributes,l=a.backgroundGradient,c=a.foregroundGradient;if("background"==t){if(l)return l;if(o)return l=e.prepareGradientStyle("background",n),l=l.backgroundImage,l&&(l=l.replace(/, /g,function(){return","}),l=m(l)),l}if("foreground"==t){if(c)return c;if(i)return c=e.prepareGradientStyle("foreground",n),c=c.backgroundImage,c&&(c=c.replace(/, /g,function(){return","}),c=m(c)),c}}},{key:"prepareBackgroundImageStyles",value:function(e,t){var n=t.attributes;if(!n["".concat(e,"Image")])return{};var r=n["".concat(e,"Image")];return"object"===o()(r)&&(r=r.url),{backgroundImage:"url('".concat(r,"')"),backgroundPosition:""!=n["".concat(e,"ImagePosition")]?"custom"==n["".concat(e,"ImagePosition")]&&n["".concat(e,"CustomImagePosition")]?"".concat(100*n["".concat(e,"CustomImagePosition")].x,"% ").concat(100*n["".concat(e,"CustomImagePosition")].y,"%"):n["".concat(e,"ImagePosition")]:null,backgroundRepeat:""!=n["".concat(e,"ImageRepeat")]?n["".concat(e,"ImageRepeat")]:null,backgroundAttachment:""!=n["".concat(e,"ImageAttachment")]?n["".concat(e,"ImageAttachment")]:null,backgroundSize:""!=n["".concat(e,"ImageSize")]?n["".concat(e,"ImageSize")]:null}}},{key:"prepareGradientStyle",value:function(e,t){var n=t.attributes["".concat(e,"GradientType")],r=t.attributes["".concat(e,"GradientAngle")],o=t.attributes["".concat(e,"GradientFirstColor")],i=t.attributes["".concat(e,"GradientSecondColor")],a=t.attributes["".concat(e,"GradientFirstColorLocation")],l=t.attributes["".concat(e,"GradientSecondColorLocation")];r=void 0!==r?"".concat(r,"deg"):"180deg",o=void 0!==o?o:"rgba(0,0,0,0)",a=void 0!==a?"".concat(a,"%"):"0%",i=void 0!==i?i:"rgba(0,0,0,0)",l=void 0!==l?"".concat(l,"%"):"100%";var c={};switch(n){case"linear":c.backgroundImage="linear-gradient(".concat(r,", ").concat(o," ").concat(a,", ").concat(i," ").concat(l,")");break;case"radial":c.backgroundImage="radial-gradient(".concat(o," ").concat(a,", ").concat(i," ").concat(l,")")}return c}},{key:"convertVerticalAlignToStyle",value:function(e){var t=void 0;switch(e){case"top":t="flex-start";break;case"bottom":t="flex-end";break;case"center":t="center"}return t}},{key:"convertHorizontalAlignToStyle",value:function(e){var t=void 0;switch(e){case"left":t="flex-start";break;case"right":t="flex-end";break;case"center":t="center"}return t}}]),e}()},function(e,t,n){"use strict";function r(e,t,n){var r=function(e){var t={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var n in t)if(void 0!==e.style[n])return t[n]}(document.createElement("div")),o=void 0!==t.animation?t.animation:"",i=void 0!==t.duration?t.duration:"1s",a=void 0!==t.delay?t.delay:"0s";return e.css({"animation-duration":i,"animation-delay":a,"-webkit-animation-delay":a}),e.addClass("animated "+o).one(r,function(){jQuery(this).removeClass("animated "+o),"function"==typeof n&&n()}),this}t.a=r},function(e,t,n){e.exports=n(110)()},function(e,t,n){"use strict";function r(e){var t=e.onChange,n=e.label,r=e.help,o=e.value,l=e.allowAnimation,s=void 0===l?["Entrance","Exit","Seeker"]:l,u=[{value:"",label:Object(a.__)("None","getwid")}],p=[{value:"bounceIn",label:Object(a.__)("Bounce In","getwid")},{value:"bounceInDown",label:Object(a.__)("Bounce In Down","getwid")},{value:"bounceInDownShort",label:Object(a.__)("Bounce In Down Short","getwid")},{value:"bounceInLeft",label:Object(a.__)("Bounce In Left","getwid")},{value:"bounceInLeftShort",label:Object(a.__)("Bounce In Left Short","getwid")},{value:"bounceInRight",label:Object(a.__)("Bounce In Right","getwid")},{value:"bounceInRightShort",label:Object(a.__)("Bounce In Right Short","getwid")},{value:"bounceInUp",label:Object(a.__)("Bounce In Up","getwid")},{value:"bounceInUpShort",label:Object(a.__)("Bounce In Up Short","getwid")},{value:"fadeIn",label:Object(a.__)("Fade In","getwid")},{value:"fadeInDown",label:Object(a.__)("Fade In Down","getwid")},{value:"fadeInDownShort",label:Object(a.__)("Fade In Down Short","getwid")},{value:"fadeInDownBig",label:Object(a.__)("Fade In Down Big","getwid")},{value:"fadeInLeft",label:Object(a.__)("Fade In Left","getwid")},{value:"fadeInLeftShort",label:Object(a.__)("Fade In Left Short","getwid")},{value:"fadeInLeftBig",label:Object(a.__)("Fade In Left Big","getwid")},{value:"fadeInRight",label:Object(a.__)("Fade In Right","getwid")},{value:"fadeInRightShort",label:Object(a.__)("Fade In Right Short","getwid")},{value:"fadeInRightBig",label:Object(a.__)("Fade In Right Big","getwid")},{value:"fadeInUp",label:Object(a.__)("Fade In Up","getwid")},{value:"fadeInUpShort",label:Object(a.__)("Fade In Up Short","getwid")},{value:"fadeInUpBig",label:Object(a.__)("Fade In Up Big","getwid")},{value:"flipInX",label:Object(a.__)("Flip In X","getwid")},{value:"flipInY",label:Object(a.__)("Flip In Y","getwid")},{value:"lightSpeedIn",label:Object(a.__)("Light Speed In","getwid")},{value:"lightSpeedInShort",label:Object(a.__)("Light Speed In Short","getwid")},{value:"rotateIn",label:Object(a.__)("Rotate In","getwid")},{value:"rotateInDownLeft",label:Object(a.__)("Rotate In Down Left","getwid")},{value:"rotateInDownRight",label:Object(a.__)("Rotate In Down Right","getwid")},{value:"rotateInUpLeft",label:Object(a.__)("Rotate In Up Left","getwid")},{value:"rotateInUpRight",label:Object(a.__)("Rotate In Up Right","getwid")},{value:"zoomIn",label:Object(a.__)("Zoom In","getwid")},{value:"zoomInDown",label:Object(a.__)("Zoom In Down","getwid")},{value:"zoomInLeft",label:Object(a.__)("Zoom In Left","getwid")},{value:"zoomInRight",label:Object(a.__)("Zoom In Right","getwid")},{value:"zoomInUp",label:Object(a.__)("Zoom In Up","getwid")},{value:"slideInDown",label:Object(a.__)("Slide In Down","getwid")},{value:"slideInDownShort",label:Object(a.__)("Slide In Down Short","getwid")},{value:"slideInLeft",label:Object(a.__)("Slide In Left","getwid")},{value:"slideInLeftShort",label:Object(a.__)("Slide In Left Short","getwid")},{value:"slideInRight",label:Object(a.__)("Slide In Right","getwid")},{value:"slideInRightShort",label:Object(a.__)("Slide In Right Short","getwid")},{value:"slideInUp",label:Object(a.__)("Slide In Up","getwid")},{value:"slideInUpShort",label:Object(a.__)("Slide In Up Short","getwid")},{value:"rollIn",label:Object(a.__)("Roll In","getwid")}],d=[{value:"bounceOut",label:Object(a.__)("Bounce Out","getwid")},{value:"bounceOutDown",label:Object(a.__)("Bounce Out Down","getwid")},{value:"bounceOutLeft",label:Object(a.__)("Bounce Out Left","getwid")},{value:"bounceOutRight",label:Object(a.__)("Bounce Out Right","getwid")},{value:"bounceOutUp",label:Object(a.__)("Bounce Out Up","getwid")},{value:"fadeOut",label:Object(a.__)("Fade Out","getwid")},{value:"fadeOutDown",label:Object(a.__)("Fade Out Down","getwid")},{value:"fadeOutDownBig",label:Object(a.__)("Fade Out Down Big","getwid")},{value:"fadeOutLeft",label:Object(a.__)("Fade Out Left","getwid")},{value:"fadeOutLeftBig",label:Object(a.__)("Fade Out Left Big","getwid")},{value:"fadeOutRight",label:Object(a.__)("Fade Out Right","getwid")},{value:"fadeOutRightBig",label:Object(a.__)("Fade Out Right Big","getwid")},{value:"fadeOutUp",label:Object(a.__)("Fade Out Up","getwid")},{value:"fadeOutUpBig",label:Object(a.__)("Fade Out Up Big","getwid")},{value:"flipOutX",label:Object(a.__)("Flip Out X","getwid")},{value:"flipOutY",label:Object(a.__)("Flip Out Y","getwid")},{value:"lightSpeedOut",label:Object(a.__)("Light Speed Out","getwid")},{value:"rotateOut",label:Object(a.__)("Rotate Out","getwid")},{value:"rotateOutDownLeft",label:Object(a.__)("Rotate Out Down Left","getwid")},{value:"rotateOutDownRight",label:Object(a.__)("Rotate Out Down Right","getwid")},{value:"rotateOutUpLeft",label:Object(a.__)("Rotate Out Up Left","getwid")},{value:"rotateOutUpRight",label:Object(a.__)("Rotate Out Up Right","getwid")},{value:"zoomOut",label:Object(a.__)("Zoom Out","getwid")},{value:"zoomOutDown",label:Object(a.__)("Zoom Out Down","getwid")},{value:"zoomOutLeft",label:Object(a.__)("Zoom Out Left","getwid")},{value:"zoomOutRight",label:Object(a.__)("Zoom Out Right","getwid")},{value:"zoomOutUp",label:Object(a.__)("Zoom Out Up","getwid")},{value:"slideOutDown",label:Object(a.__)("Slide Out Down","getwid")},{value:"slideOutLeft",label:Object(a.__)("Slide Out Left","getwid")},{value:"slideOutRight",label:Object(a.__)("Slide Out Right","getwid")},{value:"slideOutUp",label:Object(a.__)("Slide Out Up","getwid")},{value:"heartBeat",label:Object(a.__)("Heart Beat","getwid")},{value:"hinge",label:Object(a.__)("Hinge","getwid")},{value:"rollOut",label:Object(a.__)("Roll Out","getwid")}],m=[{value:"bounce",label:Object(a.__)("Bounce","getwid")},{value:"flash",label:Object(a.__)("Flash","getwid")},{value:"pulse",label:Object(a.__)("Pulse","getwid")},{value:"rubberBand",label:Object(a.__)("Rubber Band","getwid")},{value:"shake",label:Object(a.__)("Shake","getwid")},{value:"headShake",label:Object(a.__)("Head Shake","getwid")},{value:"swing",label:Object(a.__)("Swing","getwid")},{value:"tada",label:Object(a.__)("Tada","getwid")},{value:"wobble",label:Object(a.__)("Wobble","getwid")},{value:"jello",label:Object(a.__)("Jello","getwid")},{value:"jackInTheBox",label:Object(a.__)("Jack In The Box","getwid")}],g=[{value:"slideTop",label:Object(a.__)("Slide Top","getwid")},{value:"slideBottom",label:Object(a.__)("Slide Bottom","getwid")},{value:"slideLeft",label:Object(a.__)("Slide Left","getwid")},{value:"slideRight",label:Object(a.__)("Slide Right","getwid")},{value:"zoomSmall",label:Object(a.__)("Zoom Small","getwid")},{value:"zoomBig",label:Object(a.__)("Zoom Big","getwid")}];return s.includes("Entrance")&&(u=[].concat(i()(u),p)),s.includes("Exit")&&(u=[].concat(i()(u),d)),s.includes("Seeker")&&(u=[].concat(i()(u),m)),s.includes("Icon")&&(u=[].concat(i()(u),g)),wp.element.createElement(c,{label:n,help:r,value:o,onChange:t,options:u})}t.a=r;var o=n(15),i=n.n(o),a=(n(0),n(1)),l=(n.n(a),window),c=(l.jQuery,wp.components.SelectControl)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}n.d(t,"a",function(){return h});var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(100)),f=wp.element,b=f.Component,w=f.Fragment,h=(f.RawHTML,function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.dividerTop,r=t.dividersTopHeight,o=t.dividerTopColor,i=t.dividerBottom,a=t.dividersBottomHeight,l=t.dividerBottomColor,c=e.baseClass;return wp.element.createElement(w,null,n&&wp.element.createElement("div",{className:"".concat(c,"__divider is-top-divider")},this.renderSVG(n,o,r)),i&&wp.element.createElement("div",{className:"".concat(c,"__divider is-bottom-divider")},this.renderSVG(i,l,a)))}},{key:"renderSVG",value:function(e,t,n){return void 0===t&&(t="white"),g.a.hasOwnProperty(e)?g.a[e](t,n):""}}]),t}(b))},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"b",function(){return _}),n.d(t,"a",function(){return O});var o=n(104),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),wp.element),w=b.Component,h=b.Fragment,v=window,y=v.jQuery,_=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.sliderImages,n=e.sliderAnimationEffect,r=e.sliderAnimationDuration,o=e.sliderAnimationSpeed,i=this.props.baseClass;return wp.element.createElement(h,null,wp.element.createElement("div",{className:"".concat(i,"__background-slider"),"data-autoplay":"true","data-autoplay-speed":o,"data-slide-effect":n,"data-slide-speed":r,"data-infinite":"true"},t.map(function(e){return wp.element.createElement("div",{className:"".concat(i,"__background-slider-item"),key:e.id||e.url},wp.element.createElement("img",{src:e.url,className:e.id?"wp-image-".concat(e.id):null,alt:e.alt,"data-id":e.id}))})))}}]),t}(w),O=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){return this.destroySlider(),i()(f()(t.prototype),"render",this).call(this)}},{key:"destroySlider",value:function(){var e=this.props.clientId,t=y("#block-".concat(e," .").concat(this.props.baseClass,"__background-slider")).first();t.hasClass("slick-initialized")&&t.slick("unslick")}},{key:"initSlider",value:function(){var e=this.props.attributes,t=e.sliderAnimationEffect,n=e.sliderAnimationDuration,r=e.sliderAnimationSpeed,o=this.props.clientId;y("#block-".concat(o," .").concat(this.props.baseClass,"__background-slider")).first().slick({rows:0,slidesToShow:1,slidesToScroll:1,autoplay:!0,infinite:!0,arrows:!1,dots:!1,fade:"fade"===t,autoplaySpeed:r?parseInt(r):100,speed:n?parseInt(n):100})}},{key:"componentDidMount",value:function(){this.initSlider()}},{key:"componentDidUpdate",value:function(){this.initSlider()}},{key:"componentWillUnmount",value:function(){this.destroySlider()}}]),t}(_)},function(e,t,n){function r(e){return o(e)||i(e)||a()}var o=n(32),i=n(31),a=n(33);e.exports=r},function(e,t){!function(){e.exports=window.ReactDOM}()},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"a",function(){return v});var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),wp.element),w=b.Component,h=b.Fragment,v=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.backgroundVideoUrl,r=(t.backgroundVideoMute,t.backgroundVideoLoop),o=(t.backgroundVideoAutoplay,t.backgroundVideoPoster),a=e.baseClass,l={playsinline:"playsinline",autoPlay:this.props.videoAutoplay,muted:this.props.videoMute,loop:r,poster:o||void 0};return wp.element.createElement(h,null,n.url&&wp.element.createElement("video",i()({className:"".concat(a,"__background-video source-media-library")},l,{ref:this.props.videoElemRef,onEnded:this.props.onVideoEnd}),wp.element.createElement("source",{src:n.url,type:"video/mp4"})))}},{key:"componentDidMount",value:function(){}},{key:"componentDidUpdate",value:function(){}}]),t}(w)},function(e,t){function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}e.exports=n},function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}e.exports=n},function(e,t){function n(e){throw new Error('"'+e+'" is read-only')}e.exports=n},function(e,t,n){"use strict";var r=(n(36),n(37),n(20)),o=(n.n(r),n(10));n.n(o);n.o(r,"createContext")&&n.d(t,"c",function(){return r.createContext}),n.o(r,"createElement")&&n.d(t,"d",function(){return r.createElement}),n.o(r,"Fragment")&&n.d(t,"a",function(){return r.Fragment}),n.o(r,"StrictMode")&&n.d(t,"b",function(){return r.StrictMode})},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Object(o.a)(e,t,n[t])})}return e}t.a=r;var o=n(90)},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=Object(o.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}t.a=r;var o=n(91)},function(e,t,n){"use strict";var r={align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__item",query:{url:{source:"attribute",selector:"img",attribute:"src"},original_url:{source:"attribute",selector:"img",attribute:"data-original-link"},link:{source:"attribute",selector:"img",attribute:"data-link"},custom_link:{source:"attribute",selector:"img",attribute:"data-custom-link"},custom_link_target:{source:"attribute",selector:"img",attribute:"data-link-target"},custom_link_rel:{source:"attribute",selector:"img",attribute:"data-link-rel"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},imageSize:{type:"string",default:"full"},imageFit:{type:"string",default:"fill"},showCaption:{type:"boolean",default:!1},captionStyle:{type:"string",default:"light"},captionPosition:{type:"string",default:"bottom-center"},linkTo:{type:"string",default:"none"},imageAlignment:{type:"string",default:"center"},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-effect",default:"slide"},sliderSlidesToShow:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show",default:"1"},sliderSlidesToShowLaptop:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show-laptop",default:"1"},sliderSlidesToShowTablet:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show-tablet",default:"1"},sliderSlidesToShowMobile:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show-mobile",default:"1"},sliderSlidesToScroll:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-scroll",default:"1"},sliderAutoplay:{type:"boolean",default:!1},sliderAutoplaySpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-autoplay-speed",default:6e3},sliderInfinite:{type:"boolean",default:!0},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-animation-speed",default:800},sliderCenterMode:{type:"boolean",default:!1},sliderVariableWidth:{type:"boolean",default:!1},sliderSpacing:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-spacing",default:"none"},sliderArrows:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-arrows",default:"inside"},sliderDots:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-dots",default:"inside"},slideHeight:{type:"string"},resetHeightOnTablet:{type:"bool"},resetHeightOnMobile:{type:"bool"}};t.a=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var o=n(15),i=n.n(o),a=n(7),l=n.n(a),c=n(13),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),O=(n(0),n(347)),k=(n.n(O),n(348)),E=n(352),C=n(10),j=(n.n(C),n(8)),S=n.n(j),x=n(1),P=(n.n(x),n(20)),T=(n.n(P),wp.element),R=T.Component,N=T.Fragment,A=wp.apiFetch,B=wp.url.addQueryArgs,M=wp.components,D=M.Modal,I=M.ButtonGroup,L=M.Button,z=M.SelectControl,V=M.RangeControl,F=M.RadioControl,H=M.ToggleControl,G=M.Spinner,W=M.TextControl,U=M.PanelBody,q=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.firstCheckTaxonomy=!0,e.firstCheckTerms=!0,e.state={postTypeList:null,taxonomyList:null,termsList:null,modalOpen:!1,metaScheme:Object(C.cloneDeep)(e.props.values.metaQuery)},e.getState=e.getState.bind(f()(e)),e.changeState=e.changeState.bind(f()(e)),e}w()(t,e);var n=r(t);return m()(t,[{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.waitLoadPostTypes=!0,this.fetchRequest=A({path:B("/wp/v2/types")}).then(function(t){e.waitLoadPostTypes=!1,e.isStillMounted&&e.setState({postTypeList:t})}).catch(function(){e.waitLoadPostTypes=!1})}},{key:"getTaxonomyFromCustomPostType",value:function(e){var t=this;void 0!==e&&""!=e&&(this.waitLoadTaxonomy=!0,this.firstCheckTaxonomy=!1,this.fetchRequest=A({path:B("/getwid/v1/taxonomies",{post_type_name:e})}).then(function(e){t.waitLoadTaxonomy=!1,t.isStillMounted&&Array.isArray(e)&&e.length?t.setState({taxonomyList:e}):t.setState({taxonomyList:null})}).catch(function(){t.waitLoadTaxonomy=!1}))}},{key:"getTermsFromTaxonomy",value:function(e){var t=this;void 0!==e&&""!=e&&(this.waitLoadTerms=!0,this.firstCheckTerms=!1,this.fetchRequest=A({path:B("/getwid/v1/terms",{taxonomy_name:e})}).then(function(e){t.waitLoadTerms=!1,t.isStillMounted&&e instanceof Object&&!Object(C.isEmpty)(e)?t.setState({termsList:e}):t.setState({termsList:null})}).catch(function(){t.waitLoadTerms=!1}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"changeState",value:function(e,t){"object"==s()(e)?this.setState(e):"string"==typeof e&&this.setState(l()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"render",value:function(){var e=this,t="components-getwid-custom-query-control",n=[];if(this.state.postTypeList)for(var r in this.state.postTypeList)if(!["attachment","wp_block","getwid_template_part","getwid_template"].includes(r)){var o={};o.value=this.state.postTypeList[r].slug,o.label=this.state.postTypeList[r].name,n.push(o)}var a=[{relation:"OR",children:[]}];return wp.element.createElement("div",{className:S()("components-base-control",t)},function(){return null==e.state.taxonomyList&&e.props.values.postType&&e.firstCheckTaxonomy&&e.getTaxonomyFromCustomPostType(e.props.values.postType),wp.element.createElement(N,null,e.waitLoadPostTypes?wp.element.createElement(G,null):void 0,wp.element.createElement(z,{label:Object(x.__)("Choose what to display","getwid"),className:["".concat(t,"__post-type")],value:e.props.values.postType?e.props.values.postType:"",onChange:function(t){e.setState({taxonomyList:null,termsList:null}),e.props.callbackOn&&e.props.callbackOn.includes("postType")?e.props.onChangeCallback(t,"postType"):""==t?e.props.setValues({postType:void 0,taxonomy:void 0,terms:void 0}):e.props.setValues({postType:t,taxonomy:void 0,terms:void 0}),e.getTaxonomyFromCustomPostType(t)},options:i()(n||[{value:"",label:"-"}]),disabled:null==e.state.postTypeList}))}(),wp.element.createElement(V,{label:this.props.options&&this.props.options.includes("page")&&this.props.values.pagination?Object(x.__)("Number of items per page","getwid"):Object(x.__)("Number of items","getwid"),value:this.props.values.postsToShow,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("postsToShow")?e.props.onChangeCallback(t,"postsToShow"):e.props.setValues({postsToShow:t})},min:-1,max:100,step:1}),wp.element.createElement(V,{label:Object(x.__)("Number of posts to pass over","getwid"),value:this.props.values.offset,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("offset")?e.props.onChangeCallback(t,"offset"):e.props.setValues({offset:t})},min:0,max:100,step:1}),function(){if(e.props.options&&e.props.options.includes("page"))return wp.element.createElement(N,null,wp.element.createElement(H,{label:Object(x.__)("Use pagination","getwid"),checked:!!e.props.values.pagination&&e.props.values.pagination,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("pagination")?e.props.onChangeCallback(t,"pagination"):e.props.setValues({pagination:!e.props.values.pagination})}}))}(),wp.element.createElement(U,{title:Object(x.__)("Sorting and Filtering","getwid"),initialOpen:!1},wp.element.createElement(z,{label:Object(x.__)("Order","getwid"),className:["".concat(t,"__order")],value:this.props.values.order?this.props.values.order:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("order")?e.props.onChangeCallback(t,"order"):e.props.setValues({order:t})},options:[{value:"desc",label:Object(x.__)("Z → A, 9 → 1","getwid")},{value:"asc",label:Object(x.__)("A → Z, 1 → 9","getwid")}]}),wp.element.createElement(z,{label:Object(x.__)("Order by","getwid"),className:["".concat(t,"__order-by")],value:this.props.values.orderBy?this.props.values.orderBy:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("orderBy")?e.props.onChangeCallback(t,"orderBy"):e.props.setValues({orderBy:t})},options:[{value:"title",label:Object(x.__)("Title","getwid")},{value:"date",label:Object(x.__)("Date","getwid")},{value:"rand",label:Object(x.__)("Random","getwid")},{value:"author",label:Object(x.__)("Author","getwid")},{value:"modified",label:Object(x.__)("Last modified date","getwid")},{value:"menu_order",label:Object(x.__)("Menu order","getwid")}]}),"page"!=this.props.values.postType&&function(){if(e.props.options&&e.props.options.includes("sticky"))return wp.element.createElement(N,null,wp.element.createElement(H,{label:Object(x.__)("Ignore Sticky posts","getwid"),checked:!!e.props.values.ignoreSticky&&e.props.values.ignoreSticky,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("ignoreSticky")?e.props.onChangeCallback(t,"ignoreSticky"):e.props.setValues({ignoreSticky:!e.props.values.ignoreSticky})}}))}(),wp.element.createElement(W,{label:Object(x.__)("Display only the specific posts","getwid"),help:Object(x.__)("Comma-separated IDs","getwid"),value:this.props.values.filterById?this.props.values.filterById:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("filterById")?e.props.onChangeCallback(t,"filterById"):e.props.setValues({filterById:t})}}),wp.element.createElement(W,{label:Object(x.__)("Display all posts but NOT the specified ones","getwid"),help:Object(x.__)("Comma-separated IDs","getwid"),value:this.props.values.excludeById?this.props.values.excludeById:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("excludeById")?e.props.onChangeCallback(t,"excludeById"):e.props.setValues({excludeById:t})}}),wp.element.createElement(H,{label:Object(x.__)("Exclude Current Post","getwid"),checked:!!this.props.values.excludeCurrentPost&&this.props.values.excludeCurrentPost,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("excludeCurrentPost")?e.props.onChangeCallback(t,"excludeCurrentPost"):e.props.setValues({excludeCurrentPost:!e.props.values.excludeCurrentPost})}}),"page"==this.props.values.postType&&function(){if(e.props.options&&e.props.options.includes("parentFilter"))return wp.element.createElement(N,null,wp.element.createElement(H,{label:Object(x.__)("Display child pages of current page","getwid"),checked:!!e.props.values.childPagesCurrentPage&&e.props.values.childPagesCurrentPage,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("childPagesCurrentPage")?e.props.onChangeCallback(t,"childPagesCurrentPage"):e.props.setValues({childPagesCurrentPage:!e.props.values.childPagesCurrentPage})}}),0==e.props.values.childPagesCurrentPage&&wp.element.createElement(W,{label:Object(x.__)("Enter page ID to display its child pages","getwid"),help:Object(x.__)("Parent page ID","getwid"),value:e.props.values.parentPageId?e.props.values.parentPageId:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("parentPageId")?e.props.onChangeCallback(t,"parentPageId"):e.props.setValues({parentPageId:t})}}))}(),"page"!=this.props.values.postType&&function(){return null==e.state.termsList&&e.props.values.taxonomy&&e.firstCheckTerms&&e.getTermsFromTaxonomy(e.props.values.taxonomy),wp.element.createElement(N,null,e.waitLoadTaxonomy?wp.element.createElement(G,null):void 0,wp.element.createElement(z,{label:Object(x.__)("Taxonomies","getwid"),help:Object(x.__)("Hold ctrl/cmd to select multiple or deselect","getwid"),className:["".concat(t,"__taxonomy")],value:e.props.values.taxonomy?e.props.values.taxonomy:"",onChange:function(t){e.setState({termsList:null}),e.props.callbackOn&&e.props.callbackOn.includes("taxonomy")?e.props.onChangeCallback(t,"taxonomy"):""==t?e.props.setValues({taxonomy:void 0,terms:void 0}):e.props.setValues({taxonomy:t,terms:void 0}),e.getTermsFromTaxonomy(t)},multiple:!0,size:6,options:e.state.taxonomyList?e.state.taxonomyList:[{value:"",label:""}],disabled:null==e.state.taxonomyList}))}(),"page"!=this.props.values.postType&&function(){return wp.element.createElement(N,null,e.waitLoadTerms?wp.element.createElement(G,null):void 0,wp.element.createElement(k.a,{label:Object(x.__)("Terms","getwid"),help:Object(x.__)("Hold ctrl/cmd to select multiple or deselect","getwid"),className:["".concat(t,"__terms")],multiple:!0,groups:!0,size:10,value:e.props.values.terms?e.props.values.terms:[],onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("terms")?e.props.onChangeCallback(t,"terms"):t.length?e.props.setValues({terms:t}):e.props.setValues({terms:void 0})},options:e.state.termsList?e.state.termsList:{"":{group_name:"",group_value:[{value:"",label:""}]}},disabled:null==e.state.termsList}))}(),"page"!=this.props.values.postType&&wp.element.createElement(F,{label:Object(x.__)("Terms Relation","getwid"),selected:this.props.values.relation?this.props.values.relation:"",options:[{value:"AND",label:Object(x.__)("Item should have all of selected terms.","getwid")},{value:"OR",label:Object(x.__)("Item should have at least one of selected terms.","getwid")}],onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("relation")?e.props.onChangeCallback(t,"relation"):e.props.setValues({relation:t})}}),wp.element.createElement(L,{isPrimary:!0,icon:"filter",onClick:function(){e.setState({modalOpen:!0})}},Object(x.__)("Custom Field Filter","getwid")),this.state.modalOpen?wp.element.createElement(D,{title:Object(x.__)("Meta Query Builder","getwid"),onRequestClose:function(){e.setState({modalOpen:!1})}},wp.element.createElement("div",{className:["".concat(t,"__custom-conditions")]},function(){var n=e.state.metaScheme,r=[];return n.length>0?r=n.map(function(n){return wp.element.createElement(E.a,{query:n,parentQuery:n,getControlState:e.getState,setControlState:e.changeState,controlClassPrefix:t})}):e.setState({metaScheme:a}),r}(),wp.element.createElement(I,{className:["".concat(t,"__custom-btn-group")]},wp.element.createElement(L,{isDefault:!0,onClick:function(){e.setState({modalOpen:!1})}},Object(x.__)("Close","getwid")),wp.element.createElement(L,{isPrimary:!0,onClick:function(){e.state.metaScheme[0].children.length?e.props.setValues({metaQuery:Object(C.cloneDeep)(e.state.metaScheme)}):e.props.setValues({metaQuery:[]})}},Object(x.__)("Update","getwid"))))):null))}}]),t}(R);t.a=q},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(15),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(356)),w=(n.n(b),n(8)),h=n.n(w),v=n(1),y=(n.n(v),window),_=(y.jQuery,wp.element),O=_.Component,k=_.Fragment,E=wp.apiFetch,C=wp.url.addQueryArgs,j=wp.components,S=j.SelectControl,x=j.BaseControl,P=j.ButtonGroup,T=j.Button,R=j.Spinner,N=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.state={postTemplates:null,waitLoadTemplates:!1},e}p()(t,e);var n=r(t);return s()(t,[{key:"componentWillMount",value:function(){this.isStillMounted=!0,this.updateTemplates()}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"updateTemplates",value:function(){var e=this;this.fetchRequest=E({path:C("/getwid/v1/templates",{template_name:"getwid_template_part"})}).then(function(t){e.waitLoadTemplates=!1,e.isStillMounted&&t instanceof Object?e.setState({postTemplates:t,waitLoadTemplates:!1}):e.setState({postTemplates:null,waitLoadTemplates:!1})}).catch(function(){e.setState({waitLoadTemplates:!1})})}},{key:"resetTemplates",value:function(){this.props.setValues({postTemplate:null})}},{key:"render",value:function(){var e=this,t=[];this.state.postTemplates&&(t=this.state.postTemplates);return wp.element.createElement("div",{className:h()("components-base-control","components-getwid-custom-post-template-control")},function(){return wp.element.createElement(k,null,e.state.waitLoadTemplates?wp.element.createElement(R,null):void 0,wp.element.createElement(S,{label:Object(v.__)("Post Template","getwid"),className:["".concat("components-getwid-custom-post-template-control","__post-template")],value:e.props.values.postTemplate?e.props.values.postTemplate:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("postTemplate")?e.props.onChangeCallback(t,"postTemplate"):e.props.setValues({postTemplate:t})},options:[{value:"",label:"Default"}].concat(i()(t||[]))}),wp.element.createElement(P,null,e.props.values.postTemplate&&wp.element.createElement("a",{href:"".concat(Getwid.templates.edit).concat(e.props.values.postTemplate,"&action=edit"),className:"components-button is-button is-default",target:"_blank"},Object(v.__)("Edit","getwid")),wp.element.createElement("a",{href:Getwid.templates.new,className:"components-button is-button is-default",target:"_blank"},Object(v.__)("New","getwid")),wp.element.createElement("a",{href:Getwid.templates.view,className:"components-button is-button is-default",target:"_blank"},Object(v.__)("View All","getwid")),wp.element.createElement(T,{isDefault:!0,onClick:function(t){e.setState({waitLoadTemplates:!0}),e.updateTemplates()}},Object(v.__)("Update","getwid"))),e.props.values.postTemplate&&wp.element.createElement(x,null,wp.element.createElement(T,{isLink:!0,onClick:function(t){e.resetTemplates()}},Object(v.__)("Reset to default","getwid"))))}())}}]),t}(O);t.a=N},function(e,t,n){"use strict";function r(e){var t=e.children,n=Object(i.a)(e,["children"]);return Object(a.d)("div",Object(o.a)({dangerouslySetInnerHTML:{__html:t}},n))}t.a=r;var o=n(36),i=n(37),a=n(35)},function(e,t,n){"use strict";var r={align:{type:"string"},skipLayout:{type:"boolean",default:!1},contentMaxWidthPreset:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},gapSize:{type:"string"},resetMinHeightTablet:{type:"boolean",default:!1},resetMinHeightMobile:{type:"boolean",default:!1},verticalAlign:{type:"string",default:"center"},verticalAlignTablet:{type:"string",default:""},verticalAlignMobile:{type:"string",default:""},horizontalAlign:{type:"string",default:"center"},horizontalAlignTablet:{type:"string",default:""},horizontalAlignMobile:{type:"string",default:""},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},backgroundGradient:{type:"string"},backgroundGradientFirstColor:{type:"string"},backgroundGradientFirstColorLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string"},backgroundGradientSecondColorLocation:{type:"number",default:100},backgroundGradientType:{type:"string"},backgroundGradientAngle:{type:"number",default:180},foregroundGradient:{type:"string"},foregroundGradientFirstColor:{type:"string"},foregroundGradientFirstColorLocation:{type:"number",default:0},foregroundGradientSecondColor:{type:"string"},foregroundGradientSecondColorLocation:{type:"number",default:100},foregroundGradientType:{type:"string"},foregroundGradientAngle:{type:"number",default:180},backgroundImage:{type:"object"},backgroundCustomImagePosition:{type:"object"},backgroundImagePosition:{type:"string"},backgroundImageAttachment:{type:"string"},backgroundImageRepeat:{type:"string"},backgroundImageSize:{type:"string"},sliderImages:{type:"array",default:[],source:"query",selector:".wp-block-getwid-section__background-slider>.wp-block-getwid-section__background-slider-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"}}},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-effect"},sliderAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-speed",default:1e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-autoplay-speed",default:5e3},backgroundVideoType:{type:"string",default:"self"},youTubeVideoUrl:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-url"},youTubeVideoScale:{type:"string",default:"medium"},youTubeVideoMute:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-muted",default:"false"},youTubeVideoLoop:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-loop",default:"false"},youTubeVideoAutoplay:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-autoplay",default:"false"},backgroundVideoUrl:{type:"object"},backgroundVideoMute:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"muted",default:!1},backgroundVideoLoop:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"loop",default:!1},backgroundVideoAutoplay:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"autoplay",default:!1},backgroundVideoPoster:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"poster"},backgroundVideoControlsPosition:{type:"string",default:"top-right"},foregroundOpacity:{type:"number"},foregroundColor:{type:"string"},foregroundImage:{type:"object"},foregroundCustomImagePosition:{type:"object"},foregroundImagePosition:{type:"string"},foregroundImageAttachment:{type:"string"},foregroundImageRepeat:{type:"string"},foregroundImageSize:{type:"string"},foregroundFilter:{type:"string"},dividerTop:{type:"string"},dividersTopHeight:{type:"string"},dividerTopColor:{type:"string",default:"white"},dividerBottom:{type:"string"},dividersBottomHeight:{type:"string"},dividersBringTop:{type:"boolean",default:!1},dividerBottomColor:{type:"string",default:"white"},entranceAnimation:{type:"string"},entranceAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-duration",default:"1500ms"},entranceAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-delay",default:"200ms"},paddingTopValue:{type:"string"},paddingBottomValue:{type:"string"},paddingLeftValue:{type:"string"},paddingRightValue:{type:"string"},paddingTop:{type:"string",default:""},paddingBottom:{type:"string",default:""},paddingLeft:{type:"string",default:""},paddingRight:{type:"string",default:""},paddingTopTablet:{type:"string",default:""},paddingBottomTablet:{type:"string",default:""},paddingLeftTablet:{type:"string",default:""},paddingRightTablet:{type:"string",default:""},paddingTopMobile:{type:"string",default:""},paddingBottomMobile:{type:"string",default:""},paddingLeftMobile:{type:"string",default:""},paddingRightMobile:{type:"string",default:""},marginTopValue:{type:"string"},marginBottomValue:{type:"string"},marginLeftValue:{type:"string"},marginRightValue:{type:"string"},marginTop:{type:"string",default:""},marginBottom:{type:"string",default:""},marginLeft:{type:"string",default:""},marginRight:{type:"string",default:""},marginTopTablet:{type:"string",default:""},marginBottomTablet:{type:"string",default:""},marginLeftTablet:{type:"string",default:""},marginRightTablet:{type:"string",default:""},marginTopMobile:{type:"string",default:""},marginBottomMobile:{type:"string",default:""},marginLeftMobile:{type:"string",default:""},marginRightMobile:{type:"string",default:""}};t.a=r},function(e,t){var n={};n.parse=function(){function e(e){var t=new Error(N+": "+e);throw t.source=N,t}function t(){var t=n();return N.length>0&&e("Invalid input not EOF"),t}function n(){return w(r)}function r(){return o("linear-gradient",R.linearGradient,a)||o("repeating-linear-gradient",R.repeatingLinearGradient,a)||o("radial-gradient",R.radialGradient,s)||o("repeating-radial-gradient",R.repeatingRadialGradient,s)}function o(t,n,r){return i(n,function(n){var o=r();return o&&(P(R.comma)||e("Missing comma before color stops")),{type:t,orientation:o,colorStops:w(h)}})}function i(t,n){var r=P(t);if(r)return P(R.startCall)||e("Missing ("),result=n(r),P(R.endCall)||e("Missing )"),result}function a(){return l()||c()}function l(){return x("directional",R.sideOrCorner,1)}function c(){return x("angular",R.angleValue,1)}function s(){var e,t,n=u();return n&&(e=[],e.push(n),t=N,P(R.comma)&&(n=u(),n?e.push(n):N=t)),e}function u(){var e=p()||d();if(e)e.at=g();else{var t=f();t&&(e={type:"default-radial",at:t})}return e}function p(){var e=x("shape",/^(circle)/i,0);return e&&(e.style=S()||m()),e}function d(){var e=x("shape",/^(ellipse)/i,0);return e&&(e.style=C()||m()),e}function m(){return x("extent-keyword",R.extentKeywords,1)}function g(){if(x("position",/^at/,0)){var t=f();return t||e("Missing positioning value"),t}}function f(){var e=b();if(e.x||e.y)return{type:"position",value:e}}function b(){return{x:C(),y:C()}}function w(t){var n=t(),r=[];if(n)for(r.push(n);P(R.comma);)n=t(),n?r.push(n):e("One extra comma");return r}function h(){var t=v();return t||e("Expected color definition"),t.length=C(),t}function v(){return _()||k()||O()||y()}function y(){return x("literal",R.literalColor,0)}function _(){return x("hex",R.hexColor,1)}function O(){return i(R.rgbColor,function(){return{type:"rgb",value:w(E)}})}function k(){return i(R.rgbaColor,function(){return{type:"rgba",value:w(E)}})}function E(){return P(R.number)[1]}function C(){return x("%",R.percentageValue,1)||j()||S()}function j(){return x("position-keyword",R.positionKeywords,1)}function S(){return x("px",R.pixelValue,1)||x("em",R.emValue,1)}function x(e,t,n){var r=P(t);if(r)return{type:e,value:r[n]}}function P(e){var t,n;return n=/^[\n\r\t\s]+/.exec(N),n&&T(n[0].length),t=e.exec(N),t&&T(t[0].length),t}function T(e){N=N.substr(e)}var R={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},N="";return function(e){return N=e.toString(),t()}}(),t.parse=(n||{}).parse},function(e,t){function n(e){var t=e.split("");return t.shift(),t.join("")}function r(e){return e.split("").reduce(function(e,t){return e.concat([t,t])},[]).join("")}e.exports=function(e){e.charAt&&"#"===e.charAt(0)&&(e=n(e)),3===e.length&&(e=r(e));var t=parseInt(e,16);return[t>>16&255,t>>8&255,255&t]}},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(108)),v=(n.n(h),n(8)),y=n.n(v),_=wp.element,O=_.Component,k=_.Fragment,E=_.forwardRef,C=wp.components,j=C.Button,S=C.SVG,x=C.Path,P=C.G,T=function(e){function t(e){var r;return l()(this,t),r=n.apply(this,arguments),r.state={opened:void 0===e.initialOpen||e.initialOpen,onOpen:void 0===e.onOpen?void 0:e.onOpen,onClose:void 0===e.onClose?void 0:e.onClose},r.toggle=r.toggle.bind(p()(r)),r}m()(t,e);var n=r(t);return s()(t,[{key:"toggle",value:function(e){e.preventDefault(),this.state.opened?void 0!==this.state.onClose&&this.state.onClose():void 0!==this.state.onOpen&&this.state.onOpen(),void 0===this.props.opened&&this.setState(function(e){return{opened:!e.opened}}),this.props.onToggle&&this.props.onToggle()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,r=e.opened,o=e.className,i=e.icon,a=e.forwardedRef,l=e.hints,c=void 0===r?this.state.opened:r,s=y()("components-panel__body","components-getwid-panel-body",o,{"is-opened":c});return wp.element.createElement("div",{className:s,ref:a},!!t&&wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement(j,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":c},wp.element.createElement("span",{"aria-hidden":"true"},c?wp.element.createElement(S,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(P,null,wp.element.createElement(x,{fill:"none",d:"M0,0h24v24H0V0z"})),wp.element.createElement(P,null,wp.element.createElement(x,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):wp.element.createElement(S,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(P,null,wp.element.createElement(x,{fill:"none",d:"M0,0h24v24H0V0z"})),wp.element.createElement(P,null,wp.element.createElement(x,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),l?c?t:wp.element.createElement(k,null,wp.element.createElement("span",null,t),wp.element.createElement("div",{className:"components-getwid-panel-body-row"},l.map(function(e,t){return wp.element.createElement("div",{className:"components-getwid-panel-body-columns"},wp.element.createElement("span",null,""!=e.value&&e.label," "),""!=e.value&&e.value)}))):t,i&&wp.element.createElement(Icon,{icon:i,className:"components-panel__icon",size:20}))),c&&n)}}]),t}(O),R=function(e,t){return wp.element.createElement(T,i()({},e,{forwardedRef:t}))};R.displayName="PanelBody",t.a=E(R)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(){}t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(24)),c=r(n(20)),s=r(n(29)),u=n(47),p=(n(48),"unmounted");t.UNMOUNTED=p;var d="exited";t.EXITED=d;var m="entering";t.ENTERING=m;var g="entered";t.ENTERED=g;t.EXITING="exiting";var f=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n.transitionGroup,a=i&&!i.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=d,r.appearStatus=m):o=g:o=t.unmountOnExit||t.mountOnEnter?p:d,r.state={status:o},r.nextCallback=null,r}i(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:d}:null},n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==m&&n!==g&&(t=m):n!==m&&n!==g||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=s.default.findDOMNode(this);t===m?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:p})},n.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;if(!t&&!r)return void this.safeSetState({status:g},function(){n.props.onEntered(e)});this.props.onEnter(e,o),this.safeSetState({status:m},function(){n.props.onEntering(e,o),n.onTransitionEnd(e,a,function(){n.safeSetState({status:g},function(){n.props.onEntered(e,o)})})})},n.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();if(!n)return void this.safeSetState({status:d},function(){t.props.onExited(e)});this.props.onExit(e),this.safeSetState({status:"exiting"},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:d},function(){t.props.onExited(e)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;if(!e||r)return void setTimeout(this.nextCallback,0);this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,r=o(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var i=c.default.Children.only(n);return c.default.cloneElement(i,r)},t}(c.default.Component);f.contextTypes={transitionGroup:l.object},f.childContextTypes={transitionGroup:function(){}},f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:a,onEntering:a,onEntered:a,onExit:a,onExiting:a,onExited:a},f.UNMOUNTED=0,f.EXITED=1,f.ENTERING=2,f.ENTERED=3,f.EXITING=4;var b=(0,u.polyfill)(f);t.default=b},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function o(e){function t(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}this.setState(t.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,l=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?l="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==l){var c=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==l?"\n "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;!function(e){e&&e.__esModule}(n(24));t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.__esModule=!0,t.default=void 0;var c=r(n(24)),s=r(n(20)),u=n(47),p=n(119),d=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},m={component:"div",childFactory:function(e){return e}},g=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o=r.handleExited.bind(l(l(r)));return r.state={handleExited:o,firstRender:!0},r}a(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},n.componentDidMount=function(){this.appeared=!0,this.mounted=!0},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,p.getInitialChildMapping)(e,r):(0,p.getNextChildMapping)(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=(0,p.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=i({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=o(e,["component","childFactory"]),i=d(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i:s.default.createElement(t,r,i)},t}(s.default.Component);g.childContextTypes={transitionGroup:c.default.object.isRequired},g.propTypes={},g.defaultProps=m;var f=(0,u.polyfill)(g);t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}n.d(t,"a",function(){return F});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),O=(n(0),n(1)),k=(n.n(O),n(143)),E=n.n(k),C=n(8),j=n.n(C),S=n(10),x=(n.n(S),n(144)),P=n(145),T=(n.n(P),wp.components.Button),R=wp.element,N=R.Component,A=R.Fragment,B=R.createContext,M=wp.blockEditor||wp.editor,D=M.InnerBlocks,I=M.RichText,L=window,z=L.jQuery,V=B(),F=V.Consumer,H=V.Provider,G=["getwid/media-text-slider-slide"],W=E()(function(e){return Object(S.times)(e,function(e){return["getwid/media-text-slider-slide",{slideId:++e}]})}),U=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],q=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.changeState=e.changeState.bind(f()(e)),e.addNewSlide=e.addNewSlide.bind(f()(e)),e.getState=e.getState.bind(f()(e)),e.updateContentAttributes=e.updateContentAttributes.bind(f()(e)),e.setInnerBlocksAttributes=e.setInnerBlocksAttributes.bind(f()(e)),e.state={currentSlide:1,selectedSlide:0,isLockedPaddings:!1},e}w()(t,e);var n=i(t);return m()(t,[{key:"changeState",value:function(e,t){this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"setInnerBlocksAttributes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mount",t=arguments.length>1?arguments[1]:void 0,n=(arguments.length>2&&arguments[2],window.wp.data),r=n.select,o=n.dispatch,i=this.props.attributes,a=i.paddingRight,l=i.textColor,c=i.overlayColor,s=i.overlayOpacity,u=i.imageSize,p=this.props.attributes,d=p.contentMaxWidth,m=p.minHeight,g=p.verticalAlign,f=p.horizontalAlign,b=p.paddingTop,w=p.paddingBottom,h=p.paddingLeft,v={attributes:{contentMaxWidth:d,minHeight:m,verticalAlign:g,horizontalAlign:f,paddingTop:b,paddingBottom:w,paddingLeft:h,paddingRight:a,textColor:l,overlayColor:c,overlayOpacity:s,imageSize:u}};if("Update"!=e||!Object(S.isEqual)(this.props.attributes,t.attributes)){var y,_=r("core/block-editor"),O=_.getBlock,k=O(this.props.clientId);k&&(y=k.innerBlocks),y&&y.length&&jQuery.each(y,function(t,n){("Mount"==e&&Object(S.isEmpty)(n.attributes.outerParent)||"Update"==e)&&(o("core/block-editor").updateBlockAttributes(n.clientId,{outerParent:v}),void 0!==n.clientId&&n.innerBlocks.length&&o("core/block-editor").updateBlockAttributes(n.innerBlocks[0].clientId,{innerParent:v}))})}}},{key:"updateContentAttributes",value:function(e){var t=window.wp.data,n=t.dispatch,r=t.select,o=this.props.clientId,i=r("core/block-editor").getBlock(o).innerBlocks,a=this.props.attributes,l=a.contentMaxWidth,c=a.minHeight,s=a.textColor,u=a.overlayColor,p=a.overlayOpacity,d=a.imageSize,m=this.props.attributes,g=m.verticalAlign,f=m.horizontalAlign,b=m.paddingTop,w=m.paddingBottom,h=m.paddingLeft,v=m.paddingRight,y={attributes:{contentMaxWidth:l,minHeight:c,verticalAlign:g,horizontalAlign:f,paddingTop:b,paddingBottom:w,paddingLeft:h,paddingRight:v,textColor:s,overlayColor:u,overlayOpacity:p,imageSize:d}};z.each(i,function(t,r){Object(S.isEqual)(e,r.innerBlocks[0].clientId)&&n("core/block-editor").updateBlockAttributes(e,{innerParent:y})})}},{key:"addNewSlide",value:function(e){var t=this.props.setAttributes,n=this.props.attributes.sliderArrays,r=JSON.parse(n),o=this.changeState,i=this.getState;if(r.length<e){var a=Math.abs(e-r.length);Object(S.times)(a,function(t){var n=e-t;r.push(sprintf(Object(O.__)("Slide %d","getwid"),n))}),t({sliderArrays:JSON.stringify(r),slideCount:e})}else e-1<i("selectedSlide")&&(o("selectedSlide",e-1),o("currentSlide",e)),t({sliderArrays:JSON.stringify(r.slice(0,e)),slideCount:e})}},{key:"componentDidMount",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.sliderArrows,r=t.sliderDots;n&&r||e({sliderArrows:"outside",sliderDots:"outside"}),this.setInnerBlocksAttributes("Mount")}},{key:"componentDidUpdate",value:function(e,t){this.setInnerBlocksAttributes("Update",e,t)}},{key:"render",value:function(){var e,t=this,n=this.changeState,r=this.getState,i=this.props.attributes,a=i.slideCount,c=i.align,u=i.sliderArrays,p=this.props,d=p.className,m=p.baseClass,g=JSON.parse(u),f=j()(d,(e={},s()(e,"".concat(m,"--current-slide-").concat(r("currentSlide")),!0),s()(e,"alignfull","full"===c),s()(e,"alignwide","wide"===c),e)),b=function(e,n){var r=t.props.setAttributes,o=JSON.parse(u);o[n]=e,r({sliderArrays:JSON.stringify(o)})},w=function(e){if(void 0!==g[e])return wp.element.createElement(A,null,wp.element.createElement("li",{className:"".concat(m,"__title-wrapper ").concat(m,"__title-wrapper-").concat(e," ").concat(m,"__title-wrapper--").concat(1+e===r("currentSlide")?"active":"inactive")},wp.element.createElement("span",{className:"".concat(m,"__title ").concat(m,"__title-").concat(1+e),onClick:function(){n("currentSlide",1+e),n("selectedSlide",e)}},wp.element.createElement(I,{tagName:"div",className:"".concat(m,"__title_text"),placeholder:Object(O.__)("Slide","getwid"),value:g[e]?void 0!==g[e].text?g[e].text:g[e]:Object(O.__)("Slide","getwid"),unstableOnFocus:function(){return n("currentSlide",1+e)},onChange:function(t){b(t,e)},allowedFormats:U}))))},h=this.addNewSlide,v=this.state.isLockedPaddings;return wp.element.createElement(A,null,wp.element.createElement(x.a,l()({},o(o({},this.props),{},{isLockedPaddings:v,changeState:n,addNewSlide:h,getState:r}),{key:"inspector"})),wp.element.createElement("div",{className:f},wp.element.createElement("div",{className:"".concat(m,"__slides-wrapper")},wp.element.createElement("ul",{className:"".concat(m,"__titles")},wp.element.createElement(A,null,Object(S.times)(a,function(e){return w(e)}),wp.element.createElement("li",{className:"".concat(m,"__add-item")},wp.element.createElement(T,{icon:"insert",onClick:function(){return h(a+1)},label:Object(O.__)("Add Item","getwid")})))),wp.element.createElement("div",{className:"".concat(m,"__content")},wp.element.createElement(H,{value:this},wp.element.createElement(D,{template:W(a),templateLock:"all",templateInsertUpdatesSelection:!1,allowedBlocks:G}))))))}}]),t}(N);t.b=q},function(e,t,n){"use strict";var r={slideCount:{type:"number",default:3},imageSize:{type:"string",default:"full"},align:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},verticalAlign:{type:"string"},horizontalAlign:{type:"string"},paddingTop:{type:"string"},paddingBottom:{type:"string"},paddingLeft:{type:"string"},paddingRight:{type:"string"},textColor:{type:"string"},overlayColor:{type:"string"},overlayOpacity:{type:"number",default:"30"},contentAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-animation",default:"fadeIn"},contentAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-duration",default:"1500ms"},contentAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-delay",default:"0ms"},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"data-slide-effect"},sliderAutoplay:{type:"boolean",default:!1},pauseOnHover:{type:"boolean",default:!0},sliderAutoplaySpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"data-slide-autoplay-speed",default:5e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"slide-speed",default:1e3},sliderArrays:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-labels",default:'["Slide 1","Slide 2","Slide 3"]'},sliderArrows:{type:"string"},sliderDots:{type:"string"}};t.a=r},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return d}),n.d(t,"a",function(){return m});var r=n(7),o=n.n(r),i=n(1),a=(n.n(i),n(10)),l=(n.n(a),n(54)),c=window,s=c.jQuery,u=wp.data.select,p=wp.blocks.createBlock,d=function(e){var t=s.isPlainObject(e)?e.images:e,n=JSON.stringify(Object(a.times)(t.length,function(e){return"Slide ".concat(e+1)})),r=function(e){return[p("core/heading",{placeholder:Object(i.__)("Write heading…","getwid"),content:e.caption}),p("core/paragraph",{placeholder:Object(i.__)("Write text…","getwid")})]};return p("getwid/media-text-slider",{slideCount:t.length,sliderArrays:n},t.map(function(e,t){return p("getwid/media-text-slider-slide",{slideId:++t},[p("getwid/media-text-slider-slide-content",{mediaId:e.id,mediaUrl:e.url},r(e))])}))},m=function(e,t,n){var r=[],i=u("core/block-editor").getSelectedBlockClientId(),c=u("core/block-editor").getBlock(i).innerBlocks;if(c.length&&s.each(c,function(e,t){if(void 0!==t.innerBlocks[0].attributes.mediaUrl){var i;if(n&&n.push(t.innerBlocks[0].attributes.mediaId),r.push((i={},o()(i,!n&&"caption",""),o()(i,"id",t.innerBlocks[0].attributes.mediaId),o()(i,"url",t.innerBlocks[0].attributes.mediaUrl),i)),!n){var a=t.innerBlocks[0].innerBlocks[0];""!=a.attributes.content&&(r[r.length-1].caption=a.attributes.content)}}}),"image"==t.split("/").pop())return r.length?r.map(function(e){var n=e.id,r=e.url,o=e.caption;return p(t,{id:n,url:r,caption:o})}):p(t,{});if(Object(a.isEqual)(t,"getwid/content-timeline"))return Object(l.a)(r);var d;return p(t,(d={},o()(d,n&&"imageSize",e.imageSize),o()(d,"images",r.length?r.map(function(e){return{id:e.id,url:e.url,caption:e.caption}}):[]),o()(d,n&&"ids",n?n.length?n:[]:null),d))}},function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return f});var r=n(55),o=n.n(r),i=n(15),a=n.n(i),l=n(1),c=(n.n(l),n(10)),s=(n.n(c),n(53)),u=wp.data.select,p=wp.blocks.createBlock,d=window,m=d.jQuery,g=function(e){var t=m.isPlainObject(e)?a()(e.images):a()(e);return p("getwid/content-timeline",{},t.map(function(t,n){return p("getwid/content-timeline-item",{id:t.id,alt:t.alt,url:t.url,imageSize:e.imageSize},[p("core/heading",{placeholder:Object(l.__)("Write heading…","getwid"),content:t.caption}),p("core/paragraph",{placeholder:Object(l.__)("Write heading…","getwid")})])}))},f=function(e){var t=u("core/block-editor"),n=t.getBlock,r=t.getSelectedBlockClientId,i=r(),a=n(i).innerBlocks,l=[];return a.length&&m.each(a,function(e,t){var n=o()(t.innerBlocks,1),r=n[0];void 0!==t.attributes.url&&l.push({id:t.attributes.id,url:t.attributes.url,alt:t.attributes.alt,caption:r.attributes.content})}),Object(c.isEqual)(e,"core/image")?l.length?l.map(function(t){var n=t.id,r=t.url,o=t.alt,i=t.caption;return p(e,{id:n,url:r,alt:o,caption:i})}):p(e,{}):Object(c.isEqual)(e,"getwid/media-text-slider")?Object(s.b)(l):p(e,{imageSize:a[0].attributes.imageSize,images:l.length?l.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}):[],ids:l.map(function(e){return e.id})})}},function(e,t,n){function r(e,t){return o(e)||i(e,t)||a()}var o=n(32),i=n(148),a=n(33);e.exports=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}n.d(t,"a",function(){return C});var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(22)),f=n(1),b=(n.n(f),g.a.convertHorizontalAlignToStyle),w=g.a.convertVerticalAlignToStyle,h=wp.blockEditor||wp.editor,v=h.InnerBlocks,y=wp.element,_=y.Component,O=y.Fragment,k=y.createContext,E=k(),C=E.Consumer,j=E.Provider,S=["getwid/media-text-slider-slide-content"],x=[["getwid/media-text-slider-slide-content"]],P=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e,t,n,r,o,i,a,l,c=this.props.className,s=this.props.attributes,u=s.slideId,p=s.outerParent;if(void 0!==p.attributes){var d=p.attributes;e=d.paddingTop,t=d.paddingBottom,n=d.paddingLeft,r=d.paddingRight,o=d.minHeight,i=d.horizontalAlign,a=d.verticalAlign,l=d.contentMaxWidth}var m={};void 0!==p.attributes&&(m={paddingTop:e||null,paddingBottom:t||null,paddingLeft:n||null,paddingRight:r||null,minHeight:o||null,justifyContent:i?b(i):null,alignItems:a?w(a):null});var g;void 0!==p.attributes&&(g=void 0!==p&&void 0!==l?l:"80%");var f={maxWidth:g||null,width:"100%"};return wp.element.createElement(O,null,wp.element.createElement("div",{className:"".concat(c,"__content-wrapper slide-").concat(u)},wp.element.createElement("div",{style:m,className:"".concat(c,"__content")},wp.element.createElement("div",{style:f},wp.element.createElement(j,{value:this.props},wp.element.createElement(v,{templateLock:"all",template:x,templateInsertUpdatesSelection:!1,allowedBlocks:S}))))))}}]),t}(_);t.b=P},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r={backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-banner__source",attribute:"src"},type:{type:"string",default:"image"},title:{type:"string",source:"html",selector:"span"},text:{type:"string",source:"html",selector:"p"},link:{type:"string",source:"attribute",selector:".wp-block-getwid-banner a",attribute:"href"},align:{type:"string"},minHeight:{type:"string"},contentMaxWidth:{type:"string"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},backgroundOpacity:{type:"number",default:35},blockAnimation:{type:"string",default:"style4"},textAnimation:{type:"string",default:"opacity-bottom"},linkTarget:{type:"string",source:"attribute",selector:".wp-block-getwid-banner__link",attribute:"target"},rel:{type:"string",source:"attribute",selector:".wp-block-getwid-banner__link",attribute:"rel"}};t.a=r},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=k()(e);if(t()){var o=k()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}n.d(t,"a",function(){return X});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),O=n(3),k=n.n(O),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(191)),S=n(8),x=n.n(S),P=n(192),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,B=wp.blockEditor||wp.editor,M=B.InnerBlocks,D=B.RichText,I=B.BlockControls,L=wp.element,z=L.Component,V=L.Fragment,F=L.createContext,H=wp.components,G=H.Button,W=H.TextControl,U=H.ToolbarGroup,q=wp.blocks,Q=q.createBlock,K=q.cloneBlock,Y=window,J=Y.jQuery,$=["getwid/tabs-item"],Z=F(),X=Z.Consumer,ee=Z.Provider,te=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],ne=function(e){function t(){var e;m()(this,t),e=n.apply(this,arguments);var r=e.props.attributes.active;return e.updateParentOptions=e.updateParentOptions.bind(w()(e)),e.renderConstructorForm=e.renderConstructorForm.bind(w()(e)),e.onConstructAcc=e.onConstructAcc.bind(w()(e)),e.changeState=e.changeState.bind(w()(e)),e.getState=e.getState.bind(w()(e)),e.addTab=e.addTab.bind(w()(e)),e.moveTabLeft=e.moveTabLeft.bind(w()(e)),e.moveTabRight=e.moveTabRight.bind(w()(e)),e.duplicateTab=e.duplicateTab.bind(w()(e)),e.deleteTab=e.deleteTab.bind(w()(e)),e.state={selectedTab:void 0!==r?parseInt(r):0,initTabs:!1,initNavs:!1,updateNavs:!1,initialTabsCount:3},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onConstructAcc",value:function(e){e.preventDefault(),this.changeState({initTabs:!0})}},{key:"renderConstructorForm",value:function(){var e=this,t=this.state.initialTabsCount;return wp.element.createElement("form",{onSubmit:this.onConstructAcc},wp.element.createElement(W,{type:"number",label:Object(E.__)("Number of items","getwid"),onChange:function(t){return e.changeState({initialTabsCount:t})},value:t,min:"1"}),wp.element.createElement(G,{isPrimary:!0,type:"submit"},Object(E.__)("Create","getwid")))}},{key:"render",value:function(){var e,t=this,n=this.changeState,r=this.getState,i=this.props,a=i.attributes,c=a.align,u=a.active,p=a.type,d=a.headerTag,m=i.className,g=i.baseClass,f=i.getBlock,b=i.clientId,w=i.isSelected,h=i.updateBlockAttributes,v=this.state,y=v.selectedTab,_=v.initialTabsCount,O=v.initTabs,k=f(b);if(e=k.innerBlocks,!e.length&&0==O)return this.renderConstructorForm();var S=d;return wp.element.createElement(V,null,wp.element.createElement(I,{key:"toolbar"},wp.element.createElement(U,{controls:this.getTabsDropdown()})),wp.element.createElement(j.a,l()({},o(o(o({},this.props),{changeState:n}),{getState:r}),{key:"inspector"})),wp.element.createElement("div",{className:x()(m,"".concat(g,"--current-tab-").concat(y+1),s()({},"has-layout-".concat(p),""!==p),c?"align".concat(c):null),"data-active-tab":void 0!=u?u:"0"},wp.element.createElement("ul",{className:"".concat(g,"__nav-links")},e.map(function(e,n){return wp.element.createElement(V,null,wp.element.createElement("li",{className:x()("".concat(g,"__nav-link"),{"active-tab":y==n}),onClick:function(e){t.selectTab(n)}},wp.element.createElement(S,{className:"".concat(g,"__title-wrapper")},wp.element.createElement("a",{href:"#"},wp.element.createElement("div",{className:"".concat(g,"__edit-area")},wp.element.createElement(D,{tagName:"span",className:"".concat(g,"__title"),placeholder:Object(E.__)("Write heading…","getwid"),value:e.attributes.title,allowedFormats:te,onChange:function(t){h(e.clientId,{title:t})},keepPlaceholderOnFocus:!0}))))))}),w&&wp.element.createElement("div",{className:"".concat(g,"__add-tab")},wp.element.createElement(G,{icon:"insert",onClick:function(n){t.addTab(e.length)},label:Object(E.__)("Add Tab","getwid")}))),wp.element.createElement("div",{className:"".concat(g,"__tab-content-wrapper")},wp.element.createElement("div",{className:"".concat(g,"__tab-content")},wp.element.createElement(ee,{value:this},wp.element.createElement(M,{__experimentalUIParts:{hasSelectedUI:!1,hasMovers:!1},templateInsertUpdatesSelection:!1,allowedBlocks:$,template:Object(C.times)(_,function(e){return["getwid/tabs-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),++e)}]}),templateLock:!1,renderAppender:function(){return""}}))))))}},{key:"getTabsDropdown",value:function(){var e=this,t=this.state.selectedTab,n=this.props,r=n.getBlock,o=n.clientId,i=r(o),a=i.innerBlocks;return[{icon:"table-col-before",title:Object(E.__)("Add Item Before","getwid"),isDisabled:null===t,onClick:function(){e.addTab(0==t?0:t-1)}},{icon:"table-col-after",title:Object(E.__)("Add Item After","getwid"),isDisabled:null===t,onClick:function(){e.addTab(t+1)}},{icon:"arrow-left-alt2",title:Object(E.__)("Move Item Left","getwid"),isDisabled:null===t||0===t,onClick:this.moveTabLeft},{icon:"arrow-right-alt2",title:Object(E.__)("Move Item Right","getwid"),isDisabled:null===t||t===a.length-1,onClick:this.moveTabRight},{icon:"admin-page",title:Object(E.__)("Duplicate Item","getwid"),isDisabled:null===t,onClick:this.duplicateTab},{icon:"trash",title:Object(E.__)("Delete Item","getwid"),isDisabled:null===t||1==a.length,onClick:this.deleteTab}]}},{key:"moveTabLeft",value:function(){var e=this.state.selectedTab,t=this.props,n=t.moveBlockToPosition,r=t.getBlock,o=t.clientId;n(r(o).innerBlocks[e].clientId,o,o,e-1),this.selectTab(e-1)}},{key:"moveTabRight",value:function(){var e=this.state.selectedTab,t=this.props,n=t.moveBlockToPosition,r=t.getBlock,o=t.clientId;n(r(o).innerBlocks[e].clientId,o,o,e+1),this.selectTab(e+1)}},{key:"duplicateTab",value:function(){var e=this.state.selectedTab,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){var a=i.innerBlocks;if(a.length&&void 0!==a[e]){var l=K(r(a[e].clientId));l.attributes.title="".concat(l.attributes.title," ").concat(Object(E.__)("Copy","getwid")),n(l,e+1,o)}}}},{key:"deleteTab",value:function(){var e=this.state.selectedTab,t=this.props,n=t.removeBlocks,r=t.getBlock,o=t.clientId,i=r(o);if(i){var a=i.innerBlocks;a.length&&void 0!==a[e]&&(n(a[e].clientId),this.selectTab(0))}}},{key:"selectTab",value:function(e){this.setState({selectedTab:e})}},{key:"addTab",value:function(e){var t,n=this.props,r=n.insertBlock,o=n.selectBlock,i=n.getBlock,a=n.clientId,l=i(a);if(l){t=l.innerBlocks;r(Q("getwid/tabs-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),t.length+1)}),e,a),this.selectTab(e),o(a)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this.state,o=(r.selectedTab,r.initNavs,this.props.clientId),i=this.props,a=i.getBlock,l=i.updateBlockAttributes,c=a(o);c&&(n=c.innerBlocks);var s=(J("#block-".concat(o)),this.props.attributes.headerTag);Object(C.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&J.each(n,function(e,t){l(t.clientId,{outerParent:{attributes:{headerTag:s}}})})}},{key:"updateParentOptions",value:function(e){var t=this.state.updateNavs;"init"==e?this.changeState({initNavs:!0}):"update"==e&&this.changeState({updateNavs:!t})}}]),t}(z);t.b=T([N(function(e,t){var n=e("core/block-editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/block-editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,moveBlockToPosition:n.moveBlockToPosition,removeBlocks:n.removeBlocks,updateBlockAttributes:r,selectBlock:n.selectBlock}})])(ne)},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=k()(e);if(t()){var o=k()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}n.d(t,"a",function(){return K});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),O=n(3),k=n.n(O),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(205)),S=n(8),x=n.n(S),P=n(206),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,B=wp.blockEditor||wp.editor,M=B.InnerBlocks,D=wp.element,I=D.Component,L=D.Fragment,z=D.createContext,V=wp.components,F=V.TextControl,H=V.Button,G=wp.blocks.createBlock,W=window,U=W.jQuery,q=["getwid/accordion-item"],Q=z(),K=Q.Consumer,Y=Q.Provider,J=function(e){function t(){var e;return m()(this,t),e=n.apply(this,arguments),e.updateParentOptions=e.updateParentOptions.bind(w()(e)),e.renderConstructorForm=e.renderConstructorForm.bind(w()(e)),e.onConstructAcc=e.onConstructAcc.bind(w()(e)),e.changeState=e.changeState.bind(w()(e)),e.getState=e.getState.bind(w()(e)),e.addItem=e.addItem.bind(w()(e)),e.state={initAccordions:!1,initialAccCount:3},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onConstructAcc",value:function(e){e.preventDefault(),this.changeState({initAccordions:!0})}},{key:"renderConstructorForm",value:function(){var e=this,t=this.state.initialAccCount;return wp.element.createElement("form",{onSubmit:this.onConstructAcc},wp.element.createElement(F,{type:"number",label:Object(E.__)("Number of items","getwid"),onChange:function(t){return e.changeState({initialAccCount:t})},value:t,min:"1"}),wp.element.createElement(H,{isPrimary:!0,type:"submit"},Object(E.__)("Create","getwid")))}},{key:"render",value:function(){var e,t,n=this,r=this.changeState,i=this.getState,a=this.props,c=a.attributes,u=c.align,p=c.iconPosition,d=c.active,m=a.className,g=a.baseClass,f=a.getBlock,b=a.clientId,w=a.isSelected,h=this.state,v=h.initialAccCount,y=h.initAccordions;return t=f(b).innerBlocks,t.length||0!=y?wp.element.createElement(L,null,wp.element.createElement(j.a,l()({},o(o(o({},this.props),{changeState:r}),{getState:i}),{key:"inspector"})),wp.element.createElement("div",{className:x()(m,(e={},s()(e,"".concat(g,"--current-item-").concat(parseInt(d,10)+1),"none"!=d),s()(e,"has-icon-left","left"===p),e),u?"align".concat(u):null),"data-active-element":void 0!=d?d:"0"},wp.element.createElement(Y,{value:this},wp.element.createElement(M,{templateInsertUpdatesSelection:!1,allowedBlocks:q,template:Object(C.times)(v,function(e){return["getwid/accordion-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),++e)}]}),templateLock:!1,renderAppender:function(){return w?wp.element.createElement("div",{className:"".concat(g,"__add-accordion")},wp.element.createElement(H,{icon:"insert",onClick:n.addItem,label:Object(E.__)("Add Accordion","getwid")})):""}})))):this.renderConstructorForm()}},{key:"addItem",value:function(){var e,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){e=i.innerBlocks;n(G("getwid/accordion-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),e.length+1)}),e.length,o)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this.props.clientId,o=this.props,i=o.getBlock,a=o.updateBlockAttributes,l=i(r);l&&(n=l.innerBlocks);var c=(U("#block-".concat(r)),this.props.attributes),s=c.iconPosition,u=c.iconOpen,p=c.iconClose,d=c.active,m=c.headerTag;Object(C.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&U.each(n,function(e,t){a(t.clientId,{outerParent:{attributes:{iconPosition:s,iconOpen:u,iconClose:p,active:d,headerTag:m}}})})}},{key:"updateParentOptions",value:function(){var e=this.props.clientId;U("#block-".concat(e))}}]),t}(I);t.b=T([N(function(e,t){var n=e("core/block-editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/block-editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,updateBlockAttributes:r}})])(J)},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=k()(e);if(t()){var o=k()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}n.d(t,"a",function(){return K});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),O=n(3),k=n.n(O),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(218)),S=n(8),x=n.n(S),P=n(219),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,B=wp.blockEditor||wp.editor,M=B.InnerBlocks,D=wp.element,I=D.Component,L=D.Fragment,z=D.createContext,V=wp.components,F=V.TextControl,H=V.Button,G=wp.blocks.createBlock,W=window,U=W.jQuery,q=["getwid/toggle-item"],Q=z(),K=Q.Consumer,Y=Q.Provider,J=function(e){function t(){var e;return m()(this,t),e=n.apply(this,arguments),e.updateParentOptions=e.updateParentOptions.bind(w()(e)),e.renderConstructorForm=e.renderConstructorForm.bind(w()(e)),e.onConstructToggle=e.onConstructToggle.bind(w()(e)),e.changeState=e.changeState.bind(w()(e)),e.getState=e.getState.bind(w()(e)),e.addItem=e.addItem.bind(w()(e)),e.state={initToggle:!1,initialToggleCount:3},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onConstructToggle",value:function(e){e.preventDefault(),this.changeState({initToggle:!0})}},{key:"renderConstructorForm",value:function(){var e=this,t=this.state.initialToggleCount;return wp.element.createElement("form",{onSubmit:this.onConstructToggle},wp.element.createElement(F,{type:"number",label:Object(E.__)("Number of items","getwid"),onChange:function(t){return e.changeState({initialToggleCount:t})},value:t,min:"1"}),wp.element.createElement(H,{isPrimary:!0,type:"submit"},Object(E.__)("Create","getwid")))}},{key:"render",value:function(){var e,t=this,n=this.changeState,r=this.getState,i=this.props,a=i.attributes.iconPosition,c=i.className,s=i.baseClass,u=i.getBlock,p=i.clientId,d=i.isSelected,m=this.state,g=m.initialToggleCount,f=m.initToggle;return e=u(p).innerBlocks,e.length||0!=f?wp.element.createElement(L,null,wp.element.createElement(j.a,l()({},o(o(o({},this.props),{changeState:n}),{getState:r}),{key:"inspector"})),wp.element.createElement("div",{className:x()(c,{"has-icon-left":"left"===a})},wp.element.createElement(Y,{value:this},wp.element.createElement(M,{templateInsertUpdatesSelection:!1,allowedBlocks:q,template:Object(C.times)(g,function(e){return["getwid/toggle-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),++e)}]}),templateLock:!1,renderAppender:function(){return d?wp.element.createElement("div",{className:"".concat(s,"__add-toggle")},wp.element.createElement(H,{icon:"insert",onClick:t.addItem,label:Object(E.__)("Add Toggle","getwid")})):""}})))):this.renderConstructorForm()}},{key:"addItem",value:function(){var e,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){e=i.innerBlocks;n(G("getwid/toggle-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),e.length+1)}),e.length,o)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this.props.clientId,o=this.props,i=o.getBlock,a=o.updateBlockAttributes,l=i(r);l&&(n=l.innerBlocks);var c=(U("#block-".concat(r)),this.props.attributes),s=c.iconPosition,u=c.iconOpen,p=c.iconClose,d=c.headerTag;Object(C.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&U.each(n,function(e,t){a(t.clientId,{outerParent:{attributes:{iconPosition:s,iconOpen:u,iconClose:p,headerTag:d}}})})}},{key:"updateParentOptions",value:function(){var e=this.props.clientId;U("#block-".concat(e))}}]),t}(I);t.b=T([N(function(e,t){var n=e("core/block-editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/block-editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,updateBlockAttributes:r}})])(J)},function(e,t){},function(e,t,n){"use strict";var r={align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-getwid-images-stack .wp-block-getwid-images-stack__media-wrapper",query:{url:{source:"attribute",selector:"img",attribute:"src"},original_url:{source:"attribute",selector:"a",attribute:"href"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},imageSize:{type:"string",default:"full"},linkTo:{type:"string",default:"none"},stackStyle:{type:"string",default:"default"},stackOverlap:{type:"string",default:"default"}};t.a=r},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var o=n(253),i=n.n(o),a=n(255),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(11),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=n(7),_=n.n(y),O=n(0),k=n(8),E=n.n(k),C=n(1),j=(n.n(C),n(256)),S=(n.n(j),lodash),x=S.startCase,P=S.toLower,T=window,R=(T.jQuery,wp.compose.withInstanceId),N=wp.components,A=N.Button,B=N.BaseControl,M=N.Dropdown,D=N.MenuGroup,I=N.MenuItem,L=N.SelectControl,z=N.TextControl,V=wp.element.Component,F=function(e){function t(){var e;return s()(this,t),e=n.apply(this,arguments),_()(m()(e),"enableGoogleFonts",!0),e.search=React.createRef(),e.enableGoogleFonts=wp.hooks.applyFilters("getwid.fontsControl.enableGoogleFonts",e.enableGoogleFonts),e.state={googleFonts:null,fonts:null,search:"",selectedFont:null},e}f()(t,e);var n=r(t);return p()(t,[{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=l()(i.a.mark(function e(){var t,n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],!this.enableGoogleFonts){e.next=5;break}return e.next=4,this.loadGoogleFonts();case 4:t.push({id:"google-fonts",title:Object(C.__)("Google Fonts","getwid"),items:this.state.googleFonts});case 5:return n=wp.hooks.applyFilters("getwid.fontsControl.fonts",t),n=this.processLoadedFonts(n),e.abrupt("return",this.setState({fonts:n}));case 8:case"end":return e.stop()}},e,this)}));return e}()},{key:"loadGoogleFonts",value:function(){var e=this;return fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyAWN8pd8HMruaR92oVbykdg-Q2HpgsikKU").then(function(e){return e.json()}).then(function(t){e.setState({googleFonts:t.items})})}},{key:"processLoadedFonts",value:function(e){var t=this;return e.map(function(e){return e.items.map(function(e){return e.variants=t.filterFontVariants(e.variants),e.family===t.props.value&&t.setState({selectedFont:e}),e}),e})}},{key:"filterFontVariants",value:function(e){return e.filter(function(e){return"italic"!==e}).map(function(e){return{label:"regular"===P(e)?"400":x(P(e)),value:"regular"===e?"normal":e}})}},{key:"selectFont",value:function(e,t){this.props.onChangeFontGroupID(e),this.props.onChangeFontFamily(t.family),this.props.onChangeFontWeight("normal"),this.setState({selectedFont:t,search:""})}},{key:"fontMatchesSearch",value:function(e){var t=this.state.search;return!t||e.family.toLowerCase().includes(t.toLowerCase())||e.title&&e.title.toLowerCase().includes(t.toLowerCase())}},{key:"render",value:function(){var e=this,t="inspector-fonts-control-".concat(this.props.instanceId),n=this.state.selectedFont&&this.state.selectedFont.variants?this.state.selectedFont.variants:null,r=this.state.selectedFont&&this.state.selectedFont.title?this.state.selectedFont.title:this.props.value;return wp.element.createElement("div",{className:"components-getwid-fonts-control"},wp.element.createElement(B,{label:this.props.label,id:t},null!==this.state.fonts?wp.element.createElement(M,{contentClassName:"components-getwid-fonts-popover",position:"bottom center",renderToggle:function(e){var n=e.isOpen,o=e.onToggle;return wp.element.createElement(A,{isLarge:!0,className:"components-getwid-fonts-button",id:t,onClick:o,"aria-expanded":n},r||Object(C.__)("Select Font Family","getwid"))},renderContent:function(t){var n=t.onToggle;return wp.element.createElement(D,null,wp.element.createElement(z,{value:e.state.search,onChange:function(t){return e.setState({search:t})}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(I,{onClick:function(){n(),e.props.onChangeFontGroupID(""),e.props.onChangeFontFamily(""),e.props.onChangeFontWeight(""),e.setState({selectedFont:null,search:""})}},Object(C.__)("Default","getwid")),e.state.fonts.map(function(t){var r=t.id;return Object(O.b)(O.a,null,wp.element.createElement("h4",{style:{margin:0}},t.title),t.items.map(function(t){if(e.fontMatchesSearch(t))return wp.element.createElement(I,{className:E()({"is-selected":t.family===e.props.value}),onClick:function(){n(),e.selectFont(r,t)}},t.title||t.family)}))})))}}):Object(C.__)("Loading…","getwid")),wp.element.createElement(L,{label:Object(C.__)("Font Weight","getwid"),value:this.props.valueWeight||"",options:n||[{value:"",label:Object(C.__)("Default","getwid")},{value:"100",label:"100"},{value:"200",label:"200"},{value:"300",label:"300"},{value:"normal",label:"400"},{value:"500",label:"500"},{value:"600",label:"600"},{value:"700",label:"700"},{value:"800",label:"800"},{value:"900",label:"900"}],onChange:this.props.onChangeFontWeight}))}}]),t}(V);t.a=R(F)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(20),s=r(c),u=n(24),p=r(u),d=function(e){function t(){var e,n,r,a;o(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.link=null,r.createLink=function(){var e=r.props,t=e.fonts,n=e.subsets,o=t.reduce(function(e,t){var n=t.font.replace(/ +/g,"+"),r=(t.weights||[]).join(",");return e.push(n+(r&&":"+r)),e},[]).join("|"),i=document.createElement("link");return i.rel="stylesheet",i.href="https://fonts.googleapis.com/css?family="+o,n&&Array.isArray(n)&&n.length>0&&(i.href+="&subset="+n.join(",")),i},r.appendLink=function(){return document.head.appendChild(r.link)},r.removeLink=function(){return document.head.removeChild(r.link)},r.replaceLink=function(){r.removeLink(),r.link=r.createLink(),r.appendLink()},r.render=function(){return null},a=n,i(r,a)}return a(t,e),l(t,[{key:"componentDidMount",value:function(){this.link=this.createLink(),this.appendLink()}},{key:"componentDidUpdate",value:function(e){JSON.stringify(e.fonts)!==JSON.stringify(this.props.fonts)&&this.replaceLink()}},{key:"componentWillUnmount",value:function(){this.removeLink()}}]),t}(s.default.PureComponent);d.propTypes={fonts:p.default.arrayOf(p.default.shape({font:p.default.string.isRequired,weights:p.default.arrayOf(p.default.oneOfType([p.default.string,p.default.number]))})).isRequired,subsets:p.default.arrayOf(p.default.string)},t.default=d},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r={imageSize:{type:"string",default:"full"},imageCrop:{type:"boolean",default:!0},title:{type:"string",source:"html",selector:".wp-block-getwid-person__title"},subtitle:{type:"string",source:"html",selector:".wp-block-getwid-person__subtitle"},content:{type:"string",source:"html",selector:".wp-block-getwid-person__content"},imgId:{type:"number"},imgUrl:{type:"string",source:"attribute",attribute:"src",selector:".wp-block-getwid-person__image img"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:".wp-block-getwid-person__image img"}};t.a=r},function(e,t,n){"use strict";var r={photoCount:{type:"number",default:6},gridColumns:{type:"number",default:3},spacing:{type:"string",default:"default"},align:{type:"string"},className:{type:"string"}};t.a=r},function(e,t,n){"use strict";var r=(n(0),n(1)),o=(n.n(r),window),i=(o.jQuery,wp.blockEditor||wp.editor),a=i.PlainText,l=wp.components.ToggleControl,c="getwid-field-label",s=function(e){var t=e.setAttributes,n=e.label,o=e.isSelected,i=e.required,s=e.requiredDefault;return wp.element.createElement("div",{className:"".concat(c)},wp.element.createElement(a,{value:n,className:"".concat(c,"__input"),onChange:function(e){return t({label:e})},placeholder:Object(r.__)("Write label…","getwid")}),o&&!s&&wp.element.createElement(l,{label:Object(r.__)("Required","getwid"),className:"".concat(c,"__required"),checked:i,onChange:function(e){return t({required:e})}}),!o&&i&&!s&&wp.element.createElement("span",{className:"required"},Object(r.__)("Required","getwid")),s&&wp.element.createElement("span",{className:"required"},Object(r.__)("Required","getwid")))};t.a=s},function(e,t,n){"use strict";var r=(n(0),n(76)),o=n(1),i=(n.n(o),window),a=(i.jQuery,wp.element.Fragment),l=wp.blockEditor||wp.editor,c=l.InspectorControls,s=wp.components,u=s.TextControl,p=s.PanelBody,d=function(e){var t=e.type,n=e.className,i=e.setAttributes,l=e.label,s=e.isSelected,d=e.required,m=e.requiredDefault,g=e.placeholder,f=e.id;return wp.element.createElement(a,null,wp.element.createElement("div",{className:"".concat(n)},wp.element.createElement(u,{type:t,label:wp.element.createElement(r.a,{label:l,required:d,isSelected:s,setAttributes:i,requiredDefault:m}),value:g,onChange:function(e){return i({placeholder:e})},title:Object(o.__)("Set the placeholder text","getwid")})),wp.element.createElement(c,null,wp.element.createElement(p,{title:Object(o.__)("Settings","getwid")},wp.element.createElement(u,{label:Object(o.__)("ID","getwid"),value:f,onChange:function(e){return i({id:e})}}))))};t.a=d},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];o("getwid/".concat(e),t),n.length&&n.forEach(function(e){o("getwid/".concat(e.name),e.settings)})}t.a=r;var o=wp.blocks.registerBlockType},function(e,t,n){"use strict";var r={postTemplate:{type:"string"},postsToShow:{type:"number",default:5},offset:{type:"number",default:0},ignoreSticky:{type:"boolean",default:!0},filterById:{type:"string"},excludeById:{type:"string"},excludeCurrentPost:{type:"boolean",default:!1},childPagesCurrentPage:{type:"boolean",default:!1},parentPageId:{type:"string"},postType:{type:"string",default:"post"},taxonomy:{type:"array",items:{type:"string"}},terms:{type:"array",items:{type:"string"}},relation:{type:"string",default:"AND"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},align:{type:"string"},sliderSlidesToShowDesktop:{type:"string",default:"2"},sliderSlidesToShowLaptop:{type:"string",default:"1"},sliderSlidesToShowTablet:{type:"string",default:"1"},sliderSlidesToShowMobile:{type:"string",default:"1"},sliderSlidesToScroll:{type:"string",default:"1"},sliderAutoplay:{type:"boolean",default:!1},sliderAutoplaySpeed:{type:"string",default:6e3},sliderInfinite:{type:"boolean",default:!0},sliderAnimationSpeed:{type:"string",default:800},sliderCenterMode:{type:"boolean",default:!1},sliderSpacing:{type:"string",default:"small"},sliderArrows:{type:"string",default:"inside"},sliderDots:{type:"string",default:"outside"},className:{type:"string"},metaQuery:{type:"array",default:[]}};t.a=r},function(e,t,n){"use strict";var r={postTemplate:{type:"string"},postsToShow:{type:"number",default:5},offset:{type:"number",default:0},ignoreSticky:{type:"boolean",default:!0},filterById:{type:"string"},excludeById:{type:"string"},excludeCurrentPost:{type:"boolean",default:!1},childPagesCurrentPage:{type:"boolean",default:!1},parentPageId:{type:"string"},postType:{type:"string",default:"post"},taxonomy:{type:"array",items:{type:"string"}},terms:{type:"array",items:{type:"string"}},relation:{type:"string",default:"AND"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},minHeight:{type:"string"},align:{type:"string"},textAlignment:{type:"string",default:"left"},sliderAnimationEffect:{type:"string",default:"slide"},sliderAutoplay:{type:"boolean",default:!1},sliderAutoplaySpeed:{type:"string",default:"6000"},sliderInfinite:{type:"boolean",default:!0},sliderAnimationSpeed:{type:"string",default:"800"},sliderArrows:{type:"string",default:"inside"},sliderDots:{type:"string",default:"inside"},className:{type:"string"},metaQuery:{type:"array",default:[]}};t.a=r},function(e,t,n){"use strict";var r={titleColor:{type:"string"},customTitleColor:{type:"string"},iconColor:{type:"string"},customIconColor:{type:"string"},buttonColorHEX:{type:"string"},buttonColor:{type:"string"},customButtonColor:{type:"string"},overlayColor:{type:"string"},customOverlayColor:{type:"string"},imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-video-popup__source",attribute:"src"},title:{type:"string",source:"html",selector:".wp-block-getwid-video-popup__title"},link:{type:"string"},align:{type:"string"},minHeight:{type:"string"},buttonMaxWidth:{type:"string"},overlayOpacity:{type:"number",default:35},imageAnimation:{type:"string",default:"none"},buttonStyle:{type:"string",default:"default"},buttonAnimation:{type:"string",default:"none"},buttonSize:{type:"string",default:"default"}};t.a=r},function(e,t){},function(e,t,n){"use strict";var r={imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot__wrapper img",attribute:"src"},alt:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot__wrapper img",attribute:"alt"},tooltipTrigger:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-trigger",default:"click"},tooltipTheme:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-theme",default:"light"},tooltipArrow:{type:"boolean",default:!0},tooltipAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-tooltip-animation",default:"shift-toward"},dotIcon:{type:"string",default:"fas fa-plus"},dotSize:{type:"number",default:16},dotPaddings:{type:"number",default:6},dotColor:{type:"string"},dotBackground:{type:"string"},dotOpacity:{type:"number",default:100},dotPulse:{type:"string",default:"pulse"},dotAppearanceAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-appearance-animation",default:"none"},align:{type:"string"},hoverAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-animation",default:""},imagePoints:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-image-points",default:""}};t.a=r},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){p()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=C()(e);if(t()){var o=C()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k()(this,n)}}n.d(t,"a",function(){return K});var a=n(28),l=n.n(a),c=n(9),s=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),g=n(2),f=n.n(g),b=n(4),w=n.n(b),h=n(11),v=n.n(h),y=n(5),_=n.n(y),O=n(6),k=n.n(O),E=n(3),C=n.n(E),j=(n(0),n(1)),S=(n.n(j),n(10)),x=(n.n(S),n(495)),P=n(496),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,B=wp.blockEditor||wp.editor,M=B.withColors,D=B.InnerBlocks,I=B.getColorObjectByAttributeValues,L=wp.element,z=L.Component,V=L.Fragment,F=L.createContext,H=wp.components.Button,G=wp.blocks.createBlock,W=window,U=W.jQuery,q=["getwid/content-timeline-item"],Q=F(),K=Q.Consumer,Y=Q.Provider,J=function(e){function t(){var e;return f()(this,t),e=n.apply(this,arguments),e.updateLineHeight=e.updateLineHeight.bind(v()(e)),e.updateBarHeight=e.updateBarHeight.bind(v()(e)),e.setColorByScroll=e.setColorByScroll.bind(v()(e)),e.changeState=e.changeState.bind(v()(e)),e.addItem=e.addItem.bind(v()(e)),e.state={isLockedPaddings:!1},e}_()(t,e);var n=i(t);return w()(t,[{key:"changeState",value:function(e,t){"object"==m()(e)?this.setState(e):"string"==typeof e&&this.setState(p()({},e,t))}},{key:"getColor",value:function(){var e=this.props.getSettings,t=this.props.attributes,n=t.fillColor,r=t.customFillColor;if(n){var o=Object(S.get)(e(),["colors"],[]);return I(o,n).color}if(r)return r}},{key:"render",value:function(){var e=this,t=this.changeState,n=this.state.isLockedPaddings,r=this.props,i=r.className,a=r.baseClass,l=this.getColor(),c={style:{backgroundColor:l||void 0}};return wp.element.createElement(V,null,wp.element.createElement(x.a,s()({},o(o(o({},this.props),{isLockedPaddings:n}),{changeState:t}),{key:"inspector"})),wp.element.createElement("div",{className:"".concat(i)},wp.element.createElement("div",{className:"".concat(a,"__line")},wp.element.createElement("div",s()({className:"".concat(a,"__bar")},c))),wp.element.createElement(Y,{value:this},wp.element.createElement(D,{templateInsertUpdatesSelection:!1,allowedBlocks:q,template:[["getwid/content-timeline-item"]],templateLock:!1,renderAppender:function(){return wp.element.createElement("div",{className:"".concat(a,"__add-item")},wp.element.createElement(H,{icon:"insert",onClick:e.addItem,label:Object(j.__)("Add Item","getwid")}))}}))))}},{key:"addItem",value:function(){var e,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){var a=G("getwid/content-timeline-item");e=i.innerBlocks,n(a,e.length,o)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this,o=this.props.clientId,i=this.props,a=i.getBlock,l=i.updateBlockAttributes,c=a(o);c&&(n=c.innerBlocks);var s=U("#block-".concat(o)),u=this.props.attributes,p=u.backgroundColor,d=u.customBackgroundColor,m=this.props.attributes,g=m.paddingTop,f=m.paddingBottom,b=m.paddingLeft,w=m.paddingRight,h=m.animation,v=this.props.attributes,y=v.horizontalSpace,_=v.marginBottom,O=this.getColor();Object(S.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&U.each(n,function(e,t){l(t.clientId,{outerParent:{attributes:{backgroundColor:p,customBackgroundColor:d,paddingTop:g,paddingBottom:f,paddingLeft:b,paddingRight:w,horizontalSpace:y,marginBottom:_,pointColor:O,animation:h}}})});var k=this.props.attributes.filling;if(!Object(S.isEqual)(e.attributes.filling,k)){var E=U(".edit-post-layout").find("div[class$=__content]");if(U.parseJSON(k)){var C=function(){r.setColorByScroll(s),r.updateBarHeight(s)};C(),E.scroll(function(){C()})}else E.off(),this.disableFilling(s)}var j=this.props.attributes,x=j.fillColor,P=j.customFillColor;if(!Object(S.isEqual)(e.attributes.fillColor,x)||!Object(S.isEqual)(e.attributes.customFillColor,P)){var T=s.find("div[class$=__point]"),R=this.getColor();U.each(T,function(e,t){U(t).offset().top<=U(window).height()/2&&U(t).find(":first-child").css({borderColor:R||""})})}}},{key:"updateLineHeight",value:function(){var e=this.props.clientId,t=U("#block-".concat(e)),n=t.find("div[class$=__point]"),r=0;U.each(n,function(e,t){n[e+1]&&(r+=U(n[e+1]).offset().top-U(t).offset().top)});var o=t.find("div[class$=__line]"),i=t.find("div[class*=__wrapper]")[0],a=parseFloat(U(i).css("height"))/2;o.css({height:r,top:a})}},{key:"updateBarHeight",value:function(e){var t=e.find("div[class$=__point]"),n=e.find("div[class$=__line]").find("div[class$=__bar]"),r=n.offset().top,o=U(window).height()/2,i=t.toArray(),a=l()(i),c=a[0],s=a.slice(1);if(c){var u=o-U(c).offset().top;if(s.length){var p=s.slice(-1).pop(),d=U(p).offset().top;r<=o&&d>=o&&n.css({height:u}),r>=o&&n.css({height:0}),d<=o&&(this.updateLineHeight(),n.css({height:"100%"}))}}}},{key:"setColorByScroll",value:function(e){var t=this,n=this.props.baseClass,r=e.find("div[class$=__point]"),o=r.get(),i=l()(o),a=(i[0],i.slice(1));a.length&&U.each(r,function(e,r){var o=U(r).offset().top,i=U(r).parents(".".concat(n,"-item"))[0],a=t.getColor(),l=U(r).height()/2;o<=U(window).height()/2+l?(U(i).hasClass("is-active")||U(i).addClass("is-active"),U(r).find(":first-child").css({borderColor:a||""})):(U(i).hasClass("is-active")&&U(i).removeClass("is-active"),U(r).find(":first-child").css({borderColor:""}))}),a.length||this.disableFilling(e)}},{key:"disableFilling",value:function(e){e.find("div[class$=__bar]").css({height:0})}},{key:"componentDidMount",value:function(){var e=this,t=this.props.clientId,n=U("#block-".concat(t)),r=this.props.attributes.filling;U.parseJSON(r)&&(this.waitLoadMarkup=setInterval(function(){n.find("div[class*=__wrapper]").length&&(U(".edit-post-layout").find("div[class$=__content]").scroll(function(){e.setColorByScroll(n),e.updateBarHeight(n)}),clearInterval(e.waitLoadMarkup))},1)),this.waitLoadContent=setInterval(function(){if("complete"==document.readyState){e.updateLineHeight();var t=e.props.className,r=n.find(".".concat(t)),o=e.props.attributes.filling;U.parseJSON(o)&&(e.setColorByScroll(n),e.updateBarHeight(n)),e.mutationObserver=new MutationObserver(function(t){U.each(t,function(t,r){if("childList"==r.type&&(r.addedNodes.length||r.removedNodes.length)){var o,i=r.addedNodes.length?r.addedNodes[0]:r.removedNodes[0],a=e.props,l=a.getBlock,c=a.clientId,s=l(c);if(s&&(o=s.innerBlocks),o&&o.length&&(U(i).is("div[class*=__block]")||U(i).is("div[class*=__image-wrapper]"))){e.updateLineHeight();var u=e.props.attributes.filling;U.parseJSON(u)&&(e.setColorByScroll(n),e.updateBarHeight(n))}}})}),e.mutationObserver.observe(r.get(0),{childList:!0,subtree:!0}),clearInterval(e.waitLoadContent)}},1)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.className,n=e.clientId,r=U("#block-".concat(n)),o=r.find(".".concat(t));this.mutationObserver.disconnect(o.get(0)),U(".edit-post-layout").find("div[class$=__content]").off()}}]),t}(z);t.b=T([N(function(e,t){var n=e("core/block-editor"),r=n.getBlock;return{getSettings:n.getSettings,getBlock:r}}),A(function(e,t){var n=e("core/block-editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,updateBlockAttributes:r}}),M("fillColor","backgroundColor")])(J)},function(e,t){function n(e){if(null==e)throw new TypeError("Cannot destructure undefined")}e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n(88),n(532),n(533)),o=(n.n(r),n(534));n.n(o)},function(e,t,n){"use strict";n(89),n(141),n(162),n(172),n(178),n(183),n(189),n(203),n(216),n(229),n(237),n(243),n(249),n(260),n(267),n(274),n(282),n(289),n(297),n(304),n(309),n(316),n(322),n(330),n(338),n(344),n(359),n(364),n(370),n(378),n(470),n(475),n(481),n(487),n(493),n(506),n(512),n(520),n(525)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){c()(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}var i=n(9),a=n.n(i),l=n(7),c=n.n(l),s=(n(0),n(1)),u=(n.n(s),n(98)),p=n(132),d=n(22),m=n(12),g=n(133),f=n(134),b=n(136),w=n(42),h=n(137),v=n(138),y=n(139),_=(n.n(y),n(140)),O=(n.n(_),wp.blocks.registerBlockType),k=d.a.prepareMultiGradientStyle,E=d.a.prepareBackgroundImageStyles,C=d.a.convertHorizontalAlignToStyle,j=d.a.convertVerticalAlignToStyle;O("getwid/section",o(o({title:Object(s.__)("Section","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M13,0v24h11V0H13z M22,22h-7V2h7V22z"}),wp.element.createElement("path",{d:"M0,0v11h11V0H0z M9,9H2V2h7V9z"}),wp.element.createElement("path",{d:"M0,13v11h11V13H0z M9,22H2v-7h7V22z"})),category:"getwid-blocks",keywords:[Object(s.__)("container","getwid"),Object(s.__)("wrapper","getwid"),Object(s.__)("row","getwid")],supports:{anchor:!0,inserter:!Getwid.disabled_blocks.includes("getwid/section")},getEditWrapperProps:function(e){var t=e.align;if(["wide","full"].includes(t))return{"data-align":t}},deprecated:[{attributes:o(o({},w.a),{},{foregroundImage:{type:"string"}}),isEligible:function(e,t){return!0},migrate:function(e){return o(o({},e),e.foregroundImage?[{foregroundImage:{id:void 0,alt:void 0,url:e.foregroundImage}}]:[])},save:g.a},{attributes:o(o({},h.a),{},{backgroundVideoType:{type:"string",default:"self"}}),save:f.a},{attributes:v.a,save:b.a}],attributes:w.a},Object(m.b)("getwid/section",function(e){return wp.element.createElement(u.a,a()({},o(o({},e),{},{baseClass:"wp-block-getwid-section",prepareMultiGradientStyle:k,prepareBackgroundImageStyles:E,convertHorizontalAlignToStyle:C,convertVerticalAlignToStyle:j}),{key:"edit"}))})),{},{save:function(e){return wp.element.createElement(p.a,o(o({},e),{},{prepareMultiGradientStyle:k,prepareBackgroundImageStyles:E}))}}))},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.a=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}t.a=r},function(e,t,n){"use strict";var r=n(29);n.n(r)},function(e,t,n){"use strict";var r=n(10);n.n(r)},function(e,t,n){"use strict";var r=(n(36),n(37),n(95),n(10)),o=(n.n(r),n(96),n(35)),i=(n(41),Object(o.c)());i.Provider,i.Consumer,new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"])},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}t.a=o},function(e,t,n){"use strict";function r(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function o(e){return e.replace(/"/g,"&quot;")}function i(e){return e.replace(/</g,"&lt;")}function a(e){return Object(s.a)(o(r(e)))}function l(e){return i(r(e))}function c(e){return!u.test(e)}t.a=a,t.b=l,t.c=c;var s=n(97),u=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/},function(e,t,n){"use strict";function r(e){return e.replace(/>/g,"&gt;")}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=k()(e);if(t()){var o=k()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),O=n(3),k=n.n(O),E=n(0),C=n(1),j=(n.n(C),n(8)),S=n.n(j),x=n(10),P=(n.n(x),n(42)),T=n(43),R=(n.n(T),n(44)),N=(n.n(R),n(26)),A=n(30),B=n(101),M=n(102),D=n(27),I=n(14),L=n(12),z=n(122),V=wp.hooks.addFilter,F=wp.element,H=F.Component,G=F.Fragment,W=wp.data,U=W.select,q=W.withSelect,Q=wp.components,K=Q.Button,Y=Q.SelectControl,J=Q.ToolbarButton,$=(Q.ButtonGroup,Q.BaseControl,Q.Dashicon),Z=Q.Tooltip,X=Q.ToolbarGroup,ee=Q.DropdownMenu,te=Q.Path,ne=Q.SVG,re=Q.FocalPointPicker,oe=(Q.__experimentalGradientPicker,wp.blockEditor||wp.editor),ie=oe.InnerBlocks,ae=oe.withColors,le=oe.BlockControls,ce=oe.BlockAlignmentToolbar,se=(oe.MediaPlaceholder,oe.MediaUpload,oe.PanelColorSettings),ue=wp.compose.compose,pe=window,de=pe.jQuery,me=[],ge="wp-block-getwid-section",fe=!1;window.onYouTubeIframeAPIReady=function(){fe=!0};V("blocks.getSaveElement","getwid/set-skip-layout-attribute",function(e,t,n){return"getwid/section"==t.name&&(t.attributes.skipLayout={type:"boolean",default:!1},n.skipLayout=!0),e});var be=function(e){function t(e){var r;m()(this,t),r=n.call(this,e);var o=r.props.attributes,i=o.youTubeVideoMute;o.youTubeVideoAutoplay;return r.videoRef=null,r.videoButtonRef=null,r.state={draggablesObj:{},showRullers:!0,videoPlayState:"paused",videoMuteState:!0,YTvideoPlayState:"paused",YTvideoMuteState:"true"==i,isLockedPaddingsOnDesktop:!1,isLockedPaddingsOnTablet:!1,isLockedPaddingsOnMobile:!1,isLockedMarginsOnDesktop:!1,isLockedMarginsOnTablet:!1,isLockedMarginsOnMobile:!1},r.playBackgroundVideo=r.playBackgroundVideo.bind(w()(r)),r.onBackgroundVideoEnd=r.onBackgroundVideoEnd.bind(w()(r)),r.muteBackgroundVideo=r.muteBackgroundVideo.bind(w()(r)),r.changeState=r.changeState.bind(w()(r)),r}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"render",value:function(){var e,t,n=this,r=this.props.attributes,i=r.align,a=r.minHeight,c=r.gapSize,u=r.anchor,p=r.customBackgroundColor,d=r.youTubeVideoUrl,m=r.youTubeVideoScale,g=r.backgroundVideoType,f=this.props.attributes,b=f.resetMinHeightTablet,w=f.resetMinHeightMobile,h=f.sliderImages,v=f.backgroundVideoUrl,y=this.props.attributes,_=y.backgroundVideoControlsPosition,O=y.foregroundOpacity,k=y.foregroundColor,j=y.foregroundFilter,T=y.dividersBringTop,R=this.props.attributes,L=R.contentMaxWidth,V=R.contentMaxWidthPreset,F=R.entranceAnimation,H=R.entranceAnimationDuration,W=R.entranceAnimationDelay,q=this.props.attributes,Q=q.backgroundImage,oe=q.backgroundImagePosition,ae=q.backgroundCustomImagePosition,ue=q.backgroundImageAttachment,pe=q.backgroundImageRepeat,fe=q.backgroundImageSize,be=this.props.attributes,we=be.paddingTopValue,he=be.paddingBottomValue,ve=be.paddingLeftValue,ye=be.paddingRightValue,_e=be.marginTopValue,Oe=be.marginBottomValue,ke=be.marginLeftValue,Ee=be.marginRightValue,Ce=this.props.attributes,je=Ce.paddingTop,Se=Ce.paddingRight,xe=Ce.paddingBottom,Pe=Ce.paddingLeft,Te=this.props.attributes,Re=Te.paddingTopTablet,Ne=Te.paddingRightTablet,Ae=Te.paddingBottomTablet,Be=Te.paddingLeftTablet,Me=this.props.attributes,De=Me.paddingTopMobile,Ie=Me.paddingRightMobile,Le=Me.paddingBottomMobile,ze=Me.paddingLeftMobile,Ve=this.props.attributes,Fe=Ve.marginTop,He=Ve.marginRight,Ge=Ve.marginBottom,We=Ve.marginLeft,Ue=this.props.attributes,qe=Ue.marginTopTablet,Qe=Ue.marginRightTablet,Ke=Ue.marginBottomTablet,Ye=Ue.marginLeftTablet,Je=this.props.attributes,$e=Je.verticalAlign,Ze=Je.verticalAlignTablet,Xe=Je.verticalAlignMobile,et=Je.horizontalAlign,tt=Je.horizontalAlignTablet,nt=Je.horizontalAlignMobile,rt=this.props.attributes,ot=rt.marginTopMobile,it=rt.marginRightMobile,at=rt.marginBottomMobile,lt=rt.marginLeftMobile,ct=this.props,st=ct.className,ut=ct.backgroundColor,pt=ct.setBackgroundColor,dt=ct.prepareMultiGradientStyle,mt=ct.prepareBackgroundImageStyles,gt=ct.setAttributes,ft=ct.isSelected,bt=this.state.showRullers,wt=this.state,ht=wt.isLockedPaddingsOnDesktop,vt=wt.isLockedPaddingsOnTablet,yt=wt.isLockedPaddingsOnMobile,_t=this.state,Ot=_t.isLockedMarginsOnDesktop,kt=_t.isLockedMarginsOnTablet,Et=_t.isLockedMarginsOnMobile,Ct=this.changeState,jt=this.props.clientId,St=o(o({},"custom"===Fe?{marginTop:_e}:[]),"custom"===Ge?{marginBottom:Oe}:[]),xt=o(o(o(o(o(o({minHeight:a},"custom"===We?{marginLeft:ke}:[]),"custom"===He?{marginRight:Ee}:[]),"custom"===je?{paddingTop:we}:[]),"custom"===xe?{paddingBottom:he}:[]),"custom"===Pe?{paddingLeft:ve}:[]),"custom"===Se?{paddingRight:ye}:[]),Pt=S()("".concat(ge,"__wrapper"),(e={},s()(e,"getwid-padding-top-".concat(je),"custom"!==je&&""!==je),s()(e,"getwid-padding-bottom-".concat(xe),"custom"!==xe&&""!==xe),s()(e,"getwid-padding-left-".concat(Pe),"custom"!==Pe&&""!==Pe),s()(e,"getwid-padding-right-".concat(Se),"custom"!==Se&&""!==Se),s()(e,"getwid-padding-tablet-top-".concat(Re),""!==Re),s()(e,"getwid-padding-tablet-bottom-".concat(Ae),""!==Ae),s()(e,"getwid-padding-tablet-left-".concat(Be),""!==Be),s()(e,"getwid-padding-tablet-right-".concat(Ne),""!==Ne),s()(e,"getwid-padding-mobile-top-".concat(De),""!==De),s()(e,"getwid-padding-mobile-bottom-".concat(Le),""!==Le),s()(e,"getwid-padding-mobile-left-".concat(ze),""!==ze),s()(e,"getwid-padding-mobile-right-".concat(Ie),""!==Ie),s()(e,"getwid-margin-left-".concat(We),"custom"!==We&&""!==We),s()(e,"getwid-margin-right-".concat(He),"custom"!==He&&""!==He),s()(e,"getwid-margin-tablet-left-".concat(Ye),""!==Ye),s()(e,"getwid-margin-tablet-right-".concat(Qe),""!==Qe),s()(e,"getwid-margin-mobile-left-".concat(lt),""!==lt),s()(e,"getwid-margin-mobile-right-".concat(it),""!==it),s()(e,"getwid-align-items-".concat($e),"center"!==$e),s()(e,"getwid-align-items-tablet-".concat(Ze),""!==Ze),s()(e,"getwid-align-items-mobile-".concat(Xe),""!==Xe),s()(e,"getwid-justify-content-".concat(et),"center"!==et),s()(e,"getwid-justify-content-tablet-".concat(tt),""!==tt),s()(e,"getwid-justify-content-mobile-".concat(nt),""!==nt),s()(e,"getwid-reset-min-height-tablet",!1!==b),s()(e,"getwid-reset-min-height-mobile",!1!==w),e)),Tt=dt("background",this.props),Rt=dt("foreground",this.props),Nt=o({backgroundColor:ut.color?ut.color:p,backgroundImage:Tt},mt("background",this.props)),At=S()("".concat(ge,"__background"),s()({"has-background":ut.color},ut.class,ut.class)),Bt=o(o({opacity:void 0!==O?O/100:void 0,backgroundColor:k,backgroundImage:Rt},mt("foreground",this.props)),{},{mixBlendMode:j}),Mt={maxWidth:L&&"custom"===V?"".concat(L,"px"):void 0},Dt=F?{"data-wow-duration":void 0!==H?H:"2000ms","data-wow-delay":void 0!==W?W:"500ms"}:{},It=S()(st,"".concat(ge,"-").concat(jt),(t={},s()(t,"has-inner-blocks-gap-".concat(c),void 0!==c&&""!==c),s()(t,"getwid-margin-top-".concat(Fe),"custom"!==Fe&&""!==Fe),s()(t,"getwid-anim ".concat(F),!!F),s()(t,"getwid-margin-bottom-".concat(Ge),"custom"!==Ge&&""!==Ge),s()(t,"getwid-margin-tablet-top-".concat(qe),"custom"!==qe&&""!==qe),s()(t,"getwid-margin-tablet-bottom-".concat(Ke),"custom"!==Ke&&""!==Ke),s()(t,"getwid-margin-mobile-top-".concat(ot),"custom"!==ot&&""!==ot),s()(t,"getwid-margin-mobile-bottom-".concat(at),"custom"!==at&&""!==at),s()(t,"getwid-section-content-full-width","full"===V),s()(t,"getwid-section-content-custom-width","custom"===V),t)),Lt=u||void 0,zt=[{title:Object(C.__)("Wide Screen. Section full width, content fixed.","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 48 48",width:"48",height:"48"},wp.element.createElement("path",{d:"M41,32.99v-2.13v-0.71v-3.53v-0.71v-3.53v-0.71v-3.53v-0.71v-2.42c0-0.32-0.08-0.62-0.22-0.9l0,0c0,0,0,0,0,0\tc-0.33-0.66-1-1.11-1.79-1.11h-1.33h-0.71H33.4h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71H12.2h-0.71H9.01\tC7.9,13,7,13.9,7,15.01v2.48v0.71v3.53v0.71v3.53v0.71v3.53v0.71v2.07c0,0.41,0.13,0.8,0.34,1.12l0,0c0,0,0,0,0,0\tc0.09,0.14,0.21,0.26,0.33,0.37l0,0l0,0C8.03,34.8,8.5,35,9.01,35h1.68h0.71h3.55h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71\th3.53h0.71h2.13C40.1,35,41,34.1,41,32.99z M38.99,23.68L37,25.67v-3.53l1.99-1.99V23.68z M38.99,19.44L37,21.43v-0.42\tc0-0.84-0.52-1.56-1.25-1.86l3.24-3.24V19.44z M38.99,15v0.2l-3.82,3.82h0C35.11,19.01,35.05,19,34.99,19h-3.33l4-4H38.99z\t M13,26.99L13.01,21h21.98v6L13,26.99z M34.95,15l-4,4H27.4l4-4H34.95z M30.69,15l-4,4h-3.53l4-4H30.69z M26.45,15l-4,4h-3.53l4-4\tH26.45z M22.21,15l-4,4h-3.53l4-4H22.21z M9.01,15h0.48l-0.48,0.48L9.01,15z M9.01,16.19L10.2,15h3.53l-4.72,4.72L9.01,16.19z\t M9.01,20.43L14.44,15h3.53l-4,4h-0.96C11.9,19,11,19.9,11,21.01v0.96l-1.99,1.99L9.01,20.43z M9,24.67l2-2v3.53l-2,2L9,24.67z\t M9,28.92l2-2v0.07c0,0.94,0.65,1.72,1.52,1.94L9,32.45L9,28.92z M9.17,32.99L13.16,29h3.53l-3.99,3.99L9.17,32.99z M13.41,32.99\tL17.4,29h3.55l-3.99,3.99L13.41,32.99z M17.66,32.99L21.66,29h3.53l-3.99,3.99L17.66,32.99z M21.9,32.99L25.9,29h3.53l-4,4\tL21.9,32.99z M26.14,33l4-4h3.53l-4,4L26.14,33z M30.38,33l4-4h0.61C36.1,29,37,28.1,37,26.99v-0.61l1.99-1.99v3.53L33.91,33\tL30.38,33z M34.62,33l4.37-4.37v3.53L38.15,33L34.62,33z M38.86,33l0.13-0.13V33L38.86,33z"}),wp.element.createElement("path",{d:"M6.01,6H9V4H6.01C4.9,4,4,4.9,4,6.01V9h2.01V6z"}),wp.element.createElement("path",{d:"M41.99,4H39v2h2.99v3H44V6.01C44,4.9,43.1,4,41.99,4z"}),wp.element.createElement("path",{d:"M6.01,39H4v2.99C4,43.1,4.9,44,6.01,44H9v-2H6.01V39z"}),wp.element.createElement("path",{d:"M41.99,42H39v2h2.99C43.1,44,44,43.1,44,41.99V39h-2.01V42z"})),layout:function(){gt({align:"full",skipLayout:!0})}},{title:Object(C.__)("Full Width. Section and content full width.","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 48 48",width:"48",height:"48"},wp.element.createElement("path",{d:"M41,32.99v-2.13v-0.71V29V19v-3.99c0-0.32-0.08-0.62-0.22-0.9l0,0c0,0,0,0,0,0c-0.33-0.66-1-1.11-1.79-1.11h-1.33h-0.71\tH33.4h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71H12.2h-0.71H9.01C7.9,13,7,13.9,7,15.01v2.48v0.71V19v10v1.21v0.71\tv2.07c0,0.41,0.13,0.8,0.34,1.12l0,0c0,0,0,0,0,0c0.09,0.14,0.21,0.26,0.33,0.37l0,0l0,0C8.03,34.8,8.5,35,9.01,35h1.68h0.71h3.55\th0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h2.13C40.1,35,41,34.1,41,32.99z M9.01,21h29.98v6H9L9.01,21z M38.99,19\tH35.9l3.09-3.09V19z M38.99,15v0.2l-3.8,3.8h-3.53l4-4H38.99z M34.95,15l-4,4H27.4l4-4H34.95z M30.69,15l-4,4h-3.53l4-4H30.69z\t M26.45,15l-4,4h-3.53l4-4H26.45z M22.21,15l-4,4h-3.53l4-4H22.21z M17.97,15l-4,4h-3.53l4-4H17.97z M9.01,15h0.48l-0.48,0.48\tL9.01,15z M9.01,16.19L10.2,15h3.53l-4,4H9.01L9.01,16.19z M9,29h3.45L9,32.45L9,29z M9.17,32.99L13.16,29h3.53l-3.99,3.99\tL9.17,32.99z M13.41,32.99L17.4,29h3.55l-3.99,3.99L13.41,32.99z M17.66,32.99L21.66,29h3.53l-3.99,3.99L17.66,32.99z M21.9,32.99\tL25.9,29h3.53l-4,4L21.9,32.99z M26.14,33l4-4h3.53l-4,4L26.14,33z M30.38,33l4-4h3.53l-4,4L30.38,33z M34.62,33l4-4h0.37v3.16\tL38.15,33L34.62,33z M38.86,33l0.13-0.13V33L38.86,33z"}),wp.element.createElement("path",{d:"M6.01,6H9V4H6.01C4.9,4,4,4.9,4,6.01V9h2.01V6z"}),wp.element.createElement("path",{d:"M41.99,4H39v2h2.99v3H44V6.01C44,4.9,43.1,4,41.99,4z"}),wp.element.createElement("path",{d:"M6.01,39H4v2.99C4,43.1,4.9,44,6.01,44H9v-2H6.01V39z"}),wp.element.createElement("path",{d:"M41.99,42H39v2h2.99C43.1,44,44,43.1,44,41.99V39h-2.01V42z"})),layout:function(){gt({align:"full",contentMaxWidthPreset:"full",skipLayout:!0})}},{title:Object(C.__)("Full Screen. Section full screen, content fixed.","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 48 48",width:"48",height:"48"},wp.element.createElement("path",{d:"M6.01,6H9V4H6.01C4.9,4,4,4.9,4,6.01V9h2.01V6z"}),wp.element.createElement("path",{d:"M41.99,4H39v2h2.99v3H44V6.01C44,4.9,43.1,4,41.99,4z"}),wp.element.createElement("path",{d:"M6.01,39H4v2.99C4,43.1,4.9,44,6.01,44H9v-2H6.01V39z"}),wp.element.createElement("path",{d:"M41.99,42H39v2h2.99C43.1,44,44,43.1,44,41.99V39h-2.01V42z"}),wp.element.createElement("path",{d:"M39.38,40.96c0.8-0.16,1.42-0.78,1.58-1.58l0,0c0.02-0.13,0.04-0.26,0.04-0.39v-0.36V35.1v-0.71v-3.53v-0.71v-3.53v-0.71\tv-3.53v-0.71v-3.53v-0.71V13.9v-0.71V9.66V9.01c0-0.02-0.01-0.04-0.01-0.06l0,0C40.97,8,40.28,7.21,39.36,7.04l0,0\tC39.24,7.01,39.12,7,38.99,7h-0.3h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71H18.2h-0.71h-3.53h-0.71H9.01C7.9,7,7,7.9,7,9.01\tv4.24v0.71v3.53v0.71v3.53v0.71v3.53v0.71v3.53v0.71v3.53v0.71v3.53v0.3c0,0.13,0.01,0.25,0.04,0.37l0,0\tc0.17,0.91,0.96,1.6,1.92,1.63l0,0c0.02,0,0.04,0.01,0.06,0.01h0.65h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71\th3.53h0.36C39.12,41,39.25,40.99,39.38,40.96L39.38,40.96z M38.99,23.68L37,25.67v-3.53l1.99-1.99V23.68z M38.99,19.44L37,21.43\tv-0.42c0-0.84-0.52-1.56-1.25-1.86l3.24-3.24V19.44z M38.99,15.2l-3.82,3.82h0C35.11,19.01,35.05,19,34.99,19h-3.33l7.33-7.33V15.2z\t M13,26.99L13.01,21h21.98v6L13,26.99z M38.99,9v1.96L30.95,19H27.4l10-10H38.99z M36.69,9l-10,10h-3.53l10-10H36.69z M32.45,9\tl-10,10h-3.53l10-10H32.45z M28.21,9l-10,10h-3.53l10-10H28.21z M9.01,9h2.24l-2.24,2.24L9.01,9z M9.01,11.95L11.96,9h3.53\tl-6.48,6.48L9.01,11.95z M9.01,16.19L16.2,9h3.53L9.01,19.72L9.01,16.19z M9.01,20.43L20.44,9h3.53l-10,10h-0.96\tC11.9,19,11,19.9,11,21.01v0.96l-1.99,1.99L9.01,20.43z M9,24.67l2-2v3.53l-2,2L9,24.67z M9,28.92l2-2v0.07\tc0,0.94,0.65,1.72,1.52,1.94L9,32.45L9,28.92z M9,33.16L13.16,29h3.53L9,36.69L9,33.16z M9,38.99l0-1.59l8.4-8.4h3.55l-9.99,9.99\tL9,38.99z M11.66,38.99L21.66,29h3.53l-9.99,9.99L11.66,38.99z M15.9,38.99L25.9,29h3.53l-9.99,9.99L15.9,38.99z M20.14,38.99\tL30.14,29h3.53l-9.99,9.99L20.14,38.99z M24.38,39l10-10h0.61C36.1,29,37,28.1,37,26.99v-0.61l1.99-1.99v3.53L27.91,39L24.38,39z\t M28.62,39l10.37-10.37v3.53L32.15,39L28.62,39z M32.86,39l6.13-6.13v3.53l-2.6,2.6L32.86,39z M37.1,39l1.89-1.89V39L37.1,39z"})),layout:function(){gt({align:"full",minHeight:"100vh",skipLayout:!0})}}],Vt=["flex-start","center","flex-end"],Ft={"flex-start":{title:Object(C.__)("Top","getwid"),icon:wp.element.createElement(ne,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},wp.element.createElement(te,{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement(te,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"}))},center:{title:Object(C.__)("Middle","getwid"),icon:wp.element.createElement(ne,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},wp.element.createElement(te,{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement(te,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"}))},"flex-end":{title:Object(C.__)("Bottom","getwid"),icon:wp.element.createElement(ne,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},wp.element.createElement(te,{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement(te,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"}))}},Ht=["flex-start","center","flex-end"],Gt={"flex-start":{title:Object(C.__)("Left","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M2,15V5c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v10c0,0.55-0.45,1-1,1h0C2.45,16,2,15.55,2,15z"}),wp.element.createElement("path",{d:"M6,10l3,3v-2h8c0.55,0,1-0.45,1-1v0c0-0.55-0.45-1-1-1H9V7L6,10z"}))},center:{title:Object(C.__)("Center","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M9,15V5c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v10c0,0.55-0.45,1-1,1h0C9.45,16,9,15.55,9,15z"}),wp.element.createElement("path",{d:"M12,10l3,3v-2h2c0.55,0,1-0.45,1-1v0c0-0.55-0.45-1-1-1h-2V7L12,10z"}),wp.element.createElement("path",{d:"M8,10l-3,3v-2H3c-0.55,0-1-0.45-1-1v0c0-0.55,0.45-1,1-1h2V7L8,10z"}))},"flex-end":{title:Object(C.__)("Right","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M16,15V5c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v10c0,0.55-0.45,1-1,1h0C16.45,16,16,15.55,16,15z"}),wp.element.createElement("path",{d:"M14,10l-3,3v-2H3c-0.55,0-1-0.45-1-1v0c0-0.55,0.45-1,1-1h8V7L14,10z"}))}},Wt=U("core/block-editor"),Ut=Wt.getBlockRootClientId,qt=!1,Qt=Ut(jt);Qt&&(qt=Qt.length>0);var Kt=U("core/block-editor").getBlocks(jt).length>0,Yt=!1;de.each(this.props.attributes,function(e,t){if(Object(x.has)(P.a,[e,"default"])&&!Object(x.isEqual)(t,P.a[e].default))return Yt=!0,!1});var Jt=this.props.attributes.skipLayout,$t=Q?Q.url:void 0,Zt=Q?Q.id:void 0,Xt=void 0==Qt||null==Qt||Jt;return wp.element.createElement(G,null,Kt||0!=Xt||Yt||qt||!Getwid.settings.wide_support?wp.element.createElement(G,null,wp.element.createElement(le,null,wp.element.createElement(ce,{value:i,isCollapsed:!1,controls:["wide","full"],onChange:function(e){return gt({align:e})}}),wp.element.createElement(X,null,Object(E.b)(G,null,wp.element.createElement(ee,{icon:Ft[$e].icon,hasArrowIndicator:!0,className:"components-toolbar",label:Object(C.__)("Content Area Vertical Alignment","getwid"),controls:Vt.map(function(e){return o(o({},Ft[e]),{},{isActive:$e===e,onClick:function(){gt({verticalAlign:e})}})})}),wp.element.createElement(ee,{icon:Gt[et].icon,hasArrowIndicator:!0,className:"components-toolbar",label:Object(C.__)("Content Area Horizontal Alignment","getwid"),controls:Ht.map(function(e){return o(o({},Gt[e]),{},{isActive:et===e,onClick:function(){gt({horizontalAlign:e})}})})}))),wp.element.createElement(M.a,{className:"components-dropdown-menu components-toolbar",renderToggle:function(e){var t=(e.isOpen,e.onToggle);return wp.element.createElement(J,{className:"components-button components-icon-button components-dropdown-menu__toggle",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("path",{d:"M3,16h14c0.55,0,1,0.45,1,1v0c0,0.55-0.45,1-1,1H3c-0.55,0-1-0.45-1-1v0C2,16.45,2.45,16,3,16z"}),wp.element.createElement("path",{d:"M9.05,13.95L13.3,9.7c0.39-0.39,0.39-1.02,0-1.41L9.05,4.05L8.34,3.34L7.63,2.63c-0.39-0.39-1.02-0.39-1.41,0L6.22,2.64\tc-0.39,0.39-0.39,1.02,0,1.41l0.7,0.7L3.39,8.3C3,8.69,3,9.31,3.39,9.7l4.24,4.25C8.02,14.34,8.66,14.34,9.05,13.95z M9.04,6.87\tL11.17,9H5.51l2.13-2.13C8.02,6.49,8.66,6.49,9.04,6.87z"}),wp.element.createElement("path",{d:"M13,13c0,0.55,0.45,1,1,1s1-0.45,1-1s-1-3-1-3S13,12.45,13,13z"})),onClick:t})},renderContent:function(e){var t=e.onClose;return wp.element.createElement(G,null,wp.element.createElement("div",{class:"components-getwid-toolbar-popup-wrapper-close small-icon"},wp.element.createElement(J,{icon:"no-alt",className:"getwid-popover-close-button",onClick:function(){t(!0)}})),wp.element.createElement(se,{title:Object(C.__)("Colors","getwid"),initialOpen:!0,className:"getwid-custom-pallete",colorSettings:[{value:ut.color,onChange:pt,label:Object(C.__)("Background Color","getwid")}]}))}}),wp.element.createElement(M.a,{className:"components-dropdown-menu components-toolbar",contentClassName:"getwid-popover-wrapper",renderToggle:function(e){var t=(e.isOpen,e.onToggle);return wp.element.createElement(J,{className:"components-button components-icon-button components-dropdown-menu__toggle",icon:"format-image",onClick:t})},renderContent:function(e){var t=e.onClose;return wp.element.createElement(G,null,wp.element.createElement("div",{class:"components-getwid-toolbar-popup-wrapper-close small-icon"},wp.element.createElement(J,{icon:"no-alt",className:"getwid-popover-close-button",onClick:function(){t(!0)}})),wp.element.createElement(I.e,{label:Object(C.__)("Background Image","getwid"),url:$t,id:Zt,onSelectMedia:function(e){gt({backgroundImage:void 0!==e?Object(x.pick)(e,["alt","id","url"]):{}}),t(!0)},onRemoveMedia:function(){return gt({backgroundImage:void 0})}}),!!Q&&wp.element.createElement(G,null,wp.element.createElement(Y,{label:Object(C.__)("Position","getwid"),value:void 0!==oe?oe:"",onChange:function(e){return gt({backgroundImagePosition:e})},options:[{value:"",label:Object(C.__)("Default","getwid")},{value:"custom",label:Object(C.__)("Custom","getwid")},{value:"top left",label:Object(C.__)("Top Left","getwid")},{value:"top center",label:Object(C.__)("Top Center","getwid")},{value:"top right",label:Object(C.__)("Top Right","getwid")},{value:"center left",label:Object(C.__)("Center Left ","getwid")},{value:"center center",label:Object(C.__)("Center Center","getwid")},{value:"center right",label:Object(C.__)("Center Right","getwid")},{value:"bottom left",label:Object(C.__)("Bottom Left","getwid")},{value:"bottom center",label:Object(C.__)("Bottom Center","getwid")},{value:"bottom right",label:Object(C.__)("Bottom Right","getwid")}]}),"custom"==oe&&wp.element.createElement(re,{url:$t,value:ae,onChange:function(e){gt({backgroundCustomImagePosition:e})}}),wp.element.createElement(Y,{label:Object(C.__)("Attachment","getwid"),value:void 0!==ue?ue:"",onChange:function(e){return gt({backgroundImageAttachment:e})},options:[{value:"",label:Object(C.__)("Default","getwid")},{value:"scroll",label:Object(C.__)("Scroll","getwid")},{value:"fixed",label:Object(C.__)("Fixed","getwid")}]}),wp.element.createElement(Y,{label:Object(C.__)("Repeat","getwid"),value:void 0!==pe?pe:"",onChange:function(e){return gt({backgroundImageRepeat:e})},options:[{value:"",label:Object(C.__)("Default","getwid")},{value:"no-repeat",label:Object(C.__)("No Repeat","getwid")},{value:"repeat",label:Object(C.__)("Repeat","getwid")},{value:"repeat-x",label:Object(C.__)("Repeat X","getwid")},{value:"repeat-y",label:Object(C.__)("Repeat Y","getwid")},{value:"space",label:Object(C.__)("Space","getwid")},{value:"round",label:Object(C.__)("Round","getwid")}]}),wp.element.createElement(Y,{label:Object(C.__)("Size","getwid"),value:void 0!==fe?fe:"",onChange:function(e){return gt({backgroundImageSize:e})},options:[{value:"",label:Object(C.__)("Cover","getwid")},{value:"contain",label:Object(C.__)("Contain","getwid")},{value:"auto",label:Object(C.__)("Auto","getwid")}]})))}}),wp.element.createElement(X,{controls:[{icon:wp.element.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("g",null,wp.element.createElement("g",null,wp.element.createElement("path",{d:"M24.4003906,22.5996094H7.5996094c-0.5527344,0-1-0.4472656-1-1V10.4003906c0-0.5527344,0.4472656-1,1-1h16.8007813 c0.5527344,0,1,0.4472656,1,1v11.1992188C25.4003906,22.1523438,24.953125,22.5996094,24.4003906,22.5996094z M8.5996094,20.5996094h14.8007813v-9.1992188H8.5996094V20.5996094z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M2,11.5996094c-0.5527344,0-1-0.4472656-1-1V5c0-0.5527344,0.4472656-1,1-1h5.5996094c0.5527344,0,1,0.4472656,1,1 s-0.4472656,1-1,1H3v4.5996094C3,11.1523438,2.5527344,11.5996094,2,11.5996094z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M30,11.5996094c-0.5527344,0-1-0.4472656-1-1V6h-4.5996094c-0.5527344,0-1-0.4472656-1-1s0.4472656-1,1-1H30 c0.5527344,0,1,0.4472656,1,1v5.5996094C31,11.1523438,30.5527344,11.5996094,30,11.5996094z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M7.5996094,28H2c-0.5527344,0-1-0.4472656-1-1v-5.5996094c0-0.5527344,0.4472656-1,1-1s1,0.4472656,1,1V26h4.5996094 c0.5527344,0,1,0.4472656,1,1S8.1523438,28,7.5996094,28z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M30,28h-5.5996094c-0.5527344,0-1-0.4472656-1-1s0.4472656-1,1-1H29v-4.5996094c0-0.5527344,0.4472656-1,1-1 s1,0.4472656,1,1V27C31,27.5527344,30.5527344,28,30,28z"})))),title:Object(C.__)("Show Guides","getwid"),isActive:bt,onClick:function(){n.setState({showRullers:!bt})}}]})),wp.element.createElement(z.a,l()({},o(o(o(o({},this.props),{isLockedPaddingsOnDesktop:ht,isLockedPaddingsOnTablet:vt,isLockedPaddingsOnMobile:yt}),{isLockedMarginsOnDesktop:Ot,isLockedMarginsOnTablet:kt,isLockedMarginsOnMobile:Et}),{},{baseClass:ge,changeState:Ct}),{key:"inspector"})),wp.element.createElement("div",l()({id:Lt,className:It,style:St},Dt),wp.element.createElement(B.a,o(o(o(o(o({},{paddingBottom:xe,paddingRight:Se,paddingLeft:Pe,paddingTop:je}),{paddingBottomValue:he,paddingRightValue:ye,paddingLeftValue:ve,paddingTopValue:we}),{marginBottom:Ge,marginRight:He,marginLeft:We,marginTop:Fe}),{marginBottomValue:Oe,marginRightValue:Ee,marginLeftValue:ke,marginTopValue:_e}),{},{changeState:Ct,setAttributes:gt,showRullers:bt,isSelected:ft,baseClass:ge,clientId:jt,isLayoutSet:Kt||Jt||Yt||qt||!Getwid.settings.wide_support}),wp.element.createElement("div",{className:Pt,style:xt},wp.element.createElement(N.a,o(o({},this.props),{},{baseClass:ge})),(!!v||!!d)&&"none"!==_&&wp.element.createElement("div",{className:S()("getwid-background-video-controls",s()({},"is-position-".concat(_),"top-right"!==_))},wp.element.createElement("button",{onClick:this.playBackgroundVideo,className:"getwid-background-video-play",ref:function(e){return n.videoButtonRef=e}},("self"==g&&"paused"===this.state.videoPlayState||"youtube"==g&&"paused"===this.state.YTvideoPlayState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-play"}),("self"==g&&"playing"===this.state.videoPlayState||"youtube"==g&&"playing"===this.state.YTvideoPlayState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-pause"})),wp.element.createElement("button",{onClick:this.muteBackgroundVideo,className:"getwid-background-video-mute"},("self"==g&&!0===this.state.videoMuteState||"youtube"==g&&!0===this.state.YTvideoMuteState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-mute"}),("self"==g&&!1===this.state.videoMuteState||"youtube"==g&&!1===this.state.YTvideoMuteState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-volume-up"}))),wp.element.createElement("div",{className:S()("".concat(ge,"__inner-wrapper"),s()({},"has-dividers-over",T)),style:Mt},wp.element.createElement("div",{className:"".concat(ge,"__background-holder")},wp.element.createElement("div",{className:At,style:Nt},!!Q&&wp.element.createElement("div",{className:"".concat(ge,"__background-image-wrapper")},wp.element.createElement("img",{className:"".concat(ge,"__background-image"),src:Q.url,alt:Q.alt,"data-id":Q.id})),!!h.length&&wp.element.createElement("div",{className:"".concat(ge,"__background-slider-wrapper")},wp.element.createElement(D.a,o(o({},this.props),{},{baseClass:ge}))),(!!v||!!d)&&wp.element.createElement("div",{className:"".concat(ge,"__background-video-wrapper")},!!d&&"youtube"==g&&wp.element.createElement("div",{className:S()("".concat(ge,"__background-video"),"source-youtube",s()({},"scale-youtube-".concat(m),""!=m))},wp.element.createElement("div",{className:"".concat(ge,"__background-video-youtube"),id:"ytplayer-".concat(jt)})),!!v&&"self"==g&&wp.element.createElement(A.a,l()({},o(o({},this.props),{},{baseClass:ge}),{onVideoEnd:this.onBackgroundVideoEnd,videoAutoplay:!1,videoMute:this.state.videoMuteState,videoElemRef:function(e){return n.videoRef=e}})))),wp.element.createElement("div",{className:"".concat(ge,"__foreground"),style:Bt})),wp.element.createElement("div",{className:"".concat(ge,"__content")},wp.element.createElement("div",{className:"".concat(ge,"__inner-content")},wp.element.createElement(ie,{renderAppender:function(){return ft&&wp.element.createElement(ie.ButtonBlockAppender,null)},defaultBlock:!1,template:me,templateInsertUpdatesSelection:!1,templateLock:!1})))))))):wp.element.createElement("div",{className:"components-placeholder block-editor-inner-blocks__template-picker has-many-options"},wp.element.createElement("div",{className:"components-placeholder__label"},wp.element.createElement($,{icon:"layout"}),Object(C.__)("Choose Section Layout","getwid")),wp.element.createElement("div",{className:"components-placeholder__instructions"},Object(C.__)("Select a layout to start with, or make one yourself.","getwid")),wp.element.createElement("div",{className:"components-placeholder__fieldset"},wp.element.createElement("ul",{className:"block-editor-inner-blocks__template-picker-options"},zt.map(function(e,t){return wp.element.createElement("li",null,wp.element.createElement(Z,{text:e.title},wp.element.createElement(K,{className:"components-icon-button block-editor-inner-blocks__template-picker-option is-button is-default is-large",key:t,onClick:function(){return e.layout()}},e.icon)))})),wp.element.createElement("div",{class:"block-editor-inner-blocks__template-picker-skip"},wp.element.createElement(K,{className:"components-button is-link",onClick:function(){return gt({skipLayout:!0})}},Object(C.__)("Skip","getwid"))))))}},{key:"componentDidMount",value:function(){var e=this.props.attributes,t=e.entranceAnimation,n=e.youTubeVideoUrl;t&&this.animate(),n&&""!=n&&this.initYouTubeVideo()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.attributes,r=n.entranceAnimation,o=n.entranceAnimationDuration,i=n.youTubeVideoUrl,a=n.backgroundVideoType,l=(n.youTubeVideoMute,n.youTubeVideoLoop,n.youTubeVideoAutoplay,this.props),c=l.baseClass,s=l.clientId,u=(l.isSelected,e.attributes.entranceAnimation),p=e.attributes.entranceAnimationDuration,d=e.attributes.youTubeVideoUrl,m=e.attributes.backgroundVideoType;!r||u===r&&p===o||(de(".".concat(c,"-").concat(s)).css("animation-name",""),this.animate()),(d!==i||m!==a&&"youtube"==a)&&this.initYouTubeVideo()}},{key:"initYouTubeVideo",value:function(){var e,t=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],this.props.clientId),n=this.changeState,r=this.props.attributes,o=r.youTubeVideoUrl,i=r.youTubeVideoMute,a=r.youTubeVideoLoop;r.youTubeVideoAutoplay;de("#youtube_video_api_js").length||function(){var e=document.createElement("script");e.type="text/javascript",e.src="https://www.youtube.com/iframe_api",e.id="youtube_video_api_js";var t=!1;document.getElementsByTagName("head")[0].appendChild(e),e.onload=e.onreadystatechange=function(){t||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(t=!0,e.onload=e.onreadystatechange=null)}}(),function(){var r=setInterval(function(){if(fe&&(clearInterval(r),YT.get("ytplayer-".concat(t))&&YT.get("ytplayer-".concat(t)).destroy(),o&&""!=o)){var l=Object(L.f)(o),c={autoplay:0,controls:0,disablekb:1,fs:0,cc_load_policy:0,iv_load_policy:3,loop:"true"==a?1:0,modestbranding:1,rel:0,showinfo:0,enablejsapi:1,mute:"true"==i?1:0,autohide:1};"true"==a&&(c.playlist=l),e=new YT.Player("ytplayer-".concat(t),{playerVars:c,height:"100%",width:"100%",videoId:l,events:{onReady:function(e){},onStateChange:function(e){0==e.data&&"false"==a&&e.target&&(e.target.stopVideo(),n({YTvideoPlayState:"paused"}))}}})}},1)}()}},{key:"animate",value:function(){var e=this.props,t=e.baseClass,n=e.clientId,r=Object(L.e)();r&&new WOW({boxClass:"".concat(t,"-").concat(n),scrollContainer:"."+r,live:!1,mobile:!1}).init()}},{key:"playBackgroundVideo",value:function(){var e=this.props.attributes.backgroundVideoType,t=this.props.clientId,n=this.state.YTvideoPlayState;if("self"==e){var r=this.videoRef;r.paused?(r.play(),this.setState({videoPlayState:"playing"})):(r.pause(),this.setState({videoPlayState:"paused"}))}else if("youtube"==e){var o=YT.get("ytplayer-".concat(t));o&&"paused"==n?(o.playVideo(),this.setState({YTvideoPlayState:"playing"})):o&&"playing"==n&&(o.pauseVideo(),this.setState({YTvideoPlayState:"paused"}))}}},{key:"onBackgroundVideoEnd",value:function(){this.setState({videoPlayState:"paused"})}},{key:"muteBackgroundVideo",value:function(){var e=this.props.attributes.backgroundVideoType,t=this.props.clientId,n=this.state.YTvideoMuteState;if("self"==e){var r=this.videoRef;r.muted=!r.muted,this.setState({videoMuteState:r.muted})}else if("youtube"==e){var o=YT.get("ytplayer-".concat(t));o&&1==n?(o.unMute(),this.setState({YTvideoMuteState:!1})):o&&0==n&&(o.mute(),this.setState({YTvideoMuteState:!0}))}}}]),t}(H);t.a=ue([q(function(e,t){return{getBlock:e("core/block-editor").getBlock}}),ae("backgroundColor")])(be)},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";n(0);t.a={"zigzag-ice-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,points:"893,50.7 879,75.9 790,63.3 764,81.8 671,69.2 627,81.8 565,66.2 501.5,83.3 456,69.6 353,84 290,63.3 245.5,73.3 209,58.8 123.5,69.9 111.3,42.6 54.8,49.2 34.7,26.3 11.8,31.8 0,10 0,100 1000,100 1000,37.4 960,56.3 "}),wp.element.createElement("polygon",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",points:"893,40.7 879,65.9 790,53.3 764,71.8 671,59.2 627,71.8 565,56.2 501.5,73.3 456,59.6 353,74 290,53.3 245.5,63.3 209,48.8 123.5,59.9 111.3,32.6 54.8,39.2 34.7,16.3 11.8,21.8 0.2,0 0,0 0,100 1000,100 1000,27.4 960,46.3 "}))},"zigzag-ice":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,points:"0.2,0 11.8,21.8 34.7,16.3 54.8,39.2 111.3,32.6 123.5,59.9 209,48.8 245.5,63.3 290,53.3 353,74 456,59.6 501.5,73.3 565,56.2 627,71.8 671,59.2 764,71.8 790,53.3 879,65.9 893,40.7 960,46.3 1000,27.4 1000,0 "}),wp.element.createElement("polygon",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",points:"0,0 0,10 11.8,31.8 34.7,26.3 54.8,49.2 111.3,42.6 123.5,69.9 209,58.8 245.5,73.3 290,63.3 353,84 456,69.6 501.5,83.3 565,66.2 627,81.8 671,69.2 764,81.8 790,63.3 879,75.9 893,50.7 960,56.3 1000,37.4 1000,0"}))},"zigzag-pattern":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1800 6",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,0 0,1 3.5,5.4 7,1 10.5,5.4 14,1 17.5,5.4 21,1 24.5,5.4 28,1 31.5,5.4 35,1 38.5,5.4 42,1 45.5,5.4 49,1 52.5,5.4 56,1 59.5,5.4 63,1 66.5,5.4 70,1 73.5,5.4 77,1 80.5,5.4 84,1 87.5,5.4 91,1 94.5,5.4 98,1 101.5,5.4 105,1 108.5,5.4 112,1 115.5,5.4 119,1 122.5,5.4 126,1 129.5,5.4 133,1 136.5,5.4 140,1 143.5,5.4 147,1 150.5,5.4 154,1 157.5,5.4 161,1 164.5,5.4 168,1 171.5,5.4 175,1 178.5,5.4 182,1 185.5,5.4 189,1 192.5,5.4 196,1 199.5,5.4 203,1 206.5,5.4 210,1 213.5,5.4 217,1 220.5,5.4 224,1 227.5,5.4 231,1 234.5,5.4 238,1 241.5,5.4 245,1 248.5,5.4 252,1 255.5,5.4 259,1 262.5,5.4 266,1 269.5,5.4 273,1 276.5,5.4 280,1 283.5,5.4 287,1 290.5,5.4 294,1 297.5,5.4 301,1 304.5,5.4 308,1 311.5,5.4 315,1 318.5,5.4 322,1 325.5,5.4 329,1 332.5,5.4 336,1 339.5,5.4 343,1 346.5,5.4 350,1 353.5,5.4 357,1 360.5,5.4 364,1 367.5,5.4 371,1 374.5,5.4 378,1 381.5,5.4 385,1 388.5,5.4 392,1 395.5,5.4 399,1 402.5,5.4 406,1 409.5,5.4 413,1 416.5,5.4 420,1 423.5,5.4 427,1 430.5,5.4 434,1 437.5,5.4 441,1 444.5,5.4 448,1 451.5,5.4 455,1 458.5,5.4 462,1 465.5,5.4 469,1 472.5,5.4 476,1 479.5,5.4 483,1 486.5,5.4 490,1 493.5,5.4 497,1 500.5,5.4 504,1 507.5,5.4 511,1 514.5,5.4 518,1 521.5,5.4 525,1 528.5,5.4 532,1 535.5,5.4 539,1 542.5,5.4 546,1 549.5,5.4 553,1 556.5,5.4 560,1 563.5,5.4 567,1 570.5,5.4 574,1 577.5,5.4 581,1 584.5,5.4 588,1 591.5,5.4 595,1 598.5,5.4 602,1 605.5,5.4 609,1 612.5,5.4 616,1 619.5,5.4 623,1 626.5,5.4 630,1 633.5,5.4 637,1 640.5,5.4 644,1 647.5,5.4 651,1 654.5,5.4 658,1 661.5,5.4 665,1 668.5,5.4 672,1 675.5,5.4 679,1 682.5,5.4 686,1 689.5,5.4 693,1 696.5,5.4 700,1 703.5,5.4 707,1 710.5,5.4 714,1 717.5,5.4 721,1 724.5,5.4 728,1 731.5,5.4 735,1 738.5,5.4 742,1 745.5,5.4 749,1 752.5,5.4 756,1 759.5,5.4 763,1 766.5,5.4 770,1 773.5,5.4 777,1 780.5,5.4 784,1 787.5,5.4 791,1 794.5,5.4 798,1 801.5,5.4 805,1 808.5,5.4 812,1 815.5,5.4 819,1 822.5,5.4 826,1 829.5,5.4 833,1 836.5,5.4 840,1 843.5,5.4 847,1 850.5,5.4 854,1 857.5,5.4 861,1 864.5,5.4 868,1 871.5,5.4 875,1 878.5,5.4 882,1 885.5,5.4 889,1 892.5,5.4 896,1 899.5,5.4 903,1 906.5,5.4 910,1 913.5,5.4 917,1 920.5,5.4 924,1 927.5,5.4 931,1 934.5,5.4 938,1 941.5,5.4 945,1 948.5,5.4 952,1 955.5,5.4 959,1 962.5,5.4 966,1 969.5,5.4 973,1 976.5,5.4 980,1 983.5,5.4 987,1 990.5,5.4 994,1 997.5,5.4 1001,1 1004.5,5.4 1008,1 1011.5,5.4 1015,1 1018.5,5.4 1022,1 1025.5,5.4 1029,1 1032.5,5.4 1036,1 1039.5,5.4 1043,1 1046.5,5.4 1050,1 1053.5,5.4 1057,1 1060.5,5.4 1064,1 1067.5,5.4 1071,1 1074.5,5.4 1078,1 1081.5,5.4 1085,1 1088.5,5.4 1092,1 1095.5,5.4 1099,1 1102.5,5.4 1106,1 1109.5,5.4 1113,1 1116.5,5.4 1120,1 1123.5,5.4 1127,1 1130.5,5.4 1134,1 1137.5,5.4 1141,1 1144.5,5.4 1148,1 1151.5,5.4 1155,1 1158.5,5.4 1162,1 1165.5,5.4 1169,1 1172.5,5.4 1176,1 1179.5,5.4 1183,1 1186.5,5.4 1190,1 1193.5,5.4 1197,1 1200.5,5.4 1204,1 1207.5,5.4 1211,1 1214.5,5.4 1218,1 1221.5,5.4 1225,1 1228.5,5.4 1232,1 1235.5,5.4 1239,1 1242.5,5.4 1246,1 1249.5,5.4 1253,1 1256.5,5.4 1260,1 1263.5,5.4 1267,1 1270.5,5.4 1274,1 1277.5,5.4 1281,1 1284.5,5.4 1288,1 1291.5,5.4 1295,1 1298.5,5.4 1302,1 1305.5,5.4 1309,1 1312.5,5.4 1316,1 1319.5,5.4 1323,1 1326.5,5.4 1330,1 1333.5,5.4 1337,1 1340.5,5.4 1344,1 1347.5,5.4 1351,1 1354.5,5.4 1358,1 1361.5,5.4 1365,1 1368.5,5.4 1372,1 1375.5,5.4 1379,1 1382.5,5.4 1386,1 1389.5,5.4 1393,1 1396.5,5.4 1400,1 1403.5,5.4 1407,1 1410.5,5.4 1414,1 1417.5,5.4 1421,1 1424.5,5.4 1428,1 1431.5,5.4 1435,1 1438.5,5.4 1442,1 1445.5,5.4 1449,1 1452.5,5.4 1456,1 1459.5,5.4 1463,1 1466.5,5.4 1470,1 1473.5,5.4 1477,1 1480.5,5.4 1484,1 1487.5,5.4 1491,1 1494.5,5.4 1498,1 1501.5,5.4 1505,1 1508.5,5.4 1512,1 1515.5,5.4 1519,1 1522.5,5.4 1526,1 1529.5,5.4 1533,1 1536.5,5.4 1540,1 1543.5,5.4 1547,1 1550.5,5.4 1554,1 1557.5,5.4 1561,1 1564.5,5.4 1568,1 1571.5,5.4 1575,1 1578.5,5.4 1582,1 1585.5,5.4 1589,1 1592.5,5.4 1596,1 1599.5,5.4 1603,1 1606.5,5.4 1610,1 1613.5,5.4 1617,1 1620.5,5.4 1624,1 1627.5,5.4 1631,1 1634.5,5.4 1638,1 1641.5,5.4 1645,1 1648.5,5.4 1652,1 1655.5,5.4 1659,1 1662.5,5.4 1666,1 1669.5,5.4 1673,1 1676.5,5.4 1680,1 1683.5,5.4 1687,1 1690.5,5.4 1694,1 1697.5,5.4 1701,1 1704.5,5.4 1708,1 1711.5,5.4 1715,1 1718.5,5.4 1722,1 1725.5,5.4 1729,1 1732.5,5.4 1736,1 1739.5,5.4 1743,1 1746.5,5.4 1750,1 1753.5,5.4 1757,1 1760.5,5.4 1764,1 1767.5,5.4 1771,1 1774.5,5.4 1778,1 1781.5,5.4 1785,1 1788.5,5.4 1792,1 1795.5,5.4 1799,1 1800,2.3 1800,0 "}))},"waves-layered":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 120",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M464,69c-50.96-10.13-166.19-39.07-313-13C85.7,67.6,33.79,86.59,0,100.9V120h1000V1 C748.08,88.13,576.28,91.31,464,69z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M464,89c-50.96-10.13-166.19-59.07-313-33C85.7,67.6,33.79,86.59,0,100.9V120h1000V67C748.08,154.13,576.28,111.31,464,89z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M464,79c-50.96-10.13-166.19-49.07-313-23C85.7,67.6,33.79,86.59,0,100.9V120h1000V34 C748.08,121.13,576.28,101.31,464,79z"}))},"waves-large-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M902.8,47.5c-76.9-1-113-55.3-174.5-36.5c-22.9,7-31.6,18.6-58.3,19c-34.2,0.5-43.6-18.3-69-21c-55.8-6-70.7,78.2-127.4,82.3C418.5,95.2,366.5,10.7,300.1,10c-1.5,0-2.7,0-2.7,0c-40,0.5-66,23.8-87.6,36.7c-36,21.4-73.3,22-89,22.1C63.3,69.1,19.4,36.1,0,19v81h1000V20.4C959.3,43.3,926.1,47.8,902.8,47.5z"}))},"waves-large":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,19c19.4,17.1,63.3,50.1,120.8,49.8c15.7-0.1,53-0.7,89-22.1c21.6-12.9,47.6-36.2,87.6-36.7c0,0,1.2,0,2.7,0c66.4,0.7,118.4,85.2,173.5,81.3C530.3,87.2,545.2,3,601,9c25.4,2.7,34.8,21.5,69,21c26.7-0.4,35.4-12,58.3-19c61.5-18.8,97.6,35.5,174.5,36.5c23.3,0.3,56.6-4.2,97.3-27.2V0H0V19z"}))},"waves-pattern":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 996 4",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M990,1c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2C9.2,3,8.8,1,6,1C3.2,1,2.8,3,0,3v1h996V3C993.2,3,992.8,1,990,1z"}))},"waves-light":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M464,60c-50.96-10.13-166.19-39.07-313-13C85.7,58.6,33.79,77.59,0,91.9v8.1h1000V0C748.08,87.13,576.28,82.31,464,60z"}))},waves:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v19c33.17,17.01,84.77,38.06,149,41c96.07,4.4,128.39-35.91,211-52c157.72-30.72,212.84,82.55,404,85c54.27,0.7,135.59-7.33,236-53.7V0H0z"}))},"triangle-negative-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M492,97.3L0,1.1V100h1000V1.1L508,97.3C502.7,98.4,497.3,98.4,492,97.3z"}))},"triangle-asymmetrical-negative-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M689,96L0,1.1V100h1000V1.1l-269.9,91C716.9,96.6,702.8,97.9,689,96z"}))},"triangle-asymmetrical-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M730.1,92.1c-13.2,4.5-27.3,5.8-41.1,3.9L0,1.1V0h1000v1.1L730.1,92.1z"}))},"triangle-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M508,97.3c-5.3,1-10.7,1-16,0L0,1.1V0h1000v1.1L508,97.3z"}))},"triangle-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,1.1 0,100 1000,100 1000,1.1 500,98.9 "}))},"triangle-asymmetrical-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,1.1 0,100 1000,100 1000,1.1 710,98.9 "}))},"triangle-asymmetrical":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M710,98.9L0,1.1V0h1000v1.1L710,98.9z"}))},triangle:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M500,98.9L0,1.1V0h1000v1.1L500,98.9z"}))},tilt:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0h1000v100L0,0z"}))},"tilt-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0H0v100L1000,0z"}))},"split-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 20",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M516,3c-8.8,0-16,7.2-16,16c0-8.8-7.2-16-16-16H0v16v1h1000v-1V3H516z"}))},split:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 20",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v3h484c8.8,0,16,7.2,16,16c0-8.8,7.2-16,16-16h484V0H0z"}))},"drips-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M975,56.8c-8.3,0-15,6.8-15,15v3c0,8.3-6.8,15-15,15s-15-6.8-15-15v-45c0-8.3-6.8-15-15-15s-15,6.8-15,15V53c0,8.3-6.8,15-15,15s-15-6.8-15-15v-2.2c0-8.3-6.8-15-15-15s-15,6.8-15,15V82c0,8.3-6.8,15-15,15s-15-6.8-15-15s-6.8-15-15-15s-15,6.8-15,15v-1.8c0,8.3-6.8,15-15,15s-15-6.8-15-15V50.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V53c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V80c0,8.3-6.8,15-15,15s-15-6.8-15-15v2c0-8.3-6.8-15-15-15s-15,6.8-15,15v-3.8c0,8.3-6.8,15-15,15s-15-6.8-15-15V50.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V82c0,8.3-6.8,15-15,15s-15-6.8-15-15s-6.8-15-15-15s-15,6.8-15,15v-1.8c0,8.3-6.8,15-15,15s-15-6.8-15-15v-8.4c0-8.3-6.8-15-15-15s-15,6.8-15,15V74c0,8.3-6.8,15-15,15s-15-6.8-15-15V50.8c0-8.3-6.8-15-15-15s-15,6.8-15,15v12.4c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V32c0,8.3-6.8,15-15,15s-15-6.8-15-15v-2.2c0-8.3-6.8-15-15-15s-15,6.8-15,15V53c0,8.3-6.8,15-15,15s-15-6.8-15-15v-2.2c0-8.3-6.8-15-15-15s-15,6.8-15,15V81c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15v2.4c0,8.3-6.8,15-15,15s-15-6.8-15-15V19c0-8.3-6.8-15-15-15s-15,6.8-15,15v34c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V100h990V71.8C990,63.6,983.3,56.8,975,56.8z"}))},"tilted-drips-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M990,38.6c-0.8,0.4-1.5,1-2.2,1.6l-38.9,38.9c-3.9,3.6-10,3.5-13.8-0.3c-3.8-3.8-3.9-9.9-0.3-13.8l26.1-26.1c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L898,73.5c-3.9,3.4-9.9,3.3-13.6-0.5c-3.5-3.5-3.8-9.2-0.9-13.1l6.9-6.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-55.8,55.8c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-24.8,24.8c-3.9,3.6-10,3.5-13.8-0.3c-3.7-3.7-3.9-9.8,12.2-26.3l20.7-20.7c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-48.7,48.7c-3.9,3.4-9.9,3.3-13.6-0.5c-3.6-3.6-3.9-9.3-0.8-13.2c0.2-0.2,0.4-0.4,0.6-0.7c0.1-0.1,0.2-0.2,0.3-0.3l-0.2,0.2c2.9-3.9,2.6-9.5-0.9-13.1h0c-3.9-3.9-10.3-3.9-14.1,0l-6.3,6.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l11.9-11.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L617.3,72c-3.9,3.6-10,3.5-13.8-0.3s-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1h0c-3.9-3.9-10.3-3.9-14.1,0l-34.5,34.5c-3.9,3.4-9.9,3.3-13.6-0.5c-3.5-3.5-3.8-9.2-0.9-13.1l6.9-6.9c3.9-3.9,3.9-10.3,0-14.1h0c-3.9-3.9-10.3-3.9-14.1,0l-13.3,13.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l11.9-11.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-46,46c-3.9,3.6-10,3.5-13.8-0.3s-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-62.8,62.8c-3.9,3.4-9.9,3.3-13.6-0.5c-3.5-3.5-3.8-8.9-1.1-12.8l21.3-21.3c3.9-3.9,3.9-10.3,0-14.1v0c-3.9-3.9-10.3-3.9-14.1,0l-13.3,13.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l11.9-11.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-46,46c-3.9,3.6-10,3.5-13.8-0.3s-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-41.6,41.6c-3.9,3.4-9.9,3.3-13.6-0.5c-3.6-3.6-3.9-9.3-0.8-13.2c0.2-0.2,0.4-0.4,0.6-0.7c0.1-0.1,0.2-0.2,0.3-0.3l-0.2,0.2c2.9-3.9,2.6-9.5-0.9-13.1v0c-3.9-3.9-10.3-3.9-14.1,0l-13.3,13.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l19-19c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L109.3,72c-3.9,3.6-10,3.5-13.8-0.3c-3.8-3.8-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1h0c-3.9-3.9-10.3-3.9-14.1,0L51.3,73.5c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l33.1-33.1c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L0,68.3V100h990V38.6z"}))},"tilted-drips":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v68.3l56.4-56.4c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L37.4,59.2c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l34.5-34.5c3.9-3.9,10.3-3.9,14.1,0h0c3.9,3.9,3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8c3.8,3.8,9.9,3.9,13.8,0.3l67.2-67.2c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-19,19c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l13.3-13.3c3.9-3.9,10.3-3.9,14.1,0v0c3.5,3.5,3.8,9.2,0.9,13.1l0.2-0.2c-0.1,0.1-0.2,0.2-0.3,0.3c-0.2,0.2-0.4,0.4-0.6,0.7c-3,3.9-2.7,9.6,0.8,13.2c3.7,3.7,9.7,3.9,13.6,0.5l41.6-41.6c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8s9.9,3.9,13.8,0.3l46-46c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L341,38c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l13.3-13.3c3.9-3.9,10.3-3.9,14.1,0v0c3.9,3.9,3.9,10.3,0,14.1L361,74.4c-2.7,3.9-2.3,9.3,1.1,12.8c3.7,3.7,9.7,3.9,13.6,0.5l62.8-62.8c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8s9.9,3.9,13.8,0.3l46-46c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L510.3,38c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l13.3-13.3c3.9-3.9,10.3-3.9,14.1,0h0c3.9,3.9,3.9,10.3,0,14.1l-6.9,6.9c-2.9,3.9-2.6,9.5,0.9,13.1c3.7,3.7,9.7,3.9,13.6,0.5l34.5-34.5c3.9-3.9,10.3-3.9,14.1,0h0c3.9,3.9,3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8s9.9,3.9,13.8,0.3l60.1-60.1c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L679.6,38c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l6.3-6.3c3.9-3.9,10.3-3.9,14.1,0h0c3.5,3.5,3.8,9.2,0.9,13.1l0.2-0.2c-0.1,0.1-0.2,0.2-0.3,0.3c-0.2,0.2-0.4,0.4-0.6,0.7c-3,3.9-2.7,9.6,0.8,13.2c3.7,3.7,9.7,3.9,13.6,0.5l48.7-48.7c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-20.7,20.7c-16.1,16.5-15.9,22.6-12.2,26.3c3.8,3.8,9.9,3.9,13.8,0.3l24.8-24.8c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l55.8-55.8c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-6.9,6.9c-2.9,3.9-2.6,9.5,0.9,13.1c3.7,3.7,9.7,3.9,13.6,0.5l48.7-48.7c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L934.8,65c-3.6,3.9-3.5,10,0.3,13.8c3.8,3.8,9.9,3.9,13.8,0.3l38.9-38.9c0.7-0.7,1.4-1.2,2.2-1.6V0H0z"}))},drips:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v29.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15V19c0-8.3,6.8-15,15-15s15,6.8,15,15v13.2c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.4c0-8.3,6.8-15,15-15s15,6.8,15,15V81c0,8.3,6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15V29.8c0-8.3,6.8-15,15-15s15,6.8,15,15V32c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.2c0-8.3,6.8-15,15-15s15,6.8,15,15v33.4c0,8.3,6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15V74c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.2c0-8.3,6.8-15,15-15s15,6.8,15,15v8.4c0,8.3,6.8,15,15,15s15-6.8,15-15V82c0-8.3,6.8-15,15-15s15,6.8,15,15s6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15v27.4c0,8.3,6.8,15,15,15s15-6.8,15-15V82c0-8.3,6.8-15,15-15s15,6.8,15,15v-2c0,8.3,6.8,15,15,15s15-6.8,15-15V29.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.2c0-8.3,6.8-15,15-15s15,6.8,15,15v29.4c0,8.3,6.8,15,15,15s15-6.8,15-15V82c0-8.3,6.8-15,15-15s15,6.8,15,15s6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15V29.8c0-8.3,6.8-15,15-15s15,6.8,15,15v45c0,8.3,6.8,15,15,15s15-6.8,15-15v-3c0-8.3,6.8-15,15-15s15,6.8,15,15V0H0z"}))},"pyramids-round-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M790.8,50.4l-146.3-28c-4.9-1-10-0.9-14.8,0.3l-302.2,72c-6.3,1.5-12.8,1.3-18.9-0.5L0,3v97h1000V20.6L807.3,50.7C801.9,51.5,796.3,51.4,790.8,50.4z"}))},"pyramids-round":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,3l308.6,91.2c6.1,1.8,12.6,2,18.9,0.5l302.2-72c4.8-1.2,9.9-1.3,14.8-0.3l146.3,28c5.5,1,11.1,1.1,16.5,0.3L1000,20.6V0H0V3z"}))},"pyramids-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"637,21 318,97 0,3 0,100 1000,100 1000,20.6 799,52 "}))},pyramids:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,3 318,97 637,21 799,52 1000,20.6 1000,0 0,0 "}))},"triangle-layered-asymmetrical":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M710,98.9L0,1.1V0h1000v1.1L710,98.9z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M710,78.9L0,1.1V0h1000v1.1L710,78.9z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M710,58.9L0,1.1V0h1000v1.1L710,58.9z"}))},"tilt-layered-1":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 2600 130",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"2600,65 0,1 0,0 2600,0 "}),wp.element.createElement("rect",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,width:"2600",height:"65"}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,points:"2600,65 0,129 0,0 2600,0 "}))},"tilt-layered-2":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M0,6V0h1000v100L0,6z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,6V0H0v100L1000,6z"}))},"tilt-layered-3":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 300 20",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"300,1 150,3 0,1 0,0 300,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.3,points:"300,6 150,3 0,6 0,0 300,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.3,points:"300,16 150,3 0,16 0,0 300,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.3,points:"300,11 150,3 0,11 0,0 300,0 "}))},"opacity-pyramids":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,3 318,77 637,21 799,52 1000,20.6 1000,0 0,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,points:"0,23 318,77 637,41 799,62 1000,20.6 1000,0 0,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,points:"0,53 318,77 637,61 799,82 1000,20.6 1000,0 0,0 "}))},mountains:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M96.75,42.51c41.73,3.17,56.48-13.82,97.52-23.11C303.06-5.25,340.46,82.24,438.1,54.44c33.81-9.63,53.36-26.96,113.28-37.89c6.98-1.27,32.05-6.68,62.62-6.55c102.24,0.44,122.48,45.95,222,41.5c70.08-3.13,126.55-28.66,164-50.4V0H0v0.9C21.95,18.65,54.96,39.33,96.75,42.51z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M62.31,65.11C104.87,60.84,123.89,39.78,176.9,37c13.38-0.7,23.39-0.29,29.97,0.57C241.3,42.12,263.58,59.94,337.9,73C446,92,461,28,587.8,30c108.8,1.8,125.5,49.4,235,46C901.4,73.6,986,46.2,1000,26.1V0H0v58.3C27.02,66.57,48.28,66.52,62.31,65.11z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M142.1,74c55.77-2.72,60.02-21.75,116.4-28c71.3-7.9,95.2,23.8,167.8,36C539.1,101,554.8,37,687,39c113.5,1.8,131,49.4,245.1,46c22.7-0.7,45.9-3.3,67.9-7.1V0H0v29C33.03,51.37,82.74,76.89,142.1,74z"}))},"drops-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 300 16",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M292,12c-1.2-1.2,0.4-3.4-1-5c-1.5-1.9-5.8-1.7-7,0c-1,1.5,0,5,0,6s-0.5,2-2.8,2s-2.3-2-1.3-3s2.6-5.5,2-8c-0.6-2.6-4.2-3.8-6-3c-1.4,0.6-3,4-2,7s1,6-0.6,6c-3,0-3.4-1-3.4-3s2.4-5-0.1-8C268,1,265,2,265,3s1,3-2,3s-2-4-5-4s-1,3-3,3s-1-3-3-4s-4,2-4,3s2,3-1,3s-1-5-4-5s-5,2-5,5s3,7-1,6s-1-3-1-7s-3.8-4.2-5-4c-0.8,0.1-4,1-4,4s2,6-1,6s-3-4-3-7s-2.9-4.4-5-4c-2.1,0.3-2.4,4-4,4c-1.8,0-2-4-4-4s-1.8,2.6-2,4c-0.4,2.9,3,7-2,7s-4-4-3-5s2.8-6,0.4-6S199,1,198,5s3.5,7-0.3,8s-3.8-2-3.8-5s2-7-2-7s-2,4-2,7s0,5-3,5s0.2-4-2-8c-0.1-0.2-1-3-3-3s0,6-2,6s-2-2-2-3s1-3-1-3s-2,5-2,7s1,6-3,5s2.9-9.6-0.6-12c-2-1.4-6.2-1.7-8.4,1c-3.4,4.2,3,11-2,11s0.9-5.8-2-10c-2.5-3.5-9.3-3-11.1-2S145,5,145,6s1,5,1,6s-3.7,3.4-5,1c-1.3-2.5,0-6,0-8s-2-4-4.5-4S135,4,133,4s-1.3-2-3-3s-3,0-3,2s5,9-2,10s-4.4-9-6-11s-3.9-1.5-6,1c-2.4,2.9,1.9,5.1-1,9c-1.1,1.5-2,4-4,2s0.3-4.1-1-9c-0.6-2.2-1-4-3-4s0,6-4,6s-4-1-4-2c0-4-3.4-3.9-5-4c-1.6-0.1-3.5,1.4-4,3c-0.6,1.9,0,6-2,6s-2-1-2-3s-1-4-2.5-5S76.7,1,76,3c-0.6,1.6-0.6,2.6,0,7c0.3,2.2-1,5-5,4s-2-5-2-7c0-4-3-6-5.5-5S60,5,60,7s3.3,6,0.6,7S57,13,57,11s0-5.9-2-8c-0.2-0.2-4-2-5,1s7,9,2,10s-4.9-2.5-5-6c-0.1-2.4,1.8-4.1,1-5c-0.6-0.7-2-0.5-3,0c-1.3,0.7-1.1,1.7-2,2c-1.8,0.6-4-4-5-3s-0.2,2.8,0,4c0.9,4.3,4,6,2,7s-3-1-3-2s0.9-6.9-1-9c-1.2-1.3-3.7-1-4-1c-2.6,0.3-3.4,2.4-5,2c-1.6-0.4-1.6-1.8-2.9-2c-1.5-0.2-3.2,1.6-4.1,4c-1.5,4-0.1,6.2-2,8c-1.1,1-3,1.7-4,1c-1.5-1.1,0.6-4.4-1-9c-0.7-2.2-1-4-3-4S9.2,3.7,8,4C6.9,4.3,6,2.6,5,3C4.3,3.2,4.1,4.2,4,5c-0.8,4.6,2,6.8-1,7S0.4,8.3,0,3.5V16h300V9.7C297.9,12.3,293.5,13.4,292,12z"}))},drops:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 300 16",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v3.5c0.4,4.8,0,8.8,3,8.5s0.2-2.4,1-7c0.1-0.8,0.3-1.8,1-2c1-0.4,1.9,1.3,3,1c1.2-0.3,0-3,2-3s2.3,1.8,3,4c1.6,4.6-0.5,7.9,1,9c1,0.7,2.9,0,4-1c1.9-1.8,0.5-4,2-8c0.9-2.4,2.7-4.2,4.1-4c1.3,0.2,1.2,1.6,2.9,2c1.6,0.4,2.4-1.7,5-2c0.3,0,2.8-0.3,4,1c1.9,2.1,1,8,1,9s1,3,3,2s-1.1-2.7-2-7c-0.2-1.2-1-3,0-4s3.2,3.6,5,3c0.9-0.3,0.7-1.3,2-2c1-0.5,2.4-0.7,3,0c0.8,0.9-1.1,2.6-1,5c0.1,3.5,0,7,5,6s-3-7-2-10s4.8-1.2,5-1c2,2.1,2,6,2,8s1,4,3.6,3S60,9,60,7s1-4,3.5-5S69,3,69,7c0,2-2,6,2,7s5.3-1.8,5-4c-0.6-4.4-0.6-5.4,0-7c0.7-2,3-2,4.5-1S83,5,83,7s0,3,2,3s1.4-4.1,2-6c0.5-1.6,2.4-3.1,4-3c1.6,0.1,5,0,5,4c0,1,0,2,4,2s2-6,4-6s2.4,1.8,3,4c1.3,4.9-1,7,1,9s2.9-0.5,4-2c2.9-3.9-1.4-6.1,1-9c2.1-2.5,4.4-3,6-1s-1,12,6,11s2-8,2-10s1.3-3,3-2s1,3,3,3s1-3,3.5-3s4.5,2,4.5,4s-1.3,5.5,0,8c1.3,2.4,5,0,5-1s-1-5-1-6s1-3,2.9-4s8.6-1.5,11.1,2c2.9,4.2-3,10,2,10s-1.4-6.8,2-11c2.2-2.7,6.4-2.4,8.4-1c3.6,2.4-3.4,11,0.6,12s3-3,3-5s0-7,2-7s1,2,1,3s0,3,2,3s0-6,2-6s2.9,2.8,3,3c2.2,4-1,8,2,8s3-2,3-5s-2-7,2-7s2,4,2,7s0,6,3.8,5S197,9,198,5s3-4,5.4-4s0.6,5-0.4,6s-2,5,3,5s1.6-4.1,2-7c0.2-1.4,0-4,2-4s2.2,4,4,4c1.6,0,1.9-3.7,4-4c2.1-0.4,5,1,5,4s0,7,3,7s1-3,1-6s3.2-3.9,4-4c1.2-0.2,5,0,5,4s-3,6,1,7s1-3,1-6s2-5,5-5s1,5,4,5s1-2,1-3s2-4,4-3s1,4,3,4s0-3,3-3s2,4,5,4s2-2,2-3s3-2,4.9,0c2.5,3,0.1,6,0.1,8s0.3,3,3.4,3c1.6,0,1.6-3,0.6-6s0.6-6.4,2-7c1.8-0.8,5.4,0.4,6,3c0.6,2.5-1,7-2,8s-1,3,1.3,3s2.8-1,2.8-2s-1-4.5,0-6c1.2-1.7,5.5-1.9,7,0c1.4,1.6-0.2,3.8,1,5c1.5,1.4,5.9,0.3,8-2.3V0H0z"}))},"curve-layered-1":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100V0H0v60c29.7,29.7,977.4,40,999.6,40H1000z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100V0H0v30c59.5,59.5,985.3,70,999.8,70H1000z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100V0H0.1l0,0c89,89.1,971.7,100,999.3,100H1000L1000,100z"}))},"curve-layered-2":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M0.4,100c22.2,0,969.9-10.3,999.6-40V0H0v100H0.4z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M0.2,100c14.5,0,940.3-10.5,999.8-70V0H0v100H0.2z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,100h0.6c27.6,0,910.3-10.9,999.3-100l0,0H0V100L0,100z"}))},"curve-layered-4":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0C1000,0,30.1,9.9,0,40V0H1000z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0C1000,0,90.5,9.5,0,100V0H1000z"}),wp.element.createElement("path",{fill:e,opacity:.3,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0C1000,0,60,10,0,70V0H1000z"}))},"curve-layered-3":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0c0,0,969.9,9.9,1000,40V0H0z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0c0,0,909.5,9.5,1000,100V0H0z"}),wp.element.createElement("path",{fill:e,opacity:.3,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0c0,0,940,10,1000,70V0H0z"}))},"curve-6":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M630,99C266,99,0,1,0,1v99h1000V1C1000,1,994,99,630,99z"}))},"curve-8":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M370,99c364,0,630-98,630-98v99H0V1C0,1,6,99,370,99z"}))},"curve-7":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,1c0,0,6,98,370,98s630-98,630-98V0H0V1z"}))},"curve-5":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,1c0,0-6,98-370,98S0,1,0,1V0h1000V1z"}))},curve:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,1c0,0-136,98-500,98S0,1,0,1V0h1000V1z"}))},"curve-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,1v99h1000V1c0,0-136,98-500,98S0,1,0,1z"}))},"curve-1":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,100h1000V0C1000,0,1000,100,0,100z"}))},"curve-2":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100H0V0C0,0,0,100,1000,100z"}))},"curve-3":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100C0,100,0,0,0,0s666.7,0,1000,0V100z"}))},"curve-4":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,100C1000,100,1000,0,1000,0S333.3,0,0,0V100z"}))},"clouds-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 280 30",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M273.5,16.2c-2.2-1.6-4.8-2.6-7.7-2.6c0-0.2,0-0.5,0-0.7c0-4.6-3.8-8.4-8.4-8.4c-2.5,0-4.8,1.1-6.3,2.9c-1.7-0.7-3.5-1.2-5.4-1.2c-7.2,0-13.1,5.7-13.3,12.8c-0.2,0-0.4,0-0.7,0c-2.4,0-4.8,0.6-6.8,1.7c-1.1-2.2-3.3-3.7-5.8-3.7c-3.6,0-6.5,2.9-6.5,6.5c0,0.5,0.1,1,0.2,1.5c-0.2,0-0.3,0-0.5,0c-3.4,0-6.4,1.7-8.2,4.4c-2.6-2.7-6.2-4.4-10.2-4.4c-1.8,0-3.6,0.4-5.2,1c-0.4-4.5-4.2-8-8.8-8c-0.3,0-0.7,0-1,0.1c-3.9-5.8-10.6-9.6-18.1-9.6c-4.9,0-9.3,1.6-13,4.3c-0.8-0.3-1.7-0.5-2.6-0.5c-3.8,0-6.9,3-7,6.8c-0.1,0-0.1,0-0.2,0c-4.1,0-8,1.4-11,3.8c-1.1-2.6-3.7-4.4-6.7-4.4c-0.5,0-1.1,0.1-1.6,0.2c-1-1.3-2.5-2.2-4.3-2.2c-1.5,0-2.9,0.7-3.9,1.7c-0.8-1.2-1.9-2.2-3.2-2.8c0.4-0.7,0.7-1.5,0.7-2.4c0-2.7-2.2-4.9-4.9-4.9c-1.9,0-3.5,1.1-4.3,2.6c-0.8-0.4-1.6-0.6-2.5-0.6c-2.9,0-5.4,2.2-5.6,5.1c-0.5-0.1-1-0.1-1.6-0.1c-4.2,0-7.6,2.8-8.8,6.6c-1.9-1.3-4.3-2-6.8-2c-5.2,0-9.6,3.2-11.5,7.7c-0.9-0.1-1.7-0.2-2.6-0.2c-0.2,0-0.3,0-0.5,0c0-5.2-4.3-9.5-9.5-9.5c-0.1,0-0.2,0-0.2,0C48.4,16,46.9,15,45,15c-2.7,0-4.9,2.2-4.9,4.9c0,0.4,0,0.7,0.1,1.1C39.2,20.3,38,20,36.7,20c-2.7,0-5.1,1.5-6.3,3.7c-0.4-0.1-0.8-0.1-1.2-0.1c-1.5,0-2.8,0.3-4,0.9c-3.4-4.1-8.6-6.8-14.4-6.8C6.7,17.8,3,19,0,21.1V30h280V13.1c-0.6-0.2-1.2-0.4-1.9-0.4C275.9,12.7,274.1,14.2,273.5,16.2z"}))},clouds:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 280 30",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M10.7,17.8c5.8,0,11,2.6,14.4,6.8c1.2-0.6,2.6-0.9,4-0.9c0.4,0,0.8,0,1.2,0.1c1.3-2.2,3.6-3.7,6.3-3.7c1.3,0,2.5,0.3,3.6,0.9c-0.1-0.3-0.1-0.7-0.1-1.1c0-2.7,2.2-4.9,4.9-4.9c1.9,0,3.4,1,4.3,2.6c0.1,0,0.2,0,0.2,0c5.2,0,9.5,4.2,9.5,9.5c0.2,0,0.3,0,0.5,0c0.9,0,1.8,0.1,2.6,0.2c1.9-4.5,6.3-7.7,11.5-7.7c2.5,0,4.8,0.7,6.8,2c1.1-3.8,4.6-6.6,8.8-6.6c0.5,0,1.1,0.1,1.6,0.1c0.3-2.9,2.7-5.1,5.6-5.1c0.9,0,1.7,0.2,2.5,0.6c0.8-1.5,2.4-2.6,4.3-2.6c2.7,0,4.9,2.2,4.9,4.9c0,0.9-0.3,1.7-0.7,2.4c1.3,0.7,2.4,1.7,3.2,2.8c1-1.1,2.3-1.7,3.9-1.7c1.8,0,3.3,0.9,4.3,2.2c0.5-0.1,1-0.2,1.6-0.2c3,0,5.6,1.8,6.7,4.4c3-2.4,6.9-3.8,11-3.8c0.1,0,0.1,0,0.2,0c0.1-3.8,3.2-6.8,7-6.8c0.9,0,1.8,0.2,2.6,0.5c3.6-2.7,8.1-4.3,13-4.3c7.5,0,14.2,3.8,18.1,9.6c0.3,0,0.6-0.1,1-0.1c4.6,0,8.4,3.5,8.8,8c1.6-0.6,3.3-1,5.2-1c4,0,7.6,1.7,10.2,4.4c1.8-2.6,4.8-4.4,8.2-4.4c0.2,0,0.3,0,0.5,0c-0.1-0.5-0.2-1-0.2-1.5c0-3.6,2.9-6.5,6.5-6.5c2.6,0,4.8,1.5,5.8,3.7c2-1.1,4.3-1.7,6.8-1.7c0.2,0,0.4,0,0.7,0c0.3-7.1,6.1-12.8,13.3-12.8c1.9,0,3.8,0.4,5.4,1.2c1.5-1.8,3.8-2.9,6.3-2.9c4.6,0,8.4,3.8,8.4,8.4c0,0.3,0,0.5,0,0.7c2.9,0.1,5.5,1,7.7,2.6c0.6-2,2.4-3.5,4.7-3.5c0.7,0,1.3,0.1,1.9,0.4V0H0v21.1C3,19,6.7,17.8,10.7,17.8z"}))},"book-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M627.7,68.5C504.4,29.9,500,1,500,1s-4.4,28.9-127.7,67.5C249,107.1,0,98.1,0,98.1v1.9h1000v-1.9C1000,98.1,751,107.1,627.7,68.5z"}))},book:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v1v97.1c0,0,249,9.1,372.3-29.6C495.6,29.9,500,1,500,1s4.4,28.9,127.7,67.5C751,107.1,1000,98.1,1000,98.1V1V0H0z"}))},"arrow-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 700 10",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"359,0 350,9 341,0 0,0 0,10 700,10 700,0 "}))},arrow:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 700 10",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"350,9 341,0 359,0 "}))}}},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=n(10),O=(n.n(_),n(12)),k=wp.element,E=k.Component,C=k.Fragment,j=window,S=j.jQuery,x=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.draggies={},e.state={needRender:!1},e.marginSizes={},e.paddingSizes={},e.sizesIsFilled=!1,e.initDragRullers=e.initDragRullers.bind(p()(e)),e}m()(t,e);var n=r(t);return s()(t,[{key:"getPaddingRight",value:function(){var e=this.props,t=e.paddingRight,n=e.paddingRightValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getPaddingLeft",value:function(){var e=this.props,t=e.paddingLeft,n=e.paddingLeftValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getPaddingTop",value:function(){var e=this.props,t=e.paddingTop,n=e.paddingTopValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getPaddingBottom",value:function(){var e=this.props,t=e.paddingBottom,n=e.paddingBottomValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getMarginRight",value:function(){var e=this.props,t=e.marginRight,n=e.marginRightValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getMarginLeft",value:function(){var e=this.props,t=e.marginLeft,n=e.marginLeftValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getMarginTop",value:function(){var e=this.props,t=e.marginTop,n=e.marginTopValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getMarginBottom",value:function(){var e=this.props,t=e.marginBottom,n=e.marginBottomValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getOffset",value:function(e){var t,n=this.props,r=n.clientId,o=n.baseClass,i=S("#block-".concat(r)),a=i.find(".".concat(o)).first(),l=0;return"left"==e?(t=this.getPaddingLeft(),l=this.getMarginLeft()):"right"==e&&(t=this.getPaddingRight(),l=this.getMarginRight()),isNaN(l)&&(l=0),a.outerWidth()-t-l}},{key:"calculateAllowedWidth",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"margin",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left",o=parseFloat(t.css("margin-left")),i=parseFloat(t.css("margin-right")),a=parseFloat(t.css("padding-left")),l=parseFloat(t.css("padding-right"));return"margin"==n&&("left"==r&&(o=this.getMarginLeft()),"right"==r&&(i=this.getMarginRight())),"padding"==n&&("left"==r&&(a=this.getPaddingLeft()),"right"==r&&(l=this.getPaddingRight())),e-(o+i+a+l)-this.minWidth-10}},{key:"initDragRullers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"top",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"margin",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"down",o=this.props,a=o.clientId,l=o.baseClass,c=o.setAttributes,s=o.changeState,u=t.charAt(0).toUpperCase()+t.slice(1),p=n.charAt(0).toUpperCase()+n.slice(1),d=S("#block-".concat(a)),m=d.find(".".concat(l)).first(),g=m.children(".".concat(l,"__wrapper")),f=m.children(".".concat(l,"__").concat(t,"-").concat(n,"-area")),b=m.children().find(".".concat(l,"__").concat(t,"-").concat(n,"-label")),w=m.children().find(".".concat(l,"__").concat(t,"-").concat(n,"-drag-zone"));if(0!=w.length&&0!=f.length){if(Object.keys(this.draggies).length){var h=!0,v=Object(_.get)(this.draggies,[n,t]);if(v&&v.element.className==w[0].className&&(h=!1),!h)return}Object(_.set)(this.draggies,[n,t],new Draggabilly(w[0],{containment:f,axis:"top"==t||"bottom"==t?"y":"x"}));var y,O,k,E,C=Object(_.get)(this.draggies,[n,t]);C.on("dragStart",function(e){f.addClass("active-drag-area"),f.removeClass("empty-ruller"),b.removeClass("empty-label"),s({isLockedPaddingsOnDesktop:!1,isLockedMarginsOnDesktop:!1}),"top"==t||"bottom"==t?y=f.height():O=f.width()}),C.on("dragMove",function(o,a,c){var s=e.props,d=s.marginRightValue,w=s.marginLeftValue;if(k!=Math.floor(c.y)){var h,v,C,j;j=f.width(),"down"==r?C=Math.abs(y-Math.floor(c.y)):"up"==r&&(C=Math.abs(y+Math.floor(c.y)));var x=function(){f.height(C),f.find(".".concat(l,"__").concat(t,"-").concat(n,"-label")).html("".concat(p," ").concat(u,": ").concat(C,"px"))},P=g.innerWidth(),T=m.outerWidth(),R=function(t,n){var r=Object(_.get)(e.draggies,[t,n]);return r?r.$element.parent():void 0},N=R("padding","top"),A=R("padding","left"),B=R("padding","right"),M=R("padding","bottom"),D=R("margin","top"),I=R("margin","bottom"),L=e.calculateAllowedWidth(T,g,n,t),z=Math.abs(Math.floor(c.x));if(void 0===E&&(E=Math.floor(c.x)),"padding"==n)if("top"==t)x(),B&&B.css({top:C}),A&&A.css({top:C});else if("right"==t){var V=e.getPaddingLeft(),F=P-e.minWidth-V,H=Math.abs(O-Math.floor(c.x));if(!(H<=F))return;j=H;var G=0;Object(_.has)(e.draggies,["margin","right"])&&""!=d&&void 0!=d&&(G=Object(_.get)(e.draggies,["margin","right"]).$element.width()),h=T-j-G,B.css({right:G}),B.css({left:h})}else if("bottom"==t)x(),B&&B.css({bottom:C}),A&&A.css({bottom:C});else if("left"==t){var W=e.getPaddingRight(),U=P-e.minWidth-W,q=Math.abs(O+Math.floor(c.x));if(!(q<=U))return;j=q;var Q=0;Object(_.has)(e.draggies,["margin","left"])&&""!=w&&void 0!=w&&(Q=Object(_.get)(e.draggies,["margin","left"]).$element.width()),v=T-j-Q,A.css({left:Q}),A.css({right:v})}if("margin"==n)if("top"==t)x();else if("right"==t){var K=e.getMarginRight(),Y=Math.abs(O-Math.floor(c.x)),J=function(){j=Y;var t=T-e.getPaddingRight()-j;S.each([N,B,M,D,I],function(e,t){t&&t.css({right:j})}),B&&B.css({left:t})};if(E>Math.floor(c.x)){if(!(z<=L))return;J()}else Y<L+K&&J();E=Math.floor(c.x),f.width(j)}else if("bottom"==t)x();else if("left"==t){var $=e.getMarginLeft(),Z=Math.abs(O+Math.floor(c.x)),X=function(){j=Z;var t=T-e.getPaddingLeft()-j;S.each([N,A,M,D,I],function(e,t){t&&t.css({left:j})}),A&&A.css({right:t})};if(E<Math.floor(c.x)){if(!(z<=L))return;X()}else Z<L+$&&X();E=Math.floor(c.x),f.width(j)}"right"!=t&&"left"!=t||(j<100?b.addClass("label-corner"):b.removeClass("label-corner"),f.find(".".concat(l,"__").concat(t,"-").concat(n,"-label")).html("".concat(p," ").concat(u,": ").concat(j,"px"))),g.css(i()({},n+u,"top"==t||"bottom"==t?"margin"!=n?C:"":j))}"top"!=t&&"bottom"!=t||(k=Math.floor(c.y))}),C.on("dragEnd",function(){var e;f.removeClass("active-drag-area"),c((e={},i()(e,n+u,"custom"),i()(e,n+u+"Value","top"==t||"bottom"==t?f.height()+"px":f.width()+"px"),e))})}}},{key:"initDraggies",value:function(){if(this.props.isLayoutSet){var e=this.initDragRullers;e("top","margin","up"),e("top","padding","up"),e("right","margin","left"),e("right","padding","left"),e("bottom","margin","up"),e("bottom","padding","up"),e("left","margin","right"),e("left","padding","right")}}},{key:"dropDraggies",value:function(){var e=this,t=["margin","padding"],n=["top","right","bottom","left"];S.each(t,function(t,r){S.each(n,function(t,n){var o=Object(_.get)(e.draggies,[r,n]);o&&o.destroy()})}),this.draggies={}}},{key:"checkDisabledRuller",value:function(){var e=this,t=this.props,n=t.paddingTop,r=t.paddingBottom,o=t.paddingLeft,i=t.paddingRight,a=this.props,l=a.marginTop,c=a.marginBottom,s=a.marginLeft,u=a.marginRight,p={paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:i},d={marginTop:l,marginBottom:c,marginLeft:s,marginRight:u},m=function(t,n){S.each(t,function(t,r){if("none"==r){var o=t.replace(n,"").toLowerCase(),i=Object(_.get)(e.draggies,[n,o]);i&&i.destroy(),Object(_.unset)(e.draggies,[n,o])}})};m(p,"padding"),m(d,"margin")}},{key:"initSizes",value:function(){var e=this,t=this.props,n=t.baseClass,r=t.clientId,o=S("#block-".concat(r)),i=o.find(".".concat(n)).first(),a=i.children(".".concat(n,"__wrapper")),l=["padding","margin"],c=["top","right","bottom","left"],s=["small","medium","normal","large"],u=function(){e.setState({needRender:!e.state.needRender})};S.each(l,function(t,n){S.each(c,function(t,r){S.each(s,function(t,o){var l="getwid-".concat(n,"-").concat(r,"-").concat(o),c=function(e){if(!Object(_.has)(e,[o])){var t=S(".".concat(l)).css("".concat(n,"-").concat(r));Object(_.set)(e,[o],t),u()}};"padding"==n?a.hasClass(l)&&c(e.paddingSizes):"margin"==n&&(["top","bottom"].includes(r)?i.hasClass(l)&&c(e.marginSizes):["left","right"].includes(r)&&a.hasClass(l)&&c(e.marginSizes))})})}),this.initDefaultSizes(i,a,u);var p=!0;S.each(s,function(t,n){Object(_.has)(e.paddingSizes,[n])&&Object(_.has)(e.marginSizes,[n])||(p=!1)}),p&&(this.sizesIsFilled=!0)}},{key:"initDefaultSizes",value:function(e,t,n){var r=this,o=this.props,i=o.paddingRight,a=o.paddingLeft,l=o.paddingTop,c=o.paddingBottom,s=this.props,u=s.marginRight,p=s.marginLeft,d=s.marginTop,m=s.marginBottom,g={paddingRight:i,paddingLeft:a,paddingTop:l,paddingBottom:c,marginRight:u,marginLeft:p,marginTop:d,marginBottom:m};S.each(Object.keys(g),function(o,i){if(""==g[i]){var a=Object(_.head)(i.split(Object(_.head)(i.match(/[A-Z]/g)))),l=i.replace(a,"").toLowerCase(),c=function(e,t){Object(_.has)(e,["default"])||(Object(_.set)(e,["default"],t.css("".concat(a,"-").concat(l))),n())};if("padding"==a)c(r.paddingSizes,t);else if("margin"==a)switch(l){case"top":case"bottom":c(r.marginSizes,e);break;case"left":case"right":c(r.marginSizes,t)}}})}},{key:"componentDidUpdate",value:function(e,t){var n,r=this;this.sizesIsFilled||(n=setInterval(function(){"complete"==document.readyState&&(clearInterval(n),r.initSizes())},1));var o=this.props,i=o.isLayoutSet,a=o.clientId,l=o.baseClass;if(i){var c=S("#block-".concat(a)),s=c.find(".".concat(l)).first();this.minWidth=parseFloat(s.children(".".concat(l,"__wrapper")).css("min-width"))}var u=this.props,p=u.isSelected,d=u.showRullers;Object(_.isEqual)(p,e.isSelected)&&Object(_.isEqual)(d,e.showRullers)||p&&d||this.dropDraggies(),Object(_.isEmpty)(this.draggies)||this.checkDisabledRuller(),this.initDraggies()}},{key:"componentDidMount",value:function(){var e,t=this,n=this.props,r=n.clientId,o=n.baseClass,i=S("#block-".concat(r)),a=i.find(".".concat(o)).first();this.sizesIsFilled||(e=setInterval(function(){"complete"==document.readyState&&(clearInterval(e),t.initSizes())},1)),this.initDraggies(),Object(O.c)(a,o,function(){if(Object(_.has)(t.draggies,["padding","right"])){var e=t.getOffset("right");Object(_.get)(t.draggies,["padding","right"]).$element.parent().css({left:e})}if(Object(_.has)(t.draggies,["padding","left"])){var n=t.getOffset("left");Object(_.get)(t.draggies,["padding","left"]).$element.parent().css({right:n})}})}},{key:"componentWillUnmount",value:function(){this.dropDraggies()}},{key:"render",value:function(){var e=this.props,t=e.paddingBottom,n=e.paddingRight,r=e.paddingLeft,o=e.paddingTop,i=this.props,a=i.marginBottom,l=i.marginRight,c=i.marginLeft,s=i.marginTop,u=this.props,p=u.paddingBottomValue,d=u.paddingRightValue,m=u.paddingLeftValue,g=u.paddingTopValue,f=this.props,b=f.marginBottomValue,w=f.marginRightValue,v=f.marginLeftValue,_=f.marginTopValue,O=this.props,k=O.baseClass,E=O.showRullers,j=O.isSelected;return wp.element.createElement(C,null,E&&j&&"none"!=s&&wp.element.createElement("div",{className:y()("".concat(k,"__top-margin-area"),"".concat(k,"__spacing-area"),{"empty-ruller":"custom"==s&&("0px"==_||""==_||!_)||0==this.getMarginTop(),"hide-ruller":"custom"==s&&(parseFloat(_)<0||""==_||!_)}),style:{height:this.getMarginTop(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(k,"__top-margin-label ").concat(k,"__spacing-label"),{"empty-label":"custom"==s&&("0px"==_||""==_||!_||0==this.getMarginTop())})},Object(h.__)("Margin Top: ","getwid")+("custom"==s?_:""==s?this.getMarginTop()+"px":this.marginSizes[s])),wp.element.createElement("div",{className:"".concat(k,"__top-margin-drag-zone ").concat(k,"__spacing-drag-zone")}))),E&&j&&"none"!=l&&wp.element.createElement("div",{className:y()("".concat(k,"__right-margin-area"),"".concat(k,"__spacing-area"),{"empty-ruller":"custom"==l&&("0px"==w||""==w||!w)||0==this.getMarginRight(),"hide-ruller":"custom"==l&&(parseFloat(w)<0||""==w||!w)}),style:{width:this.getMarginRight()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(k,"__right-margin-label ").concat(k,"__spacing-label"),{"empty-label":"custom"==l&&("0px"==w||""==w||!w||0==this.getMarginRight()),"label-corner":this.getMarginRight()<100})},Object(h.__)("Margin Right: ","getwid")+("custom"==l?w:""==l?this.getMarginRight()+"px":this.marginSizes[l])),wp.element.createElement("div",{className:"".concat(k,"__right-margin-drag-zone ").concat(k,"__spacing-drag-zone")}))),E&&j&&"none"!=a&&wp.element.createElement("div",{className:y()("".concat(k,"__bottom-margin-area"),"".concat(k,"__spacing-area"),{"empty-ruller":"custom"==a&&("0px"==b||""==b||!b)||0==this.getMarginBottom(),"hide-ruller":"custom"==a&&(parseFloat(b)<0||""==b||!b)}),style:{height:this.getMarginBottom(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(k,"__bottom-margin-label ").concat(k,"__spacing-label"),{"empty-label":"custom"==a&&("0px"==b||""==b||!b||0==this.getMarginBottom())})},Object(h.__)("Margin Bottom: ","getwid")+("custom"==a&&""!=b?b:""==a?this.getMarginBottom()+"px":""!=b?this.marginSizes[a]:"")),wp.element.createElement("div",{className:"".concat(k,"__bottom-margin-drag-zone ").concat(k,"__spacing-drag-zone")}))),E&&j&&"none"!=c&&wp.element.createElement("div",{className:y()("".concat(k,"__left-margin-area"),"".concat(k,"__spacing-area"),{"empty-ruller":"custom"==c&&("0px"==v||""==v||!v)||0==this.getMarginLeft(),"hide-ruller":"custom"==c&&(parseFloat(v)<0||""==v||!v)}),style:{width:"custom"!=c||v?this.getMarginLeft():void 0}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(k,"__left-margin-label ").concat(k,"__spacing-label"),{"empty-label":"custom"==c&&("0px"==v||""==v||!v||0==this.getMarginLeft()),"label-corner":this.getMarginLeft()<100})},Object(h.__)("Margin Left: ","getwid")+("custom"==c?v:""==c?this.getMarginLeft()+"px":this.marginSizes[c])),wp.element.createElement("div",{className:"".concat(k,"__left-margin-drag-zone ").concat(k,"__spacing-drag-zone")}))),this.props.children,E&&j&&"none"!=o&&wp.element.createElement("div",{className:y()("".concat(k,"__top-padding-area"),"".concat(k,"__spacing-area"),{"empty-ruller":"custom"==o&&("0px"==g||""==g||!g)||0==this.getPaddingTop(),"hide-ruller":"custom"==o&&(parseFloat(g)<0||""==g||!g)}),style:{height:this.getPaddingTop(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(k,"__top-padding-label ").concat(k,"__spacing-label"),{"empty-label":"custom"==o&&("0px"==g||""==g||!g||0==this.getPaddingTop())})},Object(h.__)("Padding Top: ","getwid")+("custom"==o?g:""==o?this.getPaddingTop()+"px":this.paddingSizes[o])),wp.element.createElement("div",{className:"".concat(k,"__top-padding-drag-zone ").concat(k,"__spacing-drag-zone")}))),E&&j&&"none"!=n&&wp.element.createElement("div",{className:y()("".concat(k,"__right-padding-area"),"".concat(k,"__spacing-area"),{"empty-ruller":"custom"==n&&("0px"==d||""==d||!d)||0==this.getPaddingRight(),"hide-ruller":"custom"==n&&(parseFloat(d)<0||""==d||!d)}),style:{left:this.getOffset("right"),top:this.getPaddingTop(),bottom:this.getPaddingBottom(),right:this.getMarginRight()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(k,"__right-padding-label ").concat(k,"__spacing-label"),{"empty-label":"custom"==n&&("0px"==d||""==d||!d||0==this.getPaddingRight()),"label-corner":this.getPaddingRight()<100})},Object(h.__)("Padding Right: ","getwid")+("custom"==n?d:""==n?this.getPaddingRight()+"px":this.paddingSizes[n])),wp.element.createElement("div",{className:"".concat(k,"__right-padding-drag-zone ").concat(k,"__spacing-drag-zone")}))),E&&j&&"none"!=t&&wp.element.createElement("div",{className:y()("".concat(k,"__bottom-padding-area"),"".concat(k,"__spacing-area"),{"empty-ruller":"custom"==t&&("0px"==p||""==p||!p)||0==this.getPaddingBottom(),"hide-ruller":"custom"==t&&(parseFloat(p)<0||""==p||!p)}),style:{height:this.getPaddingBottom(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(k,"__bottom-padding-label ").concat(k,"__spacing-label"),{"empty-label":"custom"==t&&("0px"==p||""==p||!p||0==this.getPaddingBottom())})},Object(h.__)("Padding Bottom: ","getwid")+("custom"==t?p:""==t?this.getPaddingBottom()+"px":this.paddingSizes[t])),wp.element.createElement("div",{className:"".concat(k,"__bottom-padding-drag-zone ").concat(k,"__spacing-drag-zone")}))),E&&j&&"none"!=r&&wp.element.createElement("div",{className:y()("".concat(k,"__left-padding-area"),"".concat(k,"__spacing-area"),{"empty-ruller":"custom"==r&&("0px"==m||""==m||!m)||0==this.getPaddingLeft(),"hide-ruller":"custom"==r&&(parseFloat(m)<0||""==m||!m)}),style:{right:this.getOffset("left"),top:this.getPaddingTop(),bottom:this.getPaddingBottom(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(k,"__left-padding-label ").concat(k,"__spacing-label"),{"empty-label":"custom"==r&&("0px"==m||""==m||!m||0==this.getPaddingLeft()),"label-corner":this.getPaddingLeft()<100})},Object(h.__)("Padding Left: ","getwid")+("custom"==r?m:""==r?this.getPaddingLeft()+"px":this.paddingSizes[r])),wp.element.createElement("div",{className:"".concat(k,"__left-padding-drag-zone ").concat(k,"__spacing-drag-zone")}))))}}]),t}(E);t.a=x},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(103)),v=(n.n(h),n(8)),y=n.n(v),_=n(1),O=(n.n(_),window),k=(O.jQuery,wp.components.Popover),E=wp.element,C=E.Component,j=(E.Fragment,E.createRef),S=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.toggle=e.toggle.bind(p()(e)),e.close=e.close.bind(p()(e)),e.closeIfFocusOutside=e.closeIfFocusOutside.bind(p()(e)),e.containerRef=j(),e.state={isOpen:!1},e}m()(t,e);var n=r(t);return s()(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState(function(e){return{isOpen:!e.isOpen}})}},{key:"closeIfFocusOutside",value:function(){this.containerRef.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||this.close()}},{key:"close",value:function(e){this.props.onClose&&this.props.onClose(),(!0===e||this.props.onClickOutside)&&this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this,t=this.state.isOpen,n=this.props,r=n.renderContent,o=n.renderToggle,a=n.position,l=void 0===a?"bottom":a,c=n.className,s=n.contentClassName,u=n.expandOnMobile,p=n.headerTitle,d=n.focusOnMount,m=n.popoverProps,g={isOpen:t,onToggle:this.toggle,onClose:this.close};return wp.element.createElement("div",{className:y()("components-dropdown",c),ref:this.containerRef},o(g),t&&wp.element.createElement(k,i()({onClick:function(e){e.stopPropagation()},className:s,position:l,onClose:function(){e.close()},onFocusOutside:this.closeIfFocusOutside,expandOnMobile:u,headerTitle:p,focusOnMount:d},m),r(g)))}}]),t}(C);t.a=S},function(e,t){},function(e,t,n){function r(t,n,i){return"undefined"!=typeof Reflect&&Reflect.get?e.exports=r=Reflect.get:e.exports=r=function(e,t,n){var r=o(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}},r(t,n,i||t)}var o=(n(3),n(105));e.exports=r},function(e,t,n){function r(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}var o=n(3);e.exports=r},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){/*!
7
  *
8
  * React FontIconPicker
9
  *
@@ -20,4 +20,4 @@ window.wp=window.wp||{},window.wp["./assets/js/editor.blocks"]=function(e){funct
20
  * https://opensource.org/licenses/MIT
21
  *
22
  */
23
- !function(t,r){e.exports=r(n(24),n(20),n(8),n(29),n(112))}(window,function(e,t,n,r,o){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=15)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(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.defineProperty(t,"__esModule",{value:!0}),t.flattenPossiblyCategorizedSource=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(Array.isArray(e))return i(e);if(null!==t)return void 0!==e[t]?i(e[t]):[];var n=[],r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){o(e,t,n[t])})}return e}({},e);return Object.keys(r).forEach(function(e){n=i(n).concat(i(r[e]))}),n},t.getPossibleCategories=function(e){return Array.isArray(e)?null:Object.keys(e)},t.convertToHex=function(e){return String.fromCodePoint(parseInt(e,10))},t.isArrayEqual=function(e,t){if(!Array.isArray(e)||!Array.isArray(t))return!1;var n=i(e);n.sort();var r=i(t);return r.sort(),JSON.stringify(n)===JSON.stringify(r)},t.getOffset=function(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+r,left:t.left+n}},t.getSourceType=function(e){return null===e?"null":"object"!==r(e)||Array.isArray(e)?Array.isArray(e)?"array":r(e):"object"},t.InvalidSourceException=function(e,t){this.givenType=e,this.requiredType=t,this.message="Expected of type: ".concat(this.requiredType,", found: ").concat(this.givenType),this.toString=function(){return"Invalid Source Exception: ".concat(this.message)}},t.fuzzySearch=function(e,t){e=e.toLowerCase();var n=(t=t.toLowerCase()).length,r=e.length;if(r>n)return!1;if(r===n)return e===t;e:for(var o=0,i=0;o<r;o++){for(var a=e.codePointAt(o);i<n;)if(t.codePointAt(i++)===a)continue e;return!1}return!0},t.debounce=void 0,t.debounce=function(e,t){var n;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout(function(){return e.apply(r,o)},t)}}},function(e,t){e.exports=n},,,function(e,t){e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="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 i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=r(n(1)),s=n(6),u=r(n(0)),p=r(n(3)),d=n(2),m=function(e){function t(e){var n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!r||"object"!==o(r)&&"function"!=typeof r?l(this):r,Object.defineProperty(l(n),"syncPortalPosition",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.resetPortalPosition(),n.fixWindowOverflow()}}),Object.defineProperty(l(n),"fixWindowOverflow",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=n.props.domRef.current.offsetWidth,t=n.props.domRef.current.offsetHeight,r=window,o=r.innerWidth,i=r.pageYOffset,a=document.documentElement.clientHeight,l=(0,d.getOffset)(n.props.domRef.current),c=l.left,s=l.top,u="self"===n.state.appendRoot?n.props.domRef.current:n.state.appendRoot,p=(0,d.getOffset)(u),m=n.props.btnRef.current,g=n.props.domRef.current,f=(0,d.getOffset)(m),b=getComputedStyle(m),w=(parseInt(b.borderTop,10)||0)+(parseInt(b.borderBottom,10)||0);if(c+e>o-20){var h=f.left+n.props.btnRef.current.offsetWidth-(e+p.left);h+p.left<0&&(h=10-p.left),g.style.left="".concat(h,"px")}t+s-i>a&&f.top-t>0&&("self"===n.state.appendRoot?g.style.top="-".concat(t-w,"px"):g.style.top="".concat(f.top+w-t,"px"))}}),n.state={},n.debouncedSyncPortalPosition=(0,d.debounce)(n.syncPortalPosition,250),n}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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,c.default.PureComponent),a(t,null,[{key:"getDerivedStateFromProps",value:function(e){var n=t.calculateAppendAndClass(e.appendRoot);return{appendRoot:n.appendRoot,portalClasses:n.portalClasses}}},{key:"calculateAppendAndClass",value:function(e){var t="self",n=(0,p.default)({"rfipdropdown--portal":!1!==e});return!1!==e&&(t=document.querySelector(e)),{portalClasses:n,appendRoot:t}}}]),a(t,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.debouncedSyncPortalPosition),window.addEventListener("scroll",this.debouncedSyncPortalPosition),this.syncPortalPosition()}},{key:"componentDidUpdate",value:function(){this.syncPortalPosition()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.debouncedSyncPortalPosition),window.removeEventListener("scroll",this.debouncedSyncPortalPosition)}},{key:"positionPortal",value:function(){var e=this.props.domRef.current.style.display;this.props.domRef.current.style.display="none";var t=this.props.btnRef.current,n=(0,d.getOffset)(t),r=(0,d.getOffset)(this.state.appendRoot),o=t.offsetHeight;this.props.domRef.current.style.left="".concat(n.left-r.left,"px"),this.props.domRef.current.style.top="".concat(n.top+o,"px"),this.props.domRef.current.style.display=e}},{key:"resetPortalPosition",value:function(){var e=this.props.domRef.current;"self"===this.state.appendRoot?e.style.top="":this.positionPortal()}},{key:"render",value:function(){var e=(0,p.default)(this.props.className,this.state.portalClasses),t=c.default.createElement("div",{className:e,ref:this.props.domRef},this.props.children);return"self"===this.state.appendRoot?t:(0,s.createPortal)(t,this.state.appendRoot)}}]),t}();Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:u.default.oneOfType([u.default.bool,u.default.string]),children:u.default.node.isRequired,domRef:u.default.object.isRequired,btnRef:u.default.object.isRequired,className:u.default.string.isRequired}}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:!1}});var g=m;t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="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 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")}()}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(n(1)),u=r(n(0)),p=r(n(3)),d=n(2),m=function(e){function t(e){var n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!r||"object"!==o(r)&&"function"!=typeof r?c(this):r,Object.defineProperty(c(n),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=n.props.currentPage,i=n.state.totalPage;null!==r?"next"===r?o+=1:o-=1:o=parseInt(e.target.value,10)-1,o<0&&(o=0),o>i-1&&(o=i-1),t=o+1,null===r&&Number.isNaN(o)&&(o=0,t=""),n.setState({viewPage:t}),n.props.handleChangePage(o)}}),Object.defineProperty(c(n),"handlePageKeyBoard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||n.handleChangePage({},t)}}),Object.defineProperty(c(n),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.props.handleChangeValue(e)}}),Object.defineProperty(c(n),"handleValueKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||n.handleChangeValue(t)}}),n.state={viewPage:n.props.currentPage+1},n}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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.PureComponent),l(t,null,[{key:"getDerivedStateFromProps",value:function(e,n){var r=t.getCategoryFilteredState(e.currentCategory,e.categories,e.icons),o=t.getCategoryFilteredState(e.currentCategory,e.categories,null===e.search?e.icons:e.search),i=t.getActiveIcons(r,o,e.currentSearch),a=i.activeIcons,l=i.activeTitles,c=e.currentPage,s=e.iconsPerPage,u={iconView:t.getCurrentViewIcons(a,s,c),titleView:t.getCurrentViewIcons(l,s,c),totalPage:Math.ceil(a.length/s)};return""!==n.viewPage&&(u.viewPage=e.currentPage+1),u}},{key:"getActiveIcons",value:function(e,t,n){var r=i(e),o=i(t);if(""===n||null===n)return{activeIcons:r,activeTitles:o};var a=[],l=[];return r.forEach(function(e,r){(0,d.fuzzySearch)(n,t[r])&&(a.push(e),l.push(t[r]))}),{activeIcons:a,activeTitles:l}}},{key:"getCategoryFilteredState",value:function(e,t,n){var r=null,o=(0,d.getSourceType)(n);if(Array.isArray(t)){if("object"!==o)throw new d.InvalidSourceException(o,"object")}else if("array"!==o)throw new d.InvalidSourceException(o,"array");return 0!==e&&Array.isArray(t)&&(r=t[e]||null),(0,d.flattenPossiblyCategorizedSource)(n,r)}},{key:"getCurrentViewIcons",value:function(e,t,n){var r=n*t,o=(n+1)*t;return e.slice(r,o)}}]),l(t,[{key:"renderPager",value:function(){var e=this;if(this.state.totalPage<1)return null;var t=this.props.currentPage>0?s.default.createElement("span",{className:"rfipicons__left",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"prev")},onClick:function(t){return e.handleChangePage(t,"prev")}},s.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Left"},s.default.createElement("i",{className:"fipicon-angle-left"}))):null,n=this.props.currentPage<this.state.totalPage-1?s.default.createElement("span",{className:"rfipicons__right",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"next")},onClick:function(t){return e.handleChangePage(t,"next")}},s.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Right"},s.default.createElement("i",{className:"fipicon-angle-right"}))):null;return s.default.createElement("div",{className:"rfipicons__pager"},s.default.createElement("div",{className:"rfipicons__num"},s.default.createElement("input",{value:this.state.viewPage,onChange:this.handleChangePage,className:"rfipicons__cp",type:"tel",min:1}),s.default.createElement("span",{className:"rfipicons__sp"},"/"),s.default.createElement("span",{className:"rfipicons__tp"},this.state.totalPage)),s.default.createElement("div",{className:"rfipicons__arrow"},t,n))}},{key:"renderIconView",value:function(){var e=this;return this.state.totalPage>0?this.state.iconView.map(function(t,n){var r=(0,p.default)("rfipicons__icon",{"rfipicons__icon--selected":e.props.value===t||Array.isArray(e.props.value)&&e.props.value.includes(t)});return s.default.createElement("span",{className:r,key:t,title:e.state.titleView[n]},s.default.createElement("span",{className:"rfipicons__ibox",tabIndex:0,role:"button",onClick:function(){return e.handleChangeValue(t)},onKeyDown:function(n){return e.handleValueKeyboard(n,t)}},e.props.renderIcon(t)))}):s.default.createElement("span",{className:"rfipicons__icon--error"},s.default.createElement("span",{className:"rfipicons__ibox--error"},this.props.noIconPlaceholder))}},{key:"render",value:function(){return s.default.createElement("div",{className:"rfipicons"},this.renderPager(),s.default.createElement("div",{className:"rfipicons__selector"},this.renderIconView()))}}]),t}();Object.defineProperty(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{categories:u.default.arrayOf(u.default.string),currentCategory:u.default.number,isMulti:u.default.bool.isRequired,icons:u.default.oneOfType([u.default.arrayOf(u.default.string),u.default.arrayOf(u.default.number),u.default.objectOf(u.default.oneOfType([u.default.arrayOf(u.default.number),u.default.arrayOf(u.default.string)]))]).isRequired,search:u.default.oneOfType([u.default.objectOf(u.default.arrayOf(u.default.string)),u.default.arrayOf(u.default.string)]),value:u.default.oneOfType([u.default.number,u.default.string,u.default.arrayOf(u.default.oneOfType([u.default.number,u.default.string]))]).isRequired,currentSearch:u.default.string.isRequired,handleChangeValue:u.default.func.isRequired,currentPage:u.default.number.isRequired,iconsPerPage:u.default.number.isRequired,handleChangePage:u.default.func.isRequired,renderIcon:u.default.func.isRequired,noIconPlaceholder:u.default.string.isRequired}}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{categories:null,currentCategory:null,search:null}});var g=m;t.default=g},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1)),i=r(n(0)),a=function(e){return o.default.createElement("div",{className:"rfipsearch"},o.default.createElement("input",{type:"text",className:"rfipsearch__input",value:e.value,onChange:e.handleSearch,placeholder:e.placeholder}))};a.propTypes={handleSearch:i.default.func.isRequired,value:i.default.string.isRequired,placeholder:i.default.string.isRequired};var l=a;t.default=l},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="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 i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(1)),l=r(n(0)),c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){return!t||"object"!==o(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}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.PureComponent),n=t,(r=[{key:"render",value:function(){return a.default.createElement("div",{className:"rfipcategory"},a.default.createElement("select",{className:"rfipcategory__select",onChange:this.props.handleCategory,value:this.props.value},this.props.categories.map(function(e,t){return a.default.createElement("option",{className:"rfipcategory__select__option",key:e,value:t},e)})),a.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"}))}}])&&i(n.prototype,r),t}();Object.defineProperty(c,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{handleCategory:l.default.func.isRequired,value:l.default.number.isRequired,categories:l.default.arrayOf(l.default.string).isRequired}});var s=c;t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="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 i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=r(n(1)),s=r(n(0)),u=r(n(10)),p=r(n(9)),d=r(n(8)),m=n(2),g=function(e){function t(e){var n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!r||"object"!==o(r)&&"function"!=typeof r?l(this):r,Object.defineProperty(l(n),"handleCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=parseInt(e.target.value,10);Number.isNaN(t)&&(t=0),n.props.handleChangeCategory(t),n.props.handleChangePage(0)}}),Object.defineProperty(l(n),"handleSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target.value;n.props.handleChangeSearch(t)}}),n.state={},n}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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,c.default.PureComponent),a(t,null,[{key:"getDerivedStateFromProps",value:function(e){var t=(0,m.getPossibleCategories)(e.icons);return null!==t&&(t=[e.allCatPlaceholder].concat(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")}()}(t))),{categories:t,searchString:e.currentSearch}}}]),a(t,[{key:"render",value:function(){return c.default.createElement("div",{className:"rfipdropdown__selector"},this.props.showSearch?c.default.createElement(p.default,{handleSearch:this.handleSearch,value:this.state.searchString,placeholder:this.props.searchPlaceholder}):null,this.props.showCategory&&this.state.categories&&this.state.categories.length?c.default.createElement(u.default,{handleCategory:this.handleCategory,value:this.props.currentCategory,categories:this.state.categories}):null,c.default.createElement(d.default,{categories:this.state.categories,currentCategory:this.props.currentCategory,isMulti:this.props.isMulti,icons:this.props.icons,search:this.props.search,value:this.props.value,currentSearch:this.props.currentSearch,handleChangeValue:this.props.handleChangeValue,currentPage:this.props.currentPage,iconsPerPage:this.props.iconsPerPage,handleChangePage:this.props.handleChangePage,renderIcon:this.props.renderIcon,noIconPlaceholder:this.props.noIconPlaceholder}))}}]),t}();Object.defineProperty(g,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{isMulti:s.default.bool.isRequired,value:s.default.oneOfType([s.default.number,s.default.string,s.default.arrayOf(s.default.any)]).isRequired,currentCategory:s.default.number.isRequired,currentPage:s.default.number.isRequired,currentSearch:s.default.string.isRequired,icons:s.default.oneOfType([s.default.arrayOf(s.default.number),s.default.arrayOf(s.default.string),s.default.objectOf(s.default.oneOfType([s.default.arrayOf(s.default.number),s.default.arrayOf(s.default.string)]))]).isRequired,search:s.default.oneOfType([s.default.object,s.default.arrayOf(s.default.string)]),showCategory:s.default.bool.isRequired,showSearch:s.default.bool.isRequired,iconsPerPage:s.default.number.isRequired,allCatPlaceholder:s.default.string.isRequired,searchPlaceholder:s.default.string.isRequired,noIconPlaceholder:s.default.string.isRequired,renderIcon:s.default.func.isRequired,handleChangeValue:s.default.func.isRequired,handleChangeCategory:s.default.func.isRequired,handleChangePage:s.default.func.isRequired,handleChangeSearch:s.default.func.isRequired}}),Object.defineProperty(g,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null}});var f=g;t.default=f},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="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 i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?c(e):t}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(n(1)),u=r(n(0)),p=r(n(3)),d=function(e){function t(){var e,n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return l(r,(n=r=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),Object.defineProperty(c(r),"handleClick",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.props.onClick()}}),Object.defineProperty(c(r),"handleKeyDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){32!==e.keyCode&&13!==e.keyCode||r.props.onClick()}}),Object.defineProperty(c(r),"handleDelete",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){e.stopPropagation(),r.props.handleDeleteValue(t)}}),Object.defineProperty(c(r),"handleDeleteKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){32!==e.keyCode&&13!==e.keyCode||r.props.handleDeleteValue(t)}}),Object.defineProperty(c(r),"renderEmptyIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(){return s.default.createElement("span",{className:"rfipbtn__icon--empty"},r.props.noSelectedPlaceholder)}}),n))}var n,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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.PureComponent),n=t,(r=[{key:"renderIcon",value:function(e){var t=this;return""===e||null===e||void 0===e?this.renderEmptyIcon():s.default.createElement("span",{className:"rfipbtn__icon",key:e},s.default.createElement("span",{className:"rfipbtn__elm"},this.props.renderIcon(e)),s.default.createElement("span",{className:"rfipbtn__del",onClick:function(n){return t.handleDelete(n,e)},onKeyDown:function(n){return t.handleDeleteKeyboard(n,e)},tabIndex:0,role:"button"},"×"))}},{key:"renderCurrentIcons",value:function(){var e=this;return this.props.isMulti?this.props.value.length?this.props.value.map(function(t){return e.renderIcon(t)}):this.renderEmptyIcon():this.renderIcon(this.props.value)}},{key:"render",value:function(){var e={onClick:this.handleClick,onKeyDown:this.handleKeyDown,onFocus:this.handleFocus,onBlur:this.handleBlur,tabIndex:0},t=(0,p.default)("rfipbtn__button","rfipbtn__button--".concat(this.props.isOpen?"open":"close")),n=(0,p.default)(this.props.className);return s.default.createElement("div",i({className:n,ref:this.props.domRef},e),s.default.createElement("div",{className:"rfipbtn__current"},this.renderCurrentIcons()),s.default.createElement("div",{className:t},s.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"})))}}])&&a(n.prototype,r),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:u.default.string.isRequired,isOpen:u.default.bool.isRequired,onClick:u.default.func.isRequired,domRef:u.default.object.isRequired,isMulti:u.default.bool.isRequired,value:u.default.oneOfType([u.default.number,u.default.string,u.default.arrayOf(u.default.oneOfType([u.default.number,u.default.string]))]).isRequired,renderIcon:u.default.func.isRequired,handleDeleteValue:u.default.func.isRequired,noSelectedPlaceholder:u.default.string.isRequired}});var m=d;t.default=m},function(e,t){e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o="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 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")}()}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}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(n(1)),p=r(n(0)),d=r(n(3)),m=n(13),g=r(n(12)),f=r(n(11)),b=r(n(7)),w=n(2),h=[],v="",y=function(e){function t(e){var n,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),r=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!r||"object"!==o(r)&&"function"!=typeof r?s(this):r,Object.defineProperty(s(n),"handleOuterClick",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target;n.isClickWithin(t)||n.closeDropdown()}}),Object.defineProperty(s(n),"handleEscapeKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e){27===e.keyCode&&n.closeDropdown()}}),Object.defineProperty(s(n),"isClickWithin",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return n.fipButtonRef.current.contains(e)||n.fipDropDownRef.current&&n.fipDropDownRef.current.contains(e)}}),Object.defineProperty(s(n),"handleToggle",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.setState(function(e){return n.handleDropDown(!e.isOpen,!1)})}}),Object.defineProperty(s(n),"closeDropdown",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.handleDropDown(!1)}}),Object.defineProperty(s(n),"handleDropDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o={isOpen:e};return o.elemClass=t.getDerivedClassName("rfip",n.props.theme,n.props.isMulti,e),o.btnClass=t.getDerivedClassName("rfipbtn",n.props.theme,n.props.isMulti,e),o.ddClass=t.getDerivedClassName("rfipdropdown",n.props.theme,n.props.isMulti,e),r&&n.setState(o),o}}),Object.defineProperty(s(n),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t;n.props.isMulti?(t=i(n.state.value)).includes(e)?(t=t.filter(function(t){return t!==e})).length||(t=h):t.push(e):t=e===n.state.value?v:e,n.setState({value:t,isOpen:!n.props.closeOnSelect}),n.props.onChange(t)}}),Object.defineProperty(s(n),"handleDeleteValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var r;r=n.props.isMulti?n.state.value.filter(function(t){return t!==e}):t.getDerivedValue(r,n.props.isMulti),n.setState({value:r}),n.props.onChange(r)}}),Object.defineProperty(s(n),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentPage:e})}}),Object.defineProperty(s(n),"handleChangeCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentCategory:e,currentPage:0})}}),Object.defineProperty(s(n),"handleChangeSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentSearch:e,currentPage:0})}}),Object.defineProperty(s(n),"resetPortalStyle",{configurable:!0,enumerable:!0,writable:!0,value:function(e){["maxHeight","paddingTop","paddingBottom"].forEach(function(t){e.style[t]=null})}}),Object.defineProperty(s(n),"handlePortalEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t);var r=getComputedStyle(t);n.fipPortalComputedStyle={height:r.height,paddingTop:r.paddingTop,paddingBottom:r.paddingBottom},["maxHeight","paddingTop","paddingBottom"].forEach(function(e){t.style[e]="0px"})}}),Object.defineProperty(s(n),"handlePortalEntering",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight=n.fipPortalComputedStyle.height,t.style.paddingTop=n.fipPortalComputedStyle.paddingTop,t.style.paddingBottom=n.fipPortalComputedStyle.paddingBottom}}),Object.defineProperty(s(n),"handlePortalEntered",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t),n.props.showSearch&&void 0===window.orientation&&-1===navigator.userAgent.indexOf("IEMobile")&&t.querySelector(".rfipsearch__input").focus()}}),Object.defineProperty(s(n),"handlePortalExit",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t);var r=getComputedStyle(t).height;t.style.maxHeight=r}}),Object.defineProperty(s(n),"handlePortalExiting",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight="0px",t.style.paddingTop="0px",t.style.paddingBottom="0px"}}),Object.defineProperty(s(n),"renderIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(e){if("function"==typeof n.props.renderFunc)return n.props.renderFunc(e);if("class"===n.props.renderUsing)return u.default.createElement("i",{className:e});var t=a({},n.props.renderUsing,n.props.convertHex?(0,w.convertToHex)(e):e);return u.default.createElement("i",t)}}),n.fipButtonRef=u.default.createRef(),n.fipDropDownRef=u.default.createRef(),n.state={currentCategory:0,currentPage:0,isOpen:!1,currentSearch:""},n.fipPortalComputedStyle=null,n}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,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.default.PureComponent),c(t,null,[{key:"getDerivedStateFromProps",value:function(e,n){var r={};return r.elemClass=t.getDerivedClassName("rfip",e.theme,e.isMulti,n.isOpen),r.btnClass=t.getDerivedClassName("rfipbtn",e.theme,e.isMulti,n.isOpen),r.ddClass=t.getDerivedClassName("rfipdropdown",e.theme,e.isMulti,n.isOpen),r.value=t.getDerivedValue(e.value,e.isMulti),e.showCategory||(r.currentCategory=0,r.currentPage=0),e.showSearch||(r.currentSearch="",r.currentPage=0),r}},{key:"getDerivedClassName",value:function(e,t,n,r){return(0,d.default)(e,"".concat(e,"--").concat(t),a({},"".concat(e,"--multi"),n),"".concat(e,"--").concat(r?"open":"close"))}},{key:"getDerivedValue",value:function(e,t){var n=e;return t?n=Array.isArray(e)?i(e):h:"number"!=typeof e&&"string"!=typeof e&&(n=v),n}}]),c(t,[{key:"componentDidMount",value:function(){var e=this;["click"].forEach(function(t){document.addEventListener(t,e.handleOuterClick,!1)}),document.addEventListener("keydown",this.handleEscapeKeyboard,!1),this.props.onChange(this.state.value)}},{key:"componentWillUnmount",value:function(){var e=this;["click"].forEach(function(t){document.removeEventListener(t,e.handleOuterClick,!1)}),document.removeEventListener("keydown",this.handleEscapeKeyboard,!1)}},{key:"render",value:function(){var e={currentCategory:this.state.currentCategory,currentPage:this.state.currentPage,currentSearch:this.state.currentSearch,value:this.state.value,isMulti:this.props.isMulti,icons:this.props.icons,search:this.props.search,showCategory:this.props.showCategory,showSearch:this.props.showSearch,iconsPerPage:this.props.iconsPerPage,allCatPlaceholder:this.props.allCatPlaceholder,searchPlaceholder:this.props.searchPlaceholder,noIconPlaceholder:this.props.noIconPlaceholder,renderIcon:this.renderIcon,handleChangeValue:this.handleChangeValue,handleChangeCategory:this.handleChangeCategory,handleChangePage:this.handleChangePage,handleChangeSearch:this.handleChangeSearch};return u.default.createElement("div",{className:this.state.elemClass,ref:this.fipRef},u.default.createElement(g.default,{className:this.state.btnClass,isOpen:this.state.isOpen,onClick:this.handleToggle,domRef:this.fipButtonRef,isMulti:this.props.isMulti,value:this.state.value,renderIcon:this.renderIcon,handleDeleteValue:this.handleDeleteValue,noSelectedPlaceholder:this.props.noSelectedPlaceholder}),u.default.createElement(m.CSSTransition,{classNames:"fipappear",timeout:300,in:this.state.isOpen,unmountOnExit:!0,onEnter:this.handlePortalEnter,onEntering:this.handlePortalEntering,onEntered:this.handlePortalEntered,onExit:this.handlePortalExit,onExiting:this.handlePortalExiting},u.default.createElement(b.default,{appendRoot:this.props.appendTo,domRef:this.fipDropDownRef,btnRef:this.fipButtonRef,className:this.state.ddClass},u.default.createElement(f.default,e))))}}]),t}();Object.defineProperty(y,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{icons:p.default.oneOfType([p.default.arrayOf(p.default.string),p.default.arrayOf(p.default.number),p.default.objectOf(p.default.oneOfType([p.default.arrayOf(p.default.number),p.default.arrayOf(p.default.string)]))]).isRequired,search:p.default.oneOfType([p.default.objectOf(p.default.arrayOf(p.default.string)),p.default.arrayOf(p.default.string)]),iconsPerPage:p.default.number,theme:p.default.string,onChange:p.default.func.isRequired,showCategory:p.default.bool,showSearch:p.default.bool,value:p.default.oneOfType([p.default.arrayOf(p.default.string),p.default.arrayOf(p.default.number),p.default.number,p.default.string]),isMulti:p.default.bool,renderUsing:p.default.string,convertHex:p.default.bool,renderFunc:p.default.func,appendTo:p.default.oneOfType([p.default.bool,p.default.string]),allCatPlaceholder:p.default.string,searchPlaceholder:p.default.string,noIconPlaceholder:p.default.string,noSelectedPlaceholder:p.default.string,closeOnSelect:p.default.bool}}),Object.defineProperty(y,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null,iconsPerPage:20,theme:"default",showCategory:!0,showSearch:!0,value:null,isMulti:!1,renderUsing:"class",convertHex:!0,renderFunc:null,appendTo:!1,allCatPlaceholder:"Show from all",searchPlaceholder:"Search Icons",noIconPlaceholder:"No icons found",noSelectedPlaceholder:"Select icon",closeOnSelect:!1}}),Object.defineProperty(y,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"FontIconPicker"});var _=y;t.default=_},function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=((r=n(14))&&r.__esModule?r:{default:r}).default;t.default=o}]).default})},function(e,t,n){"use strict";function r(){}function o(){}var i=n(111);o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=r(n(113)),i=r(n(118)),a=r(n(49)),l=r(n(46));e.exports={Transition:l.default,TransitionGroup:a.default,ReplaceTransition:i.default,CSSTransition:o.default}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}t.__esModule=!0,t.default=void 0;var a=(function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(24)),r(n(114))),l=r(n(117)),c=r(n(20)),s=r(n(46)),u=(n(48),function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,a.default)(e,t)})}),p=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,l.default)(e,t)})},d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.onEnter=function(e,n){var r=t.getClassNames(n?"appear":"enter"),o=r.className;t.removeClasses(e,"exit"),u(e,o),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.getClassNames(n?"appear":"enter"),o=r.activeClassName;t.reflowAndAddClass(e,o),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.getClassNames("appear").doneClassName,o=t.getClassNames("enter").doneClassName,i=n?r+" "+o:o;t.removeClasses(e,n?"appear":"enter"),u(e,i),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.getClassNames("exit"),r=n.className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),u(e,r),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit"),r=n.activeClassName;t.reflowAndAddClass(e,r),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit"),r=n.doneClassName;t.removeClasses(e,"exit"),u(e,r),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r&&n?n+"-":"",i=r?o+e:n[e];return{className:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}i(t,e);var n=t.prototype;return n.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,o=n.activeClassName,i=n.doneClassName;r&&p(e,r),o&&p(e,o),i&&p(e,i)},n.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,u(e,t))},n.render=function(){var e=o({},this.props);return delete e.classNames,c.default.createElement(s.default,o({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(c.default.Component);d.defaultProps={classNames:""},d.propTypes={};var m=d;t.default=m,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){e.classList?e.classList.add(t):(0,i.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}var o=n(115);t.__esModule=!0,t.default=r;var i=o(n(116));e.exports=t.default},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}t.__esModule=!0,t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"==typeof e.className?e.className=r(e.className,t):e.setAttribute("class",r(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}t.__esModule=!0,t.default=void 0;var a=(r(n(24)),r(n(20))),l=n(29),c=r(n(49)),s=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,t.handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}i(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,o=this.props.children,i=a.default.Children.toArray(o)[t];i.props[e]&&(r=i.props)[e].apply(r,n),this.props[e]&&this.props[e]((0,l.findDOMNode)(this))},n.render=function(){var e=this.props,t=e.children,n=e.in,r=o(e,["children","in"]),i=a.default.Children.toArray(t),l=i[0],s=i[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,a.default.createElement(c.default,r,n?a.default.cloneElement(l,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):a.default.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(a.default.Component);s.propTypes={};var u=s;t.default=u,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=function(e){return t&&(0,c.isValidElement)(e)?t(e):e},r=Object.create(null);return e&&c.Children.map(e,function(e){return e}).forEach(function(e){r[e.key]=n(e)}),r}function o(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,l={};for(var c in t){if(r[c])for(a=0;a<r[c].length;a++){var s=r[c][a];l[r[c][a]]=n(s)}l[c]=n(c)}for(a=0;a<o.length;a++)l[o[a]]=n(o[a]);return l}function i(e,t,n){return null!=n[t]?n[t]:e.props[t]}function a(e,t){return r(e.children,function(n){return(0,c.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:i(n,"appear",e),enter:i(n,"enter",e),exit:i(n,"exit",e)})})}function l(e,t,n){var a=r(e.children),l=o(t,a);return Object.keys(l).forEach(function(r){var o=l[r];if((0,c.isValidElement)(o)){var s=r in t,u=r in a,p=t[r],d=(0,c.isValidElement)(p)&&!p.props.in;!u||s&&!d?u||!s||d?u&&s&&(0,c.isValidElement)(p)&&(l[r]=(0,c.cloneElement)(o,{onExited:n.bind(null,o),in:p.props.in,exit:i(o,"exit",e),enter:i(o,"enter",e)})):l[r]=(0,c.cloneElement)(o,{in:!1}):l[r]=(0,c.cloneElement)(o,{onExited:n.bind(null,o),in:!0,exit:i(o,"exit",e),enter:i(o,"enter",e)})}}),l}t.__esModule=!0,t.getChildMapping=r,t.mergeChildMappings=o,t.getInitialChildMapping=a,t.getNextChildMapping=l;var c=n(20)},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=k()(e);if(t()){var o=k()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}var o=n(15),i=n.n(o),a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),O=n(3),k=n.n(O),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(19)),S=n(126),x=n(17),P=n(16),T=n(25),R=n(128),N=n(14),A=wp.data,B=A.select,M=A.withSelect,D=wp.element,I=D.Component,L=D.Fragment,z=wp.blockEditor||wp.editor,V=z.InspectorControls,F=z.MediaUpload,H=z.MediaPlaceholder,G=z.withColors,W=wp.components,U=W.FocalPointPicker,q=W.BaseControl,Q=W.Button,K=W.PanelBody,Y=W.RangeControl,J=W.SelectControl,$=W.TextControl,Z=W.CheckboxControl,X=W.RadioControl,ee=W.ToggleControl,te=W.ButtonGroup,ne=W.TabPanel,re=W.ExternalLink,oe=W.ColorPalette,ie=W.ColorIndicator,ae=W.Dropdown,le=W.Dashicon,ce=wp.components.__experimentalGradientPicker||wp.components.GradientPicker,se=wp.compose.compose,ue=["image"],pe=["image"],de=["video"],me=["colors","disableCustomColors","gradients","disableCustomGradients"],ge="components-base-control",fe=function(e){function t(e){var r;return m()(this,t),r=n.apply(this,arguments),r.onSelectSliderImages=r.onSelectSliderImages.bind(w()(r)),r.changeBackgroundGradient=r.changeBackgroundGradient.bind(w()(r)),r.changeForegroundGradient=r.changeForegroundGradient.bind(w()(r)),r.changeState=r.changeState.bind(w()(r)),r.state={contentHelpIsVisible:!1,tabName:"general",backgroundType:"color",foregroundType:"color"},r}v()(t,e);var n=r(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"render",value:function(){var e=this.state,t=e.tabName,n=e.backgroundType,r=e.foregroundType,o=this.props.attributes.customBackgroundColor,i=this.props,a=i.setBackgroundColor,c=i.backgroundColor,s=i.clientId,u=i.getBlock,p=this.props.attributes,d=p.backgroundGradientFirstColor,m=p.backgroundGradientFirstColorLocation,g=p.backgroundGradientSecondColor,f=p.backgroundGradientSecondColorLocation,b=p.backgroundGradientType,w=p.backgroundGradientAngle,h=this.props.attributes,v=h.foregroundGradientFirstColor,y=h.foregroundGradientFirstColorLocation,_=h.foregroundGradientSecondColor,O=h.foregroundGradientSecondColorLocation,k=h.foregroundGradientType,C=h.foregroundGradientAngle,x=this.props,T=x.colorGradientSettings,A=x.prepareMultiGradientStyle,B=T.gradients,M=T.disableCustomColors,D=T.disableCustomGradients,I=this.changeBackgroundGradient,z=this.changeForegroundGradient,F=this.changeState,H=this.props.setAttributes,G=A("background",this.props),W=A("foreground",this.props);return u(s)?wp.element.createElement(V,{key:"inspector"},wp.element.createElement(j.a,{state:t,stateName:"tabName",onChangeTab:F,tabs:["general","style","advanced"]}),"general"===t&&wp.element.createElement(L,null,wp.element.createElement(K,{initialOpen:!0},this.renderSizeSettings(),this.renderAlignmentSettings())),"style"===t&&wp.element.createElement(L,null,wp.element.createElement(K,{title:Object(E.__)("Background","getwid"),initialOpen:!0},wp.element.createElement(S.a,{state:n,stateName:"backgroundType",onChangeBackgroundType:F,types:["color","image","gradient","slider","video"]}),"color"===n&&wp.element.createElement(P.a,{colorSettings:[{title:Object(E.__)("Background Color","getwid"),colors:{customColor:o,defaultColor:c},changeColor:a}]}),"image"===n&&wp.element.createElement(L,null,this.renderBackgroundImage()),"gradient"===n&&(ce?wp.element.createElement(ce,l()({value:G,onChange:function(e){H({backgroundGradient:e})}},{gradients:B,disableCustomColors:M,disableCustomGradients:D})):wp.element.createElement(R.a,{label:"Background Gradient",value:{firstColor:d,secondColor:g,firstLocation:m,secondLocation:f,type:b,angle:w},onChange:I})),"slider"===n&&wp.element.createElement(L,null,this.renderSliderSettings()),"video"===n&&wp.element.createElement(L,null,this.renderVideoSettings())),wp.element.createElement(K,{title:Object(E.__)("Overlay","getwid"),initialOpen:!1},this.renderForegroundSettings(),wp.element.createElement(S.a,{label:Object(E.__)("Overlay Type","getwid"),state:r,stateName:"foregroundType",onChangeBackgroundType:F,types:["color","image","gradient"]}),"color"===r&&wp.element.createElement(L,null,this.renderForegroundColor()),"image"===r&&wp.element.createElement(L,null,this.renderForegroundImage()),"gradient"===r&&(ce?wp.element.createElement(ce,l()({value:W,onChange:function(e){return H({foregroundGradient:e})}},{gradients:B,disableCustomColors:M,disableCustomGradients:D})):wp.element.createElement(R.a,{label:"Overlay Gradient",value:{firstColor:v,secondColor:_,firstLocation:y,secondLocation:O,type:k,angle:C},onChange:z}))),Object(N.g)(this),Object(N.d)(this)),"advanced"===t&&wp.element.createElement(L,null,this.renderAnimationSettings(),this.renderDividersSettings())):wp.element.createElement(V,null)}},{key:"changeBackgroundGradient",value:function(e,t,n,r,o,i){(0,this.props.setAttributes)({backgroundGradientFirstColor:e,backgroundGradientSecondColor:n,backgroundGradientFirstColorLocation:t,backgroundGradientSecondColorLocation:r,backgroundGradientType:o,backgroundGradientAngle:i})}},{key:"changeForegroundGradient",value:function(e,t,n,r,o,i){(0,this.props.setAttributes)({foregroundGradientFirstColor:e,foregroundGradientSecondColor:n,foregroundGradientFirstColorLocation:t,foregroundGradientSecondColorLocation:r,foregroundGradientType:o,foregroundGradientAngle:i})}},{key:"hasAnimation",value:function(){var e=this.props.attributes,t=e.entranceAnimation,n=e.entranceAnimationDelay,r=e.entranceAnimationDuration;return void 0!==t||"200ms"!==n||"1500ms"!==r}},{key:"renderBackgroundImage",value:function(){var e=this.props.attributes,t=e.backgroundImage,n=e.backgroundCustomImagePosition,r=e.backgroundImagePosition,o=e.backgroundImageAttachment,i=e.backgroundImageRepeat,a=e.backgroundImageSize,l=this.props.setAttributes,c=t?t.url:void 0,s=t?t.id:void 0;return wp.element.createElement(L,null,wp.element.createElement(N.e,{label:Object(E.__)("Background Image","getwid"),url:c,id:s,onSelectMedia:function(e){return l({backgroundImage:void 0!==e?Object(C.pick)(e,["alt","id","url"]):{}})},onRemoveMedia:function(){return l({backgroundImage:void 0})}}),!!t&&wp.element.createElement("div",{className:"".concat(ge,"__custom-wrapper")},wp.element.createElement("span",{className:"".concat(ge,"__label")},Object(E.__)("Background Settings","getwid")),wp.element.createElement(ae,{className:"".concat(ge,"__dropdown-action"),contentClassName:"".concat(ge,"__dropdown-content"),position:"top right",renderToggle:function(e){var t=(e.isOpen,e.onToggle);return wp.element.createElement(Q,{isDefault:!0,onClick:t},wp.element.createElement(le,{icon:"admin-tools"}))},renderContent:function(){return wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Position","getwid"),value:void 0!==r?r:"",onChange:function(e){return l({backgroundImagePosition:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"custom",label:Object(E.__)("Custom","getwid")},{value:"top left",label:Object(E.__)("Top Left","getwid")},{value:"top center",label:Object(E.__)("Top Center","getwid")},{value:"top right",label:Object(E.__)("Top Right","getwid")},{value:"center left",label:Object(E.__)("Center Left ","getwid")},{value:"center center",label:Object(E.__)("Center Center","getwid")},{value:"center right",label:Object(E.__)("Center Right","getwid")},{value:"bottom left",label:Object(E.__)("Bottom Left","getwid")},{value:"bottom center",label:Object(E.__)("Bottom Center","getwid")},{value:"bottom right",label:Object(E.__)("Bottom Right","getwid")}]}),"custom"==r&&wp.element.createElement(U,{url:c,value:n,onChange:function(e){l({backgroundCustomImagePosition:e})}}),wp.element.createElement(J,{label:Object(E.__)("Attachment","getwid"),value:void 0!==o?o:"",onChange:function(e){return l({backgroundImageAttachment:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"scroll",label:Object(E.__)("Scroll","getwid")},{value:"fixed",label:Object(E.__)("Fixed","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Repeat","getwid"),value:void 0!==i?i:"",onChange:function(e){return l({backgroundImageRepeat:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"no-repeat",label:Object(E.__)("No Repeat","getwid")},{value:"repeat",label:Object(E.__)("Repeat","getwid")},{value:"repeat-x",label:Object(E.__)("Repeat X","getwid")},{value:"repeat-y",label:Object(E.__)("Repeat Y","getwid")},{value:"space",label:Object(E.__)("Space","getwid")},{value:"round",label:Object(E.__)("Round","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Size","getwid"),value:void 0!==a?a:"",onChange:function(e){return l({backgroundImageSize:e})},options:[{value:"",label:Object(E.__)("Cover","getwid")},{value:"contain",label:Object(E.__)("Contain","getwid")},{value:"auto",label:Object(E.__)("Auto","getwid")}]}))}})))}},{key:"renderDividersSettings",value:function(){var e=this.props.attributes,t=e.dividerTop,n=e.dividersTopHeight,r=e.dividerTopColor,o=e.dividerBottom,a=e.dividersBottomHeight,l=e.dividersBringTop,c=e.dividerBottomColor,s=this.props.setAttributes,u=[{value:"",label:Object(E.__)("None","getwid")},{value:"tilt",label:Object(E.__)("Tilt","getwid")},{value:"tilt-negative",label:Object(E.__)("Tilt Negative","getwid")},{value:"tilt-layered-1",label:Object(E.__)("Tilt Layered 1","getwid")},{value:"tilt-layered-2",label:Object(E.__)("Tilt Layered 2 ","getwid")},{value:"tilt-layered-3",label:Object(E.__)("Tilt Layered 3","getwid")},{value:"split",label:Object(E.__)("Split","getwid")},{value:"split-negative",label:Object(E.__)("Split Negative","getwid")},{value:"clouds",label:Object(E.__)("Clouds","getwid")},{value:"clouds-negative",label:Object(E.__)("Clouds Negative","getwid")},{value:"book",label:Object(E.__)("Book","getwid")},{value:"book-negative",label:Object(E.__)("Book Negative","getwid")},{value:"arrow",label:Object(E.__)("Arrow","getwid")},{value:"arrow-negative",label:Object(E.__)("Arrow Negative","getwid")},{value:"triangle-rounded",label:Object(E.__)("Triangle Rounded","getwid")},{value:"triangle-negative-rounded",label:Object(E.__)("Triangle Rounded Negative","getwid")},{value:"triangle-asymmetrical-rounded",label:Object(E.__)("Triangle Rounded Asymmetrical","getwid")},{value:"triangle-asymmetrical-negative-rounded",label:Object(E.__)("Triangle Rounded Asymmetrical Negative","getwid")},{value:"triangle",label:Object(E.__)("Triangle","getwid")},{value:"triangle-negative",label:Object(E.__)("Triangle Negative","getwid")},{value:"triangle-asymmetrical",label:Object(E.__)("Triangle Asymmetrical","getwid")},{value:"triangle-asymmetrical-negative",label:Object(E.__)("Triangle Asymmetrical Negative","getwid")},{value:"triangle-layered-asymmetrical",label:Object(E.__)("Triangle Layered Asymmetrical","getwid")},{value:"waves",label:Object(E.__)("Waves","getwid")},{value:"waves-light",label:Object(E.__)("Waves Light","getwid")},{value:"waves-large",label:Object(E.__)("Waves Large","getwid")},{value:"waves-large-negative",label:Object(E.__)("Waves Large Negative","getwid")},{value:"waves-layered",label:Object(E.__)("Waves Layered","getwid")},{value:"mountains",label:Object(E.__)("Waves Multi-Layered","getwid")},{value:"waves-pattern",label:Object(E.__)("Waves Pattern","getwid")},{value:"drips",label:Object(E.__)("Drips","getwid")},{value:"drips-negative",label:Object(E.__)("Drips Negative","getwid")},{value:"drops",label:Object(E.__)("Drops","getwid")},{value:"drops-negative",label:Object(E.__)("Drops Negative","getwid")},{value:"tilted-drips",label:Object(E.__)("Tilted Drips","getwid")},{value:"tilted-drips-negative",label:Object(E.__)("Tilted Drips Negative","getwid")},{value:"pyramids",label:Object(E.__)("Pyramids","getwid")},{value:"pyramids-negative",label:Object(E.__)("Pyramids Negative","getwid")},{value:"pyramids-round",label:Object(E.__)("Pyramids Rounded","getwid")},{value:"pyramids-round-negative",label:Object(E.__)("Pyramids Rounded Negative","getwid")},{value:"opacity-pyramids",label:Object(E.__)("Pyramids Layered","getwid")},{value:"curve",label:Object(E.__)("Curve","getwid")},{value:"curve-negative",label:Object(E.__)("Curve Negative","getwid")},{value:"curve-1",label:Object(E.__)("Curve 1","getwid")},{value:"curve-2",label:Object(E.__)("Curve 2","getwid")},{value:"curve-3",label:Object(E.__)("Curve 3","getwid")},{value:"curve-4",label:Object(E.__)("Curve 4","getwid")},{value:"curve-5",label:Object(E.__)("Curve 5","getwid")},{value:"curve-6",label:Object(E.__)("Curve 6","getwid")},{value:"curve-7",label:Object(E.__)("Curve 7","getwid")},{value:"curve-8",label:Object(E.__)("Curve 8","getwid")},{value:"curve-layered-1",label:Object(E.__)("Curve Layered 1","getwid")},{value:"curve-layered-2",label:Object(E.__)("Curve Layered 2","getwid")},{value:"curve-layered-3",label:Object(E.__)("Curve Layered 3","getwid")},{value:"curve-layered-4",label:Object(E.__)("Curve Layered 4","getwid")},{value:"zigzag-ice",label:Object(E.__)("Zigzag","getwid")},{value:"zigzag-ice-negative",label:Object(E.__)("Zigzag Negative","getwid")},{value:"zigzag-pattern",label:Object(E.__)("Zigzag Pattern","getwid")}];return wp.element.createElement(K,{title:Object(E.__)("Dividers","getwid"),initialOpen:!1},wp.element.createElement(J,{label:Object(E.__)("Top Divider","getwid"),value:void 0!==t?t:"",options:u,onChange:function(e){return s({dividerTop:e})}}),wp.element.createElement(x.a,{label:Object(E.__)("Top Divider Height","getwid"),value:n,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"}],onChange:function(e){return s({dividersTopHeight:e})}}),wp.element.createElement(J,{label:Object(E.__)("Bottom Divider","getwid"),value:void 0!==o?o:"",options:u,onChange:function(e){return s({dividerBottom:e})}}),wp.element.createElement(x.a,{label:Object(E.__)("Bottom Divider Height","getwid"),value:a,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"}],onChange:function(e){return s({dividersBottomHeight:e})}}),wp.element.createElement(ee,{label:Object(E.__)("Bring dividers to top","getwid"),checked:l,onChange:function(){s({dividersBringTop:!l})}}),(t||o)&&wp.element.createElement(P.a,{colorSettings:[].concat(i()(t?[{title:Object(E.__)("Top Divider Color","getwid"),colors:{customColor:r},changeColor:function(e){return s({dividerTopColor:e})}}]:[]),i()(o?[{title:Object(E.__)("Bottom Divider Color","getwid"),colors:{customColor:c},changeColor:function(e){return s({dividerBottomColor:e})}}]:[]))}))}},{key:"renderSizeSettings",value:function(){var e=this,t=this.props.attributes,n=t.contentMaxWidth,r=t.minHeight,o=t.gapSize,i=t.resetMinHeightTablet,a=t.resetMinHeightMobile,l=t.contentMaxWidthPreset,c=this.props.setAttributes,s=this.state.contentHelpIsVisible,u=function(){e.setState({contentHelpIsVisible:!s})};return wp.element.createElement(L,null,wp.element.createElement(X,{label:Object(E.__)("Content Area Width","getwid"),selected:void 0!==l?l:"boxed",options:[{value:"boxed",label:Object(E.__)("Default","getwid")},{value:"full",label:Object(E.__)("Full Width","getwid")},{value:"custom",label:Object(E.__)("Custom Width","getwid")}],onChange:function(e){return c({contentMaxWidthPreset:e})}}),"custom"===l&&wp.element.createElement(Y,{value:void 0!==n?n:"",onChange:function(e){c({contentMaxWidth:e})},allowReset:!0,min:0,max:2e3,step:1}),!!s&&wp.element.createElement(L,null,wp.element.createElement(q,{label:Object(E.__)("Set the default width of the content area in Getwid Settings.","getwid")},wp.element.createElement(re,{href:Getwid.options_url.appearance},Object(E.__)("Getwid Settings","getwid"))),wp.element.createElement(Q,{isLink:!0,onClick:u},Object(E.__)("Hide Help","getwid"))),!s&&wp.element.createElement(q,null,wp.element.createElement(Q,{isLink:!0,onClick:u},Object(E.__)("Show Help","getwid"))),wp.element.createElement(q,null,wp.element.createElement(ne,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(E.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(E.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(E.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(e){switch(e.name){case"desktop":return wp.element.createElement(x.a,{label:Object(E.__)("Section Height","getwid"),value:r,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"},{label:"%",value:"%"}],onChange:function(e){return c({minHeight:e})}});case"tablet":return wp.element.createElement(Z,{label:Object(E.__)("Reset height on tablet","getwid"),checked:void 0!==i&&i,onChange:function(e){return c({resetMinHeightTablet:e})}});case"mobile":return wp.element.createElement(Z,{label:Object(E.__)("Reset height on mobile","getwid"),checked:void 0!==a&&a,onChange:function(e){return c({resetMinHeightMobile:e})}})}})),wp.element.createElement(J,{label:Object(E.__)("Vertical space between blocks","getwid"),value:void 0!==o?o:void 0,onChange:function(e){return c({gapSize:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"small",label:Object(E.__)("Small","getwid")},{value:"medium",label:Object(E.__)("Medium","getwid")},{value:"normal",label:Object(E.__)("Normal","getwid")},{value:"large",label:Object(E.__)("Large","getwid")},{value:"huge",label:Object(E.__)("Huge","getwid")},{value:"none",label:Object(E.__)("None","getwid")}]}))}},{key:"renderAlignmentSettings",value:function(){var e=this.props.attributes,t=e.verticalAlign,n=e.horizontalAlign,r=e.verticalAlignTablet,o=e.horizontalAlignTablet,i=e.verticalAlignMobile,a=e.horizontalAlignMobile,l=this.props.setAttributes;return wp.element.createElement(L,null,wp.element.createElement(q,null,wp.element.createElement(ne,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(E.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(E.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(E.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(e){switch(e.name){case"desktop":return wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Content Area Vertical Alignment","getwid"),value:void 0!==t?t:"center",onChange:function(e){return l({verticalAlign:e})},options:[{value:"flex-start",label:Object(E.__)("Top","getwid")},{value:"center",label:Object(E.__)("Middle","getwid")},{value:"flex-end",label:Object(E.__)("Bottom","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Content Area Horizontal Alignment","getwid"),value:void 0!==n?n:"center",onChange:function(e){return l({horizontalAlign:e})},options:[{value:"flex-start",label:Object(E.__)("Left","getwid")},{value:"center",label:Object(E.__)("Center","getwid")},{value:"flex-end",label:Object(E.__)("Right","getwid")}]}));case"tablet":return wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Content Area Vertical Alignment","getwid"),value:void 0!==r?r:"center",onChange:function(e){return l({verticalAlignTablet:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"flex-start",label:Object(E.__)("Top","getwid")},{value:"center",label:Object(E.__)("Middle","getwid")},{value:"flex-end",label:Object(E.__)("Bottom","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Content Area Horizontal Alignment","getwid"),value:void 0!==o?o:"center",onChange:function(e){return l({horizontalAlignTablet:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"flex-start",label:Object(E.__)("Left","getwid")},{value:"center",label:Object(E.__)("Center","getwid")},{value:"flex-end",label:Object(E.__)("Right","getwid")}]}));case"mobile":return wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Content Area Vertical Alignment","getwid"),value:void 0!==i?i:"center",onChange:function(e){return l({verticalAlignMobile:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"flex-start",label:Object(E.__)("Top","getwid")},{value:"center",label:Object(E.__)("Middle","getwid")},{value:"flex-end",label:Object(E.__)("Bottom","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Content Area Horizontal Alignment","getwid"),value:void 0!==a?a:"center",onChange:function(e){return l({horizontalAlignMobile:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"flex-start",label:Object(E.__)("Left","getwid")},{value:"center",label:Object(E.__)("Center","getwid")},{value:"flex-end",label:Object(E.__)("Right","getwid")}]}))}})))}},{key:"renderSliderSettings",value:function(){var e=this.props.attributes,t=e.sliderImages,n=e.sliderAnimationEffect,r=e.sliderAnimationDuration,o=e.sliderAnimationSpeed,i=this.props.setAttributes,a=t.map(function(e){return wp.element.createElement("img",{src:e.url,alt:e.alt})});return wp.element.createElement(L,null,(!t||0==t.length)&&wp.element.createElement(H,{icon:"format-gallery",labels:{title:Object(E.__)("Slider","getwid"),instructions:Object(E.__)("Drag images, upload new ones or select files from your library.","getwid")},onSelect:this.onSelectSliderImages,accept:"image/*",allowedTypes:ue,multiple:!0}),t&&!!t.length&&wp.element.createElement(L,null,wp.element.createElement(F,{onSelect:this.onSelectSliderImages,multiple:!0,gallery:!0,allowedTypes:ue,value:void 0!==t?t.map(function(e){return e.id}):[],render:function(e){var n=e.open;return wp.element.createElement(q,null,!!t&&wp.element.createElement("div",{className:"getwid-slider-image-wrapper"},a),wp.element.createElement(te,null,wp.element.createElement(Q,{isPrimary:!0,onClick:n},Object(E.__)("Select Images","getwid")),wp.element.createElement(Q,{onClick:function(){i({sliderImages:[]})},isDefault:!0},Object(E.__)("Remove","getwid"))))}}),wp.element.createElement(X,{label:Object(E.__)("Animation Effect","getwid"),selected:void 0!==n?n:"",options:[{value:"",label:Object(E.__)("Slide","getwid")},{value:"fade",label:Object(E.__)("Fade","getwid")}],onChange:function(e){return i({sliderAnimationEffect:e})}}),wp.element.createElement($,{label:Object(E.__)("Animation Duration","getwid"),value:r,type:"number",min:0,onChange:function(e){return i({sliderAnimationDuration:e})}}),wp.element.createElement($,{label:Object(E.__)("Animation Speed","getwid"),type:"number",value:void 0!==o?o:"",min:0,onChange:function(e){return i({sliderAnimationSpeed:e})}})))}},{key:"renderVideoSettings",value:function(){var e=this.props.attributes,t=e.backgroundVideoType,n=e.youTubeVideoScale,r=e.youTubeVideoUrl,o=e.youTubeVideoMute,i=e.youTubeVideoLoop,a=e.youTubeVideoAutoplay,l=e.backgroundVideoUrl,c=e.backgroundVideoMute,s=e.backgroundVideoLoop,u=e.backgroundVideoAutoplay,p=e.backgroundVideoPoster,d=e.backgroundVideoControlsPosition,m=this.props.setAttributes;return wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Source","getwid"),value:t,onChange:function(e){return m({backgroundVideoType:e})},options:[{value:"youtube",label:Object(E.__)("YouTube","getwid")},{value:"self",label:Object(E.__)("Media Library","getwid")}]}),"youtube"==t&&wp.element.createElement(L,null,wp.element.createElement($,{label:Object(E.__)("YouTube URL","getwid"),placeholder:"https://youtube.com/watch?v=M7lc1UVf-VE",value:r,onChange:function(e){return m({youTubeVideoUrl:e})}})),"self"==t&&wp.element.createElement(L,null,l&&wp.element.createElement(L,null,wp.element.createElement("video",{controls:!0},wp.element.createElement("source",{src:l.url,type:"video/mp4"}),wp.element.createElement("span",null,Object(E.__)("Your browser does not support the video tag.","getwid")))),wp.element.createElement(F,{onSelect:function(e){m({backgroundVideoUrl:void 0}),m({backgroundVideoUrl:void 0!==e?Object(C.pick)(e,["alt","id","url"]):{}})},value:void 0!==l?l.id:"",allowedTypes:de,render:function(e){var t=e.open;return wp.element.createElement(q,null,wp.element.createElement(Q,{isPrimary:!0,onClick:t},Object(E.__)("Select Video","getwid")),!!l&&wp.element.createElement(Q,{onClick:function(){m({backgroundVideoUrl:void 0})},isDefault:!0},Object(E.__)("Remove","getwid")))}})),r&&"youtube"==t&&wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Video Scale","getwid"),value:n,onChange:function(e){return m({youTubeVideoScale:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"low",label:Object(E.__)("Low","getwid")},{value:"medium",label:Object(E.__)("Medium","getwid")},{value:"high",label:Object(E.__)("High","getwid")},{value:"huge",label:Object(E.__)("Huge","getwid")}]}),wp.element.createElement(Z,{label:Object(E.__)("Mute","getwid"),help:Object(E.__)("Enable this option to increase the chances for autoplay to succeed.","getwid"),checked:"true"==o,onChange:function(e){m({youTubeVideoMute:e?"true":"false"})}}),wp.element.createElement(Z,{label:Object(E.__)("Repeat","getwid"),checked:"true"==i,onChange:function(e){m({youTubeVideoLoop:e?"true":"false"})}}),wp.element.createElement(Z,{label:Object(E.__)("Autoplay","getwid"),checked:"true"==a,onChange:function(e){m({youTubeVideoAutoplay:e?"true":"false"})}})),l&&"self"==t&&wp.element.createElement(L,null,wp.element.createElement(Z,{label:Object(E.__)("Mute","getwid"),help:Object(E.__)("Enable this option to increase the chances for autoplay to succeed.","getwid"),checked:void 0===c||c,onChange:function(e){return m({backgroundVideoMute:e})}}),wp.element.createElement(Z,{label:Object(E.__)("Repeat","getwid"),checked:void 0!==s&&s,onChange:function(e){return m({backgroundVideoLoop:e})}}),wp.element.createElement(Z,{label:Object(E.__)("Autoplay","getwid"),checked:void 0!==u&&u,onChange:function(e){return m({backgroundVideoAutoplay:e})}})),(l||r)&&wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Controls Position","getwid"),value:d,onChange:function(e){return m({backgroundVideoControlsPosition:e})},options:[{value:"none",label:Object(E.__)("None","getwid")},{value:"top-left",label:Object(E.__)("Top Left","getwid")},{value:"top-right",label:Object(E.__)("Top Right","getwid")},{value:"bottom-left",label:Object(E.__)("Bottom Left","getwid")},{value:"bottom-right",label:Object(E.__)("Bottom Right","getwid")},{value:"center-center",label:Object(E.__)("Center Center","getwid")}]})),l&&wp.element.createElement(L,null,wp.element.createElement(F,{label:Object(E.__)("Poster Image","getwid"),onSelect:function(e){return m({backgroundVideoPoster:e.url})},allowedTypes:pe,value:void 0!==p?p:"",render:function(e){var t=e.open;return wp.element.createElement(q,null,wp.element.createElement(Q,{isDefault:!0,onClick:t},!p&&Object(E.__)("Select Poster","getwid"),!!p&&Object(E.__)("Replace Poster","getwid")))}}),!!p&&wp.element.createElement(q,null,wp.element.createElement(Q,{onClick:function(){m({backgroundVideoPoster:void 0})},isLink:!0,isDestructive:!0},Object(E.__)("Remove Poster","getwid")))))}},{key:"renderForegroundSettings",value:function(){var e=this.props.attributes,t=e.foregroundOpacity,n=e.foregroundFilter,r=this.props.setAttributes;return wp.element.createElement(L,null,wp.element.createElement(Y,{label:Object(E.__)("Overlay Layer Opacity","getwid"),value:void 0!==t?t:"",onChange:function(e){return r({foregroundOpacity:e})},min:0,max:100,step:1,allowReset:!0}),wp.element.createElement(J,{label:Object(E.__)("Blend Mode","getwid"),value:void 0!==n?n:"",onChange:function(e){return r({foregroundFilter:e})},options:[{value:"",label:Object(E.__)("None","getwid")},{value:"normal",label:Object(E.__)("Normal","getwid")},{value:"multiply",label:Object(E.__)("Multiply","getwid")},{value:"screen",label:Object(E.__)("Screen","getwid")},{value:"overlay",label:Object(E.__)("Overlay","getwid")},{value:"darken",label:Object(E.__)("Darken","getwid")},{value:"lighten",label:Object(E.__)("Lighten","getwid")},{value:"color-dodge",label:Object(E.__)("Color Dodge","getwid")},{value:"color-burn",label:Object(E.__)("Color Burn","getwid")},{value:"hard-light",label:Object(E.__)("Hard Light","getwid")},{value:"soft-light",label:Object(E.__)("Soft Light","getwid")},{value:"difference",label:Object(E.__)("Difference","getwid")},{value:"exclusion",label:Object(E.__)("Exclusion","getwid")},{value:"hue",label:Object(E.__)("Hue","getwid")},{value:"saturation",label:Object(E.__)("Saturation","getwid")},{value:"color",label:Object(E.__)("Color","getwid")},{value:"luminosity",label:Object(E.__)("Luminosity","getwid")}]}))}},{key:"renderForegroundColor",value:function(){var e=this.props.attributes.foregroundColor,t=this.props.setAttributes,n=Object(C.get)(B("core/editor").getEditorSettings(),["colors"],[]);return wp.element.createElement(L,null,wp.element.createElement(q,{label:Object(E.__)("Overlay Color","getwid"),className:"components-getwid-color-palette-control"},e&&wp.element.createElement(ie,{colorValue:e}),wp.element.createElement(oe,{colors:n,value:e,onChange:function(e){t({foregroundColor:e})}})))}},{key:"renderForegroundImage",value:function(){var e=this.props.attributes,t=e.foregroundImage,n=e.foregroundCustomImagePosition,r=e.foregroundImagePosition,o=e.foregroundImageAttachment,i=e.foregroundImageRepeat,a=e.foregroundImageSize,l=this.props.setAttributes,c=t?t.url:void 0,s=t?t.id:void 0,u=function(){l({foregroundImage:void 0,foregroundCustomImagePosition:void 0,foregroundImagePosition:void 0,foregroundImageAttachment:void 0,foregroundImageRepeat:void 0,foregroundImageSize:void 0})};return wp.element.createElement(L,null,wp.element.createElement(N.e,{label:Object(E.__)("Overlay Image","getwid"),url:c,id:s,onSelectMedia:function(e){return l({foregroundImage:void 0!==e?Object(C.pick)(e,["alt","id","url"]):{}})},onRemoveMedia:u}),t&&wp.element.createElement(L,null,wp.element.createElement(J,{label:Object(E.__)("Position","getwid"),value:void 0!==r?r:"",onChange:function(e){return l({foregroundImagePosition:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"custom",label:Object(E.__)("Custom","getwid")},{value:"top left",label:Object(E.__)("Top Left","getwid")},{value:"top center",label:Object(E.__)("Top Center","getwid")},{value:"top right",label:Object(E.__)("Top Right","getwid")},{value:"center left",label:Object(E.__)("Center Left ","getwid")},{value:"center center",label:Object(E.__)("Center Center","getwid")},{value:"center right",label:Object(E.__)("Center Right","getwid")},{value:"bottom left",label:Object(E.__)("Bottom Left","getwid")},{value:"bottom center",label:Object(E.__)("Bottom Center","getwid")},{value:"bottom right",label:Object(E.__)("Bottom Right","getwid")}]}),"custom"==r&&wp.element.createElement(U,{url:c,value:n,onChange:function(e){l({foregroundCustomImagePosition:e})}}),wp.element.createElement(J,{label:Object(E.__)("Attachment","getwid"),value:void 0!==o?o:"",onChange:function(e){return l({foregroundImageAttachment:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"scroll",label:Object(E.__)("Scroll","getwid")},{value:"fixed",label:Object(E.__)("Fixed","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Repeat","getwid"),value:void 0!==i?i:"",onChange:function(e){return l({foregroundImageRepeat:e})},options:[{value:"",label:Object(E.__)("Default","getwid")},{value:"no-repeat",label:Object(E.__)("No Repeat","getwid")},{value:"repeat",label:Object(E.__)("Repeat","getwid")},{value:"repeat-x",label:Object(E.__)("Repeat X","getwid")},{value:"repeat-y",label:Object(E.__)("Repeat Y","getwid")},{value:"space",label:Object(E.__)("Space","getwid")},{value:"round",label:Object(E.__)("Round","getwid")}]}),wp.element.createElement(J,{label:Object(E.__)("Size","getwid"),value:void 0!==a?a:"",onChange:function(e){return l({foregroundImageSize:e})},options:[{value:"",label:Object(E.__)("Cover","getwid")},{value:"contain",label:Object(E.__)("Contain","getwid")},{value:"auto",label:Object(E.__)("Auto","getwid")}]})))}},{key:"renderAnimationSettings",value:function(){var e=this.props.attributes,t=e.entranceAnimation,n=e.entranceAnimationDuration,r=e.entranceAnimationDelay,o=this.props.setAttributes,i=function(){o({entranceAnimation:void 0,entranceAnimationDelay:"200ms",entranceAnimationDuration:"1500ms"})};return wp.element.createElement(L,null,wp.element.createElement(K,{title:Object(E.__)("Entrance Animation","getwid"),initialOpen:!0},wp.element.createElement(T.a,{label:Object(E.__)("Animation Effect","getwid"),allowAnimation:["Entrance","Seeker"],value:void 0!==t?t:"",onChange:function(e){return o({entranceAnimation:e})}}),wp.element.createElement(J,{label:Object(E.__)("Duration","getwid"),value:void 0!==n?n:"",onChange:function(e){return o({entranceAnimationDuration:e})},options:[{value:"2000ms",label:Object(E.__)("Slow","getwid")},{value:"1500ms",label:Object(E.__)("Normal","getwid")},{value:"800ms",label:Object(E.__)("Fast","getwid")},{value:"400ms",label:Object(E.__)("Very Fast","getwid")}]}),wp.element.createElement($,{label:Object(E.__)("Delay, ms","getwid"),value:void 0!==r?r.replace("ms",""):"",type:"number",min:0,placeholder:200,onChange:function(e){e=parseInt(e),e=isNaN(e)?void 0:"".concat(e,"ms"),o({entranceAnimationDelay:e})}}),wp.element.createElement(q,null,wp.element.createElement(Q,{isLink:!0,onClick:i,disabled:!this.hasAnimation()},Object(E.__)("Reset","getwid")))))}},{key:"onSelectSliderImages",value:function(e){this.props.setAttributes({sliderImages:void 0!==e?e.map(function(e){return Object(C.pick)(e,["alt","id","url"])}):[]})}}]),t}(I);t.a=se([M(function(e,t){var n=e("core/editor"),r=n.getEditorSettings,o=e("core/block-editor").getSettings();return{colorGradientSettings:Object(C.pick)(o,me),getEditorSettings:r}}),G("backgroundColor")])(fe)},function(e,t){function n(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.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance")}e.exports=n},function(e,t){},function(e,t,n){"use strict";function r(e){var t=e.state,n=e.label,r=e.stateName,o=e.onChangeBackgroundType,i=e.types,c=void 0===i?["color","image","gradient","slider","video"]:i;return wp.element.createElement(m,null,wp.element.createElement(u,{label:n,className:"components-getwid-background-types-control"},wp.element.createElement(p,{className:"components-getwid-background-types-group"},c.includes("color")&&wp.element.createElement(m,null,wp.element.createElement(d,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M3,16h14c0.55,0,1,0.45,1,1v0c0,0.55-0.45,1-1,1H3c-0.55,0-1-0.45-1-1v0C2,16.45,2.45,16,3,16z"}),wp.element.createElement("path",{d:"M9.05,13.95L13.3,9.7c0.39-0.39,0.39-1.02,0-1.41L9.05,4.05L8.34,3.34L7.63,2.63c-0.39-0.39-1.02-0.39-1.41,0L6.22,2.64\tc-0.39,0.39-0.39,1.02,0,1.41l0.7,0.7L3.39,8.3C3,8.69,3,9.31,3.39,9.7l4.24,4.25C8.02,14.34,8.66,14.34,9.05,13.95z M9.04,6.87\tL11.17,9H5.51l2.13-2.13C8.02,6.49,8.66,6.49,9.04,6.87z"}),wp.element.createElement("path",{d:"M13,13c0,0.55,0.45,1,1,1s1-0.45,1-1s-1-3-1-3S13,12.45,13,13z"})),label:Object(l.__)("Color","getwid"),className:a()("wp-block-getwid-background-types-icon","is-button",{"is-active":"color"===t}),onClick:function(){o(r,"color")}})),c.includes("image")&&wp.element.createElement(d,{icon:"format-image",label:Object(l.__)("Image","getwid"),className:a()("wp-block-getwid-background-types-icon","is-button",{"is-active":"image"===t}),onClick:function(){o(r,"image")}}),c.includes("gradient")&&wp.element.createElement(d,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M2,3v14c0,0.55,0.45,1,1,1h14c0.55,0,1-0.45,1-1V3c0-0.55-0.45-1-1-1H3C2.45,2,2,2.45,2,3z M15,16H4L16,4v11 C16,15.55,15.55,16,15,16z"})),label:Object(l.__)("Gradient","getwid"),className:a()("wp-block-getwid-background-types-icon","is-button",{"is-active":"gradient"===t}),onClick:function(){o(r,"gradient")}}),c.includes("slider")&&wp.element.createElement(d,{icon:"images-alt2",label:Object(l.__)("Slider","getwid"),className:a()("wp-block-getwid-background-types-icon","is-button",{"is-active":"slider"===t}),onClick:function(){o(r,"slider")}}),c.includes("video")&&wp.element.createElement(d,{icon:"video-alt3",label:Object(l.__)("Video","getwid"),className:a()("wp-block-getwid-background-types-icon","is-button",{"is-active":"video"===t}),onClick:function(){o(r,"video")}}))))}t.a=r;var o=(n(0),n(127)),i=(n.n(o),n(8)),a=n.n(i),l=n(1),c=(n.n(l),window),s=(c.jQuery,wp.components),u=s.BaseControl,p=s.ButtonGroup,d=s.IconButton,m=wp.element.Fragment},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){l()(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 i(e){var t,n=e.label,r=e.value,i=e.onChange,a=function(e){var t=e.firstColor,n=e.firstLocation,r=e.secondColor,o=e.secondLocation,a=e.type,l=e.angle;i(t,n,r,o,a,l)};t="linear"===r.type?"".concat(r.angle,"deg"):"at ".concat(r.position);var l="".concat(r.type,"-gradient( ").concat(t,", ").concat(r.firstColor||"rgba( 0, 0, 0, 0 )"," ").concat(r.firstLocation,"%, ").concat(r.secondColor||"rgba( 0, 0, 0, 0 )"," ").concat(r.secondLocation,"% )"),d=r.firstColor&&r.secondColor;return wp.element.createElement("div",{className:"".concat(y)},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n,d&&wp.element.createElement(b,{colorValue:l}))),wp.element.createElement("div",{className:"".concat(y,"-presets")},s.a.map(function(e){return wp.element.createElement(u.a,{title:e.title,className:y,firstColor:e.firstColor,secondColor:e.secondColor,isSelected:e.firstColor===r.firstColor&&e.secondColor===r.secondColor,onChange:i})}),wp.element.createElement("div",{className:"".concat(y,"-custom-wrapper")},wp.element.createElement(f,{className:"".concat(y,"-dropdown-link-action"),contentClassName:"".concat(y,"-dropdown-content"),renderToggle:function(e){var t=(e.isOpen,e.onToggle);return wp.element.createElement(w,{onClick:t,isLink:!0},Object(c.__)("Custom Gradient","getwid"))},renderContent:function(){return wp.element.createElement(m,null,wp.element.createElement(v,{label:Object(c.__)("Type","getwid"),value:r.type?r.type:"",onChange:function(e){return a(o(o({},r),{},{type:e}))},options:[{value:"",label:Object(c.__)("None","getwid")},{value:"linear",label:Object(c.__)("Linear","getwid")},{value:"radial",label:Object(c.__)("Radial","getwid")}]}),wp.element.createElement(p.a,{colorSettings:[{title:Object(c.__)("First Color","getwid"),colors:{customColor:r.firstColor},changeColor:function(e){return a(o(o({},r),{},{firstColor:e,type:r.type?r.type:"linear"}))}}]}),wp.element.createElement(h,{label:Object(c.__)("First Color Location","getwid"),value:void 0!=r.firstLocation?r.firstLocation:"",onChange:function(e){return a(o(o({},r),{},{firstLocation:e}))},placeholder:0,min:0,max:100,step:1}),wp.element.createElement(p.a,{colorSettings:[{title:Object(c.__)("Second Color","getwid"),colors:{customColor:r.secondColor},changeColor:function(e){return a(o(o({},r),{},{secondColor:e,type:r.type?r.type:"linear"}))}}]}),wp.element.createElement(h,{label:Object(c.__)("Second Color Location","getwid"),value:void 0!=r.secondLocation?r.secondLocation:"",onChange:function(e){return a(o(o({},r),{},{secondLocation:e}))},placeholder:100,min:0,max:100,step:1}),"linear"===r.type&&wp.element.createElement(h,{label:Object(c.__)("Angle","getwid"),value:void 0!=r.angle?r.angle:"",onChange:function(e){return a(o(o({},r),{},{angle:e}))},placeholder:180,min:0,max:360,step:1}))}}),wp.element.createElement(w,{className:"".concat(y,"-clear"),type:"button",isSmall:!0,isDefault:!0,onClick:function(){return i(void 0,0,void 0,100,"",90)}},Object(c.__)("Reset","getwid"))))))}t.a=i;var a=n(7),l=n.n(a),c=(n(0),n(1)),s=(n.n(c),n(129)),u=n(130),p=n(16),d=n(131),m=(n.n(d),wp.element.Fragment),g=wp.components,f=g.Dropdown,b=g.ColorIndicator,w=g.Button,h=g.RangeControl,v=g.SelectControl,y="components-getwid-gradient-palette-control"},function(e,t,n){"use strict";var r=n(1),o=(n.n(r),[{title:Object(r.__)("Vivid cyan blue to vivid purple"),firstColor:"#0693e3",secondColor:"#9b51e0"},{title:Object(r.__)("Light green cyan to vivid green cyan"),firstColor:"#67B26F",secondColor:"#4ca2cd"},{title:Object(r.__)("Luminous vivid amber to luminous vivid orange"),firstColor:"#fcb900",secondColor:"#ff6900"},{title:Object(r.__)("Luminous vivid orange to vivid red"),firstColor:"#ff6900",secondColor:"#cf2e2e"},{title:Object(r.__)("Very light gray to cyan bluish gray"),firstColor:"#eeeeee",secondColor:"#a9b8c3"},{title:Object(r.__)("Blush light purple"),firstColor:"#ffceec",secondColor:"#9896f0"},{title:Object(r.__)("Electric grass"),firstColor:"#caf880",secondColor:"#71ce7e"},{title:Object(r.__)("Midnight"),firstColor:"#020381",secondColor:"#2874fc"}]);t.a=o},function(e,t,n){"use strict";var r=(n(0),n(8)),o=n.n(r),i=wp.components,a=i.Tooltip,l=i.Dashicon,c=function(e){var t=e.title,n=e.className,r=e.firstColor,i=e.secondColor,c=e.isSelected,s=e.onChange,u=wp.element.createElement("button",{type:"button","aria-pressed":c,className:o()("".concat(n,"-option"),{"is-active":c}),style:{background:"linear-gradient(90deg, ".concat(r," 0%, ").concat(i," 100%)")},onClick:function(){return s(r,0,i,100,"linear",90,"center center")}});return wp.element.createElement("div",{className:"".concat(n,"-option-wrapper")},t?wp.element.createElement(a,{text:t},u):u,c&&wp.element.createElement(l,{icon:"saved"}))};t.a=c},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(27)),_=n(26),O=n(30),k=n(1),E=(n.n(k),n(8)),C=n.n(E),j=wp.element.Component,S=wp.blockEditor||wp.editor,x=S.InnerBlocks,P=S.getColorClassName,T="wp-block-getwid-section",R=function(e){function t(){return p()(this,t),n.apply(this,arguments)}f()(t,e);var n=i(t);return m()(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.attributes,i=r.align,a=r.paddingTopValue,c=r.paddingBottomValue,u=r.paddingLeftValue,p=r.paddingRightValue,d=r.marginTopValue,m=r.marginBottomValue,g=r.marginLeftValue,f=r.marginRightValue,b=r.backgroundImage,w=r.sliderImages,h=r.backgroundVideoType,v=r.youTubeVideoScale,k=r.youTubeVideoUrl,E=r.youTubeVideoMute,j=r.youTubeVideoLoop,S=r.youTubeVideoAutoplay,R=r.backgroundVideoUrl,N=r.backgroundVideoControlsPosition,A=r.foregroundOpacity,B=r.foregroundColor,M=r.foregroundFilter,D=r.dividersBringTop,I=r.contentMaxWidth,L=r.contentMaxWidthPreset,z=r.minHeight,V=r.gapSize,F=r.entranceAnimation,H=r.entranceAnimationDuration,G=r.entranceAnimationDelay,W=r.backgroundColor,U=r.customBackgroundColor,q=r.resetMinHeightTablet,Q=r.resetMinHeightMobile,K=r.verticalAlign,Y=r.verticalAlignTablet,J=r.verticalAlignMobile,$=r.horizontalAlign,Z=r.horizontalAlignTablet,X=r.horizontalAlignMobile,ee=r.paddingTop,te=r.paddingRight,ne=r.paddingBottom,re=r.paddingLeft,oe=r.paddingTopTablet,ie=r.paddingRightTablet,ae=r.paddingBottomTablet,le=r.paddingLeftTablet,ce=r.paddingTopMobile,se=r.paddingRightMobile,ue=r.paddingBottomMobile,pe=r.paddingLeftMobile,de=r.marginTop,me=r.marginRight,ge=r.marginBottom,fe=r.marginLeft,be=r.marginTopTablet,we=r.marginRightTablet,he=r.marginBottomTablet,ve=r.marginLeftTablet,ye=r.marginTopMobile,_e=r.marginRightMobile,Oe=r.marginBottomMobile,ke=r.marginLeftMobile,Ee=r.anchor,Ce=n.className,je=n.prepareMultiGradientStyle,Se=n.prepareBackgroundImageStyles,xe=o(o({},"custom"===de?{marginTop:d}:[]),"custom"===ge?{marginBottom:m}:[]),Pe=o(o(o(o(o(o({minHeight:z},"custom"===fe?{marginLeft:g}:[]),"custom"===me?{marginRight:f}:[]),"custom"===ee?{paddingTop:a}:[]),"custom"===ne?{paddingBottom:c}:[]),"custom"===re?{paddingLeft:u}:[]),"custom"===te?{paddingRight:p}:[]),Te=C()("".concat(T,"__wrapper"),(e={},s()(e,"getwid-padding-top-".concat(ee),"custom"!==ee&&""!==ee),s()(e,"getwid-padding-bottom-".concat(ne),"custom"!==ne&&""!==ne),s()(e,"getwid-padding-left-".concat(re),"custom"!==re&&""!==re),s()(e,"getwid-padding-right-".concat(te),"custom"!==te&&""!==te),s()(e,"getwid-padding-tablet-top-".concat(oe),""!==oe),s()(e,"getwid-padding-tablet-bottom-".concat(ae),""!==ae),s()(e,"getwid-padding-tablet-left-".concat(le),""!==le),s()(e,"getwid-padding-tablet-right-".concat(ie),""!==ie),s()(e,"getwid-padding-mobile-top-".concat(ce),""!==ce),s()(e,"getwid-padding-mobile-bottom-".concat(ue),""!==ue),s()(e,"getwid-padding-mobile-left-".concat(pe),""!==pe),s()(e,"getwid-padding-mobile-right-".concat(se),""!==se),s()(e,"getwid-margin-left-".concat(fe),"custom"!==fe&&""!==fe),s()(e,"getwid-margin-right-".concat(me),"custom"!==me&&""!==me),s()(e,"getwid-margin-tablet-left-".concat(ve),""!==ve),s()(e,"getwid-margin-tablet-right-".concat(we),""!==we),s()(e,"getwid-margin-mobile-left-".concat(ke),""!==ke),s()(e,"getwid-margin-mobile-right-".concat(_e),""!==_e),s()(e,"getwid-align-items-".concat(K),"center"!==K),s()(e,"getwid-align-items-tablet-".concat(Y),""!==Y),s()(e,"getwid-align-items-mobile-".concat(J),""!==J),s()(e,"getwid-justify-content-".concat($),"center"!==$),s()(e,"getwid-justify-content-tablet-".concat(Z),""!==Z),s()(e,"getwid-justify-content-mobile-".concat(X),""!==X),s()(e,"getwid-reset-min-height-tablet",!1!==q),s()(e,"getwid-reset-min-height-mobile",!1!==Q),e)),Re=this.props.attributes,Ne=Re.backgroundGradient,Ae=Re.foregroundGradient;Ne=je("background",this.props),Ae=je("foreground",this.props);var Be=o({backgroundColor:this.props.attributes.backgroundColor?void 0:this.props.attributes.customBackgroundColor,backgroundImage:Ne},Se("background",this.props)),Me=P("background-color",W),De=C()("".concat(T,"__background"),s()({"has-background":W||U},Me,Me)),Ie=o(o({opacity:void 0!==A?A/100:void 0,backgroundColor:B,backgroundImage:Ae},Se("foreground",this.props)),{},{mixBlendMode:M}),Le={maxWidth:I&&"custom"===L?"".concat(I,"px"):void 0},ze=F?{"data-wow-duration":void 0!==H?H:"2000ms","data-wow-delay":void 0!==G?G:"500ms"}:{},Ve=C()(Ce,i?"align".concat(i):null,(t={},s()(t,"has-inner-blocks-gap-".concat(V),void 0!==V&&""!==V),s()(t,"getwid-anim ".concat(F),!!F),s()(t,"getwid-margin-top-".concat(de),"custom"!==de&&""!==de),s()(t,"getwid-margin-bottom-".concat(ge),"custom"!==ge&&""!==ge),s()(t,"getwid-margin-tablet-top-".concat(be),"custom"!==be&&""!==be),s()(t,"getwid-margin-tablet-bottom-".concat(he),"custom"!==he&&""!==he),s()(t,"getwid-margin-mobile-top-".concat(ye),"custom"!==ye&&""!==ye),s()(t,"getwid-margin-mobile-bottom-".concat(Oe),"custom"!==Oe&&""!==Oe),s()(t,"getwid-section-content-full-width","full"===L),s()(t,"getwid-section-content-custom-width","custom"===L),t)),Fe=Ee||void 0,He={"youtube-video-url":k||"","youtube-video-muted":E,"youtube-video-loop":j,"youtube-video-autoplay":S};return wp.element.createElement("div",l()({id:Fe,className:Ve,style:xe},ze),wp.element.createElement("div",{className:Te,style:Pe},wp.element.createElement(_.a,o(o({},this.props),{},{baseClass:T})),(!!R||!!k)&&"none"!==N&&wp.element.createElement("div",{className:C()("getwid-background-video-controls",s()({},"is-position-".concat(N),"top-right"!==N))},wp.element.createElement("button",{className:"getwid-background-video-play"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-pause"})),wp.element.createElement("button",{className:"getwid-background-video-mute"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-mute"}))),wp.element.createElement("div",{className:C()("".concat(T,"__inner-wrapper"),s()({},"has-dividers-over",D)),style:Le},wp.element.createElement("div",{className:"".concat(T,"__background-holder")},wp.element.createElement("div",{className:De,style:Be},!!b&&wp.element.createElement("div",{className:"".concat(T,"__background-image-wrapper")},wp.element.createElement("img",{className:"".concat(T,"__background-image"),src:b.url,alt:b.alt})),w&&!!w.length&&wp.element.createElement("div",{className:"".concat(T,"__background-slider-wrapper")},wp.element.createElement(y.b,o(o({},this.props),{},{baseClass:T}))),(!!R||!!k)&&wp.element.createElement("div",{className:"".concat(T,"__background-video-wrapper")},k&&""!=k&&"youtube"==h&&wp.element.createElement("div",l()({className:C()("".concat(T,"__background-video"),"source-youtube",s()({},"scale-youtube-".concat(v),!!v))},He),wp.element.createElement("div",{className:"".concat(T,"__background-video-youtube")})),!!R&&"self"==h&&wp.element.createElement(O.a,l()({},o(o({},this.props),{},{baseClass:T}),{videoMute:this.props.attributes.backgroundVideoMute,videoAutoplay:this.props.attributes.backgroundVideoAutoplay})))),wp.element.createElement("div",{className:"".concat(T,"__foreground"),style:Ie})),wp.element.createElement("div",{className:"".concat(T,"__content")},wp.element.createElement("div",{className:"".concat(T,"__inner-content")},wp.element.createElement(x.Content,null))))))}}]),t}(j);t.a=R},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(1)),_=(n.n(y),n(8)),O=n.n(_),k=n(27),E=n(26),C=n(30),j=n(22),S=wp.element.Component,x=wp.blockEditor||wp.editor,P=x.InnerBlocks,T=x.getColorClassName,R=j.a.prepareGradientStyle,N=j.a.prepareBackgroundImageStyles,A="wp-block-getwid-section",B=function(e){function t(){return p()(this,t),n.apply(this,arguments)}f()(t,e);var n=i(t);return m()(t,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.paddingTopValue,i=n.paddingBottomValue,a=n.paddingLeftValue,c=n.paddingRightValue,u=n.marginTopValue,p=n.marginBottomValue,d=n.marginLeftValue,m=n.marginRightValue,g=n.backgroundImage,f=n.sliderImages,b=n.backgroundVideoUrl,w=n.backgroundVideoControlsPosition,h=n.foregroundOpacity,v=n.foregroundColor,y=n.foregroundFilter,_=n.dividersBringTop,j=n.contentMaxWidth,S=n.contentMaxWidthPreset,x=n.minHeight,B=n.gapSize,M=n.entranceAnimation,D=n.entranceAnimationDuration,I=n.entranceAnimationDelay,L=n.backgroundColor,z=n.customBackgroundColor,V=n.resetMinHeightTablet,F=n.resetMinHeightMobile,H=n.verticalAlign,G=n.verticalAlignTablet,W=n.verticalAlignMobile,U=n.horizontalAlign,q=n.horizontalAlignTablet,Q=n.horizontalAlignMobile,K=n.paddingTop,Y=n.paddingRight,J=n.paddingBottom,$=n.paddingLeft,Z=n.paddingTopTablet,X=n.paddingRightTablet,ee=n.paddingBottomTablet,te=n.paddingLeftTablet,ne=n.paddingTopMobile,re=n.paddingRightMobile,oe=n.paddingBottomMobile,ie=n.paddingLeftMobile,ae=n.marginTop,le=n.marginRight,ce=n.marginBottom,se=n.marginLeft,ue=n.marginTopTablet,pe=n.marginRightTablet,de=n.marginBottomTablet,me=n.marginLeftTablet,ge=n.marginTopMobile,fe=n.marginRightMobile,be=n.marginBottomMobile,we=n.marginLeftMobile,he=n.className,ve=n.anchor,ye=o(o({},"custom"===ae?{marginTop:u}:[]),"custom"===ce?{marginBottom:p}:[]),_e=o(o(o(o(o(o({minHeight:x},"custom"===se?{marginLeft:d}:[]),"custom"===le?{marginRight:m}:[]),"custom"===K?{paddingTop:r}:[]),"custom"===J?{paddingBottom:i}:[]),"custom"===$?{paddingLeft:a}:[]),"custom"===Y?{paddingRight:c}:[]),Oe=O()("".concat(A,"__wrapper"),(e={},s()(e,"getwid-padding-top-".concat(K),"custom"!==K&&""!==K),s()(e,"getwid-padding-bottom-".concat(J),"custom"!==J&&""!==J),s()(e,"getwid-padding-left-".concat($),"custom"!==$&&""!==$),s()(e,"getwid-padding-right-".concat(Y),"custom"!==Y&&""!==Y),s()(e,"getwid-padding-tablet-top-".concat(Z),""!==Z),s()(e,"getwid-padding-tablet-bottom-".concat(ee),""!==ee),s()(e,"getwid-padding-tablet-left-".concat(te),""!==te),s()(e,"getwid-padding-tablet-right-".concat(X),""!==X),s()(e,"getwid-padding-mobile-top-".concat(ne),""!==ne),s()(e,"getwid-padding-mobile-bottom-".concat(oe),""!==oe),s()(e,"getwid-padding-mobile-left-".concat(ie),""!==ie),s()(e,"getwid-padding-mobile-right-".concat(re),""!==re),s()(e,"getwid-margin-left-".concat(se),"custom"!==se&&""!==se),s()(e,"getwid-margin-right-".concat(le),"custom"!==le&&""!==le),s()(e,"getwid-margin-tablet-left-".concat(me),""!==me),s()(e,"getwid-margin-tablet-right-".concat(pe),""!==pe),s()(e,"getwid-margin-mobile-left-".concat(we),""!==we),s()(e,"getwid-margin-mobile-right-".concat(fe),""!==fe),s()(e,"getwid-align-items-".concat(H),"center"!==H),s()(e,"getwid-align-items-tablet-".concat(G),""!==G),s()(e,"getwid-align-items-mobile-".concat(W),""!==W),s()(e,"getwid-justify-content-".concat(U),"center"!==U),s()(e,"getwid-justify-content-tablet-".concat(q),""!==q),s()(e,"getwid-justify-content-mobile-".concat(Q),""!==Q),s()(e,"getwid-reset-min-height-tablet",!1!==V),s()(e,"getwid-reset-min-height-mobile",!1!==F),e)),ke=o(o({backgroundColor:this.props.attributes.backgroundColor?void 0:this.props.attributes.customBackgroundColor},R("background",this.props)),N("background",this.props)),Ee=T("background-color",L),Ce=O()("".concat(A,"__background"),s()({"has-background":L||z},Ee,Ee)),je=o(o(o({opacity:void 0!==h?h/100:void 0,backgroundColor:v},R("foreground",this.props)),N("foreground",this.props)),{},{mixBlendMode:y}),Se={maxWidth:j&&"custom"===S?"".concat(j,"px"):void 0},xe=M?{"data-wow-duration":void 0!==D?D:"2000ms","data-wow-delay":void 0!==I?I:"500ms"}:{},Pe=O()(he,(t={},s()(t,"has-inner-blocks-gap-".concat(B),void 0!==B&&""!==B),s()(t,"getwid-anim ".concat(M),!!M),s()(t,"getwid-margin-top-".concat(ae),"custom"!==ae&&""!==ae),s()(t,"getwid-margin-bottom-".concat(ce),"custom"!==ce&&""!==ce),s()(t,"getwid-margin-tablet-top-".concat(ue),"custom"!==ue&&""!==ue),s()(t,"getwid-margin-tablet-bottom-".concat(de),"custom"!==de&&""!==de),s()(t,"getwid-margin-mobile-top-".concat(ge),"custom"!==ge&&""!==ge),s()(t,"getwid-margin-mobile-bottom-".concat(be),"custom"!==be&&""!==be),s()(t,"getwid-section-content-full-width","full"===S),s()(t,"getwid-section-content-custom-width","custom"===S),t)),Te=ve||void 0;return wp.element.createElement("div",l()({id:Te,className:Pe,style:ye},xe),wp.element.createElement("div",{className:Oe,style:_e},wp.element.createElement(E.a,o(o({},this.props),{},{baseClass:A})),!!b&&"none"!==w&&wp.element.createElement("div",{className:O()("getwid-background-video-controls",s()({},"is-position-".concat(w),"top-right"!==w))},wp.element.createElement("button",{className:"getwid-background-video-play"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-pause"})),wp.element.createElement("button",{className:"getwid-background-video-mute"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-mute"}))),wp.element.createElement("div",{className:O()("".concat(A,"__inner-wrapper"),s()({},"has-dividers-over",_)),style:Se},wp.element.createElement("div",{className:"".concat(A,"__background-holder")},wp.element.createElement("div",{className:Ce,style:ke},!!g&&wp.element.createElement("div",{className:"".concat(A,"__background-image-wrapper")},wp.element.createElement("img",{className:"".concat(A,"__background-image"),src:g.url,alt:g.alt,"data-id":g.id})),!!f.length&&wp.element.createElement("div",{className:"".concat(A,"__background-slider-wrapper")},wp.element.createElement(k.b,o(o({},this.props),{},{baseClass:A}))),!!b&&wp.element.createElement("div",{className:"".concat(A,"__background-video-wrapper")},wp.element.createElement(C.a,l()({},o(o({},this.props),{},{baseClass:A}),{videoMute:this.props.attributes.backgroundVideoMute,videoAutoplay:this.props.attributes.backgroundVideoAutoplay})))),wp.element.createElement("div",{className:"".concat(A,"__foreground"),style:je})),wp.element.createElement("div",{className:"".concat(A,"__content")},wp.element.createElement("div",{className:"".concat(A,"__inner-content")},wp.element.createElement(P.Content,null))))))}}]),t}(S);t.a=B},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(27)),_=n(26),O=n(135),k=n(1),E=(n.n(k),n(8)),C=n.n(E),j=n(22),S=wp.element.Component,x=wp.blockEditor||wp.editor,P=x.InnerBlocks,T=x.getColorClassName,R=j.a.prepareGradientStyle,N=j.a.prepareBackgroundImageStyles,A="wp-block-getwid-section",B=function(e){function t(){return p()(this,t),n.apply(this,arguments)}f()(t,e);var n=i(t);return m()(t,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.align,i=n.paddingTopValue,a=n.paddingBottomValue,c=n.paddingLeftValue,u=n.paddingRightValue,p=n.marginTopValue,d=n.marginBottomValue,m=n.marginLeftValue,g=n.marginRightValue,f=n.backgroundImage,b=n.sliderImages,w=n.backgroundVideoUrl,h=n.backgroundVideoControlsPosition,v=n.foregroundOpacity,k=n.foregroundColor,E=n.foregroundFilter,j=n.dividersBringTop,S=n.contentMaxWidth,x=n.contentMaxWidthPreset,B=n.minHeight,M=n.gapSize,D=n.entranceAnimation,I=n.entranceAnimationDuration,L=n.entranceAnimationDelay,z=n.backgroundColor,V=n.customBackgroundColor,F=n.resetMinHeightTablet,H=n.resetMinHeightMobile,G=n.verticalAlign,W=n.verticalAlignTablet,U=n.verticalAlignMobile,q=n.horizontalAlign,Q=n.horizontalAlignTablet,K=n.horizontalAlignMobile,Y=n.paddingTop,J=n.paddingRight,$=n.paddingBottom,Z=n.paddingLeft,X=n.paddingTopTablet,ee=n.paddingRightTablet,te=n.paddingBottomTablet,ne=n.paddingLeftTablet,re=n.paddingTopMobile,oe=n.paddingRightMobile,ie=n.paddingBottomMobile,ae=n.paddingLeftMobile,le=n.marginTop,ce=n.marginRight,se=n.marginBottom,ue=n.marginLeft,pe=n.marginTopTablet,de=n.marginRightTablet,me=n.marginBottomTablet,ge=n.marginLeftTablet,fe=n.marginTopMobile,be=n.marginRightMobile,we=n.marginBottomMobile,he=n.marginLeftMobile,ve=n.className,ye=n.anchor,_e=o(o({},"custom"===le?{marginTop:p}:[]),"custom"===se?{marginBottom:d}:[]),Oe=o(o(o(o(o(o({minHeight:B},"custom"===ue?{marginLeft:m}:[]),"custom"===ce?{marginRight:g}:[]),"custom"===Y?{paddingTop:i}:[]),"custom"===$?{paddingBottom:a}:[]),"custom"===Z?{paddingLeft:c}:[]),"custom"===J?{paddingRight:u}:[]),ke=C()("".concat(A,"__wrapper"),(e={},s()(e,"getwid-padding-top-".concat(Y),"custom"!==Y&&""!==Y),s()(e,"getwid-padding-bottom-".concat($),"custom"!==$&&""!==$),s()(e,"getwid-padding-left-".concat(Z),"custom"!==Z&&""!==Z),s()(e,"getwid-padding-right-".concat(J),"custom"!==J&&""!==J),s()(e,"getwid-padding-tablet-top-".concat(X),""!==X),s()(e,"getwid-padding-tablet-bottom-".concat(te),""!==te),s()(e,"getwid-padding-tablet-left-".concat(ne),""!==ne),s()(e,"getwid-padding-tablet-right-".concat(ee),""!==ee),s()(e,"getwid-padding-mobile-top-".concat(re),""!==re),s()(e,"getwid-padding-mobile-bottom-".concat(ie),""!==ie),s()(e,"getwid-padding-mobile-left-".concat(ae),""!==ae),s()(e,"getwid-padding-mobile-right-".concat(oe),""!==oe),s()(e,"getwid-margin-left-".concat(ue),"custom"!==ue&&""!==ue),s()(e,"getwid-margin-right-".concat(ce),"custom"!==ce&&""!==ce),s()(e,"getwid-margin-tablet-left-".concat(ge),""!==ge),s()(e,"getwid-margin-tablet-right-".concat(de),""!==de),s()(e,"getwid-margin-mobile-left-".concat(he),""!==he),s()(e,"getwid-margin-mobile-right-".concat(be),""!==be),s()(e,"getwid-align-items-".concat(G),"center"!==G),s()(e,"getwid-align-items-tablet-".concat(W),""!==W),s()(e,"getwid-align-items-mobile-".concat(U),""!==U),s()(e,"getwid-justify-content-".concat(q),"center"!==q),s()(e,"getwid-justify-content-tablet-".concat(Q),""!==Q),s()(e,"getwid-justify-content-mobile-".concat(K),""!==K),s()(e,"getwid-reset-min-height-tablet",!1!==F),s()(e,"getwid-reset-min-height-mobile",!1!==H),e)),Ee=o(o({backgroundColor:this.props.attributes.backgroundColor?void 0:this.props.attributes.customBackgroundColor},R("background",this.props)),N("background",this.props)),Ce=T("background-color",z),je=C()("".concat(A,"__background"),s()({"has-background":z||V},Ce,Ce)),Se=o(o(o({opacity:void 0!==v?v/100:void 0,backgroundColor:k},R("foreground",this.props)),N("foreground",this.props)),{},{mixBlendMode:E}),xe={maxWidth:S&&"custom"===x?"".concat(S,"px"):void 0},Pe=D?{"data-wow-duration":void 0!==I?I:"2000ms","data-wow-delay":void 0!==L?L:"500ms"}:{},Te=C()(ve,r?"align".concat(r):null,(t={},s()(t,"has-inner-blocks-gap-".concat(M),void 0!==M&&""!==M),s()(t,"getwid-anim ".concat(D),!!D),s()(t,"getwid-margin-top-".concat(le),"custom"!==le&&""!==le),s()(t,"getwid-margin-bottom-".concat(se),"custom"!==se&&""!==se),s()(t,"getwid-margin-tablet-top-".concat(pe),"custom"!==pe&&""!==pe),s()(t,"getwid-margin-tablet-bottom-".concat(me),"custom"!==me&&""!==me),s()(t,"getwid-margin-mobile-top-".concat(fe),"custom"!==fe&&""!==fe),s()(t,"getwid-margin-mobile-bottom-".concat(we),"custom"!==we&&""!==we),s()(t,"getwid-section-content-full-width","full"===x),s()(t,"getwid-section-content-custom-width","custom"===x),t)),Re=ye||void 0;return wp.element.createElement("div",l()({id:Re,className:Te,style:_e},Pe),wp.element.createElement("div",{className:ke,style:Oe},wp.element.createElement(_.a,o(o({},this.props),{},{baseClass:A})),!!w&&"none"!==h&&wp.element.createElement("div",{className:C()("getwid-background-video-controls",s()({},"is-position-".concat(h),"top-right"!==h))},wp.element.createElement("button",{className:"getwid-background-video-play"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-pause"})),wp.element.createElement("button",{className:"getwid-background-video-mute"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-mute"}))),wp.element.createElement("div",{className:C()("".concat(A,"__inner-wrapper"),s()({},"has-dividers-over",j)),style:xe},wp.element.createElement("div",{className:"".concat(A,"__background-holder")},wp.element.createElement("div",{className:je,style:Ee},!!f&&wp.element.createElement("div",{className:"".concat(A,"__background-image-wrapper")},wp.element.createElement("img",{className:"".concat(A,"__background-image"),src:f.url,alt:f.alt})),!!b.length&&wp.element.createElement("div",{className:"".concat(A,"__background-slider-wrapper")},wp.element.createElement(y.b,o(o({},this.props),{},{baseClass:A}))),!!w&&wp.element.createElement("div",{className:"".concat(A,"__background-video-wrapper")},wp.element.createElement(O.a,l()({},o(o({},this.props),{},{baseClass:A}),{videoMute:this.props.attributes.backgroundVideoMute,videoAutoplay:this.props.attributes.backgroundVideoAutoplay})))),wp.element.createElement("div",{className:"".concat(A,"__foreground"),style:Se})),wp.element.createElement("div",{className:"".concat(A,"__content")},wp.element.createElement("div",{className:"".concat(A,"__inner-content")},wp.element.createElement(P.Content,null))))))}}]),t}(S);t.a=B},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"a",function(){return v});var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),wp.element),w=b.Component,h=b.Fragment,v=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.backgroundVideoUrl,r=(t.backgroundVideoMute,t.backgroundVideoLoop),o=(t.backgroundVideoAutoplay,t.backgroundVideoPoster),a=e.baseClass,l={autoPlay:this.props.videoAutoplay,muted:this.props.videoMute,loop:r,poster:o||void 0};return wp.element.createElement(h,null,n.url&&wp.element.createElement("video",i()({className:"".concat(a,"__background-video")},l,{ref:this.props.videoElemRef,onEnded:this.props.onVideoEnd}),wp.element.createElement("source",{src:n.url,type:"video/mp4"})))}},{key:"componentDidMount",value:function(){}},{key:"componentDidUpdate",value:function(){}}]),t}(w)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(27)),_=n(26),O=n(30),k=n(1),E=(n.n(k),n(8)),C=n.n(E),j=n(22),S=wp.element.Component,x=wp.blockEditor||wp.editor,P=x.InnerBlocks,T=x.getColorClassName,R=j.a.prepareGradientStyle,N=j.a.prepareBackgroundImageStyles,A="wp-block-getwid-section",B=function(e){function t(){return p()(this,t),n.apply(this,arguments)}f()(t,e);var n=i(t);return m()(t,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.align,i=n.paddingTopValue,a=n.paddingBottomValue,c=n.paddingLeftValue,u=n.paddingRightValue,p=n.marginTopValue,d=n.marginBottomValue,m=n.marginLeftValue,g=n.marginRightValue,f=n.backgroundImage,b=n.sliderImages,w=n.backgroundVideoType,h=n.youTubeVideoUrl,v=n.youTubeVideoMute,k=n.youTubeVideoLoop,E=n.youTubeVideoAutoplay,j=n.backgroundVideoUrl,S=n.backgroundVideoControlsPosition,x=n.foregroundOpacity,B=n.foregroundColor,M=n.foregroundFilter,D=n.dividersBringTop,I=n.contentMaxWidth,L=n.contentMaxWidthPreset,z=n.minHeight,V=n.gapSize,F=n.entranceAnimation,H=n.entranceAnimationDuration,G=n.entranceAnimationDelay,W=n.backgroundColor,U=n.customBackgroundColor,q=n.resetMinHeightTablet,Q=n.resetMinHeightMobile,K=n.verticalAlign,Y=n.verticalAlignTablet,J=n.verticalAlignMobile,$=n.horizontalAlign,Z=n.horizontalAlignTablet,X=n.horizontalAlignMobile,ee=n.paddingTop,te=n.paddingRight,ne=n.paddingBottom,re=n.paddingLeft,oe=n.paddingTopTablet,ie=n.paddingRightTablet,ae=n.paddingBottomTablet,le=n.paddingLeftTablet,ce=n.paddingTopMobile,se=n.paddingRightMobile,ue=n.paddingBottomMobile,pe=n.paddingLeftMobile,de=n.marginTop,me=n.marginRight,ge=n.marginBottom,fe=n.marginLeft,be=n.marginTopTablet,we=n.marginRightTablet,he=n.marginBottomTablet,ve=n.marginLeftTablet,ye=n.marginTopMobile,_e=n.marginRightMobile,Oe=n.marginBottomMobile,ke=n.marginLeftMobile,Ee=n.className,Ce=n.anchor,je=o(o({},"custom"===de?{marginTop:p}:[]),"custom"===ge?{marginBottom:d}:[]),Se=o(o(o(o(o(o({minHeight:z},"custom"===fe?{marginLeft:m}:[]),"custom"===me?{marginRight:g}:[]),"custom"===ee?{paddingTop:i}:[]),"custom"===ne?{paddingBottom:a}:[]),"custom"===re?{paddingLeft:c}:[]),"custom"===te?{paddingRight:u}:[]),xe=C()("".concat(A,"__wrapper"),(e={},s()(e,"getwid-padding-top-".concat(ee),"custom"!==ee&&""!==ee),s()(e,"getwid-padding-bottom-".concat(ne),"custom"!==ne&&""!==ne),s()(e,"getwid-padding-left-".concat(re),"custom"!==re&&""!==re),s()(e,"getwid-padding-right-".concat(te),"custom"!==te&&""!==te),s()(e,"getwid-padding-tablet-top-".concat(oe),""!==oe),s()(e,"getwid-padding-tablet-bottom-".concat(ae),""!==ae),s()(e,"getwid-padding-tablet-left-".concat(le),""!==le),s()(e,"getwid-padding-tablet-right-".concat(ie),""!==ie),s()(e,"getwid-padding-mobile-top-".concat(ce),""!==ce),s()(e,"getwid-padding-mobile-bottom-".concat(ue),""!==ue),s()(e,"getwid-padding-mobile-left-".concat(pe),""!==pe),s()(e,"getwid-padding-mobile-right-".concat(se),""!==se),s()(e,"getwid-margin-left-".concat(fe),"custom"!==fe&&""!==fe),s()(e,"getwid-margin-right-".concat(me),"custom"!==me&&""!==me),s()(e,"getwid-margin-tablet-left-".concat(ve),""!==ve),s()(e,"getwid-margin-tablet-right-".concat(we),""!==we),s()(e,"getwid-margin-mobile-left-".concat(ke),""!==ke),s()(e,"getwid-margin-mobile-right-".concat(_e),""!==_e),s()(e,"getwid-align-items-".concat(K),"center"!==K),s()(e,"getwid-align-items-tablet-".concat(Y),""!==Y),s()(e,"getwid-align-items-mobile-".concat(J),""!==J),s()(e,"getwid-justify-content-".concat($),"center"!==$),s()(e,"getwid-justify-content-tablet-".concat(Z),""!==Z),s()(e,"getwid-justify-content-mobile-".concat(X),""!==X),s()(e,"getwid-reset-min-height-tablet",!1!==q),s()(e,"getwid-reset-min-height-mobile",!1!==Q),e)),Pe=o(o({backgroundColor:this.props.attributes.backgroundColor?void 0:this.props.attributes.customBackgroundColor},R("background",this.props)),N("background",this.props)),Te=T("background-color",W),Re=C()("".concat(A,"__background"),s()({"has-background":W||U},Te,Te)),Ne=o(o(o({opacity:void 0!==x?x/100:void 0,backgroundColor:B},R("foreground",this.props)),N("foreground",this.props)),{},{mixBlendMode:M}),Ae={maxWidth:I&&"custom"===L?"".concat(I,"px"):void 0},Be=F?{"data-wow-duration":void 0!==H?H:"2000ms","data-wow-delay":void 0!==G?G:"500ms"}:{},Me=C()(Ee,r?"align".concat(r):null,(t={},s()(t,"has-inner-blocks-gap-".concat(V),void 0!==V&&""!==V),s()(t,"getwid-anim ".concat(F),!!F),s()(t,"getwid-margin-top-".concat(de),"custom"!==de&&""!==de),s()(t,"getwid-margin-bottom-".concat(ge),"custom"!==ge&&""!==ge),s()(t,"getwid-margin-tablet-top-".concat(be),"custom"!==be&&""!==be),s()(t,"getwid-margin-tablet-bottom-".concat(he),"custom"!==he&&""!==he),s()(t,"getwid-margin-mobile-top-".concat(ye),"custom"!==ye&&""!==ye),s()(t,"getwid-margin-mobile-bottom-".concat(Oe),"custom"!==Oe&&""!==Oe),s()(t,"getwid-section-content-full-width","full"===L),s()(t,"getwid-section-content-custom-width","custom"===L),t)),De=Ce||void 0,Ie={"youtube-video-url":h,"youtube-video-muted":v,"youtube-video-loop":k,"youtube-video-autoplay":E};return wp.element.createElement("div",l()({id:De,className:Me,style:je},Be),wp.element.createElement("div",{className:xe,style:Se},wp.element.createElement(_.a,o(o({},this.props),{},{baseClass:A})),(!!j||!!h)&&"none"!==S&&wp.element.createElement("div",{className:C()("getwid-background-video-controls",s()({},"is-position-".concat(S),"top-right"!==S))},wp.element.createElement("button",{className:"getwid-background-video-play"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-pause"})),wp.element.createElement("button",{className:"getwid-background-video-mute"},wp.element.createElement("i",{className:"getwid-icon getwid-icon-mute"}))),wp.element.createElement("div",{className:C()("".concat(A,"__inner-wrapper"),s()({},"has-dividers-over",D)),style:Ae},wp.element.createElement("div",{className:"".concat(A,"__background-holder")},wp.element.createElement("div",{className:Re,style:Pe},!!f&&wp.element.createElement("div",{className:"".concat(A,"__background-image-wrapper")},wp.element.createElement("img",{className:"".concat(A,"__background-image"),src:f.url,alt:f.alt})),b&&!!b.length&&wp.element.createElement("div",{className:"".concat(A,"__background-slider-wrapper")},wp.element.createElement(y.b,o(o({},this.props),{},{baseClass:A}))),(!!j||!!h)&&wp.element.createElement("div",{className:"".concat(A,"__background-video-wrapper")},h&&""!=h&&"youtube"==w&&wp.element.createElement("div",l()({className:"".concat(A,"__background-video source-youtube")},Ie),wp.element.createElement("div",{className:"".concat(A,"__background-video-youtube")})),!!j&&"self"==w&&wp.element.createElement(O.a,l()({},o(o({},this.props),{},{baseClass:A}),{videoMute:this.props.attributes.backgroundVideoMute,videoAutoplay:this.props.attributes.backgroundVideoAutoplay})))),wp.element.createElement("div",{className:"".concat(A,"__foreground"),style:Ne})),wp.element.createElement("div",{className:"".concat(A,"__content")},wp.element.createElement("div",{className:"".concat(A,"__inner-content")},wp.element.createElement(P.Content,null))))))}}]),t}(S);t.a=B},function(e,t,n){"use strict";var r={align:{type:"string"},skipLayout:{type:"boolean",default:!1},contentMaxWidthPreset:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},gapSize:{type:"string"},resetMinHeightTablet:{type:"boolean",default:!1},resetMinHeightMobile:{type:"boolean",default:!1},verticalAlign:{type:"string",default:"center"},verticalAlignTablet:{type:"string",default:""},verticalAlignMobile:{type:"string",default:""},horizontalAlign:{type:"string",default:"center"},horizontalAlignTablet:{type:"string",default:""},horizontalAlignMobile:{type:"string",default:""},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},backgroundGradientFirstColor:{type:"string"},backgroundGradientFirstColorLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string"},backgroundGradientSecondColorLocation:{type:"number",default:100},backgroundGradientType:{type:"string"},backgroundGradientAngle:{type:"number",default:180},backgroundImage:{type:"object"},backgroundImagePosition:{type:"string"},backgroundImageAttachment:{type:"string"},backgroundImageRepeat:{type:"string"},backgroundImageSize:{type:"string"},sliderImages:{type:"array",default:[],source:"query",selector:".wp-block-getwid-section__background-slider>.wp-block-getwid-section__background-slider-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"}}},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-effect"},sliderAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-speed",default:1e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-autoplay-speed",default:5e3},backgroundVideoUrl:{type:"object"},backgroundVideoMute:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video",attribute:"muted",default:!1},backgroundVideoLoop:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video",attribute:"loop",default:!1},backgroundVideoAutoplay:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video",attribute:"autoplay",default:!1},backgroundVideoPoster:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video",attribute:"poster"},backgroundVideoControlsPosition:{type:"string",default:"top-right"},foregroundOpacity:{type:"number"},foregroundColor:{type:"string"},foregroundImage:{type:"object"},foregroundImagePosition:{type:"string"},foregroundImageAttachment:{type:"string"},foregroundImageRepeat:{type:"string"},foregroundImageSize:{type:"string"},foregroundFilter:{type:"string"},foregroundGradientType:{type:"string"},foregroundGradientFirstColor:{type:"string"},foregroundGradientFirstColorLocation:{type:"number",default:0},foregroundGradientSecondColor:{type:"string"},foregroundGradientSecondColorLocation:{type:"number",default:100},foregroundGradientAngle:{type:"number",default:180},dividerTop:{type:"string"},dividersTopHeight:{type:"string"},dividerTopColor:{type:"string",default:"white"},dividerBottom:{type:"string"},dividersBottomHeight:{type:"string"},dividersBringTop:{type:"boolean",default:!1},dividerBottomColor:{type:"string",default:"white"},entranceAnimation:{type:"string"},entranceAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-duration",default:"1500ms"},entranceAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-delay",default:"200ms"},paddingTopValue:{type:"string"},paddingBottomValue:{type:"string"},paddingLeftValue:{type:"string"},paddingRightValue:{type:"string"},paddingTop:{type:"string",default:""},paddingBottom:{type:"string",default:""},paddingLeft:{type:"string",default:""},paddingRight:{type:"string",default:""},paddingTopTablet:{type:"string",default:""},paddingBottomTablet:{type:"string",default:""},paddingLeftTablet:{type:"string",default:""},paddingRightTablet:{type:"string",default:""},paddingTopMobile:{type:"string",default:""},paddingBottomMobile:{type:"string",default:""},paddingLeftMobile:{type:"string",default:""},paddingRightMobile:{type:"string",default:""},marginTopValue:{type:"string"},marginBottomValue:{type:"string"},marginLeftValue:{type:"string"},marginRightValue:{type:"string"},marginTop:{type:"string",default:""},marginBottom:{type:"string",default:""},marginLeft:{type:"string",default:""},marginRight:{type:"string",default:""},marginTopTablet:{type:"string",default:""},marginBottomTablet:{type:"string",default:""},marginLeftTablet:{type:"string",default:""},marginRightTablet:{type:"string",default:""},marginTopMobile:{type:"string",default:""},marginBottomMobile:{type:"string",default:""},marginLeftMobile:{type:"string",default:""},marginRightMobile:{type:"string",default:""}};t.a=r},function(e,t,n){"use strict";var r={align:{type:"string"},skipLayout:{type:"boolean",default:!1},contentMaxWidthPreset:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},gapSize:{type:"string"},resetMinHeightTablet:{type:"boolean",default:!1},resetMinHeightMobile:{type:"boolean",default:!1},verticalAlign:{type:"string",default:"center"},verticalAlignTablet:{type:"string",default:""},verticalAlignMobile:{type:"string",default:""},horizontalAlign:{type:"string",default:"center"},horizontalAlignTablet:{type:"string",default:""},horizontalAlignMobile:{type:"string",default:""},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},backgroundGradientFirstColor:{type:"string"},backgroundGradientSecondColor:{type:"string"},backgroundGradientFirstColorLocation:{type:"number",default:0},backgroundGradientSecondColorLocation:{type:"number",default:100},backgroundGradientType:{type:"string"},backgroundGradientAngle:{type:"number",default:180},foregroundGradientFirstColor:{type:"string"},foregroundGradientSecondColor:{type:"string"},foregroundGradientFirstColorLocation:{type:"number",default:0},foregroundGradientSecondColorLocation:{type:"number",default:100},foregroundGradientType:{type:"string"},foregroundGradientAngle:{type:"number",default:180},backgroundImage:{type:"object"},backgroundCustomImagePosition:{type:"object"},backgroundImagePosition:{type:"string"},backgroundImageAttachment:{type:"string"},backgroundImageRepeat:{type:"string"},backgroundImageSize:{type:"string"},sliderImages:{type:"array",default:[],source:"query",selector:".wp-block-getwid-section__background-slider>.wp-block-getwid-section__background-slider-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"}}},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-effect"},sliderAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-speed",default:1e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-autoplay-speed",default:5e3},backgroundVideoType:{type:"string",default:"self"},youTubeVideoUrl:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-url"},youTubeVideoMute:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-muted",default:"false"},youTubeVideoLoop:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-loop",default:"false"},youTubeVideoAutoplay:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-autoplay",default:"false"},backgroundVideoUrl:{type:"object"},backgroundVideoMute:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"muted",default:!1},backgroundVideoLoop:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"loop",default:!1},backgroundVideoAutoplay:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"autoplay",default:!1},backgroundVideoPoster:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"poster"},backgroundVideoControlsPosition:{type:"string",default:"top-right"},foregroundOpacity:{type:"number"},foregroundColor:{type:"string"},foregroundImage:{type:"object"},foregroundCustomImagePosition:{type:"object"},foregroundImagePosition:{type:"string"},foregroundImageAttachment:{type:"string"},foregroundImageRepeat:{type:"string"},foregroundImageSize:{type:"string"},foregroundFilter:{type:"string"},dividerTop:{type:"string"},dividersTopHeight:{type:"string"},dividerTopColor:{type:"string",default:"white"},dividerBottom:{type:"string"},dividersBottomHeight:{type:"string"},dividersBringTop:{type:"boolean",default:!1},dividerBottomColor:{type:"string",default:"white"},entranceAnimation:{type:"string"},entranceAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-duration",default:"1500ms"},entranceAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-delay",default:"200ms"},paddingTopValue:{type:"string"},paddingBottomValue:{type:"string"},paddingLeftValue:{type:"string"},paddingRightValue:{type:"string"},paddingTop:{type:"string",default:""},paddingBottom:{type:"string",default:""},paddingLeft:{type:"string",default:""},paddingRight:{type:"string",default:""},paddingTopTablet:{type:"string",default:""},paddingBottomTablet:{type:"string",default:""},paddingLeftTablet:{type:"string",default:""},paddingRightTablet:{type:"string",default:""},paddingTopMobile:{type:"string",default:""},paddingBottomMobile:{type:"string",default:""},paddingLeftMobile:{type:"string",default:""},paddingRightMobile:{type:"string",default:""},marginTopValue:{type:"string"},marginBottomValue:{type:"string"},marginLeftValue:{type:"string"},marginRightValue:{type:"string"},marginTop:{type:"string",default:""},marginBottom:{type:"string",default:""},marginLeft:{type:"string",default:""},marginRight:{type:"string",default:""},marginTopTablet:{type:"string",default:""},marginBottomTablet:{type:"string",default:""},marginLeftTablet:{type:"string",default:""},marginRightTablet:{type:"string",default:""},marginTopMobile:{type:"string",default:""},marginBottomMobile:{type:"string",default:""},marginLeftMobile:{type:"string",default:""},marginRightMobile:{type:"string",default:""}};t.a=r},function(e,t){},function(e,t){},function(e,t,n){"use strict";n(142),n(150),n(155)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(50)),c=n(146),s=n(51),u=n(147),p=n(53),d=n(12),m=n(149),g=n(1),f=(n.n(g),n(10)),b=(n.n(f),wp.blocks.registerBlockType),w="wp-block-getwid-media-text-slider";b("getwid/media-text-slider",o(o({title:Object(g.__)("Media & Text Slider","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},wp.element.createElement("rect",{x:"4",y:"4",width:"16",height:"2"}),wp.element.createElement("circle",{cx:"6",cy:"22",r:"2"}),wp.element.createElement("circle",{cx:"12",cy:"22",r:"2"}),wp.element.createElement("circle",{cx:"18",cy:"22",r:"2"}),wp.element.createElement("path",{d:"M0,0v19h24V0H0z M22,2v10.59l-2.5-2.5l-3.5,3.5l-6-6l-8,8V2H22z M3.41,17L10,10.41l6,6l3.5-3.5l2.5,2.5V17H3.41z"})),category:"getwid-blocks",keywords:[Object(g.__)("gallery","getwid"),Object(g.__)("carousel","getwid"),Object(g.__)("image","getwid")],supports:{alignWide:!0,align:["wide","full"],inserter:!Getwid.disabled_blocks.includes("getwid/media-text-slider")},attributes:s.a,transforms:{from:[{type:"block",blocks:["core/gallery"],transform:function(e){return Object(p.b)(e)}},{type:"block",blocks:["getwid/images-stack"],transform:function(e){return Object(p.b)(e)}},{type:"block",blocks:["getwid/images-slider"],transform:function(e){return Object(p.b)(e)}},{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){return Object(p.b)(e)}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){return Object(p.a)(e,"core/gallery",null)}},{type:"block",blocks:["getwid/images-stack"],transform:function(e){return Object(p.a)(e,"getwid/images-stack",[])}},{type:"block",blocks:["getwid/images-slider"],transform:function(e){return Object(p.a)(e,"getwid/images-slider",[])}},{type:"block",blocks:["core/image"],transform:function(e){return Object(p.a)(e,"core/image",null)}},{type:"block",blocks:["getwid/content-timeline"],transform:function(e){return Object(p.a)(e,"getwid/content-timeline",null)}}]},deprecated:[{attributes:u.a,migrate:function(e){var t=JSON.parse(e.sliderArrays.replace(/u0022/g,'"'));return o(o({},e),{},{sliderArrays:JSON.stringify(Object(f.times)(e.slideCount,function(e){return"".concat(t[e].text)}))})},save:function(e){return wp.element.createElement(m.a,o(o({},e),{},{baseClass:w}))}}]},Object(d.b)("getwid/media-text-slider",function(e){return wp.element.createElement(l.b,o(o({},e),{},{baseClass:w}))})),{},{save:function(e){return wp.element.createElement(c.a,o(o({},e),{},{baseClass:w}))}}))},function(e,t,n){e.exports=function(e,t){function n(){var t,n,l=o,c=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(n=0;n<c;n++)if(l.args[n]!==arguments[n]){l=l.next;continue e}return l!==o&&(l===i&&(i=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=o,l.prev=null,o.prev=l,o=l),l.val}l=l.next}for(t=new Array(c),n=0;n<c;n++)t[n]=arguments[n];return l={args:t,val:e.apply(null,t)},o?(o.prev=l,l.next=o):i=l,a===r?(i=i.prev,i.next=null):a++,o=l,l.val}var r,o,i,a=0;return t&&t.maxSize&&(r=t.maxSize),n.clear=function(){o=null,i=null,a=0},n}},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(1)),w=(n.n(b),n(19)),h=n(17),v=n(25),y=n(16),_=n(14),O=n(51),k=wp.element,E=k.Component,C=k.Fragment,j=wp.blockEditor||wp.editor,S=j.InspectorControls,x=wp.components,P=x.Button,T=x.BaseControl,R=x.PanelBody,N=x.RangeControl,A=x.ToggleControl,B=x.SelectControl,M=x.RadioControl,D=x.TextControl,I=function(e){function t(e){var r;return l()(this,t),r=n.apply(this,arguments),r.state={tabName:"general"},r}p()(t,e);var n=r(t);return s()(t,[{key:"hasSliderSettings",value:function(){var e=this.props.attributes,t=e.sliderAnimationEffect,n=e.sliderAutoplay,r=e.pauseOnHover,o=e.sliderAutoplaySpeed,i=e.sliderAnimationSpeed;return void 0!=t||n!=O.a.sliderAutoplay.default||r!=O.a.pauseOnHover.default||o!=O.a.sliderAutoplaySpeed.default||i!=O.a.sliderAnimationSpeed.default}},{key:"render",value:function(){var e=this,t=this.props,n=t.addNewSlide,r=t.setAttributes,o=t.clientId,a=this.props.attributes,l=a.imageSize,c=a.slideCount,s=a.contentMaxWidth,u=a.minHeight,p=a.verticalAlign,d=a.horizontalAlign,m=a.textColor,g=a.overlayColor,f=a.overlayOpacity,k=a.contentAnimation,E=this.props.attributes,j=E.contentAnimationDuration,x=E.contentAnimationDelay,I=E.sliderAnimationEffect,L=E.sliderAutoplay,z=E.pauseOnHover,V=E.sliderAutoplaySpeed,F=E.sliderAnimationSpeed,H=this.props.attributes,G=H.sliderArrows,W=H.sliderDots,U=this.state.tabName;if(!(0,wp.data.select)("core/block-editor").getBlock(o))return wp.element.createElement(S,null);var q=function(){return r({sliderAnimationEffect:void 0,sliderAutoplay:O.a.sliderAutoplay.default,pauseOnHover:O.a.pauseOnHover.default,sliderAutoplaySpeed:O.a.sliderAutoplaySpeed.default,sliderAnimationSpeed:O.a.sliderAnimationSpeed.default})},Q=function(){return k!==O.a.contentAnimation.default||x!==O.a.contentAnimationDelay.default||j!==O.a.contentAnimationDuration.default},K=function(){r({contentAnimation:O.a.contentAnimation.default,contentAnimationDelay:O.a.contentAnimationDelay.default,contentAnimationDuration:O.a.contentAnimationDuration.default})};return wp.element.createElement(S,{key:"inspector"},wp.element.createElement(w.a,{state:U,stateName:"tabName",onChangeTab:function(t,n){e.setState(i()({},t,n))},tabs:["general","style","advanced"]}),"general"===U&&wp.element.createElement(C,null,wp.element.createElement(R,null,wp.element.createElement(N,{label:Object(b.__)("Number of slides","getwid"),value:c,onChange:function(e){return n(e)},min:1,max:50}),wp.element.createElement(B,{label:Object(b.__)("Image Size","getwid"),help:Object(b.__)("For images from Media Library only.","getwid"),value:l,onChange:function(e){r({imageSize:e})},options:Getwid.settings.image_sizes}),wp.element.createElement(T,{label:Object(b.__)("Slider Minimum Height","getwid")},wp.element.createElement(h.a,{value:u,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"},{label:"%",value:"%"}],onChange:function(e){return r({minHeight:e})}})),wp.element.createElement(N,{label:Object(b.__)("Content Area Width","getwid"),value:void 0!==s?s:"",onChange:function(e){r({contentMaxWidth:e})},allowReset:!0,min:0,max:2e3,step:1}),wp.element.createElement(B,{label:Object(b.__)("Content Area Vertical Alignment","getwid"),value:void 0!==p?p:"center",onChange:function(e){return r({verticalAlign:e})},options:[{value:"top",label:Object(b.__)("Top","getwid")},{value:"center",label:Object(b.__)("Middle","getwid")},{value:"bottom",label:Object(b.__)("Bottom","getwid")}]}),wp.element.createElement(B,{label:Object(b.__)("Content Area Horizontal Alignment","getwid"),value:void 0!==d?d:"center",onChange:function(e){return r({horizontalAlign:e})},options:[{value:"left",label:Object(b.__)("Left","getwid")},{value:"center",label:Object(b.__)("Center","getwid")},{value:"right",label:Object(b.__)("Right","getwid")}]}))),"style"===U&&wp.element.createElement(C,null,wp.element.createElement(R,null,wp.element.createElement(N,{label:Object(b.__)("Overlay Opacity","getwid"),value:void 0!==f?f:0,onChange:function(e){return r({overlayOpacity:e})},min:0,max:100,step:1}),wp.element.createElement(y.a,{colorSettings:[{title:Object(b.__)("Text Color","getwid"),colors:{customColor:m},changeColor:function(e){return r({textColor:e})}},{title:Object(b.__)("Background Color","getwid"),colors:{customColor:g},changeColor:function(e){return r({overlayColor:e})}}]})),wp.element.createElement(R,{title:Object(b.__)("Padding","getwid"),initialOpen:!1},Object(_.f)(this))),"advanced"===U&&wp.element.createElement(C,null,wp.element.createElement(R,{title:Object(b.__)("Text Animation","getwid"),initialOpen:!0},function(){return wp.element.createElement(C,null,wp.element.createElement(v.a,{label:Object(b.__)("Animation Effect","getwid"),allowAnimation:["Entrance","Seeker"],value:void 0!==k?k:"",onChange:function(e){return r({contentAnimation:e})}}),wp.element.createElement(B,{label:Object(b.__)("Duration","getwid"),value:void 0!==j?j:"",onChange:function(e){return r({contentAnimationDuration:e})},options:[{value:"3000ms",label:Object(b.__)("Very Slow","getwid")},{value:"2000ms",label:Object(b.__)("Slow","getwid")},{value:"1500ms",label:Object(b.__)("Normal","getwid")},{value:"800ms",label:Object(b.__)("Fast","getwid")},{value:"400ms",label:Object(b.__)("Very Fast","getwid")}]}),wp.element.createElement(D,{label:Object(b.__)("Delay, ms","getwid"),value:void 0!==x?x.replace("ms",""):"",type:"number",min:0,onChange:function(e){e=parseInt(e),e=isNaN(e)?void 0:"".concat(e,"ms"),r({contentAnimationDelay:e})}}),wp.element.createElement(T,null,wp.element.createElement(P,{isLink:!0,onClick:K,disabled:!Q()},Object(b.__)("Reset","getwid"))))}()),wp.element.createElement(R,{title:Object(b.__)("Slider Settings","getwid"),initialOpen:!1},function(){return wp.element.createElement(C,null,wp.element.createElement(M,{label:Object(b.__)("Animation Effect","getwid"),selected:void 0!==I?I:"",options:[{value:"",label:Object(b.__)("Slide","getwid")},{value:"fade",label:Object(b.__)("Fade","getwid")}],onChange:function(e){return r({sliderAnimationEffect:e})}}),wp.element.createElement(A,{label:Object(b.__)("Enable Slideshow","getwid"),checked:L,onChange:function(){return r({sliderAutoplay:!L})}}),L&&wp.element.createElement(C,null,wp.element.createElement(A,{label:Object(b.__)("Pause On Hover","getwid"),checked:z,onChange:function(){return r({pauseOnHover:!z})}}),wp.element.createElement(D,{label:Object(b.__)("Slideshow Speed","getwid"),type:"number",value:void 0!==V?V:"",min:0,onChange:function(e){return r({sliderAutoplaySpeed:e})}})),wp.element.createElement(D,{label:Object(b.__)("Animation Speed","getwid"),type:"number",value:void 0!==F?F:"",min:0,onChange:function(e){return r({sliderAnimationSpeed:e})}}),wp.element.createElement(T,null,wp.element.createElement(P,{isLink:!0,onClick:q,disabled:!e.hasSliderSettings()},Object(b.__)("Reset","getwid"))),wp.element.createElement(M,{label:Object(b.__)("Arrows","getwid"),selected:G,options:[{value:"outside",label:Object(b.__)("Outside","getwid")},{value:"inside",label:Object(b.__)("Inside","getwid")},{value:"none",label:Object(b.__)("None","getwid")}],onChange:function(e){return r({sliderArrows:e})}}),wp.element.createElement(M,{label:Object(b.__)("Dots","getwid"),selected:W,options:[{value:"outside",label:Object(b.__)("Outside","getwid")},{value:"inside",label:Object(b.__)("Inside","getwid")},{value:"none",label:Object(b.__)("None","getwid")}],onChange:function(e){return r({sliderDots:e})}}))}())))}}]),t}(E);t.a=I},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(52)),v=(n.n(h),n(8)),y=n.n(v),_=wp.element.Component,O=wp.blockEditor||wp.editor,k=O.InnerBlocks,E=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t=this.props,n=t.baseClass,r=t.className,o=this.props.attributes,a=o.contentAnimation,c=o.contentAnimationDuration,s=o.contentAnimationDelay,u=o.sliderAnimationEffect,p=o.sliderAutoplay,d=this.props.attributes,m=d.pauseOnHover,g=d.sliderAutoplaySpeed,f=d.sliderAnimationSpeed,b=d.sliderArrays,w=d.sliderArrows,h=d.sliderDots,v={className:y()(r,"".concat(n,"--current-slide-").concat(1),(e={},l()(e,"has-arrows-".concat(w),void 0!=w),l()(e,"has-dots-".concat(h),void 0!=h),e)),"data-labels":b,"data-animation":void 0!==a?a:"","data-duration":void 0!==c?c:"1500ms","data-delay":void 0!==s?s:"0ms"},_={"data-slide-effect":u,"data-slide-autoplay":p,"data-slide-pause-on-hover":m,"data-slide-autoplay-speed":g,"data-slide-speed":f,"data-infinite":!0};return wp.element.createElement("div",v,wp.element.createElement("div",{className:"".concat(n,"__slides-wrapper")},wp.element.createElement("div",i()({className:"".concat(n,"__content")},_),wp.element.createElement(k.Content,null))))}}]),t}(_);t.a=E},function(e,t,n){"use strict";var r={slideCount:{type:"number",default:3},imageSize:{type:"string",default:"large"},align:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},verticalAlign:{type:"string"},horizontalAlign:{type:"string"},paddingTop:{type:"string"},paddingBottom:{type:"string"},paddingLeft:{type:"string"},paddingRight:{type:"string"},textColor:{type:"string"},overlayColor:{type:"string"},overlayOpacity:{type:"number",default:"30"},contentAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-animation",default:"fadeIn"},contentAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-duration",default:"1500ms"},contentAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-delay",default:"0ms"},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"data-slide-effect"},sliderAutoplay:{type:"boolean",default:!1},pauseOnHover:{type:"boolean",default:!0},sliderAutoplaySpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"data-slide-autoplay-speed",default:5e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"slide-speed",default:1e3},sliderArrays:{type:"string",default:'[{"text":"Slide 1"},{"text":"Slide 2"},{"text":"Slide 3"}]'}};t.a=r},function(e,t){function n(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}e.exports=n},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(52)),w=(n.n(b),n(8)),h=n.n(w),v=wp.element.Component,y=wp.blockEditor||wp.editor,_=y.InnerBlocks,O=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"stripStringRender",value:function(e){return e.toLowerCase().replace(/[^0-9a-z-]/g,"")}},{key:"render",value:function(){var e=this.props.attributes,t=e.contentAnimation,n=e.contentAnimationDuration,r=e.contentAnimationDelay,o=e.sliderAnimationEffect,a=e.sliderAutoplay,l=this.props.attributes,c=l.pauseOnHover,s=l.sliderAutoplaySpeed,u=l.sliderAnimationSpeed,p=this.props,d=p.baseClass,m=p.className,g=h()(m,"".concat(d,"--current-slide-").concat(1)),f={"data-animation":void 0!==t?t:"","data-duration":void 0!==n?n:"1500ms","data-delay":void 0!==r?r:"0ms"},b={"data-slide-effect":o,"data-slide-autoplay":a,"data-slide-pause-on-hover":c,"data-slide-autoplay-speed":s,"data-slide-speed":u,"data-infinite":!0};return wp.element.createElement("div",i()({className:g},f),wp.element.createElement("div",{className:"".concat(d,"__slides-wrapper")},wp.element.createElement("div",i()({className:"".concat(d,"__content")},b),wp.element.createElement(_.Content,null))))}}]),t}(v);t.a=O},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(56)),c=n(151),s=n(152),u=n(153),p=n(154),d=n(1),m=(n.n(d),n(50)),g=wp.blocks.registerBlockType,f="wp-block-getwid-media-text-slider-slide";g("getwid/media-text-slider-slide",{title:Object(d.__)("Slide","getwid"),icon:{src:"format-gallery"},keywords:[],category:"getwid-blocks",parent:["getwid/media-text-slider"],attributes:u.a,deprecated:[{attributes:p.a,migrate:function(e){return o(o({},e),{},{slideId:e.id})},save:function(e){return wp.element.createElement(s.a,o(o({},e),{},{baseClass:f}))}}],getEditWrapperProps:function(e){return{"data-slide":void 0!==e.slideId?e.slideId:e.id}},edit:function(e){return wp.element.createElement(m.a,null,function(t){var n=t.updateContentAttributes;return wp.element.createElement(l.b,o(o(o({},e),{updateContentAttributes:n}),{},{baseClass:f}))})},save:function(e){return wp.element.createElement(c.a,o(o({},e),{},{baseClass:f}))}})},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(22)),f=n(1),b=(n.n(f),g.a.convertHorizontalAlignToStyle),w=g.a.convertVerticalAlignToStyle,h=window,v=(h.jQuery,wp.element.Component),y=wp.blockEditor||wp.editor,_=y.InnerBlocks,O=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e,t,n,r,o,i,a,l=this.props.baseClass,c=this.props.attributes,s=c.slideId,u=c.outerParent;if(void 0!==u.attributes){var p=u.attributes;e=p.paddingTop,t=p.paddingBottom,n=p.paddingLeft,r=p.paddingRight,o=p.minHeight,i=p.horizontalAlign,a=p.verticalAlign,p.contentMaxWidth}var d={};void 0!==u.attributes&&(d={paddingTop:e||null,paddingBottom:t||null,paddingLeft:n||null,paddingRight:r||null,minHeight:o||null,justifyContent:i?b(i):null,alignItems:a?w(a):null});var m={};return void 0!==u.attributes&&(m={minHeight:u.attributes.minHeight?u.attributes.minHeight:null}),wp.element.createElement("div",{style:m,className:"".concat(l," ").concat(l,"__content-wrapper slide-").concat(s)},wp.element.createElement("div",{style:d,className:"".concat(l,"__content")},wp.element.createElement(_.Content,null)))}}]),t}(v);t.a=O},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(22)),f=n(1),b=(n.n(f),g.a.convertHorizontalAlignToStyle),w=g.a.convertVerticalAlignToStyle,h=window,v=(h.jQuery,wp.element.Component),y=wp.blockEditor||wp.editor,_=y.InnerBlocks,O=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props.baseClass,t=this.props.attributes,n=t.id,r=t.outerParent,o={paddingTop:void 0!==r&&void 0!==r.attributes.paddingTop?r.attributes.paddingTop:null,paddingBottom:void 0!==r&&void 0!==r.attributes.paddingBottom?r.attributes.paddingBottom:null,paddingLeft:void 0!==r&&void 0!==r.attributes.paddingLeft?r.attributes.paddingLeft:null,paddingRight:void 0!==r&&void 0!==r.attributes.paddingRight?r.attributes.paddingRight:null,justifyContent:void 0!==r&&void 0!==r.attributes.horizontalAlign?b(r.attributes.horizontalAlign):null,alignItems:void 0!==r&&void 0!==r.attributes.verticalAlign?w(r.attributes.verticalAlign):null},i={minHeight:void 0!==r&&void 0!==r.attributes.minHeight?r.attributes.minHeight:null};return wp.element.createElement("div",{style:i,className:"".concat(e," ").concat(e,"__content-wrapper slide-").concat(n)},wp.element.createElement("div",{style:o,className:"".concat(e,"__content")},wp.element.createElement(_.Content,null)))}}]),t}(v);t.a=O},function(e,t,n){"use strict";var r={slideId:{type:"number",default:1},outerParent:{type:"object",default:{}},mediaId:{type:"number"},url:{type:"string"}};t.a=r},function(e,t,n){"use strict";var r={id:{type:"number",default:1},outerParent:{type:"object"},mediaId:{type:"number"},url:{type:"string"}};t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(156)),c=n(159),s=n(160),u=n(161),p=n(56),d=n(1),m=(n.n(d),wp.blocks.registerBlockType),g="wp-block-getwid-media-text-slider-slide-content";m("getwid/media-text-slider-slide-content",{title:Object(d.__)("Image","getwid"),category:"getwid-blocks",parent:["getwid/media-text-slider-slide"],icon:{src:"format-image"},keywords:[],supports:{html:!1},deprecated:[{attributes:u.a,save:function(e){return wp.element.createElement(s.a,o(o({},e),{},{baseClass:g}))}}],attributes:u.a,edit:function(e){return wp.element.createElement(p.a,null,function(t){var n=t.updateContentAttributes;return wp.element.createElement(l.a,o(o(o({},e),{updateContentAttributes:n}),{},{baseClass:g}))})},save:function(e){return wp.element.createElement(c.a,o(o({},e),{},{baseClass:g}))}})},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){l()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var a=n(7),l=n.n(a),c=n(9),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),O=(n(0),n(157)),k=n(158),E=n(57),C=(n.n(E),n(1)),j=(n.n(C),n(8)),S=n.n(j),x=n(10),P=(n.n(x),wp.data.withSelect),T=wp.compose.compose,R=wp.blockEditor||wp.editor,N=R.InnerBlocks,A=wp.element,B=A.Component,M=A.Fragment,D=wp.components.TextareaControl,I=[["core/heading",{placeholder:Object(C.__)("Write heading…","getwid")}],["core/paragraph",{placeholder:Object(C.__)("Write text…","getwid")}]],L=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.onSelectMedia=e.onSelectMedia.bind(f()(e)),e}w()(t,e);var n=i(t);return m()(t,[{key:"onSelectMedia",value:function(e){var t,n,r,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=this.props.attributes.innerParent,l=this.props.setAttributes;if(e){if(t=void 0!==e.media_type&&e.media_type?"image"===e.media_type?"image":"video":e.type,"image"===t&&(r=o?i:void 0!==a&&void 0!==a.attributes.imageSize?a.attributes.imageSize:"full",n=Object(x.get)(e,["media_details","sizes",r,"source_url"])||Object(x.get)(e,["media_details","sizes","large","source_url"])||Object(x.get)(e,["media_details","sizes","full","source_url"])||Object(x.get)(e,["sizes",r,"url"])||e.url||e.source_url),o)return n;l({mediaAlt:e.alt,mediaId:e.id,mediaUrl:n||e.url||e.source_url,mediaType:t})}}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.imgObj,n=e.attributes.innerParent;if(t&&n){var r=this.onSelectMedia,o=n.attributes.imageSize;void 0!==this.props.attributes.innerParent&&(Object(x.isEqual)(o,this.props.attributes.innerParent.attributes.imageSize)||(e.attributes.mediaUrl=r(t,!0,o)))}}},{key:"renderMediaArea",value:function(){var e=this.props,t=e.attributes,n=e.baseClass,r=e.setAttributes,o=t.mediaAlt,i=t.mediaId,a=t.mediaType,l=t.mediaUrl,c=t.innerParent;return a||r({mediaType:"image"}),wp.element.createElement(k.a,s()({className:"".concat(n,"__media"),onSelectMedia:this.onSelectMedia},{mediaAlt:o,mediaId:i,mediaType:a,mediaUrl:l,innerParent:c}))}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.imgObj,r=e.attributes.innerParent;if(r&&n){var o=this.onSelectMedia,i=r.attributes.imageSize;Object(x.isEqual)(i,this.props.attributes.innerParent.attributes.imageSize)||o(n)}r||this.props.updateContentAttributes(this.props.clientId)}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.isSelected,r=e.setAttributes,i=this.props.attributes,a=i.mediaAlt,l=i.mediaUrl,c=i.mediaType,u=i.innerParent,p=S()(t,{"is-selected":n}),d=function(e){r({mediaAlt:e})},m=(wp.element.createElement(M,null,"image"===c&&wp.element.createElement(D,{value:a,onChange:d})),{color:void 0!=u&&void 0!==u.attributes.textColor?u.attributes.textColor:null});return wp.element.createElement(M,null,wp.element.createElement(O.a,s()({},o(o(o({},this.props),{setAttributes:r}),{onSelectMedia:this.onSelectMedia}),{key:"inspector"})),wp.element.createElement("div",{className:p},this.renderMediaArea(),wp.element.createElement("div",{className:"".concat(t,"__content"),style:m},wp.element.createElement("div",{className:"".concat(t,"__content-wrapper")},l&&wp.element.createElement(N,{templateLock:!1,template:I,templateInsertUpdatesSelection:!1})))))}}]),t}(B);t.a=T([P(function(e,t){var n=e("core"),r=n.getMedia,o=t.attributes.mediaId;return{imgObj:o?r(o):null}})])(L)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(1)),f=(n.n(g),n(14)),b=wp.element.Component,w=wp.blockEditor||wp.editor,h=w.InspectorControls,v=wp.components.PanelBody,y=function(e){function t(e){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.mediaId,n=e.mediaUrl,r=this.props,o=r.setAttributes,i=r.onSelectMedia,a=r.clientId;return(0,wp.data.select)("core/block-editor").getBlock(a)?wp.element.createElement(h,{key:"inspector"},wp.element.createElement(v,{title:Object(g.__)("Image","getwid"),initialOpen:!0},wp.element.createElement(f.e,{label:Object(g.__)("Image","getwid"),removeButton:!1,url:n,id:t,onSelectMedia:i,onRemoveMedia:function(){return o({mediaUrl:void 0,mediaId:void 0})}}))):wp.element.createElement(h,null)}}]),t}(b);t.a=y},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}n.d(t,"a",function(){return S});var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(1)),f=(n.n(g),window),b=(f.jQuery,wp.element),w=b.Component,h=b.Fragment,v=wp.components,y=v.ToolbarButton,_=v.ToolbarGroup,O=wp.blockEditor||wp.editor,k=O.BlockControls,E=O.MediaPlaceholder,C=O.MediaUpload,j=["image"],S=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"renderToolbarEditButton",value:function(){var e=this.props,t=e.mediaId,n=e.onSelectMedia;return wp.element.createElement(k,null,wp.element.createElement(_,null,wp.element.createElement(C,{onSelect:n,allowedTypes:j,value:t,render:function(e){var t=e.open;return wp.element.createElement(y,{className:"components-toolbar__control",label:Object(g.__)("Edit Media","getwid"),icon:"edit",onClick:t})}})))}},{key:"renderImage",value:function(){var e=this.props,t=e.mediaAlt,n=e.mediaUrl,r=e.innerParent,o=e.className,i={backgroundColor:void 0!==r&&void 0!==r.attributes.overlayColor?r.attributes.overlayColor:null,opacity:void 0!==r&&void 0!==r.attributes.overlayOpacity?r.attributes.overlayOpacity/100:null};return wp.element.createElement(h,null,this.renderToolbarEditButton(),wp.element.createElement("figure",{className:o},wp.element.createElement("img",{className:"".concat("wp-block-getwid-media-text-slider-slide-content","__image"),src:n,alt:t}),wp.element.createElement("div",{style:i,className:"".concat(o,"-overlay")})))}},{key:"renderVideo",value:function(){var e=this.props,t=e.mediaUrl,n=e.className;return wp.element.createElement(h,null,this.renderToolbarEditButton(),wp.element.createElement("figure",{className:n},wp.element.createElement("video",{controls:!0,src:t})))}},{key:"renderPlaceholder",value:function(){var e=this.props,t=e.onSelectMedia,n=e.className;return wp.element.createElement(E,{icon:"format-image",labels:{title:Object(g.__)("Image","getwid")},accept:"image/*",className:n,onSelect:t,allowedTypes:j})}},{key:"render",value:function(){var e=this.props,t=e.mediaUrl,n=e.mediaType;if(n&&t){var r=null;switch(n){case"image":r=this.renderImage();break;case"video":r=this.renderVideo()}return wp.element.createElement(h,null,r)}return this.renderPlaceholder()}}]),t}(w)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(58)),f=(n.n(g),n(1)),b=(n.n(f),n(10)),w=(n.n(b),window),h=(w.jQuery,wp.blockEditor||wp.editor),v=h.InnerBlocks,y=wp.element.Component,_=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.mediaAlt,r=t.mediaType,o=t.mediaUrl,i=t.mediaId,a=t.innerParent,l=e.baseClass,c=e.className,s={image:function(){return wp.element.createElement("img",{src:o,alt:n,className:"".concat(l,"__image")+(i&&"image"===r?" wp-image-".concat(i):"")})},video:function(){return wp.element.createElement("video",{controls:!0,src:o})}},u={backgroundColor:void 0!==a&&void 0!==a.attributes.overlayColor?a.attributes.overlayColor:null,opacity:void 0!==a&&void 0!==a.attributes.overlayOpacity?a.attributes.overlayOpacity/100:null},p={maxWidth:void 0!==a&&void 0!==a.attributes.contentMaxWidth?a.attributes.contentMaxWidth:null},d={color:void 0!==a&&void 0!==a.attributes.textColor?a.attributes.textColor:null};return wp.element.createElement("div",{style:p,className:c},wp.element.createElement("figure",{className:"".concat(l,"__media")},(s[r]||b.noop)(),wp.element.createElement("div",{className:"".concat(l,"__media-overlay"),style:u})),wp.element.createElement("div",{className:"".concat(l,"__content"),style:d},wp.element.createElement("div",{className:"".concat(l,"__content-wrapper")},wp.element.createElement(v.Content,null))))}}]),t}(y);t.a=_},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(58)),f=(n.n(g),n(1)),b=(n.n(f),n(10)),w=(n.n(b),window),h=(w.jQuery,wp.blockEditor||wp.editor),v=h.InnerBlocks,y=wp.element.Component,_=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.mediaAlt,r=t.mediaType,o=t.mediaUrl,i=t.mediaId,a=t.innerParent,l=e.baseClass,c={image:function(){return wp.element.createElement("img",{src:o,alt:n,className:"".concat(l,"__image")+(i&&"image"===r?" wp-image-".concat(i):null)})},video:function(){return wp.element.createElement("video",{controls:!0,src:o})}},s={backgroundColor:void 0!==a&&void 0!==a.attributes.overlayColor?a.attributes.overlayColor:null,opacity:void 0!==a&&void 0!==a.attributes.overlayOpacity?a.attributes.overlayOpacity/100:null},u={maxWidth:void 0!==a&&void 0!==a.attributes.contentMaxWidth?a.attributes.contentMaxWidth:null},p={color:void 0!==a&&void 0!==a.attributes.textColor?a.attributes.textColor:null};return wp.element.createElement("div",{style:u,className:l},wp.element.createElement("figure",{className:"".concat(l,"__media")},(c[r]||b.noop)(),wp.element.createElement("div",{className:"".concat(l,"__media-overlay"),style:s})),wp.element.createElement("div",{className:"".concat(l,"__content"),style:p},wp.element.createElement("div",{className:"".concat(l,"__content-wrapper")},wp.element.createElement(v.Content,null))))}}]),t}(y);t.a=_},function(e,t,n){"use strict";var r={mediaAlt:{type:"string",source:"attribute",selector:"figure img",attribute:"alt",default:""},mediaId:{type:"number"},mediaUrl:{type:"string",source:"attribute",selector:"figure video,figure img",attribute:"src"},mediaType:{type:"string"},innerParent:{type:"object"}};t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(1)),c=(n.n(l),n(10)),s=(n.n(c),n(163)),u=n(167),p=n(168),d=n(169),m=n(170),g=n(38),f=n(12),b=n(171),w=(n.n(b),wp.blocks),h=w.registerBlockType,v=w.createBlock,y=["center","wide","full"],_="wp-block-getwid-images-slider",O={attributes:g.a,isEligible:function(e,t){return!0},migrate:function(e){var t=e.sliderArrows,n=e.sliderDots;return o(o({},e),{sliderArrows:Object(c.isEqual)(t,"ouside")?"outside":t,sliderDots:Object(c.isEqual)(n,"ouside")?"outside":n})}};h("getwid/images-slider",o(o({title:Object(l.__)("Image Slider","getwid"),category:"getwid-blocks",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M20,8V4h-4v2h2v1v1v2v1v7h-7h-1H8H7H6v-2H4v4h4v4h16V8H20z M22,22H10v-2h10V10h2V22z"}),wp.element.createElement("path",{d:"M0,0v16h16V0H0z M14,2v8.19l-1.61-1.6l-2.16,2.15l-3.7-3.69L2,11.59V2H14z M2.41,14l4.13-4.13l3.7,3.69l2.16-2.15L14,13.02 V14H2.41z"}),wp.element.createElement("circle",{cx:"10",cy:"5.5",r:"1.5"})),keywords:[Object(l.__)("gallery","getwid"),Object(l.__)("carousel","getwid"),Object(l.__)("photo","getwid")],supports:{html:!1,inserter:!Getwid.disabled_blocks.includes("getwid/images-slider")},deprecated:[{attributes:o(o({},g.a),{},{imageCrop:{type:"boolean",default:!0}}),migrate:function(e){return e.imageCrop?e.imageFit="fill":e.imageFit="default",e},save:function(e){return wp.element.createElement(m.a,o(o({},e),{},{baseClass:_}))}},o(o({},O),{},{save:p.a}),o(o({},O),{},{save:function(e){return wp.element.createElement(d.a,o(o({},e),{},{baseClass:_}))}})],transforms:{from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=Object(c.every)(e,["align",t])?t:void 0;var n=Object(c.filter)(e,function(e){var t=e.id,n=e.url;return t&&n});return v("getwid/images-slider",{images:n.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}),ids:n.map(function(e){return e.id}),align:t})}},{type:"block",blocks:["core/gallery"],transform:function(e){return v("getwid/images-slider",e)}}],to:[{type:"block",blocks:["core/gallery"],transform:function(e){return v("core/gallery",e)}},{type:"block",blocks:["getwid/images-stack"],transform:function(e){return v("getwid/images-stack",e)}},{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return t.length>0?t.map(function(e){var t=e.id,r=e.url,o=e.alt,i=e.caption;return v("core/image",{id:t,url:r,alt:o,caption:i,align:n})}):v("core/image",{align:n})}}]},attributes:g.a,getEditWrapperProps:function(e){var t=e.align;if(-1!==y.indexOf(t))return{"data-align":t}}},Object(f.b)("getwid/images-slider",s.a)),{},{save:function(e){return wp.element.createElement(u.a,o(o({},e),{},{baseClass:_}))}}))},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=C()(e);if(t()){var o=C()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return k()(this,n)}}var a=n(9),l=n.n(a),c=n(34),s=n.n(c),u=n(15),p=n.n(u),d=n(7),m=n.n(d),g=n(2),f=n.n(g),b=n(4),w=n.n(b),h=n(11),v=n.n(h),y=n(5),_=n.n(y),O=n(6),k=n.n(O),E=n(3),C=n.n(E),j=(n(0),n(1)),S=(n.n(j),n(8)),x=n.n(S),P=n(10),T=(n.n(P),n(38)),R=n(164),N=n(165),A=n(166),B=(n.n(A),wp.compose.compose),M=wp.data.withSelect,D=wp.element,I=D.Component,L=D.Fragment,z=wp.components,V=z.ToolbarButton,F=z.ToggleControl,H=z.DropZone,G=z.Toolbar,W=(z.ToolbarItem,z.Dashicon),U=z.TextControl,q=wp.blockEditor||wp.editor,Q=q.BlockControls,K=q.MediaUpload,Y=q.MediaPlaceholder,J=q.mediaUpload,$=q.BlockAlignmentToolbar,Z=q.BlockIcon,X=q.URLInput,ee=window,te=ee.jQuery,ne=["wide","full"],re=["image"],oe="wp-block-getwid-images-slider",ie=function(e,t,n){var r=n.attributes.images,o=Object(P.pick)(e,["id","link"]);return o.original_url=e.url||e.source_url,o.alt=e.alt||e.alt_text,o.url=Object(P.get)(e,["media_details","sizes",t,"source_url"])||Object(P.get)(e,["media_details","sizes","large","source_url"])||Object(P.get)(e,["media_details","sizes","full","source_url"])||Object(P.get)(e,["sizes",t,"url"])||e.url,te.each(r,function(t,n){if(n.id==e.id)return o.custom_link=n.custom_link,!1}),"string"==typeof e.caption||void 0===e.caption?o.caption=e.caption:o.caption=e.caption.raw,o},ae=function(e){function t(e){var r;return f()(this,t),r=n.apply(this,arguments),r.changeState=r.changeState.bind(v()(r)),r.getState=r.getState.bind(v()(r)),r.onSelectImages=r.onSelectImages.bind(v()(r)),r.setImageAttributes=r.setImageAttributes.bind(v()(r)),r.addFiles=r.addFiles.bind(v()(r)),r.uploadFromFiles=r.uploadFromFiles.bind(v()(r)),r.setAttributes=r.setAttributes.bind(v()(r)),r.onSetNewTab=r.onSetNewTab.bind(v()(r)),r.state={isUpdate:!1},r}_()(t,e);var n=i(t);return w()(t,[{key:"onSetNewTab",value:function(e,t){var n=this.props.attributes.images,r=e?"_blank":void 0,o=n[t].custom_link_rel;r&&!n[t].custom_link_rel?o="noreferrer noopener":r||"noreferrer noopener"!==n[t].custom_link_rel||(o=void 0),this.setImageAttributes(t,{custom_link_target:r,custom_link_rel:o})}},{key:"changeState",value:function(e,t){this.setState(m()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"setAttributes",value:function(e){if(e.ids)throw new Error('The "ids" attribute should not be changed directly. It is managed automatically when "images" attribute changes');e.images&&(e=o(o({},e),{},{ids:Object(P.map)(e.images,"id")})),this.props.setAttributes(e)}},{key:"checkChangeImageOrder",value:function(e,t){var n=Object(P.sortBy)(t.attributes.images,function(e){return e.id});n=n.map(function(e){return!!e.id&&e.id.toString()});var r=Object(P.sortBy)(e,function(e){return e.id});return r=r.map(function(e){return!!e.id&&e.id.toString()}),this.flag=!1,Object(P.isEqual)(n,r)&&(this.flag=!0),this.flag}},{key:"onSelectImages",value:function(e){var t=this,n=this.props.setAttributes,r=this.props.attributes.imageSize;["full","large","medium","thumbnail"].includes(r)||(r=T.a.imageSize.default,n({imageSize:r})),this.checkChangeImageOrder(e,this.props),this.setAttributes({images:e.map(function(e){return ie(e,r,t.props)})})}},{key:"setImageAttributes",value:function(e,t){var n=this.props.attributes.images,r=this.setAttributes;if(n[e]){r({images:[].concat(p()(n.slice(0,e)),[o(o({},n[e]),t)],p()(n.slice(e+1)))})}}},{key:"uploadFromFiles",value:function(e){this.addFiles(e.target.files)}},{key:"addFiles",value:function(e){var t=this,n=this.props.attributes.imageSize,r=this.setAttributes,o=this.props.attributes.images||[];["full","large","medium","thumbnail"].includes(n)||(s()("imageSize"),n=T.a.imageSize.default,r({imageSize:n})),J({allowedTypes:re,filesList:e,onFileChange:function(e){var i=e.map(function(e){return ie(e,n,t.props)});r({images:o.concat(i)})}})}},{key:"destroySlider",value:function(){var e=this.props.clientId,t=te("[data-block='".concat(e,"']")),n=te(".".concat(oe,"__wrapper"),t);n.hasClass("slick-initialized")&&n.slick("unslick")}},{key:"initSlider",value:function(){var e=this.props.clientId,t=this.props.attributes,n=t.sliderAutoplay,r=t.sliderAutoplaySpeed,o=t.sliderInfinite,i=t.linkTo,a=this.props.attributes,l=a.sliderAnimationEffect,c=a.sliderSlidesToShow,s=a.sliderSlidesToScroll,u=a.slideHeight,p=this.props.attributes,d=p.sliderAnimationSpeed,m=p.sliderCenterMode,g=p.sliderVariableWidth,f=p.sliderArrows,b=p.sliderDots,w=te("[data-block='".concat(e,"']")),h=te(".".concat(oe,"__wrapper"),w);h.length&&"function"==typeof h.imagesLoaded&&h.imagesLoaded().done(function(e){h.not(".slick-initialized").slick({arrows:"none"!=f,dots:"none"!=b,fade:"fade"==l,slidesToShow:"fade"==l?1:parseInt(c),slidesToScroll:parseInt(s),autoplaySpeed:parseInt(r),speed:parseInt(d),infinite:"custom"!=i&&o,autoplay:n,draggable:"custom"!=i,centerMode:m,variableWidth:g,pauseOnHover:!0,rows:0}),u&&te(".".concat(oe,"__item"),w).css("height",u)})}},{key:"componentDidMount",value:function(){this.props.attributes.images.length&&this.initSlider()}},{key:"checkURLsChanges",value:function(e){var t=!1,n=this.props.attributes.images;return n&&n.length&&e.attributes.images.length&&te.each(n,function(n,r){(void 0!==e.attributes.images[n]&&e.attributes.images[n].custom_link!=r.custom_link||void 0!==e.attributes.images[n]&&e.attributes.images[n].custom_link_target!=r.custom_link_target||void 0!==e.attributes.images[n]&&e.attributes.images[n].custom_link_rel!=r.custom_link_rel)&&(t=!0)}),t}},{key:"componentWillUpdate",value:function(e,t){var n=!this.flag&&this.checkURLsChanges(e);Object(P.isEqual)(e.attributes,this.props.attributes)||n||this.destroySlider()}},{key:"componentDidUpdate",value:function(e){var t=!this.flag&&this.checkURLsChanges(e);Object(P.isEqual)(e.attributes,this.props.attributes)||t||(this.initSlider(),this.flag=!1)}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.setAttributes,i=n.isSelected,a=n.className,c=this.props.attributes,s=c.sliderSpacing,u=c.sliderArrows,p=c.sliderDots,d=c.linkTo,g=this.props.attributes,f=g.align,b=g.images,w=g.imageFit,h=g.showCaption,v=g.captionStyle,y=g.captionPosition,_=g.imageAlignment,O=g.sliderSlidesToShow,k=this.onSelectImages,E=this.getState,C=this.changeState,S=this.addFiles,T=wp.element.createElement(H,{onFilesDrop:S}),A=wp.element.createElement(L,null,wp.element.createElement(Q,null,wp.element.createElement($,{controls:ne,value:f,onChange:function(e){return r({align:e})}}),!!b.length&&wp.element.createElement(G,null,wp.element.createElement(K,{onSelect:k,allowedTypes:re,multiple:!0,gallery:!0,value:b.map(function(e){return!!e.id&&e.id}),render:function(e){var t=e.open;return wp.element.createElement(V,{className:"components-toolbar__control",label:Object(j.__)("Edit Slider","getwid"),icon:"edit",onClick:t})}}))));if(0===b.length)return wp.element.createElement(L,null,A,wp.element.createElement(Y,{icon:"format-gallery",className:oe,labels:{title:Object(j.__)("Image Slider","getwid"),instructions:Object(j.__)("Drag images, upload new ones or select files from your library.","getwid")},onSelect:k,accept:"image/*",allowedTypes:re,multiple:!0}));var B=x()(a,"has-arrows-".concat(u),"has-dots-".concat(p),(e={},m()(e,"has-captions",1==h),m()(e,"captions-style-".concat(v),1==h&&"underneath"!==y),m()(e,"captions-".concat(y),1==h),m()(e,"is-carousel",O>1),m()(e,"has-slides-gap-".concat(s),O>1),m()(e,"has-images-".concat(_),_),m()(e,"is-active",i),m()(e,"has-cropped-images","fill"===w),m()(e,"has-fitted-images","fit"===w),e),f?"align".concat(f):null),M=!!b.length,D=M&&Object(P.some)(b,function(e){return e.id});return wp.element.createElement(L,null,wp.element.createElement("div",{className:B},T,wp.element.createElement("div",{className:"".concat(oe,"__wrapper")},function(){if(b.length)return b.map(function(e,n){return wp.element.createElement(L,null,wp.element.createElement("div",{className:"".concat(oe,"__item"),key:e.id||e.url},wp.element.createElement(N.a,{showCaption:h,captionStyle:v,captionPosition:y,isSelected:i,setAttributes:function(e){return t.setImageAttributes(n,e)},image:e}),"custom"==d&&wp.element.createElement(L,null,wp.element.createElement("div",{className:"".concat(oe,"__url-field-wrapper")},wp.element.createElement("div",{className:"".concat(oe,"__url-field-container")},wp.element.createElement(W,{icon:"admin-links"}),wp.element.createElement(X,{className:"".concat(oe,"__url-field has-border"),autoFocus:!0,value:e.custom_link?e.custom_link:"",onChange:function(e){t.setImageAttributes(n,{custom_link:e})},disableSuggestions:!0})),wp.element.createElement("div",{className:"".concat(oe,"__url-rel-container")},wp.element.createElement(F,{className:"".concat(oe,"__url-toggle"),label:Object(j.__)("New Tab","getwid"),onChange:function(e){t.onSetNewTab(e,n)},checked:"_blank"===e.custom_link_target}),wp.element.createElement(U,{className:"".concat(oe,"__url-rel"),placeholder:Object(j.__)("Link Rel","getwid"),value:e.custom_link_rel||"",onChange:function(e){t.setImageAttributes(n,{custom_link_rel:e})}}))))))})}()),i&&wp.element.createElement(Y,{addToGallery:D,isAppender:M,className:"components-form-file-upload",disableMediaButtons:M&&!i,icon:!M&&wp.element.createElement(Z,{icon:icon}),labels:{title:!M&&Object(j.__)("Gallery"),instructions:!M&&Object(j.__)("Drag images, upload new ones or select files from your library.")},onSelect:k,accept:"image/*",allowedTypes:re,multiple:!0,value:D?b:void 0})),A,wp.element.createElement(R.a,l()({},o(o({},this.props),{},{pickRelevantMediaFiles:ie,changeState:C,getState:E}),{key:"inspector"})))}}]),t}(I);t.a=B([M(function(e,t){var n=e("core"),r=n.getMediaItems,o=t.attributes.ids;if(void 0!==o&&o.length>0){var i=r({include:o.join(","),per_page:o.length});return i?{imgObj:i}:{imgObj:[]}}})])(ae)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var o=n(7),i=n.n(o),a=n(13),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(11),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(38)),_=n(14),O=n(19),k=n(1),E=(n.n(k),wp.element),C=E.Component,j=E.Fragment,S=wp.blockEditor||wp.editor,x=S.InspectorControls,P=wp.components,T=P.Button,R=P.BaseControl,N=P.PanelBody,A=P.ToggleControl,B=P.SelectControl,M=P.RadioControl,D=P.TextControl,I=function(e){function t(e){var r;return s()(this,t),r=n.apply(this,arguments),r.changeState=r.changeState.bind(m()(r)),r.state={tabName:"general"},r}f()(t,e);var n=r(t);return p()(t,[{key:"changeState",value:function(e,t){"object"==l()(e)?this.setState(e):"string"==typeof e&&this.setState(i()({},e,t))}},{key:"hasSliderSettings",value:function(){var e=this.props.attributes,t=e.sliderSlidesToShow,n=e.sliderSlidesToShowLaptop,r=e.sliderSlidesToShowTablet,o=e.sliderSlidesToShowMobile,i=e.sliderSlidesToScroll,a=e.sliderAutoplay,l=e.sliderAnimationEffect,c=this.props.attributes,s=c.sliderAutoplaySpeed,u=c.sliderInfinite,p=c.sliderAnimationSpeed,d=c.sliderCenterMode,m=c.sliderVariableWidth,g=c.sliderSpacing;return t!=y.a.sliderSlidesToShow.default||n!=y.a.sliderSlidesToShowLaptop.default||r!=y.a.sliderSlidesToShowTablet.default||o!=y.a.sliderSlidesToShowMobile.default||i!=y.a.sliderSlidesToScroll.default||a!=y.a.sliderAutoplay.default||l!=y.a.sliderAnimationEffect.default||s!=y.a.sliderAutoplaySpeed.default||u!=y.a.sliderInfinite.default||p!=y.a.sliderAnimationSpeed.default||d!=y.a.sliderCenterMode.default||m!=y.a.sliderVariableWidth.default||g!=y.a.sliderSpacing.default}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=n.images,o=n.imageSize,i=n.imageFit,a=n.showCaption,l=n.captionStyle,c=n.captionPosition,s=n.linkTo,u=n.imageAlignment,p=n.sliderAnimationEffect,d=n.sliderSlidesToShow,m=n.sliderSlidesToShowLaptop,g=n.sliderSlidesToShowTablet,f=n.sliderSlidesToShowMobile,b=n.sliderSlidesToScroll,w=n.sliderAutoplay,h=n.sliderAutoplaySpeed,v=n.sliderInfinite,E=n.sliderAnimationSpeed,C=n.sliderCenterMode,S=n.sliderVariableWidth,P=n.sliderSpacing,I=n.sliderArrows,L=n.sliderDots,z=t.setAttributes,V=t.pickRelevantMediaFiles,F=t.imgObj,H=function(t){F.some(function(e){return void 0===e})||z({imageSize:t,images:F.map(function(n){return V(n,t,e.props)})})},G=function(){z({sliderSlidesToShow:y.a.sliderSlidesToShow.default,sliderSlidesToShowLaptop:y.a.sliderSlidesToShowLaptop.default,sliderSlidesToShowTablet:y.a.sliderSlidesToShowTablet.default,sliderSlidesToShowMobile:y.a.sliderSlidesToShowMobile.default,sliderSlidesToScroll:y.a.sliderSlidesToScroll.default,sliderAutoplay:y.a.sliderAutoplay.default,sliderAnimationEffect:y.a.sliderAnimationEffect.default,sliderAutoplaySpeed:y.a.sliderAutoplaySpeed.default,sliderInfinite:y.a.sliderInfinite.default,sliderAnimationSpeed:y.a.sliderAnimationSpeed.default,sliderCenterMode:y.a.sliderCenterMode.default,sliderVariableWidth:y.a.sliderVariableWidth.default,sliderSpacing:y.a.sliderSpacing.default})},W=this.state.tabName,U=this.changeState;return wp.element.createElement(x,null,wp.element.createElement(O.a,{state:W,stateName:"tabName",onChangeTab:U,tabs:["general","advanced"]}),"general"===W&&wp.element.createElement(j,null,wp.element.createElement(N,{initialOpen:!0},0!=F.length&&wp.element.createElement(B,{label:Object(k.__)("Image Size","getwid"),help:Object(k.__)("For images from Media Library only.","getwid"),value:o,onChange:H,options:Getwid.settings.image_sizes}),wp.element.createElement(B,{label:Object(k.__)("Image Fit","getwid"),value:i,onChange:function(e){z({imageFit:e}),"default"!==e&&"underneath"===c&&z({captionPosition:"bottom-center"})},options:[{value:"default",label:Object(k.__)("Default","getwid")},{value:"fill",label:Object(k.__)("Fill","getwid")},{value:"fit",label:Object(k.__)("Fit","getwid")}]}),wp.element.createElement(A,{label:Object(k.__)("Show Caption","getwid"),checked:a,onChange:function(){F.some(function(e){return void 0===e})||z({showCaption:!a,images:F.map(function(t){return V(t,o,e.props)})})}}),a&&wp.element.createElement(j,null,"underneath"!==c&&wp.element.createElement(B,{label:Object(k.__)("Caption Style","getwid"),value:l,onChange:function(e){return z({captionStyle:e})},options:[{value:"light",label:Object(k.__)("Light","getwid")},{value:"dark",label:Object(k.__)("Dark","getwid")}]}),wp.element.createElement(B,{label:Object(k.__)("Caption Position","getwid"),value:void 0!==c?c:"",onChange:function(e){z({captionPosition:e})},options:[{value:"top-left",label:Object(k.__)("Top Left","getwid")},{value:"top-center",label:Object(k.__)("Top Center","getwid")},{value:"top-right",label:Object(k.__)("Top Right","getwid")},{value:"bottom-left",label:Object(k.__)("Bottom Left","getwid")},{value:"bottom-center",label:Object(k.__)("Bottom Center","getwid")},{value:"bottom-right",label:Object(k.__)("Bottom Right","getwid")},{value:"underneath",label:Object(k.__)("Underneath","getwid"),disabled:"default"!==i}]})),wp.element.createElement(B,{label:Object(k.__)("Link to","getwid"),value:s,onChange:function(e){return z({linkTo:e})},options:[{value:"none",label:Object(k.__)("None","getwid")},{value:"attachment",label:Object(k.__)("Attachment Page","getwid")},{value:"media",label:Object(k.__)("Media File","getwid")},{value:"custom",label:Object(k.__)("Custom link per slide","getwid")}]}),Object(_.i)(this),wp.element.createElement(A,{label:Object(k.__)("Enable Slideshow","getwid"),checked:w,onChange:function(){z({sliderAutoplay:!w})}}),!!w&&wp.element.createElement(D,{label:Object(k.__)("Slideshow Speed","getwid"),type:"number",value:h,min:0,onChange:function(e){return z({sliderAutoplaySpeed:e})}}),wp.element.createElement(M,{label:Object(k.__)("Animation Effect","getwid"),selected:p,options:[{value:"slide",label:Object(k.__)("Slide","getwid")},{value:"fade",label:Object(k.__)("Fade","getwid")}],onChange:function(e){z("fade"==e?{sliderAnimationEffect:"fade",sliderSlidesToShow:"1",sliderSlidesToShowLaptop:"1",sliderSlidesToShowTablet:"1",sliderSlidesToShowMobile:"1"}:{sliderAnimationEffect:e})}}),wp.element.createElement(A,{label:Object(k.__)("Infinite","getwid"),checked:v,onChange:function(){z({sliderInfinite:!v})}}),wp.element.createElement(D,{label:Object(k.__)("Animation Speed","getwid"),type:"number",value:E,min:0,onChange:function(e){return z({sliderAnimationSpeed:e})}}))),"advanced"===W&&wp.element.createElement(j,null,wp.element.createElement(N,{title:Object(k.__)("Image Settings","getwid"),initialOpen:!0},wp.element.createElement(D,{disabled:"fade"==p,label:Object(k.__)("Slides on Desktop","getwid"),help:Object(k.__)("Works with Slide effect only.","getwid"),type:"number",value:parseInt(d,10),min:1,max:10,step:1,onChange:function(e){z({sliderSlidesToShow:e.toString()})}}),wp.element.createElement(D,{disabled:!(parseInt(d,10)>1)||null,label:Object(k.__)("Slides on Laptop","getwid"),type:"number",value:parseInt(m,10),min:1,max:10,step:1,onChange:function(e){z({sliderSlidesToShowLaptop:e.toString()})}}),wp.element.createElement(D,{disabled:!(parseInt(d,10)>1)||null,label:Object(k.__)("Slides on Tablet","getwid"),type:"number",value:parseInt(g,10),min:1,max:10,step:1,onChange:function(e){z({sliderSlidesToShowTablet:e.toString()})}}),wp.element.createElement(D,{disabled:!(parseInt(d,10)>1)||null,label:Object(k.__)("Slides on Mobile","getwid"),type:"number",value:parseInt(f,10),min:1,max:10,step:1,onChange:function(e){z({sliderSlidesToShowMobile:e.toString()})}}),wp.element.createElement(D,{disabled:!(parseInt(d,10)>1)||null,label:Object(k.__)("Slides to Scroll","getwid"),type:"number",value:parseInt(b,10),min:1,max:10,step:1,onChange:function(e){z({sliderSlidesToScroll:e.toString()})}}),"default"===i&&r.length>1&&wp.element.createElement(B,{label:Object(k.__)("Image Alignment","getwid"),value:u,onChange:function(e){return z({imageAlignment:e})},options:[{value:"top",label:Object(k.__)("Top","getwid")},{value:"center",label:Object(k.__)("Middle","getwid")},{value:"bottom",label:Object(k.__)("Bottom","getwid")}]}),wp.element.createElement(A,{label:Object(k.__)("Center Mode","getwid"),checked:C,onChange:function(){z({sliderCenterMode:!C})}}),wp.element.createElement(A,{label:Object(k.__)("Variable Width","getwid"),checked:S,onChange:function(){z({sliderVariableWidth:!S})}}),parseInt(d,10)>1&&wp.element.createElement(B,{label:Object(k.__)("Spacing","getwid"),value:P,onChange:function(e){return z({sliderSpacing:e})},options:[{value:"none",label:Object(k.__)("None","getwid")},{value:"small",label:Object(k.__)("Small","getwid")},{value:"normal",label:Object(k.__)("Medium","getwid")},{value:"large",label:Object(k.__)("Large","getwid")},{value:"huge",label:Object(k.__)("Huge","getwid")}]}),wp.element.createElement(R,null,wp.element.createElement(T,{isLink:!0,onClick:G,disabled:!this.hasSliderSettings()},Object(k.__)("Reset","getwid")))),wp.element.createElement(N,{title:Object(k.__)("Controls Settings","getwid"),initialOpen:!1},wp.element.createElement(M,{label:Object(k.__)("Arrows","getwid"),selected:I,options:[{value:"outside",label:Object(k.__)("Outside","getwid")},{value:"inside",label:Object(k.__)("Inside","getwid")},{value:"none",label:Object(k.__)("None","getwid")}],onChange:function(e){return z({sliderArrows:e})}}),wp.element.createElement(M,{label:Object(k.__)("Dots","getwid"),selected:L,options:[{value:"outside",label:Object(k.__)("Outside","getwid")},{value:"inside",label:Object(k.__)("Inside","getwid")},{value:"none",label:Object(k.__)("None","getwid")}],onChange:function(e){return z({sliderDots:e})}}))))}}]),t}(C);t.a=I},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(11),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(1)),w=(n.n(b),n(10)),h=(n.n(w),n(8)),v=n.n(h),y=wp.blob.isBlobURL,_=(wp.data.withSelect,wp.element),O=_.Component,k=_.Fragment,E=wp.components.Spinner,C="wp-block-getwid-images-slider",j=function(e){function t(){var e;return i()(this,t),e=n.apply(this,arguments),e.bindContainer=e.bindContainer.bind(s()(e)),e}p()(t,e);var n=r(t);return l()(t,[{key:"bindContainer",value:function(e){this.container=e}},{key:"render",value:function(){var e=this.props,t=(e.showCaption,e.captionStyle,e.captionPosition,e.isSelected,e.image);return wp.element.createElement(k,null,wp.element.createElement("figure",null,wp.element.createElement("img",{className:"".concat(C,"__image"),src:t.url,alt:t.alt,"data-custom-link":t.custom_link?t.custom_link:void 0,"data-link-target":t.custom_link_target?t.custom_link_target:void 0,"data-link-rel":t.custom_link_rel?t.custom_link_rel:void 0,"data-original-link":t.original_url?t.original_url:void 0,"data-id":t.id,tabIndex:"0"}),t.caption&&wp.element.createElement("figcaption",{className:v()("".concat(C,"_item-caption"))},t.caption)),y(t.url)&&wp.element.createElement(E,null))}}]),t}(O);t.a=j},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=window,O=(_.jQuery,wp.element),k=O.Component,E=O.Fragment,C=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.attributes,o=r.showCaption,a=r.captionStyle,c=r.captionPosition,s=r.align,u=r.images,p=r.imageFit,d=r.linkTo,m=r.imageAlignment,g=r.sliderAnimationEffect,f=r.sliderSlidesToShow,b=r.sliderSlidesToShowLaptop,w=r.sliderSlidesToShowTablet,h=r.sliderSlidesToShowMobile,v=r.sliderSlidesToScroll,_=r.sliderAutoplay,O=r.sliderAutoplaySpeed,k=r.sliderInfinite,C=r.sliderAnimationSpeed,j=r.sliderCenterMode,S=r.sliderVariableWidth,x=r.sliderSpacing,P=r.sliderArrows,T=r.sliderDots,R=r.slideHeight,N=r.resetHeightOnTablet,A=r.resetHeightOnMobile,B=n.className,M=n.baseClass,D=y()(B,"has-arrows-".concat(P),"has-dots-".concat(T),(e={},l()(e,"has-captions",1==o),l()(e,"captions-style-".concat(a),1==o&&"underneath"!==c),l()(e,"captions-".concat(c),1==o),l()(e,"is-carousel",f>1),l()(e,"has-slides-gap-".concat(x),f>1),l()(e,"has-images-".concat(m),m),l()(e,"has-cropped-images","fill"===p),l()(e,"has-fitted-images","fit"===p),e),R?"has-fixed-height":null,s?"align".concat(s):null),I={className:y()("".concat(M,"__item"),(t={},l()(t,"getwid-reset-height-tablet",N),l()(t,"getwid-reset-height-mobile",A),t)),style:{height:R||void 0}},L={"data-effect":g,"data-slides-show":f,"data-slides-show-laptop":b,"data-slides-show-tablet":w,"data-slides-show-mobile":h,"data-slides-scroll":v,"data-autoplay":_,"data-autoplay-speed":O,"data-infinite":k,"data-animation-speed":C,"data-center-mode":j,"data-variable-width":S,"data-arrows":P,"data-dots":T,"data-spacing":x};return wp.element.createElement("div",{className:D},wp.element.createElement("div",i()({className:"".concat(M,"__wrapper")},L),u.map(function(e){var t;switch(d){case"media":t=e.original_url;break;case"attachment":t=e.link;break;case"custom":t=e.custom_link}var n=wp.element.createElement(E,null,wp.element.createElement("figure",null,wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,"data-link-target":e.custom_link_target?e.custom_link_target:void 0,"data-link-rel":e.custom_link_rel?e.custom_link_rel:void 0,"data-original-link":e.original_url?e.original_url:void 0,"data-custom-link":e.custom_link?e.custom_link:void 0,className:"".concat(M,"__image ")+(e.id?"wp-image-".concat(e.id):"")}),e.caption&&wp.element.createElement("figcaption",{className:y()("".concat(M,"__caption"))},e.caption)));return wp.element.createElement("div",i()({key:e.id||e.url},I),wp.element.createElement(E,null,t?wp.element.createElement("a",{href:t,target:e.custom_link_target?e.custom_link_target:void 0,rel:e.custom_link_rel?e.custom_link_rel:void 0},n):n))})))}}]),t}(k);t.a=C},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=window,O=(_.jQuery,wp.element),k=O.Component,E=O.Fragment,C="wp-block-getwid-images-slider",j=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t,n=this.props.attributes,r=n.align,o=n.images,a=n.imageCrop,c=n.linkTo,s=n.imageAlignment,u=n.sliderAnimationEffect,p=n.sliderSlidesToShow,d=n.sliderSlidesToShowLaptop,m=n.sliderSlidesToShowTablet,g=n.sliderSlidesToShowMobile,f=n.sliderSlidesToScroll,b=n.sliderAutoplay,w=n.sliderAutoplaySpeed,h=n.sliderInfinite,v=n.sliderAnimationSpeed,_=n.sliderCenterMode,O=n.sliderVariableWidth,k=n.sliderSpacing,j=n.sliderArrows,S=n.sliderDots,x=n.slideHeight,P=n.resetHeightOnTablet,T=n.resetHeightOnMobile,R=n.className,N=y()(R,"has-arrows-".concat(j),"has-dots-".concat(S),(e={},l()(e,"is-carousel",p>1),l()(e,"has-slides-gap-".concat(k),p>1),l()(e,"has-images-".concat(s),s),e),a?"has-cropped-images":null,x?"has-fixed-height":null,r?"align".concat(r):null),A={className:y()("".concat(C,"__item"),(t={},l()(t,"getwid-reset-height-tablet",P),l()(t,"getwid-reset-height-mobile",T),t)),style:{height:x||void 0}},B={"data-effect":u,"data-slides-show":p,"data-slides-show-laptop":d,"data-slides-show-tablet":m,"data-slides-show-mobile":g,"data-slides-scroll":f,"data-autoplay":b,"data-autoplay-speed":w,"data-infinite":h,"data-animation-speed":v,"data-center-mode":_,"data-variable-width":O,"data-arrows":j,"data-dots":S,"data-spacing":k};return wp.element.createElement("div",{className:N},wp.element.createElement("div",i()({className:"".concat(C,"__wrapper")},B),o.map(function(e){var t;switch(c){case"media":t=e.original_url;break;case"attachment":t=e.link}var n=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,className:"".concat(C,"__image")+(e.id?" wp-image-".concat(e.id):null)});return wp.element.createElement("div",i()({key:e.id||e.url},A),wp.element.createElement(E,null,t?wp.element.createElement("a",{href:t},n):n))})))}}]),t}(k);t.a=j},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=window,O=(_.jQuery,wp.element),k=O.Component,E=O.Fragment,C=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.attributes,o=r.align,a=r.images,c=r.imageCrop,s=r.linkTo,u=r.imageAlignment,p=r.sliderAnimationEffect,d=r.sliderSlidesToShow,m=r.sliderSlidesToShowLaptop,g=r.sliderSlidesToShowTablet,f=r.sliderSlidesToShowMobile,b=r.sliderSlidesToScroll,w=r.sliderAutoplay,h=r.sliderAutoplaySpeed,v=r.sliderInfinite,_=r.sliderAnimationSpeed,O=r.sliderCenterMode,k=r.sliderVariableWidth,C=r.sliderSpacing,j=r.sliderArrows,S=r.sliderDots,x=r.slideHeight,P=r.resetHeightOnTablet,T=r.resetHeightOnMobile,R=n.className,N=n.baseClass,A=y()(R,"has-arrows-".concat(j),"has-dots-".concat(S),(e={},l()(e,"is-carousel",d>1),l()(e,"has-slides-gap-".concat(C),d>1),l()(e,"has-images-".concat(u),u),e),c?"has-cropped-images":null,x?"has-fixed-height":null,o?"align".concat(o):null),B={className:y()("".concat(N,"__item"),(t={},l()(t,"getwid-reset-height-tablet",P),l()(t,"getwid-reset-height-mobile",T),t)),style:{height:x||void 0}},M={"data-effect":p,"data-slides-show":d,"data-slides-show-laptop":m,"data-slides-show-tablet":g,"data-slides-show-mobile":f,"data-slides-scroll":b,"data-autoplay":w,"data-autoplay-speed":h,"data-infinite":v,"data-animation-speed":_,"data-center-mode":O,"data-variable-width":k,"data-arrows":j,"data-dots":S,"data-spacing":C};return wp.element.createElement("div",{className:A},wp.element.createElement("div",i()({className:"".concat(N,"__wrapper")},M),a.map(function(e){var t;switch(s){case"media":t=e.original_url;break;case"attachment":t=e.link;break;case"custom":t=e.custom_link}var n=wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,"data-link-target":e.custom_link_target?e.custom_link_target:void 0,"data-link-rel":e.custom_link_rel?e.custom_link_rel:void 0,"data-original-link":e.original_url?e.original_url:void 0,"data-custom-link":e.custom_link?e.custom_link:void 0,className:"".concat(N,"__image ")+(e.id?"wp-image-".concat(e.id):"")});return wp.element.createElement("div",i()({key:e.id||e.url},B),wp.element.createElement(E,null,t?wp.element.createElement("a",{href:t,target:e.custom_link_target?e.custom_link_target:void 0,rel:e.custom_link_rel?e.custom_link_rel:void 0},n):n))})))}}]),t}(k);t.a=C},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=window,O=(_.jQuery,wp.element),k=O.Component,E=O.Fragment,C=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t,n=this.props,r=n.attributes,o=r.showCaption,a=r.captionStyle,c=r.captionPosition,s=r.align,u=r.images,p=r.imageCrop,d=r.linkTo,m=r.imageAlignment,g=r.sliderAnimationEffect,f=r.sliderSlidesToShow,b=r.sliderSlidesToShowLaptop,w=r.sliderSlidesToShowTablet,h=r.sliderSlidesToShowMobile,v=r.sliderSlidesToScroll,_=r.sliderAutoplay,O=r.sliderAutoplaySpeed,k=r.sliderInfinite,C=r.sliderAnimationSpeed,j=r.sliderCenterMode,S=r.sliderVariableWidth,x=r.sliderSpacing,P=r.sliderArrows,T=r.sliderDots,R=r.slideHeight,N=r.resetHeightOnTablet,A=r.resetHeightOnMobile,B=n.className,M=n.baseClass,D=y()(B,"has-arrows-".concat(P),"has-dots-".concat(T),(e={},l()(e,"has-captions",1==o),l()(e,"captions-style-".concat(a),1==o),l()(e,"captions-".concat(c),1==o),l()(e,"is-carousel",f>1),l()(e,"has-slides-gap-".concat(x),f>1),l()(e,"has-images-".concat(m),m),e),p?"has-cropped-images":null,R?"has-fixed-height":null,s?"align".concat(s):null),I={className:y()("".concat(M,"__item"),(t={},l()(t,"getwid-reset-height-tablet",N),l()(t,"getwid-reset-height-mobile",A),t)),style:{height:R||void 0}},L={"data-effect":g,"data-slides-show":f,"data-slides-show-laptop":b,"data-slides-show-tablet":w,"data-slides-show-mobile":h,"data-slides-scroll":v,"data-autoplay":_,"data-autoplay-speed":O,"data-infinite":k,"data-animation-speed":C,"data-center-mode":j,"data-variable-width":S,"data-arrows":P,"data-dots":T,"data-spacing":x};return wp.element.createElement("div",{className:D},wp.element.createElement("div",i()({className:"".concat(M,"__wrapper")},L),u.map(function(e){var t;switch(d){case"media":t=e.original_url;break;case"attachment":t=e.link;break;case"custom":t=e.custom_link}var n=wp.element.createElement(E,null,wp.element.createElement("figure",null,wp.element.createElement("img",{src:e.url,alt:e.alt,"data-id":e.id,"data-link":e.link,"data-link-target":e.custom_link_target?e.custom_link_target:void 0,"data-link-rel":e.custom_link_rel?e.custom_link_rel:void 0,"data-original-link":e.original_url?e.original_url:void 0,"data-custom-link":e.custom_link?e.custom_link:void 0,className:"".concat(M,"__image ")+(e.id?"wp-image-".concat(e.id):"")}),e.caption&&wp.element.createElement("figcaption",{className:y()("".concat(M,"__caption"))},e.caption)));return wp.element.createElement("div",i()({key:e.id||e.url},I),wp.element.createElement(E,null,t?wp.element.createElement("a",{href:t,target:e.custom_link_target?e.custom_link_target:void 0,rel:e.custom_link_rel?e.custom_link_rel:void 0},n):n))})))}}]),t}(k);t.a=C},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e,t){var n,r,o,i=e.attributes,a=i.iconStyle,l=i.iconSize,c=i.padding,s=i.borderWidth,u=i.borderRadius,p=i.backgroundColor,d=i.textColor,m=i.customTextColor,g=Object(w.get)(_("core/editor").getEditorSettings(),["colors"],[]);T(g,p);return"edit"==t?(n=void 0!==d&&void 0===d.class?e.textColor.color:m||void 0,r="stacked"===a?e.backgroundColor.color?e.backgroundColor.color:e.attributes.customBackgroundColor:void 0,o="framed"===a?e.textColor?e.textColor.color:e.attributes.customTextColor:void 0):"save"==t&&(r="stacked"===a?e.attributes.backgroundColor?void 0:e.attributes.customBackgroundColor:void 0,n=void 0!==d?void 0:m),{fontSize:void 0!==l?l:void 0,padding:void 0!==c?"".concat(c,"px"):void 0,color:n,backgroundColor:r,borderColor:o,borderWidth:"framed"===a?s:void 0,borderRadius:("framed"===a||"stacked"===a)&&50!=u?"".concat(u,"%"):void 0}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=(n(0),n(173)),p=n(174),d=n(175),m=n(12),g=n(176),f=(n.n(g),n(177)),b=(n.n(f),n(1)),w=(n.n(b),n(10)),h=(n.n(w),n(8)),v=n.n(h),y=window,_=(y.jQuery,wp.data.select),O=wp.element.Fragment,k=wp.blocks,E=k.registerBlockType,C=k.createBlock,j=wp.blockEditor||wp.editor,S=j.BlockControls,x=j.AlignmentToolbar,P=j.getColorClassName,T=j.getColorObjectByAttributeValues;E("getwid/icon",o(o({title:Object(b.__)("Icon","getwid"),category:"getwid-blocks",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M24,9.3l-8.3-1.2L12,0.6L8.3,8.1L0,9.3l6,5.8l-1.4,8.2l7.4-3.9l7.4,3.9L18,15.1L24,9.3z M12,17.2l-4.7,2.5l0.9-5.3l-3.8-3.7 L9.6,10L12,5.1l2.4,4.9l5.3,0.8l-3.8,3.7l0.9,5.3L12,17.2z"})),keywords:[],supports:{align:["left","right","wide","full"],inserter:!Getwid.disabled_blocks.includes("getwid/icon")},transforms:{to:[{type:"block",blocks:["getwid/icon-box"],transform:function(e){return C("getwid/icon-box",e)}}]},attributes:d.a},Object(m.b)("getwid/icon",function(e){var t=e.attributes,n=t.align,r=t.textAlignment,a=e.setAttributes;return e.attributes.id||(e.attributes.id=e.clientId),[wp.element.createElement(p.a,l()({},o({setAttributes:a},e),{key:"inspector"})),wp.element.createElement(u.a,l()({},o({setAttributes:a,prepareWrapperStyle:i},e),{key:"edit"})),wp.element.createElement(O,null,"left"!=n&&"right"!=n&&wp.element.createElement(S,null,wp.element.createElement(x,{value:r,onChange:function(e){return a({textAlignment:e})}})))]})),{},{save:function(e){var t,n,r=e.attributes,o=r.icon,a=r.iconStyle,c=r.link,u=r.hoverAnimation,p=r.textAlignment,d=r.rel,m=r.linkTarget,g=r.marginTop,f=r.marginBottom,b=r.marginLeft,w=r.marginRight,h=r.backgroundColor,y=r.textColor,_=r.customBackgroundColor,O=r.customTextColor,k=r.className,E=P("color",y),C=P("background-color",h),j=wp.element.createElement("i",{className:o}),S={marginTop:g,marginBottom:f,marginLeft:b,marginRight:w},x={className:v()("".concat("wp-block-getwid-icon","__wrapper"),(t={"getwid-animation":!!u,"has-background":(h||_)&&"stacked"==a},s()(t,C,C&&"stacked"==a),s()(t,"has-text-color",y||O),s()(t,E,E),t)),style:i(e,"save"),"data-animation":u||void 0};return wp.element.createElement("div",{style:S,className:v()(k,(n={},s()(n,"has-layout-stacked","stacked"===a),s()(n,"has-layout-framed","framed"===a),s()(n,"is-aligned-".concat(p),void 0!==p),n))},c&&wp.element.createElement("a",l()({href:c,target:m,rel:d},x),j),!c&&wp.element.createElement("div",x,j))}}))},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(8)),v=n.n(h),y=n(23),_=n(1),O=(n.n(_),window),k=O.jQuery,E=wp.element.Component,C=wp.compose.compose,j=wp.blockEditor||wp.editor,S=j.withColors,x=function(e){function t(){return s()(this,t),n.apply(this,arguments)}m()(t,e);var n=r(t);return p()(t,[{key:"render",value:function(){var e,t,n=this,r=this.props,o=r.attributes,a=o.marginTop,c=o.marginBottom,s=o.marginLeft,u=o.marginRight,p=o.icon,d=o.iconStyle,m=o.link,g=o.hoverAnimation,f=o.textAlignment,b=r.prepareWrapperStyle,w=r.className,h=(r.setBackgroundColor,r.setTextColor,r.backgroundColor),y=r.textColor,_=wp.element.createElement("i",{className:p}),O={marginTop:a,marginBottom:c,marginLeft:s,marginRight:u},k={className:v()("".concat("wp-block-getwid-icon","__wrapper"),(e={"getwid-animation":!!g,"has-background":h.color&&"stacked"==d},l()(e,h.class,h.class&&"stacked"==d),l()(e,"has-text-color",y.color),l()(e,y.class,y.class),e)),style:b(this.props,"edit"),"data-animation":g||void 0,onMouseEnter:function(e){return n.onIconHoverIn()}};return wp.element.createElement("div",{style:O,className:v()(w,(t={},l()(t,"has-layout-stacked","stacked"===d),l()(t,"has-layout-framed","framed"===d),l()(t,"is-aligned-".concat(f),void 0!==f),t))},m&&wp.element.createElement("a",i()({href:m},k,{onClick:function(e){return e.preventDefault()}}),_),!m&&wp.element.createElement("div",k,_))}},{key:"setupIconWrapper",value:function(){var e=this.props.clientId;this.iconWrapper=k("[data-block='".concat(e,"'] .wp-block-getwid-icon__wrapper"))}},{key:"componentDidMount",value:function(){this.setupIconWrapper()}},{key:"componentDidUpdate",value:function(e){this.setupIconWrapper()}},{key:"onIconHoverIn",value:function(){var e=this.props.attributes.hoverAnimation;e&&Object(y.a)(this.iconWrapper,{animation:e})}}]),t}(E);t.a=C([S("backgroundColor",{textColor:"color"})])(x)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(15),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(18)),v=n(25),y=n(17),_=n(16),O=n(1),k=(n.n(O),wp.element.Component),E=wp.blockEditor||wp.editor,C=E.InspectorControls,j=E.URLInput,S=E.withColors,x=wp.components,P=x.PanelBody,T=x.BaseControl,R=x.RangeControl,N=x.TextControl,A=x.RadioControl,B=x.ToggleControl,M=x.Button,D=wp.compose.compose,I=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.onSetNewTab=e.onSetNewTab.bind(p()(e)),e.onSetLinkRel=e.onSetLinkRel.bind(p()(e)),e}m()(t,e);var n=r(t);return s()(t,[{key:"hasMargin",value:function(){var e=this.props.attributes,t=e.marginTop,n=e.marginBottom,r=e.marginLeft,o=e.marginRight;return void 0!==t||void 0!==n||void 0!==o||void 0!==r}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.icon,r=t.iconStyle,o=t.iconSize,a=t.padding,l=t.marginTop,c=t.marginBottom,s=t.marginLeft,u=t.marginRight,p=t.borderWidth,d=t.borderRadius,m=t.link,g=t.hoverAnimation,f=t.rel,b=t.linkTarget,w=e.setAttributes,k=e.setBackgroundColor,E=e.setTextColor,S=e.customBackgroundColor,x=e.customTextColor,D=e.backgroundColor,I=e.textColor,L=function(){w({marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0})},z="stacked"===r||"framed"===r;return wp.element.createElement(C,null,wp.element.createElement(P,{title:Object(O.__)("Settings","getwid")},wp.element.createElement(T,{label:Object(O.__)("Icon","getwid")},wp.element.createElement(h.a,{value:n,onChange:function(e){return w({icon:e})}})),wp.element.createElement(A,{label:Object(O.__)("Layout","getwid"),selected:void 0!==r?r:"default",options:[{value:"default",label:Object(O.__)("Icon","getwid")},{value:"stacked",label:Object(O.__)("Background","getwid")},{value:"framed",label:Object(O.__)("Outline","getwid")}],onChange:function(e){return w({iconStyle:e})}}),wp.element.createElement(_.a,{colorSettings:[{title:Object(O.__)("Icon Color","getwid"),colors:{customColor:x,defaultColor:I},changeColor:E}].concat(i()(z&&"stacked"==r?[{title:Object(O.__)("Background Color","getwid"),colors:{customColor:S,defaultColor:D},changeColor:k}]:[]))}),wp.element.createElement(y.a,{label:Object(O.__)("Icon Size","getwid"),value:o,onChange:function(e){w({iconSize:e})}}),wp.element.createElement(N,{type:"number",label:Object(O.__)("Space Around Icon","getwid"),value:a,onChange:function(e){e=parseInt(e),isNaN(e)&&(e=void 0),w({padding:e})},min:0,step:1}),"framed"===r&&wp.element.createElement(N,{type:"number",label:Object(O.__)("Border Width","getwid"),value:void 0!==p?p:"",onChange:function(e){e=parseInt(e),isNaN(e)&&(e=void 0),w({borderWidth:e})},min:0,step:1,placeholder:"1"}),("framed"===r||"stacked"===r)&&wp.element.createElement(R,{label:Object(O.__)("Border Radius","getwid"),value:void 0!==d?d:"",onChange:function(e){w({borderRadius:e})},min:0,step:1,max:100,placeholder:"0"}),wp.element.createElement(T,{className:"getwid-editor-url-input",label:Object(O.__)("Link","getwid")},wp.element.createElement(j,{autoFocus:!1,value:m,onChange:function(e){return w({link:e})}})),wp.element.createElement(T,null,wp.element.createElement(B,{label:Object(O.__)("Open in New Tab","getwid"),checked:"_blank"===b,onChange:this.onSetNewTab})),wp.element.createElement(N,{label:Object(O.__)("Link Rel","getwid"),value:f||"",onChange:this.onSetLinkRel}),wp.element.createElement(v.a,{label:Object(O.__)("Icon Hover Animation","getwid"),value:void 0!==g?g:"",onChange:function(e){return w({hoverAnimation:e})},allowAnimation:["Seeker","Icon"]})),wp.element.createElement(P,{title:Object(O.__)("Margin","getwid"),initialOpen:!1},wp.element.createElement(y.a,{label:Object(O.__)("Margin Top","getwid"),value:l,onChange:function(e){w({marginTop:e})},allowNegative:!0,allowAuto:!0}),wp.element.createElement(y.a,{label:Object(O.__)("Margin Bottom","getwid"),value:c,onChange:function(e){w({marginBottom:e})},allowNegative:!0,allowAuto:!0}),wp.element.createElement(y.a,{label:Object(O.__)("Margin Left","getwid"),value:s,onChange:function(e){w({marginLeft:e})},allowNegative:!0,allowAuto:!0}),wp.element.createElement(y.a,{label:Object(O.__)("Margin Right","getwid"),value:u,onChange:function(e){w({marginRight:e})},allowNegative:!0,allowAuto:!0}),wp.element.createElement(T,null,wp.element.createElement(M,{isLink:!0,onClick:L,disabled:!this.hasMargin()},Object(O.__)("Reset","getwid")))))}}]),t}(k);t.a=D([S("backgroundColor",{textColor:"color"})])(I)},function(e,t,n){"use strict";var r={backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},icon:{type:"string",default:"fab fa-wordpress"},iconStyle:{type:"string",default:"default"},iconSize:{type:"string"},padding:{type:"number"},marginTop:{type:"string"},marginBottom:{type:"string"},marginLeft:{type:"string"},marginRight:{type:"string"},borderWidth:{type:"number"},borderRadius:{type:"number",default:50},link:{type:"string",source:"attribute",selector:"a.wp-block-getwid-icon__wrapper",attribute:"href"},align:{type:"string"},textAlignment:{type:"string"},hoverAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-icon__wrapper",attribute:"data-animation"},linkTarget:{type:"string",source:"attribute",selector:"a.wp-block-getwid-icon__wrapper",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a.wp-block-getwid-icon__wrapper",attribute:"rel"}};t.a=r},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e,t){var n,r,o,i=e.attributes,a=i.iconStyle,l=i.iconSize,c=i.padding,s=i.borderWidth,u=i.borderRadius,p=i.textColor,d=i.customTextColor;return"edit"==t?(n=void 0!==p&&void 0===p.class?e.textColor.color:d||void 0,r="stacked"===a?e.backgroundColor.color?e.backgroundColor.color:e.attributes.customBackgroundColor:void 0,o="framed"===a?e.textColor?e.textColor.color:e.attributes.customTextColor:void 0):"save"==t&&(r="stacked"===a?e.attributes.backgroundColor?void 0:e.attributes.customBackgroundColor:void 0,n=void 0!==p?void 0:d),{fontSize:void 0!==l?l:void 0,padding:void 0!==c?"".concat(c,"px"):void 0,color:n,backgroundColor:r,borderColor:o,borderWidth:"framed"===a?s:void 0,borderRadius:("framed"===a||"stacked"===a)&&50!=u?"".concat(u,"%"):void 0}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=(n(0),n(179)),p=n(182),d=n(12),m=n(59),g=(n.n(m),n(1)),f=(n.n(g),n(8)),b=n.n(f),w=window,h=(w.jQuery,wp.data.select),v=wp.element.Fragment,y=wp.components.ToolbarGroup,_=wp.blocks,O=_.registerBlockType,k=_.createBlock,E=wp.blockEditor||wp.editor,C=E.BlockControls,j=E.AlignmentToolbar,S=E.InnerBlocks,x=E.getColorClassName,P="wp-block-getwid-icon-box";O("getwid/icon-box",o(o({title:Object(g.__)("Icon Box","getwid"),example:{attributes:{icon:"fab fa-wordpress",iconStyle:"default",textAlignment:"center"},innerBlocks:[{name:"core/heading",attributes:{content:"Title"}},{name:"core/paragraph",attributes:{content:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."}}]},category:"getwid-blocks",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("polygon",{points:"5,2.2 6.5,5.4 10,5.9 7.5,8.3 8.1,11.8 5,10.2 1.9,11.8 2.5,8.3 0,5.9 3.5,5.4 "}),wp.element.createElement("rect",{x:"13",y:"11",width:"11",height:"2"}),wp.element.createElement("rect",{x:"2",y:"15",width:"22",height:"2"}),wp.element.createElement("rect",{x:"13",y:"7",width:"11",height:"2"}),wp.element.createElement("rect",{x:"13",y:"3",width:"11",height:"2"}),wp.element.createElement("rect",{x:"2",y:"19",width:"15.6",height:"2"})),keywords:[Object(g.__)("feature","getwid"),Object(g.__)("service","getwid")],supports:{alignWide:!0,align:["wide","full"],inserter:!Getwid.disabled_blocks.includes("getwid/icon-box")},transforms:{to:[{type:"block",blocks:["getwid/icon"],transform:function(e){return k("getwid/icon",e)}},{type:"block",blocks:["getwid/image-box"],transform:function(e){var t=h("core/editor").getSelectedBlockClientId(),n=h("core/editor").getBlock(t).innerBlocks;return k("getwid/image-box",e,n)}},{type:"block",blocks:["core/heading"],transform:function(e){var t,n=h("core/editor").getSelectedBlockClientId(),r=h("core/editor").getBlock(n).innerBlocks;return r.length&&jQuery.each(r,function(e,n){"core/heading"==n.name&&(t=n.attributes.content)}),k("core/heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:function(e){var t,n=h("core/editor").getSelectedBlockClientId(),r=h("core/editor").getBlock(n).innerBlocks;return r.length&&jQuery.each(r,function(e,n){"core/paragraph"==n.name&&(t=n.attributes.content)}),k("core/paragraph",{content:t})}}]},attributes:p.a},Object(d.b)("getwid/icon-box",function(e){var t=e.attributes,n=t.textAlignment,r=t.layout,a=e.setAttributes,c=function(e){a({textAlignment:e})},s=[{icon:"align-left",title:Object(g.__)("Align Icon Left","getwid"),isActive:"left"==r,onClick:function(){return a({layout:"left"==r?null:"left"})}},{icon:"align-right",title:Object(g.__)("Align Icon Right","getwid"),isActive:"right"==r,onClick:function(){return a({layout:"right"==r?null:"right"})}}];return[wp.element.createElement(u.a,l()({},o({setAttributes:a,prepareWrapperStyle:i},e),{key:"edit"})),wp.element.createElement(v,null,wp.element.createElement(C,null,wp.element.createElement(y,{controls:s})),wp.element.createElement(C,null,wp.element.createElement(j,{value:n,onChange:c})))]})),{},{save:function(e){var t,n,r=e.attributes,o=r.textAlignment,a=r.icon,c=r.layout,u=r.iconPosition,p=r.iconStyle,d=r.link,m=r.hoverAnimation,g=r.rel,f=r.linkTarget,w=r.marginTop,h=r.marginBottom,v=r.marginLeft,y=r.marginRight,_=r.backgroundColor,O=r.textColor,k=r.customBackgroundColor,E=r.customTextColor,C=r.className,j=x("color",O),T=x("background-color",_),R={className:b()(C,(t={"getwid-animation":!!m},s()(t,"has-icon-left","left"===c),s()(t,"has-icon-right","right"===c),s()(t,"has-text-left","left"===o),s()(t,"has-text-center","center"===o),s()(t,"has-text-right","right"===o),t)),"data-animation":m||void 0},N=b()("".concat(P,"__icon-container"),{"has-layout-stacked":"stacked"===p,"has-layout-framed":"framed"===p,"is-position-top":"top"===u,"is-position-middle":"middle"===u,"is-position-bottom":"bottom"===u}),A=wp.element.createElement("i",{className:a}),B={marginTop:w,marginBottom:h,marginLeft:v,marginRight:y},M={className:b()("".concat(P,"__icon-wrapper"),(n={"has-background":(_||k)&&"stacked"==p},s()(n,T,T&&"stacked"==p),s()(n,"has-text-color",O||E),s()(n,j,j),n)),style:i(e,"save")};return wp.element.createElement("div",R,wp.element.createElement("div",{style:B,className:N},d&&wp.element.createElement("a",l()({href:d,target:f,rel:g},M),A),!d&&wp.element.createElement("div",M,A)),wp.element.createElement("div",{className:"".concat(P,"__content")},wp.element.createElement(S.Content,null)))}}))},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),O=(n(0),n(180)),k=n(181),E=(n.n(k),n(59)),C=(n.n(E),n(23)),j=n(1),S=(n.n(j),n(8)),x=n.n(S),P=window,T=P.jQuery,R=wp.compose.compose,N=wp.element,A=N.Component,B=N.Fragment,M=wp.blockEditor||wp.editor,D=M.InnerBlocks,I=M.withColors,L=[["core/heading",{level:3,placeholder:Object(j.__)("Write heading…","getwid")}],["core/paragraph",{placeholder:Object(j.__)("Write text…","getwid")}]],z="wp-block-getwid-icon-box",V=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.changeState=e.changeState.bind(f()(e)),e.state={isLockedMargins:!1},e}w()(t,e);var n=i(t);return m()(t,[{key:"changeState",value:function(e,t){this.setState(s()({},e,t))}},{key:"render",value:function(){var e,t,n=this,r=this.props,i=r.attributes,a=i.marginTop,c=i.marginBottom,u=i.marginLeft,p=i.marginRight,d=i.icon,m=i.textAlignment,g=i.layout,f=i.iconPosition,b=i.iconStyle,w=i.link,h=i.hoverAnimation,v=r.prepareWrapperStyle,y=r.className,_=r.isSelected,k=r.backgroundColor,E=r.textColor,C={className:x()(y,(e={"getwid-animation":!!h},s()(e,"has-icon-left","left"===g),s()(e,"has-icon-right","right"===g),s()(e,"has-text-left","left"===m),s()(e,"has-text-center","center"===m),s()(e,"has-text-right","right"===m),s()(e,"is-selected",_),e)),"data-animation":h||void 0,onMouseEnter:function(e){return n.onIconHoverIn()}},j=x()("".concat(z,"__icon-container"),{"has-layout-stacked":"stacked"===b,"has-layout-framed":"framed"===b,"is-position-top":"top"===f,"is-position-middle":"middle"===f,"is-position-bottom":"bottom"===f}),S=wp.element.createElement("i",{className:d}),P={marginTop:a,marginBottom:c,marginLeft:u,marginRight:p},T={className:x()("".concat(z,"__icon-wrapper"),(t={"has-background":k.color&&"stacked"==b},s()(t,k.class,k.class&&"stacked"==b),s()(t,"has-text-color",E.color),s()(t,E.class,E.class),t)),style:v(this.props,"edit")},R=this.changeState,N=this.state.isLockedMargins;return wp.element.createElement(B,null,wp.element.createElement(O.a,l()({},o(o({},this.props),{},{isLockedMargins:N,changeState:R}),{key:"inspector"})),wp.element.createElement("div",C,wp.element.createElement("div",{style:P,className:j},w&&wp.element.createElement("a",l()({href:w},T,{onClick:function(e){return e.preventDefault()}}),S),!w&&wp.element.createElement("div",T,S)),wp.element.createElement("div",{className:"".concat(z,"__content")},wp.element.createElement(D,{template:L,templateInsertUpdatesSelection:!1,templateLock:!1}))))}},{key:"setupIconWrapper",value:function(){var e=this.props.clientId;this.iconWrapper=T("[data-block='".concat(e,"'] .wp-block-getwid-icon-box__icon-wrapper"))}},{key:"componentDidMount",value:function(){this.setupIconWrapper()}},{key:"componentDidUpdate",value:function(e){this.setupIconWrapper()}},{key:"onIconHoverIn",value:function(){var e=this.props.attributes.hoverAnimation;e&&Object(C.a)(this.iconWrapper,{animation:e})}}]),t}(A);t.a=R([I("backgroundColor",{textColor:"color"})])(V)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var o=n(15),i=n.n(o),a=n(7),l=n.n(a),c=n(13),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),O=(n(0),n(18)),k=n(25),E=n(17),C=n(16),j=n(19),S=n(14),x=n(1),P=(n.n(x),window),T=(P.jQuery,wp.element),R=T.Component,N=T.Fragment,A=wp.blockEditor||wp.editor,B=A.InspectorControls,M=(A.PanelColorSettings,A.URLInput),D=A.withColors,I=wp.components,L=I.PanelBody,z=I.BaseControl,V=I.RangeControl,F=I.TextControl,H=I.SelectControl,G=I.RadioControl,W=I.ToggleControl,U=wp.compose.compose,q=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.onSetNewTab=e.onSetNewTab.bind(f()(e)),e.onSetLinkRel=e.onSetLinkRel.bind(f()(e)),e.changeState=e.changeState.bind(f()(e)),e.state={tabName:"general"},e}w()(t,e);var n=r(t);return m()(t,[{key:"changeState",value:function(e,t){"object"==s()(e)?this.setState(e):"string"==typeof e&&this.setState(l()({},e,t))}},{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.icon,r=t.layout,o=t.textAlignment,a=t.iconPosition,l=t.iconStyle,c=t.iconSize,s=t.padding,u=t.borderWidth,p=t.borderRadius,d=t.link,m=t.hoverAnimation,g=t.linkTarget,f=t.rel,b=e.setAttributes,w=e.setBackgroundColor,h=e.setTextColor,v=e.customBackgroundColor,y=e.customTextColor,_=e.backgroundColor,P=e.textColor,T=this.state.tabName,R=this.changeState,A="stacked"===l||"framed"===l;return wp.element.createElement(B,null,wp.element.createElement(j.a,{state:T,stateName:"tabName",onChangeTab:R,tabs:["general","style","advanced"]}),"general"===T&&wp.element.createElement(N,null,wp.element.createElement(L,null,wp.element.createElement(z,{label:Object(x.__)("Icon","getwid")},wp.element.createElement(O.a,{value:n,onChange:function(e){return b({icon:e})}})),wp.element.createElement(G,{label:Object(x.__)("Layout","getwid"),selected:r||"",options:[{value:"",label:Object(x.__)("Default","getwid")},{value:"left",label:Object(x.__)("Align Icon Left","getwid")},{value:"right",label:Object(x.__)("Align Icon Right","getwid")}],onChange:function(e){return b({layout:e})}}),("left"==r||"right"==r)&&wp.element.createElement(H,{label:Object(x.__)("Icon Vertical Alignment","getwid"),value:a,options:[{value:"top",label:Object(x.__)("Top","getwid")},{value:"middle",label:Object(x.__)("Middle","getwid")},{value:"bottom",label:Object(x.__)("Bottom","getwid")}],onChange:function(e){return b({iconPosition:e})}}),wp.element.createElement(H,{label:Object(x.__)("Content Alignment","getwid"),value:o,options:[{value:"left",label:Object(x.__)("Left","getwid")},{value:"center",label:Object(x.__)("Center","getwid")},{value:"right",label:Object(x.__)("Right","getwid")}],onChange:function(e){return b({textAlignment:e})}}),wp.element.createElement(z,{label:Object(x.__)("Icon Link","getwid"),className:"getwid-editor-url-input"},wp.element.createElement(M,{autoFocus:!1,value:d,onChange:function(e){return b({link:e})}})),wp.element.createElement(z,null,wp.element.createElement(W,{label:Object(x.__)("Open in New Tab","getwid"),checked:"_blank"===g,onChange:this.onSetNewTab})),wp.element.createElement(F,{label:Object(x.__)("Link Rel","getwid"),value:f||"",onChange:this.onSetLinkRel}))),"style"===T&&wp.element.createElement(N,null,wp.element.createElement(L,null,wp.element.createElement(G,{label:Object(x.__)("Icon Style","getwid"),selected:void 0!==l?l:"default",options:[{value:"default",label:Object(x.__)("Icon","getwid")},{value:"stacked",label:Object(x.__)("Background","getwid")},{value:"framed",label:Object(x.__)("Outline","getwid")}],onChange:function(e){return b({iconStyle:e})}}),wp.element.createElement(C.a,{colorSettings:[{title:Object(x.__)("Icon Color","getwid"),colors:{customColor:y,defaultColor:P},changeColor:h}].concat(i()(A&&"stacked"==l?[{title:Object(x.__)("Icon Background Color","getwid"),colors:{customColor:v,defaultColor:_},changeColor:w}]:[]))}),"framed"===l&&wp.element.createElement(F,{type:"number",label:Object(x.__)("Border Size","getwid"),value:void 0!==u?u:"",onChange:function(e){e=parseInt(e),isNaN(e)&&(e=void 0),b({borderWidth:e})},min:0,step:1,placeholder:"1"}),("framed"===l||"stacked"===l)&&wp.element.createElement(V,{label:Object(x.__)("Border Radius","getwid"),value:void 0!==p?p:"",onChange:function(e){b({borderRadius:e})},min:0,step:1,max:100,placeholder:"0"}),wp.element.createElement(E.a,{label:Object(x.__)("Icon Size","getwid"),value:c,onChange:function(e){b({iconSize:e})}}),wp.element.createElement(F,{type:"number",label:Object(x.__)("Space Around Icon","getwid"),value:s,onChange:function(e){e=parseInt(e),isNaN(e)&&(e=void 0),b({padding:e})},min:0,step:1})),wp.element.createElement(L,{title:Object(x.__)("Margin","getwid"),initialOpen:!1},Object(S.c)(this))),"advanced"===T&&wp.element.createElement(N,null,wp.element.createElement(L,null,wp.element.createElement(k.a,{label:Object(x.__)("Icon Hover Animation","getwid"),value:void 0!==m?m:"",onChange:function(e){return b({hoverAnimation:e})},allowAnimation:["Seeker","Icon"]}))))}}]),t}(R);t.a=U([D("backgroundColor",{textColor:"color"})])(q)},function(e,t){},function(e,t,n){"use strict";var r={backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},textAlignment:{type:"string",default:"center"},icon:{type:"string",default:"fab fa-wordpress"},layout:{type:"string"},iconPosition:{type:"string",default:"top"},iconStyle:{type:"string",default:"default"},primaryColor:{type:"string"},secondaryColor:{type:"string"},iconSize:{type:"string"},padding:{type:"number"},marginTop:{type:"string"},marginBottom:{type:"string"},marginLeft:{type:"string"},marginRight:{type:"string"},borderWidth:{type:"number"},borderRadius:{type:"number",default:50},link:{type:"string",source:"attribute",selector:"a.wp-block-getwid-icon-box__icon-wrapper",attribute:"href"},align:{type:"string"},hoverAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-icon-box",attribute:"data-animation"},linkTarget:{type:"string",source:"attribute",selector:"a.wp-block-getwid-icon-box__icon-wrapper",attribute:"target"},rel:{type:"string",source:"attribute",selector:"a.wp-block-getwid-icon-box__icon-wrapper",attribute:"rel"}};t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){a()(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}var i=n(7),a=n.n(i),l=(n(0),n(184)),c=n(187),s=n(188),u=n(60),p=n(12),d=n(61),m=(n.n(d),n(1)),g=(n.n(m),window),f=(g.jQuery,wp.data.select),b=wp.blocks,w=b.registerBlockType,h=b.createBlock,v=["left","center","right","wide","full"];w("getwid/banner",o(o({title:Object(m.__)("Banner","getwid"),description:Object(m.__)("Link an image or video with a text overlay.","getwid"),category:"getwid-blocks",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 24 24"},wp.element.createElement("rect",{x:"14",y:"5",width:"6",height:"2"}),wp.element.createElement("rect",{x:"14",y:"9",width:"6",height:"2"}),wp.element.createElement("polygon",{points:"8,4 9.1,5.2 10.8,5.2 10.8,6.9 12,8 10.8,9.1 10.8,10.8 9.1,10.8 8,12 6.9,10.8 5.2,10.8 5.2,9.1 4,8 5.2,6.9 5.2,5.2 6.9,5.2 "}),wp.element.createElement("polygon",{points:"17.6,15 10.3,12.6 11.9,20.1 13.8,18.4 17,21.9 18.9,20.2 15.7,16.7"}),wp.element.createElement("g",null,wp.element.createElement("polygon",{points:"0,0 0,16 9,16 8.6,14 2,14 2,2 22,2 22,14 19.3,14 19.7,16 24,16 24,0"}))),supports:{inserter:!Getwid.disabled_blocks.includes("getwid/banner")},keywords:[Object(m.__)("image","getwid"),Object(m.__)("cover","getwid")],deprecated:[{attributes:u.a,save:s.a}],transforms:{from:[{type:"block",blocks:["core/image"],transform:function(e){return h("getwid/banner",{id:e.id,url:e.url,title:e.caption})}},{type:"block",blocks:["core/media-text"],transform:function(e){var t=f("core/editor").getSelectedBlockClientId(),n=f("core/editor").getBlock(t).innerBlocks,r={text:""};return n.length&&jQuery.each(n,function(e,t){"core/paragraph"==t.name&&(r.text=t.attributes.content)}),h("getwid/banner",{id:e.mediaId,url:e.mediaUrl,text:r.text})}},{type:"block",blocks:["core/cover"],transform:function(e){return h("getwid/banner",{id:e.id,url:e.url,title:e.caption})}}],to:[{type:"block",blocks:["core/cover"],transform:function(e){return h("core/cover",{id:e.id,url:e.url,caption:e.title?e.title:e.text?e.text:""})}},{type:"block",blocks:["core/image"],transform:function(e){return h("core/image",{id:e.id,url:e.url,caption:e.title?e.title:e.text?e.text:""})}},{type:"block",blocks:["getwid/image-box"],transform:function(e){return h("getwid/image-box",{id:e.id,url:e.url},[h("core/heading",{content:e.title}),h("core/paragraph",{content:e.text})])}},{type:"block",blocks:["core/media-text"],transform:function(e){return h("core/media-text",{mediaId:e.id,mediaUrl:e.url,mediaType:"image"},[h("core/paragraph",{content:e.text})])}},{type:"block",blocks:["core/cover"],transform:function(e){return h("core/cover",{id:e.id,url:e.url})}},{type:"block",blocks:["core/heading"],transform:function(e){return h("core/heading",{content:e.title})}},{type:"block",blocks:["core/paragraph"],transform:function(e){return h("core/paragraph",{content:e.text})}}]},attributes:u.a,getEditWrapperProps:function(e){var t=e.align;if(-1!==v.indexOf(t))return{"data-align":t}}},Object(p.b)("getwid/banner",l.a)),{},{save:c.a}))},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=k()(e);if(t()){var o=k()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(34),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),O=n(3),k=n.n(O),E=(n(0),n(1)),C=(n.n(E),n(8)),j=n.n(C),S=n(10),x=(n.n(S),n(60)),P=n(185),T=n(186),R=(n.n(T),n(61)),N=(n.n(R),wp.compose.compose),A=wp.data.withSelect,B=wp.element,M=B.Component,D=B.Fragment,I=wp.components,L=I.ToolbarButton,z=I.ToggleControl,V=I.ToolbarGroup,F=I.Dashicon,H=wp.blockEditor||wp.editor,G=H.BlockControls,W=H.BlockAlignmentToolbar,U=H.MediaPlaceholder,q=H.MediaUpload,Q=H.MediaUploadCheck,K=H.RichText,Y=H.URLInput,J=H.withColors,$=["wide","full"],Z=["image","video"],X="wp-block-getwid-banner",ee=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],te=function(e){function t(){var e;return m()(this,t),e=n.apply(this,arguments),e.onSetNewTab=e.onSetNewTab.bind(w()(e)),e}v()(t,e);var n=i(t);return f()(t,[{key:"onSetNewTab",value:function(e){var t=this.props.attributes.rel,n=e?"_blank":void 0,r=t;n&&!t?r="noreferrer noopener":n||"noreferrer noopener"!==t||(r=void 0),this.props.setAttributes({linkTarget:n,rel:r})}},{key:"render",value:function(){var e,t=this,n=this.props,r=n.setAttributes,i=n.isSelected,a=n.className,c=n.backgroundColor,u=n.textColor,d=this.props.attributes,m=d.id,g=d.url,f=d.type,b=d.title,w=d.text,h=d.link,v=d.align,y=d.minHeight,_=d.contentMaxWidth,O=d.verticalAlign,k=d.horizontalAlign,C=this.props.attributes,T=C.backgroundOpacity,R=C.blockAnimation,N=C.textAnimation,A=C.customTextColor,B=C.linkTarget,M=function(e,t){if(!e)return void r({url:void 0,id:void 0});var n;if(e.media_type)n="image"===e.media_type?"image":"video";else{if("image"!==e.type&&"video"!==e.type)return;n=e.type}var o=Object(S.get)(e,["media_details","sizes",t,"source_url"])||Object(S.get)(e,["media_details","sizes","large","source_url"])||Object(S.get)(e,["media_details","sizes","full","source_url"])||Object(S.get)(e,["sizes",t,"url"])||e.url;r({id:e.id,url:void 0!==o?o:g,type:n})},I=function(e){var n=t.props.attributes.imageSize;["full","large","medium","thumbnail"].includes(n)||(p()("imageSize"),n=x.a.imageSize.default,r({imageSize:n})),M(e,n)},H={className:j()("".concat(X,"__wrapper"),s()({"has-background":c.color},c.class,c.class)),style:{backgroundColor:this.props.backgroundColor.color?this.props.backgroundColor.color:this.props.attributes.customBackgroundColor}},J={className:j()("".concat(X,"__caption"),s()({"has-text-color":u.color},u.class,u.class)),style:{color:void 0!==this.props.attributes.textColor&&void 0===this.props.attributes.textColor.class?this.props.textColor.color:A||void 0,minHeight:y}},te={className:j()(a,(e={},s()(e,"has-animation-".concat(R),"none"!=R),s()(e,"has-text-animation-".concat(N),"none"!=N&&!i),s()(e,"has-foreground-".concat(T),35!=T),s()(e,"has-vertical-alignment-".concat(O),"center"!=O),s()(e,"has-horizontal-alignment-".concat(k),"center"!=k),e),v?"align".concat(v):null)},ne=wp.element.createElement(D,null,wp.element.createElement(G,null,wp.element.createElement(W,{controls:$,value:v,onChange:function(e){return r({align:e})}}),!!g&&wp.element.createElement(D,null,wp.element.createElement(Q,null,wp.element.createElement(V,null,wp.element.createElement(q,{onSelect:I,allowedTypes:Z,value:m,render:function(e){var t=e.open;return wp.element.createElement(L,{className:"components-toolbar__control",label:Object(E.__)("Edit Media","getwid"),icon:"edit",onClick:t})}}))))),!!g&&wp.element.createElement(P.a,l()({},o(o({setAttributes:r},this.props),{},{changeImageSize:M,onSelectMedia:I}),{key:"inspector"})));if(!g){var re=!K.isEmpty(b),oe=re?void 0:"format-image",ie=re?wp.element.createElement(D,null,wp.element.createElement(K,{tagName:"p",value:b,onChange:function(e){return r({title:e})}}),wp.element.createElement(K,{tagName:"p",value:w,onChange:function(e){return r({text:e})}})):Object(E.__)("Banner","getwid");return wp.element.createElement(D,null,ne,wp.element.createElement(U,{icon:oe,className:X,labels:{title:ie},onSelect:I,accept:"image/*",allowedTypes:Z}))}return wp.element.createElement(D,null,ne,wp.element.createElement("div",te,wp.element.createElement(D,null,!!g&&wp.element.createElement("div",H,"video"===f&&g?wp.element.createElement("video",{className:"".concat(X,"__video ").concat(X,"__source"),autoPlay:!0,muted:!0,loop:!0,src:g}):wp.element.createElement("img",{src:g,alt:"",className:"".concat(X,"__image ").concat(X,"__source")}),wp.element.createElement(D,null,wp.element.createElement("div",J,wp.element.createElement("div",{style:{maxWidth:_},className:"".concat(X,"__caption-wrapper")},wp.element.createElement(K,{tagName:"span",className:"".concat(X,"__title"),placeholder:Object(E.__)("Write heading…","getwid"),value:b,onChange:function(e){return r({title:e})},allowedFormats:ee}),wp.element.createElement(K,{tagName:"p",className:"".concat(X,"__text"),placeholder:Object(E.__)("Write text…","getwid"),value:w,onChange:function(e){return r({text:e})},allowedFormats:ee}))))))),i&&wp.element.createElement(D,null,wp.element.createElement("div",{className:"".concat(X,"__url-field")},wp.element.createElement(F,{icon:"admin-links"}),wp.element.createElement(Y,{className:"has-border",autoFocus:!1,value:h,onChange:function(e){return r({link:e})}}),wp.element.createElement(z,{label:Object(E.__)("Open in New Tab","getwid"),onChange:this.onSetNewTab,checked:"_blank"===B}))))}}]),t}(M);t.a=N([A(function(e,t){var n=e("core"),r=n.getMedia,o=t.attributes.id;if(void 0!==o)return{imgObj:o?r(o):null}}),J("backgroundColor",{textColor:"color"})])(te)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}n.d(t,"a",function(){return V});var o=n(7),i=n.n(o),a=n(13),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(11),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=(n(0),n(1)),_=(n.n(y),n(17)),O=n(19),k=n(16),E=wp.element,C=E.Component,j=E.Fragment,S=wp.blockEditor||wp.editor,x=S.InspectorControls,P=S.MediaPlaceholder,T=S.MediaUpload,R=S.URLInput,N=wp.components,A=N.Button,B=N.BaseControl,M=N.PanelBody,D=N.RangeControl,I=N.TextControl,L=N.SelectControl,z=(N.CheckboxControl,["image","video"]),V=function(e){function t(){var e;return s()(this,t),e=n.apply(this,arguments),e.onSetLinkRel=e.onSetLinkRel.bind(m()(e)),e.changeState=e.changeState.bind(m()(e)),e.state={tabName:"general"},e}f()(t,e);var n=r(t);return p()(t,[{key:"changeState",value:function(e,t){"object"==l()(e)?this.setState(e):"string"==typeof e&&this.setState(i()({},e,t))}},{key:"onSetLinkRel",value:function(e){this.props.setAttributes({rel:e})}},{key:"render",value:function(){var e=this.props.attributes,t=e.link,n=e.backgroundOpacity,r=e.blockAnimation,o=e.textAnimation,i=e.rel,a=this.props,l=a.setAttributes,c=a.setBackgroundColor,s=a.setTextColor,u=a.backgroundColor,p=a.textColor,d=a.customBackgroundColor,m=a.customTextColor,g=this.state.tabName,f=this.changeState;return wp.element.createElement(x,null,wp.element.createElement(O.a,{state:g,stateName:"tabName",onChangeTab:f,tabs:["general","style","advanced"]}),"general"===g&&wp.element.createElement(j,null,this.renderGeneralSettings()),"style"===g&&wp.element.createElement(j,null,wp.element.createElement(M,null,wp.element.createElement(D,{label:Object(y.__)("Overlay Opacity","getwid"),value:n,onChange:function(e){return l({backgroundOpacity:e})},min:0,max:100,step:5}),wp.element.createElement(k.a,{colorSettings:[{title:Object(y.__)("Text Color","getwid"),colors:{customColor:m,defaultColor:p},changeColor:s},{title:Object(y.__)("Overlay Color","getwid"),colors:{customColor:d,defaultColor:u},changeColor:c}]}))),"advanced"===g&&wp.element.createElement(M,{title:Object(y.__)("Animation","getwid"),initialOpen:!0},wp.element.createElement(L,{label:Object(y.__)("Block Animation","getwid"),value:r,onChange:function(e){return l({blockAnimation:e})},options:[{value:"none",label:Object(y.__)("None","getwid")},{value:"style1",label:Object(y.__)("Aries","getwid")},{value:"style2",label:Object(y.__)("Taurus","getwid")},{value:"style3",label:Object(y.__)("Gemini","getwid")},{value:"style4",label:Object(y.__)("Cancer","getwid")},{value:"style5",label:Object(y.__)("Leo","getwid")},{value:"style6",label:Object(y.__)("Virgo","getwid")}]}),wp.element.createElement(L,{label:Object(y.__)("Text Animation","getwid"),value:o,onChange:function(e){return l({textAnimation:e})},options:[{value:"none",label:Object(y.__)("None","getwid")},{value:"opacity",label:Object(y.__)("Fade In","getwid")},{value:"opacity-top",label:Object(y.__)("Fade In Up","getwid")},{value:"opacity-bottom",label:Object(y.__)("Fade In Down","getwid")},{value:"opacity-left",label:Object(y.__)("Fade In Left","getwid")},{value:"opacity-right",label:Object(y.__)("Fade In Right","getwid")},{value:"opacity-zoom-in",label:Object(y.__)("Zoom In","getwid")},{value:"opacity-zoom-out",label:Object(y.__)("Zoom Out","getwid")}]}),wp.element.createElement(B,{className:"getwid-editor-url-input",label:Object(y.__)("Link","getwid")},wp.element.createElement(R,{autoFocus:!1,value:t,onChange:function(e){return l({link:e})}})),wp.element.createElement(I,{label:Object(y.__)("Link Rel","getwid"),value:i||"",onChange:this.onSetLinkRel})))}},{key:"renderGeneralSettings",value:function(){var e=function(e){void 0!==m&&(d({imageSize:e}),p(m,e))},t=this.props.attributes,n=t.imageSize,r=t.id,o=t.url,i=t.type,a=t.minHeight,l=t.contentMaxWidth,c=t.verticalAlign,s=t.horizontalAlign,u=this.props,p=u.changeImageSize,d=u.setAttributes,m=u.imgObj,g=u.onSelectMedia;return wp.element.createElement(M,{title:Object(y.__)("Settings","getwid"),initialOpen:!0},!o&&wp.element.createElement(P,{icon:"format-image",labels:{title:Object(y.__)("Image","getwid"),instructions:Object(y.__)("Upload an image file, pick one from your media library, or add one with a URL.","getwid")},onSelect:g,accept:"image/*",allowedTypes:z}),o&&wp.element.createElement(T,{onSelect:g,allowedTypes:z,value:r,render:function(e){var t=e.open;return wp.element.createElement(B,null,!!o&&"video"!=i&&wp.element.createElement("div",{onClick:t,className:"getwid-background-image-wrapper"},wp.element.createElement("img",{src:o})),!!o&&"video"==i&&wp.element.createElement(j,null,wp.element.createElement("video",{controls:!0},wp.element.createElement("source",{src:o,type:"video/mp4"}),wp.element.createElement("span",null,Object(y.__)("Your browser does not support the video tag.","getwid")))),wp.element.createElement(A,{isPrimary:!0,onClick:t},"image"==i&&wp.element.createElement(j,null,!r&&Object(y.__)("Select Image","getwid"),!!r&&Object(y.__)("Replace Image","getwid")),"video"==i&&wp.element.createElement(j,null,!r&&Object(y.__)("Select Video","getwid"),!!r&&Object(y.__)("Replace Video","getwid"))))}}),m&&"image"==i&&wp.element.createElement(L,{label:Object(y.__)("Image Size","getwid"),help:Object(y.__)("For images from Media Library only.","getwid"),value:n,onChange:e,options:Getwid.settings.image_sizes}),wp.element.createElement(L,{label:Object(y.__)("Text Horizontal Alignment","getwid"),value:s||"center",onChange:function(e){return d({horizontalAlign:e})},options:[{value:"left",label:Object(y.__)("Left","getwid")},{value:"center",label:Object(y.__)("Center","getwid")},{value:"right",label:Object(y.__)("Right","getwid")}]}),wp.element.createElement(L,{label:Object(y.__)("Text Vertical Alignment","getwid"),value:c||"center",onChange:function(e){return d({verticalAlign:e})},options:[{value:"top",label:Object(y.__)("Top","getwid")},{value:"center",label:Object(y.__)("Middle","getwid")},{value:"bottom",label:Object(y.__)("Bottom","getwid")}]}),wp.element.createElement(_.a,{label:Object(y.__)("Block Height","getwid"),value:a,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"},{label:"%",value:"%"}],onChange:function(e){return d({minHeight:e})}}),wp.element.createElement(_.a,{label:Object(y.__)("Text Width","getwid"),value:l,units:[{label:"px",value:"px"},{label:"vh",value:"vh"},{label:"vw",value:"vw"},{label:"%",value:"%"}],onChange:function(e){return d({contentMaxWidth:e})}}))}}]),t}(C)},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(1)),w=(n.n(b),n(8)),h=n.n(w),v=window,y=(v.jQuery,wp.data.select,wp.element),_=y.Component,O=y.Fragment,k=wp.blocks,E=(k.registerBlockType,k.createBlock,wp.blockEditor||wp.editor),C=E.RichText,j=E.getColorClassName,S="wp-block-getwid-banner",x=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e,t=this.props.attributes,n=t.id,r=t.url,o=t.type,a=t.title,l=t.text,c=t.link,s=t.align,u=t.minHeight,p=t.contentMaxWidth,d=t.verticalAlign,m=t.horizontalAlign,g=t.rel,f=t.linkTarget,b=t.backgroundColor,w=t.textColor,v=t.customBackgroundColor,y=t.customTextColor,_=t.backgroundOpacity,k=t.blockAnimation,E=t.textAnimation,x=t.className,P=j("color",w),T=j("background-color",b),R={className:h()("".concat(S,"__wrapper"),i()({"has-background":b||v},T,T)),style:{backgroundColor:this.props.attributes.backgroundColor?void 0:this.props.attributes.customBackgroundColor}},N={className:h()("".concat(S,"__caption"),i()({"has-text-color":w||y},P,P)),style:{color:void 0!==w?void 0:y,minHeight:u}},A={className:h()(x,(e={},i()(e,"has-animation-".concat(k),"none"!=k),i()(e,"has-text-animation-".concat(E),"none"!=E),i()(e,"has-foreground-".concat(_),35!=_),i()(e,"has-vertical-alignment-".concat(d),"center"!=d),i()(e,"has-horizontal-alignment-".concat(m),"center"!=m),e),s?"align".concat(s):null)};return wp.element.createElement("div",A,wp.element.createElement("a",{href:void 0!==c?c:"#",target:f,rel:g,className:"".concat(S,"__link")},!!r&&wp.element.createElement("div",R,"video"===o&&r?wp.element.createElement("video",{className:"".concat(S,"__video ").concat(S,"__source"),autoPlay:!0,muted:!0,loop:!0,src:r}):wp.element.createElement("img",{src:r,alt:"",className:"".concat(S,"__image ").concat(S,"__source ")+(n?"wp-image-".concat(n):"")}),wp.element.createElement(O,null,wp.element.createElement("div",N,wp.element.createElement("div",{style:{maxWidth:p},className:"".concat(S,"__caption-wrapper")},!C.isEmpty(a)&&wp.element.crea
1
+ window.wp=window.wp||{},window.wp["./assets/js/editor.blocks"]=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=88)}([function(e,t,n){"use strict";var r=n(35);n.d(t,"a",function(){return r.a}),n.d(t,"b",function(){return r.d});n(93),n(94),n(95),n(41)},function(e,t){!function(){e.exports=window.wp.i18n}()},function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=n},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}e.exports=r},function(e,t,n){function r(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&&o(e,t)}var o=n(100);e.exports=r},function(e,t,n){function r(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?i(e):t}var o=n(13),i=n(11);e.exports=r},function(e,t){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}e.exports=n},function(e,t,n){var r,o;/*!
2
  Copyright (c) 2017 Jed Watson.
3
  Licensed under the MIT License (MIT), see
4
  http://jedwatson.github.io/classnames
5
  */
6
+ !function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=n.apply(null,r);a&&e.push(a)}else if("object"===o)for(var l in r)i.call(r,l)&&r[l]&&e.push(l)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(o=function(){return n}.apply(t,r))&&(e.exports=o))}()},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){!function(){e.exports=window.lodash}()},function(e,t){function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=n},function(e,t,n){"use strict";function r(e){var t=/(?:https?:\/\/)?(?:www\.)?(?:youtube(?:-nocookie)?\.com\/\S*(?:(?:\/e(?:mbed))?\/v?|(?:watch\?)?(?:\S*?&?vi?\=))|youtu\.be\/)([a-zA-Z0-9_-]{6,11})/;return!!e.match(t)&&RegExp.$1}function o(e,t){return{edit:Getwid.disabled_blocks.includes(e)?function(){var t=Object(p.sprintf)(Object(p.__)('%1$s block is disabled in plugin settings. <a href="%2$s">Manage Blocks</a>',"getwid"),e,Getwid.options_url.blocks);return wp.element.createElement("p",{dangerouslySetInnerHTML:{__html:t}})}:t}}function i(e,t){var n=document.createElement("script");n.type="text/javascript",n.src=e;var r=!1;document.getElementsByTagName("head")[0].appendChild(n),n.onload=n.onreadystatechange=function(){r||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(r=!0,n.onload=n.onreadystatechange=null,t(n))}}function a(e){return e.offset().top-m(window).scrollTop()-m(window).height()<0}function l(e,t,n){var r=this;m(e).on("scroll",{element:t},function(e){a(e.data.element)&&(n(),m(r).off(e))})}function c(){var e;return e=m(".edit-post-layout__content"),e.length?e[0].className:(e=m(".block-editor-editor-skeleton__content"),e.length?e[0].className:(e=m(".interface-interface-skeleton__content"),!!e.length&&e[0].className))}function s(e,t,n){var r=document.createElement("iframe");r.style.pointerEvents="none",r.style.position="absolute",r.style.display="block",r.style.height="100%",r.style.width="100%",r.style.top="0",r.style.bottom="0",r.style.left="0",r.style.backgroundColor="transparent",r.className="".concat(t,"__resize-observer"),m(r).load(function(){m(r.contentWindow).resize(function(){n()})}),e.append(r)}function u(e){var t=function(e){return null!==e&&void 0!==e&&""!==e&&(e=e.toString(),e.replace(/<[^>]*>/g,""))};return e.map(function(e,n){return t(e.content)})}t.f=r,t.b=o,t.a=i,t.g=a,t.h=l,t.e=c,t.c=s,t.d=u;var p=(n(0),n(1)),d=(n.n(p),window),m=d.jQuery},function(e,t){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 r(t){return"function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?e.exports=r=function(e){return n(e)}:e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)},r(t)}e.exports=r},function(e,t,n){"use strict";n.d(t,"g",function(){return N}),n.d(t,"d",function(){return D}),n.d(t,"b",function(){return L}),n.d(t,"i",function(){return V}),n.d(t,"c",function(){return H}),n.d(t,"f",function(){return G}),n.d(t,"e",function(){return W}),n.d(t,"h",function(){return U}),n.d(t,"a",function(){return q});var r=(n(0),n(1)),o=(n.n(r),n(8)),i=n.n(o),a=n(10),l=(n.n(a),n(17)),c=n(16),s=n(45),u=n(18),p=n(122),d=(n.n(p),window),m=d.jQuery,g=wp.blockEditor||wp.editor,f=g.MediaPlaceholder,b=g.MediaUpload,w=wp.element.Fragment,h=wp.components,v=h.SelectControl,y=h.TabPanel,_=h.BaseControl,k=h.TextControl,O=h.ToggleControl,E=h.Button,C=h.IconButton,j=h.RangeControl,S=h.TextareaControl,x=h.RadioControl,P=h.CheckboxControl,T=h.ButtonGroup,R=["image"],N=function(e){var t=e.props.attributes,n=t.paddingTop,o=t.paddingRight,i=t.paddingBottom,a=t.paddingLeft,l=e.props.attributes,c=l.paddingTopValue,u=l.paddingRightValue,p=l.paddingBottomValue,d=l.paddingLeftValue,m=function(){(0,e.props.setAttributes)({paddingTopValue:void 0,paddingBottomValue:void 0,paddingLeftValue:void 0,paddingRightValue:void 0,paddingTop:"",paddingBottom:"",paddingLeft:"",paddingRight:"",paddingTopTablet:"",paddingBottomTablet:"",paddingLeftTablet:"",paddingRightTablet:"",paddingTopMobile:"",paddingBottomMobile:"",paddingLeftMobile:"",paddingRightMobile:""})};return wp.element.createElement(s.a,{title:Object(r.__)("Padding","getwid"),initialOpen:!1,hints:[{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,4 1,4 1,15 15,15 15,4 16,4 16,16 0,16 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,5.35 8.71,9 12.35,12.65 11.65,13.35 8,9.71 4.35,13.35 3.65,12.65 7.29,9 3.65,5.35 4.35,4.65 8,8.29 11.65,4.65 "})),value:n?"custom"!=n?n:c:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{x:"13",width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12,0 12,1 1,1 1,15 12,15 12,16 0,16 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"10.65,12.35 7,8.71 3.35,12.35 2.65,11.65 6.29,8 2.65,4.35 3.35,3.65 7,7.29 10.65,3.65 11.35,4.35 7.71,8 11.35,11.65 "})),value:o?"custom"!=o?o:u:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{y:"13",width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,12 1,12 1,1 15,1 15,12 16,12 16,0 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,10.65 8.71,7 12.35,3.35 11.65,2.65 8,6.29 4.35,2.65 3.65,3.35 7.29,7 3.65,10.65 4.35,11.35 8,7.71 11.65,11.35 "})),value:i?"custom"!=i?i:p:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"4,0 4,1 15,1 15,15 4,15 4,16 16,16 16,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"5.35,12.35 9,8.71 12.65,12.35 13.35,11.65 9.71,8 13.35,4.35 12.65,3.65 9,7.29 5.35,3.65 4.65,4.35 8.29,8 4.65,11.65 "})),value:a?"custom"!=a?a:d:""}]},wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return B(e,t)}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,onClick:m,disabled:!A(e)},Object(r.__)("Reset All","getwid"))))},A=function(e){var t=e.props.attributes,n=t.paddingTop,r=t.paddingRight,o=t.paddingBottom,i=t.paddingLeft,a=e.props.attributes,l=a.paddingTopValue,c=a.paddingRightValue,s=a.paddingBottomValue,u=a.paddingLeftValue,p=e.props.attributes,d=p.paddingTopTablet,m=p.paddingRightTablet,g=p.paddingBottomTablet,f=p.paddingLeftTablet,b=e.props.attributes,w=b.paddingTopMobile,h=b.paddingRightMobile,v=b.paddingBottomMobile,y=b.paddingLeftMobile;return void 0!==l||void 0!==s||void 0!==c||void 0!==u||""!==n||""!==r||""!==o||""!==i||""!==d||""!==m||""!==g||""!==f||""!==w||""!==h||""!==v||""!==y},B=function(e,t){var n=e.props.setAttributes,o=e.props.attributes,i=o.paddingTop,a=o.paddingRight,c=o.paddingBottom,s=o.paddingLeft,u=e.props.attributes,p=u.paddingTopValue,d=u.paddingRightValue,m=u.paddingBottomValue,g=u.paddingLeftValue,f=e.props.attributes,b=f.paddingTopTablet,h=f.paddingRightTablet,y=f.paddingBottomTablet,_=f.paddingLeftTablet,k=e.props.attributes,O=k.paddingTopMobile,E=k.paddingRightMobile,j=k.paddingBottomMobile,S=k.paddingLeftMobile,x=e.props,P=x.changeState,T=x.isLockedPaddingsOnDesktop,R=x.isLockedPaddingsOnTablet,N=x.isLockedPaddingsOnMobile;switch(t.name){case"desktop":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Padding Top","getwid"),value:void 0!==i?i:"",onChange:function(e){T?function(){n({paddingBottom:e,paddingRight:e,paddingLeft:e,paddingTop:e})}():n({paddingTop:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:T?"lock":"unlock",onClick:function(){T?P("isLockedPaddingsOnDesktop",!1):function(){P("isLockedPaddingsOnDesktop",!0);"custom"==i?function(){n({paddingBottom:i,paddingRight:i,paddingLeft:i,paddingBottomValue:p,paddingRightValue:p,paddingLeftValue:p})}():function(){n({paddingBottom:i,paddingLeft:i,paddingRight:i})}()}()},label:T?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),"custom"===i&&wp.element.createElement(l.a,{value:p,onChange:function(e){T?function(){n({paddingBottomValue:e,paddingRightValue:e,paddingLeftValue:e,paddingTopValue:e})}():n({paddingTopValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Padding Bottom","getwid"),disabled:!!T||null,value:void 0!==c?c:"",onChange:function(e){return n({paddingBottom:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===c&&wp.element.createElement(l.a,{value:m,isLocked:T,onChange:function(e){return n({paddingBottomValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Padding Left","getwid"),disabled:!!T||null,value:void 0!==s?s:"",onChange:function(e){return n({paddingLeft:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===s&&wp.element.createElement(l.a,{value:g,isLocked:T,onChange:function(e){return n({paddingLeftValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Padding Right","getwid"),disabled:!!T||null,value:void 0!==a?a:"",onChange:function(e){return n({paddingRight:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===a&&wp.element.createElement(l.a,{value:d,isLocked:T,onChange:function(e){return n({paddingRightValue:void 0!==e?e:""})}}));case"tablet":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Padding Top","getwid"),value:void 0!==b?b:"",onChange:function(e){R?function(){n({paddingBottomTablet:e,paddingRightTablet:e,paddingLeftTablet:e,paddingTopTablet:e})}():n({paddingTopTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:R?"lock":"unlock",onClick:function(){R?P("isLockedPaddingsOnTablet",!1):function(){P("isLockedPaddingsOnTablet",!0),n({paddingBottomTablet:b,paddingRightTablet:b,paddingLeftTablet:b})}()},label:R?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Padding Bottom","getwid"),disabled:!!R||null,value:void 0!==y?y:"",onChange:function(e){return n({paddingBottomTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Left","getwid"),disabled:!!R||null,value:void 0!==_?_:"",onChange:function(e){return n({paddingLeftTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Right","getwid"),disabled:!!R||null,value:void 0!==h?h:"",onChange:function(e){return n({paddingRightTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}));case"mobile":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Padding Top","getwid"),value:void 0!==O?O:"",onChange:function(e){N?function(){n({paddingBottomMobile:e,paddingLeftMobile:e,paddingRightMobile:e,paddingTopMobile:e})}():n({paddingTopMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:N?"lock":"unlock",onClick:function(){N?P("isLockedPaddingsOnMobile",!1):function(){P("isLockedPaddingsOnMobile",!0),n({paddingBottomMobile:O,paddingLeftMobile:O,paddingRightMobile:O})}()},label:N?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Padding Bottom","getwid"),disabled:!!N||null,value:void 0!==j?j:"",onChange:function(e){return n({paddingBottomMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Left","getwid"),disabled:!!N||null,value:void 0!==S?S:"",onChange:function(e){return n({paddingLeftMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Padding Right","getwid"),disabled:!!N||null,value:void 0!==E?E:"",onChange:function(e){return n({paddingRightMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}))}},D=function(e){var t=e.props.attributes,n=t.marginTop,o=t.marginRight,i=t.marginBottom,a=t.marginLeft,l=e.props.attributes,c=l.marginTopValue,u=l.marginRightValue,p=l.marginBottomValue,d=l.marginLeftValue,m=function(){(0,e.props.setAttributes)({marginTopValue:void 0,marginBottomValue:void 0,marginLeftValue:void 0,marginRightValue:void 0,marginTop:"",marginBottom:"",marginLeft:"",marginRight:"",marginTopTablet:"",marginBottomTablet:"",marginLeftTablet:"",marginRightTablet:"",marginTopMobile:"",marginBottomMobile:"",marginLeftMobile:"",marginRightMobile:""})};return wp.element.createElement(s.a,{title:Object(r.__)("Margin","getwid"),initialOpen:!1,hints:[{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,4 1,4 1,15 15,15 15,4 16,4 16,16 0,16 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,5.35 8.71,9 12.35,12.65 11.65,13.35 8,9.71 4.35,13.35 3.65,12.65 7.29,9 3.65,5.35 4.35,4.65 8,8.29 11.65,4.65 "})),value:n?"custom"!=n?n:c:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{x:"13",width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12,0 12,1 1,1 1,15 12,15 12,16 0,16 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"10.65,12.35 7,8.71 3.35,12.35 2.65,11.65 6.29,8 2.65,4.35 3.35,3.65 7,7.29 10.65,3.65 11.35,4.35 7.71,8 11.35,11.65 "})),value:o?"custom"!=o?o:u:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{y:"13",width:"16",height:"3"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"0,12 1,12 1,1 15,1 15,12 16,12 16,0 0,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"12.35,10.65 8.71,7 12.35,3.35 11.65,2.65 8,6.29 4.35,2.65 3.65,3.35 7.29,7 3.65,10.65 4.35,11.35 8,7.71 11.65,11.35 "})),value:i?"custom"!=i?i:p:""},{label:wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 16 16",style:{enableBackground:"new 0 0 16 16;",width:16}},wp.element.createElement("rect",{width:"3",height:"16"}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"4,0 4,1 15,1 15,15 4,15 4,16 16,16 16,0 "}),wp.element.createElement("polygon",{style:{fill:"#C6C6C6"},points:"5.35,12.35 9,8.71 12.65,12.35 13.35,11.65 9.71,8 13.35,4.35 12.65,3.65 9,7.29 5.35,3.65 4.65,4.35 8.29,8 4.65,11.65 "})),value:a?"custom"!=a?a:d:""}]},wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return I(e,t)}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,onClick:m,disabled:!M(e)},Object(r.__)("Reset All","getwid"))))},M=function(e){var t=e.props.attributes,n=t.marginTop,r=t.marginRight,o=t.marginBottom,i=t.marginLeft,a=e.props.attributes,l=a.marginTopValue,c=a.marginRightValue,s=a.marginBottomValue,u=a.marginLeftValue,p=e.props.attributes,d=p.marginTopTablet,m=p.marginRightTablet,g=p.marginBottomTablet,f=p.marginLeftTablet,b=e.props.attributes,w=b.marginTopMobile,h=b.marginRightMobile,v=b.marginBottomMobile,y=b.marginLeftMobile;return void 0!==l||void 0!==s||void 0!==c||void 0!==u||""!==n||""!==r||""!==o||""!==i||""!==d||""!==m||""!==g||""!==f||""!==w||""!==h||""!==v||""!==y},I=function(e,t){var n=e.props.setAttributes,o=e.props.attributes,i=o.marginTop,a=o.marginRight,c=o.marginBottom,s=o.marginLeft,u=e.props.attributes,p=u.marginTopValue,d=u.marginRightValue,m=u.marginBottomValue,g=u.marginLeftValue,f=e.props.attributes,b=f.marginTopTablet,h=f.marginRightTablet,y=f.marginBottomTablet,_=f.marginLeftTablet,k=e.props.attributes,O=k.marginTopMobile,E=k.marginRightMobile,j=k.marginBottomMobile,S=k.marginLeftMobile,x=e.props,P=x.changeState,T=x.isLockedMarginsOnDesktop,R=x.isLockedMarginsOnTablet,N=x.isLockedMarginsOnMobile;switch(t.name){case"desktop":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Margin Top","getwid"),value:void 0!==i?i:"",onChange:function(e){T?function(){n({marginBottom:e,marginLeft:e,marginRight:e,marginTop:e,marginTopValue:p})}():n({marginTop:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:T?"lock":"unlock",onClick:function(){T?P("isLockedMarginsOnDesktop",!1):function(){P("isLockedMarginsOnDesktop",!0);"custom"==i?function(){n({marginBottom:i,marginRight:i,marginLeft:i,marginBottomValue:p,marginRightValue:p,marginLeftValue:p})}():function(){n({marginBottom:i,marginLeft:i,marginRight:i})}()}()},label:T?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),"custom"===i&&wp.element.createElement(l.a,{allowNegative:!0,value:p,onChange:function(e){T?function(){n({marginBottomValue:e,marginRightValue:e,marginLeftValue:e,marginTopValue:e})}():n({marginTopValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Margin Bottom","getwid"),disabled:!!T||null,value:void 0!==c?c:"",onChange:function(e){return n({marginBottom:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===c&&wp.element.createElement(l.a,{allowNegative:!0,value:m,isLocked:T,onChange:function(e){return n({marginBottomValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Margin Left","getwid"),disabled:!!T||null,value:void 0!==s?s:"",onChange:function(e){return n({marginLeft:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===s&&wp.element.createElement(l.a,{allowNegative:!0,value:g,isLocked:T,onChange:function(e){n({marginLeftValue:void 0!==e?e:""})}}),wp.element.createElement(v,{label:Object(r.__)("Margin Right","getwid"),disabled:!!T||null,value:void 0!==a?a:"",onChange:function(e){return n({marginRight:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"custom",label:Object(r.__)("Custom","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),"custom"===a&&wp.element.createElement(l.a,{allowNegative:!0,value:d,isLocked:T,onChange:function(e){return n({marginRightValue:void 0!==e?e:""})}}));case"tablet":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Margin Top","getwid"),value:void 0!==b?b:"",onChange:function(e){R?function(){n({marginBottomTablet:e,marginRightTablet:e,marginLeftTablet:e,marginTopTablet:e})}():n({marginTopTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:R?"lock":"unlock",onClick:function(){R?P("isLockedMarginsOnTablet",!1):function(){P("isLockedMarginsOnTablet",!0),n({marginBottomTablet:b,marginRightTablet:b,marginLeftTablet:b})}()},label:R?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Margin Bottom","getwid"),disabled:!!R||null,value:void 0!==y?y:"",onChange:function(e){return n({marginBottomTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Left","getwid"),disabled:!!R||null,value:void 0!==_?_:"",onChange:function(e){return n({marginLeftTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Right","getwid"),disabled:!!R||null,value:void 0!==h?h:"",onChange:function(e){return n({marginRightTablet:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}));case"mobile":return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(v,{label:Object(r.__)("Margin Top","getwid"),value:void 0!==O?O:"",onChange:function(e){N?function(){n({marginBottomMobile:e,marginRightMobile:e,marginLeftMobile:e,marginTopMobile:e})}():n({marginTopMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(C,{icon:N?"lock":"unlock",onClick:function(){N?P("isLockedMarginsOnMobile",!1):function(){P("isLockedMarginsOnMobile",!0),n({marginBottomMobile:O,marginRightMobile:O,marginLeftMobile:O})}()},label:N?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(v,{label:Object(r.__)("Margin Bottom","getwid"),value:void 0!==j?j:"",disabled:!!N||null,onChange:function(e){return n({marginBottomMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Left","getwid"),value:void 0!==S?S:"",disabled:!!N||null,onChange:function(e){return n({marginLeftMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}),wp.element.createElement(v,{label:Object(r.__)("Margin Right","getwid"),value:void 0!==E?E:"",disabled:!!N||null,onChange:function(e){return n({marginRightMobile:e})},options:[{value:"",label:Object(r.__)("Default","getwid")},{value:"small",label:Object(r.__)("Small","getwid")},{value:"medium",label:Object(r.__)("Medium","getwid")},{value:"normal",label:Object(r.__)("Normal","getwid")},{value:"large",label:Object(r.__)("Large","getwid")},{value:"none",label:Object(r.__)("None","getwid")}]}))}},L=function(e){var t=e.props.attributes,n=t.fontSize,o=t.fontSizeTablet,i=t.fontSizeMobile,a=e.props.setAttributes;return wp.element.createElement(w,null,wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),className:"components-button is-link is-small"}]},function(t){return z(e,t)}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,onClick:function(){return a({fontSizeTablet:"fs-tablet-100",fontSizeMobile:"fs-mobile-100",fontSize:void 0})},disabled:!("fs-tablet-100"!=o||"fs-mobile-100"!=i||void 0!=n)},Object(r.__)("Reset All","getwid"))))},z=function(e,t){var n=e.props.attributes,o=n.fontSize,i=n.fontSizeTablet,a=n.fontSizeMobile,c=e.props.setAttributes;switch(t.name){case"desktop":return wp.element.createElement(l.a,{label:Object(r.__)("Font Size","getwid"),value:o,onChange:function(e){return c({fontSize:e})}});case"tablet":return wp.element.createElement(v,{label:Object(r.__)("Font Size","getwid"),value:i,onChange:function(e){return c({fontSizeTablet:e})},options:[{value:"fs-tablet-50",label:Object(r.__)("50%","getwid")},{value:"fs-tablet-60",label:Object(r.__)("60%","getwid")},{value:"fs-tablet-70",label:Object(r.__)("70%","getwid")},{value:"fs-tablet-80",label:Object(r.__)("80%","getwid")},{value:"fs-tablet-90",label:Object(r.__)("90%","getwid")},{value:"fs-tablet-100",label:Object(r.__)("100%","getwid")},{value:"fs-tablet-110",label:Object(r.__)("110%","getwid")},{value:"fs-tablet-120",label:Object(r.__)("120%","getwid")}]});case"mobile":return wp.element.createElement(v,{label:Object(r.__)("Font Size","getwid"),value:a,onChange:function(e){return c({fontSizeMobile:e})},options:[{value:"fs-mobile-50",label:Object(r.__)("50%","getwid")},{value:"fs-mobile-60",label:Object(r.__)("60%","getwid")},{value:"fs-mobile-70",label:Object(r.__)("70%","getwid")},{value:"fs-mobile-80",label:Object(r.__)("80%","getwid")},{value:"fs-mobile-90",label:Object(r.__)("90%","getwid")},{value:"fs-mobile-100",label:Object(r.__)("100%","getwid")},{value:"fs-mobile-110",label:Object(r.__)("110%","getwid")},{value:"fs-mobile-120",label:Object(r.__)("120%","getwid")}]})}},V=function(e){var t=e.props.attributes.slideHeight,n=e.props.setAttributes;return wp.element.createElement(w,null,wp.element.createElement(_,null,wp.element.createElement(y,{className:"getwid-editor-tabs",activeClass:"is-active",tabs:[{name:"desktop",title:Object(r.__)("Desktop","getwid"),className:"components-button is-link is-small"},{name:"tablet",title:Object(r.__)("Tablet","getwid"),className:"components-button is-link is-small"},{name:"mobile",title:Object(r.__)("Mobile","getwid"),disabled:!0,className:"components-button is-link is-small"}]},function(t){return F(e,t)}),wp.element.createElement(E,{isLink:!0,onClick:function(){return n({slideHeight:""})},disabled:!(""!=t&&void 0!==t)},Object(r.__)("Reset All","getwid"))))},F=function(e,t){var n=e.props.attributes,o=n.slideHeight,i=n.resetHeightOnTablet,a=n.resetHeightOnMobile,c=e.props.setAttributes,s=function(e,t){var n=e.find("button[tabindex='-1']");m.each(n,function(e,n){m(n).attr("disabled",t)})},u=setInterval(function(){var e=m(".getwid-editor-tabs");e.length&&(o?s(e,!1):s(e,!0),clearInterval(u))},1);switch(t.name){case"desktop":return wp.element.createElement(l.a,{label:Object(r.__)("Slider Height","getwid"),value:o,units:[{label:"px",value:"px"},{label:"vh",value:"vh"}],onChange:function(e){var t=m(".getwid-editor-tabs");e?(s(t,!1),c({slideHeight:e})):(s(t,!0),c({slideHeight:e,resetHeightOnTablet:!1,resetHeightOnMobile:!1}))}});case"tablet":return wp.element.createElement(P,{label:"Reset height on tablet",checked:i,onChange:function(e){c({resetHeightOnTablet:e})}});case"mobile":return wp.element.createElement(P,{label:"Reset height on mobile",checked:a,onChange:function(e){c({resetHeightOnMobile:e})}})}},H=function(e){var t=e.props,n=t.setAttributes,o=t.isLockedMargins,i=t.changeState,a=e.props.attributes,c=a.marginTop,s=a.marginBottom,u=a.marginLeft,p=a.marginRight,d=function(){return n({marginBottom:void 0,marginRight:void 0,marginLeft:void 0,marginTop:void 0})};return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(l.a,{label:Object(r.__)("Margin Top","getwid"),value:c,onChange:function(e){o?function(){n({marginBottom:e,marginRight:e,marginLeft:e,marginTop:e})}():n({marginTop:e})},allowNegative:!0}),wp.element.createElement(C,{icon:o?"lock":"unlock",onClick:function(){o?i("isLockedMargins",!1):function(){i("isLockedMargins",!0),n({marginBottom:c,marginRight:c,marginLeft:c})}()},label:o?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(l.a,{label:Object(r.__)("Margin Bottom","getwid"),isLocked:!!o||null,value:s,onChange:function(e){n({marginBottom:e})},allowNegative:!0}),wp.element.createElement(l.a,{label:Object(r.__)("Margin Left","getwid"),isLocked:!!o||null,value:u,onChange:function(e){n({marginLeft:e})},allowNegative:!0}),wp.element.createElement(l.a,{label:Object(r.__)("Margin Right","getwid"),isLocked:!!o||null,value:p,onChange:function(e){n({marginRight:e})},allowNegative:!0}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,isDestructive:!0,onClick:d,isLocked:!function(){return void 0!==s||void 0!==p||void 0!==u||void 0!==c}()},Object(r.__)("Reset","getwid"))))},G=function(e){var t=e.props,n=t.setAttributes,o=t.isLockedPaddings,i=t.changeState,a=e.props.attributes,c=a.paddingTop,s=a.paddingBottom,u=a.paddingLeft,p=a.paddingRight,d=function(){return n({paddingTop:void 0,paddingBottom:void 0,paddingLeft:void 0,paddingRight:void 0})};return wp.element.createElement(w,null,wp.element.createElement("div",{className:"components-base-control components-base-control-with-lock"},wp.element.createElement(l.a,{label:Object(r.__)("Padding Top","getwid"),value:c,onChange:function(e){o?function(){n({paddingBottom:e,paddingRight:e,paddingLeft:e,paddingTop:e})}():n({paddingTop:e})},allowNegative:!0}),wp.element.createElement(C,{icon:o?"lock":"unlock",onClick:function(){o?i("isLockedPaddings",!1):function(){i("isLockedPaddings",!0),n({paddingBottom:c,paddingRight:c,paddingLeft:c})}()},label:o?Object(r.__)("Unlock","getwid"):Object(r.__)("Lock","getwid")})),wp.element.createElement(l.a,{label:Object(r.__)("Padding Bottom","getwid"),isLocked:!!o||null,value:s,onChange:function(e){n({paddingBottom:e})}}),wp.element.createElement(l.a,{label:Object(r.__)("Padding Left","getwid"),isLocked:!!o||null,value:u,onChange:function(e){n({paddingLeft:e})}}),wp.element.createElement(l.a,{label:Object(r.__)("Padding Right","getwid"),isLocked:!!o||null,value:p,onChange:function(e){n({paddingRight:e})}}),wp.element.createElement(_,null,wp.element.createElement(E,{isLink:!0,isDestructive:!0,onClick:d,disabled:!function(){return void 0!==c||void 0!==s||void 0!==p||void 0!==u}()},Object(r.__)("Reset","getwid"))))},W=function(e){var t=e.id,n=e.url,o=e.onSelectMedia,i=e.onRemoveMedia,a=void 0===i?null:i,l=e.removeButton,c=void 0===l||l,s=(e.video,e.label),u=void 0===s?Object(r.__)("Background Image","getwid"):s,p=c?"ButtonGroup":"Fragment";return wp.element.createElement(w,null,wp.element.createElement(_,{label:u},wp.element.createElement(w,null,!n&&wp.element.createElement(f,{icon:"format-image",labels:{title:Object(r.__)("Image","getwid"),instructions:Object(r.__)("Upload an image file, pick one from your media library, or add one with a URL.","getwid")},onSelect:o,accept:"image/*",allowedTypes:R}),n&&wp.element.createElement(b,{onSelect:o,allowedTypes:R,value:t,render:function(e){var o=e.open;return wp.element.createElement(_,null,!!n&&wp.element.createElement("div",{onClick:o,className:"getwid-background-image-wrapper"},wp.element.createElement("img",{src:n})),wp.element.createElement(p,null,wp.element.createElement(E,{isPrimary:!0,onClick:o},!t&&Object(r.__)("Select Image","getwid"),!!t&&Object(r.__)("Replace Image","getwid")),!!t&&c&&wp.element.createElement(E,{isDefault:!0,onClick:a},Object(r.__)("Remove Image","getwid"))))}}))))},U=function(e){var t=e.props.getState;if(!Object(a.isEqual)(t("currentPoint"),null)){var n=e.props.attributes.imagePoints,o=e.props,i=o.updateArrValues,l=o.changeState,s=n?JSON.parse(n):[],p=t("currentPoint");return wp.element.createElement(w,null,wp.element.createElement(k,{label:Object(r.__)("Title","getwid"),value:s[p].title,onChange:function(e){i({title:e},p),l("updatePoints",!0)}}),wp.element.createElement(k,{placeholder:Object(r.__)("Enter URL","getwid"),value:s[p].link,onChange:function(e){i({link:e},p)}}),wp.element.createElement(O,{label:Object(r.__)("Open in New Tab","getwid"),checked:s[p].newTab,onChange:function(e){i({newTab:e},p)}}),wp.element.createElement(S,{label:Object(r.__)("Popup Content. Plain Text or HTML.","getwid"),rows:"5",value:unescape(s[p].content),onChange:function(e){i({content:e},p),l("updatePoints",!0)}}),wp.element.createElement(O,{label:Object(r.__)("Opened by default","getwid"),checked:s[p].popUpOpen,onChange:function(e){i({popUpOpen:e},p)}}),wp.element.createElement(j,{label:Object(r.__)("X Coord (%)","getwid"),value:parseFloat(s[p].position.x),onChange:function(e){void 0===e&&(e=50),i({position:{x:parseFloat(e)+"%",y:s[p].position.y}},p),l("updatePoints",!0)},allowReset:!0,min:0,max:100,step:.5}),wp.element.createElement(j,{label:Object(r.__)("Y Coord (%)","getwid"),value:parseFloat(s[p].position.y),onChange:function(e){void 0===e&&(e=50),i({position:{x:s[p].position.x,y:parseFloat(e)+"%"}},p),l("updatePoints",!0)},allowReset:!0,min:0,max:100,step:.5}),wp.element.createElement(c.a,{colorSettings:[{title:Object(r.__)("Point Background","getwid"),colors:{customColor:s[p].backgroundColor},changeColor:function(e){i({backgroundColor:e},p),l({updatePoints:!0,highlightDot:!0})}},{title:Object(r.__)("Icon Color","getwid"),colors:{customColor:s[p].color},changeColor:function(e){i({color:e},p),l({updatePoints:!0,highlightDot:!0})}}]}),wp.element.createElement(x,{label:Object(r.__)("Tooltip Position","getwid"),selected:s[p].placement,options:[{value:"top",label:Object(r.__)("Top","getwid")},{value:"right",label:Object(r.__)("Right","getwid")},{value:"bottom",label:Object(r.__)("Bottom","getwid")},{value:"left",label:Object(r.__)("Left","getwid")}],onChange:function(e){i({placement:e},p),l({updatePoints:!0,highlightDot:!0})}}),wp.element.createElement(k,{label:Object(r.__)("Popup Maximum Width, px.","getwid"),value:s[p].popUpWidth,type:"number",onChange:function(e){i({popUpWidth:e},p)}}),wp.element.createElement(_,{label:Object(r.__)("Point Icon","getwid")},wp.element.createElement(u.a,{value:s[p].icon,onChange:function(e){i({icon:e},p),l({updatePoints:!0,highlightDot:!0})}})))}},q=function(e){var t=e.props,n=t.updateCellsStyles,o=t.getSelectedCell,a=e.props,l=a.isRangeSelected,c=a.isMultiSelected,s=o(),u=l(),p=c();return wp.element.createElement(_,{label:"Borders",className:"components-getwid-border-control"},wp.element.createElement(T,{className:"components-getwid-border-group"},wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M7 21h2v-2H7v2zm0-8h2v-2H7v2zm4 0h2v-2h-2v2zm0 8h2v-2h-2v2zm-8-4h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2v-2H3v2zm0-4h2V7H3v2zm8 8h2v-2h-2v2zm8-8h2V7h-2v2zm0 4h2v-2h-2v2zM3 3v2h18V3H3zm16 14h2v-2h-2v2zm-4 4h2v-2h-2v2zM11 9h2V7h-2v2zm8 12h2v-2h-2v2zm-4-8h2v-2h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Top Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"top"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M7 21h2v-2H7v2zM3 5h2V3H3v2zm4 0h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2v-2H3v2zm8 0h2v-2h-2v2zm-8-8h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm8 8h2v-2h-2v2zm4-4h2v-2h-2v2zm4-10v18h2V3h-2zm-4 18h2v-2h-2v2zm0-16h2V3h-2v2zm-4 8h2v-2h-2v2zm0-8h2V3h-2v2zm0 4h2V7h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Right Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"right"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M9 11H7v2h2v-2zm4 4h-2v2h2v-2zM9 3H7v2h2V3zm4 8h-2v2h2v-2zM5 3H3v2h2V3zm8 4h-2v2h2V7zm4 4h-2v2h2v-2zm-4-8h-2v2h2V3zm4 0h-2v2h2V3zm2 10h2v-2h-2v2zm0 4h2v-2h-2v2zM5 7H3v2h2V7zm14-4v2h2V3h-2zm0 6h2V7h-2v2zM5 11H3v2h2v-2zM3 21h18v-2H3v2zm2-6H3v2h2v-2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Bottom Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"bottom"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M11 21h2v-2h-2v2zm0-4h2v-2h-2v2zm0-12h2V3h-2v2zm0 4h2V7h-2v2zm0 4h2v-2h-2v2zm-4 8h2v-2H7v2zM7 5h2V3H7v2zm0 8h2v-2H7v2zm-4 8h2V3H3v18zM19 9h2V7h-2v2zm-4 12h2v-2h-2v2zm4-4h2v-2h-2v2zm0-14v2h2V3h-2zm0 10h2v-2h-2v2zm0 8h2v-2h-2v2zm-4-8h2v-2h-2v2zm0-8h2V3h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("Left Border","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"left"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M3 3v18h18V3H3zm8 16H5v-6h6v6zm0-8H5V5h6v6zm8 8h-6v-6h6v6zm0-8h-6V5h6v6z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("All","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"all"})}})),wp.element.createElement("div",{className:"getwid-border-item"},wp.element.createElement(C,{icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M7 5h2V3H7v2zm0 8h2v-2H7v2zm0 8h2v-2H7v2zm4-4h2v-2h-2v2zm0 4h2v-2h-2v2zm-8 0h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2v-2H3v2zm0-4h2V7H3v2zm0-4h2V3H3v2zm8 8h2v-2h-2v2zm8 4h2v-2h-2v2zm0-4h2v-2h-2v2zm0 8h2v-2h-2v2zm0-12h2V7h-2v2zm-8 0h2V7h-2v2zm8-6v2h2V3h-2zm-8 2h2V3h-2v2zm4 16h2v-2h-2v2zm0-8h2v-2h-2v2zm0-8h2V3h-2v2z"}),wp.element.createElement("path",{d:"M0 0h24v24H0z",fill:"none"})),label:Object(r.__)("None","getwid"),className:i()("getwid-border-icon","is-button"),onClick:function(){(s||u||p)&&n({setBorder:"none"})}}))))}},function(e,t,n){function r(e){return o(e)||i(e)||a()}var o=n(124),i=n(31),a=n(125);e.exports=r},function(e,t,n){"use strict";var r=(n(0),n(1)),o=(n.n(r),n(8)),i=n.n(o),a=n(10),l=(n.n(a),n(108)),c=(n.n(l),wp.element.Fragment),s=wp.components,u=s.BaseControl,p=s.ColorPalette,d=s.ColorIndicator,m=wp.data.withSelect,g=wp.compose.compose,f=function(e){var t=e.props,n=e.getEditorSettings,r=t.colorSettings,o=Object(a.get)(n(),["colors"],[]);return wp.element.createElement(c,null,wp.element.createElement(u,{className:"components-getwid-color-palette-control"},r.map(function(e,t){var n=Object(a.has)(e,["colors","defaultColor"])?e.colors.defaultColor.color:void 0;return wp.element.createElement(c,null,wp.element.createElement(u.VisualLabel,null,e.title,(e.colors.customColor||n)&&wp.element.createElement(d,{colorValue:e.colors.customColor?e.colors.customColor:n})),wp.element.createElement(p,{colors:o,value:n||e.colors.customColor,onChange:e.changeColor}))})))};Object(a.has)(u,["VisualLabel"])||(u.VisualLabel=function(e){var t=e.className,n=e.children;return t=i()("components-base-control__label",t),wp.element.createElement("span",{className:t},n)}),t.a=g([m(function(e,t){return{getEditorSettings:e("core/editor").getEditorSettings,props:t}})])(f)},function(e,t,n){"use strict";function r(e){function t(e,t){var r=void 0;return"unit"===t?h=e:w=e,h=void 0!==h?h:"",w=void 0!==w?w:"","auto"===h?r=n?e:"":void 0!==w&&""!==w&&(r=w+h),m(r)}var n=e.allowAuto,r=e.allowNegative,o=e.units,l=void 0===o?[{label:"px",value:"px"},{label:"em",value:"em"},{label:"%",value:"%"},{label:"vh",value:"vh"},{label:"vw",value:"vw"}]:o,s=e.value,u=e.label,m=e.onChange,g=e.isLocked,f=void 0!==g&&g,b="components-base-control components-getwid-style-length-control",w="",h="";if(n&&l.push({value:"auto",label:Object(c.__)("Auto","getwid")}),n&&"auto"===s&&(w="",h="auto"),void 0!==s){var v,y=Object(a.map)(l,"value").join("|"),_=r?"[-]?":"";(v=new RegExp("^(".concat(_,"[0-9]*\\.?[0-9]*)(").concat(y,"){0,1}$")).exec(s))?(w=v&&v[1]?v[1]:"",h=v&&v[2]?v[2]:""):(w="",h="")}return h||(h=l[0].value),wp.element.createElement("div",{className:b},wp.element.createElement(p,i()({className:["".concat(b,"__value_input")],name:"length",type:"number",label:u,value:w,onChange:function(e){return t(e,"length")},disabled:"auto"===h,min:r?void 0:0},"disabled",!!f||null)),wp.element.createElement(d,{className:["".concat(b,"__unit_select")],name:"unit",options:l,value:h,onChange:function(e){return t(e,"unit")},disabled:!!f||null}))}t.a=r;var o=n(7),i=n.n(o),a=(n(0),n(10)),l=(n.n(a),n(107)),c=(n.n(l),n(1)),s=(n.n(c),window),u=(s.jQuery,wp.components),p=u.TextControl,d=u.SelectControl},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){l()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"a",function(){return y});var a=n(7),l=n.n(a),c=n(2),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=n(110),w=n.n(b),h=n(121),v=(n.n(h),Getwid.settings.iconList),y=function(e){function t(){return s()(this,t),n.apply(this,arguments)}p()(t,e);var n=i(t);return t}(w.a);y.defaultProps=o(o({},y.defaultProps),{},{icons:v||[],theme:"getwid",iconsPerPage:12})},function(e,t,n){"use strict";function r(e){var t=e.state,n=e.stateName,r=e.onChangeTab,o=e.tabs,i=void 0===o?["general","style","layout","advanced"]:o;return wp.element.createElement(m,null,wp.element.createElement(d,{className:"components-getwid-tabs-control"},i.includes("general")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"general"===t}),onClick:function(){r(n,"general")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"admin-settings"}),Object(l.__)("General","getwid")))),i.includes("style")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"style"===t}),onClick:function(){r(n,"style")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"admin-appearance"}),Object(l.__)("Style","getwid")))),i.includes("layout")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"layout"===t}),onClick:function(){r(n,"layout")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"layout"}),Object(l.__)("Layout","getwid")))),i.includes("advanced")&&wp.element.createElement(m,null,wp.element.createElement(p,{className:a()("components-getwid-tab",{"is-selected":"advanced"===t}),onClick:function(){r(n,"advanced")}},wp.element.createElement("span",null,wp.element.createElement(u,{icon:"admin-generic"}),Object(l.__)("Advanced","getwid"))))))}t.a=r;var o=(n(0),n(126)),i=(n.n(o),n(8)),a=n.n(i),l=n(1),c=(n.n(l),window),s=(c.jQuery,wp.components),u=s.Dashicon,p=s.Button,d=s.PanelBody,m=wp.element.Fragment},function(e,t){!function(){e.exports=window.React}()},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(10)),v=(n.n(h),wp.element.Component),y=wp.blockEditor,_=y.getFontSize,k=y.getFontSizeObjectByValue,O=wp.components.FontSizePicker,E=wp.compose.compose,C=wp.data.withSelect,j=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.onChange=e.onChange.bind(p()(e)),e.fontSizeAttributeName=e.props.fontSizeAttributeName,e.customFontSizeAttributeName="custom".concat(Object(h.upperFirst)(e.fontSizeAttributeName)),e.getFontSizeObjectByValue=k||e._getFontSizeObjectByValue,e}m()(t,e);var n=r(t);return s()(t,[{key:"_getFontSizeObjectByValue",value:function(e,t){var n=Object(h.find)(e,{size:t});return n||{size:t}}},{key:"onChange",value:function(e){var t,n=this.props.setAttributes,r=this.getFontSizeObjectByValue(this.props.fontSizes,e).slug;n((t={},i()(t,this.fontSizeAttributeName,r),i()(t,this.customFontSizeAttributeName,r?void 0:null===e||void 0===e?void 0:e.toString()),t))}},{key:"render",value:function(){var e=_(this.props.fontSizes,this.props.fontSize.fontSize,this.props.fontSize.customFontSize);return wp.element.createElement(O,{fontSizes:this.props.fontSizes,value:null===e||void 0===e?void 0:e.size,onChange:this.onChange})}}]),t}(v);t.a=E([C(function(e,t){return{fontSizes:e("core/block-editor").getSettings().fontSizes}})])(j)},function(e,t,n){"use strict";n.d(t,"a",function(){return g});var r=n(13),o=n.n(r),i=n(2),a=n.n(i),l=n(4),c=n.n(l),s=n(10),u=(n.n(s),n(43)),p=(n.n(u),n(44)),d=(n.n(p),function(e,t){return e[t].value.toString()}),m=function(e){var t=u.parse(e)[0],n=t.colorStops;if(Object(s.isEqual)(n[0].type,"hex")){var r=p(d(n,0)).toString(),o=p(d(n,1)).toString(),i=n[0].length.value,a=n[1].length.value,l=t.type,c=t.orientation?t.orientation.value:void 0;return Object(s.isEqual)(l,"linear-gradient")?"".concat(l,"(").concat(c,"deg,rgba(").concat(r,") ").concat(i,"%,rgba(").concat(o,") ").concat(a,"%)"):"".concat(l,"(rgba(").concat(r,") ").concat(i,"%,rgba(").concat(o,") ").concat(a,"%)")}return e},g=function(){function e(){a()(this,e)}return c()(e,null,[{key:"prepareMultiGradientStyle",value:function(t,n){var r=n.attributes,o=r.backgroundGradientFirstColor,i=r.foregroundGradientFirstColor,a=n.attributes,l=a.backgroundGradient,c=a.foregroundGradient;if("background"==t){if(l)return l;if(o)return l=e.prepareGradientStyle("background",n),l=l.backgroundImage,l&&(l=l.replace(/, /g,function(){return","}),l=m(l)),l}if("foreground"==t){if(c)return c;if(i)return c=e.prepareGradientStyle("foreground",n),c=c.backgroundImage,c&&(c=c.replace(/, /g,function(){return","}),c=m(c)),c}}},{key:"prepareBackgroundImageStyles",value:function(e,t){var n=t.attributes;if(!n["".concat(e,"Image")])return{};var r=n["".concat(e,"Image")];return"object"===o()(r)&&(r=r.url),{backgroundImage:"url('".concat(r,"')"),backgroundPosition:""!=n["".concat(e,"ImagePosition")]?"custom"==n["".concat(e,"ImagePosition")]&&n["".concat(e,"CustomImagePosition")]?"".concat(100*n["".concat(e,"CustomImagePosition")].x,"% ").concat(100*n["".concat(e,"CustomImagePosition")].y,"%"):n["".concat(e,"ImagePosition")]:null,backgroundRepeat:""!=n["".concat(e,"ImageRepeat")]?n["".concat(e,"ImageRepeat")]:null,backgroundAttachment:""!=n["".concat(e,"ImageAttachment")]?n["".concat(e,"ImageAttachment")]:null,backgroundSize:""!=n["".concat(e,"ImageSize")]?n["".concat(e,"ImageSize")]:null}}},{key:"prepareGradientStyle",value:function(e,t){var n=t.attributes["".concat(e,"GradientType")],r=t.attributes["".concat(e,"GradientAngle")],o=t.attributes["".concat(e,"GradientFirstColor")],i=t.attributes["".concat(e,"GradientSecondColor")],a=t.attributes["".concat(e,"GradientFirstColorLocation")],l=t.attributes["".concat(e,"GradientSecondColorLocation")];r=void 0!==r?"".concat(r,"deg"):"180deg",o=void 0!==o?o:"rgba(0,0,0,0)",a=void 0!==a?"".concat(a,"%"):"0%",i=void 0!==i?i:"rgba(0,0,0,0)",l=void 0!==l?"".concat(l,"%"):"100%";var c={};switch(n){case"linear":c.backgroundImage="linear-gradient(".concat(r,", ").concat(o," ").concat(a,", ").concat(i," ").concat(l,")");break;case"radial":c.backgroundImage="radial-gradient(".concat(o," ").concat(a,", ").concat(i," ").concat(l,")")}return c}},{key:"convertVerticalAlignToStyle",value:function(e){var t=void 0;switch(e){case"top":t="flex-start";break;case"bottom":t="flex-end";break;case"center":t="center"}return t}},{key:"convertHorizontalAlignToStyle",value:function(e){var t=void 0;switch(e){case"left":t="flex-start";break;case"right":t="flex-end";break;case"center":t="center"}return t}}]),e}()},function(e,t,n){"use strict";function r(e,t,n){var r=function(e){var t={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(var n in t)if(void 0!==e.style[n])return t[n]}(document.createElement("div")),o=void 0!==t.animation?t.animation:"",i=void 0!==t.duration?t.duration:"1s",a=void 0!==t.delay?t.delay:"0s";return e.css({"animation-duration":i,"animation-delay":a,"-webkit-animation-delay":a}),e.addClass("animated "+o).one(r,function(){jQuery(this).removeClass("animated "+o),"function"==typeof n&&n()}),this}t.a=r},function(e,t,n){e.exports=n(111)()},function(e,t,n){"use strict";function r(e){var t=e.onChange,n=e.label,r=e.help,o=e.value,l=e.allowAnimation,s=void 0===l?["Entrance","Exit","Seeker"]:l,u=[{value:"",label:Object(a.__)("None","getwid")}],p=[{value:"bounceIn",label:Object(a.__)("Bounce In","getwid")},{value:"bounceInDown",label:Object(a.__)("Bounce In Down","getwid")},{value:"bounceInDownShort",label:Object(a.__)("Bounce In Down Short","getwid")},{value:"bounceInLeft",label:Object(a.__)("Bounce In Left","getwid")},{value:"bounceInLeftShort",label:Object(a.__)("Bounce In Left Short","getwid")},{value:"bounceInRight",label:Object(a.__)("Bounce In Right","getwid")},{value:"bounceInRightShort",label:Object(a.__)("Bounce In Right Short","getwid")},{value:"bounceInUp",label:Object(a.__)("Bounce In Up","getwid")},{value:"bounceInUpShort",label:Object(a.__)("Bounce In Up Short","getwid")},{value:"fadeIn",label:Object(a.__)("Fade In","getwid")},{value:"fadeInDown",label:Object(a.__)("Fade In Down","getwid")},{value:"fadeInDownShort",label:Object(a.__)("Fade In Down Short","getwid")},{value:"fadeInDownBig",label:Object(a.__)("Fade In Down Big","getwid")},{value:"fadeInLeft",label:Object(a.__)("Fade In Left","getwid")},{value:"fadeInLeftShort",label:Object(a.__)("Fade In Left Short","getwid")},{value:"fadeInLeftBig",label:Object(a.__)("Fade In Left Big","getwid")},{value:"fadeInRight",label:Object(a.__)("Fade In Right","getwid")},{value:"fadeInRightShort",label:Object(a.__)("Fade In Right Short","getwid")},{value:"fadeInRightBig",label:Object(a.__)("Fade In Right Big","getwid")},{value:"fadeInUp",label:Object(a.__)("Fade In Up","getwid")},{value:"fadeInUpShort",label:Object(a.__)("Fade In Up Short","getwid")},{value:"fadeInUpBig",label:Object(a.__)("Fade In Up Big","getwid")},{value:"flipInX",label:Object(a.__)("Flip In X","getwid")},{value:"flipInY",label:Object(a.__)("Flip In Y","getwid")},{value:"lightSpeedIn",label:Object(a.__)("Light Speed In","getwid")},{value:"lightSpeedInShort",label:Object(a.__)("Light Speed In Short","getwid")},{value:"rotateIn",label:Object(a.__)("Rotate In","getwid")},{value:"rotateInDownLeft",label:Object(a.__)("Rotate In Down Left","getwid")},{value:"rotateInDownRight",label:Object(a.__)("Rotate In Down Right","getwid")},{value:"rotateInUpLeft",label:Object(a.__)("Rotate In Up Left","getwid")},{value:"rotateInUpRight",label:Object(a.__)("Rotate In Up Right","getwid")},{value:"zoomIn",label:Object(a.__)("Zoom In","getwid")},{value:"zoomInDown",label:Object(a.__)("Zoom In Down","getwid")},{value:"zoomInLeft",label:Object(a.__)("Zoom In Left","getwid")},{value:"zoomInRight",label:Object(a.__)("Zoom In Right","getwid")},{value:"zoomInUp",label:Object(a.__)("Zoom In Up","getwid")},{value:"slideInDown",label:Object(a.__)("Slide In Down","getwid")},{value:"slideInDownShort",label:Object(a.__)("Slide In Down Short","getwid")},{value:"slideInLeft",label:Object(a.__)("Slide In Left","getwid")},{value:"slideInLeftShort",label:Object(a.__)("Slide In Left Short","getwid")},{value:"slideInRight",label:Object(a.__)("Slide In Right","getwid")},{value:"slideInRightShort",label:Object(a.__)("Slide In Right Short","getwid")},{value:"slideInUp",label:Object(a.__)("Slide In Up","getwid")},{value:"slideInUpShort",label:Object(a.__)("Slide In Up Short","getwid")},{value:"rollIn",label:Object(a.__)("Roll In","getwid")}],d=[{value:"bounceOut",label:Object(a.__)("Bounce Out","getwid")},{value:"bounceOutDown",label:Object(a.__)("Bounce Out Down","getwid")},{value:"bounceOutLeft",label:Object(a.__)("Bounce Out Left","getwid")},{value:"bounceOutRight",label:Object(a.__)("Bounce Out Right","getwid")},{value:"bounceOutUp",label:Object(a.__)("Bounce Out Up","getwid")},{value:"fadeOut",label:Object(a.__)("Fade Out","getwid")},{value:"fadeOutDown",label:Object(a.__)("Fade Out Down","getwid")},{value:"fadeOutDownBig",label:Object(a.__)("Fade Out Down Big","getwid")},{value:"fadeOutLeft",label:Object(a.__)("Fade Out Left","getwid")},{value:"fadeOutLeftBig",label:Object(a.__)("Fade Out Left Big","getwid")},{value:"fadeOutRight",label:Object(a.__)("Fade Out Right","getwid")},{value:"fadeOutRightBig",label:Object(a.__)("Fade Out Right Big","getwid")},{value:"fadeOutUp",label:Object(a.__)("Fade Out Up","getwid")},{value:"fadeOutUpBig",label:Object(a.__)("Fade Out Up Big","getwid")},{value:"flipOutX",label:Object(a.__)("Flip Out X","getwid")},{value:"flipOutY",label:Object(a.__)("Flip Out Y","getwid")},{value:"lightSpeedOut",label:Object(a.__)("Light Speed Out","getwid")},{value:"rotateOut",label:Object(a.__)("Rotate Out","getwid")},{value:"rotateOutDownLeft",label:Object(a.__)("Rotate Out Down Left","getwid")},{value:"rotateOutDownRight",label:Object(a.__)("Rotate Out Down Right","getwid")},{value:"rotateOutUpLeft",label:Object(a.__)("Rotate Out Up Left","getwid")},{value:"rotateOutUpRight",label:Object(a.__)("Rotate Out Up Right","getwid")},{value:"zoomOut",label:Object(a.__)("Zoom Out","getwid")},{value:"zoomOutDown",label:Object(a.__)("Zoom Out Down","getwid")},{value:"zoomOutLeft",label:Object(a.__)("Zoom Out Left","getwid")},{value:"zoomOutRight",label:Object(a.__)("Zoom Out Right","getwid")},{value:"zoomOutUp",label:Object(a.__)("Zoom Out Up","getwid")},{value:"slideOutDown",label:Object(a.__)("Slide Out Down","getwid")},{value:"slideOutLeft",label:Object(a.__)("Slide Out Left","getwid")},{value:"slideOutRight",label:Object(a.__)("Slide Out Right","getwid")},{value:"slideOutUp",label:Object(a.__)("Slide Out Up","getwid")},{value:"heartBeat",label:Object(a.__)("Heart Beat","getwid")},{value:"hinge",label:Object(a.__)("Hinge","getwid")},{value:"rollOut",label:Object(a.__)("Roll Out","getwid")}],m=[{value:"bounce",label:Object(a.__)("Bounce","getwid")},{value:"flash",label:Object(a.__)("Flash","getwid")},{value:"pulse",label:Object(a.__)("Pulse","getwid")},{value:"rubberBand",label:Object(a.__)("Rubber Band","getwid")},{value:"shake",label:Object(a.__)("Shake","getwid")},{value:"headShake",label:Object(a.__)("Head Shake","getwid")},{value:"swing",label:Object(a.__)("Swing","getwid")},{value:"tada",label:Object(a.__)("Tada","getwid")},{value:"wobble",label:Object(a.__)("Wobble","getwid")},{value:"jello",label:Object(a.__)("Jello","getwid")},{value:"jackInTheBox",label:Object(a.__)("Jack In The Box","getwid")}],g=[{value:"slideTop",label:Object(a.__)("Slide Top","getwid")},{value:"slideBottom",label:Object(a.__)("Slide Bottom","getwid")},{value:"slideLeft",label:Object(a.__)("Slide Left","getwid")},{value:"slideRight",label:Object(a.__)("Slide Right","getwid")},{value:"zoomSmall",label:Object(a.__)("Zoom Small","getwid")},{value:"zoomBig",label:Object(a.__)("Zoom Big","getwid")}];return s.includes("Entrance")&&(u=[].concat(i()(u),p)),s.includes("Exit")&&(u=[].concat(i()(u),d)),s.includes("Seeker")&&(u=[].concat(i()(u),m)),s.includes("Icon")&&(u=[].concat(i()(u),g)),wp.element.createElement(c,{label:n,help:r,value:o,onChange:t,options:u})}t.a=r;var o=n(15),i=n.n(o),a=(n(0),n(1)),l=(n.n(a),window),c=(l.jQuery,wp.components.SelectControl)},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}n.d(t,"a",function(){return h});var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(101)),f=wp.element,b=f.Component,w=f.Fragment,h=(f.RawHTML,function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.dividerTop,r=t.dividersTopHeight,o=t.dividerTopColor,i=t.dividerBottom,a=t.dividersBottomHeight,l=t.dividerBottomColor,c=e.baseClass;return wp.element.createElement(w,null,n&&wp.element.createElement("div",{className:"".concat(c,"__divider is-top-divider")},this.renderSVG(n,o,r)),i&&wp.element.createElement("div",{className:"".concat(c,"__divider is-bottom-divider")},this.renderSVG(i,l,a)))}},{key:"renderSVG",value:function(e,t,n){return void 0===t&&(t="white"),g.a.hasOwnProperty(e)?g.a[e](t,n):""}}]),t}(b))},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"b",function(){return _}),n.d(t,"a",function(){return k});var o=n(105),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),wp.element),w=b.Component,h=b.Fragment,v=window,y=v.jQuery,_=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props.attributes,t=e.sliderImages,n=e.sliderAnimationEffect,r=e.sliderAnimationDuration,o=e.sliderAnimationSpeed,i=this.props.baseClass;return wp.element.createElement(h,null,wp.element.createElement("div",{className:"".concat(i,"__background-slider"),"data-autoplay":"true","data-autoplay-speed":o,"data-slide-effect":n,"data-slide-speed":r,"data-infinite":"true"},t.map(function(e){return wp.element.createElement("div",{className:"".concat(i,"__background-slider-item"),key:e.id||e.url},wp.element.createElement("img",{src:e.url,className:e.id?"wp-image-".concat(e.id):null,alt:e.alt,"data-id":e.id}))})))}}]),t}(w),k=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){return this.destroySlider(),i()(f()(t.prototype),"render",this).call(this)}},{key:"destroySlider",value:function(){var e=this.props.clientId,t=y("#block-".concat(e," .").concat(this.props.baseClass,"__background-slider")).first();t.hasClass("slick-initialized")&&t.slick("unslick")}},{key:"initSlider",value:function(){var e=this.props.attributes,t=e.sliderAnimationEffect,n=e.sliderAnimationDuration,r=e.sliderAnimationSpeed,o=this.props.clientId;y("#block-".concat(o," .").concat(this.props.baseClass,"__background-slider")).first().slick({rows:0,slidesToShow:1,slidesToScroll:1,autoplay:!0,infinite:!0,arrows:!1,dots:!1,fade:"fade"===t,autoplaySpeed:r?parseInt(r):100,speed:n?parseInt(n):100})}},{key:"componentDidMount",value:function(){this.initSlider()}},{key:"componentDidUpdate",value:function(){this.initSlider()}},{key:"componentWillUnmount",value:function(){this.destroySlider()}}]),t}(_)},function(e,t,n){function r(e){return o(e)||i(e)||a()}var o=n(32),i=n(31),a=n(33);e.exports=r},function(e,t){!function(){e.exports=window.ReactDOM}()},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}n.d(t,"a",function(){return v});var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),wp.element),w=b.Component,h=b.Fragment,v=function(e){function t(){return l()(this,t),n.apply(this,arguments)}p()(t,e);var n=r(t);return s()(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=t.backgroundVideoUrl,r=(t.backgroundVideoMute,t.backgroundVideoLoop),o=(t.backgroundVideoAutoplay,t.backgroundVideoPoster),a=e.baseClass,l={playsinline:"playsinline",autoPlay:this.props.videoAutoplay,muted:this.props.videoMute,loop:r,poster:o||void 0};return wp.element.createElement(h,null,n.url&&wp.element.createElement("video",i()({className:"".concat(a,"__background-video source-media-library")},l,{ref:this.props.videoElemRef,onEnded:this.props.onVideoEnd}),wp.element.createElement("source",{src:n.url,type:"video/mp4"})))}},{key:"componentDidMount",value:function(){}},{key:"componentDidUpdate",value:function(){}}]),t}(w)},function(e,t){function n(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}e.exports=n},function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}e.exports=n},function(e,t){function n(e){throw new Error('"'+e+'" is read-only')}e.exports=n},function(e,t,n){"use strict";var r=(n(36),n(37),n(20)),o=(n.n(r),n(10));n.n(o);n.o(r,"createContext")&&n.d(t,"c",function(){return r.createContext}),n.o(r,"createElement")&&n.d(t,"d",function(){return r.createElement}),n.o(r,"Fragment")&&n.d(t,"a",function(){return r.Fragment}),n.o(r,"StrictMode")&&n.d(t,"b",function(){return r.StrictMode})},function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){Object(o.a)(e,t,n[t])})}return e}t.a=r;var o=n(91)},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i=Object(o.a)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}t.a=r;var o=n(92)},function(e,t,n){"use strict";var r={align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__item",query:{url:{source:"attribute",selector:"img",attribute:"src"},original_url:{source:"attribute",selector:"img",attribute:"data-original-link"},link:{source:"attribute",selector:"img",attribute:"data-link"},custom_link:{source:"attribute",selector:"img",attribute:"data-custom-link"},custom_link_target:{source:"attribute",selector:"img",attribute:"data-link-target"},custom_link_rel:{source:"attribute",selector:"img",attribute:"data-link-rel"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},imageSize:{type:"string",default:"full"},imageFit:{type:"string",default:"fill"},showCaption:{type:"boolean",default:!1},captionStyle:{type:"string",default:"light"},captionPosition:{type:"string",default:"bottom-center"},linkTo:{type:"string",default:"none"},imageAlignment:{type:"string",default:"center"},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-effect",default:"slide"},sliderSlidesToShow:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show",default:"1"},sliderSlidesToShowLaptop:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show-laptop",default:"1"},sliderSlidesToShowTablet:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show-tablet",default:"1"},sliderSlidesToShowMobile:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-show-mobile",default:"1"},sliderSlidesToScroll:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-slides-scroll",default:"1"},sliderAutoplay:{type:"boolean",default:!1},sliderAutoplaySpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-autoplay-speed",default:6e3},sliderInfinite:{type:"boolean",default:!0},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-animation-speed",default:800},sliderCenterMode:{type:"boolean",default:!1},sliderVariableWidth:{type:"boolean",default:!1},sliderSpacing:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-spacing",default:"none"},sliderArrows:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-arrows",default:"inside"},sliderDots:{type:"string",source:"attribute",selector:".wp-block-getwid-images-slider .wp-block-getwid-images-slider__wrapper",attribute:"data-dots",default:"inside"},slideHeight:{type:"string"},resetHeightOnTablet:{type:"bool"},resetHeightOnMobile:{type:"bool"}};t.a=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}var o=n(15),i=n.n(o),a=n(7),l=n.n(a),c=n(13),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),k=(n(0),n(348)),O=(n.n(k),n(349)),E=n(353),C=n(10),j=(n.n(C),n(8)),S=n.n(j),x=n(1),P=(n.n(x),n(20)),T=(n.n(P),wp.element),R=T.Component,N=T.Fragment,A=wp.apiFetch,B=wp.url.addQueryArgs,D=wp.components,M=D.Modal,I=D.ButtonGroup,L=D.Button,z=D.SelectControl,V=D.RangeControl,F=D.RadioControl,H=D.ToggleControl,G=D.Spinner,W=D.TextControl,U=D.PanelBody,q=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.firstCheckTaxonomy=!0,e.firstCheckTerms=!0,e.state={postTypeList:null,taxonomyList:null,termsList:null,modalOpen:!1,metaScheme:Object(C.cloneDeep)(e.props.values.metaQuery)},e.getState=e.getState.bind(f()(e)),e.changeState=e.changeState.bind(f()(e)),e}w()(t,e);var n=r(t);return m()(t,[{key:"componentWillMount",value:function(){var e=this;this.isStillMounted=!0,this.waitLoadPostTypes=!0,this.fetchRequest=A({path:B("/wp/v2/types")}).then(function(t){e.waitLoadPostTypes=!1,e.isStillMounted&&e.setState({postTypeList:t})}).catch(function(){e.waitLoadPostTypes=!1})}},{key:"getTaxonomyFromCustomPostType",value:function(e){var t=this;void 0!==e&&""!=e&&(this.waitLoadTaxonomy=!0,this.firstCheckTaxonomy=!1,this.fetchRequest=A({path:B("/getwid/v1/taxonomies",{post_type_name:e})}).then(function(e){t.waitLoadTaxonomy=!1,t.isStillMounted&&Array.isArray(e)&&e.length?t.setState({taxonomyList:e}):t.setState({taxonomyList:null})}).catch(function(){t.waitLoadTaxonomy=!1}))}},{key:"getTermsFromTaxonomy",value:function(e){var t=this;void 0!==e&&""!=e&&(this.waitLoadTerms=!0,this.firstCheckTerms=!1,this.fetchRequest=A({path:B("/getwid/v1/terms",{taxonomy_name:e})}).then(function(e){t.waitLoadTerms=!1,t.isStillMounted&&e instanceof Object&&!Object(C.isEmpty)(e)?t.setState({termsList:e}):t.setState({termsList:null})}).catch(function(){t.waitLoadTerms=!1}))}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"changeState",value:function(e,t){"object"==s()(e)?this.setState(e):"string"==typeof e&&this.setState(l()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"render",value:function(){var e=this,t="components-getwid-custom-query-control",n=[];if(this.state.postTypeList)for(var r in this.state.postTypeList)if(!["attachment","wp_block","getwid_template_part","getwid_template"].includes(r)){var o={};o.value=this.state.postTypeList[r].slug,o.label=this.state.postTypeList[r].name,n.push(o)}var a=[{relation:"OR",children:[]}];return wp.element.createElement("div",{className:S()("components-base-control",t)},function(){return null==e.state.taxonomyList&&e.props.values.postType&&e.firstCheckTaxonomy&&e.getTaxonomyFromCustomPostType(e.props.values.postType),wp.element.createElement(N,null,e.waitLoadPostTypes?wp.element.createElement(G,null):void 0,wp.element.createElement(z,{label:Object(x.__)("Choose what to display","getwid"),className:["".concat(t,"__post-type")],value:e.props.values.postType?e.props.values.postType:"",onChange:function(t){e.setState({taxonomyList:null,termsList:null}),e.props.callbackOn&&e.props.callbackOn.includes("postType")?e.props.onChangeCallback(t,"postType"):""==t?e.props.setValues({postType:void 0,taxonomy:void 0,terms:void 0}):e.props.setValues({postType:t,taxonomy:void 0,terms:void 0}),e.getTaxonomyFromCustomPostType(t)},options:i()(n||[{value:"",label:"-"}]),disabled:null==e.state.postTypeList}))}(),wp.element.createElement(V,{label:this.props.options&&this.props.options.includes("page")&&this.props.values.pagination?Object(x.__)("Number of items per page","getwid"):Object(x.__)("Number of items","getwid"),value:this.props.values.postsToShow,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("postsToShow")?e.props.onChangeCallback(t,"postsToShow"):e.props.setValues({postsToShow:t})},min:-1,max:100,step:1}),wp.element.createElement(V,{label:Object(x.__)("Number of posts to pass over","getwid"),value:this.props.values.offset,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("offset")?e.props.onChangeCallback(t,"offset"):e.props.setValues({offset:t})},min:0,max:100,step:1}),function(){if(e.props.options&&e.props.options.includes("page"))return wp.element.createElement(N,null,wp.element.createElement(H,{label:Object(x.__)("Use pagination","getwid"),checked:!!e.props.values.pagination&&e.props.values.pagination,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("pagination")?e.props.onChangeCallback(t,"pagination"):e.props.setValues({pagination:!e.props.values.pagination})}}))}(),wp.element.createElement(U,{title:Object(x.__)("Sorting and Filtering","getwid"),initialOpen:!1},wp.element.createElement(z,{label:Object(x.__)("Order","getwid"),className:["".concat(t,"__order")],value:this.props.values.order?this.props.values.order:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("order")?e.props.onChangeCallback(t,"order"):e.props.setValues({order:t})},options:[{value:"desc",label:Object(x.__)("Z → A, 9 → 1","getwid")},{value:"asc",label:Object(x.__)("A → Z, 1 → 9","getwid")}]}),wp.element.createElement(z,{label:Object(x.__)("Order by","getwid"),className:["".concat(t,"__order-by")],value:this.props.values.orderBy?this.props.values.orderBy:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("orderBy")?e.props.onChangeCallback(t,"orderBy"):e.props.setValues({orderBy:t})},options:[{value:"title",label:Object(x.__)("Title","getwid")},{value:"date",label:Object(x.__)("Date","getwid")},{value:"rand",label:Object(x.__)("Random","getwid")},{value:"author",label:Object(x.__)("Author","getwid")},{value:"modified",label:Object(x.__)("Last modified date","getwid")},{value:"menu_order",label:Object(x.__)("Menu order","getwid")}]}),"page"!=this.props.values.postType&&function(){if(e.props.options&&e.props.options.includes("sticky"))return wp.element.createElement(N,null,wp.element.createElement(H,{label:Object(x.__)("Ignore Sticky posts","getwid"),checked:!!e.props.values.ignoreSticky&&e.props.values.ignoreSticky,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("ignoreSticky")?e.props.onChangeCallback(t,"ignoreSticky"):e.props.setValues({ignoreSticky:!e.props.values.ignoreSticky})}}))}(),wp.element.createElement(W,{label:Object(x.__)("Display only the specific posts","getwid"),help:Object(x.__)("Comma-separated IDs","getwid"),value:this.props.values.filterById?this.props.values.filterById:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("filterById")?e.props.onChangeCallback(t,"filterById"):e.props.setValues({filterById:t})}}),wp.element.createElement(W,{label:Object(x.__)("Display all posts but NOT the specified ones","getwid"),help:Object(x.__)("Comma-separated IDs","getwid"),value:this.props.values.excludeById?this.props.values.excludeById:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("excludeById")?e.props.onChangeCallback(t,"excludeById"):e.props.setValues({excludeById:t})}}),wp.element.createElement(H,{label:Object(x.__)("Exclude Current Post","getwid"),checked:!!this.props.values.excludeCurrentPost&&this.props.values.excludeCurrentPost,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("excludeCurrentPost")?e.props.onChangeCallback(t,"excludeCurrentPost"):e.props.setValues({excludeCurrentPost:!e.props.values.excludeCurrentPost})}}),"page"==this.props.values.postType&&function(){if(e.props.options&&e.props.options.includes("parentFilter"))return wp.element.createElement(N,null,wp.element.createElement(H,{label:Object(x.__)("Display child pages of current page","getwid"),checked:!!e.props.values.childPagesCurrentPage&&e.props.values.childPagesCurrentPage,onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("childPagesCurrentPage")?e.props.onChangeCallback(t,"childPagesCurrentPage"):e.props.setValues({childPagesCurrentPage:!e.props.values.childPagesCurrentPage})}}),0==e.props.values.childPagesCurrentPage&&wp.element.createElement(W,{label:Object(x.__)("Enter page ID to display its child pages","getwid"),help:Object(x.__)("Parent page ID","getwid"),value:e.props.values.parentPageId?e.props.values.parentPageId:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("parentPageId")?e.props.onChangeCallback(t,"parentPageId"):e.props.setValues({parentPageId:t})}}))}(),"page"!=this.props.values.postType&&function(){return null==e.state.termsList&&e.props.values.taxonomy&&e.firstCheckTerms&&e.getTermsFromTaxonomy(e.props.values.taxonomy),wp.element.createElement(N,null,e.waitLoadTaxonomy?wp.element.createElement(G,null):void 0,wp.element.createElement(z,{label:Object(x.__)("Taxonomies","getwid"),help:Object(x.__)("Hold ctrl/cmd to select multiple or deselect","getwid"),className:["".concat(t,"__taxonomy")],value:e.props.values.taxonomy?e.props.values.taxonomy:"",onChange:function(t){e.setState({termsList:null}),e.props.callbackOn&&e.props.callbackOn.includes("taxonomy")?e.props.onChangeCallback(t,"taxonomy"):""==t?e.props.setValues({taxonomy:void 0,terms:void 0}):e.props.setValues({taxonomy:t,terms:void 0}),e.getTermsFromTaxonomy(t)},multiple:!0,size:6,options:e.state.taxonomyList?e.state.taxonomyList:[{value:"",label:""}],disabled:null==e.state.taxonomyList}))}(),"page"!=this.props.values.postType&&function(){return wp.element.createElement(N,null,e.waitLoadTerms?wp.element.createElement(G,null):void 0,wp.element.createElement(O.a,{label:Object(x.__)("Terms","getwid"),help:Object(x.__)("Hold ctrl/cmd to select multiple or deselect","getwid"),className:["".concat(t,"__terms")],multiple:!0,groups:!0,size:10,value:e.props.values.terms?e.props.values.terms:[],onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("terms")?e.props.onChangeCallback(t,"terms"):t.length?e.props.setValues({terms:t}):e.props.setValues({terms:void 0})},options:e.state.termsList?e.state.termsList:{"":{group_name:"",group_value:[{value:"",label:""}]}},disabled:null==e.state.termsList}))}(),"page"!=this.props.values.postType&&wp.element.createElement(F,{label:Object(x.__)("Terms Relation","getwid"),selected:this.props.values.relation?this.props.values.relation:"",options:[{value:"AND",label:Object(x.__)("Item should have all of selected terms.","getwid")},{value:"OR",label:Object(x.__)("Item should have at least one of selected terms.","getwid")}],onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("relation")?e.props.onChangeCallback(t,"relation"):e.props.setValues({relation:t})}}),wp.element.createElement(L,{isPrimary:!0,icon:"filter",onClick:function(){e.setState({modalOpen:!0})}},Object(x.__)("Custom Field Filter","getwid")),this.state.modalOpen?wp.element.createElement(M,{title:Object(x.__)("Meta Query Builder","getwid"),onRequestClose:function(){e.setState({modalOpen:!1})}},wp.element.createElement("div",{className:["".concat(t,"__custom-conditions")]},function(){var n=e.state.metaScheme,r=[];return n.length>0?r=n.map(function(n){return wp.element.createElement(E.a,{query:n,parentQuery:n,getControlState:e.getState,setControlState:e.changeState,controlClassPrefix:t})}):e.setState({metaScheme:a}),r}(),wp.element.createElement(I,{className:["".concat(t,"__custom-btn-group")]},wp.element.createElement(L,{isDefault:!0,onClick:function(){e.setState({modalOpen:!1})}},Object(x.__)("Close","getwid")),wp.element.createElement(L,{isPrimary:!0,onClick:function(){e.state.metaScheme[0].children.length?e.props.setValues({metaQuery:Object(C.cloneDeep)(e.state.metaScheme)}):e.props.setValues({metaQuery:[]})}},Object(x.__)("Update","getwid"))))):null))}}]),t}(R);t.a=q},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=f()(e);if(t()){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m()(this,n)}}var o=n(15),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(5),p=n.n(u),d=n(6),m=n.n(d),g=n(3),f=n.n(g),b=(n(0),n(357)),w=(n.n(b),n(8)),h=n.n(w),v=n(1),y=(n.n(v),window),_=(y.jQuery,wp.element),k=_.Component,O=_.Fragment,E=wp.apiFetch,C=wp.url.addQueryArgs,j=wp.components,S=j.SelectControl,x=j.BaseControl,P=j.ButtonGroup,T=j.Button,R=j.Spinner,N=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.state={postTemplates:null,waitLoadTemplates:!1},e}p()(t,e);var n=r(t);return s()(t,[{key:"componentWillMount",value:function(){this.isStillMounted=!0,this.updateTemplates()}},{key:"componentWillUnmount",value:function(){this.isStillMounted=!1}},{key:"updateTemplates",value:function(){var e=this;this.fetchRequest=E({path:C("/getwid/v1/templates",{template_name:"getwid_template_part"})}).then(function(t){e.waitLoadTemplates=!1,e.isStillMounted&&t instanceof Object?e.setState({postTemplates:t,waitLoadTemplates:!1}):e.setState({postTemplates:null,waitLoadTemplates:!1})}).catch(function(){e.setState({waitLoadTemplates:!1})})}},{key:"resetTemplates",value:function(){this.props.setValues({postTemplate:null})}},{key:"render",value:function(){var e=this,t=[];this.state.postTemplates&&(t=this.state.postTemplates);return wp.element.createElement("div",{className:h()("components-base-control","components-getwid-custom-post-template-control")},function(){return wp.element.createElement(O,null,e.state.waitLoadTemplates?wp.element.createElement(R,null):void 0,wp.element.createElement(S,{label:Object(v.__)("Post Template","getwid"),className:["".concat("components-getwid-custom-post-template-control","__post-template")],value:e.props.values.postTemplate?e.props.values.postTemplate:"",onChange:function(t){e.props.callbackOn&&e.props.callbackOn.includes("postTemplate")?e.props.onChangeCallback(t,"postTemplate"):e.props.setValues({postTemplate:t})},options:[{value:"",label:"Default"}].concat(i()(t||[]))}),wp.element.createElement(P,null,e.props.values.postTemplate&&wp.element.createElement("a",{href:"".concat(Getwid.templates.edit).concat(e.props.values.postTemplate,"&action=edit"),className:"components-button is-button is-default",target:"_blank"},Object(v.__)("Edit","getwid")),wp.element.createElement("a",{href:Getwid.templates.new,className:"components-button is-button is-default",target:"_blank"},Object(v.__)("New","getwid")),wp.element.createElement("a",{href:Getwid.templates.view,className:"components-button is-button is-default",target:"_blank"},Object(v.__)("View All","getwid")),wp.element.createElement(T,{isDefault:!0,onClick:function(t){e.setState({waitLoadTemplates:!0}),e.updateTemplates()}},Object(v.__)("Update","getwid"))),e.props.values.postTemplate&&wp.element.createElement(x,null,wp.element.createElement(T,{isLink:!0,onClick:function(t){e.resetTemplates()}},Object(v.__)("Reset to default","getwid"))))}())}}]),t}(k);t.a=N},function(e,t,n){"use strict";function r(e){var t=e.children,n=Object(i.a)(e,["children"]);return Object(a.d)("div",Object(o.a)({dangerouslySetInnerHTML:{__html:t}},n))}t.a=r;var o=n(36),i=n(37),a=n(35)},function(e,t,n){"use strict";var r={align:{type:"string"},skipLayout:{type:"boolean",default:!1},contentMaxWidthPreset:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},gapSize:{type:"string"},resetMinHeightTablet:{type:"boolean",default:!1},resetMinHeightMobile:{type:"boolean",default:!1},verticalAlign:{type:"string",default:"center"},verticalAlignTablet:{type:"string",default:""},verticalAlignMobile:{type:"string",default:""},horizontalAlign:{type:"string",default:"center"},horizontalAlignTablet:{type:"string",default:""},horizontalAlignMobile:{type:"string",default:""},backgroundColor:{type:"string"},customBackgroundColor:{type:"string"},backgroundGradient:{type:"string"},backgroundGradientFirstColor:{type:"string"},backgroundGradientFirstColorLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string"},backgroundGradientSecondColorLocation:{type:"number",default:100},backgroundGradientType:{type:"string"},backgroundGradientAngle:{type:"number",default:180},foregroundGradient:{type:"string"},foregroundGradientFirstColor:{type:"string"},foregroundGradientFirstColorLocation:{type:"number",default:0},foregroundGradientSecondColor:{type:"string"},foregroundGradientSecondColorLocation:{type:"number",default:100},foregroundGradientType:{type:"string"},foregroundGradientAngle:{type:"number",default:180},backgroundImage:{type:"object"},backgroundCustomImagePosition:{type:"object"},backgroundImagePosition:{type:"string"},backgroundImageAttachment:{type:"string"},backgroundImageRepeat:{type:"string"},backgroundImageSize:{type:"string"},sliderImages:{type:"array",default:[],source:"query",selector:".wp-block-getwid-section__background-slider>.wp-block-getwid-section__background-slider-item",query:{url:{source:"attribute",selector:"img",attribute:"src"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"}}},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-effect"},sliderAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-slide-speed",default:1e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-slider",attribute:"data-autoplay-speed",default:5e3},backgroundVideoType:{type:"string",default:"self"},youTubeVideoUrl:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-url"},youTubeVideoScale:{type:"string",default:"medium"},youTubeVideoMute:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-muted",default:"false"},youTubeVideoLoop:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-loop",default:"false"},youTubeVideoAutoplay:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-video.source-youtube",attribute:"youtube-video-autoplay",default:"false"},backgroundVideoUrl:{type:"object"},backgroundVideoMute:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"muted",default:!1},backgroundVideoLoop:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"loop",default:!1},backgroundVideoAutoplay:{type:"boolean",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"autoplay",default:!1},backgroundVideoPoster:{type:"string",source:"attribute",selector:".wp-block-getwid-section__background-holder .wp-block-getwid-section__background-video.source-media-library",attribute:"poster"},backgroundVideoControlsPosition:{type:"string",default:"top-right"},foregroundOpacity:{type:"number"},foregroundColor:{type:"string"},foregroundImage:{type:"object"},foregroundCustomImagePosition:{type:"object"},foregroundImagePosition:{type:"string"},foregroundImageAttachment:{type:"string"},foregroundImageRepeat:{type:"string"},foregroundImageSize:{type:"string"},foregroundFilter:{type:"string"},dividerTop:{type:"string"},dividersTopHeight:{type:"string"},dividerTopColor:{type:"string",default:"white"},dividerBottom:{type:"string"},dividersBottomHeight:{type:"string"},dividersBringTop:{type:"boolean",default:!1},dividerBottomColor:{type:"string",default:"white"},entranceAnimation:{type:"string"},entranceAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-duration",default:"1500ms"},entranceAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-section",attribute:"data-wow-delay",default:"200ms"},paddingTopValue:{type:"string"},paddingBottomValue:{type:"string"},paddingLeftValue:{type:"string"},paddingRightValue:{type:"string"},paddingTop:{type:"string",default:""},paddingBottom:{type:"string",default:""},paddingLeft:{type:"string",default:""},paddingRight:{type:"string",default:""},paddingTopTablet:{type:"string",default:""},paddingBottomTablet:{type:"string",default:""},paddingLeftTablet:{type:"string",default:""},paddingRightTablet:{type:"string",default:""},paddingTopMobile:{type:"string",default:""},paddingBottomMobile:{type:"string",default:""},paddingLeftMobile:{type:"string",default:""},paddingRightMobile:{type:"string",default:""},marginTopValue:{type:"string"},marginBottomValue:{type:"string"},marginLeftValue:{type:"string"},marginRightValue:{type:"string"},marginTop:{type:"string",default:""},marginBottom:{type:"string",default:""},marginLeft:{type:"string",default:""},marginRight:{type:"string",default:""},marginTopTablet:{type:"string",default:""},marginBottomTablet:{type:"string",default:""},marginLeftTablet:{type:"string",default:""},marginRightTablet:{type:"string",default:""},marginTopMobile:{type:"string",default:""},marginBottomMobile:{type:"string",default:""},marginLeftMobile:{type:"string",default:""},marginRightMobile:{type:"string",default:""}};t.a=r},function(e,t){var n={};n.parse=function(){function e(e){var t=new Error(N+": "+e);throw t.source=N,t}function t(){var t=n();return N.length>0&&e("Invalid input not EOF"),t}function n(){return w(r)}function r(){return o("linear-gradient",R.linearGradient,a)||o("repeating-linear-gradient",R.repeatingLinearGradient,a)||o("radial-gradient",R.radialGradient,s)||o("repeating-radial-gradient",R.repeatingRadialGradient,s)}function o(t,n,r){return i(n,function(n){var o=r();return o&&(P(R.comma)||e("Missing comma before color stops")),{type:t,orientation:o,colorStops:w(h)}})}function i(t,n){var r=P(t);if(r)return P(R.startCall)||e("Missing ("),result=n(r),P(R.endCall)||e("Missing )"),result}function a(){return l()||c()}function l(){return x("directional",R.sideOrCorner,1)}function c(){return x("angular",R.angleValue,1)}function s(){var e,t,n=u();return n&&(e=[],e.push(n),t=N,P(R.comma)&&(n=u(),n?e.push(n):N=t)),e}function u(){var e=p()||d();if(e)e.at=g();else{var t=f();t&&(e={type:"default-radial",at:t})}return e}function p(){var e=x("shape",/^(circle)/i,0);return e&&(e.style=S()||m()),e}function d(){var e=x("shape",/^(ellipse)/i,0);return e&&(e.style=C()||m()),e}function m(){return x("extent-keyword",R.extentKeywords,1)}function g(){if(x("position",/^at/,0)){var t=f();return t||e("Missing positioning value"),t}}function f(){var e=b();if(e.x||e.y)return{type:"position",value:e}}function b(){return{x:C(),y:C()}}function w(t){var n=t(),r=[];if(n)for(r.push(n);P(R.comma);)n=t(),n?r.push(n):e("One extra comma");return r}function h(){var t=v();return t||e("Expected color definition"),t.length=C(),t}function v(){return _()||O()||k()||y()}function y(){return x("literal",R.literalColor,0)}function _(){return x("hex",R.hexColor,1)}function k(){return i(R.rgbColor,function(){return{type:"rgb",value:w(E)}})}function O(){return i(R.rgbaColor,function(){return{type:"rgba",value:w(E)}})}function E(){return P(R.number)[1]}function C(){return x("%",R.percentageValue,1)||j()||S()}function j(){return x("position-keyword",R.positionKeywords,1)}function S(){return x("px",R.pixelValue,1)||x("em",R.emValue,1)}function x(e,t,n){var r=P(t);if(r)return{type:e,value:r[n]}}function P(e){var t,n;return n=/^[\n\r\t\s]+/.exec(N),n&&T(n[0].length),t=e.exec(N),t&&T(t[0].length),t}function T(e){N=N.substr(e)}var R={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},N="";return function(e){return N=e.toString(),t()}}(),t.parse=(n||{}).parse},function(e,t){function n(e){var t=e.split("");return t.shift(),t.join("")}function r(e){return e.split("").reduce(function(e,t){return e.concat([t,t])},[]).join("")}e.exports=function(e){e.charAt&&"#"===e.charAt(0)&&(e=n(e)),3===e.length&&(e=r(e));var t=parseInt(e,16);return[t>>16&255,t>>8&255,255&t]}},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(109)),v=(n.n(h),n(8)),y=n.n(v),_=wp.element,k=_.Component,O=_.Fragment,E=_.forwardRef,C=wp.components,j=C.Button,S=C.SVG,x=C.Path,P=C.G,T=function(e){function t(e){var r;return l()(this,t),r=n.apply(this,arguments),r.state={opened:void 0===e.initialOpen||e.initialOpen,onOpen:void 0===e.onOpen?void 0:e.onOpen,onClose:void 0===e.onClose?void 0:e.onClose},r.toggle=r.toggle.bind(p()(r)),r}m()(t,e);var n=r(t);return s()(t,[{key:"toggle",value:function(e){e.preventDefault(),this.state.opened?void 0!==this.state.onClose&&this.state.onClose():void 0!==this.state.onOpen&&this.state.onOpen(),void 0===this.props.opened&&this.setState(function(e){return{opened:!e.opened}}),this.props.onToggle&&this.props.onToggle()}},{key:"render",value:function(){var e=this.props,t=e.title,n=e.children,r=e.opened,o=e.className,i=e.icon,a=e.forwardedRef,l=e.hints,c=void 0===r?this.state.opened:r,s=y()("components-panel__body","components-getwid-panel-body",o,{"is-opened":c});return wp.element.createElement("div",{className:s,ref:a},!!t&&wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement(j,{className:"components-panel__body-toggle",onClick:this.toggle,"aria-expanded":c},wp.element.createElement("span",{"aria-hidden":"true"},c?wp.element.createElement(S,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(P,null,wp.element.createElement(x,{fill:"none",d:"M0,0h24v24H0V0z"})),wp.element.createElement(P,null,wp.element.createElement(x,{d:"M12,8l-6,6l1.41,1.41L12,10.83l4.59,4.58L18,14L12,8z"}))):wp.element.createElement(S,{className:"components-panel__arrow",width:"24px",height:"24px",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(P,null,wp.element.createElement(x,{fill:"none",d:"M0,0h24v24H0V0z"})),wp.element.createElement(P,null,wp.element.createElement(x,{d:"M7.41,8.59L12,13.17l4.59-4.58L18,10l-6,6l-6-6L7.41,8.59z"})))),l?c?t:wp.element.createElement(O,null,wp.element.createElement("span",null,t),wp.element.createElement("div",{className:"components-getwid-panel-body-row"},l.map(function(e,t){return wp.element.createElement("div",{className:"components-getwid-panel-body-columns"},wp.element.createElement("span",null,""!=e.value&&e.label," "),""!=e.value&&e.value)}))):t,i&&wp.element.createElement(Icon,{icon:i,className:"components-panel__icon",size:20}))),c&&n)}}]),t}(k),R=function(e,t){return wp.element.createElement(T,i()({},e,{forwardedRef:t}))};R.displayName="PanelBody",t.a=E(R)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function a(){}t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}(n(24)),c=r(n(20)),s=r(n(29)),u=n(47),p=(n(48),"unmounted");t.UNMOUNTED=p;var d="exited";t.EXITED=d;var m="entering";t.ENTERING=m;var g="entered";t.ENTERED=g;t.EXITING="exiting";var f=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n.transitionGroup,a=i&&!i.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=d,r.appearStatus=m):o=g:o=t.unmountOnExit||t.mountOnEnter?p:d,r.state={status:o},r.nextCallback=null,r}i(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:d}:null},n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==m&&n!==g&&(t=m):n!==m&&n!==g||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=s.default.findDOMNode(this);t===m?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:p})},n.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;if(!t&&!r)return void this.safeSetState({status:g},function(){n.props.onEntered(e)});this.props.onEnter(e,o),this.safeSetState({status:m},function(){n.props.onEntering(e,o),n.onTransitionEnd(e,a,function(){n.safeSetState({status:g},function(){n.props.onEntered(e,o)})})})},n.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();if(!n)return void this.safeSetState({status:d},function(){t.props.onExited(e)});this.props.onExit(e),this.safeSetState({status:"exiting"},function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,function(){t.safeSetState({status:d},function(){t.props.onExited(e)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;if(!e||r)return void setTimeout(this.nextCallback,0);this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,r=o(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return n(e,r);var i=c.default.Children.only(n);return c.default.cloneElement(i,r)},t}(c.default.Component);f.contextTypes={transitionGroup:l.object},f.childContextTypes={transitionGroup:function(){}},f.propTypes={},f.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:a,onEntering:a,onEntered:a,onExit:a,onExiting:a,onExited:a},f.UNMOUNTED=0,f.EXITED=1,f.ENTERING=2,f.ENTERED=3,f.EXITING=4;var b=(0,u.polyfill)(f);t.default=b},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function o(e){function t(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}this.setState(t.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,l=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?l="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==l){var c=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==l?"\n "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"polyfill",function(){return a}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;!function(e){e&&e.__esModule}(n(24));t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.__esModule=!0,t.default=void 0;var c=r(n(24)),s=r(n(20)),u=n(47),p=n(120),d=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},m={component:"div",childFactory:function(e){return e}},g=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o=r.handleExited.bind(l(l(r)));return r.state={handleExited:o,firstRender:!0},r}a(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},n.componentDidMount=function(){this.appeared=!0,this.mounted=!0},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,p.getInitialChildMapping)(e,r):(0,p.getNextChildMapping)(e,n,r),firstRender:!1}},n.handleExited=function(e,t){var n=(0,p.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=i({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=o(e,["component","childFactory"]),i=d(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i:s.default.createElement(t,r,i)},t}(s.default.Component);g.childContextTypes={transitionGroup:c.default.object.isRequired},g.propTypes={},g.defaultProps=m;var f=(0,u.polyfill)(g);t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=_()(e);if(t()){var o=_()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v()(this,n)}}n.d(t,"a",function(){return F});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(2),p=n.n(u),d=n(4),m=n.n(d),g=n(11),f=n.n(g),b=n(5),w=n.n(b),h=n(6),v=n.n(h),y=n(3),_=n.n(y),k=(n(0),n(1)),O=(n.n(k),n(144)),E=n.n(O),C=n(8),j=n.n(C),S=n(10),x=(n.n(S),n(145)),P=n(146),T=(n.n(P),wp.components.Button),R=wp.element,N=R.Component,A=R.Fragment,B=R.createContext,D=wp.blockEditor||wp.editor,M=D.InnerBlocks,I=D.RichText,L=window,z=L.jQuery,V=B(),F=V.Consumer,H=V.Provider,G=["getwid/media-text-slider-slide"],W=E()(function(e){return Object(S.times)(e,function(e){return["getwid/media-text-slider-slide",{slideId:++e}]})}),U=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],q=function(e){function t(){var e;return p()(this,t),e=n.apply(this,arguments),e.changeState=e.changeState.bind(f()(e)),e.addNewSlide=e.addNewSlide.bind(f()(e)),e.getState=e.getState.bind(f()(e)),e.updateContentAttributes=e.updateContentAttributes.bind(f()(e)),e.setInnerBlocksAttributes=e.setInnerBlocksAttributes.bind(f()(e)),e.state={currentSlide:1,selectedSlide:0,isLockedPaddings:!1},e}w()(t,e);var n=i(t);return m()(t,[{key:"changeState",value:function(e,t){this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"setInnerBlocksAttributes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mount",t=arguments.length>1?arguments[1]:void 0,n=(arguments.length>2&&arguments[2],window.wp.data),r=n.select,o=n.dispatch,i=this.props.attributes,a=i.paddingRight,l=i.textColor,c=i.overlayColor,s=i.overlayOpacity,u=i.imageSize,p=this.props.attributes,d=p.contentMaxWidth,m=p.minHeight,g=p.verticalAlign,f=p.horizontalAlign,b=p.paddingTop,w=p.paddingBottom,h=p.paddingLeft,v={attributes:{contentMaxWidth:d,minHeight:m,verticalAlign:g,horizontalAlign:f,paddingTop:b,paddingBottom:w,paddingLeft:h,paddingRight:a,textColor:l,overlayColor:c,overlayOpacity:s,imageSize:u}};if("Update"!=e||!Object(S.isEqual)(this.props.attributes,t.attributes)){var y,_=r("core/block-editor"),k=_.getBlock,O=k(this.props.clientId);O&&(y=O.innerBlocks),y&&y.length&&jQuery.each(y,function(t,n){("Mount"==e&&Object(S.isEmpty)(n.attributes.outerParent)||"Update"==e)&&(o("core/block-editor").updateBlockAttributes(n.clientId,{outerParent:v}),void 0!==n.clientId&&n.innerBlocks.length&&o("core/block-editor").updateBlockAttributes(n.innerBlocks[0].clientId,{innerParent:v}))})}}},{key:"updateContentAttributes",value:function(e){var t=window.wp.data,n=t.dispatch,r=t.select,o=this.props.clientId,i=r("core/block-editor").getBlock(o).innerBlocks,a=this.props.attributes,l=a.contentMaxWidth,c=a.minHeight,s=a.textColor,u=a.overlayColor,p=a.overlayOpacity,d=a.imageSize,m=this.props.attributes,g=m.verticalAlign,f=m.horizontalAlign,b=m.paddingTop,w=m.paddingBottom,h=m.paddingLeft,v=m.paddingRight,y={attributes:{contentMaxWidth:l,minHeight:c,verticalAlign:g,horizontalAlign:f,paddingTop:b,paddingBottom:w,paddingLeft:h,paddingRight:v,textColor:s,overlayColor:u,overlayOpacity:p,imageSize:d}};z.each(i,function(t,r){Object(S.isEqual)(e,r.innerBlocks[0].clientId)&&n("core/block-editor").updateBlockAttributes(e,{innerParent:y})})}},{key:"addNewSlide",value:function(e){var t=this.props.setAttributes,n=this.props.attributes.sliderArrays,r=JSON.parse(n),o=this.changeState,i=this.getState;if(r.length<e){var a=Math.abs(e-r.length);Object(S.times)(a,function(t){var n=e-t;r.push(sprintf(Object(k.__)("Slide %d","getwid"),n))}),t({sliderArrays:JSON.stringify(r),slideCount:e})}else e-1<i("selectedSlide")&&(o("selectedSlide",e-1),o("currentSlide",e)),t({sliderArrays:JSON.stringify(r.slice(0,e)),slideCount:e})}},{key:"componentDidMount",value:function(){var e=this.props.setAttributes,t=this.props.attributes,n=t.sliderArrows,r=t.sliderDots;n&&r||e({sliderArrows:"outside",sliderDots:"outside"}),this.setInnerBlocksAttributes("Mount")}},{key:"componentDidUpdate",value:function(e,t){this.setInnerBlocksAttributes("Update",e,t)}},{key:"render",value:function(){var e,t=this,n=this.changeState,r=this.getState,i=this.props.attributes,a=i.slideCount,c=i.align,u=i.sliderArrays,p=this.props,d=p.className,m=p.baseClass,g=JSON.parse(u),f=j()(d,(e={},s()(e,"".concat(m,"--current-slide-").concat(r("currentSlide")),!0),s()(e,"alignfull","full"===c),s()(e,"alignwide","wide"===c),e)),b=function(e,n){var r=t.props.setAttributes,o=JSON.parse(u);o[n]=e,r({sliderArrays:JSON.stringify(o)})},w=function(e){if(void 0!==g[e])return wp.element.createElement(A,null,wp.element.createElement("li",{className:"".concat(m,"__title-wrapper ").concat(m,"__title-wrapper-").concat(e," ").concat(m,"__title-wrapper--").concat(1+e===r("currentSlide")?"active":"inactive")},wp.element.createElement("span",{className:"".concat(m,"__title ").concat(m,"__title-").concat(1+e),onClick:function(){n("currentSlide",1+e),n("selectedSlide",e)}},wp.element.createElement(I,{tagName:"div",className:"".concat(m,"__title_text"),placeholder:Object(k.__)("Slide","getwid"),value:g[e]?void 0!==g[e].text?g[e].text:g[e]:Object(k.__)("Slide","getwid"),unstableOnFocus:function(){return n("currentSlide",1+e)},onChange:function(t){b(t,e)},allowedFormats:U}))))},h=this.addNewSlide,v=this.state.isLockedPaddings;return wp.element.createElement(A,null,wp.element.createElement(x.a,l()({},o(o({},this.props),{},{isLockedPaddings:v,changeState:n,addNewSlide:h,getState:r}),{key:"inspector"})),wp.element.createElement("div",{className:f},wp.element.createElement("div",{className:"".concat(m,"__slides-wrapper")},wp.element.createElement("ul",{className:"".concat(m,"__titles")},wp.element.createElement(A,null,Object(S.times)(a,function(e){return w(e)}),wp.element.createElement("li",{className:"".concat(m,"__add-item")},wp.element.createElement(T,{icon:"insert",onClick:function(){return h(a+1)},label:Object(k.__)("Add Item","getwid")})))),wp.element.createElement("div",{className:"".concat(m,"__content")},wp.element.createElement(H,{value:this},wp.element.createElement(M,{template:W(a),templateLock:"all",templateInsertUpdatesSelection:!1,allowedBlocks:G}))))))}}]),t}(N);t.b=q},function(e,t,n){"use strict";var r={slideCount:{type:"number",default:3},imageSize:{type:"string",default:"full"},align:{type:"string"},contentMaxWidth:{type:"number"},minHeight:{type:"string"},verticalAlign:{type:"string"},horizontalAlign:{type:"string"},paddingTop:{type:"string"},paddingBottom:{type:"string"},paddingLeft:{type:"string"},paddingRight:{type:"string"},textColor:{type:"string"},overlayColor:{type:"string"},overlayOpacity:{type:"number",default:"30"},contentAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-animation",default:"fadeIn"},contentAnimationDuration:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-duration",default:"1500ms"},contentAnimationDelay:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-delay",default:"0ms"},sliderAnimationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"data-slide-effect"},sliderAutoplay:{type:"boolean",default:!1},pauseOnHover:{type:"boolean",default:!0},sliderAutoplaySpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"data-slide-autoplay-speed",default:5e3},sliderAnimationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider__content",attribute:"slide-speed",default:1e3},sliderArrays:{type:"string",source:"attribute",selector:".wp-block-getwid-media-text-slider",attribute:"data-labels",default:'["Slide 1","Slide 2","Slide 3"]'},sliderArrows:{type:"string"},sliderDots:{type:"string"}};t.a=r},function(e,t){},function(e,t,n){"use strict";n.d(t,"b",function(){return d}),n.d(t,"a",function(){return m});var r=n(7),o=n.n(r),i=n(1),a=(n.n(i),n(10)),l=(n.n(a),n(54)),c=window,s=c.jQuery,u=wp.data.select,p=wp.blocks.createBlock,d=function(e){var t=s.isPlainObject(e)?e.images:e,n=JSON.stringify(Object(a.times)(t.length,function(e){return"Slide ".concat(e+1)})),r=function(e){return[p("core/heading",{placeholder:Object(i.__)("Write heading…","getwid"),content:e.caption}),p("core/paragraph",{placeholder:Object(i.__)("Write text…","getwid")})]};return p("getwid/media-text-slider",{slideCount:t.length,sliderArrays:n},t.map(function(e,t){return p("getwid/media-text-slider-slide",{slideId:++t},[p("getwid/media-text-slider-slide-content",{mediaId:e.id,mediaUrl:e.url},r(e))])}))},m=function(e,t,n){var r=[],i=u("core/block-editor").getSelectedBlockClientId(),c=u("core/block-editor").getBlock(i).innerBlocks;if(c.length&&s.each(c,function(e,t){if(void 0!==t.innerBlocks[0].attributes.mediaUrl){var i;if(n&&n.push(t.innerBlocks[0].attributes.mediaId),r.push((i={},o()(i,!n&&"caption",""),o()(i,"id",t.innerBlocks[0].attributes.mediaId),o()(i,"url",t.innerBlocks[0].attributes.mediaUrl),i)),!n){var a=t.innerBlocks[0].innerBlocks[0];""!=a.attributes.content&&(r[r.length-1].caption=a.attributes.content)}}}),"image"==t.split("/").pop())return r.length?r.map(function(e){var n=e.id,r=e.url,o=e.caption;return p(t,{id:n,url:r,caption:o})}):p(t,{});if(Object(a.isEqual)(t,"getwid/content-timeline"))return Object(l.a)(r);var d;return p(t,(d={},o()(d,n&&"imageSize",e.imageSize),o()(d,"images",r.length?r.map(function(e){return{id:e.id,url:e.url,caption:e.caption}}):[]),o()(d,n&&"ids",n?n.length?n:[]:null),d))}},function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return f});var r=n(55),o=n.n(r),i=n(15),a=n.n(i),l=n(1),c=(n.n(l),n(10)),s=(n.n(c),n(53)),u=wp.data.select,p=wp.blocks.createBlock,d=window,m=d.jQuery,g=function(e){var t=m.isPlainObject(e)?a()(e.images):a()(e);return p("getwid/content-timeline",{},t.map(function(t,n){return p("getwid/content-timeline-item",{id:t.id,alt:t.alt,url:t.url,imageSize:e.imageSize},[p("core/heading",{placeholder:Object(l.__)("Write heading…","getwid"),content:t.caption}),p("core/paragraph",{placeholder:Object(l.__)("Write heading…","getwid")})])}))},f=function(e){var t=u("core/block-editor"),n=t.getBlock,r=t.getSelectedBlockClientId,i=r(),a=n(i).innerBlocks,l=[];return a.length&&m.each(a,function(e,t){var n=o()(t.innerBlocks,1),r=n[0];void 0!==t.attributes.url&&l.push({id:t.attributes.id,url:t.attributes.url,alt:t.attributes.alt,caption:r.attributes.content})}),Object(c.isEqual)(e,"core/image")?l.length?l.map(function(t){var n=t.id,r=t.url,o=t.alt,i=t.caption;return p(e,{id:n,url:r,alt:o,caption:i})}):p(e,{}):Object(c.isEqual)(e,"getwid/media-text-slider")?Object(s.b)(l):p(e,{imageSize:a[0].attributes.imageSize,images:l.length?l.map(function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}):[],ids:l.map(function(e){return e.id})})}},function(e,t,n){function r(e,t){return o(e)||i(e,t)||a()}var o=n(32),i=n(149),a=n(33);e.exports=r},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=m()(e);if(t()){var o=m()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p()(this,n)}}n.d(t,"a",function(){return C});var o=n(2),i=n.n(o),a=n(4),l=n.n(a),c=n(5),s=n.n(c),u=n(6),p=n.n(u),d=n(3),m=n.n(d),g=(n(0),n(22)),f=n(1),b=(n.n(f),g.a.convertHorizontalAlignToStyle),w=g.a.convertVerticalAlignToStyle,h=wp.blockEditor||wp.editor,v=h.InnerBlocks,y=wp.element,_=y.Component,k=y.Fragment,O=y.createContext,E=O(),C=E.Consumer,j=E.Provider,S=["getwid/media-text-slider-slide-content"],x=[["getwid/media-text-slider-slide-content"]],P=function(e){function t(){return i()(this,t),n.apply(this,arguments)}s()(t,e);var n=r(t);return l()(t,[{key:"render",value:function(){var e,t,n,r,o,i,a,l,c=this.props.className,s=this.props.attributes,u=s.slideId,p=s.outerParent;if(void 0!==p.attributes){var d=p.attributes;e=d.paddingTop,t=d.paddingBottom,n=d.paddingLeft,r=d.paddingRight,o=d.minHeight,i=d.horizontalAlign,a=d.verticalAlign,l=d.contentMaxWidth}var m={};void 0!==p.attributes&&(m={paddingTop:e||null,paddingBottom:t||null,paddingLeft:n||null,paddingRight:r||null,minHeight:o||null,justifyContent:i?b(i):null,alignItems:a?w(a):null});var g;void 0!==p.attributes&&(g=void 0!==p&&void 0!==l?l:"80%");var f={maxWidth:g||null,width:"100%"};return wp.element.createElement(k,null,wp.element.createElement("div",{className:"".concat(c,"__content-wrapper slide-").concat(u)},wp.element.createElement("div",{style:m,className:"".concat(c,"__content")},wp.element.createElement("div",{style:f},wp.element.createElement(j,{value:this.props},wp.element.createElement(v,{templateLock:"all",template:x,templateInsertUpdatesSelection:!1,allowedBlocks:S}))))))}}]),t}(_);t.b=P},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r={backgroundColor:{type:"string"},textColor:{type:"string"},customBackgroundColor:{type:"string"},customTextColor:{type:"string"},imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-banner__source",attribute:"src"},type:{type:"string",default:"image"},title:{type:"string",source:"html",selector:"span"},text:{type:"string",source:"html",selector:"p"},link:{type:"string",source:"attribute",selector:".wp-block-getwid-banner a",attribute:"href"},align:{type:"string"},minHeight:{type:"string"},contentMaxWidth:{type:"string"},verticalAlign:{type:"string",default:"center"},horizontalAlign:{type:"string",default:"center"},backgroundOpacity:{type:"number",default:35},blockAnimation:{type:"string",default:"style4"},textAnimation:{type:"string",default:"opacity-bottom"},linkTarget:{type:"string",source:"attribute",selector:".wp-block-getwid-banner__link",attribute:"target"},rel:{type:"string",source:"attribute",selector:".wp-block-getwid-banner__link",attribute:"rel"}};t.a=r},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}n.d(t,"a",function(){return X});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(192)),S=n(8),x=n.n(S),P=n(193),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,B=wp.blockEditor||wp.editor,D=B.InnerBlocks,M=B.RichText,I=B.BlockControls,L=wp.element,z=L.Component,V=L.Fragment,F=L.createContext,H=wp.components,G=H.Button,W=H.TextControl,U=H.ToolbarGroup,q=wp.blocks,Q=q.createBlock,K=q.cloneBlock,Y=window,J=Y.jQuery,$=["getwid/tabs-item"],Z=F(),X=Z.Consumer,ee=Z.Provider,te=["core/bold","core/italic","core/link","core/image","core/strikethrough","core/text-color"],ne=function(e){function t(){var e;m()(this,t),e=n.apply(this,arguments);var r=e.props.attributes.active;return e.updateParentOptions=e.updateParentOptions.bind(w()(e)),e.renderConstructorForm=e.renderConstructorForm.bind(w()(e)),e.onConstructAcc=e.onConstructAcc.bind(w()(e)),e.changeState=e.changeState.bind(w()(e)),e.getState=e.getState.bind(w()(e)),e.addTab=e.addTab.bind(w()(e)),e.moveTabLeft=e.moveTabLeft.bind(w()(e)),e.moveTabRight=e.moveTabRight.bind(w()(e)),e.duplicateTab=e.duplicateTab.bind(w()(e)),e.deleteTab=e.deleteTab.bind(w()(e)),e.state={selectedTab:void 0!==r?parseInt(r):0,initTabs:!1,initNavs:!1,updateNavs:!1,initialTabsCount:3},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onConstructAcc",value:function(e){e.preventDefault(),this.changeState({initTabs:!0})}},{key:"renderConstructorForm",value:function(){var e=this,t=this.state.initialTabsCount;return wp.element.createElement("form",{onSubmit:this.onConstructAcc},wp.element.createElement(W,{type:"number",label:Object(E.__)("Number of items","getwid"),onChange:function(t){return e.changeState({initialTabsCount:t})},value:t,min:"1"}),wp.element.createElement(G,{isPrimary:!0,type:"submit"},Object(E.__)("Create","getwid")))}},{key:"render",value:function(){var e,t=this,n=this.changeState,r=this.getState,i=this.props,a=i.attributes,c=a.align,u=a.active,p=a.type,d=a.headerTag,m=i.className,g=i.baseClass,f=i.getBlock,b=i.clientId,w=i.isSelected,h=i.updateBlockAttributes,v=this.state,y=v.selectedTab,_=v.initialTabsCount,k=v.initTabs,O=f(b);if(e=O.innerBlocks,!e.length&&0==k)return this.renderConstructorForm();var S=d;return wp.element.createElement(V,null,wp.element.createElement(I,{key:"toolbar"},wp.element.createElement(U,{controls:this.getTabsDropdown()})),wp.element.createElement(j.a,l()({},o(o(o({},this.props),{changeState:n}),{getState:r}),{key:"inspector"})),wp.element.createElement("div",{className:x()(m,"".concat(g,"--current-tab-").concat(y+1),s()({},"has-layout-".concat(p),""!==p),c?"align".concat(c):null),"data-active-tab":void 0!=u?u:"0"},wp.element.createElement("ul",{className:"".concat(g,"__nav-links")},e.map(function(e,n){return wp.element.createElement(V,null,wp.element.createElement("li",{className:x()("".concat(g,"__nav-link"),{"active-tab":y==n}),onClick:function(e){t.selectTab(n)}},wp.element.createElement(S,{className:"".concat(g,"__title-wrapper")},wp.element.createElement("a",{href:"#"},wp.element.createElement("div",{className:"".concat(g,"__edit-area")},wp.element.createElement(M,{tagName:"span",className:"".concat(g,"__title"),placeholder:Object(E.__)("Write heading…","getwid"),value:e.attributes.title,allowedFormats:te,onChange:function(t){h(e.clientId,{title:t})},keepPlaceholderOnFocus:!0}))))))}),w&&wp.element.createElement("div",{className:"".concat(g,"__add-tab")},wp.element.createElement(G,{icon:"insert",onClick:function(n){t.addTab(e.length)},label:Object(E.__)("Add Tab","getwid")}))),wp.element.createElement("div",{className:"".concat(g,"__tab-content-wrapper")},wp.element.createElement("div",{className:"".concat(g,"__tab-content")},wp.element.createElement(ee,{value:this},wp.element.createElement(D,{__experimentalUIParts:{hasSelectedUI:!1,hasMovers:!1},templateInsertUpdatesSelection:!1,allowedBlocks:$,template:Object(C.times)(_,function(e){return["getwid/tabs-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),++e)}]}),templateLock:!1,renderAppender:function(){return""}}))))))}},{key:"getTabsDropdown",value:function(){var e=this,t=this.state.selectedTab,n=this.props,r=n.getBlock,o=n.clientId,i=r(o),a=i.innerBlocks;return[{icon:"table-col-before",title:Object(E.__)("Add Item Before","getwid"),isDisabled:null===t,onClick:function(){e.addTab(0==t?0:t-1)}},{icon:"table-col-after",title:Object(E.__)("Add Item After","getwid"),isDisabled:null===t,onClick:function(){e.addTab(t+1)}},{icon:"arrow-left-alt2",title:Object(E.__)("Move Item Left","getwid"),isDisabled:null===t||0===t,onClick:this.moveTabLeft},{icon:"arrow-right-alt2",title:Object(E.__)("Move Item Right","getwid"),isDisabled:null===t||t===a.length-1,onClick:this.moveTabRight},{icon:"admin-page",title:Object(E.__)("Duplicate Item","getwid"),isDisabled:null===t,onClick:this.duplicateTab},{icon:"trash",title:Object(E.__)("Delete Item","getwid"),isDisabled:null===t||1==a.length,onClick:this.deleteTab}]}},{key:"moveTabLeft",value:function(){var e=this.state.selectedTab,t=this.props,n=t.moveBlockToPosition,r=t.getBlock,o=t.clientId;n(r(o).innerBlocks[e].clientId,o,o,e-1),this.selectTab(e-1)}},{key:"moveTabRight",value:function(){var e=this.state.selectedTab,t=this.props,n=t.moveBlockToPosition,r=t.getBlock,o=t.clientId;n(r(o).innerBlocks[e].clientId,o,o,e+1),this.selectTab(e+1)}},{key:"duplicateTab",value:function(){var e=this.state.selectedTab,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){var a=i.innerBlocks;if(a.length&&void 0!==a[e]){var l=K(r(a[e].clientId));l.attributes.title="".concat(l.attributes.title," ").concat(Object(E.__)("Copy","getwid")),n(l,e+1,o)}}}},{key:"deleteTab",value:function(){var e=this.state.selectedTab,t=this.props,n=t.removeBlocks,r=t.getBlock,o=t.clientId,i=r(o);if(i){var a=i.innerBlocks;a.length&&void 0!==a[e]&&(n(a[e].clientId),this.selectTab(0))}}},{key:"selectTab",value:function(e){this.setState({selectedTab:e})}},{key:"addTab",value:function(e){var t,n=this.props,r=n.insertBlock,o=n.selectBlock,i=n.getBlock,a=n.clientId,l=i(a);if(l){t=l.innerBlocks;r(Q("getwid/tabs-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),t.length+1)}),e,a),this.selectTab(e),o(a)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this.state,o=(r.selectedTab,r.initNavs,this.props.clientId),i=this.props,a=i.getBlock,l=i.updateBlockAttributes,c=a(o);c&&(n=c.innerBlocks);var s=(J("#block-".concat(o)),this.props.attributes.headerTag);Object(C.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&J.each(n,function(e,t){l(t.clientId,{outerParent:{attributes:{headerTag:s}}})})}},{key:"updateParentOptions",value:function(e){var t=this.state.updateNavs;"init"==e?this.changeState({initNavs:!0}):"update"==e&&this.changeState({updateNavs:!t})}}]),t}(z);t.b=T([N(function(e,t){var n=e("core/block-editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/block-editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,moveBlockToPosition:n.moveBlockToPosition,removeBlocks:n.removeBlocks,updateBlockAttributes:r,selectBlock:n.selectBlock}})])(ne)},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}n.d(t,"a",function(){return K});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(206)),S=n(8),x=n.n(S),P=n(207),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,B=wp.blockEditor||wp.editor,D=B.InnerBlocks,M=wp.element,I=M.Component,L=M.Fragment,z=M.createContext,V=wp.components,F=V.TextControl,H=V.Button,G=wp.blocks.createBlock,W=window,U=W.jQuery,q=["getwid/accordion-item"],Q=z(),K=Q.Consumer,Y=Q.Provider,J=function(e){function t(){var e;return m()(this,t),e=n.apply(this,arguments),e.updateParentOptions=e.updateParentOptions.bind(w()(e)),e.renderConstructorForm=e.renderConstructorForm.bind(w()(e)),e.onConstructAcc=e.onConstructAcc.bind(w()(e)),e.changeState=e.changeState.bind(w()(e)),e.getState=e.getState.bind(w()(e)),e.addItem=e.addItem.bind(w()(e)),e.state={initAccordions:!1,initialAccCount:3},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onConstructAcc",value:function(e){e.preventDefault(),this.changeState({initAccordions:!0})}},{key:"renderConstructorForm",value:function(){var e=this,t=this.state.initialAccCount;return wp.element.createElement("form",{onSubmit:this.onConstructAcc},wp.element.createElement(F,{type:"number",label:Object(E.__)("Number of items","getwid"),onChange:function(t){return e.changeState({initialAccCount:t})},value:t,min:"1"}),wp.element.createElement(H,{isPrimary:!0,type:"submit"},Object(E.__)("Create","getwid")))}},{key:"render",value:function(){var e,t,n=this,r=this.changeState,i=this.getState,a=this.props,c=a.attributes,u=c.align,p=c.iconPosition,d=c.active,m=a.className,g=a.baseClass,f=a.getBlock,b=a.clientId,w=a.isSelected,h=this.state,v=h.initialAccCount,y=h.initAccordions;return t=f(b).innerBlocks,t.length||0!=y?wp.element.createElement(L,null,wp.element.createElement(j.a,l()({},o(o(o({},this.props),{changeState:r}),{getState:i}),{key:"inspector"})),wp.element.createElement("div",{className:x()(m,(e={},s()(e,"".concat(g,"--current-item-").concat(parseInt(d,10)+1),"none"!=d),s()(e,"has-icon-left","left"===p),e),u?"align".concat(u):null),"data-active-element":void 0!=d?d:"0"},wp.element.createElement(Y,{value:this},wp.element.createElement(D,{templateInsertUpdatesSelection:!1,allowedBlocks:q,template:Object(C.times)(v,function(e){return["getwid/accordion-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),++e)}]}),templateLock:!1,renderAppender:function(){return w?wp.element.createElement("div",{className:"".concat(g,"__add-accordion")},wp.element.createElement(H,{icon:"insert",onClick:n.addItem,label:Object(E.__)("Add Accordion","getwid")})):""}})))):this.renderConstructorForm()}},{key:"addItem",value:function(){var e,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){e=i.innerBlocks;n(G("getwid/accordion-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),e.length+1)}),e.length,o)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this.props.clientId,o=this.props,i=o.getBlock,a=o.updateBlockAttributes,l=i(r);l&&(n=l.innerBlocks);var c=(U("#block-".concat(r)),this.props.attributes),s=c.iconPosition,u=c.iconOpen,p=c.iconClose,d=c.active,m=c.headerTag;Object(C.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&U.each(n,function(e,t){a(t.clientId,{outerParent:{attributes:{iconPosition:s,iconOpen:u,iconClose:p,active:d,headerTag:m}}})})}},{key:"updateParentOptions",value:function(){var e=this.props.clientId;U("#block-".concat(e))}}]),t}(I);t.b=T([N(function(e,t){var n=e("core/block-editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/block-editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,updateBlockAttributes:r}})])(J)},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}n.d(t,"a",function(){return K});var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=(n(0),n(1)),C=(n.n(E),n(10)),j=(n.n(C),n(219)),S=n(8),x=n.n(S),P=n(220),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,B=wp.blockEditor||wp.editor,D=B.InnerBlocks,M=wp.element,I=M.Component,L=M.Fragment,z=M.createContext,V=wp.components,F=V.TextControl,H=V.Button,G=wp.blocks.createBlock,W=window,U=W.jQuery,q=["getwid/toggle-item"],Q=z(),K=Q.Consumer,Y=Q.Provider,J=function(e){function t(){var e;return m()(this,t),e=n.apply(this,arguments),e.updateParentOptions=e.updateParentOptions.bind(w()(e)),e.renderConstructorForm=e.renderConstructorForm.bind(w()(e)),e.onConstructToggle=e.onConstructToggle.bind(w()(e)),e.changeState=e.changeState.bind(w()(e)),e.getState=e.getState.bind(w()(e)),e.addItem=e.addItem.bind(w()(e)),e.state={initToggle:!1,initialToggleCount:3},e}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"getState",value:function(e){return this.state[e]}},{key:"onConstructToggle",value:function(e){e.preventDefault(),this.changeState({initToggle:!0})}},{key:"renderConstructorForm",value:function(){var e=this,t=this.state.initialToggleCount;return wp.element.createElement("form",{onSubmit:this.onConstructToggle},wp.element.createElement(F,{type:"number",label:Object(E.__)("Number of items","getwid"),onChange:function(t){return e.changeState({initialToggleCount:t})},value:t,min:"1"}),wp.element.createElement(H,{isPrimary:!0,type:"submit"},Object(E.__)("Create","getwid")))}},{key:"render",value:function(){var e,t=this,n=this.changeState,r=this.getState,i=this.props,a=i.attributes.iconPosition,c=i.className,s=i.baseClass,u=i.getBlock,p=i.clientId,d=i.isSelected,m=this.state,g=m.initialToggleCount,f=m.initToggle;return e=u(p).innerBlocks,e.length||0!=f?wp.element.createElement(L,null,wp.element.createElement(j.a,l()({},o(o(o({},this.props),{changeState:n}),{getState:r}),{key:"inspector"})),wp.element.createElement("div",{className:x()(c,{"has-icon-left":"left"===a})},wp.element.createElement(Y,{value:this},wp.element.createElement(D,{templateInsertUpdatesSelection:!1,allowedBlocks:q,template:Object(C.times)(g,function(e){return["getwid/toggle-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),++e)}]}),templateLock:!1,renderAppender:function(){return d?wp.element.createElement("div",{className:"".concat(s,"__add-toggle")},wp.element.createElement(H,{icon:"insert",onClick:t.addItem,label:Object(E.__)("Add Toggle","getwid")})):""}})))):this.renderConstructorForm()}},{key:"addItem",value:function(){var e,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){e=i.innerBlocks;n(G("getwid/toggle-item",{title:Object(E.sprintf)(Object(E.__)("Element #%d","getwid"),e.length+1)}),e.length,o)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this.props.clientId,o=this.props,i=o.getBlock,a=o.updateBlockAttributes,l=i(r);l&&(n=l.innerBlocks);var c=(U("#block-".concat(r)),this.props.attributes),s=c.iconPosition,u=c.iconOpen,p=c.iconClose,d=c.headerTag;Object(C.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&U.each(n,function(e,t){a(t.clientId,{outerParent:{attributes:{iconPosition:s,iconOpen:u,iconClose:p,headerTag:d}}})})}},{key:"updateParentOptions",value:function(){var e=this.props.clientId;U("#block-".concat(e))}}]),t}(I);t.b=T([N(function(e,t){var n=e("core/block-editor"),r=n.getBlock;return{getEditorSettings:n.getEditorSettings,getBlock:r}}),A(function(e,t){var n=e("core/block-editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,updateBlockAttributes:r}})])(J)},function(e,t){},function(e,t,n){"use strict";var r={align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-getwid-images-stack .wp-block-getwid-images-stack__media-wrapper",query:{url:{source:"attribute",selector:"img",attribute:"src"},original_url:{source:"attribute",selector:"a",attribute:"href"},link:{source:"attribute",selector:"img",attribute:"data-link"},alt:{source:"attribute",selector:"img",attribute:"alt",default:""},id:{source:"attribute",selector:"img",attribute:"data-id"},caption:{type:"string",source:"html",selector:"figcaption"}}},ids:{type:"array",default:[]},imageSize:{type:"string",default:"full"},linkTo:{type:"string",default:"none"},stackStyle:{type:"string",default:"default"},stackOverlap:{type:"string",default:"default"}};t.a=r},function(e,t){},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=v()(e);if(t()){var o=v()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w()(this,n)}}var o=n(254),i=n.n(o),a=n(256),l=n.n(a),c=n(2),s=n.n(c),u=n(4),p=n.n(u),d=n(11),m=n.n(d),g=n(5),f=n.n(g),b=n(6),w=n.n(b),h=n(3),v=n.n(h),y=n(7),_=n.n(y),k=n(0),O=n(8),E=n.n(O),C=n(1),j=(n.n(C),n(257)),S=(n.n(j),lodash),x=S.startCase,P=S.toLower,T=window,R=(T.jQuery,wp.compose.withInstanceId),N=wp.components,A=N.Button,B=N.BaseControl,D=N.Dropdown,M=N.MenuGroup,I=N.MenuItem,L=N.SelectControl,z=N.TextControl,V=wp.element.Component,F=function(e){function t(){var e;return s()(this,t),e=n.apply(this,arguments),_()(m()(e),"enableGoogleFonts",!0),e.search=React.createRef(),e.enableGoogleFonts=wp.hooks.applyFilters("getwid.fontsControl.enableGoogleFonts",e.enableGoogleFonts),e.state={googleFonts:null,fonts:null,search:"",selectedFont:null},e}f()(t,e);var n=r(t);return p()(t,[{key:"componentDidMount",value:function(){function e(){return t.apply(this,arguments)}var t=l()(i.a.mark(function e(){var t,n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=[],!this.enableGoogleFonts){e.next=5;break}return e.next=4,this.loadGoogleFonts();case 4:t.push({id:"google-fonts",title:Object(C.__)("Google Fonts","getwid"),items:this.state.googleFonts});case 5:return n=wp.hooks.applyFilters("getwid.fontsControl.fonts",t),n=this.processLoadedFonts(n),e.abrupt("return",this.setState({fonts:n}));case 8:case"end":return e.stop()}},e,this)}));return e}()},{key:"loadGoogleFonts",value:function(){var e=this;return fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyAWN8pd8HMruaR92oVbykdg-Q2HpgsikKU").then(function(e){return e.json()}).then(function(t){e.setState({googleFonts:t.items})})}},{key:"processLoadedFonts",value:function(e){var t=this;return e.map(function(e){return e.items.map(function(e){return e.variants=t.filterFontVariants(e.variants),e.family===t.props.value&&t.setState({selectedFont:e}),e}),e})}},{key:"filterFontVariants",value:function(e){return e.filter(function(e){return"italic"!==e}).map(function(e){return{label:"regular"===P(e)?"400":x(P(e)),value:"regular"===e?"normal":e}})}},{key:"selectFont",value:function(e,t){this.props.onChangeFontGroupID(e),this.props.onChangeFontFamily(t.family),this.props.onChangeFontWeight("normal"),this.setState({selectedFont:t,search:""})}},{key:"fontMatchesSearch",value:function(e){var t=this.state.search;return!t||e.family.toLowerCase().includes(t.toLowerCase())||e.title&&e.title.toLowerCase().includes(t.toLowerCase())}},{key:"render",value:function(){var e=this,t="inspector-fonts-control-".concat(this.props.instanceId),n=this.state.selectedFont&&this.state.selectedFont.variants?this.state.selectedFont.variants:null,r=this.state.selectedFont&&this.state.selectedFont.title?this.state.selectedFont.title:this.props.value;return wp.element.createElement("div",{className:"components-getwid-fonts-control"},wp.element.createElement(B,{label:this.props.label,id:t},null!==this.state.fonts?wp.element.createElement(D,{contentClassName:"components-getwid-fonts-popover",position:"bottom center",renderToggle:function(e){var n=e.isOpen,o=e.onToggle;return wp.element.createElement(A,{isLarge:!0,className:"components-getwid-fonts-button",id:t,onClick:o,"aria-expanded":n},r||Object(C.__)("Select Font Family","getwid"))},renderContent:function(t){var n=t.onToggle;return wp.element.createElement(M,null,wp.element.createElement(z,{value:e.state.search,onChange:function(t){return e.setState({search:t})}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(I,{onClick:function(){n(),e.props.onChangeFontGroupID(""),e.props.onChangeFontFamily(""),e.props.onChangeFontWeight(""),e.setState({selectedFont:null,search:""})}},Object(C.__)("Default","getwid")),e.state.fonts.map(function(t){var r=t.id;return Object(k.b)(k.a,null,wp.element.createElement("h4",{style:{margin:0}},t.title),t.items.map(function(t){if(e.fontMatchesSearch(t))return wp.element.createElement(I,{className:E()({"is-selected":t.family===e.props.value}),onClick:function(){n(),e.selectFont(r,t)}},t.title||t.family)}))})))}}):Object(C.__)("Loading…","getwid")),wp.element.createElement(L,{label:Object(C.__)("Font Weight","getwid"),value:this.props.valueWeight||"",options:n||[{value:"",label:Object(C.__)("Default","getwid")},{value:"100",label:"100"},{value:"200",label:"200"},{value:"300",label:"300"},{value:"normal",label:"400"},{value:"500",label:"500"},{value:"600",label:"600"},{value:"700",label:"700"},{value:"800",label:"800"},{value:"900",label:"900"}],onChange:this.props.onChangeFontWeight}))}}]),t}(V);t.a=R(F)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(20),s=r(c),u=n(24),p=r(u),d=function(e){function t(){var e,n,r,a;o(this,t);for(var l=arguments.length,c=Array(l),s=0;s<l;s++)c[s]=arguments[s];return n=r=i(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(c))),r.link=null,r.createLink=function(){var e=r.props,t=e.fonts,n=e.subsets,o=t.reduce(function(e,t){var n=t.font.replace(/ +/g,"+"),r=(t.weights||[]).join(",");return e.push(n+(r&&":"+r)),e},[]).join("|"),i=document.createElement("link");return i.rel="stylesheet",i.href="https://fonts.googleapis.com/css?family="+o,n&&Array.isArray(n)&&n.length>0&&(i.href+="&subset="+n.join(",")),i},r.appendLink=function(){return document.head.appendChild(r.link)},r.removeLink=function(){return document.head.removeChild(r.link)},r.replaceLink=function(){r.removeLink(),r.link=r.createLink(),r.appendLink()},r.render=function(){return null},a=n,i(r,a)}return a(t,e),l(t,[{key:"componentDidMount",value:function(){this.link=this.createLink(),this.appendLink()}},{key:"componentDidUpdate",value:function(e){JSON.stringify(e.fonts)!==JSON.stringify(this.props.fonts)&&this.replaceLink()}},{key:"componentWillUnmount",value:function(){this.removeLink()}}]),t}(s.default.PureComponent);d.propTypes={fonts:p.default.arrayOf(p.default.shape({font:p.default.string.isRequired,weights:p.default.arrayOf(p.default.oneOfType([p.default.string,p.default.number]))})).isRequired,subsets:p.default.arrayOf(p.default.string)},t.default=d},function(e,t){},function(e,t){},function(e,t,n){"use strict";var r={imageSize:{type:"string",default:"full"},imageCrop:{type:"boolean",default:!0},title:{type:"string",source:"html",selector:".wp-block-getwid-person__title"},subtitle:{type:"string",source:"html",selector:".wp-block-getwid-person__subtitle"},content:{type:"string",source:"html",selector:".wp-block-getwid-person__content"},imgId:{type:"number"},imgUrl:{type:"string",source:"attribute",attribute:"src",selector:".wp-block-getwid-person__image img"},imgAlt:{type:"string",source:"attribute",attribute:"alt",selector:".wp-block-getwid-person__image img"}};t.a=r},function(e,t,n){"use strict";var r={photoCount:{type:"number",default:6},gridColumns:{type:"number",default:3},spacing:{type:"string",default:"default"},align:{type:"string"},className:{type:"string"}};t.a=r},function(e,t,n){"use strict";var r=(n(0),n(1)),o=(n.n(r),window),i=(o.jQuery,wp.blockEditor||wp.editor),a=i.PlainText,l=wp.components.ToggleControl,c="getwid-field-label",s=function(e){var t=e.setAttributes,n=e.label,o=e.isSelected,i=e.required,s=e.requiredDefault;return wp.element.createElement("div",{className:"".concat(c)},wp.element.createElement(a,{value:n,className:"".concat(c,"__input"),onChange:function(e){return t({label:e})},placeholder:Object(r.__)("Write label…","getwid")}),o&&!s&&wp.element.createElement(l,{label:Object(r.__)("Required","getwid"),className:"".concat(c,"__required"),checked:i,onChange:function(e){return t({required:e})}}),!o&&i&&!s&&wp.element.createElement("span",{className:"required"},Object(r.__)("Required","getwid")),s&&wp.element.createElement("span",{className:"required"},Object(r.__)("Required","getwid")))};t.a=s},function(e,t,n){"use strict";var r=(n(0),n(76)),o=n(1),i=(n.n(o),window),a=(i.jQuery,wp.element.Fragment),l=wp.blockEditor||wp.editor,c=l.InspectorControls,s=wp.components,u=s.TextControl,p=s.PanelBody,d=function(e){var t=e.type,n=e.className,i=e.setAttributes,l=e.label,s=e.isSelected,d=e.required,m=e.requiredDefault,g=e.placeholder,f=e.id;return wp.element.createElement(a,null,wp.element.createElement("div",{className:"".concat(n)},wp.element.createElement(u,{type:t,label:wp.element.createElement(r.a,{label:l,required:d,isSelected:s,setAttributes:i,requiredDefault:m}),value:g,onChange:function(e){return i({placeholder:e})},title:Object(o.__)("Set the placeholder text","getwid")})),wp.element.createElement(c,null,wp.element.createElement(p,{title:Object(o.__)("Settings","getwid")},wp.element.createElement(u,{label:Object(o.__)("ID","getwid"),value:f,onChange:function(e){return i({id:e})}}))))};t.a=d},function(e,t,n){"use strict";function r(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];o("getwid/".concat(e),t),n.length&&n.forEach(function(e){o("getwid/".concat(e.name),e.settings)})}t.a=r;var o=wp.blocks.registerBlockType},function(e,t,n){"use strict";var r={postTemplate:{type:"string"},postsToShow:{type:"number",default:5},offset:{type:"number",default:0},ignoreSticky:{type:"boolean",default:!0},filterById:{type:"string"},excludeById:{type:"string"},excludeCurrentPost:{type:"boolean",default:!1},childPagesCurrentPage:{type:"boolean",default:!1},parentPageId:{type:"string"},postType:{type:"string",default:"post"},taxonomy:{type:"array",items:{type:"string"}},terms:{type:"array",items:{type:"string"}},relation:{type:"string",default:"AND"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},align:{type:"string"},sliderSlidesToShowDesktop:{type:"string",default:"2"},sliderSlidesToShowLaptop:{type:"string",default:"1"},sliderSlidesToShowTablet:{type:"string",default:"1"},sliderSlidesToShowMobile:{type:"string",default:"1"},sliderSlidesToScroll:{type:"string",default:"1"},sliderAutoplay:{type:"boolean",default:!1},sliderAutoplaySpeed:{type:"string",default:6e3},sliderInfinite:{type:"boolean",default:!0},sliderAnimationSpeed:{type:"string",default:800},sliderCenterMode:{type:"boolean",default:!1},sliderSpacing:{type:"string",default:"small"},sliderArrows:{type:"string",default:"inside"},sliderDots:{type:"string",default:"outside"},className:{type:"string"},metaQuery:{type:"array",default:[]}};t.a=r},function(e,t,n){"use strict";var r={postTemplate:{type:"string"},postsToShow:{type:"number",default:5},offset:{type:"number",default:0},ignoreSticky:{type:"boolean",default:!0},filterById:{type:"string"},excludeById:{type:"string"},excludeCurrentPost:{type:"boolean",default:!1},childPagesCurrentPage:{type:"boolean",default:!1},parentPageId:{type:"string"},postType:{type:"string",default:"post"},taxonomy:{type:"array",items:{type:"string"}},terms:{type:"array",items:{type:"string"}},relation:{type:"string",default:"AND"},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},minHeight:{type:"string"},align:{type:"string"},textAlignment:{type:"string",default:"left"},sliderAnimationEffect:{type:"string",default:"slide"},sliderAutoplay:{type:"boolean",default:!1},sliderAutoplaySpeed:{type:"string",default:"6000"},sliderInfinite:{type:"boolean",default:!0},sliderAnimationSpeed:{type:"string",default:"800"},sliderArrows:{type:"string",default:"inside"},sliderDots:{type:"string",default:"inside"},className:{type:"string"},metaQuery:{type:"array",default:[]}};t.a=r},function(e,t,n){"use strict";var r={titleColor:{type:"string"},customTitleColor:{type:"string"},iconColor:{type:"string"},customIconColor:{type:"string"},buttonColorHEX:{type:"string"},buttonColor:{type:"string"},customButtonColor:{type:"string"},overlayColor:{type:"string"},customOverlayColor:{type:"string"},imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-video-popup__source",attribute:"src"},title:{type:"string",source:"html",selector:".wp-block-getwid-video-popup__title"},link:{type:"string"},align:{type:"string"},minHeight:{type:"string"},buttonMaxWidth:{type:"string"},overlayOpacity:{type:"number",default:35},imageAnimation:{type:"string",default:"none"},buttonStyle:{type:"string",default:"default"},buttonAnimation:{type:"string",default:"none"},buttonSize:{type:"string",default:"default"}};t.a=r},function(e,t){},function(e,t,n){"use strict";var r={imageSize:{type:"string",default:"full"},id:{type:"number"},url:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot__wrapper img",attribute:"src"},alt:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot__wrapper img",attribute:"alt"},tooltipTrigger:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-trigger",default:"click"},tooltipTheme:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-theme",default:"light"},tooltipArrow:{type:"boolean",default:!0},tooltipAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-tooltip-animation",default:"shift-toward"},dotIcon:{type:"string",default:"fas fa-plus"},dotSize:{type:"number",default:16},dotPaddings:{type:"number",default:6},dotColor:{type:"string"},dotBackground:{type:"string"},dotOpacity:{type:"number",default:100},dotPulse:{type:"string",default:"pulse"},dotAppearanceAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-appearance-animation",default:"none"},align:{type:"string"},hoverAnimation:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-animation",default:""},imagePoints:{type:"string",source:"attribute",selector:".wp-block-getwid-image-hotspot",attribute:"data-image-points",default:""}};t.a=r},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){p()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=C()(e);if(t()){var o=C()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O()(this,n)}}n.d(t,"a",function(){return K});var a=n(28),l=n.n(a),c=n(9),s=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),g=n(2),f=n.n(g),b=n(4),w=n.n(b),h=n(11),v=n.n(h),y=n(5),_=n.n(y),k=n(6),O=n.n(k),E=n(3),C=n.n(E),j=(n(0),n(1)),S=(n.n(j),n(10)),x=(n.n(S),n(496)),P=n(497),T=(n.n(P),wp.compose.compose),R=wp.data,N=R.withSelect,A=R.withDispatch,B=wp.blockEditor||wp.editor,D=B.withColors,M=B.InnerBlocks,I=B.getColorObjectByAttributeValues,L=wp.element,z=L.Component,V=L.Fragment,F=L.createContext,H=wp.components.Button,G=wp.blocks.createBlock,W=window,U=W.jQuery,q=["getwid/content-timeline-item"],Q=F(),K=Q.Consumer,Y=Q.Provider,J=function(e){function t(){var e;return f()(this,t),e=n.apply(this,arguments),e.updateLineHeight=e.updateLineHeight.bind(v()(e)),e.updateBarHeight=e.updateBarHeight.bind(v()(e)),e.setColorByScroll=e.setColorByScroll.bind(v()(e)),e.changeState=e.changeState.bind(v()(e)),e.addItem=e.addItem.bind(v()(e)),e.state={isLockedPaddings:!1},e}_()(t,e);var n=i(t);return w()(t,[{key:"changeState",value:function(e,t){"object"==m()(e)?this.setState(e):"string"==typeof e&&this.setState(p()({},e,t))}},{key:"getColor",value:function(){var e=this.props.getSettings,t=this.props.attributes,n=t.fillColor,r=t.customFillColor;if(n){var o=Object(S.get)(e(),["colors"],[]);return I(o,n).color}if(r)return r}},{key:"render",value:function(){var e=this,t=this.changeState,n=this.state.isLockedPaddings,r=this.props,i=r.className,a=r.baseClass,l=this.getColor(),c={style:{backgroundColor:l||void 0}};return wp.element.createElement(V,null,wp.element.createElement(x.a,s()({},o(o(o({},this.props),{isLockedPaddings:n}),{changeState:t}),{key:"inspector"})),wp.element.createElement("div",{className:"".concat(i)},wp.element.createElement("div",{className:"".concat(a,"__line")},wp.element.createElement("div",s()({className:"".concat(a,"__bar")},c))),wp.element.createElement(Y,{value:this},wp.element.createElement(M,{templateInsertUpdatesSelection:!1,allowedBlocks:q,template:[["getwid/content-timeline-item"]],templateLock:!1,renderAppender:function(){return wp.element.createElement("div",{className:"".concat(a,"__add-item")},wp.element.createElement(H,{icon:"insert",onClick:e.addItem,label:Object(j.__)("Add Item","getwid")}))}}))))}},{key:"addItem",value:function(){var e,t=this.props,n=t.insertBlock,r=t.getBlock,o=t.clientId,i=r(o);if(i){var a=G("getwid/content-timeline-item");e=i.innerBlocks,n(a,e.length,o)}}},{key:"componentDidUpdate",value:function(e,t){var n,r=this,o=this.props.clientId,i=this.props,a=i.getBlock,l=i.updateBlockAttributes,c=a(o);c&&(n=c.innerBlocks);var s=U("#block-".concat(o)),u=this.props.attributes,p=u.backgroundColor,d=u.customBackgroundColor,m=this.props.attributes,g=m.paddingTop,f=m.paddingBottom,b=m.paddingLeft,w=m.paddingRight,h=m.animation,v=this.props.attributes,y=v.horizontalSpace,_=v.marginBottom,k=this.getColor();Object(S.isEqual)(e.attributes,this.props.attributes)||n&&n.length&&U.each(n,function(e,t){l(t.clientId,{outerParent:{attributes:{backgroundColor:p,customBackgroundColor:d,paddingTop:g,paddingBottom:f,paddingLeft:b,paddingRight:w,horizontalSpace:y,marginBottom:_,pointColor:k,animation:h}}})});var O=this.props.attributes.filling;if(!Object(S.isEqual)(e.attributes.filling,O)){var E=U(".edit-post-layout").find("div[class$=__content]");if(U.parseJSON(O)){var C=function(){r.setColorByScroll(s),r.updateBarHeight(s)};C(),E.scroll(function(){C()})}else E.off(),this.disableFilling(s)}var j=this.props.attributes,x=j.fillColor,P=j.customFillColor;if(!Object(S.isEqual)(e.attributes.fillColor,x)||!Object(S.isEqual)(e.attributes.customFillColor,P)){var T=s.find("div[class$=__point]"),R=this.getColor();U.each(T,function(e,t){U(t).offset().top<=U(window).height()/2&&U(t).find(":first-child").css({borderColor:R||""})})}}},{key:"updateLineHeight",value:function(){var e=this.props.clientId,t=U("#block-".concat(e)),n=t.find("div[class$=__point]"),r=0;U.each(n,function(e,t){n[e+1]&&(r+=U(n[e+1]).offset().top-U(t).offset().top)});var o=t.find("div[class$=__line]"),i=t.find("div[class*=__wrapper]")[0],a=parseFloat(U(i).css("height"))/2;o.css({height:r,top:a})}},{key:"updateBarHeight",value:function(e){var t=e.find("div[class$=__point]"),n=e.find("div[class$=__line]").find("div[class$=__bar]"),r=n.offset().top,o=U(window).height()/2,i=t.toArray(),a=l()(i),c=a[0],s=a.slice(1);if(c){var u=o-U(c).offset().top;if(s.length){var p=s.slice(-1).pop(),d=U(p).offset().top;r<=o&&d>=o&&n.css({height:u}),r>=o&&n.css({height:0}),d<=o&&(this.updateLineHeight(),n.css({height:"100%"}))}}}},{key:"setColorByScroll",value:function(e){var t=this,n=this.props.baseClass,r=e.find("div[class$=__point]"),o=r.get(),i=l()(o),a=(i[0],i.slice(1));a.length&&U.each(r,function(e,r){var o=U(r).offset().top,i=U(r).parents(".".concat(n,"-item"))[0],a=t.getColor(),l=U(r).height()/2;o<=U(window).height()/2+l?(U(i).hasClass("is-active")||U(i).addClass("is-active"),U(r).find(":first-child").css({borderColor:a||""})):(U(i).hasClass("is-active")&&U(i).removeClass("is-active"),U(r).find(":first-child").css({borderColor:""}))}),a.length||this.disableFilling(e)}},{key:"disableFilling",value:function(e){e.find("div[class$=__bar]").css({height:0})}},{key:"componentDidMount",value:function(){var e=this,t=this.props.clientId,n=U("#block-".concat(t)),r=this.props.attributes.filling;U.parseJSON(r)&&(this.waitLoadMarkup=setInterval(function(){n.find("div[class*=__wrapper]").length&&(U(".edit-post-layout").find("div[class$=__content]").scroll(function(){e.setColorByScroll(n),e.updateBarHeight(n)}),clearInterval(e.waitLoadMarkup))},1)),this.waitLoadContent=setInterval(function(){if("complete"==document.readyState){e.updateLineHeight();var t=e.props.className,r=n.find(".".concat(t)),o=e.props.attributes.filling;U.parseJSON(o)&&(e.setColorByScroll(n),e.updateBarHeight(n)),e.mutationObserver=new MutationObserver(function(t){U.each(t,function(t,r){if("childList"==r.type&&(r.addedNodes.length||r.removedNodes.length)){var o,i=r.addedNodes.length?r.addedNodes[0]:r.removedNodes[0],a=e.props,l=a.getBlock,c=a.clientId,s=l(c);if(s&&(o=s.innerBlocks),o&&o.length&&(U(i).is("div[class*=__block]")||U(i).is("div[class*=__image-wrapper]"))){e.updateLineHeight();var u=e.props.attributes.filling;U.parseJSON(u)&&(e.setColorByScroll(n),e.updateBarHeight(n))}}})}),e.mutationObserver.observe(r.get(0),{childList:!0,subtree:!0}),clearInterval(e.waitLoadContent)}},1)}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.className,n=e.clientId,r=U("#block-".concat(n)),o=r.find(".".concat(t));this.mutationObserver.disconnect(o.get(0)),U(".edit-post-layout").find("div[class$=__content]").off()}}]),t}(z);t.b=T([N(function(e,t){var n=e("core/block-editor"),r=n.getBlock;return{getSettings:n.getSettings,getBlock:r}}),A(function(e,t){var n=e("core/block-editor"),r=n.updateBlockAttributes;return{insertBlock:n.insertBlock,updateBlockAttributes:r}}),D("fillColor","backgroundColor")])(J)},function(e,t){function n(e){if(null==e)throw new TypeError("Cannot destructure undefined")}e.exports=n},function(e,t,n){"use strict";var r={align:{type:"string"},autoplay:{type:"boolean",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-autoplay",default:!1},autoplaySpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-autoplay-speed",default:3e3},animationSpeed:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-animation-speed",default:800},infinite:{type:"boolean",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-infinite",default:!1},animationEffect:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-effect",default:"slide"},centerMode:{type:"boolean",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-center-mode",default:!1},pauseOnHover:{type:"boolean",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-pause-hover",default:!1},arrows:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-arrows",default:"inside"},dots:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-dots",default:"inside"},slidesToShow:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-slides-show",default:"1"},slidesToShowLaptop:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-slides-show-laptop",default:"1"},slidesToShowTablet:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-slides-show-tablet",default:"1"},slidesToShowMobile:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-slides-show-mobile",default:"1"},slidesToScroll:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-slides-scroll",default:"1"},slidesToScrollLaptop:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-slides-scroll-laptop",default:"1"},slidesToScrollTablet:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-slides-scroll-tablet",default:"1"},slidesToScrollMobile:{type:"string",source:"attribute",selector:".wp-block-getwid-content-slider",attribute:"data-slides-scroll-mobile",default:"1"}};t.a=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(n(89),n(543),n(544)),o=(n.n(r),n(545));n.n(o)},function(e,t,n){"use strict";n(90),n(142),n(163),n(173),n(179),n(184),n(190),n(204),n(217),n(230),n(238),n(244),n(250),n(261),n(268),n(275),n(283),n(290),n(298),n(305),n(310),n(317),n(323),n(331),n(339),n(345),n(360),n(365),n(371),n(379),n(471),n(476),n(482),n(488),n(494),n(507),n(513),n(521),n(526),n(533)},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){c()(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}var i=n(9),a=n.n(i),l=n(7),c=n.n(l),s=(n(0),n(1)),u=(n.n(s),n(99)),p=n(133),d=n(22),m=n(12),g=n(134),f=n(135),b=n(137),w=n(42),h=n(138),v=n(139),y=n(140),_=(n.n(y),n(141)),k=(n.n(_),wp.blocks.registerBlockType),O=d.a.prepareMultiGradientStyle,E=d.a.prepareBackgroundImageStyles,C=d.a.convertHorizontalAlignToStyle,j=d.a.convertVerticalAlignToStyle;k("getwid/section",o(o({title:Object(s.__)("Section","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement("path",{d:"M13,0v24h11V0H13z M22,22h-7V2h7V22z"}),wp.element.createElement("path",{d:"M0,0v11h11V0H0z M9,9H2V2h7V9z"}),wp.element.createElement("path",{d:"M0,13v11h11V13H0z M9,22H2v-7h7V22z"})),category:"getwid-blocks",keywords:[Object(s.__)("container","getwid"),Object(s.__)("wrapper","getwid"),Object(s.__)("row","getwid")],supports:{anchor:!0,inserter:!Getwid.disabled_blocks.includes("getwid/section")},getEditWrapperProps:function(e){var t=e.align;if(["wide","full"].includes(t))return{"data-align":t}},deprecated:[{attributes:o(o({},w.a),{},{foregroundImage:{type:"string"}}),isEligible:function(e,t){return!0},migrate:function(e){return o(o({},e),e.foregroundImage?[{foregroundImage:{id:void 0,alt:void 0,url:e.foregroundImage}}]:[])},save:g.a},{attributes:o(o({},h.a),{},{backgroundVideoType:{type:"string",default:"self"}}),save:f.a},{attributes:v.a,save:b.a}],attributes:w.a},Object(m.b)("getwid/section",function(e){return wp.element.createElement(u.a,a()({},o(o({},e),{},{baseClass:"wp-block-getwid-section",prepareMultiGradientStyle:O,prepareBackgroundImageStyles:E,convertHorizontalAlignToStyle:C,convertVerticalAlignToStyle:j}),{key:"edit"}))})),{},{save:function(e){return wp.element.createElement(p.a,o(o({},e),{},{prepareMultiGradientStyle:O,prepareBackgroundImageStyles:E}))}}))},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.a=r},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}t.a=r},function(e,t,n){"use strict";var r=n(29);n.n(r)},function(e,t,n){"use strict";var r=n(10);n.n(r)},function(e,t,n){"use strict";var r=(n(36),n(37),n(96),n(10)),o=(n.n(r),n(97),n(35)),i=(n(41),Object(o.c)());i.Provider,i.Consumer,new Set(["string","boolean","number"]),new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"])},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return(o="function"==typeof Symbol&&"symbol"===r(Symbol.iterator)?function(e){return r(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":r(e)})(e)}t.a=o},function(e,t,n){"use strict";function r(e){return e.replace(/&(?!([a-z0-9]+|#[0-9]+|#x[a-f0-9]+);)/gi,"&amp;")}function o(e){return e.replace(/"/g,"&quot;")}function i(e){return e.replace(/</g,"&lt;")}function a(e){return Object(s.a)(o(r(e)))}function l(e){return i(r(e))}function c(e){return!u.test(e)}t.a=a,t.b=l,t.c=c;var s=n(98),u=/[\u007F-\u009F "'>/="\uFDD0-\uFDEF]/},function(e,t,n){"use strict";function r(e){return e.replace(/>/g,"&gt;")}t.a=r},function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(n,!0).forEach(function(t){s()(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 i(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=O()(e);if(t()){var o=O()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _()(this,n)}}var a=n(9),l=n.n(a),c=n(7),s=n.n(c),u=n(13),p=n.n(u),d=n(2),m=n.n(d),g=n(4),f=n.n(g),b=n(11),w=n.n(b),h=n(5),v=n.n(h),y=n(6),_=n.n(y),k=n(3),O=n.n(k),E=n(0),C=n(1),j=(n.n(C),n(8)),S=n.n(j),x=n(10),P=(n.n(x),n(42)),T=n(43),R=(n.n(T),n(44)),N=(n.n(R),n(26)),A=n(30),B=n(102),D=n(103),M=n(27),I=n(14),L=n(12),z=n(123),V=wp.hooks.addFilter,F=wp.element,H=F.Component,G=F.Fragment,W=wp.data,U=W.select,q=W.withSelect,Q=wp.components,K=Q.Button,Y=Q.SelectControl,J=Q.ToolbarButton,$=(Q.ButtonGroup,Q.BaseControl,Q.Dashicon),Z=Q.Tooltip,X=Q.ToolbarGroup,ee=Q.DropdownMenu,te=Q.Path,ne=Q.SVG,re=Q.FocalPointPicker,oe=(Q.__experimentalGradientPicker,wp.blockEditor||wp.editor),ie=oe.InnerBlocks,ae=oe.withColors,le=oe.BlockControls,ce=oe.BlockAlignmentToolbar,se=(oe.MediaPlaceholder,oe.MediaUpload,oe.PanelColorSettings),ue=wp.compose.compose,pe=window,de=pe.jQuery,me=[],ge="wp-block-getwid-section",fe=!1;window.onYouTubeIframeAPIReady=function(){fe=!0};V("blocks.getSaveElement","getwid/set-skip-layout-attribute",function(e,t,n){return"getwid/section"==t.name&&(t.attributes.skipLayout={type:"boolean",default:!1},n.skipLayout=!0),e});var be=function(e){function t(e){var r;m()(this,t),r=n.call(this,e);var o=r.props.attributes,i=o.youTubeVideoMute;o.youTubeVideoAutoplay;return r.videoRef=null,r.videoButtonRef=null,r.state={draggablesObj:{},showRullers:!0,videoPlayState:"paused",videoMuteState:!0,YTvideoPlayState:"paused",YTvideoMuteState:"true"==i,isLockedPaddingsOnDesktop:!1,isLockedPaddingsOnTablet:!1,isLockedPaddingsOnMobile:!1,isLockedMarginsOnDesktop:!1,isLockedMarginsOnTablet:!1,isLockedMarginsOnMobile:!1},r.playBackgroundVideo=r.playBackgroundVideo.bind(w()(r)),r.onBackgroundVideoEnd=r.onBackgroundVideoEnd.bind(w()(r)),r.muteBackgroundVideo=r.muteBackgroundVideo.bind(w()(r)),r.changeState=r.changeState.bind(w()(r)),r}v()(t,e);var n=i(t);return f()(t,[{key:"changeState",value:function(e,t){"object"==p()(e)?this.setState(e):"string"==typeof e&&this.setState(s()({},e,t))}},{key:"render",value:function(){var e,t,n=this,r=this.props.attributes,i=r.align,a=r.minHeight,c=r.gapSize,u=r.anchor,p=r.customBackgroundColor,d=r.youTubeVideoUrl,m=r.youTubeVideoScale,g=r.backgroundVideoType,f=this.props.attributes,b=f.resetMinHeightTablet,w=f.resetMinHeightMobile,h=f.sliderImages,v=f.backgroundVideoUrl,y=this.props.attributes,_=y.backgroundVideoControlsPosition,k=y.foregroundOpacity,O=y.foregroundColor,j=y.foregroundFilter,T=y.dividersBringTop,R=this.props.attributes,L=R.contentMaxWidth,V=R.contentMaxWidthPreset,F=R.entranceAnimation,H=R.entranceAnimationDuration,W=R.entranceAnimationDelay,q=this.props.attributes,Q=q.backgroundImage,oe=q.backgroundImagePosition,ae=q.backgroundCustomImagePosition,ue=q.backgroundImageAttachment,pe=q.backgroundImageRepeat,fe=q.backgroundImageSize,be=this.props.attributes,we=be.paddingTopValue,he=be.paddingBottomValue,ve=be.paddingLeftValue,ye=be.paddingRightValue,_e=be.marginTopValue,ke=be.marginBottomValue,Oe=be.marginLeftValue,Ee=be.marginRightValue,Ce=this.props.attributes,je=Ce.paddingTop,Se=Ce.paddingRight,xe=Ce.paddingBottom,Pe=Ce.paddingLeft,Te=this.props.attributes,Re=Te.paddingTopTablet,Ne=Te.paddingRightTablet,Ae=Te.paddingBottomTablet,Be=Te.paddingLeftTablet,De=this.props.attributes,Me=De.paddingTopMobile,Ie=De.paddingRightMobile,Le=De.paddingBottomMobile,ze=De.paddingLeftMobile,Ve=this.props.attributes,Fe=Ve.marginTop,He=Ve.marginRight,Ge=Ve.marginBottom,We=Ve.marginLeft,Ue=this.props.attributes,qe=Ue.marginTopTablet,Qe=Ue.marginRightTablet,Ke=Ue.marginBottomTablet,Ye=Ue.marginLeftTablet,Je=this.props.attributes,$e=Je.verticalAlign,Ze=Je.verticalAlignTablet,Xe=Je.verticalAlignMobile,et=Je.horizontalAlign,tt=Je.horizontalAlignTablet,nt=Je.horizontalAlignMobile,rt=this.props.attributes,ot=rt.marginTopMobile,it=rt.marginRightMobile,at=rt.marginBottomMobile,lt=rt.marginLeftMobile,ct=this.props,st=ct.className,ut=ct.backgroundColor,pt=ct.setBackgroundColor,dt=ct.prepareMultiGradientStyle,mt=ct.prepareBackgroundImageStyles,gt=ct.setAttributes,ft=ct.isSelected,bt=this.state.showRullers,wt=this.state,ht=wt.isLockedPaddingsOnDesktop,vt=wt.isLockedPaddingsOnTablet,yt=wt.isLockedPaddingsOnMobile,_t=this.state,kt=_t.isLockedMarginsOnDesktop,Ot=_t.isLockedMarginsOnTablet,Et=_t.isLockedMarginsOnMobile,Ct=this.changeState,jt=this.props.clientId,St=o(o({},"custom"===Fe?{marginTop:_e}:[]),"custom"===Ge?{marginBottom:ke}:[]),xt=o(o(o(o(o(o({minHeight:a},"custom"===We?{marginLeft:Oe}:[]),"custom"===He?{marginRight:Ee}:[]),"custom"===je?{paddingTop:we}:[]),"custom"===xe?{paddingBottom:he}:[]),"custom"===Pe?{paddingLeft:ve}:[]),"custom"===Se?{paddingRight:ye}:[]),Pt=S()("".concat(ge,"__wrapper"),(e={},s()(e,"getwid-padding-top-".concat(je),"custom"!==je&&""!==je),s()(e,"getwid-padding-bottom-".concat(xe),"custom"!==xe&&""!==xe),s()(e,"getwid-padding-left-".concat(Pe),"custom"!==Pe&&""!==Pe),s()(e,"getwid-padding-right-".concat(Se),"custom"!==Se&&""!==Se),s()(e,"getwid-padding-tablet-top-".concat(Re),""!==Re),s()(e,"getwid-padding-tablet-bottom-".concat(Ae),""!==Ae),s()(e,"getwid-padding-tablet-left-".concat(Be),""!==Be),s()(e,"getwid-padding-tablet-right-".concat(Ne),""!==Ne),s()(e,"getwid-padding-mobile-top-".concat(Me),""!==Me),s()(e,"getwid-padding-mobile-bottom-".concat(Le),""!==Le),s()(e,"getwid-padding-mobile-left-".concat(ze),""!==ze),s()(e,"getwid-padding-mobile-right-".concat(Ie),""!==Ie),s()(e,"getwid-margin-left-".concat(We),"custom"!==We&&""!==We),s()(e,"getwid-margin-right-".concat(He),"custom"!==He&&""!==He),s()(e,"getwid-margin-tablet-left-".concat(Ye),""!==Ye),s()(e,"getwid-margin-tablet-right-".concat(Qe),""!==Qe),s()(e,"getwid-margin-mobile-left-".concat(lt),""!==lt),s()(e,"getwid-margin-mobile-right-".concat(it),""!==it),s()(e,"getwid-align-items-".concat($e),"center"!==$e),s()(e,"getwid-align-items-tablet-".concat(Ze),""!==Ze),s()(e,"getwid-align-items-mobile-".concat(Xe),""!==Xe),s()(e,"getwid-justify-content-".concat(et),"center"!==et),s()(e,"getwid-justify-content-tablet-".concat(tt),""!==tt),s()(e,"getwid-justify-content-mobile-".concat(nt),""!==nt),s()(e,"getwid-reset-min-height-tablet",!1!==b),s()(e,"getwid-reset-min-height-mobile",!1!==w),e)),Tt=dt("background",this.props),Rt=dt("foreground",this.props),Nt=o({backgroundColor:ut.color?ut.color:p,backgroundImage:Tt},mt("background",this.props)),At=S()("".concat(ge,"__background"),s()({"has-background":ut.color},ut.class,ut.class)),Bt=o(o({opacity:void 0!==k?k/100:void 0,backgroundColor:O,backgroundImage:Rt},mt("foreground",this.props)),{},{mixBlendMode:j}),Dt={maxWidth:L&&"custom"===V?"".concat(L,"px"):void 0},Mt=F?{"data-wow-duration":void 0!==H?H:"2000ms","data-wow-delay":void 0!==W?W:"500ms"}:{},It=S()(st,"".concat(ge,"-").concat(jt),(t={},s()(t,"has-inner-blocks-gap-".concat(c),void 0!==c&&""!==c),s()(t,"getwid-margin-top-".concat(Fe),"custom"!==Fe&&""!==Fe),s()(t,"getwid-anim ".concat(F),!!F),s()(t,"getwid-margin-bottom-".concat(Ge),"custom"!==Ge&&""!==Ge),s()(t,"getwid-margin-tablet-top-".concat(qe),"custom"!==qe&&""!==qe),s()(t,"getwid-margin-tablet-bottom-".concat(Ke),"custom"!==Ke&&""!==Ke),s()(t,"getwid-margin-mobile-top-".concat(ot),"custom"!==ot&&""!==ot),s()(t,"getwid-margin-mobile-bottom-".concat(at),"custom"!==at&&""!==at),s()(t,"getwid-section-content-full-width","full"===V),s()(t,"getwid-section-content-custom-width","custom"===V),t)),Lt=u||void 0,zt=[{title:Object(C.__)("Wide Screen. Section full width, content fixed.","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 48 48",width:"48",height:"48"},wp.element.createElement("path",{d:"M41,32.99v-2.13v-0.71v-3.53v-0.71v-3.53v-0.71v-3.53v-0.71v-2.42c0-0.32-0.08-0.62-0.22-0.9l0,0c0,0,0,0,0,0\tc-0.33-0.66-1-1.11-1.79-1.11h-1.33h-0.71H33.4h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71H12.2h-0.71H9.01\tC7.9,13,7,13.9,7,15.01v2.48v0.71v3.53v0.71v3.53v0.71v3.53v0.71v2.07c0,0.41,0.13,0.8,0.34,1.12l0,0c0,0,0,0,0,0\tc0.09,0.14,0.21,0.26,0.33,0.37l0,0l0,0C8.03,34.8,8.5,35,9.01,35h1.68h0.71h3.55h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71\th3.53h0.71h2.13C40.1,35,41,34.1,41,32.99z M38.99,23.68L37,25.67v-3.53l1.99-1.99V23.68z M38.99,19.44L37,21.43v-0.42\tc0-0.84-0.52-1.56-1.25-1.86l3.24-3.24V19.44z M38.99,15v0.2l-3.82,3.82h0C35.11,19.01,35.05,19,34.99,19h-3.33l4-4H38.99z\t M13,26.99L13.01,21h21.98v6L13,26.99z M34.95,15l-4,4H27.4l4-4H34.95z M30.69,15l-4,4h-3.53l4-4H30.69z M26.45,15l-4,4h-3.53l4-4\tH26.45z M22.21,15l-4,4h-3.53l4-4H22.21z M9.01,15h0.48l-0.48,0.48L9.01,15z M9.01,16.19L10.2,15h3.53l-4.72,4.72L9.01,16.19z\t M9.01,20.43L14.44,15h3.53l-4,4h-0.96C11.9,19,11,19.9,11,21.01v0.96l-1.99,1.99L9.01,20.43z M9,24.67l2-2v3.53l-2,2L9,24.67z\t M9,28.92l2-2v0.07c0,0.94,0.65,1.72,1.52,1.94L9,32.45L9,28.92z M9.17,32.99L13.16,29h3.53l-3.99,3.99L9.17,32.99z M13.41,32.99\tL17.4,29h3.55l-3.99,3.99L13.41,32.99z M17.66,32.99L21.66,29h3.53l-3.99,3.99L17.66,32.99z M21.9,32.99L25.9,29h3.53l-4,4\tL21.9,32.99z M26.14,33l4-4h3.53l-4,4L26.14,33z M30.38,33l4-4h0.61C36.1,29,37,28.1,37,26.99v-0.61l1.99-1.99v3.53L33.91,33\tL30.38,33z M34.62,33l4.37-4.37v3.53L38.15,33L34.62,33z M38.86,33l0.13-0.13V33L38.86,33z"}),wp.element.createElement("path",{d:"M6.01,6H9V4H6.01C4.9,4,4,4.9,4,6.01V9h2.01V6z"}),wp.element.createElement("path",{d:"M41.99,4H39v2h2.99v3H44V6.01C44,4.9,43.1,4,41.99,4z"}),wp.element.createElement("path",{d:"M6.01,39H4v2.99C4,43.1,4.9,44,6.01,44H9v-2H6.01V39z"}),wp.element.createElement("path",{d:"M41.99,42H39v2h2.99C43.1,44,44,43.1,44,41.99V39h-2.01V42z"})),layout:function(){gt({align:"full",skipLayout:!0})}},{title:Object(C.__)("Full Width. Section and content full width.","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 48 48",width:"48",height:"48"},wp.element.createElement("path",{d:"M41,32.99v-2.13v-0.71V29V19v-3.99c0-0.32-0.08-0.62-0.22-0.9l0,0c0,0,0,0,0,0c-0.33-0.66-1-1.11-1.79-1.11h-1.33h-0.71\tH33.4h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71H12.2h-0.71H9.01C7.9,13,7,13.9,7,15.01v2.48v0.71V19v10v1.21v0.71\tv2.07c0,0.41,0.13,0.8,0.34,1.12l0,0c0,0,0,0,0,0c0.09,0.14,0.21,0.26,0.33,0.37l0,0l0,0C8.03,34.8,8.5,35,9.01,35h1.68h0.71h3.55\th0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h2.13C40.1,35,41,34.1,41,32.99z M9.01,21h29.98v6H9L9.01,21z M38.99,19\tH35.9l3.09-3.09V19z M38.99,15v0.2l-3.8,3.8h-3.53l4-4H38.99z M34.95,15l-4,4H27.4l4-4H34.95z M30.69,15l-4,4h-3.53l4-4H30.69z\t M26.45,15l-4,4h-3.53l4-4H26.45z M22.21,15l-4,4h-3.53l4-4H22.21z M17.97,15l-4,4h-3.53l4-4H17.97z M9.01,15h0.48l-0.48,0.48\tL9.01,15z M9.01,16.19L10.2,15h3.53l-4,4H9.01L9.01,16.19z M9,29h3.45L9,32.45L9,29z M9.17,32.99L13.16,29h3.53l-3.99,3.99\tL9.17,32.99z M13.41,32.99L17.4,29h3.55l-3.99,3.99L13.41,32.99z M17.66,32.99L21.66,29h3.53l-3.99,3.99L17.66,32.99z M21.9,32.99\tL25.9,29h3.53l-4,4L21.9,32.99z M26.14,33l4-4h3.53l-4,4L26.14,33z M30.38,33l4-4h3.53l-4,4L30.38,33z M34.62,33l4-4h0.37v3.16\tL38.15,33L34.62,33z M38.86,33l0.13-0.13V33L38.86,33z"}),wp.element.createElement("path",{d:"M6.01,6H9V4H6.01C4.9,4,4,4.9,4,6.01V9h2.01V6z"}),wp.element.createElement("path",{d:"M41.99,4H39v2h2.99v3H44V6.01C44,4.9,43.1,4,41.99,4z"}),wp.element.createElement("path",{d:"M6.01,39H4v2.99C4,43.1,4.9,44,6.01,44H9v-2H6.01V39z"}),wp.element.createElement("path",{d:"M41.99,42H39v2h2.99C43.1,44,44,43.1,44,41.99V39h-2.01V42z"})),layout:function(){gt({align:"full",contentMaxWidthPreset:"full",skipLayout:!0})}},{title:Object(C.__)("Full Screen. Section full screen, content fixed.","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 48 48",width:"48",height:"48"},wp.element.createElement("path",{d:"M6.01,6H9V4H6.01C4.9,4,4,4.9,4,6.01V9h2.01V6z"}),wp.element.createElement("path",{d:"M41.99,4H39v2h2.99v3H44V6.01C44,4.9,43.1,4,41.99,4z"}),wp.element.createElement("path",{d:"M6.01,39H4v2.99C4,43.1,4.9,44,6.01,44H9v-2H6.01V39z"}),wp.element.createElement("path",{d:"M41.99,42H39v2h2.99C43.1,44,44,43.1,44,41.99V39h-2.01V42z"}),wp.element.createElement("path",{d:"M39.38,40.96c0.8-0.16,1.42-0.78,1.58-1.58l0,0c0.02-0.13,0.04-0.26,0.04-0.39v-0.36V35.1v-0.71v-3.53v-0.71v-3.53v-0.71\tv-3.53v-0.71v-3.53v-0.71V13.9v-0.71V9.66V9.01c0-0.02-0.01-0.04-0.01-0.06l0,0C40.97,8,40.28,7.21,39.36,7.04l0,0\tC39.24,7.01,39.12,7,38.99,7h-0.3h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71h-3.53h-0.71H18.2h-0.71h-3.53h-0.71H9.01C7.9,7,7,7.9,7,9.01\tv4.24v0.71v3.53v0.71v3.53v0.71v3.53v0.71v3.53v0.71v3.53v0.71v3.53v0.3c0,0.13,0.01,0.25,0.04,0.37l0,0\tc0.17,0.91,0.96,1.6,1.92,1.63l0,0c0.02,0,0.04,0.01,0.06,0.01h0.65h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71h3.53h0.71\th3.53h0.36C39.12,41,39.25,40.99,39.38,40.96L39.38,40.96z M38.99,23.68L37,25.67v-3.53l1.99-1.99V23.68z M38.99,19.44L37,21.43\tv-0.42c0-0.84-0.52-1.56-1.25-1.86l3.24-3.24V19.44z M38.99,15.2l-3.82,3.82h0C35.11,19.01,35.05,19,34.99,19h-3.33l7.33-7.33V15.2z\t M13,26.99L13.01,21h21.98v6L13,26.99z M38.99,9v1.96L30.95,19H27.4l10-10H38.99z M36.69,9l-10,10h-3.53l10-10H36.69z M32.45,9\tl-10,10h-3.53l10-10H32.45z M28.21,9l-10,10h-3.53l10-10H28.21z M9.01,9h2.24l-2.24,2.24L9.01,9z M9.01,11.95L11.96,9h3.53\tl-6.48,6.48L9.01,11.95z M9.01,16.19L16.2,9h3.53L9.01,19.72L9.01,16.19z M9.01,20.43L20.44,9h3.53l-10,10h-0.96\tC11.9,19,11,19.9,11,21.01v0.96l-1.99,1.99L9.01,20.43z M9,24.67l2-2v3.53l-2,2L9,24.67z M9,28.92l2-2v0.07\tc0,0.94,0.65,1.72,1.52,1.94L9,32.45L9,28.92z M9,33.16L13.16,29h3.53L9,36.69L9,33.16z M9,38.99l0-1.59l8.4-8.4h3.55l-9.99,9.99\tL9,38.99z M11.66,38.99L21.66,29h3.53l-9.99,9.99L11.66,38.99z M15.9,38.99L25.9,29h3.53l-9.99,9.99L15.9,38.99z M20.14,38.99\tL30.14,29h3.53l-9.99,9.99L20.14,38.99z M24.38,39l10-10h0.61C36.1,29,37,28.1,37,26.99v-0.61l1.99-1.99v3.53L27.91,39L24.38,39z\t M28.62,39l10.37-10.37v3.53L32.15,39L28.62,39z M32.86,39l6.13-6.13v3.53l-2.6,2.6L32.86,39z M37.1,39l1.89-1.89V39L37.1,39z"})),layout:function(){gt({align:"full",minHeight:"100vh",skipLayout:!0})}}],Vt=["flex-start","center","flex-end"],Ft={"flex-start":{title:Object(C.__)("Top","getwid"),icon:wp.element.createElement(ne,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},wp.element.createElement(te,{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement(te,{d:"M8 11h3v10h2V11h3l-4-4-4 4zM4 3v2h16V3H4z"}))},center:{title:Object(C.__)("Middle","getwid"),icon:wp.element.createElement(ne,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},wp.element.createElement(te,{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement(te,{d:"M8 19h3v4h2v-4h3l-4-4-4 4zm8-14h-3V1h-2v4H8l4 4 4-4zM4 11v2h16v-2H4z"}))},"flex-end":{title:Object(C.__)("Bottom","getwid"),icon:wp.element.createElement(ne,{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24"},wp.element.createElement(te,{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement(te,{d:"M16 13h-3V3h-2v10H8l4 4 4-4zM4 19v2h16v-2H4z"}))}},Ht=["flex-start","center","flex-end"],Gt={"flex-start":{title:Object(C.__)("Left","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M2,15V5c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v10c0,0.55-0.45,1-1,1h0C2.45,16,2,15.55,2,15z"}),wp.element.createElement("path",{d:"M6,10l3,3v-2h8c0.55,0,1-0.45,1-1v0c0-0.55-0.45-1-1-1H9V7L6,10z"}))},center:{title:Object(C.__)("Center","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M9,15V5c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v10c0,0.55-0.45,1-1,1h0C9.45,16,9,15.55,9,15z"}),wp.element.createElement("path",{d:"M12,10l3,3v-2h2c0.55,0,1-0.45,1-1v0c0-0.55-0.45-1-1-1h-2V7L12,10z"}),wp.element.createElement("path",{d:"M8,10l-3,3v-2H3c-0.55,0-1-0.45-1-1v0c0-0.55,0.45-1,1-1h2V7L8,10z"}))},"flex-end":{title:Object(C.__)("Right","getwid"),icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",width:"20",height:"20",viewBox:"0 0 20 20"},wp.element.createElement("path",{d:"M16,15V5c0-0.55,0.45-1,1-1h0c0.55,0,1,0.45,1,1v10c0,0.55-0.45,1-1,1h0C16.45,16,16,15.55,16,15z"}),wp.element.createElement("path",{d:"M14,10l-3,3v-2H3c-0.55,0-1-0.45-1-1v0c0-0.55,0.45-1,1-1h8V7L14,10z"}))}},Wt=U("core/block-editor"),Ut=Wt.getBlockRootClientId,qt=!1,Qt=Ut(jt);Qt&&(qt=Qt.length>0);var Kt=U("core/block-editor").getBlocks(jt).length>0,Yt=!1;de.each(this.props.attributes,function(e,t){if(Object(x.has)(P.a,[e,"default"])&&!Object(x.isEqual)(t,P.a[e].default))return Yt=!0,!1});var Jt=this.props.attributes.skipLayout,$t=Q?Q.url:void 0,Zt=Q?Q.id:void 0,Xt=void 0==Qt||null==Qt||Jt;return wp.element.createElement(G,null,Kt||0!=Xt||Yt||qt||!Getwid.settings.wide_support?wp.element.createElement(G,null,wp.element.createElement(le,null,wp.element.createElement(ce,{value:i,isCollapsed:!1,controls:["wide","full"],onChange:function(e){return gt({align:e})}}),wp.element.createElement(X,null,Object(E.b)(G,null,wp.element.createElement(ee,{icon:Ft[$e].icon,hasArrowIndicator:!0,className:"components-toolbar",label:Object(C.__)("Content Area Vertical Alignment","getwid"),controls:Vt.map(function(e){return o(o({},Ft[e]),{},{isActive:$e===e,onClick:function(){gt({verticalAlign:e})}})})}),wp.element.createElement(ee,{icon:Gt[et].icon,hasArrowIndicator:!0,className:"components-toolbar",label:Object(C.__)("Content Area Horizontal Alignment","getwid"),controls:Ht.map(function(e){return o(o({},Gt[e]),{},{isActive:et===e,onClick:function(){gt({horizontalAlign:e})}})})}))),wp.element.createElement(D.a,{className:"components-dropdown-menu components-toolbar",renderToggle:function(e){var t=(e.isOpen,e.onToggle);return wp.element.createElement(J,{className:"components-button components-icon-button components-dropdown-menu__toggle",icon:wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 20 20",width:"20",height:"20"},wp.element.createElement("path",{d:"M3,16h14c0.55,0,1,0.45,1,1v0c0,0.55-0.45,1-1,1H3c-0.55,0-1-0.45-1-1v0C2,16.45,2.45,16,3,16z"}),wp.element.createElement("path",{d:"M9.05,13.95L13.3,9.7c0.39-0.39,0.39-1.02,0-1.41L9.05,4.05L8.34,3.34L7.63,2.63c-0.39-0.39-1.02-0.39-1.41,0L6.22,2.64\tc-0.39,0.39-0.39,1.02,0,1.41l0.7,0.7L3.39,8.3C3,8.69,3,9.31,3.39,9.7l4.24,4.25C8.02,14.34,8.66,14.34,9.05,13.95z M9.04,6.87\tL11.17,9H5.51l2.13-2.13C8.02,6.49,8.66,6.49,9.04,6.87z"}),wp.element.createElement("path",{d:"M13,13c0,0.55,0.45,1,1,1s1-0.45,1-1s-1-3-1-3S13,12.45,13,13z"})),onClick:t})},renderContent:function(e){var t=e.onClose;return wp.element.createElement(G,null,wp.element.createElement("div",{class:"components-getwid-toolbar-popup-wrapper-close small-icon"},wp.element.createElement(J,{icon:"no-alt",className:"getwid-popover-close-button",onClick:function(){t(!0)}})),wp.element.createElement(se,{title:Object(C.__)("Colors","getwid"),initialOpen:!0,className:"getwid-custom-pallete",colorSettings:[{value:ut.color,onChange:pt,label:Object(C.__)("Background Color","getwid")}]}))}}),wp.element.createElement(D.a,{className:"components-dropdown-menu components-toolbar",contentClassName:"getwid-popover-wrapper",renderToggle:function(e){var t=(e.isOpen,e.onToggle);return wp.element.createElement(J,{className:"components-button components-icon-button components-dropdown-menu__toggle",icon:"format-image",onClick:t})},renderContent:function(e){var t=e.onClose;return wp.element.createElement(G,null,wp.element.createElement("div",{class:"components-getwid-toolbar-popup-wrapper-close small-icon"},wp.element.createElement(J,{icon:"no-alt",className:"getwid-popover-close-button",onClick:function(){t(!0)}})),wp.element.createElement(I.e,{label:Object(C.__)("Background Image","getwid"),url:$t,id:Zt,onSelectMedia:function(e){gt({backgroundImage:void 0!==e?Object(x.pick)(e,["alt","id","url"]):{}}),t(!0)},onRemoveMedia:function(){return gt({backgroundImage:void 0})}}),!!Q&&wp.element.createElement(G,null,wp.element.createElement(Y,{label:Object(C.__)("Position","getwid"),value:void 0!==oe?oe:"",onChange:function(e){return gt({backgroundImagePosition:e})},options:[{value:"",label:Object(C.__)("Default","getwid")},{value:"custom",label:Object(C.__)("Custom","getwid")},{value:"top left",label:Object(C.__)("Top Left","getwid")},{value:"top center",label:Object(C.__)("Top Center","getwid")},{value:"top right",label:Object(C.__)("Top Right","getwid")},{value:"center left",label:Object(C.__)("Center Left ","getwid")},{value:"center center",label:Object(C.__)("Center Center","getwid")},{value:"center right",label:Object(C.__)("Center Right","getwid")},{value:"bottom left",label:Object(C.__)("Bottom Left","getwid")},{value:"bottom center",label:Object(C.__)("Bottom Center","getwid")},{value:"bottom right",label:Object(C.__)("Bottom Right","getwid")}]}),"custom"==oe&&wp.element.createElement(re,{url:$t,value:ae,onChange:function(e){gt({backgroundCustomImagePosition:e})}}),wp.element.createElement(Y,{label:Object(C.__)("Attachment","getwid"),value:void 0!==ue?ue:"",onChange:function(e){return gt({backgroundImageAttachment:e})},options:[{value:"",label:Object(C.__)("Default","getwid")},{value:"scroll",label:Object(C.__)("Scroll","getwid")},{value:"fixed",label:Object(C.__)("Fixed","getwid")}]}),wp.element.createElement(Y,{label:Object(C.__)("Repeat","getwid"),value:void 0!==pe?pe:"",onChange:function(e){return gt({backgroundImageRepeat:e})},options:[{value:"",label:Object(C.__)("Default","getwid")},{value:"no-repeat",label:Object(C.__)("No Repeat","getwid")},{value:"repeat",label:Object(C.__)("Repeat","getwid")},{value:"repeat-x",label:Object(C.__)("Repeat X","getwid")},{value:"repeat-y",label:Object(C.__)("Repeat Y","getwid")},{value:"space",label:Object(C.__)("Space","getwid")},{value:"round",label:Object(C.__)("Round","getwid")}]}),wp.element.createElement(Y,{label:Object(C.__)("Size","getwid"),value:void 0!==fe?fe:"",onChange:function(e){return gt({backgroundImageSize:e})},options:[{value:"",label:Object(C.__)("Cover","getwid")},{value:"contain",label:Object(C.__)("Contain","getwid")},{value:"auto",label:Object(C.__)("Auto","getwid")}]})))}}),wp.element.createElement(X,{controls:[{icon:wp.element.createElement("svg",{viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement("g",null,wp.element.createElement("g",null,wp.element.createElement("path",{d:"M24.4003906,22.5996094H7.5996094c-0.5527344,0-1-0.4472656-1-1V10.4003906c0-0.5527344,0.4472656-1,1-1h16.8007813 c0.5527344,0,1,0.4472656,1,1v11.1992188C25.4003906,22.1523438,24.953125,22.5996094,24.4003906,22.5996094z M8.5996094,20.5996094h14.8007813v-9.1992188H8.5996094V20.5996094z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M2,11.5996094c-0.5527344,0-1-0.4472656-1-1V5c0-0.5527344,0.4472656-1,1-1h5.5996094c0.5527344,0,1,0.4472656,1,1 s-0.4472656,1-1,1H3v4.5996094C3,11.1523438,2.5527344,11.5996094,2,11.5996094z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M30,11.5996094c-0.5527344,0-1-0.4472656-1-1V6h-4.5996094c-0.5527344,0-1-0.4472656-1-1s0.4472656-1,1-1H30 c0.5527344,0,1,0.4472656,1,1v5.5996094C31,11.1523438,30.5527344,11.5996094,30,11.5996094z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M7.5996094,28H2c-0.5527344,0-1-0.4472656-1-1v-5.5996094c0-0.5527344,0.4472656-1,1-1s1,0.4472656,1,1V26h4.5996094 c0.5527344,0,1,0.4472656,1,1S8.1523438,28,7.5996094,28z"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M30,28h-5.5996094c-0.5527344,0-1-0.4472656-1-1s0.4472656-1,1-1H29v-4.5996094c0-0.5527344,0.4472656-1,1-1 s1,0.4472656,1,1V27C31,27.5527344,30.5527344,28,30,28z"})))),title:Object(C.__)("Show Guides","getwid"),isActive:bt,onClick:function(){n.setState({showRullers:!bt})}}]})),wp.element.createElement(z.a,l()({},o(o(o(o({},this.props),{isLockedPaddingsOnDesktop:ht,isLockedPaddingsOnTablet:vt,isLockedPaddingsOnMobile:yt}),{isLockedMarginsOnDesktop:kt,isLockedMarginsOnTablet:Ot,isLockedMarginsOnMobile:Et}),{},{baseClass:ge,changeState:Ct}),{key:"inspector"})),wp.element.createElement("div",l()({id:Lt,className:It,style:St},Mt),wp.element.createElement(B.a,o(o(o(o(o({},{paddingBottom:xe,paddingRight:Se,paddingLeft:Pe,paddingTop:je}),{paddingBottomValue:he,paddingRightValue:ye,paddingLeftValue:ve,paddingTopValue:we}),{marginBottom:Ge,marginRight:He,marginLeft:We,marginTop:Fe}),{marginBottomValue:ke,marginRightValue:Ee,marginLeftValue:Oe,marginTopValue:_e}),{},{changeState:Ct,setAttributes:gt,showRullers:bt,isSelected:ft,baseClass:ge,clientId:jt,isLayoutSet:Kt||Jt||Yt||qt||!Getwid.settings.wide_support}),wp.element.createElement("div",{className:Pt,style:xt},wp.element.createElement(N.a,o(o({},this.props),{},{baseClass:ge})),(!!v||!!d)&&"none"!==_&&wp.element.createElement("div",{className:S()("getwid-background-video-controls",s()({},"is-position-".concat(_),"top-right"!==_))},wp.element.createElement("button",{onClick:this.playBackgroundVideo,className:"getwid-background-video-play",ref:function(e){return n.videoButtonRef=e}},("self"==g&&"paused"===this.state.videoPlayState||"youtube"==g&&"paused"===this.state.YTvideoPlayState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-play"}),("self"==g&&"playing"===this.state.videoPlayState||"youtube"==g&&"playing"===this.state.YTvideoPlayState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-pause"})),wp.element.createElement("button",{onClick:this.muteBackgroundVideo,className:"getwid-background-video-mute"},("self"==g&&!0===this.state.videoMuteState||"youtube"==g&&!0===this.state.YTvideoMuteState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-mute"}),("self"==g&&!1===this.state.videoMuteState||"youtube"==g&&!1===this.state.YTvideoMuteState)&&wp.element.createElement("i",{className:"getwid-icon getwid-icon-volume-up"}))),wp.element.createElement("div",{className:S()("".concat(ge,"__inner-wrapper"),s()({},"has-dividers-over",T)),style:Dt},wp.element.createElement("div",{className:"".concat(ge,"__background-holder")},wp.element.createElement("div",{className:At,style:Nt},!!Q&&wp.element.createElement("div",{className:"".concat(ge,"__background-image-wrapper")},wp.element.createElement("img",{className:"".concat(ge,"__background-image"),src:Q.url,alt:Q.alt,"data-id":Q.id})),!!h.length&&wp.element.createElement("div",{className:"".concat(ge,"__background-slider-wrapper")},wp.element.createElement(M.a,o(o({},this.props),{},{baseClass:ge}))),(!!v||!!d)&&wp.element.createElement("div",{className:"".concat(ge,"__background-video-wrapper")},!!d&&"youtube"==g&&wp.element.createElement("div",{className:S()("".concat(ge,"__background-video"),"source-youtube",s()({},"scale-youtube-".concat(m),""!=m))},wp.element.createElement("div",{className:"".concat(ge,"__background-video-youtube"),id:"ytplayer-".concat(jt)})),!!v&&"self"==g&&wp.element.createElement(A.a,l()({},o(o({},this.props),{},{baseClass:ge}),{onVideoEnd:this.onBackgroundVideoEnd,videoAutoplay:!1,videoMute:this.state.videoMuteState,videoElemRef:function(e){return n.videoRef=e}})))),wp.element.createElement("div",{className:"".concat(ge,"__foreground"),style:Bt})),wp.element.createElement("div",{className:"".concat(ge,"__content")},wp.element.createElement("div",{className:"".concat(ge,"__inner-content")},wp.element.createElement(ie,{renderAppender:function(){return ft&&wp.element.createElement(ie.ButtonBlockAppender,null)},defaultBlock:!1,template:me,templateInsertUpdatesSelection:!1,templateLock:!1})))))))):wp.element.createElement("div",{className:"components-placeholder block-editor-inner-blocks__template-picker has-many-options"},wp.element.createElement("div",{className:"components-placeholder__label"},wp.element.createElement($,{icon:"layout"}),Object(C.__)("Choose Section Layout","getwid")),wp.element.createElement("div",{className:"components-placeholder__instructions"},Object(C.__)("Select a layout to start with, or make one yourself.","getwid")),wp.element.createElement("div",{className:"components-placeholder__fieldset"},wp.element.createElement("ul",{className:"block-editor-inner-blocks__template-picker-options"},zt.map(function(e,t){return wp.element.createElement("li",null,wp.element.createElement(Z,{text:e.title},wp.element.createElement(K,{className:"components-icon-button block-editor-inner-blocks__template-picker-option is-button is-default is-large",key:t,onClick:function(){return e.layout()}},e.icon)))})),wp.element.createElement("div",{class:"block-editor-inner-blocks__template-picker-skip"},wp.element.createElement(K,{className:"components-button is-link",onClick:function(){return gt({skipLayout:!0})}},Object(C.__)("Skip","getwid"))))))}},{key:"componentDidMount",value:function(){var e=this.props.attributes,t=e.entranceAnimation,n=e.youTubeVideoUrl;t&&this.animate(),n&&""!=n&&this.initYouTubeVideo()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.attributes,r=n.entranceAnimation,o=n.entranceAnimationDuration,i=n.youTubeVideoUrl,a=n.backgroundVideoType,l=(n.youTubeVideoMute,n.youTubeVideoLoop,n.youTubeVideoAutoplay,this.props),c=l.baseClass,s=l.clientId,u=(l.isSelected,e.attributes.entranceAnimation),p=e.attributes.entranceAnimationDuration,d=e.attributes.youTubeVideoUrl,m=e.attributes.backgroundVideoType;!r||u===r&&p===o||(de(".".concat(c,"-").concat(s)).css("animation-name",""),this.animate()),(d!==i||m!==a&&"youtube"==a)&&this.initYouTubeVideo()}},{key:"initYouTubeVideo",value:function(){var e,t=(arguments.length>0&&void 0!==arguments[0]&&arguments[0],this.props.clientId),n=this.changeState,r=this.props.attributes,o=r.youTubeVideoUrl,i=r.youTubeVideoMute,a=r.youTubeVideoLoop;r.youTubeVideoAutoplay;de("#youtube_video_api_js").length||function(){var e=document.createElement("script");e.type="text/javascript",e.src="https://www.youtube.com/iframe_api",e.id="youtube_video_api_js";var t=!1;document.getElementsByTagName("head")[0].appendChild(e),e.onload=e.onreadystatechange=function(){t||this.readyState&&"loaded"!==this.readyState&&"complete"!==this.readyState||(t=!0,e.onload=e.onreadystatechange=null)}}(),function(){var r=setInterval(function(){if(fe&&(clearInterval(r),YT.get("ytplayer-".concat(t))&&YT.get("ytplayer-".concat(t)).destroy(),o&&""!=o)){var l=Object(L.f)(o),c={autoplay:0,controls:0,disablekb:1,fs:0,cc_load_policy:0,iv_load_policy:3,loop:"true"==a?1:0,modestbranding:1,rel:0,showinfo:0,enablejsapi:1,mute:"true"==i?1:0,autohide:1};"true"==a&&(c.playlist=l),e=new YT.Player("ytplayer-".concat(t),{playerVars:c,height:"100%",width:"100%",videoId:l,events:{onReady:function(e){},onStateChange:function(e){0==e.data&&"false"==a&&e.target&&(e.target.stopVideo(),n({YTvideoPlayState:"paused"}))}}})}},1)}()}},{key:"animate",value:function(){var e=this.props,t=e.baseClass,n=e.clientId,r=Object(L.e)();r&&new WOW({boxClass:"".concat(t,"-").concat(n),scrollContainer:"."+r,live:!1,mobile:!1}).init()}},{key:"playBackgroundVideo",value:function(){var e=this.props.attributes.backgroundVideoType,t=this.props.clientId,n=this.state.YTvideoPlayState;if("self"==e){var r=this.videoRef;r.paused?(r.play(),this.setState({videoPlayState:"playing"})):(r.pause(),this.setState({videoPlayState:"paused"}))}else if("youtube"==e){var o=YT.get("ytplayer-".concat(t));o&&"paused"==n?(o.playVideo(),this.setState({YTvideoPlayState:"playing"})):o&&"playing"==n&&(o.pauseVideo(),this.setState({YTvideoPlayState:"paused"}))}}},{key:"onBackgroundVideoEnd",value:function(){this.setState({videoPlayState:"paused"})}},{key:"muteBackgroundVideo",value:function(){var e=this.props.attributes.backgroundVideoType,t=this.props.clientId,n=this.state.YTvideoMuteState;if("self"==e){var r=this.videoRef;r.muted=!r.muted,this.setState({videoMuteState:r.muted})}else if("youtube"==e){var o=YT.get("ytplayer-".concat(t));o&&1==n?(o.unMute(),this.setState({YTvideoMuteState:!1})):o&&0==n&&(o.mute(),this.setState({YTvideoMuteState:!0}))}}}]),t}(H);t.a=ue([q(function(e,t){return{getBlock:e("core/block-editor").getBlock}}),ae("backgroundColor")])(be)},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";n(0);t.a={"zigzag-ice-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,points:"893,50.7 879,75.9 790,63.3 764,81.8 671,69.2 627,81.8 565,66.2 501.5,83.3 456,69.6 353,84 290,63.3 245.5,73.3 209,58.8 123.5,69.9 111.3,42.6 54.8,49.2 34.7,26.3 11.8,31.8 0,10 0,100 1000,100 1000,37.4 960,56.3 "}),wp.element.createElement("polygon",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",points:"893,40.7 879,65.9 790,53.3 764,71.8 671,59.2 627,71.8 565,56.2 501.5,73.3 456,59.6 353,74 290,53.3 245.5,63.3 209,48.8 123.5,59.9 111.3,32.6 54.8,39.2 34.7,16.3 11.8,21.8 0.2,0 0,0 0,100 1000,100 1000,27.4 960,46.3 "}))},"zigzag-ice":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,points:"0.2,0 11.8,21.8 34.7,16.3 54.8,39.2 111.3,32.6 123.5,59.9 209,48.8 245.5,63.3 290,53.3 353,74 456,59.6 501.5,73.3 565,56.2 627,71.8 671,59.2 764,71.8 790,53.3 879,65.9 893,40.7 960,46.3 1000,27.4 1000,0 "}),wp.element.createElement("polygon",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",points:"0,0 0,10 11.8,31.8 34.7,26.3 54.8,49.2 111.3,42.6 123.5,69.9 209,58.8 245.5,73.3 290,63.3 353,84 456,69.6 501.5,83.3 565,66.2 627,81.8 671,69.2 764,81.8 790,63.3 879,75.9 893,50.7 960,56.3 1000,37.4 1000,0"}))},"zigzag-pattern":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1800 6",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,0 0,1 3.5,5.4 7,1 10.5,5.4 14,1 17.5,5.4 21,1 24.5,5.4 28,1 31.5,5.4 35,1 38.5,5.4 42,1 45.5,5.4 49,1 52.5,5.4 56,1 59.5,5.4 63,1 66.5,5.4 70,1 73.5,5.4 77,1 80.5,5.4 84,1 87.5,5.4 91,1 94.5,5.4 98,1 101.5,5.4 105,1 108.5,5.4 112,1 115.5,5.4 119,1 122.5,5.4 126,1 129.5,5.4 133,1 136.5,5.4 140,1 143.5,5.4 147,1 150.5,5.4 154,1 157.5,5.4 161,1 164.5,5.4 168,1 171.5,5.4 175,1 178.5,5.4 182,1 185.5,5.4 189,1 192.5,5.4 196,1 199.5,5.4 203,1 206.5,5.4 210,1 213.5,5.4 217,1 220.5,5.4 224,1 227.5,5.4 231,1 234.5,5.4 238,1 241.5,5.4 245,1 248.5,5.4 252,1 255.5,5.4 259,1 262.5,5.4 266,1 269.5,5.4 273,1 276.5,5.4 280,1 283.5,5.4 287,1 290.5,5.4 294,1 297.5,5.4 301,1 304.5,5.4 308,1 311.5,5.4 315,1 318.5,5.4 322,1 325.5,5.4 329,1 332.5,5.4 336,1 339.5,5.4 343,1 346.5,5.4 350,1 353.5,5.4 357,1 360.5,5.4 364,1 367.5,5.4 371,1 374.5,5.4 378,1 381.5,5.4 385,1 388.5,5.4 392,1 395.5,5.4 399,1 402.5,5.4 406,1 409.5,5.4 413,1 416.5,5.4 420,1 423.5,5.4 427,1 430.5,5.4 434,1 437.5,5.4 441,1 444.5,5.4 448,1 451.5,5.4 455,1 458.5,5.4 462,1 465.5,5.4 469,1 472.5,5.4 476,1 479.5,5.4 483,1 486.5,5.4 490,1 493.5,5.4 497,1 500.5,5.4 504,1 507.5,5.4 511,1 514.5,5.4 518,1 521.5,5.4 525,1 528.5,5.4 532,1 535.5,5.4 539,1 542.5,5.4 546,1 549.5,5.4 553,1 556.5,5.4 560,1 563.5,5.4 567,1 570.5,5.4 574,1 577.5,5.4 581,1 584.5,5.4 588,1 591.5,5.4 595,1 598.5,5.4 602,1 605.5,5.4 609,1 612.5,5.4 616,1 619.5,5.4 623,1 626.5,5.4 630,1 633.5,5.4 637,1 640.5,5.4 644,1 647.5,5.4 651,1 654.5,5.4 658,1 661.5,5.4 665,1 668.5,5.4 672,1 675.5,5.4 679,1 682.5,5.4 686,1 689.5,5.4 693,1 696.5,5.4 700,1 703.5,5.4 707,1 710.5,5.4 714,1 717.5,5.4 721,1 724.5,5.4 728,1 731.5,5.4 735,1 738.5,5.4 742,1 745.5,5.4 749,1 752.5,5.4 756,1 759.5,5.4 763,1 766.5,5.4 770,1 773.5,5.4 777,1 780.5,5.4 784,1 787.5,5.4 791,1 794.5,5.4 798,1 801.5,5.4 805,1 808.5,5.4 812,1 815.5,5.4 819,1 822.5,5.4 826,1 829.5,5.4 833,1 836.5,5.4 840,1 843.5,5.4 847,1 850.5,5.4 854,1 857.5,5.4 861,1 864.5,5.4 868,1 871.5,5.4 875,1 878.5,5.4 882,1 885.5,5.4 889,1 892.5,5.4 896,1 899.5,5.4 903,1 906.5,5.4 910,1 913.5,5.4 917,1 920.5,5.4 924,1 927.5,5.4 931,1 934.5,5.4 938,1 941.5,5.4 945,1 948.5,5.4 952,1 955.5,5.4 959,1 962.5,5.4 966,1 969.5,5.4 973,1 976.5,5.4 980,1 983.5,5.4 987,1 990.5,5.4 994,1 997.5,5.4 1001,1 1004.5,5.4 1008,1 1011.5,5.4 1015,1 1018.5,5.4 1022,1 1025.5,5.4 1029,1 1032.5,5.4 1036,1 1039.5,5.4 1043,1 1046.5,5.4 1050,1 1053.5,5.4 1057,1 1060.5,5.4 1064,1 1067.5,5.4 1071,1 1074.5,5.4 1078,1 1081.5,5.4 1085,1 1088.5,5.4 1092,1 1095.5,5.4 1099,1 1102.5,5.4 1106,1 1109.5,5.4 1113,1 1116.5,5.4 1120,1 1123.5,5.4 1127,1 1130.5,5.4 1134,1 1137.5,5.4 1141,1 1144.5,5.4 1148,1 1151.5,5.4 1155,1 1158.5,5.4 1162,1 1165.5,5.4 1169,1 1172.5,5.4 1176,1 1179.5,5.4 1183,1 1186.5,5.4 1190,1 1193.5,5.4 1197,1 1200.5,5.4 1204,1 1207.5,5.4 1211,1 1214.5,5.4 1218,1 1221.5,5.4 1225,1 1228.5,5.4 1232,1 1235.5,5.4 1239,1 1242.5,5.4 1246,1 1249.5,5.4 1253,1 1256.5,5.4 1260,1 1263.5,5.4 1267,1 1270.5,5.4 1274,1 1277.5,5.4 1281,1 1284.5,5.4 1288,1 1291.5,5.4 1295,1 1298.5,5.4 1302,1 1305.5,5.4 1309,1 1312.5,5.4 1316,1 1319.5,5.4 1323,1 1326.5,5.4 1330,1 1333.5,5.4 1337,1 1340.5,5.4 1344,1 1347.5,5.4 1351,1 1354.5,5.4 1358,1 1361.5,5.4 1365,1 1368.5,5.4 1372,1 1375.5,5.4 1379,1 1382.5,5.4 1386,1 1389.5,5.4 1393,1 1396.5,5.4 1400,1 1403.5,5.4 1407,1 1410.5,5.4 1414,1 1417.5,5.4 1421,1 1424.5,5.4 1428,1 1431.5,5.4 1435,1 1438.5,5.4 1442,1 1445.5,5.4 1449,1 1452.5,5.4 1456,1 1459.5,5.4 1463,1 1466.5,5.4 1470,1 1473.5,5.4 1477,1 1480.5,5.4 1484,1 1487.5,5.4 1491,1 1494.5,5.4 1498,1 1501.5,5.4 1505,1 1508.5,5.4 1512,1 1515.5,5.4 1519,1 1522.5,5.4 1526,1 1529.5,5.4 1533,1 1536.5,5.4 1540,1 1543.5,5.4 1547,1 1550.5,5.4 1554,1 1557.5,5.4 1561,1 1564.5,5.4 1568,1 1571.5,5.4 1575,1 1578.5,5.4 1582,1 1585.5,5.4 1589,1 1592.5,5.4 1596,1 1599.5,5.4 1603,1 1606.5,5.4 1610,1 1613.5,5.4 1617,1 1620.5,5.4 1624,1 1627.5,5.4 1631,1 1634.5,5.4 1638,1 1641.5,5.4 1645,1 1648.5,5.4 1652,1 1655.5,5.4 1659,1 1662.5,5.4 1666,1 1669.5,5.4 1673,1 1676.5,5.4 1680,1 1683.5,5.4 1687,1 1690.5,5.4 1694,1 1697.5,5.4 1701,1 1704.5,5.4 1708,1 1711.5,5.4 1715,1 1718.5,5.4 1722,1 1725.5,5.4 1729,1 1732.5,5.4 1736,1 1739.5,5.4 1743,1 1746.5,5.4 1750,1 1753.5,5.4 1757,1 1760.5,5.4 1764,1 1767.5,5.4 1771,1 1774.5,5.4 1778,1 1781.5,5.4 1785,1 1788.5,5.4 1792,1 1795.5,5.4 1799,1 1800,2.3 1800,0 "}))},"waves-layered":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 120",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M464,69c-50.96-10.13-166.19-39.07-313-13C85.7,67.6,33.79,86.59,0,100.9V120h1000V1 C748.08,88.13,576.28,91.31,464,69z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M464,89c-50.96-10.13-166.19-59.07-313-33C85.7,67.6,33.79,86.59,0,100.9V120h1000V67C748.08,154.13,576.28,111.31,464,89z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M464,79c-50.96-10.13-166.19-49.07-313-23C85.7,67.6,33.79,86.59,0,100.9V120h1000V34 C748.08,121.13,576.28,101.31,464,79z"}))},"waves-large-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M902.8,47.5c-76.9-1-113-55.3-174.5-36.5c-22.9,7-31.6,18.6-58.3,19c-34.2,0.5-43.6-18.3-69-21c-55.8-6-70.7,78.2-127.4,82.3C418.5,95.2,366.5,10.7,300.1,10c-1.5,0-2.7,0-2.7,0c-40,0.5-66,23.8-87.6,36.7c-36,21.4-73.3,22-89,22.1C63.3,69.1,19.4,36.1,0,19v81h1000V20.4C959.3,43.3,926.1,47.8,902.8,47.5z"}))},"waves-large":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,19c19.4,17.1,63.3,50.1,120.8,49.8c15.7-0.1,53-0.7,89-22.1c21.6-12.9,47.6-36.2,87.6-36.7c0,0,1.2,0,2.7,0c66.4,0.7,118.4,85.2,173.5,81.3C530.3,87.2,545.2,3,601,9c25.4,2.7,34.8,21.5,69,21c26.7-0.4,35.4-12,58.3-19c61.5-18.8,97.6,35.5,174.5,36.5c23.3,0.3,56.6-4.2,97.3-27.2V0H0V19z"}))},"waves-pattern":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 996 4",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M990,1c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2c-2.8,0-3.2-2-6-2c-2.8,0-3.2,2-6,2C9.2,3,8.8,1,6,1C3.2,1,2.8,3,0,3v1h996V3C993.2,3,992.8,1,990,1z"}))},"waves-light":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M464,60c-50.96-10.13-166.19-39.07-313-13C85.7,58.6,33.79,77.59,0,91.9v8.1h1000V0C748.08,87.13,576.28,82.31,464,60z"}))},waves:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v19c33.17,17.01,84.77,38.06,149,41c96.07,4.4,128.39-35.91,211-52c157.72-30.72,212.84,82.55,404,85c54.27,0.7,135.59-7.33,236-53.7V0H0z"}))},"triangle-negative-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M492,97.3L0,1.1V100h1000V1.1L508,97.3C502.7,98.4,497.3,98.4,492,97.3z"}))},"triangle-asymmetrical-negative-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M689,96L0,1.1V100h1000V1.1l-269.9,91C716.9,96.6,702.8,97.9,689,96z"}))},"triangle-asymmetrical-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M730.1,92.1c-13.2,4.5-27.3,5.8-41.1,3.9L0,1.1V0h1000v1.1L730.1,92.1z"}))},"triangle-rounded":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M508,97.3c-5.3,1-10.7,1-16,0L0,1.1V0h1000v1.1L508,97.3z"}))},"triangle-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,1.1 0,100 1000,100 1000,1.1 500,98.9 "}))},"triangle-asymmetrical-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,1.1 0,100 1000,100 1000,1.1 710,98.9 "}))},"triangle-asymmetrical":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M710,98.9L0,1.1V0h1000v1.1L710,98.9z"}))},triangle:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M500,98.9L0,1.1V0h1000v1.1L500,98.9z"}))},tilt:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0h1000v100L0,0z"}))},"tilt-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0H0v100L1000,0z"}))},"split-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 20",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M516,3c-8.8,0-16,7.2-16,16c0-8.8-7.2-16-16-16H0v16v1h1000v-1V3H516z"}))},split:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 20",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v3h484c8.8,0,16,7.2,16,16c0-8.8,7.2-16,16-16h484V0H0z"}))},"drips-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M975,56.8c-8.3,0-15,6.8-15,15v3c0,8.3-6.8,15-15,15s-15-6.8-15-15v-45c0-8.3-6.8-15-15-15s-15,6.8-15,15V53c0,8.3-6.8,15-15,15s-15-6.8-15-15v-2.2c0-8.3-6.8-15-15-15s-15,6.8-15,15V82c0,8.3-6.8,15-15,15s-15-6.8-15-15s-6.8-15-15-15s-15,6.8-15,15v-1.8c0,8.3-6.8,15-15,15s-15-6.8-15-15V50.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V53c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V80c0,8.3-6.8,15-15,15s-15-6.8-15-15v2c0-8.3-6.8-15-15-15s-15,6.8-15,15v-3.8c0,8.3-6.8,15-15,15s-15-6.8-15-15V50.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V82c0,8.3-6.8,15-15,15s-15-6.8-15-15s-6.8-15-15-15s-15,6.8-15,15v-1.8c0,8.3-6.8,15-15,15s-15-6.8-15-15v-8.4c0-8.3-6.8-15-15-15s-15,6.8-15,15V74c0,8.3-6.8,15-15,15s-15-6.8-15-15V50.8c0-8.3-6.8-15-15-15s-15,6.8-15,15v12.4c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V32c0,8.3-6.8,15-15,15s-15-6.8-15-15v-2.2c0-8.3-6.8-15-15-15s-15,6.8-15,15V53c0,8.3-6.8,15-15,15s-15-6.8-15-15v-2.2c0-8.3-6.8-15-15-15s-15,6.8-15,15V81c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15v2.4c0,8.3-6.8,15-15,15s-15-6.8-15-15V19c0-8.3-6.8-15-15-15s-15,6.8-15,15v34c0,8.3-6.8,15-15,15s-15-6.8-15-15V29.8c0-8.3-6.8-15-15-15s-15,6.8-15,15V100h990V71.8C990,63.6,983.3,56.8,975,56.8z"}))},"tilted-drips-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M990,38.6c-0.8,0.4-1.5,1-2.2,1.6l-38.9,38.9c-3.9,3.6-10,3.5-13.8-0.3c-3.8-3.8-3.9-9.9-0.3-13.8l26.1-26.1c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L898,73.5c-3.9,3.4-9.9,3.3-13.6-0.5c-3.5-3.5-3.8-9.2-0.9-13.1l6.9-6.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-55.8,55.8c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-24.8,24.8c-3.9,3.6-10,3.5-13.8-0.3c-3.7-3.7-3.9-9.8,12.2-26.3l20.7-20.7c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-48.7,48.7c-3.9,3.4-9.9,3.3-13.6-0.5c-3.6-3.6-3.9-9.3-0.8-13.2c0.2-0.2,0.4-0.4,0.6-0.7c0.1-0.1,0.2-0.2,0.3-0.3l-0.2,0.2c2.9-3.9,2.6-9.5-0.9-13.1h0c-3.9-3.9-10.3-3.9-14.1,0l-6.3,6.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l11.9-11.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L617.3,72c-3.9,3.6-10,3.5-13.8-0.3s-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1h0c-3.9-3.9-10.3-3.9-14.1,0l-34.5,34.5c-3.9,3.4-9.9,3.3-13.6-0.5c-3.5-3.5-3.8-9.2-0.9-13.1l6.9-6.9c3.9-3.9,3.9-10.3,0-14.1h0c-3.9-3.9-10.3-3.9-14.1,0l-13.3,13.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l11.9-11.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-46,46c-3.9,3.6-10,3.5-13.8-0.3s-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-62.8,62.8c-3.9,3.4-9.9,3.3-13.6-0.5c-3.5-3.5-3.8-8.9-1.1-12.8l21.3-21.3c3.9-3.9,3.9-10.3,0-14.1v0c-3.9-3.9-10.3-3.9-14.1,0l-13.3,13.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l11.9-11.9c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-46,46c-3.9,3.6-10,3.5-13.8-0.3s-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0l-41.6,41.6c-3.9,3.4-9.9,3.3-13.6-0.5c-3.6-3.6-3.9-9.3-0.8-13.2c0.2-0.2,0.4-0.4,0.6-0.7c0.1-0.1,0.2-0.2,0.3-0.3l-0.2,0.2c2.9-3.9,2.6-9.5-0.9-13.1v0c-3.9-3.9-10.3-3.9-14.1,0l-13.3,13.3c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l19-19c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L109.3,72c-3.9,3.6-10,3.5-13.8-0.3c-3.8-3.8-3.9-9.9-0.3-13.8l4.8-4.8c3.9-3.9,3.9-10.3,0-14.1h0c-3.9-3.9-10.3-3.9-14.1,0L51.3,73.5c-3.9,3.4-9.9,3.3-13.6-0.5c-3.8-3.8-3.9-9.9-0.3-13.8l33.1-33.1c3.9-3.9,3.9-10.3,0-14.1s-10.3-3.9-14.1,0L0,68.3V100h990V38.6z"}))},"tilted-drips":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v68.3l56.4-56.4c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L37.4,59.2c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l34.5-34.5c3.9-3.9,10.3-3.9,14.1,0h0c3.9,3.9,3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8c3.8,3.8,9.9,3.9,13.8,0.3l67.2-67.2c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-19,19c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l13.3-13.3c3.9-3.9,10.3-3.9,14.1,0v0c3.5,3.5,3.8,9.2,0.9,13.1l0.2-0.2c-0.1,0.1-0.2,0.2-0.3,0.3c-0.2,0.2-0.4,0.4-0.6,0.7c-3,3.9-2.7,9.6,0.8,13.2c3.7,3.7,9.7,3.9,13.6,0.5l41.6-41.6c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8s9.9,3.9,13.8,0.3l46-46c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L341,38c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l13.3-13.3c3.9-3.9,10.3-3.9,14.1,0v0c3.9,3.9,3.9,10.3,0,14.1L361,74.4c-2.7,3.9-2.3,9.3,1.1,12.8c3.7,3.7,9.7,3.9,13.6,0.5l62.8-62.8c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8s9.9,3.9,13.8,0.3l46-46c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L510.3,38c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l13.3-13.3c3.9-3.9,10.3-3.9,14.1,0h0c3.9,3.9,3.9,10.3,0,14.1l-6.9,6.9c-2.9,3.9-2.6,9.5,0.9,13.1c3.7,3.7,9.7,3.9,13.6,0.5l34.5-34.5c3.9-3.9,10.3-3.9,14.1,0h0c3.9,3.9,3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8s9.9,3.9,13.8,0.3l60.1-60.1c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L679.6,38c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l6.3-6.3c3.9-3.9,10.3-3.9,14.1,0h0c3.5,3.5,3.8,9.2,0.9,13.1l0.2-0.2c-0.1,0.1-0.2,0.2-0.3,0.3c-0.2,0.2-0.4,0.4-0.6,0.7c-3,3.9-2.7,9.6,0.8,13.2c3.7,3.7,9.7,3.9,13.6,0.5l48.7-48.7c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-20.7,20.7c-16.1,16.5-15.9,22.6-12.2,26.3c3.8,3.8,9.9,3.9,13.8,0.3l24.8-24.8c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-4.8,4.8c-3.6,3.9-3.5,10,0.3,13.8c3.7,3.7,9.7,3.9,13.6,0.5l55.8-55.8c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1l-6.9,6.9c-2.9,3.9-2.6,9.5,0.9,13.1c3.7,3.7,9.7,3.9,13.6,0.5l48.7-48.7c3.9-3.9,10.3-3.9,14.1,0s3.9,10.3,0,14.1L934.8,65c-3.6,3.9-3.5,10,0.3,13.8c3.8,3.8,9.9,3.9,13.8,0.3l38.9-38.9c0.7-0.7,1.4-1.2,2.2-1.6V0H0z"}))},drips:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 990 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v29.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15V19c0-8.3,6.8-15,15-15s15,6.8,15,15v13.2c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.4c0-8.3,6.8-15,15-15s15,6.8,15,15V81c0,8.3,6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15V29.8c0-8.3,6.8-15,15-15s15,6.8,15,15V32c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.2c0-8.3,6.8-15,15-15s15,6.8,15,15v33.4c0,8.3,6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15V74c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.2c0-8.3,6.8-15,15-15s15,6.8,15,15v8.4c0,8.3,6.8,15,15,15s15-6.8,15-15V82c0-8.3,6.8-15,15-15s15,6.8,15,15s6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15v27.4c0,8.3,6.8,15,15,15s15-6.8,15-15V82c0-8.3,6.8-15,15-15s15,6.8,15,15v-2c0,8.3,6.8,15,15,15s15-6.8,15-15V29.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15v-2.2c0-8.3,6.8-15,15-15s15,6.8,15,15v29.4c0,8.3,6.8,15,15,15s15-6.8,15-15V82c0-8.3,6.8-15,15-15s15,6.8,15,15s6.8,15,15,15s15-6.8,15-15V50.8c0-8.3,6.8-15,15-15s15,6.8,15,15V53c0,8.3,6.8,15,15,15s15-6.8,15-15V29.8c0-8.3,6.8-15,15-15s15,6.8,15,15v45c0,8.3,6.8,15,15,15s15-6.8,15-15v-3c0-8.3,6.8-15,15-15s15,6.8,15,15V0H0z"}))},"pyramids-round-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M790.8,50.4l-146.3-28c-4.9-1-10-0.9-14.8,0.3l-302.2,72c-6.3,1.5-12.8,1.3-18.9-0.5L0,3v97h1000V20.6L807.3,50.7C801.9,51.5,796.3,51.4,790.8,50.4z"}))},"pyramids-round":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,3l308.6,91.2c6.1,1.8,12.6,2,18.9,0.5l302.2-72c4.8-1.2,9.9-1.3,14.8-0.3l146.3,28c5.5,1,11.1,1.1,16.5,0.3L1000,20.6V0H0V3z"}))},"pyramids-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"637,21 318,97 0,3 0,100 1000,100 1000,20.6 799,52 "}))},pyramids:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,3 318,97 637,21 799,52 1000,20.6 1000,0 0,0 "}))},"triangle-layered-asymmetrical":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M710,98.9L0,1.1V0h1000v1.1L710,98.9z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M710,78.9L0,1.1V0h1000v1.1L710,78.9z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M710,58.9L0,1.1V0h1000v1.1L710,58.9z"}))},"tilt-layered-1":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 2600 130",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"2600,65 0,1 0,0 2600,0 "}),wp.element.createElement("rect",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,width:"2600",height:"65"}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,points:"2600,65 0,129 0,0 2600,0 "}))},"tilt-layered-2":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M0,6V0h1000v100L0,6z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,6V0H0v100L1000,6z"}))},"tilt-layered-3":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 300 20",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"300,1 150,3 0,1 0,0 300,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.3,points:"300,6 150,3 0,6 0,0 300,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.3,points:"300,16 150,3 0,16 0,0 300,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.3,points:"300,11 150,3 0,11 0,0 300,0 "}))},"opacity-pyramids":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"0,3 318,77 637,21 799,52 1000,20.6 1000,0 0,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,points:"0,23 318,77 637,41 799,62 1000,20.6 1000,0 0,0 "}),wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,points:"0,53 318,77 637,61 799,82 1000,20.6 1000,0 0,0 "}))},mountains:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M96.75,42.51c41.73,3.17,56.48-13.82,97.52-23.11C303.06-5.25,340.46,82.24,438.1,54.44c33.81-9.63,53.36-26.96,113.28-37.89c6.98-1.27,32.05-6.68,62.62-6.55c102.24,0.44,122.48,45.95,222,41.5c70.08-3.13,126.55-28.66,164-50.4V0H0v0.9C21.95,18.65,54.96,39.33,96.75,42.51z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M62.31,65.11C104.87,60.84,123.89,39.78,176.9,37c13.38-0.7,23.39-0.29,29.97,0.57C241.3,42.12,263.58,59.94,337.9,73C446,92,461,28,587.8,30c108.8,1.8,125.5,49.4,235,46C901.4,73.6,986,46.2,1000,26.1V0H0v58.3C27.02,66.57,48.28,66.52,62.31,65.11z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",opacity:.5,d:"M142.1,74c55.77-2.72,60.02-21.75,116.4-28c71.3-7.9,95.2,23.8,167.8,36C539.1,101,554.8,37,687,39c113.5,1.8,131,49.4,245.1,46c22.7-0.7,45.9-3.3,67.9-7.1V0H0v29C33.03,51.37,82.74,76.89,142.1,74z"}))},"drops-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 300 16",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M292,12c-1.2-1.2,0.4-3.4-1-5c-1.5-1.9-5.8-1.7-7,0c-1,1.5,0,5,0,6s-0.5,2-2.8,2s-2.3-2-1.3-3s2.6-5.5,2-8c-0.6-2.6-4.2-3.8-6-3c-1.4,0.6-3,4-2,7s1,6-0.6,6c-3,0-3.4-1-3.4-3s2.4-5-0.1-8C268,1,265,2,265,3s1,3-2,3s-2-4-5-4s-1,3-3,3s-1-3-3-4s-4,2-4,3s2,3-1,3s-1-5-4-5s-5,2-5,5s3,7-1,6s-1-3-1-7s-3.8-4.2-5-4c-0.8,0.1-4,1-4,4s2,6-1,6s-3-4-3-7s-2.9-4.4-5-4c-2.1,0.3-2.4,4-4,4c-1.8,0-2-4-4-4s-1.8,2.6-2,4c-0.4,2.9,3,7-2,7s-4-4-3-5s2.8-6,0.4-6S199,1,198,5s3.5,7-0.3,8s-3.8-2-3.8-5s2-7-2-7s-2,4-2,7s0,5-3,5s0.2-4-2-8c-0.1-0.2-1-3-3-3s0,6-2,6s-2-2-2-3s1-3-1-3s-2,5-2,7s1,6-3,5s2.9-9.6-0.6-12c-2-1.4-6.2-1.7-8.4,1c-3.4,4.2,3,11-2,11s0.9-5.8-2-10c-2.5-3.5-9.3-3-11.1-2S145,5,145,6s1,5,1,6s-3.7,3.4-5,1c-1.3-2.5,0-6,0-8s-2-4-4.5-4S135,4,133,4s-1.3-2-3-3s-3,0-3,2s5,9-2,10s-4.4-9-6-11s-3.9-1.5-6,1c-2.4,2.9,1.9,5.1-1,9c-1.1,1.5-2,4-4,2s0.3-4.1-1-9c-0.6-2.2-1-4-3-4s0,6-4,6s-4-1-4-2c0-4-3.4-3.9-5-4c-1.6-0.1-3.5,1.4-4,3c-0.6,1.9,0,6-2,6s-2-1-2-3s-1-4-2.5-5S76.7,1,76,3c-0.6,1.6-0.6,2.6,0,7c0.3,2.2-1,5-5,4s-2-5-2-7c0-4-3-6-5.5-5S60,5,60,7s3.3,6,0.6,7S57,13,57,11s0-5.9-2-8c-0.2-0.2-4-2-5,1s7,9,2,10s-4.9-2.5-5-6c-0.1-2.4,1.8-4.1,1-5c-0.6-0.7-2-0.5-3,0c-1.3,0.7-1.1,1.7-2,2c-1.8,0.6-4-4-5-3s-0.2,2.8,0,4c0.9,4.3,4,6,2,7s-3-1-3-2s0.9-6.9-1-9c-1.2-1.3-3.7-1-4-1c-2.6,0.3-3.4,2.4-5,2c-1.6-0.4-1.6-1.8-2.9-2c-1.5-0.2-3.2,1.6-4.1,4c-1.5,4-0.1,6.2-2,8c-1.1,1-3,1.7-4,1c-1.5-1.1,0.6-4.4-1-9c-0.7-2.2-1-4-3-4S9.2,3.7,8,4C6.9,4.3,6,2.6,5,3C4.3,3.2,4.1,4.2,4,5c-0.8,4.6,2,6.8-1,7S0.4,8.3,0,3.5V16h300V9.7C297.9,12.3,293.5,13.4,292,12z"}))},drops:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 300 16",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v3.5c0.4,4.8,0,8.8,3,8.5s0.2-2.4,1-7c0.1-0.8,0.3-1.8,1-2c1-0.4,1.9,1.3,3,1c1.2-0.3,0-3,2-3s2.3,1.8,3,4c1.6,4.6-0.5,7.9,1,9c1,0.7,2.9,0,4-1c1.9-1.8,0.5-4,2-8c0.9-2.4,2.7-4.2,4.1-4c1.3,0.2,1.2,1.6,2.9,2c1.6,0.4,2.4-1.7,5-2c0.3,0,2.8-0.3,4,1c1.9,2.1,1,8,1,9s1,3,3,2s-1.1-2.7-2-7c-0.2-1.2-1-3,0-4s3.2,3.6,5,3c0.9-0.3,0.7-1.3,2-2c1-0.5,2.4-0.7,3,0c0.8,0.9-1.1,2.6-1,5c0.1,3.5,0,7,5,6s-3-7-2-10s4.8-1.2,5-1c2,2.1,2,6,2,8s1,4,3.6,3S60,9,60,7s1-4,3.5-5S69,3,69,7c0,2-2,6,2,7s5.3-1.8,5-4c-0.6-4.4-0.6-5.4,0-7c0.7-2,3-2,4.5-1S83,5,83,7s0,3,2,3s1.4-4.1,2-6c0.5-1.6,2.4-3.1,4-3c1.6,0.1,5,0,5,4c0,1,0,2,4,2s2-6,4-6s2.4,1.8,3,4c1.3,4.9-1,7,1,9s2.9-0.5,4-2c2.9-3.9-1.4-6.1,1-9c2.1-2.5,4.4-3,6-1s-1,12,6,11s2-8,2-10s1.3-3,3-2s1,3,3,3s1-3,3.5-3s4.5,2,4.5,4s-1.3,5.5,0,8c1.3,2.4,5,0,5-1s-1-5-1-6s1-3,2.9-4s8.6-1.5,11.1,2c2.9,4.2-3,10,2,10s-1.4-6.8,2-11c2.2-2.7,6.4-2.4,8.4-1c3.6,2.4-3.4,11,0.6,12s3-3,3-5s0-7,2-7s1,2,1,3s0,3,2,3s0-6,2-6s2.9,2.8,3,3c2.2,4-1,8,2,8s3-2,3-5s-2-7,2-7s2,4,2,7s0,6,3.8,5S197,9,198,5s3-4,5.4-4s0.6,5-0.4,6s-2,5,3,5s1.6-4.1,2-7c0.2-1.4,0-4,2-4s2.2,4,4,4c1.6,0,1.9-3.7,4-4c2.1-0.4,5,1,5,4s0,7,3,7s1-3,1-6s3.2-3.9,4-4c1.2-0.2,5,0,5,4s-3,6,1,7s1-3,1-6s2-5,5-5s1,5,4,5s1-2,1-3s2-4,4-3s1,4,3,4s0-3,3-3s2,4,5,4s2-2,2-3s3-2,4.9,0c2.5,3,0.1,6,0.1,8s0.3,3,3.4,3c1.6,0,1.6-3,0.6-6s0.6-6.4,2-7c1.8-0.8,5.4,0.4,6,3c0.6,2.5-1,7-2,8s-1,3,1.3,3s2.8-1,2.8-2s-1-4.5,0-6c1.2-1.7,5.5-1.9,7,0c1.4,1.6-0.2,3.8,1,5c1.5,1.4,5.9,0.3,8-2.3V0H0z"}))},"curve-layered-1":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100V0H0v60c29.7,29.7,977.4,40,999.6,40H1000z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100V0H0v30c59.5,59.5,985.3,70,999.8,70H1000z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100V0H0.1l0,0c89,89.1,971.7,100,999.3,100H1000L1000,100z"}))},"curve-layered-2":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M0.4,100c22.2,0,969.9-10.3,999.6-40V0H0v100H0.4z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M0.2,100c14.5,0,940.3-10.5,999.8-70V0H0v100H0.2z"}),wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,100h0.6c27.6,0,910.3-10.9,999.3-100l0,0H0V100L0,100z"}))},"curve-layered-4":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0C1000,0,30.1,9.9,0,40V0H1000z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0C1000,0,90.5,9.5,0,100V0H1000z"}),wp.element.createElement("path",{fill:e,opacity:.3,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,0C1000,0,60,10,0,70V0H1000z"}))},"curve-layered-3":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0c0,0,969.9,9.9,1000,40V0H0z"}),wp.element.createElement("path",{fill:e,opacity:.5,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0c0,0,909.5,9.5,1000,100V0H0z"}),wp.element.createElement("path",{fill:e,opacity:.3,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0c0,0,940,10,1000,70V0H0z"}))},"curve-6":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M630,99C266,99,0,1,0,1v99h1000V1C1000,1,994,99,630,99z"}))},"curve-8":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M370,99c364,0,630-98,630-98v99H0V1C0,1,6,99,370,99z"}))},"curve-7":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,1c0,0,6,98,370,98s630-98,630-98V0H0V1z"}))},"curve-5":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,1c0,0-6,98-370,98S0,1,0,1V0h1000V1z"}))},curve:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,1c0,0-136,98-500,98S0,1,0,1V0h1000V1z"}))},"curve-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,1v99h1000V1c0,0-136,98-500,98S0,1,0,1z"}))},"curve-1":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,100h1000V0C1000,0,1000,100,0,100z"}))},"curve-2":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100H0V0C0,0,0,100,1000,100z"}))},"curve-3":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M1000,100C0,100,0,0,0,0s666.7,0,1000,0V100z"}))},"curve-4":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,100C1000,100,1000,0,1000,0S333.3,0,0,0V100z"}))},"clouds-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 280 30",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M273.5,16.2c-2.2-1.6-4.8-2.6-7.7-2.6c0-0.2,0-0.5,0-0.7c0-4.6-3.8-8.4-8.4-8.4c-2.5,0-4.8,1.1-6.3,2.9c-1.7-0.7-3.5-1.2-5.4-1.2c-7.2,0-13.1,5.7-13.3,12.8c-0.2,0-0.4,0-0.7,0c-2.4,0-4.8,0.6-6.8,1.7c-1.1-2.2-3.3-3.7-5.8-3.7c-3.6,0-6.5,2.9-6.5,6.5c0,0.5,0.1,1,0.2,1.5c-0.2,0-0.3,0-0.5,0c-3.4,0-6.4,1.7-8.2,4.4c-2.6-2.7-6.2-4.4-10.2-4.4c-1.8,0-3.6,0.4-5.2,1c-0.4-4.5-4.2-8-8.8-8c-0.3,0-0.7,0-1,0.1c-3.9-5.8-10.6-9.6-18.1-9.6c-4.9,0-9.3,1.6-13,4.3c-0.8-0.3-1.7-0.5-2.6-0.5c-3.8,0-6.9,3-7,6.8c-0.1,0-0.1,0-0.2,0c-4.1,0-8,1.4-11,3.8c-1.1-2.6-3.7-4.4-6.7-4.4c-0.5,0-1.1,0.1-1.6,0.2c-1-1.3-2.5-2.2-4.3-2.2c-1.5,0-2.9,0.7-3.9,1.7c-0.8-1.2-1.9-2.2-3.2-2.8c0.4-0.7,0.7-1.5,0.7-2.4c0-2.7-2.2-4.9-4.9-4.9c-1.9,0-3.5,1.1-4.3,2.6c-0.8-0.4-1.6-0.6-2.5-0.6c-2.9,0-5.4,2.2-5.6,5.1c-0.5-0.1-1-0.1-1.6-0.1c-4.2,0-7.6,2.8-8.8,6.6c-1.9-1.3-4.3-2-6.8-2c-5.2,0-9.6,3.2-11.5,7.7c-0.9-0.1-1.7-0.2-2.6-0.2c-0.2,0-0.3,0-0.5,0c0-5.2-4.3-9.5-9.5-9.5c-0.1,0-0.2,0-0.2,0C48.4,16,46.9,15,45,15c-2.7,0-4.9,2.2-4.9,4.9c0,0.4,0,0.7,0.1,1.1C39.2,20.3,38,20,36.7,20c-2.7,0-5.1,1.5-6.3,3.7c-0.4-0.1-0.8-0.1-1.2-0.1c-1.5,0-2.8,0.3-4,0.9c-3.4-4.1-8.6-6.8-14.4-6.8C6.7,17.8,3,19,0,21.1V30h280V13.1c-0.6-0.2-1.2-0.4-1.9-0.4C275.9,12.7,274.1,14.2,273.5,16.2z"}))},clouds:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 280 30",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M10.7,17.8c5.8,0,11,2.6,14.4,6.8c1.2-0.6,2.6-0.9,4-0.9c0.4,0,0.8,0,1.2,0.1c1.3-2.2,3.6-3.7,6.3-3.7c1.3,0,2.5,0.3,3.6,0.9c-0.1-0.3-0.1-0.7-0.1-1.1c0-2.7,2.2-4.9,4.9-4.9c1.9,0,3.4,1,4.3,2.6c0.1,0,0.2,0,0.2,0c5.2,0,9.5,4.2,9.5,9.5c0.2,0,0.3,0,0.5,0c0.9,0,1.8,0.1,2.6,0.2c1.9-4.5,6.3-7.7,11.5-7.7c2.5,0,4.8,0.7,6.8,2c1.1-3.8,4.6-6.6,8.8-6.6c0.5,0,1.1,0.1,1.6,0.1c0.3-2.9,2.7-5.1,5.6-5.1c0.9,0,1.7,0.2,2.5,0.6c0.8-1.5,2.4-2.6,4.3-2.6c2.7,0,4.9,2.2,4.9,4.9c0,0.9-0.3,1.7-0.7,2.4c1.3,0.7,2.4,1.7,3.2,2.8c1-1.1,2.3-1.7,3.9-1.7c1.8,0,3.3,0.9,4.3,2.2c0.5-0.1,1-0.2,1.6-0.2c3,0,5.6,1.8,6.7,4.4c3-2.4,6.9-3.8,11-3.8c0.1,0,0.1,0,0.2,0c0.1-3.8,3.2-6.8,7-6.8c0.9,0,1.8,0.2,2.6,0.5c3.6-2.7,8.1-4.3,13-4.3c7.5,0,14.2,3.8,18.1,9.6c0.3,0,0.6-0.1,1-0.1c4.6,0,8.4,3.5,8.8,8c1.6-0.6,3.3-1,5.2-1c4,0,7.6,1.7,10.2,4.4c1.8-2.6,4.8-4.4,8.2-4.4c0.2,0,0.3,0,0.5,0c-0.1-0.5-0.2-1-0.2-1.5c0-3.6,2.9-6.5,6.5-6.5c2.6,0,4.8,1.5,5.8,3.7c2-1.1,4.3-1.7,6.8-1.7c0.2,0,0.4,0,0.7,0c0.3-7.1,6.1-12.8,13.3-12.8c1.9,0,3.8,0.4,5.4,1.2c1.5-1.8,3.8-2.9,6.3-2.9c4.6,0,8.4,3.8,8.4,8.4c0,0.3,0,0.5,0,0.7c2.9,0.1,5.5,1,7.7,2.6c0.6-2,2.4-3.5,4.7-3.5c0.7,0,1.3,0.1,1.9,0.4V0H0v21.1C3,19,6.7,17.8,10.7,17.8z"}))},"book-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M627.7,68.5C504.4,29.9,500,1,500,1s-4.4,28.9-127.7,67.5C249,107.1,0,98.1,0,98.1v1.9h1000v-1.9C1000,98.1,751,107.1,627.7,68.5z"}))},book:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 1000 100",preserveAspectRatio:"none",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("path",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",d:"M0,0v1v97.1c0,0,249,9.1,372.3-29.6C495.6,29.9,500,1,500,1s4.4,28.9,127.7,67.5C751,107.1,1000,98.1,1000,98.1V1V0H0z"}))},"arrow-negative":function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 700 10",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg wp-block-getwid-section__divider-svg-negative"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"359,0 350,9 341,0 0,0 0,10 700,10 700,0 "}))},arrow:function(e,t){return wp.element.createElement("svg",{style:{height:t||void 0},x:"0px",y:"0px",viewBox:"0 0 700 10",preserveAspectRatio:"xMidYMax slice",className:"wp-block-getwid-section__divider-svg"},wp.element.createElement("polygon",{fill:e,className:"wp-block-getwid-section__divider-svg-fill",points:"350,9 341,0 359,0 "}))}}},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(7),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(1)),v=(n.n(h),n(8)),y=n.n(v),_=n(10),k=(n.n(_),n(12)),O=wp.element,E=O.Component,C=O.Fragment,j=window,S=j.jQuery,x=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.draggies={},e.state={needRender:!1},e.marginSizes={},e.paddingSizes={},e.sizesIsFilled=!1,e.initDragRullers=e.initDragRullers.bind(p()(e)),e}m()(t,e);var n=r(t);return s()(t,[{key:"getPaddingRight",value:function(){var e=this.props,t=e.paddingRight,n=e.paddingRightValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getPaddingLeft",value:function(){var e=this.props,t=e.paddingLeft,n=e.paddingLeftValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getPaddingTop",value:function(){var e=this.props,t=e.paddingTop,n=e.paddingTopValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getPaddingBottom",value:function(){var e=this.props,t=e.paddingBottom,n=e.paddingBottomValue;return""==t?parseFloat(this.paddingSizes.default):parseFloat("custom"==t?n:t&&"none"!=t?this.paddingSizes[t]:0)}},{key:"getMarginRight",value:function(){var e=this.props,t=e.marginRight,n=e.marginRightValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getMarginLeft",value:function(){var e=this.props,t=e.marginLeft,n=e.marginLeftValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getMarginTop",value:function(){var e=this.props,t=e.marginTop,n=e.marginTopValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getMarginBottom",value:function(){var e=this.props,t=e.marginBottom,n=e.marginBottomValue;return""==t?parseFloat(this.marginSizes.default):parseFloat("custom"==t?""!=n&&"0px"!=n&&void 0!=n?n:0:t&&"none"!=t?this.marginSizes[t]:0)}},{key:"getOffset",value:function(e){var t,n=this.props,r=n.clientId,o=n.baseClass,i=S("#block-".concat(r)),a=i.find(".".concat(o)).first(),l=0;return"left"==e?(t=this.getPaddingLeft(),l=this.getMarginLeft()):"right"==e&&(t=this.getPaddingRight(),l=this.getMarginRight()),isNaN(l)&&(l=0),a.outerWidth()-t-l}},{key:"calculateAllowedWidth",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"margin",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"left",o=parseFloat(t.css("margin-left")),i=parseFloat(t.css("margin-right")),a=parseFloat(t.css("padding-left")),l=parseFloat(t.css("padding-right"));return"margin"==n&&("left"==r&&(o=this.getMarginLeft()),"right"==r&&(i=this.getMarginRight())),"padding"==n&&("left"==r&&(a=this.getPaddingLeft()),"right"==r&&(l=this.getPaddingRight())),e-(o+i+a+l)-this.minWidth-10}},{key:"initDragRullers",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"top",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"margin",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"down",o=this.props,a=o.clientId,l=o.baseClass,c=o.setAttributes,s=o.changeState,u=t.charAt(0).toUpperCase()+t.slice(1),p=n.charAt(0).toUpperCase()+n.slice(1),d=S("#block-".concat(a)),m=d.find(".".concat(l)).first(),g=m.children(".".concat(l,"__wrapper")),f=m.children(".".concat(l,"__").concat(t,"-").concat(n,"-area")),b=m.children().find(".".concat(l,"__").concat(t,"-").concat(n,"-label")),w=m.children().find(".".concat(l,"__").concat(t,"-").concat(n,"-drag-zone"));if(0!=w.length&&0!=f.length){if(Object.keys(this.draggies).length){var h=!0,v=Object(_.get)(this.draggies,[n,t]);if(v&&v.element.className==w[0].className&&(h=!1),!h)return}Object(_.set)(this.draggies,[n,t],new Draggabilly(w[0],{containment:f,axis:"top"==t||"bottom"==t?"y":"x"}));var y,k,O,E,C=Object(_.get)(this.draggies,[n,t]);C.on("dragStart",function(e){f.addClass("active-drag-area"),f.removeClass("empty-ruller"),b.removeClass("empty-label"),s({isLockedPaddingsOnDesktop:!1,isLockedMarginsOnDesktop:!1}),"top"==t||"bottom"==t?y=f.height():k=f.width()}),C.on("dragMove",function(o,a,c){var s=e.props,d=s.marginRightValue,w=s.marginLeftValue;if(O!=Math.floor(c.y)){var h,v,C,j;j=f.width(),"down"==r?C=Math.abs(y-Math.floor(c.y)):"up"==r&&(C=Math.abs(y+Math.floor(c.y)));var x=function(){f.height(C),f.find(".".concat(l,"__").concat(t,"-").concat(n,"-label")).html("".concat(p," ").concat(u,": ").concat(C,"px"))},P=g.innerWidth(),T=m.outerWidth(),R=function(t,n){var r=Object(_.get)(e.draggies,[t,n]);return r?r.$element.parent():void 0},N=R("padding","top"),A=R("padding","left"),B=R("padding","right"),D=R("padding","bottom"),M=R("margin","top"),I=R("margin","bottom"),L=e.calculateAllowedWidth(T,g,n,t),z=Math.abs(Math.floor(c.x));if(void 0===E&&(E=Math.floor(c.x)),"padding"==n)if("top"==t)x(),B&&B.css({top:C}),A&&A.css({top:C});else if("right"==t){var V=e.getPaddingLeft(),F=P-e.minWidth-V,H=Math.abs(k-Math.floor(c.x));if(!(H<=F))return;j=H;var G=0;Object(_.has)(e.draggies,["margin","right"])&&""!=d&&void 0!=d&&(G=Object(_.get)(e.draggies,["margin","right"]).$element.width()),h=T-j-G,B.css({right:G}),B.css({left:h})}else if("bottom"==t)x(),B&&B.css({bottom:C}),A&&A.css({bottom:C});else if("left"==t){var W=e.getPaddingRight(),U=P-e.minWidth-W,q=Math.abs(k+Math.floor(c.x));if(!(q<=U))return;j=q;var Q=0;Object(_.has)(e.draggies,["margin","left"])&&""!=w&&void 0!=w&&(Q=Object(_.get)(e.draggies,["margin","left"]).$element.width()),v=T-j-Q,A.css({left:Q}),A.css({right:v})}if("margin"==n)if("top"==t)x();else if("right"==t){var K=e.getMarginRight(),Y=Math.abs(k-Math.floor(c.x)),J=function(){j=Y;var t=T-e.getPaddingRight()-j;S.each([N,B,D,M,I],function(e,t){t&&t.css({right:j})}),B&&B.css({left:t})};if(E>Math.floor(c.x)){if(!(z<=L))return;J()}else Y<L+K&&J();E=Math.floor(c.x),f.width(j)}else if("bottom"==t)x();else if("left"==t){var $=e.getMarginLeft(),Z=Math.abs(k+Math.floor(c.x)),X=function(){j=Z;var t=T-e.getPaddingLeft()-j;S.each([N,A,D,M,I],function(e,t){t&&t.css({left:j})}),A&&A.css({right:t})};if(E<Math.floor(c.x)){if(!(z<=L))return;X()}else Z<L+$&&X();E=Math.floor(c.x),f.width(j)}"right"!=t&&"left"!=t||(j<100?b.addClass("label-corner"):b.removeClass("label-corner"),f.find(".".concat(l,"__").concat(t,"-").concat(n,"-label")).html("".concat(p," ").concat(u,": ").concat(j,"px"))),g.css(i()({},n+u,"top"==t||"bottom"==t?"margin"!=n?C:"":j))}"top"!=t&&"bottom"!=t||(O=Math.floor(c.y))}),C.on("dragEnd",function(){var e;f.removeClass("active-drag-area"),c((e={},i()(e,n+u,"custom"),i()(e,n+u+"Value","top"==t||"bottom"==t?f.height()+"px":f.width()+"px"),e))})}}},{key:"initDraggies",value:function(){if(this.props.isLayoutSet){var e=this.initDragRullers;e("top","margin","up"),e("top","padding","up"),e("right","margin","left"),e("right","padding","left"),e("bottom","margin","up"),e("bottom","padding","up"),e("left","margin","right"),e("left","padding","right")}}},{key:"dropDraggies",value:function(){var e=this,t=["margin","padding"],n=["top","right","bottom","left"];S.each(t,function(t,r){S.each(n,function(t,n){var o=Object(_.get)(e.draggies,[r,n]);o&&o.destroy()})}),this.draggies={}}},{key:"checkDisabledRuller",value:function(){var e=this,t=this.props,n=t.paddingTop,r=t.paddingBottom,o=t.paddingLeft,i=t.paddingRight,a=this.props,l=a.marginTop,c=a.marginBottom,s=a.marginLeft,u=a.marginRight,p={paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:i},d={marginTop:l,marginBottom:c,marginLeft:s,marginRight:u},m=function(t,n){S.each(t,function(t,r){if("none"==r){var o=t.replace(n,"").toLowerCase(),i=Object(_.get)(e.draggies,[n,o]);i&&i.destroy(),Object(_.unset)(e.draggies,[n,o])}})};m(p,"padding"),m(d,"margin")}},{key:"initSizes",value:function(){var e=this,t=this.props,n=t.baseClass,r=t.clientId,o=S("#block-".concat(r)),i=o.find(".".concat(n)).first(),a=i.children(".".concat(n,"__wrapper")),l=["padding","margin"],c=["top","right","bottom","left"],s=["small","medium","normal","large"],u=function(){e.setState({needRender:!e.state.needRender})};S.each(l,function(t,n){S.each(c,function(t,r){S.each(s,function(t,o){var l="getwid-".concat(n,"-").concat(r,"-").concat(o),c=function(e){if(!Object(_.has)(e,[o])){var t=S(".".concat(l)).css("".concat(n,"-").concat(r));Object(_.set)(e,[o],t),u()}};"padding"==n?a.hasClass(l)&&c(e.paddingSizes):"margin"==n&&(["top","bottom"].includes(r)?i.hasClass(l)&&c(e.marginSizes):["left","right"].includes(r)&&a.hasClass(l)&&c(e.marginSizes))})})}),this.initDefaultSizes(i,a,u);var p=!0;S.each(s,function(t,n){Object(_.has)(e.paddingSizes,[n])&&Object(_.has)(e.marginSizes,[n])||(p=!1)}),p&&(this.sizesIsFilled=!0)}},{key:"initDefaultSizes",value:function(e,t,n){var r=this,o=this.props,i=o.paddingRight,a=o.paddingLeft,l=o.paddingTop,c=o.paddingBottom,s=this.props,u=s.marginRight,p=s.marginLeft,d=s.marginTop,m=s.marginBottom,g={paddingRight:i,paddingLeft:a,paddingTop:l,paddingBottom:c,marginRight:u,marginLeft:p,marginTop:d,marginBottom:m};S.each(Object.keys(g),function(o,i){if(""==g[i]){var a=Object(_.head)(i.split(Object(_.head)(i.match(/[A-Z]/g)))),l=i.replace(a,"").toLowerCase(),c=function(e,t){Object(_.has)(e,["default"])||(Object(_.set)(e,["default"],t.css("".concat(a,"-").concat(l))),n())};if("padding"==a)c(r.paddingSizes,t);else if("margin"==a)switch(l){case"top":case"bottom":c(r.marginSizes,e);break;case"left":case"right":c(r.marginSizes,t)}}})}},{key:"componentDidUpdate",value:function(e,t){var n,r=this;this.sizesIsFilled||(n=setInterval(function(){"complete"==document.readyState&&(clearInterval(n),r.initSizes())},1));var o=this.props,i=o.isLayoutSet,a=o.clientId,l=o.baseClass;if(i){var c=S("#block-".concat(a)),s=c.find(".".concat(l)).first();this.minWidth=parseFloat(s.children(".".concat(l,"__wrapper")).css("min-width"))}var u=this.props,p=u.isSelected,d=u.showRullers;Object(_.isEqual)(p,e.isSelected)&&Object(_.isEqual)(d,e.showRullers)||p&&d||this.dropDraggies(),Object(_.isEmpty)(this.draggies)||this.checkDisabledRuller(),this.initDraggies()}},{key:"componentDidMount",value:function(){var e,t=this,n=this.props,r=n.clientId,o=n.baseClass,i=S("#block-".concat(r)),a=i.find(".".concat(o)).first();this.sizesIsFilled||(e=setInterval(function(){"complete"==document.readyState&&(clearInterval(e),t.initSizes())},1)),this.initDraggies(),Object(k.c)(a,o,function(){if(Object(_.has)(t.draggies,["padding","right"])){var e=t.getOffset("right");Object(_.get)(t.draggies,["padding","right"]).$element.parent().css({left:e})}if(Object(_.has)(t.draggies,["padding","left"])){var n=t.getOffset("left");Object(_.get)(t.draggies,["padding","left"]).$element.parent().css({right:n})}})}},{key:"componentWillUnmount",value:function(){this.dropDraggies()}},{key:"render",value:function(){var e=this.props,t=e.paddingBottom,n=e.paddingRight,r=e.paddingLeft,o=e.paddingTop,i=this.props,a=i.marginBottom,l=i.marginRight,c=i.marginLeft,s=i.marginTop,u=this.props,p=u.paddingBottomValue,d=u.paddingRightValue,m=u.paddingLeftValue,g=u.paddingTopValue,f=this.props,b=f.marginBottomValue,w=f.marginRightValue,v=f.marginLeftValue,_=f.marginTopValue,k=this.props,O=k.baseClass,E=k.showRullers,j=k.isSelected;return wp.element.createElement(C,null,E&&j&&"none"!=s&&wp.element.createElement("div",{className:y()("".concat(O,"__top-margin-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==s&&("0px"==_||""==_||!_)||0==this.getMarginTop(),"hide-ruller":"custom"==s&&(parseFloat(_)<0||""==_||!_)}),style:{height:this.getMarginTop(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__top-margin-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==s&&("0px"==_||""==_||!_||0==this.getMarginTop())})},Object(h.__)("Margin Top: ","getwid")+("custom"==s?_:""==s?this.getMarginTop()+"px":this.marginSizes[s])),wp.element.createElement("div",{className:"".concat(O,"__top-margin-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=l&&wp.element.createElement("div",{className:y()("".concat(O,"__right-margin-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==l&&("0px"==w||""==w||!w)||0==this.getMarginRight(),"hide-ruller":"custom"==l&&(parseFloat(w)<0||""==w||!w)}),style:{width:this.getMarginRight()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__right-margin-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==l&&("0px"==w||""==w||!w||0==this.getMarginRight()),"label-corner":this.getMarginRight()<100})},Object(h.__)("Margin Right: ","getwid")+("custom"==l?w:""==l?this.getMarginRight()+"px":this.marginSizes[l])),wp.element.createElement("div",{className:"".concat(O,"__right-margin-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=a&&wp.element.createElement("div",{className:y()("".concat(O,"__bottom-margin-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==a&&("0px"==b||""==b||!b)||0==this.getMarginBottom(),"hide-ruller":"custom"==a&&(parseFloat(b)<0||""==b||!b)}),style:{height:this.getMarginBottom(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__bottom-margin-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==a&&("0px"==b||""==b||!b||0==this.getMarginBottom())})},Object(h.__)("Margin Bottom: ","getwid")+("custom"==a&&""!=b?b:""==a?this.getMarginBottom()+"px":""!=b?this.marginSizes[a]:"")),wp.element.createElement("div",{className:"".concat(O,"__bottom-margin-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=c&&wp.element.createElement("div",{className:y()("".concat(O,"__left-margin-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==c&&("0px"==v||""==v||!v)||0==this.getMarginLeft(),"hide-ruller":"custom"==c&&(parseFloat(v)<0||""==v||!v)}),style:{width:"custom"!=c||v?this.getMarginLeft():void 0}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__left-margin-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==c&&("0px"==v||""==v||!v||0==this.getMarginLeft()),"label-corner":this.getMarginLeft()<100})},Object(h.__)("Margin Left: ","getwid")+("custom"==c?v:""==c?this.getMarginLeft()+"px":this.marginSizes[c])),wp.element.createElement("div",{className:"".concat(O,"__left-margin-drag-zone ").concat(O,"__spacing-drag-zone")}))),this.props.children,E&&j&&"none"!=o&&wp.element.createElement("div",{className:y()("".concat(O,"__top-padding-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==o&&("0px"==g||""==g||!g)||0==this.getPaddingTop(),"hide-ruller":"custom"==o&&(parseFloat(g)<0||""==g||!g)}),style:{height:this.getPaddingTop(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__top-padding-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==o&&("0px"==g||""==g||!g||0==this.getPaddingTop())})},Object(h.__)("Padding Top: ","getwid")+("custom"==o?g:""==o?this.getPaddingTop()+"px":this.paddingSizes[o])),wp.element.createElement("div",{className:"".concat(O,"__top-padding-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=n&&wp.element.createElement("div",{className:y()("".concat(O,"__right-padding-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==n&&("0px"==d||""==d||!d)||0==this.getPaddingRight(),"hide-ruller":"custom"==n&&(parseFloat(d)<0||""==d||!d)}),style:{left:this.getOffset("right"),top:this.getPaddingTop(),bottom:this.getPaddingBottom(),right:this.getMarginRight()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__right-padding-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==n&&("0px"==d||""==d||!d||0==this.getPaddingRight()),"label-corner":this.getPaddingRight()<100})},Object(h.__)("Padding Right: ","getwid")+("custom"==n?d:""==n?this.getPaddingRight()+"px":this.paddingSizes[n])),wp.element.createElement("div",{className:"".concat(O,"__right-padding-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=t&&wp.element.createElement("div",{className:y()("".concat(O,"__bottom-padding-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==t&&("0px"==p||""==p||!p)||0==this.getPaddingBottom(),"hide-ruller":"custom"==t&&(parseFloat(p)<0||""==p||!p)}),style:{height:this.getPaddingBottom(),right:this.getMarginRight(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__bottom-padding-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==t&&("0px"==p||""==p||!p||0==this.getPaddingBottom())})},Object(h.__)("Padding Bottom: ","getwid")+("custom"==t?p:""==t?this.getPaddingBottom()+"px":this.paddingSizes[t])),wp.element.createElement("div",{className:"".concat(O,"__bottom-padding-drag-zone ").concat(O,"__spacing-drag-zone")}))),E&&j&&"none"!=r&&wp.element.createElement("div",{className:y()("".concat(O,"__left-padding-area"),"".concat(O,"__spacing-area"),{"empty-ruller":"custom"==r&&("0px"==m||""==m||!m)||0==this.getPaddingLeft(),"hide-ruller":"custom"==r&&(parseFloat(m)<0||""==m||!m)}),style:{right:this.getOffset("left"),top:this.getPaddingTop(),bottom:this.getPaddingBottom(),left:this.getMarginLeft()}},wp.element.createElement(C,null,wp.element.createElement("div",{className:y()("".concat(O,"__left-padding-label ").concat(O,"__spacing-label"),{"empty-label":"custom"==r&&("0px"==m||""==m||!m||0==this.getPaddingLeft()),"label-corner":this.getPaddingLeft()<100})},Object(h.__)("Padding Left: ","getwid")+("custom"==r?m:""==r?this.getPaddingLeft()+"px":this.paddingSizes[r])),wp.element.createElement("div",{className:"".concat(O,"__left-padding-drag-zone ").concat(O,"__spacing-drag-zone")}))))}}]),t}(E);t.a=x},function(e,t,n){"use strict";function r(e){function t(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}return function(){var n,r=w()(e);if(t()){var o=w()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}var o=n(9),i=n.n(o),a=n(2),l=n.n(a),c=n(4),s=n.n(c),u=n(11),p=n.n(u),d=n(5),m=n.n(d),g=n(6),f=n.n(g),b=n(3),w=n.n(b),h=(n(0),n(104)),v=(n.n(h),n(8)),y=n.n(v),_=n(1),k=(n.n(_),window),O=(k.jQuery,wp.components.Popover),E=wp.element,C=E.Component,j=(E.Fragment,E.createRef),S=function(e){function t(){var e;return l()(this,t),e=n.apply(this,arguments),e.toggle=e.toggle.bind(p()(e)),e.close=e.close.bind(p()(e)),e.closeIfFocusOutside=e.closeIfFocusOutside.bind(p()(e)),e.containerRef=j(),e.state={isOpen:!1},e}m()(t,e);var n=r(t);return s()(t,[{key:"componentWillUnmount",value:function(){var e=this.state.isOpen,t=this.props.onToggle;e&&t&&t(!1)}},{key:"componentDidUpdate",value:function(e,t){var n=this.state.isOpen,r=this.props.onToggle;t.isOpen!==n&&r&&r(n)}},{key:"toggle",value:function(){this.setState(function(e){return{isOpen:!e.isOpen}})}},{key:"closeIfFocusOutside",value:function(){this.containerRef.current.contains(document.activeElement)||document.activeElement.closest('[role="dialog"]')||this.close()}},{key:"close",value:function(e){this.props.onClose&&this.props.onClose(),(!0===e||this.props.onClickOutside)&&this.setState({isOpen:!1})}},{key:"render",value:function(){var e=this,t=this.state.isOpen,n=this.props,r=n.renderContent,o=n.renderToggle,a=n.position,l=void 0===a?"bottom":a,c=n.className,s=n.contentClassName,u=n.expandOnMobile,p=n.headerTitle,d=n.focusOnMount,m=n.popoverProps,g={isOpen:t,onToggle:this.toggle,onClose:this.close};return wp.element.createElement("div",{className:y()("components-dropdown",c),ref:this.containerRef},o(g),t&&wp.element.createElement(O,i()({onClick:function(e){e.stopPropagation()},className:s,position:l,onClose:function(){e.close()},onFocusOutside:this.closeIfFocusOutside,expandOnMobile:u,headerTitle:p,focusOnMount:d},m),r(g)))}}]),t}(C);t.a=S},function(e,t){},function(e,t,n){function r(t,n,i){return"undefined"!=typeof Reflect&&Reflect.get?e.exports=r=Reflect.get:e.exports=r=function(e,t,n){var r=o(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}},r(t,n,i||t)}var o=(n(3),n(106));e.exports=r},function(e,t,n){function r(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=o(e)););return e}var o=n(3);e.exports=r},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){/*!
7
  *
8
  * React FontIconPicker
9
  *
20
  * https://opensource.org/licenses/MIT
21
  *
22
  */