Gutenberg Blocks – Ultimate Addons for Gutenberg - Version 1.20.0

Version Description

  • New: Lottie Block.
  • Improvement: Post Layout: Added EditMode to shuffle the Post elements i.e Post Title, Post Meta, Post Content, Featured Image, CTA Button etc.
  • Improvement: Better options for delete/edit/duplicate action of each content in Content timeline blocks.
  • Fix: FAQ Schema - Fixed Accessibility issue.
  • Fix: FAQ Schema - Fixed child block not inheriting question tag from the parent block when adding a new question.
  • Fix: FAQ-Schema - FAQ console error when accessing child by link hash value.
  • Fix: Gravity Form Styler - Multistep form styling issue.
  • Fix: Price List - CSS issue on mobile.
  • Fix: Price List - Fixed missing image padding option and columns not updating issue.
  • Fix: Post Layout - Child Posts not visible when parent category is selected in editor mode.
  • Fix: Testimonial - Fixed the JS console warning with Slick library.
  • Fix: Taxonomy List - Fixed the JS console warning in editor mode.
  • Fix: Table of content - Fixed the pipe symbol issue in heading.
  • Fix: Taxonomy List - Fixed issue with broken links.
  • Fix: Table of Content - IE11 compatibility issues.
  • Fix: Testimonial - Fixed carousel not being displayed on RTL websites.
Download this release

Release Info

Developer brainstormworg
Plugin Icon Gutenberg Blocks – Ultimate Addons for Gutenberg
Version 1.20.0
Comparing to
See all releases

Code changes from version 1.19.0 to 1.20.0

admin/assets/images/uagb-10.png ADDED
Binary file
admin/uagb-general.php CHANGED
@@ -23,6 +23,17 @@ $uagb_support_link = apply_filters( 'uagb_support_link', $support_url );
23
  $uagb_support_link_text = apply_filters( 'uagb_support_link_text', __( 'Submit a Ticket »', 'ultimate-addons-for-gutenberg' ) );
24
  $has_read_write_perms = UAGB_Helper::has_read_write_permissions();
25
 
 
 
 
 
 
 
 
 
 
 
 
26
  ?>
27
 
28
  <div class="uagb-container uagb-general">
@@ -84,8 +95,14 @@ $has_read_write_perms = UAGB_Helper::has_read_write_permissions();
84
  'social-share-child',
85
  'buttons-child',
86
  'faq-child',
 
 
 
 
 
 
 
87
  );
88
-
89
  if ( in_array( $addon, $child_blocks, true ) ) {
90
  continue;
91
  }
23
  $uagb_support_link_text = apply_filters( 'uagb_support_link_text', __( 'Submit a Ticket »', 'ultimate-addons-for-gutenberg' ) );
24
  $has_read_write_perms = UAGB_Helper::has_read_write_permissions();
25
 
26
+
27
+ array_multisort(
28
+ array_map(
29
+ function( $element ) {
30
+ return $element['title'];
31
+ },
32
+ $blocks
33
+ ),
34
+ SORT_ASC,
35
+ $blocks
36
+ );
37
  ?>
38
 
39
  <div class="uagb-container uagb-general">
95
  'social-share-child',
96
  'buttons-child',
97
  'faq-child',
98
+ 'post-title',
99
+ 'post-image',
100
+ 'post-button',
101
+ 'post-excerpt',
102
+ 'post-meta',
103
+ 'restaurant-menu-child',
104
+ 'content-timeline-child',
105
  );
 
106
  if ( in_array( $addon, $child_blocks, true ) ) {
107
  continue;
108
  }
assets/css/blocks/lottie.css ADDED
File without changes
assets/css/blocks/post.css CHANGED
@@ -1 +1 @@
1
- .uagb-post-grid{margin:0;position:relative}.uagb-post-grid .uagb-post__load-more-wrap{width:100%}.uagb-post-grid .uagb-post__load-more-wrap .uagb-post-pagination-button{cursor:pointer}.uagb-post-grid .uagb-post__load-more-wrap a{color:inherit}.uagb-post-grid .is-grid article{float:left;display:inline-block}.uagb-post-grid .uagb-post__items{display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uagb-post-grid .is-grid.uagb-post__equal-height .uagb-post__inner-wrap{height:100%}.uagb-post-grid .is-masonry .uagb-post__inner-wrap{height:auto}.uagb-post-grid .uagb-post__inner-wrap>p{display:none}.uagb-post-grid .uagb-post__author span,.uagb-post-grid .uagb-post__comment span,.uagb-post-grid .uagb-post__taxonomy span,.uagb-post-grid .uagb-post__date span{font-size:inherit;line-height:inherit;width:inherit;height:inherit;margin-right:4px}.uagb-post-grid .uagb-post__columns-8 article{width:12.5%}.uagb-post-grid .uagb-post__columns-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-5 article{width:20%}.uagb-post-grid .uagb-post__columns-4 article{width:25%}.uagb-post-grid .uagb-post__columns-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-2 article{width:50%}.uagb-post-grid .uagb-post__columns-1 article{width:100%}@media only screen and (max-width: 600px){.uagb-post-grid div[class*="columns"].is-grid{grid-template-columns:1fr}}.uagb-post-grid .uagb-post__image img{display:block;width:100%}.uagb-post-grid .uagb-post__text{text-align:left;box-sizing:border-box}.uagb-post-grid .uagb-post__title{margin-top:0;margin-bottom:15px;word-break:break-word}.uagb-post-grid .uagb-post__title a{color:inherit;box-shadow:none;transition:.3s ease;text-decoration:none}.uagb-post-grid .uagb-post__title a:hover{text-decoration:none}.uagb-post-grid .uagb-post__title a:focus{text-decoration:none}.uagb-post-grid .uagb-post__title a:active{text-decoration:none}.uagb-post-grid .uagb-post-grid-byline{text-transform:uppercase;font-size:11px;letter-spacing:1px;margin-bottom:15px}.uagb-post-grid .uagb-post__text .uagb-post-grid-byline>*{margin-right:10px}.uagb-post-grid .uagb-post-grid-byline a,.uagb-post-grid .uagb-post-grid-byline a:focus,.uagb-post-grid .uagb-post-grid-byline a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__title a,.uagb-post-grid .uagb-post__title a:focus,.uagb-post-grid .uagb-post__title a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__author,.uagb-post-grid .uagb-post__date{display:inline-block;word-break:break-all}.uagb-post-grid .uagb-post__author:not(:last-child):after,.uagb-post-grid .uagb-post__date:not(:last-child):after{content:"\B7";vertical-align:middle;margin:0 5px;line-height:1}.uagb-post-grid .uagb-post__comment,.uagb-post-grid .uagb-post__taxonomy{display:inline-block}.uagb-post-grid .uagb-post__author a{box-shadow:none}.uagb-post-grid .uagb-post__author a:hover{color:inherit;box-shadow:0 -1px 0 inset}.uagb-post-grid .uagb-post__excerpt{margin-bottom:25px;word-break:break-word}.uagb-post-grid .uagb-post__text p{margin:0 0 15px 0}.uagb-post-grid .uagb-post__text p:last-of-type{margin-bottom:0}.uagb-post-grid .uagb-post__cta{border:none;display:inline-block}.uagb-post-grid .uagb-post__link{display:inline-block;box-shadow:none;transition:.3s ease;font-weight:bold;color:inherit;text-decoration:none;padding:5px 10px}.uagb-post-grid .uagb-post__excerpt div+p{margin-top:15px}.uagb-post-grid .uagb-post__excerpt p{color:inherit}.uagb-post-grid .uagb-post__link-complete-box{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}.uagb-post__image-position-background .uagb-post__text{opacity:1;position:relative;z-index:10;overflow:hidden;width:100%}.uagb-post__image-position-background .uagb-post__inner-wrap{position:relative;width:100%}.uagb-post__image-position-background .uagb-post__image img{position:absolute;width:auto;height:auto;min-width:100%;max-width:none;left:50%;top:50%;transform:translate(-50%, -50%);min-height:100%}.uagb-post__image-position-background .uagb-post__image{background-size:cover;background-repeat:no-repeat;background-position:center;overflow:hidden;text-align:center;position:relative}.uagb-post__image-position-background .uagb-post__image{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}.uagb-post__image-position-background .uagb-post__image::before{content:'';position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;background-color:rgba(255,255,255,0.5)}.uagb-post-grid[data-equal-height="yes"] .uagb-post__inner-wrap{display:inline-block;height:100%}.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:-45px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:-45px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:-45px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:-45px;right:auto}.uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:25px;z-index:1}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:auto;right:25px}.uagb-post__arrow-inside.uagb-post-grid .slick-next{right:25px}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-next{left:25px;right:auto}.uagb-post-grid .is-grid article,.uagb-post-grid .is-masonry article,.uagb-post-grid .is-carousel article{box-sizing:border-box}@media (max-width: 976px){.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:15px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:15px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:15px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:15px;right:auto}.uagb-post-grid .uagb-post__columns-tablet-1 article{width:100%}.uagb-post-grid .uagb-post__columns-tablet-2 article{width:50%}.uagb-post-grid .uagb-post__columns-tablet-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-tablet-4 article{width:25%}.uagb-post-grid .uagb-post__columns-tablet-5 article{width:20%}.uagb-post-grid .uagb-post__columns-tablet-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}@media (max-width: 767px){.uagb-post-grid .uagb-post__columns-mobile-1 article{width:100%}.uagb-post-grid .uagb-post__columns-mobile-2 article{width:50%}.uagb-post-grid .uagb-post__columns-mobile-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-mobile-4 article{width:25%}.uagb-post-grid .uagb-post__columns-mobile-5 article{width:20%}.uagb-post-grid .uagb-post__columns-mobile-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}.entry .entry-content .uagb-post-grid a{text-decoration:none}.uagb-post-pagination-wrap a.page-numbers,.uagb-post-pagination-wrap span.page-numbers.current{padding:5px 10px;margin:0;display:inline-block}.uagb-post-grid .uagb-post-inf-loader{margin:0 auto;min-height:58px;line-height:58px;width:160px;text-align:center}.uagb-post-grid .uagb-post-inf-loader div{width:18px;height:18px;background-color:#0085ba;-webkit-border-radius:100%;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.uagb-post-grid .uagb-post-inf-loader .uagb-post-loader-1{-webkit-animation-delay:-0.32s;animation-delay:-0.32s}.uagb-post-grid .uagb-post-inf-loader .uagb-post-loader-2{-webkit-animation-delay:-0.16s;animation-delay:-0.16s}@-webkit-keyframes sk-bouncedelay{0%,80%,100%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes sk-bouncedelay{0%,80%,100%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}
1
+ .uagb-post-grid{margin:0;position:relative}.uagb-post-grid .uagb-post__load-more-wrap{width:100%}.uagb-post-grid .uagb-post__load-more-wrap .uagb-post-pagination-button{cursor:pointer}.uagb-post-grid .uagb-post__load-more-wrap a{color:inherit}.uagb-post-grid .is-grid article{float:left;display:inline-block}.uagb-post-grid .uagb-post__items{display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uagb-post-grid .is-grid.uagb-post__equal-height .uagb-post__inner-wrap{height:100%}.uagb-post-grid .is-masonry .uagb-post__inner-wrap{height:auto}.uagb-post-grid .uagb-post__inner-wrap>p{display:none}.uagb-post-grid .uagb-post__author span,.uagb-post-grid .uagb-post__comment span,.uagb-post-grid .uagb-post__taxonomy span,.uagb-post-grid .uagb-post__date span{font-size:inherit;line-height:inherit;width:inherit;height:inherit;margin-right:4px}.uagb-post-grid .uagb-post__columns-8 article{width:12.5%}.uagb-post-grid .uagb-post__columns-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-5 article{width:20%}.uagb-post-grid .uagb-post__columns-4 article{width:25%}.uagb-post-grid .uagb-post__columns-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-2 article{width:50%}.uagb-post-grid .uagb-post__columns-1 article{width:100%}@media only screen and (max-width: 600px){.uagb-post-grid div[class*="columns"].is-grid{grid-template-columns:1fr}}.uagb-post-grid .uagb-post__image img{display:block;width:100%}.uagb-post-grid .uagb-post__image{margin-bottom:15px}.uagb-post-grid .uagb-post__title{margin-top:0;margin-bottom:15px;word-break:break-word}.uagb-post-grid .uagb-post__title a{color:inherit;box-shadow:none;transition:.3s ease;text-decoration:none}.uagb-post-grid .uagb-post__title a:hover{text-decoration:none}.uagb-post-grid .uagb-post__title a:focus{text-decoration:none}.uagb-post-grid .uagb-post__title a:active{text-decoration:none}.uagb-post-grid .uagb-post-grid-byline{text-transform:uppercase;font-size:11px;letter-spacing:1px;margin-bottom:15px}.uagb-post-grid .uagb-post-grid-byline>*{margin-right:10px}.uagb-post-grid .uagb-post-grid-byline a,.uagb-post-grid .uagb-post-grid-byline a:focus,.uagb-post-grid .uagb-post-grid-byline a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__title a,.uagb-post-grid .uagb-post__title a:focus,.uagb-post-grid .uagb-post__title a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__author,.uagb-post-grid .uagb-post__date{display:inline-block;word-break:break-all}.uagb-post-grid .uagb-post__author:not(:last-child):after,.uagb-post-grid .uagb-post__date:not(:last-child):after{content:"\B7";vertical-align:middle;margin:0 5px;line-height:1}.uagb-post-grid .uagb-post__comment,.uagb-post-grid .uagb-post__taxonomy{display:inline-block}.uagb-post-grid .uagb-post__author a{box-shadow:none}.uagb-post-grid .uagb-post__author a:hover{color:inherit;box-shadow:0 -1px 0 inset}.uagb-post-grid .uagb-post__excerpt{margin-bottom:25px;word-break:break-word}.uagb-post-grid .uagb-post__inner-wrap p{margin:0 0 15px 0}.uagb-post-grid .uagb-post__inner-wrap p:last-of-type{margin-bottom:0}.uagb-post-grid .uagb-post__cta{border:none;display:inline-block}.uagb-post-grid .uagb-post__link{display:inline-block;box-shadow:none;transition:.3s ease;font-weight:bold;color:inherit;text-decoration:none;padding:5px 10px}.uagb-post-grid .uagb-post__excerpt div+p{margin-top:15px}.uagb-post-grid .uagb-post__excerpt p{color:inherit}.uagb-post-grid .uagb-post__link-complete-box{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}.uagb-post__image-position-background .uagb-post__text{opacity:1;position:relative;z-index:10;overflow:hidden;width:100%}.uagb-post__image-position-background .uagb-post__inner-wrap{position:relative;width:100%}.uagb-post__image-position-background .uagb-post__image img{position:absolute;width:auto;height:auto;min-width:100%;max-width:none;left:50%;top:50%;transform:translate(-50%, -50%);min-height:100%}.uagb-post__image-position-background .uagb-post__image{background-size:cover;background-repeat:no-repeat;background-position:center;overflow:hidden;text-align:center;position:relative}.uagb-post__image-position-background .uagb-post__image{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}.uagb-post__image-position-background .uagb-post__image::before{content:'';position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;background-color:rgba(255,255,255,0.5)}.uagb-post-grid[data-equal-height="yes"] .uagb-post__inner-wrap{display:inline-block;height:100%}.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:-45px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:-45px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:-45px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:-45px;right:auto}.uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:25px;z-index:1}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:auto;right:25px}.uagb-post__arrow-inside.uagb-post-grid .slick-next{right:25px}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-next{left:25px;right:auto}.uagb-post-grid .is-grid article,.uagb-post-grid .is-masonry article,.uagb-post-grid .is-carousel article{box-sizing:border-box}@media (max-width: 976px){.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:15px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:15px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:15px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:15px;right:auto}.uagb-post-grid .uagb-post__columns-tablet-1 article{width:100%}.uagb-post-grid .uagb-post__columns-tablet-2 article{width:50%}.uagb-post-grid .uagb-post__columns-tablet-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-tablet-4 article{width:25%}.uagb-post-grid .uagb-post__columns-tablet-5 article{width:20%}.uagb-post-grid .uagb-post__columns-tablet-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}@media (max-width: 767px){.uagb-post-grid .uagb-post__columns-mobile-1 article{width:100%}.uagb-post-grid .uagb-post__columns-mobile-2 article{width:50%}.uagb-post-grid .uagb-post__columns-mobile-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-mobile-4 article{width:25%}.uagb-post-grid .uagb-post__columns-mobile-5 article{width:20%}.uagb-post-grid .uagb-post__columns-mobile-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}.entry .entry-content .uagb-post-grid a{text-decoration:none}.uagb-post-pagination-wrap a.page-numbers,.uagb-post-pagination-wrap span.page-numbers.current{padding:5px 10px;margin:0;display:inline-block}.uagb-post-grid .uagb-post-inf-loader{margin:0 auto;min-height:58px;line-height:58px;width:160px;text-align:center}.uagb-post-grid .uagb-post-inf-loader div{width:18px;height:18px;background-color:#0085ba;-webkit-border-radius:100%;border-radius:100%;display:inline-block;-webkit-animation:sk-bouncedelay 1.4s infinite ease-in-out both;animation:sk-bouncedelay 1.4s infinite ease-in-out both}.uagb-post-grid .uagb-post-inf-loader .uagb-post-loader-1{-webkit-animation-delay:-0.32s;animation-delay:-0.32s}.uagb-post-grid .uagb-post-inf-loader .uagb-post-loader-2{-webkit-animation-delay:-0.16s;animation-delay:-0.16s}@-webkit-keyframes sk-bouncedelay{0%,80%,100%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes sk-bouncedelay{0%,80%,100%{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}
assets/css/blocks/price-list.css CHANGED
@@ -1 +1 @@
1
- .uagb-rest_menu__wrap{position:relative;padding-left:5px;padding-right:5px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.uagb-rest_menu__wrap,.uagb-rest_menu__wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-rm__image img,.slick-slide .uagb-rm__image img{display:inline-block;box-sizing:content-box}.uagb-rm__title,.uagb-rm__price{display:inline-block}.uagb-rm__desc{margin-bottom:15px;font-style:italic}.uagb-rm__content{overflow:hidden;text-align:left;word-break:break-word;padding:15px;border-radius:inherit;position:relative;padding:5px}.uagb-rm__image-position-left .uagb-rm__content,.uagb-rm__image-position-right .uagb-rm__content{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-rm-details{display:table;width:100%}.uagb-rm__title-wrap,.uagb-rm__price-wrap{display:table-cell}.uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price-wrap{width:85%}.uagb-rm__price-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price-wrap{width:15%}.uagb-rm__title,.uagb-rm__price{display:block}.uagb-rm__align-center .uagb-rm-details,.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__align-center .uagb-rm__price-wrap{display:block;width:100%}.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:center;align-self:center}.uagb-rm__image{overflow:hidden}.uagb-rm__title{margin-bottom:5px;font-size:20px}.uagb-rm__price{font-style:italic;text-align:right}.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm-details,.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm__price-wrap{display:block;width:100%;text-align:center}.uagb-rm__align-center .uagb-rm__price{text-align:center}.uagb-rm__align-right .uagb-rm-details{display:flex;width:100%;flex-direction:row-reverse}.uagb-rm__align-right .uagb-rm__price{text-align:left}.uagb-rm__align-left .uagb-rm__price{text-align:right}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__price,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__price,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price{text-align:right}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm-details,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm-details,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm-details{display:flex;flex-direction:unset;text-align:left}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__image-content,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__image-content,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__image-content{text-align:left}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm-details,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm-details,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm-details{display:flex;flex-direction:row-reverse;text-align:right}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__price,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__price,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price{text-align:left}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__image-content,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__image-content,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__image-content{text-align:right}.uagb-rest_menu__outer-wrap{position:relative}.uagb-rm__overlay{height:100%;width:100%;top:0;left:0;position:absolute;background:transparent}.uagb-tm-parent{padding:30px}.uagb-rm__text-wrap{position:relative;display:block;width:100%}.uagb-rest_menu__wrap{position:relative}.uagb-rest_menu__outer-wrap:after{content:"";display:block;clear:both}.uagb-rm__separator-parent{line-height:0em;margin-left:0;margin-right:0;margin-bottom:10px;-js-display:flex;display:-webkit-flex;display:-moz-flexbox;display:flex}.uagb-rm__separator{width:100%;border-top-width:1px;border-top-color:#b2b4b5;border-top-style:inherit}.uagb-rm__image-position-left .uagb-rm__image{margin-right:10px}.uagb-rm__image-position-right .uagb-rm__image{margin-left:10px}@media (max-width: 976px){.uagb-rm__image-position-left.uagb-rm-stacked-tablet .uagb-rm__content,.uagb-rm__image-position-right.uagb-rm-stacked-tablet .uagb-rm__content{display:block;-js-display:block;display:block}.uagb-rm__image-position-right.uagb-rm-stacked-tablet.uagb-rm-reverse-order-tablet .uagb-rm__content{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-rm__image-position-right.uagb-rm-stacked-tablet.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-end}.uagb-rm__image-position-left.uagb-rm-stacked-tablet.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-start}}@media (max-width: 767px){.uagb-rm__image-position-left.uagb-rm-stacked-mobile .uagb-rm__content,.uagb-rm__image-position-right.uagb-rm-stacked-mobile .uagb-rm__content{display:block;-js-display:block;display:block}.uagb-rm__image-position-right.uagb-rm-stacked-mobile.uagb-rm-reverse-order-mobile .uagb-rm__content{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-rest_menu__wrap.uagb-rm__mobile-column-3{width:33%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__mobile-column-2{width:50%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__mobile-column-1{width:100%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__image-position-right.uagb-rm-stacked-mobile.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-end}.uagb-rm__image-position-left.uagb-rm-stacked-mobile.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-start}}.uagb-rest_menu__wrap.uagb-rm__desk-column-3{display:block;width:33%;float:left;width:calc(100% / 3);padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__desk-column-2{display:block;width:49%;float:left;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__desk-column-1{display:block;width:100%;float:left;padding-left:10px;padding-right:10px}@media (max-width: 976px){.uagb-rm__tablet-column-3.uagb-rest_menu__wrap{width:33%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__tablet-column-2.uagb-rest_menu__wrap{width:50%;float:left;padding-left:10px;padding-right:10px}.uagb-rm__tablet-column-1.uagb-rest_menu__wrap{width:100%;float:left;padding-left:10px;padding-right:10px}}
1
+ .uagb-rest_menu__wrap{position:relative;padding-left:5px;padding-right:5px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.uagb-rest_menu__wrap,.uagb-rest_menu__wrap *{-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s}.uagb-rm__image img,.slick-slide .uagb-rm__image img{display:inline-block;box-sizing:content-box}.uagb-rm__title,.uagb-rm__price{display:inline-block}.uagb-rm__desc{margin-bottom:15px;font-style:italic}.uagb-rm__content{overflow:hidden;text-align:left;word-break:break-word;padding:15px;border-radius:inherit;position:relative;padding:5px}.uagb-rm__image-position-left .uagb-rm__content,.uagb-rm__image-position-right .uagb-rm__content{display:-ms-flexbox;-js-display:flex;display:flex}.uagb-rm-details{display:table;width:100%}.uagb-rm__title-wrap,.uagb-rm__price-wrap{display:table-cell}.uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price-wrap{width:85%}.uagb-rm__price-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price-wrap{width:15%}.uagb-rm__title,.uagb-rm__price{display:block}.uagb-rm__align-center .uagb-rm-details,.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__align-center .uagb-rm__price-wrap{display:block;width:100%}.uagb-rm__image-aligned-middle .uagb-rm__image-content{-ms-flex-item-align:center;align-self:center}.uagb-rm__image{overflow:hidden}.uagb-rm__title{margin-bottom:5px;font-size:20px}.uagb-rm__price{font-style:italic;text-align:right}.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm-details,.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-center.uagb-rm__align-center .uagb-rm__price-wrap{display:block;width:100%;text-align:center}.uagb-rm__align-center .uagb-rm__price{text-align:center}.uagb-rm__align-right .uagb-rm-details{display:flex;width:100%;flex-direction:row-reverse}.uagb-rm__align-right .uagb-rm__price{text-align:left}.uagb-rm__align-left .uagb-rm__price{text-align:right}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__price,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__price,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__price{text-align:right}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm-details,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm-details,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm-details{display:flex;flex-direction:unset;text-align:left}.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-left.uagb-rm__align-left .uagb-rm__image-content,.uagb-rm__image-position-left.uagb-rm__align-right .uagb-rm__image-content,.uagb-rm__image-position-left.uagb-rm__align-center .uagb-rm__image-content{text-align:left}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm-details,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm-details,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm-details{display:flex;flex-direction:row-reverse;text-align:right}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__price,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__price,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__price{text-align:left}.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__title-wrap,.uagb-rm__image-position-right.uagb-rm__align-left .uagb-rm__image-content,.uagb-rm__image-position-right.uagb-rm__align-right .uagb-rm__image-content,.uagb-rm__image-position-right.uagb-rm__align-center .uagb-rm__image-content{text-align:right}.uagb-rest_menu__outer-wrap{position:relative;display:flex;flex-direction:row;flex-wrap:wrap}.uagb-rm__overlay{height:100%;width:100%;top:0;left:0;position:absolute;background:transparent}.uagb-tm-parent{padding:30px}.uagb-rm__text-wrap{position:relative;display:block;width:100%}.uagb-rest_menu__wrap{position:relative}.uagb-rest_menu__outer-wrap:after{content:"";display:block;clear:both}.uagb-rest_menu__wrap.uagb-rm__desk-column-3{display:block;width:33%;width:calc(100% / 3);padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__desk-column-2{display:block;width:49%;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__desk-column-1{display:block;width:100%;padding-left:10px;padding-right:10px}.uagb-rm__separator-parent{line-height:0em;margin-left:0;margin-right:0;margin-bottom:10px;-js-display:flex;display:-webkit-flex;display:-moz-flexbox;display:flex}.uagb-rm__separator{width:100%;border-top-width:1px;border-top-color:#b2b4b5;border-top-style:inherit}.uagb-rm__image-position-left .uagb-rm__image{margin-right:10px}.uagb-rm__image-position-right .uagb-rm__image{margin-left:10px}@media (max-width: 976px){.uagb-rm__image-position-left.uagb-rm-stacked-tablet .uagb-rm__content,.uagb-rm__image-position-right.uagb-rm-stacked-tablet .uagb-rm__content{display:block;-js-display:block;display:block}.uagb-rm__image-position-right.uagb-rm-stacked-tablet.uagb-rm-reverse-order-tablet .uagb-rm__content{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-rm__image-position-right.uagb-rm-stacked-tablet.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-end}.uagb-rm__image-position-left.uagb-rm-stacked-tablet.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-start}.uagb-rm__tablet-column-3.uagb-rest_menu__wrap{width:33%;padding-left:10px;padding-right:10px}.uagb-rm__tablet-column-2.uagb-rest_menu__wrap{width:50%;padding-left:10px;padding-right:10px}.uagb-rm__tablet-column-1.uagb-rest_menu__wrap{width:100%;padding-left:10px;padding-right:10px}}@media (max-width: 767px){.uagb-rm__image-position-left.uagb-rm-stacked-mobile .uagb-rm__content,.uagb-rm__image-position-right.uagb-rm-stacked-mobile .uagb-rm__content{display:block;-js-display:block;display:block}.uagb-rm__image-position-right.uagb-rm-stacked-mobile.uagb-rm-reverse-order-mobile .uagb-rm__content{display:-webkit-box;display:-ms-flexbox;-js-display:flex;display:-webkit-flex;display:-moz-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;-webkit-flex-direction:column-reverse;-moz-box-orient:vertical;-moz-box-direction:reverse;flex-direction:column-reverse}.uagb-rest_menu__wrap.uagb-rm__mobile-column-3{width:33%;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__mobile-column-2{width:50%;padding-left:10px;padding-right:10px}.uagb-rest_menu__wrap.uagb-rm__mobile-column-1{width:100%;padding-left:10px;padding-right:10px}.uagb-rm__image-position-right.uagb-rm-stacked-mobile.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-end}.uagb-rm__image-position-left.uagb-rm-stacked-mobile.uagb-rm__image-aligned-middle .uagb-rm__image-content{align-self:flex-start}}
assets/css/blocks/timeline.css CHANGED
@@ -1 +1 @@
1
- .uagb-timeline__widget{position:relative;display:flex;align-items:flex-start;font-size:inherit;color:inherit;margin-bottom:inherit}.uagb-timeline__widget a{text-decoration:none;color:inherit;font-size:inherit;margin-bottom:inherit}.uagb-timeline__image a{display:block;position:relative;max-width:100%}.uagb-timeline__image img{display:inline-block;box-sizing:content-box}.uagb-timeline__author{text-transform:uppercase}.uagb-timeline__main{position:relative}.uagb-content{word-break:break-word}a.uagb-timeline__link{padding:5px 10px;display:inline-block}.uagb-timeline__headingh1,.uagb-timeline__headingh2,.uagb-timeline__headingh3,.uagb-timeline__headingh4,.uagb-timeline__headingh5,.uagb-timeline__headingh6{margin-bottom:0px}.uagb-timeline__inner-date-new p,.uagb-timeline__date-inner .uagb-timeline__inner-date-new p{margin-bottom:0px}.uagb-timeline__line{background-color:#eeeeee}.uagb-timeline__line__inner{background-color:#5cb85c;width:100%}.uagb-timeline__main .uagb-timeline__icon-new{line-height:1em;display:inline-block;vertical-align:middle;font-style:normal}.uagb-timeline__center-block .uagb-timeline__date-hide{display:none}.uagb-timeline__field:not(:last-child){margin-bottom:20px}.uagb-timeline__center-block .uagb-timeline__widget.uagb-timeline__right,.uagb-timeline__right-block .uagb-timeline__widget{flex-direction:row-reverse}.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__right-block .uagb-timeline__center-block .uagb-timeline__date-new{display:block}.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:inherit}.uagb-timeline__right-block .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow{top:0;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__right-block .uagb-timeline__marker,.uagb-timeline__right-block .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__right-block .uagb-timeline__day-new{margin-right:14px}.uagb-timeline__right-block .uagb-timeline__marker{flex-shrink:0;flex-grow:0}.uagb-timeline__right-block .uagb-timeline__day-new{flex-grow:1}.uagb-timeline__left-block .uagb-timeline__marker,.uagb-timeline__left-block .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__left-block .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__left-block .uagb-timeline__day-new{margin-left:14px;flex-grow:1;order:1}.uagb-timeline__left-block .uagb-timeline__marker{order:0;flex-shrink:0;flex-grow:0}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow{top:0;width:10px;height:40px;position:absolute}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;transform:translateY(-50%)}.uagb-timeline__marker{background-color:#eeeeee;border-radius:999px;position:relative;display:flex;align-items:center;justify-content:center;z-index:1;transition:all .2s ease-in-out}.uagb-timeline__main .uagb-timeline__days .uagb-timeline__field-wrap:hover .uagb-timeline__marker{transition:all .2s ease-in-out}.uagb-timeline__center-block .uagb-timeline__marker{order:1;flex-shrink:0;flex-grow:0}.uagb-timeline__center-block .uagb-timeline__day-new,.uagb-timeline__center-block .uagb-timeline__date-new{flex-grow:1;flex-basis:50%;max-width:100%;position:relative}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__day-new{order:2;padding-left:0;padding-right:12px}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__day-new{order:2;padding-right:0;padding-left:12px}.uagb-timeline__events-inner-new{padding:40px}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__date-new{display:flex;justify-content:flex-end}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__date-new{display:flex;justify-content:flex-start}.uagb-timeline__left-block .uagb-timeline__date-new{margin-right:10px}.uagb-timeline__right-block .uagb-timeline__date-new{margin-left:10px}.uagb-timeline__right-block .uagb-timeline__date-new{display:flex;align-items:center}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow{right:0px;top:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow{left:0px;top:0;width:10px;height:40px;position:absolute}.uagb-timeline__arrow-center .uagb-timeline__widget{align-items:center}.uagb-timeline__arrow-bottom .uagb-timeline__widget{align-items:flex-end}.uagb-timeline__arrow-center .uagb-timeline__left .uagb-timeline__arrow,.uagb-timeline__arrow-center .uagb-timeline__right .uagb-timeline__arrow{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__arrow-bottom .uagb-timeline__left .uagb-timeline__arrow,.uagb-timeline__arrow-bottom .uagb-timeline__right .uagb-timeline__arrow{top:100%;transform:translateY(-100%)}.uagb-timeline__day-right .uagb-timeline__events-inner{text-align:right}.uagb-timeline__day-left .uagb-timeline__events-inner{text-align:left}.uagb-timeline__arrow-top .uagb-timeline__date-new .uagb-timeline__date-new,.uagb-timeline__arrow-bottom .uagb-timeline__date-new .uagb-timeline__date-new{padding-top:8px;padding-bottom:8px}.uagb-timeline__events-inner-new,.uagb-timeline__arrow{transition:background .2s ease-in-out}.uagb-timeline__arrow:after{transition:border-color .2s ease-in-out}.uagb-timeline__date-new{transition:color .2s ease-in-out}.uagb-timeline__widget.uagb-timeline__left.hide-events .uagb-timeline__events-inner-new,.uagb-timeline__widget.uagb-timeline__left.hide-events .uagb-timeline__date-new{visibility:hidden}.uagb-timeline__widget.uagb-timeline__right.hide-events .uagb-timeline__events-inner-new,.uagb-timeline__widget.uagb-timeline__right.hide-events .uagb-timeline__date-new{visibility:hidden}.uagb-timeline__main .uagb-timeline__year{display:flex;position:relative}.uagb-timeline__main .uagb-timeline__year span{display:inline-block;padding-bottom:6px}.uagb-timeline__day-left .uagb-timeline__arrow:after{content:'';left:0px;position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__right .uagb-timeline__day-left .uagb-timeline__arrow:after{right:0}.uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';right:0px;position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__icon{width:100px;height:100px;-webkit-border-radius:50%;border-radius:50%;text-align:center;line-height:100px;vertical-align:middle;position:relative;z-index:1}.uagb-timeline__main .uagb-timeline__date .uagb-timeline__inner-date-new{white-space:nowrap;margin:0px}.uagb-timeline__main .uagb-timeline__line{position:absolute;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.uagb-timeline__right-block .uagb-timeline__main .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block .uagb-timeline__line{left:50%;right:auto}.uagb-timeline__main .in-view i.uagb-timeline__in-view-icon{-webkit-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-in-out;-webkit-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out;transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out}.uagb-timeline__left-block .uagb-timeline__days{text-align:left}.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block .uagb-timeline__days{text-align:center}.uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';right:0px;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__right .uagb-timeline__days{text-align:right}.uagb-timeline__outer-wrap span.dashicons-admin-users.dashicons{display:inline;vertical-align:baseline;margin-right:4px}@media screen and (max-width: 1023px){.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker{-webkit-box-ordinal-group:1;-webkit-order:0;-moz-box-ordinal-group:1;-ms-flex-order:0;order:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__widget.uagb-timeline__right{-webkit-box-orient:unset;-webkit-box-direction:unset;-webkit-flex-direction:unset;-moz-box-orient:unset;-moz-box-direction:unset;-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__widget{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}}@media screen and (max-width: 767px){.uagb-timeline-responsive-none .uagb-timeline__events-inner-new{padding:15px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker{-webkit-box-ordinal-group:1;-webkit-order:0;-moz-box-ordinal-group:1;-ms-flex-order:0;order:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__day-left .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__left-block .uagb-timeline__date-new{margin-right:10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__widget.uagb-timeline__right{-webkit-box-orient:unset;-webkit-box-direction:unset;-webkit-flex-direction:unset;-moz-box-orient:unset;-moz-box-direction:unset;-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__widget{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}}.uagb-timeline__line__inner{background-color:#61ce70;width:100%}.uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.rtl .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.rtl .uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.rtl .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.rtl .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.uagb-timeline__day-right .uagb-timeline__events-inner-new{border-radius:4px 4px 4px 4px}.uagb-timeline__day-left .uagb-timeline__events-inner-new{border-radius:4px 4px 4px 4px}.uagb-timeline__line{width:3px}.uagb-timeline__main .uagb-timeline__icon-new{font-size:16px}.uagb-timeline__marker{min-height:3em;min-width:3em;line-height:3em}.uagb-timeline__arrow{height:3em}.uagb-timeline__left-block .uagb-timeline__line{left:calc(3em / 2)}.uagb-timeline__right-block .uagb-timeline__line{right:calc(3em / 2)}.rtl .uagb-timeline__left-block .uagb-timeline__line{right:calc(3em / 2);left:auto}.rtl .uagb-timeline__right-block .uagb-timeline__line{left:calc(3em / 2);right:auto}.uagb-timeline-desc-content p{font-size:inherit}.uagb-timeline__main p:empty{display:none}@media (max-width: 976px){.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker{-ms-flex-order:0;order:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__widget.uagb-timeline__right{-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__widget{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline__author,.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline__link_parent,.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline__image a,.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline__heading,.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline-desc-content,.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline__date-inner{text-align:left}.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline__date-hide.uagb-timeline__date-inner{text-align:left}}@media (max-width: 767px){.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{left:calc(3em / 2);right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{right:calc(3em / 2);left:auto}.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline__author,.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline__link_parent,.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline__image a,.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline__heading,.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline-desc-content,.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline__date-inner{text-align:left}.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline__date-hide.uagb-timeline__date-inner{text-align:left}}
1
+ .uagb-timeline__widget{position:relative;display:flex;align-items:flex-start;font-size:inherit;color:inherit;margin-bottom:inherit}.uagb-timeline__widget a{text-decoration:none;color:inherit;font-size:inherit;margin-bottom:inherit}.uagb-timeline__image a{display:block;position:relative;max-width:100%}.uagb-timeline__image img{display:inline-block;box-sizing:content-box}.uagb-timeline__author{text-transform:uppercase}.uagb-timeline__main{position:relative}.uagb-content{word-break:break-word}a.uagb-timeline__link{padding:5px 10px;display:inline-block}.uagb-timeline__headingh1,.uagb-timeline__headingh2,.uagb-timeline__headingh3,.uagb-timeline__headingh4,.uagb-timeline__headingh5,.uagb-timeline__headingh6{margin-bottom:0px}.uagb-timeline__inner-date-new p,.uagb-timeline__date-inner .uagb-timeline__inner-date-new p{margin-bottom:0px}.uagb-timeline__line{background-color:#eeeeee}.uagb-timeline__line__inner{background-color:#5cb85c;width:100%}.uagb-timeline__main .uagb-timeline__icon-new{line-height:1em;display:inline-block;vertical-align:middle;font-style:normal}.uagb-timeline__center-block .uagb-timeline__date-hide{display:none}.uagb-timeline__field:not(:last-child){margin-bottom:20px}.uagb-timeline__field{margin-bottom:20px}.uagb-timeline__center-block .uagb-timeline__widget.uagb-timeline__right,.uagb-timeline__right-block .uagb-timeline__widget{flex-direction:row-reverse}.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__right-block .uagb-timeline__center-block .uagb-timeline__date-new{display:block}.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:inherit}.uagb-timeline__right-block .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow{top:0;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__right-block .uagb-timeline__marker,.uagb-timeline__right-block .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__right-block .uagb-timeline__day-new{margin-right:14px}.uagb-timeline__right-block .uagb-timeline__marker{flex-shrink:0;flex-grow:0}.uagb-timeline__right-block .uagb-timeline__day-new{flex-grow:1}.uagb-timeline__left-block .uagb-timeline__marker,.uagb-timeline__left-block .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__left-block .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__left-block .uagb-timeline__day-new{margin-left:14px;flex-grow:1;order:1}.uagb-timeline__left-block .uagb-timeline__marker{order:0;flex-shrink:0;flex-grow:0}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow{top:0;width:10px;height:40px;position:absolute}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__left-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__right-block .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;transform:translateY(-50%)}.uagb-timeline__marker{background-color:#eeeeee;border-radius:999px;position:relative;display:flex;align-items:center;justify-content:center;z-index:1;transition:all .2s ease-in-out}.uagb-timeline__main .uagb-timeline__days .uagb-timeline__field-wrap:hover .uagb-timeline__marker{transition:all .2s ease-in-out}.uagb-timeline__center-block .uagb-timeline__marker{order:1;flex-shrink:0;flex-grow:0}.uagb-timeline__center-block .uagb-timeline__day-new,.uagb-timeline__center-block .uagb-timeline__date-new{flex-grow:1;flex-basis:50%;max-width:100%;position:relative}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__day-new{order:2;padding-left:0;padding-right:12px}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__day-new{order:2;padding-right:0;padding-left:12px}.uagb-timeline__events-inner-new{padding:40px}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__date-new{display:flex;justify-content:flex-end}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__date-new{display:flex;justify-content:flex-start}.uagb-timeline__left-block .uagb-timeline__date-new{margin-right:10px}.uagb-timeline__right-block .uagb-timeline__date-new{margin-left:10px}.uagb-timeline__right-block .uagb-timeline__date-new{display:flex;align-items:center}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow{right:0px;top:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow{left:0px;top:0;width:10px;height:40px;position:absolute}.uagb-timeline__arrow-center .uagb-timeline__widget{align-items:center}.uagb-timeline__arrow-bottom .uagb-timeline__widget{align-items:flex-end}.uagb-timeline__arrow-center .uagb-timeline__left .uagb-timeline__arrow,.uagb-timeline__arrow-center .uagb-timeline__right .uagb-timeline__arrow{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__arrow-bottom .uagb-timeline__left .uagb-timeline__arrow,.uagb-timeline__arrow-bottom .uagb-timeline__right .uagb-timeline__arrow{top:100%;transform:translateY(-100%)}.uagb-timeline__day-right .uagb-timeline__events-inner{text-align:right}.uagb-timeline__day-left .uagb-timeline__events-inner{text-align:left}.uagb-timeline__arrow-top .uagb-timeline__date-new .uagb-timeline__date-new,.uagb-timeline__arrow-bottom .uagb-timeline__date-new .uagb-timeline__date-new{padding-top:8px;padding-bottom:8px}.uagb-timeline__events-inner-new,.uagb-timeline__arrow{transition:background .2s ease-in-out}.uagb-timeline__arrow:after{transition:border-color .2s ease-in-out}.uagb-timeline__date-new{transition:color .2s ease-in-out}.uagb-timeline__widget.uagb-timeline__left.hide-events .uagb-timeline__events-inner-new,.uagb-timeline__widget.uagb-timeline__left.hide-events .uagb-timeline__date-new{visibility:hidden}.uagb-timeline__widget.uagb-timeline__right.hide-events .uagb-timeline__events-inner-new,.uagb-timeline__widget.uagb-timeline__right.hide-events .uagb-timeline__date-new{visibility:hidden}.uagb-timeline__main .uagb-timeline__year{display:flex;position:relative}.uagb-timeline__main .uagb-timeline__year span{display:inline-block;padding-bottom:6px}.uagb-timeline__day-left .uagb-timeline__arrow:after{content:'';left:0px;position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__right .uagb-timeline__day-left .uagb-timeline__arrow:after{right:0}.uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';right:0px;position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__icon{width:100px;height:100px;-webkit-border-radius:50%;border-radius:50%;text-align:center;line-height:100px;vertical-align:middle;position:relative;z-index:1}.uagb-timeline__main .uagb-timeline__date .uagb-timeline__inner-date-new{white-space:nowrap;margin:0px}.uagb-timeline__main .uagb-timeline__line{position:absolute;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.uagb-timeline__right-block .uagb-timeline__main .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block .uagb-timeline__line{left:50%;right:auto}.uagb-timeline__main .in-view i.uagb-timeline__in-view-icon{-webkit-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-in-out;-webkit-transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out;transition:background 0.25s ease-out 0.25s, width 0.25s ease-in-out, height 0.25s ease-in-out, color 0.25s ease-in-out, font-size 0.25s ease-out}.uagb-timeline__left-block .uagb-timeline__days{text-align:left}.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block .uagb-timeline__days{text-align:center}.uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';right:0px;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__right .uagb-timeline__days{text-align:right}.uagb-timeline__outer-wrap span.dashicons-admin-users.dashicons{display:inline;vertical-align:baseline;margin-right:4px}@media screen and (max-width: 1023px){.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker{-webkit-box-ordinal-group:1;-webkit-order:0;-moz-box-ordinal-group:1;-ms-flex-order:0;order:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__widget.uagb-timeline__right{-webkit-box-orient:unset;-webkit-box-direction:unset;-webkit-flex-direction:unset;-moz-box-orient:unset;-moz-box-direction:unset;-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__widget{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}}@media screen and (max-width: 767px){.uagb-timeline-responsive-none .uagb-timeline__events-inner-new{padding:15px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__marker{-webkit-box-ordinal-group:1;-webkit-order:0;-moz-box-ordinal-group:1;-ms-flex-order:0;order:0;-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-ordinal-group:2;-webkit-order:1;-moz-box-ordinal-group:2;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__day-left .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__left-block .uagb-timeline__date-new{margin-right:10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__widget.uagb-timeline__right{-webkit-box-orient:unset;-webkit-box-direction:unset;-webkit-flex-direction:unset;-moz-box-orient:unset;-moz-box-direction:unset;-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__widget{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-flex-direction:row-reverse;-moz-box-orient:horizontal;-moz-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__marker{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-webkit-flex-grow:0;-moz-box-flex:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new{-webkit-box-flex:1;-webkit-flex-grow:1;-moz-box-flex:1;-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__date-new{-webkit-box-flex:unset;-webkit-flex-grow:unset;-moz-box-flex:unset;-ms-flex-positive:unset;flex-grow:unset;-webkit-flex-basis:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-webkit-box-ordinal-group:unset;-webkit-order:unset;-moz-box-ordinal-group:unset;-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}}.uagb-timeline__line__inner{background-color:#61ce70;width:100%}.uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee}.rtl .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee}.rtl .uagb-timeline__left-block .uagb-timeline__day-right .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.rtl .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.rtl .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.uagb-timeline__day-right .uagb-timeline__events-inner-new{border-radius:4px 4px 4px 4px}.uagb-timeline__day-left .uagb-timeline__events-inner-new{border-radius:4px 4px 4px 4px}.uagb-timeline__line{width:3px}.uagb-timeline__main .uagb-timeline__icon-new{font-size:16px}.uagb-timeline__marker{min-height:3em;min-width:3em;line-height:3em}.uagb-timeline__arrow{height:3em}.uagb-timeline__left-block .uagb-timeline__line{left:calc(3em / 2)}.uagb-timeline__right-block .uagb-timeline__line{right:calc(3em / 2)}.rtl .uagb-timeline__left-block .uagb-timeline__line{right:calc(3em / 2);left:auto}.rtl .uagb-timeline__right-block .uagb-timeline__line{left:calc(3em / 2);right:auto}.uagb-timeline-desc-content p{font-size:inherit}.uagb-timeline__main p:empty{display:none}@media (max-width: 976px){.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{position:absolute;-webkit-transform:translateX(50%);-ms-transform:translateX(50%);transform:translateX(50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide{display:block}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{right:20px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line{left:20px;right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{margin-left:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__marker{-ms-flex-order:0;order:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1;-ms-flex-order:1;order:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow{left:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow{left:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__days{text-align:left}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after{content:'';position:absolute;display:inline;width:0;height:0;border-top:12px solid transparent;border-bottom:12px solid transparent}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__widget.uagb-timeline__right{-ms-flex-direction:unset;flex-direction:unset}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__left .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__widget{-ms-flex-direction:row-reverse;flex-direction:row-reverse}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__events-inner-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__events-inner-new{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__line{right:16px;left:auto}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{left:auto;right:0;width:10px;height:40px;position:absolute}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow{right:-12px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow{right:-10px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{margin-right:16px}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__marker{-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new{-ms-flex-positive:1;flex-grow:1}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__arrow:after{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__days{text-align:right}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__day-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__date-new{-ms-flex-positive:unset;flex-grow:unset;-ms-flex-preferred-size:unset;flex-basis:unset;max-width:100%;position:relative}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-left:0;padding-right:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__day-new{-ms-flex-order:unset;order:unset;padding-right:0;padding-left:0}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__left .uagb-timeline__date-new,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-res-right .uagb-timeline__right .uagb-timeline__date-new{display:none}.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline__author,.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline__link_parent,.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline__image a,.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline__heading,.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline-desc-content,.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline__date-inner{text-align:left}.uagb-timeline__responsive-tablet.uagb-timeline__center-block .uagb-timeline__date-hide.uagb-timeline__date-inner{text-align:left}}@media (max-width: 767px){.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__arrow:after{border-right:13px solid #eeeeee;border-left:none}.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-left .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-right .uagb-timeline__arrow:after,.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__day-left .uagb-timeline__arrow:after{border-left:13px solid #eeeeee;border-right:none}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line{left:calc(3em / 2);right:auto}.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-res-right .uagb-timeline__line,.rtl .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line{right:calc(3em / 2);left:auto}.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline__author,.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline__link_parent,.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline__image a,.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline__heading,.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline-desc-content,.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline__date-inner{text-align:left}.uagb-timeline__responsive-mobile.uagb-timeline__center-block .uagb-timeline__date-hide.uagb-timeline__date-inner{text-align:left}}.wp-block-uagb-content-timeline .uagb-timeline__left-block .uagb-timeline__date-new{display:none}.wp-block-uagb-content-timeline .uagb-timeline__right-block .uagb-timeline__date-new{display:none}
assets/js/faq.js CHANGED
@@ -70,12 +70,14 @@ function setupFAQ() {
70
  var expandFirstelements = document.getElementsByClassName( 'uagb-faq-expand-first-true' );
71
  var inactiveOtherelements = document.getElementsByClassName( 'uagb-faq-inactive-other-false' );
72
 
73
- if ( pattern.test( hashval ) ) {
74
 
75
  var elementToOpen = document.getElementById( hashval );
76
- elementToOpen.getElementsByClassName( 'uagb-faq-item' )[0].classList.add( 'uagb-faq-item-active' );
77
- elementToOpen.getElementsByClassName( 'uagb-faq-item' )[0].setAttribute( 'aria-expanded', true );
78
- slideDown( elementToOpen.getElementsByClassName( 'uagb-faq-content' )[0], 500 );
 
 
79
  } else {
80
 
81
  for ( var item = 0; item < expandFirstelements.length; item++ ) {
70
  var expandFirstelements = document.getElementsByClassName( 'uagb-faq-expand-first-true' );
71
  var inactiveOtherelements = document.getElementsByClassName( 'uagb-faq-inactive-other-false' );
72
 
73
+ if ( ( ((document.getElementById( hashval ) !== undefined) && (document.getElementById( hashval ) !== null) && (document.getElementById( hashval ) !== "")) && pattern.test( hashval ) )) {
74
 
75
  var elementToOpen = document.getElementById( hashval );
76
+ if( elementToOpen.getElementsByClassName( 'uagb-faq-item' )[0] !== undefined ){
77
+ elementToOpen.getElementsByClassName( 'uagb-faq-item' )[0].classList.add( 'uagb-faq-item-active' );
78
+ elementToOpen.getElementsByClassName( 'uagb-faq-item' )[0].setAttribute( 'aria-expanded', true );
79
+ slideDown( elementToOpen.getElementsByClassName( 'uagb-faq-content' )[0], 500 );
80
+ }
81
  } else {
82
 
83
  for ( var item = 0; item < expandFirstelements.length; item++ ) {
assets/js/imagesloaded.min.js CHANGED
@@ -1 +1,13 @@
1
- !function(global,factory){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",factory):"object"==typeof module&&module.exports?module.exports=factory():global.EvEmitter=factory()}(this,function(){function EvEmitter(){}var proto=EvEmitter.prototype;return proto.on=function(eventName,listener){if(eventName&&listener){var events=this._events=this._events||{},listeners=events[eventName]=events[eventName]||[];return listeners.indexOf(listener)==-1&&listeners.push(listener),this}},proto.once=function(eventName,listener){if(eventName&&listener){this.on(eventName,listener);var onceEvents=this._onceEvents=this._onceEvents||{},onceListeners=onceEvents[eventName]=onceEvents[eventName]||[];return onceListeners[listener]=!0,this}},proto.off=function(eventName,listener){var listeners=this._events&&this._events[eventName];if(listeners&&listeners.length){var index=listeners.indexOf(listener);return index!=-1&&listeners.splice(index,1),this}},proto.emitEvent=function(eventName,args){var listeners=this._events&&this._events[eventName];if(listeners&&listeners.length){var i=0,listener=listeners[i];args=args||[];for(var onceListeners=this._onceEvents&&this._onceEvents[eventName];listener;){var isOnce=onceListeners&&onceListeners[listener];isOnce&&(this.off(eventName,listener),delete onceListeners[listener]),listener.apply(this,args),i+=isOnce?0:1,listener=listeners[i]}return this}},EvEmitter}),function(window,factory){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(EvEmitter){return factory(window,EvEmitter)}):"object"==typeof module&&module.exports?module.exports=factory(window,require("ev-emitter")):window.imagesLoaded=factory(window,window.EvEmitter)}(window,function(window,EvEmitter){function extend(a,b){for(var prop in b)a[prop]=b[prop];return a}function makeArray(obj){var ary=[];if(Array.isArray(obj))ary=obj;else if("number"==typeof obj.length)for(var i=0;i<obj.length;i++)ary.push(obj[i]);else ary.push(obj);return ary}function ImagesLoaded(elem,options,onAlways){return this instanceof ImagesLoaded?("string"==typeof elem&&(elem=document.querySelectorAll(elem)),this.elements=makeArray(elem),this.options=extend({},this.options),"function"==typeof options?onAlways=options:extend(this.options,options),onAlways&&this.on("always",onAlways),this.getImages(),$&&(this.jqDeferred=new $.Deferred),void setTimeout(function(){this.check()}.bind(this))):new ImagesLoaded(elem,options,onAlways)}function LoadingImage(img){this.img=img}function Background(url,element){this.url=url,this.element=element,this.img=new Image}var $=window.jQuery,console=window.console;ImagesLoaded.prototype=Object.create(EvEmitter.prototype),ImagesLoaded.prototype.options={},ImagesLoaded.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},ImagesLoaded.prototype.addElementImages=function(elem){"IMG"==elem.nodeName&&this.addImage(elem),this.options.background===!0&&this.addElementBackgroundImages(elem);var nodeType=elem.nodeType;if(nodeType&&elementNodeTypes[nodeType]){for(var childImgs=elem.querySelectorAll("img"),i=0;i<childImgs.length;i++){var img=childImgs[i];this.addImage(img)}if("string"==typeof this.options.background){var children=elem.querySelectorAll(this.options.background);for(i=0;i<children.length;i++){var child=children[i];this.addElementBackgroundImages(child)}}}};var elementNodeTypes={1:!0,9:!0,11:!0};return ImagesLoaded.prototype.addElementBackgroundImages=function(elem){var style=getComputedStyle(elem);if(style)for(var reURL=/url\((['"])?(.*?)\1\)/gi,matches=reURL.exec(style.backgroundImage);null!==matches;){var url=matches&&matches[2];url&&this.addBackground(url,elem),matches=reURL.exec(style.backgroundImage)}},ImagesLoaded.prototype.addImage=function(img){var loadingImage=new LoadingImage(img);this.images.push(loadingImage)},ImagesLoaded.prototype.addBackground=function(url,elem){var background=new Background(url,elem);this.images.push(background)},ImagesLoaded.prototype.check=function(){function onProgress(image,elem,message){setTimeout(function(){_this.progress(image,elem,message)})}var _this=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(loadingImage){loadingImage.once("progress",onProgress),loadingImage.check()}):void this.complete()},ImagesLoaded.prototype.progress=function(image,elem,message){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!image.isLoaded,this.emitEvent("progress",[this,image,elem]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,image),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&console&&console.log("progress: "+message,image,elem)},ImagesLoaded.prototype.complete=function(){var eventName=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(eventName,[this]),this.emitEvent("always",[this]),this.jqDeferred){var jqMethod=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[jqMethod](this)}},LoadingImage.prototype=Object.create(EvEmitter.prototype),LoadingImage.prototype.check=function(){var isComplete=this.getIsImageComplete();return isComplete?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},LoadingImage.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},LoadingImage.prototype.confirm=function(isLoaded,message){this.isLoaded=isLoaded,this.emitEvent("progress",[this,this.img,message])},LoadingImage.prototype.handleEvent=function(event){var method="on"+event.type;this[method]&&this[method](event)},LoadingImage.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},LoadingImage.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},LoadingImage.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},Background.prototype=Object.create(LoadingImage.prototype),Background.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var isComplete=this.getIsImageComplete();isComplete&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},Background.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},Background.prototype.confirm=function(isLoaded,message){this.isLoaded=isLoaded,this.emitEvent("progress",[this,this.element,message])},ImagesLoaded.makeJQueryPlugin=function(jQuery){jQuery=jQuery||window.jQuery,jQuery&&($=jQuery,$.fn.imagesLoaded=function(options,callback){var instance=new ImagesLoaded(this,options,callback);return instance.jqDeferred.promise($(this))})},ImagesLoaded.makeJQueryPlugin(),ImagesLoaded});
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * imagesLoaded PACKAGED v4.1.4
3
+ * JavaScript is all like "You images are done yet or what?"
4
+ * MIT License
5
+ */
6
+
7
+ /**
8
+ * EvEmitter v1.1.0
9
+ * Lil' event emitter
10
+ * MIT License
11
+ */
12
+
13
+ !function(global,factory){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",factory):"object"==typeof module&&module.exports?module.exports=factory():global.EvEmitter=factory()}(this,function(){function EvEmitter(){}var proto=EvEmitter.prototype;return proto.on=function(eventName,listener){if(eventName&&listener){var events=this._events=this._events||{},listeners=events[eventName]=events[eventName]||[];return listeners.indexOf(listener)==-1&&listeners.push(listener),this}},proto.once=function(eventName,listener){if(eventName&&listener){this.on(eventName,listener);var onceEvents=this._onceEvents=this._onceEvents||{},onceListeners=onceEvents[eventName]=onceEvents[eventName]||[];return onceListeners[listener]=!0,this}},proto.off=function(eventName,listener){var listeners=this._events&&this._events[eventName];if(listeners&&listeners.length){var index=listeners.indexOf(listener);return index!=-1&&listeners.splice(index,1),this}},proto.emitEvent=function(eventName,args){var listeners=this._events&&this._events[eventName];if(listeners&&listeners.length){var i=0,listener=listeners[i];args=args||[];for(var onceListeners=this._onceEvents&&this._onceEvents[eventName];listener;){var isOnce=onceListeners&&onceListeners[listener];isOnce&&(this.off(eventName,listener),delete onceListeners[listener]),listener.apply(this,args),i+=isOnce?0:1,listener=listeners[i]}return this}},EvEmitter}),function(window,factory){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(EvEmitter){return factory(window,EvEmitter)}):"object"==typeof module&&module.exports?module.exports=factory(window,require("ev-emitter")):window.imagesLoaded=factory(window,window.EvEmitter)}(window,function(window,EvEmitter){function extend(a,b){for(var prop in b)a[prop]=b[prop];return a}function makeArray(obj){var ary=[];if(Array.isArray(obj))ary=obj;else if("number"==typeof obj.length)for(var i=0;i<obj.length;i++)ary.push(obj[i]);else ary.push(obj);return ary}function ImagesLoaded(elem,options,onAlways){return this instanceof ImagesLoaded?("string"==typeof elem&&(elem=document.querySelectorAll(elem)),this.elements=makeArray(elem),this.options=extend({},this.options),"function"==typeof options?onAlways=options:extend(this.options,options),onAlways&&this.on("always",onAlways),this.getImages(),$&&(this.jqDeferred=new $.Deferred),void setTimeout(function(){this.check()}.bind(this))):new ImagesLoaded(elem,options,onAlways)}function LoadingImage(img){this.img=img}function Background(url,element){this.url=url,this.element=element,this.img=new Image}var $=window.jQuery,console=window.console;ImagesLoaded.prototype=Object.create(EvEmitter.prototype),ImagesLoaded.prototype.options={},ImagesLoaded.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},ImagesLoaded.prototype.addElementImages=function(elem){"IMG"==elem.nodeName&&this.addImage(elem),this.options.background===!0&&this.addElementBackgroundImages(elem);var nodeType=elem.nodeType;if(nodeType&&elementNodeTypes[nodeType]){for(var childImgs=elem.querySelectorAll("img"),i=0;i<childImgs.length;i++){var img=childImgs[i];this.addImage(img)}if("string"==typeof this.options.background){var children=elem.querySelectorAll(this.options.background);for(i=0;i<children.length;i++){var child=children[i];this.addElementBackgroundImages(child)}}}};var elementNodeTypes={1:!0,9:!0,11:!0};return ImagesLoaded.prototype.addElementBackgroundImages=function(elem){var style=getComputedStyle(elem);if(style)for(var reURL=/url\((['"])?(.*?)\1\)/gi,matches=reURL.exec(style.backgroundImage);null!==matches;){var url=matches&&matches[2];url&&this.addBackground(url,elem),matches=reURL.exec(style.backgroundImage)}},ImagesLoaded.prototype.addImage=function(img){var loadingImage=new LoadingImage(img);this.images.push(loadingImage)},ImagesLoaded.prototype.addBackground=function(url,elem){var background=new Background(url,elem);this.images.push(background)},ImagesLoaded.prototype.check=function(){function onProgress(image,elem,message){setTimeout(function(){_this.progress(image,elem,message)})}var _this=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(loadingImage){loadingImage.once("progress",onProgress),loadingImage.check()}):void this.complete()},ImagesLoaded.prototype.progress=function(image,elem,message){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!image.isLoaded,this.emitEvent("progress",[this,image,elem]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,image),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&console&&console.log("progress: "+message,image,elem)},ImagesLoaded.prototype.complete=function(){var eventName=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(eventName,[this]),this.emitEvent("always",[this]),this.jqDeferred){var jqMethod=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[jqMethod](this)}},LoadingImage.prototype=Object.create(EvEmitter.prototype),LoadingImage.prototype.check=function(){var isComplete=this.getIsImageComplete();return isComplete?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},LoadingImage.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},LoadingImage.prototype.confirm=function(isLoaded,message){this.isLoaded=isLoaded,this.emitEvent("progress",[this,this.img,message])},LoadingImage.prototype.handleEvent=function(event){var method="on"+event.type;this[method]&&this[method](event)},LoadingImage.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},LoadingImage.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},LoadingImage.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},Background.prototype=Object.create(LoadingImage.prototype),Background.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url;var isComplete=this.getIsImageComplete();isComplete&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},Background.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},Background.prototype.confirm=function(isLoaded,message){this.isLoaded=isLoaded,this.emitEvent("progress",[this,this.element,message])},ImagesLoaded.makeJQueryPlugin=function(jQuery){jQuery=jQuery||window.jQuery,jQuery&&($=jQuery,$.fn.imagesLoaded=function(options,callback){var instance=new ImagesLoaded(this,options,callback);return instance.jqDeferred.promise($(this))})},ImagesLoaded.makeJQueryPlugin(),ImagesLoaded});
assets/js/isotope.min.js CHANGED
@@ -1 +1,11 @@
 
 
 
 
 
 
 
 
 
 
1
  !function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,o=t.console,n=void 0===o?function(){}:function(t){o.error(t)};function s(o,s,a){(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[o]=function(t){if("string"==typeof t){var e=i.call(arguments,1);return h=e,d="$()."+o+'("'+(u=t)+'")',(r=this).each(function(t,e){var i=a.data(e,o);if(i){var s=i[u];if(s&&"_"!=u.charAt(0)){var r=s.apply(i,h);l=void 0===l?r:l}else n(d+" is not a valid method")}else n(o+" not initialized. Cannot call methods, i.e. "+d)}),void 0!==l?l:r}var r,u,h,l,d,f;return f=t,this.each(function(t,e){var i=a.data(e,o);i?(i.option(f),i._init()):(i=new s(e,f),a.data(e,o,i))}),this},r(a))}function r(t){!t||t&&t.bridget||(t.bridget=s)}return r(e||t.jQuery),s}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return-1!=o&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n];o&&o[s]&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=i.length;function n(t){var i=getComputedStyle(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var s,r=!1;function a(e){if(function(){if(!r){r=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);s=200==Math.round(t(o.width)),a.isBoxSizeOuter=s,i.removeChild(e)}}(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var u=n(e);if("none"==u.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<o;e++)t[i[e]]=0;return t}();var h={};h.width=e.offsetWidth,h.height=e.offsetHeight;for(var l=h.isBorderBox="border-box"==u.boxSizing,d=0;d<o;d++){var f=i[d],c=u[f],m=parseFloat(c);h[f]=isNaN(m)?0:m}var p=h.paddingLeft+h.paddingRight,y=h.paddingTop+h.paddingBottom,g=h.marginLeft+h.marginRight,v=h.marginTop+h.marginBottom,_=h.borderLeftWidth+h.borderRightWidth,z=h.borderTopWidth+h.borderBottomWidth,I=l&&s,x=t(u.width);!1!==x&&(h.width=x+(I?0:p+_));var S=t(u.height);return!1!==S&&(h.height=S+(I?0:y+z)),h.innerWidth=h.width-(p+_),h.innerHeight=h.height-(y+z),h.outerWidth=h.width+g,h.outerHeight=h.height+v,h}}return a}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},o=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?o.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(o){e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}else n.push(t)}),n},i.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var s=i.toDashed(o),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),l=r+"-options",d=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(l);try{i=s&&JSON.parse(s)}catch(e){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);d&&d.data(t,o,a)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";var i=document.documentElement.style,o="string"==typeof i.transition?"transition":"WebkitTransition",n="string"==typeof i.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],r={transform:n,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=a.prototype=Object.create(t.prototype);u.constructor=a,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[r[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;-1!=o.indexOf("%")&&(s=s/100*a.width),-1!=n.indexOf("%")&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",l=o?"bottom":"top",d=this.position.y+t[u];e[h]=this.getYValue(d),e[l]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!n||this.isTransitioning){var s=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},u._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var h="opacity,"+n.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:h,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var l={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=l[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(d)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s){return e(t,i,o,n,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){"use strict";var s=t.console,r=t.jQuery,a=function(){},u=0,h={};function l(t,e){var i=o.getQueryElement(t);if(i){this.element=i,r&&(this.$element=r(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++u;this.element.outlayerGUID=n,h[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}else s&&s.error("Bad element for "+this.constructor.namespace+": "+(i||t))}l.namespace="outlayer",l.Item=n,l.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=l.prototype;function f(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}o.extend(d,e.prototype),d.option=function(t){o.extend(this.options,t)},d._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},l.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=new i(e[n],this);o.push(s)}return o},d._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(t){return t.element})},d.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=i(this.element)},d._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},d.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},d._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},d._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},d.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var n=c[o]||1;return i*n}(t),this.stagger;this.stagger=0},d._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},d._getContainerSize=a,d._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},d._emitCompleteOnItems=function(t,e){var i=this;function o(){i.dispatchEvent(t+"Complete",null,[e])}var n=e.length;if(e&&n){var s=0;e.forEach(function(e){e.once(t,r)})}else o();function r(){++s==n&&o()}},d.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),r)if(this.$element=this.$element||r(this.element),e){var n=r.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},d.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},d.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},d.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},d.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},d._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},d._manageStamp=a,d._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t);return{left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom}},d.handleEvent=o.handleEvent,d.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},o.debounceMethod(l,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},d.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},d.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},d.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},d.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},d.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},d.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},d.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},d.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},d.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},d.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},d.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete h[e],delete this.element.outlayerGUID,r&&r.removeData(this.element,this.constructor.namespace)},l.data=function(t){var e=(t=o.getQueryElement(t))&&t.outlayerGUID;return e&&h[e]},l.create=function(t,e){var i=f(l);return i.defaults=o.extend({},l.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},l.compatOptions),i.namespace=t,i.data=l.data,i.Item=f(n),o.htmlInit(i,t),r&&r.bridget&&r.bridget(t,i),i};var c={ms:1,s:1e3};return l.Item=n,l}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o;s=Math[r&&r<1?"round":"floor"](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*o.col,y:o.y},s=o.y+t.size.outerHeight,r=i+o.col,a=o.col;a<r;a++)this.colYs[a]=s;return n},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft")?o.left:o.right,s=n+i.outerWidth,r=Math.floor(n/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this._getOption("originTop")?o.top:o.bottom)+i.outerHeight,h=r;h<=a;h++)this.colYs[h]=Math.max(u,this.colYs[h])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){var a=t.jQuery,u=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},h=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});h.Item=s,h.LayoutMode=r;var l=h.prototype;l._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){t[i].id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){this._isLayoutInited||!this._getOption("initLayout")?this._layout():this.arrange()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){var t,e,i,o=this;function n(){t&&e&&i&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}this.once("layoutComplete",function(){t=!0,n()}),this.once("hideComplete",function(){e=!0,n()}),this.once("revealComplete",function(){i=!0,n()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=d(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var d=function(){return function(t){if("string"!=typeof t)return t;var e=u(t).split(" "),i=e[0],o=i.match(/^\[(.+)\]$/),n=(r=o&&o[1],a=i,r?function(t){return t.getAttribute(r)}:function(t){var e=t.querySelector(a);return e&&e.textContent}),s=h.sortDataParsers[e[1]];var r,a;return t=s?function(t){return t&&s(n(t))}:function(t){return t&&n(t)}}}();h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e,i,o=(e=this.sortHistory,i=this.options.sortAscending,function(t,o){for(var n=0;n<e.length;n++){var s=e[n],r=t.sortData[s],a=o.sortData[s];if(r>a||r<a){var u=void 0!==i[s]?i[s]:i,h=u?1:-1;return(r>a?1:-1)*h}}return 0});this.filteredItems.sort(o)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var f=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},h});
1
+ /*!
2
+ * Isotope PACKAGED v3.0.5
3
+ *
4
+ * Licensed GPLv3 for open source use
5
+ * or Isotope Commercial License for commercial use
6
+ *
7
+ * https://isotope.metafizzy.co
8
+ * Copyright 2017 Metafizzy
9
+ */
10
+
11
  !function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";var i=Array.prototype.slice,o=t.console,n=void 0===o?function(){}:function(t){o.error(t)};function s(o,s,a){(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[o]=function(t){if("string"==typeof t){var e=i.call(arguments,1);return h=e,d="$()."+o+'("'+(u=t)+'")',(r=this).each(function(t,e){var i=a.data(e,o);if(i){var s=i[u];if(s&&"_"!=u.charAt(0)){var r=s.apply(i,h);l=void 0===l?r:l}else n(d+" is not a valid method")}else n(o+" not initialized. Cannot call methods, i.e. "+d)}),void 0!==l?l:r}var r,u,h,l,d,f;return f=t,this.each(function(t,e){var i=a.data(e,o);i?(i.option(f),i._init()):(i=new s(e,f),a.data(e,o,i))}),this},r(a))}function r(t){!t||t&&t.bridget||(t.bridget=s)}return r(e||t.jQuery),s}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=i.indexOf(e);return-1!=o&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&&this._onceEvents[t],n=0;n<i.length;n++){var s=i[n];o&&o[s]&&(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=i.length;function n(t){var i=getComputedStyle(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var s,r=!1;function a(e){if(function(){if(!r){r=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var o=n(e);s=200==Math.round(t(o.width)),a.isBoxSizeOuter=s,i.removeChild(e)}}(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var u=n(e);if("none"==u.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<o;e++)t[i[e]]=0;return t}();var h={};h.width=e.offsetWidth,h.height=e.offsetHeight;for(var l=h.isBorderBox="border-box"==u.boxSizing,d=0;d<o;d++){var f=i[d],c=u[f],m=parseFloat(c);h[f]=isNaN(m)?0:m}var p=h.paddingLeft+h.paddingRight,y=h.paddingTop+h.paddingBottom,g=h.marginLeft+h.marginRight,v=h.marginTop+h.marginBottom,_=h.borderLeftWidth+h.borderRightWidth,z=h.borderTopWidth+h.borderBottomWidth,I=l&&s,x=t(u.width);!1!==x&&(h.width=x+(I?0:p+_));var S=t(u.height);return!1!==S&&(h.height=S+(I?0:y+z)),h.innerWidth=h.width-(p+_),h.innerHeight=h.height-(y+z),h.outerWidth=h.width+g,h.outerHeight=h.height+v,h}}return a}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},o=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?o.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(o){e(t,o)&&n.push(t);for(var i=t.querySelectorAll(o),s=0;s<i.length;s++)n.push(i[s])}else n.push(t)}),n},i.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var s=i.toDashed(o),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),l=r+"-options",d=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(l);try{i=s&&JSON.parse(s)}catch(e){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);d&&d.data(t,o,a)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";var i=document.documentElement.style,o="string"==typeof i.transition?"transition":"WebkitTransition",n="string"==typeof i.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],r={transform:n,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=a.prototype=Object.create(t.prototype);u.constructor=a,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[r[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;-1!=o.indexOf("%")&&(s=s/100*a.width),-1!=n.indexOf("%")&&(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",l=o?"bottom":"top",d=this.position.y+t[u];e[h]=this.getYValue(d),e[l]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&&e==this.position.y;if(this.setPosition(t,e),!n||this.isTransitioning){var s=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},u._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&&(e.clean[i]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var h="opacity,"+n.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});u.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:h,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var l={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=l[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(d)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},u.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s){return e(t,i,o,n,s)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){"use strict";var s=t.console,r=t.jQuery,a=function(){},u=0,h={};function l(t,e){var i=o.getQueryElement(t);if(i){this.element=i,r&&(this.$element=r(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++u;this.element.outlayerGUID=n,h[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}else s&&s.error("Bad element for "+this.constructor.namespace+": "+(i||t))}l.namespace="outlayer",l.Item=n,l.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=l.prototype;function f(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}o.extend(d,e.prototype),d.option=function(t){o.extend(this.options,t)},d._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},l.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=new i(e[n],this);o.push(s)}return o},d._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(t){return t.element})},d.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=i(this.element)},d._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},d.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},d._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},d._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},d.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var n=c[o]||1;return i*n}(t),this.stagger;this.stagger=0},d._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},d._getContainerSize=a,d._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&&(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},d._emitCompleteOnItems=function(t,e){var i=this;function o(){i.dispatchEvent(t+"Complete",null,[e])}var n=e.length;if(e&&n){var s=0;e.forEach(function(e){e.once(t,r)})}else o();function r(){++s==n&&o()}},d.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),r)if(this.$element=this.$element||r(this.element),e){var n=r.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},d.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},d.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},d.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},d.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},d._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},d._manageStamp=a,d._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t);return{left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom}},d.handleEvent=o.handleEvent,d.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},o.debounceMethod(l,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},d.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},d.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},d.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},d.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},d.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},d.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},d.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},d.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},d.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},d.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},d.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete h[e],delete this.element.outlayerGUID,r&&r.removeData(this.element,this.constructor.namespace)},l.data=function(t){var e=(t=o.getQueryElement(t))&&t.outlayerGUID;return e&&h[e]},l.create=function(t,e){var i=f(l);return i.defaults=o.extend({},l.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},l.compatOptions),i.namespace=t,i.data=l.data,i.Item=f(n),o.htmlInit(i,t),r&&r.bridget&&r.bridget(t,i),i};var c={ms:1,s:1e3};return l.Item=n,l}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData["original-order"]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry-layout/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&&t.element;this.columnWidth=i&&e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o;s=Math[r&&r<1?"round":"floor"](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*o.col,y:o.y},s=o.y+t.size.outerHeight,r=i+o.col,a=o.col;a<r;a++)this.colYs[a]=s;return n},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft")?o.left:o.right,s=n+i.outerWidth,r=Math.floor(n/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this._getOption("originTop")?o.top:o.bottom)+i.outerHeight,h=r;h<=a;h++)this.colYs[h]=Math.max(u,this.colYs[h])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){var a=t.jQuery,u=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},h=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});h.Item=s,h.LayoutMode=r;var l=h.prototype;l._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++){t[i].id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){this._isLayoutInited||!this._getOption("initLayout")?this._layout():this.arrange()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){var t,e,i,o=this;function n(){t&&e&&i&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}this.once("layoutComplete",function(){t=!0,n()}),this.once("hideComplete",function(){e=!0,n()}),this.once("revealComplete",function(){i=!0,n()})},l._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=d(i)}},l._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var d=function(){return function(t){if("string"!=typeof t)return t;var e=u(t).split(" "),i=e[0],o=i.match(/^\[(.+)\]$/),n=(r=o&&o[1],a=i,r?function(t){return t.getAttribute(r)}:function(t){var e=t.querySelector(a);return e&&e.textContent}),s=h.sortDataParsers[e[1]];var r,a;return t=s?function(t){return t&&s(n(t))}:function(t){return t&&n(t)}}}();h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e,i,o=(e=this.sortHistory,i=this.options.sortAscending,function(t,o){for(var n=0;n<e.length;n++){var s=e[n],r=t.sortData[s],a=o.sortData[s];if(r>a||r<a){var u=void 0!==i[s]?i[s]:i,h=u?1:-1;return(r>a?1:-1)*h}}return 0});this.filteredItems.sort(o)}},l._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error("No layout mode: "+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var f=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t<this.items.length;t++){this.items[t].sortData.random=Math.random()}this.options.sortBy="random",this._sort(),this._layout()},l._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},l.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},h});
assets/js/js_cookie.js CHANGED
@@ -1,3 +1,11 @@
 
 
 
 
 
 
 
 
1
  (function(factory){var registeredInModuleLoader=!1;if(typeof define==='function'&&define.amd){define(factory);registeredInModuleLoader=!0}
2
  if(typeof exports==='object'){module.exports=factory();registeredInModuleLoader=!0}
3
  if(!registeredInModuleLoader){var OldCookies=window.Cookies;var api=window.Cookies=factory();api.noConflict=function(){window.Cookies=OldCookies;return api}}}(function(){function extend(){var i=0;var result={};for(;i<arguments.length;i++){var attributes=arguments[i];for(var key in attributes){result[key]=attributes[key]}}
1
+ /*!
2
+ * JavaScript Cookie v2.1.4
3
+ * https://github.com/js-cookie/js-cookie
4
+ *
5
+ * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
6
+ * Released under the MIT license
7
+ */
8
+
9
  (function(factory){var registeredInModuleLoader=!1;if(typeof define==='function'&&define.amd){define(factory);registeredInModuleLoader=!0}
10
  if(typeof exports==='object'){module.exports=factory();registeredInModuleLoader=!0}
11
  if(!registeredInModuleLoader){var OldCookies=window.Cookies;var api=window.Cookies=factory();api.noConflict=function(){window.Cookies=OldCookies;return api}}}(function(){function extend(){var i=0;var result={};for(;i<arguments.length;i++){var attributes=arguments[i];for(var key in attributes){result[key]=attributes[key]}}
assets/js/table-of-contents.js CHANGED
@@ -20,7 +20,7 @@
20
  .replace(/\u2013|\u2014/g, '') // Remove long dash
21
  .replace(/[&]nbsp[;]/gi, '-') // Replace inseccable spaces
22
  .replace(/\s+/g, '-') // Replace spaces with -
23
- .replace(/[&\/\\#,^!+()$~%.'":*?<>{}@‘’”“]/g, '') // Remove special chars
24
  .replace(/\-\-+/g, '-') // Replace multiple - with single -
25
  .replace(/^-+/, '') // Trim - from start of text
26
  .replace(/-+$/, ''); // Trim - from end of text
@@ -124,7 +124,7 @@
124
 
125
  if ( undefined !== attr.mappingHeaders ) {
126
 
127
- attr.mappingHeaders.forEach((h_tag, index) => h_tag === true ? allowed_h_tags.push('h' + (index+1)) : null);
128
  var allowed_h_tags_str = ( null !== allowed_h_tags ) ? allowed_h_tags.join( ',' ) : '';
129
  }
130
 
20
  .replace(/\u2013|\u2014/g, '') // Remove long dash
21
  .replace(/[&]nbsp[;]/gi, '-') // Replace inseccable spaces
22
  .replace(/\s+/g, '-') // Replace spaces with -
23
+ .replace(/[&\/\\#,^!+()$~%.\[\]'":*?<>{}@‘’”“|]/g, '') // Remove special chars
24
  .replace(/\-\-+/g, '-') // Replace multiple - with single -
25
  .replace(/^-+/, '') // Trim - from start of text
26
  .replace(/-+$/, ''); // Trim - from end of text
124
 
125
  if ( undefined !== attr.mappingHeaders ) {
126
 
127
+ attr.mappingHeaders.forEach((h_tag, index) ( h_tag === true ? allowed_h_tags.push('h' + (index+1)) : null) );
128
  var allowed_h_tags_str = ( null !== allowed_h_tags ) ? allowed_h_tags.join( ',' ) : '';
129
  }
130
 
assets/js/uagb-bodymovin.min.js ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (typeof navigator !== "undefined") && (function(root, factory) {
2
+ if (typeof define === "function" && define.amd) {
3
+ define(function() {
4
+ return factory(root);
5
+ });
6
+ } else if (typeof module === "object" && module.exports) {
7
+ module.exports = factory(root);
8
+ } else {
9
+ root.lottie = factory(root);
10
+ root.bodymovin = root.lottie;
11
+ }
12
+ }((window || {}), function(window) {
13
+ "use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,subframeEnabled=!0,expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bm_rounder=Math.round,bm_rnd,bm_pow=Math.pow,bm_sqrt=Math.sqrt,bm_abs=Math.abs,bm_floor=Math.floor,bm_max=Math.max,bm_min=Math.min,blitter=10,BMMath={};function ProjectInterface(){return{}}!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===typeof t&&t.length){var e,r=createSizedArray(t.length),i=t.length;for(e=0;e<i;e+=1)r[e]=Math.abs(t[e]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){bm_rnd=t?Math.round:function(t){return t}}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin=t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility=t.style.webkitBackfaceVisibility="visible",t.style.transformStyle=t.style.webkitTransformStyle=t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,i){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,i){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=i<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e,this.currentTime=currentTime}roundValues(!1);var createElementID=(G=0,function(){return"__lottie_element_"+ ++G}),G;function HSVtoRGB(t,e,r){var i,s,a,n,o,h,l,p;switch(h=r*(1-e),l=r*(1-(o=6*t-(n=Math.floor(6*t)))*e),p=r*(1-(1-o)*e),n%6){case 0:i=r,s=p,a=h;break;case 1:i=l,s=r,a=h;break;case 2:i=h,s=r,a=p;break;case 3:i=h,s=l,a=r;break;case 4:i=p,s=h,a=r;break;case 5:i=r,s=h,a=l}return[i,s,a]}function RGBtoHSV(t,e,r){var i,s=Math.max(t,e,r),a=Math.min(t,e,r),n=s-a,o=0===s?0:n/s,h=s/255;switch(s){case a:i=0;break;case t:i=e-r+n*(e<r?6:0),i/=6*n;break;case e:i=r-t+2*n,i/=6*n;break;case r:i=t-e+4*n,i/=6*n}return[i,o,h]}function addSaturationToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[1]+=e,1<r[1]?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[2]+=e,1<r[2]?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[0]+=e/360,1<r[0]?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t,e,i=[];for(t=0;t<256;t+=1)e=t.toString(16),i[t]=1==e.length?"0"+e:e;return function(t,e,r){return t<0&&(t=0),e<0&&(e=0),r<0&&(r=0),"#"+i[t]+i[e]+i[r]}}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t].length,i=0;i<r;i++)this._cbs[t][i](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var r=0,i=this._cbs[t].length;r<i;)this._cbs[t][r]===e&&(this._cbs[t].splice(r,1),r-=1,i-=1),r+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var createTypedArray="function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,e){return"float32"===t?new Float32Array(e):"int16"===t?new Int16Array(e):"uint8c"===t?new Uint8ClampedArray(e):void 0}:function(t,e){var r,i=0,s=[];switch(t){case"int16":case"uint8c":r=1;break;default:r=1.1}for(i=0;i<e;i+=1)s.push(r);return s};function createSizedArray(t){return Array.apply(null,{length:t})}function createNS(t){return document.createElementNS(svgNS,t)}function createTag(t){return document.createElement(t)}function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var getBlendMode=(Pa={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(t){return Pa[t]||""}),Pa,Matrix=function(){var s=Math.cos,a=Math.sin,n=Math.tan,i=Math.round;function t(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function e(t){if(0===t)return this;var e=s(t),r=a(t);return this._t(e,-r,0,0,r,e,0,0,0,0,1,0,0,0,0,1)}function r(t){if(0===t)return this;var e=s(t),r=a(t);return this._t(1,0,0,0,0,e,-r,0,0,r,e,0,0,0,0,1)}function o(t){if(0===t)return this;var e=s(t),r=a(t);return this._t(e,0,r,0,0,1,0,0,-r,0,e,0,0,0,0,1)}function h(t){if(0===t)return this;var e=s(t),r=a(t);return this._t(e,-r,0,0,r,e,0,0,0,0,1,0,0,0,0,1)}function l(t,e){return this._t(1,e,t,1,0,0)}function p(t,e){return this.shear(n(t),n(e))}function m(t,e){var r=s(e),i=a(e);return this._t(r,i,0,0,-i,r,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,n(t),1,0,0,0,0,1,0,0,0,0,1)._t(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1)}function f(t,e,r){return r||0===r||(r=1),1===t&&1===e&&1===r?this:this._t(t,0,0,0,0,e,0,0,0,0,r,0,0,0,0,1)}function c(t,e,r,i,s,a,n,o,h,l,p,m,f,c,d,u){return this.props[0]=t,this.props[1]=e,this.props[2]=r,this.props[3]=i,this.props[4]=s,this.props[5]=a,this.props[6]=n,this.props[7]=o,this.props[8]=h,this.props[9]=l,this.props[10]=p,this.props[11]=m,this.props[12]=f,this.props[13]=c,this.props[14]=d,this.props[15]=u,this}function d(t,e,r){return r=r||0,0!==t||0!==e||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,r,1):this}function u(t,e,r,i,s,a,n,o,h,l,p,m,f,c,d,u){var y=this.props;if(1===t&&0===e&&0===r&&0===i&&0===s&&1===a&&0===n&&0===o&&0===h&&0===l&&1===p&&0===m)return y[12]=y[12]*t+y[15]*f,y[13]=y[13]*a+y[15]*c,y[14]=y[14]*p+y[15]*d,y[15]=y[15]*u,this._identityCalculated=!1,this;var g=y[0],v=y[1],b=y[2],E=y[3],x=y[4],P=y[5],S=y[6],_=y[7],A=y[8],C=y[9],T=y[10],k=y[11],M=y[12],D=y[13],w=y[14],F=y[15];return y[0]=g*t+v*s+b*h+E*f,y[1]=g*e+v*a+b*l+E*c,y[2]=g*r+v*n+b*p+E*d,y[3]=g*i+v*o+b*m+E*u,y[4]=x*t+P*s+S*h+_*f,y[5]=x*e+P*a+S*l+_*c,y[6]=x*r+P*n+S*p+_*d,y[7]=x*i+P*o+S*m+_*u,y[8]=A*t+C*s+T*h+k*f,y[9]=A*e+C*a+T*l+k*c,y[10]=A*r+C*n+T*p+k*d,y[11]=A*i+C*o+T*m+k*u,y[12]=M*t+D*s+w*h+F*f,y[13]=M*e+D*a+w*l+F*c,y[14]=M*r+D*n+w*p+F*d,y[15]=M*i+D*o+w*m+F*u,this._identityCalculated=!1,this}function y(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function g(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function v(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e]}function b(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function E(t,e,r){return{x:t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}}function x(t,e,r){return t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12]}function P(t,e,r){return t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13]}function S(t,e,r){return t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}function _(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,r=-this.props[1]/t,i=-this.props[4]/t,s=this.props[0]/t,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,n=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,o=new Matrix;return o.props[0]=e,o.props[1]=r,o.props[4]=i,o.props[5]=s,o.props[12]=a,o.props[13]=n,o}function A(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function C(t){var e,r=t.length,i=[];for(e=0;e<r;e+=1)i[e]=A(t[e]);return i}function T(t,e,r){var i=createTypedArray("float32",6);if(this.isIdentity())i[0]=t[0],i[1]=t[1],i[2]=e[0],i[3]=e[1],i[4]=r[0],i[5]=r[1];else{var s=this.props[0],a=this.props[1],n=this.props[4],o=this.props[5],h=this.props[12],l=this.props[13];i[0]=t[0]*s+t[1]*n+h,i[1]=t[0]*a+t[1]*o+l,i[2]=e[0]*s+e[1]*n+h,i[3]=e[0]*a+e[1]*o+l,i[4]=r[0]*s+r[1]*n+h,i[5]=r[0]*a+r[1]*o+l}return i}function k(t,e,r){return this.isIdentity()?[t,e,r]:[t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]]}function M(t,e){if(this.isIdentity())return t+","+e;var r=this.props;return Math.round(100*(t*r[0]+e*r[4]+r[12]))/100+","+Math.round(100*(t*r[1]+e*r[5]+r[13]))/100}function D(){for(var t=0,e=this.props,r="matrix3d(";t<16;)r+=i(1e4*e[t])/1e4,r+=15===t?")":",",t+=1;return r}function w(t){return t<1e-6&&0<t||-1e-6<t&&t<0?i(1e4*t)/1e4:t}function F(){var t=this.props;return"matrix("+w(t[0])+","+w(t[1])+","+w(t[4])+","+w(t[5])+","+w(t[12])+","+w(t[13])+")"}return function(){this.reset=t,this.rotate=e,this.rotateX=r,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=m,this.shear=l,this.scale=f,this.setTransform=c,this.translate=d,this.transform=u,this.applyToPoint=E,this.applyToX=x,this.applyToY=P,this.applyToZ=S,this.applyToPointArray=k,this.applyToTriplePoints=T,this.applyToPointStringified=M,this.toCSS=D,this.to2dCSS=F,this.clone=v,this.cloneFromProps=b,this.equals=g,this.inversePoints=C,this.inversePoint=A,this.getInverseMatrix=_,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();!function(o,h){var l,p=this,m=256,f=6,c="random",d=h.pow(m,f),u=h.pow(2,52),y=2*u,g=m-1;function v(t){var e,r=t.length,n=this,i=0,s=n.i=n.j=0,a=n.S=[];for(r||(t=[r++]);i<m;)a[i]=i++;for(i=0;i<m;i++)a[i]=a[s=g&s+t[i%r]+(e=a[i])],a[s]=e;n.g=function(t){for(var e,r=0,i=n.i,s=n.j,a=n.S;t--;)e=a[i=g&i+1],r=r*m+a[g&(a[i]=a[s=g&s+e])+(a[s]=e)];return n.i=i,n.j=s,r}}function b(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function E(t,e){for(var r,i=t+"",s=0;s<i.length;)e[g&s]=g&(r^=19*e[g&s])+i.charCodeAt(s++);return x(e)}function x(t){return String.fromCharCode.apply(0,t)}h["seed"+c]=function(t,e,r){var i=[],s=E(function t(e,r){var i,s=[],a=typeof e;if(r&&"object"==a)for(i in e)try{s.push(t(e[i],r-1))}catch(t){}return s.length?s:"string"==a?e:e+"\0"}((e=!0===e?{entropy:!0}:e||{}).entropy?[t,x(o)]:null===t?function(){try{if(l)return x(l.randomBytes(m));var t=new Uint8Array(m);return(p.crypto||p.msCrypto).getRandomValues(t),x(t)}catch(t){var e=p.navigator,r=e&&e.plugins;return[+new Date,p,r,p.screen,x(o)]}}():t,3),i),a=new v(i),n=function(){for(var t=a.g(f),e=d,r=0;t<u;)t=(t+r)*m,e*=m,r=a.g(1);for(;y<=t;)t/=2,e/=2,r>>>=1;return(t+r)/e};return n.int32=function(){return 0|a.g(4)},n.quick=function(){return a.g(4)/4294967296},n.double=n,E(x(a.S),o),(e.pass||r||function(t,e,r,i){return i&&(i.S&&b(i,a),t.state=function(){return b(a,{})}),r?(h[c]=t,e):t})(n,s,"global"in e?e.global:this==h,e.state)},E(h.random(),o)}([],BMMath);var BezierFactory=function(){var t={getBezierEasing:function(t,e,r,i,s){var a=s||("bez_"+t+"_"+e+"_"+r+"_"+i).replace(/\./g,"p");if(o[a])return o[a];var n=new h([t,e,r,i]);return o[a]=n}},o={};var l=11,p=1/(l-1),e="function"==typeof Float32Array;function i(t,e){return 1-3*e+3*t}function s(t,e){return 3*e-6*t}function a(t){return 3*t}function m(t,e,r){return((i(e,r)*t+s(e,r))*t+a(e))*t}function f(t,e,r){return 3*i(e,r)*t*t+2*s(e,r)*t+a(e)}function h(t){this._p=t,this._mSampleValues=e?new Float32Array(l):new Array(l),this._precomputed=!1,this.get=this.get.bind(this)}return h.prototype={get:function(t){var e=this._p[0],r=this._p[1],i=this._p[2],s=this._p[3];return this._precomputed||this._precompute(),e===r&&i===s?t:0===t?0:1===t?1:m(this._getTForX(t),r,s)},_precompute:function(){var t=this._p[0],e=this._p[1],r=this._p[2],i=this._p[3];this._precomputed=!0,t===e&&r===i||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],r=0;r<l;++r)this._mSampleValues[r]=m(r*p,t,e)},_getTForX:function(t){for(var e=this._p[0],r=this._p[2],i=this._mSampleValues,s=0,a=1,n=l-1;a!==n&&i[a]<=t;++a)s+=p;var o=s+(t-i[--a])/(i[a+1]-i[a])*p,h=f(o,e,r);return.001<=h?function(t,e,r,i){for(var s=0;s<4;++s){var a=f(e,r,i);if(0===a)return e;e-=(m(e,r,i)-t)/a}return e}(t,o,e,r):0===h?o:function(t,e,r,i,s){for(var a,n,o=0;0<(a=m(n=e+(r-e)/2,i,s)-t)?r=n:e=n,1e-7<Math.abs(a)&&++o<10;);return n}(t,s,s+p,e,r)}},t}();function extendPrototype(t,e){var r,i,s=t.length;for(r=0;r<s;r+=1)for(var a in i=t[r].prototype)i.hasOwnProperty(a)&&(e.prototype[a]=i[a])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}function bezFunction(){Math;function y(t,e,r,i,s,a){var n=t*i+e*s+r*a-s*i-a*t-r*e;return-.001<n&&n<.001}var p=function(t,e,r,i){var s,a,n,o,h,l,p=defaultCurveSegments,m=0,f=[],c=[],d=bezier_length_pool.newElement();for(n=r.length,s=0;s<p;s+=1){for(h=s/(p-1),a=l=0;a<n;a+=1)o=bm_pow(1-h,3)*t[a]+3*bm_pow(1-h,2)*h*r[a]+3*(1-h)*bm_pow(h,2)*i[a]+bm_pow(h,3)*e[a],f[a]=o,null!==c[a]&&(l+=bm_pow(f[a]-c[a],2)),c[a]=f[a];l&&(m+=l=bm_sqrt(l)),d.percents[s]=h,d.lengths[s]=m}return d.addedLength=m,d};function g(t){this.segmentLength=0,this.points=new Array(t)}function v(t,e){this.partialLength=t,this.point=e}var b,t=(b={},function(t,e,r,i){var s=(t[0]+"_"+t[1]+"_"+e[0]+"_"+e[1]+"_"+r[0]+"_"+r[1]+"_"+i[0]+"_"+i[1]).replace(/\./g,"p");if(!b[s]){var a,n,o,h,l,p,m,f=defaultCurveSegments,c=0,d=null;2===t.length&&(t[0]!=e[0]||t[1]!=e[1])&&y(t[0],t[1],e[0],e[1],t[0]+r[0],t[1]+r[1])&&y(t[0],t[1],e[0],e[1],e[0]+i[0],e[1]+i[1])&&(f=2);var u=new g(f);for(o=r.length,a=0;a<f;a+=1){for(m=createSizedArray(o),l=a/(f-1),n=p=0;n<o;n+=1)h=bm_pow(1-l,3)*t[n]+3*bm_pow(1-l,2)*l*(t[n]+r[n])+3*(1-l)*bm_pow(l,2)*(e[n]+i[n])+bm_pow(l,3)*e[n],m[n]=h,null!==d&&(p+=bm_pow(m[n]-d[n],2));c+=p=bm_sqrt(p),u.points[a]=new v(p,m),d=m}u.segmentLength=c,b[s]=u}return b[s]});function M(t,e){var r=e.percents,i=e.lengths,s=r.length,a=bm_floor((s-1)*t),n=t*e.addedLength,o=0;if(a===s-1||0===a||n===i[a])return r[a];for(var h=i[a]>n?-1:1,l=!0;l;)if(i[a]<=n&&i[a+1]>n?(o=(n-i[a])/(i[a+1]-i[a]),l=!1):a+=h,a<0||s-1<=a){if(a===s-1)return r[a];l=!1}return r[a]+(r[a+1]-r[a])*o}var D=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,r=segments_length_pool.newElement(),i=t.c,s=t.v,a=t.o,n=t.i,o=t._length,h=r.lengths,l=0;for(e=0;e<o-1;e+=1)h[e]=p(s[e],s[e+1],a[e],n[e+1]),l+=h[e].addedLength;return i&&o&&(h[e]=p(s[e],s[0],a[e],n[0]),l+=h[e].addedLength),r.totalLength=l,r},getNewSegment:function(t,e,r,i,s,a,n){var o,h=M(s=s<0?0:1<s?1:s,n),l=M(a=1<a?1:a,n),p=t.length,m=1-h,f=1-l,c=m*m*m,d=h*m*m*3,u=h*h*m*3,y=h*h*h,g=m*m*f,v=h*m*f+m*h*f+m*m*l,b=h*h*f+m*h*l+h*m*l,E=h*h*l,x=m*f*f,P=h*f*f+m*l*f+m*f*l,S=h*l*f+m*l*l+h*f*l,_=h*l*l,A=f*f*f,C=l*f*f+f*l*f+f*f*l,T=l*l*f+f*l*l+l*f*l,k=l*l*l;for(o=0;o<p;o+=1)D[4*o]=Math.round(1e3*(c*t[o]+d*r[o]+u*i[o]+y*e[o]))/1e3,D[4*o+1]=Math.round(1e3*(g*t[o]+v*r[o]+b*i[o]+E*e[o]))/1e3,D[4*o+2]=Math.round(1e3*(x*t[o]+P*r[o]+S*i[o]+_*e[o]))/1e3,D[4*o+3]=Math.round(1e3*(A*t[o]+C*r[o]+T*i[o]+k*e[o]))/1e3;return D},getPointInSegment:function(t,e,r,i,s,a){var n=M(s,a),o=1-n;return[Math.round(1e3*(o*o*o*t[0]+(n*o*o+o*n*o+o*o*n)*r[0]+(n*n*o+o*n*n+n*o*n)*i[0]+n*n*n*e[0]))/1e3,Math.round(1e3*(o*o*o*t[1]+(n*o*o+o*n*o+o*o*n)*r[1]+(n*n*o+o*n*n+n*o*n)*i[1]+n*n*n*e[1]))/1e3]},buildBezierData:t,pointOnLine2D:y,pointOnLine3D:function(t,e,r,i,s,a,n,o,h){if(0===r&&0===a&&0===h)return y(t,e,i,s,n,o);var l,p=Math.sqrt(Math.pow(i-t,2)+Math.pow(s-e,2)+Math.pow(a-r,2)),m=Math.sqrt(Math.pow(n-t,2)+Math.pow(o-e,2)+Math.pow(h-r,2)),f=Math.sqrt(Math.pow(n-i,2)+Math.pow(o-s,2)+Math.pow(h-a,2));return-1e-4<(l=m<p?f<p?p-m-f:f-m-p:m<f?f-m-p:m-p-f)&&l<1e-4}}}!function(){for(var a=0,t=["ms","moz","webkit","o"],e=0;e<t.length&&!window.requestAnimationFrame;++e)window.requestAnimationFrame=window[t[e]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[e]+"CancelAnimationFrame"]||window[t[e]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,e){var r=(new Date).getTime(),i=Math.max(0,16-(r-a)),s=setTimeout(function(){t(r+i)},i);return a=r+i,s}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}();var bez=bezFunction();function dataFunctionManager(){function m(t,e,r){var i,s,a,n,o,h,l=t.length;for(s=0;s<l;s+=1)if("ks"in(i=t[s])&&!i.completed){if(i.completed=!0,i.tt&&(t[s-1].td=i.tt),[],-1,i.hasMask){var p=i.masksProperties;for(n=p.length,a=0;a<n;a+=1)if(p[a].pt.k.i)d(p[a].pt.k);else for(h=p[a].pt.k.length,o=0;o<h;o+=1)p[a].pt.k[o].s&&d(p[a].pt.k[o].s[0]),p[a].pt.k[o].e&&d(p[a].pt.k[o].e[0])}0===i.ty?(i.layers=f(i.refId,e),m(i.layers,e,r)):4===i.ty?c(i.shapes):5==i.ty&&u(i,r)}}function f(t,e){for(var r=0,i=e.length;r<i;){if(e[r].id===t)return e[r].layers.__used?JSON.parse(JSON.stringify(e[r].layers)):(e[r].layers.__used=!0,e[r].layers);r+=1}}function c(t){var e,r,i;for(e=t.length-1;0<=e;e-=1)if("sh"==t[e].ty){if(t[e].ks.k.i)d(t[e].ks.k);else for(i=t[e].ks.k.length,r=0;r<i;r+=1)t[e].ks.k[r].s&&d(t[e].ks.k[r].s[0]),t[e].ks.k[r].e&&d(t[e].ks.k[r].e[0]);!0}else"gr"==t[e].ty&&c(t[e].it)}function d(t){var e,r=t.i.length;for(e=0;e<r;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function o(t,e){var r=e?e.split("."):[100,100,100];return t[0]>r[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&void 0))}var h,r=function(){var i=[4,4,14];function s(t){var e,r,i,s=t.length;for(e=0;e<s;e+=1)5===t[e].ty&&(r=t[e],void 0,i=r.t.d,r.t.d={k:[{s:i,t:0}]})}return function(t){if(o(i,t.v)&&(s(t.layers),t.assets)){var e,r=t.assets.length;for(e=0;e<r;e+=1)t.assets[e].layers&&s(t.assets[e].layers)}}}(),i=(h=[4,7,99],function(t){if(t.chars&&!o(h,t.v)){var e,r,i,s,a,n=t.chars.length;for(e=0;e<n;e+=1)if(t.chars[e].data&&t.chars[e].data.shapes)for(i=(a=t.chars[e].data.shapes[0].it).length,r=0;r<i;r+=1)(s=a[r].ks.k).__converted||(d(a[r].ks.k),s.__converted=!0)}}),s=function(){var i=[4,1,9];function a(t){var e,r,i,s=t.length;for(e=0;e<s;e+=1)if("gr"===t[e].ty)a(t[e].it);else if("fl"===t[e].ty||"st"===t[e].ty)if(t[e].c.k&&t[e].c.k[0].i)for(i=t[e].c.k.length,r=0;r<i;r+=1)t[e].c.k[r].s&&(t[e].c.k[r].s[0]/=255,t[e].c.k[r].s[1]/=255,t[e].c.k[r].s[2]/=255,t[e].c.k[r].s[3]/=255),t[e].c.k[r].e&&(t[e].c.k[r].e[0]/=255,t[e].c.k[r].e[1]/=255,t[e].c.k[r].e[2]/=255,t[e].c.k[r].e[3]/=255);else t[e].c.k[0]/=255,t[e].c.k[1]/=255,t[e].c.k[2]/=255,t[e].c.k[3]/=255}function s(t){var e,r=t.length;for(e=0;e<r;e+=1)4===t[e].ty&&a(t[e].shapes)}return function(t){if(o(i,t.v)&&(s(t.layers),t.assets)){var e,r=t.assets.length;for(e=0;e<r;e+=1)t.assets[e].layers&&s(t.assets[e].layers)}}}(),a=function(){var i=[4,4,18];function l(t){var e,r,i;for(e=t.length-1;0<=e;e-=1)if("sh"==t[e].ty){if(t[e].ks.k.i)t[e].ks.k.c=t[e].closed;else for(i=t[e].ks.k.length,r=0;r<i;r+=1)t[e].ks.k[r].s&&(t[e].ks.k[r].s[0].c=t[e].closed),t[e].ks.k[r].e&&(t[e].ks.k[r].e[0].c=t[e].closed);!0}else"gr"==t[e].ty&&l(t[e].it)}function s(t){var e,r,i,s,a,n,o=t.length;for(r=0;r<o;r+=1){if((e=t[r]).hasMask){var h=e.masksProperties;for(s=h.length,i=0;i<s;i+=1)if(h[i].pt.k.i)h[i].pt.k.c=h[i].cl;else for(n=h[i].pt.k.length,a=0;a<n;a+=1)h[i].pt.k[a].s&&(h[i].pt.k[a].s[0].c=h[i].cl),h[i].pt.k[a].e&&(h[i].pt.k[a].e[0].c=h[i].cl)}4===e.ty&&l(e.shapes)}}return function(t){if(o(i,t.v)&&(s(t.layers),t.assets)){var e,r=t.assets.length;for(e=0;e<r;e+=1)t.assets[e].layers&&s(t.assets[e].layers)}}}();function u(t,e){0!==t.t.a.length||"m"in t.t.p||(t.singleShape=!0)}var t={completeData:function(t,e){t.__complete||(s(t),r(t),i(t),a(t),m(t.layers,t.assets,e),t.__complete=!0)}};return t.checkColors=s,t.checkChars=i,t.checkShapes=a,t.completeLayers=m,t}var dataManager=dataFunctionManager(),FontManager=function(){var a={w:0,size:0,shapes:[]},t=[];function u(t,e){var r=createTag("span");r.style.fontFamily=e;var i=createTag("span");i.innerHTML="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(i),document.body.appendChild(r);var s=i.offsetWidth;return i.style.fontFamily=t+", "+e,{node:i,w:s,parent:r}}t=t.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var e=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this.initTime=Date.now()};return e.getCombinedCharacterCodes=function(){return t},e.prototype.addChars=function(t){if(t){this.chars||(this.chars=[]);var e,r,i,s=t.length,a=this.chars.length;for(e=0;e<s;e+=1){for(r=0,i=!1;r<a;)this.chars[r].style===t[e].style&&this.chars[r].fFamily===t[e].fFamily&&this.chars[r].ch===t[e].ch&&(i=!0),r+=1;i||(this.chars.push(t[e]),a+=1)}}},e.prototype.addFonts=function(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);var r,i,s,a,n=t.list,o=n.length,h=o;for(r=0;r<o;r+=1){var l,p,m=!0;if(n[r].loaded=!1,n[r].monoCase=u(n[r].fFamily,"monospace"),n[r].sansCase=u(n[r].fFamily,"sans-serif"),n[r].fPath){if("p"===n[r].fOrigin||3===n[r].origin){if(0<(l=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[r].fFamily+'"], style[f-origin="3"][f-family="'+n[r].fFamily+'"]')).length&&(m=!1),m){var f=createTag("style");f.setAttribute("f-forigin",n[r].fOrigin),f.setAttribute("f-origin",n[r].origin),f.setAttribute("f-family",n[r].fFamily),f.type="text/css",f.innerHTML="@font-face {font-family: "+n[r].fFamily+"; font-style: normal; src: url('"+n[r].fPath+"');}",e.appendChild(f)}}else if("g"===n[r].fOrigin||1===n[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),p=0;p<l.length;p++)-1!==l[p].href.indexOf(n[r].fPath)&&(m=!1);if(m){var c=createTag("link");c.setAttribute("f-forigin",n[r].fOrigin),c.setAttribute("f-origin",n[r].origin),c.type="text/css",c.rel="stylesheet",c.href=n[r].fPath,document.body.appendChild(c)}}else if("t"===n[r].fOrigin||2===n[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),p=0;p<l.length;p++)n[r].fPath===l[p].src&&(m=!1);if(m){var d=createTag("link");d.setAttribute("f-forigin",n[r].fOrigin),d.setAttribute("f-origin",n[r].origin),d.setAttribute("rel","stylesheet"),d.setAttribute("href",n[r].fPath),e.appendChild(d)}}}else n[r].loaded=!0,h-=1;n[r].helper=(i=e,s=n[r],a=void 0,(a=createNS("text")).style.fontSize="100px",a.setAttribute("font-family",s.fFamily),a.setAttribute("font-style",s.fStyle),a.setAttribute("font-weight",s.fWeight),a.textContent="1",s.fClass?(a.style.fontFamily="inherit",a.setAttribute("class",s.fClass)):a.style.fontFamily=s.fFamily,i.appendChild(a),createTag("canvas").getContext("2d").font=s.fWeight+" "+s.fStyle+" 100px "+s.fFamily,a),n[r].cache={},this.fonts.push(n[r])}0===h?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},e.prototype.getCharData=function(t,e,r){for(var i=0,s=this.chars.length;i<s;){if(this.chars[i].ch===t&&this.chars[i].style===e&&this.chars[i].fFamily===r)return this.chars[i];i+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&console.warn("Missing character from exported characters list: ",t,e,r),a},e.prototype.getFontByName=function(t){for(var e=0,r=this.fonts.length;e<r;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},e.prototype.measureText=function(t,e,r){var i=this.getFontByName(e),s=t.charCodeAt(0);if(!i.cache[s+1]){var a=i.helper;if(" "===t){a.textContent="|"+t+"|";var n=a.getComputedTextLength();a.textContent="||";var o=a.getComputedTextLength();i.cache[s+1]=(n-o)/100}else a.textContent=t,i.cache[s+1]=a.getComputedTextLength()/100}return i.cache[s+1]*r},e.prototype.checkLoadedFonts=function(){var t,e,r,i=this.fonts.length,s=i;for(t=0;t<i;t+=1)this.fonts[t].loaded?s-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(e=this.fonts[t].monoCase.node,r=this.fonts[t].monoCase.w,e.offsetWidth!==r?(s-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,r=this.fonts[t].sansCase.w,e.offsetWidth!==r&&(s-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==s&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFonts.bind(this),20):setTimeout(function(){this.isLoaded=!0}.bind(this),0)},e.prototype.loaded=function(){return this.isLoaded},e}(),PropertyFactory=function(){var m=initialDefaultFrame,s=Math.abs;function f(t,e){var r,i=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var s,a,n,o,h,l,p,m,f=e.lastIndex,c=f,d=this.keyframes.length-1,u=!0;u;){if(s=this.keyframes[c],a=this.keyframes[c+1],c===d-1&&t>=a.t-i){s.h&&(s=a),f=0;break}if(a.t-i>t){f=c;break}c<d-1?c+=1:(f=0,u=!1)}var y,g,v,b,E,x,P,S,_,A,C=a.t-i,T=s.t-i;if(s.to){s.bezierData||(s.bezierData=bez.buildBezierData(s.s,a.s||s.e,s.to,s.ti));var k=s.bezierData;if(C<=t||t<T){var M=C<=t?k.points.length-1:0;for(o=k.points[M].point.length,n=0;n<o;n+=1)r[n]=k.points[M].point[n]}else{s.__fnct?m=s.__fnct:(m=BezierFactory.getBezierEasing(s.o.x,s.o.y,s.i.x,s.i.y,s.n).get,s.__fnct=m),h=m((t-T)/(C-T));var D,w=k.segmentLength*h,F=e.lastFrame<t&&e._lastKeyframeIndex===c?e._lastAddedLength:0;for(p=e.lastFrame<t&&e._lastKeyframeIndex===c?e._lastPoint:0,u=!0,l=k.points.length;u;){if(F+=k.points[p].partialLength,0===w||0===h||p===k.points.length-1){for(o=k.points[p].point.length,n=0;n<o;n+=1)r[n]=k.points[p].point[n];break}if(F<=w&&w<F+k.points[p+1].partialLength){for(D=(w-F)/k.points[p+1].partialLength,o=k.points[p].point.length,n=0;n<o;n+=1)r[n]=k.points[p].point[n]+(k.points[p+1].point[n]-k.points[p].point[n])*D;break}p<l-1?p+=1:u=!1}e._lastPoint=p,e._lastAddedLength=F-k.points[p].partialLength,e._lastKeyframeIndex=c}}else{var I,V,R,B,L;if(d=s.s.length,y=a.s||s.e,this.sh&&1!==s.h)if(C<=t)r[0]=y[0],r[1]=y[1],r[2]=y[2];else if(t<=T)r[0]=s.s[0],r[1]=s.s[1],r[2]=s.s[2];else{var G=N(s.s),z=N(y);g=r,v=function(t,e,r){var i,s,a,n,o,h=[],l=t[0],p=t[1],m=t[2],f=t[3],c=e[0],d=e[1],u=e[2],y=e[3];(s=l*c+p*d+m*u+f*y)<0&&(s=-s,c=-c,d=-d,u=-u,y=-y);o=1e-6<1-s?(i=Math.acos(s),a=Math.sin(i),n=Math.sin((1-r)*i)/a,Math.sin(r*i)/a):(n=1-r,r);return h[0]=n*l+o*c,h[1]=n*p+o*d,h[2]=n*m+o*u,h[3]=n*f+o*y,h}(G,z,(t-T)/(C-T)),b=v[0],E=v[1],x=v[2],P=v[3],S=Math.atan2(2*E*P-2*b*x,1-2*E*E-2*x*x),_=Math.asin(2*b*E+2*x*P),A=Math.atan2(2*b*P-2*E*x,1-2*b*b-2*x*x),g[0]=S/degToRads,g[1]=_/degToRads,g[2]=A/degToRads}else for(c=0;c<d;c+=1)1!==s.h&&(h=C<=t?1:t<T?0:(s.o.x.constructor===Array?(s.__fnct||(s.__fnct=[]),s.__fnct[c]?m=s.__fnct[c]:(I=void 0===s.o.x[c]?s.o.x[0]:s.o.x[c],V=void 0===s.o.y[c]?s.o.y[0]:s.o.y[c],R=void 0===s.i.x[c]?s.i.x[0]:s.i.x[c],B=void 0===s.i.y[c]?s.i.y[0]:s.i.y[c],m=BezierFactory.getBezierEasing(I,V,R,B).get,s.__fnct[c]=m)):s.__fnct?m=s.__fnct:(I=s.o.x,V=s.o.y,R=s.i.x,B=s.i.y,m=BezierFactory.getBezierEasing(I,V,R,B).get,s.__fnct=m),m((t-T)/(C-T)))),y=a.s||s.e,L=1===s.h?s.s[c]:s.s[c]+(y[c]-s.s[c])*h,"multidimensional"===this.propType?r[c]=L:r=L}return e.lastIndex=f,r}function N(t){var e=t[0]*degToRads,r=t[1]*degToRads,i=t[2]*degToRads,s=Math.cos(e/2),a=Math.cos(r/2),n=Math.cos(i/2),o=Math.sin(e/2),h=Math.sin(r/2),l=Math.sin(i/2);return[o*h*n+s*a*l,o*a*n+s*h*l,s*h*n-o*a*l,s*a*n-o*h*l]}function c(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==m&&(this._caching.lastFrame>=r&&r<=t||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function d(t){var e;if("unidimensional"===this.propType)e=t*this.mult,1e-5<s(this.v-e)&&(this.v=e,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)e=t[r]*this.mult,1e-5<s(this.v[r]-e)&&(this.v[r]=e,this._mdf=!0),r+=1}function u(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;var t,e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)r=this.effectsSequence[t](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function y(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function n(t,e,r,i){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=u,this.setVValue=d,this.addEffect=y}function o(t,e,r,i){this.propType="multidimensional",this.mult=r||1,this.data=e,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var s,a=e.k.length;this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a);createTypedArray("float32",a);for(this.vel=createTypedArray("float32",a),s=0;s<a;s+=1)this.v[s]=e.k[s]*this.mult,this.pv[s]=e.k[s];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=u,this.setVValue=d,this.addEffect=y}function h(t,e,r,i){this.propType="unidimensional",this.keyframes=e.k,this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:m,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=r||1,this.elem=t,this.container=i,this.comp=t.comp,this.v=m,this.pv=m,this._isFirstFrame=!0,this.getValue=u,this.setVValue=d,this.interpolateValue=f,this.effectsSequence=[c.bind(this)],this.addEffect=y}function l(t,e,r,i){this.propType="multidimensional";var s,a,n,o,h,l=e.k.length;for(s=0;s<l-1;s+=1)e.k[s].to&&e.k[s].s&&e.k[s+1]&&e.k[s+1].s&&(a=e.k[s].s,n=e.k[s+1].s,o=e.k[s].to,h=e.k[s].ti,(2===a.length&&(a[0]!==n[0]||a[1]!==n[1])&&bez.pointOnLine2D(a[0],a[1],n[0],n[1],a[0]+o[0],a[1]+o[1])&&bez.pointOnLine2D(a[0],a[1],n[0],n[1],n[0]+h[0],n[1]+h[1])||3===a.length&&(a[0]!==n[0]||a[1]!==n[1]||a[2]!==n[2])&&bez.pointOnLine3D(a[0],a[1],a[2],n[0],n[1],n[2],a[0]+o[0],a[1]+o[1],a[2]+o[2])&&bez.pointOnLine3D(a[0],a[1],a[2],n[0],n[1],n[2],n[0]+h[0],n[1]+h[1],n[2]+h[2]))&&(e.k[s].to=null,e.k[s].ti=null),a[0]===n[0]&&a[1]===n[1]&&0===o[0]&&0===o[1]&&0===h[0]&&0===h[1]&&(2===a.length||a[2]===n[2]&&0===o[2]&&0===h[2])&&(e.k[s].to=null,e.k[s].ti=null));this.effectsSequence=[c.bind(this)],this.keyframes=e.k,this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=t,this.container=i,this.comp=t.comp,this.getValue=u,this.setVValue=d,this.interpolateValue=f,this.frameId=-1;var p=e.k[0].s.length;for(this.v=createTypedArray("float32",p),this.pv=createTypedArray("float32",p),s=0;s<p;s+=1)this.v[s]=m,this.pv[s]=m;this._caching={lastFrame:m,lastIndex:0,value:createTypedArray("float32",p)},this.addEffect=y}return{getProp:function(t,e,r,i,s){var a;if(e.k.length)if("number"==typeof e.k[0])a=new o(t,e,i,s);else switch(r){case 0:a=new h(t,e,i,s);break;case 1:a=new l(t,e,i,s)}else a=new n(t,e,i,s);return a.effectsSequence.length&&s.addDynamicProperty(a),a}}}(),TransformPropertyFactory=function(){var n=[0,0];function i(t,e,r){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var i,s=e.or.k.length;for(i=0;i<s;i+=1)e.or.k[i].to=e.or.k[i].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return i.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var e,r,i=this.elem.globalData.frameRate;if(this.p&&this.p.keyframes&&this.p.getValueAtTime)r=this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(e=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/i,0),this.p.getValueAtTime(this.p.keyframes[0].t/i,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(e=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/i,0),this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/i,0)):(e=this.p.pv,this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/i,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){e=[],r=[];var s=this.px,a=this.py;s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(e[0]=s.getValueAtTime((s.keyframes[0].t+.01)/i,0),e[1]=a.getValueAtTime((a.keyframes[0].t+.01)/i,0),r[0]=s.getValueAtTime(s.keyframes[0].t/i,0),r[1]=a.getValueAtTime(a.keyframes[0].t/i,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(e[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/i,0),e[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/i,0),r[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/i,0),r[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/i,0)):(e=[s.pv,a.pv],r[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/i,s.offsetTime),r[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/i,a.offsetTime))}else e=r=n;this.v.rotate(-Math.atan2(e[1]-r[1],e[0]-r[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}if(this.r){if(this.r.effectsSequence.length)return;this.pre.rotate(-this.r.v),this.appliedTransformations=4}else this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],i),i.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},i.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,e,r){return new i(t,e,r)}}}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var r=0;r<e;)this.v[r]=point_pool.newElement(),this.o[r]=point_pool.newElement(),this.i[r]=point_pool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,r,i,s){var a;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o}(!a[i]||a[i]&&!s)&&(a[i]=point_pool.newElement()),a[i][0]=t,a[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,s,a,n,o){this.setXYAt(t,e,"v",n,o),this.setXYAt(r,i,"o",n,o),this.setXYAt(s,a,"i",n,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,i=this.i,s=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),s=1);var a,n=this._length-1,o=this._length;for(a=s;a<o;a+=1)t.setTripleAt(e[n][0],e[n][1],i[n][0],i[n][1],r[n][0],r[n][1],a,!1),n-=1;return t};var ShapePropertyFactory=function(){var s=-999999;function t(t,e,r){var i,s,a,n,o,h,l,p,m,f=r.lastIndex,c=this.keyframes;if(t<c[0].t-this.offsetTime)i=c[0].s[0],a=!0,f=0;else if(t>=c[c.length-1].t-this.offsetTime)i=c[c.length-1].s?c[c.length-1].s[0]:c[c.length-2].e[0],a=!0;else{for(var d,u,y=f,g=c.length-1,v=!0;v&&(d=c[y],!((u=c[y+1]).t-this.offsetTime>t));)y<g-1?y+=1:v=!1;if(f=y,!(a=1===d.h)){if(t>=u.t-this.offsetTime)p=1;else if(t<d.t-this.offsetTime)p=0;else{var b;d.__fnct?b=d.__fnct:(b=BezierFactory.getBezierEasing(d.o.x,d.o.y,d.i.x,d.i.y).get,d.__fnct=b),p=b((t-(d.t-this.offsetTime))/(u.t-this.offsetTime-(d.t-this.offsetTime)))}s=u.s?u.s[0]:d.e[0]}i=d.s[0]}for(h=e._length,l=i.i[0].length,r.lastIndex=f,n=0;n<h;n+=1)for(o=0;o<l;o+=1)m=a?i.i[n][o]:i.i[n][o]+(s.i[n][o]-i.i[n][o])*p,e.i[n][o]=m,m=a?i.o[n][o]:i.o[n][o]+(s.o[n][o]-i.o[n][o])*p,e.o[n][o]=m,m=a?i.v[n][o]:i.v[n][o]+(s.v[n][o]-i.v[n][o])*p,e.v[n][o]=m}function a(){this.paths=this.localShapeCollection}function e(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var r,i=t._length;for(r=0;r<i;r+=1)if(t.v[r][0]!==e.v[r][0]||t.v[r][1]!==e.v[r][1]||t.o[r][0]!==e.o[r][0]||t.o[r][1]!==e.o[r][1]||t.i[r][0]!==e.i[r][0]||t.i[r][1]!==e.i[r][1])return!1;return!0})(this.v,t)||(this.v=shape_pool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function r(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;var t,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k,r=this.effectsSequence.length;for(t=0;t<r;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function n(t,e,r){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===r?e.pt.k:e.ks.k;this.v=shape_pool.clone(i),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=a,this.effectsSequence=[]}function i(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,e,r){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===r?e.pt.k:e.ks.k,this.k=!0,this.kf=!0;var i=this.keyframes[0].s[0].i.length;this.keyframes[0].s[0].i[0].length;this.v=shape_pool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,i),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=s,this.reset=a,this._caching={lastFrame:s,lastIndex:0},this.effectsSequence=[function(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==s&&(i<e&&t<e||r<i&&r<t)||(this._caching.lastIndex=i<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}.bind(this)]}n.prototype.interpolateShape=t,n.prototype.getValue=r,n.prototype.setVValue=e,n.prototype.addEffect=i,o.prototype.getValue=r,o.prototype.interpolateShape=t,o.prototype.setVValue=e,o.prototype.addEffect=i;var h=function(){var n=roundCorner;function t(t,e){this.v=shape_pool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],e=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,s=3!==this.d,a=this.v;a.v[0][0]=t,a.v[0][1]=e-i,a.v[1][0]=s?t+r:t-r,a.v[1][1]=e,a.v[2][0]=t,a.v[2][1]=e+i,a.v[3][0]=s?t-r:t+r,a.v[3][1]=e,a.i[0][0]=s?t-r*n:t+r*n,a.i[0][1]=e-i,a.i[1][0]=s?t+r:t-r,a.i[1][1]=e-i*n,a.i[2][0]=s?t+r*n:t-r*n,a.i[2][1]=e+i,a.i[3][0]=s?t-r:t+r,a.i[3][1]=e+i*n,a.o[0][0]=s?t+r*n:t-r*n,a.o[0][1]=e-i,a.o[1][0]=s?t+r:t-r,a.o[1][1]=e+i*n,a.o[2][0]=s?t-r*n:t+r*n,a.o[2][1]=e+i,a.o[3][0]=s?t-r:t+r,a.o[3][1]=e-i*n}},extendPrototype([DynamicPropertyContainer],t),t}(),l=function(){function t(t,e){this.v=shape_pool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:a,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,r,i,s=2*Math.floor(this.pt.v),a=2*Math.PI/s,n=!0,o=this.or.v,h=this.ir.v,l=this.os.v,p=this.is.v,m=2*Math.PI*o/(2*s),f=2*Math.PI*h/(2*s),c=-Math.PI/2;c+=this.r.v;var d=3===this.data.d?-1:1;for(t=this.v._length=0;t<s;t+=1){r=n?l:p,i=n?m:f;var u=(e=n?o:h)*Math.cos(c),y=e*Math.sin(c),g=0===u&&0===y?0:y/Math.sqrt(u*u+y*y),v=0===u&&0===y?0:-u/Math.sqrt(u*u+y*y);u+=+this.p.v[0],y+=+this.p.v[1],this.v.setTripleAt(u,y,u-g*i*r*d,y-v*i*r*d,u+g*i*r*d,y+v*i*r*d,t,!0),n=!n,c+=a*d}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),r=2*Math.PI/e,i=this.or.v,s=this.os.v,a=2*Math.PI*i/(4*e),n=-Math.PI/2,o=3===this.data.d?-1:1;for(n+=this.r.v,t=this.v._length=0;t<e;t+=1){var h=i*Math.cos(n),l=i*Math.sin(n),p=0===h&&0===l?0:l/Math.sqrt(h*h+l*l),m=0===h&&0===l?0:-h/Math.sqrt(h*h+l*l);h+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(h,l,h-p*a*s*o,l-m*a*s*o,h+p*a*s*o,l+m*a*s*o,t,!0),n+=r*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),p=function(){function t(t,e){this.v=shape_pool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,s=bm_min(r,i,this.r.v),a=s*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+r,e-i+s,t+r,e-i+s,t+r,e-i+a,0,!0),this.v.setTripleAt(t+r,e+i-s,t+r,e+i-a,t+r,e+i-s,1,!0),0!==s?(this.v.setTripleAt(t+r-s,e+i,t+r-s,e+i,t+r-a,e+i,2,!0),this.v.setTripleAt(t-r+s,e+i,t-r+a,e+i,t-r+s,e+i,3,!0),this.v.setTripleAt(t-r,e+i-s,t-r,e+i-s,t-r,e+i-a,4,!0),this.v.setTripleAt(t-r,e-i+s,t-r,e-i+a,t-r,e-i+s,5,!0),this.v.setTripleAt(t-r+s,e-i,t-r+s,e-i,t-r+a,e-i,6,!0),this.v.setTripleAt(t+r-s,e-i,t+r-a,e-i,t+r-s,e-i,7,!0)):(this.v.setTripleAt(t-r,e+i,t-r+a,e+i,t-r,e+i,2),this.v.setTripleAt(t-r,e-i,t-r,e-i+a,t-r,e-i,3))):(this.v.setTripleAt(t+r,e-i+s,t+r,e-i+a,t+r,e-i+s,0,!0),0!==s?(this.v.setTripleAt(t+r-s,e-i,t+r-s,e-i,t+r-a,e-i,1,!0),this.v.setTripleAt(t-r+s,e-i,t-r+a,e-i,t-r+s,e-i,2,!0),this.v.setTripleAt(t-r,e-i+s,t-r,e-i+s,t-r,e-i+a,3,!0),this.v.setTripleAt(t-r,e+i-s,t-r,e+i-a,t-r,e+i-s,4,!0),this.v.setTripleAt(t-r+s,e+i,t-r+s,e+i,t-r+a,e+i,5,!0),this.v.setTripleAt(t+r-s,e+i,t+r-a,e+i,t+r-s,e+i,6,!0),this.v.setTripleAt(t+r,e+i-s,t+r,e+i-s,t+r,e+i-a,7,!0)):(this.v.setTripleAt(t-r,e-i,t-r+a,e-i,t-r,e-i,1,!0),this.v.setTripleAt(t-r,e+i,t-r,e+i-a,t-r,e+i,2,!0),this.v.setTripleAt(t+r,e+i,t+r-a,e+i,t+r,e+i,3,!0)))},getValue:function(t){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:a},extendPrototype([DynamicPropertyContainer],t),t}();var m={getShapeProp:function(t,e,r){var i;return 3===r||4===r?i=(3===r?e.pt:e.ks).k.length?new o(t,e,r):new n(t,e,r):5===r?i=new p(t,e):6===r?i=new h(t,e):7===r&&(i=new l(t,e)),i.k&&t.addDynamicProperty(i),i},getConstructorFunction:function(){return n},getKeyframedConstructorFunction:function(){return o}};return m}(),ShapeModifiers=($r={},_r={},$r.registerModifier=function(t,e){_r[t]||(_r[t]=e)},$r.getModifier=function(t,e,r){return new _r[t](e,r)},$r),$r,_r;function ShapeModifier(){}function TrimModifier(){}function RoundCornersModifier(){}function RepeaterModifier(){}function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}function DashProperty(t,e,r,i){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var s,a,n=e.length||0;for(s=0;s<n;s+=1)a=PropertyFactory.getProp(t,e[s].v,0,0,this),this.k=a.k||this.k,this.dataProps[s]={n:e[s].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var i=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollection_pool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,r,i,s){var a=[];e<=1?a.push({s:t,e:e}):1<=t?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var n,o,h=[],l=a.length;for(n=0;n<l;n+=1){var p,m;if((o=a[n]).e*s<i||o.s*s>i+r);else p=o.s*s<=i?0:(o.s*s-i)/r,m=o.e*s>=i+r?1:(o.e*s-i)/r,h.push([p,m])}return h.length||h.push([0,0]),h},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e<r;e+=1)segments_length_pool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,r,i;if(this._mdf||t){var s=this.o.v%360/360;if(s<0&&(s+=1),e=(1<this.s.v?1:this.s.v<0?0:this.s.v)+s,(r=(1<this.e.v?1:this.e.v<0?0:this.e.v)+s)<e){var a=e;e=r,r=a}e=1e-4*Math.round(1e4*e),r=1e-4*Math.round(1e4*r),this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var n,o,h,l,p,m,f=this.shapes.length,c=0;if(r===e)for(n=0;n<f;n+=1)this.shapes[n].localShapeCollection.releaseShapes(),this.shapes[n].shape._mdf=!0,this.shapes[n].shape.paths=this.shapes[n].localShapeCollection;else if(1===r&&0===e||0===r&&1===e){if(this._mdf)for(n=0;n<f;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0}else{var d,u,y=[];for(n=0;n<f;n+=1)if((d=this.shapes[n]).shape._mdf||this._mdf||t||2===this.m){if(h=(i=d.shape.paths)._length,m=0,!d.shape._mdf&&d.pathsData.length)m=d.totalShapeLength;else{for(l=this.releasePathsData(d.pathsData),o=0;o<h;o+=1)p=bez.getSegmentsLength(i.shapes[o]),l.push(p),m+=p.totalLength;d.totalShapeLength=m,d.pathsData=l}c+=m,d.shape._mdf=!0}else d.shape.paths=d.localShapeCollection;var g,v=e,b=r,E=0;for(n=f-1;0<=n;n-=1)if((d=this.shapes[n]).shape._mdf){for((u=d.localShapeCollection).releaseShapes(),2===this.m&&1<f?(g=this.calculateShapeEdges(e,r,d.totalShapeLength,E,c),E+=d.totalShapeLength):g=[[v,b]],h=g.length,o=0;o<h;o+=1){v=g[o][0],b=g[o][1],y.length=0,b<=1?y.push({s:d.totalShapeLength*v,e:d.totalShapeLength*b}):1<=v?y.push({s:d.totalShapeLength*(v-1),e:d.totalShapeLength*(b-1)}):(y.push({s:d.totalShapeLength*v,e:d.totalShapeLength}),y.push({s:0,e:d.totalShapeLength*(b-1)}));var x=this.addShapes(d,y[0]);if(y[0].s!==y[0].e){if(1<y.length)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var P=x.pop();this.addPaths(x,u),x=this.addShapes(d,y[1],P)}else this.addPaths(x,u),x=this.addShapes(d,y[1]);this.addPaths(x,u)}}d.shape.paths=u}}},TrimModifier.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e.addShape(t[r])},TrimModifier.prototype.addSegment=function(t,e,r,i,s,a,n){s.setXYAt(e[0],e[1],"o",a),s.setXYAt(r[0],r[1],"i",a+1),n&&s.setXYAt(t[0],t[1],"v",a),s.setXYAt(i[0],i[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,r,i){e.setXYAt(t[1],t[5],"o",r),e.setXYAt(t[2],t[6],"i",r+1),i&&e.setXYAt(t[0],t[4],"v",r),e.setXYAt(t[3],t[7],"v",r+1)},TrimModifier.prototype.addShapes=function(t,e,r){var i,s,a,n,o,h,l,p,m=t.pathsData,f=t.shape.paths.shapes,c=t.shape.paths._length,d=0,u=[],y=!0;for(p=r?(o=r._length,r._length):(r=shape_pool.newElement(),o=0),u.push(r),i=0;i<c;i+=1){for(h=m[i].lengths,r.c=f[i].c,a=f[i].c?h.length:h.length+1,s=1;s<a;s+=1)if(d+(n=h[s-1]).addedLength<e.s)d+=n.addedLength,r.c=!1;else{if(d>e.e){r.c=!1;break}e.s<=d&&e.e>=d+n.addedLength?(this.addSegment(f[i].v[s-1],f[i].o[s-1],f[i].i[s],f[i].v[s],r,o,y),y=!1):(l=bez.getNewSegment(f[i].v[s-1],f[i].v[s],f[i].o[s-1],f[i].i[s],(e.s-d)/n.addedLength,(e.e-d)/n.addedLength,h[s-1]),this.addSegmentFromArray(l,r,o,y),y=!1,r.c=!1),d+=n.addedLength,o+=1}if(f[i].c&&h.length){if(n=h[s-1],d<=e.e){var g=h[s-1].addedLength;e.s<=d&&e.e>=d+g?(this.addSegment(f[i].v[s-1],f[i].o[s-1],f[i].i[0],f[i].v[0],r,o,y),y=!1):(l=bez.getNewSegment(f[i].v[s-1],f[i].v[0],f[i].o[s-1],f[i].i[0],(e.s-d)/g,(e.e-d)/g,h[s-1]),this.addSegmentFromArray(l,r,o,y),y=!1,r.c=!1)}else r.c=!1;d+=n.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),d>e.e)break;i<c-1&&(r=shape_pool.newElement(),y=!0,u.push(r),o=0)}return u},ShapeModifiers.registerModifier("tm",TrimModifier),extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var r=shape_pool.newElement();r.c=t.c;var i,s,a,n,o,h,l,p,m,f,c,d,u,y=t._length,g=0;for(i=0;i<y;i+=1)s=t.v[i],n=t.o[i],a=t.i[i],s[0]===n[0]&&s[1]===n[1]&&s[0]===a[0]&&s[1]===a[1]?0!==i&&i!==y-1||t.c?(o=0===i?t.v[y-1]:t.v[i-1],l=(h=Math.sqrt(Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)))?Math.min(h/2,e)/h:0,p=d=s[0]+(o[0]-s[0])*l,m=u=s[1]-(s[1]-o[1])*l,f=p-(p-s[0])*roundCorner,c=m-(m-s[1])*roundCorner,r.setTripleAt(p,m,f,c,d,u,g),g+=1,o=i===y-1?t.v[0]:t.v[i+1],l=(h=Math.sqrt(Math.pow(s[0]-o[0],2)+Math.pow(s[1]-o[1],2)))?Math.min(h/2,e)/h:0,p=f=s[0]+(o[0]-s[0])*l,m=c=s[1]+(o[1]-s[1])*l,d=p-(p-s[0])*roundCorner,u=m-(m-s[1])*roundCorner,r.setTripleAt(p,m,f,c,d,u,g)):r.setTripleAt(s[0],s[1],n[0],n[1],a[0],a[1],g):r.setTripleAt(t.v[i][0],t.v[i][1],t.o[i][0],t.o[i][1],t.i[i][0],t.i[i][1],g),g+=1;return r},RoundCornersModifier.prototype.processShapes=function(t){var e,r,i,s,a,n,o=this.shapes.length,h=this.rd.v;if(0!==h)for(r=0;r<o;r+=1){if((a=this.shapes[r]).shape.paths,n=a.localShapeCollection,a.shape._mdf||this._mdf||t)for(n.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,s=a.shape.paths._length,i=0;i<s;i+=1)n.addShape(this.processPath(e[i],h));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("rd",RoundCornersModifier),extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,r,i,s,a){var n=a?-1:1,o=i.s.v[0]+(1-i.s.v[0])*(1-s),h=i.s.v[1]+(1-i.s.v[1])*(1-s);t.translate(i.p.v[0]*n*s,i.p.v[1]*n*s,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*n*s),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(a?1/o:o,a?1/h:h),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(t,e,r,i){this.elem=t,this.arr=e,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[r]);for(;0<r;)r-=1,this._elements.unshift(e[r]),1;this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){t.length;var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._render=e,"gr"===t[r].ty&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,i,s,a;if(this._mdf||t){var n,o=Math.ceil(this.c.v);if(this._groups.length<o){for(;this._groups.length<o;){var h={it:this.cloneElements(this._elements),ty:"gr"};h.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,h),this._groups.splice(0,0,h),this._currentCopies+=1}this.elem.reloadShapes()}for(i=a=0;i<=this._groups.length-1;i+=1)n=a<o,this._groups[i]._render=n,this.changeGroupRender(this._groups[i].it,n),a+=1;this._currentCopies=o;var l=this.o.v,p=l%1,m=0<l?Math.floor(l):Math.ceil(l),f=(this.tr.v.props,this.pMatrix.props),c=this.rMatrix.props,d=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var u,y,g=0;if(0<l){for(;g<m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),g+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),g+=p)}else if(l<0){for(;m<g;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),g-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),g-=p)}for(i=1===this.data.m?0:this._currentCopies-1,s=1===this.data.m?1:-1,a=this._currentCopies;a;){if(y=(r=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),0!==g){for((0!==i&&1===s||i!==this._currentCopies-1&&-1===s)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(c[0],c[1],c[2],c[3],c[4],c[5],c[6],c[7],c[8],c[9],c[10],c[11],c[12],c[13],c[14],c[15]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),this.matrix.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),u=0;u<y;u+=1)r[u]=this.matrix.props[u];this.matrix.reset()}else for(this.matrix.reset(),u=0;u<y;u+=1)r[u]=this.matrix.props[u];g+=1,a-=1,i+=s}}else for(a=this._currentCopies,i=0,s=1;a;)r=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,a-=1,i+=s},RepeaterModifier.prototype.addShape=function(){},ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shape_pool.release(this.shapes[t]);this._length=0},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<r;e+=1)"o"!=this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),GradientProperty.prototype.comparePoints=function(t,e){for(var r=0,i=this.o.length/2;r<i;){if(.01<Math.abs(t[4*r]-t[4*e+2*r]))return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,r,i,s=4*this.data.p;for(e=0;e<s;e+=1)r=e%4==0?100:255,i=Math.round(this.prop.v[e]*r),this.c[e]!==i&&(this.c[e]=i,this._cmdf=!t);if(this.o.length)for(s=this.prop.v.length,e=4*this.data.p;e<s;e+=1)r=e%2==0?100:1,i=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==i&&(this.o[e-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);var buildShapeString=function(t,e,r,i){if(0===e)return"";var s,a=t.o,n=t.i,o=t.v,h=" M"+i.applyToPointStringified(o[0][0],o[0][1]);for(s=1;s<e;s+=1)h+=" C"+i.applyToPointStringified(a[s-1][0],a[s-1][1])+" "+i.applyToPointStringified(n[s][0],n[s][1])+" "+i.applyToPointStringified(o[s][0],o[s][1]);return r&&e&&(h+=" C"+i.applyToPointStringified(a[s-1][0],a[s-1][1])+" "+i.applyToPointStringified(n[0][0],n[0][1])+" "+i.applyToPointStringified(o[0][0],o[0][1]),h+="z"),h},ImagePreloader=function(){var s=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function e(t){var e=function(t,e,r){var i="";if(t.e)i=t.p;else if(e){var s=t.p;-1!==s.indexOf("images/")&&(s=s.split("/")[1]),i=e+s}else i=r,i+=t.u?t.u:"",i+=t.p;return i}(t,this.assetsPath,this.path),r=createTag("img");r.crossOrigin="anonymous",r.addEventListener("load",this._imageLoaded.bind(this),!1),r.addEventListener("error",function(){i.img=s,this._imageLoaded()}.bind(this),!1),r.src=e;var i={img:r,assetData:t};return i}function r(t,e){this.imagesLoadedCb=e;var r,i=t.length;for(r=0;r<i;r+=1)t[r].layers||(this.totalImages+=1,this.images.push(this._createImageData(t[r])))}function i(t){this.path=t||""}function a(t){this.assetsPath=t||""}function n(t){for(var e=0,r=this.images.length;e<r;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}}function o(){this.imagesLoadedCb=null,this.images.length=0}function h(){return this.totalImages===this.loadedAssets}return function(){this.loadAssets=r,this.setAssetsPath=a,this.setPath=i,this.loaded=h,this.destroy=o,this.getImage=n,this._createImageData=e,this._imageLoaded=t,this.assetsPath="",this.path="",this.totalImages=0,this.loadedAssets=0,this.imagesLoadedCb=null,this.images=[]}}(),featureSupport=(sw={maskType:!0},(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(sw.maskType=!1),sw),sw,filtersFactory=(tw={},tw.createFilter=function(t){var e=createNS("filter");return e.setAttribute("id",t),e.setAttribute("filterUnits","objectBoundingBox"),e.setAttribute("x","0%"),e.setAttribute("y","0%"),e.setAttribute("width","100%"),e.setAttribute("height","100%"),e},tw.createAlphaToLuminanceFilter=function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t},tw),tw,assetLoader=function(){function a(t){return t.response&&"object"==typeof t.response?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):void 0}return{load:function(t,e,r){var i,s=new XMLHttpRequest;s.open("GET",t,!0);try{s.responseType="json"}catch(t){}s.send(),s.onreadystatechange=function(){if(4==s.readyState)if(200==s.status)i=a(s),e(i);else try{i=a(s),e(i)}catch(t){r&&r(t)}}}}}();function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function TextAnimatorDataProperty(t,e,r){var i={propType:!1},s=PropertyFactory.getProp,a=e.a;this.a={r:a.r?s(t,a.r,0,degToRads,r):i,rx:a.rx?s(t,a.rx,0,degToRads,r):i,ry:a.ry?s(t,a.ry,0,degToRads,r):i,sk:a.sk?s(t,a.sk,0,degToRads,r):i,sa:a.sa?s(t,a.sa,0,degToRads,r):i,s:a.s?s(t,a.s,1,.01,r):i,a:a.a?s(t,a.a,1,0,r):i,o:a.o?s(t,a.o,0,.01,r):i,p:a.p?s(t,a.p,1,0,r):i,sw:a.sw?s(t,a.sw,0,0,r):i,sc:a.sc?s(t,a.sc,1,0,r):i,fc:a.fc?s(t,a.fc,1,0,r):i,fh:a.fh?s(t,a.fh,0,0,r):i,fs:a.fs?s(t,a.fs,0,.01,r):i,fb:a.fb?s(t,a.fb,0,.01,r):i,t:a.t?s(t,a.t,0,0,r):i},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function LetterProps(t,e,r,i,s,a){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=s,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,r=this._textData.a.length,i=PropertyFactory.getProp;for(t=0;t<r;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:this._textData.p.r,m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,i,s,a,n,o,h,l,p,m,f,c,d,u,y,g,v,b,E,x=this._moreOptions.alignment.v,P=this._animatorsData,S=this._textData,_=this.mHelper,A=this._renderType,C=this.renderedLetters.length,T=(this.data,t.l);if(this._hasMaskedPath){if(E=this._pathData.m,!this._pathData.n||this._pathData._mdf){var k,M=E.v;for(this._pathData.r&&(M=M.reverse()),n={tLength:0,segments:[]},a=M._length-1,s=g=0;s<a;s+=1)k=bez.buildBezierData(M.v[s],M.v[s+1],[M.o[s][0]-M.v[s][0],M.o[s][1]-M.v[s][1]],[M.i[s+1][0]-M.v[s+1][0],M.i[s+1][1]-M.v[s+1][1]]),n.tLength+=k.segmentLength,n.segments.push(k),g+=k.segmentLength;s=a,E.v.c&&(k=bez.buildBezierData(M.v[s],M.v[0],[M.o[s][0]-M.v[s][0],M.o[s][1]-M.v[s][1]],[M.i[0][0]-M.v[0][0],M.i[0][1]-M.v[0][1]]),n.tLength+=k.segmentLength,n.segments.push(k),g+=k.segmentLength),this._pathData.pi=n}if(n=this._pathData.pi,o=this._pathData.f.v,m=1,p=!(l=f=0),u=n.segments,o<0&&E.v.c)for(n.tLength<Math.abs(o)&&(o=-Math.abs(o)%n.tLength),m=(d=u[f=u.length-1].points).length-1;o<0;)o+=d[m].partialLength,(m-=1)<0&&(m=(d=u[f-=1].points).length-1);c=(d=u[f].points)[m-1],y=(h=d[m]).partialLength}a=T.length,i=r=0;var D,w,F,I,V=1.2*t.finalSize*.714,R=!0;F=P.length;var B,L,G,z,N,O,H,j,q,W,Y,X,$,K=-1,U=o,J=f,Z=m,Q=-1,tt="",et=this.defaultPropsArray;if(2===t.j||1===t.j){var rt=0,it=0,st=2===t.j?-.5:-1,at=0,nt=!0;for(s=0;s<a;s+=1)if(T[s].n){for(rt&&(rt+=it);at<s;)T[at].animatorJustifyOffset=rt,at+=1;nt=!(rt=0)}else{for(w=0;w<F;w+=1)(D=P[w].a).t.propType&&(nt&&2===t.j&&(it+=D.t.v*st),(B=P[w].s.getMult(T[s].anIndexes[w],S.a[w].s.totalChars)).length?rt+=D.t.v*B[0]*st:rt+=D.t.v*B*st);nt=!1}for(rt&&(rt+=it);at<s;)T[at].animatorJustifyOffset=rt,at+=1}for(s=0;s<a;s+=1){if(_.reset(),N=1,T[s].n)r=0,i+=t.yOffset,i+=R?1:0,o=U,R=!1,0,this._hasMaskedPath&&(m=Z,c=(d=u[f=J].points)[m-1],y=(h=d[m]).partialLength,l=0),$=W=X=tt="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==T[s].line){switch(t.j){case 1:o+=g-t.lineWidths[T[s].line];break;case 2:o+=(g-t.lineWidths[T[s].line])/2}Q=T[s].line}K!==T[s].ind&&(T[K]&&(o+=T[K].extra),o+=T[s].an/2,K=T[s].ind),o+=x[0]*T[s].an/200;var ot=0;for(w=0;w<F;w+=1)(D=P[w].a).p.propType&&((B=P[w].s.getMult(T[s].anIndexes[w],S.a[w].s.totalChars)).length?ot+=D.p.v[0]*B[0]:ot+=D.p.v[0]*B),D.a.propType&&((B=P[w].s.getMult(T[s].anIndexes[w],S.a[w].s.totalChars)).length?ot+=D.a.v[0]*B[0]:ot+=D.a.v[0]*B);for(p=!0;p;)o+ot<=l+y||!d?(v=(o+ot-l)/h.partialLength,G=c.point[0]+(h.point[0]-c.point[0])*v,z=c.point[1]+(h.point[1]-c.point[1])*v,_.translate(-x[0]*T[s].an/200,-x[1]*V/100),p=!1):d&&(l+=h.partialLength,(m+=1)>=d.length&&(m=0,d=u[f+=1]?u[f].points:E.v.c?u[f=m=0].points:(l-=h.partialLength,null)),d&&(c=h,y=(h=d[m]).partialLength));L=T[s].an/2-T[s].add,_.translate(-L,0,0)}else L=T[s].an/2-T[s].add,_.translate(-L,0,0),_.translate(-x[0]*T[s].an/200,-x[1]*V/100,0);for(T[s].l/2,w=0;w<F;w+=1)(D=P[w].a).t.propType&&(B=P[w].s.getMult(T[s].anIndexes[w],S.a[w].s.totalChars),0===r&&0===t.j||(this._hasMaskedPath?B.length?o+=D.t.v*B[0]:o+=D.t.v*B:B.length?r+=D.t.v*B[0]:r+=D.t.v*B));for(T[s].l/2,t.strokeWidthAnim&&(H=t.sw||0),t.strokeColorAnim&&(O=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(j=[t.fc[0],t.fc[1],t.fc[2]]),w=0;w<F;w+=1)(D=P[w].a).a.propType&&((B=P[w].s.getMult(T[s].anIndexes[w],S.a[w].s.totalChars)).length?_.translate(-D.a.v[0]*B[0],-D.a.v[1]*B[1],D.a.v[2]*B[2]):_.translate(-D.a.v[0]*B,-D.a.v[1]*B,D.a.v[2]*B));for(w=0;w<F;w+=1)(D=P[w].a).s.propType&&((B=P[w].s.getMult(T[s].anIndexes[w],S.a[w].s.totalChars)).length?_.scale(1+(D.s.v[0]-1)*B[0],1+(D.s.v[1]-1)*B[1],1):_.scale(1+(D.s.v[0]-1)*B,1+(D.s.v[1]-1)*B,1));for(w=0;w<F;w+=1){if(D=P[w].a,B=P[w].s.getMult(T[s].anIndexes[w],S.a[w].s.totalChars),D.sk.propType&&(B.length?_.skewFromAxis(-D.sk.v*B[0],D.sa.v*B[1]):_.skewFromAxis(-D.sk.v*B,D.sa.v*B)),D.r.propType&&(B.length?_.rotateZ(-D.r.v*B[2]):_.rotateZ(-D.r.v*B)),D.ry.propType&&(B.length?_.rotateY(D.ry.v*B[1]):_.rotateY(D.ry.v*B)),D.rx.propType&&(B.length?_.rotateX(D.rx.v*B[0]):_.rotateX(D.rx.v*B)),D.o.propType&&(B.length?N+=(D.o.v*B[0]-N)*B[0]:N+=(D.o.v*B-N)*B),t.strokeWidthAnim&&D.sw.propType&&(B.length?H+=D.sw.v*B[0]:H+=D.sw.v*B),t.strokeColorAnim&&D.sc.propType)for(q=0;q<3;q+=1)B.length?O[q]=O[q]+(D.sc.v[q]-O[q])*B[0]:O[q]=O[q]+(D.sc.v[q]-O[q])*B;if(t.fillColorAnim&&t.fc){if(D.fc.propType)for(q=0;q<3;q+=1)B.length?j[q]=j[q]+(D.fc.v[q]-j[q])*B[0]:j[q]=j[q]+(D.fc.v[q]-j[q])*B;D.fh.propType&&(j=B.length?addHueToRGB(j,D.fh.v*B[0]):addHueToRGB(j,D.fh.v*B)),D.fs.propType&&(j=B.length?addSaturationToRGB(j,D.fs.v*B[0]):addSaturationToRGB(j,D.fs.v*B)),D.fb.propType&&(j=B.length?addBrightnessToRGB(j,D.fb.v*B[0]):addBrightnessToRGB(j,D.fb.v*B))}}for(w=0;w<F;w+=1)(D=P[w].a).p.propType&&(B=P[w].s.getMult(T[s].anIndexes[w],S.a[w].s.totalChars),this._hasMaskedPath?B.length?_.translate(0,D.p.v[1]*B[0],-D.p.v[2]*B[1]):_.translate(0,D.p.v[1]*B,-D.p.v[2]*B):B.length?_.translate(D.p.v[0]*B[0],D.p.v[1]*B[1],-D.p.v[2]*B[2]):_.translate(D.p.v[0]*B,D.p.v[1]*B,-D.p.v[2]*B));if(t.strokeWidthAnim&&(W=H<0?0:H),t.strokeColorAnim&&(Y="rgb("+Math.round(255*O[0])+","+Math.round(255*O[1])+","+Math.round(255*O[2])+")"),t.fillColorAnim&&t.fc&&(X="rgb("+Math.round(255*j[0])+","+Math.round(255*j[1])+","+Math.round(255*j[2])+")"),this._hasMaskedPath){if(_.translate(0,-t.ls),_.translate(0,x[1]*V/100+i,0),S.p.p){b=(h.point[1]-c.point[1])/(h.point[0]-c.point[0]);var ht=180*Math.atan(b)/Math.PI;h.point[0]<c.point[0]&&(ht+=180),_.rotate(-ht*Math.PI/180)}_.translate(G,z,0),o-=x[0]*T[s].an/200,T[s+1]&&K!==T[s+1].ind&&(o+=T[s].an/2,o+=t.tr/1e3*t.finalSize)}else{switch(_.translate(r,i,0),t.ps&&_.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:_.translate(T[s].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[T[s].line]),0,0);break;case 2:_.translate(T[s].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[T[s].line])/2,0,0)}_.translate(0,-t.ls),_.translate(L,0,0),_.translate(x[0]*T[s].an/200,x[1]*V/100,0),r+=T[s].l+t.tr/1e3*t.finalSize}"html"===A?tt=_.toCSS():"svg"===A?tt=_.to2dCSS():et=[_.props[0],_.props[1],_.props[2],_.props[3],_.props[4],_.props[5],_.props[6],_.props[7],_.props[8],_.props[9],_.props[10],_.props[11],_.props[12],_.props[13],_.props[14],_.props[15]],$=N}this.lettersChangedFlag=C<=s?(I=new LetterProps($,W,Y,X,tt,et),this.renderedLetters.push(I),C+=1,!0):(I=this.renderedLetters[s]).update($,W,Y,X,tt,et)||this.lettersChangedFlag}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),LetterProps.prototype.update=function(t,e,r,i,s,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1;var n=this._mdf.p=!1;return this.o!==t&&(this.o=t,n=this._mdf.o=!0),this.sw!==e&&(this.sw=e,n=this._mdf.sw=!0),this.sc!==r&&(this.sc=r,n=this._mdf.sc=!0),this.fc!==i&&(this.fc=i,n=this._mdf.fc=!0),this.m!==s&&(this.m=s,n=this._mdf.m=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,n=this._mdf.p=!0),n},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=1<this.data.d.k.length,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;var i,s=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(i=0;i<s;i+=1)a=r!==this.keysIndex?this.effectsSequence[i](a,a.t):this.effectsSequence[i](this.currentData,a.t);e!==a&&this.setCurrentData(a),this.pv=this.v=this.currentData,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,i=t.length;r<=i-1&&(t[r].s,!(r===i-1||t[r+1].t>e));)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,r=FontManager.getCombinedCharacterCodes(),i=[],s=0,a=t.length;s<a;)e=t.charCodeAt(s),-1!==r.indexOf(e)?i[i.length-1]+=t.charAt(s):55296<=e&&e<=56319&&56320<=(e=t.charCodeAt(s+1))&&e<=57343?(i.push(t.substr(s,2)),++s):i.push(t.charAt(s)),s+=1;return i},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,i,s,a,n,o,h=this.elem.globalData.fontManager,l=this.data,p=[],m=0,f=l.m.g,c=0,d=0,u=0,y=[],g=0,v=0,b=h.getFontByName(t.f),E=0,x=b.fStyle?b.fStyle.split(" "):[],P="normal",S="normal";for(r=x.length,e=0;e<r;e+=1)switch(x[e].toLowerCase()){case"italic":S="italic";break;case"bold":P="700";break;case"black":P="900";break;case"medium":P="500";break;case"regular":case"normal":P="400";break;case"light":case"thin":P="200"}t.fWeight=b.fWeight||P,t.fStyle=S,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var _,A=t.tr/1e3*t.finalSize;if(t.sz)for(var C,T,k=!0,M=t.sz[0],D=t.sz[1];k;){g=C=0,r=(T=this.buildFinalText(t.t)).length,A=t.tr/1e3*t.finalSize;var w=-1;for(e=0;e<r;e+=1)_=T[e].charCodeAt(0),i=!1," "===T[e]?w=e:13!==_&&3!==_||(i=!(g=0),C+=t.finalLineHeight||1.2*t.finalSize),M<g+(E=h.chars?(o=h.getCharData(T[e],b.fStyle,b.fFamily),i?0:o.w*t.finalSize/100):h.measureText(T[e],t.f,t.finalSize))&&" "!==T[e]?(-1===w?r+=1:e=w,C+=t.finalLineHeight||1.2*t.finalSize,T.splice(e,w===e?1:0,"\r"),w=-1,g=0):(g+=E,g+=A);C+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&D<C?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=T,r=t.finalText.length,k=!1)}g=-A;var F,I=E=0;for(e=0;e<r;e+=1)if(i=!1,_=(F=t.finalText[e]).charCodeAt(0)," "===F?s="\xa0":13===_||3===_?(I=0,y.push(g),v=v<g?g:v,g=-2*A,i=!(s=""),u+=1):s=t.finalText[e],E=h.chars?(o=h.getCharData(F,b.fStyle,h.getFontByName(t.f).fFamily),i?0:o.w*t.finalSize/100):h.measureText(s,t.f,t.finalSize)," "===F?I+=E+A:(g+=E+A+I,I=0),p.push({l:E,an:E,add:c,n:i,anIndexes:[],val:s,line:u,animatorJustifyOffset:0}),2==f){if(c+=E,""===s||"\xa0"===s||e===r-1){for(""!==s&&"\xa0"!==s||(c-=E);d<=e;)p[d].an=c,p[d].ind=m,p[d].extra=E,d+=1;m+=1,c=0}}else if(3==f){if(c+=E,""===s||e===r-1){for(""===s&&(c-=E);d<=e;)p[d].an=c,p[d].ind=m,p[d].extra=E,d+=1;c=0,m+=1}}else p[m].ind=m,p[m].extra=0,m+=1;if(t.l=p,v=v<g?g:v,y.push(g),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=y;var V,R,B=l.a;n=B.length;var L,G,z=[];for(a=0;a<n;a+=1){for((V=B[a]).a.sc&&(t.strokeColorAnim=!0),V.a.sw&&(t.strokeWidthAnim=!0),(V.a.fc||V.a.fh||V.a.fs||V.a.fb)&&(t.fillColorAnim=!0),G=0,L=V.s.b,e=0;e<r;e+=1)(R=p[e]).anIndexes[a]=G,(1==L&&""!==R.val||2==L&&""!==R.val&&"\xa0"!==R.val||3==L&&(R.n||"\xa0"==R.val||e==r-1)||4==L&&(R.n||e==r-1))&&(1===V.s.rn&&z.push(G),G+=1);l.a[a].s.totalChars=G;var N,O=-1;if(1===V.s.rn)for(e=0;e<r;e+=1)O!=(R=p[e]).anIndexes[a]&&(O=R.anIndexes[a],N=z.splice(Math.floor(Math.random()*z.length),1)[0]),R.anIndexes[a]=N}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,t),this.data.d.k[e].s=r,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var c=Math.max,d=Math.min,u=Math.floor;function i(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return i.prototype={getMult:function(t){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var e=0,r=0,i=1,s=1;0<this.ne.v?e=this.ne.v/100:r=-this.ne.v/100,0<this.xe.v?i=1-this.xe.v/100:s=1+this.xe.v/100;var a=BezierFactory.getBezierEasing(e,r,i,s).get,n=0,o=this.finalS,h=this.finalE,l=this.data.sh;if(2===l)n=a(n=h===o?h<=t?1:0:c(0,d(.5/(h-o)+(t-o)/(h-o),1)));else if(3===l)n=a(n=h===o?h<=t?0:1:1-c(0,d(.5/(h-o)+(t-o)/(h-o),1)));else if(4===l)h===o?n=0:(n=c(0,d(.5/(h-o)+(t-o)/(h-o),1)))<.5?n*=2:n=1-2*(n-.5),n=a(n);else if(5===l){if(h===o)n=0;else{var p=h-o,m=-p/2+(t=d(c(0,t+.5-o),h-o)),f=p/2;n=Math.sqrt(1-m*m/(f*f))}n=a(n)}else n=6===l?a(n=h===o?0:(t=d(c(0,t+.5-o),h-o),(1+Math.cos(Math.PI+2*Math.PI*t/(h-o)))/2)):(t>=u(o)&&(n=c(0,d(t-o<0?d(h,1)-(o-t):h-t,1))),a(n));return n*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/e,i=this.s.v/e+r,s=this.e.v/e+r;if(s<i){var a=i;i=s,s=a}this.finalS=i,this.finalE=s}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(t,e,r){return new i(t,e,r)}}}(),pool_factory=function(t,e,r,i){var s=0,a=t,n=createSizedArray(a);function o(){return s?n[s-=1]:e()}return{newElement:o,release:function(t){s===a&&(n=pooling.double(n),a*=2),r&&r(t),n[s]=t,s+=1}}},pooling={double:function(t){return t.concat(createSizedArray(t.length))}},point_pool=pool_factory(8,function(){return createTypedArray("float32",2)}),shape_pool=(KA=pool_factory(4,function(){return new ShapePath},function(t){var e,r=t._length;for(e=0;e<r;e+=1)point_pool.release(t.v[e]),point_pool.release(t.i[e]),point_pool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1}),KA.clone=function(t){var e,r=KA.newElement(),i=void 0===t._length?t.v.length:t._length;for(r.setLength(i),r.c=t.c,e=0;e<i;e+=1)r.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return r},KA),KA,shapeCollection_pool=(TA={newShapeCollection:function(){var t;t=UA?WA[UA-=1]:new ShapeCollection;return t},release:function(t){var e,r=t._length;for(e=0;e<r;e+=1)shape_pool.release(t.shapes[e]);t._length=0,UA===VA&&(WA=pooling.double(WA),VA*=2);WA[UA]=t,UA+=1}},UA=0,VA=4,WA=createSizedArray(VA),TA),TA,UA,VA,WA,segments_length_pool=pool_factory(8,function(){return{lengths:[],totalLength:0}},function(t){var e,r=t.lengths.length;for(e=0;e<r;e+=1)bezier_length_pool.release(t.lengths[e]);t.lengths.length=0}),bezier_length_pool=pool_factory(8,function(){return{addedLength:0,percents:createTypedArray("float32",defaultCurveSegments),lengths:createTypedArray("float32",defaultCurveSegments)}});function BaseRenderer(){}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var i=createNS("title"),s=createElementID();i.setAttribute("id",s),i.textContent=e.title,this.svgElement.appendChild(i),r+=s}if(e&&e.description){var a=createNS("desc"),n=createElementID();a.setAttribute("id",n),a.textContent=e.description,this.svgElement.appendChild(a),r+=" "+n}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var h=createNS("g");this.svgElement.appendChild(h),this.layerElement=h,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!e||!1!==e.hideOnTransparent,viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!e||!1!==e.hideOnTransparent},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function MaskElement(t,e,r){this.data=t,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,s=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var n,o,h,l,p,m,f,c=this.masksProperties,d=0,u=[],y=createElementID(),g="clipPath",v="clip-path";for(i=0;i<a;i++)if(("a"!==c[i].mode&&"n"!==c[i].mode||c[i].inv||100!==c[i].o.k||c[i].o.x)&&(v=g="mask"),"s"!=c[i].mode&&"i"!=c[i].mode||0!==d?l=null:((l=createNS("rect")).setAttribute("fill","#ffffff"),l.setAttribute("width",this.element.comp.data.w||0),l.setAttribute("height",this.element.comp.data.h||0),u.push(l)),n=createNS("path"),"n"!=c[i].mode){var b;if(d+=1,n.setAttribute("fill","s"===c[i].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==c[i].x.k?(v=g="mask",f=PropertyFactory.getProp(this.element,c[i].x,0,null,this.element),b=createElementID(),(p=createNS("filter")).setAttribute("id",b),(m=createNS("feMorphology")).setAttribute("operator","erode"),m.setAttribute("in","SourceGraphic"),m.setAttribute("radius","0"),p.appendChild(m),s.appendChild(p),n.setAttribute("stroke","s"===c[i].mode?"#000000":"#ffffff")):f=m=null,this.storedData[i]={elem:n,x:f,expan:m,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"==c[i].mode){h=u.length;var E=createNS("g");for(o=0;o<h;o+=1)E.appendChild(u[o]);var x=createNS("mask");x.setAttribute("mask-type","alpha"),x.setAttribute("id",y+"_"+d),x.appendChild(n),s.appendChild(x),E.setAttribute("mask","url("+locationHref+"#"+y+"_"+d+")"),u.length=0,u.push(E)}else u.push(n);c[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,c[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,c[i],3),invRect:l},this.viewData[i].prop.k||this.drawPath(c[i],this.viewData[i].prop.v,this.viewData[i])}else this.viewData[i]={op:PropertyFactory.getProp(this.element,c[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,c[i],3),elem:n,lastPath:""},s.appendChild(n);for(this.maskElement=createNS(g),a=u.length,i=0;i<a;i+=1)this.maskElement.appendChild(u[i]);0<d&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(v,"url("+locationHref+"#"+y+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}function HierarchyElement(){}function FrameElement(){}function TransformElement(){}function RenderableElement(){}function RenderableDOMElement(){}function ProcessedElement(t,e){this.elem=t,this.pos=e}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function SVGShapeData(t,e,r){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;for(var i=0,s=t.length;i<s;){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function SVGTransformData(t,e,r){this.transform={mProps:t,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}function SVGStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r}function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}function SVGGradientStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}BaseRenderer.prototype.checkLayers=function(t){var e,r,i=this.layers.length;for(this.completeLayers=!0,e=i-1;0<=e;e--)this.elements[e]||(r=this.layers[e]).ip-r.st<=t-this.layers[e].st&&r.op-r.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 13:return this.createCamera(t)}return this.createNull(t)},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;var e,r,i=t.length,s=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<s;){if(this.layers[r].id==t[e].id){this.layers[r]=t[e];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,r){for(var i=this.elements,s=this.layers,a=0,n=s.length;a<n;)s[a].ind==e&&(i[a]&&!0!==i[a]?(r.push(i[a]),i[a].setAsParent(),void 0!==s[a].parent?this.buildElementParenting(t,s[a].parent,r):t.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(t))),a+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length;for(e=0;e<r;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},extendPrototype([BaseRenderer],SVGRenderer),SVGRenderer.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRenderer.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRenderer.prototype.createText=function(t){return new SVGTextElement(t,this.globalData,this)},SVGRenderer.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},SVGRenderer.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRenderer.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)"),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var s=createElementID();r.setAttribute("id",s),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+s+")"),e.appendChild(r),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.layerElement=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t++)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRenderer.prototype.updateContainerSize=function(){},SVGRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!=this.layers[t].ty){e[t]=!0;var r=this.createItem(this.layers[t]);e[t]=r,expressionsPlugin&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,t),this.layers[t].tt&&(this.elements[t-1]&&!0!==this.elements[t-1]?r.setMatte(e[t-1].layerId):(this.buildItem(t-1),this.addPendingElement(r)))}},SVGRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,r=this.elements.length;e<r;){if(this.elements[e]===t){t.setMatte(this.elements[e-1].layerId);break}e+=1}}},SVGRenderer.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,r=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=r-1;0<=e;e--)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRenderer.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){for(var i,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement()&&(i=this.elements[s].getBaseElement()),s+=1;i?this.layerElement.insertBefore(r,i):this.layerElement.appendChild(r)}},SVGRenderer.prototype.hide=function(){this.layerElement.style.display="none"},SVGRenderer.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseRenderer],CanvasRenderer),CanvasRenderer.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRenderer.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRenderer.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},CanvasRenderer.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRenderer.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRenderer.prototype.ctxTransform=function(t){if(1!==t[0]||0!==t[1]||0!==t[4]||1!==t[5]||0!==t[12]||0!==t[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(t);var e=this.contextData.cTr.props;this.transformMat.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var r=this.contextData.cTr.props;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])}else this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRenderer.prototype.ctxOpacity=function(t){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=t<0?0:t,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=t<0?0:t,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRenderer.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRenderer.prototype.save=function(t){if(this.renderConfig.clearCanvas){t&&this.canvasContext.save();var e=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var r,i=this.contextData.saved[this.contextData.cArrPos];for(r=0;r<16;r+=1)i[r]=e[r];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRenderer.prototype.restore=function(t){if(this.renderConfig.clearCanvas){t&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var e,r=this.contextData.saved[this.contextData.cArrPos],i=this.contextData.cTr.props;for(e=0;e<16;e+=1)i[e]=r[e];this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),r=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=r,this.globalData.currentGlobalAlpha!==r&&(this.canvasContext.globalAlpha=r,this.globalData.currentGlobalAlpha=r)}else this.canvasContext.restore()},CanvasRenderer.prototype.configAnimation=function(t){this.animationItem.wrapper?(this.animationItem.container=createTag("canvas"),this.animationItem.container.style.width="100%",this.animationItem.container.style.height="100%",this.animationItem.container.style.transformOrigin=this.animationItem.container.style.mozTransformOrigin=this.animationItem.container.style.webkitTransformOrigin=this.animationItem.container.style["-webkit-transform"]="0px 0px 0px",this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)):this.canvasContext=this.renderConfig.context,this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,(this.globalData.renderer=this).globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRenderer.prototype.updateContainerSize=function(){var t,e,r,i;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",t*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",e*this.renderConfig.dpr)):(t=this.canvasContext.canvas.width*this.renderConfig.dpr,e=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var s=this.renderConfig.preserveAspectRatio.split(" "),a=s[1]||"meet",n=s[0]||"xMidYMid",o=n.substr(0,4),h=n.substr(4);r=t/e,i=this.transformCanvas.w/this.transformCanvas.h,this.transformCanvas.sy=r<i&&"meet"===a||i<r&&"slice"===a?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),t/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=e/(this.transformCanvas.h/this.renderConfig.dpr),e/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===o&&(i<r&&"meet"===a||r<i&&"slice"===a)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===o&&(i<r&&"meet"===a||r<i&&"slice"===a)?(t-this.transformCanvas.w*(e/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===h&&(r<i&&"meet"===a||i<r&&"slice"===a)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===h&&(r<i&&"meet"===a||i<r&&"slice"===a)?(e-this.transformCanvas.h*(t/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"==this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=t/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.h/this.renderConfig.dpr)):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0;this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRenderer.prototype.destroy=function(){var t;for(this.renderConfig.clearCanvas&&(this.animationItem.wrapper.innerHTML=""),t=(this.layers?this.layers.length:0)-1;0<=t;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRenderer.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var r,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=0;r<i;r++)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;0<=r;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRenderer.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!=this.layers[t].ty){var r=this.createItem(this.layers[t],this,this.globalData);(e[t]=r).initExpressions()}},CanvasRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},CanvasRenderer.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRenderer.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([BaseRenderer],HybridRenderer),HybridRenderer.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},HybridRenderer.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var i=this.layers[e];if(i.ddd&&this.supports3d)this.addTo3dContainer(r,e);else if(this.threeDElements)this.addTo3dContainer(r,e);else{for(var s,a,n=0;n<e;)this.elements[n]&&!0!==this.elements[n]&&this.elements[n].getBaseElement&&(a=this.elements[n],s=(this.layers[n].ddd?this.getThreeDContainerByPos(n):a.getBaseElement())||s),n+=1;s?i.ddd&&this.supports3d||this.layerElement.insertBefore(r,s):i.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRenderer.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRenderer.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextElement(t,this.globalData,this)},HybridRenderer.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRenderer.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},HybridRenderer.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRenderer.prototype.createNull=SVGRenderer.prototype.createNull,HybridRenderer.prototype.getThreeDContainerByPos=function(t){for(var e=0,r=this.threeDElements.length;e<r;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}},HybridRenderer.prototype.createThreeDContainer=function(t,e){var r=createTag("div");styleDiv(r);var i=createTag("div");styleDiv(i),"3d"===e&&(r.style.width=this.globalData.compSize.w+"px",r.style.height=this.globalData.compSize.h+"px",r.style.transformOrigin=r.style.mozTransformOrigin=r.style.webkitTransformOrigin="50% 50%",i.style.transform=i.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"),r.appendChild(i);var s={container:i,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(s),s},HybridRenderer.prototype.build3dContainers=function(){var t,e,r=this.layers.length,i="";for(t=0;t<r;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?"3d"!==i&&(i="3d",e=this.createThreeDContainer(t,"3d")):"2d"!==i&&(i="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t);for(t=(r=this.threeDElements.length)-1;0<=t;t--)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRenderer.prototype.addTo3dContainer=function(t,e){for(var r=0,i=this.threeDElements.length;r<i;){if(e<=this.threeDElements[r].endPos){for(var s,a=this.threeDElements[r].startPos;a<e;)this.elements[a]&&this.elements[a].getBaseElement&&(s=this.elements[a].getBaseElement()),a+=1;s?this.threeDElements[r].container.insertBefore(t,s):this.threeDElements[r].container.appendChild(t);break}r+=1}},HybridRenderer.prototype.configAnimation=function(t){var e=createTag("div"),r=this.animationItem.wrapper;e.style.width=t.w+"px",e.style.height=t.h+"px",styleDiv(this.resizerElem=e),e.style.transformStyle=e.style.webkitTransformStyle=e.style.mozTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),r.appendChild(e),e.style.overflow="hidden";var i=createNS("svg");i.setAttribute("width","1"),i.setAttribute("height","1"),styleDiv(i),this.resizerElem.appendChild(i);var s=createNS("defs");i.appendChild(s),this.data=t,this.setupGlobalData(t,i),this.globalData.defs=s,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.animationItem.container=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t++)this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRenderer.prototype.updateContainerSize=function(){var t,e,r,i,s=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight;i=s/a<this.globalData.compSize.w/this.globalData.compSize.h?(t=s/this.globalData.compSize.w,e=s/this.globalData.compSize.w,r=0,(a-this.globalData.compSize.h*(s/this.globalData.compSize.w))/2):(t=a/this.globalData.compSize.h,e=a/this.globalData.compSize.h,r=(s-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,0),this.resizerElem.style.transform=this.resizerElem.style.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+r+","+i+",0,1)"},HybridRenderer.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRenderer.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRenderer.prototype.show=function(){this.resizerElem.style.display="block"},HybridRenderer.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,r=this.globalData.compSize.h,i=this.threeDElements.length;for(t=0;t<i;t+=1)this.threeDElements[t].perspectiveElem.style.perspective=this.threeDElements[t].perspectiveElem.style.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(r,2))+"px"}},HybridRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length,i=createTag("div");for(e=0;e<r;e+=1)if(t[e].xt){var s=this.createComp(t[e],i,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,r=this.element.finalTransform.mat,i=this.masksProperties.length;for(e=0;e<i;e++)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var s=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+locationHref+"#"+this.storedData[e].filterId+")")),s.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(t,e,r){var i,s,a=" M"+e.v[0][0]+","+e.v[0][1];for(s=e._length,i=1;i<s;i+=1)a+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[i][0]+","+e.i[i][1]+" "+e.v[i][0]+","+e.v[i][1];if(e.c&&1<s&&(a+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==a){var n="";r.elem&&(e.c&&(n=t.inv?this.solidPath+a:a),r.elem.setAttribute("d",n)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var r,i=this.dynamicProperties.length;for(r=0;r<i;r+=1)(e||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,r=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<i;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),r=0;r<i;r+=1)t=this.hierarchy[r].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var r=!0,i=this.comp;r;)i.finalTransform?(i.data.hasMask&&e.splice(0,0,i.finalTransform),i=i.comp):r=!1;var s,a,n=e.length;for(s=0;s<n;s+=1)a=e[s].mat.applyToPointArray(0,0,0),t=[t[0]-a[0],t[1]-a[1],0];return t},mHelper:new Matrix},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,r){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var r=createElementID(),i=createNS(1===e.t?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var s,a,n,o=[];for(n=4*e.g.p,a=0;a<n;a+=4)s=createNS("stop"),i.appendChild(s),o.push(s);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+locationHref+"#"+r+")"),this.gf=i,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,s,a=createNS("mask"),n=createNS("path");a.appendChild(n);var o=createElementID(),h=createElementID();a.setAttribute("id",h);var l=createNS(1===t.t?"linearGradient":"radialGradient");l.setAttribute("id",o),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse"),s=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var p=this.stops;for(i=4*t.g.p;i<s;i+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),l.appendChild(r),p.push(r);n.setAttribute("gf"===t.ty?"fill":"stroke","url("+locationHref+"#"+o+")"),this.of=l,this.ms=a,this.ost=p,this.maskId=h,e.msElem=n}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var SVGElementsRenderer=function(){var y=new Matrix,g=new Matrix;function e(t,e,r){(r||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(r||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function r(t,e,r){var i,s,a,n,o,h,l,p,m,f,c,d=e.styles.length,u=e.lvl;for(h=0;h<d;h+=1){if(n=e.sh._mdf||r,e.styles[h].lvl<u){for(p=g.reset(),f=u-e.styles[h].lvl,c=e.transformers.length-1;!n&&0<f;)n=e.transformers[c].mProps._mdf||n,f--,c--;if(n)for(f=u-e.styles[h].lvl,c=e.transformers.length-1;0<f;)m=e.transformers[c].mProps.v.props,p.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),f--,c--}else p=y;if(s=(l=e.sh.paths)._length,n){for(a="",i=0;i<s;i+=1)(o=l.shapes[i])&&o._length&&(a+=buildShapeString(o,o._length,o.c,p));e.caches[h]=a}else a=e.caches[h];e.styles[h].d+=!0===t.hd?"":a,e.styles[h]._mdf=n||e.styles[h]._mdf}}function i(t,e,r){var i=e.style;(e.c._mdf||r)&&i.pElem.setAttribute("fill","rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("fill-opacity",e.o.v)}function s(t,e,r){a(t,e,r),n(t,e,r)}function a(t,e,r){var i,s,a,n,o,h=e.gf,l=e.g._hasOpacity,p=e.s.v,m=e.e.v;if(e.o._mdf||r){var f="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(f,e.o.v)}if(e.s._mdf||r){var c=1===t.t?"x1":"cx",d="x1"===c?"y1":"cy";h.setAttribute(c,p[0]),h.setAttribute(d,p[1]),l&&!e.g._collapsable&&(e.of.setAttribute(c,p[0]),e.of.setAttribute(d,p[1]))}if(e.g._cmdf||r){i=e.cst;var u=e.g.c;for(a=i.length,s=0;s<a;s+=1)(n=i[s]).setAttribute("offset",u[4*s]+"%"),n.setAttribute("stop-color","rgb("+u[4*s+1]+","+u[4*s+2]+","+u[4*s+3]+")")}if(l&&(e.g._omdf||r)){var y=e.g.o;for(a=(i=e.g._collapsable?e.cst:e.ost).length,s=0;s<a;s+=1)n=i[s],e.g._collapsable||n.setAttribute("offset",y[2*s]+"%"),n.setAttribute("stop-opacity",y[2*s+1])}if(1===t.t)(e.e._mdf||r)&&(h.setAttribute("x2",m[0]),h.setAttribute("y2",m[1]),l&&!e.g._collapsable&&(e.of.setAttribute("x2",m[0]),e.of.setAttribute("y2",m[1])));else if((e.s._mdf||e.e._mdf||r)&&(o=Math.sqrt(Math.pow(p[0]-m[0],2)+Math.pow(p[1]-m[1],2)),h.setAttribute("r",o),l&&!e.g._collapsable&&e.of.setAttribute("r",o)),e.e._mdf||e.h._mdf||e.a._mdf||r){o||(o=Math.sqrt(Math.pow(p[0]-m[0],2)+Math.pow(p[1]-m[1],2)));var g=Math.atan2(m[1]-p[1],m[0]-p[0]),v=o*(1<=e.h.v?.99:e.h.v<=-1?-.99:e.h.v),b=Math.cos(g+e.a.v)*v+p[0],E=Math.sin(g+e.a.v)*v+p[1];h.setAttribute("fx",b),h.setAttribute("fy",E),l&&!e.g._collapsable&&(e.of.setAttribute("fx",b),e.of.setAttribute("fy",E))}}function n(t,e,r){var i=e.style,s=e.d;s&&(s._mdf||r)&&s.dashStr&&(i.pElem.setAttribute("stroke-dasharray",s.dashStr),i.pElem.setAttribute("stroke-dashoffset",s.dashoffset[0])),e.c&&(e.c._mdf||r)&&i.pElem.setAttribute("stroke","rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){t.ty;switch(t.ty){case"fl":return i;case"gf":return a;case"gs":return s;case"st":return n;case"sh":case"el":case"rc":case"sr":return r;case"tr":return e}}}}();function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVShapeData(t,e,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s=4;"rc"==e.ty?s=5:"el"==e.ty?s=6:"sr"==e.ty&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,s,t);var a,n,o=r.length;for(a=0;a<o;a+=1)r[a].closed||(n={transforms:i.addTransformSequence(r[a].transforms),trNodes:[]},this.styledShapes.push(n),r[a].elements.push(n))}function BaseElement(){}function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}function SVGBaseElement(){}function IShapeElement(){}function ITextElement(){}function ICompElement(){}function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ISolidElement(t,e,r){this.initElement(t,e,r)}function SVGCompElement(t,e,r){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGTextElement(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}function SVGTintFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");if(r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),r.setAttribute("result","f1"),t.appendChild(r),(r=createNS("feColorMatrix")).setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result","f2"),t.appendChild(r),this.matrixFilter=r,100!==e.effectElements[2].p.v||e.effectElements[2].p.k){var i,s=createNS("feMerge");t.appendChild(s),(i=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),s.appendChild(i),(i=createNS("feMergeNode")).setAttribute("in","f2"),s.appendChild(i)}}function SVGFillFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),t.appendChild(r),this.matrixFilter=r}function SVGGaussianBlurEffect(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var r=createNS("feGaussianBlur");t.appendChild(r),this.feGaussianBlur=r}function SVGStrokeEffect(t,e){this.initialized=!1,this.filterManager=e,this.elem=t,this.paths=[]}function SVGTritoneFilter(t,e){this.filterManager=e;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),r.setAttribute("result","f1"),t.appendChild(r);var i=createNS("feComponentTransfer");i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),this.matrixFilter=i;var s=createNS("feFuncR");s.setAttribute("type","table"),i.appendChild(s),this.feFuncR=s;var a=createNS("feFuncG");a.setAttribute("type","table"),i.appendChild(a),this.feFuncG=a;var n=createNS("feFuncB");n.setAttribute("type","table"),i.appendChild(n),this.feFuncB=n}function SVGProLevelsFilter(t,e){this.filterManager=e;var r=this.filterManager.effectElements,i=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",i)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",i)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",i)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",i)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),i=createNS("feComponentTransfer")),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&(i.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(i),this.feFuncRComposed=this.createFeFunc("feFuncR",i),this.feFuncGComposed=this.createFeFunc("feFuncG",i),this.feFuncBComposed=this.createFeFunc("feFuncB",i))}function SVGDropShadowEffect(t,e){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","400%"),t.setAttribute("height","400%"),this.filterManager=e;var r=createNS("feGaussianBlur");r.setAttribute("in","SourceAlpha"),r.setAttribute("result","drop_shadow_1"),r.setAttribute("stdDeviation","0"),this.feGaussianBlur=r,t.appendChild(r);var i=createNS("feOffset");i.setAttribute("dx","25"),i.setAttribute("dy","0"),i.setAttribute("in","drop_shadow_1"),i.setAttribute("result","drop_shadow_2"),this.feOffset=i,t.appendChild(i);var s=createNS("feFlood");s.setAttribute("flood-color","#00ff00"),s.setAttribute("flood-opacity","1"),s.setAttribute("result","drop_shadow_3"),this.feFlood=s,t.appendChild(s);var a=createNS("feComposite");a.setAttribute("in","drop_shadow_3"),a.setAttribute("in2","drop_shadow_2"),a.setAttribute("operator","in"),a.setAttribute("result","drop_shadow_4"),t.appendChild(a);var n,o=createNS("feMerge");t.appendChild(o),n=createNS("feMergeNode"),o.appendChild(n),(n=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=n,this.feMerge=o,this.originalNodeAdded=!1,o.appendChild(n)}ShapeTransformManager.prototype={addTransformSequence:function(t){var e,r=t.length,i="_";for(e=0;e<r;e+=1)i+=t[e].transform.key+"_";var s=this.sequences[i];return s||(s={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=s,this.sequenceList.push(s)),s},processSequence:function(t,e){for(var r,i=0,s=t.transforms.length,a=e;i<s&&!e;){if(t.transforms[i].transform.mProps._mdf){a=!0;break}i+=1}if(a)for(t.finalTransform.reset(),i=s-1;0<=i;i-=1)r=t.transforms[i].transform.mProps.v.props,t.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);t._mdf=a},processSequences:function(t){var e,r=this.sequenceList.length;for(e=0;e<r;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return"_"+this.transform_key_count++}},CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var t=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(t),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,r){this.globalData=e,this.comp=r,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t,e,r,i=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var s=createNS("mask");s.setAttribute("id",this.layerId),s.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),s.appendChild(this.layerElement),i=s,this.globalData.defs.appendChild(s),featureSupport.maskType||1!=this.data.td||(s.setAttribute("mask-type","luminance"),t=createElementID(),e=filtersFactory.createFilter(t),this.globalData.defs.appendChild(e),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(r=createNS("g")).appendChild(this.layerElement),i=r,s.appendChild(r),r.setAttribute("filter","url("+locationHref+"#"+t+")"))}else if(2==this.data.td){var a=createNS("mask");a.setAttribute("id",this.layerId),a.setAttribute("mask-type","alpha");var n=createNS("g");a.appendChild(n),t=createElementID(),e=filtersFactory.createFilter(t);var o=createNS("feComponentTransfer");o.setAttribute("in","SourceGraphic"),e.appendChild(o);var h=createNS("feFuncA");h.setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),o.appendChild(h),this.globalData.defs.appendChild(e);var l=createNS("rect");l.setAttribute("width",this.comp.data.w),l.setAttribute("height",this.comp.data.h),l.setAttribute("x","0"),l.setAttribute("y","0"),l.setAttribute("fill","#ffffff"),l.setAttribute("opacity","0"),n.setAttribute("filter","url("+locationHref+"#"+t+")"),n.appendChild(l),n.appendChild(this.layerElement),i=n,featureSupport.maskType||(a.setAttribute("mask-type","luminance"),e.appendChild(filtersFactory.createAlphaToLuminanceFilter()),r=createNS("g"),n.appendChild(l),r.appendChild(this.layerElement),i=r,n.appendChild(r)),this.globalData.defs.appendChild(a)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),i=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var p=createNS("clipPath"),m=createNS("path");m.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var f=createElementID();if(p.setAttribute("id",f),p.appendChild(m),this.globalData.defs.appendChild(p),this.checkMasks()){var c=createNS("g");c.setAttribute("clip-path","url("+locationHref+"#"+f+")"),c.appendChild(this.layerElement),this.transformedElement=c,i?i.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+f+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+locationHref+"#"+t+")")}},IShapeElement.prototype={addShapeToModifiers:function(t){var e,r=this.shapeModifiers.length;for(e=0;e<r;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;0<=t;t-=1)this.shapeModifiers[t].processShapes(this._isFirstFrame)}},lcEnum:{1:"butt",2:"round",3:"square"},ljEnum:{1:"miter",2:"round",3:"bevel"},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,i=e.length;r<i;){if(e[r].elem===t)return e[r].pos;r+=1}return 0},addProcessedElement:function(t,e){for(var r=this.processedElements,i=r.length;i;)if(r[i-=1].elem===t)return void(r[i].pos=e);r.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}},ITextElement.prototype.initElement=function(t,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,r),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var r,i,s=e.length,a="";for(r=0;r<s;r+=1)i=e[r].ks.k,a+=buildShapeString(i,i.i.length,!0,t);return a},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,r,i,s){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r])/2,0,0)}e.translate(i,s,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;0<=r;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},extendPrototype([SVGRenderer,ICompElement,SVGBaseElement],SVGCompElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextElement),SVGTextElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextElement.prototype.buildTextContents=function(t){for(var e=0,r=t.length,i=[],s="";e<r;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(i.push(s),s=""):s+=t[e],e+=1;return i.push(s),i},SVGTextElement.prototype.buildNewText=function(){var t,e,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var s=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",s)}this.layerElement.setAttribute("aria-label",r.t);var n,o=r.l||[],h=!!this.globalData.fontManager.chars;e=o.length;var l,p=this.mHelper,m="",f=this.data.singleShape,c=0,d=0,u=!0,y=r.tr/1e3*r.finalSize;if(!f||h||r.sz){var g,v,b=this.textSpans.length;for(t=0;t<e;t+=1)h&&f&&0!==t||(n=t<b?this.textSpans[t]:createNS(h?"path":"text"),b<=t&&(n.setAttribute("stroke-linecap","butt"),n.setAttribute("stroke-linejoin","round"),n.setAttribute("stroke-miterlimit","4"),this.textSpans[t]=n,this.layerElement.appendChild(n)),n.style.display="inherit"),p.reset(),p.scale(r.finalSize/100,r.finalSize/100),f&&(o[t].n&&(c=-y,d+=r.yOffset,d+=u?1:0,u=!1),this.applyTextPropertiesToMatrix(r,p,o[t].line,c,d),c+=o[t].l||0,c+=y),h?(l=(g=(v=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily))&&v.data||{}).shapes?g.shapes[0].it:[],f?m+=this.createPathShape(p,l):n.setAttribute("d",this.createPathShape(p,l))):(f&&n.setAttribute("transform","translate("+p.props[12]+","+p.props[13]+")"),n.textContent=o[t].val,n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));f&&n&&n.setAttribute("d",m)}else{var E=this.textContainer,x="start";switch(r.j){case 1:x="end";break;case 2:x="middle"}E.setAttribute("text-anchor",x),E.setAttribute("letter-spacing",y);var P=this.buildTextContents(r.finalText);for(e=P.length,d=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)(n=this.textSpans[t]||createNS("tspan")).textContent=P[t],n.setAttribute("x",0),n.setAttribute("y",d),n.style.display="inherit",E.appendChild(n),this.textSpans[t]=n,d+=r.finalLineHeight;this.layerElement.appendChild(E)}for(;t<this.textSpans.length;)this.textSpans[t].style.display="none",t+=1;this._sizeChanged=!0},SVGTextElement.prototype.sourceRectAtTime=function(t){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextElement.prototype.renderInnerContent=function(){if(!this.data.singleShape&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var r,i,s=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(e=a.length,t=0;t<e;t+=1)a[t].n||(r=s[t],i=this.textSpans[t],r._mdf.m&&i.setAttribute("transform",r.m),r._mdf.o&&i.setAttribute("opacity",r.o),r._mdf.sw&&i.setAttribute("stroke-width",r.sw),r._mdf.sc&&i.setAttribute("stroke",r.sc),r._mdf.fc&&i.setAttribute("fill",r.fc))}},extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,r,i,s=this.shapes.length,a=this.stylesList.length,n=[],o=!1;for(r=0;r<a;r+=1){for(i=this.stylesList[r],o=!1,t=n.length=0;t<s;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(n.push(e),o=e._isAnimated||o);1<n.length&&o&&this.setShapesAsAnimated(n)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var r,i=new SVGStyleData(t,e),s=i.pElem;if("st"===t.ty)r=new SVGStrokeStyleData(this,t,i);else if("fl"===t.ty)r=new SVGFillStyleData(this,t,i);else if("gf"===t.ty||"gs"===t.ty){r=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),s.setAttribute("mask","url("+locationHref+"#"+r.maskId+")"))}return"st"!==t.ty&&"gs"!==t.ty||(s.setAttribute("stroke-linecap",this.lcEnum[t.lc]||"round"),s.setAttribute("stroke-linejoin",this.ljEnum[t.lj]||"round"),s.setAttribute("fill-opacity","0"),1===t.lj&&s.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var r=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,r){var i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7);var s=new SVGShapeData(e,r,ShapePropertyFactory.getShapeProp(this,t,i,this));return this.shapes.push(s),this.addShapeToModifiers(s),this.addToAnimatedContents(t,s),s},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,r=t.styles,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||r.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,r,i,s,a,n){var o,h,l,p,m,f,c=[].concat(a),d=t.length-1,u=[],y=[];for(o=d;0<=o;o-=1){if((f=this.searchProcessedElement(t[o]))?e[o]=r[f-1]:t[o]._render=n,"fl"==t[o].ty||"st"==t[o].ty||"gf"==t[o].ty||"gs"==t[o].ty)f?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],s),t[o]._render&&i.appendChild(e[o].style.pElem),u.push(e[o].style);else if("gr"==t[o].ty){if(f)for(l=e[o].it.length,h=0;h<l;h+=1)e[o].prevViewData[h]=e[o].it[h];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,s+1,c,n),t[o]._render&&i.appendChild(e[o].gr)}else"tr"==t[o].ty?(f||(e[o]=this.createTransformElement(t[o],i)),p=e[o].transform,c.push(p)):"sh"==t[o].ty||"rc"==t[o].ty||"el"==t[o].ty||"sr"==t[o].ty?(f||(e[o]=this.createShapeElement(t[o],c,s)),this.setElementStyles(e[o])):"tm"==t[o].ty||"rd"==t[o].ty||"ms"==t[o].ty?(f?(m=e[o]).closed=!1:((m=ShapeModifiers.getModifier(t[o].ty)).init(this,t[o]),e[o]=m,this.shapeModifiers.push(m)),y.push(m)):"rp"==t[o].ty&&(f?(m=e[o]).closed=!0:(m=ShapeModifiers.getModifier(t[o].ty),(e[o]=m).init(this,t,o,e),this.shapeModifiers.push(m),n=!1),y.push(m));this.addProcessedElement(t[o],o+1)}for(d=u.length,o=0;o<d;o+=1)u[o].closed=!0;for(d=y.length,o=0;o<d;o+=1)y[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,r=this.animatedContents.length;for(t=0;t<r;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=3==r?0:e,s=2==r?0:e;this.feGaussianBlur.setAttribute("stdDeviation",i+" "+s);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},SVGStrokeEffect.prototype.initialize=function(){var t,e,r,i,s=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,r=0):i=(r=this.filterManager.effectElements[0].p.v-1)+1,(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);r<i;r+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),n=createElementID();a.setAttribute("id",n),a.setAttribute("mask-type","alpha"),a.appendChild(e),this.elem.globalData.defs.appendChild(a);var o=createNS("g");for(o.setAttribute("mask","url("+locationHref+"#"+n+")");s[0];)o.appendChild(s[0]);this.elem.layerElement.appendChild(o),this.masker=a,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(s=this.elem.layerElement.children||this.elem.layerElement.childNodes;s.length;)this.elem.layerElement.removeChild(s[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){this.initialized||this.initialize();var e,r,i,s=this.paths.length;for(e=0;e<s;e+=1)if(-1!==this.paths[e].m&&(r=this.elem.maskManager.viewData[this.paths[e].m],i=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&i.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var n=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,o=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,h=i.getTotalLength();a="0 0 0 "+h*n+" ";var l,p=h*(o-n),m=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100,f=Math.floor(p/m);for(l=0;l<f;l+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100+" ";a+="0 "+10*h+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100;i.setAttribute("stroke-dasharray",a)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var c=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bm_floor(255*c[0])+","+bm_floor(255*c[1])+","+bm_floor(255*c[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,s=i[0]+" "+r[0]+" "+e[0],a=i[1]+" "+r[1]+" "+e[1],n=i[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",n)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var r=createNS(t);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(t,e,r,i,s){for(var a,n,o=0,h=Math.min(t,e),l=Math.max(t,e),p=Array.call(null,{length:256}),m=0,f=s-i,c=e-t;o<=256;)n=(a=o/256)<=h?c<0?s:i:l<=a?c<0?i:s:i+f*Math.pow((a-t)/c,1/r),p[m++]=n,o+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",e))}},SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,s=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,(this.elem=r).matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGEffects(t){var e,r,i=t.data.ef?t.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s),n=0;for(this.filters=[],e=0;e<i;e+=1)r=null,20===t.data.ef[e].ty?(n+=1,r=new SVGTintFilter(a,t.effectsManager.effectElements[e])):21===t.data.ef[e].ty?(n+=1,r=new SVGFillFilter(a,t.effectsManager.effectElements[e])):22===t.data.ef[e].ty?r=new SVGStrokeEffect(t,t.effectsManager.effectElements[e]):23===t.data.ef[e].ty?(n+=1,r=new SVGTritoneFilter(a,t.effectsManager.effectElements[e])):24===t.data.ef[e].ty?(n+=1,r=new SVGProLevelsFilter(a,t.effectsManager.effectElements[e])):25===t.data.ef[e].ty?(n+=1,r=new SVGDropShadowEffect(a,t.effectsManager.effectElements[e])):28===t.data.ef[e].ty?r=new SVGMatte3Effect(a,t.effectsManager.effectElements[e],t):29===t.data.ef[e].ty&&(n+=1,r=new SVGGaussianBlurEffect(a,t.effectsManager.effectElements[e])),r&&this.filters.push(r);n&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+locationHref+"#"+s+")")),this.filters.length&&t.addRenderableComponent(this)}function CVContextData(){this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1;var t;for(this.savedOp=createTypedArray("float32",15),t=0;t<15;t+=1)this.saved[t]=createTypedArray("float32",16);this._length=15}function CVBaseElement(){}function CVImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getImage(this.assetData),this.initElement(t,e,r)}function CVCompElement(t,e,r){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CVMaskElement(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,i=this.masksProperties.length,s=!1;for(r=0;r<i;r++)"n"!==this.masksProperties[r].mode&&(s=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);(this.hasMasks=s)&&this.element.addRenderableComponent(this)}function CVShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,r)}function CVSolidElement(t,e,r){this.initElement(t,e,r)}function CVTextElement(t,e,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,r)}function CVEffects(){}function HBaseElement(t,e,r){}function HSolidElement(t,e,r){this.initElement(t,e,r)}function HCompElement(t,e,r){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,r)}function HImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r)}function HCameraElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,t.pe,0,0,this),t.ks.p.s?(this.px=i(this,t.ks.p.x,1,0,this),this.py=i(this,t.ks.p.y,1,0,this),this.pz=i(this,t.ks.p.z,1,0,this)):this.p=i(this,t.ks.p,1,0,this),t.ks.a&&(this.a=i(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var s,a=t.ks.or.k.length;for(s=0;s<a;s+=1)t.ks.or.k[s].to=null,t.ks.or.k[s].ti=null}this.or=i(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,t.ks.rx,0,degToRads,this),this.ry=i(this,t.ks.ry,0,degToRads,this),this.rz=i(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HEffects(){}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e<r;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var r=t.layerElement.parentNode;if(r){for(var i,s=r.children,a=0,n=s.length;a<n&&s[a]!==t.layerElement;)a+=1;a<=n-2&&(i=s[a+1]);var o=createNS("use");o.setAttribute("href","#"+e),i?r.insertBefore(o,i):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",e.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var s=t.globalData.defs;s.appendChild(i);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(e,r),a.appendChild(e.layerElement),s.appendChild(a);var n=createNS("use");n.setAttribute("href","#"+r),i.appendChild(n),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,i=e.length;r<i;)e[r]&&e[r].data.ind===t&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=this.savedOp;this.savedOp=createTypedArray("float32",t),this.savedOp.set(e);var r=0;for(r=this._length;r<t;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,r,i=t.getContext("2d"),s=this.img.width,a=this.img.height,n=s/a,o=this.assetData.w/this.assetData.h,h=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;o<n&&"xMidYMid slice"===h||n<o&&"xMidYMid slice"!==h?e=(r=a)*o:r=(e=s)/o,i.drawImage(this.img,(s-e)/2,(a-r)/2,e,r,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(t){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([CanvasRenderer,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;for(e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip(),t=this.layers.length-1;0<=t;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;0<=t;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,r,i,s=this.element.finalTransform.mat,a=this.element.canvasContext,n=this.masksProperties.length;for(a.beginPath(),t=0;t<n;t++)if("n"!==this.masksProperties[t].mode){this.masksProperties[t].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),i=this.viewData[t].v,e=s.applyToPointArray(i.v[0][0],i.v[0][1],0),a.moveTo(e[0],e[1]);var o,h=i._length;for(o=1;o<h;o++)r=s.applyToTriplePoints(i.o[o-1],i.i[o],i.v[o]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=s.applyToTriplePoints(i.o[o-1],i.i[0],i.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var r={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},i={};if("fl"==t.ty||"st"==t.ty?(i.c=PropertyFactory.getProp(this,t.c,1,255,this),i.c.k||(r.co="rgb("+bm_floor(i.c.v[0])+","+bm_floor(i.c.v[1])+","+bm_floor(i.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(i.s=PropertyFactory.getProp(this,t.s,1,null,this),i.e=PropertyFactory.getProp(this,t.e,1,null,this),i.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,t.g,this)),i.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"==t.ty||"gs"==t.ty){if(r.lc=this.lcEnum[t.lc]||"round",r.lj=this.ljEnum[t.lj]||"round",1==t.lj&&(r.ml=t.ml),i.w=PropertyFactory.getProp(this,t.w,0,null,this),i.w.k||(r.wi=i.w.v),t.d){var s=new DashProperty(this,t.d,"canvas",this);i.d=s,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(t){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}}},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,r,i,s){var a,n,o,h,l,p,m=t.length-1,f=[],c=[],d=[].concat(s);for(a=m;0<=a;a-=1){if((h=this.searchProcessedElement(t[a]))?e[a]=r[h-1]:t[a]._shouldRender=i,"fl"==t[a].ty||"st"==t[a].ty||"gf"==t[a].ty||"gs"==t[a].ty)h?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],d),f.push(e[a].style);else if("gr"==t[a].ty){if(h)for(o=e[a].it.length,n=0;n<o;n+=1)e[a].prevViewData[n]=e[a].it[n];else e[a]=this.createGroupElement(t[a]);this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,i,d)}else"tr"==t[a].ty?(h||(p=this.createTransformElement(t[a]),e[a]=p),d.push(e[a]),this.addTransformToStyleList(e[a])):"sh"==t[a].ty||"rc"==t[a].ty||"el"==t[a].ty||"sr"==t[a].ty?h||(e[a]=this.createShapeElement(t[a])):"tm"==t[a].ty||"rd"==t[a].ty?(h?(l=e[a]).closed=!1:((l=ShapeModifiers.getModifier(t[a].ty)).init(this,t[a]),e[a]=l,this.shapeModifiers.push(l)),c.push(l)):"rp"==t[a].ty&&(h?(l=e[a]).closed=!0:(l=ShapeModifiers.getModifier(t[a].ty),(e[a]=l).init(this,t,a,e),this.shapeModifiers.push(l),i=!1),c.push(l));this.addProcessedElement(t[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(f),m=c.length,a=0;a<m;a+=1)c[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,r,i,s,a,n,o,h,l=this.stylesList.length,p=this.globalData.renderer,m=this.globalData.canvasContext;for(t=0;t<l;t+=1)if(("st"!==(o=(h=this.stylesList[t]).type)&&"gs"!==o||0!==h.wi)&&h.data._shouldRender&&0!==h.coOp&&0!==this.globalData.currentGlobalAlpha){for(p.save(),a=h.elements,"st"===o||"gs"===o?(m.strokeStyle="st"===o?h.co:h.grd,m.lineWidth=h.wi,m.lineCap=h.lc,m.lineJoin=h.lj,m.miterLimit=h.ml||0):m.fillStyle="fl"===o?h.co:h.grd,p.ctxOpacity(h.coOp),"st"!==o&&"gs"!==o&&m.beginPath(),p.ctxTransform(h.preTransforms.finalTransform.props),r=a.length,e=0;e<r;e+=1){for("st"!==o&&"gs"!==o||(m.beginPath(),h.da&&(m.setLineDash(h.da),m.lineDashOffset=h.do)),s=(n=a[e].trNodes).length,i=0;i<s;i+=1)"m"==n[i].t?m.moveTo(n[i].p[0],n[i].p[1]):"c"==n[i].t?m.bezierCurveTo(n[i].pts[0],n[i].pts[1],n[i].pts[2],n[i].pts[3],n[i].pts[4],n[i].pts[5]):m.closePath();"st"!==o&&"gs"!==o||(m.stroke(),h.da&&m.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&m.fill(h.r),p.restore()}},CVShapeElement.prototype.renderShape=function(t,e,r,i){var s,a;for(a=t,s=e.length-1;0<=s;s-=1)"tr"==e[s].ty?(a=r[s].transform,this.renderShapeTransform(t,a)):"sh"==e[s].ty||"el"==e[s].ty||"rc"==e[s].ty||"sr"==e[s].ty?this.renderPath(e[s],r[s]):"fl"==e[s].ty?this.renderFill(e[s],r[s],a):"st"==e[s].ty?this.renderStroke(e[s],r[s],a):"gf"==e[s].ty||"gs"==e[s].ty?this.renderGradientFill(e[s],r[s],a):"gr"==e[s].ty?this.renderShape(a,e[s].it,r[s].it):e[s].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r,i,s,a=t.trNodes,n=e.paths,o=n._length;a.length=0;var h=t.transforms.finalTransform;for(s=0;s<o;s+=1){var l=n.shapes[s];if(l&&l.v){for(i=l._length,r=1;r<i;r+=1)1===r&&a.push({t:"m",p:h.applyToPointArray(l.v[0][0],l.v[0][1],0)}),a.push({t:"c",pts:h.applyToTriplePoints(l.o[r-1],l.i[r],l.v[r])});1===i&&a.push({t:"m",p:h.applyToPointArray(l.v[0][0],l.v[0][1],0)}),l.c&&i&&(a.push({t:"c",pts:h.applyToTriplePoints(l.o[r-1],l.i[0],l.v[0])}),a.push({t:"z"}))}}t.trNodes=a}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var r,i=e.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(e.styledShapes[r],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,r){var i=e.style;(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,r){var i=e.style;if(!i.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var s=this.globalData.canvasContext,a=e.s.v,n=e.e.v;if(1===t.t)f=s.createLinearGradient(a[0],a[1],n[0],n[1]);else var o=Math.sqrt(Math.pow(a[0]-n[0],2)+Math.pow(a[1]-n[1],2)),h=Math.atan2(n[1]-a[1],n[0]-a[0]),l=o*(1<=e.h.v?.99:e.h.v<=-1?-.99:e.h.v),p=Math.cos(h+e.a.v)*l+a[0],m=Math.sin(h+e.a.v)*l+a[1],f=s.createRadialGradient(p,m,0,a[0],a[1],o);var c,d=t.g.p,u=e.g.c,y=1;for(c=0;c<d;c+=1)e.g._hasOpacity&&e.g._collapsable&&(y=e.g.o[2*c+1]),f.addColorStop(u[4*c]/100,"rgba("+u[4*c+1]+","+u[4*c+2]+","+u[4*c+3]+","+y+")");i.grd=f}i.coOp=e.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(t,e,r){var i=e.style,s=e.d;s&&(s._mdf||this._isFirstFrame)&&(i.da=s.dashArray,i.do=s.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bm_floor(e.c.v[0])+","+bm_floor(e.c.v[1])+","+bm_floor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity),(e.w._mdf||this._isFirstFrame)&&(i.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var r=!1;t.sc&&(r=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var i,s,a=this.globalData.fontManager.getFontByName(t.f),n=t.l,o=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,s=t.finalText.length;var h,l,p,m,f,c,d,u,y,g,v=this.data.singleShape,b=t.tr/1e3*t.finalSize,E=0,x=0,P=!0,S=0;for(i=0;i<s;i+=1){for(l=(h=this.globalData.fontManager.getCharData(t.finalText[i],a.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&h.data||{},o.reset(),v&&n[i].n&&(E=-b,x+=t.yOffset,x+=P?1:0,P=!1),d=(f=l.shapes?l.shapes[0].it:[]).length,o.scale(t.finalSize/100,t.finalSize/100),v&&this.applyTextPropertiesToMatrix(t,o,n[i].line,E,x),y=createSizedArray(d),c=0;c<d;c+=1){for(m=f[c].ks.k.i.length,u=f[c].ks.k,g=[],p=1;p<m;p+=1)1==p&&g.push(o.applyToX(u.v[0][0],u.v[0][1],0),o.applyToY(u.v[0][0],u.v[0][1],0)),g.push(o.applyToX(u.o[p-1][0],u.o[p-1][1],0),o.applyToY(u.o[p-1][0],u.o[p-1][1],0),o.applyToX(u.i[p][0],u.i[p][1],0),o.applyToY(u.i[p][0],u.i[p][1],0),o.applyToX(u.v[p][0],u.v[p][1],0),o.applyToY(u.v[p][0],u.v[p][1],0));g.push(o.applyToX(u.o[p-1][0],u.o[p-1][1],0),o.applyToY(u.o[p-1][0],u.o[p-1][1],0),o.applyToX(u.i[0][0],u.i[0][1],0),o.applyToY(u.i[0][0],u.i[0][1],0),o.applyToX(u.v[0][0],u.v[0][1],0),o.applyToY(u.v[0][0],u.v[0][1],0)),y[c]=g}v&&(E+=n[i].l,E+=b),this.textSpans[S]?this.textSpans[S].elem=y:this.textSpans[S]={elem:y},S+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,r,i,s,a,n=this.canvasContext;this.finalTransform.mat.props;n.font=this.values.fValue,n.lineCap="butt",n.lineJoin="miter",n.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var o,h=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;e=l.length;var p,m,f=null,c=null,d=null;for(t=0;t<e;t+=1)if(!l[t].n){if((o=h[t])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(o.p),this.globalData.renderer.ctxOpacity(o.o)),this.fill){for(o&&o.fc?f!==o.fc&&(f=o.fc,n.fillStyle=o.fc):f!==this.values.fill&&(f=this.values.fill,n.fillStyle=this.values.fill),i=(p=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(m=p[r]).length,this.globalData.canvasContext.moveTo(m[0],m[1]),s=2;s<a;s+=6)this.globalData.canvasContext.bezierCurveTo(m[s],m[s+1],m[s+2],m[s+3],m[s+4],m[s+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(o&&o.sw?d!==o.sw&&(d=o.sw,n.lineWidth=o.sw):d!==this.values.sWidth&&(d=this.values.sWidth,n.lineWidth=this.values.sWidth),o&&o.sc?c!==o.sc&&(c=o.sc,n.strokeStyle=o.sc):c!==this.values.stroke&&(c=this.values.stroke,n.strokeStyle=this.values.stroke),i=(p=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(m=p[r]).length,this.globalData.canvasContext.moveTo(m[0],m[1]),s=2;s<a;s+=6)this.globalData.canvasContext.bezierCurveTo(m[s],m[s+1],m[s+2],m[s+3],m[s+4],m[s+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}o&&this.globalData.renderer.restore()}},CVEffects.prototype.renderFrame=function(){},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&(this.transformedElement.style.transform=this.transformedElement.style.webkitTransform=this.finalTransform.mat.toCSS()),this.finalTransform._opMdf&&(this.transformedElement.style.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=HybridRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([HybridRenderer,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var r,i=0;i<e;)this.elements[i]&&this.elements[i].getBaseElement&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(t,r):this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e=t[r].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var r,i,s,a,n,o=t.sh.v,h=t.transformers,l=o._length;if(!(l<=1)){for(r=0;r<l-1;r+=1)i=this.getTransformedPoint(h,o.v[r]),s=this.getTransformedPoint(h,o.o[r]),a=this.getTransformedPoint(h,o.i[r+1]),n=this.getTransformedPoint(h,o.v[r+1]),this.checkBounds(i,s,a,n,e);o.c&&(i=this.getTransformedPoint(h,o.v[r]),s=this.getTransformedPoint(h,o.o[r]),a=this.getTransformedPoint(h,o.i[0]),n=this.getTransformedPoint(h,o.v[0]),this.checkBounds(i,s,a,n,e))}},HShapeElement.prototype.checkBounds=function(t,e,r,i,s){this.getBoundsOfCurve(t,e,r,i);var a=this.shapeBoundingBox;s.x=bm_min(a.left,s.x),s.xMax=bm_max(a.right,s.xMax),s.y=bm_min(a.top,s.y),s.yMax=bm_max(a.bottom,s.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,r,i){for(var s,a,n,o,h,l,p,m=[[t[0],i[0]],[t[1],i[1]]],f=0;f<2;++f)if(a=6*t[f]-12*e[f]+6*r[f],s=-3*t[f]+9*e[f]-9*r[f]+3*i[f],n=3*e[f]-3*t[f],a|=0,n|=0,0!==(s|=0))(h=a*a-4*n*s)<0||(0<(l=(-a+bm_sqrt(h))/(2*s))&&l<1&&m[f].push(this.calculateF(l,t,e,r,i,f)),0<(p=(-a-bm_sqrt(h))/(2*s))&&p<1&&m[f].push(this.calculateF(p,t,e,r,i,f)));else{if(0===a)continue;0<(o=-n/a)&&o<1&&m[f].push(this.calculateF(o,t,e,r,i,f))}this.shapeBoundingBox.left=bm_min.apply(null,m[0]),this.shapeBoundingBox.top=bm_min.apply(null,m[1]),this.shapeBoundingBox.right=bm_max.apply(null,m[0]),this.shapeBoundingBox.bottom=bm_max.apply(null,m[1])},HShapeElement.prototype.calculateF=function(t,e,r,i,s,a){return bm_pow(1-t,3)*e[a]+3*bm_pow(1-t,2)*t*r[a]+3*(1-t)*bm_pow(t,2)*i[a]+bm_pow(t,3)*s[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]&&t[r].sh?this.calculateShapeBoundingBox(t[r],e):t[r]&&t[r].it&&this.calculateBoundingBox(t[r].it,e)},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var r=!1;this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),r=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),r=!0),(r||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y)&&(this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.shapeCont.style.transform=this.shapeCont.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style;e.color=e.fill=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)",t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var r,i,s=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",s.fClass)this.innerElem.className=s.fClass;else{e.fontFamily=s.fFamily;var a=t.fWeight,n=t.fStyle;e.fontStyle=n,e.fontWeight=a}var o,h,l,p=t.l;i=p.length;var m,f=this.mHelper,c="",d=0;for(r=0;r<i;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[d]?o=this.textPaths[d]:((o=createNS("path")).setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[d]?l=(h=this.textSpans[d]).children[0]:((h=createTag("div")).style.lineHeight=0,(l=createNS("svg")).appendChild(o),styleDiv(h)))):this.isMasked?o=this.textPaths[d]?this.textPaths[d]:createNS("text"):this.textSpans[d]?(h=this.textSpans[d],o=this.textPaths[d]):(styleDiv(h=createTag("span")),styleDiv(o=createTag("span")),h.appendChild(o)),this.globalData.fontManager.chars){var u,y=this.globalData.fontManager.getCharData(t.finalText[r],s.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(u=y?y.data:null,f.reset(),u&&u.shapes&&(m=u.shapes[0].it,f.scale(t.finalSize/100,t.finalSize/100),c=this.createPathShape(f,m),o.setAttribute("d",c)),this.isMasked)this.innerElem.appendChild(o);else{if(this.innerElem.appendChild(h),u&&u.shapes){document.body.appendChild(l);var g=l.getBBox();l.setAttribute("width",g.width+2),l.setAttribute("height",g.height+2),l.setAttribute("viewBox",g.x-1+" "+(g.y-1)+" "+(g.width+2)+" "+(g.height+2)),l.style.transform=l.style.webkitTransform="translate("+(g.x-1)+"px,"+(g.y-1)+"px)",p[r].yOffset=g.y-1}else l.setAttribute("width",1),l.setAttribute("height",1);h.appendChild(l)}}else o.textContent=p[r].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked?this.innerElem.appendChild(o):(this.innerElem.appendChild(h),o.style.transform=o.style.webkitTransform="translate3d(0,"+-t.finalSize/1.2+"px,0)");this.isMasked?this.textSpans[d]=o:this.textSpans[d]=h,this.textSpans[d].style.display="block",this.textPaths[d]=o,d+=1}for(;d<this.textSpans.length;)this.textSpans[d].style.display="none",d+=1},HTextElement.prototype.renderInnerContent=function(){if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;this.isMasked&&this.finalTransform._matMdf&&(this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)")}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var t,e,r,i,s,a=0,n=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;for(e=o.length,t=0;t<e;t+=1)o[t].n?a+=1:(i=this.textSpans[t],s=this.textPaths[t],r=n[a],a+=1,r._mdf.m&&(this.isMasked?i.setAttribute("transform",r.m):i.style.transform=i.style.webkitTransform=r.m),i.style.opacity=r.o,r.sw&&r._mdf.sw&&s.setAttribute("stroke-width",r.sw),r.sc&&r._mdf.sc&&s.setAttribute("stroke",r.sc),r.fc&&r._mdf.fc&&(s.setAttribute("fill",r.fc),s.style.color=r.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var h=this.innerElem.getBBox();this.currentBBox.w!==h.width&&(this.currentBBox.w=h.width,this.svgElement.setAttribute("width",h.width)),this.currentBBox.h!==h.height&&(this.currentBBox.h=h.height,this.svgElement.setAttribute("height",h.height));this.currentBBox.w===h.width+2&&this.currentBBox.h===h.height+2&&this.currentBBox.x===h.x-1&&this.currentBBox.y===h.y-1||(this.currentBBox.w=h.width+2,this.currentBBox.h=h.height+2,this.currentBBox.x=h.x-1,this.currentBBox.y=h.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,r=this.comp.threeDElements.length;for(t=0;t<r;t+=1)"3d"===(e=this.comp.threeDElements[t]).type&&(e.perspectiveElem.style.perspective=e.perspectiveElem.style.webkitPerspective=this.pe.v+"px",e.container.style.transformOrigin=e.container.style.mozTransformOrigin=e.container.style.webkitTransformOrigin="0px 0px 0px",e.perspectiveElem.style.transform=e.perspectiveElem.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)")},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,r=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)r=this.hierarchy[t].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(t=e=this.hierarchy.length-1;0<=t;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var s;s=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),n=[s[0]/a,s[1]/a,s[2]/a],o=Math.sqrt(n[2]*n[2]+n[0]*n[0]),h=Math.atan2(n[1],o),l=Math.atan2(n[0],-n[2]);this.mat.rotateY(l).rotateX(-h)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var p=!this._prevMat.equals(this.mat);if((p||this.pe._mdf)&&this.comp.threeDElements){var m;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)"3d"===(m=this.comp.threeDElements[t]).type&&(p&&(m.container.style.transform=m.container.style.webkitTransform=this.mat.toCSS()),this.pe._mdf&&(m.perspectiveElem.style.perspective=m.perspectiveElem.style.webkitPerspective=this.pe.v+"px"));this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},HEffects.prototype.renderFrame=function(){};var animationManager=function(){var t={},s=[],i=0,a=0,n=0,o=!0,h=!1;function r(t){for(var e=0,r=t.target;e<a;)s[e].animation===r&&(s.splice(e,1),e-=1,a-=1,r.isPaused||m()),e+=1}function l(t,e){if(!t)return null;for(var r=0;r<a;){if(s[r].elem==t&&null!==s[r].elem)return s[r].animation;r+=1}var i=new AnimationItem;return f(i,t),i.setData(t,e),i}function p(){n+=1,d()}function m(){n-=1}function f(t,e){t.addEventListener("destroy",r),t.addEventListener("_active",p),t.addEventListener("_idle",m),s.push({elem:e,animation:t}),a+=1}function c(t){var e,r=t-i;for(e=0;e<a;e+=1)s[e].animation.advanceTime(r);i=t,n&&!h?window.requestAnimationFrame(c):o=!0}function e(t){i=t,window.requestAnimationFrame(c)}function d(){!h&&n&&o&&(window.requestAnimationFrame(e),o=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return f(e,null),e.setParams(t),e},t.setSpeed=function(t,e){var r;for(r=0;r<a;r+=1)s[r].animation.setSpeed(t,e)},t.setDirection=function(t,e){var r;for(r=0;r<a;r+=1)s[r].animation.setDirection(t,e)},t.play=function(t){var e;for(e=0;e<a;e+=1)s[e].animation.play(t)},t.pause=function(t){var e;for(e=0;e<a;e+=1)s[e].animation.pause(t)},t.stop=function(t){var e;for(e=0;e<a;e+=1)s[e].animation.stop(t)},t.togglePause=function(t){var e;for(e=0;e<a;e+=1)s[e].animation.togglePause(t)},t.searchAnimations=function(t,e,r){var i,s=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=s.length;for(i=0;i<a;i+=1)r&&s[i].setAttribute("data-bm-type",r),l(s[i],t);if(e&&0===a){r||(r="svg");var n=document.getElementsByTagName("body")[0];n.innerHTML="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",r),n.appendChild(o),l(o,t)}},t.resize=function(){var t;for(t=0;t<a;t+=1)s[t].animation.resize()},t.goToAndStop=function(t,e,r){var i;for(i=0;i<a;i+=1)s[i].animation.goToAndStop(t,e,r)},t.destroy=function(t){var e;for(e=a-1;0<=e;e-=1)s[e].animation.destroy(t)},t.freeze=function(){h=!0},t.unfreeze=function(){h=!1,d()},t.getRegisteredAnimations=function(){var t,e=s.length,r=[];for(t=0;t<e;t+=1)r.push(s[t].animation);return r},t}(),AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.subframeEnabled=subframeEnabled,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){t.context&&(this.context=t.context),(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e=t.animType?t.animType:t.renderer?t.renderer:"svg";switch(e){case"canvas":this.renderer=new CanvasRenderer(this,t.rendererSettings);break;case"svg":this.renderer=new SVGRenderer(this,t.rendererSettings);break;default:this.renderer=new HybridRenderer(this,t.rendererSettings)}this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||(!1===t.loop?this.loop=!1:!0===t.loop?this.loop=!0:this.loop=parseInt(t.loop)),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!t.hasOwnProperty("autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,t.animationData?this.configAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),assetLoader.load(t.path,this.configAnimation.bind(this),function(){this.trigger("data_failed")}.bind(this))),this.initialSegment=t.initialSegment},AnimationItem.prototype.setData=function(t,e){var r={wrapper:t,animationData:e?"object"==typeof e?e:JSON.parse(e):null},i=t.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:"canvas";var s=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";""===s||(r.loop="false"!==s&&("true"===s||parseInt(s)));var a=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:!i.getNamedItem("bm-autoplay")||i.getNamedItem("bm-autoplay").value;r.autoplay="false"!==a,r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"","false"===(i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),this.setParams(r)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,i=this.animationData.layers,s=i.length,a=t.layers,n=a.length;for(r=0;r<n;r+=1)for(e=0;e<s;){if(i[e].id==a[r].id){i[e]=a[r];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(s=t.assets.length,e=0;e<s;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),this.renderer.includeLayers(t.layers),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,assetLoader.load(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.loaded()?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){this.isLoaded||!this.renderer.globalData.fontManager.loaded()||!this.imagePreloader.loaded()&&"canvas"===this.renderer.rendererType||(this.isLoaded=!0,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play())},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(t){this.subframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.subframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!=t||!0===this.isPaused&&(this.isPaused=!1,this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!=t||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"))},AnimationItem.prototype.togglePause=function(t){t&&this.name!=t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!=t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.goToAndStop=function(t,e,r){r&&this.name!=r||(e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(t,e,r){this.goToAndStop(t,e,r),this.play()},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&0<this.frameModifier?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(0<this.frameModifier&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.timeCompleted=this.totalFrames=t[0]-t[1],this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.timeCompleted=this.totalFrames=t[1]-t[0],this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(r=e-t)),this.firstFrame=t,this.timeCompleted=this.totalFrames=e-t,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"==typeof t[0]){var r,i=t.length;for(r=0;r<i;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!=t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=this.onLoopComplete=this.onComplete=this.onSegmentStart=this.onDestroy=null,this.renderer=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,r=this.assets.length;e<r;){if(t==this.assets[e].id)return this.assets[e];e+=1}},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var Expressions=(HW={},HW.initExpressions=function(t){var e=0,r=[];function i(){var t,e=r.length;for(t=0;t<e;t+=1)r[t].release();r.length=0}t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){e+=1},t.renderer.globalData.popExpression=function(){0==(e-=1)&&i()},t.renderer.globalData.registerExpressionProperty=function(t){-1===r.indexOf(t)&&r.push(t)}},HW),HW;expressionsPlugin=Expressions;var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null;function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=typeof t;if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var r,i=t.length,s=[];for(r=0;r<i;r+=1)s[r]=-t[r];return s}return t.propType?t.v:void 0}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var r=typeof t,i=typeof e;if("string"===r||"string"===i)return t+e;if(isNumerable(r,t)&&isNumerable(i,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return(t=t.slice(0))[0]=t[0]+e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var s=0,a=t.length,n=e.length,o=[];s<a||s<n;)("number"==typeof t[s]||t[s]instanceof Number)&&("number"==typeof e[s]||e[s]instanceof Number)?o[s]=t[s]+e[s]:o[s]=void 0===e[s]?t[s]:t[s]||e[s],s+=1;return o}return 0}var add=sum;function sub(t,e){var r=typeof t,i=typeof e;if(isNumerable(r,t)&&isNumerable(i,e))return"string"===r&&(t=parseInt(t)),"string"===i&&(e=parseInt(e)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return(t=t.slice(0))[0]=t[0]-e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var s=0,a=t.length,n=e.length,o=[];s<a||s<n;)("number"==typeof t[s]||t[s]instanceof Number)&&("number"==typeof e[s]||e[s]instanceof Number)?o[s]=t[s]-e[s]:o[s]=void 0===e[s]?t[s]:t[s]||e[s],s+=1;return o}return 0}function mul(t,e){var r,i,s,a=typeof t,n=typeof e;if(isNumerable(a,t)&&isNumerable(n,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e)){for(s=t.length,r=createTypedArray("float32",s),i=0;i<s;i+=1)r[i]=t[i]*e;return r}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(s=e.length,r=createTypedArray("float32",s),i=0;i<s;i+=1)r[i]=t*e[i];return r}return 0}function div(t,e){var r,i,s,a=typeof t,n=typeof e;if(isNumerable(a,t)&&isNumerable(n,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(n,e)){for(s=t.length,r=createTypedArray("float32",s),i=0;i<s;i+=1)r[i]=t[i]/e;return r}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(s=e.length,r=createTypedArray("float32",s),i=0;i<s;i+=1)r[i]=t/e[i];return r}return 0}function mod(t,e){return"string"==typeof t&&(t=parseInt(t)),"string"==typeof e&&(e=parseInt(e)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,r){if(r<e){var i=r;r=e,e=i}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"==typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);e||(e=helperLengthArray);var r,i=Math.min(t.length,e.length),s=0;for(r=0;r<i;r+=1)s+=Math.pow(e[r]-t[r],2);return Math.sqrt(s)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,r,i=t[0],s=t[1],a=t[2],n=Math.max(i,s,a),o=Math.min(i,s,a),h=(n+o)/2;if(n==o)e=r=0;else{var l=n-o;switch(r=.5<h?l/(2-n-o):l/(n+o),n){case i:e=(s-a)/l+(s<a?6:0);break;case s:e=(a-i)/l+2;break;case a:e=(i-s)/l+4}e/=6}return[e,r,h,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),1<r&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e,r,i,s=t[0],a=t[1],n=t[2];if(0===a)e=r=i=n;else{var o=n<.5?n*(1+a):n+a-n*a,h=2*n-o;e=hue2rgb(h,o,s+1/3),r=hue2rgb(h,o,s),i=hue2rgb(h,o,s-1/3)}return[e,r,i,t[3]]}function linear(t,e,r,i,s){if(void 0!==i&&void 0!==s||(i=e,s=r,e=0,r=1),r<e){var a=r;r=e,e=a}if(t<=e)return i;if(r<=t)return s;var n=r===e?0:(t-e)/(r-e);if(!i.length)return i+(s-i)*n;var o,h=i.length,l=createTypedArray("float32",h);for(o=0;o<h;o+=1)l[o]=i[o]+(s[o]-i[o])*n;return l}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var r,i=e.length;t||(t=createTypedArray("float32",i));var s=createTypedArray("float32",i),a=BMMath.random();for(r=0;r<i;r+=1)s[r]=t[r]+a*(e[r]-t[r]);return s}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}function createPath(t,e,r,i){var s,a=t.length,n=shape_pool.newElement();n.setPathData(!!i,a);var o,h,l=[0,0];for(s=0;s<a;s+=1)o=e&&e[s]?e[s]:l,h=r&&r[s]?r[s]:l,n.setTripleAt(t[s][0],t[s][1],h[0]+t[s][0],h[1]+t[s][1],o[0]+t[s][0],o[1]+t[s][1],s,!0);return n}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,__expression_functions=[],scoped_bm_rt;if(data.xf){var i,len=data.xf.length;for(i=0;i<len;i+=1)__expression_functions[i]=eval("(function(){ return "+data.xf[i]+"}())")}var expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var r,i,s=this.pv.length?this.pv.length:1,a=createTypedArray("float32",s);var n=Math.floor(5*time);for(i=r=0;r<n;){for(i=0;i<s;i+=1)a[i]+=-e+2*e*BMMath.random();r+=1}var o=5*time,h=o-Math.floor(o),l=createTypedArray("float32",s);if(1<s){for(i=0;i<s;i+=1)l[i]=this.pv[i]+a[i]+(-e+2*e*BMMath.random())*h;return l}return this.pv+a[0]+(-e+2*e*BMMath.random())*h}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var r=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,i,0]}function easeOut(t,e,r,i,s){return applyEase(easeOutBez,t,e,r,i,s)}function easeIn(t,e,r,i,s){return applyEase(easeInBez,t,e,r,i,s)}function ease(t,e,r,i,s){return applyEase(easeInOutBez,t,e,r,i,s)}function applyEase(t,e,r,i,s,a){void 0===s?(s=r,a=i):e=(e-r)/(i-r);var n=t(e=1<e?1:e<0?0:e);if($bm_isInstanceOfArray(s)){var o,h=s.length,l=createTypedArray("float32",h);for(o=0;o<h;o+=1)l[o]=(a[o]-s[o])*n+s[o];return l}return(a-s)*n+s}function nearestKey(t){var e,r,i,s=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,i=data.k[0].t;else{for(e=0;e<s-1;e+=1){if(t===data.k[e].t){r=e+1,i=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){i=t-data.k[e].t>data.k[e+1].t-t?(r=e+2,data.k[e+1].t):(r=e+1,data.k[e].t);break}}-1===r&&(r=e+1,i=data.k[e].t)}else i=r=0;var a={};return a.index=r,a.time=i/elem.comp.globalData.frameRate,a}function key(t){var e,r,i;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var s=data.k[t].hasOwnProperty("s")?data.k[t].s:data.k[t-1].e;for(i=s.length,r=0;r<i;r+=1)e[r]=s[r],e.value[r]=s[r];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"==typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"==typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,_needsRandom&&seedRandom(randSeed),this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),($bm_transform=transform)&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,"shape"===scoped_bm_rt.propType&&(scoped_bm_rt=scoped_bm_rt.v),scoped_bm_rt)}return executeExpression}return ob.initiateExpression=initiateExpression,ob}(),expressionHelpers={searchExpressions:function(t,e,r){e.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(t,e,r).bind(r)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),r=this.getValueAtTime(t+-.01),i=0;if(e.length){var s;for(s=0;s<e.length;s+=1)i+=Math.pow(r[s]-e[s],2);i=100*Math.sqrt(i)}else i=0;return i},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,r,i=this.getValueAtTime(t),s=this.getValueAtTime(t+-.001);if(i.length)for(e=createTypedArray("float32",i.length),r=0;r<i.length;r+=1)e[r]=(s[r]-i[r])/-.001;else e=(s-i)/-.001;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};!function(){function o(t,e,r){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var i,s,a,n,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[l.length-1].t;if(h<=p)return this.pv;if(r?s=p-(i=e?Math.abs(p-elem.comp.globalData.frameRate*e):Math.max(0,p-this.elem.data.ip)):((!e||e>l.length-1)&&(e=l.length-1),i=p-(s=l[l.length-1-e].t)),"pingpong"===t){if(Math.floor((h-s)/i)%2!=0)return this.getValueAtTime((i-(h-s)%i+s)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var m=this.getValueAtTime(s/this.comp.globalData.frameRate,0),f=this.getValueAtTime(p/this.comp.globalData.frameRate,0),c=this.getValueAtTime(((h-s)%i+s)/this.comp.globalData.frameRate,0),d=Math.floor((h-s)/i);if(this.pv.length){for(n=(o=new Array(m.length)).length,a=0;a<n;a+=1)o[a]=(f[a]-m[a])*d+c[a];return o}return(f-m)*d+c}if("continue"===t){var u=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(n=(o=new Array(u.length)).length,a=0;a<n;a+=1)o[a]=u[a]+(u[a]-y[a])*((h-p)/this.comp.globalData.frameRate)/5e-4;return o}return u+(h-p)/.001*(u-y)}}return this.getValueAtTime(((h-s)%i+s)/this.comp.globalData.frameRate,0)}function h(t,e,r){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var i,s,a,n,o,h=this.comp.renderedFrame,l=this.keyframes,p=l[0].t;if(p<=h)return this.pv;if(r?s=p+(i=e?Math.abs(elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):((!e||e>l.length-1)&&(e=l.length-1),i=(s=l[e].t)-p),"pingpong"===t){if(Math.floor((p-h)/i)%2==0)return this.getValueAtTime(((p-h)%i+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),f=this.getValueAtTime(s/this.comp.globalData.frameRate,0),c=this.getValueAtTime((i-(p-h)%i+p)/this.comp.globalData.frameRate,0),d=Math.floor((p-h)/i)+1;if(this.pv.length){for(n=(o=new Array(m.length)).length,a=0;a<n;a+=1)o[a]=c[a]-(f[a]-m[a])*d;return o}return c-(f-m)*d}if("continue"===t){var u=this.getValueAtTime(p/this.comp.globalData.frameRate,0),y=this.getValueAtTime((p+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(n=(o=new Array(u.length)).length,a=0;a<n;a+=1)o[a]=u[a]+(u[a]-y[a])*(p-h)/.001;return o}return u+(u-y)*(p-h)/.001}}return this.getValueAtTime((i-(p-h)%i+p)/this.comp.globalData.frameRate,0)}function l(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var r,i,s=this.comp.renderedFrame/this.comp.globalData.frameRate,a=s-t,n=1<e?(s+t-a)/(e-1):1,o=0,h=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;o<e;){if(i=this.getValueAtTime(a+o*n),this.pv.length)for(h=0;h<this.pv.length;h+=1)r[h]+=i[h];else r+=i;o+=1}if(this.pv.length)for(h=0;h<this.pv.length;h+=1)r[h]/=e;else r/=e;return r}var s=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,r){var i=s(t,e,r);return i.dynamicProperties.length?i.getValueAtTime=function(t){console.warn("Transform at time not supported")}.bind(i):i.getValueAtTime=function(t){}.bind(i),i.setGroupProperty=expressionHelpers.setGroupProperty,i};var p=PropertyFactory.getProp;PropertyFactory.getProp=function(t,e,r,i,s){var a=p(t,e,r,i,s);a.kf?a.getValueAtTime=expressionHelpers.getValueAtTime.bind(a):a.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(a),a.setGroupProperty=expressionHelpers.setGroupProperty,a.loopOut=o,a.loopIn=h,a.smooth=l,a.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(a),a.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(a),a.numKeys=1===e.a?e.k.length:0,a.propertyIndex=e.ix;var n=0;return 0!==r&&(n=createTypedArray("float32",1===e.a?e.k[0].s.length:e.k.length)),a._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:n},expressionHelpers.searchExpressions(t,e,a),a.k&&s.addDynamicProperty(a),a};var t=ShapePropertyFactory.getConstructorFunction(),e=ShapePropertyFactory.getKeyframedConstructorFunction();function r(){}r.prototype={vertices:function(t,e){this.k&&this.getValue();var r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0));var i,s=r._length,a=r[t],n=r.v,o=createSizedArray(s);for(i=0;i<s;i+=1)o[i]="i"===t||"o"===t?[a[i][0]-n[i][0],a[i][1]-n[i][1]]:[a[i][0],a[i][1]];return o},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var i,s=this._segmentsLength,a=s.lengths,n=s.totalLength*t,o=0,h=a.length,l=0;o<h;){if(l+a[o].addedLength>n){var p=o,m=r.c&&o===h-1?0:o+1,f=(n-l)/a[o].addedLength;i=bez.getPointInSegment(r.v[p],r.v[m],r.o[p],r.i[m],f,a[o]);break}l+=a[o].addedLength,o+=1}return i||(i=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),i},vectorOnPath:function(t,e,r){t=1==t?this.v.c?0:.999:t;var i=this.pointOnPath(t,e),s=this.pointOnPath(t+.001,e),a=s[0]-i[0],n=s[1]-i[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(n,2));return 0===o?[0,0]:"tangent"===r?[a/o,n/o]:[-n/o,a/o]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([r],t),extendPrototype([r],e),e.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shape_pool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},e.prototype.initiateExpression=ExpressionManager.initiateExpression;var n=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,r,i,s){var a=n(t,e,r,i,s);return a.propertyIndex=e.ix,a.lock=!1,3===r?expressionHelpers.searchExpressions(t,e.pt,a):4===r&&expressionHelpers.searchExpressions(t,e.ks,a),a.k&&t.addDynamicProperty(a),a}}(),TextProperty.prototype.getExpressionValue=function(t,e){var r=this.calculateExpression(e);if(t.t===r)return t;var i={};return this.copyData(i,t),i.t=r.toString(),i.__complete=!1,i},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){if(this.data.d.x)return this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0};var ShapeExpressionInterface=function(){function m(t,e,r){var i,s=[],a=t?t.length:0;for(i=0;i<a;i+=1)"gr"==t[i].ty?s.push(n(t[i],e[i],r)):"fl"==t[i].ty?s.push(o(t[i],e[i],r)):"st"==t[i].ty?s.push(h(t[i],e[i],r)):"tm"==t[i].ty?s.push(l(t[i],e[i],r)):"tr"==t[i].ty||("el"==t[i].ty?s.push(p(t[i],e[i],r)):"sr"==t[i].ty?s.push(f(t[i],e[i],r)):"sh"==t[i].ty?s.push(y(t[i],e[i],r)):"rc"==t[i].ty?s.push(c(t[i],e[i],r)):"rd"==t[i].ty?s.push(d(t[i],e[i],r)):"rp"==t[i].ty&&s.push(u(t[i],e[i],r)));return s}function n(t,e,r){var i=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=function(t){return 1===t?i:r(t-1)};var s,a,n,o,h,l=(s=t,a=e,n=i.propertyGroup,(h=function(t){for(var e=0,r=o.length;e<r;){if(o[e]._name===t||o[e].mn===t||o[e].propertyIndex===t||o[e].ix===t||o[e].ind===t)return o[e];e+=1}if("number"==typeof t)return o[t-1]}).propertyGroup=function(t){return 1===t?h:n(t-1)},o=m(s.it,a.it,h.propertyGroup),h.numProperties=o.length,h.propertyIndex=s.cix,h._name=s.nm,h),p=function(e,t,r){function i(t){return 1==t?s:r(--t)}t.transform.mProps.o.setGroupProperty(i),t.transform.mProps.p.setGroupProperty(i),t.transform.mProps.a.setGroupProperty(i),t.transform.mProps.s.setGroupProperty(i),t.transform.mProps.r.setGroupProperty(i),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(i),t.transform.mProps.sa.setGroupProperty(i));function s(t){return e.a.ix===t||"Anchor Point"===t?s.anchorPoint:e.o.ix===t||"Opacity"===t?s.opacity:e.p.ix===t||"Position"===t?s.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?s.rotation:e.s.ix===t||"Scale"===t?s.scale:e.sk&&e.sk.ix===t||"Skew"===t?s.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?s.skewAxis:void 0}return t.transform.op.setGroupProperty(i),Object.defineProperties(s,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),s.ty="tr",s.mn=e.mn,s.propertyGroup=r,s}(t.it[t.it.length-1],e.it[e.it.length-1],i.propertyGroup);return i.content=l,i.transform=p,Object.defineProperty(i,"_name",{get:function(){return t.nm}}),i.numProperties=t.np,i.propertyIndex=t.ix,i.nm=t.nm,i.mn=t.mn,i}function o(t,e,r){function i(t){return"Color"===t||"color"===t?i.color:"Opacity"===t||"opacity"===t?i.opacity:void 0}return Object.defineProperties(i,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(r),e.o.setGroupProperty(r),i}function h(t,e,r){function i(t){return 1===t?ob:r(t-1)}function s(t){return 1===t?h:i(t-1)}var a,n,o=t.d?t.d.length:0,h={};for(a=0;a<o;a+=1)n=a,Object.defineProperty(h,t.d[n].nm,{get:ExpressionPropertyInterface(e.d.dataProps[n].p)}),e.d.dataProps[a].p.setGroupProperty(s);function l(t){return"Color"===t||"color"===t?l.color:"Opacity"===t||"opacity"===t?l.opacity:"Stroke Width"===t||"stroke width"===t?l.strokeWidth:void 0}return Object.defineProperties(l,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return h}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(i),e.o.setGroupProperty(i),e.w.setGroupProperty(i),l}function l(e,t,r){function i(t){return 1==t?s:r(--t)}function s(t){return t===e.e.ix||"End"===t||"end"===t?s.end:t===e.s.ix?s.start:t===e.o.ix?s.offset:void 0}return s.propertyIndex=e.ix,t.s.setGroupProperty(i),t.e.setGroupProperty(i),t.o.setGroupProperty(i),s.propertyIndex=e.ix,s.propertyGroup=r,Object.defineProperties(s,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),s.mn=e.mn,s}function p(e,t,r){function i(t){return 1==t?a:r(--t)}a.propertyIndex=e.ix;var s="tm"===t.sh.ty?t.sh.prop:t.sh;function a(t){return e.p.ix===t?a.position:e.s.ix===t?a.size:void 0}return s.s.setGroupProperty(i),s.p.setGroupProperty(i),Object.defineProperties(a,{size:{get:ExpressionPropertyInterface(s.s)},position:{get:ExpressionPropertyInterface(s.p)},_name:{value:e.nm}}),a.mn=e.mn,a}function f(e,t,r){function i(t){return 1==t?a:r(--t)}var s="tm"===t.sh.ty?t.sh.prop:t.sh;function a(t){return e.p.ix===t?a.position:e.r.ix===t?a.rotation:e.pt.ix===t?a.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?a.outerRadius:e.os.ix===t?a.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?a.innerRoundness:void 0:a.innerRadius}return a.propertyIndex=e.ix,s.or.setGroupProperty(i),s.os.setGroupProperty(i),s.pt.setGroupProperty(i),s.p.setGroupProperty(i),s.r.setGroupProperty(i),e.ir&&(s.ir.setGroupProperty(i),s.is.setGroupProperty(i)),Object.defineProperties(a,{position:{get:ExpressionPropertyInterface(s.p)},rotation:{get:ExpressionPropertyInterface(s.r)},points:{get:ExpressionPropertyInterface(s.pt)},outerRadius:{get:ExpressionPropertyInterface(s.or)},outerRoundness:{get:ExpressionPropertyInterface(s.os)},innerRadius:{get:ExpressionPropertyInterface(s.ir)},innerRoundness:{get:ExpressionPropertyInterface(s.is)},_name:{value:e.nm}}),a.mn=e.mn,a}function c(e,t,r){function i(t){return 1==t?a:r(--t)}var s="tm"===t.sh.ty?t.sh.prop:t.sh;function a(t){return e.p.ix===t?a.position:e.r.ix===t?a.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?a.size:void 0}return a.propertyIndex=e.ix,s.p.setGroupProperty(i),s.s.setGroupProperty(i),s.r.setGroupProperty(i),Object.defineProperties(a,{position:{get:ExpressionPropertyInterface(s.p)},roundness:{get:ExpressionPropertyInterface(s.r)},size:{get:ExpressionPropertyInterface(s.s)},_name:{value:e.nm}}),a.mn=e.mn,a}function d(e,t,r){var i=t;function s(t){if(e.r.ix===t||"Round Corners 1"===t)return s.radius}return s.propertyIndex=e.ix,i.rd.setGroupProperty(function(t){return 1==t?s:r(--t)}),Object.defineProperties(s,{radius:{get:ExpressionPropertyInterface(i.rd)},_name:{value:e.nm}}),s.mn=e.mn,s}function u(e,t,r){function i(t){return 1==t?a:r(--t)}var s=t;function a(t){return e.c.ix===t||"Copies"===t?a.copies:e.o.ix===t||"Offset"===t?a.offset:void 0}return a.propertyIndex=e.ix,s.c.setGroupProperty(i),s.o.setGroupProperty(i),Object.defineProperties(a,{copies:{get:ExpressionPropertyInterface(s.c)},offset:{get:ExpressionPropertyInterface(s.o)},_name:{value:e.nm}}),a.mn=e.mn,a}function y(t,e,r){var i=e.sh;function s(t){if("Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t)return s.path}return i.setGroupProperty(function(t){return 1==t?s:r(--t)}),Object.defineProperties(s,{path:{get:function(){return i.k&&i.getValue(),i}},shape:{get:function(){return i.k&&i.getValue(),i}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn}}),s}return function(t,e,r){var i;function s(t){if("number"==typeof t)return i[t-1];for(var e=0,r=i.length;e<r;){if(i[e]._name===t)return i[e];e+=1}}return s.propertyGroup=r,i=m(t,e,s),s.numProperties=i.length,s}}(),TextExpressionInterface=function(e){var r;function t(){}return Object.defineProperty(t,"sourceText",{get:function(){e.textProperty.getValue();var t=e.textProperty.currentData.t;return void 0!==t&&(e.textProperty.currentData.t=void 0,(r=new String(t)).value=t||new String(t)),r}}),t},LayerExpressionInterface=function(){function s(t,e){var r=new Matrix;if(r.reset(),this._elem.finalTransform.mProp.applyToMatrix(r),this._elem.hierarchy&&this._elem.hierarchy.length){var i,s=this._elem.hierarchy.length;for(i=0;i<s;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(r);return r.applyToPointArray(t[0],t[1],t[2]||0)}return r.applyToPointArray(t[0],t[1],t[2]||0)}function a(t,e){var r=new Matrix;if(r.reset(),this._elem.finalTransform.mProp.applyToMatrix(r),this._elem.hierarchy&&this._elem.hierarchy.length){var i,s=this._elem.hierarchy.length;for(i=0;i<s;i+=1)this._elem.hierarchy[i].finalTransform.mProp.applyToMatrix(r);return r.inversePoint(t)}return r.inversePoint(t)}function n(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function o(){return[1,1,1,1]}return function(e){var r;function i(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return i.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return r;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return i.effect}}i.toWorld=s,i.fromWorld=a,i.toComp=s,i.fromComp=n,i.sampleImage=o,i.sourceRectAtTime=e.sourceRectAtTime.bind(e);var t=getDescriptor(r=TransformExpressionInterface((i._elem=e).finalTransform.mProp),"anchorPoint");return Object.defineProperties(i,{hasParent:{get:function(){return e.hierarchy.length}},parent:{get:function(){return e.hierarchy[0].layerInterface}},rotation:getDescriptor(r,"rotation"),scale:getDescriptor(r,"scale"),position:getDescriptor(r,"position"),opacity:getDescriptor(r,"opacity"),anchorPoint:t,anchor_point:t,transform:{get:function(){return r}},active:{get:function(){return e.isInRange}}}),i.startTime=e.data.st,i.index=e.data.ind,i.source=e.data.refId,i.height=0===e.data.ty?e.data.h:100,i.width=0===e.data.ty?e.data.w:100,i.inPoint=e.data.ip/e.comp.globalData.frameRate,i.outPoint=e.data.op/e.comp.globalData.frameRate,i._name=e.data.nm,i.registerMaskInterface=function(t){i.mask=new MaskManagerInterface(t,e)},i.registerEffectsInterface=function(t){i.effect=t},i}}(),CompExpressionInterface=function(i){function t(t){for(var e=0,r=i.layers.length;e<r;){if(i.layers[e].nm===t||i.layers[e].ind===t)return i.elements[e].layerInterface;e+=1}return null}return Object.defineProperty(t,"_name",{value:i.data.nm}),(t.layer=t).pixelAspect=1,t.height=i.data.h||i.globalData.compSize.h,t.width=i.data.w||i.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/i.globalData.frameRate,t.displayStartTime=0,t.numLayers=i.layers.length,t},TransformExpressionInterface=function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity}}if(Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p)var r=ExpressionPropertyInterface(t.p);return Object.defineProperty(e,"position",{get:function(){return t.p?r():[t.px.v,t.py.v,t.pz?t.pz.v:0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e},ProjectInterface=function(){function e(t){this.compositions.push(t)}return function(){function t(t){for(var e=0,r=this.compositions.length;e<r;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),EffectsExpressionInterface=function(){function l(s,t,e,r){var i,a=[],n=s.ef.length;for(i=0;i<n;i+=1)5===s.ef[i].ty?a.push(l(s.ef[i],t.effectElements[i],t.effectElements[i].propertyGroup,r)):a.push(p(t.effectElements[i],s.ef[i].ty,r,o));function o(t){return 1===t?h:e(t-1)}var h=function(t){for(var e=s.ef,r=0,i=e.length;r<i;){if(t===e[r].nm||t===e[r].mn||t===e[r].ix)return 5===e[r].ty?a[r]:a[r]();r+=1}return a[0]()};return h.propertyGroup=o,"ADBE Color Control"===s.mn&&Object.defineProperty(h,"color",{get:function(){return a[0]()}}),Object.defineProperty(h,"numProperties",{get:function(){return s.np}}),h.active=h.enabled=0!==s.en,h}function p(t,e,r,i){var s=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(i),function(){return 10===e?r.comp.compInterface(t.p.v):s()}}return{createEffectsInterface:function(s,t){if(s.effectsManager){var e,a=[],r=s.data.ef,i=s.effectsManager.effectElements.length;for(e=0;e<i;e+=1)a.push(l(r[e],s.effectsManager.effectElements[e],t,s));return function(t){for(var e=s.data.ef||[],r=0,i=e.length;r<i;){if(t===e[r].nm||t===e[r].mn||t===e[r].ix)return a[r];r+=1}}}}}}(),MaskManagerInterface=function(){function a(t,e){this._mask=t,this._data=e}Object.defineProperty(a.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(a.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}});return function(e,t){var r,i=createSizedArray(e.viewData.length),s=e.viewData.length;for(r=0;r<s;r+=1)i[r]=new a(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<s;){if(e.masksProperties[r].nm===t)return i[r];r+=1}}}}(),ExpressionPropertyInterface=function(){var s={pv:0,v:0,mult:1},n={pv:[0,0,0],v:[0,0,0],mult:1};function o(i,s,a){Object.defineProperty(i,"velocity",{get:function(){return s.getVelocityAtTime(s.comp.currentFrame)}}),i.numKeys=s.keyframes?s.keyframes.length:0,i.key=function(t){if(i.numKeys){var e="";e="s"in s.keyframes[t-1]?s.keyframes[t-1].s:"e"in s.keyframes[t-2]?s.keyframes[t-2].e:s.keyframes[t-2].s;var r="unidimensional"===a?new Number(e):Object.assign({},e);return r.time=s.keyframes[t-1].t/s.elem.comp.globalData.frameRate,r}return 0},i.valueAtTime=s.getValueAtTime,i.speedAtTime=s.getSpeedAtTime,i.velocityAtTime=s.getVelocityAtTime,i.propertyGroup=s.propertyGroup}function e(){return s}return function(t){return t?"unidimensional"===t.propType?function(t){t&&"pv"in t||(t=s);var e=1/t.mult,r=t.pv*e,i=new Number(r);return i.value=r,o(i,t,"unidimensional"),function(){return t.k&&t.getValue(),r=t.v*e,i.value!==r&&((i=new Number(r)).value=r,o(i,t,"unidimensional")),i}}(t):function(e){e&&"pv"in e||(e=n);var r=1/e.mult,i=e.pv.length,s=createTypedArray("float32",i),a=createTypedArray("float32",i);return s.value=a,o(s,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<i;t+=1)s[t]=a[t]=e.v[t]*r;return s}}(t):e}}(),q5,r5;function SliderEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function AngleEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function ColorEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function PointEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function LayerIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function MaskIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function CheckboxEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(){}function EffectsManager(t,e){var r=t.ef||[];this.effectElements=[];var i,s,a=r.length;for(i=0;i<a;i++)s=new GroupEffect(r[i],e),this.effectElements.push(s)}function GroupEffect(t,e){this.init(t,e)}q5=function(){function r(t,e){return this.textIndex=t+1,this.textTotal=e,this.v=this.getValue()*this.mult,this.v}return function(t,e){this.pv=1,this.comp=t.comp,this.elem=t,this.mult=.01,this.propType="textSelector",this.textTotal=e.totalChars,this.selectorValue=100,this.lastValue=[1,1,1],this.k=!0,this.x=!0,this.getValue=ExpressionManager.initiateExpression.bind(this)(t,e,this),this.getMult=r,this.getVelocityAtTime=expressionHelpers.getVelocityAtTime,this.kf?this.getValueAtTime=expressionHelpers.getValueAtTime.bind(this):this.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(this),this.setGroupProperty=expressionHelpers.setGroupProperty}}(),r5=TextSelectorProp.getTextSelectorProp,TextSelectorProp.getTextSelectorProp=function(t,e,r){return 1===e.t?new q5(t,e,r):r5(t,e,r)},extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var r,i,s=this.data.ef.length,a=this.data.ef;for(r=0;r<s;r+=1){switch(i=null,a[r].ty){case 0:i=new SliderEffect(a[r],e,this);break;case 1:i=new AngleEffect(a[r],e,this);break;case 2:i=new ColorEffect(a[r],e,this);break;case 3:i=new PointEffect(a[r],e,this);break;case 4:case 7:i=new CheckboxEffect(a[r],e,this);break;case 10:i=new LayerIndexEffect(a[r],e,this);break;case 11:i=new MaskIndexEffect(a[r],e,this);break;case 5:i=new EffectsManager(a[r],e,this);break;default:i=new NoValueEffect(a[r],e,this)}i&&this.effectElements.push(i)}};var lottie={},_isFrozen=!1;function setLocationHref(t){locationHref=t}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){subframeEnabled=t}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"==typeof t)switch(t){case"high":defaultCurveSegments=200;break;case"medium":defaultCurveSegments=50;break;case"low":defaultCurveSegments=10}else!isNaN(t)&&1<t&&(defaultCurveSegments=t);roundValues(!(50<=defaultCurveSegments))}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&(expressionsPlugin=e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r<e.length;r++){var i=e[r].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocationHref,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.__getFactory=getFactory,lottie.version="5.6.5";var standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""},queryString=myScript.src.replace(/^[^\?]+\??/,"");renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);
14
+ return lottie;
15
+ }));
assets/js/uagb-lottie.js ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ( function( $ ) {
2
+
3
+ UAGBLottie = {
4
+
5
+ _run: function( attr, id ) {
6
+
7
+ var animation = bodymovin.loadAnimation({
8
+ container: document.getElementsByClassName(id)[0],
9
+ renderer: 'svg',
10
+ loop: attr['loop'],
11
+ autoplay: ( 'none' === attr['playOn'] ) ? true : false ,
12
+ path: attr['lottieURl'],
13
+ rendererSettings: {
14
+ preserveAspectRatio: 'xMidYMid',
15
+ className:"uagb-lottie-inner-wrap"
16
+ }
17
+ })
18
+
19
+ animation.setSpeed(attr['speed'])
20
+
21
+ const reversedir = ( attr['reverse'] && attr['loop'] ) ? -1 : 1
22
+
23
+ animation.setDirection(reversedir)
24
+
25
+ if( 'hover' === attr['playOn']){
26
+ document.getElementsByClassName(id)[0].addEventListener("mouseenter", function() {
27
+ animation.play()
28
+ });
29
+ document.getElementsByClassName(id)[0].addEventListener("mouseleave", function() {
30
+ animation.stop()
31
+ });
32
+ } else if ( 'click' === attr['playOn']){
33
+ document.getElementsByClassName(id)[0].addEventListener("click", function() {
34
+ animation.stop();
35
+ animation.play();
36
+ });
37
+ } else if ( 'scroll' === attr['playOn']) {
38
+ window.addEventListener("scroll", function() {
39
+ animation.stop();
40
+ animation.play();
41
+ });
42
+ }
43
+ }
44
+ }
45
+
46
+ } )( jQuery );
classes/class-uagb-admin-helper.php CHANGED
@@ -212,6 +212,11 @@ if ( ! class_exists( 'UAGB_Admin_Helper' ) ) {
212
  case 'post-grid':
213
  case 'post-carousel':
214
  case 'post-masonry':
 
 
 
 
 
215
  if ( ! $is_already_post ) {
216
  $combined[] = 'post';
217
  $is_already_post = true;
212
  case 'post-grid':
213
  case 'post-carousel':
214
  case 'post-masonry':
215
+ case 'post-title':
216
+ case 'post-image':
217
+ case 'post-button':
218
+ case 'post-excerpt':
219
+ case 'post-meta':
220
  if ( ! $is_already_post ) {
221
  $combined[] = 'post';
222
  $is_already_post = true;
classes/class-uagb-block-helper.php CHANGED
@@ -2365,7 +2365,7 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
2365
  }
2366
 
2367
  /**
2368
- * Get Content Timeline Block CSS
2369
  *
2370
  * @since 0.0.1
2371
  * @param array $attr The block attributes.
@@ -2382,67 +2382,154 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
2382
  $t_selectors = array();
2383
  $m_selectors = array();
2384
 
 
 
2385
  $selectors = array(
2386
- ' .uagb-timeline__heading' => array(
2387
- 'text-align' => $attr['align'],
2388
- 'color' => $attr['headingColor'],
2389
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2390
- 'font-family' => $attr['headFontFamily'],
2391
- 'font-weight' => $attr['headFontWeight'],
2392
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2393
  ),
2394
- ' .uagb-timeline__heading-text' => array(
2395
  'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' ),
2396
  ),
2397
  ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
2398
  'color' => $attr['iconFocus'],
2399
  ),
2400
- );
2401
-
2402
- $desktop_selectors = self::get_timeline_selectors( $attr );
2403
- $selectors = array_merge( $selectors, $desktop_selectors );
2404
-
2405
- $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2406
- $t_selectors = array(
2407
- ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
2408
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2409
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2410
  ),
2411
- ' .uagb-timeline__date-new' => array(
2412
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2413
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2414
  ),
2415
- ' .uagb-timeline__heading' => array(
2416
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2417
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2418
  ),
2419
- ' .uagb-timeline-desc-content' => array(
2420
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
2421
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2422
  ),
2423
- );
2424
- $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2425
-
2426
- $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2427
- $m_selectors = array(
2428
  ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
2429
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2430
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2431
  ),
2432
- ' .uagb-timeline__date-new' => array(
2433
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2434
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
 
 
 
 
 
 
2435
  ),
2436
- ' .uagb-timeline__heading' => array(
2437
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2438
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2439
  ),
2440
- ' .uagb-timeline-desc-content' => array(
2441
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
2442
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
 
 
 
 
 
 
 
 
 
 
 
2443
  ),
2444
  );
2445
- $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2446
 
2447
  $combined_selectors = array(
2448
  'desktop' => $selectors,
@@ -2451,8 +2538,10 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
2451
  );
2452
 
2453
  $base_selector = ( $attr['classMigrate'] ) ? '.uagb-block-' : '#uagb-ctm-';
 
2454
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'date', ' .uagb-timeline__date-new', $combined_selectors );
2455
-
 
2456
  return UAGB_Helper::generate_all_css( $combined_selectors, $base_selector . $id );
2457
  }
2458
 
@@ -2566,7 +2655,7 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
2566
 
2567
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'date', ' .uagb-timeline__date-hide.uagb-timeline__date-inner', $combined_selectors );
2568
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'date', ' .uagb-timeline__date-new', $combined_selectors );
2569
- $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'subHead', ' .uagb-timeline-desc-content', $combined_selectors );
2570
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'author', ' .uagb-timeline__author-link', $combined_selectors );
2571
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'cta', ' .uagb-timeline__link', $combined_selectors );
2572
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'head', ' .uagb-timeline__heading a', $combined_selectors );
@@ -2946,37 +3035,48 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
2946
  */
2947
  public static function get_post_selectors( $attr ) {
2948
  $selectors = array(
2949
- ' .uagb-post__items' => array(
2950
  'margin-right' => UAGB_Helper::get_css_value( ( -$attr['rowGap'] / 2 ), 'px' ),
2951
  'margin-left' => UAGB_Helper::get_css_value( ( -$attr['rowGap'] / 2 ), 'px' ),
2952
  ),
2953
- ' .uagb-post__items article' => array(
2954
  'padding-right' => UAGB_Helper::get_css_value( ( $attr['rowGap'] / 2 ), 'px' ),
2955
  'padding-left' => UAGB_Helper::get_css_value( ( $attr['rowGap'] / 2 ), 'px' ),
2956
  'margin-bottom' => UAGB_Helper::get_css_value( ( $attr['columnGap'] ), 'px' ),
2957
  ),
2958
- ' .uagb-post__inner-wrap' => array(
2959
  'background' => $attr['bgColor'],
2960
- ),
2961
- ' .uagb-post__text' => array(
2962
  'padding' => UAGB_Helper::get_css_value( ( $attr['contentPadding'] ), 'px' ),
2963
  'text-align' => $attr['align'],
2964
  ),
2965
- ' .uagb-post__text .uagb-post__title' => array(
 
 
 
 
 
 
 
2966
  'margin-bottom' => UAGB_Helper::get_css_value( $attr['titleBottomSpace'], 'px' ),
2967
  ),
2968
- ' .uagb-post__text .uagb-post-grid-byline' => array(
2969
  'margin-bottom' => UAGB_Helper::get_css_value( $attr['metaBottomSpace'], 'px' ),
2970
  ),
2971
- ' .uagb-post__text .uagb-post__excerpt' => array(
2972
  'margin-bottom' => UAGB_Helper::get_css_value( $attr['excerptBottomSpace'], 'px' ),
2973
  ),
2974
- ' .uagb-post__image:before' => array(
2975
  'background-color' => $attr['bgOverlayColor'],
2976
  'opacity' => ( $attr['overlayOpacity'] / 100 ),
2977
  ),
2978
  );
2979
-
 
 
 
 
 
 
2980
  if ( ! $attr['inheritFromTheme'] ) {
2981
  $selectors[' .uagb-post__text .uagb-post__title']['color'] = $attr['titleColor'];
2982
  $selectors[' .uagb-post__text .uagb-post__title a'] = array(
@@ -3025,7 +3125,7 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
3025
  public static function get_post_mobile_selectors( $attr ) {
3026
 
3027
  return array(
3028
- ' .uagb-post__text' => array(
3029
  'padding' => ( $attr['contentPaddingMobile'] ) . 'px',
3030
  ),
3031
  );
@@ -3269,26 +3369,23 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
3269
  ' .uagb-timeline__heading-text' => array(
3270
  'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' ),
3271
  ),
3272
- ' .uagb-timeline-desc-content' => array(
3273
  'text-align' => $attr['align'],
3274
  'color' => $attr['subHeadingColor'],
3275
  ),
3276
  ' .uagb-timeline__events-new' => array(
3277
  'text-align' => $attr['align'],
3278
  ),
3279
- ' .uagb-timeline__date-inner' => array(
3280
- 'text-align' => $attr['align'],
3281
- ),
3282
- ' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3283
  'border-left-color' => $attr['backgroundColor'],
3284
  ),
3285
- ' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3286
  'border-left-color' => $attr['backgroundColor'],
3287
  ),
3288
- ' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3289
  'border-right-color' => $attr['backgroundColor'],
3290
  ),
3291
- ' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3292
  'border-right-color' => $attr['backgroundColor'],
3293
  ),
3294
  ' .uagb-timeline__line__inner' => array(
@@ -3790,6 +3887,23 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
3790
  'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3791
  'text-align' => $attr['align'],
3792
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3793
  ' select' => array(
3794
  'background-color' => $attr['fieldBgColor'],
3795
  'border-style' => $attr['fieldBorderStyle'],
@@ -4153,7 +4267,7 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
4153
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'successMsg', ' .gform_confirmation_message', $combined_selectors );
4154
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'msg', ' .gform_wrapper div.validation_error', $combined_selectors );
4155
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'msg', ' .wpgf-response-output', $combined_selectors );
4156
- $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'button', ' input.gform_button', $combined_selectors );
4157
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'label', ' form .gfield_checkbox label.gfield_label', $combined_selectors );
4158
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'label', ' form .gfield_radio label.gfield_label', $combined_selectors );
4159
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'label', ' form label.gfield_label', $combined_selectors );
@@ -4950,5 +5064,58 @@ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
4950
 
4951
  return UAGB_Helper::generate_all_css( $combined_selectors, '.uagb-block-' . $id );
4952
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4953
  }
4954
  }
2365
  }
2366
 
2367
  /**
2368
+ * Get Content Timeline Parent Block CSS
2369
  *
2370
  * @since 0.0.1
2371
  * @param array $attr The block attributes.
2382
  $t_selectors = array();
2383
  $m_selectors = array();
2384
 
2385
+ $connector_size = UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' );
2386
+
2387
  $selectors = array(
2388
+ ' .uagb-timeline__heading' => array(
2389
+ 'text-align' => $attr['align'],
2390
+ 'color' => $attr['headingColor'],
 
 
 
 
2391
  ),
2392
+ ' .uagb-timeline__heading-text' => array(
2393
  'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' ),
2394
  ),
2395
  ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
2396
  'color' => $attr['iconFocus'],
2397
  ),
2398
+ ' .uagb-timeline__heading-text' => array(
2399
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' ),
 
 
 
 
 
 
 
 
2400
  ),
2401
+ ' p.uagb-timeline-desc-content' => array(
2402
+ 'text-align' => $attr['align'],
2403
+ 'color' => $attr['subHeadingColor'],
2404
  ),
2405
+ ' .uagb-timeline__events-new' => array(
2406
+ 'text-align' => $attr['align'],
 
2407
  ),
2408
+ ' .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
2409
+ 'border-left-color' => $attr['backgroundColor'],
2410
+ ),
2411
+ ' .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
2412
+ 'border-right-color' => $attr['backgroundColor'],
2413
+ ),
2414
+ ' .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
2415
+ 'border-left-color' => $attr['backgroundColor'],
2416
+ ),
2417
+ ' .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
2418
+ 'border-right-color' => $attr['backgroundColor'],
2419
+ ),
2420
+ ' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
2421
+ 'border-left-color' => $attr['backgroundColor'],
2422
+ ),
2423
+ ' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
2424
+ 'border-left-color' => $attr['backgroundColor'],
2425
+ ),
2426
+ ' .uagb-timeline__right-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
2427
+ 'border-left-color' => $attr['backgroundColor'],
2428
+ ),
2429
+ ' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
2430
+ 'border-right-color' => $attr['backgroundColor'],
2431
+ ),
2432
+ ' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
2433
+ 'border-right-color' => $attr['backgroundColor'],
2434
+ ),
2435
+ ' .uagb-timeline__line__inner' => array(
2436
+ 'background-color' => $attr['separatorFillColor'],
2437
+ ),
2438
+ ' .uagb-timeline__line' => array(
2439
+ 'background-color' => $attr['separatorColor'],
2440
+ 'width' => UAGB_Helper::get_css_value( $attr['separatorwidth'], 'px' ),
2441
+ ),
2442
+ ' .uagb-timeline__right-block .uagb-timeline__line' => array(
2443
+ 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
2444
+ ),
2445
+ ' .uagb-timeline__left-block .uagb-timeline__line' => array(
2446
+ 'left' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
2447
+ ),
2448
+ ' .uagb-timeline__center-block .uagb-timeline__line' => array(
2449
+ 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
2450
+ ),
2451
+ ' .uagb-timeline__marker' => array(
2452
+ 'background-color' => $attr['separatorBg'],
2453
+ 'min-height' => $connector_size,
2454
+ 'min-width' => $connector_size,
2455
+ 'line-height' => $connector_size,
2456
+ 'border' => $attr['borderwidth'] . 'px solid' . $attr['separatorBorder'],
2457
+ ),
2458
+ ' .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow' => array(
2459
+ 'height' => $connector_size,
2460
+ ),
2461
+ ' .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow' => array(
2462
+ 'height' => $connector_size,
2463
+ ),
2464
+ ' .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow' => array(
2465
+ 'height' => $connector_size,
2466
+ ),
2467
+ ' .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow' => array(
2468
+ 'height' => $connector_size,
2469
+ ),
2470
+ ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
2471
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
2472
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
2473
+ ),
2474
+ ' .uagb-timeline__field' => array(
2475
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['verticalSpace'], 'px' ),
2476
  ),
 
 
 
 
 
2477
  ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
2478
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['dateBottomspace'], 'px' ),
2479
+ 'color' => $attr['dateColor'],
2480
+ 'text-align' => $attr['align'],
2481
+ ),
2482
+ ' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
2483
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
2484
+ ),
2485
+ ' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
2486
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
2487
+ ),
2488
+ ' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
2489
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
2490
+ ),
2491
+ ' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
2492
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
2493
+ ),
2494
+ ' .uagb-timeline__date-new' => array(
2495
+ 'color' => $attr['dateColor'],
2496
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
2497
+ ),
2498
+ ' .uagb-timeline__events-inner-new' => array(
2499
+ 'background-color' => $attr['backgroundColor'],
2500
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
2501
+ 'padding' => UAGB_Helper::get_css_value( $attr['bgPadding'], 'px' ),
2502
  ),
2503
+ ' .uagb-timeline__main .uagb-timeline__icon-new' => array(
2504
+ 'color' => $attr['iconColor'],
2505
+ 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
2506
+ ),
2507
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new svg' => array(
2508
+ 'fill' => $attr['iconFocus'],
2509
+ ),
2510
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
2511
+ 'color' => $attr['iconFocus'],
2512
  ),
2513
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon' => array(
2514
+ 'background' => $attr['iconBgFocus'],
2515
+ 'border-color' => $attr['borderFocus'],
2516
  ),
2517
+ ' .uagb-timeline__main .uagb-timeline__icon-new svg' => array(
2518
+ 'fill' => $attr['iconColor'],
2519
+ ),
2520
+ );
2521
+
2522
+ $m_selectors = array(
2523
+ ' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
2524
+ 'border-right-color' => $attr['backgroundColor'],
2525
+ ),
2526
+ );
2527
+
2528
+ $t_selectors = array(
2529
+ ' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
2530
+ 'border-right-color' => $attr['backgroundColor'],
2531
  ),
2532
  );
 
2533
 
2534
  $combined_selectors = array(
2535
  'desktop' => $selectors,
2538
  );
2539
 
2540
  $base_selector = ( $attr['classMigrate'] ) ? '.uagb-block-' : '#uagb-ctm-';
2541
+ $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'head', ' .uagb-timeline__heading', $combined_selectors );
2542
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'date', ' .uagb-timeline__date-new', $combined_selectors );
2543
+ $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'date', ' .uagb-timeline__date-hide.uagb-timeline__date-inner', $combined_selectors );
2544
+ $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'subHead', ' p.uagb-timeline-desc-content', $combined_selectors );
2545
  return UAGB_Helper::generate_all_css( $combined_selectors, $base_selector . $id );
2546
  }
2547
 
2655
 
2656
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'date', ' .uagb-timeline__date-hide.uagb-timeline__date-inner', $combined_selectors );
2657
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'date', ' .uagb-timeline__date-new', $combined_selectors );
2658
+ $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'subHead', ' p.uagb-timeline-desc-content', $combined_selectors );
2659
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'author', ' .uagb-timeline__author-link', $combined_selectors );
2660
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'cta', ' .uagb-timeline__link', $combined_selectors );
2661
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'head', ' .uagb-timeline__heading a', $combined_selectors );
3035
  */
3036
  public static function get_post_selectors( $attr ) {
3037
  $selectors = array(
3038
+ ' .uagb-post__items' => array(
3039
  'margin-right' => UAGB_Helper::get_css_value( ( -$attr['rowGap'] / 2 ), 'px' ),
3040
  'margin-left' => UAGB_Helper::get_css_value( ( -$attr['rowGap'] / 2 ), 'px' ),
3041
  ),
3042
+ ' .uagb-post__items article' => array(
3043
  'padding-right' => UAGB_Helper::get_css_value( ( $attr['rowGap'] / 2 ), 'px' ),
3044
  'padding-left' => UAGB_Helper::get_css_value( ( $attr['rowGap'] / 2 ), 'px' ),
3045
  'margin-bottom' => UAGB_Helper::get_css_value( ( $attr['columnGap'] ), 'px' ),
3046
  ),
3047
+ ' .uagb-post__inner-wrap' => array(
3048
  'background' => $attr['bgColor'],
 
 
3049
  'padding' => UAGB_Helper::get_css_value( ( $attr['contentPadding'] ), 'px' ),
3050
  'text-align' => $attr['align'],
3051
  ),
3052
+
3053
+ ' .uagb-post__cta' => array(
3054
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['ctaBottomSpace'], 'px' ),
3055
+ ),
3056
+ ' .uagb-post__image' => array(
3057
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['imageBottomSpace'], 'px' ),
3058
+ ),
3059
+ ' .uagb-post__title' => array(
3060
  'margin-bottom' => UAGB_Helper::get_css_value( $attr['titleBottomSpace'], 'px' ),
3061
  ),
3062
+ ' .uagb-post-grid-byline' => array(
3063
  'margin-bottom' => UAGB_Helper::get_css_value( $attr['metaBottomSpace'], 'px' ),
3064
  ),
3065
+ ' .uagb-post__excerpt' => array(
3066
  'margin-bottom' => UAGB_Helper::get_css_value( $attr['excerptBottomSpace'], 'px' ),
3067
  ),
3068
+ ' .uagb-post__image:before' => array(
3069
  'background-color' => $attr['bgOverlayColor'],
3070
  'opacity' => ( $attr['overlayOpacity'] / 100 ),
3071
  ),
3072
  );
3073
+ if ( 'background' !== $attr['imgPosition'] ) {
3074
+ $selectors[' .uagb-post__inner-wrap > .uagb-post__image:first-child'] = array(
3075
+ 'margin-top' => UAGB_Helper::get_css_value( ( -$attr['contentPadding'] ), 'px' ),
3076
+ 'margin-left' => UAGB_Helper::get_css_value( ( -$attr['contentPadding'] ), 'px' ),
3077
+ 'margin-right' => UAGB_Helper::get_css_value( ( -$attr['contentPadding'] ), 'px' ),
3078
+ );
3079
+ }
3080
  if ( ! $attr['inheritFromTheme'] ) {
3081
  $selectors[' .uagb-post__text .uagb-post__title']['color'] = $attr['titleColor'];
3082
  $selectors[' .uagb-post__text .uagb-post__title a'] = array(
3125
  public static function get_post_mobile_selectors( $attr ) {
3126
 
3127
  return array(
3128
+ ' .uagb-post__inner-wrap' => array(
3129
  'padding' => ( $attr['contentPaddingMobile'] ) . 'px',
3130
  ),
3131
  );
3369
  ' .uagb-timeline__heading-text' => array(
3370
  'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' ),
3371
  ),
3372
+ ' p.uagb-timeline-desc-content' => array(
3373
  'text-align' => $attr['align'],
3374
  'color' => $attr['subHeadingColor'],
3375
  ),
3376
  ' .uagb-timeline__events-new' => array(
3377
  'text-align' => $attr['align'],
3378
  ),
3379
+ ' .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
 
 
 
3380
  'border-left-color' => $attr['backgroundColor'],
3381
  ),
3382
+ ' .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3383
  'border-left-color' => $attr['backgroundColor'],
3384
  ),
3385
+ ' .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3386
  'border-right-color' => $attr['backgroundColor'],
3387
  ),
3388
+ ' .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3389
  'border-right-color' => $attr['backgroundColor'],
3390
  ),
3391
  ' .uagb-timeline__line__inner' => array(
3887
  'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3888
  'text-align' => $attr['align'],
3889
  ),
3890
+ ' input[type=button]' => array(
3891
+ 'color' => $attr['buttonTextColor'],
3892
+ 'background-color' => $attr['buttonBgColor'],
3893
+ 'border-color' => $attr['buttonBorderColor'],
3894
+ 'border-style' => $attr['buttonBorderStyle'],
3895
+ 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3896
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3897
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3898
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3899
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3900
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3901
+ ),
3902
+ ' input[type=button]:hover' => array(
3903
+ 'color' => $attr['buttonTextHoverColor'],
3904
+ 'background-color' => $attr['buttonBgHoverColor'],
3905
+ 'border-color' => $attr['buttonBorderHoverColor'],
3906
+ ),
3907
  ' select' => array(
3908
  'background-color' => $attr['fieldBgColor'],
3909
  'border-style' => $attr['fieldBorderStyle'],
4267
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'successMsg', ' .gform_confirmation_message', $combined_selectors );
4268
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'msg', ' .gform_wrapper div.validation_error', $combined_selectors );
4269
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'msg', ' .wpgf-response-output', $combined_selectors );
4270
+ $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'button', ' input.gform_button, input.gform_previous_button, input.gform_next_button', $combined_selectors );
4271
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'label', ' form .gfield_checkbox label.gfield_label', $combined_selectors );
4272
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'label', ' form .gfield_radio label.gfield_label', $combined_selectors );
4273
  $combined_selectors = UAGB_Helper::get_typography_css( $attr, 'label', ' form label.gfield_label', $combined_selectors );
5064
 
5065
  return UAGB_Helper::generate_all_css( $combined_selectors, '.uagb-block-' . $id );
5066
  }
5067
+
5068
+ /**
5069
+ * Get Lottie CSS.
5070
+ *
5071
+ * @since 1.20.0
5072
+ * @param array $attr The block attributes.
5073
+ * @param string $id The selector ID.
5074
+ */
5075
+ public static function get_lottie_css( $attr, $id ) {
5076
+
5077
+ $defaults = UAGB_Helper::$block_list['uagb/lottie']['attributes'];
5078
+ $attr = array_merge( $defaults, $attr );
5079
+
5080
+ $selectors = array();
5081
+ $t_selectors = array();
5082
+ $m_selectors = array();
5083
+
5084
+ $selectors = array(
5085
+ '.uagb-lottie__outer-wrap' => array(
5086
+ 'width' => UAGB_Helper::get_css_value( $attr['width'], 'px' ),
5087
+ 'height' => UAGB_Helper::get_css_value( $attr['height'], 'px' ),
5088
+ 'overflow' => 'hidden',
5089
+ 'margin' => '0px auto',
5090
+ 'outline' => 'none',
5091
+ 'background-color' => $attr['backgroundColor'],
5092
+ ),
5093
+ );
5094
+ $selectors['.uagb-lottie__outer-wrap:hover'] = array(
5095
+ 'background' => $attr['backgroundHColor'],
5096
+ );
5097
+
5098
+ $t_selectors = array(
5099
+ '.uagb-lottie__outer-wrap' => array(
5100
+ 'width' => UAGB_Helper::get_css_value( $attr['widthTablet'], 'px' ),
5101
+ 'height' => UAGB_Helper::get_css_value( $attr['heightTablet'], 'px' ),
5102
+ ),
5103
+ );
5104
+
5105
+ $m_selectors = array(
5106
+ '.uagb-lottie__outer-wrap' => array(
5107
+ 'width' => UAGB_Helper::get_css_value( $attr['widthMob'], 'px' ),
5108
+ 'height' => UAGB_Helper::get_css_value( $attr['heightMob'], 'px' ),
5109
+ ),
5110
+ );
5111
+
5112
+ $combined_selectors = array(
5113
+ 'desktop' => $selectors,
5114
+ 'tablet' => $t_selectors,
5115
+ 'mobile' => $m_selectors,
5116
+ );
5117
+
5118
+ return UAGB_Helper::generate_all_css( $combined_selectors, '.uagb-block-' . $id );
5119
+ }
5120
  }
5121
  }
classes/class-uagb-block-js.php CHANGED
@@ -31,6 +31,7 @@ if ( ! class_exists( 'UAGB_Block_JS' ) ) {
31
 
32
  $dots = ( 'dots' === $attr['arrowDots'] || 'arrowDots' === $attr['arrowDots'] ) ? true : false;
33
  $arrows = ( 'arrows' === $attr['arrowDots'] || 'arrowDots' === $attr['arrowDots'] ) ? true : false;
 
34
 
35
  $slick_options = apply_filters(
36
  'uagb_testimonials_slick_options',
@@ -44,7 +45,7 @@ if ( ! class_exists( 'UAGB_Block_JS' ) ) {
44
  'speed' => $attr['transitionSpeed'],
45
  'arrows' => $arrows,
46
  'dots' => $dots,
47
- 'rtl' => false,
48
  'prevArrow' => '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button" style="border-color: ' . $attr['arrowColor'] . ';border-radius:' . $attr['arrowBorderRadius'] . 'px;border-width:' . $attr['arrowBorderSize'] . 'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="' . $attr['arrowSize'] . '" width = "' . $attr['arrowSize'] . '" fill ="' . $attr['arrowColor'] . '" ><path d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></button>',
49
  'nextArrow' => '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button" style="border-color: ' . $attr['arrowColor'] . ';border-radius:' . $attr['arrowBorderRadius'] . 'px;border-width:' . $attr['arrowBorderSize'] . 'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="' . $attr['arrowSize'] . '" width = "' . $attr['arrowSize'] . '" fill ="' . $attr['arrowColor'] . '" ><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></button>',
50
  'responsive' => array(
@@ -212,6 +213,31 @@ if ( ! class_exists( 'UAGB_Block_JS' ) ) {
212
 
213
  }
214
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
215
  /**
216
  * Adds Google fonts for Advanced Heading block.
217
  *
31
 
32
  $dots = ( 'dots' === $attr['arrowDots'] || 'arrowDots' === $attr['arrowDots'] ) ? true : false;
33
  $arrows = ( 'arrows' === $attr['arrowDots'] || 'arrowDots' === $attr['arrowDots'] ) ? true : false;
34
+ $is_rtl = is_rtl();
35
 
36
  $slick_options = apply_filters(
37
  'uagb_testimonials_slick_options',
45
  'speed' => $attr['transitionSpeed'],
46
  'arrows' => $arrows,
47
  'dots' => $dots,
48
+ 'rtl' => $is_rtl,
49
  'prevArrow' => '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button" style="border-color: ' . $attr['arrowColor'] . ';border-radius:' . $attr['arrowBorderRadius'] . 'px;border-width:' . $attr['arrowBorderSize'] . 'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="' . $attr['arrowSize'] . '" width = "' . $attr['arrowSize'] . '" fill ="' . $attr['arrowColor'] . '" ><path d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></button>',
50
  'nextArrow' => '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button" style="border-color: ' . $attr['arrowColor'] . ';border-radius:' . $attr['arrowBorderRadius'] . 'px;border-width:' . $attr['arrowBorderSize'] . 'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="' . $attr['arrowSize'] . '" width = "' . $attr['arrowSize'] . '" fill ="' . $attr['arrowColor'] . '" ><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></button>',
51
  'responsive' => array(
213
 
214
  }
215
 
216
+ /**
217
+ * Get UAGB Lottie Js
218
+ *
219
+ * @since 1.20.0
220
+ * @param array $attr The block attributes.
221
+ * @param string $id The selector ID.
222
+ */
223
+ public static function get_lottie_js( $attr, $id ) {
224
+
225
+ $defaults = UAGB_Helper::$block_list['uagb/lottie']['attributes'];
226
+
227
+ $attr = array_merge( $defaults, (array) $attr );
228
+ $base_selector = 'uagb-block-';
229
+ $selector = $base_selector . $id;
230
+
231
+ ob_start();
232
+ ?>
233
+ jQuery( document ).ready(function() {
234
+ UAGBLottie._run( <?php echo wp_json_encode( $attr ); ?>, '<?php echo esc_attr( $selector ); ?>' );
235
+ });
236
+ <?php
237
+ return ob_get_clean();
238
+
239
+ }
240
+
241
  /**
242
  * Adds Google fonts for Advanced Heading block.
243
  *
classes/class-uagb-config.php CHANGED
@@ -41,7 +41,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
41
 
42
  if ( null === self::$block_attributes ) {
43
  self::$block_attributes = array(
44
- 'uagb/advanced-heading' => array(
45
  'slug' => '',
46
  'title' => __( 'Advanced Heading', 'ultimate-addons-for-gutenberg' ),
47
  'description' => __( 'This block lets you add a combination of a heading and a sub-heading with a separator in between.', 'ultimate-addons-for-gutenberg' ),
@@ -84,7 +84,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
84
  'separatorSpace' => 15,
85
  ),
86
  ),
87
- 'uagb/columns' => array(
88
  'slug' => '',
89
  'title' => __( 'Advanced Columns', 'ultimate-addons-for-gutenberg' ),
90
  'description' => __( 'This block gives you advanced options to insert a number of columns within a single row.', 'ultimate-addons-for-gutenberg' ),
@@ -171,7 +171,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
171
  'gradientValue' => '',
172
  ),
173
  ),
174
- 'uagb/column' => array(
175
  'slug' => '',
176
  'title' => __( 'Column', 'ultimate-addons-for-gutenberg' ),
177
  'description' => __( 'This block is an immediate child of Advanced Columns.', 'ultimate-addons-for-gutenberg' ),
@@ -246,7 +246,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
246
 
247
  ),
248
  ),
249
- 'uagb/blockquote' => array(
250
  'slug' => '',
251
  'title' => __( 'Blockquote', 'ultimate-addons-for-gutenberg' ),
252
  'description' => __( 'This block allows you to display your Blockquote.', 'ultimate-addons-for-gutenberg' ),
@@ -341,7 +341,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
341
  'quotePaddingMobile' => '',
342
  ),
343
  ),
344
- 'uagb/call-to-action' => array(
345
  'slug' => '',
346
  'title' => __( 'Call To Action', 'ultimate-addons-for-gutenberg' ),
347
  'description' => __( 'This block allows you to place an CTA along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
@@ -413,7 +413,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
413
  'ctaLinkHoverColor' => '',
414
  ),
415
  ),
416
- 'uagb/cf7-styler' => array(
417
  'slug' => '',
418
  'title' => __( 'Contact Form 7 Styler', 'ultimate-addons-for-gutenberg' ),
419
  'description' => __( 'This block allows you to add and style your Contact Form 7 forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
@@ -549,7 +549,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
549
  'buttonBorderRadiusType' => 'px',
550
  ),
551
  ),
552
- 'uagb/content-timeline' => array(
553
  'slug' => '',
554
  'title' => __( 'Content Timeline', 'ultimate-addons-for-gutenberg' ),
555
  'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
@@ -621,7 +621,33 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
621
  'stack' => 'tablet',
622
  ),
623
  ),
624
- 'uagb/faq' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
625
  'slug' => '',
626
  'title' => __( 'FAQ - Schema', 'ultimate-addons-for-gutenberg' ),
627
  'description' => __( 'This block helps you add FAQ or Accordion with automatically adding FAQ Schema to your page.', 'ultimate-addons-for-gutenberg' ),
@@ -715,7 +741,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
715
  'questionBottomPaddingMobile' => 10,
716
  ),
717
  ),
718
- 'uagb/faq-child' => array(
719
  'slug' => '',
720
  'title' => __( 'FAQ - Schema Child', 'ultimate-addons-for-gutenberg' ),
721
  'description' => __( 'This block helps you add single FAQ.', 'ultimate-addons-for-gutenberg' ),
@@ -730,7 +756,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
730
  'layout' => 'accordion',
731
  ),
732
  ),
733
- 'uagb/gf-styler' => array(
734
  'slug' => '',
735
  'title' => __( 'Gravity Form Styler', 'ultimate-addons-for-gutenberg' ),
736
  'description' => __( 'This block allows you to add and style your Gravity Forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
@@ -883,7 +909,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
883
  'successMsgLoadGoogleFonts' => false,
884
  ),
885
  ),
886
- 'uagb/google-map' => array(
887
  'slug' => '',
888
  'title' => __( 'Google Map', 'ultimate-addons-for-gutenberg' ),
889
  'description' => __( 'This block allows you to place a Google Map Location.', 'ultimate-addons-for-gutenberg' ),
@@ -894,7 +920,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
894
  'language' => 'en',
895
  ),
896
  ),
897
- 'uagb/how-to' => array(
898
  'slug' => '',
899
  'title' => __( 'How-to Schema', 'ultimate-addons-for-gutenberg' ),
900
  'description' => __( 'This block allows you to design attractive How-to pages or articles with automatically adding How-to Schema to your page.', 'ultimate-addons-for-gutenberg' ),
@@ -967,7 +993,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
967
  'schema' => '',
968
  ),
969
  ),
970
- 'uagb/icon-list' => array(
971
  'slug' => '',
972
  'title' => __( 'Icon List', 'ultimate-addons-for-gutenberg' ),
973
  'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
@@ -1020,7 +1046,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1020
  'stack' => 'none',
1021
  ),
1022
  ),
1023
- 'uagb/icon-list-child' => array(
1024
  'slug' => '',
1025
  'title' => __( 'Icon', 'ultimate-addons-for-gutenberg' ),
1026
  'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
@@ -1042,7 +1068,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1042
  'target' => false,
1043
  ),
1044
  ),
1045
- 'uagb/info-box' => array(
1046
  'slug' => '',
1047
  'title' => __( 'Info Box', 'ultimate-addons-for-gutenberg' ),
1048
  'description' => __( 'This block allows you to place an image or icon along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
@@ -1139,7 +1165,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1139
  'ctaIconSpace' => '5',
1140
  ),
1141
  ),
1142
- 'uagb/inline-notice' => array(
1143
  'slug' => '',
1144
  'title' => __( 'Inline Notice', 'ultimate-addons-for-gutenberg' ),
1145
  'description' => __( 'This block helps you add an inline notice.', 'ultimate-addons-for-gutenberg' ),
@@ -1192,7 +1218,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1192
 
1193
  ),
1194
  ),
1195
- 'uagb/marketing-button' => array(
1196
  'slug' => '',
1197
  'title' => __( 'Marketing Button', 'ultimate-addons-for-gutenberg' ),
1198
  'description' => __( 'This block allows you to place a Marketing Button with small description.', 'ultimate-addons-for-gutenberg' ),
@@ -1267,7 +1293,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1267
  'iconFontSizeMobile' => 20,
1268
  ),
1269
  ),
1270
- 'uagb/buttons' => array(
1271
  'slug' => '',
1272
  'title' => __( 'Multi Buttons', 'ultimate-addons-for-gutenberg' ),
1273
  'description' => __( 'This block allows you to add multiple buttons with a single block.', 'ultimate-addons-for-gutenberg' ),
@@ -1287,7 +1313,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1287
  'fontSubset' => '',
1288
  ),
1289
  ),
1290
- 'uagb/buttons-child' => array(
1291
  'slug' => '',
1292
  'title' => __( 'Button', 'ultimate-addons-for-gutenberg' ),
1293
  'description' => __( 'This block allows you to style button.', 'ultimate-addons-for-gutenberg' ),
@@ -1323,7 +1349,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1323
  'iconSpace' => 8,
1324
  ),
1325
  ),
1326
- 'uagb/post-carousel' => array(
1327
  'slug' => '',
1328
  'title' => __( 'Post Carousel', 'ultimate-addons-for-gutenberg' ),
1329
  'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a carousel layout.', 'ultimate-addons-for-gutenberg' ),
@@ -1396,6 +1422,8 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1396
  'contentPaddingMobile' => '',
1397
  'btnVPadding' => '5',
1398
  'btnHPadding' => '10',
 
 
1399
  'titleBottomSpace' => '15',
1400
  'metaBottomSpace' => '15',
1401
  'excerptBottomSpace' => '25',
@@ -1412,9 +1440,17 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1412
  'borderColor' => '',
1413
  'borderHColor' => '',
1414
  'borderRadius' => '0',
 
 
 
 
 
 
 
 
1415
  ),
1416
  ),
1417
- 'uagb/post-grid' => array(
1418
  'slug' => '',
1419
  'title' => __( 'Post Grid', 'ultimate-addons-for-gutenberg' ),
1420
  'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a grid layout.', 'ultimate-addons-for-gutenberg' ),
@@ -1485,6 +1521,8 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1485
  'contentPaddingMobile' => '',
1486
  'btnVPadding' => '5',
1487
  'btnHPadding' => '10',
 
 
1488
  'titleBottomSpace' => '15',
1489
  'metaBottomSpace' => '15',
1490
  'excerptBottomSpace' => '25',
@@ -1512,9 +1550,17 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1512
  'paginationAlignment' => 'left',
1513
  'paginationNextText' => '« Previous',
1514
  'paginationPrevText' => 'Next »',
 
 
 
 
 
 
 
 
1515
  ),
1516
  ),
1517
- 'uagb/post-masonry' => array(
1518
  'slug' => '',
1519
  'title' => __( 'Post Masonry', 'ultimate-addons-for-gutenberg' ),
1520
  'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a masonry layout.', 'ultimate-addons-for-gutenberg' ),
@@ -1587,6 +1633,8 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1587
  'contentPaddingMobile' => '',
1588
  'btnVPadding' => '5',
1589
  'btnHPadding' => '10',
 
 
1590
  'titleBottomSpace' => '15',
1591
  'metaBottomSpace' => '15',
1592
  'excerptBottomSpace' => '25',
@@ -1620,9 +1668,52 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1620
  'hpaginationButtonPaddingMobile' => 12,
1621
  'hpaginationButtonPaddingTablet' => 12,
1622
  'hpaginationButtonPaddingDesktop' => 12,
 
 
 
 
 
 
 
 
1623
  ),
1624
  ),
1625
- 'uagb/post-timeline' => array(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1626
  'slug' => '',
1627
  'title' => __( 'Post Timeline', 'ultimate-addons-for-gutenberg' ),
1628
  'description' => __( 'The Timeline block lets you create beautiful timelines of Posts on your website.', 'ultimate-addons-for-gutenberg' ),
@@ -1723,7 +1814,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1723
  'ctaBackground' => '#333',
1724
  ),
1725
  ),
1726
- 'uagb/restaurant-menu' => array(
1727
  'slug' => '',
1728
  'title' => __( 'Price List', 'ultimate-addons-for-gutenberg' ),
1729
  'description' => __( 'This block allows you to add attractive Price List.', 'ultimate-addons-for-gutenberg' ),
@@ -1796,7 +1887,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1796
  'seperatorColor' => '#b2b4b5',
1797
  ),
1798
  ),
1799
- 'uagb/review' => array(
1800
  'slug' => '',
1801
  'title' => __( 'Review Schema', 'ultimate-addons-for-gutenberg' ),
1802
  'description' => __( 'This block helps you to add a review for various items with schema support.', 'ultimate-addons-for-gutenberg' ),
@@ -1890,11 +1981,12 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1890
  'starOutlineColor' => '',
1891
  ),
1892
  ),
1893
- 'uagb/restaurant-menu-child' => array(
1894
  'slug' => '',
1895
  'title' => __( 'Price List-Child', 'ultimate-addons-for-gutenberg' ),
1896
  'description' => __( 'This block allows you to add attractive Price List.', 'ultimate-addons-for-gutenberg' ),
1897
  'default' => true,
 
1898
  'attributes' => array(
1899
  'classMigrate' => false,
1900
  'childMigrate' => false,
@@ -1919,7 +2011,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
1919
 
1920
  ),
1921
  ),
1922
- 'uagb/section' => array(
1923
  'slug' => '',
1924
  'title' => __( 'Section', 'ultimate-addons-for-gutenberg' ),
1925
  'description' => __( 'This block is an outer wrap section that allows you to add other blocks within it.', 'ultimate-addons-for-gutenberg' ),
@@ -2001,7 +2093,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
2001
  'gradientValue' => '',
2002
  ),
2003
  ),
2004
- 'uagb/social-share' => array(
2005
  'slug' => '',
2006
  'title' => __( 'Social Share', 'ultimate-addons-for-gutenberg' ),
2007
  'description' => __( 'This block allows you to let users share your content across various social networking sites.', 'ultimate-addons-for-gutenberg' ),
@@ -2037,7 +2129,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
2037
  'stack' => 'none',
2038
  ),
2039
  ),
2040
- 'uagb/social-share-child' => array(
2041
  'slug' => '',
2042
  'title' => __( 'Social Share Child', 'ultimate-addons-for-gutenberg' ),
2043
  'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
@@ -2054,7 +2146,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
2054
  'icon_bg_hover_color' => '',
2055
  ),
2056
  ),
2057
- 'uagb/table-of-contents' => array(
2058
  'slug' => '',
2059
  'title' => __( 'Table of Contents', 'ultimate-addons-for-gutenberg' ),
2060
  'description' => __( 'This block allows you to place a Table of Contents for Pages/Posts.', 'ultimate-addons-for-gutenberg' ),
@@ -2153,7 +2245,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
2153
  'headingAlignment' => 'left',
2154
  ),
2155
  ),
2156
- 'uagb/team' => array(
2157
  'slug' => '',
2158
  'title' => __( 'Team', 'ultimate-addons-for-gutenberg' ),
2159
  'description' => __( 'This block allows you to display your team. Add their picture, name, what they do and links to their social profiles.', 'ultimate-addons-for-gutenberg' ),
@@ -2225,7 +2317,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
2225
  'headingTag' => 'h3',
2226
  ),
2227
  ),
2228
- 'uagb/testimonial' => array(
2229
  'slug' => '',
2230
  'title' => __( 'Testimonial', 'ultimate-addons-for-gutenberg' ),
2231
  'description' => __( 'This block helps your display some amazing client feedback within your website.', 'ultimate-addons-for-gutenberg' ),
@@ -2310,7 +2402,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
2310
  'test_item_count' => 3,
2311
  ),
2312
  ),
2313
- 'uagb/wp-search' => array(
2314
  'slug' => '',
2315
  'title' => __( 'WP - Search', 'ultimate-addons-for-gutenberg' ),
2316
  'description' => __( 'This block helps you add a Search field.', 'ultimate-addons-for-gutenberg' ),
@@ -2378,7 +2470,7 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
2378
  'inputSizeType' => '%',
2379
  ),
2380
  ),
2381
- 'uagb/taxonomy-list' => array(
2382
  'slug' => '',
2383
  'title' => __( 'Taxonomy List', 'ultimate-addons-for-gutenberg' ),
2384
  'description' => __( 'This block helps you to display content categorization for various post types', 'ultimate-addons-for-gutenberg' ),
@@ -2468,6 +2560,30 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
2468
  'listDisplayStyle' => 'list',
2469
  ),
2470
  ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2471
  );
2472
  }
2473
  return self::$block_attributes;
@@ -2527,6 +2643,16 @@ if ( ! class_exists( 'UAGB_Config' ) ) {
2527
  'dep' => array( 'jquery', 'uagb-cookie-lib' ),
2528
  'skipEditor' => true,
2529
  ),
 
 
 
 
 
 
 
 
 
 
2530
  );
2531
  }
2532
  return self::$block_assets;
41
 
42
  if ( null === self::$block_attributes ) {
43
  self::$block_attributes = array(
44
+ 'uagb/advanced-heading' => array(
45
  'slug' => '',
46
  'title' => __( 'Advanced Heading', 'ultimate-addons-for-gutenberg' ),
47
  'description' => __( 'This block lets you add a combination of a heading and a sub-heading with a separator in between.', 'ultimate-addons-for-gutenberg' ),
84
  'separatorSpace' => 15,
85
  ),
86
  ),
87
+ 'uagb/columns' => array(
88
  'slug' => '',
89
  'title' => __( 'Advanced Columns', 'ultimate-addons-for-gutenberg' ),
90
  'description' => __( 'This block gives you advanced options to insert a number of columns within a single row.', 'ultimate-addons-for-gutenberg' ),
171
  'gradientValue' => '',
172
  ),
173
  ),
174
+ 'uagb/column' => array(
175
  'slug' => '',
176
  'title' => __( 'Column', 'ultimate-addons-for-gutenberg' ),
177
  'description' => __( 'This block is an immediate child of Advanced Columns.', 'ultimate-addons-for-gutenberg' ),
246
 
247
  ),
248
  ),
249
+ 'uagb/blockquote' => array(
250
  'slug' => '',
251
  'title' => __( 'Blockquote', 'ultimate-addons-for-gutenberg' ),
252
  'description' => __( 'This block allows you to display your Blockquote.', 'ultimate-addons-for-gutenberg' ),
341
  'quotePaddingMobile' => '',
342
  ),
343
  ),
344
+ 'uagb/call-to-action' => array(
345
  'slug' => '',
346
  'title' => __( 'Call To Action', 'ultimate-addons-for-gutenberg' ),
347
  'description' => __( 'This block allows you to place an CTA along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
413
  'ctaLinkHoverColor' => '',
414
  ),
415
  ),
416
+ 'uagb/cf7-styler' => array(
417
  'slug' => '',
418
  'title' => __( 'Contact Form 7 Styler', 'ultimate-addons-for-gutenberg' ),
419
  'description' => __( 'This block allows you to add and style your Contact Form 7 forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
549
  'buttonBorderRadiusType' => 'px',
550
  ),
551
  ),
552
+ 'uagb/content-timeline' => array(
553
  'slug' => '',
554
  'title' => __( 'Content Timeline', 'ultimate-addons-for-gutenberg' ),
555
  'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
621
  'stack' => 'tablet',
622
  ),
623
  ),
624
+ 'uagb/content-timeline-child' => array(
625
+ 'slug' => '',
626
+ 'title' => __( 'Content Timeline Child', 'ultimate-addons-for-gutenberg' ),
627
+ 'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
628
+ 'default' => true,
629
+ 'is_child' => true,
630
+ 'attributes' => array(
631
+ 'align' => 'center',
632
+ 'headingColor' => '',
633
+ 'subHeadingColor' => '',
634
+ 'backgroundColor' => '#eee',
635
+ 'borderFocus' => '#5cb85c',
636
+ 'timelinAlignment' => 'center',
637
+ 'arrowlinAlignment' => 'center',
638
+ 'headSpace' => 5,
639
+ 'separatorwidth' => 3,
640
+ 'borderwidth' => 0,
641
+ 'connectorBgsize' => 35,
642
+ 'dateBottomspace' => 5,
643
+ 'borderRadius' => 2,
644
+ 'bgPadding' => 20,
645
+ 'iconSize' => 12,
646
+ 'iconFocus' => '#fff',
647
+ 'stack' => 'tablet',
648
+ ),
649
+ ),
650
+ 'uagb/faq' => array(
651
  'slug' => '',
652
  'title' => __( 'FAQ - Schema', 'ultimate-addons-for-gutenberg' ),
653
  'description' => __( 'This block helps you add FAQ or Accordion with automatically adding FAQ Schema to your page.', 'ultimate-addons-for-gutenberg' ),
741
  'questionBottomPaddingMobile' => 10,
742
  ),
743
  ),
744
+ 'uagb/faq-child' => array(
745
  'slug' => '',
746
  'title' => __( 'FAQ - Schema Child', 'ultimate-addons-for-gutenberg' ),
747
  'description' => __( 'This block helps you add single FAQ.', 'ultimate-addons-for-gutenberg' ),
756
  'layout' => 'accordion',
757
  ),
758
  ),
759
+ 'uagb/gf-styler' => array(
760
  'slug' => '',
761
  'title' => __( 'Gravity Form Styler', 'ultimate-addons-for-gutenberg' ),
762
  'description' => __( 'This block allows you to add and style your Gravity Forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
909
  'successMsgLoadGoogleFonts' => false,
910
  ),
911
  ),
912
+ 'uagb/google-map' => array(
913
  'slug' => '',
914
  'title' => __( 'Google Map', 'ultimate-addons-for-gutenberg' ),
915
  'description' => __( 'This block allows you to place a Google Map Location.', 'ultimate-addons-for-gutenberg' ),
920
  'language' => 'en',
921
  ),
922
  ),
923
+ 'uagb/how-to' => array(
924
  'slug' => '',
925
  'title' => __( 'How-to Schema', 'ultimate-addons-for-gutenberg' ),
926
  'description' => __( 'This block allows you to design attractive How-to pages or articles with automatically adding How-to Schema to your page.', 'ultimate-addons-for-gutenberg' ),
993
  'schema' => '',
994
  ),
995
  ),
996
+ 'uagb/icon-list' => array(
997
  'slug' => '',
998
  'title' => __( 'Icon List', 'ultimate-addons-for-gutenberg' ),
999
  'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
1046
  'stack' => 'none',
1047
  ),
1048
  ),
1049
+ 'uagb/icon-list-child' => array(
1050
  'slug' => '',
1051
  'title' => __( 'Icon', 'ultimate-addons-for-gutenberg' ),
1052
  'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
1068
  'target' => false,
1069
  ),
1070
  ),
1071
+ 'uagb/info-box' => array(
1072
  'slug' => '',
1073
  'title' => __( 'Info Box', 'ultimate-addons-for-gutenberg' ),
1074
  'description' => __( 'This block allows you to place an image or icon along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
1165
  'ctaIconSpace' => '5',
1166
  ),
1167
  ),
1168
+ 'uagb/inline-notice' => array(
1169
  'slug' => '',
1170
  'title' => __( 'Inline Notice', 'ultimate-addons-for-gutenberg' ),
1171
  'description' => __( 'This block helps you add an inline notice.', 'ultimate-addons-for-gutenberg' ),
1218
 
1219
  ),
1220
  ),
1221
+ 'uagb/marketing-button' => array(
1222
  'slug' => '',
1223
  'title' => __( 'Marketing Button', 'ultimate-addons-for-gutenberg' ),
1224
  'description' => __( 'This block allows you to place a Marketing Button with small description.', 'ultimate-addons-for-gutenberg' ),
1293
  'iconFontSizeMobile' => 20,
1294
  ),
1295
  ),
1296
+ 'uagb/buttons' => array(
1297
  'slug' => '',
1298
  'title' => __( 'Multi Buttons', 'ultimate-addons-for-gutenberg' ),
1299
  'description' => __( 'This block allows you to add multiple buttons with a single block.', 'ultimate-addons-for-gutenberg' ),
1313
  'fontSubset' => '',
1314
  ),
1315
  ),
1316
+ 'uagb/buttons-child' => array(
1317
  'slug' => '',
1318
  'title' => __( 'Button', 'ultimate-addons-for-gutenberg' ),
1319
  'description' => __( 'This block allows you to style button.', 'ultimate-addons-for-gutenberg' ),
1349
  'iconSpace' => 8,
1350
  ),
1351
  ),
1352
+ 'uagb/post-carousel' => array(
1353
  'slug' => '',
1354
  'title' => __( 'Post Carousel', 'ultimate-addons-for-gutenberg' ),
1355
  'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a carousel layout.', 'ultimate-addons-for-gutenberg' ),
1422
  'contentPaddingMobile' => '',
1423
  'btnVPadding' => '5',
1424
  'btnHPadding' => '10',
1425
+ 'ctaBottomSpace' => '0',
1426
+ 'imageBottomSpace' => '15',
1427
  'titleBottomSpace' => '15',
1428
  'metaBottomSpace' => '15',
1429
  'excerptBottomSpace' => '25',
1440
  'borderColor' => '',
1441
  'borderHColor' => '',
1442
  'borderRadius' => '0',
1443
+ 'imgPosition' => 'top',
1444
+ 'layoutConfig' => array(
1445
+ array( 'uagb/post-image' ),
1446
+ array( 'uagb/post-title' ),
1447
+ array( 'uagb/post-meta' ),
1448
+ array( 'uagb/post-excerpt' ),
1449
+ array( 'uagb/post-button' ),
1450
+ ),
1451
  ),
1452
  ),
1453
+ 'uagb/post-grid' => array(
1454
  'slug' => '',
1455
  'title' => __( 'Post Grid', 'ultimate-addons-for-gutenberg' ),
1456
  'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a grid layout.', 'ultimate-addons-for-gutenberg' ),
1521
  'contentPaddingMobile' => '',
1522
  'btnVPadding' => '5',
1523
  'btnHPadding' => '10',
1524
+ 'ctaBottomSpace' => '0',
1525
+ 'imageBottomSpace' => '15',
1526
  'titleBottomSpace' => '15',
1527
  'metaBottomSpace' => '15',
1528
  'excerptBottomSpace' => '25',
1550
  'paginationAlignment' => 'left',
1551
  'paginationNextText' => '« Previous',
1552
  'paginationPrevText' => 'Next »',
1553
+ 'imgPosition' => 'top',
1554
+ 'layoutConfig' => array(
1555
+ array( 'uagb/post-image' ),
1556
+ array( 'uagb/post-title' ),
1557
+ array( 'uagb/post-meta' ),
1558
+ array( 'uagb/post-excerpt' ),
1559
+ array( 'uagb/post-button' ),
1560
+ ),
1561
  ),
1562
  ),
1563
+ 'uagb/post-masonry' => array(
1564
  'slug' => '',
1565
  'title' => __( 'Post Masonry', 'ultimate-addons-for-gutenberg' ),
1566
  'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a masonry layout.', 'ultimate-addons-for-gutenberg' ),
1633
  'contentPaddingMobile' => '',
1634
  'btnVPadding' => '5',
1635
  'btnHPadding' => '10',
1636
+ 'ctaBottomSpace' => '0',
1637
+ 'imageBottomSpace' => '15',
1638
  'titleBottomSpace' => '15',
1639
  'metaBottomSpace' => '15',
1640
  'excerptBottomSpace' => '25',
1668
  'hpaginationButtonPaddingMobile' => 12,
1669
  'hpaginationButtonPaddingTablet' => 12,
1670
  'hpaginationButtonPaddingDesktop' => 12,
1671
+ 'imgPosition' => 'top',
1672
+ 'layoutConfig' => array(
1673
+ array( 'uagb/post-image' ),
1674
+ array( 'uagb/post-title' ),
1675
+ array( 'uagb/post-meta' ),
1676
+ array( 'uagb/post-excerpt' ),
1677
+ array( 'uagb/post-button' ),
1678
+ ),
1679
  ),
1680
  ),
1681
+ 'uagb/post-title' => array(
1682
+ 'slug' => '',
1683
+ 'title' => __( 'Post Title', 'ultimate-addons-for-gutenberg' ),
1684
+ 'description' => __( 'This block fetches the blog title.', 'ultimate-addons-for-gutenberg' ),
1685
+ 'default' => true,
1686
+ 'is_child' => true,
1687
+ ),
1688
+ 'uagb/post-button' => array(
1689
+ 'slug' => '',
1690
+ 'title' => __( 'Post Button', 'ultimate-addons-for-gutenberg' ),
1691
+ 'description' => __( 'This block display\'s a call to action button which links to the blogs page.', 'ultimate-addons-for-gutenberg' ),
1692
+ 'default' => true,
1693
+ 'is_child' => true,
1694
+ ),
1695
+ 'uagb/post-excerpt' => array(
1696
+ 'slug' => '',
1697
+ 'title' => __( 'Post Excerpt', 'ultimate-addons-for-gutenberg' ),
1698
+ 'description' => __( 'This block fetches short description about a post.', 'ultimate-addons-for-gutenberg' ),
1699
+ 'default' => true,
1700
+ 'is_child' => true,
1701
+ ),
1702
+ 'uagb/post-meta' => array(
1703
+ 'slug' => '',
1704
+ 'title' => __( 'Post Meta', 'ultimate-addons-for-gutenberg' ),
1705
+ 'description' => __( 'This block fetches post comments, author, publish date and categories data.', 'ultimate-addons-for-gutenberg' ),
1706
+ 'default' => true,
1707
+ 'is_child' => true,
1708
+ ),
1709
+ 'uagb/post-image' => array(
1710
+ 'slug' => '',
1711
+ 'title' => __( 'Post Image', 'ultimate-addons-for-gutenberg' ),
1712
+ 'description' => __( 'This block fetches posts feature image.', 'ultimate-addons-for-gutenberg' ),
1713
+ 'default' => true,
1714
+ 'is_child' => true,
1715
+ ),
1716
+ 'uagb/post-timeline' => array(
1717
  'slug' => '',
1718
  'title' => __( 'Post Timeline', 'ultimate-addons-for-gutenberg' ),
1719
  'description' => __( 'The Timeline block lets you create beautiful timelines of Posts on your website.', 'ultimate-addons-for-gutenberg' ),
1814
  'ctaBackground' => '#333',
1815
  ),
1816
  ),
1817
+ 'uagb/restaurant-menu' => array(
1818
  'slug' => '',
1819
  'title' => __( 'Price List', 'ultimate-addons-for-gutenberg' ),
1820
  'description' => __( 'This block allows you to add attractive Price List.', 'ultimate-addons-for-gutenberg' ),
1887
  'seperatorColor' => '#b2b4b5',
1888
  ),
1889
  ),
1890
+ 'uagb/review' => array(
1891
  'slug' => '',
1892
  'title' => __( 'Review Schema', 'ultimate-addons-for-gutenberg' ),
1893
  'description' => __( 'This block helps you to add a review for various items with schema support.', 'ultimate-addons-for-gutenberg' ),
1981
  'starOutlineColor' => '',
1982
  ),
1983
  ),
1984
+ 'uagb/restaurant-menu-child' => array(
1985
  'slug' => '',
1986
  'title' => __( 'Price List-Child', 'ultimate-addons-for-gutenberg' ),
1987
  'description' => __( 'This block allows you to add attractive Price List.', 'ultimate-addons-for-gutenberg' ),
1988
  'default' => true,
1989
+ 'is_child' => true,
1990
  'attributes' => array(
1991
  'classMigrate' => false,
1992
  'childMigrate' => false,
2011
 
2012
  ),
2013
  ),
2014
+ 'uagb/section' => array(
2015
  'slug' => '',
2016
  'title' => __( 'Section', 'ultimate-addons-for-gutenberg' ),
2017
  'description' => __( 'This block is an outer wrap section that allows you to add other blocks within it.', 'ultimate-addons-for-gutenberg' ),
2093
  'gradientValue' => '',
2094
  ),
2095
  ),
2096
+ 'uagb/social-share' => array(
2097
  'slug' => '',
2098
  'title' => __( 'Social Share', 'ultimate-addons-for-gutenberg' ),
2099
  'description' => __( 'This block allows you to let users share your content across various social networking sites.', 'ultimate-addons-for-gutenberg' ),
2129
  'stack' => 'none',
2130
  ),
2131
  ),
2132
+ 'uagb/social-share-child' => array(
2133
  'slug' => '',
2134
  'title' => __( 'Social Share Child', 'ultimate-addons-for-gutenberg' ),
2135
  'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
2146
  'icon_bg_hover_color' => '',
2147
  ),
2148
  ),
2149
+ 'uagb/table-of-contents' => array(
2150
  'slug' => '',
2151
  'title' => __( 'Table of Contents', 'ultimate-addons-for-gutenberg' ),
2152
  'description' => __( 'This block allows you to place a Table of Contents for Pages/Posts.', 'ultimate-addons-for-gutenberg' ),
2245
  'headingAlignment' => 'left',
2246
  ),
2247
  ),
2248
+ 'uagb/team' => array(
2249
  'slug' => '',
2250
  'title' => __( 'Team', 'ultimate-addons-for-gutenberg' ),
2251
  'description' => __( 'This block allows you to display your team. Add their picture, name, what they do and links to their social profiles.', 'ultimate-addons-for-gutenberg' ),
2317
  'headingTag' => 'h3',
2318
  ),
2319
  ),
2320
+ 'uagb/testimonial' => array(
2321
  'slug' => '',
2322
  'title' => __( 'Testimonial', 'ultimate-addons-for-gutenberg' ),
2323
  'description' => __( 'This block helps your display some amazing client feedback within your website.', 'ultimate-addons-for-gutenberg' ),
2402
  'test_item_count' => 3,
2403
  ),
2404
  ),
2405
+ 'uagb/wp-search' => array(
2406
  'slug' => '',
2407
  'title' => __( 'WP - Search', 'ultimate-addons-for-gutenberg' ),
2408
  'description' => __( 'This block helps you add a Search field.', 'ultimate-addons-for-gutenberg' ),
2470
  'inputSizeType' => '%',
2471
  ),
2472
  ),
2473
+ 'uagb/taxonomy-list' => array(
2474
  'slug' => '',
2475
  'title' => __( 'Taxonomy List', 'ultimate-addons-for-gutenberg' ),
2476
  'description' => __( 'This block helps you to display content categorization for various post types', 'ultimate-addons-for-gutenberg' ),
2560
  'listDisplayStyle' => 'list',
2561
  ),
2562
  ),
2563
+ 'uagb/lottie' => array(
2564
+ 'slug' => '',
2565
+ 'title' => __( 'Lottie', 'ultimate-addons-for-gutenberg' ),
2566
+ 'description' => __( 'This block helps you add Lottie animation and customize it as required.', 'ultimate-addons-for-gutenberg' ),
2567
+ 'default' => true,
2568
+ 'js_assets' => array( 'uagb-lottie-js', 'uagb-bodymovin-min' ),
2569
+ 'attributes' => array(
2570
+ 'block_id' => '',
2571
+ 'jsonLottie' => '',
2572
+ 'lottieURl' => '',
2573
+ 'height' => '',
2574
+ 'heightTablet' => '',
2575
+ 'heightMob' => '',
2576
+ 'width' => '',
2577
+ 'widthTablet' => '',
2578
+ 'widthMob' => '',
2579
+ 'backgroundColor' => '',
2580
+ 'backgroundHColor' => '',
2581
+ 'loop' => true,
2582
+ 'speed' => 1,
2583
+ 'reverse' => false,
2584
+ 'playOn' => 'none',
2585
+ ),
2586
+ ),
2587
  );
2588
  }
2589
  return self::$block_attributes;
2643
  'dep' => array( 'jquery', 'uagb-cookie-lib' ),
2644
  'skipEditor' => true,
2645
  ),
2646
+ 'uagb-bodymovin-min' => array(
2647
+ 'src' => UAGB_URL . 'assets/js/uagb-bodymovin.min.js',
2648
+ 'dep' => array(),
2649
+ 'skipEditor' => true,
2650
+ ),
2651
+ 'uagb-lottie-js' => array(
2652
+ 'src' => UAGB_URL . 'assets/js/uagb-lottie.js',
2653
+ 'dep' => array( 'jquery', 'uagb-bodymovin-min' ),
2654
+ 'skipEditor' => true,
2655
+ ),
2656
  );
2657
  }
2658
  return self::$block_assets;
classes/class-uagb-helper.php CHANGED
@@ -585,6 +585,11 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
585
  UAGB_Block_JS::blocks_taxonomy_list_gfont( $blockattr );
586
  break;
587
 
 
 
 
 
 
588
  default:
589
  // Nothing to do here.
590
  break;
@@ -939,6 +944,19 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
939
  <?php
940
  }
941
 
 
 
 
 
 
 
 
 
 
 
 
 
 
942
  /**
943
  * Returns Query.
944
  *
@@ -1116,16 +1134,17 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
1116
  if ( ! empty( $terms ) ) {
1117
  foreach ( $terms as $t_index => $t_obj ) {
1118
  $related_tax[] = array(
1119
- 'id' => $t_obj->term_id,
1120
- 'name' => $t_obj->name,
 
1121
  );
1122
  }
1123
-
1124
  $return_array[ $post_type ]['terms'][ $tax_slug ] = $related_tax;
1125
  }
1126
  }
1127
 
1128
  $return_array[ $post_type ]['taxonomy'] = $data;
 
1129
  }
1130
 
1131
  return apply_filters( 'uagb_post_loop_taxonomies', $return_array );
585
  UAGB_Block_JS::blocks_taxonomy_list_gfont( $blockattr );
586
  break;
587
 
588
+ case 'uagb/lottie':
589
+ $css += UAGB_Block_Helper::get_lottie_css( $blockattr, $block_id );
590
+ $js .= UAGB_Block_JS::get_lottie_js( $blockattr, $block_id );
591
+ break;
592
+
593
  default:
594
  // Nothing to do here.
595
  break;
944
  <?php
945
  }
946
 
947
+ /**
948
+ * Check MIME Type
949
+ *
950
+ * @since 1.20.0
951
+ */
952
+ public static function get_mime_type() {
953
+
954
+ $allowed_types = get_allowed_mime_types();
955
+
956
+ return ( array_key_exists( 'json', $allowed_types ) ) ? true : false;
957
+
958
+ }
959
+
960
  /**
961
  * Returns Query.
962
  *
1134
  if ( ! empty( $terms ) ) {
1135
  foreach ( $terms as $t_index => $t_obj ) {
1136
  $related_tax[] = array(
1137
+ 'id' => $t_obj->term_id,
1138
+ 'name' => $t_obj->name,
1139
+ 'child' => get_term_children( $t_obj->term_id, $tax_slug ),
1140
  );
1141
  }
 
1142
  $return_array[ $post_type ]['terms'][ $tax_slug ] = $related_tax;
1143
  }
1144
  }
1145
 
1146
  $return_array[ $post_type ]['taxonomy'] = $data;
1147
+
1148
  }
1149
 
1150
  return apply_filters( 'uagb_post_loop_taxonomies', $return_array );
classes/class-uagb-init-blocks.php CHANGED
@@ -307,6 +307,9 @@ class UAGB_Init_Blocks {
307
  'taxonomy_list' => UAGB_Helper::get_taxonomy_list(),
308
  'uagb_ajax_nonce' => $uagb_ajax_nonce,
309
  'uagb_home_url' => home_url(),
 
 
 
310
  )
311
  );
312
  } // End function editor_assets().
307
  'taxonomy_list' => UAGB_Helper::get_taxonomy_list(),
308
  'uagb_ajax_nonce' => $uagb_ajax_nonce,
309
  'uagb_home_url' => home_url(),
310
+ 'uagb_url' => UAGB_URL,
311
+ 'uagb_mime_type' => UAGB_Helper::get_mime_type(),
312
+ 'uagb_site_url' => UAGB_URI,
313
  )
314
  );
315
  } // End function editor_assets().
classes/class-uagb-loader.php CHANGED
@@ -85,10 +85,12 @@ if ( ! class_exists( 'UAGB_Loader' ) ) {
85
  define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
86
  define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
87
  define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
88
- define( 'UAGB_VER', '1.19.0' );
89
  define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
90
  define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
91
  define( 'UAGB_SLUG', 'uag' );
 
 
92
  if ( ! defined( 'UAGB_TABLET_BREAKPOINT' ) ) {
93
  define( 'UAGB_TABLET_BREAKPOINT', '976' );
94
  }
@@ -115,6 +117,7 @@ if ( ! class_exists( 'UAGB_Loader' ) ) {
115
  require_once UAGB_DIR . 'dist/blocks/cf7-styler/class-uagb-cf7-styler.php';
116
  require_once UAGB_DIR . 'dist/blocks/gf-styler/class-uagb-gf-styler.php';
117
  require_once UAGB_DIR . 'dist/blocks/taxonomy-list/class-uagb-taxonomy-list.php';
 
118
 
119
  }
120
 
85
  define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
86
  define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
87
  define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
88
+ define( 'UAGB_VER', '1.20.0' );
89
  define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
90
  define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
91
  define( 'UAGB_SLUG', 'uag' );
92
+ define( 'UAGB_URI', trailingslashit( 'https://ultimategutenberg.com/' ) );
93
+
94
  if ( ! defined( 'UAGB_TABLET_BREAKPOINT' ) ) {
95
  define( 'UAGB_TABLET_BREAKPOINT', '976' );
96
  }
117
  require_once UAGB_DIR . 'dist/blocks/cf7-styler/class-uagb-cf7-styler.php';
118
  require_once UAGB_DIR . 'dist/blocks/gf-styler/class-uagb-gf-styler.php';
119
  require_once UAGB_DIR . 'dist/blocks/taxonomy-list/class-uagb-taxonomy-list.php';
120
+ require_once UAGB_DIR . 'dist/blocks/lottie/class-uagb-lottie.php';
121
 
122
  }
123
 
dist/blocks.build.js CHANGED
@@ -60,7 +60,7 @@
60
  /******/ __webpack_require__.p = "";
61
  /******/
62
  /******/ // Load entry module and return exports
63
- /******/ return __webpack_require__(__webpack_require__.s = 187);
64
  /******/ })
65
  /************************************************************************/
66
  /******/ ([
@@ -68,7 +68,7 @@
68
  /*!******************************************!*\
69
  !*** ./node_modules/classnames/index.js ***!
70
  \******************************************/
71
- /*! no static exports found */
72
  /*! all exports used */
73
  /***/ (function(module, exports, __webpack_require__) {
74
 
@@ -117,9 +117,9 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
117
  module.exports = classNames;
118
  } else if (true) {
119
  // register as 'classnames', consistent with npm package name
120
- !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function () {
121
  return classNames;
122
- }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
123
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
124
  } else {
125
  window.classNames = classNames;
@@ -137,8 +137,8 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
137
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
138
 
139
  "use strict";
140
- /**
141
- * Block Icons
142
  */
143
 
144
  var el = wp.element.createElement;
@@ -153,6 +153,7 @@ var UAGB_Block_Icons = {
153
  "post_carousel": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M7.554 12.936h4.893v-5.871h-4.893v5.871zM8.888 8.399h2.224v3.202h-2.224v-3.202z" }), el("path", { fill: "#4a00e0", d: "M13.913 8.868l1.132 1.132-1.132 1.132 0.944 0.944 2.076-2.076-2.076-2.076-0.943 0.943z" }), el("path", { fill: "#4a00e0", d: "M5.144 7.924l-2.076 2.076 2.076 2.076 0.943-0.944-1.132-1.132 1.132-1.132-0.944-0.943z" }), el("path", { fill: "#4a00e0", d: "M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM1.32 18.62v-17.301h17.3v17.3h-17.3z" })),
154
  "post_masonry": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM7.588 5.788h4.825v8.825h-4.825v-8.825zM12.413 1.381v3.025h-4.825v-3.025h4.825zM6.206 1.381v11.025h-4.825v-11.025h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-2.826h4.825v2.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z" })),
155
  "post_grid": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM1.381 7.588h4.825v4.825h-4.825v-4.825zM7.588 7.588h4.825v4.825h-4.825v-4.825zM12.413 1.381v4.825h-4.825v-4.825h4.825zM6.206 1.381v4.825h-4.825v-4.825h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-4.826h4.825v4.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z" })),
 
156
  "testimonial": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M9.996 0c-5.516 0-9.996 4.479-9.996 9.997 0 5.523 4.48 10.003 9.996 10.003 5.524 0 10.004-4.48 10.004-10.003 0-5.518-4.48-9.997-10.004-9.997v0zM9.996 18.749c-4.821 0-8.745-3.926-8.745-8.752 0-4.822 3.923-8.746 8.745-8.746 4.829 0 8.753 3.924 8.753 8.746 0 4.826-3.924 8.752-8.753 8.752v0z" }), el("path", { fill: "#4a00e0", d: "M8.007 6.732l-0.292-0.201-0.006-0.012-0.019-0.006-0.214-0.098 0.006 0.012c-0.201-0.079-0.416-0.14-0.641-0.14-1.018 0-1.843 0.854-1.843 1.91s0.825 1.917 1.843 1.917c0.323 0 0.622-0.098 0.891-0.25-0.091 1.019-0.605 2.514-2.491 4.034-0.267 0.212-0.317 0.604-0.109 0.879 0.121 0.159 0.3 0.243 0.476 0.243 0.134 0 0.263-0.041 0.372-0.134 2.319-1.866 2.894-3.784 2.971-5.070 0.134-1.636-0.365-2.502-0.817-2.948l-0.128-0.134z" }), el("path", { fill: "#4a00e0", d: "M14.068 6.732l-0.293-0.201-0.008-0.012-0.017-0.006-0.214-0.098 0.006 0.012c-0.202-0.079-0.415-0.14-0.641-0.14-1.019 0-1.843 0.854-1.843 1.91s0.824 1.917 1.843 1.917c0.324 0 0.623-0.098 0.891-0.25-0.092 1.019-0.604 2.514-2.496 4.034-0.262 0.212-0.311 0.604-0.104 0.879 0.116 0.159 0.299 0.243 0.476 0.243 0.134 0 0.263-0.041 0.372-0.134 2.319-1.866 2.893-3.784 2.972-5.070 0.134-1.636-0.366-2.502-0.818-2.948l-0.128-0.134z" })),
157
  "cf7_styler": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M0 2.969v14.063h20v-14.063h-20zM18.828 15.859h-17.656v-11.719h17.656v11.719z" }), el("path", { fill: "#4a00e0", d: "M11.758 13.516h5.898v1.172h-5.898v-1.172z" }), el("path", { fill: "#4a00e0", d: "M11.758 11.172h5.898v1.172h-5.898v-1.172z" }), el("path", { fill: "#4a00e0", d: "M11.758 8.828h5.898v1.172h-5.898v-1.172z" }), el("path", { fill: "#4a00e0", d: "M11.758 6.484h3.555v1.172h-3.555v-1.172z" }), el("path", { fill: "#4a00e0", d: "M16.484 6.484h1.172v1.172h-1.172v-1.172z" }), el("path", { fill: "#4a00e0", d: "M8.386 10.468c0.629-0.538 1.028-1.336 1.028-2.226 0-1.615-1.314-2.93-2.93-2.93s-2.93 1.314-2.93 2.93c0 0.89 0.4 1.688 1.028 2.226-1.307 0.687-2.2 2.057-2.2 3.633v0.586h8.203v-0.586c0-1.576-0.893-2.947-2.2-3.633zM6.484 6.484c0.969 0 1.758 0.789 1.758 1.758s-0.789 1.758-1.758 1.758-1.758-0.789-1.758-1.758 0.789-1.758 1.758-1.758zM3.614 13.516c0.272-1.336 1.456-2.344 2.871-2.344s2.599 1.008 2.871 2.344h-5.742z" })),
158
  "gf_styler": el("svg", { width: 20, height: 20, viewBox: "0 0 100 100" }, el("path", { fill: "#4a00e0", d: "M20.509,26.661H38.2c1.783,0,3.229-1.447,3.229-3.226c0-1.784-1.447-3.227-3.229-3.227H20.509 c-1.783,0-3.229,1.443-3.229,3.227C17.28,25.214,18.726,26.661,20.509,26.661L20.509,26.661z M20.509,26.661" }), el("path", { fill: "#4a00e0", d: "M20.509,38.465h41.285c1.78,0,3.229-1.442,3.229-3.223c0-1.783-1.449-3.227-3.229-3.227H20.509 c-1.783,0-3.229,1.444-3.229,3.227C17.28,37.022,18.726,38.465,20.509,38.465L20.509,38.465z M20.509,38.465" }), el("path", { fill: "#4a00e0", d: "M38.2,49.727H20.509c-1.783,0-3.229,1.443-3.229,3.227c0,1.78,1.446,3.224,3.229,3.224H38.2 c1.783,0,3.229-1.443,3.229-3.224C41.429,51.17,39.982,49.727,38.2,49.727L38.2,49.727z M38.2,49.727" }), el("path", { fill: "#4a00e0", d: "M92.334,14.48c-1.304-0.447-2.744-0.014-3.593,1.071l-6.021,7.754V5.723c0-1.778-1.446-3.223-3.23-3.223H8.71 c-1.783,0-3.226,1.445-3.226,3.223v88.552c0,1.78,1.443,3.226,3.226,3.226h70.78c1.784,0,3.23-1.445,3.23-3.226V51.129 l11.088-13.875c0.456-0.57,0.707-1.279,0.707-2.012V17.531C94.516,16.153,93.637,14.928,92.334,14.48L92.334,14.48z M76.267,91.045 h-64.33V8.951h64.33v22.653L47.452,68.679c-1.096,1.409-0.835,3.432,0.568,4.527c0.59,0.457,1.286,0.677,1.975,0.677 c0.962,0,1.915-0.424,2.547-1.241l3.619-4.657h11.534c0.979,0,1.906-0.446,2.518-1.214l6.054-7.572V91.045z M88.062,34.11 L66.144,61.53H61.18l26.882-34.591V34.11z M88.062,34.11" })),
@@ -192,7 +193,8 @@ var UAGB_Block_Icons = {
192
  "inline_notice": el("svg", { width: 20, height: 20, viewBox: "0 0 32 32" }, el("path", { fill: "#4a00e0", d: "M30.69 25.701l-13.094-21.389c-0.35-0.571-0.96-0.912-1.63-0.912h-0.002c-0.67 0-1.28 0.344-1.629 0.915l-13.026 21.389c-0.352 0.578-0.374 1.28-0.064 1.882 0.304 0.59 0.878 0.966 1.534 1.013 0.045 0.003 0.090 0.005 0.134 0.005h26.168c0.045 0 0.093-0.002 0.134-0.005 0.658-0.045 1.232-0.422 1.538-1.013 0.312-0.606 0.288-1.307-0.064-1.885zM3.458 26.403l12.507-20.541 12.576 20.541h-25.083z" }), el("path", { fill: "#4a00e0", d: "M15.966 11.242c-0.533 0-0.965 0.432-0.965 0.965v8.037c0 0.531 0.432 0.966 0.965 0.966s0.965-0.432 0.965-0.966v-8.037c0-0.533-0.432-0.965-0.965-0.965z" }), el("path", { fill: "#4a00e0", d: "M16.946 23.702c0 0.532-0.431 0.963-0.963 0.963s-0.963-0.431-0.963-0.963c0-0.532 0.431-0.963 0.963-0.963s0.963 0.431 0.963 0.963z" })),
193
  "wp_search": el("svg", { width: 20, height: 20, viewBox: "0 0 32 32" }, el("path", { fill: "#4a00e0", d: "M20.433 1.068c-5.789 0-10.499 4.71-10.499 10.5 0 2.58 0.936 4.945 2.486 6.775l-1.187 1.187-0.618-0.618c-0.342-0.342-0.896-0.342-1.238 0l-7.542 7.54c-1.024 1.024-1.024 2.689 0 3.713s2.689 1.023 3.712 0l7.541-7.541c0.341-0.342 0.341-0.895 0-1.237l-0.619-0.62 1.187-1.187c1.83 1.55 4.196 2.486 6.776 2.486 5.791 0 10.499-4.71 10.499-10.499s-4.708-10.499-10.499-10.499zM4.311 28.927c-0.341 0.34-0.897 0.34-1.238 0s-0.341-0.896 0-1.238l4.447-4.447 1.238 1.238-4.447 4.447zM9.996 23.242l-1.238-1.238 1.238-1.238 1.238 1.238-1.238 1.238zM20.433 20.317c-4.824 0-8.749-3.924-8.749-8.749s3.925-8.75 8.749-8.75c4.826 0 8.749 3.925 8.749 8.75s-3.924 8.749-8.749 8.749z" })),
194
  "taxonomy_list": el("svg", { width: 20, height: 20, viewBox: "0 0 38 32" }, el("path", { fill: "#4a00e0", d: "M14 24.68h-2.4c-0.24-0.96-0.72-1.84-1.4-2.52l1.28-2c0.44-0.68 0.24-1.6-0.44-2.040s-1.6-0.24-2.040 0.44l-1.28 2c-0.56-0.2-1.2-0.28-1.8-0.28-3.24 0-5.88 2.64-5.88 5.88s2.68 5.84 5.92 5.84c2.72 0 5.040-1.88 5.68-4.4h2.4c0.8 0 1.48-0.64 1.48-1.48-0.040-0.8-0.68-1.44-1.52-1.44zM5.96 29.080c-1.6 0-2.92-1.32-2.92-2.92s1.32-2.92 2.92-2.92 2.92 1.32 2.92 2.92c0 1.6-1.32 2.92-2.92 2.92z" }), el("path", { fill: "#4a00e0", d: "M31.76 20.24c-0.64 0-1.24 0.12-1.8 0.28l-1.28-2c-0.44-0.68-1.36-0.88-2.040-0.44s-0.88 1.36-0.44 2.040l1.28 2c-0.64 0.72-1.16 1.56-1.4 2.52h-2.4c-0.8 0-1.48 0.64-1.48 1.48 0 0.8 0.64 1.48 1.48 1.48h2.4c0.64 2.52 2.96 4.4 5.68 4.4 3.24 0 5.88-2.64 5.88-5.88s-2.64-5.88-5.88-5.88zM31.76 29.080c-1.6 0-2.92-1.32-2.92-2.92s1.32-2.92 2.92-2.92c1.6 0 2.92 1.32 2.92 2.92 0.040 1.6-1.28 2.92-2.92 2.92z" }), el("path", { fill: "#4a00e0", d: "M24 13.92c0.68-0.44 0.88-1.36 0.44-2.040l-1.28-2c0.96-1.040 1.56-2.44 1.56-4 0-3.24-2.64-5.88-5.84-5.88s-5.88 2.64-5.88 5.88c0 1.56 0.6 2.96 1.56 4l-1.28 2c-0.44 0.68-0.24 1.6 0.44 2.040s1.6 0.24 2.040-0.44l1.28-2c0.56 0.2 1.2 0.28 1.8 0.28s1.24-0.12 1.8-0.28l1.28 2c0.48 0.68 1.4 0.88 2.080 0.44zM18.88 8.8c-1.6 0-2.92-1.32-2.92-2.92s1.32-2.92 2.92-2.92 2.92 1.32 2.92 2.92c0 1.6-1.32 2.92-2.92 2.92z" })),
195
- "review": el("svg", { width: 20, height: 20, viewBox: "0 0 29 29" }, el("path", { fill: "#4a00e0", d: "M20.48 16.187l0.4-0.4-0.533-0.053-0.107-0.027-0.053-0.080-0.24-0.507v1.493l0.080 0.053 0.507 0.267-0.080-0.56-0.027-0.107 0.053-0.080zM21.2 15.787l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.027-0.027-0.053-0.053-0.027-0.080 0-0.027 0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053-0.027 0-0.053 0.053-0.080 0.080z" }), el("path", { fill: "#4a00e0", d: "M8.16 16.187l0.4-0.4-0.56-0.053-0.107-0.027-0.053-0.080-0.24-0.507v1.493l0.080 0.053 0.507 0.267-0.080-0.56-0.027-0.107 0.080-0.080zM8.853 15.787l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.027-0.027-0.053-0.053-0.027-0.080s0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053s-0.027 0.053-0.080 0.080z" }), el("path", { fill: "#4a00e0", d: "M7.147 16.267l-0.027 0.107-0.080 0.56 0.507-0.267 0.080-0.053v-1.493l-0.24 0.507-0.053 0.080-0.133 0.027-0.533 0.080 0.4 0.4 0.080 0.053zM6.32 15.68c0-0.027 0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053s0 0.053-0.027 0.080l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.080 0-0.080-0.053-0.080-0.080z" }), el("path", { fill: "#4a00e0", d: "M11.333 16.187l0.4-0.4-0.533-0.053-0.107-0.027-0.053-0.080-0.24-0.507v1.493l0.080 0.053 0.507 0.267-0.080-0.56-0.053-0.107 0.080-0.080zM12.053 15.787l-0.587 0.533 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.027-0.027-0.053-0.053-0.027-0.080s0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053-0.027 0.027-0.027 0.080-0.053 0.107z" }), el("path", { fill: "#4a00e0", d: "M10.32 16.267l-0.027 0.107-0.080 0.56 0.507-0.267 0.080-0.053v-1.493l-0.24 0.507-0.053 0.080-0.107 0.027-0.56 0.080 0.4 0.4 0.080 0.053zM9.493 15.68c0-0.027 0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053s0 0.053-0.027 0.080l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.080 0-0.080-0.053-0.080-0.080z" }), el("path", { fill: "#4a00e0", d: "M14.4 16.187l0.4-0.4-0.56-0.053-0.107-0.027-0.053-0.080-0.24-0.507v1.493l0.080 0.053 0.507 0.267-0.080-0.56-0.027-0.107 0.080-0.080zM15.093 15.787l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.027-0.027-0.053-0.053-0.027-0.080 0-0.027 0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053s-0.053 0.053-0.080 0.080z" }), el("path", { fill: "#4a00e0", d: "M13.36 16.267l-0.027 0.107-0.080 0.56 0.507-0.267 0.080-0.053v-1.493l-0.24 0.48-0.053 0.080-0.107 0.053-0.56 0.080 0.4 0.4 0.080 0.053zM12.56 15.68c0-0.027 0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053s0 0.053-0.027 0.080l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.080 0-0.107-0.053-0.080-0.080z" }), el("path", { fill: "#4a00e0", d: "M17.493 16.187l0.4-0.4-0.56-0.053-0.107-0.027-0.053-0.080-0.24-0.507v1.493l0.080 0.053 0.507 0.267-0.080-0.56-0.027-0.107 0.080-0.080zM18.187 15.787l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.027-0.027-0.053-0.053-0.027-0.080s0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053-0.027 0-0.027 0.053-0.080 0.080z" }), el("path", { fill: "#4a00e0", d: "M16.48 16.267l-0.027 0.107-0.080 0.56 0.507-0.267 0.080-0.053v-1.493l-0.24 0.507-0.053 0.080-0.133 0.027-0.533 0.080 0.4 0.4 0.080 0.053zM15.653 15.68c0-0.027 0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053s0 0.053-0.027 0.080l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.080 0-0.080-0.053-0.080-0.080z" }), el("path", { fill: "none", stroke: "#4a00e0", linejoin: "miter", linecap: "butt", miterlimit: "10", width: "1.3333", d: "M18.8 25.733h-15.147v-21.867h25.227v14.293" }), el("path", { fill: "none", stroke: "#4a00e0", linejoin: "miter", linecap: "butt", miterlimit: "10", width: "1.3333", d: "M3.653 8.907h25.227" }), el("path", { fill: "none", stroke: "#4a00e0", linejoin: "miter", linecap: "butt", miterlimit: "10", width: "1.3333", d: "M6.187 6.4h1.68" }), el("path", { fill: "none", stroke: "#4a00e0", linejoin: "miter", linecap: "butt", miterlimit: "10", width: "1.3333", d: "M9.547 6.4h1.68" }), el("path", { fill: "#4a00e0", d: "M23.147 26.373c-2.613-0.133-4.613-2.347-4.48-4.96s2.347-4.613 4.933-4.48c2.613 0.133 4.613 2.347 4.48 4.933-0.107 2.613-2.32 4.613-4.933 4.507zM23.547 17.867c-2.080-0.107-3.867 1.52-3.947 3.6-0.107 2.080 1.493 3.867 3.6 3.947s3.867-1.52 3.947-3.6-1.52-3.84-3.6-3.947z" }), el("path", { fill: "#4a00e0", d: "M30.080 29.547c-0.133 0-0.24-0.053-0.32-0.16l-3.6-3.947c-0.187-0.187-0.16-0.507 0.027-0.667 0.187-0.187 0.507-0.16 0.667 0.027l3.6 3.947c0.187 0.187 0.16 0.48-0.027 0.667 0 0 0 0 0 0-0.107 0.080-0.213 0.133-0.347 0.133z" }), el("path", { fill: "#4a00e0", d: "M23.947 11.573h-17.040c-0.373 0-0.667 0.293-0.667 0.667s0.293 0.667 0.667 0.667h17.040c0.373 0 0.667-0.293 0.667-0.667s-0.293-0.667-0.667-0.667z" }))
 
196
  };
197
 
198
  /* harmony default export */ __webpack_exports__["a"] = (UAGB_Block_Icons);
@@ -209,11 +211,11 @@ var UAGB_Block_Icons = {
209
  "use strict";
210
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__UAGBIcon__ = __webpack_require__(/*! ./UAGBIcon */ 9);
211
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__UAGBIcon___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__UAGBIcon__);
212
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__parseIcon__ = __webpack_require__(/*! ./parseIcon */ 417);
213
- /**
214
- * Set inline CSS class.
215
- * @param {object} props - The block object.
216
- * @return {array} The inline CSS class.
217
  */
218
 
219
 
@@ -221,7 +223,7 @@ var UAGB_Block_Icons = {
221
 
222
  function renderSVG(svg) {
223
 
224
- svg = __WEBPACK_IMPORTED_MODULE_1__parseIcon__["a" /* default */](svg);
225
 
226
  var fontAwesome = __WEBPACK_IMPORTED_MODULE_0__UAGBIcon___default.a[svg];
227
 
@@ -243,10 +245,128 @@ function renderSVG(svg) {
243
 
244
  /***/ }),
245
  /* 3 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  /*!*****************************************!*\
247
  !*** ./node_modules/process/browser.js ***!
248
  \*****************************************/
249
- /*! no static exports found */
250
  /*! all exports used */
251
  /***/ (function(module, exports) {
252
 
@@ -436,124 +556,6 @@ process.chdir = function (dir) {
436
  process.umask = function() { return 0; };
437
 
438
 
439
- /***/ }),
440
- /* 4 */
441
- /*!******************************************************!*\
442
- !*** ./dist/blocks/uagb-controls/generateCSSUnit.js ***!
443
- \******************************************************/
444
- /*! exports provided: default */
445
- /*! exports used: default */
446
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
447
-
448
- "use strict";
449
- function generateCSSUnit(value, unit) {
450
-
451
- var css = "";
452
-
453
- if (typeof value != "undefined") {
454
- css += value + unit;
455
- }
456
-
457
- return css;
458
- }
459
-
460
- /* harmony default export */ __webpack_exports__["a"] = (generateCSSUnit);
461
-
462
- /***/ }),
463
- /* 5 */
464
- /*!**************************************************!*\
465
- !*** ./dist/blocks/uagb-controls/generateCSS.js ***!
466
- \**************************************************/
467
- /*! exports provided: default */
468
- /*! exports used: default */
469
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
470
-
471
- "use strict";
472
- function generateCSS(selectors, id) {
473
- var isResponsive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
474
- var responsiveType = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "";
475
-
476
-
477
- var styling_css = "";
478
- var breakpoint = "";
479
- var gen_styling_css = "";
480
- var res_styling_css = "";
481
-
482
- if (responsiveType == "tablet") {
483
- breakpoint = uagb_blocks_info.tablet_breakpoint;
484
- } else if (responsiveType == "mobile") {
485
- breakpoint = uagb_blocks_info.mobile_breakpoint;
486
- }
487
-
488
- for (var i in selectors) {
489
-
490
- var sel = selectors[i];
491
- var css = "";
492
-
493
- for (var j in sel) {
494
-
495
- var checkString = true;
496
-
497
- if (typeof sel[j] === "string" && sel[j].length === 0) {
498
- checkString = false;
499
- }
500
-
501
- if ('font-family' === j && typeof sel[j] != "undefined" && 'Default' === sel[j]) {
502
- continue;
503
- }
504
-
505
- if (typeof sel[j] != "undefined" && checkString) {
506
- if ('font-family' === j) {
507
- css += j + ": " + "'" + sel[j] + "'" + ";";
508
- } else {
509
- css += j + ": " + sel[j] + ";";
510
- }
511
- }
512
- }
513
-
514
- if (css.length !== 0) {
515
- gen_styling_css += id;
516
- gen_styling_css += i + "{";
517
- gen_styling_css += css;
518
- gen_styling_css += "}";
519
- }
520
- }
521
-
522
- if (isResponsive && typeof gen_styling_css !== "undefined" && gen_styling_css.length !== 0) {
523
- res_styling_css += "@media only screen and (max-width: " + breakpoint + "px) {";
524
- res_styling_css += gen_styling_css;
525
- res_styling_css += "}";
526
- }
527
-
528
- if (isResponsive) {
529
- return res_styling_css;
530
- } else {
531
- return gen_styling_css;
532
- }
533
- }
534
-
535
- /* harmony default export */ __webpack_exports__["a"] = (generateCSS);
536
-
537
- /***/ }),
538
- /* 6 */
539
- /*!*************************************!*\
540
- !*** ./node_modules/react/index.js ***!
541
- \*************************************/
542
- /*! no static exports found */
543
- /*! all exports used */
544
- /***/ (function(module, exports, __webpack_require__) {
545
-
546
- "use strict";
547
- /* WEBPACK VAR INJECTION */(function(process) {
548
-
549
- if (process.env.NODE_ENV === 'production') {
550
- module.exports = __webpack_require__(/*! ./cjs/react.production.min.js */ 260);
551
- } else {
552
- module.exports = __webpack_require__(/*! ./cjs/react.development.js */ 261);
553
- }
554
-
555
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 3)))
556
-
557
  /***/ }),
558
  /* 7 */
559
  /*!********************************************!*\
@@ -564,10 +566,10 @@ if (process.env.NODE_ENV === 'production') {
564
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
565
 
566
  "use strict";
567
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__font_typography__ = __webpack_require__(/*! ./font-typography */ 191);
568
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__range_typography__ = __webpack_require__(/*! ./range-typography */ 281);
569
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 282);
570
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 283);
571
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
572
  /* unused harmony reexport TypographyStyles */
573
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -582,13 +584,13 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
582
 
583
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
584
 
585
- /**
586
- * WordPress dependencies
587
  */
588
  var __ = wp.i18n.__;
589
 
590
- /**
591
- * Internal dependencies
592
  */
593
 
594
 
@@ -811,7 +813,7 @@ var TypographyControl = function (_Component) {
811
  "use strict";
812
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types__ = __webpack_require__(/*! prop-types */ 15);
813
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_prop_types__);
814
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_webfontloader__ = __webpack_require__(/*! webfontloader */ 284);
815
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_webfontloader___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_webfontloader__);
816
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
817
 
@@ -931,7 +933,7 @@ WebfontLoader.defaultProps = {
931
  /*!*************************************************!*\
932
  !*** ./dist/blocks/uagb-controls/UAGBIcon.json ***!
933
  \*************************************************/
934
- /*! no static exports found */
935
  /*! exports used: default */
936
  /***/ (function(module, exports) {
937
 
@@ -939,72 +941,10 @@ module.exports = {"500px":{"changes":["4.4","5.0.0"],"ligatures":[],"search":{"t
939
 
940
  /***/ }),
941
  /* 10 */
942
- /*!**************************************!*\
943
- !*** ./node_modules/lodash/times.js ***!
944
- \**************************************/
945
- /*! no static exports found */
946
- /*! exports used: default */
947
- /***/ (function(module, exports, __webpack_require__) {
948
-
949
- var baseTimes = __webpack_require__(/*! ./_baseTimes */ 122),
950
- castFunction = __webpack_require__(/*! ./_castFunction */ 399),
951
- toInteger = __webpack_require__(/*! ./toInteger */ 73);
952
-
953
- /** Used as references for various `Number` constants. */
954
- var MAX_SAFE_INTEGER = 9007199254740991;
955
-
956
- /** Used as references for the maximum length and index of an array. */
957
- var MAX_ARRAY_LENGTH = 4294967295;
958
-
959
- /* Built-in method references for those with the same name as other `lodash` methods. */
960
- var nativeMin = Math.min;
961
-
962
- /**
963
- * Invokes the iteratee `n` times, returning an array of the results of
964
- * each invocation. The iteratee is invoked with one argument; (index).
965
- *
966
- * @static
967
- * @since 0.1.0
968
- * @memberOf _
969
- * @category Util
970
- * @param {number} n The number of times to invoke `iteratee`.
971
- * @param {Function} [iteratee=_.identity] The function invoked per iteration.
972
- * @returns {Array} Returns the array of results.
973
- * @example
974
- *
975
- * _.times(3, String);
976
- * // => ['0', '1', '2']
977
- *
978
- * _.times(4, _.constant(0));
979
- * // => [0, 0, 0, 0]
980
- */
981
- function times(n, iteratee) {
982
- n = toInteger(n);
983
- if (n < 1 || n > MAX_SAFE_INTEGER) {
984
- return [];
985
- }
986
- var index = MAX_ARRAY_LENGTH,
987
- length = nativeMin(n, MAX_ARRAY_LENGTH);
988
-
989
- iteratee = castFunction(iteratee);
990
- n -= MAX_ARRAY_LENGTH;
991
-
992
- var result = baseTimes(length, iteratee);
993
- while (++index < n) {
994
- iteratee(index);
995
- }
996
- return result;
997
- }
998
-
999
- module.exports = times;
1000
-
1001
-
1002
- /***/ }),
1003
- /* 11 */
1004
  /*!****************************************************************************************!*\
1005
  !*** ./node_modules/@fonticonpicker/react-fonticonpicker/dist/fonticonpicker.react.js ***!
1006
  \****************************************************************************************/
1007
- /*! no static exports found */
1008
  /*! exports used: default */
1009
  /***/ (function(module, exports, __webpack_require__) {
1010
 
@@ -1025,19 +965,19 @@ module.exports = times;
1025
  * https://opensource.org/licenses/MIT
1026
  *
1027
  */
1028
- !function(e,t){ true?module.exports=t(__webpack_require__(/*! prop-types */ 15),__webpack_require__(/*! react */ 6),__webpack_require__(/*! classnames */ 0),__webpack_require__(/*! react-dom */ 18),__webpack_require__(/*! react-transition-group */ 409)):"function"==typeof define&&define.amd?define(["prop-types","react","classnames","react-dom","react-transition-group"],t):"object"==typeof exports?exports.FontIconPicker=t(require("prop-types"),require("react"),require("classnames"),require("react-dom"),require("react-transition-group")):e.FontIconPicker=t(e.PropTypes,e.React,e.classNames,e.ReactDOM,e.ReactTransitionGroup)}(window,function(e,t,r,n,a){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=15)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";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 a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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 o(e);if(null!==t)return void 0!==e[t]?o(e[t]):[];var r=[],n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){a(e,t,r[t])})}return e}({},e);return Object.keys(n).forEach(function(e){r=o(r).concat(o(n[e]))}),r},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 r=o(e);r.sort();var n=o(t);return n.sort(),JSON.stringify(r)===JSON.stringify(n)},t.getOffset=function(e){var t=e.getBoundingClientRect(),r=window.pageXOffset||document.documentElement.scrollLeft,n=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+n,left:t.left+r}},t.getSourceType=function(e){return null===e?"null":"object"!==n(e)||Array.isArray(e)?Array.isArray(e)?"array":n(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 r=(t=t.toLowerCase()).length,n=e.length;if(n>r)return!1;if(n===r)return e===t;e:for(var a=0,o=0;a<n;a++){for(var l=e.codePointAt(a);o<r;)if(t.codePointAt(o++)===l)continue e;return!1}return!0},t.debounce=void 0,t.debounce=function(e,t){var r;return function(){var n=this,a=arguments;clearTimeout(r),r=setTimeout(function(){return e.apply(n,a)},t)}}},function(e,t){e.exports=r},,,function(e,t){e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(1)),a=r(6),o=u(r(0)),l=u(r(3)),i=r(2);function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p=function(e){function t(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),r=!n||"object"!==c(n)&&"function"!=typeof n?d(this):n,Object.defineProperty(d(r),"syncPortalPosition",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.resetPortalPosition(),r.fixWindowOverflow()}}),Object.defineProperty(d(r),"fixWindowOverflow",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=r.props.domRef.current.offsetWidth,t=r.props.domRef.current.offsetHeight,n=window,a=n.innerWidth,o=n.pageYOffset,l=document.documentElement.clientHeight,u=(0,i.getOffset)(r.props.domRef.current),c=u.left,s=u.top,f="self"===r.state.appendRoot?r.props.domRef.current:r.state.appendRoot,d=(0,i.getOffset)(f),p=r.props.btnRef.current,h=r.props.domRef.current,y=(0,i.getOffset)(p),b=getComputedStyle(p),g=(parseInt(b.borderTop,10)||0)+(parseInt(b.borderBottom,10)||0);if(c+e>a-20){var m=y.left+r.props.btnRef.current.offsetWidth-(e+d.left);m+d.left<0&&(m=10-d.left),h.style.left="".concat(m,"px")}t+s-o>l&&y.top-t>0&&("self"===r.state.appendRoot?h.style.top="-".concat(t-g,"px"):h.style.top="".concat(y.top+g-t,"px"))}}),r.state={},r.debouncedSyncPortalPosition=(0,i.debounce)(r.syncPortalPosition,250),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,n.default.PureComponent),f(t,null,[{key:"getDerivedStateFromProps",value:function(e){var r=t.calculateAppendAndClass(e.appendRoot);return{appendRoot:r.appendRoot,portalClasses:r.portalClasses}}},{key:"calculateAppendAndClass",value:function(e){var t="self",r=(0,l.default)({"rfipdropdown--portal":!1!==e});return!1!==e&&(t=document.querySelector(e)),{portalClasses:r,appendRoot:t}}}]),f(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,r=(0,i.getOffset)(t),n=(0,i.getOffset)(this.state.appendRoot),a=t.offsetHeight;this.props.domRef.current.style.left="".concat(r.left-n.left,"px"),this.props.domRef.current.style.top="".concat(r.top+a,"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,l.default)(this.props.className,this.state.portalClasses),t=n.default.createElement("div",{className:e,ref:this.props.domRef},this.props.children);return"self"===this.state.appendRoot?t:(0,a.createPortal)(t,this.state.appendRoot)}}]),t}();Object.defineProperty(p,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:o.default.oneOfType([o.default.bool,o.default.string]),children:o.default.node.isRequired,domRef:o.default.object.isRequired,btnRef:o.default.object.isRequired,className:o.default.string.isRequired}}),Object.defineProperty(p,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:!1}});var h=p;t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(1)),a=i(r(0)),o=i(r(3)),l=r(2);function i(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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 s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p=function(e){function t(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),r=!n||"object"!==u(n)&&"function"!=typeof n?d(this):n,Object.defineProperty(d(r),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=r.props.currentPage,o=r.state.totalPage;null!==n?"next"===n?a+=1:a-=1:a=parseInt(e.target.value,10)-1,a<0&&(a=0),a>o-1&&(a=o-1),t=a+1,null===n&&Number.isNaN(a)&&(a=0,t=""),r.setState({viewPage:t}),r.props.handleChangePage(a)}}),Object.defineProperty(d(r),"handlePageKeyBoard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||r.handleChangePage({},t)}}),Object.defineProperty(d(r),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.props.handleChangeValue(e)}}),Object.defineProperty(d(r),"handleValueKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||r.handleChangeValue(t)}}),r.state={viewPage:r.props.currentPage+1},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,n.default.PureComponent),f(t,null,[{key:"getDerivedStateFromProps",value:function(e,r){var n=t.getCategoryFilteredState(e.currentCategory,e.categories,e.icons),a=t.getCategoryFilteredState(e.currentCategory,e.categories,null===e.search?e.icons:e.search),o=t.getActiveIcons(n,a,e.currentSearch),l=o.activeIcons,i=o.activeTitles,u=e.currentPage,c=e.iconsPerPage,s={iconView:t.getCurrentViewIcons(l,c,u),titleView:t.getCurrentViewIcons(i,c,u),totalPage:Math.ceil(l.length/c)};return""!==r.viewPage&&(s.viewPage=e.currentPage+1),s}},{key:"getActiveIcons",value:function(e,t,r){var n=c(e),a=c(t);if(""===r||null===r)return{activeIcons:n,activeTitles:a};var o=[],i=[];return n.forEach(function(e,n){(0,l.fuzzySearch)(r,t[n])&&(o.push(e),i.push(t[n]))}),{activeIcons:o,activeTitles:i}}},{key:"getCategoryFilteredState",value:function(e,t,r){var n=null,a=(0,l.getSourceType)(r);if(Array.isArray(t)){if("object"!==a)throw new l.InvalidSourceException(a,"object")}else if("array"!==a)throw new l.InvalidSourceException(a,"array");return 0!==e&&Array.isArray(t)&&(n=t[e]||null),(0,l.flattenPossiblyCategorizedSource)(r,n)}},{key:"getCurrentViewIcons",value:function(e,t,r){var n=r*t,a=(r+1)*t;return e.slice(n,a)}}]),f(t,[{key:"renderPager",value:function(){var e=this;if(this.state.totalPage<1)return null;var t=this.props.currentPage>0?n.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")}},n.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Left"},n.default.createElement("i",{className:"fipicon-angle-left"}))):null,r=this.props.currentPage<this.state.totalPage-1?n.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")}},n.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Right"},n.default.createElement("i",{className:"fipicon-angle-right"}))):null;return n.default.createElement("div",{className:"rfipicons__pager"},n.default.createElement("div",{className:"rfipicons__num"},n.default.createElement("input",{value:this.state.viewPage,onChange:this.handleChangePage,className:"rfipicons__cp",type:"tel",min:1}),n.default.createElement("span",{className:"rfipicons__sp"},"/"),n.default.createElement("span",{className:"rfipicons__tp"},this.state.totalPage)),n.default.createElement("div",{className:"rfipicons__arrow"},t,r))}},{key:"renderIconView",value:function(){var e=this;return this.state.totalPage>0?this.state.iconView.map(function(t,r){var a=(0,o.default)("rfipicons__icon",{"rfipicons__icon--selected":e.props.value===t||Array.isArray(e.props.value)&&e.props.value.includes(t)});return n.default.createElement("span",{className:a,key:t,title:e.state.titleView[r]},n.default.createElement("span",{className:"rfipicons__ibox",tabIndex:0,role:"button",onClick:function(){return e.handleChangeValue(t)},onKeyDown:function(r){return e.handleValueKeyboard(r,t)}},e.props.renderIcon(t)))}):n.default.createElement("span",{className:"rfipicons__icon--error"},n.default.createElement("span",{className:"rfipicons__ibox--error"},this.props.noIconPlaceholder))}},{key:"render",value:function(){return n.default.createElement("div",{className:"rfipicons"},this.renderPager(),n.default.createElement("div",{className:"rfipicons__selector"},this.renderIconView()))}}]),t}();Object.defineProperty(p,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{categories:a.default.arrayOf(a.default.string),currentCategory:a.default.number,isMulti:a.default.bool.isRequired,icons:a.default.oneOfType([a.default.arrayOf(a.default.string),a.default.arrayOf(a.default.number),a.default.objectOf(a.default.oneOfType([a.default.arrayOf(a.default.number),a.default.arrayOf(a.default.string)]))]).isRequired,search:a.default.oneOfType([a.default.objectOf(a.default.arrayOf(a.default.string)),a.default.arrayOf(a.default.string)]),value:a.default.oneOfType([a.default.number,a.default.string,a.default.arrayOf(a.default.oneOfType([a.default.number,a.default.string]))]).isRequired,currentSearch:a.default.string.isRequired,handleChangeValue:a.default.func.isRequired,currentPage:a.default.number.isRequired,iconsPerPage:a.default.number.isRequired,handleChangePage:a.default.func.isRequired,renderIcon:a.default.func.isRequired,noIconPlaceholder:a.default.string.isRequired}}),Object.defineProperty(p,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{categories:null,currentCategory:null,search:null}});var h=p;t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(1)),a=o(r(0));function o(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return n.default.createElement("div",{className:"rfipsearch"},n.default.createElement("input",{type:"text",className:"rfipsearch__input",value:e.value,onChange:e.handleSearch,placeholder:e.placeholder}))};l.propTypes={handleSearch:a.default.func.isRequired,value:a.default.string.isRequired,placeholder:a.default.string.isRequired};var i=l;t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(1)),a=o(r(0));function o(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var u=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"!==l(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 r,a;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,n.default.PureComponent),r=t,(a=[{key:"render",value:function(){return n.default.createElement("div",{className:"rfipcategory"},n.default.createElement("select",{className:"rfipcategory__select",onChange:this.props.handleCategory,value:this.props.value},this.props.categories.map(function(e,t){return n.default.createElement("option",{className:"rfipcategory__select__option",key:e,value:t},e)})),n.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"}))}}])&&i(r.prototype,a),t}();Object.defineProperty(u,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{handleCategory:a.default.func.isRequired,value:a.default.number.isRequired,categories:a.default.arrayOf(a.default.string).isRequired}});var c=u;t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(1)),a=c(r(0)),o=c(r(10)),l=c(r(9)),i=c(r(8)),u=r(2);function c(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var h=function(e){function t(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),r=!n||"object"!==s(n)&&"function"!=typeof n?p(this):n,Object.defineProperty(p(r),"handleCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=parseInt(e.target.value,10);Number.isNaN(t)&&(t=0),r.props.handleChangeCategory(t),r.props.handleChangePage(0)}}),Object.defineProperty(p(r),"handleSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target.value;r.props.handleChangeSearch(t)}}),r.state={},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,n.default.PureComponent),d(t,null,[{key:"getDerivedStateFromProps",value:function(e){var t=(0,u.getPossibleCategories)(e.icons);return null!==t&&(t=[e.allCatPlaceholder].concat(function(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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}}}]),d(t,[{key:"render",value:function(){return n.default.createElement("div",{className:"rfipdropdown__selector"},this.props.showSearch?n.default.createElement(l.default,{handleSearch:this.handleSearch,value:this.state.searchString,placeholder:this.props.searchPlaceholder}):null,this.props.showCategory&&this.state.categories&&this.state.categories.length?n.default.createElement(o.default,{handleCategory:this.handleCategory,value:this.props.currentCategory,categories:this.state.categories}):null,n.default.createElement(i.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(h,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{isMulti:a.default.bool.isRequired,value:a.default.oneOfType([a.default.number,a.default.string,a.default.arrayOf(a.default.any)]).isRequired,currentCategory:a.default.number.isRequired,currentPage:a.default.number.isRequired,currentSearch:a.default.string.isRequired,icons:a.default.oneOfType([a.default.arrayOf(a.default.number),a.default.arrayOf(a.default.string),a.default.objectOf(a.default.oneOfType([a.default.arrayOf(a.default.number),a.default.arrayOf(a.default.string)]))]).isRequired,search:a.default.oneOfType([a.default.object,a.default.arrayOf(a.default.string)]),showCategory:a.default.bool.isRequired,showSearch:a.default.bool.isRequired,iconsPerPage:a.default.number.isRequired,allCatPlaceholder:a.default.string.isRequired,searchPlaceholder:a.default.string.isRequired,noIconPlaceholder:a.default.string.isRequired,renderIcon:a.default.func.isRequired,handleChangeValue:a.default.func.isRequired,handleChangeCategory:a.default.func.isRequired,handleChangePage:a.default.func.isRequired,handleChangeSearch:a.default.func.isRequired}}),Object.defineProperty(h,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null}});var y=h;t.default=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r(1)),a=l(r(0)),o=l(r(3));function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var d=function(e){function t(){var e,r,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,l=new Array(o),i=0;i<o;i++)l[i]=arguments[i];return s(a,(r=a=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),Object.defineProperty(f(a),"handleClick",{configurable:!0,enumerable:!0,writable:!0,value:function(){a.props.onClick()}}),Object.defineProperty(f(a),"handleKeyDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){32!==e.keyCode&&13!==e.keyCode||a.props.onClick()}}),Object.defineProperty(f(a),"handleDelete",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){e.stopPropagation(),a.props.handleDeleteValue(t)}}),Object.defineProperty(f(a),"handleDeleteKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){32!==e.keyCode&&13!==e.keyCode||a.props.handleDeleteValue(t)}}),Object.defineProperty(f(a),"renderEmptyIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(){return n.default.createElement("span",{className:"rfipbtn__icon--empty"},a.props.noSelectedPlaceholder)}}),r))}var r,a;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,n.default.PureComponent),r=t,(a=[{key:"renderIcon",value:function(e){var t=this;return""===e||null===e||void 0===e?this.renderEmptyIcon():n.default.createElement("span",{className:"rfipbtn__icon",key:e},n.default.createElement("span",{className:"rfipbtn__elm"},this.props.renderIcon(e)),n.default.createElement("span",{className:"rfipbtn__del",onClick:function(r){return t.handleDelete(r,e)},onKeyDown:function(r){return t.handleDeleteKeyboard(r,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,o.default)("rfipbtn__button","rfipbtn__button--".concat(this.props.isOpen?"open":"close")),r=(0,o.default)(this.props.className);return n.default.createElement("div",u({className:r,ref:this.props.domRef},e),n.default.createElement("div",{className:"rfipbtn__current"},this.renderCurrentIcons()),n.default.createElement("div",{className:t},n.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"})))}}])&&c(r.prototype,a),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:a.default.string.isRequired,isOpen:a.default.bool.isRequired,onClick:a.default.func.isRequired,domRef:a.default.object.isRequired,isMulti:a.default.bool.isRequired,value:a.default.oneOfType([a.default.number,a.default.string,a.default.arrayOf(a.default.oneOfType([a.default.number,a.default.string]))]).isRequired,renderIcon:a.default.func.isRequired,handleDeleteValue:a.default.func.isRequired,noSelectedPlaceholder:a.default.string.isRequired}});var p=d;t.default=p},function(e,t){e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=f(r(1)),a=f(r(0)),o=f(r(3)),l=r(13),i=f(r(12)),u=f(r(11)),c=f(r(7)),s=r(2);function f(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var m=[],v="",P=function(e){function t(e){var r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),r=!a||"object"!==d(a)&&"function"!=typeof a?g(this):a,Object.defineProperty(g(r),"handleOuterClick",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target;r.isClickWithin(t)||r.closeDropdown()}}),Object.defineProperty(g(r),"handleEscapeKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e){27===e.keyCode&&r.closeDropdown()}}),Object.defineProperty(g(r),"isClickWithin",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return r.fipButtonRef.current.contains(e)||r.fipDropDownRef.current&&r.fipDropDownRef.current.contains(e)}}),Object.defineProperty(g(r),"handleToggle",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.setState(function(e){return r.handleDropDown(!e.isOpen,!1)})}}),Object.defineProperty(g(r),"closeDropdown",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.handleDropDown(!1)}}),Object.defineProperty(g(r),"handleDropDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a={isOpen:e};return a.elemClass=t.getDerivedClassName("rfip",r.props.theme,r.props.isMulti,e),a.btnClass=t.getDerivedClassName("rfipbtn",r.props.theme,r.props.isMulti,e),a.ddClass=t.getDerivedClassName("rfipdropdown",r.props.theme,r.props.isMulti,e),n&&r.setState(a),a}}),Object.defineProperty(g(r),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t;r.props.isMulti?(t=p(r.state.value)).includes(e)?(t=t.filter(function(t){return t!==e})).length||(t=m):t.push(e):t=e===r.state.value?v:e,r.setState({value:t,isOpen:!r.props.closeOnSelect}),r.props.onChange(t)}}),Object.defineProperty(g(r),"handleDeleteValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var n;n=r.props.isMulti?r.state.value.filter(function(t){return t!==e}):t.getDerivedValue(n,r.props.isMulti),r.setState({value:n}),r.props.onChange(n)}}),Object.defineProperty(g(r),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.setState({currentPage:e})}}),Object.defineProperty(g(r),"handleChangeCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.setState({currentCategory:e,currentPage:0})}}),Object.defineProperty(g(r),"handleChangeSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.setState({currentSearch:e,currentPage:0})}}),Object.defineProperty(g(r),"resetPortalStyle",{configurable:!0,enumerable:!0,writable:!0,value:function(e){["maxHeight","paddingTop","paddingBottom"].forEach(function(t){e.style[t]=null})}}),Object.defineProperty(g(r),"handlePortalEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];r.resetPortalStyle(t);var n=getComputedStyle(t);r.fipPortalComputedStyle={height:n.height,paddingTop:n.paddingTop,paddingBottom:n.paddingBottom},["maxHeight","paddingTop","paddingBottom"].forEach(function(e){t.style[e]="0px"})}}),Object.defineProperty(g(r),"handlePortalEntering",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight=r.fipPortalComputedStyle.height,t.style.paddingTop=r.fipPortalComputedStyle.paddingTop,t.style.paddingBottom=r.fipPortalComputedStyle.paddingBottom}}),Object.defineProperty(g(r),"handlePortalEntered",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];r.resetPortalStyle(t),r.props.showSearch&&void 0===window.orientation&&-1===navigator.userAgent.indexOf("IEMobile")&&t.querySelector(".rfipsearch__input").focus()}}),Object.defineProperty(g(r),"handlePortalExit",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];r.resetPortalStyle(t);var n=getComputedStyle(t).height;t.style.maxHeight=n}}),Object.defineProperty(g(r),"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(g(r),"renderIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(e){if("function"==typeof r.props.renderFunc)return r.props.renderFunc(e);if("class"===r.props.renderUsing)return n.default.createElement("i",{className:e});var t=h({},r.props.renderUsing,r.props.convertHex?(0,s.convertToHex)(e):e);return n.default.createElement("i",t)}}),r.fipButtonRef=n.default.createRef(),r.fipDropDownRef=n.default.createRef(),r.state={currentCategory:0,currentPage:0,isOpen:!1,currentSearch:""},r.fipPortalComputedStyle=null,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,n.default.PureComponent),b(t,null,[{key:"getDerivedStateFromProps",value:function(e,r){var n={};return n.elemClass=t.getDerivedClassName("rfip",e.theme,e.isMulti,r.isOpen),n.btnClass=t.getDerivedClassName("rfipbtn",e.theme,e.isMulti,r.isOpen),n.ddClass=t.getDerivedClassName("rfipdropdown",e.theme,e.isMulti,r.isOpen),n.value=t.getDerivedValue(e.value,e.isMulti),e.showCategory||(n.currentCategory=0,n.currentPage=0),e.showSearch||(n.currentSearch="",n.currentPage=0),n}},{key:"getDerivedClassName",value:function(e,t,r,n){return(0,o.default)(e,"".concat(e,"--").concat(t),h({},"".concat(e,"--multi"),r),"".concat(e,"--").concat(n?"open":"close"))}},{key:"getDerivedValue",value:function(e,t){var r=e;return t?r=Array.isArray(e)?p(e):m:"number"!=typeof e&&"string"!=typeof e&&(r=v),r}}]),b(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 n.default.createElement("div",{className:this.state.elemClass,ref:this.fipRef},n.default.createElement(i.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}),n.default.createElement(l.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},n.default.createElement(c.default,{appendRoot:this.props.appendTo,domRef:this.fipDropDownRef,btnRef:this.fipButtonRef,className:this.state.ddClass},n.default.createElement(u.default,e))))}}]),t}();Object.defineProperty(P,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{icons:a.default.oneOfType([a.default.arrayOf(a.default.string),a.default.arrayOf(a.default.number),a.default.objectOf(a.default.oneOfType([a.default.arrayOf(a.default.number),a.default.arrayOf(a.default.string)]))]).isRequired,search:a.default.oneOfType([a.default.objectOf(a.default.arrayOf(a.default.string)),a.default.arrayOf(a.default.string)]),iconsPerPage:a.default.number,theme:a.default.string,onChange:a.default.func.isRequired,showCategory:a.default.bool,showSearch:a.default.bool,value:a.default.oneOfType([a.default.arrayOf(a.default.string),a.default.arrayOf(a.default.number),a.default.number,a.default.string]),isMulti:a.default.bool,renderUsing:a.default.string,convertHex:a.default.bool,renderFunc:a.default.func,appendTo:a.default.oneOfType([a.default.bool,a.default.string]),allCatPlaceholder:a.default.string,searchPlaceholder:a.default.string,noIconPlaceholder:a.default.string,noSelectedPlaceholder:a.default.string,closeOnSelect:a.default.bool}}),Object.defineProperty(P,"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(P,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"FontIconPicker"});var O=P;t.default=O},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=((n=r(14))&&n.__esModule?n:{default:n}).default;t.default=a}]).default});
1029
  //# sourceMappingURL=fonticonpicker.react.js.map
1030
 
1031
  /***/ }),
1032
- /* 12 */
1033
  /*!**************************************!*\
1034
  !*** ./node_modules/lodash/_root.js ***!
1035
  \**************************************/
1036
- /*! no static exports found */
1037
  /*! all exports used */
1038
  /***/ (function(module, exports, __webpack_require__) {
1039
 
1040
- var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ 113);
1041
 
1042
  /** Detect free variable `self`. */
1043
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
@@ -1049,11 +989,11 @@ module.exports = root;
1049
 
1050
 
1051
  /***/ }),
1052
- /* 13 */
1053
  /*!*****************************************!*\
1054
  !*** ./node_modules/lodash/isObject.js ***!
1055
  \*****************************************/
1056
- /*! no static exports found */
1057
  /*! all exports used */
1058
  /***/ (function(module, exports) {
1059
 
@@ -1091,11 +1031,11 @@ module.exports = isObject;
1091
 
1092
 
1093
  /***/ }),
1094
- /* 14 */
1095
  /*!****************************************!*\
1096
  !*** ./node_modules/lodash/isArray.js ***!
1097
  \****************************************/
1098
- /*! no static exports found */
1099
  /*! all exports used */
1100
  /***/ (function(module, exports) {
1101
 
@@ -1127,12 +1067,74 @@ var isArray = Array.isArray;
1127
  module.exports = isArray;
1128
 
1129
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1130
  /***/ }),
1131
  /* 15 */
1132
  /*!******************************************!*\
1133
  !*** ./node_modules/prop-types/index.js ***!
1134
  \******************************************/
1135
- /*! no static exports found */
1136
  /*! all exports used */
1137
  /***/ (function(module, exports, __webpack_require__) {
1138
 
@@ -1144,33 +1146,46 @@ module.exports = isArray;
1144
  */
1145
 
1146
  if (process.env.NODE_ENV !== 'production') {
1147
- var ReactIs = __webpack_require__(/*! react-is */ 136);
1148
 
1149
  // By explicitly using `prop-types` you are opting into new development behavior.
1150
  // http://fb.me/prop-types-in-prod
1151
  var throwOnDirectAccess = true;
1152
- module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ 278)(ReactIs.isElement, throwOnDirectAccess);
1153
  } else {
1154
  // By explicitly using `prop-types` you are opting into new production behavior.
1155
  // http://fb.me/prop-types-in-prod
1156
- module.exports = __webpack_require__(/*! ./factoryWithThrowingShims */ 279)();
1157
  }
1158
 
1159
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 3)))
1160
 
1161
  /***/ }),
1162
  /* 16 */
 
 
 
 
 
 
 
 
 
 
 
 
 
1163
  /*!************************************!*\
1164
  !*** ./node_modules/lodash/map.js ***!
1165
  \************************************/
1166
- /*! no static exports found */
1167
  /*! exports used: default */
1168
  /***/ (function(module, exports, __webpack_require__) {
1169
 
1170
- var arrayMap = __webpack_require__(/*! ./_arrayMap */ 34),
1171
- baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 111),
1172
- baseMap = __webpack_require__(/*! ./_baseMap */ 252),
1173
- isArray = __webpack_require__(/*! ./isArray */ 14);
1174
 
1175
  /**
1176
  * Creates an array of values by running each element in `collection` thru
@@ -1223,11 +1238,11 @@ module.exports = map;
1223
 
1224
 
1225
  /***/ }),
1226
- /* 17 */
1227
  /*!*********************************************!*\
1228
  !*** ./node_modules/lodash/isObjectLike.js ***!
1229
  \*********************************************/
1230
- /*! no static exports found */
1231
  /*! all exports used */
1232
  /***/ (function(module, exports) {
1233
 
@@ -1262,140 +1277,64 @@ function isObjectLike(value) {
1262
  module.exports = isObjectLike;
1263
 
1264
 
1265
- /***/ }),
1266
- /* 18 */
1267
- /*!*****************************************!*\
1268
- !*** ./node_modules/react-dom/index.js ***!
1269
- \*****************************************/
1270
- /*! no static exports found */
1271
- /*! all exports used */
1272
- /***/ (function(module, exports, __webpack_require__) {
1273
-
1274
- "use strict";
1275
- /* WEBPACK VAR INJECTION */(function(process) {
1276
-
1277
- function checkDCE() {
1278
- /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1279
- if (
1280
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
1281
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
1282
- ) {
1283
- return;
1284
- }
1285
- if (process.env.NODE_ENV !== 'production') {
1286
- // This branch is unreachable because this function is only called
1287
- // in production, but the condition is true only in development.
1288
- // Therefore if the branch is still here, dead code elimination wasn't
1289
- // properly applied.
1290
- // Don't change the message. React DevTools relies on it. Also make sure
1291
- // this message doesn't occur elsewhere in this function, or it will cause
1292
- // a false positive.
1293
- throw new Error('^_^');
1294
- }
1295
- try {
1296
- // Verify that the code above has been dead code eliminated (DCE'd).
1297
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
1298
- } catch (err) {
1299
- // DevTools shouldn't crash React, no matter what.
1300
- // We should still report in case we break this code.
1301
- console.error(err);
1302
- }
1303
- }
1304
-
1305
- if (process.env.NODE_ENV === 'production') {
1306
- // DCE check should happen before ReactDOM bundle executes so that
1307
- // DevTools can report bad minification during injection.
1308
- checkDCE();
1309
- module.exports = __webpack_require__(/*! ./cjs/react-dom.production.min.js */ 269);
1310
- } else {
1311
- module.exports = __webpack_require__(/*! ./cjs/react-dom.development.js */ 272);
1312
- }
1313
-
1314
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 3)))
1315
-
1316
  /***/ }),
1317
  /* 19 */
1318
- /*!*******************************************!*\
1319
- !*** ./node_modules/lodash/_getNative.js ***!
1320
- \*******************************************/
1321
- /*! no static exports found */
1322
- /*! all exports used */
1323
  /***/ (function(module, exports, __webpack_require__) {
1324
 
1325
- var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ 204),
1326
- getValue = __webpack_require__(/*! ./_getValue */ 209);
 
 
 
 
 
1327
 
1328
  /**
1329
- * Gets the native function at `key` of `object`.
1330
  *
1331
- * @private
1332
- * @param {Object} object The object to query.
1333
- * @param {string} key The key of the method to get.
1334
- * @returns {*} Returns the function if it's native, else `undefined`.
 
 
 
1335
  */
1336
- function getNative(object, key) {
1337
- var value = getValue(object, key);
1338
- return baseIsNative(value) ? value : undefined;
1339
- }
1340
-
1341
- module.exports = getNative;
1342
-
1343
-
1344
- /***/ }),
1345
- /* 20 */
1346
- /*!********************************************!*\
1347
- !*** ./node_modules/lodash/_baseGetTag.js ***!
1348
- \********************************************/
1349
- /*! no static exports found */
1350
- /*! all exports used */
1351
- /***/ (function(module, exports, __webpack_require__) {
1352
-
1353
- var Symbol = __webpack_require__(/*! ./_Symbol */ 22),
1354
- getRawTag = __webpack_require__(/*! ./_getRawTag */ 205),
1355
- objectToString = __webpack_require__(/*! ./_objectToString */ 206);
1356
-
1357
- /** `Object#toString` result references. */
1358
- var nullTag = '[object Null]',
1359
- undefinedTag = '[object Undefined]';
1360
-
1361
- /** Built-in value references. */
1362
- var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
1363
 
1364
  /**
1365
- * The base implementation of `getTag` without fallbacks for buggy environments.
1366
  *
1367
- * @private
1368
- * @param {*} value The value to query.
1369
- * @returns {string} Returns the `toStringTag`.
1370
  */
1371
- function baseGetTag(value) {
1372
- if (value == null) {
1373
- return value === undefined ? undefinedTag : nullTag;
1374
- }
1375
- return (symToStringTag && symToStringTag in Object(value))
1376
- ? getRawTag(value)
1377
- : objectToString(value);
1378
- }
1379
-
1380
- module.exports = baseGetTag;
1381
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1382
 
1383
- /***/ }),
1384
- /* 21 */
1385
- /*!**************************************!*\
1386
- !*** ./node_modules/memize/index.js ***!
1387
- \**************************************/
1388
- /*! no static exports found */
1389
- /*! exports used: default */
1390
- /***/ (function(module, exports, __webpack_require__) {
1391
 
1392
- /* WEBPACK VAR INJECTION */(function(process) {module.exports = function memize( fn, options ) {
1393
- var size = 0,
1394
- maxSize, head, tail;
1395
 
1396
- if ( options && options.maxSize ) {
1397
- maxSize = options.maxSize;
1398
- }
1399
 
1400
  function memoized( /* ...args */ ) {
1401
  var node = head,
@@ -1435,14 +1374,14 @@ module.exports = baseGetTag;
1435
 
1436
  // Adjust siblings to point to each other. If node was tail,
1437
  // this also handles new tail's empty `next` assignment.
1438
- node.prev.next = node.next;
1439
  if ( node.next ) {
1440
  node.next.prev = node.prev;
1441
  }
1442
 
1443
  node.next = head;
1444
  node.prev = null;
1445
- head.prev = node;
1446
  head = node;
1447
  }
1448
 
@@ -1462,7 +1401,7 @@ module.exports = baseGetTag;
1462
  args: args,
1463
 
1464
  // Generate the result from original function
1465
- val: fn.apply( null, args )
1466
  };
1467
 
1468
  // Don't need to check whether node is already head, since it would
@@ -1478,9 +1417,9 @@ module.exports = baseGetTag;
1478
  }
1479
 
1480
  // Trim tail if we're reached max size and are pending cache insertion
1481
- if ( size === maxSize ) {
1482
- tail = tail.prev;
1483
- tail.next = null;
1484
  } else {
1485
  size++;
1486
  }
@@ -1504,21 +1443,243 @@ module.exports = baseGetTag;
1504
  };
1505
  }
1506
 
 
 
 
 
 
 
1507
  return memoized;
1508
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1509
 
1510
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 3)))
1511
 
1512
  /***/ }),
1513
  /* 22 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1514
  /*!****************************************!*\
1515
  !*** ./node_modules/lodash/_Symbol.js ***!
1516
  \****************************************/
1517
- /*! no static exports found */
1518
  /*! all exports used */
1519
  /***/ (function(module, exports, __webpack_require__) {
1520
 
1521
- var root = __webpack_require__(/*! ./_root */ 12);
1522
 
1523
  /** Built-in value references. */
1524
  var Symbol = root.Symbol;
@@ -1527,17 +1688,17 @@ module.exports = Symbol;
1527
 
1528
 
1529
  /***/ }),
1530
- /* 23 */
1531
  /*!*************************************!*\
1532
  !*** ./node_modules/lodash/keys.js ***!
1533
  \*************************************/
1534
- /*! no static exports found */
1535
  /*! all exports used */
1536
  /***/ (function(module, exports, __webpack_require__) {
1537
 
1538
- var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ 121),
1539
- baseKeys = __webpack_require__(/*! ./_baseKeys */ 236),
1540
- isArrayLike = __webpack_require__(/*! ./isArrayLike */ 24);
1541
 
1542
  /**
1543
  * Creates an array of the own enumerable property names of `object`.
@@ -1575,16 +1736,16 @@ module.exports = keys;
1575
 
1576
 
1577
  /***/ }),
1578
- /* 24 */
1579
  /*!********************************************!*\
1580
  !*** ./node_modules/lodash/isArrayLike.js ***!
1581
  \********************************************/
1582
- /*! no static exports found */
1583
  /*! all exports used */
1584
  /***/ (function(module, exports, __webpack_require__) {
1585
 
1586
- var isFunction = __webpack_require__(/*! ./isFunction */ 112),
1587
- isLength = __webpack_require__(/*! ./isLength */ 61);
1588
 
1589
  /**
1590
  * Checks if `value` is array-like. A value is considered array-like if it's
@@ -1619,18 +1780,18 @@ module.exports = isArrayLike;
1619
 
1620
 
1621
  /***/ }),
1622
- /* 25 */
1623
  /*!******************************************!*\
1624
  !*** ./node_modules/lodash/_castPath.js ***!
1625
  \******************************************/
1626
- /*! no static exports found */
1627
  /*! all exports used */
1628
  /***/ (function(module, exports, __webpack_require__) {
1629
 
1630
- var isArray = __webpack_require__(/*! ./isArray */ 14),
1631
- isKey = __webpack_require__(/*! ./_isKey */ 62),
1632
- stringToPath = __webpack_require__(/*! ./_stringToPath */ 244),
1633
- toString = __webpack_require__(/*! ./toString */ 128);
1634
 
1635
  /**
1636
  * Casts `value` to a path array if it's not one.
@@ -1651,15 +1812,15 @@ module.exports = castPath;
1651
 
1652
 
1653
  /***/ }),
1654
- /* 26 */
1655
  /*!***************************************!*\
1656
  !*** ./node_modules/lodash/_toKey.js ***!
1657
  \***************************************/
1658
- /*! no static exports found */
1659
  /*! all exports used */
1660
  /***/ (function(module, exports, __webpack_require__) {
1661
 
1662
- var isSymbol = __webpack_require__(/*! ./isSymbol */ 46);
1663
 
1664
  /** Used as references for various `Number` constants. */
1665
  var INFINITY = 1 / 0;
@@ -1683,11 +1844,11 @@ module.exports = toKey;
1683
 
1684
 
1685
  /***/ }),
1686
- /* 27 */
1687
  /*!*********************************************!*\
1688
  !*** ./node_modules/object-assign/index.js ***!
1689
  \*********************************************/
1690
- /*! no static exports found */
1691
  /*! all exports used */
1692
  /***/ (function(module, exports, __webpack_require__) {
1693
 
@@ -1785,16 +1946,273 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {
1785
 
1786
 
1787
  /***/ }),
1788
- /* 28 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1789
  /*!********************************************!*\
1790
  !*** ./node_modules/lodash/_copyObject.js ***!
1791
  \********************************************/
1792
- /*! no static exports found */
1793
  /*! all exports used */
1794
  /***/ (function(module, exports, __webpack_require__) {
1795
 
1796
- var assignValue = __webpack_require__(/*! ./_assignValue */ 48),
1797
- baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ 142);
1798
 
1799
  /**
1800
  * Copies properties of `source` to `object`.
@@ -1836,7 +2254,97 @@ module.exports = copyObject;
1836
 
1837
 
1838
  /***/ }),
1839
- /* 29 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1840
  /*!***********************************************************!*\
1841
  !*** ./node_modules/@emotion/css/dist/css.browser.esm.js ***!
1842
  \***********************************************************/
@@ -1845,7 +2353,7 @@ module.exports = copyObject;
1845
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
1846
 
1847
  "use strict";
1848
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_serialize__ = __webpack_require__(/*! @emotion/serialize */ 134);
1849
 
1850
 
1851
  function css() {
@@ -1853,1717 +2361,781 @@ function css() {
1853
  args[_key] = arguments[_key];
1854
  }
1855
 
1856
- return __WEBPACK_IMPORTED_MODULE_0__emotion_serialize__["a" /* serializeStyles */](args);
1857
  }
1858
 
1859
  /* harmony default export */ __webpack_exports__["a"] = (css);
1860
 
1861
 
1862
  /***/ }),
1863
- /* 30 */
1864
- /*!**********************************************!*\
1865
- !*** ./src/blocks/timeline/inline-styles.js ***!
1866
- \**********************************************/
1867
- /*! exports provided: default */
1868
- /*! exports used: default */
1869
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
1870
 
1871
  "use strict";
1872
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 5);
1873
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 4);
1874
- /**
1875
- * Returns Dynamic Generated CSS
1876
- */
1877
 
1878
 
 
 
 
 
 
1879
 
 
1880
 
1881
- function contentTimelineStyle(props) {
1882
- var _props$attributes = props.attributes,
1883
- dateBottomspace = _props$attributes.dateBottomspace,
1884
- backgroundColor = _props$attributes.backgroundColor,
1885
- separatorColor = _props$attributes.separatorColor,
1886
- separatorFillColor = _props$attributes.separatorFillColor,
1887
- separatorBg = _props$attributes.separatorBg,
1888
- separatorBorder = _props$attributes.separatorBorder,
1889
- borderFocus = _props$attributes.borderFocus,
1890
- verticalSpace = _props$attributes.verticalSpace,
1891
- horizontalSpace = _props$attributes.horizontalSpace,
1892
- separatorwidth = _props$attributes.separatorwidth,
1893
- borderwidth = _props$attributes.borderwidth,
1894
- connectorBgsize = _props$attributes.connectorBgsize,
1895
- borderRadius = _props$attributes.borderRadius,
1896
- bgPadding = _props$attributes.bgPadding,
1897
- width = _props$attributes.width,
1898
- readMoreText = _props$attributes.readMoreText,
1899
- icon = _props$attributes.icon,
1900
- iconColor = _props$attributes.iconColor,
1901
- dateFontsizeType = _props$attributes.dateFontsizeType,
1902
- dateFontsize = _props$attributes.dateFontsize,
1903
- dateFontsizeTablet = _props$attributes.dateFontsizeTablet,
1904
- dateFontsizeMobile = _props$attributes.dateFontsizeMobile,
1905
- dateFontFamily = _props$attributes.dateFontFamily,
1906
- dateFontWeight = _props$attributes.dateFontWeight,
1907
- dateFontSubset = _props$attributes.dateFontSubset,
1908
- dateLineHeightType = _props$attributes.dateLineHeightType,
1909
- dateLineHeight = _props$attributes.dateLineHeight,
1910
- dateLineHeightTablet = _props$attributes.dateLineHeightTablet,
1911
- dateLineHeightMobile = _props$attributes.dateLineHeightMobile,
1912
- dateLoadGoogleFonts = _props$attributes.dateLoadGoogleFonts,
1913
- dateColor = _props$attributes.dateColor,
1914
- iconSize = _props$attributes.iconSize,
1915
- iconFocus = _props$attributes.iconFocus,
1916
- iconBgFocus = _props$attributes.iconBgFocus,
1917
- block_id = _props$attributes.block_id,
1918
- headFontSizeType = _props$attributes.headFontSizeType,
1919
- headFontSize = _props$attributes.headFontSize,
1920
- headFontSizeTablet = _props$attributes.headFontSizeTablet,
1921
- headFontSizeMobile = _props$attributes.headFontSizeMobile,
1922
- headFontFamily = _props$attributes.headFontFamily,
1923
- headFontWeight = _props$attributes.headFontWeight,
1924
- headFontSubset = _props$attributes.headFontSubset,
1925
- headLineHeightType = _props$attributes.headLineHeightType,
1926
- headLineHeight = _props$attributes.headLineHeight,
1927
- headLineHeightTablet = _props$attributes.headLineHeightTablet,
1928
- headLineHeightMobile = _props$attributes.headLineHeightMobile,
1929
- headLoadGoogleFonts = _props$attributes.headLoadGoogleFonts,
1930
- align = _props$attributes.align,
1931
- headingColor = _props$attributes.headingColor,
1932
- headSpace = _props$attributes.headSpace,
1933
- subHeadFontSizeType = _props$attributes.subHeadFontSizeType,
1934
- subHeadFontSize = _props$attributes.subHeadFontSize,
1935
- subHeadFontSizeTablet = _props$attributes.subHeadFontSizeTablet,
1936
- subHeadFontSizeMobile = _props$attributes.subHeadFontSizeMobile,
1937
- subHeadFontFamily = _props$attributes.subHeadFontFamily,
1938
- subHeadFontWeight = _props$attributes.subHeadFontWeight,
1939
- subHeadFontSubset = _props$attributes.subHeadFontSubset,
1940
- subHeadLineHeightType = _props$attributes.subHeadLineHeightType,
1941
- subHeadLineHeight = _props$attributes.subHeadLineHeight,
1942
- subHeadLineHeightTablet = _props$attributes.subHeadLineHeightTablet,
1943
- subHeadLineHeightMobile = _props$attributes.subHeadLineHeightMobile,
1944
- subHeadLoadGoogleFonts = _props$attributes.subHeadLoadGoogleFonts,
1945
- subHeadingColor = _props$attributes.subHeadingColor,
1946
- authorSpace = _props$attributes.authorSpace,
1947
- authorColor = _props$attributes.authorColor,
1948
- authorFontSizeType = _props$attributes.authorFontSizeType,
1949
- authorFontSize = _props$attributes.authorFontSize,
1950
- authorFontSizeTablet = _props$attributes.authorFontSizeTablet,
1951
- authorFontSizeMobile = _props$attributes.authorFontSizeMobile,
1952
- authorFontFamily = _props$attributes.authorFontFamily,
1953
- authorFontWeight = _props$attributes.authorFontWeight,
1954
- authorFontSubset = _props$attributes.authorFontSubset,
1955
- authorLineHeightType = _props$attributes.authorLineHeightType,
1956
- authorLineHeight = _props$attributes.authorLineHeight,
1957
- authorLineHeightTablet = _props$attributes.authorLineHeightTablet,
1958
- authorLineHeightMobile = _props$attributes.authorLineHeightMobile,
1959
- authorLoadGoogleFonts = _props$attributes.authorLoadGoogleFonts,
1960
- ctaColor = _props$attributes.ctaColor,
1961
- ctaFontSizeType = _props$attributes.ctaFontSizeType,
1962
- ctaFontSize = _props$attributes.ctaFontSize,
1963
- ctaFontSizeTablet = _props$attributes.ctaFontSizeTablet,
1964
- ctaFontSizeMobile = _props$attributes.ctaFontSizeMobile,
1965
- ctaFontFamily = _props$attributes.ctaFontFamily,
1966
- ctaFontWeight = _props$attributes.ctaFontWeight,
1967
- ctaFontSubset = _props$attributes.ctaFontSubset,
1968
- ctaLineHeightType = _props$attributes.ctaLineHeightType,
1969
- ctaLineHeight = _props$attributes.ctaLineHeight,
1970
- ctaLineHeightTablet = _props$attributes.ctaLineHeightTablet,
1971
- ctaLineHeightMobile = _props$attributes.ctaLineHeightMobile,
1972
- ctaLoadGoogleFonts = _props$attributes.ctaLoadGoogleFonts,
1973
- ctaBackground = _props$attributes.ctaBackground;
1974
 
 
1975
 
1976
- var resp_selectors = "left";
1977
 
1978
- var selectors = {
1979
- " .uagb-timeline__heading": {
1980
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headFontSize, headFontSizeType),
1981
- "font-family": headFontFamily,
1982
- "font-weight": headFontWeight,
1983
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headLineHeight, headLineHeightType),
1984
- "text-align": align,
1985
- "color": headingColor
1986
- },
1987
- " .uagb-timeline__heading a": {
1988
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headFontSize, headFontSizeType),
1989
- "font-family": headFontFamily,
1990
- "font-weight": headFontWeight,
1991
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headLineHeight, headLineHeightType),
1992
- "text-align": align,
1993
- "color": headingColor
1994
- },
1995
- " .uagb-timeline__heading-text": {
1996
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headSpace, "px")
1997
- },
1998
- " .uagb-timeline-desc-content": {
1999
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadFontSize, subHeadFontSizeType),
2000
- "font-family": subHeadFontFamily,
2001
- "font-weight": subHeadFontWeight,
2002
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadLineHeight, subHeadLineHeightType),
2003
- "text-align": align,
2004
- "color": subHeadingColor
2005
- },
2006
- " .uagb-timeline__events-new": {
2007
- "text-align": align
2008
- },
2009
- " .uagb-timeline__date-inner": {
2010
- "text-align": align
2011
- },
2012
- " .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after": {
2013
- "border-left-color": backgroundColor
2014
- },
2015
- " .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after": {
2016
- "border-left-color": backgroundColor
2017
- },
2018
- " .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after": {
2019
- "border-right-color": backgroundColor
2020
- },
2021
- " .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after": {
2022
- "border-right-color": backgroundColor
2023
- },
2024
- " .uagb-timeline__line__inner": {
2025
- "background-color": separatorFillColor
2026
- },
2027
- " .uagb-timeline__line": {
2028
- "background-color": separatorColor,
2029
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](separatorwidth, "px")
2030
- },
2031
- " .uagb-timeline__right-block .uagb-timeline__line": {
2032
- "right": "calc( " + connectorBgsize + "px / 2 )"
2033
- },
2034
- " .uagb-timeline__left-block .uagb-timeline__line": {
2035
- "left": "calc( " + connectorBgsize + "px / 2 )"
2036
- },
2037
- " .uagb-timeline__center-block .uagb-timeline__line": {
2038
- "right": "calc( " + connectorBgsize + "px / 2 )"
2039
- },
2040
- " .uagb-timeline__marker": {
2041
- "background-color": separatorBg,
2042
- "min-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](connectorBgsize, "px"),
2043
- "min-width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](connectorBgsize, "px"),
2044
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](connectorBgsize, "px"),
2045
- "border": borderwidth + "px solid" + separatorBorder
2046
- },
2047
- " .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow": {
2048
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](connectorBgsize, "px")
2049
- },
2050
- " .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow": {
2051
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](connectorBgsize, "px")
2052
- },
2053
- " .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow": {
2054
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](connectorBgsize, "px")
2055
- },
2056
- " .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow": {
2057
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](connectorBgsize, "px")
2058
- },
2059
- " .uagb-timeline__center-block .uagb-timeline__marker": {
2060
- "margin-left": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](horizontalSpace, "px"),
2061
- "margin-right": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](horizontalSpace, "px")
2062
- },
2063
- " .uagb-timeline__field:not(:last-child)": {
2064
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](verticalSpace, "px")
2065
- },
2066
- " .uagb-timeline__date-hide.uagb-timeline__date-inner": {
2067
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateBottomspace, "px"),
2068
- "color": dateColor,
2069
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateFontsize, dateFontsizeType),
2070
- "font-family": dateFontFamily,
2071
- "font-weight": dateFontWeight,
2072
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateLineHeight, dateLineHeightType),
2073
- "text-align": align
2074
- },
2075
- " .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left": {
2076
- "margin-left": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](horizontalSpace, "px")
2077
- },
2078
- " .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right": {
2079
- "margin-right": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](horizontalSpace, "px")
2080
- },
2081
- " .uagb-timeline__date-new": {
2082
- "color": dateColor,
2083
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateFontsize, dateFontsizeType),
2084
- "font-family": dateFontFamily,
2085
- "font-weight": dateFontWeight,
2086
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateLineHeight, dateLineHeightType)
2087
- },
2088
- " .uagb-timeline__events-inner-new": {
2089
- "background-color": backgroundColor,
2090
- "border-radius": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](borderRadius, "px"),
2091
- "padding": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](bgPadding, "px")
2092
- },
2093
- " .uagb-timeline__main .uagb-timeline__icon-new": {
2094
- "color": iconColor,
2095
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconSize, "px"),
2096
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](iconSize, "px")
2097
- },
2098
- " .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon": {
2099
- "background": iconBgFocus,
2100
- "border-color": borderFocus
2101
- },
2102
- " .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new": {
2103
- "color": iconFocus
2104
- },
2105
- " .uagb-timeline__main .uagb-timeline__icon-new svg": {
2106
- "fill": iconColor
2107
- },
2108
- " .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new svg": {
2109
- "fill": iconFocus
2110
- },
2111
 
2112
- //Author and CTA
2113
- " .uagb-timeline__author": {
2114
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorSpace, "px"),
2115
- "text-align": align
2116
- },
2117
- " .uagb-timeline__author .dashicons-admin-users": {
2118
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorFontSize, authorFontSizeType),
2119
- "font-weight": authorFontWeight,
2120
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorLineHeight, authorLineHeightType),
2121
- "color": authorColor
2122
- },
2123
- " .uagb-timeline__author-link": {
2124
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorFontSize, authorFontSizeType),
2125
- "font-family": authorFontFamily,
2126
- "font-weight": authorFontWeight,
2127
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorLineHeight, authorLineHeightType),
2128
- "color": authorColor
2129
- },
2130
 
2131
- " .uagb-timeline__link_parent": {
2132
- "text-align": align
2133
- },
2134
- " .uagb-timeline__link": {
2135
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSize, ctaFontSizeType),
2136
- "font-family": ctaFontFamily,
2137
- "font-weight": ctaFontWeight,
2138
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaLineHeight, ctaLineHeightType),
2139
- "color": ctaColor,
2140
- "background-color": ctaBackground
2141
- }
2142
 
2143
- /* Generate Responsive CSS for timeline */
2144
- };var tablet_selectors = {
2145
- " .uagb-timeline__date-hide.uagb-timeline__date-inner": {
2146
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateFontsizeTablet, dateFontsizeType),
2147
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateLineHeightTablet, dateLineHeightType)
2148
- },
2149
- " .uagb-timeline__date-new": {
2150
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateFontsizeTablet, dateFontsizeType),
2151
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateLineHeightTablet, dateLineHeightType)
2152
- },
2153
- " .uagb-timeline__heading": {
2154
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headFontSizeTablet, headFontSizeType),
2155
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headLineHeightTablet, headLineHeightType)
2156
- },
2157
- " .uagb-timeline__heading a": {
2158
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headFontSizeTablet, headFontSizeType),
2159
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headLineHeightTablet, headLineHeightType)
2160
- },
2161
- " .uagb-timeline-desc-content": {
2162
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadFontSizeTablet, subHeadFontSizeType),
2163
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadLineHeightTablet, subHeadLineHeightType)
2164
- },
2165
- " .uagb-timeline__center-block .uagb-timeline__marker": {
2166
- "margin-left": 0,
2167
- "margin-right": 0
2168
- },
2169
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading": {
2170
- "text-align": resp_selectors
2171
- },
2172
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content": {
2173
- "text-align": resp_selectors
2174
- },
2175
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new": {
2176
- "text-align": resp_selectors
2177
- },
2178
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner": {
2179
- "text-align": resp_selectors
2180
- },
2181
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner": {
2182
- "text-align": resp_selectors
2183
- },
2184
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after": {
2185
- "border-right-color": backgroundColor
2186
- },
2187
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line": {
2188
- "left": "calc( " + connectorBgsize + "px / 2 )"
2189
- },
2190
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author": {
2191
- "text-align": resp_selectors
2192
- },
2193
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent": {
2194
- "text-align": resp_selectors
2195
- },
2196
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__image a": {
2197
- "text-align": resp_selectors
2198
- },
2199
 
2200
- // CTA AUTHOR.
2201
- " .uagb-timeline__author .dashicons-admin-users": {
2202
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorFontSizeTablet, authorFontSizeType),
2203
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorLineHeightTablet, authorLineHeightType)
2204
- },
2205
- " .uagb-timeline__author-link": {
2206
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorFontSizeTablet, authorFontSizeType),
2207
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorLineHeightTablet, authorLineHeightType)
2208
- },
2209
- " .uagb-timeline__link": {
2210
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeTablet, ctaFontSizeType),
2211
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaLineHeightTablet, ctaLineHeightType)
2212
- }
2213
- };
2214
 
2215
- var mobile_selectors = {
2216
- " .uagb-timeline__date-hide.uagb-timeline__date-inner": {
2217
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateFontsizeMobile, dateFontsizeType),
2218
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateLineHeightMobile, dateLineHeightType)
2219
- },
2220
- " .uagb-timeline__date-new": {
2221
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateFontsizeMobile, dateFontsizeType),
2222
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](dateLineHeightMobile, dateLineHeightType)
2223
- },
2224
- " .uagb-timeline__heading": {
2225
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headFontSizeMobile, headFontSizeType),
2226
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headLineHeightMobile, headLineHeightType)
2227
- },
2228
- " .uagb-timeline__heading a": {
2229
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headFontSizeMobile, headFontSizeType),
2230
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](headLineHeightMobile, headLineHeightType)
2231
- },
2232
- " .uagb-timeline-desc-content": {
2233
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadFontSizeMobile, subHeadFontSizeType),
2234
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](subHeadLineHeightMobile, subHeadLineHeightType)
2235
- },
2236
- " .uagb-timeline__center-block .uagb-timeline__marker": {
2237
- "margin-left": 0,
2238
- "margin-right": 0
2239
- },
2240
- " .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left": {
2241
- "margin-left": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](horizontalSpace, "px")
2242
- },
2243
- " .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right": {
2244
- "margin-left": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](horizontalSpace, "px")
2245
- },
2246
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading": {
2247
- "text-align": resp_selectors
2248
- },
2249
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content": {
2250
- "text-align": resp_selectors
2251
- },
2252
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new": {
2253
- "text-align": resp_selectors
2254
- },
2255
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner": {
2256
- "text-align": resp_selectors
2257
- },
2258
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner": {
2259
- "text-align": resp_selectors
2260
- },
2261
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after": {
2262
- "border-right-color": backgroundColor
2263
- },
2264
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line": {
2265
- "left": "calc( " + connectorBgsize + "px / 2 )"
2266
- },
2267
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__author": {
2268
- "text-align": resp_selectors
2269
- },
2270
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__link_parent": {
2271
- "text-align": resp_selectors
2272
- },
2273
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__image a": {
2274
- "text-align": resp_selectors
2275
- },
2276
 
2277
- // CTA AUthor
2278
- " .uagb-timeline__author .dashicons-admin-users": {
2279
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorFontSizeMobile, authorFontSizeType),
2280
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorLineHeightMobile, authorLineHeightType)
2281
- },
2282
- " .uagb-timeline__author-link": {
2283
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorFontSizeMobile, authorFontSizeType),
2284
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](authorLineHeightMobile, authorLineHeightType)
2285
- },
2286
- " .uagb-timeline__link": {
2287
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeMobile, ctaFontSizeType),
2288
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaLineHeightMobile, ctaLineHeightType)
2289
- }
2290
- };
2291
 
2292
- var styling_css = "";
2293
- var id = ".block-editor-page #wpwrap .uagb-block-" + props.clientId;
 
 
2294
 
2295
- styling_css = __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */](selectors, id);
 
 
2296
 
2297
- styling_css += __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */](tablet_selectors, id, true, "tablet");
 
2298
 
2299
- styling_css += __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */](mobile_selectors, id, true, "mobile");
2300
 
2301
- return styling_css;
2302
- }
2303
 
2304
- /* harmony default export */ __webpack_exports__["a"] = (contentTimelineStyle);
 
 
2305
 
2306
- /***/ }),
2307
- /* 31 */
2308
- /*!****************************************!*\
2309
- !*** ./src/blocks/timeline/classes.js ***!
2310
- \****************************************/
2311
- /*! exports provided: default */
2312
- /*! exports used: default */
2313
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2314
 
2315
- "use strict";
2316
- /**
2317
- * Returns Dynamic Generated Classes
2318
- */
2319
 
2320
- function ContentTmClasses(attributes) {
2321
 
2322
- /* Arrow position */
2323
- var arrow_align_class = "uagb-timeline__arrow-top" + " ";
2324
- if (attributes.arrowlinAlignment == "center") {
2325
- arrow_align_class = "uagb-timeline__arrow-center" + " ";
2326
- } else if (attributes.arrowlinAlignment == "bottom") {
2327
- arrow_align_class = "uagb-timeline__arrow-bottom" + " ";
2328
- }
2329
 
2330
- /* Alignmnet */
2331
- var align_class = "uagb-timeline__center-block " + " ";
2332
- if (attributes.timelinAlignment == "left") {
2333
- align_class = "uagb-timeline__left-block" + " ";
2334
- } else if (attributes.timelinAlignment == "right") {
2335
- align_class = "uagb-timeline__right-block" + " ";
2336
- }
2337
- align_class += arrow_align_class + "";
2338
- align_class += "uagb-timeline__responsive-" + attributes.stack + " uagb-timeline";
2339
 
2340
- return [align_class];
2341
- }
 
2342
 
2343
- /* harmony default export */ __webpack_exports__["a"] = (ContentTmClasses);
2344
 
2345
- /***/ }),
2346
- /* 32 */
2347
- /*!**********************************************!*\
2348
- !*** ./src/blocks/timeline/align-classes.js ***!
2349
- \**********************************************/
2350
- /*! exports provided: default */
2351
- /*! exports used: default */
2352
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2353
 
2354
- "use strict";
2355
- /**
2356
- * Function name: AlignClass
2357
- * @param array attributes settign array of attributes.
2358
- * @param int index_val index values.
2359
- */
2360
- function AlignClass(attributes, index_val) {
2361
 
2362
- var align_class = "";
2363
- if ("left" == attributes.timelinAlignment) {
2364
- align_class = "uagb-timeline__widget uagb-timeline__left";
2365
- } else if ("right" == attributes.timelinAlignment) {
2366
- align_class = "uagb-timeline__widget uagb-timeline__right";
2367
- } else if ("center" == attributes.timelinAlignment) {
2368
- if (index_val % 2 == "0") {
2369
- align_class = "uagb-timeline__widget uagb-timeline__right";
2370
- } else {
2371
- align_class = "uagb-timeline__widget uagb-timeline__left";
2372
- }
2373
- }
2374
 
2375
- return [align_class];
2376
- }
 
2377
 
2378
- /* harmony default export */ __webpack_exports__["a"] = (AlignClass);
2379
 
2380
- /***/ }),
2381
- /* 33 */
2382
- /*!**************************************************!*\
2383
- !*** ./src/blocks/timeline/day-align-classes.js ***!
2384
- \**************************************************/
2385
- /*! exports provided: default */
2386
- /*! exports used: default */
2387
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
2388
 
2389
- "use strict";
2390
- /**
2391
- * Returns Dynamic Generated Classes
2392
- */
2393
 
2394
- function DayAlignClass(attributes, index_val) {
 
 
2395
 
2396
- var day_align_class = "";
 
 
2397
 
2398
- if ("left" == attributes.timelinAlignment) {
2399
- day_align_class = "uagb-timeline__day-new uagb-timeline__day-left";
2400
- } else if ("right" == attributes.timelinAlignment) {
2401
- day_align_class = "uagb-timeline__day-new uagb-timeline__day-right";
2402
- } else if ("center" == attributes.timelinAlignment) {
2403
- if (index_val % 2 == "0") {
2404
- day_align_class = "uagb-timeline__day-new uagb-timeline__day-right";
2405
- } else {
2406
- day_align_class = "uagb-timeline__day-new uagb-timeline__day-left";
2407
- }
2408
- }
2409
 
2410
- return [day_align_class];
2411
- }
2412
 
2413
- /* harmony default export */ __webpack_exports__["a"] = (DayAlignClass);
2414
 
2415
- /***/ }),
2416
- /* 34 */
2417
- /*!******************************************!*\
2418
- !*** ./node_modules/lodash/_arrayMap.js ***!
2419
- \******************************************/
2420
- /*! no static exports found */
2421
- /*! all exports used */
2422
- /***/ (function(module, exports) {
2423
 
2424
- /**
2425
- * A specialized version of `_.map` for arrays without support for iteratee
2426
- * shorthands.
2427
- *
2428
- * @private
2429
- * @param {Array} [array] The array to iterate over.
2430
- * @param {Function} iteratee The function invoked per iteration.
2431
- * @returns {Array} Returns the new mapped array.
2432
- */
2433
- function arrayMap(array, iteratee) {
2434
- var index = -1,
2435
- length = array == null ? 0 : array.length,
2436
- result = Array(length);
2437
 
2438
- while (++index < length) {
2439
- result[index] = iteratee(array[index], index, array);
 
 
 
 
2440
  }
2441
- return result;
2442
- }
2443
 
2444
- module.exports = arrayMap;
2445
-
2446
-
2447
- /***/ }),
2448
- /* 35 */
2449
- /*!*******************************************!*\
2450
- !*** ./node_modules/lodash/_ListCache.js ***!
2451
- \*******************************************/
2452
- /*! no static exports found */
2453
- /*! all exports used */
2454
- /***/ (function(module, exports, __webpack_require__) {
2455
 
2456
- var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ 194),
2457
- listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ 195),
2458
- listCacheGet = __webpack_require__(/*! ./_listCacheGet */ 196),
2459
- listCacheHas = __webpack_require__(/*! ./_listCacheHas */ 197),
2460
- listCacheSet = __webpack_require__(/*! ./_listCacheSet */ 198);
2461
 
2462
- /**
2463
- * Creates an list cache object.
2464
- *
2465
- * @private
2466
- * @constructor
2467
- * @param {Array} [entries] The key-value pairs to cache.
2468
- */
2469
- function ListCache(entries) {
2470
- var index = -1,
2471
- length = entries == null ? 0 : entries.length;
2472
 
2473
- this.clear();
2474
- while (++index < length) {
2475
- var entry = entries[index];
2476
- this.set(entry[0], entry[1]);
2477
- }
2478
- }
 
2479
 
2480
- // Add methods to `ListCache`.
2481
- ListCache.prototype.clear = listCacheClear;
2482
- ListCache.prototype['delete'] = listCacheDelete;
2483
- ListCache.prototype.get = listCacheGet;
2484
- ListCache.prototype.has = listCacheHas;
2485
- ListCache.prototype.set = listCacheSet;
2486
 
2487
- module.exports = ListCache;
2488
 
 
 
 
2489
 
2490
- /***/ }),
2491
- /* 36 */
2492
- /*!**********************************************!*\
2493
- !*** ./node_modules/lodash/_assocIndexOf.js ***!
2494
- \**********************************************/
2495
- /*! no static exports found */
2496
- /*! all exports used */
2497
- /***/ (function(module, exports, __webpack_require__) {
2498
 
2499
- var eq = __webpack_require__(/*! ./eq */ 37);
 
2500
 
2501
- /**
2502
- * Gets the index at which the `key` is found in `array` of key-value pairs.
2503
- *
2504
- * @private
2505
- * @param {Array} array The array to inspect.
2506
- * @param {*} key The key to search for.
2507
- * @returns {number} Returns the index of the matched value, else `-1`.
2508
- */
2509
- function assocIndexOf(array, key) {
2510
- var length = array.length;
2511
- while (length--) {
2512
- if (eq(array[length][0], key)) {
2513
- return length;
2514
  }
 
 
 
 
2515
  }
2516
- return -1;
2517
- }
2518
 
2519
- module.exports = assocIndexOf;
 
 
2520
 
 
 
 
2521
 
2522
- /***/ }),
2523
- /* 37 */
2524
- /*!***********************************!*\
2525
- !*** ./node_modules/lodash/eq.js ***!
2526
- \***********************************/
2527
- /*! no static exports found */
2528
- /*! all exports used */
2529
- /***/ (function(module, exports) {
 
 
 
 
 
 
 
 
2530
 
2531
- /**
2532
- * Performs a
2533
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
2534
- * comparison between two values to determine if they are equivalent.
2535
- *
2536
- * @static
2537
- * @memberOf _
2538
- * @since 4.0.0
2539
- * @category Lang
2540
- * @param {*} value The value to compare.
2541
- * @param {*} other The other value to compare.
2542
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
2543
- * @example
2544
- *
2545
- * var object = { 'a': 1 };
2546
- * var other = { 'a': 1 };
2547
- *
2548
- * _.eq(object, object);
2549
- * // => true
2550
- *
2551
- * _.eq(object, other);
2552
- * // => false
2553
- *
2554
- * _.eq('a', 'a');
2555
- * // => true
2556
- *
2557
- * _.eq('a', Object('a'));
2558
- * // => false
2559
- *
2560
- * _.eq(NaN, NaN);
2561
- * // => true
2562
- */
2563
- function eq(value, other) {
2564
- return value === other || (value !== value && other !== other);
2565
- }
2566
 
2567
- module.exports = eq;
 
2568
 
 
2569
 
2570
- /***/ }),
2571
- /* 38 */
2572
- /*!**********************************************!*\
2573
- !*** ./node_modules/lodash/_nativeCreate.js ***!
2574
- \**********************************************/
2575
- /*! no static exports found */
2576
- /*! all exports used */
2577
- /***/ (function(module, exports, __webpack_require__) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2578
 
2579
- var getNative = __webpack_require__(/*! ./_getNative */ 19);
 
2580
 
2581
- /* Built-in method references that are verified to be native. */
2582
- var nativeCreate = getNative(Object, 'create');
 
 
 
2583
 
2584
- module.exports = nativeCreate;
 
 
2585
 
 
 
 
 
 
 
 
 
 
 
2586
 
2587
- /***/ }),
2588
- /* 39 */
2589
- /*!********************************************!*\
2590
- !*** ./node_modules/lodash/_getMapData.js ***!
2591
- \********************************************/
2592
- /*! no static exports found */
2593
- /*! all exports used */
2594
- /***/ (function(module, exports, __webpack_require__) {
 
 
 
 
2595
 
2596
- var isKeyable = __webpack_require__(/*! ./_isKeyable */ 218);
 
 
2597
 
2598
- /**
2599
- * Gets the data for `map`.
2600
- *
2601
- * @private
2602
- * @param {Object} map The map to query.
2603
- * @param {string} key The reference key.
2604
- * @returns {*} Returns the map data.
2605
- */
2606
- function getMapData(map, key) {
2607
- var data = map.__data__;
2608
- return isKeyable(key)
2609
- ? data[typeof key == 'string' ? 'string' : 'hash']
2610
- : data.map;
2611
- }
2612
 
2613
- module.exports = getMapData;
 
 
 
2614
 
 
 
 
2615
 
2616
- /***/ }),
2617
- /* 40 */
2618
- /*!*****************************************!*\
2619
- !*** ./node_modules/lodash/_isIndex.js ***!
2620
- \*****************************************/
2621
- /*! no static exports found */
2622
- /*! all exports used */
2623
- /***/ (function(module, exports) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2624
 
2625
- /** Used as references for various `Number` constants. */
2626
- var MAX_SAFE_INTEGER = 9007199254740991;
 
 
 
2627
 
2628
- /** Used to detect unsigned integer values. */
2629
- var reIsUint = /^(?:0|[1-9]\d*)$/;
2630
 
2631
- /**
2632
- * Checks if `value` is a valid array-like index.
2633
- *
2634
- * @private
2635
- * @param {*} value The value to check.
2636
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
2637
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
2638
- */
2639
- function isIndex(value, length) {
2640
- var type = typeof value;
2641
- length = length == null ? MAX_SAFE_INTEGER : length;
2642
 
2643
- return !!length &&
2644
- (type == 'number' ||
2645
- (type != 'symbol' && reIsUint.test(value))) &&
2646
- (value > -1 && value % 1 == 0 && value < length);
2647
- }
2648
 
2649
- module.exports = isIndex;
 
 
 
2650
 
 
 
 
 
 
 
2651
 
2652
- /***/ }),
2653
- /* 41 */
2654
- /*!*******************************************!*\
2655
- !*** ./node_modules/lodash/_baseUnary.js ***!
2656
- \*******************************************/
2657
- /*! no static exports found */
2658
- /*! all exports used */
2659
- /***/ (function(module, exports) {
2660
 
2661
- /**
2662
- * The base implementation of `_.unary` without support for storing metadata.
2663
- *
2664
- * @private
2665
- * @param {Function} func The function to cap arguments for.
2666
- * @returns {Function} Returns the new capped function.
2667
- */
2668
- function baseUnary(func) {
2669
- return function(value) {
2670
- return func(value);
2671
- };
2672
- }
2673
 
2674
- module.exports = baseUnary;
 
 
 
2675
 
 
 
 
 
 
 
 
 
 
2676
 
2677
- /***/ }),
2678
- /* 42 */
2679
- /*!******************************************!*\
2680
- !*** ./node_modules/lodash/_nodeUtil.js ***!
2681
- \******************************************/
2682
- /*! no static exports found */
2683
- /*! all exports used */
2684
- /***/ (function(module, exports, __webpack_require__) {
2685
 
2686
- /* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ 113);
2687
 
2688
- /** Detect free variable `exports`. */
2689
- var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
 
 
 
 
2690
 
2691
- /** Detect free variable `module`. */
2692
- var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
2693
 
2694
- /** Detect the popular CommonJS extension `module.exports`. */
2695
- var moduleExports = freeModule && freeModule.exports === freeExports;
 
 
 
 
 
 
 
 
 
 
 
2696
 
2697
- /** Detect free variable `process` from Node.js. */
2698
- var freeProcess = moduleExports && freeGlobal.process;
2699
 
2700
- /** Used to access faster Node.js helpers. */
2701
- var nodeUtil = (function() {
2702
- try {
2703
- // Use `util.types` for Node.js 10+.
2704
- var types = freeModule && freeModule.require && freeModule.require('util').types;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2705
 
2706
- if (types) {
2707
- return types;
2708
- }
 
 
2709
 
2710
- // Legacy `process.binding('util')` for Node.js < 10.
2711
- return freeProcess && freeProcess.binding && freeProcess.binding('util');
2712
- } catch (e) {}
2713
- }());
 
 
2714
 
2715
- module.exports = nodeUtil;
 
 
2716
 
2717
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../webpack/buildin/module.js */ 60)(module)))
 
 
 
 
 
2718
 
2719
- /***/ }),
2720
- /* 43 */
2721
- /*!*********************************************!*\
2722
- !*** ./node_modules/lodash/_isPrototype.js ***!
2723
- \*********************************************/
2724
- /*! no static exports found */
2725
- /*! all exports used */
2726
- /***/ (function(module, exports) {
2727
 
2728
- /** Used for built-in method references. */
2729
- var objectProto = Object.prototype;
 
 
 
 
 
 
 
2730
 
2731
- /**
2732
- * Checks if `value` is likely a prototype object.
2733
- *
2734
- * @private
2735
- * @param {*} value The value to check.
2736
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
2737
- */
2738
- function isPrototype(value) {
2739
- var Ctor = value && value.constructor,
2740
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
2741
 
2742
- return value === proto;
2743
- }
 
 
 
 
 
2744
 
2745
- module.exports = isPrototype;
 
 
2746
 
 
 
 
 
2747
 
2748
- /***/ }),
2749
- /* 44 */
2750
- /*!****************************************!*\
2751
- !*** ./node_modules/lodash/_getTag.js ***!
2752
- \****************************************/
2753
- /*! no static exports found */
2754
- /*! all exports used */
2755
- /***/ (function(module, exports, __webpack_require__) {
2756
 
2757
- var DataView = __webpack_require__(/*! ./_DataView */ 238),
2758
- Map = __webpack_require__(/*! ./_Map */ 53),
2759
- Promise = __webpack_require__(/*! ./_Promise */ 239),
2760
- Set = __webpack_require__(/*! ./_Set */ 240),
2761
- WeakMap = __webpack_require__(/*! ./_WeakMap */ 241),
2762
- baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 20),
2763
- toSource = __webpack_require__(/*! ./_toSource */ 114);
2764
 
2765
- /** `Object#toString` result references. */
2766
- var mapTag = '[object Map]',
2767
- objectTag = '[object Object]',
2768
- promiseTag = '[object Promise]',
2769
- setTag = '[object Set]',
2770
- weakMapTag = '[object WeakMap]';
 
 
 
 
 
 
 
 
2771
 
2772
- var dataViewTag = '[object DataView]';
 
 
 
2773
 
2774
- /** Used to detect maps, sets, and weakmaps. */
2775
- var dataViewCtorString = toSource(DataView),
2776
- mapCtorString = toSource(Map),
2777
- promiseCtorString = toSource(Promise),
2778
- setCtorString = toSource(Set),
2779
- weakMapCtorString = toSource(WeakMap);
2780
 
2781
- /**
2782
- * Gets the `toStringTag` of `value`.
2783
- *
2784
- * @private
2785
- * @param {*} value The value to query.
2786
- * @returns {string} Returns the `toStringTag`.
2787
- */
2788
- var getTag = baseGetTag;
 
2789
 
2790
- // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
2791
- if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
2792
- (Map && getTag(new Map) != mapTag) ||
2793
- (Promise && getTag(Promise.resolve()) != promiseTag) ||
2794
- (Set && getTag(new Set) != setTag) ||
2795
- (WeakMap && getTag(new WeakMap) != weakMapTag)) {
2796
- getTag = function(value) {
2797
- var result = baseGetTag(value),
2798
- Ctor = result == objectTag ? value.constructor : undefined,
2799
- ctorString = Ctor ? toSource(Ctor) : '';
2800
 
2801
- if (ctorString) {
2802
- switch (ctorString) {
2803
- case dataViewCtorString: return dataViewTag;
2804
- case mapCtorString: return mapTag;
2805
- case promiseCtorString: return promiseTag;
2806
- case setCtorString: return setTag;
2807
- case weakMapCtorString: return weakMapTag;
2808
- }
2809
- }
2810
- return result;
2811
- };
2812
- }
2813
 
2814
- module.exports = getTag;
 
2815
 
 
 
 
2816
 
2817
- /***/ }),
2818
- /* 45 */
2819
- /*!*****************************************!*\
2820
- !*** ./node_modules/lodash/_baseGet.js ***!
2821
- \*****************************************/
2822
- /*! no static exports found */
2823
- /*! all exports used */
2824
- /***/ (function(module, exports, __webpack_require__) {
2825
 
2826
- var castPath = __webpack_require__(/*! ./_castPath */ 25),
2827
- toKey = __webpack_require__(/*! ./_toKey */ 26);
 
 
 
 
 
2828
 
2829
- /**
2830
- * The base implementation of `_.get` without support for default values.
2831
- *
2832
- * @private
2833
- * @param {Object} object The object to query.
2834
- * @param {Array|string} path The path of the property to get.
2835
- * @returns {*} Returns the resolved value.
2836
- */
2837
- function baseGet(object, path) {
2838
- path = castPath(path, object);
2839
 
2840
- var index = 0,
2841
- length = path.length;
 
2842
 
2843
- while (object != null && index < length) {
2844
- object = object[toKey(path[index++])];
 
 
 
 
 
2845
  }
2846
- return (index && index == length) ? object : undefined;
2847
- }
2848
-
2849
- module.exports = baseGet;
2850
 
 
 
2851
 
2852
- /***/ }),
2853
- /* 46 */
2854
- /*!*****************************************!*\
2855
- !*** ./node_modules/lodash/isSymbol.js ***!
2856
- \*****************************************/
2857
- /*! no static exports found */
2858
- /*! all exports used */
2859
- /***/ (function(module, exports, __webpack_require__) {
2860
 
2861
- var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 20),
2862
- isObjectLike = __webpack_require__(/*! ./isObjectLike */ 17);
 
 
 
2863
 
2864
- /** `Object#toString` result references. */
2865
- var symbolTag = '[object Symbol]';
 
 
 
2866
 
2867
- /**
2868
- * Checks if `value` is classified as a `Symbol` primitive or object.
2869
- *
2870
- * @static
2871
- * @memberOf _
2872
- * @since 4.0.0
2873
- * @category Lang
2874
- * @param {*} value The value to check.
2875
- * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
2876
- * @example
2877
- *
2878
- * _.isSymbol(Symbol.iterator);
2879
- * // => true
2880
- *
2881
- * _.isSymbol('abc');
2882
- * // => false
2883
- */
2884
- function isSymbol(value) {
2885
- return typeof value == 'symbol' ||
2886
- (isObjectLike(value) && baseGetTag(value) == symbolTag);
2887
- }
2888
 
2889
- module.exports = isSymbol;
2890
 
 
 
 
2891
 
2892
- /***/ }),
2893
- /* 47 */
2894
- /*!*****************************************!*\
2895
- !*** ./node_modules/lodash/identity.js ***!
2896
- \*****************************************/
2897
- /*! no static exports found */
2898
- /*! all exports used */
2899
- /***/ (function(module, exports) {
2900
 
2901
- /**
2902
- * This method returns the first argument it receives.
2903
- *
2904
- * @static
2905
- * @since 0.1.0
2906
- * @memberOf _
2907
- * @category Util
2908
- * @param {*} value Any value.
2909
- * @returns {*} Returns `value`.
2910
- * @example
2911
- *
2912
- * var object = { 'a': 1 };
2913
- *
2914
- * console.log(_.identity(object) === object);
2915
- * // => true
2916
- */
2917
- function identity(value) {
2918
- return value;
2919
- }
2920
 
2921
- module.exports = identity;
 
2922
 
 
2923
 
2924
- /***/ }),
2925
- /* 48 */
2926
- /*!*********************************************!*\
2927
- !*** ./node_modules/lodash/_assignValue.js ***!
2928
- \*********************************************/
2929
- /*! no static exports found */
2930
- /*! all exports used */
2931
- /***/ (function(module, exports, __webpack_require__) {
2932
 
2933
- var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ 142),
2934
- eq = __webpack_require__(/*! ./eq */ 37);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2935
 
2936
- /** Used for built-in method references. */
2937
- var objectProto = Object.prototype;
2938
 
2939
- /** Used to check objects for own properties. */
2940
- var hasOwnProperty = objectProto.hasOwnProperty;
 
2941
 
2942
- /**
2943
- * Assigns `value` to `key` of `object` if the existing value is not equivalent
2944
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
2945
- * for equality comparisons.
2946
- *
2947
- * @private
2948
- * @param {Object} object The object to modify.
2949
- * @param {string} key The key of the property to assign.
2950
- * @param {*} value The value to assign.
2951
- */
2952
- function assignValue(object, key, value) {
2953
- var objValue = object[key];
2954
- if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
2955
- (value === undefined && !(key in object))) {
2956
- baseAssignValue(object, key, value);
2957
  }
2958
- }
2959
 
2960
- module.exports = assignValue;
2961
 
 
 
 
 
 
2962
 
2963
- /***/ }),
2964
- /* 49 */
2965
- /*!****************************************************************!*\
2966
- !*** ./node_modules/react-slick/lib/utils/innerSliderUtils.js ***!
2967
- \****************************************************************/
2968
- /*! no static exports found */
2969
- /*! all exports used */
2970
- /***/ (function(module, exports, __webpack_require__) {
2971
 
2972
- "use strict";
 
 
 
2973
 
 
 
 
 
 
2974
 
2975
- exports.__esModule = true;
2976
- exports.canUseDOM = exports.slidesOnLeft = exports.slidesOnRight = exports.siblingDirection = exports.getTotalSlides = exports.getPostClones = exports.getPreClones = exports.getTrackLeft = exports.getTrackAnimateCSS = exports.getTrackCSS = exports.checkSpecKeys = exports.getSlideCount = exports.checkNavigable = exports.getNavigableIndexes = exports.swipeEnd = exports.swipeMove = exports.swipeStart = exports.keyHandler = exports.changeSlide = exports.slideHandler = exports.initializedState = exports.extractObject = exports.canGoNext = exports.getSwipeDirection = exports.getHeight = exports.getWidth = exports.lazySlidesOnRight = exports.lazySlidesOnLeft = exports.lazyEndIndex = exports.lazyStartIndex = exports.getRequiredLazySlides = exports.getOnDemandLazySlides = undefined;
 
 
 
2977
 
2978
- var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2979
 
2980
- var _react = __webpack_require__(/*! react */ 6);
 
 
 
 
2981
 
2982
- var _react2 = _interopRequireDefault(_react);
 
 
 
 
 
 
2983
 
2984
- var _reactDom = __webpack_require__(/*! react-dom */ 18);
 
2985
 
2986
- var _reactDom2 = _interopRequireDefault(_reactDom);
2987
 
2988
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
 
 
2989
 
2990
- var getOnDemandLazySlides = exports.getOnDemandLazySlides = function getOnDemandLazySlides(spec) {
2991
- var onDemandSlides = [];
2992
- var startIndex = lazyStartIndex(spec);
2993
- var endIndex = lazyEndIndex(spec);
2994
- for (var slideIndex = startIndex; slideIndex < endIndex; slideIndex++) {
2995
- if (spec.lazyLoadedList.indexOf(slideIndex) < 0) {
2996
- onDemandSlides.push(slideIndex);
 
2997
  }
2998
  }
2999
- return onDemandSlides;
3000
- };
3001
 
3002
- // return list of slides that need to be present
3003
- var getRequiredLazySlides = exports.getRequiredLazySlides = function getRequiredLazySlides(spec) {
3004
- var requiredSlides = [];
3005
- var startIndex = lazyStartIndex(spec);
3006
- var endIndex = lazyEndIndex(spec);
3007
- for (var slideIndex = startIndex; slideIndex < endIndex; slideIndex++) {
3008
- requiredSlides.push(slideIndex);
3009
- }
3010
- return requiredSlides;
3011
- };
3012
-
3013
- // startIndex that needs to be present
3014
- var lazyStartIndex = exports.lazyStartIndex = function lazyStartIndex(spec) {
3015
- return spec.currentSlide - lazySlidesOnLeft(spec);
3016
- };
3017
- var lazyEndIndex = exports.lazyEndIndex = function lazyEndIndex(spec) {
3018
- return spec.currentSlide + lazySlidesOnRight(spec);
3019
- };
3020
- var lazySlidesOnLeft = exports.lazySlidesOnLeft = function lazySlidesOnLeft(spec) {
3021
- return spec.centerMode ? Math.floor(spec.slidesToShow / 2) + (parseInt(spec.centerPadding) > 0 ? 1 : 0) : 0;
3022
- };
3023
- var lazySlidesOnRight = exports.lazySlidesOnRight = function lazySlidesOnRight(spec) {
3024
- return spec.centerMode ? Math.floor((spec.slidesToShow - 1) / 2) + 1 + (parseInt(spec.centerPadding) > 0 ? 1 : 0) : spec.slidesToShow;
3025
- };
3026
-
3027
- // get width of an element
3028
- var getWidth = exports.getWidth = function getWidth(elem) {
3029
- return elem && elem.offsetWidth || 0;
3030
- };
3031
- var getHeight = exports.getHeight = function getHeight(elem) {
3032
- return elem && elem.offsetHeight || 0;
3033
- };
3034
- var getSwipeDirection = exports.getSwipeDirection = function getSwipeDirection(touchObject) {
3035
- var verticalSwiping = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
3036
-
3037
- var xDist, yDist, r, swipeAngle;
3038
- xDist = touchObject.startX - touchObject.curX;
3039
- yDist = touchObject.startY - touchObject.curY;
3040
- r = Math.atan2(yDist, xDist);
3041
- swipeAngle = Math.round(r * 180 / Math.PI);
3042
- if (swipeAngle < 0) {
3043
- swipeAngle = 360 - Math.abs(swipeAngle);
3044
- }
3045
- if (swipeAngle <= 45 && swipeAngle >= 0 || swipeAngle <= 360 && swipeAngle >= 315) {
3046
- return "left";
3047
- }
3048
- if (swipeAngle >= 135 && swipeAngle <= 225) {
3049
- return "right";
3050
- }
3051
- if (verticalSwiping === true) {
3052
- if (swipeAngle >= 35 && swipeAngle <= 135) {
3053
- return "up";
3054
- } else {
3055
- return "down";
3056
- }
3057
- }
3058
-
3059
- return "vertical";
3060
- };
3061
-
3062
- // whether or not we can go next
3063
- var canGoNext = exports.canGoNext = function canGoNext(spec) {
3064
- var canGo = true;
3065
- if (!spec.infinite) {
3066
- if (spec.centerMode && spec.currentSlide >= spec.slideCount - 1) {
3067
- canGo = false;
3068
- } else if (spec.slideCount <= spec.slidesToShow || spec.currentSlide >= spec.slideCount - spec.slidesToShow) {
3069
- canGo = false;
3070
- }
3071
- }
3072
- return canGo;
3073
- };
3074
-
3075
- // given an object and a list of keys, return new object with given keys
3076
- var extractObject = exports.extractObject = function extractObject(spec, keys) {
3077
- var newObject = {};
3078
- keys.forEach(function (key) {
3079
- return newObject[key] = spec[key];
3080
- });
3081
- return newObject;
3082
- };
3083
-
3084
- // get initialized state
3085
- var initializedState = exports.initializedState = function initializedState(spec) {
3086
- // spec also contains listRef, trackRef
3087
- var slideCount = _react2.default.Children.count(spec.children);
3088
- var listWidth = Math.ceil(getWidth(_reactDom2.default.findDOMNode(spec.listRef)));
3089
- var trackWidth = Math.ceil(getWidth(_reactDom2.default.findDOMNode(spec.trackRef)));
3090
- var slideWidth = void 0;
3091
- if (!spec.vertical) {
3092
- var centerPaddingAdj = spec.centerMode && parseInt(spec.centerPadding) * 2;
3093
- if (typeof spec.centerPadding === "string" && spec.centerPadding.slice(-1) === "%") {
3094
- centerPaddingAdj *= listWidth / 100;
3095
- }
3096
- slideWidth = Math.ceil((listWidth - centerPaddingAdj) / spec.slidesToShow);
3097
- } else {
3098
- slideWidth = listWidth;
3099
- }
3100
- var slideHeight = _reactDom2.default.findDOMNode(spec.listRef) && getHeight(_reactDom2.default.findDOMNode(spec.listRef).querySelector('[data-index="0"]'));
3101
- var listHeight = slideHeight * spec.slidesToShow;
3102
- var currentSlide = spec.currentSlide === undefined ? spec.initialSlide : spec.currentSlide;
3103
- if (spec.rtl && spec.currentSlide === undefined) {
3104
- currentSlide = slideCount - 1 - spec.initialSlide;
3105
- }
3106
- var lazyLoadedList = spec.lazyLoadedList || [];
3107
- var slidesToLoad = getOnDemandLazySlides({ currentSlide: currentSlide, lazyLoadedList: lazyLoadedList }, spec);
3108
- lazyLoadedList.concat(slidesToLoad);
3109
-
3110
- var state = {
3111
- slideCount: slideCount,
3112
- slideWidth: slideWidth,
3113
- listWidth: listWidth,
3114
- trackWidth: trackWidth,
3115
- currentSlide: currentSlide,
3116
- slideHeight: slideHeight,
3117
- listHeight: listHeight,
3118
- lazyLoadedList: lazyLoadedList
3119
- };
3120
-
3121
- if (spec.autoplaying === null && spec.autoplay) {
3122
- state["autoplaying"] = "playing";
3123
- }
3124
-
3125
- return state;
3126
- };
3127
-
3128
- var slideHandler = exports.slideHandler = function slideHandler(spec) {
3129
- var waitForAnimate = spec.waitForAnimate,
3130
- animating = spec.animating,
3131
- fade = spec.fade,
3132
- infinite = spec.infinite,
3133
- index = spec.index,
3134
- slideCount = spec.slideCount,
3135
- lazyLoadedList = spec.lazyLoadedList,
3136
- lazyLoad = spec.lazyLoad,
3137
- currentSlide = spec.currentSlide,
3138
- centerMode = spec.centerMode,
3139
- slidesToScroll = spec.slidesToScroll,
3140
- slidesToShow = spec.slidesToShow,
3141
- useCSS = spec.useCSS;
3142
-
3143
- if (waitForAnimate && animating) return {};
3144
- var animationSlide = index,
3145
- finalSlide = void 0,
3146
- animationLeft = void 0,
3147
- finalLeft = void 0;
3148
- var state = {},
3149
- nextState = {};
3150
- if (fade) {
3151
- if (!infinite && (index < 0 || index >= slideCount)) return {};
3152
- if (index < 0) {
3153
- animationSlide = index + slideCount;
3154
- } else if (index >= slideCount) {
3155
- animationSlide = index - slideCount;
3156
- }
3157
- if (lazyLoad && lazyLoadedList.indexOf(animationSlide) < 0) {
3158
- lazyLoadedList.push(animationSlide);
3159
- }
3160
- state = {
3161
- animating: true,
3162
- currentSlide: animationSlide,
3163
- lazyLoadedList: lazyLoadedList
3164
- };
3165
- nextState = { animating: false };
3166
- } else {
3167
- finalSlide = animationSlide;
3168
- if (animationSlide < 0) {
3169
- finalSlide = animationSlide + slideCount;
3170
- if (!infinite) finalSlide = 0;else if (slideCount % slidesToScroll !== 0) finalSlide = slideCount - slideCount % slidesToScroll;
3171
- } else if (!canGoNext(spec) && animationSlide > currentSlide) {
3172
- animationSlide = finalSlide = currentSlide;
3173
- } else if (centerMode && animationSlide >= slideCount) {
3174
- animationSlide = infinite ? slideCount : slideCount - 1;
3175
- finalSlide = infinite ? 0 : slideCount - 1;
3176
- } else if (animationSlide >= slideCount) {
3177
- finalSlide = animationSlide - slideCount;
3178
- if (!infinite) finalSlide = slideCount - slidesToShow;else if (slideCount % slidesToScroll !== 0) finalSlide = 0;
3179
- }
3180
- animationLeft = getTrackLeft(_extends({}, spec, { slideIndex: animationSlide }));
3181
- finalLeft = getTrackLeft(_extends({}, spec, { slideIndex: finalSlide }));
3182
- if (!infinite) {
3183
- if (animationLeft === finalLeft) animationSlide = finalSlide;
3184
- animationLeft = finalLeft;
3185
- }
3186
- lazyLoad && lazyLoadedList.concat(getOnDemandLazySlides(_extends({}, spec, { currentSlide: animationSlide })));
3187
- if (!useCSS) {
3188
- state = {
3189
- currentSlide: finalSlide,
3190
- trackStyle: getTrackCSS(_extends({}, spec, { left: finalLeft })),
3191
- lazyLoadedList: lazyLoadedList
3192
- };
3193
- } else {
3194
- state = {
3195
- animating: true,
3196
- currentSlide: finalSlide,
3197
- trackStyle: getTrackAnimateCSS(_extends({}, spec, { left: animationLeft })),
3198
- lazyLoadedList: lazyLoadedList
3199
- };
3200
- nextState = {
3201
- animating: false,
3202
- currentSlide: finalSlide,
3203
- trackStyle: getTrackCSS(_extends({}, spec, { left: finalLeft })),
3204
- swipeLeft: null
3205
- };
3206
- }
3207
- }
3208
- return { state: state, nextState: nextState };
3209
- };
3210
-
3211
- var changeSlide = exports.changeSlide = function changeSlide(spec, options) {
3212
- var indexOffset, previousInt, slideOffset, unevenOffset, targetSlide;
3213
- var slidesToScroll = spec.slidesToScroll,
3214
- slidesToShow = spec.slidesToShow,
3215
- slideCount = spec.slideCount,
3216
- currentSlide = spec.currentSlide,
3217
- lazyLoad = spec.lazyLoad,
3218
- infinite = spec.infinite;
3219
-
3220
- unevenOffset = slideCount % slidesToScroll !== 0;
3221
- indexOffset = unevenOffset ? 0 : (slideCount - currentSlide) % slidesToScroll;
3222
-
3223
- if (options.message === "previous") {
3224
- slideOffset = indexOffset === 0 ? slidesToScroll : slidesToShow - indexOffset;
3225
- targetSlide = currentSlide - slideOffset;
3226
- if (lazyLoad && !infinite) {
3227
- previousInt = currentSlide - slideOffset;
3228
- targetSlide = previousInt === -1 ? slideCount - 1 : previousInt;
3229
- }
3230
- } else if (options.message === "next") {
3231
- slideOffset = indexOffset === 0 ? slidesToScroll : indexOffset;
3232
- targetSlide = currentSlide + slideOffset;
3233
- if (lazyLoad && !infinite) {
3234
- targetSlide = (currentSlide + slidesToScroll) % slideCount + indexOffset;
3235
- }
3236
- } else if (options.message === "dots") {
3237
- // Click on dots
3238
- targetSlide = options.index * options.slidesToScroll;
3239
- if (targetSlide === options.currentSlide) {
3240
- return null;
3241
- }
3242
- } else if (options.message === "children") {
3243
- // Click on the slides
3244
- targetSlide = options.index;
3245
- if (targetSlide === options.currentSlide) {
3246
- return null;
3247
- }
3248
- if (infinite) {
3249
- var direction = siblingDirection(_extends({}, spec, { targetSlide: targetSlide }));
3250
- if (targetSlide > options.currentSlide && direction === "left") {
3251
- targetSlide = targetSlide - slideCount;
3252
- } else if (targetSlide < options.currentSlide && direction === "right") {
3253
- targetSlide = targetSlide + slideCount;
3254
- }
3255
- }
3256
- } else if (options.message === "index") {
3257
- targetSlide = Number(options.index);
3258
- if (targetSlide === options.currentSlide) {
3259
- return null;
3260
- }
3261
- }
3262
- return targetSlide;
3263
- };
3264
- var keyHandler = exports.keyHandler = function keyHandler(e, accessibility, rtl) {
3265
- if (e.target.tagName.match("TEXTAREA|INPUT|SELECT") || !accessibility) return "";
3266
- if (e.keyCode === 37) return rtl ? "next" : "previous";
3267
- if (e.keyCode === 39) return rtl ? "previous" : "next";
3268
- return "";
3269
- };
3270
-
3271
- var swipeStart = exports.swipeStart = function swipeStart(e, swipe, draggable) {
3272
- e.target.tagName === "IMG" && e.preventDefault();
3273
- if (!swipe || !draggable && e.type.indexOf("mouse") !== -1) return "";
3274
- return {
3275
- dragging: true,
3276
- touchObject: {
3277
- startX: e.touches ? e.touches[0].pageX : e.clientX,
3278
- startY: e.touches ? e.touches[0].pageY : e.clientY,
3279
- curX: e.touches ? e.touches[0].pageX : e.clientX,
3280
- curY: e.touches ? e.touches[0].pageY : e.clientY
3281
- }
3282
- };
3283
- };
3284
- var swipeMove = exports.swipeMove = function swipeMove(e, spec) {
3285
- // spec also contains, trackRef and slideIndex
3286
- var scrolling = spec.scrolling,
3287
- animating = spec.animating,
3288
- vertical = spec.vertical,
3289
- swipeToSlide = spec.swipeToSlide,
3290
- verticalSwiping = spec.verticalSwiping,
3291
- rtl = spec.rtl,
3292
- currentSlide = spec.currentSlide,
3293
- edgeFriction = spec.edgeFriction,
3294
- edgeDragged = spec.edgeDragged,
3295
- onEdge = spec.onEdge,
3296
- swiped = spec.swiped,
3297
- swiping = spec.swiping,
3298
- slideCount = spec.slideCount,
3299
- slidesToScroll = spec.slidesToScroll,
3300
- infinite = spec.infinite,
3301
- touchObject = spec.touchObject,
3302
- swipeEvent = spec.swipeEvent,
3303
- listHeight = spec.listHeight,
3304
- listWidth = spec.listWidth;
3305
-
3306
- if (scrolling) return;
3307
- if (animating) return e.preventDefault();
3308
- if (vertical && swipeToSlide && verticalSwiping) e.preventDefault();
3309
- var swipeLeft = void 0,
3310
- state = {};
3311
- var curLeft = getTrackLeft(spec);
3312
- touchObject.curX = e.touches ? e.touches[0].pageX : e.clientX;
3313
- touchObject.curY = e.touches ? e.touches[0].pageY : e.clientY;
3314
- touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(touchObject.curX - touchObject.startX, 2)));
3315
- var verticalSwipeLength = Math.round(Math.sqrt(Math.pow(touchObject.curY - touchObject.startY, 2)));
3316
- if (!verticalSwiping && !swiping && verticalSwipeLength > 10) {
3317
- return { scrolling: true };
3318
- }
3319
- if (verticalSwiping) touchObject.swipeLength = verticalSwipeLength;
3320
- var positionOffset = (!rtl ? 1 : -1) * (touchObject.curX > touchObject.startX ? 1 : -1);
3321
- if (verticalSwiping) positionOffset = touchObject.curY > touchObject.startY ? 1 : -1;
3322
-
3323
- var dotCount = Math.ceil(slideCount / slidesToScroll);
3324
- var swipeDirection = getSwipeDirection(spec.touchObject, verticalSwiping);
3325
- var touchSwipeLength = touchObject.swipeLength;
3326
- if (!infinite) {
3327
- if (currentSlide === 0 && swipeDirection === "right" || currentSlide + 1 >= dotCount && swipeDirection === "left" || !canGoNext(spec) && swipeDirection === "left") {
3328
- touchSwipeLength = touchObject.swipeLength * edgeFriction;
3329
- if (edgeDragged === false && onEdge) {
3330
- onEdge(swipeDirection);
3331
- state["edgeDragged"] = true;
3332
- }
3333
- }
3334
- }
3335
- if (!swiped && swipeEvent) {
3336
- swipeEvent(swipeDirection);
3337
- state["swiped"] = true;
3338
- }
3339
- if (!vertical) {
3340
- if (!rtl) {
3341
- swipeLeft = curLeft + touchSwipeLength * positionOffset;
3342
- } else {
3343
- swipeLeft = curLeft - touchSwipeLength * positionOffset;
3344
- }
3345
- } else {
3346
- swipeLeft = curLeft + touchSwipeLength * (listHeight / listWidth) * positionOffset;
3347
- }
3348
- if (verticalSwiping) {
3349
- swipeLeft = curLeft + touchSwipeLength * positionOffset;
3350
- }
3351
- state = _extends({}, state, {
3352
- touchObject: touchObject,
3353
- swipeLeft: swipeLeft,
3354
- trackStyle: getTrackCSS(_extends({}, spec, { left: swipeLeft }))
3355
- });
3356
- if (Math.abs(touchObject.curX - touchObject.startX) < Math.abs(touchObject.curY - touchObject.startY) * 0.8) {
3357
- return state;
3358
- }
3359
- if (touchObject.swipeLength > 10) {
3360
- state["swiping"] = true;
3361
- e.preventDefault();
3362
- }
3363
- return state;
3364
- };
3365
- var swipeEnd = exports.swipeEnd = function swipeEnd(e, spec) {
3366
- var dragging = spec.dragging,
3367
- swipe = spec.swipe,
3368
- touchObject = spec.touchObject,
3369
- listWidth = spec.listWidth,
3370
- touchThreshold = spec.touchThreshold,
3371
- verticalSwiping = spec.verticalSwiping,
3372
- listHeight = spec.listHeight,
3373
- currentSlide = spec.currentSlide,
3374
- swipeToSlide = spec.swipeToSlide,
3375
- scrolling = spec.scrolling,
3376
- onSwipe = spec.onSwipe;
3377
-
3378
- if (!dragging) {
3379
- if (swipe) e.preventDefault();
3380
- return {};
3381
- }
3382
- var minSwipe = verticalSwiping ? listHeight / touchThreshold : listWidth / touchThreshold;
3383
- var swipeDirection = getSwipeDirection(touchObject, verticalSwiping);
3384
- // reset the state of touch related state variables.
3385
- var state = {
3386
- dragging: false,
3387
- edgeDragged: false,
3388
- scrolling: false,
3389
- swiping: false,
3390
- swiped: false,
3391
- swipeLeft: null,
3392
- touchObject: {}
3393
- };
3394
- if (scrolling) {
3395
- return state;
3396
- }
3397
- if (!touchObject.swipeLength) {
3398
- return state;
3399
- }
3400
- if (touchObject.swipeLength > minSwipe) {
3401
- e.preventDefault();
3402
- if (onSwipe) {
3403
- onSwipe(swipeDirection);
3404
- }
3405
- var slideCount = void 0,
3406
- newSlide = void 0;
3407
- switch (swipeDirection) {
3408
- case "left":
3409
- case "up":
3410
- newSlide = currentSlide + getSlideCount(spec);
3411
- slideCount = swipeToSlide ? checkNavigable(spec, newSlide) : newSlide;
3412
- state["currentDirection"] = 0;
3413
- break;
3414
- case "right":
3415
- case "down":
3416
- newSlide = currentSlide - getSlideCount(spec);
3417
- slideCount = swipeToSlide ? checkNavigable(spec, newSlide) : newSlide;
3418
- state["currentDirection"] = 1;
3419
- break;
3420
- default:
3421
- slideCount = currentSlide;
3422
- }
3423
- state["triggerSlideHandler"] = slideCount;
3424
- } else {
3425
- // Adjust the track back to it's original position.
3426
- var currentLeft = getTrackLeft(spec);
3427
- state["trackStyle"] = getTrackAnimateCSS(_extends({}, spec, { left: currentLeft }));
3428
- }
3429
- return state;
3430
- };
3431
- var getNavigableIndexes = exports.getNavigableIndexes = function getNavigableIndexes(spec) {
3432
- var max = spec.infinite ? spec.slideCount * 2 : spec.slideCount;
3433
- var breakpoint = spec.infinite ? spec.slidesToShow * -1 : 0;
3434
- var counter = spec.infinite ? spec.slidesToShow * -1 : 0;
3435
- var indexes = [];
3436
- while (breakpoint < max) {
3437
- indexes.push(breakpoint);
3438
- breakpoint = counter + spec.slidesToScroll;
3439
- counter += Math.min(spec.slidesToScroll, spec.slidesToShow);
3440
- }
3441
- return indexes;
3442
- };
3443
- var checkNavigable = exports.checkNavigable = function checkNavigable(spec, index) {
3444
- var navigables = getNavigableIndexes(spec);
3445
- var prevNavigable = 0;
3446
- if (index > navigables[navigables.length - 1]) {
3447
- index = navigables[navigables.length - 1];
3448
- } else {
3449
- for (var n in navigables) {
3450
- if (index < navigables[n]) {
3451
- index = prevNavigable;
3452
- break;
3453
- }
3454
- prevNavigable = navigables[n];
3455
- }
3456
- }
3457
- return index;
3458
- };
3459
- var getSlideCount = exports.getSlideCount = function getSlideCount(spec) {
3460
- var centerOffset = spec.centerMode ? spec.slideWidth * Math.floor(spec.slidesToShow / 2) : 0;
3461
- if (spec.swipeToSlide) {
3462
- var swipedSlide = void 0;
3463
- var slickList = _reactDom2.default.findDOMNode(spec.listRef);
3464
- var slides = slickList.querySelectorAll(".slick-slide");
3465
- Array.from(slides).every(function (slide) {
3466
- if (!spec.vertical) {
3467
- if (slide.offsetLeft - centerOffset + getWidth(slide) / 2 > spec.swipeLeft * -1) {
3468
- swipedSlide = slide;
3469
- return false;
3470
- }
3471
- } else {
3472
- if (slide.offsetTop + getHeight(slide) / 2 > spec.swipeLeft * -1) {
3473
- swipedSlide = slide;
3474
- return false;
3475
- }
3476
- }
3477
-
3478
- return true;
3479
- });
3480
-
3481
- if (!swipedSlide) {
3482
- return 0;
3483
- }
3484
- var currentIndex = spec.rtl === true ? spec.slideCount - spec.currentSlide : spec.currentSlide;
3485
- var slidesTraversed = Math.abs(swipedSlide.dataset.index - currentIndex) || 1;
3486
- return slidesTraversed;
3487
- } else {
3488
- return spec.slidesToScroll;
3489
- }
3490
- };
3491
-
3492
- var checkSpecKeys = exports.checkSpecKeys = function checkSpecKeys(spec, keysArray) {
3493
- return keysArray.reduce(function (value, key) {
3494
- return value && spec.hasOwnProperty(key);
3495
- }, true) ? null : console.error("Keys Missing:", spec);
3496
  };
3497
 
3498
- var getTrackCSS = exports.getTrackCSS = function getTrackCSS(spec) {
3499
- checkSpecKeys(spec, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth"]);
3500
- var trackWidth = void 0,
3501
- trackHeight = void 0;
3502
- var trackChildren = spec.slideCount + 2 * spec.slidesToShow;
3503
- if (!spec.vertical) {
3504
- trackWidth = getTotalSlides(spec) * spec.slideWidth;
3505
- } else {
3506
- trackHeight = trackChildren * spec.slideHeight;
3507
- }
3508
- var style = {
3509
- opacity: 1,
3510
- transition: "",
3511
- WebkitTransition: ""
3512
- };
3513
- if (spec.useTransform) {
3514
- var WebkitTransform = !spec.vertical ? "translate3d(" + spec.left + "px, 0px, 0px)" : "translate3d(0px, " + spec.left + "px, 0px)";
3515
- var transform = !spec.vertical ? "translate3d(" + spec.left + "px, 0px, 0px)" : "translate3d(0px, " + spec.left + "px, 0px)";
3516
- var msTransform = !spec.vertical ? "translateX(" + spec.left + "px)" : "translateY(" + spec.left + "px)";
3517
- style = _extends({}, style, {
3518
- WebkitTransform: WebkitTransform,
3519
- transform: transform,
3520
- msTransform: msTransform
3521
- });
3522
- } else {
3523
- if (spec.vertical) {
3524
- style["top"] = spec.left;
3525
- } else {
3526
- style["left"] = spec.left;
3527
- }
3528
- }
3529
- if (spec.fade) style = { opacity: 1 };
3530
- if (trackWidth) style.width = trackWidth;
3531
- if (trackHeight) style.height = trackHeight;
3532
-
3533
- // Fallback for IE8
3534
- if (window && !window.addEventListener && window.attachEvent) {
3535
- if (!spec.vertical) {
3536
- style.marginLeft = spec.left + "px";
3537
- } else {
3538
- style.marginTop = spec.left + "px";
3539
- }
3540
- }
3541
 
3542
- return style;
3543
- };
3544
- var getTrackAnimateCSS = exports.getTrackAnimateCSS = function getTrackAnimateCSS(spec) {
3545
- checkSpecKeys(spec, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth", "speed", "cssEase"]);
3546
- var style = getTrackCSS(spec);
3547
- // useCSS is true by default so it can be undefined
3548
- if (spec.useTransform) {
3549
- style.WebkitTransition = "-webkit-transform " + spec.speed + "ms " + spec.cssEase;
3550
- style.transition = "transform " + spec.speed + "ms " + spec.cssEase;
3551
- } else {
3552
- if (spec.vertical) {
3553
- style.transition = "top " + spec.speed + "ms " + spec.cssEase;
3554
- } else {
3555
- style.transition = "left " + spec.speed + "ms " + spec.cssEase;
3556
- }
3557
- }
3558
- return style;
3559
- };
3560
- var getTrackLeft = exports.getTrackLeft = function getTrackLeft(spec) {
3561
  if (spec.unslick) {
3562
  return 0;
3563
  }
3564
 
3565
  checkSpecKeys(spec, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
3566
-
3567
  var slideIndex = spec.slideIndex,
3568
  trackRef = spec.trackRef,
3569
  infinite = spec.infinite,
@@ -3577,8 +3149,6 @@ var getTrackLeft = exports.getTrackLeft = function getTrackLeft(spec) {
3577
  slideHeight = spec.slideHeight,
3578
  fade = spec.fade,
3579
  vertical = spec.vertical;
3580
-
3581
-
3582
  var slideOffset = 0;
3583
  var targetLeft;
3584
  var targetSlide;
@@ -3589,13 +3159,16 @@ var getTrackLeft = exports.getTrackLeft = function getTrackLeft(spec) {
3589
  }
3590
 
3591
  var slidesToOffset = 0;
 
3592
  if (infinite) {
3593
  slidesToOffset = -getPreClones(spec); // bring active slide to the beginning of visual area
3594
  // if next scroll doesn't have enough children, just reach till the end of original slides instead of shifting slidesToScroll children
 
3595
  if (slideCount % slidesToScroll !== 0 && slideIndex + slidesToScroll > slideCount) {
3596
  slidesToOffset = -(slideIndex > slideCount ? slidesToShow - (slideIndex - slideCount) : slideCount % slidesToScroll);
3597
- }
3598
- // shift current slide to center of the frame
 
3599
  if (centerMode) {
3600
  slidesToOffset += parseInt(slidesToShow / 2);
3601
  }
@@ -3603,10 +3176,12 @@ var getTrackLeft = exports.getTrackLeft = function getTrackLeft(spec) {
3603
  if (slideCount % slidesToScroll !== 0 && slideIndex + slidesToScroll > slideCount) {
3604
  slidesToOffset = slidesToShow - slideCount % slidesToScroll;
3605
  }
 
3606
  if (centerMode) {
3607
  slidesToOffset = parseInt(slidesToShow / 2);
3608
  }
3609
  }
 
3610
  slideOffset = slidesToOffset * slideWidth;
3611
  verticalOffset = slidesToOffset * slideHeight;
3612
 
@@ -3618,17 +3193,20 @@ var getTrackLeft = exports.getTrackLeft = function getTrackLeft(spec) {
3618
 
3619
  if (variableWidth === true) {
3620
  var targetSlideIndex;
3621
- var trackElem = _reactDom2.default.findDOMNode(trackRef);
3622
  targetSlideIndex = slideIndex + getPreClones(spec);
3623
  targetSlide = trackElem && trackElem.childNodes[targetSlideIndex];
3624
  targetLeft = targetSlide ? targetSlide.offsetLeft * -1 : 0;
 
3625
  if (centerMode === true) {
3626
  targetSlideIndex = infinite ? slideIndex + getPreClones(spec) : slideIndex;
3627
  targetSlide = trackElem && trackElem.children[targetSlideIndex];
3628
  targetLeft = 0;
 
3629
  for (var slide = 0; slide < targetSlideIndex; slide++) {
3630
  targetLeft -= trackElem && trackElem.children[slide] && trackElem.children[slide].offsetWidth;
3631
  }
 
3632
  targetLeft -= parseInt(spec.centerPadding);
3633
  targetLeft += targetSlide && (listWidth - targetSlide.offsetWidth) / 2;
3634
  }
@@ -3637,41 +3215,57 @@ var getTrackLeft = exports.getTrackLeft = function getTrackLeft(spec) {
3637
  return targetLeft;
3638
  };
3639
 
3640
- var getPreClones = exports.getPreClones = function getPreClones(spec) {
 
 
3641
  if (spec.unslick || !spec.infinite) {
3642
  return 0;
3643
  }
 
3644
  if (spec.variableWidth) {
3645
  return spec.slideCount;
3646
  }
 
3647
  return spec.slidesToShow + (spec.centerMode ? 1 : 0);
3648
  };
3649
 
3650
- var getPostClones = exports.getPostClones = function getPostClones(spec) {
 
 
3651
  if (spec.unslick || !spec.infinite) {
3652
  return 0;
3653
  }
 
3654
  return spec.slideCount;
3655
  };
3656
 
3657
- var getTotalSlides = exports.getTotalSlides = function getTotalSlides(spec) {
 
 
3658
  return spec.slideCount === 1 ? 1 : getPreClones(spec) + spec.slideCount + getPostClones(spec);
3659
  };
3660
- var siblingDirection = exports.siblingDirection = function siblingDirection(spec) {
 
 
 
3661
  if (spec.targetSlide > spec.currentSlide) {
3662
  if (spec.targetSlide > spec.currentSlide + slidesOnRight(spec)) {
3663
  return "left";
3664
  }
 
3665
  return "right";
3666
  } else {
3667
  if (spec.targetSlide < spec.currentSlide - slidesOnLeft(spec)) {
3668
  return "right";
3669
  }
 
3670
  return "left";
3671
  }
3672
  };
3673
 
3674
- var slidesOnRight = exports.slidesOnRight = function slidesOnRight(_ref) {
 
 
3675
  var slidesToShow = _ref.slidesToShow,
3676
  centerMode = _ref.centerMode,
3677
  rtl = _ref.rtl,
@@ -3684,13 +3278,17 @@ var slidesOnRight = exports.slidesOnRight = function slidesOnRight(_ref) {
3684
  if (rtl && slidesToShow % 2 === 0) right += 1;
3685
  return right;
3686
  }
 
3687
  if (rtl) {
3688
  return 0;
3689
  }
 
3690
  return slidesToShow - 1;
3691
  };
3692
 
3693
- var slidesOnLeft = exports.slidesOnLeft = function slidesOnLeft(_ref2) {
 
 
3694
  var slidesToShow = _ref2.slidesToShow,
3695
  centerMode = _ref2.centerMode,
3696
  rtl = _ref2.rtl,
@@ -3703,433 +3301,93 @@ var slidesOnLeft = exports.slidesOnLeft = function slidesOnLeft(_ref2) {
3703
  if (!rtl && slidesToShow % 2 === 0) left += 1;
3704
  return left;
3705
  }
 
3706
  if (rtl) {
3707
  return slidesToShow - 1;
3708
  }
 
3709
  return 0;
3710
  };
3711
 
3712
- var canUseDOM = exports.canUseDOM = function canUseDOM() {
 
 
3713
  return !!(typeof window !== "undefined" && window.document && window.document.createElement);
3714
  };
3715
 
 
 
3716
  /***/ }),
3717
- /* 50 */
3718
- /*!********************************************!*\
3719
- !*** ./src/components/box-shadow/index.js ***!
3720
- \********************************************/
3721
- /*! exports provided: default */
3722
- /*! exports used: default */
3723
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3724
-
3725
- "use strict";
3726
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
3727
-
3728
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
3729
-
3730
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
3731
-
3732
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
3733
-
3734
- /**
3735
- * Box-Shadow reusable component.
3736
- *
3737
- */
3738
- var __ = wp.i18n.__;
3739
- var ColorPalette = wp.blockEditor.ColorPalette;
3740
- var _wp$components = wp.components,
3741
- Button = _wp$components.Button,
3742
- SelectControl = _wp$components.SelectControl,
3743
- RangeControl = _wp$components.RangeControl,
3744
- Dashicon = _wp$components.Dashicon;
3745
-
3746
- // Extend component
3747
-
3748
- var _wp$element = wp.element,
3749
- Component = _wp$element.Component,
3750
- Fragment = _wp$element.Fragment;
3751
-
3752
- var BoxShadowControl = function (_Component) {
3753
- _inherits(BoxShadowControl, _Component);
3754
-
3755
- function BoxShadowControl() {
3756
- _classCallCheck(this, BoxShadowControl);
3757
-
3758
- var _this = _possibleConstructorReturn(this, (BoxShadowControl.__proto__ || Object.getPrototypeOf(BoxShadowControl)).apply(this, arguments));
3759
-
3760
- _this.onAdvancedControlClick = _this.onAdvancedControlClick.bind(_this);
3761
- _this.onAdvancedControlReset = _this.onAdvancedControlReset.bind(_this);
3762
- return _this;
3763
- }
3764
-
3765
- _createClass(BoxShadowControl, [{
3766
- key: "onAdvancedControlClick",
3767
- value: function onAdvancedControlClick() {
3768
-
3769
- var control = true;
3770
- var label = __("Hide Advanced");
3771
-
3772
- if (this.state !== null && this.state.showAdvancedControls === true) {
3773
- control = false;
3774
- label = __("Advanced");
3775
- }
3776
-
3777
- this.setState({
3778
- showAdvancedControls: control,
3779
- showAdvancedControlsLabel: label
3780
- });
3781
- }
3782
- }, {
3783
- key: "onAdvancedControlReset",
3784
- value: function onAdvancedControlReset() {
3785
- var setAttributes = this.props.setAttributes;
3786
-
3787
-
3788
- setAttributes({ boxShadowColor: "" });
3789
- setAttributes({ boxShadowHOffset: "" });
3790
- setAttributes({ boxShadowVOffset: "" });
3791
- setAttributes({ boxShadowBlur: "" });
3792
- setAttributes({ boxShadowSpread: "" });
3793
- setAttributes({ boxShadowPosition: "" });
3794
- }
3795
- }, {
3796
- key: "render",
3797
- value: function render() {
3798
- var _props = this.props,
3799
- setAttributes = _props.setAttributes,
3800
- boxShadowColor = _props.boxShadowColor,
3801
- boxShadowHOffset = _props.boxShadowHOffset,
3802
- boxShadowVOffset = _props.boxShadowVOffset,
3803
- boxShadowBlur = _props.boxShadowBlur,
3804
- boxShadowSpread = _props.boxShadowSpread,
3805
- boxShadowPosition = _props.boxShadowPosition;
3806
-
3807
-
3808
- var advancedControls;
3809
- var boxShadowAdvancedControls;
3810
- var resetBoxShadowAdvancedControls;
3811
- if (this.state !== null && true === this.state.showAdvancedControls) {
3812
- advancedControls = wp.element.createElement(
3813
- "div",
3814
- { className: "uagb-box-shadow-advanced" },
3815
- wp.element.createElement(
3816
- Fragment,
3817
- null,
3818
- wp.element.createElement(
3819
- "p",
3820
- { className: "uagb-setting-label" },
3821
- boxShadowColor.label,
3822
- wp.element.createElement(
3823
- "span",
3824
- { className: "components-base-control__label" },
3825
- wp.element.createElement("span", { className: "component-color-indicator", style: { backgroundColor: boxShadowColor.value } })
3826
- )
3827
- ),
3828
- wp.element.createElement(ColorPalette, {
3829
- value: boxShadowColor.value,
3830
- onChange: function onChange(colorValue) {
3831
- return setAttributes({ boxShadowColor: colorValue });
3832
- },
3833
- allowReset: true
3834
- })
3835
- ),
3836
- wp.element.createElement(
3837
- Fragment,
3838
- null,
3839
- wp.element.createElement(
3840
- "h2",
3841
- null,
3842
- boxShadowHOffset.label
3843
- ),
3844
- wp.element.createElement(RangeControl, {
3845
- value: boxShadowHOffset.value,
3846
- onChange: function onChange(value) {
3847
- return setAttributes({ boxShadowHOffset: value });
3848
- },
3849
- min: -100,
3850
- max: 100,
3851
- allowReset: true
3852
- })
3853
- ),
3854
- wp.element.createElement(
3855
- Fragment,
3856
- null,
3857
- wp.element.createElement(
3858
- "h2",
3859
- null,
3860
- boxShadowVOffset.label
3861
- ),
3862
- wp.element.createElement(RangeControl, {
3863
- value: boxShadowVOffset.value,
3864
- onChange: function onChange(value) {
3865
- return setAttributes({ boxShadowVOffset: value });
3866
- },
3867
- min: -100,
3868
- max: 100,
3869
- allowReset: true
3870
- })
3871
- ),
3872
- wp.element.createElement(
3873
- Fragment,
3874
- null,
3875
- wp.element.createElement(
3876
- "h2",
3877
- null,
3878
- boxShadowBlur.label
3879
- ),
3880
- wp.element.createElement(RangeControl, {
3881
- value: boxShadowBlur.value,
3882
- onChange: function onChange(value) {
3883
- return setAttributes({ boxShadowBlur: value });
3884
- },
3885
- min: 0,
3886
- max: 100,
3887
- allowReset: true
3888
- })
3889
- ),
3890
- wp.element.createElement(
3891
- Fragment,
3892
- null,
3893
- wp.element.createElement(
3894
- "h2",
3895
- null,
3896
- boxShadowSpread.label
3897
- ),
3898
- wp.element.createElement(RangeControl, {
3899
- value: boxShadowSpread.value,
3900
- onChange: function onChange(value) {
3901
- return setAttributes({ boxShadowSpread: value });
3902
- },
3903
- min: 0,
3904
- max: 100,
3905
- allowReset: true
3906
- })
3907
- ),
3908
- wp.element.createElement(
3909
- Fragment,
3910
- null,
3911
- wp.element.createElement(SelectControl, {
3912
- label: boxShadowPosition.label,
3913
- value: boxShadowPosition.value,
3914
- onChange: function onChange(value) {
3915
- return setAttributes({ boxShadowPosition: value });
3916
- },
3917
- options: [{ value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }]
3918
- })
3919
- )
3920
- );
3921
- }
3922
- resetBoxShadowAdvancedControls = wp.element.createElement(
3923
- Button,
3924
- {
3925
- className: "uagb-size-btn uagb-typography-reset-btn",
3926
- isSmall: true,
3927
- "aria-pressed": this.state !== null,
3928
- onClick: this.onAdvancedControlReset
3929
- },
3930
- wp.element.createElement(Dashicon, { icon: "image-rotate" })
3931
- );
3932
-
3933
- boxShadowAdvancedControls = wp.element.createElement(
3934
- Button,
3935
- {
3936
- className: "uagb-size-btn uagb-typography-control-btn",
3937
- isSmall: true,
3938
- "aria-pressed": this.state !== null,
3939
- onClick: this.onAdvancedControlClick
3940
- },
3941
- wp.element.createElement(Dashicon, { icon: "admin-tools" })
3942
- );
3943
-
3944
- return wp.element.createElement(
3945
- "div",
3946
- { className: "uag-typography-option-actions" },
3947
- wp.element.createElement(
3948
- "span",
3949
- null,
3950
- this.props.label
3951
- ),
3952
- boxShadowAdvancedControls,
3953
- resetBoxShadowAdvancedControls,
3954
- advancedControls
3955
- );
3956
- }
3957
- }]);
3958
 
3959
- return BoxShadowControl;
3960
- }(Component);
 
 
 
3961
 
3962
- /* harmony default export */ __webpack_exports__["a"] = (BoxShadowControl);
3963
 
3964
  /***/ }),
3965
- /* 51 */
3966
  /*!******************************************!*\
3967
- !*** ./src/blocks/price-list/classes.js ***!
3968
  \******************************************/
3969
- /*! exports provided: default */
3970
- /*! exports used: default */
3971
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
3972
-
3973
- "use strict";
3974
- /**
3975
- * Returns Dynamic Generated Classes
3976
- */
3977
-
3978
- function PositionClasses(attributes) {
3979
-
3980
- var iconimgStyle_class = "";
3981
- var imge_cnt = 0;
3982
- var image = attributes.image;
3983
-
3984
- if (typeof attributes.rest_menu_item_arr !== "undefined") {
3985
- attributes.rest_menu_item_arr.map(function (item, thisIndex) {
3986
- var image_arr = item.image;
3987
- if (image_arr && typeof image_arr !== "undefined") {
3988
- imge_cnt++;
3989
- }
3990
- });
3991
- }
3992
-
3993
- if (typeof image !== "undefined" && image !== null && image !== "") {
3994
- imge_cnt++;
3995
- }
3996
-
3997
- if (imge_cnt > 0) {
3998
- iconimgStyle_class += "uagb-rm__image-position-" + attributes.imagePosition + " ";
3999
- }
4000
-
4001
- iconimgStyle_class += " uagb-rm__align-" + attributes.headingAlign + " ";
4002
-
4003
- if ("left" == attributes.imagePosition || "right" == attributes.imagePosition) {
4004
- iconimgStyle_class += "uagb-rm__image-aligned-" + attributes.imageAlignment + " ";
4005
- if (attributes.stack !== "none") {
4006
- iconimgStyle_class += "uagb-rm-stacked-" + attributes.stack + " ";
4007
- if (attributes.imagePosition === "right") {
4008
- iconimgStyle_class += "uagb-rm-reverse-order-" + attributes.stack + " ";
4009
- }
4010
- }
4011
- }
4012
-
4013
- iconimgStyle_class += "uagb-rm__desk-column-" + attributes.columns + " ";
4014
- iconimgStyle_class += "uagb-rm__tablet-column-" + attributes.tcolumns + " ";
4015
- iconimgStyle_class += "uagb-rm__mobile-column-" + attributes.mcolumns + " ";
4016
-
4017
- return [iconimgStyle_class];
4018
- }
4019
-
4020
- /* harmony default export */ __webpack_exports__["a"] = (PositionClasses);
4021
-
4022
- /***/ }),
4023
- /* 52 */
4024
- /*!***************************************!*\
4025
- !*** ./node_modules/lodash/_Stack.js ***!
4026
- \***************************************/
4027
- /*! no static exports found */
4028
  /*! all exports used */
4029
- /***/ (function(module, exports, __webpack_require__) {
4030
-
4031
- var ListCache = __webpack_require__(/*! ./_ListCache */ 35),
4032
- stackClear = __webpack_require__(/*! ./_stackClear */ 199),
4033
- stackDelete = __webpack_require__(/*! ./_stackDelete */ 200),
4034
- stackGet = __webpack_require__(/*! ./_stackGet */ 201),
4035
- stackHas = __webpack_require__(/*! ./_stackHas */ 202),
4036
- stackSet = __webpack_require__(/*! ./_stackSet */ 203);
4037
 
4038
  /**
4039
- * Creates a stack cache object to store key-value pairs.
 
4040
  *
4041
  * @private
4042
- * @constructor
4043
- * @param {Array} [entries] The key-value pairs to cache.
 
4044
  */
4045
- function Stack(entries) {
4046
- var data = this.__data__ = new ListCache(entries);
4047
- this.size = data.size;
4048
- }
4049
-
4050
- // Add methods to `Stack`.
4051
- Stack.prototype.clear = stackClear;
4052
- Stack.prototype['delete'] = stackDelete;
4053
- Stack.prototype.get = stackGet;
4054
- Stack.prototype.has = stackHas;
4055
- Stack.prototype.set = stackSet;
4056
-
4057
- module.exports = Stack;
4058
-
4059
-
4060
- /***/ }),
4061
- /* 53 */
4062
- /*!*************************************!*\
4063
- !*** ./node_modules/lodash/_Map.js ***!
4064
- \*************************************/
4065
- /*! no static exports found */
4066
- /*! all exports used */
4067
- /***/ (function(module, exports, __webpack_require__) {
4068
-
4069
- var getNative = __webpack_require__(/*! ./_getNative */ 19),
4070
- root = __webpack_require__(/*! ./_root */ 12);
4071
-
4072
- /* Built-in method references that are verified to be native. */
4073
- var Map = getNative(root, 'Map');
4074
-
4075
- module.exports = Map;
4076
-
4077
 
4078
- /***/ }),
4079
- /* 54 */
4080
- /*!***********************************!*\
4081
- !*** (webpack)/buildin/global.js ***!
4082
- \***********************************/
4083
- /*! no static exports found */
4084
- /*! all exports used */
4085
- /***/ (function(module, exports) {
4086
 
4087
- var g;
4088
-
4089
- // This works in non-strict mode
4090
- g = (function() {
4091
- return this;
4092
- })();
4093
-
4094
- try {
4095
- // This works if eval is allowed (see CSP)
4096
- g = g || Function("return this")() || (1,eval)("this");
4097
- } catch(e) {
4098
- // This works if the window reference is available
4099
- if(typeof window === "object")
4100
- g = window;
4101
- }
4102
-
4103
- // g can still be undefined, but nothing to do about it...
4104
- // We return undefined, instead of nothing here, so it's
4105
- // easier to handle this case. if(!global) { ...}
4106
-
4107
- module.exports = g;
4108
 
4109
 
4110
  /***/ }),
4111
- /* 55 */
4112
- /*!******************************************!*\
4113
- !*** ./node_modules/lodash/_MapCache.js ***!
4114
- \******************************************/
4115
- /*! no static exports found */
4116
  /*! all exports used */
4117
  /***/ (function(module, exports, __webpack_require__) {
4118
 
4119
- var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ 210),
4120
- mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ 217),
4121
- mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ 219),
4122
- mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ 220),
4123
- mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ 221);
4124
 
4125
  /**
4126
- * Creates a map cache object to store key-value pairs.
4127
  *
4128
  * @private
4129
  * @constructor
4130
  * @param {Array} [entries] The key-value pairs to cache.
4131
  */
4132
- function MapCache(entries) {
4133
  var index = -1,
4134
  length = entries == null ? 0 : entries.length;
4135
 
@@ -4140,3355 +3398,3667 @@ function MapCache(entries) {
4140
  }
4141
  }
4142
 
4143
- // Add methods to `MapCache`.
4144
- MapCache.prototype.clear = mapCacheClear;
4145
- MapCache.prototype['delete'] = mapCacheDelete;
4146
- MapCache.prototype.get = mapCacheGet;
4147
- MapCache.prototype.has = mapCacheHas;
4148
- MapCache.prototype.set = mapCacheSet;
4149
 
4150
- module.exports = MapCache;
4151
 
4152
 
4153
  /***/ }),
4154
- /* 56 */
4155
- /*!*******************************************!*\
4156
- !*** ./node_modules/lodash/_arrayPush.js ***!
4157
- \*******************************************/
4158
- /*! no static exports found */
4159
  /*! all exports used */
4160
- /***/ (function(module, exports) {
 
 
4161
 
4162
  /**
4163
- * Appends the elements of `values` to `array`.
4164
  *
4165
  * @private
4166
- * @param {Array} array The array to modify.
4167
- * @param {Array} values The values to append.
4168
- * @returns {Array} Returns `array`.
4169
  */
4170
- function arrayPush(array, values) {
4171
- var index = -1,
4172
- length = values.length,
4173
- offset = array.length;
4174
-
4175
- while (++index < length) {
4176
- array[offset + index] = values[index];
4177
  }
4178
- return array;
4179
  }
4180
 
4181
- module.exports = arrayPush;
4182
 
4183
 
4184
  /***/ }),
4185
- /* 57 */
4186
- /*!********************************************!*\
4187
- !*** ./node_modules/lodash/_getSymbols.js ***!
4188
- \********************************************/
4189
- /*! no static exports found */
4190
  /*! all exports used */
4191
- /***/ (function(module, exports, __webpack_require__) {
4192
-
4193
- var arrayFilter = __webpack_require__(/*! ./_arrayFilter */ 232),
4194
- stubArray = __webpack_require__(/*! ./stubArray */ 120);
4195
-
4196
- /** Used for built-in method references. */
4197
- var objectProto = Object.prototype;
4198
-
4199
- /** Built-in value references. */
4200
- var propertyIsEnumerable = objectProto.propertyIsEnumerable;
4201
-
4202
- /* Built-in method references for those with the same name as other `lodash` methods. */
4203
- var nativeGetSymbols = Object.getOwnPropertySymbols;
4204
 
4205
  /**
4206
- * Creates an array of the own enumerable symbols of `object`.
 
 
4207
  *
4208
- * @private
4209
- * @param {Object} object The object to query.
4210
- * @returns {Array} Returns the array of symbols.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4211
  */
4212
- var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
4213
- if (object == null) {
4214
- return [];
4215
- }
4216
- object = Object(object);
4217
- return arrayFilter(nativeGetSymbols(object), function(symbol) {
4218
- return propertyIsEnumerable.call(object, symbol);
4219
- });
4220
- };
4221
 
4222
- module.exports = getSymbols;
4223
 
4224
 
4225
  /***/ }),
4226
- /* 58 */
4227
- /*!********************************************!*\
4228
- !*** ./node_modules/lodash/isArguments.js ***!
4229
- \********************************************/
4230
- /*! no static exports found */
4231
  /*! all exports used */
4232
  /***/ (function(module, exports, __webpack_require__) {
4233
 
4234
- var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ 233),
4235
- isObjectLike = __webpack_require__(/*! ./isObjectLike */ 17);
4236
 
4237
- /** Used for built-in method references. */
4238
- var objectProto = Object.prototype;
4239
 
4240
- /** Used to check objects for own properties. */
4241
- var hasOwnProperty = objectProto.hasOwnProperty;
4242
 
4243
- /** Built-in value references. */
4244
- var propertyIsEnumerable = objectProto.propertyIsEnumerable;
4245
 
4246
- /**
4247
- * Checks if `value` is likely an `arguments` object.
4248
- *
4249
- * @static
4250
- * @memberOf _
4251
- * @since 0.1.0
4252
- * @category Lang
4253
- * @param {*} value The value to check.
4254
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
4255
- * else `false`.
4256
- * @example
4257
- *
4258
- * _.isArguments(function() { return arguments; }());
4259
- * // => true
4260
  *
4261
- * _.isArguments([1, 2, 3]);
4262
- * // => false
 
 
4263
  */
4264
- var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
4265
- return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
4266
- !propertyIsEnumerable.call(value, 'callee');
4267
- };
 
 
4268
 
4269
- module.exports = isArguments;
4270
 
4271
 
4272
  /***/ }),
4273
- /* 59 */
4274
  /*!*****************************************!*\
4275
- !*** ./node_modules/lodash/isBuffer.js ***!
4276
  \*****************************************/
4277
- /*! no static exports found */
4278
  /*! all exports used */
4279
- /***/ (function(module, exports, __webpack_require__) {
4280
-
4281
- /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ 12),
4282
- stubFalse = __webpack_require__(/*! ./stubFalse */ 234);
4283
-
4284
- /** Detect free variable `exports`. */
4285
- var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
4286
-
4287
- /** Detect free variable `module`. */
4288
- var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
4289
-
4290
- /** Detect the popular CommonJS extension `module.exports`. */
4291
- var moduleExports = freeModule && freeModule.exports === freeExports;
4292
 
4293
- /** Built-in value references. */
4294
- var Buffer = moduleExports ? root.Buffer : undefined;
4295
 
4296
- /* Built-in method references for those with the same name as other `lodash` methods. */
4297
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
4298
 
4299
  /**
4300
- * Checks if `value` is a buffer.
4301
  *
4302
- * @static
4303
- * @memberOf _
4304
- * @since 4.3.0
4305
- * @category Lang
4306
  * @param {*} value The value to check.
4307
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
4308
- * @example
4309
- *
4310
- * _.isBuffer(new Buffer(2));
4311
- * // => true
4312
- *
4313
- * _.isBuffer(new Uint8Array(2));
4314
- * // => false
4315
  */
4316
- var isBuffer = nativeIsBuffer || stubFalse;
4317
-
4318
- module.exports = isBuffer;
4319
-
4320
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../webpack/buildin/module.js */ 60)(module)))
4321
 
4322
- /***/ }),
4323
- /* 60 */
4324
- /*!***********************************!*\
4325
- !*** (webpack)/buildin/module.js ***!
4326
- \***********************************/
4327
- /*! no static exports found */
4328
- /*! all exports used */
4329
- /***/ (function(module, exports) {
4330
 
4331
- module.exports = function(module) {
4332
- if(!module.webpackPolyfill) {
4333
- module.deprecate = function() {};
4334
- module.paths = [];
4335
- // module.parent = undefined by default
4336
- if(!module.children) module.children = [];
4337
- Object.defineProperty(module, "loaded", {
4338
- enumerable: true,
4339
- get: function() {
4340
- return module.l;
4341
- }
4342
- });
4343
- Object.defineProperty(module, "id", {
4344
- enumerable: true,
4345
- get: function() {
4346
- return module.i;
4347
- }
4348
- });
4349
- module.webpackPolyfill = 1;
4350
- }
4351
- return module;
4352
- };
4353
 
4354
 
4355
  /***/ }),
4356
- /* 61 */
4357
- /*!*****************************************!*\
4358
- !*** ./node_modules/lodash/isLength.js ***!
4359
- \*****************************************/
4360
- /*! no static exports found */
4361
  /*! all exports used */
4362
  /***/ (function(module, exports) {
4363
 
4364
- /** Used as references for various `Number` constants. */
4365
- var MAX_SAFE_INTEGER = 9007199254740991;
4366
-
4367
  /**
4368
- * Checks if `value` is a valid array-like length.
4369
- *
4370
- * **Note:** This method is loosely based on
4371
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
4372
- *
4373
- * @static
4374
- * @memberOf _
4375
- * @since 4.0.0
4376
- * @category Lang
4377
- * @param {*} value The value to check.
4378
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
4379
- * @example
4380
- *
4381
- * _.isLength(3);
4382
- * // => true
4383
- *
4384
- * _.isLength(Number.MIN_VALUE);
4385
- * // => false
4386
- *
4387
- * _.isLength(Infinity);
4388
- * // => false
4389
  *
4390
- * _.isLength('3');
4391
- * // => false
 
4392
  */
4393
- function isLength(value) {
4394
- return typeof value == 'number' &&
4395
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
 
4396
  }
4397
 
4398
- module.exports = isLength;
4399
 
4400
 
4401
  /***/ }),
4402
- /* 62 */
4403
- /*!***************************************!*\
4404
- !*** ./node_modules/lodash/_isKey.js ***!
4405
- \***************************************/
4406
- /*! no static exports found */
4407
  /*! all exports used */
4408
  /***/ (function(module, exports, __webpack_require__) {
4409
 
4410
- var isArray = __webpack_require__(/*! ./isArray */ 14),
4411
- isSymbol = __webpack_require__(/*! ./isSymbol */ 46);
4412
 
4413
- /** Used to match property names within property paths. */
4414
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
4415
- reIsPlainProp = /^\w*$/;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4416
 
4417
  /**
4418
- * Checks if `value` is a property name and not a property path.
4419
  *
4420
  * @private
4421
  * @param {*} value The value to check.
4422
- * @param {Object} [object] The object to query keys on.
4423
- * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
4424
  */
4425
- function isKey(value, object) {
4426
- if (isArray(value)) {
4427
- return false;
4428
- }
4429
- var type = typeof value;
4430
- if (type == 'number' || type == 'symbol' || type == 'boolean' ||
4431
- value == null || isSymbol(value)) {
4432
- return true;
4433
- }
4434
- return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
4435
- (object != null && value in Object(object));
4436
  }
4437
 
4438
- module.exports = isKey;
4439
 
4440
 
4441
  /***/ }),
4442
- /* 63 */
4443
- /*!***************************************************!*\
4444
- !*** ./node_modules/prop-types/checkPropTypes.js ***!
4445
- \***************************************************/
4446
- /*! no static exports found */
4447
  /*! all exports used */
4448
  /***/ (function(module, exports, __webpack_require__) {
4449
 
4450
- "use strict";
4451
- /* WEBPACK VAR INJECTION */(function(process) {/**
4452
- * Copyright (c) 2013-present, Facebook, Inc.
4453
- *
4454
- * This source code is licensed under the MIT license found in the
4455
- * LICENSE file in the root directory of this source tree.
4456
- */
4457
-
4458
 
 
 
 
 
 
 
4459
 
4460
- var printWarning = function() {};
4461
-
4462
- if (process.env.NODE_ENV !== 'production') {
4463
- var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ 64);
4464
- var loggedTypeFailures = {};
4465
- var has = Function.call.bind(Object.prototype.hasOwnProperty);
4466
 
4467
- printWarning = function(text) {
4468
- var message = 'Warning: ' + text;
4469
- if (typeof console !== 'undefined') {
4470
- console.error(message);
4471
- }
4472
- try {
4473
- // --- Welcome to debugging React ---
4474
- // This error was thrown as a convenience so that you can use this stack
4475
- // to find the callsite that caused this warning to fire.
4476
- throw new Error(message);
4477
- } catch (x) {}
4478
- };
4479
- }
4480
 
4481
  /**
4482
- * Assert that the values match with the type specs.
4483
- * Error messages are memorized and will only be shown once.
4484
  *
4485
- * @param {object} typeSpecs Map of name to a ReactPropType
4486
- * @param {object} values Runtime values that need to be type-checked
4487
- * @param {string} location e.g. "prop", "context", "child context"
4488
- * @param {string} componentName Name of the component for error messages.
4489
- * @param {?Function} getStack Returns the component stack.
4490
  * @private
 
 
4491
  */
4492
- function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
4493
- if (process.env.NODE_ENV !== 'production') {
4494
- for (var typeSpecName in typeSpecs) {
4495
- if (has(typeSpecs, typeSpecName)) {
4496
- var error;
4497
- // Prop type validation may throw. In case they do, we don't want to
4498
- // fail the render phase where it didn't fail before. So we log it.
4499
- // After these have been cleaned up, we'll let them throw.
4500
- try {
4501
- // This is intentionally an invariant that gets caught. It's the same
4502
- // behavior as without this statement except with a better message.
4503
- if (typeof typeSpecs[typeSpecName] !== 'function') {
4504
- var err = Error(
4505
- (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
4506
- 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
4507
- );
4508
- err.name = 'Invariant Violation';
4509
- throw err;
4510
- }
4511
- error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
4512
- } catch (ex) {
4513
- error = ex;
4514
- }
4515
- if (error && !(error instanceof Error)) {
4516
- printWarning(
4517
- (componentName || 'React class') + ': type specification of ' +
4518
- location + ' `' + typeSpecName + '` is invalid; the type checker ' +
4519
- 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
4520
- 'You may have forgotten to pass an argument to the type checker ' +
4521
- 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
4522
- 'shape all require an argument).'
4523
- );
4524
- }
4525
- if (error instanceof Error && !(error.message in loggedTypeFailures)) {
4526
- // Only monitor this failure once because there tends to be a lot of the
4527
- // same error.
4528
- loggedTypeFailures[error.message] = true;
4529
 
4530
- var stack = getStack ? getStack() : '';
 
 
 
 
 
 
 
 
 
4531
 
4532
- printWarning(
4533
- 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
4534
- );
4535
- }
 
 
 
4536
  }
4537
  }
4538
- }
 
4539
  }
4540
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4541
  /**
4542
- * Resets warning cache when testing.
4543
  *
4544
  * @private
 
 
 
4545
  */
4546
- checkPropTypes.resetWarningCache = function() {
4547
- if (process.env.NODE_ENV !== 'production') {
4548
- loggedTypeFailures = {};
 
 
 
 
 
4549
  }
 
4550
  }
4551
 
4552
- module.exports = checkPropTypes;
4553
 
4554
- /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 3)))
4555
 
4556
  /***/ }),
4557
- /* 64 */
4558
- /*!*************************************************************!*\
4559
- !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
4560
- \*************************************************************/
4561
- /*! no static exports found */
4562
  /*! all exports used */
4563
  /***/ (function(module, exports, __webpack_require__) {
4564
 
4565
- "use strict";
 
 
 
 
 
4566
  /**
4567
- * Copyright (c) 2013-present, Facebook, Inc.
4568
  *
4569
- * This source code is licensed under the MIT license found in the
4570
- * LICENSE file in the root directory of this source tree.
 
 
 
 
 
 
 
 
 
 
 
4571
  */
 
 
 
 
4572
 
 
4573
 
4574
 
4575
- var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
 
 
 
 
 
 
 
4576
 
4577
- module.exports = ReactPropTypesSecret;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4578
 
4579
 
4580
  /***/ }),
4581
- /* 65 */
4582
- /*!*************************************************************!*\
4583
- !*** ./node_modules/@emotion/core/dist/core.browser.esm.js ***!
4584
- \*************************************************************/
4585
- /*! exports provided: css, CacheProvider, ClassNames, Global, ThemeContext, jsx, keyframes, withEmotionCache */
4586
- /*! exports used: CacheProvider, ClassNames, jsx, keyframes */
4587
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4588
 
4589
  "use strict";
4590
- /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return CacheProvider; });
4591
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ClassNames; });
4592
- /* unused harmony export Global */
4593
- /* unused harmony export ThemeContext */
4594
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return jsx; });
4595
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return keyframes; });
4596
- /* unused harmony export withEmotionCache */
4597
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__ = __webpack_require__(/*! @babel/runtime/helpers/inheritsLoose */ 262);
4598
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose__);
4599
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(/*! react */ 6);
4600
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
4601
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_cache__ = __webpack_require__(/*! @emotion/cache */ 132);
4602
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__emotion_utils__ = __webpack_require__(/*! @emotion/utils */ 265);
4603
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__emotion_serialize__ = __webpack_require__(/*! @emotion/serialize */ 134);
4604
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__emotion_sheet__ = __webpack_require__(/*! @emotion/sheet */ 133);
4605
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__emotion_css__ = __webpack_require__(/*! @emotion/css */ 29);
4606
- /* unused harmony reexport css */
4607
 
 
 
 
 
 
 
 
 
4608
 
 
 
 
 
 
 
 
 
 
 
 
4609
 
 
 
 
 
 
4610
 
 
 
 
 
 
 
 
 
4611
 
 
 
 
4612
 
 
 
 
 
4613
 
 
 
 
 
 
 
 
 
 
4614
 
 
 
 
 
 
 
 
 
4615
 
4616
- var EmotionCacheContext = __WEBPACK_IMPORTED_MODULE_1_react__["createContext"]( // we're doing this to avoid preconstruct's dead code elimination in this one case
4617
- // because this module is primarily intended for the browser and node
4618
- // but it's also required in react native and similar environments sometimes
4619
- // and we could have a special build just for that
4620
- // but this is much easier and the native packages
4621
- // might use a different theme context in the future anyway
4622
- typeof HTMLElement !== 'undefined' ? __WEBPACK_IMPORTED_MODULE_2__emotion_cache__["a" /* default */]() : null);
4623
- var ThemeContext = __WEBPACK_IMPORTED_MODULE_1_react__["createContext"]({});
4624
- var CacheProvider = EmotionCacheContext.Provider;
4625
 
4626
- var withEmotionCache = function withEmotionCache(func) {
4627
- var render = function render(props, ref) {
4628
- return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"](EmotionCacheContext.Consumer, null, function (cache) {
4629
- return func(props, cache, ref);
4630
- });
4631
- }; // $FlowFixMe
4632
 
 
 
 
 
4633
 
4634
- return __WEBPACK_IMPORTED_MODULE_1_react__["forwardRef"](render);
4635
- };
4636
 
4637
- // thus we only need to replace what is a valid character for JS, but not for CSS
 
 
 
 
 
 
 
4638
 
4639
- var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
4640
- return identifier.replace(/\$/g, '-');
4641
- };
 
 
 
 
 
4642
 
4643
- var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
4644
- var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
4645
- var hasOwnProperty = Object.prototype.hasOwnProperty;
 
 
 
 
 
4646
 
4647
- var render = function render(cache, props, theme, ref) {
4648
- var cssProp = theme === null ? props.css : props.css(theme); // so that using `css` from `emotion` and passing the result to the css prop works
4649
- // not passing the registered cache to serializeStyles because it would
4650
- // make certain babel optimisations not possible
4651
 
4652
- if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
4653
- cssProp = cache.registered[cssProp];
4654
- }
4655
 
4656
- var type = props[typePropName];
4657
- var registeredStyles = [cssProp];
4658
- var className = '';
4659
 
4660
- if (typeof props.className === 'string') {
4661
- className = __WEBPACK_IMPORTED_MODULE_3__emotion_utils__["a" /* getRegisteredStyles */](cache.registered, registeredStyles, props.className);
4662
- } else if (props.className != null) {
4663
- className = props.className + " ";
 
 
 
 
 
 
 
 
 
 
 
4664
  }
 
4665
 
4666
- var serialized = __WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */](registeredStyles);
4667
 
4668
- if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {
4669
- var labelFromStack = props[labelPropName];
4670
 
4671
- if (labelFromStack) {
4672
- serialized = __WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */]([serialized, 'label:' + labelFromStack + ';']);
4673
- }
4674
- }
 
 
 
 
4675
 
4676
- var rules = __WEBPACK_IMPORTED_MODULE_3__emotion_utils__["b" /* insertStyles */](cache, serialized, typeof type === 'string');
4677
- className += cache.key + "-" + serialized.name;
4678
- var newProps = {};
4679
 
4680
- for (var key in props) {
4681
- if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
4682
- newProps[key] = props[key];
4683
- }
4684
- }
4685
 
4686
- newProps.ref = ref;
4687
- newProps.className = className;
4688
- var ele = __WEBPACK_IMPORTED_MODULE_1_react__["createElement"](type, newProps);
4689
 
4690
- return ele;
4691
- };
4692
 
4693
- var Emotion =
4694
- /* #__PURE__ */
4695
- withEmotionCache(function (props, cache, ref) {
4696
- // use Context.read for the theme when it's stable
4697
- if (typeof props.css === 'function') {
4698
- return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"](ThemeContext.Consumer, null, function (theme) {
4699
- return render(cache, props, theme, ref);
4700
- });
4701
- }
 
 
4702
 
4703
- return render(cache, props, null, ref);
4704
- });
4705
 
4706
- if (process.env.NODE_ENV !== 'production') {
4707
- Emotion.displayName = 'EmotionCssPropInternal';
4708
- } // $FlowFixMe
4709
 
 
 
4710
 
4711
- var jsx = function jsx(type, props) {
4712
- var args = arguments;
4713
 
4714
- if (props == null || !hasOwnProperty.call(props, 'css')) {
4715
- // $FlowFixMe
4716
- return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"].apply(undefined, args);
4717
- }
4718
 
4719
- if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration
4720
- props.css.indexOf(':') !== -1) {
4721
- throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/css' like this: css`" + props.css + "`");
4722
- }
4723
 
4724
- var argsLength = args.length;
4725
- var createElementArgArray = new Array(argsLength);
4726
- createElementArgArray[0] = Emotion;
4727
- var newProps = {};
4728
 
4729
- for (var key in props) {
4730
- if (hasOwnProperty.call(props, key)) {
4731
- newProps[key] = props[key];
4732
- }
4733
- }
4734
 
4735
- newProps[typePropName] = type;
 
 
 
4736
 
4737
- if (process.env.NODE_ENV !== 'production') {
4738
- var error = new Error();
 
 
 
 
 
 
 
4739
 
4740
- if (error.stack) {
4741
- // chrome
4742
- var match = error.stack.match(/at (?:Object\.|)jsx.*\n\s+at ([A-Z][A-Za-z$]+) /);
4743
 
4744
- if (!match) {
4745
- // safari and firefox
4746
- match = error.stack.match(/.*\n([A-Z][A-Za-z$]+)@/);
4747
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4748
 
4749
- if (match) {
4750
- newProps[labelPropName] = sanitizeIdentifier(match[1]);
4751
- }
4752
- }
4753
- }
4754
 
4755
- createElementArgArray[1] = newProps;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4756
 
4757
- for (var i = 2; i < argsLength; i++) {
4758
- createElementArgArray[i] = args[i];
4759
- } // $FlowFixMe
 
 
 
 
 
 
 
4760
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4761
 
4762
- return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"].apply(null, createElementArgArray);
4763
- };
4764
 
4765
- var warnedAboutCssPropForGlobal = false;
4766
- var Global =
4767
- /* #__PURE__ */
4768
- withEmotionCache(function (props, cache) {
4769
- if (process.env.NODE_ENV !== 'production' && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is
4770
- // probably using the custom createElement which
4771
- // means it will be turned into a className prop
4772
- // $FlowFixMe I don't really want to add it to the type since it shouldn't be used
4773
- props.className || props.css)) {
4774
- console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?");
4775
- warnedAboutCssPropForGlobal = true;
4776
- }
4777
 
4778
- var styles = props.styles;
 
 
 
 
 
 
 
4779
 
4780
- if (typeof styles === 'function') {
4781
- return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"](ThemeContext.Consumer, null, function (theme) {
4782
- var serialized = __WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */]([styles(theme)]);
4783
- return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"](InnerGlobal, {
4784
- serialized: serialized,
4785
- cache: cache
4786
- });
4787
- });
4788
- }
4789
 
4790
- var serialized = __WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */]([styles]);
4791
- return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"](InnerGlobal, {
4792
- serialized: serialized,
4793
- cache: cache
4794
- });
4795
- });
4796
 
4797
- // maintain place over rerenders.
4798
- // initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
4799
- // initial client-side render from SSR, use place of hydrating tag
4800
- var InnerGlobal =
4801
- /*#__PURE__*/
4802
- function (_React$Component) {
4803
- __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_inheritsLoose___default.a(InnerGlobal, _React$Component);
4804
 
4805
- function InnerGlobal(props, context, updater) {
4806
- return _React$Component.call(this, props, context, updater) || this;
4807
- }
 
 
 
 
 
4808
 
4809
- var _proto = InnerGlobal.prototype;
 
 
4810
 
4811
- _proto.componentDidMount = function componentDidMount() {
4812
- this.sheet = new __WEBPACK_IMPORTED_MODULE_5__emotion_sheet__["a" /* StyleSheet */]({
4813
- key: this.props.cache.key + "-global",
4814
- nonce: this.props.cache.sheet.nonce,
4815
- container: this.props.cache.sheet.container
4816
- }); // $FlowFixMe
4817
 
4818
- var node = document.querySelector("style[data-emotion-" + this.props.cache.key + "=\"" + this.props.serialized.name + "\"]");
4819
 
4820
- if (node !== null) {
4821
- this.sheet.tags.push(node);
4822
- }
 
 
 
 
 
 
4823
 
4824
- if (this.props.cache.sheet.tags.length) {
4825
- this.sheet.before = this.props.cache.sheet.tags[0];
4826
- }
4827
 
4828
- this.insertStyles();
4829
- };
4830
 
4831
- _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
4832
- if (prevProps.serialized.name !== this.props.serialized.name) {
4833
- this.insertStyles();
4834
- }
4835
- };
4836
 
4837
- _proto.insertStyles = function insertStyles$1() {
4838
- if (this.props.serialized.next !== undefined) {
4839
- // insert keyframes
4840
- __WEBPACK_IMPORTED_MODULE_3__emotion_utils__["b" /* insertStyles */](this.props.cache, this.props.serialized.next, true);
4841
- }
 
 
 
4842
 
4843
- if (this.sheet.tags.length) {
4844
- // if this doesn't exist then it will be null so the style element will be appended
4845
- var element = this.sheet.tags[this.sheet.tags.length - 1].nextElementSibling;
4846
- this.sheet.before = element;
4847
- this.sheet.flush();
4848
- }
4849
 
4850
- this.props.cache.insert("", this.props.serialized, this.sheet, false);
4851
- };
4852
 
4853
- _proto.componentWillUnmount = function componentWillUnmount() {
4854
- this.sheet.flush();
4855
- };
 
 
 
 
4856
 
4857
- _proto.render = function render() {
 
 
 
 
 
 
 
 
4858
 
4859
- return null;
4860
- };
4861
 
4862
- return InnerGlobal;
4863
- }(__WEBPACK_IMPORTED_MODULE_1_react__["Component"]);
4864
 
4865
- var keyframes = function keyframes() {
4866
- var insertable = __WEBPACK_IMPORTED_MODULE_6__emotion_css__["a" /* default */].apply(void 0, arguments);
4867
- var name = "animation-" + insertable.name; // $FlowFixMe
 
 
 
 
 
4868
 
 
4869
  return {
4870
- name: name,
4871
- styles: "@keyframes " + name + "{" + insertable.styles + "}",
4872
- anim: 1,
4873
- toString: function toString() {
4874
- return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
4875
- }
4876
  };
4877
  };
4878
 
4879
- var classnames = function classnames(args) {
4880
- var len = args.length;
4881
- var i = 0;
4882
- var cls = '';
4883
 
4884
- for (; i < len; i++) {
4885
- var arg = args[i];
4886
- if (arg == null) continue;
4887
- var toAdd = void 0;
 
 
 
 
4888
 
4889
- switch (typeof arg) {
4890
- case 'boolean':
4891
- break;
4892
 
4893
- case 'object':
4894
- {
4895
- if (Array.isArray(arg)) {
4896
- toAdd = classnames(arg);
4897
- } else {
4898
- toAdd = '';
4899
 
4900
- for (var k in arg) {
4901
- if (arg[k] && k) {
4902
- toAdd && (toAdd += ' ');
4903
- toAdd += k;
4904
- }
4905
- }
4906
- }
4907
 
4908
- break;
4909
- }
4910
-
4911
- default:
4912
- {
4913
- toAdd = arg;
4914
- }
4915
- }
4916
 
4917
- if (toAdd) {
4918
- cls && (cls += ' ');
4919
- cls += toAdd;
4920
- }
4921
- }
4922
 
4923
- return cls;
4924
- };
4925
 
4926
- function merge(registered, css, className) {
4927
- var registeredStyles = [];
4928
- var rawClassName = __WEBPACK_IMPORTED_MODULE_3__emotion_utils__["a" /* getRegisteredStyles */](registered, registeredStyles, className);
 
 
 
 
 
4929
 
4930
- if (registeredStyles.length < 2) {
4931
- return className;
4932
- }
 
 
4933
 
4934
- return rawClassName + css(registeredStyles);
4935
- }
4936
 
4937
- var ClassNames = withEmotionCache(function (props, context) {
4938
- return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"](ThemeContext.Consumer, null, function (theme) {
4939
- var hasRendered = false;
 
 
 
 
 
4940
 
4941
- var css = function css() {
4942
- if (hasRendered && process.env.NODE_ENV !== 'production') {
4943
- throw new Error('css can only be used during render');
4944
- }
4945
 
4946
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
4947
- args[_key] = arguments[_key];
4948
- }
4949
 
4950
- var serialized = __WEBPACK_IMPORTED_MODULE_4__emotion_serialize__["a" /* serializeStyles */](args, context.registered);
 
 
 
 
 
 
 
4951
 
4952
- {
4953
- __WEBPACK_IMPORTED_MODULE_3__emotion_utils__["b" /* insertStyles */](context, serialized, false);
4954
- }
 
 
 
4955
 
4956
- return context.key + "-" + serialized.name;
4957
- };
 
 
 
 
 
 
 
 
 
4958
 
4959
- var cx = function cx() {
4960
- if (hasRendered && process.env.NODE_ENV !== 'production') {
4961
- throw new Error('cx can only be used during render');
4962
- }
 
 
4963
 
4964
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
4965
- args[_key2] = arguments[_key2];
4966
- }
4967
 
4968
- return merge(context.registered, css, classnames(args));
4969
- };
4970
 
4971
- var content = {
4972
- css: css,
4973
- cx: cx,
4974
- theme: theme
4975
- };
4976
- var ele = props.children(content);
4977
- hasRendered = true;
 
4978
 
4979
- return ele;
4980
- });
4981
- });
4982
 
 
 
4983
 
 
4984
 
4985
- /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(/*! ./../../../process/browser.js */ 3)))
4986
 
4987
  /***/ }),
4988
- /* 66 */
4989
- /*!**********************************************************************!*\
4990
- !*** ./node_modules/react-select/dist/utils-06b0d5a4.browser.esm.js ***!
4991
- \**********************************************************************/
4992
- /*! exports provided: a, b, c, d, e, f, g, h, i, j, k, n, s */
4993
- /*! exports used: a, b, c, d, e, f, g, h, i, j, n, s */
4994
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
4995
-
4996
- "use strict";
4997
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return getScrollParent; });
4998
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return getScrollTop; });
4999
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return animatedScrollTo; });
5000
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return isMobileDevice; });
5001
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return cleanValue; });
5002
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "f", function() { return scrollIntoView; });
5003
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getBoundingClientObj; });
5004
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return classNames; });
5005
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "i", function() { return isTouchCapable; });
5006
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "j", function() { return isDocumentElement; });
5007
- /* unused harmony export k */
5008
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "k", function() { return noop; });
5009
- /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "l", function() { return scrollTo; });
5010
- // ==============================
5011
- // NO OP
5012
- // ==============================
5013
- var noop = function noop() {};
5014
- // Class Name Prefixer
5015
- // ==============================
5016
 
5017
- /**
5018
- String representation of component state for styling with class names.
5019
 
5020
- Expects an array of strings OR a string/object pair:
5021
- - className(['comp', 'comp-arg', 'comp-arg-2'])
5022
- @returns 'react-select__comp react-select__comp-arg react-select__comp-arg-2'
5023
- - className('comp', { some: true, state: false })
5024
- @returns 'react-select__comp react-select__comp--some'
5025
- */
5026
 
5027
- function applyPrefixToName(prefix, name) {
5028
- if (!name) {
5029
- return prefix;
5030
- } else if (name[0] === '-') {
5031
- return prefix + name;
5032
- } else {
5033
- return prefix + '__' + name;
5034
- }
5035
  }
5036
 
5037
- function classNames(prefix, state, className) {
5038
- var arr = [className];
5039
-
5040
- if (state && prefix) {
5041
- for (var key in state) {
5042
- if (state.hasOwnProperty(key) && state[key]) {
5043
- arr.push("" + applyPrefixToName(prefix, key));
5044
- }
5045
- }
5046
- }
5047
 
5048
- return arr.filter(function (i) {
5049
- return i;
5050
- }).map(function (i) {
5051
- return String(i).trim();
5052
- }).join(' ');
5053
- } // ==============================
5054
- // Clean Value
5055
- // ==============================
5056
 
5057
- var cleanValue = function cleanValue(value) {
5058
- if (Array.isArray(value)) return value.filter(Boolean);
5059
- if (typeof value === 'object' && value !== null) return [value];
5060
- return [];
5061
- }; // ==============================
5062
- // Handle Input Change
5063
- // ==============================
5064
 
5065
- function handleInputChange(inputValue, actionMeta, onInputChange) {
5066
- if (onInputChange) {
5067
- var newValue = onInputChange(inputValue, actionMeta);
5068
- if (typeof newValue === 'string') return newValue;
5069
- }
 
 
 
5070
 
5071
- return inputValue;
5072
- } // ==============================
5073
- // Scroll Helpers
5074
- // ==============================
 
5075
 
5076
- function isDocumentElement(el) {
5077
- return [document.documentElement, document.body, window].indexOf(el) > -1;
5078
- } // Normalized Scroll Top
5079
- // ------------------------------
 
 
 
 
 
 
5080
 
5081
- function getScrollTop(el) {
5082
- if (isDocumentElement(el)) {
5083
- return window.pageYOffset;
 
5084
  }
5085
-
5086
- return el.scrollTop;
5087
  }
5088
- function scrollTo(el, top) {
5089
- // with a scroll distance, we perform scroll on the element
5090
- if (isDocumentElement(el)) {
5091
- window.scrollTo(0, top);
5092
- return;
5093
- }
5094
-
5095
- el.scrollTop = top;
5096
- } // Get Scroll Parent
5097
- // ------------------------------
5098
-
5099
- function getScrollParent(element) {
5100
- var style = getComputedStyle(element);
5101
- var excludeStaticParent = style.position === 'absolute';
5102
- var overflowRx = /(auto|scroll)/;
5103
- var docEl = document.documentElement; // suck it, flow...
5104
 
5105
- if (style.position === 'fixed') return docEl;
5106
-
5107
- for (var parent = element; parent = parent.parentElement;) {
5108
- style = getComputedStyle(parent);
 
 
5109
 
5110
- if (excludeStaticParent && style.position === 'static') {
5111
- continue;
5112
- }
5113
 
5114
- if (overflowRx.test(style.overflow + style.overflowY + style.overflowX)) {
5115
- return parent;
5116
- }
5117
- }
5118
 
5119
- return docEl;
5120
- } // Animated Scroll To
5121
- // ------------------------------
 
 
 
 
 
5122
 
5123
  /**
5124
- @param t: time (elapsed)
5125
- @param b: initial value
5126
- @param c: amount of change
5127
- @param d: duration
5128
- */
 
 
 
 
 
 
5129
 
5130
- function easeOutCubic(t, b, c, d) {
5131
- return c * ((t = t / d - 1) * t * t + 1) + b;
 
 
5132
  }
5133
 
5134
- function animatedScrollTo(element, to, duration, callback) {
5135
- if (duration === void 0) {
5136
- duration = 200;
5137
- }
5138
 
5139
- if (callback === void 0) {
5140
- callback = noop;
5141
- }
5142
 
5143
- var start = getScrollTop(element);
5144
- var change = to - start;
5145
- var increment = 10;
5146
- var currentTime = 0;
 
 
 
 
5147
 
5148
- function animateScroll() {
5149
- currentTime += increment;
5150
- var val = easeOutCubic(currentTime, start, change, duration);
5151
- scrollTo(element, val);
5152
 
5153
- if (currentTime < duration) {
5154
- window.requestAnimationFrame(animateScroll);
5155
- } else {
5156
- callback(element);
5157
- }
5158
- }
5159
 
5160
- animateScroll();
5161
- } // Scroll Into View
5162
- // ------------------------------
5163
 
5164
- function scrollIntoView(menuEl, focusedEl) {
5165
- var menuRect = menuEl.getBoundingClientRect();
5166
- var focusedRect = focusedEl.getBoundingClientRect();
5167
- var overScroll = focusedEl.offsetHeight / 3;
5168
 
5169
- if (focusedRect.bottom + overScroll > menuRect.bottom) {
5170
- scrollTo(menuEl, Math.min(focusedEl.offsetTop + focusedEl.clientHeight - menuEl.offsetHeight + overScroll, menuEl.scrollHeight));
5171
- } else if (focusedRect.top - overScroll < menuRect.top) {
5172
- scrollTo(menuEl, Math.max(focusedEl.offsetTop - overScroll, 0));
 
 
 
 
 
 
5173
  }
5174
- } // ==============================
5175
- // Get bounding client object
5176
- // ==============================
5177
- // cannot get keys using array notation with DOMRect
 
5178
 
5179
- function getBoundingClientObj(element) {
5180
- var rect = element.getBoundingClientRect();
5181
- return {
5182
- bottom: rect.bottom,
5183
- height: rect.height,
5184
- left: rect.left,
5185
- right: rect.right,
5186
- top: rect.top,
5187
- width: rect.width
5188
- };
5189
- }
5190
- // Touch Capability Detector
5191
- // ==============================
5192
 
5193
- function isTouchCapable() {
5194
- try {
5195
- document.createEvent('TouchEvent');
5196
- return true;
5197
- } catch (e) {
5198
- return false;
5199
- }
5200
- } // ==============================
5201
- // Mobile Device Detector
5202
- // ==============================
5203
 
5204
- function isMobileDevice() {
5205
- try {
5206
- return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
5207
- } catch (e) {
5208
- return false;
5209
- }
5210
- }
 
5211
 
 
 
5212
 
 
 
5213
 
 
 
5214
 
5215
- /***/ }),
5216
- /* 67 */
5217
- /*!*****************************************************!*\
5218
- !*** ./src/blocks/post/components/FeaturedImage.js ***!
5219
- \*****************************************************/
5220
- /*! exports provided: default */
5221
- /*! exports used: default */
5222
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5223
 
5224
- "use strict";
5225
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5226
 
5227
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5228
 
5229
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
5230
 
5231
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
 
 
 
 
 
 
 
5232
 
5233
- var decodeEntities = wp.htmlEntities.decodeEntities;
5234
- var __ = wp.i18n.__;
5235
 
5236
- var FeaturedImage = function (_React$Component) {
5237
- _inherits(FeaturedImage, _React$Component);
5238
 
5239
- function FeaturedImage() {
5240
- _classCallCheck(this, FeaturedImage);
5241
 
5242
- return _possibleConstructorReturn(this, (FeaturedImage.__proto__ || Object.getPrototypeOf(FeaturedImage)).apply(this, arguments));
5243
- }
5244
 
5245
- _createClass(FeaturedImage, [{
5246
- key: "render",
5247
- value: function render() {
5248
- var _props = this.props,
5249
- post = _props.post,
5250
- attributes = _props.attributes;
5251
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5252
 
5253
- var target = attributes.newTab ? "_blank" : "_self";
5254
 
5255
- if (attributes.displayPostImage && undefined !== post.uagb_featured_image_src && attributes.imgSize && post.uagb_featured_image_src[attributes.imgSize]) {
5256
- var src = post.uagb_featured_image_src[attributes.imgSize];
5257
 
5258
- return wp.element.createElement(
5259
- "div",
5260
- { className: "uagb-post__image" },
5261
- wp.element.createElement(
5262
- "a",
5263
- { href: post.link, target: target, rel: "noopener noreferrer" },
5264
- wp.element.createElement("img", {
5265
- src: src[0],
5266
- alt: decodeEntities(post.title.rendered.trim()) || __("(Untitled)")
5267
- })
5268
- )
5269
- );
5270
- } else {
5271
 
5272
- return null;
 
 
 
 
 
 
 
 
 
5273
  }
5274
- }
5275
- }]);
5276
-
5277
- return FeaturedImage;
5278
- }(React.Component);
 
 
 
 
 
 
5279
 
5280
- /* harmony default export */ __webpack_exports__["a"] = (FeaturedImage);
5281
 
5282
  /***/ }),
5283
- /* 68 */
5284
- /*!*********************************************!*\
5285
- !*** ./src/blocks/post/components/Title.js ***!
5286
- \*********************************************/
5287
- /*! exports provided: default */
5288
- /*! exports used: default */
5289
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5290
-
5291
- "use strict";
5292
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
5293
-
5294
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5295
 
5296
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
 
5297
 
5298
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
5299
-
5300
- var decodeEntities = wp.htmlEntities.decodeEntities;
5301
- var __ = wp.i18n.__;
5302
-
5303
- var Title = function (_React$Component) {
5304
- _inherits(Title, _React$Component);
5305
-
5306
- function Title() {
5307
- _classCallCheck(this, Title);
5308
-
5309
- return _possibleConstructorReturn(this, (Title.__proto__ || Object.getPrototypeOf(Title)).apply(this, arguments));
5310
- }
5311
-
5312
- _createClass(Title, [{
5313
- key: "render",
5314
- value: function render() {
5315
- var _props = this.props,
5316
- post = _props.post,
5317
- attributes = _props.attributes;
5318
-
5319
-
5320
- var Tag = attributes.titleTag;
5321
-
5322
- var target = attributes.newTab ? "_blank" : "_self";
5323
-
5324
- if (undefined == post.title) {
5325
- return null;
5326
- }
5327
-
5328
- if (attributes.displayPostTitle) {
5329
-
5330
- return wp.element.createElement(
5331
- Tag,
5332
- { className: "uagb-post__title" },
5333
- wp.element.createElement(
5334
- "a",
5335
- { href: post.link, target: target, rel: "noopener noreferrer" },
5336
- decodeEntities(post.title.rendered.trim()) || __("(Untitled)")
5337
- )
5338
- );
5339
- } else {
5340
- return null;
5341
- }
5342
- }
5343
- }]);
5344
 
5345
- return Title;
5346
- }(React.Component);
5347
 
5348
- /* harmony default export */ __webpack_exports__["a"] = (Title);
5349
 
5350
  /***/ }),
5351
- /* 69 */
5352
- /*!********************************************!*\
5353
- !*** ./src/blocks/post/components/Meta.js ***!
5354
- \********************************************/
5355
- /*! exports provided: default */
5356
- /*! exports used: default */
5357
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5358
-
5359
- "use strict";
5360
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
5361
-
5362
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5363
-
5364
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
5365
-
5366
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
5367
-
5368
- var _wp$date = wp.date,
5369
- dateI18n = _wp$date.dateI18n,
5370
- format = _wp$date.format,
5371
- __experimentalGetSettings = _wp$date.__experimentalGetSettings;
5372
-
5373
- var Meta = function (_React$Component) {
5374
- _inherits(Meta, _React$Component);
5375
-
5376
- function Meta() {
5377
- _classCallCheck(this, Meta);
5378
-
5379
- return _possibleConstructorReturn(this, (Meta.__proto__ || Object.getPrototypeOf(Meta)).apply(this, arguments));
5380
- }
5381
-
5382
- _createClass(Meta, [{
5383
- key: 'render',
5384
- value: function render() {
5385
- var _props = this.props,
5386
- post = _props.post,
5387
- attributes = _props.attributes,
5388
- categoriesList = _props.categoriesList;
5389
-
5390
-
5391
- var dateFormat = __experimentalGetSettings().formats.date;
5392
 
5393
- var categoryObject = '';
 
5394
 
5395
- this.props.categoriesList.map(function (item, thisIndex) {
5396
- if (post.categories && item.id == post.categories[0]) {
5397
- categoryObject = item;
5398
- }
5399
- });
5400
 
5401
- return wp.element.createElement(
5402
- 'div',
5403
- { className: 'uagb-post-grid-byline' },
5404
- attributes.displayPostAuthor && undefined !== post.uagb_author_info && wp.element.createElement(
5405
- 'span',
5406
- { className: 'uagb-post__author' },
5407
- wp.element.createElement('span', { className: 'dashicons-admin-users dashicons' }),
5408
- wp.element.createElement(
5409
- 'a',
5410
- { target: '_blank', href: post.uagb_author_info.author_link, rel: 'noopener noreferrer' },
5411
- post.uagb_author_info.display_name
5412
- )
5413
- ),
5414
- attributes.displayPostDate && post.date_gmt && wp.element.createElement(
5415
- 'time',
5416
- { dateTime: format("c", post.date_gmt), className: 'uagb-post__date' },
5417
- wp.element.createElement('span', { className: 'dashicons-calendar dashicons' }),
5418
- dateI18n(dateFormat, post.date_gmt)
5419
- ),
5420
- attributes.displayPostComment && undefined !== post.uagb_comment_info && wp.element.createElement(
5421
- 'span',
5422
- { className: 'uagb-post__comment' },
5423
- wp.element.createElement('span', { className: 'dashicons-admin-comments dashicons' }),
5424
- post.uagb_comment_info
5425
- ),
5426
- attributes.displayPostTaxonomy && '' !== categoryObject && wp.element.createElement(
5427
- 'span',
5428
- { className: 'uagb-post__taxonomy' },
5429
- wp.element.createElement('span', { className: 'dashicons-tag dashicons' }),
5430
- categoryObject.name
5431
- )
5432
- );
5433
- }
5434
- }]);
5435
 
5436
- return Meta;
5437
- }(React.Component);
5438
 
5439
- /* harmony default export */ __webpack_exports__["a"] = (Meta);
5440
 
5441
  /***/ }),
5442
- /* 70 */
5443
- /*!***********************************************!*\
5444
- !*** ./src/blocks/post/components/Excerpt.js ***!
5445
- \***********************************************/
5446
- /*! exports provided: default */
5447
- /*! exports used: default */
5448
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5449
 
5450
  "use strict";
5451
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_truncate__ = __webpack_require__(/*! lodash/truncate */ 292);
5452
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_lodash_truncate___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_lodash_truncate__);
5453
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
5454
-
5455
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5456
-
5457
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
5458
-
5459
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
5460
-
5461
-
5462
-
5463
- var Excerpt = function (_React$Component) {
5464
- _inherits(Excerpt, _React$Component);
5465
-
5466
- function Excerpt() {
5467
- _classCallCheck(this, Excerpt);
5468
-
5469
- return _possibleConstructorReturn(this, (Excerpt.__proto__ || Object.getPrototypeOf(Excerpt)).apply(this, arguments));
5470
- }
5471
-
5472
- _createClass(Excerpt, [{
5473
- key: "render",
5474
- value: function render() {
5475
- var _props = this.props,
5476
- post = _props.post,
5477
- attributes = _props.attributes;
5478
-
5479
-
5480
- if (post.uagb_excerpt == undefined) {
5481
- return null;
5482
- }
5483
-
5484
- var words = post.uagb_excerpt.split(" ");
5485
-
5486
- var excerpt = post.uagb_excerpt;
5487
-
5488
- var exLen = attributes.excerptLength ? attributes.excerptLength : 25;
5489
-
5490
- if (exLen >= words.length) {
5491
- excerpt = post.uagb_excerpt;
5492
- } else {
5493
- var truncated = words.slice(0, exLen);
5494
- excerpt = truncated.join(" ");
5495
- excerpt += " ...";
5496
- }
5497
-
5498
- if (attributes.displayPostExcerpt && attributes.displayPostContentRadio == "excerpt") {
5499
 
5500
- return wp.element.createElement(
5501
- "div",
5502
- { className: "uagb-post__excerpt" },
5503
- wp.element.createElement("div", { dangerouslySetInnerHTML: { __html: excerpt } })
5504
- );
5505
- } else if (attributes.displayPostExcerpt && attributes.displayPostContentRadio == "full_post") {
5506
 
5507
- return wp.element.createElement(
5508
- "div",
5509
- { className: "uagb-post__excerpt uagb-full_post" },
5510
- wp.element.createElement("div", { dangerouslySetInnerHTML: { __html: post.content.raw.trim() } })
5511
- );
5512
- } else {
5513
- return null;
5514
- }
5515
- }
5516
- }]);
5517
 
5518
- return Excerpt;
5519
- }(React.Component);
5520
 
5521
- /* harmony default export */ __webpack_exports__["a"] = (Excerpt);
 
 
 
5522
 
5523
- /***/ }),
5524
- /* 71 */
5525
- /*!*******************************************!*\
5526
- !*** ./node_modules/lodash/_baseSlice.js ***!
5527
- \*******************************************/
5528
- /*! no static exports found */
5529
- /*! all exports used */
5530
- /***/ (function(module, exports) {
 
 
 
 
 
5531
 
5532
  /**
5533
- * The base implementation of `_.slice` without an iteratee call guard.
 
5534
  *
 
 
 
 
 
5535
  * @private
5536
- * @param {Array} array The array to slice.
5537
- * @param {number} [start=0] The start position.
5538
- * @param {number} [end=array.length] The end position.
5539
- * @returns {Array} Returns the slice of `array`.
5540
  */
5541
- function baseSlice(array, start, end) {
5542
- var index = -1,
5543
- length = array.length;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5544
 
5545
- if (start < 0) {
5546
- start = -start > length ? 0 : (length + start);
5547
- }
5548
- end = end > length ? length : end;
5549
- if (end < 0) {
5550
- end += length;
5551
- }
5552
- length = start > end ? 0 : ((end - start) >>> 0);
5553
- start >>>= 0;
5554
 
5555
- var result = Array(length);
5556
- while (++index < length) {
5557
- result[index] = array[index + start];
 
 
 
5558
  }
5559
- return result;
5560
  }
5561
 
5562
- module.exports = baseSlice;
5563
-
5564
-
5565
- /***/ }),
5566
- /* 72 */
5567
- /*!********************************************!*\
5568
- !*** ./node_modules/lodash/_hasUnicode.js ***!
5569
- \********************************************/
5570
- /*! no static exports found */
5571
- /*! all exports used */
5572
- /***/ (function(module, exports) {
5573
-
5574
- /** Used to compose unicode character classes. */
5575
- var rsAstralRange = '\\ud800-\\udfff',
5576
- rsComboMarksRange = '\\u0300-\\u036f',
5577
- reComboHalfMarksRange = '\\ufe20-\\ufe2f',
5578
- rsComboSymbolsRange = '\\u20d0-\\u20ff',
5579
- rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
5580
- rsVarRange = '\\ufe0e\\ufe0f';
5581
-
5582
- /** Used to compose unicode capture groups. */
5583
- var rsZWJ = '\\u200d';
5584
-
5585
- /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
5586
- var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');
5587
-
5588
  /**
5589
- * Checks if `string` contains Unicode symbols.
5590
  *
5591
  * @private
5592
- * @param {string} string The string to inspect.
5593
- * @returns {boolean} Returns `true` if a symbol is found, else `false`.
5594
  */
5595
- function hasUnicode(string) {
5596
- return reHasUnicode.test(string);
 
 
5597
  }
5598
 
5599
- module.exports = hasUnicode;
5600
 
 
5601
 
5602
  /***/ }),
5603
- /* 73 */
5604
- /*!******************************************!*\
5605
- !*** ./node_modules/lodash/toInteger.js ***!
5606
- \******************************************/
5607
- /*! no static exports found */
5608
  /*! all exports used */
5609
  /***/ (function(module, exports, __webpack_require__) {
5610
 
5611
- var toFinite = __webpack_require__(/*! ./toFinite */ 302);
5612
-
5613
  /**
5614
- * Converts `value` to an integer.
5615
- *
5616
- * **Note:** This method is loosely based on
5617
- * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
5618
- *
5619
- * @static
5620
- * @memberOf _
5621
- * @since 4.0.0
5622
- * @category Lang
5623
- * @param {*} value The value to convert.
5624
- * @returns {number} Returns the converted integer.
5625
- * @example
5626
- *
5627
- * _.toInteger(3.2);
5628
- * // => 3
5629
- *
5630
- * _.toInteger(Number.MIN_VALUE);
5631
- * // => 0
5632
- *
5633
- * _.toInteger(Infinity);
5634
- * // => 1.7976931348623157e+308
5635
  *
5636
- * _.toInteger('3.2');
5637
- * // => 3
5638
  */
5639
- function toInteger(value) {
5640
- var result = toFinite(value),
5641
- remainder = result % 1;
5642
 
5643
- return result === result ? (remainder ? result - remainder : result) : 0;
5644
- }
5645
 
5646
- module.exports = toInteger;
 
 
 
5647
 
5648
 
5649
  /***/ }),
5650
- /* 74 */
5651
- /*!**********************************************!*\
5652
- !*** ./src/blocks/post/components/Button.js ***!
5653
- \**********************************************/
5654
- /*! exports provided: default */
5655
- /*! exports used: default */
5656
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5657
 
5658
  "use strict";
5659
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
5660
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
5661
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5662
 
5663
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
5664
 
5665
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
5666
 
5667
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
5668
 
5669
- var __ = wp.i18n.__;
5670
 
5671
 
5672
 
5673
- var Button = function (_React$Component) {
5674
- _inherits(Button, _React$Component);
5675
 
5676
- function Button() {
5677
- _classCallCheck(this, Button);
5678
 
5679
- return _possibleConstructorReturn(this, (Button.__proto__ || Object.getPrototypeOf(Button)).apply(this, arguments));
5680
- }
5681
 
5682
- _createClass(Button, [{
5683
- key: "render",
5684
- value: function render() {
5685
- var _props = this.props,
5686
- post = _props.post,
5687
- attributes = _props.attributes;
5688
 
 
 
5689
 
5690
- if (attributes.displayPostContentRadio == "full_post") {
5691
- return null;
5692
- }
 
5693
 
5694
- var target = attributes.newTab ? "_blank" : "_self";
 
 
 
5695
 
5696
- if (attributes.displayPostLink) {
 
 
5697
 
5698
- var cta_text = attributes.ctaText ? attributes.ctaText : __("Read More");
5699
 
5700
- return wp.element.createElement(
5701
- "div",
5702
- { className: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a('uagb-post__cta', attributes.inheritFromTheme ? 'wp-block-button' : null) },
5703
- wp.element.createElement(
5704
- "a",
5705
- {
5706
- className: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a(!attributes.inheritFromTheme ? 'uagb-post__link ' : null, 'uagb-text-link', attributes.inheritFromTheme ? 'wp-block-button__link' : null),
5707
- href: post.link,
5708
- target: target,
5709
- rel: "noopener noreferrer" },
5710
- cta_text
5711
- )
5712
- );
5713
- } else {
5714
- return null;
5715
- }
5716
- }
5717
- }]);
5718
 
5719
- return Button;
5720
- }(React.Component);
 
 
 
 
 
 
 
 
5721
 
5722
- /* harmony default export */ __webpack_exports__["a"] = (Button);
5723
 
5724
- /***/ }),
5725
- /* 75 */
5726
- /*!************************************!*\
5727
- !*** ./src/blocks/post/styling.js ***!
5728
- \************************************/
5729
- /*! exports provided: default */
5730
- /*! exports used: default */
5731
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
 
5732
 
5733
- "use strict";
5734
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 5);
5735
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 4);
5736
- /**
5737
- * Set inline styles.
5738
- * @param {object} props - The block object.
5739
- * @return {object} The inline background type CSS.
5740
- */
5741
 
 
 
 
 
 
5742
 
 
 
 
5743
 
 
5744
 
5745
- function styling(props) {
5746
- var _props$attributes = props.attributes,
5747
- align = _props$attributes.align,
5748
- rowGap = _props$attributes.rowGap,
5749
- columnGap = _props$attributes.columnGap,
5750
- bgColor = _props$attributes.bgColor,
5751
- contentPadding = _props$attributes.contentPadding,
5752
- contentPaddingMobile = _props$attributes.contentPaddingMobile,
5753
- titleColor = _props$attributes.titleColor,
5754
- titleFontSize = _props$attributes.titleFontSize,
5755
- titleFontSizeType = _props$attributes.titleFontSizeType,
5756
- titleFontSizeMobile = _props$attributes.titleFontSizeMobile,
5757
- titleFontSizeTablet = _props$attributes.titleFontSizeTablet,
5758
- titleFontFamily = _props$attributes.titleFontFamily,
5759
- titleFontWeight = _props$attributes.titleFontWeight,
5760
- titleLineHeightType = _props$attributes.titleLineHeightType,
5761
- titleLineHeight = _props$attributes.titleLineHeight,
5762
- titleLineHeightTablet = _props$attributes.titleLineHeightTablet,
5763
- titleLineHeightMobile = _props$attributes.titleLineHeightMobile,
5764
- metaFontSize = _props$attributes.metaFontSize,
5765
- metaFontSizeType = _props$attributes.metaFontSizeType,
5766
- metaFontSizeMobile = _props$attributes.metaFontSizeMobile,
5767
- metaFontSizeTablet = _props$attributes.metaFontSizeTablet,
5768
- metaFontFamily = _props$attributes.metaFontFamily,
5769
- metaFontWeight = _props$attributes.metaFontWeight,
5770
- metaLineHeightType = _props$attributes.metaLineHeightType,
5771
- metaLineHeight = _props$attributes.metaLineHeight,
5772
- metaLineHeightTablet = _props$attributes.metaLineHeightTablet,
5773
- metaLineHeightMobile = _props$attributes.metaLineHeightMobile,
5774
- excerptFontSize = _props$attributes.excerptFontSize,
5775
- excerptFontSizeType = _props$attributes.excerptFontSizeType,
5776
- excerptFontSizeTablet = _props$attributes.excerptFontSizeTablet,
5777
- excerptFontSizeMobile = _props$attributes.excerptFontSizeMobile,
5778
- excerptFontFamily = _props$attributes.excerptFontFamily,
5779
- excerptFontWeight = _props$attributes.excerptFontWeight,
5780
- excerptLineHeightType = _props$attributes.excerptLineHeightType,
5781
- excerptLineHeight = _props$attributes.excerptLineHeight,
5782
- excerptLineHeightTablet = _props$attributes.excerptLineHeightTablet,
5783
- excerptLineHeightMobile = _props$attributes.excerptLineHeightMobile,
5784
- ctaFontSize = _props$attributes.ctaFontSize,
5785
- ctaFontSizeType = _props$attributes.ctaFontSizeType,
5786
- ctaFontSizeTablet = _props$attributes.ctaFontSizeTablet,
5787
- ctaFontSizeMobile = _props$attributes.ctaFontSizeMobile,
5788
- ctaFontFamily = _props$attributes.ctaFontFamily,
5789
- ctaFontWeight = _props$attributes.ctaFontWeight,
5790
- ctaLineHeightType = _props$attributes.ctaLineHeightType,
5791
- ctaLineHeight = _props$attributes.ctaLineHeight,
5792
- ctaLineHeightTablet = _props$attributes.ctaLineHeightTablet,
5793
- ctaLineHeightMobile = _props$attributes.ctaLineHeightMobile,
5794
- metaColor = _props$attributes.metaColor,
5795
- excerptColor = _props$attributes.excerptColor,
5796
- ctaColor = _props$attributes.ctaColor,
5797
- ctaBgColor = _props$attributes.ctaBgColor,
5798
- ctaHColor = _props$attributes.ctaHColor,
5799
- ctaBgHColor = _props$attributes.ctaBgHColor,
5800
- titleBottomSpace = _props$attributes.titleBottomSpace,
5801
- metaBottomSpace = _props$attributes.metaBottomSpace,
5802
- excerptBottomSpace = _props$attributes.excerptBottomSpace,
5803
- overlayOpacity = _props$attributes.overlayOpacity,
5804
- bgOverlayColor = _props$attributes.bgOverlayColor,
5805
- borderWidth = _props$attributes.borderWidth,
5806
- borderStyle = _props$attributes.borderStyle,
5807
- borderColor = _props$attributes.borderColor,
5808
- borderHColor = _props$attributes.borderHColor,
5809
- borderRadius = _props$attributes.borderRadius,
5810
- btnVPadding = _props$attributes.btnVPadding,
5811
- btnHPadding = _props$attributes.btnHPadding,
5812
- linkBox = _props$attributes.linkBox,
5813
- arrowColor = _props$attributes.arrowColor,
5814
- arrowSize = _props$attributes.arrowSize,
5815
- paginationBgActiveColor = _props$attributes.paginationBgActiveColor,
5816
- paginationActiveColor = _props$attributes.paginationActiveColor,
5817
- paginationBgColor = _props$attributes.paginationBgColor,
5818
- paginationColor = _props$attributes.paginationColor,
5819
- paginationLayout = _props$attributes.paginationLayout,
5820
- paginationBorderSize = _props$attributes.paginationBorderSize,
5821
- paginationBorderRadius = _props$attributes.paginationBorderRadius,
5822
- paginationBorderColor = _props$attributes.paginationBorderColor,
5823
- paginationBorderActiveColor = _props$attributes.paginationBorderActiveColor,
5824
- paginationSpacing = _props$attributes.paginationSpacing,
5825
- paginationAlignment = _props$attributes.paginationAlignment,
5826
- inheritFromTheme = _props$attributes.inheritFromTheme,
5827
- postPagination = _props$attributes.postPagination,
5828
- paginationMarkup = _props$attributes.paginationMarkup,
5829
- paginationType = _props$attributes.paginationType,
5830
- paginationEventType = _props$attributes.paginationEventType,
5831
- paginationAlign = _props$attributes.paginationAlign,
5832
- paginationTextColor = _props$attributes.paginationTextColor,
5833
- paginationMasonryBgColor = _props$attributes.paginationMasonryBgColor,
5834
- paginationMasonryBorderStyle = _props$attributes.paginationMasonryBorderStyle,
5835
- paginationMasonryBorderWidth = _props$attributes.paginationMasonryBorderWidth,
5836
- paginationMasonryBorderRadius = _props$attributes.paginationMasonryBorderRadius,
5837
- paginationMasonryBorderColor = _props$attributes.paginationMasonryBorderColor,
5838
- paginationTextHoverColor = _props$attributes.paginationTextHoverColor,
5839
- paginationBgHoverColor = _props$attributes.paginationBgHoverColor,
5840
- paginationFontSize = _props$attributes.paginationFontSize,
5841
- loaderColor = _props$attributes.loaderColor,
5842
- loaderSize = _props$attributes.loaderSize,
5843
- paginationButtonPaddingType = _props$attributes.paginationButtonPaddingType,
5844
- vpaginationButtonPaddingMobile = _props$attributes.vpaginationButtonPaddingMobile,
5845
- vpaginationButtonPaddingTablet = _props$attributes.vpaginationButtonPaddingTablet,
5846
- vpaginationButtonPaddingDesktop = _props$attributes.vpaginationButtonPaddingDesktop,
5847
- hpaginationButtonPaddingMobile = _props$attributes.hpaginationButtonPaddingMobile,
5848
- hpaginationButtonPaddingTablet = _props$attributes.hpaginationButtonPaddingTablet,
5849
- hpaginationButtonPaddingDesktop = _props$attributes.hpaginationButtonPaddingDesktop;
5850
 
 
5851
 
5852
- var mobile_selectors = {};
5853
- var tablet_selectors = {};
 
5854
 
5855
- var selectors = {
5856
- " .uagb-post__items": {
5857
- "margin-right": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](-rowGap / 2, "px"),
5858
- "margin-left": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](-rowGap / 2, "px")
5859
- },
5860
- " .uagb-post__items article": {
5861
- "padding-right": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](rowGap / 2, "px"),
5862
- "padding-left": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](rowGap / 2, "px"),
5863
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](columnGap, "px")
5864
- },
5865
- " .uagb-post__inner-wrap": {
5866
- "background": bgColor
5867
- },
5868
- " .uagb-post__text": {
5869
- "padding": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](contentPadding, "px"),
5870
- "text-align": align
5871
- },
5872
- " .uagb-post__text .uagb-post__title": {
5873
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](titleBottomSpace, "px")
5874
- },
5875
- " .uagb-post__text .uagb-post-grid-byline": {
5876
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaBottomSpace, "px")
5877
- },
5878
- " .uagb-post__text .uagb-post__excerpt": {
5879
- "margin-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](excerptBottomSpace, "px")
5880
- },
5881
- " .uagb-post__image:before": {
5882
- "background-color": bgOverlayColor,
5883
- "opacity": overlayOpacity / 100
5884
- },
5885
- " .uagb-post-pagination-wrap": {
5886
- "margin-top": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationSpacing, "px"),
5887
- "text-align": paginationAlignment
5888
- }
5889
- };
5890
 
5891
- if (!inheritFromTheme) {
5892
- selectors[" .uagb-post__text .uagb-post__title"] = {
5893
- "color": titleColor,
5894
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](titleFontSize, titleFontSizeType),
5895
- "font-family": titleFontFamily,
5896
- "font-weight": titleFontWeight,
5897
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](titleLineHeight, titleLineHeightType)
5898
- };
5899
- selectors[" .uagb-post__text .uagb-post__title a"] = {
5900
- "color": titleColor,
5901
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](titleFontSize, titleFontSizeType),
5902
- "font-family": titleFontFamily,
5903
- "font-weight": titleFontWeight,
5904
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](titleLineHeight, titleLineHeightType)
5905
- };
5906
- selectors[" .uagb-post__text .uagb-post-grid-byline"] = {
5907
- "color": metaColor,
5908
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaFontSize, metaFontSizeType),
5909
- "font-family": metaFontFamily,
5910
- "font-weight": metaFontWeight,
5911
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaLineHeight, metaLineHeightType)
5912
- };
5913
- selectors[" .uagb-post__text .uagb-post-grid-byline .uagb-post__author"] = {
5914
- "color": metaColor,
5915
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaFontSize, metaFontSizeType),
5916
- "font-family": metaFontFamily,
5917
- "font-weight": metaFontWeight,
5918
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaLineHeight, metaLineHeightType)
5919
- };
5920
- selectors[" .uagb-post__text .uagb-post-grid-byline .uagb-post__author a"] = {
5921
- "color": metaColor,
5922
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaFontSize, metaFontSizeType),
5923
- "font-family": metaFontFamily,
5924
- "font-weight": metaFontWeight,
5925
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaLineHeight, metaLineHeightType)
5926
- };
5927
- selectors[" .uagb-post__text .uagb-post__excerpt"] = {
5928
- "color": excerptColor,
5929
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](excerptFontSize, excerptFontSizeType),
5930
- "font-family": excerptFontFamily,
5931
- "font-weight": excerptFontWeight,
5932
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](excerptLineHeight, excerptLineHeightType)
5933
- };
5934
- selectors[" .uagb-post__text .uagb-post__cta"] = {
5935
- "color": ctaColor,
5936
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSize, ctaFontSizeType),
5937
- "font-family": ctaFontFamily,
5938
- "font-weight": ctaFontWeight,
5939
- "line-height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaLineHeight, ctaLineHeightType),
5940
- "background": ctaBgColor,
5941
- "border-width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](borderWidth, "px"),
5942
- "border-radius": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](borderRadius, "px"),
5943
- "border-color": borderColor,
5944
- "border-style": borderStyle
5945
- };
5946
- selectors[" .uagb-post__text .uagb-post__cta a"] = {
5947
- "color": ctaColor,
5948
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSize, ctaFontSizeType),
5949
- "padding": btnVPadding + "px " + btnHPadding + "px"
5950
- };
5951
- selectors[" .uagb-post__text .uagb-post__cta:hover"] = {
5952
- "color": ctaHColor,
5953
- "background": ctaBgHColor,
5954
- "border-color": borderHColor
5955
- };
5956
- selectors[" .uagb-post__text .uagb-post__cta:hover a"] = {
5957
- "color": ctaHColor
5958
- };
5959
- }
5960
 
5961
- if (true === postPagination && 'empty' === paginationMarkup) {
5962
- if ('filled' == paginationLayout) {
5963
- selectors[" .uagb-post-pagination-wrap a"] = {
 
 
5964
 
5965
- "background-color": paginationBgColor,
5966
- "color": paginationColor
5967
- };
5968
- if ('undefined' == typeof paginationBgActiveColor && 'undefined' == typeof paginationActiveColor) {
 
5969
 
5970
- selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
 
 
 
 
 
5971
 
5972
- "background-color": paginationBgColor,
5973
- "color": paginationColor
5974
- };
5975
- }
5976
- if ('undefined' == typeof paginationBgActiveColor && 'undefined' != typeof paginationActiveColor) {
5977
 
5978
- selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
 
 
5979
 
5980
- "background-color": paginationBgColor,
5981
- "color": paginationActiveColor
5982
- };
5983
- }
5984
- if ('undefined' != typeof paginationBgActiveColor && 'undefined' == typeof paginationActiveColor) {
5985
 
5986
- selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
 
5987
 
5988
- "background-color": paginationBgActiveColor,
5989
- "color": paginationColor
5990
- };
5991
- }
5992
- if ('undefined' != typeof paginationBgActiveColor && 'undefined' != typeof paginationActiveColor) {
5993
 
5994
- selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
 
 
5995
 
5996
- "background-color": paginationBgActiveColor,
5997
- "color": paginationActiveColor
5998
- };
5999
- }
6000
- }
6001
- if ('border' == paginationLayout) {
6002
- selectors[" .uagb-post-pagination-wrap a"] = {
6003
- "border-style": "solid",
6004
- "border-width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationBorderSize, "px"),
6005
- "border-color": paginationBorderColor,
6006
- "border-radius": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationBorderRadius, "px"),
6007
- "color": paginationColor,
6008
- "background-color": "transparent"
6009
- };
6010
- if ('undefined' != typeof paginationBorderActiveColor && 'undefined' != typeof paginationActiveColor) {
6011
- selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
6012
- "border-style": "solid",
6013
- "border-width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationBorderSize, "px"),
6014
- "border-color": paginationBorderActiveColor,
6015
- "border-radius": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationBorderRadius, "px"),
6016
- "color": paginationActiveColor,
6017
- "background-color": "transparent"
6018
- };
6019
- }
6020
- if ('undefined' == typeof paginationBorderActiveColor && 'undefined' != typeof paginationActiveColor) {
6021
- selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
6022
- "border-style": "solid",
6023
- "border-width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationBorderSize, "px"),
6024
- "border-color": paginationBorderColor,
6025
- "border-radius": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationBorderRadius, "px"),
6026
- "color": paginationActiveColor,
6027
- "background-color": "transparent"
6028
- };
6029
- }
6030
- if ('undefined' != typeof paginationBorderActiveColor && 'undefined' == typeof paginationActiveColor) {
6031
- selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
6032
- "border-style": "solid",
6033
- "border-width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationBorderSize, "px"),
6034
- "border-color": paginationBorderActiveColor,
6035
- "border-radius": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationBorderRadius, "px"),
6036
- "color": paginationColor,
6037
- "background-color": "transparent"
6038
- };
6039
- }
6040
- if ('undefined' == typeof paginationBorderActiveColor && 'undefined' == typeof paginationActiveColor) {
6041
- selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
6042
- "border-style": "solid",
6043
- "border-width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationBorderSize, "px"),
6044
- "border-color": paginationBorderColor,
6045
- "border-radius": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationBorderRadius, "px"),
6046
- "color": paginationColor,
6047
- "background-color": "transparent"
6048
- };
6049
- }
6050
- }
6051
- }
6052
 
6053
- if (linkBox) {
6054
- selectors[" .uagb-post__inner-wrap"]["cursor"] = "pointer";
6055
- }
 
6056
 
6057
- selectors[" .slick-arrow svg"] = {
6058
- "fill": arrowColor,
6059
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](arrowSize, "px"),
6060
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](arrowSize, "px")
6061
- };
6062
 
6063
- if (!inheritFromTheme) {
 
 
6064
 
6065
- mobile_selectors = {
6066
- " .uagb-post__text .uagb-post__title": {
6067
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](titleFontSizeMobile, titleFontSizeType),
6068
- "line-height": titleLineHeightMobile + titleLineHeightType
6069
- },
6070
- " .uagb-post__text .uagb-post__title a": {
6071
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](titleFontSizeMobile, titleFontSizeType),
6072
- "line-height": titleLineHeightMobile + titleLineHeightType
6073
- },
6074
- " .uagb-post__text .uagb-post-grid-byline": {
6075
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaFontSizeMobile, metaFontSizeType),
6076
- "line-height": metaLineHeightMobile + metaLineHeightType
6077
- },
6078
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author": {
6079
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaFontSizeMobile, metaFontSizeType),
6080
- "line-height": metaLineHeightMobile + metaLineHeightType
6081
- },
6082
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a": {
6083
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaFontSizeMobile, metaFontSizeType),
6084
- "line-height": metaLineHeightMobile + metaLineHeightType
6085
- },
6086
- " .uagb-post__text .uagb-post__excerpt": {
6087
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](excerptFontSizeMobile, excerptFontSizeType),
6088
- "line-height": excerptLineHeightMobile + excerptLineHeightType
6089
- },
6090
- " .uagb-post__text .uagb-post__cta": {
6091
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeMobile, ctaFontSizeType),
6092
- "line-height": ctaLineHeightMobile + ctaLineHeightType
6093
- },
6094
- " .uagb-post__text .uagb-post__cta a": {
6095
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeMobile, ctaFontSizeType),
6096
- "line-height": ctaLineHeightMobile + ctaLineHeightType
6097
- }
6098
- };
6099
 
6100
- tablet_selectors = {
6101
- " .uagb-post__text .uagb-post__title": {
6102
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](titleFontSizeTablet, titleFontSizeType),
6103
- "line-height": titleLineHeightTablet + titleLineHeightType
6104
- },
6105
- " .uagb-post__text .uagb-post__title a": {
6106
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](titleFontSizeTablet, titleFontSizeType),
6107
- "line-height": titleLineHeightTablet + titleLineHeightType
6108
- },
6109
- " .uagb-post__text .uagb-post-grid-byline": {
6110
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaFontSizeTablet, metaFontSizeType),
6111
- "line-height": metaLineHeightTablet + metaLineHeightType
6112
- },
6113
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author": {
6114
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaFontSizeTablet, metaFontSizeType),
6115
- "line-height": metaLineHeightTablet + metaLineHeightType
6116
- },
6117
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a": {
6118
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](metaFontSizeTablet, metaFontSizeType),
6119
- "line-height": metaLineHeightTablet + metaLineHeightType
6120
- },
6121
- " .uagb-post__text .uagb-post__excerpt": {
6122
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](excerptFontSizeTablet, excerptFontSizeType),
6123
- "line-height": excerptLineHeightTablet + excerptLineHeightType
6124
- },
6125
- " .uagb-post__text .uagb-post__cta": {
6126
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeTablet, ctaFontSizeType),
6127
- "line-height": ctaLineHeightTablet + ctaLineHeightType
6128
- },
6129
- " .uagb-post__text .uagb-post__cta a": {
6130
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](ctaFontSizeTablet, ctaFontSizeType),
6131
- "line-height": ctaLineHeightTablet + ctaLineHeightType
6132
- }
6133
- };
6134
- }
6135
 
6136
- if ('infinite' === paginationType) {
 
6137
 
6138
- if ('button' === paginationEventType) {
6139
- selectors[' .uagb-post__load-more-wrap'] = {
6140
- 'text-align': paginationAlign
6141
- };
6142
- selectors[' .uagb-post__load-more-wrap .uagb-post-pagination-button'] = {
6143
 
6144
- 'color': paginationTextColor,
6145
- "background-color": paginationMasonryBgColor,
6146
- "border-style": paginationMasonryBorderStyle,
6147
- "border-width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationMasonryBorderWidth, 'px'),
6148
- "border-radius": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationMasonryBorderRadius, 'px'),
6149
- "border-color": paginationMasonryBorderColor,
6150
- "font-size": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](paginationFontSize, 'px'),
6151
- "padding-top": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](vpaginationButtonPaddingDesktop, paginationButtonPaddingType),
6152
- "padding-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](vpaginationButtonPaddingDesktop, paginationButtonPaddingType),
6153
- "padding-right": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](hpaginationButtonPaddingDesktop, paginationButtonPaddingType),
6154
- "padding-left": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](hpaginationButtonPaddingDesktop, paginationButtonPaddingType)
6155
 
6156
- };
6157
- selectors[' .uagb-post__load-more-wrap .uagb-post-pagination-button:hover'] = {
6158
- 'color': paginationTextHoverColor,
6159
- "background-color": paginationBgHoverColor
6160
- };
6161
- mobile_selectors[' .uagb-post__load-more-wrap .uagb-post-pagination-button'] = {
6162
- "padding-top": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](vpaginationButtonPaddingMobile, paginationButtonPaddingType),
6163
- "padding-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](vpaginationButtonPaddingMobile, paginationButtonPaddingType),
6164
- "padding-right": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](hpaginationButtonPaddingMobile, paginationButtonPaddingType),
6165
- "padding-left": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](hpaginationButtonPaddingMobile, paginationButtonPaddingType)
6166
- };
6167
- tablet_selectors[' .uagb-post__load-more-wrap .uagb-post-pagination-button'] = {
6168
- "padding-top": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](vpaginationButtonPaddingTablet, paginationButtonPaddingType),
6169
- "padding-bottom": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](vpaginationButtonPaddingTablet, paginationButtonPaddingType),
6170
- "padding-right": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](hpaginationButtonPaddingTablet, paginationButtonPaddingType),
6171
- "padding-left": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](hpaginationButtonPaddingTablet, paginationButtonPaddingType)
6172
- };
6173
- }
6174
- if ('scroll' === paginationEventType) {
6175
- selectors['.uagb-post-grid .uagb-post-inf-loader div'] = {
6176
- "width": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](loaderSize, "px"),
6177
- "height": __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */](loaderSize, "px"),
6178
- "background-color": loaderColor
6179
- };
6180
- }
6181
- }
6182
 
6183
- mobile_selectors[" .uagb-post__text"] = {
6184
- "padding": contentPaddingMobile + "px"
6185
- };
6186
 
6187
- var styling_css = "";
 
 
6188
 
6189
- styling_css = __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */](selectors, ".uagb-block-" + props.clientId.substr(0, 8));
 
6190
 
6191
- styling_css += __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */](tablet_selectors, ".uagb-block-" + props.clientId.substr(0, 8), true, "tablet");
 
 
6192
 
6193
- styling_css += __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */](mobile_selectors, ".uagb-block-" + props.clientId.substr(0, 8), true, "mobile");
 
 
 
6194
 
6195
- return styling_css;
6196
- }
 
6197
 
6198
- /* harmony default export */ __webpack_exports__["a"] = (styling);
6199
 
6200
- /***/ }),
6201
- /* 76 */
6202
- /*!************************************!*\
6203
- !*** ./src/blocks/post/style.scss ***!
6204
- \************************************/
6205
- /*! no static exports found */
6206
- /***/ (function(module, exports) {
6207
 
6208
- // removed by extract-text-webpack-plugin
 
6209
 
6210
- /***/ }),
6211
- /* 77 */
6212
- /*!*************************************!*\
6213
- !*** ./src/blocks/post/editor.scss ***!
6214
- \*************************************/
6215
- /*! no static exports found */
6216
- /***/ (function(module, exports) {
6217
 
6218
- // removed by extract-text-webpack-plugin
 
 
6219
 
6220
- /***/ }),
6221
- /* 78 */
6222
- /*!***********************************************!*\
6223
- !*** ./node_modules/ev-emitter/ev-emitter.js ***!
6224
- \***********************************************/
6225
- /*! no static exports found */
6226
- /*! all exports used */
6227
- /***/ (function(module, exports, __webpack_require__) {
6228
 
6229
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
6230
- * EvEmitter v1.1.0
6231
- * Lil' event emitter
6232
- * MIT License
6233
- */
 
 
6234
 
6235
- /* jshint unused: true, undef: true, strict: true */
 
 
6236
 
6237
- ( function( global, factory ) {
6238
- // universal module definition
6239
- /* jshint strict: false */ /* globals define, module, window */
6240
- if ( true ) {
6241
- // AMD - RequireJS
6242
- !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
6243
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
6244
- (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
6245
- __WEBPACK_AMD_DEFINE_FACTORY__),
6246
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
6247
- } else if ( typeof module == 'object' && module.exports ) {
6248
- // CommonJS - Browserify, Webpack
6249
- module.exports = factory();
6250
- } else {
6251
- // Browser globals
6252
- global.EvEmitter = factory();
6253
- }
6254
 
6255
- }( typeof window != 'undefined' ? window : this, function() {
 
 
 
 
 
 
 
 
 
 
6256
 
6257
  "use strict";
 
 
 
6258
 
6259
- function EvEmitter() {}
6260
 
6261
- var proto = EvEmitter.prototype;
6262
 
6263
- proto.on = function( eventName, listener ) {
6264
- if ( !eventName || !listener ) {
6265
- return;
6266
- }
6267
- // set events hash
6268
- var events = this._events = this._events || {};
6269
- // set listeners array
6270
- var listeners = events[ eventName ] = events[ eventName ] || [];
6271
- // only add once
6272
- if ( listeners.indexOf( listener ) == -1 ) {
6273
- listeners.push( listener );
6274
- }
6275
 
6276
- return this;
6277
- };
 
 
 
6278
 
6279
- proto.once = function( eventName, listener ) {
6280
- if ( !eventName || !listener ) {
6281
- return;
6282
  }
6283
- // add event
6284
- this.on( eventName, listener );
6285
- // set once flag
6286
- // set onceEvents hash
6287
- var onceEvents = this._onceEvents = this._onceEvents || {};
6288
- // set onceListeners object
6289
- var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {};
6290
- // set flag
6291
- onceListeners[ listener ] = true;
6292
 
6293
- return this;
 
6294
  };
 
 
 
 
 
 
 
 
 
 
 
 
 
6295
 
6296
- proto.off = function( eventName, listener ) {
6297
- var listeners = this._events && this._events[ eventName ];
6298
- if ( !listeners || !listeners.length ) {
6299
- return;
6300
- }
6301
- var index = listeners.indexOf( listener );
6302
- if ( index != -1 ) {
6303
- listeners.splice( index, 1 );
6304
- }
6305
 
6306
- return this;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6307
  };
6308
 
6309
- proto.emitEvent = function( eventName, args ) {
6310
- var listeners = this._events && this._events[ eventName ];
6311
- if ( !listeners || !listeners.length ) {
6312
- return;
 
 
 
 
 
6313
  }
6314
- // copy over to avoid interference if .off() in listener
6315
- listeners = listeners.slice(0);
6316
- args = args || [];
6317
- // once stuff
6318
- var onceListeners = this._onceEvents && this._onceEvents[ eventName ];
6319
 
6320
- for ( var i=0; i < listeners.length; i++ ) {
6321
- var listener = listeners[i]
6322
- var isOnce = onceListeners && onceListeners[ listener ];
6323
- if ( isOnce ) {
6324
- // remove listener
6325
- // remove before trigger to prevent recursion
6326
- this.off( eventName, listener );
6327
- // unset once flag
6328
- delete onceListeners[ listener ];
6329
  }
6330
- // trigger listener
6331
- listener.apply( this, args );
6332
  }
6333
 
6334
- return this;
6335
- };
6336
 
6337
- proto.allOff = function() {
6338
- delete this._events;
6339
- delete this._onceEvents;
6340
- };
6341
 
6342
- return EvEmitter;
 
 
 
 
6343
 
6344
- }));
 
 
6345
 
 
 
 
 
 
6346
 
6347
- /***/ }),
6348
- /* 79 */
6349
- /*!*******************************************!*\
6350
- !*** ./node_modules/get-size/get-size.js ***!
6351
- \*******************************************/
6352
- /*! no static exports found */
6353
- /*! all exports used */
6354
- /***/ (function(module, exports, __webpack_require__) {
6355
 
6356
- var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
6357
- * getSize v2.0.3
6358
- * measure size of elements
6359
- * MIT license
6360
- */
6361
 
6362
- /* jshint browser: true, strict: true, undef: true, unused: true */
6363
- /* globals console: false */
 
6364
 
6365
- ( function( window, factory ) {
6366
- /* jshint strict: false */ /* globals define, module */
6367
- if ( true ) {
6368
- // AMD
6369
- !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
6370
- __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
6371
- (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
6372
- __WEBPACK_AMD_DEFINE_FACTORY__),
6373
- __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
6374
- } else if ( typeof module == 'object' && module.exports ) {
6375
- // CommonJS
6376
- module.exports = factory();
6377
- } else {
6378
- // browser global
6379
- window.getSize = factory();
6380
- }
6381
 
6382
- })( window, function factory() {
6383
- 'use strict';
6384
 
6385
- // -------------------------- helpers -------------------------- //
 
 
 
 
6386
 
6387
- // get a number from a string, not a percentage
6388
- function getStyleSize( value ) {
6389
- var num = parseFloat( value );
6390
- // not a percent like '100%', and a number
6391
- var isValid = value.indexOf('%') == -1 && !isNaN( num );
6392
- return isValid && num;
6393
- }
 
 
 
6394
 
6395
- function noop() {}
 
 
 
6396
 
6397
- var logError = typeof console == 'undefined' ? noop :
6398
- function( message ) {
6399
- console.error( message );
6400
- };
6401
 
6402
- // -------------------------- measurements -------------------------- //
 
 
 
 
 
 
 
 
 
 
6403
 
6404
- var measurements = [
6405
- 'paddingLeft',
6406
- 'paddingRight',
6407
- 'paddingTop',
6408
- 'paddingBottom',
6409
- 'marginLeft',
6410
- 'marginRight',
6411
- 'marginTop',
6412
- 'marginBottom',
6413
- 'borderLeftWidth',
6414
- 'borderRightWidth',
6415
- 'borderTopWidth',
6416
- 'borderBottomWidth'
6417
- ];
6418
 
6419
- var measurementsLength = measurements.length;
 
 
 
 
6420
 
6421
- function getZeroSize() {
6422
- var size = {
6423
- width: 0,
6424
- height: 0,
6425
- innerWidth: 0,
6426
- innerHeight: 0,
6427
- outerWidth: 0,
6428
- outerHeight: 0
6429
- };
6430
- for ( var i=0; i < measurementsLength; i++ ) {
6431
- var measurement = measurements[i];
6432
- size[ measurement ] = 0;
6433
  }
6434
- return size;
6435
- }
6436
 
6437
- // -------------------------- getStyle -------------------------- //
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6438
 
6439
- /**
6440
- * getStyle, get style of element, check for Firefox bug
6441
- * https://bugzilla.mozilla.org/show_bug.cgi?id=548397
6442
- */
6443
- function getStyle( elem ) {
6444
- var style = getComputedStyle( elem );
6445
- if ( !style ) {
6446
- logError( 'Style returned ' + style +
6447
- '. Are you running this code in a hidden iframe on Firefox? ' +
6448
- 'See https://bit.ly/getsizebug1' );
6449
- }
6450
- return style;
6451
- }
6452
 
6453
- // -------------------------- setup -------------------------- //
6454
 
6455
- var isSetup = false;
 
 
 
 
 
 
 
6456
 
6457
- var isBoxSizeOuter;
 
 
 
 
6458
 
6459
- /**
6460
- * setup
6461
- * check isBoxSizerOuter
6462
- * do on first getSize() rather than on page load for Firefox bug
6463
- */
6464
- function setup() {
6465
- // setup once
6466
- if ( isSetup ) {
6467
- return;
6468
- }
6469
- isSetup = true;
6470
 
6471
- // -------------------------- box sizing -------------------------- //
6472
 
6473
- /**
6474
- * Chrome & Safari measure the outer-width on style.width on border-box elems
6475
- * IE11 & Firefox<29 measures the inner-width
6476
- */
6477
- var div = document.createElement('div');
6478
- div.style.width = '200px';
6479
- div.style.padding = '1px 2px 3px 4px';
6480
- div.style.borderStyle = 'solid';
6481
- div.style.borderWidth = '1px 2px 3px 4px';
6482
- div.style.boxSizing = 'border-box';
6483
 
6484
- var body = document.body || document.documentElement;
6485
- body.appendChild( div );
6486
- var style = getStyle( div );
6487
- // round value for browser zoom. desandro/masonry#928
6488
- isBoxSizeOuter = Math.round( getStyleSize( style.width ) ) == 200;
6489
- getSize.isBoxSizeOuter = isBoxSizeOuter;
6490
 
6491
- body.removeChild( div );
6492
- }
 
6493
 
6494
- // -------------------------- getSize -------------------------- //
 
 
6495
 
6496
- function getSize( elem ) {
6497
- setup();
 
6498
 
6499
- // use querySeletor if elem is string
6500
- if ( typeof elem == 'string' ) {
6501
- elem = document.querySelector( elem );
 
 
 
 
 
 
 
 
 
 
 
 
 
6502
  }
6503
 
6504
- // do not proceed on non-objects
6505
- if ( !elem || typeof elem != 'object' || !elem.nodeType ) {
6506
- return;
6507
  }
6508
 
6509
- var style = getStyle( elem );
6510
-
6511
- // if hidden, everything is 0
6512
- if ( style.display == 'none' ) {
6513
- return getZeroSize();
6514
- }
6515
 
6516
- var size = {};
6517
- size.width = elem.offsetWidth;
6518
- size.height = elem.offsetHeight;
 
 
 
 
6519
 
6520
- var isBorderBox = size.isBorderBox = style.boxSizing == 'border-box';
 
 
 
 
 
6521
 
6522
- // get all measurements
6523
- for ( var i=0; i < measurementsLength; i++ ) {
6524
- var measurement = measurements[i];
6525
- var value = style[ measurement ];
6526
- var num = parseFloat( value );
6527
- // any 'auto', 'medium' value will be 0
6528
- size[ measurement ] = !isNaN( num ) ? num : 0;
6529
- }
6530
 
6531
- var paddingWidth = size.paddingLeft + size.paddingRight;
6532
- var paddingHeight = size.paddingTop + size.paddingBottom;
6533
- var marginWidth = size.marginLeft + size.marginRight;
6534
- var marginHeight = size.marginTop + size.marginBottom;
6535
- var borderWidth = size.borderLeftWidth + size.borderRightWidth;
6536
- var borderHeight = size.borderTopWidth + size.borderBottomWidth;
6537
 
6538
- var isBorderBoxSizeOuter = isBorderBox && isBoxSizeOuter;
 
 
6539
 
6540
- // overwrite width and height if we can get it from style
6541
- var styleWidth = getStyleSize( style.width );
6542
- if ( styleWidth !== false ) {
6543
- size.width = styleWidth +
6544
- // add padding and border unless it's already including it
6545
- ( isBorderBoxSizeOuter ? 0 : paddingWidth + borderWidth );
6546
- }
6547
 
6548
- var styleHeight = getStyleSize( style.height );
6549
- if ( styleHeight !== false ) {
6550
- size.height = styleHeight +
6551
- // add padding and border unless it's already including it
6552
- ( isBorderBoxSizeOuter ? 0 : paddingHeight + borderHeight );
6553
  }
6554
 
6555
- size.innerWidth = size.width - ( paddingWidth + borderWidth );
6556
- size.innerHeight = size.height - ( paddingHeight + borderHeight );
6557
-
6558
- size.outerWidth = size.width + marginWidth;
6559
- size.outerHeight = size.height + marginHeight;
6560
 
6561
- return size;
6562
- }
6563
 
6564
- return getSize;
 
 
 
 
6565
 
6566
- });
 
 
 
 
 
 
 
 
 
6567
 
 
 
6568
 
6569
- /***/ }),
6570
- /* 80 */
6571
- /*!**********************************************!*\
6572
- !*** ./node_modules/lodash/_getPrototype.js ***!
6573
- \**********************************************/
6574
- /*! no static exports found */
6575
- /*! all exports used */
6576
- /***/ (function(module, exports, __webpack_require__) {
 
 
 
 
6577
 
6578
- var overArg = __webpack_require__(/*! ./_overArg */ 124);
6579
 
6580
- /** Built-in value references. */
6581
- var getPrototype = overArg(Object.getPrototypeOf, Object);
 
6582
 
6583
- module.exports = getPrototype;
 
6584
 
 
 
6585
 
6586
- /***/ }),
6587
- /* 81 */
6588
- /*!**********************************************!*\
6589
- !*** ./node_modules/lodash/_getAllKeysIn.js ***!
6590
- \**********************************************/
6591
- /*! no static exports found */
6592
- /*! all exports used */
6593
- /***/ (function(module, exports, __webpack_require__) {
6594
-
6595
- var baseGetAllKeys = __webpack_require__(/*! ./_baseGetAllKeys */ 119),
6596
- getSymbolsIn = __webpack_require__(/*! ./_getSymbolsIn */ 149),
6597
- keysIn = __webpack_require__(/*! ./keysIn */ 148);
6598
-
6599
- /**
6600
- * Creates an array of own and inherited enumerable property names and
6601
- * symbols of `object`.
6602
- *
6603
- * @private
6604
- * @param {Object} object The object to query.
6605
- * @returns {Array} Returns the array of property names and symbols.
6606
- */
6607
- function getAllKeysIn(object) {
6608
- return baseGetAllKeys(object, keysIn, getSymbolsIn);
6609
- }
6610
 
6611
- module.exports = getAllKeysIn;
 
6612
 
 
 
 
 
 
 
 
 
6613
 
6614
- /***/ }),
6615
- /* 82 */
6616
- /*!**************************************************!*\
6617
- !*** ./node_modules/lodash/_cloneArrayBuffer.js ***!
6618
- \**************************************************/
6619
- /*! no static exports found */
6620
- /*! all exports used */
6621
- /***/ (function(module, exports, __webpack_require__) {
6622
 
6623
- var Uint8Array = __webpack_require__(/*! ./_Uint8Array */ 117);
 
6624
 
6625
- /**
6626
- * Creates a clone of `arrayBuffer`.
6627
- *
6628
- * @private
6629
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
6630
- * @returns {ArrayBuffer} Returns the cloned array buffer.
6631
- */
6632
- function cloneArrayBuffer(arrayBuffer) {
6633
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
6634
- new Uint8Array(result).set(new Uint8Array(arrayBuffer));
6635
- return result;
6636
- }
6637
 
6638
- module.exports = cloneArrayBuffer;
 
 
6639
 
 
6640
 
6641
- /***/ }),
6642
- /* 83 */
6643
- /*!***************************************************!*\
6644
- !*** ./src/components/gradient-settings/index.js ***!
6645
- \***************************************************/
6646
- /*! exports provided: default */
6647
- /*! exports used: default */
6648
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6649
 
6650
- "use strict";
6651
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_hexToRgba__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/hexToRgba */ 84);
6652
 
6653
- var __ = wp.i18n.__;
6654
- var __experimentalPanelColorGradientSettings = wp.blockEditor.__experimentalPanelColorGradientSettings;
6655
 
 
 
 
 
 
 
 
6656
 
6657
- function GradientSettings(_ref) {
6658
- var attributes = _ref.attributes,
6659
- setAttributes = _ref.setAttributes;
6660
- var gradientValue = attributes.gradientValue,
6661
- gradientAngle = attributes.gradientAngle,
6662
- gradientColor1 = attributes.gradientColor1,
6663
- gradientColor2 = attributes.gradientColor2,
6664
- gradientLocation1 = attributes.gradientLocation1,
6665
- gradientLocation2 = attributes.gradientLocation2,
6666
- gradientPosition = attributes.gradientPosition,
6667
- gradientType = attributes.gradientType;
6668
 
6669
- //set the gradient value to settings if new gradientvalue is not set
 
 
 
 
 
 
 
6670
 
6671
- if ("" === gradientValue) {
6672
- var rgb_gradientColor1 = __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_hexToRgba__["a" /* default */](gradientColor1);
6673
- var rgb_gradientColor2 = __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_hexToRgba__["a" /* default */](gradientColor2);
 
 
 
 
6674
 
6675
- if ("linear" === gradientType) {
6676
- var value = "linear-gradient(" + gradientAngle + "deg," + rgb_gradientColor1 + " " + gradientLocation1 + "%, " + rgb_gradientColor2 + " " + gradientLocation2 + "%)";
6677
- setAttributes({ gradientValue: value });
6678
- } else {
6679
- var value = "radial-gradient(at " + gradientPosition + ", " + rgb_gradientColor1 + " " + gradientLocation1 + "%, " + rgb_gradientColor2 + " " + gradientLocation2 + "%)";
6680
- setAttributes({ gradientValue: value });
6681
- }
6682
- }
6683
 
6684
- var onGradientChange = function onGradientChange(value) {
6685
- setAttributes({ gradientValue: value });
6686
- setAttributes({ gradientAngle: "", gradientColor1: "", gradientColor2: "", gradientLocation1: "", gradientLocation2: "" });
6687
- };
 
 
 
6688
 
6689
- return wp.element.createElement(__experimentalPanelColorGradientSettings, {
6690
- title: __("Color Settings"),
6691
- initialOpen: true,
6692
- settings: [{
6693
- label: __("Overlay Color"),
6694
- gradientValue: gradientValue,
6695
- onGradientChange: onGradientChange
6696
- }]
6697
- });
6698
  }
6699
 
6700
- /* harmony default export */ __webpack_exports__["a"] = (GradientSettings);
6701
-
6702
- /***/ }),
6703
- /* 84 */
6704
- /*!************************************************!*\
6705
- !*** ./dist/blocks/uagb-controls/hexToRgba.js ***!
6706
- \************************************************/
6707
- /*! exports provided: default */
6708
- /*! exports used: default */
6709
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6710
-
6711
- "use strict";
6712
- /**
6713
- * Get HEX color and return RGBA. Default return RGB color.
6714
- * @param {string} color - The color string.
6715
- * @return {boolean} opacity The inline CSS class.
6716
- */
6717
 
6718
- function hexToRgba(color, opacity) {
 
 
 
6719
 
6720
- if (undefined == color) {
6721
- return "";
6722
- }
6723
 
6724
- if (undefined == opacity || "" == opacity) {
6725
- opacity = 100;
6726
- }
 
 
6727
 
6728
- color = color.replace("#", "");
 
 
 
6729
 
6730
- opacity = typeof opacity != "undefined" ? opacity / 100 : 1;
 
 
 
 
 
 
6731
 
6732
- // Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF")
6733
- var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
6734
- color = color.replace(shorthandRegex, function (m, r, g, b) {
6735
- return r + r + g + g + b + b;
6736
- });
6737
 
6738
- var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(color);
6739
 
6740
- var parsed_color = result ? {
6741
- r: parseInt(result[1], 16),
6742
- g: parseInt(result[2], 16),
6743
- b: parseInt(result[3], 16)
6744
- } : null;
6745
 
6746
- return "rgba(" + parsed_color.r + "," + parsed_color.g + "," + parsed_color.b + "," + opacity + ")";
6747
- }
 
 
6748
 
6749
- /* harmony default export */ __webpack_exports__["a"] = (hexToRgba);
 
 
6750
 
6751
- /***/ }),
6752
- /* 85 */
6753
- /*!**************************************************!*\
6754
- !*** ./src/blocks/info-box/components/Prefix.js ***!
6755
- \**************************************************/
6756
- /*! exports provided: default */
6757
- /*! exports used: default */
6758
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6759
 
6760
- "use strict";
6761
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
 
 
 
 
6762
 
6763
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6764
 
6765
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
 
 
6766
 
6767
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
 
 
 
6768
 
6769
- var RichText = wp.blockEditor.RichText;
6770
- var __ = wp.i18n.__;
6771
- var createBlock = wp.blocks.createBlock;
6772
 
6773
- var Prefix = function (_React$Component) {
6774
- _inherits(Prefix, _React$Component);
 
 
 
 
 
 
 
 
 
 
6775
 
6776
- function Prefix() {
6777
- _classCallCheck(this, Prefix);
 
 
 
 
6778
 
6779
- return _possibleConstructorReturn(this, (Prefix.__proto__ || Object.getPrototypeOf(Prefix)).apply(this, arguments));
6780
- }
6781
 
6782
- _createClass(Prefix, [{
6783
- key: "render",
6784
- value: function render() {
6785
 
6786
- //const { attributes, setAttributes } = this.props;
6787
 
6788
- var _props = this.props,
6789
- attributes = _props.attributes,
6790
- setAttributes = _props.setAttributes,
6791
- props = _props.props;
 
 
 
 
6792
 
 
 
 
6793
 
6794
- if (setAttributes !== "not_set") {
6795
- return wp.element.createElement(RichText, {
6796
- tagName: "div",
6797
- value: attributes.prefixTitle,
6798
- placeholder: __("Write a Prefix"),
6799
- className: "uagb-ifb-title-prefix",
6800
- multiline: false,
6801
- onChange: function onChange(value) {
6802
- setAttributes({ prefixTitle: value });
6803
- },
6804
- onMerge: props.mergeBlocks,
6805
- unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
6806
- for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
6807
- blocks[_key - 2] = arguments[_key];
6808
- }
6809
 
6810
- setAttributes({ content: before });
6811
- props.insertBlocksAfter([].concat(blocks, [createBlock("core/paragraph", { content: after })]));
6812
- } : undefined,
6813
- onRemove: function onRemove() {
6814
- return props.onReplace([]);
6815
- }
6816
- });
6817
- } else {
6818
- return wp.element.createElement(RichText.Content, {
6819
- tagName: "span",
6820
- value: attributes.prefixTitle,
6821
- className: "uagb-ifb-title-prefix"
6822
- });
6823
- }
6824
- }
6825
- }]);
6826
 
6827
- return Prefix;
6828
- }(React.Component);
 
 
 
 
 
6829
 
6830
- /* harmony default export */ __webpack_exports__["a"] = (Prefix);
 
6831
 
6832
  /***/ }),
6833
- /* 86 */
6834
- /*!*************************************************!*\
6835
- !*** ./src/blocks/info-box/components/Title.js ***!
6836
- \*************************************************/
6837
  /*! exports provided: default */
6838
  /*! exports used: default */
6839
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6840
 
6841
  "use strict";
6842
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
6843
-
6844
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6845
-
6846
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6847
-
6848
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
6849
-
6850
- var RichText = wp.blockEditor.RichText;
6851
- var createBlock = wp.blocks.createBlock;
6852
- var __ = wp.i18n.__;
6853
-
6854
- var Title = function (_React$Component) {
6855
- _inherits(Title, _React$Component);
6856
 
6857
- function Title() {
6858
- _classCallCheck(this, Title);
 
 
 
 
6859
 
6860
- return _possibleConstructorReturn(this, (Title.__proto__ || Object.getPrototypeOf(Title)).apply(this, arguments));
6861
- }
6862
 
6863
- _createClass(Title, [{
6864
- key: "render",
6865
- value: function render() {
6866
 
6867
- //const { attributes, setAttributes , props } = this.props;
6868
- var _props = this.props,
6869
- attributes = _props.attributes,
6870
- setAttributes = _props.setAttributes,
6871
- props = _props.props;
 
 
 
6872
 
 
 
 
 
 
 
 
 
 
 
 
 
6873
 
6874
- if (setAttributes !== "not_set") {
6875
- return wp.element.createElement(RichText, {
6876
- tagName: attributes.headingTag,
6877
- placeholder: __("Write a Heading"),
6878
- value: attributes.infoBoxTitle,
6879
- className: "uagb-ifb-title",
6880
- onChange: function onChange(value) {
6881
- return setAttributes({ infoBoxTitle: value });
6882
- },
6883
- multiline: false,
6884
- onMerge: props.mergeBlocks,
6885
- unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
6886
- for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
6887
- blocks[_key - 2] = arguments[_key];
6888
- }
6889
 
6890
- setAttributes({ content: before });
6891
- props.insertBlocksAfter([].concat(blocks, [createBlock("core/paragraph", { content: after })]));
6892
- } : undefined,
6893
- onRemove: function onRemove() {
6894
- return props.onReplace([]);
6895
- }
6896
- });
6897
- } else {
6898
- return wp.element.createElement(RichText.Content, {
6899
- tagName: attributes.headingTag,
6900
- value: attributes.infoBoxTitle,
6901
- className: "uagb-ifb-title"
6902
- });
6903
- }
6904
- }
6905
- }]);
6906
 
6907
- return Title;
6908
- }(React.Component);
6909
 
6910
- /* harmony default export */ __webpack_exports__["a"] = (Title);
6911
 
6912
  /***/ }),
6913
- /* 87 */
6914
- /*!************************************************!*\
6915
- !*** ./src/blocks/info-box/components/Icon.js ***!
6916
- \************************************************/
6917
- /*! exports provided: default */
6918
- /*! exports used: default */
6919
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
6920
-
6921
- "use strict";
6922
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/renderIcon */ 2);
6923
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
6924
-
6925
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6926
-
6927
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6928
-
6929
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
6930
 
 
 
 
 
 
 
 
6931
 
 
 
6932
 
6933
- var RichText = wp.blockEditor.RichText;
6934
- var __ = wp.i18n.__;
6935
 
6936
- var Icon = function (_React$Component) {
6937
- _inherits(Icon, _React$Component);
 
 
 
 
 
 
 
 
6938
 
6939
- function Icon() {
6940
- _classCallCheck(this, Icon);
6941
 
6942
- return _possibleConstructorReturn(this, (Icon.__proto__ || Object.getPrototypeOf(Icon)).apply(this, arguments));
6943
- }
6944
 
6945
- _createClass(Icon, [{
6946
- key: "render",
6947
- value: function render() {
6948
- var attributes = this.props.attributes;
 
 
 
 
6949
 
 
6950
 
6951
- return wp.element.createElement(
6952
- "div",
6953
- { className: "uagb-ifb-image-icon-content uagb-ifb-imgicon-wrap" },
6954
- wp.element.createElement(
6955
- "div",
6956
- { className: "uagb-ifb-icon-wrap" },
6957
- wp.element.createElement(
6958
- "span",
6959
- { className: "uagb-ifb-icon" },
6960
- __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_renderIcon__["a" /* default */](attributes.icon)
6961
- )
6962
- )
6963
- );
6964
- }
6965
- }]);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6966
 
6967
- return Icon;
6968
- }(React.Component);
 
 
6969
 
6970
- /* harmony default export */ __webpack_exports__["a"] = (Icon);
6971
 
6972
  /***/ }),
6973
- /* 88 */
6974
- /*!*******************************************************!*\
6975
- !*** ./src/blocks/info-box/components/InfoBoxDesc.js ***!
6976
- \*******************************************************/
6977
  /*! exports provided: default */
6978
  /*! exports used: default */
6979
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6980
 
6981
  "use strict";
6982
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
 
 
 
 
 
 
6983
 
6984
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
6985
 
6986
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
6987
 
6988
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
6989
 
6990
- var RichText = wp.blockEditor.RichText;
6991
- var __ = wp.i18n.__;
6992
- var createBlock = wp.blocks.createBlock;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6993
 
6994
- var InfoBoxDesc = function (_React$Component) {
6995
- _inherits(InfoBoxDesc, _React$Component);
6996
 
6997
- function InfoBoxDesc() {
6998
- _classCallCheck(this, InfoBoxDesc);
6999
 
7000
- return _possibleConstructorReturn(this, (InfoBoxDesc.__proto__ || Object.getPrototypeOf(InfoBoxDesc)).apply(this, arguments));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7001
  }
7002
 
7003
- _createClass(InfoBoxDesc, [{
7004
- key: "render",
7005
- value: function render() {
7006
-
7007
- //const { attributes, setAttributes } = this.props;
7008
- var _props = this.props,
7009
- attributes = _props.attributes,
7010
- setAttributes = _props.setAttributes,
7011
- props = _props.props;
7012
 
 
 
 
 
7013
 
7014
- if (setAttributes !== "not_set") {
7015
- return wp.element.createElement(RichText, {
7016
- tagName: "p",
7017
- value: attributes.headingDesc,
7018
- placeholder: __("Write a Description"),
7019
- className: "uagb-ifb-desc",
7020
- onChange: function onChange(value) {
7021
- return setAttributes({ headingDesc: value });
7022
- },
7023
- onMerge: props.mergeBlocks,
7024
- unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
7025
- for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
7026
- blocks[_key - 2] = arguments[_key];
7027
- }
7028
 
7029
- setAttributes({ content: before });
7030
- props.insertBlocksAfter([].concat(blocks, [createBlock("core/paragraph", { content: after })]));
7031
- } : undefined,
7032
- onRemove: function onRemove() {
7033
- return props.onReplace([]);
7034
- }
7035
- });
7036
- } else {
7037
- return wp.element.createElement(RichText.Content, {
7038
- tagName: "p",
7039
- value: attributes.headingDesc,
7040
- className: "uagb-ifb-desc"
7041
- });
7042
  }
7043
- }
7044
- }]);
7045
 
7046
- return InfoBoxDesc;
7047
- }(React.Component);
7048
 
7049
- /* harmony default export */ __webpack_exports__["a"] = (InfoBoxDesc);
 
 
 
 
7050
 
7051
- /***/ }),
7052
- /* 89 */
7053
- /*!****************************************!*\
7054
- !*** ./src/blocks/info-box/classes.js ***!
7055
- \****************************************/
7056
- /*! exports provided: default */
7057
- /*! exports used: default */
7058
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7059
 
7060
- "use strict";
7061
- /**
7062
- * Returns Dynamic Generated Classes
7063
- */
 
7064
 
7065
- function InfoBoxPositionClasses(attributes) {
7066
 
7067
- var sourceClass = "uagb-infobox-has-image";
7068
- if (attributes.source_type == "icon") {
7069
- sourceClass = "uagb-infobox-has-icon";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7070
  }
7071
 
7072
- var iconimgStyle_class = "";
 
 
7073
 
7074
- iconimgStyle_class += "uagb-infobox" + " ";
7075
- iconimgStyle_class += sourceClass + " ";
7076
- iconimgStyle_class += "uagb-infobox-icon-" + attributes.iconimgPosition + " ";
 
 
7077
 
7078
- if (attributes.iconimgPosition === "left" || attributes.iconimgPosition === "left-title") {
7079
- iconimgStyle_class += "uagb-infobox-left" + " ";
7080
- }
7081
 
7082
- if (attributes.iconimgPosition === "right" || attributes.iconimgPosition === "right-title") {
7083
- iconimgStyle_class += "uagb-infobox-right" + " ";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7084
  }
7085
 
7086
- if ((attributes.iconimgPosition === "left" || attributes.iconimgPosition === "right") && attributes.stack !== "none") {
7087
- iconimgStyle_class += "uagb-infobox-stacked-" + attributes.stack + " ";
7088
- if (attributes.iconimgPosition === "right") {
7089
- iconimgStyle_class += "uagb-infobox-reverse-order-" + attributes.stack + " ";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7090
  }
7091
  }
7092
 
7093
- if (attributes.iconimgPosition !== "above-title" || attributes.iconimgPosition !== "below-title") {
7094
- iconimgStyle_class += "uagb-infobox-image-valign-" + attributes.sourceAlign + " ";
7095
- }
 
 
 
 
 
 
7096
 
7097
- if (attributes.enableBorder) {
7098
- iconimgStyle_class += "uagb-infobox-enable-border" + " ";
7099
- }
7100
 
7101
- iconimgStyle_class += "uagb-infobox-enable-border-radius" + " ";
7102
 
7103
- return [iconimgStyle_class];
 
 
7104
  }
7105
 
7106
- /* harmony default export */ __webpack_exports__["a"] = (InfoBoxPositionClasses);
7107
 
7108
  /***/ }),
7109
- /* 90 */
7110
- /*!************************************************************!*\
7111
- !*** ./src/blocks/info-box/components/InfoBoxSeparator.js ***!
7112
- \************************************************************/
7113
- /*! exports provided: default */
7114
- /*! exports used: default */
7115
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7116
-
7117
- "use strict";
7118
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
7119
 
7120
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7121
 
7122
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
 
 
 
 
 
 
7123
 
7124
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
7125
 
7126
- var InfoBoxSeparator = function (_React$Component) {
7127
- _inherits(InfoBoxSeparator, _React$Component);
 
 
 
 
 
 
7128
 
7129
- function InfoBoxSeparator() {
7130
- _classCallCheck(this, InfoBoxSeparator);
 
 
 
7131
 
7132
- return _possibleConstructorReturn(this, (InfoBoxSeparator.__proto__ || Object.getPrototypeOf(InfoBoxSeparator)).apply(this, arguments));
7133
- }
7134
 
7135
- _createClass(InfoBoxSeparator, [{
7136
- key: "render",
7137
- value: function render() {
7138
- var attributes = this.props.attributes;
 
 
 
 
 
 
 
 
 
 
 
 
 
7139
 
 
7140
 
7141
- return wp.element.createElement(
7142
- "div",
7143
- { className: "uagb-ifb-separator-parent" },
7144
- wp.element.createElement("div", { className: "uagb-ifb-separator" })
7145
- );
7146
- }
7147
- }]);
7148
 
7149
- return InfoBoxSeparator;
7150
- }(React.Component);
7151
 
7152
- /* harmony default export */ __webpack_exports__["a"] = (InfoBoxSeparator);
7153
 
7154
- /***/ }),
7155
- /* 91 */
7156
- /*!********************************************************!*\
7157
- !*** ./src/blocks/info-box/components/CallToAction.js ***!
7158
- \********************************************************/
7159
- /*! exports provided: default */
7160
- /*! exports used: default */
7161
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
 
 
 
 
7162
 
7163
- "use strict";
7164
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
7165
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
7166
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/renderIcon */ 2);
7167
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
7168
 
7169
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
 
 
 
 
 
 
 
 
 
 
 
 
7170
 
7171
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
 
7172
 
7173
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
 
 
 
 
 
 
 
 
7174
 
7175
- var __ = wp.i18n.__;
 
7176
 
 
 
 
 
 
 
 
 
 
 
7177
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7178
 
 
 
7179
 
 
 
 
 
7180
 
7181
- var InfoBoxCta = function (_React$Component) {
7182
- _inherits(InfoBoxCta, _React$Component);
7183
 
7184
- function InfoBoxCta() {
7185
- _classCallCheck(this, InfoBoxCta);
7186
 
7187
- return _possibleConstructorReturn(this, (InfoBoxCta.__proto__ || Object.getPrototypeOf(InfoBoxCta)).apply(this, arguments));
7188
- }
7189
 
7190
- _createClass(InfoBoxCta, [{
7191
- key: "render",
7192
- value: function render() {
7193
- var _props = this.props,
7194
- attributes = _props.attributes,
7195
- _props$setAttributes = _props.setAttributes,
7196
- setAttributes = _props$setAttributes === undefined ? "not_set" : _props$setAttributes;
 
7197
 
 
 
 
 
 
7198
 
7199
- var ctaBtnClass = "uagb-infobox-cta-link uagb-ifb-cta-button";
 
7200
 
7201
- if (attributes.inheritFromTheme) {
7202
- ctaBtnClass = "wp-block-button__link";
7203
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
7204
 
7205
- var target = "_self";
7206
- var rel = "noopener noreferrer";
7207
- if (attributes.ctaTarget) {
7208
- target = "_blank";
7209
- }
7210
 
7211
- var cta_icon_output = "";
7212
- if (attributes.ctaIcon !== "") {
7213
- cta_icon_output = wp.element.createElement(
7214
- "span",
7215
- { className: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a("uagb-ifb-" + attributes.ctaType + "-icon", "uagb-ifb-align-icon-" + attributes.ctaIconPosition) },
7216
- __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__["a" /* default */](attributes.ctaIcon)
7217
- );
7218
- }
7219
 
7220
- if (setAttributes !== "not_set") {
 
 
 
 
 
 
7221
 
7222
- return wp.element.createElement(
7223
- "div",
7224
- { className: "uagb-ifb-cta uagb-infobox-cta-link-style" },
7225
- attributes.ctaType === "text" && wp.element.createElement(
7226
- "a",
7227
- { target: target, className: "uagb-infobox-cta-link", rel: rel },
7228
- attributes.ctaIconPosition === "before" && cta_icon_output,
7229
- wp.element.createElement(
7230
- "span",
7231
- { className: "uagb-inline-editing" },
7232
- attributes.ctaText
7233
- ),
7234
- attributes.ctaIconPosition === "after" && cta_icon_output
7235
- ),
7236
- attributes.ctaType === "button" && wp.element.createElement(
7237
- "div",
7238
- { className: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a("uagb-ifb-button-wrapper", attributes.inheritFromTheme ? "wp-block-button" : null) },
7239
- wp.element.createElement(
7240
- "a",
7241
- { className: ctaBtnClass, target: target, rel: rel },
7242
- cta_icon_output,
7243
- wp.element.createElement(
7244
- "span",
7245
- { className: "uagb-ifb-cta-content-wrapper" },
7246
- wp.element.createElement(
7247
- "span",
7248
- { className: "uagb-inline-editing " },
7249
- attributes.ctaText
7250
- )
7251
- )
7252
- )
7253
- )
7254
- );
7255
- } else {
7256
- return wp.element.createElement(
7257
- "div",
7258
- { className: "uagb-ifb-cta uagb-infobox-cta-link-style" },
7259
- attributes.ctaType === "text" && wp.element.createElement(
7260
- "a",
7261
- { href: attributes.ctaLink, target: target, className: "uagb-infobox-cta-link", rel: rel },
7262
- attributes.ctaIconPosition === "before" && cta_icon_output,
7263
- wp.element.createElement(
7264
- "span",
7265
- { className: "uagb-inline-editing" },
7266
- attributes.ctaText
7267
- ),
7268
- attributes.ctaIconPosition === "after" && cta_icon_output
7269
- ),
7270
- attributes.ctaType === "button" && wp.element.createElement(
7271
- "div",
7272
- { className: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a("uagb-ifb-button-wrapper", attributes.inheritFromTheme ? "wp-block-button" : null) },
7273
- wp.element.createElement(
7274
- "a",
7275
- { href: attributes.ctaLink, className: ctaBtnClass, target: target, rel: rel },
7276
- cta_icon_output,
7277
- wp.element.createElement(
7278
- "span",
7279
- { className: "uagb-ifb-cta-content-wrapper" },
7280
- wp.element.createElement(
7281
- "span",
7282
- { className: "uagb-inline-editing " },
7283
- attributes.ctaText
7284
- )
7285
- )
7286
- )
7287
- )
7288
- );
7289
- }
7290
- }
7291
- }]);
7292
 
7293
- return InfoBoxCta;
7294
- }(React.Component);
 
 
7295
 
7296
- /* harmony default export */ __webpack_exports__["a"] = (InfoBoxCta);
7297
 
7298
- /***/ }),
7299
- /* 92 */
7300
- /*!*********************************************************!*\
7301
- !*** ./src/blocks/testimonial/components/AuthorName.js ***!
7302
- \*********************************************************/
7303
- /*! exports provided: default */
7304
- /*! exports used: default */
7305
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
 
 
 
 
 
 
7306
 
7307
- "use strict";
7308
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
7309
 
7310
- function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7311
 
7312
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7313
 
7314
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
 
 
 
 
 
 
 
 
 
 
 
 
7315
 
7316
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
7317
 
7318
- var RichText = wp.blockEditor.RichText;
7319
- var __ = wp.i18n.__;
7320
- var createBlock = wp.blocks.createBlock;
7321
 
7322
- var AuthorName = function (_React$Component) {
7323
- _inherits(AuthorName, _React$Component);
7324
 
7325
- function AuthorName() {
7326
- _classCallCheck(this, AuthorName);
 
 
 
 
 
 
 
 
 
7327
 
7328
- return _possibleConstructorReturn(this, (AuthorName.__proto__ || Object.getPrototypeOf(AuthorName)).apply(this, arguments));
7329
- }
7330
 
7331
- _createClass(AuthorName, [{
7332
- key: "render",
7333
- value: function render() {
7334
- var _props = this.props,
7335
- attributes = _props.attributes,
7336
- setAttributes = _props.setAttributes,
7337
- props = _props.props,
7338
- index_value = _props.index_value;
 
 
7339
 
 
 
 
 
 
 
7340
 
7341
- var test_arr = attributes.test_block[index_value];
7342
- var author_name = "";
7343
- if (test_arr && typeof test_arr !== "undefined") {
7344
- author_name = test_arr["name"];
7345
- }
7346
 
7347
- var data_copy = [].concat(_toConsumableArray(attributes.test_block));
7348
 
7349
- if (setAttributes !== "not_set") {
7350
- return wp.element.createElement(RichText, {
7351
- tagName: "div",
7352
- value: author_name,
7353
- placeholder: __("Author Name"),
7354
- className: "uagb-tm__author-name",
7355
- onChange: function onChange(value) {
7356
- var new_content = { "description": data_copy[index_value]["description"], "name": value, "company": data_copy[index_value]["company"], "image": data_copy[index_value]["image"] };
7357
- data_copy[index_value] = new_content;
7358
- setAttributes({ "test_block": data_copy });
7359
- },
7360
- onMerge: props.mergeBlocks,
7361
- unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
7362
- for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
7363
- blocks[_key - 2] = arguments[_key];
7364
- }
7365
 
7366
- setAttributes({ content: before });
7367
- props.insertBlocksAfter([].concat(blocks, [createBlock("core/paragraph", { content: after })]));
7368
- } : undefined,
7369
- onRemove: function onRemove() {
7370
- return props.onReplace([]);
7371
- }
7372
- });
7373
- } else {
7374
- return wp.element.createElement(RichText.Content, {
7375
- tagName: "span",
7376
- value: author_name,
7377
- className: "uagb-tm__author-name"
7378
- });
7379
- }
7380
- }
7381
- }]);
7382
 
7383
- return AuthorName;
7384
- }(React.Component);
 
 
7385
 
7386
- /* harmony default export */ __webpack_exports__["a"] = (AuthorName);
7387
 
7388
- /***/ }),
7389
- /* 93 */
7390
- /*!******************************************************!*\
7391
- !*** ./src/blocks/testimonial/components/Company.js ***!
7392
- \******************************************************/
7393
- /*! exports provided: default */
7394
- /*! exports used: default */
7395
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7396
 
7397
- "use strict";
7398
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
 
7399
 
7400
- function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
7401
 
7402
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
 
 
 
 
 
 
 
7403
 
7404
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
 
 
 
 
 
7405
 
7406
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
7407
 
7408
- var RichText = wp.blockEditor.RichText;
7409
- var createBlock = wp.blocks.createBlock;
7410
- var __ = wp.i18n.__;
 
 
 
 
7411
 
7412
- var Company = function (_React$Component) {
7413
- _inherits(Company, _React$Component);
 
 
 
 
7414
 
7415
- function Company() {
7416
- _classCallCheck(this, Company);
7417
 
7418
- return _possibleConstructorReturn(this, (Company.__proto__ || Object.getPrototypeOf(Company)).apply(this, arguments));
7419
- }
7420
 
7421
- _createClass(Company, [{
7422
- key: "render",
7423
- value: function render() {
7424
- var _props = this.props,
7425
- attributes = _props.attributes,
7426
- setAttributes = _props.setAttributes,
7427
- props = _props.props,
7428
- index_value = _props.index_value;
7429
 
 
7430
 
7431
- var test_arr = attributes.test_block[index_value];
7432
- var company = "";
7433
- if (test_arr && typeof test_arr !== "undefined") {
7434
- company = test_arr["company"];
7435
- }
7436
 
7437
- var data_copy = [].concat(_toConsumableArray(attributes.test_block));
7438
 
7439
- if (setAttributes !== "not_set") {
7440
- return wp.element.createElement(RichText, {
7441
- tagName: "div",
7442
- value: company,
7443
- className: "uagb-tm__company",
7444
- onChange: function onChange(value) {
7445
- var new_content = { "description": data_copy[index_value]["description"], "name": data_copy[index_value]["name"], "company": value, "image": data_copy[index_value]["image"] };
7446
- data_copy[index_value] = new_content;
7447
- setAttributes({ "test_block": data_copy });
7448
- },
7449
- multiline: false,
7450
- placeholder: __("Company Name"),
7451
- onMerge: props.mergeBlocks,
7452
- unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
7453
- for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
7454
- blocks[_key - 2] = arguments[_key];
7455
- }
7456
 
7457
- setAttributes({ content: before });
7458
- props.insertBlocksAfter([].concat(blocks, [createBlock("core/paragraph", { content: after })]));
7459
- } : undefined,
7460
- onRemove: function onRemove() {
7461
- return props.onReplace([]);
7462
- }
7463
- });
7464
- } else {
7465
- return wp.element.createElement(RichText.Content, {
7466
- tagName: "span",
7467
- value: company,
7468
- className: "uagb-tm__company"
7469
- });
7470
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7471
  }
7472
- }]);
7473
 
7474
- return Company;
7475
- }(React.Component);
 
 
7476
 
7477
- /* harmony default export */ __webpack_exports__["a"] = (Company);
 
 
 
 
 
 
 
 
 
 
 
7478
 
7479
  /***/ }),
7480
- /* 94 */
7481
- /*!**********************************************************!*\
7482
- !*** ./src/blocks/testimonial/components/Description.js ***!
7483
- \**********************************************************/
7484
  /*! exports provided: default */
7485
  /*! exports used: default */
7486
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7487
 
7488
  "use strict";
7489
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
 
 
 
 
7490
 
7491
- function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7492
 
7493
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7494
 
@@ -7500,44 +7070,36 @@ var RichText = wp.blockEditor.RichText;
7500
  var __ = wp.i18n.__;
7501
  var createBlock = wp.blocks.createBlock;
7502
 
7503
- var Description = function (_React$Component) {
7504
- _inherits(Description, _React$Component);
7505
 
7506
- function Description() {
7507
- _classCallCheck(this, Description);
7508
 
7509
- return _possibleConstructorReturn(this, (Description.__proto__ || Object.getPrototypeOf(Description)).apply(this, arguments));
7510
  }
7511
 
7512
- _createClass(Description, [{
7513
  key: "render",
7514
  value: function render() {
 
 
 
7515
  var _props = this.props,
7516
  attributes = _props.attributes,
7517
  setAttributes = _props.setAttributes,
7518
- props = _props.props,
7519
- index_value = _props.index_value;
7520
-
7521
-
7522
- var test_arr = attributes.test_block[index_value];
7523
- var description = "";
7524
- if (test_arr && typeof test_arr !== "undefined") {
7525
- description = test_arr["description"];
7526
- }
7527
 
7528
- var data_copy = [].concat(_toConsumableArray(attributes.test_block));
7529
 
7530
  if (setAttributes !== "not_set") {
7531
  return wp.element.createElement(RichText, {
7532
  tagName: "div",
7533
- value: description,
7534
- placeholder: __("Write Description"),
7535
- className: "uagb-tm__desc",
 
7536
  onChange: function onChange(value) {
7537
-
7538
- var new_content = { "description": value, "name": data_copy[index_value]["name"], "company": data_copy[index_value]["company"], "image": data_copy[index_value]["image"] };
7539
- data_copy[index_value] = new_content;
7540
- setAttributes({ "test_block": data_copy });
7541
  },
7542
  onMerge: props.mergeBlocks,
7543
  unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
@@ -7554,88 +7116,24 @@ var Description = function (_React$Component) {
7554
  });
7555
  } else {
7556
  return wp.element.createElement(RichText.Content, {
7557
- tagName: "div",
7558
- value: description,
7559
- className: "uagb-tm__desc"
7560
  });
7561
  }
7562
  }
7563
  }]);
7564
 
7565
- return Description;
7566
  }(React.Component);
7567
 
7568
- /* harmony default export */ __webpack_exports__["a"] = (Description);
7569
-
7570
- /***/ }),
7571
- /* 95 */
7572
- /*!*******************************************!*\
7573
- !*** ./src/blocks/testimonial/classes.js ***!
7574
- \*******************************************/
7575
- /*! exports provided: default */
7576
- /*! exports used: default */
7577
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7578
-
7579
- "use strict";
7580
- /**
7581
- * Returns Dynamic Generated CSS
7582
- */
7583
-
7584
- function PositionClasses(attributes) {
7585
-
7586
- var iconimgStyle_class = "";
7587
- iconimgStyle_class += " uagb-tm__imgicon-style-" + attributes.iconimgStyle + " ";
7588
- iconimgStyle_class += "uagb-tm__image-position-" + attributes.imagePosition + " ";
7589
-
7590
- if (attributes.imagePosition == "left" || attributes.imagePosition == "right") {
7591
- iconimgStyle_class += "uagb-tm__image-aligned-" + attributes.imageAlignment + " ";
7592
- if (attributes.stack !== "none") {
7593
- iconimgStyle_class += "uagb-tm-stacked-" + attributes.stack + " ";
7594
- if (attributes.imagePosition === "right") {
7595
- iconimgStyle_class += "uagb-tm-reverse-order-" + attributes.stack + " ";
7596
- }
7597
- }
7598
- }
7599
-
7600
- iconimgStyle_class += "uagb-tm__bg-type-" + attributes.backgroundType + " ";
7601
-
7602
- return [iconimgStyle_class];
7603
- }
7604
-
7605
- /* harmony default export */ __webpack_exports__["a"] = (PositionClasses);
7606
-
7607
- /***/ }),
7608
- /* 96 */
7609
- /*!******************************************!*\
7610
- !*** ./src/blocks/social-share/links.js ***!
7611
- \******************************************/
7612
- /*! exports provided: default */
7613
- /*! exports used: default */
7614
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
7615
-
7616
- "use strict";
7617
- var links = {
7618
- facebook: "https://www.facebook.com/sharer.php?u=",
7619
- twitter: "https://twitter.com/share?url=",
7620
- google: "https://plus.google.com/share?url=",
7621
- pinterest: "https://pinterest.com/pin/create/link/?url=",
7622
- linkedin: "https://www.linkedin.com/shareArticle?url=",
7623
- digg: "http://digg.com/submit?url=",
7624
- blogger: "https://www.blogger.com/blog_this.pyra?t&amp;u=",
7625
- reddit: "https://reddit.com/submit?url=",
7626
- stumbleupon: "https://www.stumbleupon.com/submit?url=",
7627
- tumblr: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=",
7628
- myspace: "https://myspace.com/post?u=",
7629
- email: "mailto:?body="
7630
- };
7631
-
7632
- /* harmony default export */ __webpack_exports__["a"] = (links);
7633
 
7634
  /***/ }),
7635
- /* 97 */
7636
- /*!*********************************************************!*\
7637
- !*** ./src/blocks/price-list-child/components/Title.js ***!
7638
- \*********************************************************/
7639
  /*! exports provided: default */
7640
  /*! exports used: default */
7641
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -7650,6 +7148,7 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
7650
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
7651
 
7652
  var RichText = wp.blockEditor.RichText;
 
7653
  var __ = wp.i18n.__;
7654
 
7655
  var Title = function (_React$Component) {
@@ -7664,40 +7163,42 @@ var Title = function (_React$Component) {
7664
  _createClass(Title, [{
7665
  key: "render",
7666
  value: function render() {
 
 
7667
  var _props = this.props,
7668
  attributes = _props.attributes,
7669
  setAttributes = _props.setAttributes,
7670
- index_value = _props.index_value;
7671
-
7672
- var author_title = "";
7673
 
7674
- if (typeof index_value !== "undefined") {
7675
- var test_arr = attributes.rest_menu_item_arr[index_value];
7676
- if (test_arr) {
7677
- if (typeof test_arr !== "undefined") {
7678
- author_title = test_arr["title"];
7679
- }
7680
- }
7681
- } else {
7682
- author_title = attributes.title;
7683
- }
7684
 
7685
  if (setAttributes !== "not_set") {
7686
-
7687
  return wp.element.createElement(RichText, {
7688
  tagName: attributes.headingTag,
7689
- value: author_title,
7690
- placeholder: __("Write a Title"),
7691
- className: "uagb-rm__title",
7692
  onChange: function onChange(value) {
7693
- setAttributes({ "title": value });
 
 
 
 
 
 
 
 
 
 
 
 
 
7694
  }
7695
  });
7696
  } else {
7697
  return wp.element.createElement(RichText.Content, {
7698
  tagName: attributes.headingTag,
7699
- value: author_title,
7700
- className: "uagb-rm__title"
7701
  });
7702
  }
7703
  }
@@ -7709,15 +7210,16 @@ var Title = function (_React$Component) {
7709
  /* harmony default export */ __webpack_exports__["a"] = (Title);
7710
 
7711
  /***/ }),
7712
- /* 98 */
7713
- /*!*********************************************************!*\
7714
- !*** ./src/blocks/price-list-child/components/Price.js ***!
7715
- \*********************************************************/
7716
  /*! exports provided: default */
7717
  /*! exports used: default */
7718
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7719
 
7720
  "use strict";
 
7721
  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
7722
 
7723
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
@@ -7726,69 +7228,52 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
7726
 
7727
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
7728
 
 
 
7729
  var RichText = wp.blockEditor.RichText;
7730
  var __ = wp.i18n.__;
7731
 
7732
- var Price = function (_React$Component) {
7733
- _inherits(Price, _React$Component);
7734
 
7735
- function Price() {
7736
- _classCallCheck(this, Price);
7737
 
7738
- return _possibleConstructorReturn(this, (Price.__proto__ || Object.getPrototypeOf(Price)).apply(this, arguments));
7739
  }
7740
 
7741
- _createClass(Price, [{
7742
  key: "render",
7743
  value: function render() {
7744
- var _props = this.props,
7745
- attributes = _props.attributes,
7746
- setAttributes = _props.setAttributes,
7747
- index_value = _props.index_value;
7748
-
7749
 
7750
- var price = "";
7751
- if (typeof index_value !== "undefined") {
7752
- var rest_arr = attributes.rest_menu_item_arr[index_value];
7753
- if (rest_arr) {
7754
- if (typeof rest_arr !== "undefined") {
7755
- price = rest_arr["price"];
7756
- }
7757
- }
7758
- } else {
7759
- price = attributes.price;
7760
- }
7761
 
7762
- if (setAttributes !== "not_set") {
7763
- return wp.element.createElement(RichText, {
7764
- tagName: "div",
7765
- value: price,
7766
- className: "uagb-rm__price",
7767
- placeholder: __("Price"),
7768
- onChange: function onChange(value) {
7769
- setAttributes({ "price": value });
7770
- }
7771
- });
7772
- } else {
7773
- return wp.element.createElement(RichText.Content, {
7774
- tagName: "span",
7775
- value: price,
7776
- className: "uagb-rm__price"
7777
- });
7778
- }
7779
  }
7780
  }]);
7781
 
7782
- return Price;
7783
  }(React.Component);
7784
 
7785
- /* harmony default export */ __webpack_exports__["a"] = (Price);
7786
 
7787
  /***/ }),
7788
- /* 99 */
7789
- /*!***************************************************************!*\
7790
- !*** ./src/blocks/price-list-child/components/Description.js ***!
7791
- \***************************************************************/
7792
  /*! exports provided: default */
7793
  /*! exports used: default */
7794
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -7804,67 +7289,127 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
7804
 
7805
  var RichText = wp.blockEditor.RichText;
7806
  var __ = wp.i18n.__;
 
7807
 
7808
- var Description = function (_React$Component) {
7809
- _inherits(Description, _React$Component);
7810
 
7811
- function Description() {
7812
- _classCallCheck(this, Description);
7813
 
7814
- return _possibleConstructorReturn(this, (Description.__proto__ || Object.getPrototypeOf(Description)).apply(this, arguments));
7815
  }
7816
 
7817
- _createClass(Description, [{
7818
  key: "render",
7819
  value: function render() {
 
 
7820
  var _props = this.props,
7821
  attributes = _props.attributes,
7822
  setAttributes = _props.setAttributes,
7823
- index_value = _props.index_value;
7824
-
7825
 
7826
- var description = "";
7827
- if (typeof index_value !== "undefined") {
7828
- var rest_arr = attributes.rest_menu_item_arr[index_value];
7829
- if (rest_arr) {
7830
- if (typeof rest_arr !== "undefined") {
7831
- description = rest_arr["description"];
7832
- }
7833
- }
7834
- } else {
7835
- description = attributes.description;
7836
- }
7837
 
7838
  if (setAttributes !== "not_set") {
7839
  return wp.element.createElement(RichText, {
7840
- tagName: "div",
7841
- value: description,
7842
  placeholder: __("Write a Description"),
7843
- className: "uagb-rm__desc",
7844
  onChange: function onChange(value) {
7845
- setAttributes({ "description": value });
 
 
 
 
 
 
 
 
 
 
 
 
7846
  }
7847
  });
7848
  } else {
7849
  return wp.element.createElement(RichText.Content, {
7850
- tagName: "div",
7851
- value: description,
7852
- className: "uagb-rm__desc"
7853
  });
7854
  }
7855
  }
7856
  }]);
7857
 
7858
- return Description;
7859
  }(React.Component);
7860
 
7861
- /* harmony default export */ __webpack_exports__["a"] = (Description);
7862
 
7863
  /***/ }),
7864
- /* 100 */
7865
- /*!*****************************************************************!*\
7866
- !*** ./src/blocks/price-list-child/components/RestMenuImage.js ***!
7867
- \*****************************************************************/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7868
  /*! exports provided: default */
7869
  /*! exports used: default */
7870
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -7878,90 +7423,273 @@ function _possibleConstructorReturn(self, call) { if (!self) { throw new Referen
7878
 
7879
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
7880
 
7881
- var RestMenuImage = function (_React$Component) {
7882
- _inherits(RestMenuImage, _React$Component);
7883
 
7884
- function RestMenuImage() {
7885
- _classCallCheck(this, RestMenuImage);
7886
 
7887
- return _possibleConstructorReturn(this, (RestMenuImage.__proto__ || Object.getPrototypeOf(RestMenuImage)).apply(this, arguments));
7888
  }
7889
 
7890
- _createClass(RestMenuImage, [{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7891
  key: "render",
7892
  value: function render() {
7893
  var _props = this.props,
7894
  attributes = _props.attributes,
7895
- index_value = _props.index_value;
 
7896
 
7897
- var url_check = "";
7898
- var image_arr = "";
7899
 
7900
- if (typeof index_value !== "undefined") {
7901
- var image_array = attributes.rest_menu_item_arr[index_value];
7902
- if (typeof image_array !== "undefined") {
7903
- image_arr = image_array['image'];
7904
- }
7905
- } else {
7906
- if (attributes.image !== "") {
7907
- image_arr = attributes.image;
7908
- }
7909
  }
7910
 
7911
- if (image_arr && typeof image_arr !== "undefined") {
7912
- var image = '';
7913
- if (typeof image_arr !== "undefined") {
7914
- image = image_arr;
7915
- } else {
7916
- image = attributes.image;
7917
- }
7918
- var url = "";
7919
 
7920
- if (typeof image !== "undefined" && image !== null && image !== "") {
7921
- url_check = image.url;
7922
- }
 
 
 
 
 
7923
 
7924
- if (url_check !== "") {
7925
- var size = image.sizes;
7926
- var imageSize = attributes.imageSize;
7927
- if (typeof size !== "undefined" && typeof size[imageSize] !== "undefined") {
7928
- url = size[imageSize].url;
7929
- } else {
7930
- url = url_check;
7931
- }
7932
 
7933
- return wp.element.createElement(
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7934
  "div",
7935
- { className: "uagb-rm__image-content" },
7936
  wp.element.createElement(
7937
- "div",
7938
- { className: "uagb-rm__image" },
7939
- wp.element.createElement("img", {
7940
- className: "",
7941
- src: url,
7942
- alt: image.alt
7943
- })
 
 
 
 
 
7944
  )
7945
- );
7946
- } else {
7947
- return null;
7948
- }
7949
  } else {
7950
- return null;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7951
  }
7952
  }
7953
  }]);
7954
 
7955
- return RestMenuImage;
7956
  }(React.Component);
7957
 
7958
- /* harmony default export */ __webpack_exports__["a"] = (RestMenuImage);
7959
 
7960
  /***/ }),
7961
- /* 101 */
7962
- /*!*******************************************************!*\
7963
- !*** ./src/blocks/call-to-action/components/Title.js ***!
7964
- \*******************************************************/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7965
  /*! exports provided: default */
7966
  /*! exports used: default */
7967
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -7969,6 +7697,8 @@ var RestMenuImage = function (_React$Component) {
7969
  "use strict";
7970
  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
7971
 
 
 
7972
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7973
 
7974
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
@@ -7979,34 +7709,45 @@ var RichText = wp.blockEditor.RichText;
7979
  var createBlock = wp.blocks.createBlock;
7980
  var __ = wp.i18n.__;
7981
 
7982
- var Title = function (_React$Component) {
7983
- _inherits(Title, _React$Component);
7984
 
7985
- function Title() {
7986
- _classCallCheck(this, Title);
7987
 
7988
- return _possibleConstructorReturn(this, (Title.__proto__ || Object.getPrototypeOf(Title)).apply(this, arguments));
7989
  }
7990
 
7991
- _createClass(Title, [{
7992
  key: "render",
7993
  value: function render() {
7994
  var _props = this.props,
7995
  attributes = _props.attributes,
7996
  setAttributes = _props.setAttributes,
7997
- props = _props.props;
 
 
 
 
 
 
 
 
7998
 
 
7999
 
8000
  if (setAttributes !== "not_set") {
8001
  return wp.element.createElement(RichText, {
8002
- tagName: attributes.titleTag,
8003
- placeholder: __("Write a Heading"),
8004
- value: attributes.ctaTitle,
8005
- className: "uagb-cta__title",
8006
  onChange: function onChange(value) {
8007
- return setAttributes({ ctaTitle: value });
 
 
8008
  },
8009
  multiline: false,
 
8010
  onMerge: props.mergeBlocks,
8011
  unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
8012
  for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
@@ -8022,24 +7763,24 @@ var Title = function (_React$Component) {
8022
  });
8023
  } else {
8024
  return wp.element.createElement(RichText.Content, {
8025
- tagName: attributes.titleTag,
8026
- value: attributes.ctaTitle,
8027
- className: "uagb-cta__title"
8028
  });
8029
  }
8030
  }
8031
  }]);
8032
 
8033
- return Title;
8034
  }(React.Component);
8035
 
8036
- /* harmony default export */ __webpack_exports__["a"] = (Title);
8037
 
8038
  /***/ }),
8039
- /* 102 */
8040
- /*!*************************************************************!*\
8041
- !*** ./src/blocks/call-to-action/components/Description.js ***!
8042
- \*************************************************************/
8043
  /*! exports provided: default */
8044
  /*! exports used: default */
8045
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -8047,6 +7788,8 @@ var Title = function (_React$Component) {
8047
  "use strict";
8048
  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
8049
 
 
 
8050
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8051
 
8052
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
@@ -8072,17 +7815,29 @@ var Description = function (_React$Component) {
8072
  var _props = this.props,
8073
  attributes = _props.attributes,
8074
  setAttributes = _props.setAttributes,
8075
- props = _props.props;
 
 
 
 
 
 
 
 
8076
 
 
8077
 
8078
  if (setAttributes !== "not_set") {
8079
  return wp.element.createElement(RichText, {
8080
- tagName: "p",
8081
- value: attributes.description,
8082
- placeholder: __("Write a Description"),
8083
- className: "uagb-cta__desc",
8084
  onChange: function onChange(value) {
8085
- return setAttributes({ description: value });
 
 
 
8086
  },
8087
  onMerge: props.mergeBlocks,
8088
  unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
@@ -8099,9 +7854,9 @@ var Description = function (_React$Component) {
8099
  });
8100
  } else {
8101
  return wp.element.createElement(RichText.Content, {
8102
- tagName: "p",
8103
- value: attributes.description,
8104
- className: "uagb-cta__desc"
8105
  });
8106
  }
8107
  }
@@ -8113,194 +7868,156 @@ var Description = function (_React$Component) {
8113
  /* harmony default export */ __webpack_exports__["a"] = (Description);
8114
 
8115
  /***/ }),
8116
- /* 103 */
8117
- /*!**********************************************!*\
8118
- !*** ./src/blocks/call-to-action/classes.js ***!
8119
- \**********************************************/
8120
  /*! exports provided: default */
8121
  /*! exports used: default */
8122
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8123
 
8124
  "use strict";
8125
- /**
8126
- * Returns Dynamic Generated Classes
8127
  */
8128
 
8129
- function CtaPositionClasses(attributes) {
8130
 
8131
  var iconimgStyle_class = "";
 
 
8132
 
8133
- iconimgStyle_class += "uagb-cta__block" + " ";
8134
- iconimgStyle_class += "uagb-cta__icon-position-" + attributes.ctaPosition + " ";
8135
-
8136
- if (attributes.ctaPosition === "right") {
8137
- iconimgStyle_class += "uagb-cta__content-right" + " ";
8138
- }
8139
-
8140
- if (attributes.ctaPosition === "right" && attributes.stack !== "none") {
8141
- iconimgStyle_class += "uagb-cta__content-stacked-" + attributes.stack + " ";
8142
- }
8143
-
8144
- if (attributes.ctaPosition !== "below-title") {
8145
- iconimgStyle_class += "uagb-cta__button-valign-" + attributes.buttonAlign + " ";
8146
  }
8147
 
8148
- if (attributes.ctaType !== "text" && attributes.ctaType !== "button") {
8149
- iconimgStyle_class += "uagb-cta__button-type-none" + " ";
8150
- }
8151
 
8152
  return [iconimgStyle_class];
8153
  }
8154
 
8155
- /* harmony default export */ __webpack_exports__["a"] = (CtaPositionClasses);
8156
 
8157
  /***/ }),
8158
- /* 104 */
8159
- /*!*****************************************************!*\
8160
- !*** ./src/blocks/call-to-action/components/CTA.js ***!
8161
- \*****************************************************/
8162
  /*! exports provided: default */
8163
  /*! exports used: default */
8164
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
8165
 
8166
  "use strict";
8167
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
8168
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
8169
- /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/renderIcon */ 2);
8170
- var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
8171
-
8172
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
8173
-
8174
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
 
 
 
 
 
 
8175
 
8176
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
8177
 
8178
- var __ = wp.i18n.__;
 
 
60
  /******/ __webpack_require__.p = "";
61
  /******/
62
  /******/ // Load entry module and return exports
63
+ /******/ return __webpack_require__(__webpack_require__.s = 247);
64
  /******/ })
65
  /************************************************************************/
66
  /******/ ([
68
  /*!******************************************!*\
69
  !*** ./node_modules/classnames/index.js ***!
70
  \******************************************/
71
+ /*! dynamic exports provided */
72
  /*! all exports used */
73
  /***/ (function(module, exports, __webpack_require__) {
74
 
117
  module.exports = classNames;
118
  } else if (true) {
119
  // register as 'classnames', consistent with npm package name
120
+ !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = (function () {
121
  return classNames;
122
+ }).apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__),
123
  __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
124
  } else {
125
  window.classNames = classNames;
137
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
138
 
139
  "use strict";
140
+ /**
141
+ * Block Icons
142
  */
143
 
144
  var el = wp.element.createElement;
153
  "post_carousel": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M7.554 12.936h4.893v-5.871h-4.893v5.871zM8.888 8.399h2.224v3.202h-2.224v-3.202z" }), el("path", { fill: "#4a00e0", d: "M13.913 8.868l1.132 1.132-1.132 1.132 0.944 0.944 2.076-2.076-2.076-2.076-0.943 0.943z" }), el("path", { fill: "#4a00e0", d: "M5.144 7.924l-2.076 2.076 2.076 2.076 0.943-0.944-1.132-1.132 1.132-1.132-0.944-0.943z" }), el("path", { fill: "#4a00e0", d: "M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM1.32 18.62v-17.301h17.3v17.3h-17.3z" })),
154
  "post_masonry": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM7.588 5.788h4.825v8.825h-4.825v-8.825zM12.413 1.381v3.025h-4.825v-3.025h4.825zM6.206 1.381v11.025h-4.825v-11.025h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-2.826h4.825v2.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z" })),
155
  "post_grid": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM1.381 7.588h4.825v4.825h-4.825v-4.825zM7.588 7.588h4.825v4.825h-4.825v-4.825zM12.413 1.381v4.825h-4.825v-4.825h4.825zM6.206 1.381v4.825h-4.825v-4.825h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-4.826h4.825v4.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z" })),
156
+ "post_title": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM1.381 7.588h4.825v4.825h-4.825v-4.825zM7.588 7.588h4.825v4.825h-4.825v-4.825zM12.413 1.381v4.825h-4.825v-4.825h4.825zM6.206 1.381v4.825h-4.825v-4.825h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-4.826h4.825v4.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z" })),
157
  "testimonial": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M9.996 0c-5.516 0-9.996 4.479-9.996 9.997 0 5.523 4.48 10.003 9.996 10.003 5.524 0 10.004-4.48 10.004-10.003 0-5.518-4.48-9.997-10.004-9.997v0zM9.996 18.749c-4.821 0-8.745-3.926-8.745-8.752 0-4.822 3.923-8.746 8.745-8.746 4.829 0 8.753 3.924 8.753 8.746 0 4.826-3.924 8.752-8.753 8.752v0z" }), el("path", { fill: "#4a00e0", d: "M8.007 6.732l-0.292-0.201-0.006-0.012-0.019-0.006-0.214-0.098 0.006 0.012c-0.201-0.079-0.416-0.14-0.641-0.14-1.018 0-1.843 0.854-1.843 1.91s0.825 1.917 1.843 1.917c0.323 0 0.622-0.098 0.891-0.25-0.091 1.019-0.605 2.514-2.491 4.034-0.267 0.212-0.317 0.604-0.109 0.879 0.121 0.159 0.3 0.243 0.476 0.243 0.134 0 0.263-0.041 0.372-0.134 2.319-1.866 2.894-3.784 2.971-5.070 0.134-1.636-0.365-2.502-0.817-2.948l-0.128-0.134z" }), el("path", { fill: "#4a00e0", d: "M14.068 6.732l-0.293-0.201-0.008-0.012-0.017-0.006-0.214-0.098 0.006 0.012c-0.202-0.079-0.415-0.14-0.641-0.14-1.019 0-1.843 0.854-1.843 1.91s0.824 1.917 1.843 1.917c0.324 0 0.623-0.098 0.891-0.25-0.092 1.019-0.604 2.514-2.496 4.034-0.262 0.212-0.311 0.604-0.104 0.879 0.116 0.159 0.299 0.243 0.476 0.243 0.134 0 0.263-0.041 0.372-0.134 2.319-1.866 2.893-3.784 2.972-5.070 0.134-1.636-0.366-2.502-0.818-2.948l-0.128-0.134z" })),
158
  "cf7_styler": el("svg", { width: 20, height: 20 }, el("path", { fill: "#4a00e0", d: "M0 2.969v14.063h20v-14.063h-20zM18.828 15.859h-17.656v-11.719h17.656v11.719z" }), el("path", { fill: "#4a00e0", d: "M11.758 13.516h5.898v1.172h-5.898v-1.172z" }), el("path", { fill: "#4a00e0", d: "M11.758 11.172h5.898v1.172h-5.898v-1.172z" }), el("path", { fill: "#4a00e0", d: "M11.758 8.828h5.898v1.172h-5.898v-1.172z" }), el("path", { fill: "#4a00e0", d: "M11.758 6.484h3.555v1.172h-3.555v-1.172z" }), el("path", { fill: "#4a00e0", d: "M16.484 6.484h1.172v1.172h-1.172v-1.172z" }), el("path", { fill: "#4a00e0", d: "M8.386 10.468c0.629-0.538 1.028-1.336 1.028-2.226 0-1.615-1.314-2.93-2.93-2.93s-2.93 1.314-2.93 2.93c0 0.89 0.4 1.688 1.028 2.226-1.307 0.687-2.2 2.057-2.2 3.633v0.586h8.203v-0.586c0-1.576-0.893-2.947-2.2-3.633zM6.484 6.484c0.969 0 1.758 0.789 1.758 1.758s-0.789 1.758-1.758 1.758-1.758-0.789-1.758-1.758 0.789-1.758 1.758-1.758zM3.614 13.516c0.272-1.336 1.456-2.344 2.871-2.344s2.599 1.008 2.871 2.344h-5.742z" })),
159
  "gf_styler": el("svg", { width: 20, height: 20, viewBox: "0 0 100 100" }, el("path", { fill: "#4a00e0", d: "M20.509,26.661H38.2c1.783,0,3.229-1.447,3.229-3.226c0-1.784-1.447-3.227-3.229-3.227H20.509 c-1.783,0-3.229,1.443-3.229,3.227C17.28,25.214,18.726,26.661,20.509,26.661L20.509,26.661z M20.509,26.661" }), el("path", { fill: "#4a00e0", d: "M20.509,38.465h41.285c1.78,0,3.229-1.442,3.229-3.223c0-1.783-1.449-3.227-3.229-3.227H20.509 c-1.783,0-3.229,1.444-3.229,3.227C17.28,37.022,18.726,38.465,20.509,38.465L20.509,38.465z M20.509,38.465" }), el("path", { fill: "#4a00e0", d: "M38.2,49.727H20.509c-1.783,0-3.229,1.443-3.229,3.227c0,1.78,1.446,3.224,3.229,3.224H38.2 c1.783,0,3.229-1.443,3.229-3.224C41.429,51.17,39.982,49.727,38.2,49.727L38.2,49.727z M38.2,49.727" }), el("path", { fill: "#4a00e0", d: "M92.334,14.48c-1.304-0.447-2.744-0.014-3.593,1.071l-6.021,7.754V5.723c0-1.778-1.446-3.223-3.23-3.223H8.71 c-1.783,0-3.226,1.445-3.226,3.223v88.552c0,1.78,1.443,3.226,3.226,3.226h70.78c1.784,0,3.23-1.445,3.23-3.226V51.129 l11.088-13.875c0.456-0.57,0.707-1.279,0.707-2.012V17.531C94.516,16.153,93.637,14.928,92.334,14.48L92.334,14.48z M76.267,91.045 h-64.33V8.951h64.33v22.653L47.452,68.679c-1.096,1.409-0.835,3.432,0.568,4.527c0.59,0.457,1.286,0.677,1.975,0.677 c0.962,0,1.915-0.424,2.547-1.241l3.619-4.657h11.534c0.979,0,1.906-0.446,2.518-1.214l6.054-7.572V91.045z M88.062,34.11 L66.144,61.53H61.18l26.882-34.591V34.11z M88.062,34.11" })),
193
  "inline_notice": el("svg", { width: 20, height: 20, viewBox: "0 0 32 32" }, el("path", { fill: "#4a00e0", d: "M30.69 25.701l-13.094-21.389c-0.35-0.571-0.96-0.912-1.63-0.912h-0.002c-0.67 0-1.28 0.344-1.629 0.915l-13.026 21.389c-0.352 0.578-0.374 1.28-0.064 1.882 0.304 0.59 0.878 0.966 1.534 1.013 0.045 0.003 0.090 0.005 0.134 0.005h26.168c0.045 0 0.093-0.002 0.134-0.005 0.658-0.045 1.232-0.422 1.538-1.013 0.312-0.606 0.288-1.307-0.064-1.885zM3.458 26.403l12.507-20.541 12.576 20.541h-25.083z" }), el("path", { fill: "#4a00e0", d: "M15.966 11.242c-0.533 0-0.965 0.432-0.965 0.965v8.037c0 0.531 0.432 0.966 0.965 0.966s0.965-0.432 0.965-0.966v-8.037c0-0.533-0.432-0.965-0.965-0.965z" }), el("path", { fill: "#4a00e0", d: "M16.946 23.702c0 0.532-0.431 0.963-0.963 0.963s-0.963-0.431-0.963-0.963c0-0.532 0.431-0.963 0.963-0.963s0.963 0.431 0.963 0.963z" })),
194
  "wp_search": el("svg", { width: 20, height: 20, viewBox: "0 0 32 32" }, el("path", { fill: "#4a00e0", d: "M20.433 1.068c-5.789 0-10.499 4.71-10.499 10.5 0 2.58 0.936 4.945 2.486 6.775l-1.187 1.187-0.618-0.618c-0.342-0.342-0.896-0.342-1.238 0l-7.542 7.54c-1.024 1.024-1.024 2.689 0 3.713s2.689 1.023 3.712 0l7.541-7.541c0.341-0.342 0.341-0.895 0-1.237l-0.619-0.62 1.187-1.187c1.83 1.55 4.196 2.486 6.776 2.486 5.791 0 10.499-4.71 10.499-10.499s-4.708-10.499-10.499-10.499zM4.311 28.927c-0.341 0.34-0.897 0.34-1.238 0s-0.341-0.896 0-1.238l4.447-4.447 1.238 1.238-4.447 4.447zM9.996 23.242l-1.238-1.238 1.238-1.238 1.238 1.238-1.238 1.238zM20.433 20.317c-4.824 0-8.749-3.924-8.749-8.749s3.925-8.75 8.749-8.75c4.826 0 8.749 3.925 8.749 8.75s-3.924 8.749-8.749 8.749z" })),
195
  "taxonomy_list": el("svg", { width: 20, height: 20, viewBox: "0 0 38 32" }, el("path", { fill: "#4a00e0", d: "M14 24.68h-2.4c-0.24-0.96-0.72-1.84-1.4-2.52l1.28-2c0.44-0.68 0.24-1.6-0.44-2.040s-1.6-0.24-2.040 0.44l-1.28 2c-0.56-0.2-1.2-0.28-1.8-0.28-3.24 0-5.88 2.64-5.88 5.88s2.68 5.84 5.92 5.84c2.72 0 5.040-1.88 5.68-4.4h2.4c0.8 0 1.48-0.64 1.48-1.48-0.040-0.8-0.68-1.44-1.52-1.44zM5.96 29.080c-1.6 0-2.92-1.32-2.92-2.92s1.32-2.92 2.92-2.92 2.92 1.32 2.92 2.92c0 1.6-1.32 2.92-2.92 2.92z" }), el("path", { fill: "#4a00e0", d: "M31.76 20.24c-0.64 0-1.24 0.12-1.8 0.28l-1.28-2c-0.44-0.68-1.36-0.88-2.040-0.44s-0.88 1.36-0.44 2.040l1.28 2c-0.64 0.72-1.16 1.56-1.4 2.52h-2.4c-0.8 0-1.48 0.64-1.48 1.48 0 0.8 0.64 1.48 1.48 1.48h2.4c0.64 2.52 2.96 4.4 5.68 4.4 3.24 0 5.88-2.64 5.88-5.88s-2.64-5.88-5.88-5.88zM31.76 29.080c-1.6 0-2.92-1.32-2.92-2.92s1.32-2.92 2.92-2.92c1.6 0 2.92 1.32 2.92 2.92 0.040 1.6-1.28 2.92-2.92 2.92z" }), el("path", { fill: "#4a00e0", d: "M24 13.92c0.68-0.44 0.88-1.36 0.44-2.040l-1.28-2c0.96-1.040 1.56-2.44 1.56-4 0-3.24-2.64-5.88-5.84-5.88s-5.88 2.64-5.88 5.88c0 1.56 0.6 2.96 1.56 4l-1.28 2c-0.44 0.68-0.24 1.6 0.44 2.040s1.6 0.24 2.040-0.44l1.28-2c0.56 0.2 1.2 0.28 1.8 0.28s1.24-0.12 1.8-0.28l1.28 2c0.48 0.68 1.4 0.88 2.080 0.44zM18.88 8.8c-1.6 0-2.92-1.32-2.92-2.92s1.32-2.92 2.92-2.92 2.92 1.32 2.92 2.92c0 1.6-1.32 2.92-2.92 2.92z" })),
196
+ "review": el("svg", { width: 20, height: 20, viewBox: "0 0 29 29" }, el("path", { fill: "#4a00e0", d: "M20.48 16.187l0.4-0.4-0.533-0.053-0.107-0.027-0.053-0.080-0.24-0.507v1.493l0.080 0.053 0.507 0.267-0.080-0.56-0.027-0.107 0.053-0.080zM21.2 15.787l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.027-0.027-0.053-0.053-0.027-0.080 0-0.027 0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053-0.027 0-0.053 0.053-0.080 0.080z" }), el("path", { fill: "#4a00e0", d: "M8.16 16.187l0.4-0.4-0.56-0.053-0.107-0.027-0.053-0.080-0.24-0.507v1.493l0.080 0.053 0.507 0.267-0.080-0.56-0.027-0.107 0.080-0.080zM8.853 15.787l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.027-0.027-0.053-0.053-0.027-0.080s0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053s-0.027 0.053-0.080 0.080z" }), el("path", { fill: "#4a00e0", d: "M7.147 16.267l-0.027 0.107-0.080 0.56 0.507-0.267 0.080-0.053v-1.493l-0.24 0.507-0.053 0.080-0.133 0.027-0.533 0.080 0.4 0.4 0.080 0.053zM6.32 15.68c0-0.027 0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053s0 0.053-0.027 0.080l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.080 0-0.080-0.053-0.080-0.080z" }), el("path", { fill: "#4a00e0", d: "M11.333 16.187l0.4-0.4-0.533-0.053-0.107-0.027-0.053-0.080-0.24-0.507v1.493l0.080 0.053 0.507 0.267-0.080-0.56-0.053-0.107 0.080-0.080zM12.053 15.787l-0.587 0.533 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.027-0.027-0.053-0.053-0.027-0.080s0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053-0.027 0.027-0.027 0.080-0.053 0.107z" }), el("path", { fill: "#4a00e0", d: "M10.32 16.267l-0.027 0.107-0.080 0.56 0.507-0.267 0.080-0.053v-1.493l-0.24 0.507-0.053 0.080-0.107 0.027-0.56 0.080 0.4 0.4 0.080 0.053zM9.493 15.68c0-0.027 0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053s0 0.053-0.027 0.080l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.080 0-0.080-0.053-0.080-0.080z" }), el("path", { fill: "#4a00e0", d: "M14.4 16.187l0.4-0.4-0.56-0.053-0.107-0.027-0.053-0.080-0.24-0.507v1.493l0.080 0.053 0.507 0.267-0.080-0.56-0.027-0.107 0.080-0.080zM15.093 15.787l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.027-0.027-0.053-0.053-0.027-0.080 0-0.027 0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053s-0.053 0.053-0.080 0.080z" }), el("path", { fill: "#4a00e0", d: "M13.36 16.267l-0.027 0.107-0.080 0.56 0.507-0.267 0.080-0.053v-1.493l-0.24 0.48-0.053 0.080-0.107 0.053-0.56 0.080 0.4 0.4 0.080 0.053zM12.56 15.68c0-0.027 0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053s0 0.053-0.027 0.080l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.080 0-0.107-0.053-0.080-0.080z" }), el("path", { fill: "#4a00e0", d: "M17.493 16.187l0.4-0.4-0.56-0.053-0.107-0.027-0.053-0.080-0.24-0.507v1.493l0.080 0.053 0.507 0.267-0.080-0.56-0.027-0.107 0.080-0.080zM18.187 15.787l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.027-0.027-0.053-0.053-0.027-0.080s0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053-0.027 0-0.027 0.053-0.080 0.080z" }), el("path", { fill: "#4a00e0", d: "M16.48 16.267l-0.027 0.107-0.080 0.56 0.507-0.267 0.080-0.053v-1.493l-0.24 0.507-0.053 0.080-0.133 0.027-0.533 0.080 0.4 0.4 0.080 0.053zM15.653 15.68c0-0.027 0.027-0.053 0.080-0.053l0.773-0.107 0.347-0.72c0.027-0.053 0.053-0.053 0.080-0.053s0.053 0.027 0.080 0.053l0.347 0.72 0.773 0.107c0.053 0 0.080 0.027 0.080 0.053s0 0.053-0.027 0.080l-0.56 0.56 0.133 0.773c0 0.027 0 0.053 0 0.080s-0.027 0.027-0.053 0.027c-0.027 0-0.027 0-0.053-0.027l-0.693-0.373-0.693 0.373c-0.027 0-0.053 0.027-0.053 0.027-0.027 0-0.053 0-0.053-0.027s-0.027-0.053 0-0.080l0.133-0.773-0.56-0.56c-0.080 0-0.080-0.053-0.080-0.080z" }), el("path", { fill: "none", stroke: "#4a00e0", linejoin: "miter", linecap: "butt", miterlimit: "10", width: "1.3333", d: "M18.8 25.733h-15.147v-21.867h25.227v14.293" }), el("path", { fill: "none", stroke: "#4a00e0", linejoin: "miter", linecap: "butt", miterlimit: "10", width: "1.3333", d: "M3.653 8.907h25.227" }), el("path", { fill: "none", stroke: "#4a00e0", linejoin: "miter", linecap: "butt", miterlimit: "10", width: "1.3333", d: "M6.187 6.4h1.68" }), el("path", { fill: "none", stroke: "#4a00e0", linejoin: "miter", linecap: "butt", miterlimit: "10", width: "1.3333", d: "M9.547 6.4h1.68" }), el("path", { fill: "#4a00e0", d: "M23.147 26.373c-2.613-0.133-4.613-2.347-4.48-4.96s2.347-4.613 4.933-4.48c2.613 0.133 4.613 2.347 4.48 4.933-0.107 2.613-2.32 4.613-4.933 4.507zM23.547 17.867c-2.080-0.107-3.867 1.52-3.947 3.6-0.107 2.080 1.493 3.867 3.6 3.947s3.867-1.52 3.947-3.6-1.52-3.84-3.6-3.947z" }), el("path", { fill: "#4a00e0", d: "M30.080 29.547c-0.133 0-0.24-0.053-0.32-0.16l-3.6-3.947c-0.187-0.187-0.16-0.507 0.027-0.667 0.187-0.187 0.507-0.16 0.667 0.027l3.6 3.947c0.187 0.187 0.16 0.48-0.027 0.667 0 0 0 0 0 0-0.107 0.080-0.213 0.133-0.347 0.133z" }), el("path", { fill: "#4a00e0", d: "M23.947 11.573h-17.040c-0.373 0-0.667 0.293-0.667 0.667s0.293 0.667 0.667 0.667h17.040c0.373 0 0.667-0.293 0.667-0.667s-0.293-0.667-0.667-0.667z" })),
197
+ "lottie": el("svg", { width: 20, height: 20, role: "img", viewBox: "0 0 120 120" }, el("rect", { x: "8.1", y: "11.8", fill: "none", stroke: "#4a00e0", strokeWidth: "10", miterlimit: "10", width: "102.9", height: "99.9" }), el("ellipse", { transform: "matrix(0.9666 -0.2562 0.2562 0.9666 -22.8642 11.8718)", fill: "none", stroke: "#4a00e0", strokeWidth: "10", miterlimit: "10", cx: "34.1", cy: "93.7", rx: "0.1", ry: "0" }), el("ellipse", { transform: "matrix(-0.9666 0.2562 -0.2562 -0.9666 174.7596 36.9626)", fill: "none", stroke: "#4a00e0", strokeWidth: "10", miterlimit: "10", cx: "85", cy: "29.9", rx: "0.1", ry: "0" }), el("path", { fill: "none", stroke: "#4a00e0", strokeWidth: "10", miterlimit: "10", d: "M84.4,29.7c0,0-18-4.9-23.4,32.2S34.1,93.7,34.1,93.7" }))
198
  };
199
 
200
  /* harmony default export */ __webpack_exports__["a"] = (UAGB_Block_Icons);
211
  "use strict";
212
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__UAGBIcon__ = __webpack_require__(/*! ./UAGBIcon */ 9);
213
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__UAGBIcon___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__UAGBIcon__);
214
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__parseIcon__ = __webpack_require__(/*! ./parseIcon */ 516);
215
+ /**
216
+ * Set inline CSS class.
217
+ * @param {object} props - The block object.
218
+ * @return {array} The inline CSS class.
219
  */
220
 
221
 
223
 
224
  function renderSVG(svg) {
225
 
226
+ svg = Object(__WEBPACK_IMPORTED_MODULE_1__parseIcon__["a" /* default */])(svg);
227
 
228
  var fontAwesome = __WEBPACK_IMPORTED_MODULE_0__UAGBIcon___default.a[svg];
229
 
245
 
246
  /***/ }),
247
  /* 3 */
248
+ /*!******************************************************!*\
249
+ !*** ./dist/blocks/uagb-controls/generateCSSUnit.js ***!
250
+ \******************************************************/
251
+ /*! exports provided: default */
252
+ /*! exports used: default */
253
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
254
+
255
+ "use strict";
256
+ function generateCSSUnit(value, unit) {
257
+
258
+ var css = "";
259
+
260
+ if (typeof value != "undefined") {
261
+ css += value + unit;
262
+ }
263
+
264
+ return css;
265
+ }
266
+
267
+ /* harmony default export */ __webpack_exports__["a"] = (generateCSSUnit);
268
+
269
+ /***/ }),
270
+ /* 4 */
271
+ /*!**************************************************!*\
272
+ !*** ./dist/blocks/uagb-controls/generateCSS.js ***!
273
+ \**************************************************/
274
+ /*! exports provided: default */
275
+ /*! exports used: default */
276
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
277
+
278
+ "use strict";
279
+ function generateCSS(selectors, id) {
280
+ var isResponsive = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
281
+ var responsiveType = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "";
282
+
283
+
284
+ var styling_css = "";
285
+ var breakpoint = "";
286
+ var gen_styling_css = "";
287
+ var res_styling_css = "";
288
+
289
+ if (responsiveType == "tablet") {
290
+ breakpoint = uagb_blocks_info.tablet_breakpoint;
291
+ } else if (responsiveType == "mobile") {
292
+ breakpoint = uagb_blocks_info.mobile_breakpoint;
293
+ }
294
+
295
+ for (var i in selectors) {
296
+
297
+ var sel = selectors[i];
298
+ var css = "";
299
+
300
+ for (var j in sel) {
301
+
302
+ var checkString = true;
303
+
304
+ if (typeof sel[j] === "string" && sel[j].length === 0) {
305
+ checkString = false;
306
+ }
307
+
308
+ if ('font-family' === j && typeof sel[j] != "undefined" && 'Default' === sel[j]) {
309
+ continue;
310
+ }
311
+
312
+ if (typeof sel[j] != "undefined" && checkString) {
313
+ if ('font-family' === j) {
314
+ css += j + ": " + "'" + sel[j] + "'" + ";";
315
+ } else {
316
+ css += j + ": " + sel[j] + ";";
317
+ }
318
+ }
319
+ }
320
+
321
+ if (css.length !== 0) {
322
+ gen_styling_css += id;
323
+ gen_styling_css += i + "{";
324
+ gen_styling_css += css;
325
+ gen_styling_css += "}";
326
+ }
327
+ }
328
+
329
+ if (isResponsive && typeof gen_styling_css !== "undefined" && gen_styling_css.length !== 0) {
330
+ res_styling_css += "@media only screen and (max-width: " + breakpoint + "px) {";
331
+ res_styling_css += gen_styling_css;
332
+ res_styling_css += "}";
333
+ }
334
+
335
+ if (isResponsive) {
336
+ return res_styling_css;
337
+ } else {
338
+ return gen_styling_css;
339
+ }
340
+ }
341
+
342
+ /* harmony default export */ __webpack_exports__["a"] = (generateCSS);
343
+
344
+ /***/ }),
345
+ /* 5 */
346
+ /*!*************************************!*\
347
+ !*** ./node_modules/react/index.js ***!
348
+ \*************************************/
349
+ /*! dynamic exports provided */
350
+ /*! all exports used */
351
+ /***/ (function(module, exports, __webpack_require__) {
352
+
353
+ "use strict";
354
+ /* WEBPACK VAR INJECTION */(function(process) {
355
+
356
+ if (process.env.NODE_ENV === 'production') {
357
+ module.exports = __webpack_require__(/*! ./cjs/react.production.min.js */ 334);
358
+ } else {
359
+ module.exports = __webpack_require__(/*! ./cjs/react.development.js */ 335);
360
+ }
361
+
362
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
363
+
364
+ /***/ }),
365
+ /* 6 */
366
  /*!*****************************************!*\
367
  !*** ./node_modules/process/browser.js ***!
368
  \*****************************************/
369
+ /*! dynamic exports provided */
370
  /*! all exports used */
371
  /***/ (function(module, exports) {
372
 
556
  process.umask = function() { return 0; };
557
 
558
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
559
  /***/ }),
560
  /* 7 */
561
  /*!********************************************!*\
566
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
567
 
568
  "use strict";
569
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__font_typography__ = __webpack_require__(/*! ./font-typography */ 251);
570
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__range_typography__ = __webpack_require__(/*! ./range-typography */ 367);
571
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__inline_styles__ = __webpack_require__(/*! ./inline-styles */ 368);
572
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 369);
573
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__editor_scss__);
574
  /* unused harmony reexport TypographyStyles */
575
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
584
 
585
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
586
 
587
+ /**
588
+ * WordPress dependencies
589
  */
590
  var __ = wp.i18n.__;
591
 
592
+ /**
593
+ * Internal dependencies
594
  */
595
 
596
 
813
  "use strict";
814
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types__ = __webpack_require__(/*! prop-types */ 15);
815
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_prop_types___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_prop_types__);
816
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_webfontloader__ = __webpack_require__(/*! webfontloader */ 370);
817
  /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_webfontloader___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_webfontloader__);
818
  var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
819
 
933
  /*!*************************************************!*\
934
  !*** ./dist/blocks/uagb-controls/UAGBIcon.json ***!
935
  \*************************************************/
936
+ /*! dynamic exports provided */
937
  /*! exports used: default */
938
  /***/ (function(module, exports) {
939
 
941
 
942
  /***/ }),
943
  /* 10 */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
944
  /*!****************************************************************************************!*\
945
  !*** ./node_modules/@fonticonpicker/react-fonticonpicker/dist/fonticonpicker.react.js ***!
946
  \****************************************************************************************/
947
+ /*! dynamic exports provided */
948
  /*! exports used: default */
949
  /***/ (function(module, exports, __webpack_require__) {
950
 
965
  * https://opensource.org/licenses/MIT
966
  *
967
  */
968
+ !function(e,t){ true?module.exports=t(__webpack_require__(/*! prop-types */ 15),__webpack_require__(/*! react */ 5),__webpack_require__(/*! classnames */ 0),__webpack_require__(/*! react-dom */ 33),__webpack_require__(/*! react-transition-group */ 508)):"function"==typeof define&&define.amd?define(["prop-types","react","classnames","react-dom","react-transition-group"],t):"object"==typeof exports?exports.FontIconPicker=t(require("prop-types"),require("react"),require("classnames"),require("react-dom"),require("react-transition-group")):e.FontIconPicker=t(e.PropTypes,e.React,e.classNames,e.ReactDOM,e.ReactTransitionGroup)}(window,function(e,t,r,n,a){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=15)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";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 a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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 o(e);if(null!==t)return void 0!==e[t]?o(e[t]):[];var r=[],n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){a(e,t,r[t])})}return e}({},e);return Object.keys(n).forEach(function(e){r=o(r).concat(o(n[e]))}),r},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 r=o(e);r.sort();var n=o(t);return n.sort(),JSON.stringify(r)===JSON.stringify(n)},t.getOffset=function(e){var t=e.getBoundingClientRect(),r=window.pageXOffset||document.documentElement.scrollLeft,n=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+n,left:t.left+r}},t.getSourceType=function(e){return null===e?"null":"object"!==n(e)||Array.isArray(e)?Array.isArray(e)?"array":n(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 r=(t=t.toLowerCase()).length,n=e.length;if(n>r)return!1;if(n===r)return e===t;e:for(var a=0,o=0;a<n;a++){for(var l=e.codePointAt(a);o<r;)if(t.codePointAt(o++)===l)continue e;return!1}return!0},t.debounce=void 0,t.debounce=function(e,t){var r;return function(){var n=this,a=arguments;clearTimeout(r),r=setTimeout(function(){return e.apply(n,a)},t)}}},function(e,t){e.exports=r},,,function(e,t){e.exports=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=u(r(1)),a=r(6),o=u(r(0)),l=u(r(3)),i=r(2);function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p=function(e){function t(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),r=!n||"object"!==c(n)&&"function"!=typeof n?d(this):n,Object.defineProperty(d(r),"syncPortalPosition",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.resetPortalPosition(),r.fixWindowOverflow()}}),Object.defineProperty(d(r),"fixWindowOverflow",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=r.props.domRef.current.offsetWidth,t=r.props.domRef.current.offsetHeight,n=window,a=n.innerWidth,o=n.pageYOffset,l=document.documentElement.clientHeight,u=(0,i.getOffset)(r.props.domRef.current),c=u.left,s=u.top,f="self"===r.state.appendRoot?r.props.domRef.current:r.state.appendRoot,d=(0,i.getOffset)(f),p=r.props.btnRef.current,h=r.props.domRef.current,y=(0,i.getOffset)(p),b=getComputedStyle(p),g=(parseInt(b.borderTop,10)||0)+(parseInt(b.borderBottom,10)||0);if(c+e>a-20){var m=y.left+r.props.btnRef.current.offsetWidth-(e+d.left);m+d.left<0&&(m=10-d.left),h.style.left="".concat(m,"px")}t+s-o>l&&y.top-t>0&&("self"===r.state.appendRoot?h.style.top="-".concat(t-g,"px"):h.style.top="".concat(y.top+g-t,"px"))}}),r.state={},r.debouncedSyncPortalPosition=(0,i.debounce)(r.syncPortalPosition,250),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,n.default.PureComponent),f(t,null,[{key:"getDerivedStateFromProps",value:function(e){var r=t.calculateAppendAndClass(e.appendRoot);return{appendRoot:r.appendRoot,portalClasses:r.portalClasses}}},{key:"calculateAppendAndClass",value:function(e){var t="self",r=(0,l.default)({"rfipdropdown--portal":!1!==e});return!1!==e&&(t=document.querySelector(e)),{portalClasses:r,appendRoot:t}}}]),f(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,r=(0,i.getOffset)(t),n=(0,i.getOffset)(this.state.appendRoot),a=t.offsetHeight;this.props.domRef.current.style.left="".concat(r.left-n.left,"px"),this.props.domRef.current.style.top="".concat(r.top+a,"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,l.default)(this.props.className,this.state.portalClasses),t=n.default.createElement("div",{className:e,ref:this.props.domRef},this.props.children);return"self"===this.state.appendRoot?t:(0,a.createPortal)(t,this.state.appendRoot)}}]),t}();Object.defineProperty(p,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:o.default.oneOfType([o.default.bool,o.default.string]),children:o.default.node.isRequired,domRef:o.default.object.isRequired,btnRef:o.default.object.isRequired,className:o.default.string.isRequired}}),Object.defineProperty(p,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:!1}});var h=p;t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(1)),a=i(r(0)),o=i(r(3)),l=r(2);function i(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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 s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function f(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var p=function(e){function t(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),r=!n||"object"!==u(n)&&"function"!=typeof n?d(this):n,Object.defineProperty(d(r),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=r.props.currentPage,o=r.state.totalPage;null!==n?"next"===n?a+=1:a-=1:a=parseInt(e.target.value,10)-1,a<0&&(a=0),a>o-1&&(a=o-1),t=a+1,null===n&&Number.isNaN(a)&&(a=0,t=""),r.setState({viewPage:t}),r.props.handleChangePage(a)}}),Object.defineProperty(d(r),"handlePageKeyBoard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||r.handleChangePage({},t)}}),Object.defineProperty(d(r),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.props.handleChangeValue(e)}}),Object.defineProperty(d(r),"handleValueKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||r.handleChangeValue(t)}}),r.state={viewPage:r.props.currentPage+1},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,n.default.PureComponent),f(t,null,[{key:"getDerivedStateFromProps",value:function(e,r){var n=t.getCategoryFilteredState(e.currentCategory,e.categories,e.icons),a=t.getCategoryFilteredState(e.currentCategory,e.categories,null===e.search?e.icons:e.search),o=t.getActiveIcons(n,a,e.currentSearch),l=o.activeIcons,i=o.activeTitles,u=e.currentPage,c=e.iconsPerPage,s={iconView:t.getCurrentViewIcons(l,c,u),titleView:t.getCurrentViewIcons(i,c,u),totalPage:Math.ceil(l.length/c)};return""!==r.viewPage&&(s.viewPage=e.currentPage+1),s}},{key:"getActiveIcons",value:function(e,t,r){var n=c(e),a=c(t);if(""===r||null===r)return{activeIcons:n,activeTitles:a};var o=[],i=[];return n.forEach(function(e,n){(0,l.fuzzySearch)(r,t[n])&&(o.push(e),i.push(t[n]))}),{activeIcons:o,activeTitles:i}}},{key:"getCategoryFilteredState",value:function(e,t,r){var n=null,a=(0,l.getSourceType)(r);if(Array.isArray(t)){if("object"!==a)throw new l.InvalidSourceException(a,"object")}else if("array"!==a)throw new l.InvalidSourceException(a,"array");return 0!==e&&Array.isArray(t)&&(n=t[e]||null),(0,l.flattenPossiblyCategorizedSource)(r,n)}},{key:"getCurrentViewIcons",value:function(e,t,r){var n=r*t,a=(r+1)*t;return e.slice(n,a)}}]),f(t,[{key:"renderPager",value:function(){var e=this;if(this.state.totalPage<1)return null;var t=this.props.currentPage>0?n.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")}},n.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Left"},n.default.createElement("i",{className:"fipicon-angle-left"}))):null,r=this.props.currentPage<this.state.totalPage-1?n.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")}},n.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Right"},n.default.createElement("i",{className:"fipicon-angle-right"}))):null;return n.default.createElement("div",{className:"rfipicons__pager"},n.default.createElement("div",{className:"rfipicons__num"},n.default.createElement("input",{value:this.state.viewPage,onChange:this.handleChangePage,className:"rfipicons__cp",type:"tel",min:1}),n.default.createElement("span",{className:"rfipicons__sp"},"/"),n.default.createElement("span",{className:"rfipicons__tp"},this.state.totalPage)),n.default.createElement("div",{className:"rfipicons__arrow"},t,r))}},{key:"renderIconView",value:function(){var e=this;return this.state.totalPage>0?this.state.iconView.map(function(t,r){var a=(0,o.default)("rfipicons__icon",{"rfipicons__icon--selected":e.props.value===t||Array.isArray(e.props.value)&&e.props.value.includes(t)});return n.default.createElement("span",{className:a,key:t,title:e.state.titleView[r]},n.default.createElement("span",{className:"rfipicons__ibox",tabIndex:0,role:"button",onClick:function(){return e.handleChangeValue(t)},onKeyDown:function(r){return e.handleValueKeyboard(r,t)}},e.props.renderIcon(t)))}):n.default.createElement("span",{className:"rfipicons__icon--error"},n.default.createElement("span",{className:"rfipicons__ibox--error"},this.props.noIconPlaceholder))}},{key:"render",value:function(){return n.default.createElement("div",{className:"rfipicons"},this.renderPager(),n.default.createElement("div",{className:"rfipicons__selector"},this.renderIconView()))}}]),t}();Object.defineProperty(p,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{categories:a.default.arrayOf(a.default.string),currentCategory:a.default.number,isMulti:a.default.bool.isRequired,icons:a.default.oneOfType([a.default.arrayOf(a.default.string),a.default.arrayOf(a.default.number),a.default.objectOf(a.default.oneOfType([a.default.arrayOf(a.default.number),a.default.arrayOf(a.default.string)]))]).isRequired,search:a.default.oneOfType([a.default.objectOf(a.default.arrayOf(a.default.string)),a.default.arrayOf(a.default.string)]),value:a.default.oneOfType([a.default.number,a.default.string,a.default.arrayOf(a.default.oneOfType([a.default.number,a.default.string]))]).isRequired,currentSearch:a.default.string.isRequired,handleChangeValue:a.default.func.isRequired,currentPage:a.default.number.isRequired,iconsPerPage:a.default.number.isRequired,handleChangePage:a.default.func.isRequired,renderIcon:a.default.func.isRequired,noIconPlaceholder:a.default.string.isRequired}}),Object.defineProperty(p,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{categories:null,currentCategory:null,search:null}});var h=p;t.default=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(1)),a=o(r(0));function o(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return n.default.createElement("div",{className:"rfipsearch"},n.default.createElement("input",{type:"text",className:"rfipsearch__input",value:e.value,onChange:e.handleSearch,placeholder:e.placeholder}))};l.propTypes={handleSearch:a.default.func.isRequired,value:a.default.string.isRequired,placeholder:a.default.string.isRequired};var i=l;t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(1)),a=o(r(0));function o(e){return e&&e.__esModule?e:{default:e}}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var u=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"!==l(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 r,a;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,n.default.PureComponent),r=t,(a=[{key:"render",value:function(){return n.default.createElement("div",{className:"rfipcategory"},n.default.createElement("select",{className:"rfipcategory__select",onChange:this.props.handleCategory,value:this.props.value},this.props.categories.map(function(e,t){return n.default.createElement("option",{className:"rfipcategory__select__option",key:e,value:t},e)})),n.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"}))}}])&&i(r.prototype,a),t}();Object.defineProperty(u,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{handleCategory:a.default.func.isRequired,value:a.default.number.isRequired,categories:a.default.arrayOf(a.default.string).isRequired}});var c=u;t.default=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=c(r(1)),a=c(r(0)),o=c(r(10)),l=c(r(9)),i=c(r(8)),u=r(2);function c(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t,r){return t&&f(e.prototype,t),r&&f(e,r),e}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var h=function(e){function t(e){var r,n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,n=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),r=!n||"object"!==s(n)&&"function"!=typeof n?p(this):n,Object.defineProperty(p(r),"handleCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=parseInt(e.target.value,10);Number.isNaN(t)&&(t=0),r.props.handleChangeCategory(t),r.props.handleChangePage(0)}}),Object.defineProperty(p(r),"handleSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target.value;r.props.handleChangeSearch(t)}}),r.state={},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,n.default.PureComponent),d(t,null,[{key:"getDerivedStateFromProps",value:function(e){var t=(0,u.getPossibleCategories)(e.icons);return null!==t&&(t=[e.allCatPlaceholder].concat(function(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(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}}}]),d(t,[{key:"render",value:function(){return n.default.createElement("div",{className:"rfipdropdown__selector"},this.props.showSearch?n.default.createElement(l.default,{handleSearch:this.handleSearch,value:this.state.searchString,placeholder:this.props.searchPlaceholder}):null,this.props.showCategory&&this.state.categories&&this.state.categories.length?n.default.createElement(o.default,{handleCategory:this.handleCategory,value:this.props.currentCategory,categories:this.state.categories}):null,n.default.createElement(i.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(h,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{isMulti:a.default.bool.isRequired,value:a.default.oneOfType([a.default.number,a.default.string,a.default.arrayOf(a.default.any)]).isRequired,currentCategory:a.default.number.isRequired,currentPage:a.default.number.isRequired,currentSearch:a.default.string.isRequired,icons:a.default.oneOfType([a.default.arrayOf(a.default.number),a.default.arrayOf(a.default.string),a.default.objectOf(a.default.oneOfType([a.default.arrayOf(a.default.number),a.default.arrayOf(a.default.string)]))]).isRequired,search:a.default.oneOfType([a.default.object,a.default.arrayOf(a.default.string)]),showCategory:a.default.bool.isRequired,showSearch:a.default.bool.isRequired,iconsPerPage:a.default.number.isRequired,allCatPlaceholder:a.default.string.isRequired,searchPlaceholder:a.default.string.isRequired,noIconPlaceholder:a.default.string.isRequired,renderIcon:a.default.func.isRequired,handleChangeValue:a.default.func.isRequired,handleChangeCategory:a.default.func.isRequired,handleChangePage:a.default.func.isRequired,handleChangeSearch:a.default.func.isRequired}}),Object.defineProperty(h,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null}});var y=h;t.default=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r(1)),a=l(r(0)),o=l(r(3));function l(e){return e&&e.__esModule?e:{default:e}}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?f(e):t}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var d=function(e){function t(){var e,r,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,l=new Array(o),i=0;i<o;i++)l[i]=arguments[i];return s(a,(r=a=s(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),Object.defineProperty(f(a),"handleClick",{configurable:!0,enumerable:!0,writable:!0,value:function(){a.props.onClick()}}),Object.defineProperty(f(a),"handleKeyDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){32!==e.keyCode&&13!==e.keyCode||a.props.onClick()}}),Object.defineProperty(f(a),"handleDelete",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){e.stopPropagation(),a.props.handleDeleteValue(t)}}),Object.defineProperty(f(a),"handleDeleteKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){32!==e.keyCode&&13!==e.keyCode||a.props.handleDeleteValue(t)}}),Object.defineProperty(f(a),"renderEmptyIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(){return n.default.createElement("span",{className:"rfipbtn__icon--empty"},a.props.noSelectedPlaceholder)}}),r))}var r,a;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,n.default.PureComponent),r=t,(a=[{key:"renderIcon",value:function(e){var t=this;return""===e||null===e||void 0===e?this.renderEmptyIcon():n.default.createElement("span",{className:"rfipbtn__icon",key:e},n.default.createElement("span",{className:"rfipbtn__elm"},this.props.renderIcon(e)),n.default.createElement("span",{className:"rfipbtn__del",onClick:function(r){return t.handleDelete(r,e)},onKeyDown:function(r){return t.handleDeleteKeyboard(r,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,o.default)("rfipbtn__button","rfipbtn__button--".concat(this.props.isOpen?"open":"close")),r=(0,o.default)(this.props.className);return n.default.createElement("div",u({className:r,ref:this.props.domRef},e),n.default.createElement("div",{className:"rfipbtn__current"},this.renderCurrentIcons()),n.default.createElement("div",{className:t},n.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"})))}}])&&c(r.prototype,a),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:a.default.string.isRequired,isOpen:a.default.bool.isRequired,onClick:a.default.func.isRequired,domRef:a.default.object.isRequired,isMulti:a.default.bool.isRequired,value:a.default.oneOfType([a.default.number,a.default.string,a.default.arrayOf(a.default.oneOfType([a.default.number,a.default.string]))]).isRequired,renderIcon:a.default.func.isRequired,handleDeleteValue:a.default.func.isRequired,noSelectedPlaceholder:a.default.string.isRequired}});var p=d;t.default=p},function(e,t){e.exports=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=f(r(1)),a=f(r(0)),o=f(r(3)),l=r(13),i=f(r(12)),u=f(r(11)),c=f(r(7)),s=r(2);function f(e){return e&&e.__esModule?e:{default:e}}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function h(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function b(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),e}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var m=[],v="",P=function(e){function t(e){var r,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this,a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),r=!a||"object"!==d(a)&&"function"!=typeof a?g(this):a,Object.defineProperty(g(r),"handleOuterClick",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target;r.isClickWithin(t)||r.closeDropdown()}}),Object.defineProperty(g(r),"handleEscapeKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e){27===e.keyCode&&r.closeDropdown()}}),Object.defineProperty(g(r),"isClickWithin",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return r.fipButtonRef.current.contains(e)||r.fipDropDownRef.current&&r.fipDropDownRef.current.contains(e)}}),Object.defineProperty(g(r),"handleToggle",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.setState(function(e){return r.handleDropDown(!e.isOpen,!1)})}}),Object.defineProperty(g(r),"closeDropdown",{configurable:!0,enumerable:!0,writable:!0,value:function(){r.handleDropDown(!1)}}),Object.defineProperty(g(r),"handleDropDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a={isOpen:e};return a.elemClass=t.getDerivedClassName("rfip",r.props.theme,r.props.isMulti,e),a.btnClass=t.getDerivedClassName("rfipbtn",r.props.theme,r.props.isMulti,e),a.ddClass=t.getDerivedClassName("rfipdropdown",r.props.theme,r.props.isMulti,e),n&&r.setState(a),a}}),Object.defineProperty(g(r),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t;r.props.isMulti?(t=p(r.state.value)).includes(e)?(t=t.filter(function(t){return t!==e})).length||(t=m):t.push(e):t=e===r.state.value?v:e,r.setState({value:t,isOpen:!r.props.closeOnSelect}),r.props.onChange(t)}}),Object.defineProperty(g(r),"handleDeleteValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var n;n=r.props.isMulti?r.state.value.filter(function(t){return t!==e}):t.getDerivedValue(n,r.props.isMulti),r.setState({value:n}),r.props.onChange(n)}}),Object.defineProperty(g(r),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.setState({currentPage:e})}}),Object.defineProperty(g(r),"handleChangeCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.setState({currentCategory:e,currentPage:0})}}),Object.defineProperty(g(r),"handleChangeSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){r.setState({currentSearch:e,currentPage:0})}}),Object.defineProperty(g(r),"resetPortalStyle",{configurable:!0,enumerable:!0,writable:!0,value:function(e){["maxHeight","paddingTop","paddingBottom"].forEach(function(t){e.style[t]=null})}}),Object.defineProperty(g(r),"handlePortalEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];r.resetPortalStyle(t);var n=getComputedStyle(t);r.fipPortalComputedStyle={height:n.height,paddingTop:n.paddingTop,paddingBottom:n.paddingBottom},["maxHeight","paddingTop","paddingBottom"].forEach(function(e){t.style[e]="0px"})}}),Object.defineProperty(g(r),"handlePortalEntering",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight=r.fipPortalComputedStyle.height,t.style.paddingTop=r.fipPortalComputedStyle.paddingTop,t.style.paddingBottom=r.fipPortalComputedStyle.paddingBottom}}),Object.defineProperty(g(r),"handlePortalEntered",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];r.resetPortalStyle(t),r.props.showSearch&&void 0===window.orientation&&-1===navigator.userAgent.indexOf("IEMobile")&&t.querySelector(".rfipsearch__input").focus()}}),Object.defineProperty(g(r),"handlePortalExit",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];r.resetPortalStyle(t);var n=getComputedStyle(t).height;t.style.maxHeight=n}}),Object.defineProperty(g(r),"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(g(r),"renderIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(e){if("function"==typeof r.props.renderFunc)return r.props.renderFunc(e);if("class"===r.props.renderUsing)return n.default.createElement("i",{className:e});var t=h({},r.props.renderUsing,r.props.convertHex?(0,s.convertToHex)(e):e);return n.default.createElement("i",t)}}),r.fipButtonRef=n.default.createRef(),r.fipDropDownRef=n.default.createRef(),r.state={currentCategory:0,currentPage:0,isOpen:!1,currentSearch:""},r.fipPortalComputedStyle=null,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,n.default.PureComponent),b(t,null,[{key:"getDerivedStateFromProps",value:function(e,r){var n={};return n.elemClass=t.getDerivedClassName("rfip",e.theme,e.isMulti,r.isOpen),n.btnClass=t.getDerivedClassName("rfipbtn",e.theme,e.isMulti,r.isOpen),n.ddClass=t.getDerivedClassName("rfipdropdown",e.theme,e.isMulti,r.isOpen),n.value=t.getDerivedValue(e.value,e.isMulti),e.showCategory||(n.currentCategory=0,n.currentPage=0),e.showSearch||(n.currentSearch="",n.currentPage=0),n}},{key:"getDerivedClassName",value:function(e,t,r,n){return(0,o.default)(e,"".concat(e,"--").concat(t),h({},"".concat(e,"--multi"),r),"".concat(e,"--").concat(n?"open":"close"))}},{key:"getDerivedValue",value:function(e,t){var r=e;return t?r=Array.isArray(e)?p(e):m:"number"!=typeof e&&"string"!=typeof e&&(r=v),r}}]),b(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 n.default.createElement("div",{className:this.state.elemClass,ref:this.fipRef},n.default.createElement(i.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}),n.default.createElement(l.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},n.default.createElement(c.default,{appendRoot:this.props.appendTo,domRef:this.fipDropDownRef,btnRef:this.fipButtonRef,className:this.state.ddClass},n.default.createElement(u.default,e))))}}]),t}();Object.defineProperty(P,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{icons:a.default.oneOfType([a.default.arrayOf(a.default.string),a.default.arrayOf(a.default.number),a.default.objectOf(a.default.oneOfType([a.default.arrayOf(a.default.number),a.default.arrayOf(a.default.string)]))]).isRequired,search:a.default.oneOfType([a.default.objectOf(a.default.arrayOf(a.default.string)),a.default.arrayOf(a.default.string)]),iconsPerPage:a.default.number,theme:a.default.string,onChange:a.default.func.isRequired,showCategory:a.default.bool,showSearch:a.default.bool,value:a.default.oneOfType([a.default.arrayOf(a.default.string),a.default.arrayOf(a.default.number),a.default.number,a.default.string]),isMulti:a.default.bool,renderUsing:a.default.string,convertHex:a.default.bool,renderFunc:a.default.func,appendTo:a.default.oneOfType([a.default.bool,a.default.string]),allCatPlaceholder:a.default.string,searchPlaceholder:a.default.string,noIconPlaceholder:a.default.string,noSelectedPlaceholder:a.default.string,closeOnSelect:a.default.bool}}),Object.defineProperty(P,"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(P,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"FontIconPicker"});var O=P;t.default=O},function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=((n=r(14))&&n.__esModule?n:{default:n}).default;t.default=a}]).default});
969
  //# sourceMappingURL=fonticonpicker.react.js.map
970
 
971
  /***/ }),
972
+ /* 11 */
973
  /*!**************************************!*\
974
  !*** ./node_modules/lodash/_root.js ***!
975
  \**************************************/
976
+ /*! dynamic exports provided */
977
  /*! all exports used */
978
  /***/ (function(module, exports, __webpack_require__) {
979
 
980
+ var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ 145);
981
 
982
  /** Detect free variable `self`. */
983
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
989
 
990
 
991
  /***/ }),
992
+ /* 12 */
993
  /*!*****************************************!*\
994
  !*** ./node_modules/lodash/isObject.js ***!
995
  \*****************************************/
996
+ /*! dynamic exports provided */
997
  /*! all exports used */
998
  /***/ (function(module, exports) {
999
 
1031
 
1032
 
1033
  /***/ }),
1034
+ /* 13 */
1035
  /*!****************************************!*\
1036
  !*** ./node_modules/lodash/isArray.js ***!
1037
  \****************************************/
1038
+ /*! dynamic exports provided */
1039
  /*! all exports used */
1040
  /***/ (function(module, exports) {
1041
 
1067
  module.exports = isArray;
1068
 
1069
 
1070
+ /***/ }),
1071
+ /* 14 */
1072
+ /*!**************************************!*\
1073
+ !*** ./node_modules/lodash/times.js ***!
1074
+ \**************************************/
1075
+ /*! dynamic exports provided */
1076
+ /*! exports used: default */
1077
+ /***/ (function(module, exports, __webpack_require__) {
1078
+
1079
+ var baseTimes = __webpack_require__(/*! ./_baseTimes */ 154),
1080
+ castFunction = __webpack_require__(/*! ./_castFunction */ 498),
1081
+ toInteger = __webpack_require__(/*! ./toInteger */ 92);
1082
+
1083
+ /** Used as references for various `Number` constants. */
1084
+ var MAX_SAFE_INTEGER = 9007199254740991;
1085
+
1086
+ /** Used as references for the maximum length and index of an array. */
1087
+ var MAX_ARRAY_LENGTH = 4294967295;
1088
+
1089
+ /* Built-in method references for those with the same name as other `lodash` methods. */
1090
+ var nativeMin = Math.min;
1091
+
1092
+ /**
1093
+ * Invokes the iteratee `n` times, returning an array of the results of
1094
+ * each invocation. The iteratee is invoked with one argument; (index).
1095
+ *
1096
+ * @static
1097
+ * @since 0.1.0
1098
+ * @memberOf _
1099
+ * @category Util
1100
+ * @param {number} n The number of times to invoke `iteratee`.
1101
+ * @param {Function} [iteratee=_.identity] The function invoked per iteration.
1102
+ * @returns {Array} Returns the array of results.
1103
+ * @example
1104
+ *
1105
+ * _.times(3, String);
1106
+ * // => ['0', '1', '2']
1107
+ *
1108
+ * _.times(4, _.constant(0));
1109
+ * // => [0, 0, 0, 0]
1110
+ */
1111
+ function times(n, iteratee) {
1112
+ n = toInteger(n);
1113
+ if (n < 1 || n > MAX_SAFE_INTEGER) {
1114
+ return [];
1115
+ }
1116
+ var index = MAX_ARRAY_LENGTH,
1117
+ length = nativeMin(n, MAX_ARRAY_LENGTH);
1118
+
1119
+ iteratee = castFunction(iteratee);
1120
+ n -= MAX_ARRAY_LENGTH;
1121
+
1122
+ var result = baseTimes(length, iteratee);
1123
+ while (++index < n) {
1124
+ iteratee(index);
1125
+ }
1126
+ return result;
1127
+ }
1128
+
1129
+ module.exports = times;
1130
+
1131
+
1132
  /***/ }),
1133
  /* 15 */
1134
  /*!******************************************!*\
1135
  !*** ./node_modules/prop-types/index.js ***!
1136
  \******************************************/
1137
+ /*! dynamic exports provided */
1138
  /*! all exports used */
1139
  /***/ (function(module, exports, __webpack_require__) {
1140
 
1146
  */
1147
 
1148
  if (process.env.NODE_ENV !== 'production') {
1149
+ var ReactIs = __webpack_require__(/*! react-is */ 175);
1150
 
1151
  // By explicitly using `prop-types` you are opting into new development behavior.
1152
  // http://fb.me/prop-types-in-prod
1153
  var throwOnDirectAccess = true;
1154
+ module.exports = __webpack_require__(/*! ./factoryWithTypeCheckers */ 355)(ReactIs.isElement, throwOnDirectAccess);
1155
  } else {
1156
  // By explicitly using `prop-types` you are opting into new production behavior.
1157
  // http://fb.me/prop-types-in-prod
1158
+ module.exports = __webpack_require__(/*! ./factoryWithThrowingShims */ 356)();
1159
  }
1160
 
1161
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
1162
 
1163
  /***/ }),
1164
  /* 16 */
1165
+ /*!*******************************************************!*\
1166
+ !*** ./node_modules/core-js/library/modules/_core.js ***!
1167
+ \*******************************************************/
1168
+ /*! dynamic exports provided */
1169
+ /*! all exports used */
1170
+ /***/ (function(module, exports) {
1171
+
1172
+ var core = module.exports = { version: '2.5.6' };
1173
+ if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
1174
+
1175
+
1176
+ /***/ }),
1177
+ /* 17 */
1178
  /*!************************************!*\
1179
  !*** ./node_modules/lodash/map.js ***!
1180
  \************************************/
1181
+ /*! dynamic exports provided */
1182
  /*! exports used: default */
1183
  /***/ (function(module, exports, __webpack_require__) {
1184
 
1185
+ var arrayMap = __webpack_require__(/*! ./_arrayMap */ 44),
1186
+ baseIteratee = __webpack_require__(/*! ./_baseIteratee */ 143),
1187
+ baseMap = __webpack_require__(/*! ./_baseMap */ 312),
1188
+ isArray = __webpack_require__(/*! ./isArray */ 13);
1189
 
1190
  /**
1191
  * Creates an array of values by running each element in `collection` thru
1238
 
1239
 
1240
  /***/ }),
1241
+ /* 18 */
1242
  /*!*********************************************!*\
1243
  !*** ./node_modules/lodash/isObjectLike.js ***!
1244
  \*********************************************/
1245
+ /*! dynamic exports provided */
1246
  /*! all exports used */
1247
  /***/ (function(module, exports) {
1248
 
1277
  module.exports = isObjectLike;
1278
 
1279
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1280
  /***/ }),
1281
  /* 19 */
1282
+ /*!**************************************!*\
1283
+ !*** ./node_modules/memize/index.js ***!
1284
+ \**************************************/
1285
+ /*! dynamic exports provided */
1286
+ /*! exports used: default */
1287
  /***/ (function(module, exports, __webpack_require__) {
1288
 
1289
+ /* WEBPACK VAR INJECTION */(function(process) {/**
1290
+ * Memize options object.
1291
+ *
1292
+ * @typedef MemizeOptions
1293
+ *
1294
+ * @property {number} [maxSize] Maximum size of the cache.
1295
+ */
1296
 
1297
  /**
1298
+ * Internal cache entry.
1299
  *
1300
+ * @typedef MemizeCacheNode
1301
+ *
1302
+ * @property {?MemizeCacheNode|undefined} [prev] Previous node.
1303
+ * @property {?MemizeCacheNode|undefined} [next] Next node.
1304
+ * @property {Array<*>} args Function arguments for cache
1305
+ * entry.
1306
+ * @property {*} val Function result.
1307
  */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1308
 
1309
  /**
1310
+ * Properties of the enhanced function for controlling cache.
1311
  *
1312
+ * @typedef MemizeMemoizedFunction
1313
+ *
1314
+ * @property {()=>void} clear Clear the cache.
1315
  */
 
 
 
 
 
 
 
 
 
 
1316
 
1317
+ /**
1318
+ * Accepts a function to be memoized, and returns a new memoized function, with
1319
+ * optional options.
1320
+ *
1321
+ * @template {Function} F
1322
+ *
1323
+ * @param {F} fn Function to memoize.
1324
+ * @param {MemizeOptions} [options] Options object.
1325
+ *
1326
+ * @return {F & MemizeMemoizedFunction} Memoized function.
1327
+ */
1328
+ function memize( fn, options ) {
1329
+ var size = 0;
1330
 
1331
+ /** @type {?MemizeCacheNode|undefined} */
1332
+ var head;
 
 
 
 
 
 
1333
 
1334
+ /** @type {?MemizeCacheNode|undefined} */
1335
+ var tail;
 
1336
 
1337
+ options = options || {};
 
 
1338
 
1339
  function memoized( /* ...args */ ) {
1340
  var node = head,
1374
 
1375
  // Adjust siblings to point to each other. If node was tail,
1376
  // this also handles new tail's empty `next` assignment.
1377
+ /** @type {MemizeCacheNode} */ ( node.prev ).next = node.next;
1378
  if ( node.next ) {
1379
  node.next.prev = node.prev;
1380
  }
1381
 
1382
  node.next = head;
1383
  node.prev = null;
1384
+ /** @type {MemizeCacheNode} */ ( head ).prev = node;
1385
  head = node;
1386
  }
1387
 
1401
  args: args,
1402
 
1403
  // Generate the result from original function
1404
+ val: fn.apply( null, args ),
1405
  };
1406
 
1407
  // Don't need to check whether node is already head, since it would
1417
  }
1418
 
1419
  // Trim tail if we're reached max size and are pending cache insertion
1420
+ if ( size === /** @type {MemizeOptions} */ ( options ).maxSize ) {
1421
+ tail = /** @type {MemizeCacheNode} */ ( tail ).prev;
1422
+ /** @type {MemizeCacheNode} */ ( tail ).next = null;
1423
  } else {
1424
  size++;
1425
  }
1443
  };
1444
  }
1445
 
1446
+ // Ignore reason: There's not a clear solution to create an intersection of
1447
+ // the function with additional properties, where the goal is to retain the
1448
+ // function signature of the incoming argument and add control properties
1449
+ // on the return value.
1450
+
1451
+ // @ts-ignore
1452
  return memoized;
1453
+ }
1454
+
1455
+ module.exports = memize;
1456
+
1457
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
1458
+
1459
+ /***/ }),
1460
+ /* 20 */
1461
+ /*!*********************************************************!*\
1462
+ !*** ./node_modules/core-js/library/modules/_global.js ***!
1463
+ \*********************************************************/
1464
+ /*! dynamic exports provided */
1465
+ /*! all exports used */
1466
+ /***/ (function(module, exports) {
1467
+
1468
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
1469
+ var global = module.exports = typeof window != 'undefined' && window.Math == Math
1470
+ ? window : typeof self != 'undefined' && self.Math == Math ? self
1471
+ // eslint-disable-next-line no-new-func
1472
+ : Function('return this')();
1473
+ if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef
1474
+
1475
+
1476
+ /***/ }),
1477
+ /* 21 */
1478
+ /*!*******************************************!*\
1479
+ !*** ./node_modules/lodash/_getNative.js ***!
1480
+ \*******************************************/
1481
+ /*! dynamic exports provided */
1482
+ /*! all exports used */
1483
+ /***/ (function(module, exports, __webpack_require__) {
1484
+
1485
+ var baseIsNative = __webpack_require__(/*! ./_baseIsNative */ 264),
1486
+ getValue = __webpack_require__(/*! ./_getValue */ 269);
1487
+
1488
+ /**
1489
+ * Gets the native function at `key` of `object`.
1490
+ *
1491
+ * @private
1492
+ * @param {Object} object The object to query.
1493
+ * @param {string} key The key of the method to get.
1494
+ * @returns {*} Returns the function if it's native, else `undefined`.
1495
+ */
1496
+ function getNative(object, key) {
1497
+ var value = getValue(object, key);
1498
+ return baseIsNative(value) ? value : undefined;
1499
+ }
1500
+
1501
+ module.exports = getNative;
1502
 
 
1503
 
1504
  /***/ }),
1505
  /* 22 */
1506
+ /*!********************************************!*\
1507
+ !*** ./node_modules/lodash/_baseGetTag.js ***!
1508
+ \********************************************/
1509
+ /*! dynamic exports provided */
1510
+ /*! all exports used */
1511
+ /***/ (function(module, exports, __webpack_require__) {
1512
+
1513
+ var Symbol = __webpack_require__(/*! ./_Symbol */ 27),
1514
+ getRawTag = __webpack_require__(/*! ./_getRawTag */ 265),
1515
+ objectToString = __webpack_require__(/*! ./_objectToString */ 266);
1516
+
1517
+ /** `Object#toString` result references. */
1518
+ var nullTag = '[object Null]',
1519
+ undefinedTag = '[object Undefined]';
1520
+
1521
+ /** Built-in value references. */
1522
+ var symToStringTag = Symbol ? Symbol.toStringTag : undefined;
1523
+
1524
+ /**
1525
+ * The base implementation of `getTag` without fallbacks for buggy environments.
1526
+ *
1527
+ * @private
1528
+ * @param {*} value The value to query.
1529
+ * @returns {string} Returns the `toStringTag`.
1530
+ */
1531
+ function baseGetTag(value) {
1532
+ if (value == null) {
1533
+ return value === undefined ? undefinedTag : nullTag;
1534
+ }
1535
+ return (symToStringTag && symToStringTag in Object(value))
1536
+ ? getRawTag(value)
1537
+ : objectToString(value);
1538
+ }
1539
+
1540
+ module.exports = baseGetTag;
1541
+
1542
+
1543
+ /***/ }),
1544
+ /* 23 */
1545
+ /*!*********************************************************!*\
1546
+ !*** ./node_modules/core-js/library/modules/_export.js ***!
1547
+ \*********************************************************/
1548
+ /*! dynamic exports provided */
1549
+ /*! all exports used */
1550
+ /***/ (function(module, exports, __webpack_require__) {
1551
+
1552
+ var global = __webpack_require__(/*! ./_global */ 20);
1553
+ var core = __webpack_require__(/*! ./_core */ 16);
1554
+ var ctx = __webpack_require__(/*! ./_ctx */ 235);
1555
+ var hide = __webpack_require__(/*! ./_hide */ 36);
1556
+ var has = __webpack_require__(/*! ./_has */ 26);
1557
+ var PROTOTYPE = 'prototype';
1558
+
1559
+ var $export = function (type, name, source) {
1560
+ var IS_FORCED = type & $export.F;
1561
+ var IS_GLOBAL = type & $export.G;
1562
+ var IS_STATIC = type & $export.S;
1563
+ var IS_PROTO = type & $export.P;
1564
+ var IS_BIND = type & $export.B;
1565
+ var IS_WRAP = type & $export.W;
1566
+ var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});
1567
+ var expProto = exports[PROTOTYPE];
1568
+ var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];
1569
+ var key, own, out;
1570
+ if (IS_GLOBAL) source = name;
1571
+ for (key in source) {
1572
+ // contains in native
1573
+ own = !IS_FORCED && target && target[key] !== undefined;
1574
+ if (own && has(exports, key)) continue;
1575
+ // export native or passed
1576
+ out = own ? target[key] : source[key];
1577
+ // prevent global pollution for namespaces
1578
+ exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]
1579
+ // bind timers to global for call from export context
1580
+ : IS_BIND && own ? ctx(out, global)
1581
+ // wrap global constructors for prevent change them in library
1582
+ : IS_WRAP && target[key] == out ? (function (C) {
1583
+ var F = function (a, b, c) {
1584
+ if (this instanceof C) {
1585
+ switch (arguments.length) {
1586
+ case 0: return new C();
1587
+ case 1: return new C(a);
1588
+ case 2: return new C(a, b);
1589
+ } return new C(a, b, c);
1590
+ } return C.apply(this, arguments);
1591
+ };
1592
+ F[PROTOTYPE] = C[PROTOTYPE];
1593
+ return F;
1594
+ // make static versions for prototype methods
1595
+ })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;
1596
+ // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%
1597
+ if (IS_PROTO) {
1598
+ (exports.virtual || (exports.virtual = {}))[key] = out;
1599
+ // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%
1600
+ if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);
1601
+ }
1602
+ }
1603
+ };
1604
+ // type bitmap
1605
+ $export.F = 1; // forced
1606
+ $export.G = 2; // global
1607
+ $export.S = 4; // static
1608
+ $export.P = 8; // proto
1609
+ $export.B = 16; // bind
1610
+ $export.W = 32; // wrap
1611
+ $export.U = 64; // safe
1612
+ $export.R = 128; // real proto method for `library`
1613
+ module.exports = $export;
1614
+
1615
+
1616
+ /***/ }),
1617
+ /* 24 */
1618
+ /*!************************************************************!*\
1619
+ !*** ./node_modules/core-js/library/modules/_object-dp.js ***!
1620
+ \************************************************************/
1621
+ /*! dynamic exports provided */
1622
+ /*! all exports used */
1623
+ /***/ (function(module, exports, __webpack_require__) {
1624
+
1625
+ var anObject = __webpack_require__(/*! ./_an-object */ 43);
1626
+ var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ 236);
1627
+ var toPrimitive = __webpack_require__(/*! ./_to-primitive */ 129);
1628
+ var dP = Object.defineProperty;
1629
+
1630
+ exports.f = __webpack_require__(/*! ./_descriptors */ 25) ? Object.defineProperty : function defineProperty(O, P, Attributes) {
1631
+ anObject(O);
1632
+ P = toPrimitive(P, true);
1633
+ anObject(Attributes);
1634
+ if (IE8_DOM_DEFINE) try {
1635
+ return dP(O, P, Attributes);
1636
+ } catch (e) { /* empty */ }
1637
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');
1638
+ if ('value' in Attributes) O[P] = Attributes.value;
1639
+ return O;
1640
+ };
1641
+
1642
+
1643
+ /***/ }),
1644
+ /* 25 */
1645
+ /*!**************************************************************!*\
1646
+ !*** ./node_modules/core-js/library/modules/_descriptors.js ***!
1647
+ \**************************************************************/
1648
+ /*! dynamic exports provided */
1649
+ /*! all exports used */
1650
+ /***/ (function(module, exports, __webpack_require__) {
1651
+
1652
+ // Thank's IE8 for his funny defineProperty
1653
+ module.exports = !__webpack_require__(/*! ./_fails */ 38)(function () {
1654
+ return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;
1655
+ });
1656
+
1657
+
1658
+ /***/ }),
1659
+ /* 26 */
1660
+ /*!******************************************************!*\
1661
+ !*** ./node_modules/core-js/library/modules/_has.js ***!
1662
+ \******************************************************/
1663
+ /*! dynamic exports provided */
1664
+ /*! all exports used */
1665
+ /***/ (function(module, exports) {
1666
+
1667
+ var hasOwnProperty = {}.hasOwnProperty;
1668
+ module.exports = function (it, key) {
1669
+ return hasOwnProperty.call(it, key);
1670
+ };
1671
+
1672
+
1673
+ /***/ }),
1674
+ /* 27 */
1675
  /*!****************************************!*\
1676
  !*** ./node_modules/lodash/_Symbol.js ***!
1677
  \****************************************/
1678
+ /*! dynamic exports provided */
1679
  /*! all exports used */
1680
  /***/ (function(module, exports, __webpack_require__) {
1681
 
1682
+ var root = __webpack_require__(/*! ./_root */ 11);
1683
 
1684
  /** Built-in value references. */
1685
  var Symbol = root.Symbol;
1688
 
1689
 
1690
  /***/ }),
1691
+ /* 28 */
1692
  /*!*************************************!*\
1693
  !*** ./node_modules/lodash/keys.js ***!
1694
  \*************************************/
1695
+ /*! dynamic exports provided */
1696
  /*! all exports used */
1697
  /***/ (function(module, exports, __webpack_require__) {
1698
 
1699
+ var arrayLikeKeys = __webpack_require__(/*! ./_arrayLikeKeys */ 153),
1700
+ baseKeys = __webpack_require__(/*! ./_baseKeys */ 296),
1701
+ isArrayLike = __webpack_require__(/*! ./isArrayLike */ 29);
1702
 
1703
  /**
1704
  * Creates an array of the own enumerable property names of `object`.
1736
 
1737
 
1738
  /***/ }),
1739
+ /* 29 */
1740
  /*!********************************************!*\
1741
  !*** ./node_modules/lodash/isArrayLike.js ***!
1742
  \********************************************/
1743
+ /*! dynamic exports provided */
1744
  /*! all exports used */
1745
  /***/ (function(module, exports, __webpack_require__) {
1746
 
1747
+ var isFunction = __webpack_require__(/*! ./isFunction */ 144),
1748
+ isLength = __webpack_require__(/*! ./isLength */ 81);
1749
 
1750
  /**
1751
  * Checks if `value` is array-like. A value is considered array-like if it's
1780
 
1781
 
1782
  /***/ }),
1783
+ /* 30 */
1784
  /*!******************************************!*\
1785
  !*** ./node_modules/lodash/_castPath.js ***!
1786
  \******************************************/
1787
+ /*! dynamic exports provided */
1788
  /*! all exports used */
1789
  /***/ (function(module, exports, __webpack_require__) {
1790
 
1791
+ var isArray = __webpack_require__(/*! ./isArray */ 13),
1792
+ isKey = __webpack_require__(/*! ./_isKey */ 82),
1793
+ stringToPath = __webpack_require__(/*! ./_stringToPath */ 304),
1794
+ toString = __webpack_require__(/*! ./toString */ 160);
1795
 
1796
  /**
1797
  * Casts `value` to a path array if it's not one.
1812
 
1813
 
1814
  /***/ }),
1815
+ /* 31 */
1816
  /*!***************************************!*\
1817
  !*** ./node_modules/lodash/_toKey.js ***!
1818
  \***************************************/
1819
+ /*! dynamic exports provided */
1820
  /*! all exports used */
1821
  /***/ (function(module, exports, __webpack_require__) {
1822
 
1823
+ var isSymbol = __webpack_require__(/*! ./isSymbol */ 56);
1824
 
1825
  /** Used as references for various `Number` constants. */
1826
  var INFINITY = 1 / 0;
1844
 
1845
 
1846
  /***/ }),
1847
+ /* 32 */
1848
  /*!*********************************************!*\
1849
  !*** ./node_modules/object-assign/index.js ***!
1850
  \*********************************************/
1851
+ /*! dynamic exports provided */
1852
  /*! all exports used */
1853
  /***/ (function(module, exports, __webpack_require__) {
1854
 
1946
 
1947
 
1948
  /***/ }),
1949
+ /* 33 */
1950
+ /*!*****************************************!*\
1951
+ !*** ./node_modules/react-dom/index.js ***!
1952
+ \*****************************************/
1953
+ /*! dynamic exports provided */
1954
+ /*! all exports used */
1955
+ /***/ (function(module, exports, __webpack_require__) {
1956
+
1957
+ "use strict";
1958
+ /* WEBPACK VAR INJECTION */(function(process) {
1959
+
1960
+ function checkDCE() {
1961
+ /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
1962
+ if (
1963
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||
1964
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'
1965
+ ) {
1966
+ return;
1967
+ }
1968
+ if (process.env.NODE_ENV !== 'production') {
1969
+ // This branch is unreachable because this function is only called
1970
+ // in production, but the condition is true only in development.
1971
+ // Therefore if the branch is still here, dead code elimination wasn't
1972
+ // properly applied.
1973
+ // Don't change the message. React DevTools relies on it. Also make sure
1974
+ // this message doesn't occur elsewhere in this function, or it will cause
1975
+ // a false positive.
1976
+ throw new Error('^_^');
1977
+ }
1978
+ try {
1979
+ // Verify that the code above has been dead code eliminated (DCE'd).
1980
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);
1981
+ } catch (err) {
1982
+ // DevTools shouldn't crash React, no matter what.
1983
+ // We should still report in case we break this code.
1984
+ console.error(err);
1985
+ }
1986
+ }
1987
+
1988
+ if (process.env.NODE_ENV === 'production') {
1989
+ // DCE check should happen before ReactDOM bundle executes so that
1990
+ // DevTools can report bad minification during injection.
1991
+ checkDCE();
1992
+ module.exports = __webpack_require__(/*! ./cjs/react-dom.production.min.js */ 343);
1993
+ } else {
1994
+ module.exports = __webpack_require__(/*! ./cjs/react-dom.development.js */ 346);
1995
+ }
1996
+
1997
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
1998
+
1999
+ /***/ }),
2000
+ /* 34 */
2001
+ /*!*************************************!*\
2002
+ !*** ./src/blocks/post/function.js ***!
2003
+ \*************************************/
2004
+ /*! exports provided: useInnerBlockLayoutContext, InnerBlockLayoutContextProvider, DEFAULT_POST_LIST_LAYOUT, renderPostLayout, registeredBlockComponents, registerBlockComponent, getBlockMap, getRegisteredBlockComponents, getPostLayoutConfig */
2005
+ /*! exports used: DEFAULT_POST_LIST_LAYOUT, InnerBlockLayoutContextProvider, getBlockMap, getPostLayoutConfig, renderPostLayout */
2006
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
2007
+
2008
+ "use strict";
2009
+ /* unused harmony export useInnerBlockLayoutContext */
2010
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return InnerBlockLayoutContextProvider; });
2011
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return DEFAULT_POST_LIST_LAYOUT; });
2012
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "e", function() { return renderPostLayout; });
2013
+ /* unused harmony export registeredBlockComponents */
2014
+ /* unused harmony export registerBlockComponent */
2015
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return getBlockMap; });
2016
+ /* unused harmony export getRegisteredBlockComponents */
2017
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return getPostLayoutConfig; });
2018
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__post_title_edit__ = __webpack_require__(/*! ./post-title/edit */ 180);
2019
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__post_meta_edit__ = __webpack_require__(/*! ./post-meta/edit */ 181);
2020
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__post_image_edit__ = __webpack_require__(/*! ./post-image/edit */ 182);
2021
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__post_excerpt_edit__ = __webpack_require__(/*! ./post-excerpt/edit */ 183);
2022
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__post_button_edit__ = __webpack_require__(/*! ./post-button/edit */ 185);
2023
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
2024
+
2025
+ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
2026
+
2027
+ var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();
2028
+
2029
+ /**
2030
+ * External dependencies
2031
+ */
2032
+
2033
+
2034
+
2035
+
2036
+
2037
+ var _wp$element = wp.element,
2038
+ createContext = _wp$element.createContext,
2039
+ useContext = _wp$element.useContext,
2040
+ Suspense = _wp$element.Suspense;
2041
+
2042
+ var InnerBlockLayoutContext = createContext({
2043
+ parentName: '',
2044
+ parentClassName: '',
2045
+ isLoading: false
2046
+ });
2047
+
2048
+ var useInnerBlockLayoutContext = function useInnerBlockLayoutContext() {
2049
+ return useContext(InnerBlockLayoutContext);
2050
+ };
2051
+
2052
+ var InnerBlockLayoutContextProvider = function InnerBlockLayoutContextProvider(_ref) {
2053
+ var _ref$parentName = _ref.parentName,
2054
+ parentName = _ref$parentName === undefined ? '' : _ref$parentName,
2055
+ _ref$parentClassName = _ref.parentClassName,
2056
+ parentClassName = _ref$parentClassName === undefined ? '' : _ref$parentClassName,
2057
+ children = _ref.children;
2058
+
2059
+ var contextValue = {
2060
+ parentName: parentName,
2061
+ parentClassName: parentClassName
2062
+ };
2063
+ return wp.element.createElement(
2064
+ InnerBlockLayoutContext.Provider,
2065
+ { value: contextValue },
2066
+ children
2067
+ );
2068
+ };
2069
+
2070
+ var DEFAULT_POST_LIST_LAYOUT = [['uagb/post-image'], ['uagb/post-title'], ['uagb/post-meta'], ['uagb/post-excerpt'], ['uagb/post-button']];
2071
+ var renderPostLayout = function renderPostLayout(blockName, post, layoutConfig, attributes, categoriesList) {
2072
+ if (!layoutConfig) {
2073
+ return;
2074
+ }
2075
+
2076
+ var blockMap = getBlockMap(blockName);
2077
+
2078
+ return layoutConfig.map(function (_ref2, index) {
2079
+ var _ref3 = _slicedToArray(_ref2, 2),
2080
+ name = _ref3[0],
2081
+ _ref3$ = _ref3[1],
2082
+ props = _ref3$ === undefined ? {} : _ref3$;
2083
+
2084
+ var children = [];
2085
+
2086
+ if (!!props.children && props.children.length > 0) {
2087
+ children = renderPostLayout(blockName, post, props.children, attributes, categoriesList);
2088
+ }
2089
+
2090
+ var LayoutComponent = blockMap[name];
2091
+ if (!LayoutComponent) {
2092
+ return null;
2093
+ }
2094
+
2095
+ return wp.element.createElement(
2096
+ Suspense,
2097
+ {
2098
+ fallback: wp.element.createElement('div', { className: 'wc-block-placeholder' })
2099
+ },
2100
+ wp.element.createElement(LayoutComponent, _extends({}, props, {
2101
+ post: post,
2102
+ attributes: attributes,
2103
+ categoriesList: categoriesList
2104
+ }))
2105
+ );
2106
+ });
2107
+ };
2108
+ var registeredBlockComponents = {};
2109
+
2110
+
2111
+
2112
+ function registerBlockComponent(options) {
2113
+ if (!options.context) {
2114
+ options.context = 'any';
2115
+ }
2116
+ assertOption(options, 'context', 'string');
2117
+ assertOption(options, 'blockName', 'string');
2118
+ assertBlockComponent(options, 'component');
2119
+
2120
+ var context = options.context,
2121
+ blockName = options.blockName,
2122
+ component = options.component;
2123
+
2124
+
2125
+ if (!registeredBlockComponents[context]) {
2126
+ registeredBlockComponents[context] = {};
2127
+ }
2128
+
2129
+ registeredBlockComponents[context][blockName] = component;
2130
+ }
2131
+
2132
+ var assertBlockComponent = function assertBlockComponent(options, optionName) {
2133
+ if (options[optionName]) {
2134
+ if (typeof options[optionName] === 'function') {
2135
+ return;
2136
+ }
2137
+ if (options[optionName].$$typeof && options[optionName].$$typeof === Symbol.for('react.lazy')) {
2138
+ return;
2139
+ }
2140
+ }
2141
+ throw new Error('Incorrect value for the ' + optionName + ' argument when registering a block component. Component must be a valid React Element or Lazy callback.');
2142
+ };
2143
+
2144
+ var assertOption = function assertOption(options, optionName, expectedType) {
2145
+ var actualType = _typeof(options[optionName]);
2146
+ if (actualType !== expectedType) {
2147
+ throw new Error('Incorrect value for the ' + optionName + ' argument when registering a block component. It was a ' + actualType + ', but must be a ' + expectedType + '.');
2148
+ }
2149
+ };
2150
+
2151
+ registerBlockComponent({
2152
+ blockName: 'uagb/post-title',
2153
+ component: __WEBPACK_IMPORTED_MODULE_0__post_title_edit__["a" /* PostTitle */]
2154
+ });
2155
+
2156
+ registerBlockComponent({
2157
+ blockName: 'uagb/post-image',
2158
+ component: __WEBPACK_IMPORTED_MODULE_2__post_image_edit__["a" /* PostImage */]
2159
+ });
2160
+
2161
+ registerBlockComponent({
2162
+ blockName: 'uagb/post-meta',
2163
+ component: __WEBPACK_IMPORTED_MODULE_1__post_meta_edit__["a" /* PostMeta */]
2164
+ });
2165
+
2166
+ registerBlockComponent({
2167
+ blockName: 'uagb/post-excerpt',
2168
+ component: __WEBPACK_IMPORTED_MODULE_3__post_excerpt_edit__["a" /* PostExcerpt */]
2169
+ });
2170
+
2171
+ registerBlockComponent({
2172
+ blockName: 'uagb/post-button',
2173
+ component: __WEBPACK_IMPORTED_MODULE_4__post_button_edit__["a" /* PostButton */]
2174
+ });
2175
+
2176
+ var getBlockMap = function getBlockMap(blockName) {
2177
+ return getRegisteredBlockComponents(blockName);
2178
+ };
2179
+
2180
+ function getRegisteredBlockComponents(context) {
2181
+
2182
+ var parentInnerBlocks = _typeof(registeredBlockComponents[context]) === 'object' && Object.keys(registeredBlockComponents[context]).length > 0 ? registeredBlockComponents[context] : {};
2183
+
2184
+ return _extends({}, parentInnerBlocks, registeredBlockComponents.any);
2185
+ }
2186
+
2187
+ /**
2188
+ * Converts innerblocks to a list of layout configs.
2189
+ *
2190
+ * @param {Object[]} innerBlocks Inner block components.
2191
+ */
2192
+ var getPostLayoutConfig = function getPostLayoutConfig(innerBlocks) {
2193
+ if (!innerBlocks || innerBlocks.length === 0) {
2194
+ return [];
2195
+ }
2196
+
2197
+ return innerBlocks.map(function (block) {
2198
+ return [block.name, _extends({}, block.attributes, {
2199
+ post: undefined,
2200
+ children: block.innerBlocks.length > 0 ? getPostLayoutConfig(block.innerBlocks) : []
2201
+ })];
2202
+ });
2203
+ };
2204
+
2205
+ /***/ }),
2206
+ /* 35 */
2207
  /*!********************************************!*\
2208
  !*** ./node_modules/lodash/_copyObject.js ***!
2209
  \********************************************/
2210
+ /*! dynamic exports provided */
2211
  /*! all exports used */
2212
  /***/ (function(module, exports, __webpack_require__) {
2213
 
2214
+ var assignValue = __webpack_require__(/*! ./_assignValue */ 63),
2215
+ baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ 186);
2216
 
2217
  /**
2218
  * Copies properties of `source` to `object`.
2254
 
2255
 
2256
  /***/ }),
2257
+ /* 36 */
2258
+ /*!*******************************************************!*\
2259
+ !*** ./node_modules/core-js/library/modules/_hide.js ***!
2260
+ \*******************************************************/
2261
+ /*! dynamic exports provided */
2262
+ /*! all exports used */
2263
+ /***/ (function(module, exports, __webpack_require__) {
2264
+
2265
+ var dP = __webpack_require__(/*! ./_object-dp */ 24);
2266
+ var createDesc = __webpack_require__(/*! ./_property-desc */ 67);
2267
+ module.exports = __webpack_require__(/*! ./_descriptors */ 25) ? function (object, key, value) {
2268
+ return dP.f(object, key, createDesc(1, value));
2269
+ } : function (object, key, value) {
2270
+ object[key] = value;
2271
+ return object;
2272
+ };
2273
+
2274
+
2275
+ /***/ }),
2276
+ /* 37 */
2277
+ /*!************************************************************!*\
2278
+ !*** ./node_modules/core-js/library/modules/_is-object.js ***!
2279
+ \************************************************************/
2280
+ /*! dynamic exports provided */
2281
+ /*! all exports used */
2282
+ /***/ (function(module, exports) {
2283
+
2284
+ module.exports = function (it) {
2285
+ return typeof it === 'object' ? it !== null : typeof it === 'function';
2286
+ };
2287
+
2288
+
2289
+ /***/ }),
2290
+ /* 38 */
2291
+ /*!********************************************************!*\
2292
+ !*** ./node_modules/core-js/library/modules/_fails.js ***!
2293
+ \********************************************************/
2294
+ /*! dynamic exports provided */
2295
+ /*! all exports used */
2296
+ /***/ (function(module, exports) {
2297
+
2298
+ module.exports = function (exec) {
2299
+ try {
2300
+ return !!exec();
2301
+ } catch (e) {
2302
+ return true;
2303
+ }
2304
+ };
2305
+
2306
+
2307
+ /***/ }),
2308
+ /* 39 */
2309
+ /*!*************************************************************!*\
2310
+ !*** ./node_modules/core-js/library/modules/_to-iobject.js ***!
2311
+ \*************************************************************/
2312
+ /*! dynamic exports provided */
2313
+ /*! all exports used */
2314
+ /***/ (function(module, exports, __webpack_require__) {
2315
+
2316
+ // to indexed object, toObject with fallback for non-array-like ES3 strings
2317
+ var IObject = __webpack_require__(/*! ./_iobject */ 239);
2318
+ var defined = __webpack_require__(/*! ./_defined */ 130);
2319
+ module.exports = function (it) {
2320
+ return IObject(defined(it));
2321
+ };
2322
+
2323
+
2324
+ /***/ }),
2325
+ /* 40 */
2326
+ /*!******************************************************!*\
2327
+ !*** ./node_modules/core-js/library/modules/_wks.js ***!
2328
+ \******************************************************/
2329
+ /*! dynamic exports provided */
2330
+ /*! all exports used */
2331
+ /***/ (function(module, exports, __webpack_require__) {
2332
+
2333
+ var store = __webpack_require__(/*! ./_shared */ 133)('wks');
2334
+ var uid = __webpack_require__(/*! ./_uid */ 70);
2335
+ var Symbol = __webpack_require__(/*! ./_global */ 20).Symbol;
2336
+ var USE_SYMBOL = typeof Symbol == 'function';
2337
+
2338
+ var $exports = module.exports = function (name) {
2339
+ return store[name] || (store[name] =
2340
+ USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));
2341
+ };
2342
+
2343
+ $exports.store = store;
2344
+
2345
+
2346
+ /***/ }),
2347
+ /* 41 */
2348
  /*!***********************************************************!*\
2349
  !*** ./node_modules/@emotion/css/dist/css.browser.esm.js ***!
2350
  \***********************************************************/
2353
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
2354
 
2355
  "use strict";
2356
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_serialize__ = __webpack_require__(/*! @emotion/serialize */ 87);
2357
 
2358
 
2359
  function css() {
2361
  args[_key] = arguments[_key];
2362
  }
2363
 
2364
+ return Object(__WEBPACK_IMPORTED_MODULE_0__emotion_serialize__["a" /* serializeStyles */])(args);
2365
  }
2366
 
2367
  /* harmony default export */ __webpack_exports__["a"] = (css);
2368
 
2369
 
2370
  /***/ }),
2371
+ /* 42 */
2372
+ /*!****************************************************************!*\
2373
+ !*** ./node_modules/react-slick/lib/utils/innerSliderUtils.js ***!
2374
+ \****************************************************************/
2375
+ /*! dynamic exports provided */
2376
+ /*! all exports used */
2377
+ /***/ (function(module, exports, __webpack_require__) {
2378
 
2379
  "use strict";
 
 
 
 
 
2380
 
2381
 
2382
+ Object.defineProperty(exports, "__esModule", {
2383
+ value: true
2384
+ });
2385
+ exports.clamp = clamp;
2386
+ exports.canUseDOM = exports.slidesOnLeft = exports.slidesOnRight = exports.siblingDirection = exports.getTotalSlides = exports.getPostClones = exports.getPreClones = exports.getTrackLeft = exports.getTrackAnimateCSS = exports.getTrackCSS = exports.checkSpecKeys = exports.getSlideCount = exports.checkNavigable = exports.getNavigableIndexes = exports.swipeEnd = exports.swipeMove = exports.swipeStart = exports.keyHandler = exports.changeSlide = exports.slideHandler = exports.initializedState = exports.extractObject = exports.canGoNext = exports.getSwipeDirection = exports.getHeight = exports.getWidth = exports.lazySlidesOnRight = exports.lazySlidesOnLeft = exports.lazyEndIndex = exports.lazyStartIndex = exports.getRequiredLazySlides = exports.getOnDemandLazySlides = void 0;
2387
 
2388
+ var _react = _interopRequireDefault(__webpack_require__(/*! react */ 5));
2389
 
2390
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2391
 
2392
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; }
2393
 
2394
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(source, true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(source).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
2395
 
2396
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2397
 
2398
+ function clamp(number, lowerBound, upperBound) {
2399
+ return Math.max(lowerBound, Math.min(number, upperBound));
2400
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2401
 
2402
+ var getOnDemandLazySlides = function getOnDemandLazySlides(spec) {
2403
+ var onDemandSlides = [];
2404
+ var startIndex = lazyStartIndex(spec);
2405
+ var endIndex = lazyEndIndex(spec);
 
 
 
 
 
 
 
2406
 
2407
+ for (var slideIndex = startIndex; slideIndex < endIndex; slideIndex++) {
2408
+ if (spec.lazyLoadedList.indexOf(slideIndex) < 0) {
2409
+ onDemandSlides.push(slideIndex);
2410
+ }
2411
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2412
 
2413
+ return onDemandSlides;
2414
+ }; // return list of slides that need to be present
 
 
 
 
 
 
 
 
 
 
 
 
2415
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2416
 
2417
+ exports.getOnDemandLazySlides = getOnDemandLazySlides;
 
 
 
 
 
 
 
 
 
 
 
 
 
2418
 
2419
+ var getRequiredLazySlides = function getRequiredLazySlides(spec) {
2420
+ var requiredSlides = [];
2421
+ var startIndex = lazyStartIndex(spec);
2422
+ var endIndex = lazyEndIndex(spec);
2423
 
2424
+ for (var slideIndex = startIndex; slideIndex < endIndex; slideIndex++) {
2425
+ requiredSlides.push(slideIndex);
2426
+ }
2427
 
2428
+ return requiredSlides;
2429
+ }; // startIndex that needs to be present
2430
 
 
2431
 
2432
+ exports.getRequiredLazySlides = getRequiredLazySlides;
 
2433
 
2434
+ var lazyStartIndex = function lazyStartIndex(spec) {
2435
+ return spec.currentSlide - lazySlidesOnLeft(spec);
2436
+ };
2437
 
2438
+ exports.lazyStartIndex = lazyStartIndex;
 
 
 
 
 
 
 
2439
 
2440
+ var lazyEndIndex = function lazyEndIndex(spec) {
2441
+ return spec.currentSlide + lazySlidesOnRight(spec);
2442
+ };
 
2443
 
2444
+ exports.lazyEndIndex = lazyEndIndex;
2445
 
2446
+ var lazySlidesOnLeft = function lazySlidesOnLeft(spec) {
2447
+ return spec.centerMode ? Math.floor(spec.slidesToShow / 2) + (parseInt(spec.centerPadding) > 0 ? 1 : 0) : 0;
2448
+ };
 
 
 
 
2449
 
2450
+ exports.lazySlidesOnLeft = lazySlidesOnLeft;
 
 
 
 
 
 
 
 
2451
 
2452
+ var lazySlidesOnRight = function lazySlidesOnRight(spec) {
2453
+ return spec.centerMode ? Math.floor((spec.slidesToShow - 1) / 2) + 1 + (parseInt(spec.centerPadding) > 0 ? 1 : 0) : spec.slidesToShow;
2454
+ }; // get width of an element
2455
 
 
2456
 
2457
+ exports.lazySlidesOnRight = lazySlidesOnRight;
 
 
 
 
 
 
 
2458
 
2459
+ var getWidth = function getWidth(elem) {
2460
+ return elem && elem.offsetWidth || 0;
2461
+ };
 
 
 
 
2462
 
2463
+ exports.getWidth = getWidth;
 
 
 
 
 
 
 
 
 
 
 
2464
 
2465
+ var getHeight = function getHeight(elem) {
2466
+ return elem && elem.offsetHeight || 0;
2467
+ };
2468
 
2469
+ exports.getHeight = getHeight;
2470
 
2471
+ var getSwipeDirection = function getSwipeDirection(touchObject) {
2472
+ var verticalSwiping = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
2473
+ var xDist, yDist, r, swipeAngle;
2474
+ xDist = touchObject.startX - touchObject.curX;
2475
+ yDist = touchObject.startY - touchObject.curY;
2476
+ r = Math.atan2(yDist, xDist);
2477
+ swipeAngle = Math.round(r * 180 / Math.PI);
 
2478
 
2479
+ if (swipeAngle < 0) {
2480
+ swipeAngle = 360 - Math.abs(swipeAngle);
2481
+ }
 
2482
 
2483
+ if (swipeAngle <= 45 && swipeAngle >= 0 || swipeAngle <= 360 && swipeAngle >= 315) {
2484
+ return "left";
2485
+ }
2486
 
2487
+ if (swipeAngle >= 135 && swipeAngle <= 225) {
2488
+ return "right";
2489
+ }
2490
 
2491
+ if (verticalSwiping === true) {
2492
+ if (swipeAngle >= 35 && swipeAngle <= 135) {
2493
+ return "up";
2494
+ } else {
2495
+ return "down";
2496
+ }
2497
+ }
 
 
 
 
2498
 
2499
+ return "vertical";
2500
+ }; // whether or not we can go next
2501
 
 
2502
 
2503
+ exports.getSwipeDirection = getSwipeDirection;
 
 
 
 
 
 
 
2504
 
2505
+ var canGoNext = function canGoNext(spec) {
2506
+ var canGo = true;
 
 
 
 
 
 
 
 
 
 
 
2507
 
2508
+ if (!spec.infinite) {
2509
+ if (spec.centerMode && spec.currentSlide >= spec.slideCount - 1) {
2510
+ canGo = false;
2511
+ } else if (spec.slideCount <= spec.slidesToShow || spec.currentSlide >= spec.slideCount - spec.slidesToShow) {
2512
+ canGo = false;
2513
+ }
2514
  }
 
 
2515
 
2516
+ return canGo;
2517
+ }; // given an object and a list of keys, return new object with given keys
 
 
 
 
 
 
 
 
 
2518
 
 
 
 
 
 
2519
 
2520
+ exports.canGoNext = canGoNext;
 
 
 
 
 
 
 
 
 
2521
 
2522
+ var extractObject = function extractObject(spec, keys) {
2523
+ var newObject = {};
2524
+ keys.forEach(function (key) {
2525
+ return newObject[key] = spec[key];
2526
+ });
2527
+ return newObject;
2528
+ }; // get initialized state
2529
 
 
 
 
 
 
 
2530
 
2531
+ exports.extractObject = extractObject;
2532
 
2533
+ var initializedState = function initializedState(spec) {
2534
+ // spec also contains listRef, trackRef
2535
+ var slideCount = _react["default"].Children.count(spec.children);
2536
 
2537
+ var listNode = spec.listRef;
2538
+ var listWidth = Math.ceil(getWidth(listNode));
2539
+ var trackNode = spec.trackRef && spec.trackRef.node;
2540
+ var trackWidth = Math.ceil(getWidth(trackNode));
2541
+ var slideWidth;
 
 
 
2542
 
2543
+ if (!spec.vertical) {
2544
+ var centerPaddingAdj = spec.centerMode && parseInt(spec.centerPadding) * 2;
2545
 
2546
+ if (typeof spec.centerPadding === "string" && spec.centerPadding.slice(-1) === "%") {
2547
+ centerPaddingAdj *= listWidth / 100;
 
 
 
 
 
 
 
 
 
 
 
2548
  }
2549
+
2550
+ slideWidth = Math.ceil((listWidth - centerPaddingAdj) / spec.slidesToShow);
2551
+ } else {
2552
+ slideWidth = listWidth;
2553
  }
 
 
2554
 
2555
+ var slideHeight = listNode && getHeight(listNode.querySelector('[data-index="0"]'));
2556
+ var listHeight = slideHeight * spec.slidesToShow;
2557
+ var currentSlide = spec.currentSlide === undefined ? spec.initialSlide : spec.currentSlide;
2558
 
2559
+ if (spec.rtl && spec.currentSlide === undefined) {
2560
+ currentSlide = slideCount - 1 - spec.initialSlide;
2561
+ }
2562
 
2563
+ var lazyLoadedList = spec.lazyLoadedList || [];
2564
+ var slidesToLoad = getOnDemandLazySlides(_objectSpread({}, spec, {
2565
+ currentSlide: currentSlide,
2566
+ lazyLoadedList: lazyLoadedList
2567
+ }));
2568
+ lazyLoadedList.concat(slidesToLoad);
2569
+ var state = {
2570
+ slideCount: slideCount,
2571
+ slideWidth: slideWidth,
2572
+ listWidth: listWidth,
2573
+ trackWidth: trackWidth,
2574
+ currentSlide: currentSlide,
2575
+ slideHeight: slideHeight,
2576
+ listHeight: listHeight,
2577
+ lazyLoadedList: lazyLoadedList
2578
+ };
2579
 
2580
+ if (spec.autoplaying === null && spec.autoplay) {
2581
+ state["autoplaying"] = "playing";
2582
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2583
 
2584
+ return state;
2585
+ };
2586
 
2587
+ exports.initializedState = initializedState;
2588
 
2589
+ var slideHandler = function slideHandler(spec) {
2590
+ var waitForAnimate = spec.waitForAnimate,
2591
+ animating = spec.animating,
2592
+ fade = spec.fade,
2593
+ infinite = spec.infinite,
2594
+ index = spec.index,
2595
+ slideCount = spec.slideCount,
2596
+ lazyLoadedList = spec.lazyLoadedList,
2597
+ lazyLoad = spec.lazyLoad,
2598
+ currentSlide = spec.currentSlide,
2599
+ centerMode = spec.centerMode,
2600
+ slidesToScroll = spec.slidesToScroll,
2601
+ slidesToShow = spec.slidesToShow,
2602
+ useCSS = spec.useCSS;
2603
+ if (waitForAnimate && animating) return {};
2604
+ var animationSlide = index,
2605
+ finalSlide,
2606
+ animationLeft,
2607
+ finalLeft;
2608
+ var state = {},
2609
+ nextState = {};
2610
+ var targetSlide = infinite ? index : clamp(index, 0, slideCount - 1);
2611
 
2612
+ if (fade) {
2613
+ if (!infinite && (index < 0 || index >= slideCount)) return {};
2614
 
2615
+ if (index < 0) {
2616
+ animationSlide = index + slideCount;
2617
+ } else if (index >= slideCount) {
2618
+ animationSlide = index - slideCount;
2619
+ }
2620
 
2621
+ if (lazyLoad && lazyLoadedList.indexOf(animationSlide) < 0) {
2622
+ lazyLoadedList.push(animationSlide);
2623
+ }
2624
 
2625
+ state = {
2626
+ animating: true,
2627
+ currentSlide: animationSlide,
2628
+ lazyLoadedList: lazyLoadedList
2629
+ };
2630
+ nextState = {
2631
+ animating: false
2632
+ };
2633
+ } else {
2634
+ finalSlide = animationSlide;
2635
 
2636
+ if (animationSlide < 0) {
2637
+ finalSlide = animationSlide + slideCount;
2638
+ if (!infinite) finalSlide = 0;else if (slideCount % slidesToScroll !== 0) finalSlide = slideCount - slideCount % slidesToScroll;
2639
+ } else if (!canGoNext(spec) && animationSlide > currentSlide) {
2640
+ animationSlide = finalSlide = currentSlide;
2641
+ } else if (centerMode && animationSlide >= slideCount) {
2642
+ animationSlide = infinite ? slideCount : slideCount - 1;
2643
+ finalSlide = infinite ? 0 : slideCount - 1;
2644
+ } else if (animationSlide >= slideCount) {
2645
+ finalSlide = animationSlide - slideCount;
2646
+ if (!infinite) finalSlide = slideCount - slidesToShow;else if (slideCount % slidesToScroll !== 0) finalSlide = 0;
2647
+ }
2648
 
2649
+ if (!infinite && animationSlide + slidesToShow >= slideCount) {
2650
+ finalSlide = slideCount - slidesToShow;
2651
+ }
2652
 
2653
+ animationLeft = getTrackLeft(_objectSpread({}, spec, {
2654
+ slideIndex: animationSlide
2655
+ }));
2656
+ finalLeft = getTrackLeft(_objectSpread({}, spec, {
2657
+ slideIndex: finalSlide
2658
+ }));
 
 
 
 
 
 
 
 
2659
 
2660
+ if (!infinite) {
2661
+ if (animationLeft === finalLeft) animationSlide = finalSlide;
2662
+ animationLeft = finalLeft;
2663
+ }
2664
 
2665
+ lazyLoad && lazyLoadedList.concat(getOnDemandLazySlides(_objectSpread({}, spec, {
2666
+ currentSlide: animationSlide
2667
+ })));
2668
 
2669
+ if (!useCSS) {
2670
+ state = {
2671
+ currentSlide: finalSlide,
2672
+ trackStyle: getTrackCSS(_objectSpread({}, spec, {
2673
+ left: finalLeft
2674
+ })),
2675
+ lazyLoadedList: lazyLoadedList,
2676
+ targetSlide: targetSlide
2677
+ };
2678
+ } else {
2679
+ state = {
2680
+ animating: true,
2681
+ currentSlide: finalSlide,
2682
+ trackStyle: getTrackAnimateCSS(_objectSpread({}, spec, {
2683
+ left: animationLeft
2684
+ })),
2685
+ lazyLoadedList: lazyLoadedList,
2686
+ targetSlide: targetSlide
2687
+ };
2688
+ nextState = {
2689
+ animating: false,
2690
+ currentSlide: finalSlide,
2691
+ trackStyle: getTrackCSS(_objectSpread({}, spec, {
2692
+ left: finalLeft
2693
+ })),
2694
+ swipeLeft: null,
2695
+ targetSlide: targetSlide
2696
+ };
2697
+ }
2698
+ }
2699
 
2700
+ return {
2701
+ state: state,
2702
+ nextState: nextState
2703
+ };
2704
+ };
2705
 
2706
+ exports.slideHandler = slideHandler;
 
2707
 
2708
+ var changeSlide = function changeSlide(spec, options) {
2709
+ var indexOffset, previousInt, slideOffset, unevenOffset, targetSlide;
2710
+ var slidesToScroll = spec.slidesToScroll,
2711
+ slidesToShow = spec.slidesToShow,
2712
+ slideCount = spec.slideCount,
2713
+ currentSlide = spec.currentSlide,
2714
+ previousTargetSlide = spec.targetSlide,
2715
+ lazyLoad = spec.lazyLoad,
2716
+ infinite = spec.infinite;
2717
+ unevenOffset = slideCount % slidesToScroll !== 0;
2718
+ indexOffset = unevenOffset ? 0 : (slideCount - currentSlide) % slidesToScroll;
2719
 
2720
+ if (options.message === "previous") {
2721
+ slideOffset = indexOffset === 0 ? slidesToScroll : slidesToShow - indexOffset;
2722
+ targetSlide = currentSlide - slideOffset;
 
 
2723
 
2724
+ if (lazyLoad && !infinite) {
2725
+ previousInt = currentSlide - slideOffset;
2726
+ targetSlide = previousInt === -1 ? slideCount - 1 : previousInt;
2727
+ }
2728
 
2729
+ if (!infinite) {
2730
+ targetSlide = previousTargetSlide - slidesToScroll;
2731
+ }
2732
+ } else if (options.message === "next") {
2733
+ slideOffset = indexOffset === 0 ? slidesToScroll : indexOffset;
2734
+ targetSlide = currentSlide + slideOffset;
2735
 
2736
+ if (lazyLoad && !infinite) {
2737
+ targetSlide = (currentSlide + slidesToScroll) % slideCount + indexOffset;
2738
+ }
 
 
 
 
 
2739
 
2740
+ if (!infinite) {
2741
+ targetSlide = previousTargetSlide + slidesToScroll;
2742
+ }
2743
+ } else if (options.message === "dots") {
2744
+ // Click on dots
2745
+ targetSlide = options.index * options.slidesToScroll;
2746
+ } else if (options.message === "children") {
2747
+ // Click on the slides
2748
+ targetSlide = options.index;
 
 
 
2749
 
2750
+ if (infinite) {
2751
+ var direction = siblingDirection(_objectSpread({}, spec, {
2752
+ targetSlide: targetSlide
2753
+ }));
2754
 
2755
+ if (targetSlide > options.currentSlide && direction === "left") {
2756
+ targetSlide = targetSlide - slideCount;
2757
+ } else if (targetSlide < options.currentSlide && direction === "right") {
2758
+ targetSlide = targetSlide + slideCount;
2759
+ }
2760
+ }
2761
+ } else if (options.message === "index") {
2762
+ targetSlide = Number(options.index);
2763
+ }
2764
 
2765
+ return targetSlide;
2766
+ };
 
 
 
 
 
 
2767
 
2768
+ exports.changeSlide = changeSlide;
2769
 
2770
+ var keyHandler = function keyHandler(e, accessibility, rtl) {
2771
+ if (e.target.tagName.match("TEXTAREA|INPUT|SELECT") || !accessibility) return "";
2772
+ if (e.keyCode === 37) return rtl ? "next" : "previous";
2773
+ if (e.keyCode === 39) return rtl ? "previous" : "next";
2774
+ return "";
2775
+ };
2776
 
2777
+ exports.keyHandler = keyHandler;
 
2778
 
2779
+ var swipeStart = function swipeStart(e, swipe, draggable) {
2780
+ e.target.tagName === "IMG" && e.preventDefault();
2781
+ if (!swipe || !draggable && e.type.indexOf("mouse") !== -1) return "";
2782
+ return {
2783
+ dragging: true,
2784
+ touchObject: {
2785
+ startX: e.touches ? e.touches[0].pageX : e.clientX,
2786
+ startY: e.touches ? e.touches[0].pageY : e.clientY,
2787
+ curX: e.touches ? e.touches[0].pageX : e.clientX,
2788
+ curY: e.touches ? e.touches[0].pageY : e.clientY
2789
+ }
2790
+ };
2791
+ };
2792
 
2793
+ exports.swipeStart = swipeStart;
 
2794
 
2795
+ var swipeMove = function swipeMove(e, spec) {
2796
+ // spec also contains, trackRef and slideIndex
2797
+ var scrolling = spec.scrolling,
2798
+ animating = spec.animating,
2799
+ vertical = spec.vertical,
2800
+ swipeToSlide = spec.swipeToSlide,
2801
+ verticalSwiping = spec.verticalSwiping,
2802
+ rtl = spec.rtl,
2803
+ currentSlide = spec.currentSlide,
2804
+ edgeFriction = spec.edgeFriction,
2805
+ edgeDragged = spec.edgeDragged,
2806
+ onEdge = spec.onEdge,
2807
+ swiped = spec.swiped,
2808
+ swiping = spec.swiping,
2809
+ slideCount = spec.slideCount,
2810
+ slidesToScroll = spec.slidesToScroll,
2811
+ infinite = spec.infinite,
2812
+ touchObject = spec.touchObject,
2813
+ swipeEvent = spec.swipeEvent,
2814
+ listHeight = spec.listHeight,
2815
+ listWidth = spec.listWidth;
2816
+ if (scrolling) return;
2817
+ if (animating) return e.preventDefault();
2818
+ if (vertical && swipeToSlide && verticalSwiping) e.preventDefault();
2819
+ var swipeLeft,
2820
+ state = {};
2821
+ var curLeft = getTrackLeft(spec);
2822
+ touchObject.curX = e.touches ? e.touches[0].pageX : e.clientX;
2823
+ touchObject.curY = e.touches ? e.touches[0].pageY : e.clientY;
2824
+ touchObject.swipeLength = Math.round(Math.sqrt(Math.pow(touchObject.curX - touchObject.startX, 2)));
2825
+ var verticalSwipeLength = Math.round(Math.sqrt(Math.pow(touchObject.curY - touchObject.startY, 2)));
2826
 
2827
+ if (!verticalSwiping && !swiping && verticalSwipeLength > 10) {
2828
+ return {
2829
+ scrolling: true
2830
+ };
2831
+ }
2832
 
2833
+ if (verticalSwiping) touchObject.swipeLength = verticalSwipeLength;
2834
+ var positionOffset = (!rtl ? 1 : -1) * (touchObject.curX > touchObject.startX ? 1 : -1);
2835
+ if (verticalSwiping) positionOffset = touchObject.curY > touchObject.startY ? 1 : -1;
2836
+ var dotCount = Math.ceil(slideCount / slidesToScroll);
2837
+ var swipeDirection = getSwipeDirection(spec.touchObject, verticalSwiping);
2838
+ var touchSwipeLength = touchObject.swipeLength;
2839
 
2840
+ if (!infinite) {
2841
+ if (currentSlide === 0 && swipeDirection === "right" || currentSlide + 1 >= dotCount && swipeDirection === "left" || !canGoNext(spec) && swipeDirection === "left") {
2842
+ touchSwipeLength = touchObject.swipeLength * edgeFriction;
2843
 
2844
+ if (edgeDragged === false && onEdge) {
2845
+ onEdge(swipeDirection);
2846
+ state["edgeDragged"] = true;
2847
+ }
2848
+ }
2849
+ }
2850
 
2851
+ if (!swiped && swipeEvent) {
2852
+ swipeEvent(swipeDirection);
2853
+ state["swiped"] = true;
2854
+ }
 
 
 
 
2855
 
2856
+ if (!vertical) {
2857
+ if (!rtl) {
2858
+ swipeLeft = curLeft + touchSwipeLength * positionOffset;
2859
+ } else {
2860
+ swipeLeft = curLeft - touchSwipeLength * positionOffset;
2861
+ }
2862
+ } else {
2863
+ swipeLeft = curLeft + touchSwipeLength * (listHeight / listWidth) * positionOffset;
2864
+ }
2865
 
2866
+ if (verticalSwiping) {
2867
+ swipeLeft = curLeft + touchSwipeLength * positionOffset;
2868
+ }
 
 
 
 
 
 
 
2869
 
2870
+ state = _objectSpread({}, state, {
2871
+ touchObject: touchObject,
2872
+ swipeLeft: swipeLeft,
2873
+ trackStyle: getTrackCSS(_objectSpread({}, spec, {
2874
+ left: swipeLeft
2875
+ }))
2876
+ });
2877
 
2878
+ if (Math.abs(touchObject.curX - touchObject.startX) < Math.abs(touchObject.curY - touchObject.startY) * 0.8) {
2879
+ return state;
2880
+ }
2881
 
2882
+ if (touchObject.swipeLength > 10) {
2883
+ state["swiping"] = true;
2884
+ e.preventDefault();
2885
+ }
2886
 
2887
+ return state;
2888
+ };
 
 
 
 
 
 
2889
 
2890
+ exports.swipeMove = swipeMove;
 
 
 
 
 
 
2891
 
2892
+ var swipeEnd = function swipeEnd(e, spec) {
2893
+ var dragging = spec.dragging,
2894
+ swipe = spec.swipe,
2895
+ touchObject = spec.touchObject,
2896
+ listWidth = spec.listWidth,
2897
+ touchThreshold = spec.touchThreshold,
2898
+ verticalSwiping = spec.verticalSwiping,
2899
+ listHeight = spec.listHeight,
2900
+ swipeToSlide = spec.swipeToSlide,
2901
+ scrolling = spec.scrolling,
2902
+ onSwipe = spec.onSwipe,
2903
+ targetSlide = spec.targetSlide,
2904
+ currentSlide = spec.currentSlide,
2905
+ infinite = spec.infinite;
2906
 
2907
+ if (!dragging) {
2908
+ if (swipe) e.preventDefault();
2909
+ return {};
2910
+ }
2911
 
2912
+ var minSwipe = verticalSwiping ? listHeight / touchThreshold : listWidth / touchThreshold;
2913
+ var swipeDirection = getSwipeDirection(touchObject, verticalSwiping); // reset the state of touch related state variables.
 
 
 
 
2914
 
2915
+ var state = {
2916
+ dragging: false,
2917
+ edgeDragged: false,
2918
+ scrolling: false,
2919
+ swiping: false,
2920
+ swiped: false,
2921
+ swipeLeft: null,
2922
+ touchObject: {}
2923
+ };
2924
 
2925
+ if (scrolling) {
2926
+ return state;
2927
+ }
 
 
 
 
 
 
 
2928
 
2929
+ if (!touchObject.swipeLength) {
2930
+ return state;
2931
+ }
 
 
 
 
 
 
 
 
 
2932
 
2933
+ if (touchObject.swipeLength > minSwipe) {
2934
+ e.preventDefault();
2935
 
2936
+ if (onSwipe) {
2937
+ onSwipe(swipeDirection);
2938
+ }
2939
 
2940
+ var slideCount, newSlide;
2941
+ var activeSlide = infinite ? currentSlide : targetSlide;
 
 
 
 
 
 
2942
 
2943
+ switch (swipeDirection) {
2944
+ case "left":
2945
+ case "up":
2946
+ newSlide = activeSlide + getSlideCount(spec);
2947
+ slideCount = swipeToSlide ? checkNavigable(spec, newSlide) : newSlide;
2948
+ state["currentDirection"] = 0;
2949
+ break;
2950
 
2951
+ case "right":
2952
+ case "down":
2953
+ newSlide = activeSlide - getSlideCount(spec);
2954
+ slideCount = swipeToSlide ? checkNavigable(spec, newSlide) : newSlide;
2955
+ state["currentDirection"] = 1;
2956
+ break;
 
 
 
 
2957
 
2958
+ default:
2959
+ slideCount = activeSlide;
2960
+ }
2961
 
2962
+ state["triggerSlideHandler"] = slideCount;
2963
+ } else {
2964
+ // Adjust the track back to it's original position.
2965
+ var currentLeft = getTrackLeft(spec);
2966
+ state["trackStyle"] = getTrackAnimateCSS(_objectSpread({}, spec, {
2967
+ left: currentLeft
2968
+ }));
2969
  }
 
 
 
 
2970
 
2971
+ return state;
2972
+ };
2973
 
2974
+ exports.swipeEnd = swipeEnd;
 
 
 
 
 
 
 
2975
 
2976
+ var getNavigableIndexes = function getNavigableIndexes(spec) {
2977
+ var max = spec.infinite ? spec.slideCount * 2 : spec.slideCount;
2978
+ var breakpoint = spec.infinite ? spec.slidesToShow * -1 : 0;
2979
+ var counter = spec.infinite ? spec.slidesToShow * -1 : 0;
2980
+ var indexes = [];
2981
 
2982
+ while (breakpoint < max) {
2983
+ indexes.push(breakpoint);
2984
+ breakpoint = counter + spec.slidesToScroll;
2985
+ counter += Math.min(spec.slidesToScroll, spec.slidesToShow);
2986
+ }
2987
 
2988
+ return indexes;
2989
+ };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2990
 
2991
+ exports.getNavigableIndexes = getNavigableIndexes;
2992
 
2993
+ var checkNavigable = function checkNavigable(spec, index) {
2994
+ var navigables = getNavigableIndexes(spec);
2995
+ var prevNavigable = 0;
2996
 
2997
+ if (index > navigables[navigables.length - 1]) {
2998
+ index = navigables[navigables.length - 1];
2999
+ } else {
3000
+ for (var n in navigables) {
3001
+ if (index < navigables[n]) {
3002
+ index = prevNavigable;
3003
+ break;
3004
+ }
3005
 
3006
+ prevNavigable = navigables[n];
3007
+ }
3008
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3009
 
3010
+ return index;
3011
+ };
3012
 
3013
+ exports.checkNavigable = checkNavigable;
3014
 
3015
+ var getSlideCount = function getSlideCount(spec) {
3016
+ var centerOffset = spec.centerMode ? spec.slideWidth * Math.floor(spec.slidesToShow / 2) : 0;
 
 
 
 
 
 
3017
 
3018
+ if (spec.swipeToSlide) {
3019
+ var swipedSlide;
3020
+ var slickList = spec.listRef;
3021
+ var slides = slickList.querySelectorAll(".slick-slide");
3022
+ Array.from(slides).every(function (slide) {
3023
+ if (!spec.vertical) {
3024
+ if (slide.offsetLeft - centerOffset + getWidth(slide) / 2 > spec.swipeLeft * -1) {
3025
+ swipedSlide = slide;
3026
+ return false;
3027
+ }
3028
+ } else {
3029
+ if (slide.offsetTop + getHeight(slide) / 2 > spec.swipeLeft * -1) {
3030
+ swipedSlide = slide;
3031
+ return false;
3032
+ }
3033
+ }
3034
 
3035
+ return true;
3036
+ });
3037
 
3038
+ if (!swipedSlide) {
3039
+ return 0;
3040
+ }
3041
 
3042
+ var currentIndex = spec.rtl === true ? spec.slideCount - spec.currentSlide : spec.currentSlide;
3043
+ var slidesTraversed = Math.abs(swipedSlide.dataset.index - currentIndex) || 1;
3044
+ return slidesTraversed;
3045
+ } else {
3046
+ return spec.slidesToScroll;
 
 
 
 
 
 
 
 
 
 
3047
  }
3048
+ };
3049
 
3050
+ exports.getSlideCount = getSlideCount;
3051
 
3052
+ var checkSpecKeys = function checkSpecKeys(spec, keysArray) {
3053
+ return keysArray.reduce(function (value, key) {
3054
+ return value && spec.hasOwnProperty(key);
3055
+ }, true) ? null : console.error("Keys Missing:", spec);
3056
+ };
3057
 
3058
+ exports.checkSpecKeys = checkSpecKeys;
 
 
 
 
 
 
 
3059
 
3060
+ var getTrackCSS = function getTrackCSS(spec) {
3061
+ checkSpecKeys(spec, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth"]);
3062
+ var trackWidth, trackHeight;
3063
+ var trackChildren = spec.slideCount + 2 * spec.slidesToShow;
3064
 
3065
+ if (!spec.vertical) {
3066
+ trackWidth = getTotalSlides(spec) * spec.slideWidth;
3067
+ } else {
3068
+ trackHeight = trackChildren * spec.slideHeight;
3069
+ }
3070
 
3071
+ var style = {
3072
+ opacity: 1,
3073
+ transition: "",
3074
+ WebkitTransition: ""
3075
+ };
3076
 
3077
+ if (spec.useTransform) {
3078
+ var WebkitTransform = !spec.vertical ? "translate3d(" + spec.left + "px, 0px, 0px)" : "translate3d(0px, " + spec.left + "px, 0px)";
3079
+ var transform = !spec.vertical ? "translate3d(" + spec.left + "px, 0px, 0px)" : "translate3d(0px, " + spec.left + "px, 0px)";
3080
+ var msTransform = !spec.vertical ? "translateX(" + spec.left + "px)" : "translateY(" + spec.left + "px)";
3081
+ style = _objectSpread({}, style, {
3082
+ WebkitTransform: WebkitTransform,
3083
+ transform: transform,
3084
+ msTransform: msTransform
3085
+ });
3086
+ } else {
3087
+ if (spec.vertical) {
3088
+ style["top"] = spec.left;
3089
+ } else {
3090
+ style["left"] = spec.left;
3091
+ }
3092
+ }
3093
 
3094
+ if (spec.fade) style = {
3095
+ opacity: 1
3096
+ };
3097
+ if (trackWidth) style.width = trackWidth;
3098
+ if (trackHeight) style.height = trackHeight; // Fallback for IE8
3099
 
3100
+ if (window && !window.addEventListener && window.attachEvent) {
3101
+ if (!spec.vertical) {
3102
+ style.marginLeft = spec.left + "px";
3103
+ } else {
3104
+ style.marginTop = spec.left + "px";
3105
+ }
3106
+ }
3107
 
3108
+ return style;
3109
+ };
3110
 
3111
+ exports.getTrackCSS = getTrackCSS;
3112
 
3113
+ var getTrackAnimateCSS = function getTrackAnimateCSS(spec) {
3114
+ checkSpecKeys(spec, ["left", "variableWidth", "slideCount", "slidesToShow", "slideWidth", "speed", "cssEase"]);
3115
+ var style = getTrackCSS(spec); // useCSS is true by default so it can be undefined
3116
 
3117
+ if (spec.useTransform) {
3118
+ style.WebkitTransition = "-webkit-transform " + spec.speed + "ms " + spec.cssEase;
3119
+ style.transition = "transform " + spec.speed + "ms " + spec.cssEase;
3120
+ } else {
3121
+ if (spec.vertical) {
3122
+ style.transition = "top " + spec.speed + "ms " + spec.cssEase;
3123
+ } else {
3124
+ style.transition = "left " + spec.speed + "ms " + spec.cssEase;
3125
  }
3126
  }
 
 
3127
 
3128
+ return style;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3129
  };
3130
 
3131
+ exports.getTrackAnimateCSS = getTrackAnimateCSS;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3132
 
3133
+ var getTrackLeft = function getTrackLeft(spec) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3134
  if (spec.unslick) {
3135
  return 0;
3136
  }
3137
 
3138
  checkSpecKeys(spec, ["slideIndex", "trackRef", "infinite", "centerMode", "slideCount", "slidesToShow", "slidesToScroll", "slideWidth", "listWidth", "variableWidth", "slideHeight"]);
 
3139
  var slideIndex = spec.slideIndex,
3140
  trackRef = spec.trackRef,
3141
  infinite = spec.infinite,
3149
  slideHeight = spec.slideHeight,
3150
  fade = spec.fade,
3151
  vertical = spec.vertical;
 
 
3152
  var slideOffset = 0;
3153
  var targetLeft;
3154
  var targetSlide;
3159
  }
3160
 
3161
  var slidesToOffset = 0;
3162
+
3163
  if (infinite) {
3164
  slidesToOffset = -getPreClones(spec); // bring active slide to the beginning of visual area
3165
  // if next scroll doesn't have enough children, just reach till the end of original slides instead of shifting slidesToScroll children
3166
+
3167
  if (slideCount % slidesToScroll !== 0 && slideIndex + slidesToScroll > slideCount) {
3168
  slidesToOffset = -(slideIndex > slideCount ? slidesToShow - (slideIndex - slideCount) : slideCount % slidesToScroll);
3169
+ } // shift current slide to center of the frame
3170
+
3171
+
3172
  if (centerMode) {
3173
  slidesToOffset += parseInt(slidesToShow / 2);
3174
  }
3176
  if (slideCount % slidesToScroll !== 0 && slideIndex + slidesToScroll > slideCount) {
3177
  slidesToOffset = slidesToShow - slideCount % slidesToScroll;
3178
  }
3179
+
3180
  if (centerMode) {
3181
  slidesToOffset = parseInt(slidesToShow / 2);
3182
  }
3183
  }
3184
+
3185
  slideOffset = slidesToOffset * slideWidth;
3186
  verticalOffset = slidesToOffset * slideHeight;
3187
 
3193
 
3194
  if (variableWidth === true) {
3195
  var targetSlideIndex;
3196
+ var trackElem = trackRef && trackRef.node;
3197
  targetSlideIndex = slideIndex + getPreClones(spec);
3198
  targetSlide = trackElem && trackElem.childNodes[targetSlideIndex];
3199
  targetLeft = targetSlide ? targetSlide.offsetLeft * -1 : 0;
3200
+
3201
  if (centerMode === true) {
3202
  targetSlideIndex = infinite ? slideIndex + getPreClones(spec) : slideIndex;
3203
  targetSlide = trackElem && trackElem.children[targetSlideIndex];
3204
  targetLeft = 0;
3205
+
3206
  for (var slide = 0; slide < targetSlideIndex; slide++) {
3207
  targetLeft -= trackElem && trackElem.children[slide] && trackElem.children[slide].offsetWidth;
3208
  }
3209
+
3210
  targetLeft -= parseInt(spec.centerPadding);
3211
  targetLeft += targetSlide && (listWidth - targetSlide.offsetWidth) / 2;
3212
  }
3215
  return targetLeft;
3216
  };
3217
 
3218
+ exports.getTrackLeft = getTrackLeft;
3219
+
3220
+ var getPreClones = function getPreClones(spec) {
3221
  if (spec.unslick || !spec.infinite) {
3222
  return 0;
3223
  }
3224
+
3225
  if (spec.variableWidth) {
3226
  return spec.slideCount;
3227
  }
3228
+
3229
  return spec.slidesToShow + (spec.centerMode ? 1 : 0);
3230
  };
3231
 
3232
+ exports.getPreClones = getPreClones;
3233
+
3234
+ var getPostClones = function getPostClones(spec) {
3235
  if (spec.unslick || !spec.infinite) {
3236
  return 0;
3237
  }
3238
+
3239
  return spec.slideCount;
3240
  };
3241
 
3242
+ exports.getPostClones = getPostClones;
3243
+
3244
+ var getTotalSlides = function getTotalSlides(spec) {
3245
  return spec.slideCount === 1 ? 1 : getPreClones(spec) + spec.slideCount + getPostClones(spec);
3246
  };
3247
+
3248
+ exports.getTotalSlides = getTotalSlides;
3249
+
3250
+ var siblingDirection = function siblingDirection(spec) {
3251
  if (spec.targetSlide > spec.currentSlide) {
3252
  if (spec.targetSlide > spec.currentSlide + slidesOnRight(spec)) {
3253
  return "left";
3254
  }
3255
+
3256
  return "right";
3257
  } else {
3258
  if (spec.targetSlide < spec.currentSlide - slidesOnLeft(spec)) {
3259
  return "right";
3260
  }
3261
+
3262
  return "left";
3263
  }
3264
  };
3265
 
3266
+ exports.siblingDirection = siblingDirection;
3267
+
3268
+ var slidesOnRight = function slidesOnRight(_ref) {
3269
  var slidesToShow = _ref.slidesToShow,
3270
  centerMode = _ref.centerMode,
3271
  rtl = _ref.rtl,
3278
  if (rtl && slidesToShow % 2 === 0) right += 1;
3279
  return right;
3280
  }
3281
+
3282
  if (rtl) {
3283
  return 0;
3284
  }
3285
+
3286
  return slidesToShow - 1;
3287
  };
3288
 
3289
+ exports.slidesOnRight = slidesOnRight;
3290
+
3291
+ var slidesOnLeft = function slidesOnLeft(_ref2) {
3292
  var slidesToShow = _ref2.slidesToShow,
3293
  centerMode = _ref2.centerMode,
3294
  rtl = _ref2.rtl,
3301
  if (!rtl && slidesToShow % 2 === 0) left += 1;
3302
  return left;
3303
  }
3304
+
3305
  if (rtl) {
3306
  return slidesToShow - 1;
3307
  }
3308
+
3309
  return 0;
3310
  };
3311
 
3312
+ exports.slidesOnLeft = slidesOnLeft;
3313
+
3314
+ var canUseDOM = function canUseDOM() {
3315
  return !!(typeof window !== "undefined" && window.document && window.document.createElement);
3316
  };
3317
 
3318
+ exports.canUseDOM = canUseDOM;
3319
+
3320
  /***/ }),
3321
+ /* 43 */
3322
+ /*!************************************************************!*\
3323
+ !*** ./node_modules/core-js/library/modules/_an-object.js ***!
3324
+ \************************************************************/
3325
+ /*! dynamic exports provided */
3326
+ /*! all exports used */
3327
+ /***/ (function(module, exports, __webpack_require__) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3328
 
3329
+ var isObject = __webpack_require__(/*! ./_is-object */ 37);
3330
+ module.exports = function (it) {
3331
+ if (!isObject(it)) throw TypeError(it + ' is not an object!');
3332
+ return it;
3333
+ };
3334
 
 
3335
 
3336
  /***/ }),
3337
+ /* 44 */
3338
  /*!******************************************!*\
3339
+ !*** ./node_modules/lodash/_arrayMap.js ***!
3340
  \******************************************/
3341
+ /*! dynamic exports provided */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3342
  /*! all exports used */
3343
+ /***/ (function(module, exports) {
 
 
 
 
 
 
 
3344
 
3345
  /**
3346
+ * A specialized version of `_.map` for arrays without support for iteratee
3347
+ * shorthands.
3348
  *
3349
  * @private
3350
+ * @param {Array} [array] The array to iterate over.
3351
+ * @param {Function} iteratee The function invoked per iteration.
3352
+ * @returns {Array} Returns the new mapped array.
3353
  */
3354
+ function arrayMap(array, iteratee) {
3355
+ var index = -1,
3356
+ length = array == null ? 0 : array.length,
3357
+ result = Array(length);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3358
 
3359
+ while (++index < length) {
3360
+ result[index] = iteratee(array[index], index, array);
3361
+ }
3362
+ return result;
3363
+ }
 
 
 
3364
 
3365
+ module.exports = arrayMap;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3366
 
3367
 
3368
  /***/ }),
3369
+ /* 45 */
3370
+ /*!*******************************************!*\
3371
+ !*** ./node_modules/lodash/_ListCache.js ***!
3372
+ \*******************************************/
3373
+ /*! dynamic exports provided */
3374
  /*! all exports used */
3375
  /***/ (function(module, exports, __webpack_require__) {
3376
 
3377
+ var listCacheClear = __webpack_require__(/*! ./_listCacheClear */ 254),
3378
+ listCacheDelete = __webpack_require__(/*! ./_listCacheDelete */ 255),
3379
+ listCacheGet = __webpack_require__(/*! ./_listCacheGet */ 256),
3380
+ listCacheHas = __webpack_require__(/*! ./_listCacheHas */ 257),
3381
+ listCacheSet = __webpack_require__(/*! ./_listCacheSet */ 258);
3382
 
3383
  /**
3384
+ * Creates an list cache object.
3385
  *
3386
  * @private
3387
  * @constructor
3388
  * @param {Array} [entries] The key-value pairs to cache.
3389
  */
3390
+ function ListCache(entries) {
3391
  var index = -1,
3392
  length = entries == null ? 0 : entries.length;
3393
 
3398
  }
3399
  }
3400
 
3401
+ // Add methods to `ListCache`.
3402
+ ListCache.prototype.clear = listCacheClear;
3403
+ ListCache.prototype['delete'] = listCacheDelete;
3404
+ ListCache.prototype.get = listCacheGet;
3405
+ ListCache.prototype.has = listCacheHas;
3406
+ ListCache.prototype.set = listCacheSet;
3407
 
3408
+ module.exports = ListCache;
3409
 
3410
 
3411
  /***/ }),
3412
+ /* 46 */
3413
+ /*!**********************************************!*\
3414
+ !*** ./node_modules/lodash/_assocIndexOf.js ***!
3415
+ \**********************************************/
3416
+ /*! dynamic exports provided */
3417
  /*! all exports used */
3418
+ /***/ (function(module, exports, __webpack_require__) {
3419
+
3420
+ var eq = __webpack_require__(/*! ./eq */ 47);
3421
 
3422
  /**
3423
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
3424
  *
3425
  * @private
3426
+ * @param {Array} array The array to inspect.
3427
+ * @param {*} key The key to search for.
3428
+ * @returns {number} Returns the index of the matched value, else `-1`.
3429
  */
3430
+ function assocIndexOf(array, key) {
3431
+ var length = array.length;
3432
+ while (length--) {
3433
+ if (eq(array[length][0], key)) {
3434
+ return length;
3435
+ }
 
3436
  }
3437
+ return -1;
3438
  }
3439
 
3440
+ module.exports = assocIndexOf;
3441
 
3442
 
3443
  /***/ }),
3444
+ /* 47 */
3445
+ /*!***********************************!*\
3446
+ !*** ./node_modules/lodash/eq.js ***!
3447
+ \***********************************/
3448
+ /*! dynamic exports provided */
3449
  /*! all exports used */
3450
+ /***/ (function(module, exports) {
 
 
 
 
 
 
 
 
 
 
 
 
3451
 
3452
  /**
3453
+ * Performs a
3454
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
3455
+ * comparison between two values to determine if they are equivalent.
3456
  *
3457
+ * @static
3458
+ * @memberOf _
3459
+ * @since 4.0.0
3460
+ * @category Lang
3461
+ * @param {*} value The value to compare.
3462
+ * @param {*} other The other value to compare.
3463
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
3464
+ * @example
3465
+ *
3466
+ * var object = { 'a': 1 };
3467
+ * var other = { 'a': 1 };
3468
+ *
3469
+ * _.eq(object, object);
3470
+ * // => true
3471
+ *
3472
+ * _.eq(object, other);
3473
+ * // => false
3474
+ *
3475
+ * _.eq('a', 'a');
3476
+ * // => true
3477
+ *
3478
+ * _.eq('a', Object('a'));
3479
+ * // => false
3480
+ *
3481
+ * _.eq(NaN, NaN);
3482
+ * // => true
3483
  */
3484
+ function eq(value, other) {
3485
+ return value === other || (value !== value && other !== other);
3486
+ }
 
 
 
 
 
 
3487
 
3488
+ module.exports = eq;
3489
 
3490
 
3491
  /***/ }),
3492
+ /* 48 */
3493
+ /*!**********************************************!*\
3494
+ !*** ./node_modules/lodash/_nativeCreate.js ***!
3495
+ \**********************************************/
3496
+ /*! dynamic exports provided */
3497
  /*! all exports used */
3498
  /***/ (function(module, exports, __webpack_require__) {
3499
 
3500
+ var getNative = __webpack_require__(/*! ./_getNative */ 21);
 
3501
 
3502
+ /* Built-in method references that are verified to be native. */
3503
+ var nativeCreate = getNative(Object, 'create');
3504
 
3505
+ module.exports = nativeCreate;
 
3506
 
 
 
3507
 
3508
+ /***/ }),
3509
+ /* 49 */
3510
+ /*!********************************************!*\
3511
+ !*** ./node_modules/lodash/_getMapData.js ***!
3512
+ \********************************************/
3513
+ /*! dynamic exports provided */
3514
+ /*! all exports used */
3515
+ /***/ (function(module, exports, __webpack_require__) {
3516
+
3517
+ var isKeyable = __webpack_require__(/*! ./_isKeyable */ 278);
3518
+
3519
+ /**
3520
+ * Gets the data for `map`.
 
3521
  *
3522
+ * @private
3523
+ * @param {Object} map The map to query.
3524
+ * @param {string} key The reference key.
3525
+ * @returns {*} Returns the map data.
3526
  */
3527
+ function getMapData(map, key) {
3528
+ var data = map.__data__;
3529
+ return isKeyable(key)
3530
+ ? data[typeof key == 'string' ? 'string' : 'hash']
3531
+ : data.map;
3532
+ }
3533
 
3534
+ module.exports = getMapData;
3535
 
3536
 
3537
  /***/ }),
3538
+ /* 50 */
3539
  /*!*****************************************!*\
3540
+ !*** ./node_modules/lodash/_isIndex.js ***!
3541
  \*****************************************/
3542
+ /*! dynamic exports provided */
3543
  /*! all exports used */
3544
+ /***/ (function(module, exports) {
 
 
 
 
 
 
 
 
 
 
 
 
3545
 
3546
+ /** Used as references for various `Number` constants. */
3547
+ var MAX_SAFE_INTEGER = 9007199254740991;
3548
 
3549
+ /** Used to detect unsigned integer values. */
3550
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
3551
 
3552
  /**
3553
+ * Checks if `value` is a valid array-like index.
3554
  *
3555
+ * @private
 
 
 
3556
  * @param {*} value The value to check.
3557
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
3558
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
 
 
 
 
 
 
3559
  */
3560
+ function isIndex(value, length) {
3561
+ var type = typeof value;
3562
+ length = length == null ? MAX_SAFE_INTEGER : length;
 
 
3563
 
3564
+ return !!length &&
3565
+ (type == 'number' ||
3566
+ (type != 'symbol' && reIsUint.test(value))) &&
3567
+ (value > -1 && value % 1 == 0 && value < length);
3568
+ }
 
 
 
3569
 
3570
+ module.exports = isIndex;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3571
 
3572
 
3573
  /***/ }),
3574
+ /* 51 */
3575
+ /*!*******************************************!*\
3576
+ !*** ./node_modules/lodash/_baseUnary.js ***!
3577
+ \*******************************************/
3578
+ /*! dynamic exports provided */
3579
  /*! all exports used */
3580
  /***/ (function(module, exports) {
3581
 
 
 
 
3582
  /**
3583
+ * The base implementation of `_.unary` without support for storing metadata.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3584
  *
3585
+ * @private
3586
+ * @param {Function} func The function to cap arguments for.
3587
+ * @returns {Function} Returns the new capped function.
3588
  */
3589
+ function baseUnary(func) {
3590
+ return function(value) {
3591
+ return func(value);
3592
+ };
3593
  }
3594
 
3595
+ module.exports = baseUnary;
3596
 
3597
 
3598
  /***/ }),
3599
+ /* 52 */
3600
+ /*!******************************************!*\
3601
+ !*** ./node_modules/lodash/_nodeUtil.js ***!
3602
+ \******************************************/
3603
+ /*! dynamic exports provided */
3604
  /*! all exports used */
3605
  /***/ (function(module, exports, __webpack_require__) {
3606
 
3607
+ /* WEBPACK VAR INJECTION */(function(module) {var freeGlobal = __webpack_require__(/*! ./_freeGlobal */ 145);
 
3608
 
3609
+ /** Detect free variable `exports`. */
3610
+ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
3611
+
3612
+ /** Detect free variable `module`. */
3613
+ var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
3614
+
3615
+ /** Detect the popular CommonJS extension `module.exports`. */
3616
+ var moduleExports = freeModule && freeModule.exports === freeExports;
3617
+
3618
+ /** Detect free variable `process` from Node.js. */
3619
+ var freeProcess = moduleExports && freeGlobal.process;
3620
+
3621
+ /** Used to access faster Node.js helpers. */
3622
+ var nodeUtil = (function() {
3623
+ try {
3624
+ // Use `util.types` for Node.js 10+.
3625
+ var types = freeModule && freeModule.require && freeModule.require('util').types;
3626
+
3627
+ if (types) {
3628
+ return types;
3629
+ }
3630
+
3631
+ // Legacy `process.binding('util')` for Node.js < 10.
3632
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
3633
+ } catch (e) {}
3634
+ }());
3635
+
3636
+ module.exports = nodeUtil;
3637
+
3638
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../webpack/buildin/module.js */ 80)(module)))
3639
+
3640
+ /***/ }),
3641
+ /* 53 */
3642
+ /*!*********************************************!*\
3643
+ !*** ./node_modules/lodash/_isPrototype.js ***!
3644
+ \*********************************************/
3645
+ /*! dynamic exports provided */
3646
+ /*! all exports used */
3647
+ /***/ (function(module, exports) {
3648
+
3649
+ /** Used for built-in method references. */
3650
+ var objectProto = Object.prototype;
3651
 
3652
  /**
3653
+ * Checks if `value` is likely a prototype object.
3654
  *
3655
  * @private
3656
  * @param {*} value The value to check.
3657
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
 
3658
  */
3659
+ function isPrototype(value) {
3660
+ var Ctor = value && value.constructor,
3661
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
3662
+
3663
+ return value === proto;
 
 
 
 
 
 
3664
  }
3665
 
3666
+ module.exports = isPrototype;
3667
 
3668
 
3669
  /***/ }),
3670
+ /* 54 */
3671
+ /*!****************************************!*\
3672
+ !*** ./node_modules/lodash/_getTag.js ***!
3673
+ \****************************************/
3674
+ /*! dynamic exports provided */
3675
  /*! all exports used */
3676
  /***/ (function(module, exports, __webpack_require__) {
3677
 
3678
+ var DataView = __webpack_require__(/*! ./_DataView */ 298),
3679
+ Map = __webpack_require__(/*! ./_Map */ 73),
3680
+ Promise = __webpack_require__(/*! ./_Promise */ 299),
3681
+ Set = __webpack_require__(/*! ./_Set */ 300),
3682
+ WeakMap = __webpack_require__(/*! ./_WeakMap */ 301),
3683
+ baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 22),
3684
+ toSource = __webpack_require__(/*! ./_toSource */ 146);
 
3685
 
3686
+ /** `Object#toString` result references. */
3687
+ var mapTag = '[object Map]',
3688
+ objectTag = '[object Object]',
3689
+ promiseTag = '[object Promise]',
3690
+ setTag = '[object Set]',
3691
+ weakMapTag = '[object WeakMap]';
3692
 
3693
+ var dataViewTag = '[object DataView]';
 
 
 
 
 
3694
 
3695
+ /** Used to detect maps, sets, and weakmaps. */
3696
+ var dataViewCtorString = toSource(DataView),
3697
+ mapCtorString = toSource(Map),
3698
+ promiseCtorString = toSource(Promise),
3699
+ setCtorString = toSource(Set),
3700
+ weakMapCtorString = toSource(WeakMap);
 
 
 
 
 
 
 
3701
 
3702
  /**
3703
+ * Gets the `toStringTag` of `value`.
 
3704
  *
 
 
 
 
 
3705
  * @private
3706
+ * @param {*} value The value to query.
3707
+ * @returns {string} Returns the `toStringTag`.
3708
  */
3709
+ var getTag = baseGetTag;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3710
 
3711
+ // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
3712
+ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
3713
+ (Map && getTag(new Map) != mapTag) ||
3714
+ (Promise && getTag(Promise.resolve()) != promiseTag) ||
3715
+ (Set && getTag(new Set) != setTag) ||
3716
+ (WeakMap && getTag(new WeakMap) != weakMapTag)) {
3717
+ getTag = function(value) {
3718
+ var result = baseGetTag(value),
3719
+ Ctor = result == objectTag ? value.constructor : undefined,
3720
+ ctorString = Ctor ? toSource(Ctor) : '';
3721
 
3722
+ if (ctorString) {
3723
+ switch (ctorString) {
3724
+ case dataViewCtorString: return dataViewTag;
3725
+ case mapCtorString: return mapTag;
3726
+ case promiseCtorString: return promiseTag;
3727
+ case setCtorString: return setTag;
3728
+ case weakMapCtorString: return weakMapTag;
3729
  }
3730
  }
3731
+ return result;
3732
+ };
3733
  }
3734
 
3735
+ module.exports = getTag;
3736
+
3737
+
3738
+ /***/ }),
3739
+ /* 55 */
3740
+ /*!*****************************************!*\
3741
+ !*** ./node_modules/lodash/_baseGet.js ***!
3742
+ \*****************************************/
3743
+ /*! dynamic exports provided */
3744
+ /*! all exports used */
3745
+ /***/ (function(module, exports, __webpack_require__) {
3746
+
3747
+ var castPath = __webpack_require__(/*! ./_castPath */ 30),
3748
+ toKey = __webpack_require__(/*! ./_toKey */ 31);
3749
+
3750
  /**
3751
+ * The base implementation of `_.get` without support for default values.
3752
  *
3753
  * @private
3754
+ * @param {Object} object The object to query.
3755
+ * @param {Array|string} path The path of the property to get.
3756
+ * @returns {*} Returns the resolved value.
3757
  */
3758
+ function baseGet(object, path) {
3759
+ path = castPath(path, object);
3760
+
3761
+ var index = 0,
3762
+ length = path.length;
3763
+
3764
+ while (object != null && index < length) {
3765
+ object = object[toKey(path[index++])];
3766
  }
3767
+ return (index && index == length) ? object : undefined;
3768
  }
3769
 
3770
+ module.exports = baseGet;
3771
 
 
3772
 
3773
  /***/ }),
3774
+ /* 56 */
3775
+ /*!*****************************************!*\
3776
+ !*** ./node_modules/lodash/isSymbol.js ***!
3777
+ \*****************************************/
3778
+ /*! dynamic exports provided */
3779
  /*! all exports used */
3780
  /***/ (function(module, exports, __webpack_require__) {
3781
 
3782
+ var baseGetTag = __webpack_require__(/*! ./_baseGetTag */ 22),
3783
+ isObjectLike = __webpack_require__(/*! ./isObjectLike */ 18);
3784
+
3785
+ /** `Object#toString` result references. */
3786
+ var symbolTag = '[object Symbol]';
3787
+
3788
  /**
3789
+ * Checks if `value` is classified as a `Symbol` primitive or object.
3790
  *
3791
+ * @static
3792
+ * @memberOf _
3793
+ * @since 4.0.0
3794
+ * @category Lang
3795
+ * @param {*} value The value to check.
3796
+ * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.
3797
+ * @example
3798
+ *
3799
+ * _.isSymbol(Symbol.iterator);
3800
+ * // => true
3801
+ *
3802
+ * _.isSymbol('abc');
3803
+ * // => false
3804
  */
3805
+ function isSymbol(value) {
3806
+ return typeof value == 'symbol' ||
3807
+ (isObjectLike(value) && baseGetTag(value) == symbolTag);
3808
+ }
3809
 
3810
+ module.exports = isSymbol;
3811
 
3812
 
3813
+ /***/ }),
3814
+ /* 57 */
3815
+ /*!*****************************************!*\
3816
+ !*** ./node_modules/lodash/identity.js ***!
3817
+ \*****************************************/
3818
+ /*! dynamic exports provided */
3819
+ /*! all exports used */
3820
+ /***/ (function(module, exports) {
3821
 
3822
+ /**
3823
+ * This method returns the first argument it receives.
3824
+ *
3825
+ * @static
3826
+ * @since 0.1.0
3827
+ * @memberOf _
3828
+ * @category Util
3829
+ * @param {*} value Any value.
3830
+ * @returns {*} Returns `value`.
3831
+ * @example
3832
+ *
3833
+ * var object = { 'a': 1 };
3834
+ *
3835
+ * console.log(_.identity(object) === object);
3836
+ * // => true
3837
+ */
3838
+ function identity(value) {
3839
+ return value;
3840
+ }
3841
+
3842
+ module.exports = identity;
3843
 
3844
 
3845
  /***/ }),
3846
+ /* 58 */
3847
+ /*!*********************************************************************************************!*\
3848
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
3849
+ \*********************************************************************************************/
3850
+ /*! exports provided: default */
3851
+ /*! exports used: default */
3852
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
3853
 
3854
  "use strict";
3855
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _classCallCheck;
3856
+ function _classCallCheck(instance, Constructor) {
3857
+ if (!(instance instanceof Constructor)) {
3858
+ throw new TypeError("Cannot call a class as a function");
3859
+ }
3860
+ }
 
 
 
 
 
 
 
 
 
 
 
3861
 
3862
+ /***/ }),
3863
+ /* 59 */
3864
+ /*!******************************************************************************************!*\
3865
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
3866
+ \******************************************************************************************/
3867
+ /*! exports provided: default */
3868
+ /*! exports used: default */
3869
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3870
 
3871
+ "use strict";
3872
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _createClass;
3873
+ function _defineProperties(target, props) {
3874
+ for (var i = 0; i < props.length; i++) {
3875
+ var descriptor = props[i];
3876
+ descriptor.enumerable = descriptor.enumerable || false;
3877
+ descriptor.configurable = true;
3878
+ if ("value" in descriptor) descriptor.writable = true;
3879
+ Object.defineProperty(target, descriptor.key, descriptor);
3880
+ }
3881
+ }
3882
 
3883
+ function _createClass(Constructor, protoProps, staticProps) {
3884
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
3885
+ if (staticProps) _defineProperties(Constructor, staticProps);
3886
+ return Constructor;
3887
+ }
3888
 
3889
+ /***/ }),
3890
+ /* 60 */
3891
+ /*!***************************************************************************************!*\
3892
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/inherits.js ***!
3893
+ \***************************************************************************************/
3894
+ /*! exports provided: default */
3895
+ /*! exports used: default */
3896
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3897
 
3898
+ "use strict";
3899
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _inherits;
3900
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_setPrototypeOf__ = __webpack_require__(/*! @babel/runtime/helpers/esm/setPrototypeOf */ 333);
3901
 
3902
+ function _inherits(subClass, superClass) {
3903
+ if (typeof superClass !== "function" && superClass !== null) {
3904
+ throw new TypeError("Super expression must either be null or a function");
3905
+ }
3906
 
3907
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
3908
+ constructor: {
3909
+ value: subClass,
3910
+ writable: true,
3911
+ configurable: true
3912
+ }
3913
+ });
3914
+ if (superClass) Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_setPrototypeOf__["a" /* default */])(subClass, superClass);
3915
+ }
3916
 
3917
+ /***/ }),
3918
+ /* 61 */
3919
+ /*!********************************************************************************************************!*\
3920
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js ***!
3921
+ \********************************************************************************************************/
3922
+ /*! exports provided: default */
3923
+ /*! exports used: default */
3924
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3925
 
3926
+ "use strict";
3927
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _possibleConstructorReturn;
3928
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_typeof__ = __webpack_require__(/*! @babel/runtime/helpers/esm/typeof */ 165);
3929
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_assertThisInitialized__ = __webpack_require__(/*! @babel/runtime/helpers/esm/assertThisInitialized */ 166);
 
 
 
 
 
3930
 
 
 
 
 
 
 
3931
 
3932
+ function _possibleConstructorReturn(self, call) {
3933
+ if (call && (Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_typeof__["a" /* default */])(call) === "object" || typeof call === "function")) {
3934
+ return call;
3935
+ }
3936
 
3937
+ return Object(__WEBPACK_IMPORTED_MODULE_1__babel_runtime_helpers_esm_assertThisInitialized__["a" /* default */])(self);
3938
+ }
3939
 
3940
+ /***/ }),
3941
+ /* 62 */
3942
+ /*!*********************************************************************************************!*\
3943
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js ***!
3944
+ \*********************************************************************************************/
3945
+ /*! exports provided: default */
3946
+ /*! exports used: default */
3947
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
3948
 
3949
+ "use strict";
3950
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _getPrototypeOf;
3951
+ function _getPrototypeOf(o) {
3952
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
3953
+ return o.__proto__ || Object.getPrototypeOf(o);
3954
+ };
3955
+ return _getPrototypeOf(o);
3956
+ }
3957
 
3958
+ /***/ }),
3959
+ /* 63 */
3960
+ /*!*********************************************!*\
3961
+ !*** ./node_modules/lodash/_assignValue.js ***!
3962
+ \*********************************************/
3963
+ /*! dynamic exports provided */
3964
+ /*! all exports used */
3965
+ /***/ (function(module, exports, __webpack_require__) {
3966
 
3967
+ var baseAssignValue = __webpack_require__(/*! ./_baseAssignValue */ 186),
3968
+ eq = __webpack_require__(/*! ./eq */ 47);
 
 
3969
 
3970
+ /** Used for built-in method references. */
3971
+ var objectProto = Object.prototype;
 
3972
 
3973
+ /** Used to check objects for own properties. */
3974
+ var hasOwnProperty = objectProto.hasOwnProperty;
 
3975
 
3976
+ /**
3977
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
3978
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
3979
+ * for equality comparisons.
3980
+ *
3981
+ * @private
3982
+ * @param {Object} object The object to modify.
3983
+ * @param {string} key The key of the property to assign.
3984
+ * @param {*} value The value to assign.
3985
+ */
3986
+ function assignValue(object, key, value) {
3987
+ var objValue = object[key];
3988
+ if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
3989
+ (value === undefined && !(key in object))) {
3990
+ baseAssignValue(object, key, value);
3991
  }
3992
+ }
3993
 
3994
+ module.exports = assignValue;
3995
 
 
 
3996
 
3997
+ /***/ }),
3998
+ /* 64 */
3999
+ /*!********************************************!*\
4000
+ !*** ./src/components/box-shadow/index.js ***!
4001
+ \********************************************/
4002
+ /*! exports provided: default */
4003
+ /*! exports used: default */
4004
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4005
 
4006
+ "use strict";
4007
+ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
 
4008
 
4009
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
 
 
 
 
4010
 
4011
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
 
 
4012
 
4013
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
 
4014
 
4015
+ /**
4016
+ * Box-Shadow reusable component.
4017
+ *
4018
+ */
4019
+ var __ = wp.i18n.__;
4020
+ var ColorPalette = wp.blockEditor.ColorPalette;
4021
+ var _wp$components = wp.components,
4022
+ Button = _wp$components.Button,
4023
+ SelectControl = _wp$components.SelectControl,
4024
+ RangeControl = _wp$components.RangeControl,
4025
+ Dashicon = _wp$components.Dashicon;
4026
 
4027
+ // Extend component
 
4028
 
4029
+ var _wp$element = wp.element,
4030
+ Component = _wp$element.Component,
4031
+ Fragment = _wp$element.Fragment;
4032
 
4033
+ var BoxShadowControl = function (_Component) {
4034
+ _inherits(BoxShadowControl, _Component);
4035
 
4036
+ function BoxShadowControl() {
4037
+ _classCallCheck(this, BoxShadowControl);
4038
 
4039
+ var _this = _possibleConstructorReturn(this, (BoxShadowControl.__proto__ || Object.getPrototypeOf(BoxShadowControl)).apply(this, arguments));
 
 
 
4040
 
4041
+ _this.onAdvancedControlClick = _this.onAdvancedControlClick.bind(_this);
4042
+ _this.onAdvancedControlReset = _this.onAdvancedControlReset.bind(_this);
4043
+ return _this;
4044
+ }
4045
 
4046
+ _createClass(BoxShadowControl, [{
4047
+ key: "onAdvancedControlClick",
4048
+ value: function onAdvancedControlClick() {
 
4049
 
4050
+ var control = true;
4051
+ var label = __("Hide Advanced");
 
 
 
4052
 
4053
+ if (this.state !== null && this.state.showAdvancedControls === true) {
4054
+ control = false;
4055
+ label = __("Advanced");
4056
+ }
4057
 
4058
+ this.setState({
4059
+ showAdvancedControls: control,
4060
+ showAdvancedControlsLabel: label
4061
+ });
4062
+ }
4063
+ }, {
4064
+ key: "onAdvancedControlReset",
4065
+ value: function onAdvancedControlReset() {
4066
+ var setAttributes = this.props.setAttributes;
4067
 
 
 
 
4068
 
4069
+ setAttributes({ boxShadowColor: "" });
4070
+ setAttributes({ boxShadowHOffset: "" });
4071
+ setAttributes({ boxShadowVOffset: "" });
4072
+ setAttributes({ boxShadowBlur: "" });
4073
+ setAttributes({ boxShadowSpread: "" });
4074
+ setAttributes({ boxShadowPosition: "" });
4075
+ }
4076
+ }, {
4077
+ key: "render",
4078
+ value: function render() {
4079
+ var _props = this.props,
4080
+ setAttributes = _props.setAttributes,
4081
+ boxShadowColor = _props.boxShadowColor,
4082
+ boxShadowHOffset = _props.boxShadowHOffset,
4083
+ boxShadowVOffset = _props.boxShadowVOffset,
4084
+ boxShadowBlur = _props.boxShadowBlur,
4085
+ boxShadowSpread = _props.boxShadowSpread,
4086
+ boxShadowPosition = _props.boxShadowPosition;
4087
 
 
 
 
 
 
4088
 
4089
+ var advancedControls;
4090
+ var boxShadowAdvancedControls;
4091
+ var resetBoxShadowAdvancedControls;
4092
+ if (this.state !== null && true === this.state.showAdvancedControls) {
4093
+ advancedControls = wp.element.createElement(
4094
+ "div",
4095
+ { className: "uagb-box-shadow-advanced" },
4096
+ wp.element.createElement(
4097
+ Fragment,
4098
+ null,
4099
+ wp.element.createElement(
4100
+ "p",
4101
+ { className: "uagb-setting-label" },
4102
+ boxShadowColor.label,
4103
+ wp.element.createElement(
4104
+ "span",
4105
+ { className: "components-base-control__label" },
4106
+ wp.element.createElement("span", { className: "component-color-indicator", style: { backgroundColor: boxShadowColor.value } })
4107
+ )
4108
+ ),
4109
+ wp.element.createElement(ColorPalette, {
4110
+ value: boxShadowColor.value,
4111
+ onChange: function onChange(colorValue) {
4112
+ return setAttributes({ boxShadowColor: colorValue });
4113
+ },
4114
+ allowReset: true
4115
+ })
4116
+ ),
4117
+ wp.element.createElement(
4118
+ Fragment,
4119
+ null,
4120
+ wp.element.createElement(
4121
+ "h2",
4122
+ null,
4123
+ boxShadowHOffset.label
4124
+ ),
4125
+ wp.element.createElement(RangeControl, {
4126
+ value: boxShadowHOffset.value,
4127
+ onChange: function onChange(value) {
4128
+ return setAttributes({ boxShadowHOffset: value });
4129
+ },
4130
+ min: -100,
4131
+ max: 100,
4132
+ allowReset: true
4133
+ })
4134
+ ),
4135
+ wp.element.createElement(
4136
+ Fragment,
4137
+ null,
4138
+ wp.element.createElement(
4139
+ "h2",
4140
+ null,
4141
+ boxShadowVOffset.label
4142
+ ),
4143
+ wp.element.createElement(RangeControl, {
4144
+ value: boxShadowVOffset.value,
4145
+ onChange: function onChange(value) {
4146
+ return setAttributes({ boxShadowVOffset: value });
4147
+ },
4148
+ min: -100,
4149
+ max: 100,
4150
+ allowReset: true
4151
+ })
4152
+ ),
4153
+ wp.element.createElement(
4154
+ Fragment,
4155
+ null,
4156
+ wp.element.createElement(
4157
+ "h2",
4158
+ null,
4159
+ boxShadowBlur.label
4160
+ ),
4161
+ wp.element.createElement(RangeControl, {
4162
+ value: boxShadowBlur.value,
4163
+ onChange: function onChange(value) {
4164
+ return setAttributes({ boxShadowBlur: value });
4165
+ },
4166
+ min: 0,
4167
+ max: 100,
4168
+ allowReset: true
4169
+ })
4170
+ ),
4171
+ wp.element.createElement(
4172
+ Fragment,
4173
+ null,
4174
+ wp.element.createElement(
4175
+ "h2",
4176
+ null,
4177
+ boxShadowSpread.label
4178
+ ),
4179
+ wp.element.createElement(RangeControl, {
4180
+ value: boxShadowSpread.value,
4181
+ onChange: function onChange(value) {
4182
+ return setAttributes({ boxShadowSpread: value });
4183
+ },
4184
+ min: 0,
4185
+ max: 100,
4186
+ allowReset: true
4187
+ })
4188
+ ),
4189
+ wp.element.createElement(
4190
+ Fragment,
4191
+ null,
4192
+ wp.element.createElement(SelectControl, {
4193
+ label: boxShadowPosition.label,
4194
+ value: boxShadowPosition.value,
4195
+ onChange: function onChange(value) {
4196
+ return setAttributes({ boxShadowPosition: value });
4197
+ },
4198
+ options: [{ value: "inset", label: __("Inset") }, { value: "outset", label: __("Outset") }]
4199
+ })
4200
+ )
4201
+ );
4202
+ }
4203
+ resetBoxShadowAdvancedControls = wp.element.createElement(
4204
+ Button,
4205
+ {
4206
+ className: "uagb-size-btn uagb-typography-reset-btn",
4207
+ isSmall: true,
4208
+ "aria-pressed": this.state !== null,
4209
+ onClick: this.onAdvancedControlReset
4210
+ },
4211
+ wp.element.createElement(Dashicon, { icon: "image-rotate" })
4212
+ );
4213
 
4214
+ boxShadowAdvancedControls = wp.element.createElement(
4215
+ Button,
4216
+ {
4217
+ className: "uagb-size-btn uagb-typography-control-btn",
4218
+ isSmall: true,
4219
+ "aria-pressed": this.state !== null,
4220
+ onClick: this.onAdvancedControlClick
4221
+ },
4222
+ wp.element.createElement(Dashicon, { icon: "admin-tools" })
4223
+ );
4224
 
4225
+ return wp.element.createElement(
4226
+ "div",
4227
+ { className: "uag-typography-option-actions" },
4228
+ wp.element.createElement(
4229
+ "span",
4230
+ null,
4231
+ this.props.label
4232
+ ),
4233
+ boxShadowAdvancedControls,
4234
+ resetBoxShadowAdvancedControls,
4235
+ advancedControls
4236
+ );
4237
+ }
4238
+ }]);
4239
 
4240
+ return BoxShadowControl;
4241
+ }(Component);
4242
 
4243
+ /* harmony default export */ __webpack_exports__["a"] = (BoxShadowControl);
 
 
 
 
 
 
 
 
 
 
 
4244
 
4245
+ /***/ }),
4246
+ /* 65 */
4247
+ /*!******************************************!*\
4248
+ !*** ./src/blocks/price-list/classes.js ***!
4249
+ \******************************************/
4250
+ /*! exports provided: default */
4251
+ /*! exports used: default */
4252
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4253
 
4254
+ "use strict";
4255
+ /**
4256
+ * Returns Dynamic Generated Classes
4257
+ */
 
 
 
 
 
4258
 
4259
+ function PositionClasses(attributes) {
 
 
 
 
 
4260
 
4261
+ var iconimgStyle_class = "";
4262
+ var imge_cnt = 0;
4263
+ var image = attributes.image;
 
 
 
 
4264
 
4265
+ if (typeof attributes.rest_menu_item_arr !== "undefined") {
4266
+ attributes.rest_menu_item_arr.map(function (item, thisIndex) {
4267
+ var image_arr = item.image;
4268
+ if (image_arr && typeof image_arr !== "undefined") {
4269
+ imge_cnt++;
4270
+ }
4271
+ });
4272
+ }
4273
 
4274
+ if (typeof image !== "undefined" && image !== null && image !== "") {
4275
+ imge_cnt++;
4276
+ }
4277
 
4278
+ if (imge_cnt > 0) {
4279
+ iconimgStyle_class += "uagb-rm__image-position-" + attributes.imagePosition + " ";
4280
+ }
 
 
 
4281
 
4282
+ iconimgStyle_class += " uagb-rm__align-" + attributes.headingAlign + " ";
4283
 
4284
+ if ("left" == attributes.imagePosition || "right" == attributes.imagePosition) {
4285
+ iconimgStyle_class += "uagb-rm__image-aligned-" + attributes.imageAlignment + " ";
4286
+ if (attributes.stack !== "none") {
4287
+ iconimgStyle_class += "uagb-rm-stacked-" + attributes.stack + " ";
4288
+ if (attributes.imagePosition === "right") {
4289
+ iconimgStyle_class += "uagb-rm-reverse-order-" + attributes.stack + " ";
4290
+ }
4291
+ }
4292
+ }
4293
 
4294
+ iconimgStyle_class += "uagb-rm__desk-column-" + attributes.columns + " ";
4295
+ iconimgStyle_class += "uagb-rm__tablet-column-" + attributes.tcolumns + " ";
4296
+ iconimgStyle_class += "uagb-rm__mobile-column-" + attributes.mcolumns + " ";
4297
 
4298
+ return [iconimgStyle_class];
4299
+ }
4300
 
4301
+ /* harmony default export */ __webpack_exports__["a"] = (PositionClasses);
 
 
 
 
4302
 
4303
+ /***/ }),
4304
+ /* 66 */
4305
+ /*!****************************************!*\
4306
+ !*** ./src/blocks/timeline/classes.js ***!
4307
+ \****************************************/
4308
+ /*! exports provided: default */
4309
+ /*! exports used: default */
4310
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
4311
 
4312
+ "use strict";
4313
+ /**
4314
+ * Returns Dynamic Generated Classes
4315
+ */
 
 
4316
 
4317
+ function ContentTmClasses(attributes) {
 
4318
 
4319
+ /* Arrow position */
4320
+ var arrow_align_class = "uagb-timeline__arrow-top" + " ";
4321
+ if (attributes.arrowlinAlignment == "center") {
4322
+ arrow_align_class = "uagb-timeline__arrow-center" + " ";
4323
+ } else if (attributes.arrowlinAlignment == "bottom") {
4324
+ arrow_align_class = "uagb-timeline__arrow-bottom" + " ";
4325
+ }
4326
 
4327
+ /* Alignmnet */
4328
+ var align_class = "uagb-timeline__center-block " + " ";
4329
+ if (attributes.timelinAlignment == "left") {
4330
+ align_class = "uagb-timeline__left-block" + " ";
4331
+ } else if (attributes.timelinAlignment == "right") {
4332
+ align_class = "uagb-timeline__right-block" + " ";
4333
+ }
4334
+ align_class += arrow_align_class + "";
4335
+ align_class += "uagb-timeline__responsive-" + attributes.stack + " uagb-timeline";
4336
 
4337
+ return [align_class];
4338
+ }
4339
 
4340
+ /* harmony default export */ __webpack_exports__["a"] = (ContentTmClasses);
 
4341
 
4342
+ /***/ }),
4343
+ /* 67 */
4344
+ /*!****************************************************************!*\
4345
+ !*** ./node_modules/core-js/library/modules/_property-desc.js ***!
4346
+ \****************************************************************/
4347
+ /*! dynamic exports provided */
4348
+ /*! all exports used */
4349
+ /***/ (function(module, exports) {
4350
 
4351
+ module.exports = function (bitmap, value) {
4352
  return {
4353
+ enumerable: !(bitmap & 1),
4354
+ configurable: !(bitmap & 2),
4355
+ writable: !(bitmap & 4),
4356
+ value: value
 
 
4357
  };
4358
  };
4359
 
 
 
 
 
4360
 
4361
+ /***/ }),
4362
+ /* 68 */
4363
+ /*!**************************************************************!*\
4364
+ !*** ./node_modules/core-js/library/modules/_object-keys.js ***!
4365
+ \**************************************************************/
4366
+ /*! dynamic exports provided */
4367
+ /*! all exports used */
4368
+ /***/ (function(module, exports, __webpack_require__) {
4369
 
4370
+ // 19.1.2.14 / 15.2.3.14 Object.keys(O)
4371
+ var $keys = __webpack_require__(/*! ./_object-keys-internal */ 238);
4372
+ var enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ 134);
4373
 
4374
+ module.exports = Object.keys || function keys(O) {
4375
+ return $keys(O, enumBugKeys);
4376
+ };
 
 
 
4377
 
 
 
 
 
 
 
 
4378
 
4379
+ /***/ }),
4380
+ /* 69 */
4381
+ /*!**********************************************************!*\
4382
+ !*** ./node_modules/core-js/library/modules/_library.js ***!
4383
+ \**********************************************************/
4384
+ /*! dynamic exports provided */
4385
+ /*! all exports used */
4386
+ /***/ (function(module, exports) {
4387
 
4388
+ module.exports = true;
 
 
 
 
4389
 
 
 
4390
 
4391
+ /***/ }),
4392
+ /* 70 */
4393
+ /*!******************************************************!*\
4394
+ !*** ./node_modules/core-js/library/modules/_uid.js ***!
4395
+ \******************************************************/
4396
+ /*! dynamic exports provided */
4397
+ /*! all exports used */
4398
+ /***/ (function(module, exports) {
4399
 
4400
+ var id = 0;
4401
+ var px = Math.random();
4402
+ module.exports = function (key) {
4403
+ return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));
4404
+ };
4405
 
 
 
4406
 
4407
+ /***/ }),
4408
+ /* 71 */
4409
+ /*!*************************************************************!*\
4410
+ !*** ./node_modules/core-js/library/modules/_object-pie.js ***!
4411
+ \*************************************************************/
4412
+ /*! dynamic exports provided */
4413
+ /*! all exports used */
4414
+ /***/ (function(module, exports) {
4415
 
4416
+ exports.f = {}.propertyIsEnumerable;
 
 
 
4417
 
 
 
 
4418
 
4419
+ /***/ }),
4420
+ /* 72 */
4421
+ /*!***************************************!*\
4422
+ !*** ./node_modules/lodash/_Stack.js ***!
4423
+ \***************************************/
4424
+ /*! dynamic exports provided */
4425
+ /*! all exports used */
4426
+ /***/ (function(module, exports, __webpack_require__) {
4427
 
4428
+ var ListCache = __webpack_require__(/*! ./_ListCache */ 45),
4429
+ stackClear = __webpack_require__(/*! ./_stackClear */ 259),
4430
+ stackDelete = __webpack_require__(/*! ./_stackDelete */ 260),
4431
+ stackGet = __webpack_require__(/*! ./_stackGet */ 261),
4432
+ stackHas = __webpack_require__(/*! ./_stackHas */ 262),
4433
+ stackSet = __webpack_require__(/*! ./_stackSet */ 263);
4434
 
4435
+ /**
4436
+ * Creates a stack cache object to store key-value pairs.
4437
+ *
4438
+ * @private
4439
+ * @constructor
4440
+ * @param {Array} [entries] The key-value pairs to cache.
4441
+ */
4442
+ function Stack(entries) {
4443
+ var data = this.__data__ = new ListCache(entries);
4444
+ this.size = data.size;
4445
+ }
4446
 
4447
+ // Add methods to `Stack`.
4448
+ Stack.prototype.clear = stackClear;
4449
+ Stack.prototype['delete'] = stackDelete;
4450
+ Stack.prototype.get = stackGet;
4451
+ Stack.prototype.has = stackHas;
4452
+ Stack.prototype.set = stackSet;
4453
 
4454
+ module.exports = Stack;
 
 
4455
 
 
 
4456
 
4457
+ /***/ }),
4458
+ /* 73 */
4459
+ /*!*************************************!*\
4460
+ !*** ./node_modules/lodash/_Map.js ***!
4461
+ \*************************************/
4462
+ /*! dynamic exports provided */
4463
+ /*! all exports used */
4464
+ /***/ (function(module, exports, __webpack_require__) {
4465
 
4466
+ var getNative = __webpack_require__(/*! ./_getNative */ 21),
4467
+ root = __webpack_require__(/*! ./_root */ 11);
 
4468
 
4469
+ /* Built-in method references that are verified to be native. */
4470
+ var Map = getNative(root, 'Map');
4471
 
4472
+ module.exports = Map;
4473
 
 
4474
 
4475
  /***/ }),
4476
+ /* 74 */
4477
+ /*!***********************************!*\
4478
+ !*** (webpack)/buildin/global.js ***!
4479
+ \***********************************/
4480
+ /*! dynamic exports provided */
4481
+ /*! all exports used */
4482
+ /***/ (function(module, exports) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4483
 
4484
+ var g;
 
4485
 
4486
+ // This works in non-strict mode
4487
+ g = (function() {
4488
+ return this;
4489
+ })();
 
 
4490
 
4491
+ try {
4492
+ // This works if eval is allowed (see CSP)
4493
+ g = g || Function("return this")() || (1,eval)("this");
4494
+ } catch(e) {
4495
+ // This works if the window reference is available
4496
+ if(typeof window === "object")
4497
+ g = window;
 
4498
  }
4499
 
4500
+ // g can still be undefined, but nothing to do about it...
4501
+ // We return undefined, instead of nothing here, so it's
4502
+ // easier to handle this case. if(!global) { ...}
 
 
 
 
 
 
 
4503
 
4504
+ module.exports = g;
 
 
 
 
 
 
 
4505
 
 
 
 
 
 
 
 
4506
 
4507
+ /***/ }),
4508
+ /* 75 */
4509
+ /*!******************************************!*\
4510
+ !*** ./node_modules/lodash/_MapCache.js ***!
4511
+ \******************************************/
4512
+ /*! dynamic exports provided */
4513
+ /*! all exports used */
4514
+ /***/ (function(module, exports, __webpack_require__) {
4515
 
4516
+ var mapCacheClear = __webpack_require__(/*! ./_mapCacheClear */ 270),
4517
+ mapCacheDelete = __webpack_require__(/*! ./_mapCacheDelete */ 277),
4518
+ mapCacheGet = __webpack_require__(/*! ./_mapCacheGet */ 279),
4519
+ mapCacheHas = __webpack_require__(/*! ./_mapCacheHas */ 280),
4520
+ mapCacheSet = __webpack_require__(/*! ./_mapCacheSet */ 281);
4521
 
4522
+ /**
4523
+ * Creates a map cache object to store key-value pairs.
4524
+ *
4525
+ * @private
4526
+ * @constructor
4527
+ * @param {Array} [entries] The key-value pairs to cache.
4528
+ */
4529
+ function MapCache(entries) {
4530
+ var index = -1,
4531
+ length = entries == null ? 0 : entries.length;
4532
 
4533
+ this.clear();
4534
+ while (++index < length) {
4535
+ var entry = entries[index];
4536
+ this.set(entry[0], entry[1]);
4537
  }
 
 
4538
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4539
 
4540
+ // Add methods to `MapCache`.
4541
+ MapCache.prototype.clear = mapCacheClear;
4542
+ MapCache.prototype['delete'] = mapCacheDelete;
4543
+ MapCache.prototype.get = mapCacheGet;
4544
+ MapCache.prototype.has = mapCacheHas;
4545
+ MapCache.prototype.set = mapCacheSet;
4546
 
4547
+ module.exports = MapCache;
 
 
4548
 
 
 
 
 
4549
 
4550
+ /***/ }),
4551
+ /* 76 */
4552
+ /*!*******************************************!*\
4553
+ !*** ./node_modules/lodash/_arrayPush.js ***!
4554
+ \*******************************************/
4555
+ /*! dynamic exports provided */
4556
+ /*! all exports used */
4557
+ /***/ (function(module, exports) {
4558
 
4559
  /**
4560
+ * Appends the elements of `values` to `array`.
4561
+ *
4562
+ * @private
4563
+ * @param {Array} array The array to modify.
4564
+ * @param {Array} values The values to append.
4565
+ * @returns {Array} Returns `array`.
4566
+ */
4567
+ function arrayPush(array, values) {
4568
+ var index = -1,
4569
+ length = values.length,
4570
+ offset = array.length;
4571
 
4572
+ while (++index < length) {
4573
+ array[offset + index] = values[index];
4574
+ }
4575
+ return array;
4576
  }
4577
 
4578
+ module.exports = arrayPush;
 
 
 
4579
 
 
 
 
4580
 
4581
+ /***/ }),
4582
+ /* 77 */
4583
+ /*!********************************************!*\
4584
+ !*** ./node_modules/lodash/_getSymbols.js ***!
4585
+ \********************************************/
4586
+ /*! dynamic exports provided */
4587
+ /*! all exports used */
4588
+ /***/ (function(module, exports, __webpack_require__) {
4589
 
4590
+ var arrayFilter = __webpack_require__(/*! ./_arrayFilter */ 292),
4591
+ stubArray = __webpack_require__(/*! ./stubArray */ 152);
 
 
4592
 
4593
+ /** Used for built-in method references. */
4594
+ var objectProto = Object.prototype;
 
 
 
 
4595
 
4596
+ /** Built-in value references. */
4597
+ var propertyIsEnumerable = objectProto.propertyIsEnumerable;
 
4598
 
4599
+ /* Built-in method references for those with the same name as other `lodash` methods. */
4600
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
 
 
4601
 
4602
+ /**
4603
+ * Creates an array of the own enumerable symbols of `object`.
4604
+ *
4605
+ * @private
4606
+ * @param {Object} object The object to query.
4607
+ * @returns {Array} Returns the array of symbols.
4608
+ */
4609
+ var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
4610
+ if (object == null) {
4611
+ return [];
4612
  }
4613
+ object = Object(object);
4614
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
4615
+ return propertyIsEnumerable.call(object, symbol);
4616
+ });
4617
+ };
4618
 
4619
+ module.exports = getSymbols;
 
 
 
 
 
 
 
 
 
 
 
 
4620
 
 
 
 
 
 
 
 
 
 
 
4621
 
4622
+ /***/ }),
4623
+ /* 78 */
4624
+ /*!********************************************!*\
4625
+ !*** ./node_modules/lodash/isArguments.js ***!
4626
+ \********************************************/
4627
+ /*! dynamic exports provided */
4628
+ /*! all exports used */
4629
+ /***/ (function(module, exports, __webpack_require__) {
4630
 
4631
+ var baseIsArguments = __webpack_require__(/*! ./_baseIsArguments */ 293),
4632
+ isObjectLike = __webpack_require__(/*! ./isObjectLike */ 18);
4633
 
4634
+ /** Used for built-in method references. */
4635
+ var objectProto = Object.prototype;
4636
 
4637
+ /** Used to check objects for own properties. */
4638
+ var hasOwnProperty = objectProto.hasOwnProperty;
4639
 
4640
+ /** Built-in value references. */
4641
+ var propertyIsEnumerable = objectProto.propertyIsEnumerable;
 
 
 
 
 
 
4642
 
4643
+ /**
4644
+ * Checks if `value` is likely an `arguments` object.
4645
+ *
4646
+ * @static
4647
+ * @memberOf _
4648
+ * @since 0.1.0
4649
+ * @category Lang
4650
+ * @param {*} value The value to check.
4651
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
4652
+ * else `false`.
4653
+ * @example
4654
+ *
4655
+ * _.isArguments(function() { return arguments; }());
4656
+ * // => true
4657
+ *
4658
+ * _.isArguments([1, 2, 3]);
4659
+ * // => false
4660
+ */
4661
+ var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
4662
+ return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
4663
+ !propertyIsEnumerable.call(value, 'callee');
4664
+ };
4665
 
4666
+ module.exports = isArguments;
4667
 
 
4668
 
4669
+ /***/ }),
4670
+ /* 79 */
4671
+ /*!*****************************************!*\
4672
+ !*** ./node_modules/lodash/isBuffer.js ***!
4673
+ \*****************************************/
4674
+ /*! dynamic exports provided */
4675
+ /*! all exports used */
4676
+ /***/ (function(module, exports, __webpack_require__) {
4677
 
4678
+ /* WEBPACK VAR INJECTION */(function(module) {var root = __webpack_require__(/*! ./_root */ 11),
4679
+ stubFalse = __webpack_require__(/*! ./stubFalse */ 294);
4680
 
4681
+ /** Detect free variable `exports`. */
4682
+ var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;
4683
 
4684
+ /** Detect free variable `module`. */
4685
+ var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;
4686
 
4687
+ /** Detect the popular CommonJS extension `module.exports`. */
4688
+ var moduleExports = freeModule && freeModule.exports === freeExports;
4689
 
4690
+ /** Built-in value references. */
4691
+ var Buffer = moduleExports ? root.Buffer : undefined;
4692
+
4693
+ /* Built-in method references for those with the same name as other `lodash` methods. */
4694
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
 
4695
 
4696
+ /**
4697
+ * Checks if `value` is a buffer.
4698
+ *
4699
+ * @static
4700
+ * @memberOf _
4701
+ * @since 4.3.0
4702
+ * @category Lang
4703
+ * @param {*} value The value to check.
4704
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
4705
+ * @example
4706
+ *
4707
+ * _.isBuffer(new Buffer(2));
4708
+ * // => true
4709
+ *
4710
+ * _.isBuffer(new Uint8Array(2));
4711
+ * // => false
4712
+ */
4713
+ var isBuffer = nativeIsBuffer || stubFalse;
4714
 
4715
+ module.exports = isBuffer;
4716
 
4717
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../webpack/buildin/module.js */ 80)(module)))
 
4718
 
4719
+ /***/ }),
4720
+ /* 80 */
4721
+ /*!***********************************!*\
4722
+ !*** (webpack)/buildin/module.js ***!
4723
+ \***********************************/
4724
+ /*! dynamic exports provided */
4725
+ /*! all exports used */
4726
+ /***/ (function(module, exports) {
 
 
 
 
 
4727
 
4728
+ module.exports = function(module) {
4729
+ if(!module.webpackPolyfill) {
4730
+ module.deprecate = function() {};
4731
+ module.paths = [];
4732
+ // module.parent = undefined by default
4733
+ if(!module.children) module.children = [];
4734
+ Object.defineProperty(module, "loaded", {
4735
+ enumerable: true,
4736
+ get: function() {
4737
+ return module.l;
4738
  }
4739
+ });
4740
+ Object.defineProperty(module, "id", {
4741
+ enumerable: true,
4742
+ get: function() {
4743
+ return module.i;
4744
+ }
4745
+ });
4746
+ module.webpackPolyfill = 1;
4747
+ }
4748
+ return module;
4749
+ };
4750
 
 
4751
 
4752
  /***/ }),
4753
+ /* 81 */
4754
+ /*!*****************************************!*\
4755
+ !*** ./node_modules/lodash/isLength.js ***!
4756
+ \*****************************************/
4757
+ /*! dynamic exports provided */
4758
+ /*! all exports used */
4759
+ /***/ (function(module, exports) {
 
 
 
 
 
4760
 
4761
+ /** Used as references for various `Number` constants. */
4762
+ var MAX_SAFE_INTEGER = 9007199254740991;
4763
 
4764
+ /**
4765
+ * Checks if `value` is a valid array-like length.
4766
+ *
4767
+ * **Note:** This method is loosely based on
4768
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
4769
+ *
4770
+ * @static
4771
+ * @memberOf _
4772
+ * @since 4.0.0
4773
+ * @category Lang
4774
+ * @param {*} value The value to check.
4775
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
4776
+ * @example
4777
+ *
4778
+ * _.isLength(3);
4779
+ * // => true
4780
+ *
4781
+ * _.isLength(Number.MIN_VALUE);
4782
+ * // => false
4783
+ *
4784
+ * _.isLength(Infinity);
4785
+ * // => false
4786
+ *
4787
+ * _.isLength('3');
4788
+ * // => false
4789
+ */
4790
+ function isLength(value) {
4791
+ return typeof value == 'number' &&
4792
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
4793
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4794
 
4795
+ module.exports = isLength;
 
4796
 
 
4797
 
4798
  /***/ }),
4799
+ /* 82 */
4800
+ /*!***************************************!*\
4801
+ !*** ./node_modules/lodash/_isKey.js ***!
4802
+ \***************************************/
4803
+ /*! dynamic exports provided */
4804
+ /*! all exports used */
4805
+ /***/ (function(module, exports, __webpack_require__) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4806
 
4807
+ var isArray = __webpack_require__(/*! ./isArray */ 13),
4808
+ isSymbol = __webpack_require__(/*! ./isSymbol */ 56);
4809
 
4810
+ /** Used to match property names within property paths. */
4811
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
4812
+ reIsPlainProp = /^\w*$/;
 
 
4813
 
4814
+ /**
4815
+ * Checks if `value` is a property name and not a property path.
4816
+ *
4817
+ * @private
4818
+ * @param {*} value The value to check.
4819
+ * @param {Object} [object] The object to query keys on.
4820
+ * @returns {boolean} Returns `true` if `value` is a property name, else `false`.
4821
+ */
4822
+ function isKey(value, object) {
4823
+ if (isArray(value)) {
4824
+ return false;
4825
+ }
4826
+ var type = typeof value;
4827
+ if (type == 'number' || type == 'symbol' || type == 'boolean' ||
4828
+ value == null || isSymbol(value)) {
4829
+ return true;
4830
+ }
4831
+ return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||
4832
+ (object != null && value in Object(object));
4833
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4834
 
4835
+ module.exports = isKey;
 
4836
 
 
4837
 
4838
  /***/ }),
4839
+ /* 83 */
4840
+ /*!***************************************************!*\
4841
+ !*** ./node_modules/prop-types/checkPropTypes.js ***!
4842
+ \***************************************************/
4843
+ /*! dynamic exports provided */
4844
+ /*! all exports used */
4845
+ /***/ (function(module, exports, __webpack_require__) {
4846
 
4847
  "use strict";
4848
+ /* WEBPACK VAR INJECTION */(function(process) {/**
4849
+ * Copyright (c) 2013-present, Facebook, Inc.
4850
+ *
4851
+ * This source code is licensed under the MIT license found in the
4852
+ * LICENSE file in the root directory of this source tree.
4853
+ */
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4854
 
 
 
 
 
 
 
4855
 
 
 
 
 
 
 
 
 
 
 
4856
 
4857
+ var printWarning = function() {};
 
4858
 
4859
+ if (process.env.NODE_ENV !== 'production') {
4860
+ var ReactPropTypesSecret = __webpack_require__(/*! ./lib/ReactPropTypesSecret */ 84);
4861
+ var loggedTypeFailures = {};
4862
+ var has = Function.call.bind(Object.prototype.hasOwnProperty);
4863
 
4864
+ printWarning = function(text) {
4865
+ var message = 'Warning: ' + text;
4866
+ if (typeof console !== 'undefined') {
4867
+ console.error(message);
4868
+ }
4869
+ try {
4870
+ // --- Welcome to debugging React ---
4871
+ // This error was thrown as a convenience so that you can use this stack
4872
+ // to find the callsite that caused this warning to fire.
4873
+ throw new Error(message);
4874
+ } catch (x) {}
4875
+ };
4876
+ }
4877
 
4878
  /**
4879
+ * Assert that the values match with the type specs.
4880
+ * Error messages are memorized and will only be shown once.
4881
  *
4882
+ * @param {object} typeSpecs Map of name to a ReactPropType
4883
+ * @param {object} values Runtime values that need to be type-checked
4884
+ * @param {string} location e.g. "prop", "context", "child context"
4885
+ * @param {string} componentName Name of the component for error messages.
4886
+ * @param {?Function} getStack Returns the component stack.
4887
  * @private
 
 
 
 
4888
  */
4889
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
4890
+ if (process.env.NODE_ENV !== 'production') {
4891
+ for (var typeSpecName in typeSpecs) {
4892
+ if (has(typeSpecs, typeSpecName)) {
4893
+ var error;
4894
+ // Prop type validation may throw. In case they do, we don't want to
4895
+ // fail the render phase where it didn't fail before. So we log it.
4896
+ // After these have been cleaned up, we'll let them throw.
4897
+ try {
4898
+ // This is intentionally an invariant that gets caught. It's the same
4899
+ // behavior as without this statement except with a better message.
4900
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
4901
+ var err = Error(
4902
+ (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
4903
+ 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
4904
+ );
4905
+ err.name = 'Invariant Violation';
4906
+ throw err;
4907
+ }
4908
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
4909
+ } catch (ex) {
4910
+ error = ex;
4911
+ }
4912
+ if (error && !(error instanceof Error)) {
4913
+ printWarning(
4914
+ (componentName || 'React class') + ': type specification of ' +
4915
+ location + ' `' + typeSpecName + '` is invalid; the type checker ' +
4916
+ 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
4917
+ 'You may have forgotten to pass an argument to the type checker ' +
4918
+ 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
4919
+ 'shape all require an argument).'
4920
+ );
4921
+ }
4922
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
4923
+ // Only monitor this failure once because there tends to be a lot of the
4924
+ // same error.
4925
+ loggedTypeFailures[error.message] = true;
4926
 
4927
+ var stack = getStack ? getStack() : '';
 
 
 
 
 
 
 
 
4928
 
4929
+ printWarning(
4930
+ 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
4931
+ );
4932
+ }
4933
+ }
4934
+ }
4935
  }
 
4936
  }
4937
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4938
  /**
4939
+ * Resets warning cache when testing.
4940
  *
4941
  * @private
 
 
4942
  */
4943
+ checkPropTypes.resetWarningCache = function() {
4944
+ if (process.env.NODE_ENV !== 'production') {
4945
+ loggedTypeFailures = {};
4946
+ }
4947
  }
4948
 
4949
+ module.exports = checkPropTypes;
4950
 
4951
+ /* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(/*! ./../process/browser.js */ 6)))
4952
 
4953
  /***/ }),
4954
+ /* 84 */
4955
+ /*!*************************************************************!*\
4956
+ !*** ./node_modules/prop-types/lib/ReactPropTypesSecret.js ***!
4957
+ \*************************************************************/
4958
+ /*! dynamic exports provided */
4959
  /*! all exports used */
4960
  /***/ (function(module, exports, __webpack_require__) {
4961
 
4962
+ "use strict";
 
4963
  /**
4964
+ * Copyright (c) 2013-present, Facebook, Inc.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4965
  *
4966
+ * This source code is licensed under the MIT license found in the
4967
+ * LICENSE file in the root directory of this source tree.
4968
  */
 
 
 
4969
 
 
 
4970
 
4971
+
4972
+ var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
4973
+
4974
+ module.exports = ReactPropTypesSecret;
4975
 
4976
 
4977
  /***/ }),
4978
+ /* 85 */
4979
+ /*!*************************************************************!*\
4980
+ !*** ./node_modules/@emotion/core/dist/core.browser.esm.js ***!
4981
+ \*************************************************************/
4982
+ /*! exports provided: CacheProvider, ThemeContext, withEmotionCache, css, ClassNames, Global, createElement, jsx, keyframes */
4983
+ /*! exports used: CacheProvider, ClassNames, jsx, keyframes */
4984
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
4985
 
4986
  "use strict";
4987
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "b", function() { return ClassNames; });
4988
+ /* unused harmony export Global */
4989
+ /* unused harmony export createElement */
4990
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return jsx; });
4991
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "d", function() { return keyframes; });
4992
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_inheritsLoose__ = __webpack_require__(/*! @babel/runtime/helpers/esm/inheritsLoose */ 336);
4993
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react__ = __webpack_require__(/*! react */ 5);
4994
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_react___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_react__);
4995
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_cache__ = __webpack_require__(/*! @emotion/cache */ 86);
4996
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__emotion_element_57a3a7a3_browser_esm_js__ = __webpack_require__(/*! ./emotion-element-57a3a7a3.browser.esm.js */ 169);
4997
+ /* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return __WEBPACK_IMPORTED_MODULE_3__emotion_element_57a3a7a3_browser_esm_js__["a"]; });
4998
+ /* unused harmony reexport ThemeContext */
4999
+ /* unused harmony reexport withEmotionCache */
5000
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__emotion_utils__ = __webpack_require__(/*! @emotion/utils */ 170);
5001
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__emotion_serialize__ = __webpack_require__(/*! @emotion/serialize */ 87);
5002
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__emotion_sheet__ = __webpack_require__(/*! @emotion/sheet */ 168);
5003
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__emotion_css__ = __webpack_require__(/*! @emotion/css */ 41);
5004
+ /* unused harmony reexport css */
5005
 
 
5006
 
 
5007
 
 
5008
 
 
5009
 
5010
 
5011
 
 
 
5012
 
 
 
5013
 
 
 
5014
 
 
 
 
 
 
 
5015
 
5016
+ var jsx = function jsx(type, props) {
5017
+ var args = arguments;
5018
 
5019
+ if (props == null || !__WEBPACK_IMPORTED_MODULE_3__emotion_element_57a3a7a3_browser_esm_js__["e" /* h */].call(props, 'css')) {
5020
+ // $FlowFixMe
5021
+ return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"].apply(undefined, args);
5022
+ }
5023
 
5024
+ var argsLength = args.length;
5025
+ var createElementArgArray = new Array(argsLength);
5026
+ createElementArgArray[0] = __WEBPACK_IMPORTED_MODULE_3__emotion_element_57a3a7a3_browser_esm_js__["b" /* E */];
5027
+ createElementArgArray[1] = Object(__WEBPACK_IMPORTED_MODULE_3__emotion_element_57a3a7a3_browser_esm_js__["d" /* c */])(type, props);
5028
 
5029
+ for (var i = 2; i < argsLength; i++) {
5030
+ createElementArgArray[i] = args[i];
5031
+ } // $FlowFixMe
5032
 
 
5033
 
5034
+ return __WEBPACK_IMPORTED_MODULE_1_react__["createElement"].apply(null, createElementArgArray);
5035
+ };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5036
 
5037
+ var warnedAboutCssPropForGlobal = false;
5038
+ var Global = /* #__PURE__ */Object(__WEBPACK_IMPORTED_MODULE_3__emotion_element_57a3a7a3_browser_esm_js__["f" /* w */])(function (props, cache) {
5039
+ if (process.env.NODE_ENV !== 'production' && !warnedAboutCssPropForGlobal && ( // check for className as well since the user is
5040
+ // probably using the custom createElement which
5041
+ // means it will be turned into a className prop
5042
+ // $FlowFixMe I don't really want to add it to the type since it shouldn't be used
5043
+ props.className || props.css)) {
5044
+ console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?");
5045
+ warnedAboutCssPropForGlobal = true;
5046
+ }
5047
 
5048
+ var styles = props.styles;
5049
 
5050
+ if (typeof styles === 'function') {
5051
+ return /*#__PURE__*/Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(__WEBPACK_IMPORTED_MODULE_3__emotion_element_57a3a7a3_browser_esm_js__["c" /* T */].Consumer, null, function (theme) {
5052
+ var serialized = Object(__WEBPACK_IMPORTED_MODULE_5__emotion_serialize__["a" /* serializeStyles */])([styles(theme)]);
5053
+ return /*#__PURE__*/Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(InnerGlobal, {
5054
+ serialized: serialized,
5055
+ cache: cache
5056
+ });
5057
+ });
5058
+ }
5059
 
5060
+ var serialized = Object(__WEBPACK_IMPORTED_MODULE_5__emotion_serialize__["a" /* serializeStyles */])([styles]);
5061
+ return /*#__PURE__*/Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(InnerGlobal, {
5062
+ serialized: serialized,
5063
+ cache: cache
5064
+ });
5065
+ });
 
 
5066
 
5067
+ // maintain place over rerenders.
5068
+ // initial render from browser, insertBefore context.sheet.tags[0] or if a style hasn't been inserted there yet, appendChild
5069
+ // initial client-side render from SSR, use place of hydrating tag
5070
+ var InnerGlobal = /*#__PURE__*/function (_React$Component) {
5071
+ Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_inheritsLoose__["a" /* default */])(InnerGlobal, _React$Component);
5072
 
5073
+ function InnerGlobal(props, context, updater) {
5074
+ return _React$Component.call(this, props, context, updater) || this;
5075
+ }
5076
 
5077
+ var _proto = InnerGlobal.prototype;
5078
 
5079
+ _proto.componentDidMount = function componentDidMount() {
5080
+ this.sheet = new __WEBPACK_IMPORTED_MODULE_6__emotion_sheet__["a" /* StyleSheet */]({
5081
+ key: this.props.cache.key + "-global",
5082
+ nonce: this.props.cache.sheet.nonce,
5083
+ container: this.props.cache.sheet.container
5084
+ }); // $FlowFixMe
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5085
 
5086
+ var node = document.querySelector("style[data-emotion-" + this.props.cache.key + "=\"" + this.props.serialized.name + "\"]");
5087
 
5088
+ if (node !== null) {
5089
+ this.sheet.tags.push(node);
5090
+ }
5091
 
5092
+ if (this.props.cache.sheet.tags.length) {
5093
+ this.sheet.before = this.props.cache.sheet.tags[0];
5094
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5095
 
5096
+ this.insertStyles();
5097
+ };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5098
 
5099
+ _proto.componentDidUpdate = function componentDidUpdate(prevProps) {
5100
+ if (prevProps.serialized.name !== this.props.serialized.name) {
5101
+ this.insertStyles();
5102
+ }
5103
+ };
5104
 
5105
+ _proto.insertStyles = function insertStyles$1() {
5106
+ if (this.props.serialized.next !== undefined) {
5107
+ // insert keyframes
5108
+ Object(__WEBPACK_IMPORTED_MODULE_4__emotion_utils__["b" /* insertStyles */])(this.props.cache, this.props.serialized.next, true);
5109
+ }
5110
 
5111
+ if (this.sheet.tags.length) {
5112
+ // if this doesn't exist then it will be null so the style element will be appended
5113
+ var element = this.sheet.tags[this.sheet.tags.length - 1].nextElementSibling;
5114
+ this.sheet.before = element;
5115
+ this.sheet.flush();
5116
+ }
5117
 
5118
+ this.props.cache.insert("", this.props.serialized, this.sheet, false);
5119
+ };
 
 
 
5120
 
5121
+ _proto.componentWillUnmount = function componentWillUnmount() {
5122
+ this.sheet.flush();
5123
+ };
5124
 
5125
+ _proto.render = function render() {
 
 
 
 
5126
 
5127
+ return null;
5128
+ };
5129
 
5130
+ return InnerGlobal;
5131
+ }(__WEBPACK_IMPORTED_MODULE_1_react__["Component"]);
 
 
 
5132
 
5133
+ var keyframes = function keyframes() {
5134
+ var insertable = __WEBPACK_IMPORTED_MODULE_7__emotion_css__["a" /* default */].apply(void 0, arguments);
5135
+ var name = "animation-" + insertable.name; // $FlowFixMe
5136
 
5137
+ return {
5138
+ name: name,
5139
+ styles: "@keyframes " + name + "{" + insertable.styles + "}",
5140
+ anim: 1,
5141
+ toString: function toString() {
5142
+ return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
5143
+ }
5144
+ };
5145
+ };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5146
 
5147
+ var classnames = function classnames(args) {
5148
+ var len = args.length;
5149
+ var i = 0;
5150
+ var cls = '';
5151
 
5152
+ for (; i < len; i++) {
5153
+ var arg = args[i];
5154
+ if (arg == null) continue;
5155
+ var toAdd = void 0;
 
5156
 
5157
+ switch (typeof arg) {
5158
+ case 'boolean':
5159
+ break;
5160
 
5161
+ case 'object':
5162
+ {
5163
+ if (Array.isArray(arg)) {
5164
+ toAdd = classnames(arg);
5165
+ } else {
5166
+ toAdd = '';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5167
 
5168
+ for (var k in arg) {
5169
+ if (arg[k] && k) {
5170
+ toAdd && (toAdd += ' ');
5171
+ toAdd += k;
5172
+ }
5173
+ }
5174
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5175
 
5176
+ break;
5177
+ }
5178
 
5179
+ default:
5180
+ {
5181
+ toAdd = arg;
5182
+ }
5183
+ }
5184
 
5185
+ if (toAdd) {
5186
+ cls && (cls += ' ');
5187
+ cls += toAdd;
5188
+ }
5189
+ }
 
 
 
 
 
 
5190
 
5191
+ return cls;
5192
+ };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5193
 
5194
+ function merge(registered, css, className) {
5195
+ var registeredStyles = [];
5196
+ var rawClassName = Object(__WEBPACK_IMPORTED_MODULE_4__emotion_utils__["a" /* getRegisteredStyles */])(registered, registeredStyles, className);
5197
 
5198
+ if (registeredStyles.length < 2) {
5199
+ return className;
5200
+ }
5201
 
5202
+ return rawClassName + css(registeredStyles);
5203
+ }
5204
 
5205
+ var ClassNames = Object(__WEBPACK_IMPORTED_MODULE_3__emotion_element_57a3a7a3_browser_esm_js__["f" /* w */])(function (props, context) {
5206
+ return /*#__PURE__*/Object(__WEBPACK_IMPORTED_MODULE_1_react__["createElement"])(__WEBPACK_IMPORTED_MODULE_3__emotion_element_57a3a7a3_browser_esm_js__["c" /* T */].Consumer, null, function (theme) {
5207
+ var hasRendered = false;
5208
 
5209
+ var css = function css() {
5210
+ if (hasRendered && process.env.NODE_ENV !== 'production') {
5211
+ throw new Error('css can only be used during render');
5212
+ }
5213
 
5214
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
5215
+ args[_key] = arguments[_key];
5216
+ }
5217
 
5218
+ var serialized = Object(__WEBPACK_IMPORTED_MODULE_5__emotion_serialize__["a" /* serializeStyles */])(args, context.registered);
5219
 
5220
+ {
5221
+ Object(__WEBPACK_IMPORTED_MODULE_4__emotion_utils__["b" /* insertStyles */])(context, serialized, false);
5222
+ }
 
 
 
 
5223
 
5224
+ return context.key + "-" + serialized.name;
5225
+ };
5226
 
5227
+ var cx = function cx() {
5228
+ if (hasRendered && process.env.NODE_ENV !== 'production') {
5229
+ throw new Error('cx can only be used during render');
5230
+ }
 
 
 
5231
 
5232
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
5233
+ args[_key2] = arguments[_key2];
5234
+ }
5235
 
5236
+ return merge(context.registered, css, classnames(args));
5237
+ };
 
 
 
 
 
 
5238
 
5239
+ var content = {
5240
+ css: css,
5241
+ cx: cx,
5242
+ theme: theme
5243
+ };
5244
+ var ele = props.children(content);
5245
+ hasRendered = true;
5246
 
5247
+ return ele;
5248
+ });
5249
+ });
5250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5251
 
5252
+
5253
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(/*! ./../../../process/browser.js */ 6)))
5254
+
5255
+ /***/ }),
5256
+ /* 86 */
5257
+ /*!***************************************************************!*\
5258
+ !*** ./node_modules/@emotion/cache/dist/cache.browser.esm.js ***!
5259
+ \***************************************************************/
5260
+ /*! exports provided: default */
5261
+ /*! exports used: default */
5262
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5263
 
5264
  "use strict";
5265
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_sheet__ = __webpack_require__(/*! @emotion/sheet */ 168);
5266
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_stylis__ = __webpack_require__(/*! @emotion/stylis */ 337);
5267
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_weak_memoize__ = __webpack_require__(/*! @emotion/weak-memoize */ 338);
5268
 
 
5269
 
 
5270
 
 
 
 
 
 
 
 
 
 
 
 
 
5271
 
5272
+ // https://github.com/thysultan/stylis.js/tree/master/plugins/rule-sheet
5273
+ // inlined to avoid umd wrapper and peerDep warnings/installing stylis
5274
+ // since we use stylis after closure compiler
5275
+ var delimiter = '/*|*/';
5276
+ var needle = delimiter + '}';
5277
 
5278
+ function toSheet(block) {
5279
+ if (block) {
5280
+ Sheet.current.insert(block + '}');
5281
  }
5282
+ }
 
 
 
 
 
 
 
 
5283
 
5284
+ var Sheet = {
5285
+ current: null
5286
  };
5287
+ var ruleSheet = function ruleSheet(context, content, selectors, parents, line, column, length, ns, depth, at) {
5288
+ switch (context) {
5289
+ // property
5290
+ case 1:
5291
+ {
5292
+ switch (content.charCodeAt(0)) {
5293
+ case 64:
5294
+ {
5295
+ // @import
5296
+ Sheet.current.insert(content + ';');
5297
+ return '';
5298
+ }
5299
+ // charcode for l
5300
 
5301
+ case 108:
5302
+ {
5303
+ // charcode for b
5304
+ // this ignores label
5305
+ if (content.charCodeAt(2) === 98) {
5306
+ return '';
5307
+ }
5308
+ }
5309
+ }
5310
 
5311
+ break;
5312
+ }
5313
+ // selector
5314
+
5315
+ case 2:
5316
+ {
5317
+ if (ns === 0) return content + delimiter;
5318
+ break;
5319
+ }
5320
+ // at-rule
5321
+
5322
+ case 3:
5323
+ {
5324
+ switch (ns) {
5325
+ // @font-face, @page
5326
+ case 102:
5327
+ case 112:
5328
+ {
5329
+ Sheet.current.insert(selectors[0] + content);
5330
+ return '';
5331
+ }
5332
+
5333
+ default:
5334
+ {
5335
+ return content + (at === 0 ? delimiter : '');
5336
+ }
5337
+ }
5338
+ }
5339
+
5340
+ case -2:
5341
+ {
5342
+ content.split(needle).forEach(toSheet);
5343
+ }
5344
+ }
5345
  };
5346
 
5347
+ var createCache = function createCache(options) {
5348
+ if (options === undefined) options = {};
5349
+ var key = options.key || 'css';
5350
+ var stylisOptions;
5351
+
5352
+ if (options.prefix !== undefined) {
5353
+ stylisOptions = {
5354
+ prefix: options.prefix
5355
+ };
5356
  }
 
 
 
 
 
5357
 
5358
+ var stylis = new __WEBPACK_IMPORTED_MODULE_1__emotion_stylis__["a" /* default */](stylisOptions);
5359
+
5360
+ if (process.env.NODE_ENV !== 'production') {
5361
+ // $FlowFixMe
5362
+ if (/[^a-z-]/.test(key)) {
5363
+ throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
 
 
 
5364
  }
 
 
5365
  }
5366
 
5367
+ var inserted = {}; // $FlowFixMe
 
5368
 
5369
+ var container;
 
 
 
5370
 
5371
+ {
5372
+ container = options.container || document.head;
5373
+ var nodes = document.querySelectorAll("style[data-emotion-" + key + "]");
5374
+ Array.prototype.forEach.call(nodes, function (node) {
5375
+ var attrib = node.getAttribute("data-emotion-" + key); // $FlowFixMe
5376
 
5377
+ attrib.split(' ').forEach(function (id) {
5378
+ inserted[id] = true;
5379
+ });
5380
 
5381
+ if (node.parentNode !== container) {
5382
+ container.appendChild(node);
5383
+ }
5384
+ });
5385
+ }
5386
 
5387
+ var _insert;
 
 
 
 
 
 
 
5388
 
5389
+ {
5390
+ stylis.use(options.stylisPlugins)(ruleSheet);
 
 
 
5391
 
5392
+ _insert = function insert(selector, serialized, sheet, shouldCache) {
5393
+ var name = serialized.name;
5394
+ Sheet.current = sheet;
5395
 
5396
+ if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {
5397
+ var map = serialized.map;
5398
+ Sheet.current = {
5399
+ insert: function insert(rule) {
5400
+ sheet.insert(rule + map);
5401
+ }
5402
+ };
5403
+ }
 
 
 
 
 
 
 
 
5404
 
5405
+ stylis(selector, serialized.styles);
 
5406
 
5407
+ if (shouldCache) {
5408
+ cache.inserted[name] = true;
5409
+ }
5410
+ };
5411
+ }
5412
 
5413
+ if (process.env.NODE_ENV !== 'production') {
5414
+ // https://esbench.com/bench/5bf7371a4cd7e6009ef61d0a
5415
+ var commentStart = /\/\*/g;
5416
+ var commentEnd = /\*\//g;
5417
+ stylis.use(function (context, content) {
5418
+ switch (context) {
5419
+ case -1:
5420
+ {
5421
+ while (commentStart.test(content)) {
5422
+ commentEnd.lastIndex = commentStart.lastIndex;
5423
 
5424
+ if (commentEnd.test(content)) {
5425
+ commentStart.lastIndex = commentEnd.lastIndex;
5426
+ continue;
5427
+ }
5428
 
5429
+ throw new Error('Your styles have an unterminated comment ("/*" without corresponding "*/").');
5430
+ }
 
 
5431
 
5432
+ commentStart.lastIndex = 0;
5433
+ break;
5434
+ }
5435
+ }
5436
+ });
5437
+ stylis.use(function (context, content, selectors) {
5438
+ switch (context) {
5439
+ case -1:
5440
+ {
5441
+ var flag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
5442
+ var unsafePseudoClasses = content.match(/(:first|:nth|:nth-last)-child/g);
5443
 
5444
+ if (unsafePseudoClasses && cache.compat !== true) {
5445
+ unsafePseudoClasses.forEach(function (unsafePseudoClass) {
5446
+ var ignoreRegExp = new RegExp(unsafePseudoClass + ".*\\/\\* " + flag + " \\*\\/");
5447
+ var ignore = ignoreRegExp.test(content);
 
 
 
 
 
 
 
 
 
 
5448
 
5449
+ if (unsafePseudoClass && !ignore) {
5450
+ console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
5451
+ }
5452
+ });
5453
+ }
5454
 
5455
+ break;
5456
+ }
5457
+ }
5458
+ });
 
 
 
 
 
 
 
 
5459
  }
 
 
5460
 
5461
+ var cache = {
5462
+ key: key,
5463
+ sheet: new __WEBPACK_IMPORTED_MODULE_0__emotion_sheet__["a" /* StyleSheet */]({
5464
+ key: key,
5465
+ container: container,
5466
+ nonce: options.nonce,
5467
+ speedy: options.speedy
5468
+ }),
5469
+ nonce: options.nonce,
5470
+ inserted: inserted,
5471
+ registered: {},
5472
+ insert: _insert
5473
+ };
5474
+ return cache;
5475
+ };
5476
 
5477
+ /* harmony default export */ __webpack_exports__["a"] = (createCache);
 
 
 
 
 
 
 
 
 
 
 
 
5478
 
5479
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(/*! ./../../../process/browser.js */ 6)))
5480
 
5481
+ /***/ }),
5482
+ /* 87 */
5483
+ /*!***********************************************************************!*\
5484
+ !*** ./node_modules/@emotion/serialize/dist/serialize.browser.esm.js ***!
5485
+ \***********************************************************************/
5486
+ /*! exports provided: serializeStyles */
5487
+ /*! exports used: serializeStyles */
5488
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5489
 
5490
+ "use strict";
5491
+ /* WEBPACK VAR INJECTION */(function(process) {/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return serializeStyles; });
5492
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__emotion_hash__ = __webpack_require__(/*! @emotion/hash */ 340);
5493
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__emotion_unitless__ = __webpack_require__(/*! @emotion/unitless */ 341);
5494
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__emotion_memoize__ = __webpack_require__(/*! @emotion/memoize */ 342);
5495
 
 
 
 
 
 
 
 
 
 
 
 
5496
 
 
5497
 
 
 
 
 
 
 
 
 
 
 
5498
 
5499
+ var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
5500
+ var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
5501
+ var hyphenateRegex = /[A-Z]|^ms/g;
5502
+ var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
 
 
5503
 
5504
+ var isCustomProperty = function isCustomProperty(property) {
5505
+ return property.charCodeAt(1) === 45;
5506
+ };
5507
 
5508
+ var isProcessableValue = function isProcessableValue(value) {
5509
+ return value != null && typeof value !== 'boolean';
5510
+ };
5511
 
5512
+ var processStyleName = Object(__WEBPACK_IMPORTED_MODULE_2__emotion_memoize__["a" /* default */])(function (styleName) {
5513
+ return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
5514
+ });
5515
 
5516
+ var processStyleValue = function processStyleValue(key, value) {
5517
+ switch (key) {
5518
+ case 'animation':
5519
+ case 'animationName':
5520
+ {
5521
+ if (typeof value === 'string') {
5522
+ return value.replace(animationRegex, function (match, p1, p2) {
5523
+ cursor = {
5524
+ name: p1,
5525
+ styles: p2,
5526
+ next: cursor
5527
+ };
5528
+ return p1;
5529
+ });
5530
+ }
5531
+ }
5532
  }
5533
 
5534
+ if (__WEBPACK_IMPORTED_MODULE_1__emotion_unitless__["a" /* default */][key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
5535
+ return value + 'px';
 
5536
  }
5537
 
5538
+ return value;
5539
+ };
 
 
 
 
5540
 
5541
+ if (process.env.NODE_ENV !== 'production') {
5542
+ var contentValuePattern = /(attr|calc|counters?|url)\(/;
5543
+ var contentValues = ['normal', 'none', 'counter', 'open-quote', 'close-quote', 'no-open-quote', 'no-close-quote', 'initial', 'inherit', 'unset'];
5544
+ var oldProcessStyleValue = processStyleValue;
5545
+ var msPattern = /^-ms-/;
5546
+ var hyphenPattern = /-(.)/g;
5547
+ var hyphenatedCache = {};
5548
 
5549
+ processStyleValue = function processStyleValue(key, value) {
5550
+ if (key === 'content') {
5551
+ if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
5552
+ console.error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
5553
+ }
5554
+ }
5555
 
5556
+ var processed = oldProcessStyleValue(key, value);
 
 
 
 
 
 
 
5557
 
5558
+ if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
5559
+ hyphenatedCache[key] = true;
5560
+ console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
5561
+ return _char.toUpperCase();
5562
+ }) + "?");
5563
+ }
5564
 
5565
+ return processed;
5566
+ };
5567
+ }
5568
 
5569
+ var shouldWarnAboutInterpolatingClassNameFromCss = true;
 
 
 
 
 
 
5570
 
5571
+ function handleInterpolation(mergedProps, registered, interpolation, couldBeSelectorInterpolation) {
5572
+ if (interpolation == null) {
5573
+ return '';
 
 
5574
  }
5575
 
5576
+ if (interpolation.__emotion_styles !== undefined) {
5577
+ if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
5578
+ throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.');
5579
+ }
 
5580
 
5581
+ return interpolation;
5582
+ }
5583
 
5584
+ switch (typeof interpolation) {
5585
+ case 'boolean':
5586
+ {
5587
+ return '';
5588
+ }
5589
 
5590
+ case 'object':
5591
+ {
5592
+ if (interpolation.anim === 1) {
5593
+ cursor = {
5594
+ name: interpolation.name,
5595
+ styles: interpolation.styles,
5596
+ next: cursor
5597
+ };
5598
+ return interpolation.name;
5599
+ }
5600
 
5601
+ if (interpolation.styles !== undefined) {
5602
+ var next = interpolation.next;
5603
 
5604
+ if (next !== undefined) {
5605
+ // not the most efficient thing ever but this is a pretty rare case
5606
+ // and there will be very few iterations of this generally
5607
+ while (next !== undefined) {
5608
+ cursor = {
5609
+ name: next.name,
5610
+ styles: next.styles,
5611
+ next: cursor
5612
+ };
5613
+ next = next.next;
5614
+ }
5615
+ }
5616
 
5617
+ var styles = interpolation.styles + ";";
5618
 
5619
+ if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {
5620
+ styles += interpolation.map;
5621
+ }
5622
 
5623
+ return styles;
5624
+ }
5625
 
5626
+ return createStringFromObject(mergedProps, registered, interpolation);
5627
+ }
5628
 
5629
+ case 'function':
5630
+ {
5631
+ if (mergedProps !== undefined) {
5632
+ var previousCursor = cursor;
5633
+ var result = interpolation(mergedProps);
5634
+ cursor = previousCursor;
5635
+ return handleInterpolation(mergedProps, registered, result, couldBeSelectorInterpolation);
5636
+ } else if (process.env.NODE_ENV !== 'production') {
5637
+ console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
5638
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5639
 
5640
+ break;
5641
+ }
5642
 
5643
+ case 'string':
5644
+ if (process.env.NODE_ENV !== 'production') {
5645
+ var matched = [];
5646
+ var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
5647
+ var fakeVarName = "animation" + matched.length;
5648
+ matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
5649
+ return "${" + fakeVarName + "}";
5650
+ });
5651
 
5652
+ if (matched.length) {
5653
+ console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`"));
5654
+ }
5655
+ }
 
 
 
 
5656
 
5657
+ break;
5658
+ } // finalize string values (regular strings and functions interpolated into css calls)
5659
 
 
 
 
 
 
 
 
 
 
 
 
 
5660
 
5661
+ if (registered == null) {
5662
+ return interpolation;
5663
+ }
5664
 
5665
+ var cached = registered[interpolation];
5666
 
5667
+ if (process.env.NODE_ENV !== 'production' && couldBeSelectorInterpolation && shouldWarnAboutInterpolatingClassNameFromCss && cached !== undefined) {
5668
+ console.error('Interpolating a className from css`` is not recommended and will cause problems with composition.\n' + 'Interpolating a className from css`` will be completely unsupported in a future major version of Emotion');
5669
+ shouldWarnAboutInterpolatingClassNameFromCss = false;
5670
+ }
 
 
 
 
5671
 
5672
+ return cached !== undefined && !couldBeSelectorInterpolation ? cached : interpolation;
5673
+ }
5674
 
5675
+ function createStringFromObject(mergedProps, registered, obj) {
5676
+ var string = '';
5677
 
5678
+ if (Array.isArray(obj)) {
5679
+ for (var i = 0; i < obj.length; i++) {
5680
+ string += handleInterpolation(mergedProps, registered, obj[i], false);
5681
+ }
5682
+ } else {
5683
+ for (var _key in obj) {
5684
+ var value = obj[_key];
5685
 
5686
+ if (typeof value !== 'object') {
5687
+ if (registered != null && registered[value] !== undefined) {
5688
+ string += _key + "{" + registered[value] + "}";
5689
+ } else if (isProcessableValue(value)) {
5690
+ string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
5691
+ }
5692
+ } else {
5693
+ if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {
5694
+ throw new Error('Component selectors can only be used in conjunction with babel-plugin-emotion.');
5695
+ }
 
5696
 
5697
+ if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
5698
+ for (var _i = 0; _i < value.length; _i++) {
5699
+ if (isProcessableValue(value[_i])) {
5700
+ string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
5701
+ }
5702
+ }
5703
+ } else {
5704
+ var interpolated = handleInterpolation(mergedProps, registered, value, false);
5705
 
5706
+ switch (_key) {
5707
+ case 'animation':
5708
+ case 'animationName':
5709
+ {
5710
+ string += processStyleName(_key) + ":" + interpolated + ";";
5711
+ break;
5712
+ }
5713
 
5714
+ default:
5715
+ {
5716
+ if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {
5717
+ console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
5718
+ }
 
 
 
5719
 
5720
+ string += _key + "{" + interpolated + "}";
5721
+ }
5722
+ }
5723
+ }
5724
+ }
5725
+ }
5726
+ }
5727
 
5728
+ return string;
 
 
 
 
 
 
 
 
5729
  }
5730
 
5731
+ var labelPattern = /label:\s*([^\s;\n{]+)\s*;/g;
5732
+ var sourceMapPattern;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5733
 
5734
+ if (process.env.NODE_ENV !== 'production') {
5735
+ sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//;
5736
+ } // this is the cursor for keyframes
5737
+ // keyframes are stored on the SerializedStyles object as a linked list
5738
 
 
 
 
5739
 
5740
+ var cursor;
5741
+ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
5742
+ if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
5743
+ return args[0];
5744
+ }
5745
 
5746
+ var stringMode = true;
5747
+ var styles = '';
5748
+ cursor = undefined;
5749
+ var strings = args[0];
5750
 
5751
+ if (strings == null || strings.raw === undefined) {
5752
+ stringMode = false;
5753
+ styles += handleInterpolation(mergedProps, registered, strings, false);
5754
+ } else {
5755
+ if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {
5756
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
5757
+ }
5758
 
5759
+ styles += strings[0];
5760
+ } // we start at 1 since we've already handled the first arg
 
 
 
5761
 
 
5762
 
5763
+ for (var i = 1; i < args.length; i++) {
5764
+ styles += handleInterpolation(mergedProps, registered, args[i], styles.charCodeAt(styles.length - 1) === 46);
 
 
 
5765
 
5766
+ if (stringMode) {
5767
+ if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {
5768
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
5769
+ }
5770
 
5771
+ styles += strings[i];
5772
+ }
5773
+ }
5774
 
5775
+ var sourceMap;
 
 
 
 
 
 
 
5776
 
5777
+ if (process.env.NODE_ENV !== 'production') {
5778
+ styles = styles.replace(sourceMapPattern, function (match) {
5779
+ sourceMap = match;
5780
+ return '';
5781
+ });
5782
+ } // using a global regex with .exec is stateful so lastIndex has to be reset each time
5783
 
 
5784
 
5785
+ labelPattern.lastIndex = 0;
5786
+ var identifierName = '';
5787
+ var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
5788
 
5789
+ while ((match = labelPattern.exec(styles)) !== null) {
5790
+ identifierName += '-' + // $FlowFixMe we know it's not null
5791
+ match[1];
5792
+ }
5793
 
5794
+ var name = Object(__WEBPACK_IMPORTED_MODULE_0__emotion_hash__["a" /* default */])(styles) + identifierName;
 
 
5795
 
5796
+ if (process.env.NODE_ENV !== 'production') {
5797
+ // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)
5798
+ return {
5799
+ name: name,
5800
+ styles: styles,
5801
+ map: sourceMap,
5802
+ next: cursor,
5803
+ toString: function toString() {
5804
+ return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
5805
+ }
5806
+ };
5807
+ }
5808
 
5809
+ return {
5810
+ name: name,
5811
+ styles: styles,
5812
+ next: cursor
5813
+ };
5814
+ };
5815
 
 
 
5816
 
 
 
 
5817
 
5818
+ /* WEBPACK VAR INJECTION */}.call(__webpack_exports__, __webpack_require__(/*! ./../../../process/browser.js */ 6)))
5819
 
5820
+ /***/ }),
5821
+ /* 88 */
5822
+ /*!******************************************************************************************************!*\
5823
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js ***!
5824
+ \******************************************************************************************************/
5825
+ /*! exports provided: default */
5826
+ /*! exports used: default */
5827
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
5828
 
5829
+ "use strict";
5830
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _objectWithoutProperties;
5831
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__ = __webpack_require__(/*! @babel/runtime/helpers/esm/objectWithoutPropertiesLoose */ 351);
5832
 
5833
+ function _objectWithoutProperties(source, excluded) {
5834
+ if (source == null) return {};
5835
+ var target = Object(__WEBPACK_IMPORTED_MODULE_0__babel_runtime_helpers_esm_objectWithoutPropertiesLoose__["a" /* default */])(source, excluded);
5836
+ var key, i;
 
 
 
 
 
 
 
 
 
 
 
5837
 
5838
+ if (Object.getOwnPropertySymbols) {
5839
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5840
 
5841
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
5842
+ key = sourceSymbolKeys[i];
5843
+ if (excluded.indexOf(key) >= 0) continue;
5844
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
5845
+ target[key] = source[key];
5846
+ }
5847
+ }
5848
 
5849
+ return target;
5850
+ }
5851
 
5852
  /***/ }),
5853
+ /* 89 */
5854
+ /*!**************************************************************************************!*\
5855
+ !*** ./node_modules/react-select/node_modules/@babel/runtime/helpers/esm/extends.js ***!
5856
+ \**************************************************************************************/
5857
  /*! exports provided: default */
5858
  /*! exports used: default */
5859
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
5860
 
5861
  "use strict";
5862
+ /* harmony export (immutable) */ __webpack_exports__["a"] = _extends;
5863
+ function _extends() {
5864
+ _extends = Object.assign || function (target) {
5865
+ for (var i = 1; i < arguments.length; i++) {
5866
+ var source = arguments[i];
 
 
 
 
 
 
 
 
 
5867
 
5868
+ for (var key in source) {
5869
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
5870
+ target[key] = source[key];
5871
+ }
5872
+ }
5873
+ }
5874
 
5875
+ return target;
5876
+ };
5877
 
5878
+ return _extends.apply(this, arguments);
5879
+ }
 
5880
 
5881
+ /***/ }),
5882
+ /* 90 */
5883
+ /*!*******************************************!*\
5884
+ !*** ./node_modules/lodash/_baseSlice.js ***!
5885
+ \*******************************************/
5886
+ /*! dynamic exports provided */
5887
+ /*! all exports used */
5888
+ /***/ (function(module, exports) {
5889
 
5890
+ /**
5891
+ * The base implementation of `_.slice` without an iteratee call guard.
5892
+ *
5893
+ * @private
5894
+ * @param {Array} array The array to slice.
5895
+ * @param {number} [start=0] The start position.
5896
+ * @param {number} [end=array.length] The end position.
5897
+ * @returns {Array} Returns the slice of `array`.
5898
+ */
5899
+ function baseSlice(array, start, end) {
5900
+ var index = -1,
5901
+ length = array.length;
5902
 
5903
+ if (start < 0) {
5904
+ start = -start > length ? 0 : (length + start);
5905
+ }
5906
+ end = end > length ? length : end;
5907
+ if (end < 0) {
5908
+ end += length;
5909
+ }
5910
+ length = start > end ? 0 : ((end - start) >>> 0);
5911
+ start >>>= 0;
 
 
 
 
 
 
5912
 
5913
+ var result = Array(length);
5914
+ while (++index < length) {
5915
+ result[index] = array[index + start];
5916
+ }
5917
+ return result;
5918
+ }
 
 
 
 
 
 
 
 
 
 
5919
 
5920
+ module.exports = baseSlice;
 
5921
 
 
5922
 
5923
  /***/ }),
5924
+ /* 91 */
5925
+ /*!********************************************!*\
5926
+ !*** ./node_modules/lodash/_hasUnicode.js ***!
5927
+ \********************************************/
5928
+ /*! dynamic exports provided */
5929
+ /*! all exports used */
5930
+ /***/ (function(module, exports) {
 
 
 
 
 
 
 
 
 
 
5931
 
5932
+ /** Used to compose unicode character classes. */
5933
+ var rsAstralRange = '\\ud800-\\udfff',
5934
+ rsComboMarksRange = '\\u0300-\\u036f',
5935
+ reComboHalfMarksRange = '\\ufe20-\\ufe2f',
5936
+ rsComboSymbolsRange = '\\u20d0-\\u20ff',
5937
+ rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,
5938
+ rsVarRange = '\\ufe0e\\ufe0f';
5939
 
5940
+ /** Used to compose unicode capture groups. */
5941
+ var rsZWJ = '\\u200d';
5942
 
5943
+ /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */
5944
+ var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');
5945
 
5946
+ /**
5947
+ * Checks if `string` contains Unicode symbols.
5948
+ *
5949
+ * @private
5950
+ * @param {string} string The string to inspect.
5951
+ * @returns {boolean} Returns `true` if a symbol is found, else `false`.
5952
+ */
5953
+ function hasUnicode(string) {
5954
+ return reHasUnicode.test(string);
5955
+ }
5956
 
5957
+ module.exports = hasUnicode;
 
5958
 
 
 
5959
 
5960
+ /***/ }),
5961
+ /* 92 */
5962
+ /*!******************************************!*\
5963
+ !*** ./node_modules/lodash/toInteger.js ***!
5964
+ \******************************************/
5965
+ /*! dynamic exports provided */
5966
+ /*! all exports used */
5967
+ /***/ (function(module, exports, __webpack_require__) {
5968
 
5969
+ var toFinite = __webpack_require__(/*! ./toFinite */ 388);
5970
 
5971
+ /**
5972
+ * Converts `value` to an integer.
5973
+ *
5974
+ * **Note:** This method is loosely based on
5975
+ * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).
5976
+ *
5977
+ * @static
5978
+ * @memberOf _
5979
+ * @since 4.0.0
5980
+ * @category Lang
5981
+ * @param {*} value The value to convert.
5982
+ * @returns {number} Returns the converted integer.
5983
+ * @example
5984
+ *
5985
+ * _.toInteger(3.2);
5986
+ * // => 3
5987
+ *
5988
+ * _.toInteger(Number.MIN_VALUE);
5989
+ * // => 0
5990
+ *
5991
+ * _.toInteger(Infinity);
5992
+ * // => 1.7976931348623157e+308
5993
+ *
5994
+ * _.toInteger('3.2');
5995
+ * // => 3
5996
+ */
5997
+ function toInteger(value) {
5998
+ var result = toFinite(value),
5999
+ remainder = result % 1;
6000
 
6001
+ return result === result ? (remainder ? result - remainder : result) : 0;
6002
+ }
6003
+
6004
+ module.exports = toInteger;
6005
 
 
6006
 
6007
  /***/ }),
6008
+ /* 93 */
6009
+ /*!************************************!*\
6010
+ !*** ./src/blocks/post/styling.js ***!
6011
+ \************************************/
6012
  /*! exports provided: default */
6013
  /*! exports used: default */
6014
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
6015
 
6016
  "use strict";
6017
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSS */ 4);
6018
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/generateCSSUnit */ 3);
6019
+ /**
6020
+ * Set inline styles.
6021
+ * @param {object} props - The block object.
6022
+ * @return {object} The inline background type CSS.
6023
+ */
6024
 
 
6025
 
 
6026
 
 
6027
 
6028
+ function styling(props) {
6029
+ var _props$attributes = props.attributes,
6030
+ align = _props$attributes.align,
6031
+ rowGap = _props$attributes.rowGap,
6032
+ columnGap = _props$attributes.columnGap,
6033
+ bgColor = _props$attributes.bgColor,
6034
+ contentPadding = _props$attributes.contentPadding,
6035
+ contentPaddingMobile = _props$attributes.contentPaddingMobile,
6036
+ titleColor = _props$attributes.titleColor,
6037
+ titleFontSize = _props$attributes.titleFontSize,
6038
+ titleFontSizeType = _props$attributes.titleFontSizeType,
6039
+ titleFontSizeMobile = _props$attributes.titleFontSizeMobile,
6040
+ titleFontSizeTablet = _props$attributes.titleFontSizeTablet,
6041
+ titleFontFamily = _props$attributes.titleFontFamily,
6042
+ titleFontWeight = _props$attributes.titleFontWeight,
6043
+ titleLineHeightType = _props$attributes.titleLineHeightType,
6044
+ titleLineHeight = _props$attributes.titleLineHeight,
6045
+ titleLineHeightTablet = _props$attributes.titleLineHeightTablet,
6046
+ titleLineHeightMobile = _props$attributes.titleLineHeightMobile,
6047
+ metaFontSize = _props$attributes.metaFontSize,
6048
+ metaFontSizeType = _props$attributes.metaFontSizeType,
6049
+ metaFontSizeMobile = _props$attributes.metaFontSizeMobile,
6050
+ metaFontSizeTablet = _props$attributes.metaFontSizeTablet,
6051
+ metaFontFamily = _props$attributes.metaFontFamily,
6052
+ metaFontWeight = _props$attributes.metaFontWeight,
6053
+ metaLineHeightType = _props$attributes.metaLineHeightType,
6054
+ metaLineHeight = _props$attributes.metaLineHeight,
6055
+ metaLineHeightTablet = _props$attributes.metaLineHeightTablet,
6056
+ metaLineHeightMobile = _props$attributes.metaLineHeightMobile,
6057
+ excerptFontSize = _props$attributes.excerptFontSize,
6058
+ excerptFontSizeType = _props$attributes.excerptFontSizeType,
6059
+ excerptFontSizeTablet = _props$attributes.excerptFontSizeTablet,
6060
+ excerptFontSizeMobile = _props$attributes.excerptFontSizeMobile,
6061
+ excerptFontFamily = _props$attributes.excerptFontFamily,
6062
+ excerptFontWeight = _props$attributes.excerptFontWeight,
6063
+ excerptLineHeightType = _props$attributes.excerptLineHeightType,
6064
+ excerptLineHeight = _props$attributes.excerptLineHeight,
6065
+ excerptLineHeightTablet = _props$attributes.excerptLineHeightTablet,
6066
+ excerptLineHeightMobile = _props$attributes.excerptLineHeightMobile,
6067
+ ctaFontSize = _props$attributes.ctaFontSize,
6068
+ ctaFontSizeType = _props$attributes.ctaFontSizeType,
6069
+ ctaFontSizeTablet = _props$attributes.ctaFontSizeTablet,
6070
+ ctaFontSizeMobile = _props$attributes.ctaFontSizeMobile,
6071
+ ctaFontFamily = _props$attributes.ctaFontFamily,
6072
+ ctaFontWeight = _props$attributes.ctaFontWeight,
6073
+ ctaLineHeightType = _props$attributes.ctaLineHeightType,
6074
+ ctaLineHeight = _props$attributes.ctaLineHeight,
6075
+ ctaLineHeightTablet = _props$attributes.ctaLineHeightTablet,
6076
+ ctaLineHeightMobile = _props$attributes.ctaLineHeightMobile,
6077
+ metaColor = _props$attributes.metaColor,
6078
+ excerptColor = _props$attributes.excerptColor,
6079
+ ctaColor = _props$attributes.ctaColor,
6080
+ ctaBgColor = _props$attributes.ctaBgColor,
6081
+ ctaHColor = _props$attributes.ctaHColor,
6082
+ ctaBgHColor = _props$attributes.ctaBgHColor,
6083
+ titleBottomSpace = _props$attributes.titleBottomSpace,
6084
+ ctaBottomSpace = _props$attributes.ctaBottomSpace,
6085
+ imageBottomSpace = _props$attributes.imageBottomSpace,
6086
+ metaBottomSpace = _props$attributes.metaBottomSpace,
6087
+ excerptBottomSpace = _props$attributes.excerptBottomSpace,
6088
+ overlayOpacity = _props$attributes.overlayOpacity,
6089
+ bgOverlayColor = _props$attributes.bgOverlayColor,
6090
+ borderWidth = _props$attributes.borderWidth,
6091
+ borderStyle = _props$attributes.borderStyle,
6092
+ borderColor = _props$attributes.borderColor,
6093
+ borderHColor = _props$attributes.borderHColor,
6094
+ borderRadius = _props$attributes.borderRadius,
6095
+ btnVPadding = _props$attributes.btnVPadding,
6096
+ btnHPadding = _props$attributes.btnHPadding,
6097
+ linkBox = _props$attributes.linkBox,
6098
+ arrowColor = _props$attributes.arrowColor,
6099
+ arrowSize = _props$attributes.arrowSize,
6100
+ paginationBgActiveColor = _props$attributes.paginationBgActiveColor,
6101
+ paginationActiveColor = _props$attributes.paginationActiveColor,
6102
+ paginationBgColor = _props$attributes.paginationBgColor,
6103
+ paginationColor = _props$attributes.paginationColor,
6104
+ paginationLayout = _props$attributes.paginationLayout,
6105
+ paginationBorderSize = _props$attributes.paginationBorderSize,
6106
+ paginationBorderRadius = _props$attributes.paginationBorderRadius,
6107
+ paginationBorderColor = _props$attributes.paginationBorderColor,
6108
+ paginationBorderActiveColor = _props$attributes.paginationBorderActiveColor,
6109
+ paginationSpacing = _props$attributes.paginationSpacing,
6110
+ paginationAlignment = _props$attributes.paginationAlignment,
6111
+ inheritFromTheme = _props$attributes.inheritFromTheme,
6112
+ postPagination = _props$attributes.postPagination,
6113
+ paginationMarkup = _props$attributes.paginationMarkup,
6114
+ paginationType = _props$attributes.paginationType,
6115
+ paginationEventType = _props$attributes.paginationEventType,
6116
+ paginationAlign = _props$attributes.paginationAlign,
6117
+ paginationTextColor = _props$attributes.paginationTextColor,
6118
+ paginationMasonryBgColor = _props$attributes.paginationMasonryBgColor,
6119
+ paginationMasonryBorderStyle = _props$attributes.paginationMasonryBorderStyle,
6120
+ paginationMasonryBorderWidth = _props$attributes.paginationMasonryBorderWidth,
6121
+ paginationMasonryBorderRadius = _props$attributes.paginationMasonryBorderRadius,
6122
+ paginationMasonryBorderColor = _props$attributes.paginationMasonryBorderColor,
6123
+ paginationTextHoverColor = _props$attributes.paginationTextHoverColor,
6124
+ paginationBgHoverColor = _props$attributes.paginationBgHoverColor,
6125
+ paginationFontSize = _props$attributes.paginationFontSize,
6126
+ loaderColor = _props$attributes.loaderColor,
6127
+ loaderSize = _props$attributes.loaderSize,
6128
+ paginationButtonPaddingType = _props$attributes.paginationButtonPaddingType,
6129
+ vpaginationButtonPaddingMobile = _props$attributes.vpaginationButtonPaddingMobile,
6130
+ vpaginationButtonPaddingTablet = _props$attributes.vpaginationButtonPaddingTablet,
6131
+ vpaginationButtonPaddingDesktop = _props$attributes.vpaginationButtonPaddingDesktop,
6132
+ hpaginationButtonPaddingMobile = _props$attributes.hpaginationButtonPaddingMobile,
6133
+ hpaginationButtonPaddingTablet = _props$attributes.hpaginationButtonPaddingTablet,
6134
+ hpaginationButtonPaddingDesktop = _props$attributes.hpaginationButtonPaddingDesktop,
6135
+ imgPosition = _props$attributes.imgPosition;
6136
 
 
 
6137
 
6138
+ var mobile_selectors = {};
6139
+ var tablet_selectors = {};
6140
 
6141
+ var selectors = {
6142
+ " .uagb-post__items": {
6143
+ "margin-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(-rowGap / 2, "px"),
6144
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(-rowGap / 2, "px")
6145
+ },
6146
+ " .uagb-post__items article": {
6147
+ "padding-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(rowGap / 2, "px"),
6148
+ "padding-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(rowGap / 2, "px"),
6149
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(columnGap, "px")
6150
+ },
6151
+ " .uagb-post__inner-wrap": {
6152
+ "background": bgColor,
6153
+ "padding": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(contentPadding, "px"),
6154
+ "text-align": align
6155
+ },
6156
+ " .uagb-post__inner-wrap .uagb-post__cta": {
6157
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaBottomSpace, "px")
6158
+ },
6159
+ " .uagb-post__inner-wrap .uagb-post__image": {
6160
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(imageBottomSpace, "px")
6161
+ },
6162
+ " .uagb-post__inner-wrap .uagb-post__title": {
6163
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(titleBottomSpace, "px")
6164
+ },
6165
+ " .uagb-post__inner-wrap .uagb-post-grid-byline": {
6166
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaBottomSpace, "px")
6167
+ },
6168
+ " .uagb-post__inner-wrap .uagb-post__excerpt": {
6169
+ "margin-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(excerptBottomSpace, "px")
6170
+ },
6171
+ " .uagb-post__image:before": {
6172
+ "background-color": bgOverlayColor,
6173
+ "opacity": overlayOpacity / 100
6174
+ },
6175
+ " .uagb-post-pagination-wrap": {
6176
+ "margin-top": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationSpacing, "px"),
6177
+ "text-align": paginationAlignment
6178
+ }
6179
+ };
6180
+ if (imgPosition !== 'background') {
6181
+ selectors[" .uagb-post__inner-wrap > .uagb-post__image:first-child"] = {
6182
+ "margin-top": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(-contentPadding, "px"),
6183
+ "margin-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(-contentPadding, "px"),
6184
+ "margin-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(-contentPadding, "px")
6185
+ };
6186
+ }
6187
+ if (!inheritFromTheme) {
6188
+ selectors[" .uagb-post__title"] = {
6189
+ "color": titleColor,
6190
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(titleFontSize, titleFontSizeType),
6191
+ "font-family": titleFontFamily,
6192
+ "font-weight": titleFontWeight,
6193
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(titleLineHeight, titleLineHeightType)
6194
+ };
6195
+ selectors[" .uagb-post__title a"] = {
6196
+ "color": titleColor,
6197
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(titleFontSize, titleFontSizeType),
6198
+ "font-family": titleFontFamily,
6199
+ "font-weight": titleFontWeight,
6200
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(titleLineHeight, titleLineHeightType)
6201
+ };
6202
+ selectors[" .uagb-post-grid-byline"] = {
6203
+ "color": metaColor,
6204
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaFontSize, metaFontSizeType),
6205
+ "font-family": metaFontFamily,
6206
+ "font-weight": metaFontWeight,
6207
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaLineHeight, metaLineHeightType)
6208
+ };
6209
+ selectors[" .uagb-post-grid-byline .uagb-post__author"] = {
6210
+ "color": metaColor,
6211
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaFontSize, metaFontSizeType),
6212
+ "font-family": metaFontFamily,
6213
+ "font-weight": metaFontWeight,
6214
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaLineHeight, metaLineHeightType)
6215
+ };
6216
+ selectors[" .uagb-post-grid-byline .uagb-post__author a"] = {
6217
+ "color": metaColor,
6218
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaFontSize, metaFontSizeType),
6219
+ "font-family": metaFontFamily,
6220
+ "font-weight": metaFontWeight,
6221
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaLineHeight, metaLineHeightType)
6222
+ };
6223
+ selectors[" .uagb-post__excerpt"] = {
6224
+ "color": excerptColor,
6225
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(excerptFontSize, excerptFontSizeType),
6226
+ "font-family": excerptFontFamily,
6227
+ "font-weight": excerptFontWeight,
6228
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(excerptLineHeight, excerptLineHeightType)
6229
+ };
6230
+ selectors[" .uagb-post__cta"] = {
6231
+ "color": ctaColor,
6232
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType),
6233
+ "font-family": ctaFontFamily,
6234
+ "font-weight": ctaFontWeight,
6235
+ "line-height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaLineHeight, ctaLineHeightType),
6236
+ "background": ctaBgColor,
6237
+ "border-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(borderWidth, "px"),
6238
+ "border-radius": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(borderRadius, "px"),
6239
+ "border-color": borderColor,
6240
+ "border-style": borderStyle
6241
+ };
6242
+ selectors[" .uagb-post__cta a"] = {
6243
+ "color": ctaColor,
6244
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSize, ctaFontSizeType),
6245
+ "padding": btnVPadding + "px " + btnHPadding + "px"
6246
+ };
6247
+ selectors[" .uagb-post__cta:hover"] = {
6248
+ "color": ctaHColor,
6249
+ "background": ctaBgHColor,
6250
+ "border-color": borderHColor
6251
+ };
6252
+ selectors[" .uagb-post__cta:hover a"] = {
6253
+ "color": ctaHColor
6254
+ };
6255
  }
6256
 
6257
+ if (true === postPagination && 'empty' === paginationMarkup) {
6258
+ if ('filled' == paginationLayout) {
6259
+ selectors[" .uagb-post-pagination-wrap a"] = {
 
 
 
 
 
 
6260
 
6261
+ "background-color": paginationBgColor,
6262
+ "color": paginationColor
6263
+ };
6264
+ if ('undefined' == typeof paginationBgActiveColor && 'undefined' == typeof paginationActiveColor) {
6265
 
6266
+ selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
 
 
 
 
 
 
 
 
 
 
 
 
 
6267
 
6268
+ "background-color": paginationBgColor,
6269
+ "color": paginationColor
6270
+ };
 
 
 
 
 
 
 
 
 
 
6271
  }
6272
+ if ('undefined' == typeof paginationBgActiveColor && 'undefined' != typeof paginationActiveColor) {
 
6273
 
6274
+ selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
 
6275
 
6276
+ "background-color": paginationBgColor,
6277
+ "color": paginationActiveColor
6278
+ };
6279
+ }
6280
+ if ('undefined' != typeof paginationBgActiveColor && 'undefined' == typeof paginationActiveColor) {
6281
 
6282
+ selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
 
 
 
 
 
 
 
6283
 
6284
+ "background-color": paginationBgActiveColor,
6285
+ "color": paginationColor
6286
+ };
6287
+ }
6288
+ if ('undefined' != typeof paginationBgActiveColor && 'undefined' != typeof paginationActiveColor) {
6289
 
6290
+ selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
6291
 
6292
+ "background-color": paginationBgActiveColor,
6293
+ "color": paginationActiveColor
6294
+ };
6295
+ }
6296
+ }
6297
+ if ('border' == paginationLayout) {
6298
+ selectors[" .uagb-post-pagination-wrap a"] = {
6299
+ "border-style": "solid",
6300
+ "border-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationBorderSize, "px"),
6301
+ "border-color": paginationBorderColor,
6302
+ "border-radius": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationBorderRadius, "px"),
6303
+ "color": paginationColor,
6304
+ "background-color": "transparent"
6305
+ };
6306
+ if ('undefined' != typeof paginationBorderActiveColor && 'undefined' != typeof paginationActiveColor) {
6307
+ selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
6308
+ "border-style": "solid",
6309
+ "border-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationBorderSize, "px"),
6310
+ "border-color": paginationBorderActiveColor,
6311
+ "border-radius": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationBorderRadius, "px"),
6312
+ "color": paginationActiveColor,
6313
+ "background-color": "transparent"
6314
+ };
6315
+ }
6316
+ if ('undefined' == typeof paginationBorderActiveColor && 'undefined' != typeof paginationActiveColor) {
6317
+ selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
6318
+ "border-style": "solid",
6319
+ "border-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationBorderSize, "px"),
6320
+ "border-color": paginationBorderColor,
6321
+ "border-radius": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationBorderRadius, "px"),
6322
+ "color": paginationActiveColor,
6323
+ "background-color": "transparent"
6324
+ };
6325
+ }
6326
+ if ('undefined' != typeof paginationBorderActiveColor && 'undefined' == typeof paginationActiveColor) {
6327
+ selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
6328
+ "border-style": "solid",
6329
+ "border-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationBorderSize, "px"),
6330
+ "border-color": paginationBorderActiveColor,
6331
+ "border-radius": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationBorderRadius, "px"),
6332
+ "color": paginationColor,
6333
+ "background-color": "transparent"
6334
+ };
6335
+ }
6336
+ if ('undefined' == typeof paginationBorderActiveColor && 'undefined' == typeof paginationActiveColor) {
6337
+ selectors[" .uagb-post-pagination-wrap .page-numbers.current"] = {
6338
+ "border-style": "solid",
6339
+ "border-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationBorderSize, "px"),
6340
+ "border-color": paginationBorderColor,
6341
+ "border-radius": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationBorderRadius, "px"),
6342
+ "color": paginationColor,
6343
+ "background-color": "transparent"
6344
+ };
6345
+ }
6346
+ }
6347
  }
6348
 
6349
+ if (linkBox) {
6350
+ selectors[" .uagb-post__inner-wrap"]["cursor"] = "pointer";
6351
+ }
6352
 
6353
+ selectors[" .slick-arrow svg"] = {
6354
+ "fill": arrowColor,
6355
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(arrowSize, "px"),
6356
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(arrowSize, "px")
6357
+ };
6358
 
6359
+ if (!inheritFromTheme) {
 
 
6360
 
6361
+ mobile_selectors = {
6362
+ " .uagb-post__title": {
6363
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(titleFontSizeMobile, titleFontSizeType),
6364
+ "line-height": titleLineHeightMobile + titleLineHeightType
6365
+ },
6366
+ " .uagb-post__title a": {
6367
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(titleFontSizeMobile, titleFontSizeType),
6368
+ "line-height": titleLineHeightMobile + titleLineHeightType
6369
+ },
6370
+ " .uagb-post-grid-byline": {
6371
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaFontSizeMobile, metaFontSizeType),
6372
+ "line-height": metaLineHeightMobile + metaLineHeightType
6373
+ },
6374
+ " .uagb-post-grid-byline .uagb-post__author": {
6375
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaFontSizeMobile, metaFontSizeType),
6376
+ "line-height": metaLineHeightMobile + metaLineHeightType
6377
+ },
6378
+ " .uagb-post-grid-byline .uagb-post__author a": {
6379
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaFontSizeMobile, metaFontSizeType),
6380
+ "line-height": metaLineHeightMobile + metaLineHeightType
6381
+ },
6382
+ " .uagb-post__excerpt": {
6383
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(excerptFontSizeMobile, excerptFontSizeType),
6384
+ "line-height": excerptLineHeightMobile + excerptLineHeightType
6385
+ },
6386
+ " .uagb-post__cta": {
6387
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType),
6388
+ "line-height": ctaLineHeightMobile + ctaLineHeightType
6389
+ },
6390
+ " .uagb-post__cta a": {
6391
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeMobile, ctaFontSizeType),
6392
+ "line-height": ctaLineHeightMobile + ctaLineHeightType
6393
+ }
6394
+ };
6395
+
6396
+ tablet_selectors = {
6397
+ " .uagb-post__title": {
6398
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(titleFontSizeTablet, titleFontSizeType),
6399
+ "line-height": titleLineHeightTablet + titleLineHeightType
6400
+ },
6401
+ " .uagb-post__title a": {
6402
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(titleFontSizeTablet, titleFontSizeType),
6403
+ "line-height": titleLineHeightTablet + titleLineHeightType
6404
+ },
6405
+ " .uagb-post-grid-byline": {
6406
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaFontSizeTablet, metaFontSizeType),
6407
+ "line-height": metaLineHeightTablet + metaLineHeightType
6408
+ },
6409
+ " .uagb-post-grid-byline .uagb-post__author": {
6410
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaFontSizeTablet, metaFontSizeType),
6411
+ "line-height": metaLineHeightTablet + metaLineHeightType
6412
+ },
6413
+ " .uagb-post-grid-byline .uagb-post__author a": {
6414
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(metaFontSizeTablet, metaFontSizeType),
6415
+ "line-height": metaLineHeightTablet + metaLineHeightType
6416
+ },
6417
+ " .uagb-post__excerpt": {
6418
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(excerptFontSizeTablet, excerptFontSizeType),
6419
+ "line-height": excerptLineHeightTablet + excerptLineHeightType
6420
+ },
6421
+ " .uagb-post__cta": {
6422
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType),
6423
+ "line-height": ctaLineHeightTablet + ctaLineHeightType
6424
+ },
6425
+ " .uagb-post__cta a": {
6426
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(ctaFontSizeTablet, ctaFontSizeType),
6427
+ "line-height": ctaLineHeightTablet + ctaLineHeightType
6428
+ }
6429
+ };
6430
  }
6431
 
6432
+ if ('infinite' === paginationType) {
6433
+
6434
+ if ('button' === paginationEventType) {
6435
+ selectors[' .uagb-post__load-more-wrap'] = {
6436
+ 'text-align': paginationAlign
6437
+ };
6438
+ selectors[' .uagb-post__load-more-wrap .uagb-post-pagination-button'] = {
6439
+
6440
+ 'color': paginationTextColor,
6441
+ "background-color": paginationMasonryBgColor,
6442
+ "border-style": paginationMasonryBorderStyle,
6443
+ "border-width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationMasonryBorderWidth, 'px'),
6444
+ "border-radius": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationMasonryBorderRadius, 'px'),
6445
+ "border-color": paginationMasonryBorderColor,
6446
+ "font-size": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(paginationFontSize, 'px'),
6447
+ "padding-top": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(vpaginationButtonPaddingDesktop, paginationButtonPaddingType),
6448
+ "padding-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(vpaginationButtonPaddingDesktop, paginationButtonPaddingType),
6449
+ "padding-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(hpaginationButtonPaddingDesktop, paginationButtonPaddingType),
6450
+ "padding-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(hpaginationButtonPaddingDesktop, paginationButtonPaddingType)
6451
+
6452
+ };
6453
+ selectors[' .uagb-post__load-more-wrap .uagb-post-pagination-button:hover'] = {
6454
+ 'color': paginationTextHoverColor,
6455
+ "background-color": paginationBgHoverColor
6456
+ };
6457
+ mobile_selectors[' .uagb-post__load-more-wrap .uagb-post-pagination-button'] = {
6458
+ "padding-top": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(vpaginationButtonPaddingMobile, paginationButtonPaddingType),
6459
+ "padding-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(vpaginationButtonPaddingMobile, paginationButtonPaddingType),
6460
+ "padding-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(hpaginationButtonPaddingMobile, paginationButtonPaddingType),
6461
+ "padding-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(hpaginationButtonPaddingMobile, paginationButtonPaddingType)
6462
+ };
6463
+ tablet_selectors[' .uagb-post__load-more-wrap .uagb-post-pagination-button'] = {
6464
+ "padding-top": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(vpaginationButtonPaddingTablet, paginationButtonPaddingType),
6465
+ "padding-bottom": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(vpaginationButtonPaddingTablet, paginationButtonPaddingType),
6466
+ "padding-right": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(hpaginationButtonPaddingTablet, paginationButtonPaddingType),
6467
+ "padding-left": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(hpaginationButtonPaddingTablet, paginationButtonPaddingType)
6468
+ };
6469
+ }
6470
+ if ('scroll' === paginationEventType) {
6471
+ selectors['.uagb-post-grid .uagb-post-inf-loader div'] = {
6472
+ "width": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(loaderSize, "px"),
6473
+ "height": Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_generateCSSUnit__["a" /* default */])(loaderSize, "px"),
6474
+ "background-color": loaderColor
6475
+ };
6476
  }
6477
  }
6478
 
6479
+ mobile_selectors[" .uagb-post__inner-wrap"] = {
6480
+ "padding": contentPaddingMobile + "px"
6481
+ };
6482
+ mobile_selectors[".uagb-post__inner-wrap > .uagb-post__image:first-child"] = {
6483
+ "margin-top": -contentPadding + "px",
6484
+ "margin-left": -contentPadding + "px",
6485
+ "margin-right": -contentPadding + "px"
6486
+ };
6487
+ var styling_css = "";
6488
 
6489
+ styling_css = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(selectors, ".uagb-block-" + props.clientId.substr(0, 8));
 
 
6490
 
6491
+ styling_css += Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(tablet_selectors, ".uagb-block-" + props.clientId.substr(0, 8), true, "tablet");
6492
 
6493
+ styling_css += Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_generateCSS__["a" /* default */])(mobile_selectors, ".uagb-block-" + props.clientId.substr(0, 8), true, "mobile");
6494
+
6495
+ return styling_css;
6496
  }
6497
 
6498
+ /* harmony default export */ __webpack_exports__["a"] = (styling);
6499
 
6500
  /***/ }),
6501
+ /* 94 */
6502
+ /*!************************************!*\
6503
+ !*** ./src/blocks/post/style.scss ***!
6504
+ \************************************/
6505
+ /*! dynamic exports provided */
6506
+ /***/ (function(module, exports) {
 
 
 
 
6507
 
6508
+ // removed by extract-text-webpack-plugin
6509
 
6510
+ /***/ }),
6511
+ /* 95 */
6512
+ /*!*************************************!*\
6513
+ !*** ./src/blocks/post/editor.scss ***!
6514
+ \*************************************/
6515
+ /*! dynamic exports provided */
6516
+ /***/ (function(module, exports) {
6517
 
6518
+ // removed by extract-text-webpack-plugin
6519
 
6520
+ /***/ }),
6521
+ /* 96 */
6522
+ /*!***********************************************!*\
6523
+ !*** ./node_modules/ev-emitter/ev-emitter.js ***!
6524
+ \***********************************************/
6525
+ /*! dynamic exports provided */
6526
+ /*! all exports used */
6527
+ /***/ (function(module, exports, __webpack_require__) {
6528
 
6529
+ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/**
6530
+ * EvEmitter v1.1.0
6531
+ * Lil' event emitter
6532
+ * MIT License
6533
+ */
6534
 
6535
+ /* jshint unused: true, undef: true, strict: true */
 
6536
 
6537
+ ( function( global, factory ) {
6538
+ // universal module definition
6539
+ /* jshint strict: false */ /* globals define, module, window */
6540
+ if ( true ) {
6541
+ // AMD - RequireJS
6542
+ !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
6543
+ __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
6544
+ (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
6545
+ __WEBPACK_AMD_DEFINE_FACTORY__),
6546
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
6547
+ } else if ( typeof module == 'object' && module.exports ) {
6548
+ // CommonJS - Browserify, Webpack
6549
+ module.exports = factory();
6550
+ } else {
6551
+ // Browser globals
6552
+ global.EvEmitter = factory();
6553
+ }
6554
 
6555
+ }( typeof window != 'undefined' ? window : this, function() {
6556
 
6557
+ "use strict";
 
 
 
 
 
 
6558
 
6559
+ function EvEmitter() {}
 
6560
 
6561
+ var proto = EvEmitter.prototype;
6562
 
6563
+ proto.on = function( eventName, listener ) {
6564
+ if ( !eventName || !listener ) {
6565
+ return;
6566
+ }
6567
+ // set events hash
6568
+ var events = this._events = this._events || {};
6569
+ // set listeners array
6570
+ var listeners = events[ eventName ] = events[ eventName ] || [];
6571
+ // only add once
6572
+ if ( listeners.indexOf( listener ) == -1 ) {
6573
+ listeners.push( listener );
6574
+ }
6575
 
6576
+ return this;
6577
+ };
 
 
 
6578
 
6579
+ proto.once = function( eventName, listener ) {
6580
+ if ( !eventName || !listener ) {
6581
+ return;
6582
+ }
6583
+ // add event
6584
+ this.on( eventName, listener );
6585
+ // set once flag
6586
+ // set onceEvents hash
6587
+ var onceEvents = this._onceEvents = this._onceEvents || {};
6588
+ // set onceListeners object
6589
+ var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {};
6590
+ // set flag
6591
+ onceListeners[ listener ] = true;
6592
 
6593
+ return this;
6594
+ };
6595
 
6596
+ proto.off = function( eventName, listener ) {
6597
+ var listeners = this._events && this._events[ eventName ];
6598
+ if ( !listeners || !listeners.length ) {
6599
+ return;
6600
+ }
6601
+ var index = listeners.indexOf( listener );
6602
+ if ( index != -1 ) {
6603
+ listeners.splice( index, 1 );
6604
+ }
6605
 
6606
+ return this;
6607
+ };
6608
 
6609
+ proto.emitEvent = function( eventName, args ) {
6610
+ var listeners = this._events && this._events[ eventName ];
6611
+ if ( !listeners || !listeners.length ) {
6612
+ return;
6613
+ }
6614
+ // copy over to avoid interference if .off() in listener
6615
+ listeners = listeners.slice(0);
6616
+ args = args || [];
6617
+ // once stuff
6618
+ var onceListeners = this._onceEvents && this._onceEvents[ eventName ];
6619
 
6620
+ for ( var i=0; i < listeners.length; i++ ) {
6621
+ var listener = listeners[i]
6622
+ var isOnce = onceListeners && onceListeners[ listener ];
6623
+ if ( isOnce ) {
6624
+ // remove listener
6625
+ // remove before trigger to prevent recursion
6626
+ this.off( eventName, listener );
6627
+ // unset once flag
6628
+ delete onceListeners[ listener ];
6629
+ }
6630
+ // trigger listener
6631
+ listener.apply( this, args );
6632
+ }
6633
 
6634
+ return this;
6635
+ };
6636
 
6637
+ proto.allOff = function() {
6638
+ delete this._events;
6639
+ delete this._onceEvents;
6640
+ };
6641
 
6642
+ return EvEmitter;
 
6643
 
6644
+ }));
 
6645
 
 
 
6646
 
6647
+ /***/ }),
6648
+ /* 97 */
6649
+ /*!*******************************************!*\
6650
+ !*** ./node_modules/get-size/get-size.js ***!
6651
+ \*******************************************/
6652
+ /*! dynamic exports provided */
6653
+ /*! all exports used */
6654
+ /***/ (function(module, exports, __webpack_require__) {
6655
 
6656
+ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
6657
+ * getSize v2.0.3
6658
+ * measure size of elements
6659
+ * MIT license
6660
+ */
6661
 
6662
+ /* jshint browser: true, strict: true, undef: true, unused: true */
6663
+ /* globals console: false */
6664
 
6665
+ ( function( window, factory ) {
6666
+ /* jshint strict: false */ /* globals define, module */
6667
+ if ( true ) {
6668
+ // AMD
6669
+ !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
6670
+ __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
6671
+ (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
6672
+ __WEBPACK_AMD_DEFINE_FACTORY__),
6673
+ __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
6674
+ } else if ( typeof module == 'object' && module.exports ) {
6675
+ // CommonJS
6676
+ module.exports = factory();
6677
+ } else {
6678
+ // browser global
6679
+ window.getSize = factory();
6680
+ }
6681
 
6682
+ })( window, function factory() {
6683
+ 'use strict';
 
 
 
6684
 
6685
+ // -------------------------- helpers -------------------------- //
 
 
 
 
 
 
 
6686
 
6687
+ // get a number from a string, not a percentage
6688
+ function getStyleSize( value ) {
6689
+ var num = parseFloat( value );
6690
+ // not a percent like '100%', and a number
6691
+ var isValid = value.indexOf('%') == -1 && !isNaN( num );
6692
+ return isValid && num;
6693
+ }
6694
 
6695
+ function noop() {}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6696
 
6697
+ var logError = typeof console == 'undefined' ? noop :
6698
+ function( message ) {
6699
+ console.error( message );
6700
+ };
6701
 
6702
+ // -------------------------- measurements -------------------------- //
6703
 
6704
+ var measurements = [
6705
+ 'paddingLeft',
6706
+ 'paddingRight',
6707
+ 'paddingTop',
6708
+ 'paddingBottom',
6709
+ 'marginLeft',
6710
+ 'marginRight',
6711
+ 'marginTop',
6712
+ 'marginBottom',
6713
+ 'borderLeftWidth',
6714
+ 'borderRightWidth',
6715
+ 'borderTopWidth',
6716
+ 'borderBottomWidth'
6717
+ ];
6718
 
6719
+ var measurementsLength = measurements.length;
 
6720
 
6721
+ function getZeroSize() {
6722
+ var size = {
6723
+ width: 0,
6724
+ height: 0,
6725
+ innerWidth: 0,
6726
+ innerHeight: 0,
6727
+ outerWidth: 0,
6728
+ outerHeight: 0
6729
+ };
6730
+ for ( var i=0; i < measurementsLength; i++ ) {
6731
+ var measurement = measurements[i];
6732
+ size[ measurement ] = 0;
6733
+ }
6734
+ return size;
6735
+ }
6736
 
6737
+ // -------------------------- getStyle -------------------------- //
6738
 
6739
+ /**
6740
+ * getStyle, get style of element, check for Firefox bug
6741
+ * https://bugzilla.mozilla.org/show_bug.cgi?id=548397
6742
+ */
6743
+ function getStyle( elem ) {
6744
+ var style = getComputedStyle( elem );
6745
+ if ( !style ) {
6746
+ logError( 'Style returned ' + style +
6747
+ '. Are you running this code in a hidden iframe on Firefox? ' +
6748
+ 'See https://bit.ly/getsizebug1' );
6749
+ }
6750
+ return style;
6751
+ }
6752
 
6753
+ // -------------------------- setup -------------------------- //
6754
 
6755
+ var isSetup = false;
 
 
6756
 
6757
+ var isBoxSizeOuter;
 
6758
 
6759
+ /**
6760
+ * setup
6761
+ * check isBoxSizerOuter
6762
+ * do on first getSize() rather than on page load for Firefox bug
6763
+ */
6764
+ function setup() {
6765
+ // setup once
6766
+ if ( isSetup ) {
6767
+ return;
6768
+ }
6769
+ isSetup = true;
6770
 
6771
+ // -------------------------- box sizing -------------------------- //
 
6772
 
6773
+ /**
6774
+ * Chrome & Safari measure the outer-width on style.width on border-box elems
6775
+ * IE11 & Firefox<29 measures the inner-width
6776
+ */
6777
+ var div = document.createElement('div');
6778
+ div.style.width = '200px';
6779
+ div.style.padding = '1px 2px 3px 4px';
6780
+ div.style.borderStyle = 'solid';
6781
+ div.style.borderWidth = '1px 2px 3px 4px';
6782
+ div.style.boxSizing = 'border-box';
6783
 
6784
+ var body = document.body || document.documentElement;
6785
+ body.appendChild( div );
6786
+ var style = getStyle( div );
6787
+ // round value for browser zoom. desandro/masonry#928
6788
+ isBoxSizeOuter = Math.round( getStyleSize( style.width ) ) == 200;
6789
+ getSize.isBoxSizeOuter = isBoxSizeOuter;
6790
 
6791
+ body.removeChild( div );
6792
+ }
 
 
 
6793
 
6794
+ // -------------------------- getSize -------------------------- //
6795
 
6796
+ function getSize( elem ) {
6797
+ setup();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6798
 
6799
+ // use querySeletor if elem is string
6800
+ if ( typeof elem == 'string' ) {
6801
+ elem = document.querySelector( elem );
6802
+ }
 
 
 
 
 
 
 
 
 
 
 
 
6803
 
6804
+ // do not proceed on non-objects
6805
+ if ( !elem || typeof elem != 'object' || !elem.nodeType ) {
6806
+ return;
6807
+ }
6808
 
6809
+ var style = getStyle( elem );
6810
 
6811
+ // if hidden, everything is 0
6812
+ if ( style.display == 'none' ) {
6813
+ return getZeroSize();
6814
+ }
 
 
 
 
6815
 
6816
+ var size = {};
6817
+ size.width = elem.offsetWidth;
6818
+ size.height = elem.offsetHeight;
6819
 
6820
+ var isBorderBox = size.isBorderBox = style.boxSizing == 'border-box';
6821
 
6822
+ // get all measurements
6823
+ for ( var i=0; i < measurementsLength; i++ ) {
6824
+ var measurement = measurements[i];
6825
+ var value = style[ measurement ];
6826
+ var num = parseFloat( value );
6827
+ // any 'auto', 'medium' value will be 0
6828
+ size[ measurement ] = !isNaN( num ) ? num : 0;
6829
+ }
6830
 
6831
+ var paddingWidth = size.paddingLeft + size.paddingRight;
6832
+ var paddingHeight = size.paddingTop + size.paddingBottom;
6833
+ var marginWidth = size.marginLeft + size.marginRight;
6834
+ var marginHeight = size.marginTop + size.marginBottom;
6835
+ var borderWidth = size.borderLeftWidth + size.borderRightWidth;
6836
+ var borderHeight = size.borderTopWidth + size.borderBottomWidth;
6837
 
6838
+ var isBorderBoxSizeOuter = isBorderBox && isBoxSizeOuter;
6839
 
6840
+ // overwrite width and height if we can get it from style
6841
+ var styleWidth = getStyleSize( style.width );
6842
+ if ( styleWidth !== false ) {
6843
+ size.width = styleWidth +
6844
+ // add padding and border unless it's already including it
6845
+ ( isBorderBoxSizeOuter ? 0 : paddingWidth + borderWidth );
6846
+ }
6847
 
6848
+ var styleHeight = getStyleSize( style.height );
6849
+ if ( styleHeight !== false ) {
6850
+ size.height = styleHeight +
6851
+ // add padding and border unless it's already including it
6852
+ ( isBorderBoxSizeOuter ? 0 : paddingHeight + borderHeight );
6853
+ }
6854
 
6855
+ size.innerWidth = size.width - ( paddingWidth + borderWidth );
6856
+ size.innerHeight = size.height - ( paddingHeight + borderHeight );
6857
 
6858
+ size.outerWidth = size.width + marginWidth;
6859
+ size.outerHeight = size.height + marginHeight;
6860
 
6861
+ return size;
6862
+ }
 
 
 
 
 
 
6863
 
6864
+ return getSize;
6865
 
6866
+ });
 
 
 
 
6867
 
 
6868
 
6869
+ /***/ }),
6870
+ /* 98 */
6871
+ /*!**********************************************!*\
6872
+ !*** ./node_modules/lodash/_getPrototype.js ***!
6873
+ \**********************************************/
6874
+ /*! dynamic exports provided */
6875
+ /*! all exports used */
6876
+ /***/ (function(module, exports, __webpack_require__) {
 
 
 
 
 
 
 
 
 
6877
 
6878
+ var overArg = __webpack_require__(/*! ./_overArg */ 156);
6879
+
6880
+ /** Built-in value references. */
6881
+ var getPrototype = overArg(Object.getPrototypeOf, Object);
6882
+
6883
+ module.exports = getPrototype;
6884
+
6885
+
6886
+ /***/ }),
6887
+ /* 99 */
6888
+ /*!**********************************************!*\
6889
+ !*** ./node_modules/lodash/_getAllKeysIn.js ***!
6890
+ \**********************************************/
6891
+ /*! dynamic exports provided */
6892
+ /*! all exports used */
6893
+ /***/ (function(module, exports, __webpack_require__) {
6894
+
6895
+ var baseGetAllKeys = __webpack_require__(/*! ./_baseGetAllKeys */ 151),
6896
+ getSymbolsIn = __webpack_require__(/*! ./_getSymbolsIn */ 193),
6897
+ keysIn = __webpack_require__(/*! ./keysIn */ 192);
6898
+
6899
+ /**
6900
+ * Creates an array of own and inherited enumerable property names and
6901
+ * symbols of `object`.
6902
+ *
6903
+ * @private
6904
+ * @param {Object} object The object to query.
6905
+ * @returns {Array} Returns the array of property names and symbols.
6906
+ */
6907
+ function getAllKeysIn(object) {
6908
+ return baseGetAllKeys(object, keysIn, getSymbolsIn);
6909
+ }
6910
+
6911
+ module.exports = getAllKeysIn;
6912
+
6913
+
6914
+ /***/ }),
6915
+ /* 100 */
6916
+ /*!**************************************************!*\
6917
+ !*** ./node_modules/lodash/_cloneArrayBuffer.js ***!
6918
+ \**************************************************/
6919
+ /*! dynamic exports provided */
6920
+ /*! all exports used */
6921
+ /***/ (function(module, exports, __webpack_require__) {
6922
+
6923
+ var Uint8Array = __webpack_require__(/*! ./_Uint8Array */ 149);
6924
+
6925
+ /**
6926
+ * Creates a clone of `arrayBuffer`.
6927
+ *
6928
+ * @private
6929
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
6930
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
6931
+ */
6932
+ function cloneArrayBuffer(arrayBuffer) {
6933
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
6934
+ new Uint8Array(result).set(new Uint8Array(arrayBuffer));
6935
+ return result;
6936
+ }
6937
+
6938
+ module.exports = cloneArrayBuffer;
6939
+
6940
+
6941
+ /***/ }),
6942
+ /* 101 */
6943
+ /*!***************************************************!*\
6944
+ !*** ./src/components/gradient-settings/index.js ***!
6945
+ \***************************************************/
6946
+ /*! exports provided: default */
6947
+ /*! exports used: default */
6948
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
6949
+
6950
+ "use strict";
6951
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_hexToRgba__ = __webpack_require__(/*! ../../../dist/blocks/uagb-controls/hexToRgba */ 102);
6952
+
6953
+ var __ = wp.i18n.__;
6954
+ var __experimentalPanelColorGradientSettings = wp.blockEditor.__experimentalPanelColorGradientSettings;
6955
+
6956
+
6957
+ function GradientSettings(_ref) {
6958
+ var attributes = _ref.attributes,
6959
+ setAttributes = _ref.setAttributes;
6960
+ var gradientValue = attributes.gradientValue,
6961
+ gradientAngle = attributes.gradientAngle,
6962
+ gradientColor1 = attributes.gradientColor1,
6963
+ gradientColor2 = attributes.gradientColor2,
6964
+ gradientLocation1 = attributes.gradientLocation1,
6965
+ gradientLocation2 = attributes.gradientLocation2,
6966
+ gradientPosition = attributes.gradientPosition,
6967
+ gradientType = attributes.gradientType;
6968
+
6969
+ //set the gradient value to settings if new gradientvalue is not set
6970
+
6971
+ if ("" === gradientValue) {
6972
+ var rgb_gradientColor1 = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_hexToRgba__["a" /* default */])(gradientColor1);
6973
+ var rgb_gradientColor2 = Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_hexToRgba__["a" /* default */])(gradientColor2);
6974
+
6975
+ if ("linear" === gradientType) {
6976
+ var value = "linear-gradient(" + gradientAngle + "deg," + rgb_gradientColor1 + " " + gradientLocation1 + "%, " + rgb_gradientColor2 + " " + gradientLocation2 + "%)";
6977
+ setAttributes({ gradientValue: value });
6978
+ } else {
6979
+ var value = "radial-gradient(at " + gradientPosition + ", " + rgb_gradientColor1 + " " + gradientLocation1 + "%, " + rgb_gradientColor2 + " " + gradientLocation2 + "%)";
6980
+ setAttributes({ gradientValue: value });
6981
  }
6982
+ }
6983
 
6984
+ var onGradientChange = function onGradientChange(value) {
6985
+ setAttributes({ gradientValue: value });
6986
+ setAttributes({ gradientAngle: "", gradientColor1: "", gradientColor2: "", gradientLocation1: "", gradientLocation2: "" });
6987
+ };
6988
 
6989
+ return wp.element.createElement(__experimentalPanelColorGradientSettings, {
6990
+ title: __("Color Settings"),
6991
+ initialOpen: true,
6992
+ settings: [{
6993
+ label: __("Overlay Color"),
6994
+ gradientValue: gradientValue,
6995
+ onGradientChange: onGradientChange
6996
+ }]
6997
+ });
6998
+ }
6999
+
7000
+ /* harmony default export */ __webpack_exports__["a"] = (GradientSettings);
7001
 
7002
  /***/ }),
7003
+ /* 102 */
7004
+ /*!************************************************!*\
7005
+ !*** ./dist/blocks/uagb-controls/hexToRgba.js ***!
7006
+ \************************************************/
7007
  /*! exports provided: default */
7008
  /*! exports used: default */
7009
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7010
 
7011
  "use strict";
7012
+ /**
7013
+ * Get HEX color and return RGBA. Default return RGB color.
7014
+ * @param {string} color - The color string.
7015
+ * @return {boolean} opacity The inline CSS class.
7016
+ */
7017
 
7018
+ function hexToRgba(color, opacity) {
7019
+
7020
+ if (undefined == color) {
7021
+ return "";
7022
+ }
7023
+
7024
+ if (undefined == opacity || "" == opacity) {
7025
+ opacity = 100;
7026
+ }
7027
+
7028
+ color = color.replace("#", "");
7029
+
7030
+ opacity = typeof opacity != "undefined" ? opacity / 100 : 1;
7031
+
7032
+ // Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF")
7033
+ var shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i;
7034
+ color = color.replace(shorthandRegex, function (m, r, g, b) {
7035
+ return r + r + g + g + b + b;
7036
+ });
7037
+
7038
+ var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(color);
7039
+
7040
+ var parsed_color = result ? {
7041
+ r: parseInt(result[1], 16),
7042
+ g: parseInt(result[2], 16),
7043
+ b: parseInt(result[3], 16)
7044
+ } : null;
7045
+
7046
+ return "rgba(" + parsed_color.r + "," + parsed_color.g + "," + parsed_color.b + "," + opacity + ")";
7047
+ }
7048
+
7049
+ /* harmony default export */ __webpack_exports__["a"] = (hexToRgba);
7050
+
7051
+ /***/ }),
7052
+ /* 103 */
7053
+ /*!**************************************************!*\
7054
+ !*** ./src/blocks/info-box/components/Prefix.js ***!
7055
+ \**************************************************/
7056
+ /*! exports provided: default */
7057
+ /*! exports used: default */
7058
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7059
+
7060
+ "use strict";
7061
+ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
7062
 
7063
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7064
 
7070
  var __ = wp.i18n.__;
7071
  var createBlock = wp.blocks.createBlock;
7072
 
7073
+ var Prefix = function (_React$Component) {
7074
+ _inherits(Prefix, _React$Component);
7075
 
7076
+ function Prefix() {
7077
+ _classCallCheck(this, Prefix);
7078
 
7079
+ return _possibleConstructorReturn(this, (Prefix.__proto__ || Object.getPrototypeOf(Prefix)).apply(this, arguments));
7080
  }
7081
 
7082
+ _createClass(Prefix, [{
7083
  key: "render",
7084
  value: function render() {
7085
+
7086
+ //const { attributes, setAttributes } = this.props;
7087
+
7088
  var _props = this.props,
7089
  attributes = _props.attributes,
7090
  setAttributes = _props.setAttributes,
7091
+ props = _props.props;
 
 
 
 
 
 
 
 
7092
 
 
7093
 
7094
  if (setAttributes !== "not_set") {
7095
  return wp.element.createElement(RichText, {
7096
  tagName: "div",
7097
+ value: attributes.prefixTitle,
7098
+ placeholder: __("Write a Prefix"),
7099
+ className: "uagb-ifb-title-prefix",
7100
+ multiline: false,
7101
  onChange: function onChange(value) {
7102
+ setAttributes({ prefixTitle: value });
 
 
 
7103
  },
7104
  onMerge: props.mergeBlocks,
7105
  unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
7116
  });
7117
  } else {
7118
  return wp.element.createElement(RichText.Content, {
7119
+ tagName: "span",
7120
+ value: attributes.prefixTitle,
7121
+ className: "uagb-ifb-title-prefix"
7122
  });
7123
  }
7124
  }
7125
  }]);
7126
 
7127
+ return Prefix;
7128
  }(React.Component);
7129
 
7130
+ /* harmony default export */ __webpack_exports__["a"] = (Prefix);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7131
 
7132
  /***/ }),
7133
+ /* 104 */
7134
+ /*!*************************************************!*\
7135
+ !*** ./src/blocks/info-box/components/Title.js ***!
7136
+ \*************************************************/
7137
  /*! exports provided: default */
7138
  /*! exports used: default */
7139
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7148
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
7149
 
7150
  var RichText = wp.blockEditor.RichText;
7151
+ var createBlock = wp.blocks.createBlock;
7152
  var __ = wp.i18n.__;
7153
 
7154
  var Title = function (_React$Component) {
7163
  _createClass(Title, [{
7164
  key: "render",
7165
  value: function render() {
7166
+
7167
+ //const { attributes, setAttributes , props } = this.props;
7168
  var _props = this.props,
7169
  attributes = _props.attributes,
7170
  setAttributes = _props.setAttributes,
7171
+ props = _props.props;
 
 
7172
 
 
 
 
 
 
 
 
 
 
 
7173
 
7174
  if (setAttributes !== "not_set") {
 
7175
  return wp.element.createElement(RichText, {
7176
  tagName: attributes.headingTag,
7177
+ placeholder: __("Write a Heading"),
7178
+ value: attributes.infoBoxTitle,
7179
+ className: "uagb-ifb-title",
7180
  onChange: function onChange(value) {
7181
+ return setAttributes({ infoBoxTitle: value });
7182
+ },
7183
+ multiline: false,
7184
+ onMerge: props.mergeBlocks,
7185
+ unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
7186
+ for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
7187
+ blocks[_key - 2] = arguments[_key];
7188
+ }
7189
+
7190
+ setAttributes({ content: before });
7191
+ props.insertBlocksAfter([].concat(blocks, [createBlock("core/paragraph", { content: after })]));
7192
+ } : undefined,
7193
+ onRemove: function onRemove() {
7194
+ return props.onReplace([]);
7195
  }
7196
  });
7197
  } else {
7198
  return wp.element.createElement(RichText.Content, {
7199
  tagName: attributes.headingTag,
7200
+ value: attributes.infoBoxTitle,
7201
+ className: "uagb-ifb-title"
7202
  });
7203
  }
7204
  }
7210
  /* harmony default export */ __webpack_exports__["a"] = (Title);
7211
 
7212
  /***/ }),
7213
+ /* 105 */
7214
+ /*!************************************************!*\
7215
+ !*** ./src/blocks/info-box/components/Icon.js ***!
7216
+ \************************************************/
7217
  /*! exports provided: default */
7218
  /*! exports used: default */
7219
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7220
 
7221
  "use strict";
7222
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/renderIcon */ 2);
7223
  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
7224
 
7225
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7228
 
7229
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
7230
 
7231
+
7232
+
7233
  var RichText = wp.blockEditor.RichText;
7234
  var __ = wp.i18n.__;
7235
 
7236
+ var Icon = function (_React$Component) {
7237
+ _inherits(Icon, _React$Component);
7238
 
7239
+ function Icon() {
7240
+ _classCallCheck(this, Icon);
7241
 
7242
+ return _possibleConstructorReturn(this, (Icon.__proto__ || Object.getPrototypeOf(Icon)).apply(this, arguments));
7243
  }
7244
 
7245
+ _createClass(Icon, [{
7246
  key: "render",
7247
  value: function render() {
7248
+ var attributes = this.props.attributes;
 
 
 
 
7249
 
 
 
 
 
 
 
 
 
 
 
 
7250
 
7251
+ return wp.element.createElement(
7252
+ "div",
7253
+ { className: "uagb-ifb-image-icon-content uagb-ifb-imgicon-wrap" },
7254
+ wp.element.createElement(
7255
+ "div",
7256
+ { className: "uagb-ifb-icon-wrap" },
7257
+ wp.element.createElement(
7258
+ "span",
7259
+ { className: "uagb-ifb-icon" },
7260
+ Object(__WEBPACK_IMPORTED_MODULE_0__dist_blocks_uagb_controls_renderIcon__["a" /* default */])(attributes.icon)
7261
+ )
7262
+ )
7263
+ );
 
 
 
 
7264
  }
7265
  }]);
7266
 
7267
+ return Icon;
7268
  }(React.Component);
7269
 
7270
+ /* harmony default export */ __webpack_exports__["a"] = (Icon);
7271
 
7272
  /***/ }),
7273
+ /* 106 */
7274
+ /*!*******************************************************!*\
7275
+ !*** ./src/blocks/info-box/components/InfoBoxDesc.js ***!
7276
+ \*******************************************************/
7277
  /*! exports provided: default */
7278
  /*! exports used: default */
7279
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7289
 
7290
  var RichText = wp.blockEditor.RichText;
7291
  var __ = wp.i18n.__;
7292
+ var createBlock = wp.blocks.createBlock;
7293
 
7294
+ var InfoBoxDesc = function (_React$Component) {
7295
+ _inherits(InfoBoxDesc, _React$Component);
7296
 
7297
+ function InfoBoxDesc() {
7298
+ _classCallCheck(this, InfoBoxDesc);
7299
 
7300
+ return _possibleConstructorReturn(this, (InfoBoxDesc.__proto__ || Object.getPrototypeOf(InfoBoxDesc)).apply(this, arguments));
7301
  }
7302
 
7303
+ _createClass(InfoBoxDesc, [{
7304
  key: "render",
7305
  value: function render() {
7306
+
7307
+ //const { attributes, setAttributes } = this.props;
7308
  var _props = this.props,
7309
  attributes = _props.attributes,
7310
  setAttributes = _props.setAttributes,
7311
+ props = _props.props;
 
7312
 
 
 
 
 
 
 
 
 
 
 
 
7313
 
7314
  if (setAttributes !== "not_set") {
7315
  return wp.element.createElement(RichText, {
7316
+ tagName: "p",
7317
+ value: attributes.headingDesc,
7318
  placeholder: __("Write a Description"),
7319
+ className: "uagb-ifb-desc",
7320
  onChange: function onChange(value) {
7321
+ return setAttributes({ headingDesc: value });
7322
+ },
7323
+ onMerge: props.mergeBlocks,
7324
+ unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
7325
+ for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
7326
+ blocks[_key - 2] = arguments[_key];
7327
+ }
7328
+
7329
+ setAttributes({ content: before });
7330
+ props.insertBlocksAfter([].concat(blocks, [createBlock("core/paragraph", { content: after })]));
7331
+ } : undefined,
7332
+ onRemove: function onRemove() {
7333
+ return props.onReplace([]);
7334
  }
7335
  });
7336
  } else {
7337
  return wp.element.createElement(RichText.Content, {
7338
+ tagName: "p",
7339
+ value: attributes.headingDesc,
7340
+ className: "uagb-ifb-desc"
7341
  });
7342
  }
7343
  }
7344
  }]);
7345
 
7346
+ return InfoBoxDesc;
7347
  }(React.Component);
7348
 
7349
+ /* harmony default export */ __webpack_exports__["a"] = (InfoBoxDesc);
7350
 
7351
  /***/ }),
7352
+ /* 107 */
7353
+ /*!****************************************!*\
7354
+ !*** ./src/blocks/info-box/classes.js ***!
7355
+ \****************************************/
7356
+ /*! exports provided: default */
7357
+ /*! exports used: default */
7358
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7359
+
7360
+ "use strict";
7361
+ /**
7362
+ * Returns Dynamic Generated Classes
7363
+ */
7364
+
7365
+ function InfoBoxPositionClasses(attributes) {
7366
+
7367
+ var sourceClass = "uagb-infobox-has-image";
7368
+ if (attributes.source_type == "icon") {
7369
+ sourceClass = "uagb-infobox-has-icon";
7370
+ }
7371
+
7372
+ var iconimgStyle_class = "";
7373
+
7374
+ iconimgStyle_class += "uagb-infobox" + " ";
7375
+ iconimgStyle_class += sourceClass + " ";
7376
+ iconimgStyle_class += "uagb-infobox-icon-" + attributes.iconimgPosition + " ";
7377
+
7378
+ if (attributes.iconimgPosition === "left" || attributes.iconimgPosition === "left-title") {
7379
+ iconimgStyle_class += "uagb-infobox-left" + " ";
7380
+ }
7381
+
7382
+ if (attributes.iconimgPosition === "right" || attributes.iconimgPosition === "right-title") {
7383
+ iconimgStyle_class += "uagb-infobox-right" + " ";
7384
+ }
7385
+
7386
+ if ((attributes.iconimgPosition === "left" || attributes.iconimgPosition === "right") && attributes.stack !== "none") {
7387
+ iconimgStyle_class += "uagb-infobox-stacked-" + attributes.stack + " ";
7388
+ if (attributes.iconimgPosition === "right") {
7389
+ iconimgStyle_class += "uagb-infobox-reverse-order-" + attributes.stack + " ";
7390
+ }
7391
+ }
7392
+
7393
+ if (attributes.iconimgPosition !== "above-title" || attributes.iconimgPosition !== "below-title") {
7394
+ iconimgStyle_class += "uagb-infobox-image-valign-" + attributes.sourceAlign + " ";
7395
+ }
7396
+
7397
+ if (attributes.enableBorder) {
7398
+ iconimgStyle_class += "uagb-infobox-enable-border" + " ";
7399
+ }
7400
+
7401
+ iconimgStyle_class += "uagb-infobox-enable-border-radius" + " ";
7402
+
7403
+ return [iconimgStyle_class];
7404
+ }
7405
+
7406
+ /* harmony default export */ __webpack_exports__["a"] = (InfoBoxPositionClasses);
7407
+
7408
+ /***/ }),
7409
+ /* 108 */
7410
+ /*!************************************************************!*\
7411
+ !*** ./src/blocks/info-box/components/InfoBoxSeparator.js ***!
7412
+ \************************************************************/
7413
  /*! exports provided: default */
7414
  /*! exports used: default */
7415
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7423
 
7424
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
7425
 
7426
+ var InfoBoxSeparator = function (_React$Component) {
7427
+ _inherits(InfoBoxSeparator, _React$Component);
7428
 
7429
+ function InfoBoxSeparator() {
7430
+ _classCallCheck(this, InfoBoxSeparator);
7431
 
7432
+ return _possibleConstructorReturn(this, (InfoBoxSeparator.__proto__ || Object.getPrototypeOf(InfoBoxSeparator)).apply(this, arguments));
7433
  }
7434
 
7435
+ _createClass(InfoBoxSeparator, [{
7436
+ key: "render",
7437
+ value: function render() {
7438
+ var attributes = this.props.attributes;
7439
+
7440
+
7441
+ return wp.element.createElement(
7442
+ "div",
7443
+ { className: "uagb-ifb-separator-parent" },
7444
+ wp.element.createElement("div", { className: "uagb-ifb-separator" })
7445
+ );
7446
+ }
7447
+ }]);
7448
+
7449
+ return InfoBoxSeparator;
7450
+ }(React.Component);
7451
+
7452
+ /* harmony default export */ __webpack_exports__["a"] = (InfoBoxSeparator);
7453
+
7454
+ /***/ }),
7455
+ /* 109 */
7456
+ /*!********************************************************!*\
7457
+ !*** ./src/blocks/info-box/components/CallToAction.js ***!
7458
+ \********************************************************/
7459
+ /*! exports provided: default */
7460
+ /*! exports used: default */
7461
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7462
+
7463
+ "use strict";
7464
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);
7465
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);
7466
+ /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__ = __webpack_require__(/*! ../../../../dist/blocks/uagb-controls/renderIcon */ 2);
7467
+ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
7468
+
7469
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7470
+
7471
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
7472
+
7473
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
7474
+
7475
+ var __ = wp.i18n.__;
7476
+
7477
+
7478
+
7479
+
7480
+
7481
+ var InfoBoxCta = function (_React$Component) {
7482
+ _inherits(InfoBoxCta, _React$Component);
7483
+
7484
+ function InfoBoxCta() {
7485
+ _classCallCheck(this, InfoBoxCta);
7486
+
7487
+ return _possibleConstructorReturn(this, (InfoBoxCta.__proto__ || Object.getPrototypeOf(InfoBoxCta)).apply(this, arguments));
7488
+ }
7489
+
7490
+ _createClass(InfoBoxCta, [{
7491
  key: "render",
7492
  value: function render() {
7493
  var _props = this.props,
7494
  attributes = _props.attributes,
7495
+ _props$setAttributes = _props.setAttributes,
7496
+ setAttributes = _props$setAttributes === undefined ? "not_set" : _props$setAttributes;
7497
 
 
 
7498
 
7499
+ var ctaBtnClass = "uagb-infobox-cta-link uagb-ifb-cta-button";
7500
+
7501
+ if (attributes.inheritFromTheme) {
7502
+ ctaBtnClass = "wp-block-button__link";
 
 
 
 
 
7503
  }
7504
 
7505
+ var target = "_self";
7506
+ var rel = "noopener noreferrer";
7507
+ if (attributes.ctaTarget) {
7508
+ target = "_blank";
7509
+ }
 
 
 
7510
 
7511
+ var cta_icon_output = "";
7512
+ if (attributes.ctaIcon !== "") {
7513
+ cta_icon_output = wp.element.createElement(
7514
+ "span",
7515
+ { className: __WEBPACK_IMPORTED_MODULE_0_classnames___default()("uagb-ifb-" + attributes.ctaType + "-icon", "uagb-ifb-align-icon-" + attributes.ctaIconPosition) },
7516
+ Object(__WEBPACK_IMPORTED_MODULE_1__dist_blocks_uagb_controls_renderIcon__["a" /* default */])(attributes.ctaIcon)
7517
+ );
7518
+ }
7519
 
7520
+ if (setAttributes !== "not_set") {
 
 
 
 
 
 
 
7521
 
7522
+ return wp.element.createElement(
7523
+ "div",
7524
+ { className: "uagb-ifb-cta uagb-infobox-cta-link-style" },
7525
+ attributes.ctaType === "text" && wp.element.createElement(
7526
+ "a",
7527
+ { target: target, className: "uagb-infobox-cta-link", rel: rel },
7528
+ attributes.ctaIconPosition === "before" && cta_icon_output,
7529
+ wp.element.createElement(
7530
+ "span",
7531
+ { className: "uagb-inline-editing" },
7532
+ attributes.ctaText
7533
+ ),
7534
+ attributes.ctaIconPosition === "after" && cta_icon_output
7535
+ ),
7536
+ attributes.ctaType === "button" && wp.element.createElement(
7537
  "div",
7538
+ { className: __WEBPACK_IMPORTED_MODULE_0_classnames___default()("uagb-ifb-button-wrapper", attributes.inheritFromTheme ? "wp-block-button" : null) },
7539
  wp.element.createElement(
7540
+ "a",
7541
+ { className: ctaBtnClass, target: target, rel: rel },
7542
+ cta_icon_output,
7543
+ wp.element.createElement(
7544
+ "span",
7545
+ { className: "uagb-ifb-cta-content-wrapper" },
7546
+ wp.element.createElement(
7547
+ "span",
7548
+ { className: "uagb-inline-editing " },
7549
+ attributes.ctaText
7550
+ )
7551
+ )
7552
  )
7553
+ )
7554
+ );
 
 
7555
  } else {
7556
+ return wp.element.createElement(
7557
+ "div",
7558
+ { className: "uagb-ifb-cta uagb-infobox-cta-link-style" },
7559
+ attributes.ctaType === "text" && wp.element.createElement(
7560
+ "a",
7561
+ { href: attributes.ctaLink, target: target, className: "uagb-infobox-cta-link", rel: rel },
7562
+ attributes.ctaIconPosition === "before" && cta_icon_output,
7563
+ wp.element.createElement(
7564
+ "span",
7565
+ { className: "uagb-inline-editing" },
7566
+ attributes.ctaText
7567
+ ),
7568
+ attributes.ctaIconPosition === "after" && cta_icon_output
7569
+ ),
7570
+ attributes.ctaType === "button" && wp.element.createElement(
7571
+ "div",
7572
+ { className: __WEBPACK_IMPORTED_MODULE_0_classnames___default()("uagb-ifb-button-wrapper", attributes.inheritFromTheme ? "wp-block-button" : null) },
7573
+ wp.element.createElement(
7574
+ "a",
7575
+ { href: attributes.ctaLink, className: ctaBtnClass, target: target, rel: rel },
7576
+ cta_icon_output,
7577
+ wp.element.createElement(
7578
+ "span",
7579
+ { className: "uagb-ifb-cta-content-wrapper" },
7580
+ wp.element.createElement(
7581
+ "span",
7582
+ { className: "uagb-inline-editing " },
7583
+ attributes.ctaText
7584
+ )
7585
+ )
7586
+ )
7587
+ )
7588
+ );
7589
  }
7590
  }
7591
  }]);
7592
 
7593
+ return InfoBoxCta;
7594
  }(React.Component);
7595
 
7596
+ /* harmony default export */ __webpack_exports__["a"] = (InfoBoxCta);
7597
 
7598
  /***/ }),
7599
+ /* 110 */
7600
+ /*!*********************************************************!*\
7601
+ !*** ./src/blocks/testimonial/components/AuthorName.js ***!
7602
+ \*********************************************************/
7603
+ /*! exports provided: default */
7604
+ /*! exports used: default */
7605
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
7606
+
7607
+ "use strict";
7608
+ var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
7609
+
7610
+ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
7611
+
7612
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7613
+
7614
+ function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
7615
+
7616
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
7617
+
7618
+ var RichText = wp.blockEditor.RichText;
7619
+ var __ = wp.i18n.__;
7620
+ var createBlock = wp.blocks.createBlock;
7621
+
7622
+ var AuthorName = function (_React$Component) {
7623
+ _inherits(AuthorName, _React$Component);
7624
+
7625
+ function AuthorName() {
7626
+ _classCallCheck(this, AuthorName);
7627
+
7628
+ return _possibleConstructorReturn(this, (AuthorName.__proto__ || Object.getPrototypeOf(AuthorName)).apply(this, arguments));
7629
+ }
7630
+
7631
+ _createClass(AuthorName, [{
7632
+ key: "render",
7633
+ value: function render() {
7634
+ var _props = this.props,
7635
+ attributes = _props.attributes,
7636
+ setAttributes = _props.setAttributes,
7637
+ props = _props.props,
7638
+ index_value = _props.index_value;
7639
+
7640
+
7641
+ var test_arr = attributes.test_block[index_value];
7642
+ var author_name = "";
7643
+ if (test_arr && typeof test_arr !== "undefined") {
7644
+ author_name = test_arr["name"];
7645
+ }
7646
+
7647
+ var data_copy = [].concat(_toConsumableArray(attributes.test_block));
7648
+
7649
+ if (setAttributes !== "not_set") {
7650
+ return wp.element.createElement(RichText, {
7651
+ tagName: "div",
7652
+ value: author_name,
7653
+ placeholder: __("Author Name"),
7654
+ className: "uagb-tm__author-name",
7655
+ onChange: function onChange(value) {
7656
+ var new_content = { "description": data_copy[index_value]["description"], "name": value, "company": data_copy[index_value]["company"], "image": data_copy[index_value]["image"] };
7657
+ data_copy[index_value] = new_content;
7658
+ setAttributes({ "test_block": data_copy });
7659
+ },
7660
+ onMerge: props.mergeBlocks,
7661
+ unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
7662
+ for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
7663
+ blocks[_key - 2] = arguments[_key];
7664
+ }
7665
+
7666
+ setAttributes({ content: before });
7667
+ props.insertBlocksAfter([].concat(blocks, [createBlock("core/paragraph", { content: after })]));
7668
+ } : undefined,
7669
+ onRemove: function onRemove() {
7670
+ return props.onReplace([]);
7671
+ }
7672
+ });
7673
+ } else {
7674
+ return wp.element.createElement(RichText.Content, {
7675
+ tagName: "span",
7676
+ value: author_name,
7677
+ className: "uagb-tm__author-name"
7678
+ });
7679
+ }
7680
+ }
7681
+ }]);
7682
+
7683
+ return AuthorName;
7684
+ }(React.Component);
7685
+
7686
+ /* harmony default export */ __webpack_exports__["a"] = (AuthorName);
7687
+
7688
+ /***/ }),
7689
+ /* 111 */
7690
+ /*!******************************************************!*\
7691
+ !*** ./src/blocks/testimonial/components/Company.js ***!
7692
+ \******************************************************/
7693
  /*! exports provided: default */
7694
  /*! exports used: default */
7695
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7697
  "use strict";
7698
  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
7699
 
7700
+ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
7701
+
7702
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7703
 
7704
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
7709
  var createBlock = wp.blocks.createBlock;
7710
  var __ = wp.i18n.__;
7711
 
7712
+ var Company = function (_React$Component) {
7713
+ _inherits(Company, _React$Component);
7714
 
7715
+ function Company() {
7716
+ _classCallCheck(this, Company);
7717
 
7718
+ return _possibleConstructorReturn(this, (Company.__proto__ || Object.getPrototypeOf(Company)).apply(this, arguments));
7719
  }
7720
 
7721
+ _createClass(Company, [{
7722
  key: "render",
7723
  value: function render() {
7724
  var _props = this.props,
7725
  attributes = _props.attributes,
7726
  setAttributes = _props.setAttributes,
7727
+ props = _props.props,
7728
+ index_value = _props.index_value;
7729
+
7730
+
7731
+ var test_arr = attributes.test_block[index_value];
7732
+ var company = "";
7733
+ if (test_arr && typeof test_arr !== "undefined") {
7734
+ company = test_arr["company"];
7735
+ }
7736
 
7737
+ var data_copy = [].concat(_toConsumableArray(attributes.test_block));
7738
 
7739
  if (setAttributes !== "not_set") {
7740
  return wp.element.createElement(RichText, {
7741
+ tagName: "div",
7742
+ value: company,
7743
+ className: "uagb-tm__company",
 
7744
  onChange: function onChange(value) {
7745
+ var new_content = { "description": data_copy[index_value]["description"], "name": data_copy[index_value]["name"], "company": value, "image": data_copy[index_value]["image"] };
7746
+ data_copy[index_value] = new_content;
7747
+ setAttributes({ "test_block": data_copy });
7748
  },
7749
  multiline: false,
7750
+ placeholder: __("Company Name"),
7751
  onMerge: props.mergeBlocks,
7752
  unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
7753
  for (var _len = arguments.length, blocks = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
7763
  });
7764
  } else {
7765
  return wp.element.createElement(RichText.Content, {
7766
+ tagName: "span",
7767
+ value: company,
7768
+ className: "uagb-tm__company"
7769
  });
7770
  }
7771
  }
7772
  }]);
7773
 
7774
+ return Company;
7775
  }(React.Component);
7776
 
7777
+ /* harmony default export */ __webpack_exports__["a"] = (Company);
7778
 
7779
  /***/ }),
7780
+ /* 112 */
7781
+ /*!**********************************************************!*\
7782
+ !*** ./src/blocks/testimonial/components/Description.js ***!
7783
+ \**********************************************************/
7784
  /*! exports provided: default */
7785
  /*! exports used: default */
7786
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7788
  "use strict";
7789
  var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
7790
 
7791
+ function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
7792
+
7793
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
7794
 
7795
  function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
7815
  var _props = this.props,
7816
  attributes = _props.attributes,
7817
  setAttributes = _props.setAttributes,
7818
+ props = _props.props,
7819
+ index_value = _props.index_value;
7820
+
7821
+
7822
+ var test_arr = attributes.test_block[index_value];
7823
+ var description = "";
7824
+ if (test_arr && typeof test_arr !== "undefined") {
7825
+ description = test_arr["description"];
7826
+ }
7827
 
7828
+ var data_copy = [].concat(_toConsumableArray(attributes.test_block));
7829
 
7830
  if (setAttributes !== "not_set") {
7831
  return wp.element.createElement(RichText, {
7832
+ tagName: "div",
7833
+ value: description,
7834
+ placeholder: __("Write Description"),
7835
+ className: "uagb-tm__desc",
7836
  onChange: function onChange(value) {
7837
+
7838
+ var new_content = { "description": value, "name": data_copy[index_value]["name"], "company": data_copy[index_value]["company"], "image": data_copy[index_value]["image"] };
7839
+ data_copy[index_value] = new_content;
7840
+ setAttributes({ "test_block": data_copy });
7841
  },
7842
  onMerge: props.mergeBlocks,
7843
  unstableOnSplit: props.insertBlocksAfter ? function (before, after) {
7854
  });
7855
  } else {
7856
  return wp.element.createElement(RichText.Content, {
7857
+ tagName: "div",
7858
+ value: description,
7859
+ className: "uagb-tm__desc"
7860
  });
7861
  }
7862
  }
7868
  /* harmony default export */ __webpack_exports__["a"] = (Description);
7869
 
7870
  /***/ }),
7871
+ /* 113 */
7872
+ /*!*******************************************!*\
7873
+ !*** ./src/blocks/testimonial/classes.js ***!
7874
+ \*******************************************/
7875
  /*! exports provided: default */
7876
  /*! exports used: default */
7877
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7878
 
7879
  "use strict";
7880
+ /**
7881
+ * Returns Dynamic Generated CSS
7882
  */
7883
 
7884
+ function PositionClasses(attributes) {
7885
 
7886
  var iconimgStyle_class = "";
7887
+ iconimgStyle_class += " uagb-tm__imgicon-style-" + attributes.iconimgStyle + " ";
7888
+ iconimgStyle_class += "uagb-tm__image-position-" + attributes.imagePosition + " ";
7889
 
7890
+ if (attributes.imagePosition == "left" || attributes.imagePosition == "right") {
7891
+ iconimgStyle_class += "uagb-tm__image-aligned-" + attributes.imageAlignment + " ";
7892
+ if (attributes.stack !== "none") {
7893
+ iconimgStyle_class += "uagb-tm-stacked-" + attributes.stack + " ";
7894
+ if (attributes.imagePosition === "right") {
7895
+ iconimgStyle_class += "uagb-tm-reverse-order-" + attributes.stack + " ";
7896
+ }
7897
+ }
 
 
 
 
 
7898
  }
7899
 
7900
+ iconimgStyle_class += "uagb-tm__bg-type-" + attributes.backgroundType + " ";
 
 
7901
 
7902
  return [iconimgStyle_class];
7903
  }
7904
 
7905
+ /* harmony default export */ __webpack_exports__["a"] = (PositionClasses);
7906
 
7907
  /***/ }),
7908
+ /* 114 */
7909
+ /*!******************************************!*\
7910
+ !*** ./src/blocks/social-share/links.js ***!
7911
+ \******************************************/
7912
  /*! exports provided: default */
7913
  /*! exports used: default */
7914
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
7915
 
7916
  "use strict";
7917
+ var links = {
7918
+ facebook: "https://www.facebook.com/sharer.php?u=",
7919
+ twitter: "https://twitter.com/share?url=",
7920
+ google: "https://plus.google.com/share?url=",
7921
+ pinterest: "https://pinterest.com/pin/create/link/?url=",
7922
+ linkedin: "https://www.linkedin.com/shareArticle?url=",
7923
+ digg: "http://digg.com/submit?url=",
7924
+ blogger: "https://www.blogger.com/blog_this.pyra?t&amp;u=",
7925
+ reddit: "https://reddit.com/submit?url=",
7926
+ stumbleupon: "https://www.stumbleupon.com/submit?url=",
7927
+ tumblr: "https://www.tumblr.com/widgets/share/tool?canonicalUrl=",
7928
+ myspace: "https://myspace.com/post?u=",
7929
+ email: "mailto:?body="
7930
+ };
7931
 
7932
+ /* harmony default export */ __webpack_exports__["a"] = (links);
7933
 
7934
+ /***/ }),
7935
+ /* 115 */
7936
+ /*!**************