Gutenberg Blocks – Ultimate Addons for Gutenberg - Version 1.3.0

Version Description

  • New: Icon List
  • New: Restaurant Menu
  • New: Testimonial
  • Improvement: Compatibility to latest Gutenberg
Download this release

Release Info

Developer Nikschavan
Plugin Icon Gutenberg Blocks – Ultimate Addons for Gutenberg
Version 1.3.0
Comparing to
See all releases

Code changes from version 1.2.0 to 1.3.0

assets/css/slick.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .slick-list,.slick-slider,.slick-track{position:relative;display:block}.slick-loading .slick-slide,.slick-loading .slick-track{visibility:hidden}.slick-slider{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-touch-callout:none;-khtml-user-select:none;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-tap-highlight-color:transparent}.slick-list{overflow:hidden;margin:0;padding:0}.slick-list:focus{outline:0}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translate3d(0,0,0);-moz-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);-o-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.slick-track{top:0;left:0}.slick-track:after,.slick-track:before{display:table;content:''}.slick-track:after{clear:both}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-vertical .slick-slide{display:block;height:auto;border:1px solid transparent}.slick-arrow.slick-hidden{display:none}/*# sourceMappingURL=slick.min.css.map */
assets/js/slick.min.js ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ _ _ _ _
3
+ ___| (_) ___| | __ (_)___
4
+ / __| | |/ __| |/ / | / __|
5
+ \__ \ | | (__| < _ | \__ \
6
+ |___/_|_|\___|_|\_(_)/ |___/
7
+ |__/
8
+
9
+ Version: 1.9.0
10
+ Author: Ken Wheeler
11
+ Website: http://kenwheeler.github.io
12
+ Docs: http://kenwheeler.github.io/slick
13
+ Repo: http://github.com/kenwheeler/slick
14
+ Issues: http://github.com/kenwheeler/slick/issues
15
+
16
+ */
17
+ (function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)})(function(i){"use strict";var e=window.Slick||{};e=function(){function e(e,o){var s,n=this;n.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(e),appendDots:i(e),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return i('<button type="button" />').text(t+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},n.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},i.extend(n,n.initials),n.activeBreakpoint=null,n.animType=null,n.animProp=null,n.breakpoints=[],n.breakpointSettings=[],n.cssTransitions=!1,n.focussed=!1,n.interrupted=!1,n.hidden="hidden",n.paused=!0,n.positionProp=null,n.respondTo=null,n.rowCount=1,n.shouldClick=!0,n.$slider=i(e),n.$slidesCache=null,n.transformType=null,n.transitionType=null,n.visibilityChange="visibilitychange",n.windowWidth=0,n.windowTimer=null,s=i(e).data("slick")||{},n.options=i.extend({},n.defaults,o,s),n.currentSlide=n.options.initialSlide,n.originalSettings=n.options,"undefined"!=typeof document.mozHidden?(n.hidden="mozHidden",n.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(n.hidden="webkitHidden",n.visibilityChange="webkitvisibilitychange"),n.autoPlay=i.proxy(n.autoPlay,n),n.autoPlayClear=i.proxy(n.autoPlayClear,n),n.autoPlayIterator=i.proxy(n.autoPlayIterator,n),n.changeSlide=i.proxy(n.changeSlide,n),n.clickHandler=i.proxy(n.clickHandler,n),n.selectHandler=i.proxy(n.selectHandler,n),n.setPosition=i.proxy(n.setPosition,n),n.swipeHandler=i.proxy(n.swipeHandler,n),n.dragHandler=i.proxy(n.dragHandler,n),n.keyHandler=i.proxy(n.keyHandler,n),n.instanceUid=t++,n.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,n.registerBreakpoints(),n.init(!0)}var t=0;return e}(),e.prototype.activateADA=function(){var i=this;i.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(t<0||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):o===!0?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&i.options.adaptiveHeight===!0&&i.options.vertical===!1){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),s.options.rtl===!0&&s.options.vertical===!1&&(e=-e),s.transformsEnabled===!1?s.options.vertical===!1?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):s.cssTransitions===!1?(s.options.rtl===!0&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),s.options.vertical===!1?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),s.options.vertical===!1?o[s.animType]="translate3d("+e+"px, 0px, 0px)":o[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.getNavTarget=function(){var e=this,t=e.options.asNavFor;return t&&null!==t&&(t=i(t).not(e.$slider)),t},e.prototype.asNavFor=function(e){var t=this,o=t.getNavTarget();null!==o&&"object"==typeof o&&o.each(function(){var t=i(this).slick("getSlick");t.unslicked||t.slideHandler(e,!0)})},e.prototype.applyTransition=function(i){var e=this,t={};e.options.fade===!1?t[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:t[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayClear(),i.slideCount>i.options.slidesToShow&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this,e=i.currentSlide+i.options.slidesToScroll;i.paused||i.interrupted||i.focussed||(i.options.infinite===!1&&(1===i.direction&&i.currentSlide+1===i.slideCount-1?i.direction=0:0===i.direction&&(e=i.currentSlide-i.options.slidesToScroll,i.currentSlide-1===0&&(i.direction=1))),i.slideHandler(e))},e.prototype.buildArrows=function(){var e=this;e.options.arrows===!0&&(e.$prevArrow=i(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=i(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),e.options.infinite!==!0&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},e.prototype.buildDots=function(){var e,t,o=this;if(o.options.dots===!0&&o.slideCount>o.options.slidesToShow){for(o.$slider.addClass("slick-dotted"),t=i("<ul />").addClass(o.options.dotsClass),e=0;e<=o.getDotCount();e+=1)t.append(i("<li />").append(o.options.customPaging.call(this,o,e)));o.$dots=t.appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e).data("originalStyling",i(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),e.options.centerMode!==!0&&e.options.swipeToSlide!==!0||(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.options.draggable===!0&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var i,e,t,o,s,n,r,l=this;if(o=document.createDocumentFragment(),n=l.$slider.children(),l.options.rows>0){for(r=l.options.slidesPerRow*l.options.rows,s=Math.ceil(n.length/r),i=0;i<s;i++){var d=document.createElement("div");for(e=0;e<l.options.rows;e++){var a=document.createElement("div");for(t=0;t<l.options.slidesPerRow;t++){var c=i*r+(e*l.options.slidesPerRow+t);n.get(c)&&a.appendChild(n.get(c))}d.appendChild(a)}o.appendChild(d)}l.$slider.empty().append(o),l.$slider.children().children().children().css({width:100/l.options.slidesPerRow+"%",display:"inline-block"})}},e.prototype.checkResponsive=function(e,t){var o,s,n,r=this,l=!1,d=r.$slider.width(),a=window.innerWidth||i(window).width();if("window"===r.respondTo?n=a:"slider"===r.respondTo?n=d:"min"===r.respondTo&&(n=Math.min(a,d)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){s=null;for(o in r.breakpoints)r.breakpoints.hasOwnProperty(o)&&(r.originalSettings.mobileFirst===!1?n<r.breakpoints[o]&&(s=r.breakpoints[o]):n>r.breakpoints[o]&&(s=r.breakpoints[o]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||t)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=i.extend({},r.originalSettings,r.breakpointSettings[s]),e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),l=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,e===!0&&(r.currentSlide=r.options.initialSlide),r.refresh(e),l=s),e||l===!1||r.$slider.trigger("breakpoint",[r,l])}},e.prototype.changeSlide=function(e,t){var o,s,n,r=this,l=i(e.currentTarget);switch(l.is("a")&&e.preventDefault(),l.is("li")||(l=l.closest("li")),n=r.slideCount%r.options.slidesToScroll!==0,o=n?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":s=0===o?r.options.slidesToScroll:r.options.slidesToShow-o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,t);break;case"next":s=0===o?r.options.slidesToScroll:o,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||l.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(d),!1,t),l.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(i){var e,t,o=this;if(e=o.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var s in e){if(i<e[s]){i=t;break}t=e[s]}return i},e.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(i("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",i.proxy(e.interrupt,e,!0)).off("mouseleave.slick",i.proxy(e.interrupt,e,!1)),e.options.accessibility===!0&&e.$dots.off("keydown.slick",e.keyHandler)),e.$slider.off("focus.slick blur.slick"),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),e.options.accessibility===!0&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow&&e.$nextArrow.off("keydown.slick",e.keyHandler))),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),i(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),e.options.accessibility===!0&&e.$list.off("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().off("click.slick",e.selectHandler),i(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),i(window).off("resize.slick.slick-"+e.instanceUid,e.resize),i("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),i(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.cleanUpRows=function(){var i,e=this;e.options.rows>0&&(i=e.$slides.children().children(),i.removeAttr("style"),e.$slider.empty().append(i))},e.prototype.clickHandler=function(i){var e=this;e.shouldClick===!1&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),i(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove()),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove()),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){i(this).attr("style",i(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",e.options.fade===!1?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;t.cssTransitions===!1?(t.$slides.eq(i).css({zIndex:t.options.zIndex}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:t.options.zIndex}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.fadeSlideOut=function(i){var e=this;e.cssTransitions===!1?e.$slides.eq(i).animate({opacity:0,zIndex:e.options.zIndex-2},e.options.speed,e.options.easing):(e.applyTransition(i),e.$slides.eq(i).css({opacity:0,zIndex:e.options.zIndex-2}))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.$slidesCache=e.$slides,e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.focusHandler=function(){var e=this;e.$slider.off("focus.slick blur.slick").on("focus.slick","*",function(t){var o=i(this);setTimeout(function(){e.options.pauseOnFocus&&o.is(":focus")&&(e.focussed=!0,e.autoPlay())},0)}).on("blur.slick","*",function(t){i(this);e.options.pauseOnFocus&&(e.focussed=!1,e.autoPlay())})},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var i=this;return i.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(i.options.infinite===!0)if(i.slideCount<=i.options.slidesToShow)++o;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else if(i.options.centerMode===!0)o=i.slideCount;else if(i.options.asNavFor)for(;e<i.slideCount;)++o,e=t+i.options.slidesToScroll,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;else o=1+Math.ceil((i.slideCount-i.options.slidesToShow)/i.options.slidesToScroll);return o-1},e.prototype.getLeft=function(i){var e,t,o,s,n=this,r=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),n.options.infinite===!0?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,s=-1,n.options.vertical===!0&&n.options.centerMode===!0&&(2===n.options.slidesToShow?s=-1.5:1===n.options.slidesToShow&&(s=-2)),r=t*n.options.slidesToShow*s),n.slideCount%n.options.slidesToScroll!==0&&i+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(i>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(i-n.slideCount))*n.slideWidth*-1,r=(n.options.slidesToShow-(i-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,r=n.slideCount%n.options.slidesToScroll*t*-1))):i+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(i+n.options.slidesToShow-n.slideCount)*n.slideWidth,r=(i+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(n.slideOffset=0,r=0),n.options.centerMode===!0&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:n.options.centerMode===!0&&n.options.infinite===!0?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:n.options.centerMode===!0&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),e=n.options.vertical===!1?i*n.slideWidth*-1+n.slideOffset:i*t*-1+r,n.options.variableWidth===!0&&(o=n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow),e=n.options.rtl===!0?o[0]?(n.$slideTrack.width()-o[0].offsetLeft-o.width())*-1:0:o[0]?o[0].offsetLeft*-1:0,n.options.centerMode===!0&&(o=n.slideCount<=n.options.slidesToShow||n.options.infinite===!1?n.$slideTrack.children(".slick-slide").eq(i):n.$slideTrack.children(".slick-slide").eq(i+n.options.slidesToShow+1),e=n.options.rtl===!0?o[0]?(n.$slideTrack.width()-o[0].offsetLeft-o.width())*-1:0:o[0]?o[0].offsetLeft*-1:0,e+=(n.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){var e=this;return e.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(e.options.infinite===!1?i=e.slideCount:(t=e.options.slidesToScroll*-1,o=e.options.slidesToScroll*-1,i=2*e.slideCount);t<i;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o,s,n=this;return s=n.options.centerMode===!0?Math.floor(n.$list.width()/2):0,o=n.swipeLeft*-1+s,n.options.swipeToSlide===!0?(n.$slideTrack.find(".slick-slide").each(function(e,s){var r,l,d;if(r=i(s).outerWidth(),l=s.offsetLeft,n.options.centerMode!==!0&&(l+=r/2),d=l+r,o<d)return t=s,!1}),e=Math.abs(i(t).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){var t=this;t.changeSlide({data:{message:"index",index:parseInt(i)}},e)},e.prototype.init=function(e){var t=this;i(t.$slider).hasClass("slick-initialized")||(i(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),t.options.accessibility===!0&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},e.prototype.initADA=function(){var e=this,t=Math.ceil(e.slideCount/e.options.slidesToShow),o=e.getNavigableIndexes().filter(function(i){return i>=0&&i<e.slideCount});e.$slides.add(e.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==e.$dots&&(e.$slides.not(e.$slideTrack.find(".slick-cloned")).each(function(t){var s=o.indexOf(t);if(i(this).attr({role:"tabpanel",id:"slick-slide"+e.instanceUid+t,tabindex:-1}),s!==-1){var n="slick-slide-control"+e.instanceUid+s;i("#"+n).length&&i(this).attr({"aria-describedby":n})}}),e.$dots.attr("role","tablist").find("li").each(function(s){var n=o[s];i(this).attr({role:"presentation"}),i(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+e.instanceUid+s,"aria-controls":"slick-slide"+e.instanceUid+n,"aria-label":s+1+" of "+t,"aria-selected":null,tabindex:"-1"})}).eq(e.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var s=e.currentSlide,n=s+e.options.slidesToShow;s<n;s++)e.options.focusOnChange?e.$slides.eq(s).attr({tabindex:"0"}):e.$slides.eq(s).removeAttr("tabindex");e.activateADA()},e.prototype.initArrowEvents=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.off("click.slick").on("click.slick",{message:"next"},i.changeSlide),i.options.accessibility===!0&&(i.$prevArrow.on("keydown.slick",i.keyHandler),i.$nextArrow.on("keydown.slick",i.keyHandler)))},e.prototype.initDotEvents=function(){var e=this;e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&(i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),e.options.accessibility===!0&&e.$dots.on("keydown.slick",e.keyHandler)),e.options.dots===!0&&e.options.pauseOnDotsHover===!0&&e.slideCount>e.options.slidesToShow&&i("li",e.$dots).on("mouseenter.slick",i.proxy(e.interrupt,e,!0)).on("mouseleave.slick",i.proxy(e.interrupt,e,!1))},e.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",i.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",i.proxy(e.interrupt,e,!1)))},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),i(document).on(e.visibilityChange,i.proxy(e.visibility,e)),e.options.accessibility===!0&&e.$list.on("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,i.proxy(e.orientationChange,e)),i(window).on("resize.slick.slick-"+e.instanceUid,i.proxy(e.resize,e)),i("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(e.setPosition)},e.prototype.initUI=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),i.options.dots===!0&&i.slideCount>i.options.slidesToShow&&i.$dots.show()},e.prototype.keyHandler=function(i){var e=this;i.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===i.keyCode&&e.options.accessibility===!0?e.changeSlide({data:{message:e.options.rtl===!0?"next":"previous"}}):39===i.keyCode&&e.options.accessibility===!0&&e.changeSlide({data:{message:e.options.rtl===!0?"previous":"next"}}))},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy"),o=i(this).attr("data-srcset"),s=i(this).attr("data-sizes")||r.$slider.attr("data-sizes"),n=document.createElement("img");n.onload=function(){e.animate({opacity:0},100,function(){o&&(e.attr("srcset",o),s&&e.attr("sizes",s)),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,e,t])})},n.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,e,t])},n.src=t})}var t,o,s,n,r=this;if(r.options.centerMode===!0?r.options.infinite===!0?(s=r.currentSlide+(r.options.slidesToShow/2+1),n=s+r.options.slidesToShow+2):(s=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),n=2+(r.options.slidesToShow/2+1)+r.currentSlide):(s=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,n=Math.ceil(s+r.options.slidesToShow),r.options.fade===!0&&(s>0&&s--,n<=r.slideCount&&n++)),t=r.$slider.find(".slick-slide").slice(s,n),"anticipated"===r.options.lazyLoad)for(var l=s-1,d=n,a=r.$slider.find(".slick-slide"),c=0;c<r.options.slidesToScroll;c++)l<0&&(l=r.slideCount-1),t=t.add(a.eq(l)),t=t.add(a.eq(d)),l--,d++;e(t),r.slideCount<=r.options.slidesToShow?(o=r.$slider.find(".slick-slide"),e(o)):r.currentSlide>=r.slideCount-r.options.slidesToShow?(o=r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow),e(o)):0===r.currentSlide&&(o=r.$slider.find(".slick-cloned").slice(r.options.slidesToShow*-1),e(o))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){var i=this;i.changeSlide({data:{message:"next"}})},e.prototype.orientationChange=function(){var i=this;i.checkResponsive(),i.setPosition()},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.autoPlay(),i.options.autoplay=!0,i.paused=!1,i.focussed=!1,i.interrupted=!1},e.prototype.postSlide=function(e){var t=this;if(!t.unslicked&&(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),t.options.accessibility===!0&&(t.initADA(),t.options.focusOnChange))){var o=i(t.$slides.get(t.currentSlide));o.attr("tabindex",0).focus()}},e.prototype.prev=e.prototype.slickPrev=function(){var i=this;i.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(i){i.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var t,o,s,n,r,l=this,d=i("img[data-lazy]",l.$slider);d.length?(t=d.first(),o=t.attr("data-lazy"),s=t.attr("data-srcset"),n=t.attr("data-sizes")||l.$slider.attr("data-sizes"),r=document.createElement("img"),r.onload=function(){s&&(t.attr("srcset",s),n&&t.attr("sizes",n)),t.attr("src",o).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),l.options.adaptiveHeight===!0&&l.setPosition(),l.$slider.trigger("lazyLoaded",[l,t,o]),l.progressiveLazyLoad()},r.onerror=function(){e<3?setTimeout(function(){l.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),l.$slider.trigger("lazyLoadError",[l,t,o]),l.progressiveLazyLoad())},r.src=o):l.$slider.trigger("allImagesLoaded",[l])},e.prototype.refresh=function(e){var t,o,s=this;o=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>o&&(s.currentSlide=o),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),t=s.currentSlide,s.destroy(!0),i.extend(s,s.initials,{currentSlide:t}),s.init(),e||s.changeSlide({data:{message:"index",index:t}},!1)},e.prototype.registerBreakpoints=function(){var e,t,o,s=this,n=s.options.responsive||null;if("array"===i.type(n)&&n.length){s.respondTo=s.options.respondTo||"window";for(e in n)if(o=s.breakpoints.length-1,n.hasOwnProperty(e)){for(t=n[e].breakpoint;o>=0;)s.breakpoints[o]&&s.breakpoints[o]===t&&s.breakpoints.splice(o,1),o--;s.breakpoints.push(t),s.breakpointSettings[t]=n[e].settings}s.breakpoints.sort(function(i,e){return s.options.mobileFirst?i-e:e-i})}},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},e.prototype.resize=function(){var e=this;i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;return"boolean"==typeof i?(e=i,i=e===!0?0:o.slideCount-1):i=e===!0?--i:i,!(o.slideCount<1||i<0||i>o.slideCount-1)&&(o.unload(),t===!0?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,void o.reinit())},e.prototype.setCSS=function(i){var e,t,o=this,s={};o.options.rtl===!0&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,o.transformsEnabled===!1?o.$slideTrack.css(s):(s={},o.cssTransitions===!1?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;i.options.vertical===!1?i.options.centerMode===!0&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),i.options.centerMode===!0&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),i.options.vertical===!1&&i.options.variableWidth===!1?(i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length))):i.options.variableWidth===!0?i.$slideTrack.width(5e3*i.slideCount):(i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length)));var e=i.$slides.first().outerWidth(!0)-i.$slides.first().width();i.options.variableWidth===!1&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-e)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=t.slideWidth*o*-1,t.options.rtl===!0?i(s).css({position:"relative",right:e,top:0,zIndex:t.options.zIndex-2,opacity:0}):i(s).css({position:"relative",left:e,top:0,zIndex:t.options.zIndex-2,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:t.options.zIndex-1,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&i.options.adaptiveHeight===!0&&i.options.vertical===!1){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(){var e,t,o,s,n,r=this,l=!1;if("object"===i.type(arguments[0])?(o=arguments[0],l=arguments[1],n="multiple"):"string"===i.type(arguments[0])&&(o=arguments[0],s=arguments[1],l=arguments[2],"responsive"===arguments[0]&&"array"===i.type(arguments[1])?n="responsive":"undefined"!=typeof arguments[1]&&(n="single")),"single"===n)r.options[o]=s;else if("multiple"===n)i.each(o,function(i,e){r.options[i]=e});else if("responsive"===n)for(t in s)if("array"!==i.type(r.options.responsive))r.options.responsive=[s[t]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[t])}l&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),i.options.fade===!1?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=i.options.vertical===!0?"top":"left",
18
+ "top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),void 0===e.WebkitTransition&&void 0===e.MozTransition&&void 0===e.msTransition||i.options.useCSS===!0&&(i.cssTransitions=!0),i.options.fade&&("number"==typeof i.options.zIndex?i.options.zIndex<3&&(i.options.zIndex=3):i.options.zIndex=i.defaults.zIndex),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&i.animType!==!1&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=i.options.useTransform&&null!==i.animType&&i.animType!==!1},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;if(t=n.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),n.$slides.eq(i).addClass("slick-current"),n.options.centerMode===!0){var r=n.options.slidesToShow%2===0?1:0;e=Math.floor(n.options.slidesToShow/2),n.options.infinite===!0&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e+r,i+e+1).addClass("slick-active").attr("aria-hidden","false"):(o=n.options.slidesToShow+i,t.slice(o-e+1+r,o+e+2).addClass("slick-active").attr("aria-hidden","false")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")}else i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):t.length<=n.options.slidesToShow?t.addClass("slick-active").attr("aria-hidden","false"):(s=n.slideCount%n.options.slidesToShow,o=n.options.infinite===!0?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active").attr("aria-hidden","false"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==n.options.lazyLoad&&"anticipated"!==n.options.lazyLoad||n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(s.options.fade===!0&&(s.options.centerMode=!1),s.options.infinite===!0&&s.options.fade===!1&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=s.options.centerMode===!0?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;e<o+s.slideCount;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.interrupt=function(i){var e=this;i||e.autoPlay(),e.interrupted=i},e.prototype.selectHandler=function(e){var t=this,o=i(e.target).is(".slick-slide")?i(e.target):i(e.target).parents(".slick-slide"),s=parseInt(o.attr("data-slick-index"));return s||(s=0),t.slideCount<=t.options.slidesToShow?void t.slideHandler(s,!1,!0):void t.slideHandler(s)},e.prototype.slideHandler=function(i,e,t){var o,s,n,r,l,d=null,a=this;if(e=e||!1,!(a.animating===!0&&a.options.waitForAnimate===!0||a.options.fade===!0&&a.currentSlide===i))return e===!1&&a.asNavFor(i),o=i,d=a.getLeft(o),r=a.getLeft(a.currentSlide),a.currentLeft=null===a.swipeLeft?r:a.swipeLeft,a.options.infinite===!1&&a.options.centerMode===!1&&(i<0||i>a.getDotCount()*a.options.slidesToScroll)?void(a.options.fade===!1&&(o=a.currentSlide,t!==!0&&a.slideCount>a.options.slidesToShow?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o))):a.options.infinite===!1&&a.options.centerMode===!0&&(i<0||i>a.slideCount-a.options.slidesToScroll)?void(a.options.fade===!1&&(o=a.currentSlide,t!==!0&&a.slideCount>a.options.slidesToShow?a.animateSlide(r,function(){a.postSlide(o)}):a.postSlide(o))):(a.options.autoplay&&clearInterval(a.autoPlayTimer),s=o<0?a.slideCount%a.options.slidesToScroll!==0?a.slideCount-a.slideCount%a.options.slidesToScroll:a.slideCount+o:o>=a.slideCount?a.slideCount%a.options.slidesToScroll!==0?0:o-a.slideCount:o,a.animating=!0,a.$slider.trigger("beforeChange",[a,a.currentSlide,s]),n=a.currentSlide,a.currentSlide=s,a.setSlideClasses(a.currentSlide),a.options.asNavFor&&(l=a.getNavTarget(),l=l.slick("getSlick"),l.slideCount<=l.options.slidesToShow&&l.setSlideClasses(a.currentSlide)),a.updateDots(),a.updateArrows(),a.options.fade===!0?(t!==!0?(a.fadeSlideOut(n),a.fadeSlide(s,function(){a.postSlide(s)})):a.postSlide(s),void a.animateHeight()):void(t!==!0&&a.slideCount>a.options.slidesToShow?a.animateSlide(d,function(){a.postSlide(s)}):a.postSlide(s)))},e.prototype.startLoad=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),i.options.dots===!0&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),o=Math.round(180*t/Math.PI),o<0&&(o=360-Math.abs(o)),o<=45&&o>=0?s.options.rtl===!1?"left":"right":o<=360&&o>=315?s.options.rtl===!1?"left":"right":o>=135&&o<=225?s.options.rtl===!1?"right":"left":s.options.verticalSwiping===!0?o>=35&&o<=135?"down":"up":"vertical"},e.prototype.swipeEnd=function(i){var e,t,o=this;if(o.dragging=!1,o.swiping=!1,o.scrolling)return o.scrolling=!1,!1;if(o.interrupted=!1,o.shouldClick=!(o.touchObject.swipeLength>10),void 0===o.touchObject.curX)return!1;if(o.touchObject.edgeHit===!0&&o.$slider.trigger("edge",[o,o.swipeDirection()]),o.touchObject.swipeLength>=o.touchObject.minSwipe){switch(t=o.swipeDirection()){case"left":case"down":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide+o.getSlideCount()):o.currentSlide+o.getSlideCount(),o.currentDirection=0;break;case"right":case"up":e=o.options.swipeToSlide?o.checkNavigable(o.currentSlide-o.getSlideCount()):o.currentSlide-o.getSlideCount(),o.currentDirection=1}"vertical"!=t&&(o.slideHandler(e),o.touchObject={},o.$slider.trigger("swipe",[o,t]))}else o.touchObject.startX!==o.touchObject.curX&&(o.slideHandler(o.currentSlide),o.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(e.options.swipe===!1||"ontouchend"in document&&e.options.swipe===!1||e.options.draggable===!1&&i.type.indexOf("mouse")!==-1))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,e.options.verticalSwiping===!0&&(e.touchObject.minSwipe=e.listHeight/e.options.touchThreshold),i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,r,l=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!(!l.dragging||l.scrolling||n&&1!==n.length)&&(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,l.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),r=Math.round(Math.sqrt(Math.pow(l.touchObject.curY-l.touchObject.startY,2))),!l.options.verticalSwiping&&!l.swiping&&r>4?(l.scrolling=!0,!1):(l.options.verticalSwiping===!0&&(l.touchObject.swipeLength=r),t=l.swipeDirection(),void 0!==i.originalEvent&&l.touchObject.swipeLength>4&&(l.swiping=!0,i.preventDefault()),s=(l.options.rtl===!1?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),l.options.verticalSwiping===!0&&(s=l.touchObject.curY>l.touchObject.startY?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,l.options.infinite===!1&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),l.options.vertical===!1?l.swipeLeft=e+o*s:l.swipeLeft=e+o*(l.$list.height()/l.listWidth)*s,l.options.verticalSwiping===!0&&(l.swipeLeft=e+o*s),l.options.fade!==!0&&l.options.touchMove!==!1&&(l.animating===!0?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft))))},e.prototype.swipeStart=function(i){var e,t=this;return t.interrupted=!0,1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow?(t.touchObject={},!1):(void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,void(t.dragging=!0))},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},e.prototype.unslick=function(i){var e=this;e.$slider.trigger("unslick",[e,i]),e.destroy()},e.prototype.updateArrows=function(){var i,e=this;i=Math.floor(e.options.slidesToShow/2),e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&e.options.centerMode===!1?(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):e.currentSlide>=e.slideCount-1&&e.options.centerMode===!0&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active").end(),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var i=this;i.options.autoplay&&(document[i.hidden]?i.interrupted=!0:i.interrupted=!1)},i.fn.slick=function(){var i,t,o=this,s=arguments[0],n=Array.prototype.slice.call(arguments,1),r=o.length;for(i=0;i<r;i++)if("object"==typeof s||"undefined"==typeof s?o[i].slick=new e(o[i],s):t=o[i].slick[s].apply(o[i].slick,n),"undefined"!=typeof t)return t;return o}});
assets/js/testimonial.js ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function($) {
2
+ "use strict"
3
+
4
+ // Listen for events.
5
+ // in case the document is already rendered
6
+ if (document.readyState!="loading") uagb_content_timeline_init()
7
+ // modern browsers
8
+ else if (document.addEventListener) document.addEventListener("DOMContentLoaded", uagb_content_timeline_init)
9
+ // IE <= 8
10
+ else document.attachEvent("onreadystatechange", function(){
11
+ if (document.readyState=="complete") uagb_content_timeline_init()
12
+ })
13
+
14
+ // Callback function for all event listeners.
15
+ function uagb_content_timeline_init() {
16
+
17
+ if( $(".wp-block-uagb-testimonial").length > 0){
18
+ return true
19
+ }else{
20
+ var testimonial = $(".uagb-testomonial__outer-wrap")
21
+ testimonial.each(function() {
22
+ var slider_data = $(this).data("slider"),
23
+ data = slider_data[0],
24
+ block_id = data.block_id,
25
+ columns = data.columns,
26
+ autoplaySpeed = data.autoplaySpeed,
27
+ autoplay = data.autoplay,
28
+ infiniteLoop = data.infiniteLoop,
29
+ pauseOnHover = data.pauseOnHover,
30
+ transitionSpeed = data.transitionSpeed,
31
+ tcolumns = data.tcolumns,
32
+ arrowSize = data.arrowSize,
33
+ arrowColor = data.arrowColor,
34
+ mcolumns = data.mcolumns
35
+
36
+ var settings = {
37
+ slidesToShow : columns,
38
+ slidesToScroll : 1,
39
+ autoplaySpeed : autoplaySpeed,
40
+ autoplay : autoplay,
41
+ infinite : infiniteLoop,
42
+ pauseOnHover : pauseOnHover,
43
+ speed : transitionSpeed,
44
+ arrows : true,
45
+ dots : true,
46
+ rtl : false,
47
+ prevArrow: "<button type=\"button\" data-role=\"none\" class=\"slick-prev\" aria-label=\"Previous\" tabindex=\"0\" role=\"button\" style=\"border-color: "+arrowColor+"\"><span class=\"fas fa-angle-left\" style= \"font-size:"+arrowSize+"px;color: "+arrowColor+"\"></span></button>",
48
+ nextArrow: "<button type=\"button\" data-role=\"none\" class=\"slick-next\" aria-label=\"Next\" tabindex=\"0\" role=\"button\" style=\"border-color: "+arrowColor+"\"><span class=\"fas fa-angle-right\" style= \"font-size:"+arrowSize+"px;color: "+arrowColor+"\" ></span></button>",
49
+ responsive : [
50
+ {
51
+ breakpoint : 1024,
52
+ settings : {
53
+ slidesToShow : tcolumns,
54
+ slidesToScroll : 1,
55
+ }
56
+ },
57
+ {
58
+ breakpoint : 767,
59
+ settings : {
60
+ slidesToShow : mcolumns,
61
+ slidesToScroll : 1,
62
+ }
63
+ }
64
+ ]
65
+ }
66
+ $( "#uagb-testimonial-"+block_id ).find( ".is-carousel" ).slick( settings )
67
+ })
68
+ }
69
+ }
70
+
71
+ })(jQuery)
assets/js/timeline.js CHANGED
@@ -134,4 +134,4 @@
134
  })
135
  }
136
 
137
- } )( jQuery )
134
  })
135
  }
136
 
137
+ } )( jQuery )
classes/class-uagb-block-helper.php CHANGED
@@ -1,923 +1,1273 @@
1
- <?php
2
- /**
3
- * UAGB Block Helper.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
9
-
10
- /**
11
- * Class UAGB_Block_Helper.
12
- */
13
- class UAGB_Block_Helper {
14
-
15
- /**
16
- * Get Section Block CSS
17
- *
18
- * @since 0.0.1
19
- * @param array $attr The block attributes.
20
- * @param string $id The selector ID.
21
- * @return array The Widget List.
22
- */
23
- public static function get_section_css( $attr, $id ) {
24
-
25
- // @codingStandardsIgnoreStart
26
-
27
- $defaults = UAGB_Helper::$block_list['uagb/section']['attributes'];
28
-
29
- $attr = array_merge( $defaults, $attr );
30
-
31
- $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
32
-
33
- $style = array(
34
- 'padding-top' => $attr['topPadding'] . 'px',
35
- 'padding-bottom' => $attr['bottomPadding'] . 'px',
36
- 'padding-left' => $attr['leftPadding'] . 'px',
37
- 'padding-right' => $attr['rightPadding'] . 'px',
38
- );
39
-
40
- if ( 'right' == $attr['align'] ) {
41
- $style['margin-right'] = $attr['rightMargin'] . 'px';
42
- $style['margin-left'] = 'auto';
43
- $style['margin-top'] = $attr['topMargin'] . 'px';
44
- $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
45
- } elseif ( 'left' == $attr['align'] ) {
46
- $style['margin-right'] = 'auto';
47
- $style['margin-left'] = $attr['leftMargin'] . 'px';
48
- $style['margin-top'] = $attr['topMargin'] . 'px';
49
- $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
50
- } elseif ( 'center' == $attr['align'] ) {
51
- $style['margin-right'] = 'auto';
52
- $style['margin-left'] = 'auto';
53
- $style['margin-top'] = $attr['topMargin'] . 'px';
54
- $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
55
- } else {
56
- $style['margin-right'] = $attr['rightMargin'] . 'px';
57
- $style['margin-left'] = $attr['leftMargin'] . 'px';
58
- $style['margin-top'] = $attr['topMargin'] . 'px';
59
- $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
60
- }
61
-
62
- if ( "none" != $attr['borderStyle'] ) {
63
- $style["border-style"] = $attr['borderStyle'];
64
- $style["border-width"] = $attr['borderWidth'] . "px";
65
- $style["border-radius"] = $attr['borderRadius'] . "px";
66
- $style["border-color"] = $attr['borderColor'];
67
- }
68
-
69
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
70
-
71
- $section_width = '100%';
72
-
73
- if ( isset( $attr['contentWidth'] ) ) {
74
-
75
- if ( 'boxed' == $attr['contentWidth'] ) {
76
- if ( isset( $attr['width'] ) ) {
77
- $section_width = $attr['width'] . 'px';
78
- }
79
- }
80
- }
81
-
82
- $style['max-width'] = $section_width;
83
-
84
- if ( 'color' === $bg_type ) {
85
-
86
- $style['background-color'] = $attr['backgroundColor'];
87
-
88
- } elseif ( 'image' === $bg_type ) {
89
-
90
- $style['background-image'] = ( isset( $attr['backgroundImage'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
91
- $style['background-position'] = $position;
92
- $style['background-attachment'] = $attr['backgroundAttachment'];
93
- $style['background-repeat'] = $attr['backgroundRepeat'];
94
- $style['background-size'] = $attr['backgroundSize'];
95
-
96
- } elseif ( 'gradient' === $bg_type ) {
97
- $style['background-color'] = 'transparent';
98
-
99
- if ( 'linear' === $attr['gradientType'] ) {
100
-
101
- $style['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
102
- } else {
103
-
104
- $style['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
105
- }
106
- }
107
-
108
- $inner_width = '100%';
109
-
110
- if ( isset( $attr['contentWidth'] ) ) {
111
- if ( 'boxed' != $attr['contentWidth'] ) {
112
- if ( isset( $attr['innerWidth'] ) ) {
113
- $inner_width = $attr['innerWidth'] . 'px';
114
- }
115
- }
116
- }
117
-
118
- $selectors = array(
119
- '.uagb-section__wrap' => $style,
120
- ' .uagb-section__video-wrap' => array(
121
- 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
122
- ),
123
- ' .uagb-section__inner-wrap' => array(
124
- 'max-width' => $inner_width,
125
- ),
126
- );
127
-
128
- if ( 'video' == $bg_type ) {
129
- $selectors[' > .uagb-section__overlay'] = array(
130
- 'opacity' => 1,
131
- 'background-color' => $attr['backgroundVideoColor'],
132
- );
133
- } else if ( 'image' == $bg_type ) {
134
- $selectors[' > .uagb-section__overlay'] = array(
135
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
136
- 'background-color' => $attr['backgroundImageColor'],
137
- );
138
- } else {
139
- $selectors[' > .uagb-section__overlay'] = array(
140
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
141
- );
142
- }
143
-
144
- // @codingStandardsIgnoreEnd
145
-
146
- return UAGB_Helper::generate_css( $selectors, '#uagb-section-' . $id );
147
- }
148
-
149
- /**
150
- * Get Advanced Heading Block CSS
151
- *
152
- * @since 0.0.1
153
- * @param array $attr The block attributes.
154
- * @param string $id The selector ID.
155
- * @return array The Widget List.
156
- */
157
- public static function get_adv_heading_css( $attr, $id ) {
158
-
159
- // @codingStandardsIgnoreStart
160
-
161
- $defaults = UAGB_Helper::$block_list['uagb/advanced-heading']['attributes'];
162
-
163
- $attr = array_merge( $defaults, (array) $attr );
164
-
165
- $selectors = array(
166
- ' .uagb-heading-text' => array(
167
- 'text-align' => $attr['headingAlign'],
168
- 'font-size' => $attr['headFontSize'] . "px",
169
- 'color' => $attr['headingColor'],
170
- 'margin-bottom' => $attr['headSpace'] . "px",
171
- ),
172
- ' .uagb-separator-wrap' => array(
173
- 'text-align' => $attr['headingAlign'],
174
- ),
175
- ' .uagb-separator' => array(
176
- 'border-top-width' => $attr['separatorHeight'] . "px",
177
- 'width' => $attr['separatorWidth'] . "%",
178
- 'border-color' => $attr['separatorColor'],
179
- 'margin-bottom' => $attr['separatorSpace'] . "px",
180
- ),
181
- ' .uagb-desc-text' => array(
182
- 'text-align' => $attr['headingAlign'],
183
- 'font-size' => $attr['subHeadFontSize'] . "px",
184
- 'color' => $attr['subHeadingColor'],
185
- 'margin-bottom' => $attr['subHeadSpace'] . "px",
186
- )
187
-
188
- );
189
-
190
- // @codingStandardsIgnoreEnd
191
-
192
- return UAGB_Helper::generate_css( $selectors, '#uagb-adv-heading-' . $id );
193
- }
194
-
195
- /**
196
- * Get Multi Buttons Block CSS
197
- *
198
- * @since 0.0.1
199
- * @param array $attr The block attributes.
200
- * @param string $id The selector ID.
201
- * @return array The Widget List.
202
- */
203
- public static function get_buttons_css( $attr, $id ) {
204
-
205
- // @codingStandardsIgnoreStart
206
-
207
- $defaults = UAGB_Helper::$block_list['uagb/buttons']['attributes'];
208
-
209
- $attr = array_merge( $defaults, (array) $attr );
210
-
211
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
212
-
213
- $m_selectors = array();
214
- $t_selectors = array();
215
-
216
- $selectors = array(
217
- ' .uagb-button__wrapper' => array(
218
- 'margin-left' => ( $attr['gap']/2 ) . 'px',
219
- 'margin-right' => ( $attr['gap']/2 ) . 'px'
220
- ),
221
- ' .uagb-button__wrapper:first-child' => array (
222
- 'margin-left' => 0
223
- ),
224
- ' .uagb-button__wrapper:last-child' => array (
225
- 'margin-right' => 0
226
- ),
227
- ' .uagb-buttons__wrap' => array (
228
- 'justify-content' => $alignment,
229
- '-webkit-box-pack'=> $alignment,
230
- '-ms-flex-pack' => $alignment,
231
- 'justify-content' => $alignment,
232
- '-webkit-box-align' => $alignment,
233
- '-ms-flex-align' => $alignment,
234
- 'align-items' => $alignment,
235
- )
236
- );
237
-
238
- foreach ( $attr['buttons'] as $key => $button ) {
239
-
240
- $button['size'] = ( isset( $button['size'] ) ) ? $button['size'] : '';
241
- $button['borderWidth'] = ( isset( $button['borderWidth'] ) ) ? $button['borderWidth'] : '';
242
- $button['borderStyle'] = ( isset( $button['borderStyle'] ) ) ? $button['borderStyle'] : '';
243
- $button['borderColor'] = ( isset( $button['borderColor'] ) ) ? $button['borderColor'] : '';
244
- $button['borderRadius'] = ( isset( $button['borderRadius'] ) ) ? $button['borderRadius'] : '';
245
- $button['background'] = ( isset( $button['background'] ) ) ? $button['background'] : '';
246
- $button['hBackground'] = ( isset( $button['hBackground'] ) ) ? $button['hBackground'] : '';
247
- $button['borderHColor'] = ( isset( $button['borderHColor'] ) ) ? $button['borderHColor'] : '';
248
- $button['vPadding'] = ( isset( $button['vPadding'] ) ) ? $button['vPadding'] : '';
249
- $button['hPadding'] = ( isset( $button['hPadding'] ) ) ? $button['hPadding'] : '';
250
- $button['color'] = ( isset( $button['color'] ) ) ? $button['color'] : '';
251
- $button['hColor'] = ( isset( $button['hColor'] ) ) ? $button['hColor'] : '';
252
-
253
- if ( $attr['btn_count'] <= $key ) {
254
- break;
255
- }
256
-
257
- $selectors[' .uagb-buttons-repeater-' . $key] = array (
258
- 'font-size' => $button['size'] . 'px',
259
- 'border' => $button['borderWidth'] . 'px ' . $button['borderStyle'] . ' ' . $button['borderColor'],
260
- 'border-radius' => $button['borderRadius'] . 'px',
261
- 'background' => $button['background']
262
- );
263
-
264
- $selectors[' .uagb-buttons-repeater-' . $key . ':hover'] = array (
265
- 'background' => $button['hBackground'],
266
- 'border' => $button['borderWidth'] . 'px ' . $button['borderStyle'] . ' ' . $button['borderHColor'],
267
- );
268
-
269
- $selectors[' .uagb-buttons-repeater-' . $key . ' a.uagb-button__link'] = array (
270
- 'padding' => $button['vPadding'] . 'px ' . $button['hPadding'] . 'px',
271
- 'color' => $button['color']
272
- );
273
-
274
- $selectors[' .uagb-buttons-repeater-' . $key . ':hover a.uagb-button__link'] = array (
275
- 'color' => $button['hColor']
276
- );
277
- }
278
-
279
- if ( "desktop" == $attr['stack'] ) {
280
-
281
- $selectors[" .uagb-button__wrapper"] = array (
282
- 'margin-left' => 0,
283
- 'margin-right' => 0,
284
- "margin-bottom" => $attr['gap'] . "px"
285
- );
286
-
287
- $selectors[" .uagb-buttons__wrap"] = array (
288
- "flex-direction" => "column"
289
- );
290
-
291
- $selectors[" .uagb-button__wrapper:last-child"] = array (
292
- "margin-bottom" => 0
293
- );
294
-
295
- } else if ( "tablet" == $attr['stack'] ) {
296
-
297
- $t_selectors[" .uagb-button__wrapper"] = array (
298
- 'margin-left' => 0,
299
- 'margin-right' => 0,
300
- "margin-bottom" => $attr['gap'] . "px"
301
- );
302
-
303
- $t_selectors[" .uagb-buttons__wrap"] = array (
304
- "flex-direction" => "column"
305
- );
306
-
307
- $t_selectors[" .uagb-button__wrapper:last-child"] = array (
308
- "margin-bottom" => 0
309
- );
310
-
311
- } else if ( "mobile" == $attr['stack'] ) {
312
-
313
- $m_selectors[" .uagb-button__wrapper"] = array (
314
- 'margin-left' => 0,
315
- 'margin-right' => 0,
316
- "margin-bottom" => $attr['gap'] . "px"
317
- );
318
-
319
- $m_selectors[" .uagb-buttons__wrap"] = array (
320
- "flex-direction" => "column"
321
- );
322
-
323
- $m_selectors[" .uagb-button__wrapper:last-child"] = array (
324
- "margin-bottom" => 0
325
- );
326
- }
327
-
328
- // @codingStandardsIgnoreEnd
329
-
330
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-buttons-' . $id );
331
-
332
- $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 976px)', $t_selectors, '#uagb-buttons-' . $id );
333
-
334
- $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-buttons-' . $id );
335
-
336
- return $desktop . $tablet . $mobile;
337
- }
338
-
339
-
340
- /**
341
- * Get Info Box CSS
342
- *
343
- * @since 0.0.1
344
- * @param array $attr The block attributes.
345
- * @param string $id The selector ID.
346
- * @return array The Widget List.
347
- */
348
- public static function get_info_box_css( $attr, $id ) {
349
-
350
- // @codingStandardsIgnoreStart.
351
- $defaults = UAGB_Helper::$block_list['uagb/info-box']['attributes'];
352
-
353
- $attr = (object) array_merge( $defaults, (array) $attr );
354
-
355
- $selectors = array(
356
- ' .uagb-ifb-icon' => array(
357
- 'height' => $attr->iconSize. "px",
358
- 'width' => $attr->iconSize. "px",
359
- 'line-height' => $attr->iconSize. "px",
360
- ),
361
- ' .uagb-ifb-icon > span' => array(
362
- 'font-size' => $attr->iconSize. "px",
363
- 'height' => $attr->iconSize. "px",
364
- 'width' => $attr->iconSize. "px",
365
- 'line-height' => $attr->iconSize. "px",
366
- 'color' => $attr->iconColor,
367
- ),
368
- ' .uagb-ifb-icon:hover > span' => array(
369
- 'color' => $attr->iconHover ,
370
- ),
371
- ' .uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap' => array(
372
- 'margin-left' => $attr->iconLeftMargin.'px',
373
- 'margin-right' => $attr->iconRightMargin.'px',
374
- 'margin-top' => $attr->iconTopMargin.'px',
375
- 'margin-bottom' => $attr->iconBottomMargin.'px',
376
- ),
377
-
378
- // Image.
379
- ' .uagb-ifb-image-content > img' => array(
380
- 'width'=> $attr->imageWidth.'px',
381
- 'max-width'=> $attr->imageWidth.'px',
382
- ),
383
-
384
- ' .uagb-infobox .uagb-ifb-image-content img' => array(
385
- 'border-radius' => $attr->iconimgBorderRadius.'px',
386
- ),
387
-
388
-
389
- // CTA style .
390
- ' .uagb-infobox-cta-link' => array(
391
- 'font-size' => $attr->ctaFontSize.'px',
392
- 'color' => $attr->ctaLinkColor,
393
- ),
394
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link' => array(
395
- 'font-size' => $attr->ctaFontSize.'px',
396
- 'color' => $attr->ctaBtnLinkColor,
397
- 'background-color' => $attr->ctaBgColor,
398
- 'border-style' => $attr->ctaBorderStyle,
399
- 'border-color' => $attr->ctaBorderColor,
400
- 'border-radius' => $attr->ctaBorderRadius . "px",
401
- 'border-width' => $attr->ctaBorderWidth . "px",
402
- 'padding-top' => $attr->ctaBtnVertPadding . "px",
403
- 'padding-bottom' => $attr->ctaBtnVertPadding . "px",
404
- 'padding-left' => $attr->ctaBtnHrPadding . "px",
405
- 'padding-right' => $attr->ctaBtnHrPadding . "px",
406
-
407
- ),
408
-
409
- // Prefix Style.
410
- ' .uagb-ifb-title-prefix' => array(
411
- 'font-size' => $attr->prefixFontSize.'px',
412
- 'color' => $attr->prefixColor,
413
- 'margin-bottom' => $attr->prefixSpace.'px',
414
- ),
415
-
416
- // Title Style.
417
- ' .uagb-ifb-title' => array(
418
- 'font-size' => $attr->headFontSize.'px',
419
- 'color' => $attr->headingColor,
420
- 'margin-bottom' => $attr->headSpace.'px',
421
- ),
422
-
423
- // Description Style.
424
- ' .uagb-ifb-desc' => array(
425
- 'font-size' => $attr->subHeadFontSize.'px',
426
- 'color' => $attr->subHeadingColor,
427
- 'margin-bottom' => $attr->subHeadSpace.'px',
428
- ),
429
-
430
- // Seperator.
431
- ' .uagb-ifb-separator' => array(
432
- 'width' => $attr->seperatorWidth.'%',
433
- 'border-top-width' => $attr->seperatorThickness.'px',
434
- 'border-top-color' => $attr->seperatorColor,
435
- 'border-top-style' => $attr->seperatorStyle,
436
- ),
437
- ' .uagb-ifb-separator-parent' => array(
438
- 'margin-bottom' => $attr->seperatorSpace.'px',
439
- ),
440
-
441
- );
442
-
443
- if( 'above-title' === $attr->iconimgPosition || 'below-title' === $attr->iconimgPosition ){
444
- $selectors[' .uagb-infobox__content-wrap'] = array(
445
- 'text-align' => $attr->headingAlign,
446
- );
447
- }
448
-
449
- // @codingStandardsIgnoreEnd.
450
- return UAGB_Helper::generate_css( $selectors, '#uagb-infobox-' . $id );
451
- }
452
-
453
- /**
454
- * Get Team Block CSS
455
- *
456
- * @since 0.0.1
457
- * @param array $attr The block attributes.
458
- * @param string $id The selector ID.
459
- * @return array The Widget List.
460
- */
461
- public static function get_team_css( $attr, $id ) {
462
-
463
- // @codingStandardsIgnoreStart
464
-
465
- $defaults = UAGB_Helper::$block_list['uagb/team']['attributes'];
466
-
467
- $attr = array_merge( $defaults, (array) $attr );
468
-
469
- $selectors = array(
470
- " p.uagb-team__desc" => array(
471
- "font-size" => $attr['descFontSize'] . "px",
472
- "color" => $attr['descColor'],
473
- "margin-bottom" => $attr['descSpace'] . "px",
474
- ),
475
- " .uagb-team__prefix" => array(
476
- "font-size" => $attr['prefixFontSize'] . "px",
477
- "color" => $attr['prefixColor'],
478
- ),
479
- " .uagb-team__desc-wrap" => array(
480
- "margin-top" => $attr['prefixSpace'] . "px",
481
- ),
482
- " .uagb-team__social-icon a" => array(
483
- "color" => $attr['socialColor'],
484
- "font-size" => $attr['socialFontSize'] . "px",
485
- "width" => $attr['socialFontSize'] . "px",
486
- "height" => $attr['socialFontSize'] . "px",
487
- ),
488
- " .uagb-team__social-icon:hover a" => array(
489
- "color" => $attr['socialHoverColor'],
490
- ),
491
- ".uagb-team__image-position-left .uagb-team__social-icon" => array(
492
- "margin-right" => $attr['socialSpace'] . "px",
493
- "margin-left" => "0",
494
- ),
495
- ".uagb-team__image-position-right .uagb-team__social-icon" => array(
496
- "margin-left" => $attr['socialSpace'] . "px",
497
- "margin-right" => "0",
498
- ),
499
- ".uagb-team__image-position-above.uagb-team__align-center .uagb-team__social-icon" => array(
500
- "margin-right" => ( $attr['socialSpace'] / 2 ) . "px",
501
- "margin-left" => ( $attr['socialSpace'] / 2 ) . "px",
502
- ),
503
- ".uagb-team__image-position-above.uagb-team__align-left .uagb-team__social-icon" => array(
504
- "margin-right" => $attr['socialSpace'] . "px",
505
- "margin-left" => "0",
506
- ),
507
- ".uagb-team__image-position-above.uagb-team__align-right .uagb-team__social-icon" => array(
508
- "margin-left" => $attr['socialSpace'] . "px",
509
- "margin-right" => "0",
510
- ),
511
- " .uagb-team__image-wrap" => array(
512
- "margin-top" => $attr['imgTopMargin'] . "px",
513
- "margin-bottom" => $attr['imgBottomMargin'] . "px",
514
- "margin-left" => $attr['imgLeftMargin'] . "px",
515
- "margin-right" => $attr['imgRightMargin'] . "px",
516
- "width" => $attr['imgWidth'] . "px"
517
- ),
518
- );
519
-
520
- if( 'above' == $attr['imgPosition'] ) {
521
- if ( 'center' == $attr['align'] ) {
522
- $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
523
- $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
524
- } else if ( 'left' == $attr['align'] ) {
525
- $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
526
- } else if ( 'right' == $attr['align'] ) {
527
- $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
528
- }
529
- }
530
-
531
- if ( "above" != $attr['imgPosition'] ) {
532
- if ( "middle" == $attr['imgAlign'] ) {
533
- $selectors[" .uagb-team__image-wrap"]["align-self"] = "center";
534
- }
535
- }
536
-
537
- $selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
538
- "font-size" => $attr['titleFontSize'] . "px",
539
- "color" => $attr['titleColor'],
540
- "margin-bottom" => $attr['titleSpace'] . "px",
541
- );
542
-
543
- // @codingStandardsIgnoreEnd
544
-
545
- return UAGB_Helper::generate_css( $selectors, '#uagb-team-' . $id );
546
- }
547
-
548
- /**
549
- * Get Social Share Block CSS
550
- *
551
- * @since 0.0.1
552
- * @param array $attr The block attributes.
553
- * @param string $id The selector ID.
554
- * @return array The Widget List.
555
- */
556
- public static function get_social_share_css( $attr, $id ) {
557
-
558
- // @codingStandardsIgnoreStart
559
-
560
- $defaults = UAGB_Helper::$block_list['uagb/social-share']['attributes'];
561
-
562
- $attr = array_merge( $defaults, (array) $attr );
563
-
564
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
565
-
566
- $m_selectors = array();
567
- $t_selectors = array();
568
-
569
- $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper"] = array(
570
- "margin-left" => 0,
571
- "margin-right" => 0,
572
- "margin-bottom" => $attr['gap'] . "px"
573
- );
574
-
575
- $selectors[".uagb-social-share__layout-vertical .uagb-social-share__wrap"] = array(
576
- "flex-direction" => "column"
577
- );
578
-
579
- $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper:last-child"] = array(
580
- "margin-bottom" => 0
581
- );
582
-
583
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
584
- "margin-left" => ( $attr['gap']/2 ) . "px",
585
- "margin-right" => ( $attr['gap']/2 ) . "px"
586
- );
587
-
588
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:first-child"] = array(
589
- "margin-left" => 0
590
- );
591
-
592
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:last-child"] = array(
593
- "margin-right" => 0
594
- );
595
-
596
- $selectors[" .uagb-ss__wrapper"] = array(
597
- "width" => $attr['size'] . "px"
598
- );
599
-
600
- $selectors[" .uagb-ss__source-image"] = array(
601
- "width" => $attr['size'] . "px"
602
- );
603
-
604
- $selectors[" .uagb-ss__source-icon"] = array(
605
- "width" => $attr['size'] . "px",
606
- "height" => $attr['size'] . "px",
607
- "font-size" => $attr['size'] . "px"
608
- );
609
-
610
- $selectors[" .uagb-ss__source-icon:before"] = array(
611
- "width" => $attr['size'] . "px",
612
- "height" => $attr['size'] . "px",
613
- "font-size" => $attr['size'] . "px"
614
- );
615
-
616
- foreach ( $attr['socials'] as $key => $social ) {
617
-
618
- $social['icon_color'] = ( isset( $social['icon_color'] ) ) ? $social['icon_color'] : '';
619
- $social['icon_hover_color'] = ( isset( $social['icon_hover_color'] ) ) ? $social['icon_hover_color'] : '';
620
-
621
- if ( $attr['social_count'] <= $key ) {
622
- break;
623
- }
624
-
625
- $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
626
- "color" => $social['icon_color']
627
- );
628
-
629
- $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link"] = array (
630
- "color" => $social['icon_hover_color']
631
- );
632
- }
633
-
634
- $selectors[" .uagb-social-share__wrap"] = array(
635
- "justify-content" => $alignment,
636
- "-webkit-box-pack" => $alignment,
637
- "-ms-flex-pack" => $alignment,
638
- "justify-content" => $alignment,
639
- );
640
-
641
- if ( 'horizontal' == $attr['social_layout'] ) {
642
-
643
- if ( "desktop" == $attr['stack'] ) {
644
-
645
- $selectors[" .uagb-ss__wrapper"] = array (
646
- "margin-left" => 0,
647
- "margin-right" => 0,
648
- "margin-bottom" => $attr['gap'] . "px"
649
- );
650
-
651
- $selectors[" .uagb-social-share__wrap"] = array (
652
- "flex-direction" => "column"
653
- );
654
-
655
- $selectors[" .uagb-ss__wrapper:last-child"] = array (
656
- "margin-bottom" => 0
657
- );
658
-
659
- } else if ( "tablet" == $attr['stack'] ) {
660
-
661
- $t_selectors[" .uagb-ss__wrapper"] = array (
662
- "margin-left" => 0,
663
- "margin-right" => 0,
664
- "margin-bottom" => $attr['gap'] . "px"
665
- );
666
-
667
- $t_selectors[" .uagb-social-share__wrap"] = array (
668
- "flex-direction" => "column"
669
- );
670
-
671
- $t_selectors[" .uagb-ss__wrapper:last-child"] = array (
672
- "margin-bottom" => 0
673
- );
674
-
675
- } else if ( "mobile" == $attr['stack'] ) {
676
-
677
- $m_selectors[" .uagb-ss__wrapper"] = array (
678
- "margin-left" => 0,
679
- "margin-right" => 0,
680
- "margin-bottom" => $attr['gap'] . "px"
681
- );
682
-
683
- $m_selectors[" .uagb-social-share__wrap"] = array (
684
- "flex-direction" => "column"
685
- );
686
-
687
- $m_selectors[" .uagb-ss__wrapper:last-child"] = array (
688
- "margin-bottom" => 0
689
- );
690
- }
691
- }
692
-
693
- // @codingStandardsIgnoreEnd
694
-
695
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-social-share-' . $id );
696
-
697
- $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 976px)', $t_selectors, '#uagb-social-share-' . $id );
698
-
699
- $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-social-share-' . $id );
700
-
701
- return $desktop . $tablet . $mobile;
702
- }
703
-
704
- /**
705
- * Get Content Timeline Block CSS
706
- *
707
- * @since 0.0.1
708
- * @param array $attr The block attributes.
709
- * @param string $id The selector ID.
710
- * @return array The Widget List.
711
- */
712
- public static function get_content_timeline_css( $attr, $id ) {
713
-
714
- // @codingStandardsIgnoreStart
715
-
716
- $defaults = UAGB_Helper::$block_list['uagb/content-timeline']['attributes'];
717
-
718
- $attr = array_merge( $defaults, (array) $attr );
719
-
720
- $t_selectors = array();
721
-
722
- $selectors[" .uagb-timeline__heading"] = array(
723
- "text-align" => $attr['align'],
724
- "color" => $attr['headingColor'],
725
- "font-size" => $attr['headFontSize'] . "px"
726
- );
727
-
728
- $selectors[" .uagb-timeline__heading-text"] = array(
729
- "margin-bottom" => $attr['headSpace'] . "px"
730
- );
731
-
732
- $selectors[" .uagb-timeline-desc-content"] = array(
733
- "text-align" => $attr['align'],
734
- "color" => $attr['subHeadingColor'],
735
- "font-size" => $attr['subHeadFontSize'] . "px",
736
- );
737
- $selectors[' .uagb-timeline__events-new'] = array(
738
- 'text-align' => $attr['align']
739
- );
740
- $selectors['.uagb-timeline__date-inner'] = array(
741
- 'text-align' => $attr['align']
742
- );
743
-
744
- $selectors[' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after'] = array(
745
- 'border-left-color' => $attr['backgroundColor']
746
- );
747
-
748
- $selectors[' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after'] = array(
749
- 'border-left-color' => $attr['backgroundColor']
750
- );
751
-
752
- $selectors[' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after'] = array(
753
- 'border-right-color' => $attr['backgroundColor']
754
- );
755
-
756
- $selectors[' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after'] = array(
757
- 'border-right-color' => $attr['backgroundColor']
758
- );
759
-
760
- $selectors[' .uagb-timeline__line__inner'] = array(
761
- 'background-color' => $attr['separatorFillColor']
762
- );
763
-
764
- $selectors[' .uagb-timeline__line'] = array(
765
- 'background-color' => $attr['separatorColor'],
766
- 'width' => $attr['separatorwidth'].'px'
767
- );
768
-
769
- $selectors[' .uagb-timeline__right-block .uagb-timeline__line'] = array(
770
- 'right' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
771
- );
772
-
773
- $selectors[' .uagb-timeline__left-block .uagb-timeline__line'] = array(
774
- 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
775
- );
776
-
777
- $selectors[' .uagb-timeline__center-block .uagb-timeline__line'] = array(
778
- 'right' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
779
- );
780
-
781
- $selectors[' .uagb-timeline__marker'] = array(
782
- 'background-color' => $attr['separatorBg'],
783
- 'min-height'=> $attr['connectorBgsize'].'px',
784
- 'min-width' => $attr['connectorBgsize'].'px',
785
- 'line-height' => $attr['connectorBgsize'].'px',
786
- 'border'=> $attr['borderwidth'].'px solid'.$attr['separatorBorder'],
787
- );
788
-
789
- $selectors[' .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow'] = array(
790
- 'height' => $attr['connectorBgsize'].'px',
791
- );
792
-
793
- $selectors[' .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow'] = array(
794
- 'height' => $attr['connectorBgsize'].'px',
795
- );
796
-
797
- $selectors[' .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow'] = array(
798
- 'height' => $attr['connectorBgsize'].'px',
799
- );
800
-
801
- $selectors[' .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow'] = array(
802
- 'height' => $attr['connectorBgsize'].'px',
803
- );
804
-
805
- $selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
806
- 'margin-left' => $attr['horizontalSpace'].'px',
807
- 'margin-right'=> $attr['horizontalSpace'].'px',
808
- );
809
-
810
- $selectors[' .uagb-timeline__field:not(:last-child)'] = array(
811
- 'margin-bottom' => $attr['verticalSpace'].'px',
812
- );
813
-
814
- $selectors[' .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
815
- 'margin-bottom' => $attr['dateBottomspace'].'px',
816
- 'color'=> $attr['dateColor'],
817
- 'font-size' => $attr['dateFontsize'].'px',
818
- 'text-align'=> $attr['align'],
819
- );
820
-
821
- $selectors[' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left'] = array(
822
- 'margin-left' => $attr['horizontalSpace'].'px',
823
- );
824
-
825
- $selectors[' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right'] = array(
826
- 'margin-right' => $attr['horizontalSpace'].'px',
827
- );
828
-
829
- $selectors[' .uagb-timeline__date-new'] = array(
830
- 'color'=> $attr['dateColor'],
831
- 'font-size' => $attr['dateFontsize'].'px',
832
- );
833
-
834
- $selectors[' .uagb-timeline__events-inner-new'] = array(
835
- 'background-color' => $attr['backgroundColor'],
836
- 'border-radius' => $attr['borderRadius'].'px',
837
- 'padding'=> $attr['bgPadding'].'px',
838
- );
839
-
840
- $selectors[' .uagb-timeline__main .uagb-timeline__icon-new'] = array(
841
- 'color'=> $attr['iconColor'],
842
- 'font-size' => $attr['iconSize'].'px',
843
- );
844
-
845
- $selectors[' .uagb-timeline__field.uagb-timeline__animate-border:hover .uagb-timeline__marker'] = array(
846
- 'background' => $attr['iconBgHover'],
847
- 'border-color'=> $attr['borderHover'],
848
- );
849
-
850
- $selectors[' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon'] = array(
851
- 'background' => $attr['iconBgFocus'],
852
- 'border-color'=> $attr['borderFocus'],
853
- );
854
-
855
-
856
- $selectors[' .uagb-timeline__field.uagb-timeline__animate-border:hover .uagb-timeline__icon-new'] = array(
857
- 'color'=> $attr['iconHover'],
858
- );
859
-
860
- $selectors[' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new'] = array(
861
- 'color'=> $attr['iconFocus'],
862
- );
863
-
864
- $t_selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
865
- 'margin-left' => 0,
866
- 'margin-right' => 0,
867
- );
868
-
869
- $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading"] = array(
870
- "text-align" => 'left',
871
- );
872
- $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content"] = array(
873
- "text-align" => 'left',
874
- );
875
-
876
- $t_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new'] = array(
877
- 'text-align' => 'left'
878
- );
879
- $t_selectors['.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner'] = array(
880
- 'text-align' => 'left'
881
- );
882
- $t_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
883
- 'text-align'=> 'left',
884
- );
885
-
886
- $m_selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
887
- 'margin-left' => 0,
888
- 'margin-right' => 0,
889
- );
890
-
891
- $m_selectors[' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left'] = array(
892
- 'margin-left' => $attr['horizontalSpace'].'px',
893
- );
894
- $m_selectors[' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right'] = array(
895
- 'margin-left' => $attr['horizontalSpace'].'px',
896
- );
897
-
898
- $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading"] = array(
899
- "text-align" => 'left',
900
- );
901
- $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content"] = array(
902
- "text-align" => 'left',
903
- );
904
-
905
- $m_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new'] = array(
906
- 'text-align' => 'left'
907
- );
908
- $m_selectors['.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner'] = array(
909
- 'text-align' => 'left'
910
- );
911
- $m_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
912
- 'text-align'=> 'left',
913
- );
914
- // @codingStandardsIgnoreEnd
915
-
916
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
917
- $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 1024px)', $t_selectors, '#uagb-ctm-' . $id );
918
- $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-ctm-' . $id );
919
-
920
- return $desktop . $tablet . $mobile;
921
- }
922
- }
923
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Block Helper.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
9
+
10
+ /**
11
+ * Class UAGB_Block_Helper.
12
+ */
13
+ class UAGB_Block_Helper {
14
+
15
+ /**
16
+ * Get Section Block CSS
17
+ *
18
+ * @since 0.0.1
19
+ * @param array $attr The block attributes.
20
+ * @param string $id The selector ID.
21
+ * @return array The Widget List.
22
+ */
23
+ public static function get_section_css( $attr, $id ) {
24
+
25
+ // @codingStandardsIgnoreStart
26
+
27
+ $defaults = UAGB_Helper::$block_list['uagb/section']['attributes'];
28
+
29
+ $attr = array_merge( $defaults, $attr );
30
+
31
+ $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
32
+
33
+ $style = array(
34
+ 'padding-top' => $attr['topPadding'] . 'px',
35
+ 'padding-bottom' => $attr['bottomPadding'] . 'px',
36
+ 'padding-left' => $attr['leftPadding'] . 'px',
37
+ 'padding-right' => $attr['rightPadding'] . 'px',
38
+ );
39
+
40
+ if ( 'right' == $attr['align'] ) {
41
+ $style['margin-right'] = $attr['rightMargin'] . 'px';
42
+ $style['margin-left'] = 'auto';
43
+ $style['margin-top'] = $attr['topMargin'] . 'px';
44
+ $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
45
+ } elseif ( 'left' == $attr['align'] ) {
46
+ $style['margin-right'] = 'auto';
47
+ $style['margin-left'] = $attr['leftMargin'] . 'px';
48
+ $style['margin-top'] = $attr['topMargin'] . 'px';
49
+ $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
50
+ } elseif ( 'center' == $attr['align'] ) {
51
+ $style['margin-right'] = 'auto';
52
+ $style['margin-left'] = 'auto';
53
+ $style['margin-top'] = $attr['topMargin'] . 'px';
54
+ $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
55
+ } else {
56
+ $style['margin-right'] = $attr['rightMargin'] . 'px';
57
+ $style['margin-left'] = $attr['leftMargin'] . 'px';
58
+ $style['margin-top'] = $attr['topMargin'] . 'px';
59
+ $style['margin-bottom'] = $attr['bottomMargin'] . 'px';
60
+ }
61
+
62
+ if ( "none" != $attr['borderStyle'] ) {
63
+ $style["border-style"] = $attr['borderStyle'];
64
+ $style["border-width"] = $attr['borderWidth'] . "px";
65
+ $style["border-radius"] = $attr['borderRadius'] . "px";
66
+ $style["border-color"] = $attr['borderColor'];
67
+ }
68
+
69
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
70
+
71
+ $section_width = '100%';
72
+
73
+ if ( isset( $attr['contentWidth'] ) ) {
74
+
75
+ if ( 'boxed' == $attr['contentWidth'] ) {
76
+ if ( isset( $attr['width'] ) ) {
77
+ $section_width = $attr['width'] . 'px';
78
+ }
79
+ }
80
+ }
81
+
82
+ $style['max-width'] = $section_width;
83
+
84
+ if ( 'color' === $bg_type ) {
85
+
86
+ $style['background-color'] = $attr['backgroundColor'];
87
+
88
+ } elseif ( 'image' === $bg_type ) {
89
+
90
+ $style['background-image'] = ( isset( $attr['backgroundImage'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
91
+ $style['background-position'] = $position;
92
+ $style['background-attachment'] = $attr['backgroundAttachment'];
93
+ $style['background-repeat'] = $attr['backgroundRepeat'];
94
+ $style['background-size'] = $attr['backgroundSize'];
95
+
96
+ } elseif ( 'gradient' === $bg_type ) {
97
+ $style['background-color'] = 'transparent';
98
+
99
+ if ( 'linear' === $attr['gradientType'] ) {
100
+
101
+ $style['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
102
+ } else {
103
+
104
+ $style['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
105
+ }
106
+ }
107
+
108
+ $inner_width = '100%';
109
+
110
+ if ( isset( $attr['contentWidth'] ) ) {
111
+ if ( 'boxed' != $attr['contentWidth'] ) {
112
+ if ( isset( $attr['innerWidth'] ) ) {
113
+ $inner_width = $attr['innerWidth'] . 'px';
114
+ }
115
+ }
116
+ }
117
+
118
+ $selectors = array(
119
+ '.uagb-section__wrap' => $style,
120
+ ' .uagb-section__video-wrap' => array(
121
+ 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
122
+ ),
123
+ ' .uagb-section__inner-wrap' => array(
124
+ 'max-width' => $inner_width,
125
+ ),
126
+ );
127
+
128
+ if ( 'video' == $bg_type ) {
129
+ $selectors[' > .uagb-section__overlay'] = array(
130
+ 'opacity' => 1,
131
+ 'background-color' => $attr['backgroundVideoColor'],
132
+ );
133
+ } else if ( 'image' == $bg_type ) {
134
+ $selectors[' > .uagb-section__overlay'] = array(
135
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
136
+ 'background-color' => $attr['backgroundImageColor'],
137
+ );
138
+ } else {
139
+ $selectors[' > .uagb-section__overlay'] = array(
140
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
141
+ );
142
+ }
143
+
144
+ // @codingStandardsIgnoreEnd
145
+
146
+ return UAGB_Helper::generate_css( $selectors, '#uagb-section-' . $id );
147
+ }
148
+
149
+ /**
150
+ * Get Advanced Heading Block CSS
151
+ *
152
+ * @since 0.0.1
153
+ * @param array $attr The block attributes.
154
+ * @param string $id The selector ID.
155
+ * @return array The Widget List.
156
+ */
157
+ public static function get_adv_heading_css( $attr, $id ) {
158
+
159
+ // @codingStandardsIgnoreStart
160
+
161
+ $defaults = UAGB_Helper::$block_list['uagb/advanced-heading']['attributes'];
162
+
163
+ $attr = array_merge( $defaults, (array) $attr );
164
+
165
+ $selectors = array(
166
+ ' .uagb-heading-text' => array(
167
+ 'text-align' => $attr['headingAlign'],
168
+ 'font-size' => $attr['headFontSize'] . "px",
169
+ 'color' => $attr['headingColor'],
170
+ 'margin-bottom' => $attr['headSpace'] . "px",
171
+ ),
172
+ ' .uagb-separator-wrap' => array(
173
+ 'text-align' => $attr['headingAlign'],
174
+ ),
175
+ ' .uagb-separator' => array(
176
+ 'border-top-width' => $attr['separatorHeight'] . "px",
177
+ 'width' => $attr['separatorWidth'] . "%",
178
+ 'border-color' => $attr['separatorColor'],
179
+ 'margin-bottom' => $attr['separatorSpace'] . "px",
180
+ ),
181
+ ' .uagb-desc-text' => array(
182
+ 'text-align' => $attr['headingAlign'],
183
+ 'font-size' => $attr['subHeadFontSize'] . "px",
184
+ 'color' => $attr['subHeadingColor'],
185
+ 'margin-bottom' => $attr['subHeadSpace'] . "px",
186
+ )
187
+
188
+ );
189
+
190
+ // @codingStandardsIgnoreEnd
191
+
192
+ return UAGB_Helper::generate_css( $selectors, '#uagb-adv-heading-' . $id );
193
+ }
194
+
195
+ /**
196
+ * Get Multi Buttons Block CSS
197
+ *
198
+ * @since 0.0.1
199
+ * @param array $attr The block attributes.
200
+ * @param string $id The selector ID.
201
+ * @return array The Widget List.
202
+ */
203
+ public static function get_buttons_css( $attr, $id ) {
204
+
205
+ // @codingStandardsIgnoreStart
206
+
207
+ $defaults = UAGB_Helper::$block_list['uagb/buttons']['attributes'];
208
+
209
+ $attr = array_merge( $defaults, (array) $attr );
210
+
211
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
212
+
213
+ $m_selectors = array();
214
+ $t_selectors = array();
215
+
216
+ $selectors = array(
217
+ ' .uagb-button__wrapper' => array(
218
+ 'margin-left' => ( $attr['gap']/2 ) . 'px',
219
+ 'margin-right' => ( $attr['gap']/2 ) . 'px'
220
+ ),
221
+ ' .uagb-button__wrapper:first-child' => array (
222
+ 'margin-left' => 0
223
+ ),
224
+ ' .uagb-button__wrapper:last-child' => array (
225
+ 'margin-right' => 0
226
+ ),
227
+ ' .uagb-buttons__wrap' => array (
228
+ 'justify-content' => $alignment,
229
+ '-webkit-box-pack'=> $alignment,
230
+ '-ms-flex-pack' => $alignment,
231
+ 'justify-content' => $alignment,
232
+ '-webkit-box-align' => $alignment,
233
+ '-ms-flex-align' => $alignment,
234
+ 'align-items' => $alignment,
235
+ )
236
+ );
237
+
238
+ foreach ( $attr['buttons'] as $key => $button ) {
239
+
240
+ $button['size'] = ( isset( $button['size'] ) ) ? $button['size'] : '';
241
+ $button['borderWidth'] = ( isset( $button['borderWidth'] ) ) ? $button['borderWidth'] : '';
242
+ $button['borderStyle'] = ( isset( $button['borderStyle'] ) ) ? $button['borderStyle'] : '';
243
+ $button['borderColor'] = ( isset( $button['borderColor'] ) ) ? $button['borderColor'] : '';
244
+ $button['borderRadius'] = ( isset( $button['borderRadius'] ) ) ? $button['borderRadius'] : '';
245
+ $button['background'] = ( isset( $button['background'] ) ) ? $button['background'] : '';
246
+ $button['hBackground'] = ( isset( $button['hBackground'] ) ) ? $button['hBackground'] : '';
247
+ $button['borderHColor'] = ( isset( $button['borderHColor'] ) ) ? $button['borderHColor'] : '';
248
+ $button['vPadding'] = ( isset( $button['vPadding'] ) ) ? $button['vPadding'] : '';
249
+ $button['hPadding'] = ( isset( $button['hPadding'] ) ) ? $button['hPadding'] : '';
250
+ $button['color'] = ( isset( $button['color'] ) ) ? $button['color'] : '';
251
+ $button['hColor'] = ( isset( $button['hColor'] ) ) ? $button['hColor'] : '';
252
+
253
+ if ( $attr['btn_count'] <= $key ) {
254
+ break;
255
+ }
256
+
257
+ $selectors[' .uagb-buttons-repeater-' . $key] = array (
258
+ 'font-size' => $button['size'] . 'px',
259
+ 'border' => $button['borderWidth'] . 'px ' . $button['borderStyle'] . ' ' . $button['borderColor'],
260
+ 'border-radius' => $button['borderRadius'] . 'px',
261
+ 'background' => $button['background']
262
+ );
263
+
264
+ $selectors[' .uagb-buttons-repeater-' . $key . ':hover'] = array (
265
+ 'background' => $button['hBackground'],
266
+ 'border' => $button['borderWidth'] . 'px ' . $button['borderStyle'] . ' ' . $button['borderHColor'],
267
+ );
268
+
269
+ $selectors[' .uagb-buttons-repeater-' . $key . ' a.uagb-button__link'] = array (
270
+ 'padding' => $button['vPadding'] . 'px ' . $button['hPadding'] . 'px',
271
+ 'color' => $button['color']
272
+ );
273
+
274
+ $selectors[' .uagb-buttons-repeater-' . $key . ':hover a.uagb-button__link'] = array (
275
+ 'color' => $button['hColor']
276
+ );
277
+ }
278
+
279
+ if ( "desktop" == $attr['stack'] ) {
280
+
281
+ $selectors[" .uagb-button__wrapper"] = array (
282
+ 'margin-left' => 0,
283
+ 'margin-right' => 0,
284
+ "margin-bottom" => $attr['gap'] . "px"
285
+ );
286
+
287
+ $selectors[" .uagb-buttons__wrap"] = array (
288
+ "flex-direction" => "column"
289
+ );
290
+
291
+ $selectors[" .uagb-button__wrapper:last-child"] = array (
292
+ "margin-bottom" => 0
293
+ );
294
+
295
+ } else if ( "tablet" == $attr['stack'] ) {
296
+
297
+ $t_selectors[" .uagb-button__wrapper"] = array (
298
+ 'margin-left' => 0,
299
+ 'margin-right' => 0,
300
+ "margin-bottom" => $attr['gap'] . "px"
301
+ );
302
+
303
+ $t_selectors[" .uagb-buttons__wrap"] = array (
304
+ "flex-direction" => "column"
305
+ );
306
+
307
+ $t_selectors[" .uagb-button__wrapper:last-child"] = array (
308
+ "margin-bottom" => 0
309
+ );
310
+
311
+ } else if ( "mobile" == $attr['stack'] ) {
312
+
313
+ $m_selectors[" .uagb-button__wrapper"] = array (
314
+ 'margin-left' => 0,
315
+ 'margin-right' => 0,
316
+ "margin-bottom" => $attr['gap'] . "px"
317
+ );
318
+
319
+ $m_selectors[" .uagb-buttons__wrap"] = array (
320
+ "flex-direction" => "column"
321
+ );
322
+
323
+ $m_selectors[" .uagb-button__wrapper:last-child"] = array (
324
+ "margin-bottom" => 0
325
+ );
326
+ }
327
+
328
+ // @codingStandardsIgnoreEnd
329
+
330
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-buttons-' . $id );
331
+
332
+ $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 976px)', $t_selectors, '#uagb-buttons-' . $id );
333
+
334
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-buttons-' . $id );
335
+
336
+ return $desktop . $tablet . $mobile;
337
+ }
338
+
339
+
340
+ /**
341
+ * Get Info Box CSS
342
+ *
343
+ * @since 0.0.1
344
+ * @param array $attr The block attributes.
345
+ * @param string $id The selector ID.
346
+ * @return array The Widget List.
347
+ */
348
+ public static function get_info_box_css( $attr, $id ) {
349
+
350
+ // @codingStandardsIgnoreStart.
351
+ $defaults = UAGB_Helper::$block_list['uagb/info-box']['attributes'];
352
+
353
+ $attr = (object) array_merge( $defaults, (array) $attr );
354
+
355
+ $selectors = array(
356
+ ' .uagb-ifb-icon' => array(
357
+ 'height' => $attr->iconSize. "px",
358
+ 'width' => $attr->iconSize. "px",
359
+ 'line-height' => $attr->iconSize. "px",
360
+ ),
361
+ ' .uagb-ifb-icon > span' => array(
362
+ 'font-size' => $attr->iconSize. "px",
363
+ 'height' => $attr->iconSize. "px",
364
+ 'width' => $attr->iconSize. "px",
365
+ 'line-height' => $attr->iconSize. "px",
366
+ 'color' => $attr->iconColor,
367
+ ),
368
+ ' .uagb-ifb-icon:hover > span' => array(
369
+ 'color' => $attr->iconHover ,
370
+ ),
371
+ ' .uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap' => array(
372
+ 'margin-left' => $attr->iconLeftMargin.'px',
373
+ 'margin-right' => $attr->iconRightMargin.'px',
374
+ 'margin-top' => $attr->iconTopMargin.'px',
375
+ 'margin-bottom' => $attr->iconBottomMargin.'px',
376
+ ),
377
+
378
+ // Image.
379
+ ' .uagb-ifb-image-content > img' => array(
380
+ 'width'=> $attr->imageWidth.'px',
381
+ 'max-width'=> $attr->imageWidth.'px',
382
+ ),
383
+
384
+ ' .uagb-infobox .uagb-ifb-image-content img' => array(
385
+ 'border-radius' => $attr->iconimgBorderRadius.'px',
386
+ ),
387
+
388
+
389
+ // CTA style .
390
+ ' .uagb-infobox-cta-link' => array(
391
+ 'font-size' => $attr->ctaFontSize.'px',
392
+ 'color' => $attr->ctaLinkColor,
393
+ ),
394
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link' => array(
395
+ 'font-size' => $attr->ctaFontSize.'px',
396
+ 'color' => $attr->ctaBtnLinkColor,
397
+ 'background-color' => $attr->ctaBgColor,
398
+ 'border-style' => $attr->ctaBorderStyle,
399
+ 'border-color' => $attr->ctaBorderColor,
400
+ 'border-radius' => $attr->ctaBorderRadius . "px",
401
+ 'border-width' => $attr->ctaBorderWidth . "px",
402
+ 'padding-top' => $attr->ctaBtnVertPadding . "px",
403
+ 'padding-bottom' => $attr->ctaBtnVertPadding . "px",
404
+ 'padding-left' => $attr->ctaBtnHrPadding . "px",
405
+ 'padding-right' => $attr->ctaBtnHrPadding . "px",
406
+
407
+ ),
408
+
409
+ // Prefix Style.
410
+ ' .uagb-ifb-title-prefix' => array(
411
+ 'font-size' => $attr->prefixFontSize.'px',
412
+ 'color' => $attr->prefixColor,
413
+ 'margin-bottom' => $attr->prefixSpace.'px',
414
+ ),
415
+
416
+ // Title Style.
417
+ ' .uagb-ifb-title' => array(
418
+ 'font-size' => $attr->headFontSize.'px',
419
+ 'color' => $attr->headingColor,
420
+ 'margin-bottom' => $attr->headSpace.'px',
421
+ ),
422
+
423
+ // Description Style.
424
+ ' .uagb-ifb-desc' => array(
425
+ 'font-size' => $attr->subHeadFontSize.'px',
426
+ 'color' => $attr->subHeadingColor,
427
+ 'margin-bottom' => $attr->subHeadSpace.'px',
428
+ ),
429
+
430
+ // Seperator.
431
+ ' .uagb-ifb-separator' => array(
432
+ 'width' => $attr->seperatorWidth.'%',
433
+ 'border-top-width' => $attr->seperatorThickness.'px',
434
+ 'border-top-color' => $attr->seperatorColor,
435
+ 'border-top-style' => $attr->seperatorStyle,
436
+ ),
437
+ ' .uagb-ifb-separator-parent' => array(
438
+ 'margin-bottom' => $attr->seperatorSpace.'px',
439
+ ),
440
+
441
+ );
442
+
443
+ if( 'above-title' === $attr->iconimgPosition || 'below-title' === $attr->iconimgPosition ){
444
+ $selectors[' .uagb-infobox__content-wrap'] = array(
445
+ 'text-align' => $attr->headingAlign,
446
+ );
447
+ }
448
+
449
+ // @codingStandardsIgnoreEnd.
450
+ return UAGB_Helper::generate_css( $selectors, '#uagb-infobox-' . $id );
451
+ }
452
+
453
+ /**
454
+ * Get Testimonial CSS
455
+ *
456
+ * @since 0.0.1
457
+ * @param array $attr The block attributes.
458
+ * @param string $id The selector ID.
459
+ * @return array The Widget List.
460
+ */
461
+ public static function get_testimonial_css( $attr, $id ) {
462
+
463
+ // @codingStandardsIgnoreStart.
464
+
465
+ $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
466
+
467
+ $attr = (object) array_merge( $defaults, (array) $attr );
468
+
469
+ $position = str_replace( '-', ' ', $attr->backgroundPosition );
470
+ $selectors = array(
471
+ ' .uagb-testimonial__wrap' => array(
472
+ 'padding-left' => ( ($attr->columnGap) /2 ) . 'px',
473
+ 'padding-right' => ( ($attr->columnGap) /2 ) . 'px',
474
+ 'margin-bottom' => $attr->rowGap . 'px',
475
+ ),
476
+ ' .uagb-testimonial__wrap .uagb-tm__image-content' => array(
477
+ 'padding-left' => $attr->imgHrPadding . 'px',
478
+ 'padding-right' => $attr->imgHrPadding . 'px',
479
+ 'padding-top' => $attr->imgVrPadding . 'px',
480
+ 'padding-bottom' => $attr->imgVrPadding . 'px',
481
+ ),
482
+ ' .uagb-tm__image img' => array(
483
+ 'width' => $attr->imageWidth . 'px',
484
+ 'max-width' => $attr->imageWidth . 'px',
485
+ ),
486
+ ' .uagb-tm__content' => array(
487
+ 'text-align' => $attr->headingAlign,
488
+ 'padding' => $attr->contentPadding . 'px',
489
+ ),
490
+ ' .uagb-tm__author-name' => array(
491
+ 'color' => $attr->authorColor,
492
+ 'font-size' => $attr->nameFontSize . 'px',
493
+ 'margin-bottom' => $attr->nameSpace . 'px',
494
+ ),
495
+ ' .uagb-tm__company' => array(
496
+ 'color' => $attr->companyColor,
497
+ 'font-size' => $attr->companyFontSize . 'px',
498
+ ),
499
+ ' .uagb-tm__desc' => array(
500
+ 'color' => $attr->descColor,
501
+ 'font-size' => $attr->descFontSize . 'px',
502
+ 'margin-bottom' => $attr->descSpace . 'px',
503
+ ),
504
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-color .uagb-tm__content' => array(
505
+ 'background-color' => $attr->backgroundColor,
506
+ ),
507
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__content' => array(
508
+ 'background-image' => ( isset( $attr->backgroundImage['url'] ) ) ? 'url("'.$attr->backgroundImage['url'].'")' : null,
509
+ 'background-position'=> $position,
510
+ 'background-repeat'=> $attr->backgroundRepeat,
511
+ 'background-size'=> $attr->backgroundSize,
512
+ ),
513
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__overlay' => array(
514
+ 'background-color' => $attr->backgroundImageColor,
515
+ 'opacity' => ( isset( $attr->backgroundOpacity ) && '' != $attr->backgroundOpacity ) ? ( ( 100 - $attr->backgroundOpacity ) / 100 ) : '0.5',
516
+ ),
517
+ ' .uagb-testimonial__wrap .uagb-tm__content' => array(
518
+ 'border-color' => $attr->borderColor,
519
+ 'border-style' => $attr->borderStyle,
520
+ 'border-width' => $attr->borderWidth . 'px',
521
+ 'border-radius' => $attr->borderRadius . 'px',
522
+ ),
523
+ );
524
+
525
+ $r_selectors = array(
526
+ ' .uagb-tm__content' => array(
527
+ 'text-align' => 'center',
528
+ ),
529
+ );
530
+
531
+ // @codingStandardsIgnoreEnd.
532
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-testimonial-' . $id );
533
+
534
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $r_selectors, '#uagb-testimonial-' . $id );
535
+
536
+ return $desktop . $mobile;
537
+
538
+ }
539
+
540
+ /**
541
+ * Get Team Block CSS
542
+ *
543
+ * @since 0.0.1
544
+ * @param array $attr The block attributes.
545
+ * @param string $id The selector ID.
546
+ * @return array The Widget List.
547
+ */
548
+ public static function get_team_css( $attr, $id ) {
549
+
550
+ // @codingStandardsIgnoreStart
551
+
552
+ $defaults = UAGB_Helper::$block_list['uagb/team']['attributes'];
553
+
554
+ $attr = array_merge( $defaults, (array) $attr );
555
+
556
+ $selectors = array(
557
+ " p.uagb-team__desc" => array(
558
+ "font-size" => $attr['descFontSize'] . "px",
559
+ "color" => $attr['descColor'],
560
+ "margin-bottom" => $attr['descSpace'] . "px",
561
+ ),
562
+ " .uagb-team__prefix" => array(
563
+ "font-size" => $attr['prefixFontSize'] . "px",
564
+ "color" => $attr['prefixColor'],
565
+ ),
566
+ " .uagb-team__desc-wrap" => array(
567
+ "margin-top" => $attr['prefixSpace'] . "px",
568
+ ),
569
+ " .uagb-team__social-icon a" => array(
570
+ "color" => $attr['socialColor'],
571
+ "font-size" => $attr['socialFontSize'] . "px",
572
+ "width" => $attr['socialFontSize'] . "px",
573
+ "height" => $attr['socialFontSize'] . "px",
574
+ ),
575
+ " .uagb-team__social-icon:hover a" => array(
576
+ "color" => $attr['socialHoverColor'],
577
+ ),
578
+ ".uagb-team__image-position-left .uagb-team__social-icon" => array(
579
+ "margin-right" => $attr['socialSpace'] . "px",
580
+ "margin-left" => "0",
581
+ ),
582
+ ".uagb-team__image-position-right .uagb-team__social-icon" => array(
583
+ "margin-left" => $attr['socialSpace'] . "px",
584
+ "margin-right" => "0",
585
+ ),
586
+ ".uagb-team__image-position-above.uagb-team__align-center .uagb-team__social-icon" => array(
587
+ "margin-right" => ( $attr['socialSpace'] / 2 ) . "px",
588
+ "margin-left" => ( $attr['socialSpace'] / 2 ) . "px",
589
+ ),
590
+ ".uagb-team__image-position-above.uagb-team__align-left .uagb-team__social-icon" => array(
591
+ "margin-right" => $attr['socialSpace'] . "px",
592
+ "margin-left" => "0",
593
+ ),
594
+ ".uagb-team__image-position-above.uagb-team__align-right .uagb-team__social-icon" => array(
595
+ "margin-left" => $attr['socialSpace'] . "px",
596
+ "margin-right" => "0",
597
+ ),
598
+ " .uagb-team__image-wrap" => array(
599
+ "margin-top" => $attr['imgTopMargin'] . "px",
600
+ "margin-bottom" => $attr['imgBottomMargin'] . "px",
601
+ "margin-left" => $attr['imgLeftMargin'] . "px",
602
+ "margin-right" => $attr['imgRightMargin'] . "px",
603
+ "width" => $attr['imgWidth'] . "px"
604
+ ),
605
+ );
606
+
607
+ if( 'above' == $attr['imgPosition'] ) {
608
+ if ( 'center' == $attr['align'] ) {
609
+ $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
610
+ $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
611
+ } else if ( 'left' == $attr['align'] ) {
612
+ $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
613
+ } else if ( 'right' == $attr['align'] ) {
614
+ $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
615
+ }
616
+ }
617
+
618
+ if ( "above" != $attr['imgPosition'] ) {
619
+ if ( "middle" == $attr['imgAlign'] ) {
620
+ $selectors[" .uagb-team__image-wrap"]["align-self"] = "center";
621
+ }
622
+ }
623
+
624
+ $selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
625
+ "font-size" => $attr['titleFontSize'] . "px",
626
+ "color" => $attr['titleColor'],
627
+ "margin-bottom" => $attr['titleSpace'] . "px",
628
+ );
629
+
630
+ // @codingStandardsIgnoreEnd
631
+
632
+ return UAGB_Helper::generate_css( $selectors, '#uagb-team-' . $id );
633
+ }
634
+
635
+ /**
636
+ * Get Social Share Block CSS
637
+ *
638
+ * @since 0.0.1
639
+ * @param array $attr The block attributes.
640
+ * @param string $id The selector ID.
641
+ * @return array The Widget List.
642
+ */
643
+ public static function get_social_share_css( $attr, $id ) {
644
+
645
+ // @codingStandardsIgnoreStart
646
+
647
+ $defaults = UAGB_Helper::$block_list['uagb/social-share']['attributes'];
648
+
649
+ $attr = array_merge( $defaults, (array) $attr );
650
+
651
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
652
+
653
+ $m_selectors = array();
654
+ $t_selectors = array();
655
+
656
+ $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper"] = array(
657
+ "margin-left" => 0,
658
+ "margin-right" => 0,
659
+ "margin-bottom" => $attr['gap'] . "px"
660
+ );
661
+
662
+ $selectors[".uagb-social-share__layout-vertical .uagb-social-share__wrap"] = array(
663
+ "flex-direction" => "column"
664
+ );
665
+
666
+ $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper:last-child"] = array(
667
+ "margin-bottom" => 0
668
+ );
669
+
670
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
671
+ "margin-left" => ( $attr['gap']/2 ) . "px",
672
+ "margin-right" => ( $attr['gap']/2 ) . "px"
673
+ );
674
+
675
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:first-child"] = array(
676
+ "margin-left" => 0
677
+ );
678
+
679
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:last-child"] = array(
680
+ "margin-right" => 0
681
+ );
682
+
683
+ $selectors[" .uagb-ss__wrapper"] = array(
684
+ "width" => $attr['size'] . "px"
685
+ );
686
+
687
+ $selectors[" .uagb-ss__source-image"] = array(
688
+ "width" => $attr['size'] . "px"
689
+ );
690
+
691
+ $selectors[" .uagb-ss__source-icon"] = array(
692
+ "width" => $attr['size'] . "px",
693
+ "height" => $attr['size'] . "px",
694
+ "font-size" => $attr['size'] . "px"
695
+ );
696
+
697
+ $selectors[" .uagb-ss__source-icon:before"] = array(
698
+ "width" => $attr['size'] . "px",
699
+ "height" => $attr['size'] . "px",
700
+ "font-size" => $attr['size'] . "px"
701
+ );
702
+
703
+ foreach ( $attr['socials'] as $key => $social ) {
704
+
705
+ $social['icon_color'] = ( isset( $social['icon_color'] ) ) ? $social['icon_color'] : '';
706
+ $social['icon_hover_color'] = ( isset( $social['icon_hover_color'] ) ) ? $social['icon_hover_color'] : '';
707
+
708
+ if ( $attr['social_count'] <= $key ) {
709
+ break;
710
+ }
711
+
712
+ $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
713
+ "color" => $social['icon_color']
714
+ );
715
+
716
+ $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link"] = array (
717
+ "color" => $social['icon_hover_color']
718
+ );
719
+ }
720
+
721
+ $selectors[" .uagb-social-share__wrap"] = array(
722
+ "justify-content" => $alignment,
723
+ "-webkit-box-pack" => $alignment,
724
+ "-ms-flex-pack" => $alignment,
725
+ "justify-content" => $alignment,
726
+ );
727
+
728
+ if ( 'horizontal' == $attr['social_layout'] ) {
729
+
730
+ if ( "desktop" == $attr['stack'] ) {
731
+
732
+ $selectors[" .uagb-ss__wrapper"] = array (
733
+ "margin-left" => 0,
734
+ "margin-right" => 0,
735
+ "margin-bottom" => $attr['gap'] . "px"
736
+ );
737
+
738
+ $selectors[" .uagb-social-share__wrap"] = array (
739
+ "flex-direction" => "column"
740
+ );
741
+
742
+ $selectors[" .uagb-ss__wrapper:last-child"] = array (
743
+ "margin-bottom" => 0
744
+ );
745
+
746
+ } else if ( "tablet" == $attr['stack'] ) {
747
+
748
+ $t_selectors[" .uagb-ss__wrapper"] = array (
749
+ "margin-left" => 0,
750
+ "margin-right" => 0,
751
+ "margin-bottom" => $attr['gap'] . "px"
752
+ );
753
+
754
+ $t_selectors[" .uagb-social-share__wrap"] = array (
755
+ "flex-direction" => "column"
756
+ );
757
+
758
+ $t_selectors[" .uagb-ss__wrapper:last-child"] = array (
759
+ "margin-bottom" => 0
760
+ );
761
+
762
+ } else if ( "mobile" == $attr['stack'] ) {
763
+
764
+ $m_selectors[" .uagb-ss__wrapper"] = array (
765
+ "margin-left" => 0,
766
+ "margin-right" => 0,
767
+ "margin-bottom" => $attr['gap'] . "px"
768
+ );
769
+
770
+ $m_selectors[" .uagb-social-share__wrap"] = array (
771
+ "flex-direction" => "column"
772
+ );
773
+
774
+ $m_selectors[" .uagb-ss__wrapper:last-child"] = array (
775
+ "margin-bottom" => 0
776
+ );
777
+ }
778
+ }
779
+
780
+ // @codingStandardsIgnoreEnd
781
+
782
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-social-share-' . $id );
783
+
784
+ $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 976px)', $t_selectors, '#uagb-social-share-' . $id );
785
+
786
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-social-share-' . $id );
787
+
788
+ return $desktop . $tablet . $mobile;
789
+ }
790
+
791
+ /**
792
+ * Get Icon List Block CSS
793
+ *
794
+ * @since 0.0.1
795
+ * @param array $attr The block attributes.
796
+ * @param string $id The selector ID.
797
+ * @return array The Widget List.
798
+ */
799
+ public static function get_icon_list_css( $attr, $id ) {
800
+
801
+ // @codingStandardsIgnoreStart
802
+
803
+ $defaults = UAGB_Helper::$block_list['uagb/icon-list']['attributes'];
804
+
805
+ $attr = array_merge( $defaults, (array) $attr );
806
+
807
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
808
+
809
+ $m_selectors = array();
810
+ $t_selectors = array();
811
+
812
+ $selectors[".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper"] = array(
813
+ "margin-left" => 0,
814
+ "margin-right" => 0,
815
+ "margin-bottom" => $attr['gap'] . "px"
816
+ );
817
+
818
+ $selectors[".uagb-icon-list__layout-vertical .uagb-icon-list__wrap"] = array(
819
+ "flex-direction" => "column"
820
+ );
821
+
822
+ $selectors[".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper:last-child"] = array(
823
+ "margin-bottom" => 0
824
+ );
825
+
826
+ $selectors[".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper"] = array(
827
+ "margin-left" => ( $attr['gap']/2 ) . "px",
828
+ "margin-right" => ( $attr['gap']/2 ) . "px"
829
+ );
830
+
831
+ $selectors[".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:first-child"] = array(
832
+ "margin-left" => 0
833
+ );
834
+
835
+ $selectors[".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:last-child"] = array(
836
+ "margin-right" => 0
837
+ );
838
+
839
+ $selectors[" .uagb-icon-list__source-image"] = array(
840
+ "width" => $attr['size'] . "px"
841
+ );
842
+
843
+ $selectors[" .uagb-icon-list__source-icon"] = array(
844
+ "width" => $attr['size'] . "px",
845
+ "height" => $attr['size'] . "px",
846
+ "font-size" => $attr['size'] . "px"
847
+ );
848
+
849
+ $selectors[" .uagb-icon-list__source-icon:before"] = array(
850
+ "width" => $attr['size'] . "px",
851
+ "height" => $attr['size'] . "px",
852
+ "font-size" => $attr['size'] . "px"
853
+ );
854
+
855
+ $selectors[" .uagb-icon-list__label-wrap"] = array(
856
+ "text-align" => $attr['align']
857
+ );
858
+
859
+ if ( 'right' == $attr['align'] ) {
860
+ $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
861
+ "margin-left" => $attr['inner_gap'] . "px"
862
+ );
863
+ $selectors[" .uagb-icon-list__content-wrap"] = array(
864
+ "flex-direction" => "row-reverse"
865
+ );
866
+ } else {
867
+ $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
868
+ "margin-right" => $attr['inner_gap'] . "px"
869
+ );
870
+ }
871
+
872
+ foreach ( $attr['icons'] as $key => $icon ) {
873
+
874
+ $icon['icon_color'] = ( isset( $icon['icon_color'] ) ) ? $icon['icon_color'] : '';
875
+ $icon['icon_hover_color'] = ( isset( $icon['icon_hover_color'] ) ) ? $icon['icon_hover_color'] : '';
876
+ $icon['label_color'] = ( isset( $icon['label_color'] ) ) ? $icon['label_color'] : '';
877
+ $icon['label_hover_color'] = ( isset( $icon['label_hover_color'] ) ) ? $icon['label_hover_color'] : '';
878
+
879
+ if ( $attr['icon_count'] <= $key ) {
880
+ break;
881
+ }
882
+
883
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon"] = array (
884
+ "color" => $icon['icon_color']
885
+ );
886
+
887
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon"] = array (
888
+ "color" => $icon['icon_hover_color']
889
+ );
890
+
891
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
892
+ "color" => $icon['label_color'],
893
+ "font-size" => $attr['fontSize'] . 'px'
894
+ );
895
+
896
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__label"] = array (
897
+ "color" => $icon['label_hover_color']
898
+ );
899
+ }
900
+
901
+ $selectors[" .uagb-icon-list__wrap"] = array(
902
+ "justify-content" => $alignment,
903
+ "-webkit-box-pack" => $alignment,
904
+ "-ms-flex-pack" => $alignment,
905
+ "justify-content" => $alignment,
906
+ "-webkit-box-align" => $alignment,
907
+ "-ms-flex-align" => $alignment,
908
+ "align-items" => $alignment,
909
+ );
910
+
911
+ if ( 'horizontal' == $attr['icon_layout'] ) {
912
+
913
+ if ( "tablet" == $attr['stack'] ) {
914
+
915
+ $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
916
+ "margin-left" => 0,
917
+ "margin-right" => 0,
918
+ "margin-bottom" => $attr['gap'] . "px"
919
+ );
920
+
921
+ $t_selectors[" .uagb-icon-list__wrap"] = array (
922
+ "flex-direction" => "column"
923
+ );
924
+
925
+ $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
926
+ "margin-bottom" => 0
927
+ );
928
+
929
+ } else if ( "mobile" == $attr['stack'] ) {
930
+
931
+ $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
932
+ "margin-left" => 0,
933
+ "margin-right" => 0,
934
+ "margin-bottom" => $attr['gap'] . "px"
935
+ );
936
+
937
+ $m_selectors[" .uagb-icon-list__wrap"] = array (
938
+ "flex-direction" => "column"
939
+ );
940
+
941
+ $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
942
+ "margin-bottom" => 0
943
+ );
944
+ }
945
+ }
946
+
947
+ // @codingStandardsIgnoreEnd
948
+
949
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-icon-list-' . $id );
950
+
951
+ $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 976px)', $t_selectors, '#uagb-icon-list-' . $id );
952
+
953
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-icon-list-' . $id );
954
+
955
+ return $desktop . $tablet . $mobile;
956
+ }
957
+
958
+ /**
959
+ * Get Content Timeline Block CSS
960
+ *
961
+ * @since 0.0.1
962
+ * @param array $attr The block attributes.
963
+ * @param string $id The selector ID.
964
+ * @return array The Widget List.
965
+ */
966
+ public static function get_content_timeline_css( $attr, $id ) {
967
+
968
+ // @codingStandardsIgnoreStart
969
+
970
+ $defaults = UAGB_Helper::$block_list['uagb/content-timeline']['attributes'];
971
+
972
+ $attr = array_merge( $defaults, (array) $attr );
973
+
974
+ $t_selectors = array();
975
+
976
+ $selectors[" .uagb-timeline__heading"] = array(
977
+ "text-align" => $attr['align'],
978
+ "color" => $attr['headingColor'],
979
+ "font-size" => $attr['headFontSize'] . "px"
980
+ );
981
+
982
+ $selectors[" .uagb-timeline__heading-text"] = array(
983
+ "margin-bottom" => $attr['headSpace'] . "px"
984
+ );
985
+
986
+ $selectors[" .uagb-timeline-desc-content"] = array(
987
+ "text-align" => $attr['align'],
988
+ "color" => $attr['subHeadingColor'],
989
+ "font-size" => $attr['subHeadFontSize'] . "px",
990
+ );
991
+ $selectors[' .uagb-timeline__events-new'] = array(
992
+ 'text-align' => $attr['align']
993
+ );
994
+ $selectors['.uagb-timeline__date-inner'] = array(
995
+ 'text-align' => $attr['align']
996
+ );
997
+
998
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after'] = array(
999
+ 'border-left-color' => $attr['backgroundColor']
1000
+ );
1001
+
1002
+ $selectors[' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after'] = array(
1003
+ 'border-left-color' => $attr['backgroundColor']
1004
+ );
1005
+
1006
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after'] = array(
1007
+ 'border-right-color' => $attr['backgroundColor']
1008
+ );
1009
+
1010
+ $selectors[' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after'] = array(
1011
+ 'border-right-color' => $attr['backgroundColor']
1012
+ );
1013
+
1014
+ $selectors[' .uagb-timeline__line__inner'] = array(
1015
+ 'background-color' => $attr['separatorFillColor']
1016
+ );
1017
+
1018
+ $selectors[' .uagb-timeline__line'] = array(
1019
+ 'background-color' => $attr['separatorColor'],
1020
+ 'width' => $attr['separatorwidth'].'px'
1021
+ );
1022
+
1023
+ $selectors[' .uagb-timeline__right-block .uagb-timeline__line'] = array(
1024
+ 'right' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1025
+ );
1026
+
1027
+ $selectors[' .uagb-timeline__left-block .uagb-timeline__line'] = array(
1028
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1029
+ );
1030
+
1031
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__line'] = array(
1032
+ 'right' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
1033
+ );
1034
+
1035
+ $selectors[' .uagb-timeline__marker'] = array(
1036
+ 'background-color' => $attr['separatorBg'],
1037
+ 'min-height'=> $attr['connectorBgsize'].'px',
1038
+ 'min-width' => $attr['connectorBgsize'].'px',
1039
+ 'line-height' => $attr['connectorBgsize'].'px',
1040
+ 'border'=> $attr['borderwidth'].'px solid'.$attr['separatorBorder'],
1041
+ );
1042
+
1043
+ $selectors[' .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow'] = array(
1044
+ 'height' => $attr['connectorBgsize'].'px',
1045
+ );
1046
+
1047
+ $selectors[' .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow'] = array(
1048
+ 'height' => $attr['connectorBgsize'].'px',
1049
+ );
1050
+
1051
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow'] = array(
1052
+ 'height' => $attr['connectorBgsize'].'px',
1053
+ );
1054
+
1055
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow'] = array(
1056
+ 'height' => $attr['connectorBgsize'].'px',
1057
+ );
1058
+
1059
+ $selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
1060
+ 'margin-left' => $attr['horizontalSpace'].'px',
1061
+ 'margin-right'=> $attr['horizontalSpace'].'px',
1062
+ );
1063
+
1064
+ $selectors[' .uagb-timeline__field:not(:last-child)'] = array(
1065
+ 'margin-bottom' => $attr['verticalSpace'].'px',
1066
+ );
1067
+
1068
+ $selectors[' .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
1069
+ 'margin-bottom' => $attr['dateBottomspace'].'px',
1070
+ 'color'=> $attr['dateColor'],
1071
+ 'font-size' => $attr['dateFontsize'].'px',
1072
+ 'text-align'=> $attr['align'],
1073
+ );
1074
+
1075
+ $selectors[' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left'] = array(
1076
+ 'margin-left' => $attr['horizontalSpace'].'px',
1077
+ );
1078
+
1079
+ $selectors[' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right'] = array(
1080
+ 'margin-right' => $attr['horizontalSpace'].'px',
1081
+ );
1082
+
1083
+ $selectors[' .uagb-timeline__date-new'] = array(
1084
+ 'color'=> $attr['dateColor'],
1085
+ 'font-size' => $attr['dateFontsize'].'px',
1086
+ );
1087
+
1088
+ $selectors[' .uagb-timeline__events-inner-new'] = array(
1089
+ 'background-color' => $attr['backgroundColor'],
1090
+ 'border-radius' => $attr['borderRadius'].'px',
1091
+ 'padding'=> $attr['bgPadding'].'px',
1092
+ );
1093
+
1094
+ $selectors[' .uagb-timeline__main .uagb-timeline__icon-new'] = array(
1095
+ 'color'=> $attr['iconColor'],
1096
+ 'font-size' => $attr['iconSize'].'px',
1097
+ );
1098
+
1099
+ $selectors[' .uagb-timeline__field.uagb-timeline__animate-border:hover .uagb-timeline__marker'] = array(
1100
+ 'background' => $attr['iconBgHover'],
1101
+ 'border-color'=> $attr['borderHover'],
1102
+ );
1103
+
1104
+ $selectors[' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon'] = array(
1105
+ 'background' => $attr['iconBgFocus'],
1106
+ 'border-color'=> $attr['borderFocus'],
1107
+ );
1108
+
1109
+
1110
+ $selectors[' .uagb-timeline__field.uagb-timeline__animate-border:hover .uagb-timeline__icon-new'] = array(
1111
+ 'color'=> $attr['iconHover'],
1112
+ );
1113
+
1114
+ $selectors[' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new'] = array(
1115
+ 'color'=> $attr['iconFocus'],
1116
+ );
1117
+
1118
+ $t_selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
1119
+ 'margin-left' => 0,
1120
+ 'margin-right' => 0,
1121
+ );
1122
+
1123
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading"] = array(
1124
+ "text-align" => 'left',
1125
+ );
1126
+ $t_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content"] = array(
1127
+ "text-align" => 'left',
1128
+ );
1129
+
1130
+ $t_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new'] = array(
1131
+ 'text-align' => 'left'
1132
+ );
1133
+ $t_selectors['.uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner'] = array(
1134
+ 'text-align' => 'left'
1135
+ );
1136
+ $t_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
1137
+ 'text-align'=> 'left',
1138
+ );
1139
+
1140
+ $m_selectors[' .uagb-timeline__center-block .uagb-timeline__marker'] = array(
1141
+ 'margin-left' => 0,
1142
+ 'margin-right' => 0,
1143
+ );
1144
+
1145
+ $m_selectors[' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left'] = array(
1146
+ 'margin-left' => $attr['horizontalSpace'].'px',
1147
+ );
1148
+ $m_selectors[' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right'] = array(
1149
+ 'margin-left' => $attr['horizontalSpace'].'px',
1150
+ );
1151
+
1152
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading"] = array(
1153
+ "text-align" => 'left',
1154
+ );
1155
+ $m_selectors[" .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content"] = array(
1156
+ "text-align" => 'left',
1157
+ );
1158
+
1159
+ $m_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new'] = array(
1160
+ 'text-align' => 'left'
1161
+ );
1162
+ $m_selectors['.uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner'] = array(
1163
+ 'text-align' => 'left'
1164
+ );
1165
+ $m_selectors[' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner'] = array(
1166
+ 'text-align'=> 'left',
1167
+ );
1168
+ // @codingStandardsIgnoreEnd
1169
+
1170
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
1171
+ $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 1024px)', $t_selectors, '#uagb-ctm-' . $id );
1172
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-ctm-' . $id );
1173
+
1174
+ return $desktop . $tablet . $mobile;
1175
+ }
1176
+
1177
+ /**
1178
+ * Get Restaurant Menu Block CSS
1179
+ *
1180
+ * @since 1.0.2
1181
+ * @param array $attr The block attributes.
1182
+ * @param string $id The selector ID.
1183
+ * @return array The Widget List.
1184
+ */
1185
+ public static function get_restaurant_menu_css( $attr, $id ) {
1186
+
1187
+ // @codingStandardsIgnoreStart
1188
+
1189
+ $defaults = UAGB_Helper::$block_list['uagb/restaurant-menu']['attributes'];
1190
+
1191
+ $attr = array_merge( $defaults, (array) $attr );
1192
+
1193
+ $m_selectors = array();
1194
+ $t_selectors = array();
1195
+
1196
+ $selectors[" .uagb-rest_menu__wrap"] = array(
1197
+ 'padding-left' => ($attr['columnGap']/2) . "px",
1198
+ 'padding-right' => ($attr['columnGap']/2). "px",
1199
+ 'margin-bottom' => $attr['rowGap'] . "px"
1200
+ );
1201
+
1202
+ $selectors[' .uagb-rest_menu__wrap .uagb-rm__image-content'] = array(
1203
+ 'padding-left' => $attr['imgHrPadding'] .'px',
1204
+ 'padding-right' => $attr['imgHrPadding'] .'px',
1205
+ 'padding-top' => $attr['imgVrPadding'] .'px',
1206
+ 'padding-bottom' => $attr['imgVrPadding'] .'px',
1207
+ );
1208
+
1209
+ $selectors[' .uagb-rm__image img'] = array(
1210
+ 'width'=> $attr['imageWidth'] .'px',
1211
+ 'max-width'=> $attr['imageWidth'] .'px',
1212
+ );
1213
+
1214
+ $selectors[' .uagb-rm__content'] = array(
1215
+ 'text-align' => $attr['headingAlign'] ,
1216
+ 'padding-left' => $attr['contentHrPadding'] . 'px',
1217
+ 'padding-right' => $attr['contentHrPadding'] . 'px',
1218
+ 'padding-top' => $attr['contentVrPadding'] . 'px',
1219
+ 'padding-top' => $attr['contentVrPadding'] . 'px',
1220
+ );
1221
+
1222
+ $selectors[' .uagb-rm__title'] = array(
1223
+ 'font-size' => $attr['titleFontSize'] .'px',
1224
+ 'color'=> $attr['titleColor'] ,
1225
+ 'margin-bottom'=> $attr['titleSpace'] .'px',
1226
+ );
1227
+
1228
+ $selectors[' .uagb-rm__price'] = array(
1229
+ 'font-size' => $attr['priceFontSize'].'px',
1230
+ 'color'=> $attr['priceColor'],
1231
+ );
1232
+
1233
+ $selectors[' .uagb-rm__desc'] = array(
1234
+ 'font-size' => $attr['descFontSize'].'px',
1235
+ 'color'=> $attr['descColor'],
1236
+ 'margin-bottom'=> $attr['descSpace'].'px',
1237
+ );
1238
+
1239
+ if ( $attr['seperatorStyle'] != "none" ) {
1240
+ $selectors[' .uagb-rest_menu__wrap .uagb-rm__separator'] = array(
1241
+ 'border-top-color'=> $attr['seperatorColor'],
1242
+ 'border-top-style'=> $attr['seperatorStyle'],
1243
+ 'border-top-width'=> $attr['seperatorThickness'] . "px",
1244
+ 'width'=> $attr['seperatorWidth'] . "%",
1245
+ );
1246
+ }
1247
+
1248
+ $r_selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)'] = array(
1249
+ 'margin-left'=> '0%',
1250
+ 'clear'=> 'left',
1251
+ );
1252
+
1253
+ $t_selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['tcolumns'].'n+1)'] = array(
1254
+ 'margin-left'=> '0%',
1255
+ 'clear'=> 'left',
1256
+ );
1257
+
1258
+ $m_selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['mcolumns'].'n+1)'] = array(
1259
+ 'margin-left'=> '0%',
1260
+ 'clear'=> 'left',
1261
+ );
1262
+
1263
+ // @codingStandardsIgnoreEnd
1264
+
1265
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-rm-' . $id );
1266
+ $r_desktop = UAGB_Helper::generate_responsive_css( '@media only screen and (min-width: 1024px)', $r_selectors, '#uagb-rm-' . $id );
1267
+ $tablet = UAGB_Helper::generate_responsive_css( '@media only screen and (min-width: 768px) and (max-width: 1023px)', $t_selectors, '#uagb-rm-' . $id );
1268
+ $mobile = UAGB_Helper::generate_responsive_css( '@media only screen and (max-width: 767px)', $m_selectors, '#uagb-rm-' . $id );
1269
+
1270
+ return $desktop . $r_desktop . $tablet . $mobile;
1271
+ }
1272
+ }
1273
+ }
classes/class-uagb-config.php CHANGED
@@ -1,278 +1,383 @@
1
- <?php
2
- /**
3
- * UAGB Config.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Config' ) ) {
9
-
10
- /**
11
- * Class UAGB_Config.
12
- */
13
- class UAGB_Config {
14
-
15
- /**
16
- * Block Attributes
17
- *
18
- * @var block_attributes
19
- */
20
- public static $block_attributes = null;
21
-
22
- /**
23
- * Get Widget List.
24
- *
25
- * @since 0.0.1
26
- *
27
- * @return array The Widget List.
28
- */
29
- public static function get_block_attributes() {
30
-
31
- if ( null === self::$block_attributes ) {
32
-
33
- self::$block_attributes = array(
34
- 'uagb/advanced-heading' => array(
35
- 'slug' => '',
36
- 'title' => __( 'Advanced Heading', 'ultimate-addons-for-gutenberg' ),
37
- 'description' => __( 'This block lets you add a combination of a heading and a sub-heading with a separator in between.', 'ultimate-addons-for-gutenberg' ),
38
- 'default' => true,
39
- 'attributes' => array(
40
- 'headingAlign' => 'center',
41
- 'headingColor' => '',
42
- 'subHeadingColor' => '',
43
- 'separatorColor' => '',
44
- 'separatorHeight' => '',
45
- 'separatorWidth' => '',
46
- 'headFontSize' => '',
47
- 'subHeadFontSize' => '',
48
- 'headSpace' => 15,
49
- 'separatorSpace' => 15,
50
- 'subHeadSpace' => '',
51
- ),
52
- ),
53
- 'uagb/content-timeline' => array(
54
- 'slug' => '',
55
- 'title' => __( 'Content Timeline', 'ultimate-addons-for-gutenberg' ),
56
- 'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
57
- 'default' => true,
58
- 'attributes' => array(
59
- 'align' => 'center',
60
- 'headingColor' => '',
61
- 'subHeadingColor' => '',
62
- 'separatorBg' => '#eee',
63
- 'backgroundColor' => '#eee',
64
- 'separatorColor' => '#eee',
65
- 'separatorFillColor' => '#61ce70',
66
- 'separatorBorder' => '#eee',
67
- 'borderFocus' => '#5cb85c',
68
- 'horizontalSpace' => 10,
69
- 'verticalSpace' => 15,
70
- 'headFontSize' => '',
71
- 'timelinAlignment' => 'center',
72
- 'arrowlinAlignment' => 'center',
73
- 'subHeadFontSize' => '',
74
- 'headSpace' => 5,
75
- 'separatorwidth' => 3,
76
- 'borderwidth' => 0,
77
- 'iconColor' => '#333',
78
- 'iconFocus' => '#fff',
79
- 'iconBgFocus' => '#61ce70',
80
- 'dateColor' => '#333',
81
- 'dateFontsize' => 12,
82
- 'connectorBgsize' => 35,
83
- 'dateBottomspace' => 5,
84
- 'borderRadius' => 2,
85
- 'bgPadding' => 20,
86
- 'iconSize' => 12,
87
- 'iconHover' => '',
88
- 'iconBgHover' => '',
89
- 'borderHover' => '',
90
- 'stack' => 'tablet',
91
- ),
92
- ),
93
- 'uagb/google-map' => array(
94
- 'slug' => '',
95
- 'title' => __( 'Google Map', 'ultimate-addons-for-gutenberg' ),
96
- 'description' => __( 'This block allows you to place a Google Map Location.', 'ultimate-addons-for-gutenberg' ),
97
- 'default' => true,
98
- 'attributes' => array(
99
- 'block_id' => '',
100
- 'height' => '300',
101
- ),
102
- ),
103
- 'uagb/info-box' => array(
104
- 'slug' => '',
105
- 'title' => __( 'Info Box', 'ultimate-addons-for-gutenberg' ),
106
- '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' ),
107
- 'default' => true,
108
- 'attributes' => array(
109
- 'headingAlign' => 'center',
110
- 'headingColor' => '',
111
- 'subHeadingColor' => '',
112
- 'prefixColor' => '',
113
- 'prefixFontSize' => '',
114
- 'headFontSize' => '',
115
- 'subHeadFontSize' => '',
116
- 'separatorWidth' => '',
117
- 'separatorHeight' => '',
118
- 'headSpace' => '10',
119
- 'separatorSpace' => '10',
120
- 'subHeadSpace' => '10',
121
- 'icon' => '',
122
- 'iconColor' => '#333',
123
- 'iconSize' => '40',
124
- 'iconimgPosition' => 'above-title',
125
- 'block_id' => '',
126
- 'iconHover' => '',
127
- 'iconimgBorderRadius' => '0',
128
- 'seperatorStyle' => 'solid',
129
- 'seperatorWidth' => '30',
130
- 'seperatorColor' => '#333',
131
- 'seperatorThickness' => '2',
132
- 'ctaLinkColor' => '#333',
133
- 'ctaFontSize' => '',
134
- 'ctaBtnLinkColor' => '#333',
135
- 'ctaBgColor' => 'transparent',
136
- 'ctaBtnVertPadding' => '10',
137
- 'ctaBtnHrPadding' => '14',
138
- 'ctaBorderStyle' => 'solid',
139
- 'ctaBorderColor' => '#333',
140
- 'ctaBorderWidth' => '1',
141
- 'ctaBorderRadius' => '0',
142
- 'prefixSpace' => '5',
143
- 'iconLeftMargin' => '5',
144
- 'iconRightMargin' => '10',
145
- 'iconTopMargin' => '5',
146
- 'iconBottomMargin' => '5',
147
- 'imageSize' => 'thumbnail',
148
- 'imageWidth' => '120',
149
- 'seperatorSpace' => '15',
150
- ),
151
- ),
152
- 'uagb/buttons' => array(
153
- 'slug' => '',
154
- 'title' => __( 'Multi Buttons', 'ultimate-addons-for-gutenberg' ),
155
- 'description' => __( 'This block allows you to add multiple buttons with a single block.', 'ultimate-addons-for-gutenberg' ),
156
- 'default' => true,
157
- 'attributes' => array(
158
- 'block_id' => '',
159
- 'align' => 'center',
160
- 'btn_count' => '2',
161
- 'buttons' => UAGB_Helper::get_button_defaults(),
162
- 'gap' => 10,
163
- 'stack' => 'none',
164
- ),
165
- ),
166
- 'uagb/post-grid' => array(
167
- 'slug' => '',
168
- 'title' => __( 'Post Grid', 'ultimate-addons-for-gutenberg' ),
169
- 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a grid layout.', 'ultimate-addons-for-gutenberg' ),
170
- 'default' => true,
171
- 'attributes' => array(),
172
- ),
173
- 'uagb/section' => array(
174
- 'slug' => '',
175
- 'title' => __( 'Section', 'ultimate-addons-for-gutenberg' ),
176
- 'description' => __( 'This block is an outer wrap section that allows you to add other blocks within it.', 'ultimate-addons-for-gutenberg' ),
177
- 'default' => true,
178
- 'attributes' => array(
179
- 'topPadding' => '20',
180
- 'bottomPadding' => '20',
181
- 'leftPadding' => '20',
182
- 'rightPadding' => '20',
183
- 'topMargin' => '0',
184
- 'bottomMargin' => '0',
185
- 'leftMargin' => '0',
186
- 'rightMargin' => '0',
187
- 'contentWidth' => 'boxed',
188
- 'width' => '900',
189
- 'innerWidth' => '1140',
190
- 'tag' => 'section',
191
- 'backgroundType' => 'none',
192
- 'gradientColor1' => '',
193
- 'gradientColor2' => '',
194
- 'backgroundVideoColor' => '',
195
- 'backgroundPosition' => 'center-center',
196
- 'backgroundSize' => 'cover',
197
- 'backgroundRepeat' => 'no-repeat',
198
- 'backgroundAttachment' => 'scroll',
199
- 'gradientType' => 'linear',
200
- 'gradientLocation1' => '0',
201
- 'gradientLocation2' => '100',
202
- 'gradientAngle' => '0',
203
- 'backgroundColor' => '',
204
- 'backgroundOpacity' => '0',
205
- 'backgroundVideoOpacity' => '50',
206
- 'backgroundImageColor' => '',
207
- 'align' => 'center',
208
- 'borderStyle' => 'none',
209
- 'borderWidth' => '1',
210
- 'borderRadius' => '',
211
- 'borderColor' => '',
212
- ),
213
- ),
214
- 'uagb/social-share' => array(
215
- 'slug' => '',
216
- 'title' => __( 'Social Share', 'ultimate-addons-for-gutenberg' ),
217
- 'description' => __( 'This block allows you to let users share your content across various social networking sites.', 'ultimate-addons-for-gutenberg' ),
218
- 'default' => true,
219
- 'attributes' => array(
220
- 'align' => 'center',
221
- 'social_count' => '1',
222
- 'socials' => array(
223
- array(
224
- 'type' => 'facebook',
225
- 'image_icon' => 'icon',
226
- 'icon' => 'fab fa-facebook',
227
- 'image' => '',
228
- 'icon_color' => '#3a3a3a',
229
- 'icon_hover_color' => '#3a3a3a',
230
- ),
231
- ),
232
- 'gap' => '10',
233
- 'size' => '40',
234
- 'social_layout' => 'horizontal',
235
- 'stack' => 'none',
236
- ),
237
- ),
238
- 'uagb/team' => array(
239
- 'slug' => '',
240
- 'title' => __( 'Team', 'ultimate-addons-for-gutenberg' ),
241
- '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' ),
242
- 'default' => true,
243
- 'attributes' => array(
244
- 'block_id' => '',
245
- 'align' => 'center',
246
- 'tag' => 'h3',
247
- 'titleColor' => '',
248
- 'prefixColor' => '#888888',
249
- 'descColor' => '',
250
- 'socialColor' => '#333',
251
- 'socialHoverColor' => '',
252
- 'titleFontSize' => '',
253
- 'prefixFontSize' => 15,
254
- 'descFontSize' => '',
255
- 'socialFontSize' => 20,
256
- 'image' => '',
257
- 'imgStyle' => 'normal',
258
- 'imgPosition' => 'above',
259
- 'imgAlign' => 'top',
260
- 'imgSiz' => 'thumbnail',
261
- 'imgWidth' => 120,
262
- 'titleSpace' => '',
263
- 'prefixSpace' => '',
264
- 'descSpace' => 10,
265
- 'imgLeftMargin' => 20,
266
- 'imgRightMargin' => 20,
267
- 'imgTopMargin' => 15,
268
- 'imgBottomMargin' => 15,
269
- 'socialSpace' => 20,
270
- 'headingTag' => 'h3',
271
- ),
272
- ),
273
- );
274
- }
275
- return self::$block_attributes;
276
- }
277
- }
278
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Config.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! class_exists( 'UAGB_Config' ) ) {
9
+
10
+ /**
11
+ * Class UAGB_Config.
12
+ */
13
+ class UAGB_Config {
14
+
15
+ /**
16
+ * Block Attributes
17
+ *
18
+ * @var block_attributes
19
+ */
20
+ public static $block_attributes = null;
21
+
22
+ /**
23
+ * Get Widget List.
24
+ *
25
+ * @since 0.0.1
26
+ *
27
+ * @return array The Widget List.
28
+ */
29
+ public static function get_block_attributes() {
30
+
31
+ if ( null === self::$block_attributes ) {
32
+
33
+ self::$block_attributes = array(
34
+ 'uagb/advanced-heading' => array(
35
+ 'slug' => '',
36
+ 'title' => __( 'Advanced Heading', 'ultimate-addons-for-gutenberg' ),
37
+ 'description' => __( 'This block lets you add a combination of a heading and a sub-heading with a separator in between.', 'ultimate-addons-for-gutenberg' ),
38
+ 'default' => true,
39
+ 'attributes' => array(
40
+ 'headingAlign' => 'center',
41
+ 'headingColor' => '',
42
+ 'subHeadingColor' => '',
43
+ 'separatorColor' => '',
44
+ 'separatorHeight' => '',
45
+ 'separatorWidth' => '',
46
+ 'headFontSize' => '',
47
+ 'subHeadFontSize' => '',
48
+ 'headSpace' => 15,
49
+ 'separatorSpace' => 15,
50
+ 'subHeadSpace' => '',
51
+ ),
52
+ ),
53
+ 'uagb/content-timeline' => array(
54
+ 'slug' => '',
55
+ 'title' => __( 'Content Timeline', 'ultimate-addons-for-gutenberg' ),
56
+ 'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
57
+ 'default' => true,
58
+ 'attributes' => array(
59
+ 'align' => 'center',
60
+ 'headingColor' => '',
61
+ 'subHeadingColor' => '',
62
+ 'separatorBg' => '#eee',
63
+ 'backgroundColor' => '#eee',
64
+ 'separatorColor' => '#eee',
65
+ 'separatorFillColor' => '#61ce70',
66
+ 'separatorBorder' => '#eee',
67
+ 'borderFocus' => '#5cb85c',
68
+ 'horizontalSpace' => 10,
69
+ 'verticalSpace' => 15,
70
+ 'headFontSize' => '',
71
+ 'timelinAlignment' => 'center',
72
+ 'arrowlinAlignment' => 'center',
73
+ 'subHeadFontSize' => '',
74
+ 'headSpace' => 5,
75
+ 'separatorwidth' => 3,
76
+ 'borderwidth' => 0,
77
+ 'iconColor' => '#333',
78
+ 'iconFocus' => '#fff',
79
+ 'iconBgFocus' => '#61ce70',
80
+ 'dateColor' => '#333',
81
+ 'dateFontsize' => 12,
82
+ 'connectorBgsize' => 35,
83
+ 'dateBottomspace' => 5,
84
+ 'borderRadius' => 2,
85
+ 'bgPadding' => 20,
86
+ 'iconSize' => 12,
87
+ 'iconHover' => '',
88
+ 'iconBgHover' => '',
89
+ 'borderHover' => '',
90
+ 'stack' => 'tablet',
91
+ ),
92
+ ),
93
+ 'uagb/google-map' => array(
94
+ 'slug' => '',
95
+ 'title' => __( 'Google Map', 'ultimate-addons-for-gutenberg' ),
96
+ 'description' => __( 'This block allows you to place a Google Map Location.', 'ultimate-addons-for-gutenberg' ),
97
+ 'default' => true,
98
+ 'attributes' => array(
99
+ 'block_id' => '',
100
+ 'height' => '300',
101
+ ),
102
+ ),
103
+ 'uagb/icon-list' => array(
104
+ 'slug' => '',
105
+ 'title' => __( 'Icon List', 'ultimate-addons-for-gutenberg' ),
106
+ 'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
107
+ 'default' => true,
108
+ 'attributes' => array(
109
+ 'align' => 'left',
110
+ 'icon_count' => '1',
111
+ 'icons' => array(
112
+ array(
113
+ 'label' => __( 'Label #1', 'ultimate-addons-for-gutenberg' ),
114
+ 'image_icon' => 'icon',
115
+ 'icon' => 'fab fa-facebook',
116
+ 'image' => '',
117
+ 'icon_color' => '#3a3a3a',
118
+ 'icon_hover_color' => '#3a3a3a',
119
+ 'label_color' => '',
120
+ 'label_hover_color' => '',
121
+ 'link' => '#',
122
+ 'target' => false,
123
+ ),
124
+ ),
125
+ 'gap' => '10',
126
+ 'inner_gap' => '15',
127
+ 'size' => '40',
128
+ 'fontSize' => '',
129
+ 'icon_layout' => 'vertical',
130
+ 'stack' => 'none',
131
+ ),
132
+ ),
133
+ 'uagb/info-box' => array(
134
+ 'slug' => '',
135
+ 'title' => __( 'Info Box', 'ultimate-addons-for-gutenberg' ),
136
+ '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' ),
137
+ 'default' => true,
138
+ 'attributes' => array(
139
+ 'headingAlign' => 'center',
140
+ 'headingColor' => '',
141
+ 'subHeadingColor' => '',
142
+ 'prefixColor' => '',
143
+ 'prefixFontSize' => '',
144
+ 'headFontSize' => '',
145
+ 'subHeadFontSize' => '',
146
+ 'separatorWidth' => '',
147
+ 'separatorHeight' => '',
148
+ 'headSpace' => '10',
149
+ 'separatorSpace' => '10',
150
+ 'subHeadSpace' => '10',
151
+ 'icon' => '',
152
+ 'iconColor' => '#333',
153
+ 'iconSize' => '40',
154
+ 'iconimgPosition' => 'above-title',
155
+ 'block_id' => '',
156
+ 'iconHover' => '',
157
+ 'iconimgBorderRadius' => '0',
158
+ 'seperatorStyle' => 'solid',
159
+ 'seperatorWidth' => '30',
160
+ 'seperatorColor' => '#333',
161
+ 'seperatorThickness' => '2',
162
+ 'ctaLinkColor' => '#333',
163
+ 'ctaFontSize' => '',
164
+ 'ctaBtnLinkColor' => '#333',
165
+ 'ctaBgColor' => 'transparent',
166
+ 'ctaBtnVertPadding' => '10',
167
+ 'ctaBtnHrPadding' => '14',
168
+ 'ctaBorderStyle' => 'solid',
169
+ 'ctaBorderColor' => '#333',
170
+ 'ctaBorderWidth' => '1',
171
+ 'ctaBorderRadius' => '0',
172
+ 'prefixSpace' => '5',
173
+ 'iconLeftMargin' => '5',
174
+ 'iconRightMargin' => '10',
175
+ 'iconTopMargin' => '5',
176
+ 'iconBottomMargin' => '5',
177
+ 'imageSize' => 'thumbnail',
178
+ 'imageWidth' => '120',
179
+ 'seperatorSpace' => '15',
180
+ ),
181
+ ),
182
+ 'uagb/buttons' => array(
183
+ 'slug' => '',
184
+ 'title' => __( 'Multi Buttons', 'ultimate-addons-for-gutenberg' ),
185
+ 'description' => __( 'This block allows you to add multiple buttons with a single block.', 'ultimate-addons-for-gutenberg' ),
186
+ 'default' => true,
187
+ 'attributes' => array(
188
+ 'block_id' => '',
189
+ 'align' => 'center',
190
+ 'btn_count' => '2',
191
+ 'buttons' => UAGB_Helper::get_button_defaults(),
192
+ 'gap' => 10,
193
+ 'stack' => 'none',
194
+ ),
195
+ ),
196
+ 'uagb/post-grid' => array(
197
+ 'slug' => '',
198
+ 'title' => __( 'Post Grid', 'ultimate-addons-for-gutenberg' ),
199
+ 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a grid layout.', 'ultimate-addons-for-gutenberg' ),
200
+ 'default' => true,
201
+ 'attributes' => array(),
202
+ ),
203
+ 'uagb/restaurant-menu' => array(
204
+ 'slug' => '',
205
+ 'title' => __( 'Restaurant Menu', 'ultimate-addons-for-gutenberg' ),
206
+ 'description' => __( 'This block allows you to add attractive Restaurant Menu.', 'ultimate-addons-for-gutenberg' ),
207
+ 'default' => true,
208
+ 'attributes' => array(
209
+ 'block_id' => '',
210
+ 'headingAlign' => 'left',
211
+ 'descColor' => '#333',
212
+ 'priceColor' => '#888888',
213
+ 'titleColor' => '#333',
214
+ 'imagePosition' => 'top',
215
+ 'imageAlignment' => 'top',
216
+ 'titleFontSize' => '',
217
+ 'priceFontSize' => '',
218
+ 'descFontSize' => '',
219
+ 'priceSpace' => 5,
220
+ 'descSpace' => 15,
221
+ 'titleSpace' => 10,
222
+ 'imgVrPadding' => 0,
223
+ 'imgHrPadding' => 0,
224
+ 'imgTopPadding' => 0,
225
+ 'imgBottomPadding' => 0,
226
+ 'iconImage' => '',
227
+ 'imageSize' => 'medium',
228
+ 'imageWidth' => '',
229
+ 'columns' => 2,
230
+ 'tcolumns' => 2,
231
+ 'mcolumns' => 1,
232
+ 'rowGap' => 10,
233
+ 'columnGap' => 10,
234
+ 'contentHrPadding' => 5,
235
+ 'contentVrPadding' => 5,
236
+ 'seperatorStyle' => 'dashed',
237
+ 'seperatorWidth' => '100',
238
+ 'seperatorThickness' => '1',
239
+ 'seperatorColor' => '#b2b4b5',
240
+ ),
241
+ ),
242
+ 'uagb/section' => array(
243
+ 'slug' => '',
244
+ 'title' => __( 'Section', 'ultimate-addons-for-gutenberg' ),
245
+ 'description' => __( 'This block is an outer wrap section that allows you to add other blocks within it.', 'ultimate-addons-for-gutenberg' ),
246
+ 'default' => true,
247
+ 'attributes' => array(
248
+ 'topPadding' => '20',
249
+ 'bottomPadding' => '20',
250
+ 'leftPadding' => '20',
251
+ 'rightPadding' => '20',
252
+ 'topMargin' => '0',
253
+ 'bottomMargin' => '0',
254
+ 'leftMargin' => '0',
255
+ 'rightMargin' => '0',
256
+ 'contentWidth' => 'boxed',
257
+ 'width' => '900',
258
+ 'innerWidth' => '1140',
259
+ 'tag' => 'section',
260
+ 'backgroundType' => 'none',
261
+ 'gradientColor1' => '',
262
+ 'gradientColor2' => '',
263
+ 'backgroundVideoColor' => '',
264
+ 'backgroundPosition' => 'center-center',
265
+ 'backgroundSize' => 'cover',
266
+ 'backgroundRepeat' => 'no-repeat',
267
+ 'backgroundAttachment' => 'scroll',
268
+ 'gradientType' => 'linear',
269
+ 'gradientLocation1' => '0',
270
+ 'gradientLocation2' => '100',
271
+ 'gradientAngle' => '0',
272
+ 'backgroundColor' => '',
273
+ 'backgroundOpacity' => '0',
274
+ 'backgroundVideoOpacity' => '50',
275
+ 'backgroundImageColor' => '',
276
+ 'align' => 'center',
277
+ 'borderStyle' => 'none',
278
+ 'borderWidth' => '1',
279
+ 'borderRadius' => '',
280
+ 'borderColor' => '',
281
+ ),
282
+ ),
283
+ 'uagb/social-share' => array(
284
+ 'slug' => '',
285
+ 'title' => __( 'Social Share', 'ultimate-addons-for-gutenberg' ),
286
+ 'description' => __( 'This block allows you to let users share your content across various social networking sites.', 'ultimate-addons-for-gutenberg' ),
287
+ 'default' => true,
288
+ 'attributes' => array(
289
+ 'align' => 'center',
290
+ 'social_count' => '1',
291
+ 'socials' => array(
292
+ array(
293
+ 'type' => 'facebook',
294
+ 'image_icon' => 'icon',
295
+ 'icon' => 'fab fa-facebook',
296
+ 'image' => '',
297
+ 'icon_color' => '#3a3a3a',
298
+ 'icon_hover_color' => '#3a3a3a',
299
+ ),
300
+ ),
301
+ 'gap' => '10',
302
+ 'size' => '40',
303
+ 'social_layout' => 'horizontal',
304
+ 'stack' => 'none',
305
+ ),
306
+ ),
307
+ 'uagb/team' => array(
308
+ 'slug' => '',
309
+ 'title' => __( 'Team', 'ultimate-addons-for-gutenberg' ),
310
+ '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' ),
311
+ 'default' => true,
312
+ 'attributes' => array(
313
+ 'block_id' => '',
314
+ 'align' => 'center',
315
+ 'tag' => 'h3',
316
+ 'titleColor' => '',
317
+ 'prefixColor' => '#888888',
318
+ 'descColor' => '',
319
+ 'socialColor' => '#333',
320
+ 'socialHoverColor' => '',
321
+ 'titleFontSize' => '',
322
+ 'prefixFontSize' => 15,
323
+ 'descFontSize' => '',
324
+ 'socialFontSize' => 20,
325
+ 'image' => '',
326
+ 'imgStyle' => 'normal',
327
+ 'imgPosition' => 'above',
328
+ 'imgAlign' => 'top',
329
+ 'imgSiz' => 'thumbnail',
330
+ 'imgWidth' => 120,
331
+ 'titleSpace' => '',
332
+ 'prefixSpace' => '',
333
+ 'descSpace' => 10,
334
+ 'imgLeftMargin' => 20,
335
+ 'imgRightMargin' => 20,
336
+ 'imgTopMargin' => 15,
337
+ 'imgBottomMargin' => 15,
338
+ 'socialSpace' => 20,
339
+ 'headingTag' => 'h3',
340
+ ),
341
+ ),
342
+ 'uagb/testimonial' => array(
343
+ 'slug' => '',
344
+ 'title' => __( 'Testimonial', 'ultimate-addons-for-gutenberg' ),
345
+ 'description' => __( 'This block helps your display some amazing client feedback within your website.', 'ultimate-addons-for-gutenberg' ),
346
+ 'default' => true,
347
+ 'attributes' => array(
348
+ 'headingAlign' => 'center',
349
+ 'companyColor' => '#888888',
350
+ 'descColor' => '#333',
351
+ 'authorColor' => '#333',
352
+ 'nameFontSize' => '',
353
+ 'companyFontSize' => 15,
354
+ 'descFontSize' => '',
355
+ 'descSpace' => 15,
356
+ 'block_id' => '',
357
+ 'nameSpace' => 5,
358
+ 'imgVrPadding' => 10,
359
+ 'imgHrPadding' => 10,
360
+ 'imageWidth' => 60,
361
+ 'rowGap' => 10,
362
+ 'columnGap' => 10,
363
+ 'contentPadding' => 5,
364
+ 'backgroundColor' => '',
365
+ 'backgroundImage' => '',
366
+ 'backgroundPosition' => 'center-center',
367
+ 'backgroundSize' => 'cover',
368
+ 'backgroundRepeat' => 'no-repeat',
369
+ 'backgroundImageColor' => '',
370
+ 'backgroundOpacity' => 0,
371
+ 'borderStyle' => 'none',
372
+ 'borderWidth' => 1,
373
+ 'borderRadius' => 0,
374
+ 'borderColor' => '#333',
375
+ 'arrowColor' => '#333',
376
+ ),
377
+ ),
378
+ );
379
+ }
380
+ return self::$block_attributes;
381
+ }
382
+ }
383
+ }
classes/class-uagb-helper.php CHANGED
@@ -1,402 +1,414 @@
1
- <?php
2
- /**
3
- * UAGB Helper.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Helper' ) ) {
9
-
10
- /**
11
- * Class UAGB_Helper.
12
- */
13
- final class UAGB_Helper {
14
-
15
- /**
16
- * Member Variable
17
- *
18
- * @since 0.0.1
19
- * @var instance
20
- */
21
- private static $instance;
22
-
23
- /**
24
- * Member Variable
25
- *
26
- * @since 0.0.1
27
- * @var instance
28
- */
29
- public static $block_list;
30
-
31
- /**
32
- * Google Map Language List
33
- *
34
- * @var google_map_languages
35
- */
36
- private static $google_map_languages = null;
37
-
38
- /**
39
- * Initiator
40
- *
41
- * @since 0.0.1
42
- */
43
- public static function get_instance() {
44
- if ( ! isset( self::$instance ) ) {
45
- self::$instance = new self;
46
- }
47
- return self::$instance;
48
- }
49
-
50
- /**
51
- * Constructor
52
- */
53
- public function __construct() {
54
-
55
- require( UAGB_DIR . 'classes/class-uagb-config.php' );
56
- require( UAGB_DIR . 'classes/class-uagb-block-helper.php' );
57
-
58
- self::$block_list = UAGB_Config::get_block_attributes();
59
-
60
- add_action( 'wp_head', array( $this, 'generate_stylesheet' ), 80 );
61
- }
62
-
63
- /**
64
- * Parse CSS into correct CSS syntax.
65
- *
66
- * @param array $selectors The block selectors.
67
- * @param string $id The selector ID.
68
- * @since 0.0.1
69
- */
70
- public static function generate_css( $selectors, $id ) {
71
-
72
- $styling_css = '';
73
-
74
- if ( empty( $selectors ) ) {
75
- return;
76
- }
77
-
78
- foreach ( $selectors as $key => $value ) {
79
-
80
- $styling_css .= $id;
81
-
82
- $styling_css .= $key . ' { ';
83
- $css = '';
84
-
85
- foreach ( $value as $j => $val ) {
86
-
87
- $css .= $j . ': ' . $val . ';';
88
- }
89
-
90
- $styling_css .= $css . ' } ';
91
- }
92
-
93
- return $styling_css;
94
- }
95
-
96
- /**
97
- * Parse CSS into correct CSS syntax.
98
- *
99
- * @param string $query Media Query string.
100
- * @param array $selectors The block selectors.
101
- * @param string $id The selector ID.
102
- * @since 0.0.1
103
- */
104
- public static function generate_responsive_css( $query, $selectors, $id ) {
105
-
106
- $css = $query . ' { ';
107
- $css .= self::generate_css( $selectors, $id );
108
- $css .= ' } ';
109
-
110
- return $css;
111
- }
112
-
113
- /**
114
- * Generates CSS recurrsively.
115
- *
116
- * @param object $block The block object.
117
- * @since 0.0.1
118
- */
119
- public function get_block_css( $block ) {
120
-
121
- // @codingStandardsIgnoreStart
122
-
123
- $block = ( array ) $block;
124
-
125
- $name = $block['blockName'];
126
- $css = '';
127
-
128
- if( ! isset( $name ) ) {
129
- return;
130
- }
131
-
132
- if ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) {
133
- $blockattr = $block['attrs'];
134
- if ( isset( $blockattr['block_id'] ) ) {
135
- $block_id = $blockattr['block_id'];
136
- }
137
- }
138
-
139
- switch ( $name ) {
140
- case 'uagb/section':
141
- $css .= UAGB_Block_Helper::get_section_css( $blockattr, $block_id );
142
- break;
143
-
144
- case 'uagb/advanced-heading':
145
- $css .= UAGB_Block_Helper::get_adv_heading_css( $blockattr, $block_id );
146
- break;
147
-
148
- case 'uagb/info-box':
149
- $css .= UAGB_Block_Helper::get_info_box_css( $blockattr, $block_id );
150
- break;
151
-
152
- case 'uagb/buttons':
153
- $css .= UAGB_Block_Helper::get_buttons_css( $blockattr, $block_id );
154
- break;
155
-
156
- case 'uagb/team':
157
- $css .= UAGB_Block_Helper::get_team_css( $blockattr, $block_id );
158
- break;
159
-
160
- case 'uagb/social-share':
161
- $css .= UAGB_Block_Helper::get_social_share_css( $blockattr, $block_id );
162
- break;
163
-
164
- case 'uagb/content-timeline':
165
- $css .= UAGB_Block_Helper::get_content_timeline_css( $blockattr, $block_id );
166
- break;
167
-
168
- default:
169
- // Nothing to do here.
170
- break;
171
- }
172
-
173
- if ( isset( $block['innerBlocks'] ) ) {
174
- foreach ( $block['innerBlocks'] as $j => $inner_block ) {
175
- $css .= $this->get_block_css( $inner_block );
176
- }
177
- }
178
-
179
- echo $css;
180
-
181
- // @codingStandardsIgnoreEnd
182
- }
183
-
184
- /**
185
- * Generates stylesheet and appends in head tag.
186
- *
187
- * @since 0.0.1
188
- */
189
- public function generate_stylesheet() {
190
-
191
- if ( has_blocks( get_the_ID() ) ) {
192
-
193
- global $post;
194
-
195
- if ( ! is_object( $post ) ) {
196
- return;
197
- }
198
-
199
- $blocks = $this->parse( $post->post_content );
200
-
201
- if ( ! is_array( $blocks ) || empty( $blocks ) ) {
202
- return;
203
- }
204
-
205
- ob_start();
206
- ?>
207
- <style type="text/css" media="all" id="uagb-style-frontend"><?php $this->get_stylesheet( $blocks ); ?></style>
208
- <?php
209
- }
210
- }
211
-
212
- /**
213
- * Parse Guten Block.
214
- *
215
- * @param string $content the content string.
216
- * @since 1.1.0
217
- */
218
- public function parse( $content ) {
219
-
220
- global $wp_version;
221
-
222
- return ( version_compare( $wp_version, '5', '>=' ) ) ? parse_blocks( $content ) : gutenberg_parse_blocks( $content );
223
- }
224
-
225
- /**
226
- * Generates stylesheet for reusable blocks.
227
- *
228
- * @param array $blocks Blocks array.
229
- * @since 1.1.0
230
- */
231
- public function get_stylesheet( $blocks ) {
232
-
233
- foreach ( $blocks as $i => $block ) {
234
-
235
- if ( is_array( $block ) ) {
236
-
237
- if ( 'core/block' == $block['blockName'] ) {
238
-
239
- $id = ( isset( $block['attrs']['ref'] ) ) ? $block['attrs']['ref'] : 0;
240
-
241
- if ( $id ) {
242
-
243
- $content = get_post_field( 'post_content', $id );
244
-
245
- $reusable_blocks = $this->parse( $content );
246
-
247
- $this->get_stylesheet( $reusable_blocks );
248
- }
249
- } else {
250
-
251
- // Get CSS for the Block.
252
- $this->get_block_css( $block );
253
- }
254
- }
255
- }
256
- }
257
-
258
- /**
259
- * Get Buttons default array.
260
- *
261
- * @since 0.0.1
262
- */
263
- public static function get_button_defaults() {
264
-
265
- $default = array();
266
-
267
- for ( $i = 1; $i <= 2; $i++ ) {
268
- array_push(
269
- $default,
270
- array(
271
- 'size' => '',
272
- 'vPadding' => 10,
273
- 'hPadding' => 14,
274
- 'borderWidth' => 1,
275
- 'borderRadius' => 2,
276
- 'borderStyle' => 'solid',
277
- 'borderColor' => '#333',
278
- 'borderHColor' => '#333',
279
- 'color' => '#333',
280
- 'background' => '',
281
- 'hColor' => '#333',
282
- 'hBackground' => '',
283
- )
284
- );
285
- }
286
-
287
- return $default;
288
- }
289
-
290
- /**
291
- * Returns an option from the database for
292
- * the admin settings page.
293
- *
294
- * @param string $key The option key.
295
- * @param mixed $default Option default value if option is not available.
296
- * @param boolean $network_override Whether to allow the network admin setting to be overridden on subsites.
297
- * @return string Return the option value
298
- */
299
- public static function get_admin_settings_option( $key, $default = false, $network_override = false ) {
300
-
301
- // Get the site-wide option if we're in the network admin.
302
- if ( $network_override && is_multisite() ) {
303
- $value = get_site_option( $key, $default );
304
- } else {
305
- $value = get_option( $key, $default );
306
- }
307
-
308
- return $value;
309
- }
310
-
311
- /**
312
- * Updates an option from the admin settings page.
313
- *
314
- * @param string $key The option key.
315
- * @param mixed $value The value to update.
316
- * @param bool $network Whether to allow the network admin setting to be overridden on subsites.
317
- * @return mixed
318
- */
319
- static public function update_admin_settings_option( $key, $value, $network = false ) {
320
-
321
- // Update the site-wide option since we're in the network admin.
322
- if ( $network && is_multisite() ) {
323
- update_site_option( $key, $value );
324
- } else {
325
- update_option( $key, $value );
326
- }
327
-
328
- }
329
-
330
- /**
331
- * Is Knowledgebase.
332
- *
333
- * @return string
334
- * @since 0.0.1
335
- */
336
- static public function knowledgebase_data() {
337
-
338
- $knowledgebase = array(
339
- 'enable_knowledgebase' => true,
340
- 'knowledgebase_url' => 'http://uagb.sharkz.in/docs/',
341
- );
342
-
343
- return $knowledgebase;
344
- }
345
-
346
- /**
347
- * Is Knowledgebase.
348
- *
349
- * @return string
350
- * @since 0.0.1
351
- */
352
- static public function support_data() {
353
-
354
- $support = array(
355
- 'enable_support' => true,
356
- 'support_url' => 'https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg',
357
- );
358
-
359
- return $support;
360
- }
361
-
362
- /**
363
- * Provide Widget settings.
364
- *
365
- * @return array()
366
- * @since 0.0.1
367
- */
368
- static public function get_block_options() {
369
-
370
- $blocks = self::$block_list;
371
- $saved_blocks = self::get_admin_settings_option( '_uagb_blocks' );
372
- if ( is_array( $blocks ) ) {
373
-
374
- foreach ( $blocks as $slug => $data ) {
375
-
376
- $_slug = str_replace( 'uagb/', '', $slug );
377
-
378
- if ( isset( $saved_blocks[ $_slug ] ) ) {
379
-
380
- if ( 'disabled' === $saved_blocks[ $_slug ] ) {
381
- $blocks[ $slug ]['is_activate'] = false;
382
- } else {
383
- $blocks[ $slug ]['is_activate'] = true;
384
- }
385
- } else {
386
- $blocks[ $slug ]['is_activate'] = ( isset( $data['default'] ) ) ? $data['default'] : false;
387
- }
388
- }
389
- }
390
-
391
- self::$block_list = $blocks;
392
-
393
- return apply_filters( 'uagb_enabled_blocks', self::$block_list );
394
- }
395
- }
396
-
397
- /**
398
- * Prepare if class 'UAGB_Helper' exist.
399
- * Kicking this off by calling 'get_instance()' method
400
- */
401
- UAGB_Helper::get_instance();
402
- }
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Helper.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! class_exists( 'UAGB_Helper' ) ) {
9
+
10
+ /**
11
+ * Class UAGB_Helper.
12
+ */
13
+ final class UAGB_Helper {
14
+
15
+ /**
16
+ * Member Variable
17
+ *
18
+ * @since 0.0.1
19
+ * @var instance
20
+ */
21
+ private static $instance;
22
+
23
+ /**
24
+ * Member Variable
25
+ *
26
+ * @since 0.0.1
27
+ * @var instance
28
+ */
29
+ public static $block_list;
30
+
31
+ /**
32
+ * Google Map Language List
33
+ *
34
+ * @var google_map_languages
35
+ */
36
+ private static $google_map_languages = null;
37
+
38
+ /**
39
+ * Initiator
40
+ *
41
+ * @since 0.0.1
42
+ */
43
+ public static function get_instance() {
44
+ if ( ! isset( self::$instance ) ) {
45
+ self::$instance = new self;
46
+ }
47
+ return self::$instance;
48
+ }
49
+
50
+ /**
51
+ * Constructor
52
+ */
53
+ public function __construct() {
54
+
55
+ require( UAGB_DIR . 'classes/class-uagb-config.php' );
56
+ require( UAGB_DIR . 'classes/class-uagb-block-helper.php' );
57
+
58
+ self::$block_list = UAGB_Config::get_block_attributes();
59
+
60
+ add_action( 'wp_head', array( $this, 'generate_stylesheet' ), 80 );
61
+ }
62
+
63
+ /**
64
+ * Parse CSS into correct CSS syntax.
65
+ *
66
+ * @param array $selectors The block selectors.
67
+ * @param string $id The selector ID.
68
+ * @since 0.0.1
69
+ */
70
+ public static function generate_css( $selectors, $id ) {
71
+
72
+ $styling_css = '';
73
+
74
+ if ( empty( $selectors ) ) {
75
+ return;
76
+ }
77
+
78
+ foreach ( $selectors as $key => $value ) {
79
+
80
+ $styling_css .= $id;
81
+
82
+ $styling_css .= $key . ' { ';
83
+ $css = '';
84
+
85
+ foreach ( $value as $j => $val ) {
86
+
87
+ $css .= $j . ': ' . $val . ';';
88
+ }
89
+
90
+ $styling_css .= $css . ' } ';
91
+ }
92
+
93
+ return $styling_css;
94
+ }
95
+
96
+ /**
97
+ * Parse CSS into correct CSS syntax.
98
+ *
99
+ * @param string $query Media Query string.
100
+ * @param array $selectors The block selectors.
101
+ * @param string $id The selector ID.
102
+ * @since 0.0.1
103
+ */
104
+ public static function generate_responsive_css( $query, $selectors, $id ) {
105
+
106
+ $css = $query . ' { ';
107
+ $css .= self::generate_css( $selectors, $id );
108
+ $css .= ' } ';
109
+
110
+ return $css;
111
+ }
112
+
113
+ /**
114
+ * Generates CSS recurrsively.
115
+ *
116
+ * @param object $block The block object.
117
+ * @since 0.0.1
118
+ */
119
+ public function get_block_css( $block ) {
120
+
121
+ // @codingStandardsIgnoreStart
122
+
123
+ $block = ( array ) $block;
124
+
125
+ $name = $block['blockName'];
126
+ $css = '';
127
+
128
+ if( ! isset( $name ) ) {
129
+ return;
130
+ }
131
+
132
+ if ( isset( $block['attrs'] ) && is_array( $block['attrs'] ) ) {
133
+ $blockattr = $block['attrs'];
134
+ if ( isset( $blockattr['block_id'] ) ) {
135
+ $block_id = $blockattr['block_id'];
136
+ }
137
+ }
138
+
139
+ switch ( $name ) {
140
+ case 'uagb/section':
141
+ $css .= UAGB_Block_Helper::get_section_css( $blockattr, $block_id );
142
+ break;
143
+
144
+ case 'uagb/advanced-heading':
145
+ $css .= UAGB_Block_Helper::get_adv_heading_css( $blockattr, $block_id );
146
+ break;
147
+
148
+ case 'uagb/info-box':
149
+ $css .= UAGB_Block_Helper::get_info_box_css( $blockattr, $block_id );
150
+ break;
151
+
152
+ case 'uagb/buttons':
153
+ $css .= UAGB_Block_Helper::get_buttons_css( $blockattr, $block_id );
154
+ break;
155
+
156
+ case 'uagb/testimonial':
157
+ $css .= UAGB_Block_Helper::get_testimonial_css( $blockattr, $block_id );
158
+ break;
159
+
160
+ case 'uagb/team':
161
+ $css .= UAGB_Block_Helper::get_team_css( $blockattr, $block_id );
162
+ break;
163
+
164
+ case 'uagb/social-share':
165
+ $css .= UAGB_Block_Helper::get_social_share_css( $blockattr, $block_id );
166
+ break;
167
+
168
+ case 'uagb/content-timeline':
169
+ $css .= UAGB_Block_Helper::get_content_timeline_css( $blockattr, $block_id );
170
+ break;
171
+
172
+ case 'uagb/restaurant-menu':
173
+ $css .= UAGB_Block_Helper::get_restaurant_menu_css( $blockattr, $block_id );
174
+ break;
175
+
176
+ case 'uagb/icon-list':
177
+ $css .= UAGB_Block_Helper::get_icon_list_css( $blockattr, $block_id );
178
+ break;
179
+
180
+ default:
181
+ // Nothing to do here.
182
+ break;
183
+ }
184
+
185
+ if ( isset( $block['innerBlocks'] ) ) {
186
+ foreach ( $block['innerBlocks'] as $j => $inner_block ) {
187
+ $css .= $this->get_block_css( $inner_block );
188
+ }
189
+ }
190
+
191
+ echo $css;
192
+
193
+ // @codingStandardsIgnoreEnd
194
+ }
195
+
196
+ /**
197
+ * Generates stylesheet and appends in head tag.
198
+ *
199
+ * @since 0.0.1
200
+ */
201
+ public function generate_stylesheet() {
202
+
203
+ if ( has_blocks( get_the_ID() ) ) {
204
+
205
+ global $post;
206
+
207
+ if ( ! is_object( $post ) ) {
208
+ return;
209
+ }
210
+
211
+ $blocks = $this->parse( $post->post_content );
212
+
213
+ if ( ! is_array( $blocks ) || empty( $blocks ) ) {
214
+ return;
215
+ }
216
+
217
+ ob_start();
218
+ ?>
219
+ <style type="text/css" media="all" id="uagb-style-frontend"><?php $this->get_stylesheet( $blocks ); ?></style>
220
+ <?php
221
+ }
222
+ }
223
+
224
+ /**
225
+ * Parse Guten Block.
226
+ *
227
+ * @param string $content the content string.
228
+ * @since 1.1.0
229
+ */
230
+ public function parse( $content ) {
231
+
232
+ global $wp_version;
233
+
234
+ return ( version_compare( $wp_version, '5', '>=' ) ) ? parse_blocks( $content ) : gutenberg_parse_blocks( $content );
235
+ }
236
+
237
+ /**
238
+ * Generates stylesheet for reusable blocks.
239
+ *
240
+ * @param array $blocks Blocks array.
241
+ * @since 1.1.0
242
+ */
243
+ public function get_stylesheet( $blocks ) {
244
+
245
+ foreach ( $blocks as $i => $block ) {
246
+
247
+ if ( is_array( $block ) ) {
248
+
249
+ if ( 'core/block' == $block['blockName'] ) {
250
+
251
+ $id = ( isset( $block['attrs']['ref'] ) ) ? $block['attrs']['ref'] : 0;
252
+
253
+ if ( $id ) {
254
+
255
+ $content = get_post_field( 'post_content', $id );
256
+
257
+ $reusable_blocks = $this->parse( $content );
258
+
259
+ $this->get_stylesheet( $reusable_blocks );
260
+ }
261
+ } else {
262
+
263
+ // Get CSS for the Block.
264
+ $this->get_block_css( $block );
265
+ }
266
+ }
267
+ }
268
+ }
269
+
270
+ /**
271
+ * Get Buttons default array.
272
+ *
273
+ * @since 0.0.1
274
+ */
275
+ public static function get_button_defaults() {
276
+
277
+ $default = array();
278
+
279
+ for ( $i = 1; $i <= 2; $i++ ) {
280
+ array_push(
281
+ $default,
282
+ array(
283
+ 'size' => '',
284
+ 'vPadding' => 10,
285
+ 'hPadding' => 14,
286
+ 'borderWidth' => 1,
287
+ 'borderRadius' => 2,
288
+ 'borderStyle' => 'solid',
289
+ 'borderColor' => '#333',
290
+ 'borderHColor' => '#333',
291
+ 'color' => '#333',
292
+ 'background' => '',
293
+ 'hColor' => '#333',
294
+ 'hBackground' => '',
295
+ )
296
+ );
297
+ }
298
+
299
+ return $default;
300
+ }
301
+
302
+ /**
303
+ * Returns an option from the database for
304
+ * the admin settings page.
305
+ *
306
+ * @param string $key The option key.
307
+ * @param mixed $default Option default value if option is not available.
308
+ * @param boolean $network_override Whether to allow the network admin setting to be overridden on subsites.
309
+ * @return string Return the option value
310
+ */
311
+ public static function get_admin_settings_option( $key, $default = false, $network_override = false ) {
312
+
313
+ // Get the site-wide option if we're in the network admin.
314
+ if ( $network_override && is_multisite() ) {
315
+ $value = get_site_option( $key, $default );
316
+ } else {
317
+ $value = get_option( $key, $default );
318
+ }
319
+
320
+ return $value;
321
+ }
322
+
323
+ /**
324
+ * Updates an option from the admin settings page.
325
+ *
326
+ * @param string $key The option key.
327
+ * @param mixed $value The value to update.
328
+ * @param bool $network Whether to allow the network admin setting to be overridden on subsites.
329
+ * @return mixed
330
+ */
331
+ static public function update_admin_settings_option( $key, $value, $network = false ) {
332
+
333
+ // Update the site-wide option since we're in the network admin.
334
+ if ( $network && is_multisite() ) {
335
+ update_site_option( $key, $value );
336
+ } else {
337
+ update_option( $key, $value );
338
+ }
339
+
340
+ }
341
+
342
+ /**
343
+ * Is Knowledgebase.
344
+ *
345
+ * @return string
346
+ * @since 0.0.1
347
+ */
348
+ static public function knowledgebase_data() {
349
+
350
+ $knowledgebase = array(
351
+ 'enable_knowledgebase' => true,
352
+ 'knowledgebase_url' => 'http://uagb.sharkz.in/docs/',
353
+ );
354
+
355
+ return $knowledgebase;
356
+ }
357
+
358
+ /**
359
+ * Is Knowledgebase.
360
+ *
361
+ * @return string
362
+ * @since 0.0.1
363
+ */
364
+ static public function support_data() {
365
+
366
+ $support = array(
367
+ 'enable_support' => true,
368
+ 'support_url' => 'https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg',
369
+ );
370
+
371
+ return $support;
372
+ }
373
+
374
+ /**
375
+ * Provide Widget settings.
376
+ *
377
+ * @return array()
378
+ * @since 0.0.1
379
+ */
380
+ static public function get_block_options() {
381
+
382
+ $blocks = self::$block_list;
383
+ $saved_blocks = self::get_admin_settings_option( '_uagb_blocks' );
384
+ if ( is_array( $blocks ) ) {
385
+
386
+ foreach ( $blocks as $slug => $data ) {
387
+
388
+ $_slug = str_replace( 'uagb/', '', $slug );
389
+
390
+ if ( isset( $saved_blocks[ $_slug ] ) ) {
391
+
392
+ if ( 'disabled' === $saved_blocks[ $_slug ] ) {
393
+ $blocks[ $slug ]['is_activate'] = false;
394
+ } else {
395
+ $blocks[ $slug ]['is_activate'] = true;
396
+ }
397
+ } else {
398
+ $blocks[ $slug ]['is_activate'] = ( isset( $data['default'] ) ) ? $data['default'] : false;
399
+ }
400
+ }
401
+ }
402
+
403
+ self::$block_list = $blocks;
404
+
405
+ return apply_filters( 'uagb_enabled_blocks', self::$block_list );
406
+ }
407
+ }
408
+
409
+ /**
410
+ * Prepare if class 'UAGB_Helper' exist.
411
+ * Kicking this off by calling 'get_instance()' method
412
+ */
413
+ UAGB_Helper::get_instance();
414
+ }
classes/class-uagb-init-blocks.php CHANGED
@@ -1,178 +1,203 @@
1
- <?php
2
- /**
3
- * UAGB Blocks Initializer
4
- *
5
- * Enqueue CSS/JS of all the blocks.
6
- *
7
- * @since 1.0.0
8
- * @package UAGB
9
- */
10
-
11
- if ( ! defined( 'ABSPATH' ) ) {
12
- exit; // Exit if accessed directly.
13
- }
14
-
15
- /**
16
- * UAGB_Init_Blocks.
17
- *
18
- * @package UAGB
19
- */
20
- class UAGB_Init_Blocks {
21
-
22
- /**
23
- * Member Variable
24
- *
25
- * @var instance
26
- */
27
- private static $instance;
28
-
29
- /**
30
- * Initiator
31
- */
32
- public static function get_instance() {
33
- if ( ! isset( self::$instance ) ) {
34
- self::$instance = new self;
35
- }
36
- return self::$instance;
37
- }
38
-
39
- /**
40
- * Constructor
41
- */
42
- public function __construct() {
43
-
44
- // Hook: Frontend assets.
45
- add_action( 'enqueue_block_assets', array( $this, 'block_assets' ) );
46
-
47
- // Hook: Editor assets.
48
- add_action( 'enqueue_block_editor_assets', array( $this, 'editor_assets' ) );
49
-
50
- add_filter( 'block_categories', array( $this, 'register_block_category' ), 10, 2 );
51
- }
52
-
53
- /**
54
- * Gutenberg block category for UAGB.
55
- *
56
- * @param array $categories Block categories.
57
- * @param object $post Post object.
58
- * @since 1.0.0
59
- */
60
- function register_block_category( $categories, $post ) {
61
- return array_merge(
62
- $categories,
63
- array(
64
- array(
65
- 'slug' => 'uagb',
66
- 'title' => __( 'UAGB Blocks', 'ultimate-addons-for-gutenberg' ),
67
- ),
68
- )
69
- );
70
- }
71
-
72
- /**
73
- * Enqueue Gutenberg block assets for both frontend + backend.
74
- *
75
- * @since 1.0.0
76
- */
77
- function block_assets() {
78
- // Styles.
79
- wp_enqueue_style(
80
- 'uagb-block-css', // Handle.
81
- UAGB_URL . 'dist/blocks.style.build.css', // Block style CSS.
82
- UAGB_VER
83
- );
84
-
85
- // Font Awsome.
86
- wp_enqueue_style(
87
- 'uagb-fontawesome-css', // Handle.
88
- 'https://use.fontawesome.com/releases/v5.0.9/css/all.css', // Block style CSS.
89
- UAGB_VER
90
- );
91
-
92
- // Timeline js.
93
- wp_enqueue_script(
94
- 'uabg-timeline-js', // Handle.
95
- UAGB_URL . 'assets/js/timeline.js',
96
- array( 'jquery' ),
97
- UAGB_VER,
98
- true // Enqueue the script in the footer.
99
- );
100
-
101
- } // End function editor_assets().
102
-
103
- /**
104
- * Enqueue Gutenberg block assets for backend editor.
105
- *
106
- * @since 1.0.0
107
- */
108
- function editor_assets() {
109
- // Scripts.
110
- wp_enqueue_script(
111
- 'uagb-block-editor-js', // Handle.
112
- UAGB_URL . 'dist/blocks.build.js',
113
- array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor' ), // Dependencies, defined above.
114
- UAGB_VER,
115
- true // Enqueue the script in the footer.
116
- );
117
-
118
- // Styles.
119
- wp_enqueue_style(
120
- 'uagb-block-editor-css', // Handle.
121
- UAGB_URL . 'dist/blocks.editor.build.css', // Block editor CSS.
122
- array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
123
- UAGB_VER
124
- );
125
-
126
- // Common Editor style.
127
- wp_enqueue_style(
128
- 'uagb-block-common-editor-css', // Handle.
129
- UAGB_URL . 'dist/blocks.commoneditorstyle.build.css', // Block editor CSS.
130
- array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
131
- UAGB_VER
132
- );
133
-
134
- wp_enqueue_script( 'uagb-deactivate-block-js', UAGB_URL . 'dist/blocks-deactivate.js', array( 'wp-blocks' ), UAGB_VER, true );
135
-
136
- $blocks = array();
137
- $saved_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks' );
138
- if ( is_array( $saved_blocks ) ) {
139
-
140
- foreach ( $saved_blocks as $slug => $data ) {
141
-
142
- $_slug = 'uagb/' . $slug;
143
-
144
- if ( isset( $saved_blocks[ $slug ] ) ) {
145
-
146
- if ( 'disabled' === $saved_blocks[ $slug ] ) {
147
- array_push( $blocks, $_slug );
148
- }
149
- }
150
- }
151
- }
152
-
153
- wp_localize_script(
154
- 'uagb-deactivate-block-js',
155
- 'uagb_deactivate_blocks',
156
- array(
157
- 'deactivated_blocks' => $blocks,
158
- )
159
- );
160
-
161
- wp_localize_script(
162
- 'uagb-block-editor-js',
163
- 'uagb_blocks_info',
164
- array(
165
- 'blocks' => UAGB_Config::get_block_attributes(),
166
- 'category' => 'uagb',
167
- )
168
- );
169
-
170
- } // End function editor_assets().
171
-
172
- }
173
-
174
- /**
175
- * Prepare if class 'UAGB_Init_Blocks' exist.
176
- * Kicking this off by calling 'get_instance()' method
177
- */
178
- UAGB_Init_Blocks::get_instance();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Blocks Initializer
4
+ *
5
+ * Enqueue CSS/JS of all the blocks.
6
+ *
7
+ * @since 1.0.0
8
+ * @package UAGB
9
+ */
10
+
11
+ if ( ! defined( 'ABSPATH' ) ) {
12
+ exit; // Exit if accessed directly.
13
+ }
14
+
15
+ /**
16
+ * UAGB_Init_Blocks.
17
+ *
18
+ * @package UAGB
19
+ */
20
+ class UAGB_Init_Blocks {
21
+
22
+ /**
23
+ * Member Variable
24
+ *
25
+ * @var instance
26
+ */
27
+ private static $instance;
28
+
29
+ /**
30
+ * Initiator
31
+ */
32
+ public static function get_instance() {
33
+ if ( ! isset( self::$instance ) ) {
34
+ self::$instance = new self;
35
+ }
36
+ return self::$instance;
37
+ }
38
+
39
+ /**
40
+ * Constructor
41
+ */
42
+ public function __construct() {
43
+
44
+ // Hook: Frontend assets.
45
+ add_action( 'enqueue_block_assets', array( $this, 'block_assets' ) );
46
+
47
+ // Hook: Editor assets.
48
+ add_action( 'enqueue_block_editor_assets', array( $this, 'editor_assets' ) );
49
+
50
+ add_filter( 'block_categories', array( $this, 'register_block_category' ), 10, 2 );
51
+ }
52
+
53
+ /**
54
+ * Gutenberg block category for UAGB.
55
+ *
56
+ * @param array $categories Block categories.
57
+ * @param object $post Post object.
58
+ * @since 1.0.0
59
+ */
60
+ function register_block_category( $categories, $post ) {
61
+ return array_merge(
62
+ $categories,
63
+ array(
64
+ array(
65
+ 'slug' => 'uagb',
66
+ 'title' => __( 'UAGB Blocks', 'ultimate-addons-for-gutenberg' ),
67
+ ),
68
+ )
69
+ );
70
+ }
71
+
72
+ /**
73
+ * Enqueue Gutenberg block assets for both frontend + backend.
74
+ *
75
+ * @since 1.0.0
76
+ */
77
+ function block_assets() {
78
+ // Styles.
79
+ wp_enqueue_style(
80
+ 'uagb-block-css', // Handle.
81
+ UAGB_URL . 'dist/blocks.style.build.css', // Block style CSS.
82
+ UAGB_VER
83
+ );
84
+
85
+ // Font Awsome.
86
+ wp_enqueue_style(
87
+ 'uagb-fontawesome-css', // Handle.
88
+ 'https://use.fontawesome.com/releases/v5.0.9/css/all.css', // Block style CSS.
89
+ UAGB_VER
90
+ );
91
+
92
+ // Scripts.
93
+ wp_enqueue_script(
94
+ 'uagb-slick-js', // Handle.
95
+ UAGB_URL . 'assets/js/slick.min.js',
96
+ array( 'jquery' ), // Dependencies, defined above.
97
+ UAGB_VER,
98
+ false // Enqueue the script in the footer.
99
+ );
100
+
101
+ // Styles.
102
+ wp_enqueue_style(
103
+ 'uagb-slick-css', // Handle.
104
+ UAGB_URL . 'assets/css/slick.min.css', // Block style CSS.
105
+ UAGB_VER
106
+ );
107
+
108
+ // Testimonial Scripts.
109
+ wp_enqueue_script(
110
+ 'uabg-testimonial-js', // Handle.
111
+ UAGB_URL . 'assets/js/testimonial.js',
112
+ array( 'jquery' ),
113
+ UAGB_VER,
114
+ true // Enqueue the script in the footer.
115
+ );
116
+
117
+ // Timeline js.
118
+ wp_enqueue_script(
119
+ 'uabg-timeline-js', // Handle.
120
+ UAGB_URL . 'assets/js/timeline.js',
121
+ array( 'jquery' ),
122
+ UAGB_VER,
123
+ true // Enqueue the script in the footer.
124
+ );
125
+
126
+ } // End function editor_assets().
127
+
128
+ /**
129
+ * Enqueue Gutenberg block assets for backend editor.
130
+ *
131
+ * @since 1.0.0
132
+ */
133
+ function editor_assets() {
134
+ // Scripts.
135
+ wp_enqueue_script(
136
+ 'uagb-block-editor-js', // Handle.
137
+ UAGB_URL . 'dist/blocks.build.js',
138
+ array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor' ), // Dependencies, defined above.
139
+ UAGB_VER,
140
+ true // Enqueue the script in the footer.
141
+ );
142
+
143
+ // Styles.
144
+ wp_enqueue_style(
145
+ 'uagb-block-editor-css', // Handle.
146
+ UAGB_URL . 'dist/blocks.editor.build.css', // Block editor CSS.
147
+ array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
148
+ UAGB_VER
149
+ );
150
+
151
+ // Common Editor style.
152
+ wp_enqueue_style(
153
+ 'uagb-block-common-editor-css', // Handle.
154
+ UAGB_URL . 'dist/blocks.commoneditorstyle.build.css', // Block editor CSS.
155
+ array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
156
+ UAGB_VER
157
+ );
158
+
159
+ wp_enqueue_script( 'uagb-deactivate-block-js', UAGB_URL . 'dist/blocks-deactivate.js', array( 'wp-blocks' ), UAGB_VER, true );
160
+
161
+ $blocks = array();
162
+ $saved_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks' );
163
+ if ( is_array( $saved_blocks ) ) {
164
+
165
+ foreach ( $saved_blocks as $slug => $data ) {
166
+
167
+ $_slug = 'uagb/' . $slug;
168
+
169
+ if ( isset( $saved_blocks[ $slug ] ) ) {
170
+
171
+ if ( 'disabled' === $saved_blocks[ $slug ] ) {
172
+ array_push( $blocks, $_slug );
173
+ }
174
+ }
175
+ }
176
+ }
177
+
178
+ wp_localize_script(
179
+ 'uagb-deactivate-block-js',
180
+ 'uagb_deactivate_blocks',
181
+ array(
182
+ 'deactivated_blocks' => $blocks,
183
+ )
184
+ );
185
+
186
+ wp_localize_script(
187
+ 'uagb-block-editor-js',
188
+ 'uagb_blocks_info',
189
+ array(
190
+ 'blocks' => UAGB_Config::get_block_attributes(),
191
+ 'category' => 'uagb',
192
+ )
193
+ );
194
+
195
+ } // End function editor_assets().
196
+
197
+ }
198
+
199
+ /**
200
+ * Prepare if class 'UAGB_Init_Blocks' exist.
201
+ * Kicking this off by calling 'get_instance()' method
202
+ */
203
+ UAGB_Init_Blocks::get_instance();
classes/class-uagb-loader.php CHANGED
@@ -1,239 +1,239 @@
1
- <?php
2
- /**
3
- * UAGB Loader.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Loader' ) ) {
9
-
10
- /**
11
- * Class UAGB_Loader.
12
- */
13
- final class UAGB_Loader {
14
-
15
- /**
16
- * Member Variable
17
- *
18
- * @var instance
19
- */
20
- private static $instance;
21
-
22
- /**
23
- * Initiator
24
- */
25
- public static function get_instance() {
26
- if ( ! isset( self::$instance ) ) {
27
- self::$instance = new self;
28
- }
29
- return self::$instance;
30
- }
31
-
32
- /**
33
- * Constructor
34
- */
35
- public function __construct() {
36
-
37
- // Activation hook.
38
- register_activation_hook( UAGB_FILE, array( $this, 'activation_reset' ) );
39
-
40
- // deActivation hook.
41
- register_deactivation_hook( UAGB_FILE, array( $this, 'deactivation_reset' ) );
42
-
43
- if ( ! $this->is_gutenberg_active() ) {
44
- /* TO DO */
45
- add_action( 'admin_notices', array( $this, 'uagb_fails_to_load' ) );
46
- return;
47
- }
48
-
49
- $this->define_constants();
50
-
51
- $this->loader();
52
-
53
- add_action( 'plugins_loaded', array( $this, 'load_plugin' ) );
54
- }
55
-
56
- /**
57
- * Loads Other files.
58
- *
59
- * @since 1.0.0
60
- *
61
- * @return void
62
- */
63
- public function loader() {
64
- require( UAGB_DIR . 'classes/class-uagb-helper.php' );
65
- }
66
-
67
- /**
68
- * Defines all constants
69
- *
70
- * @since 1.0.0
71
- */
72
- public function define_constants() {
73
- define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
74
- define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
75
- define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
76
- define( 'UAGB_VER', '1.2.0' );
77
- define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
78
- define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
79
- define( 'UAGB_SLUG', 'uagb' );
80
- define( 'UAGB_CATEGORY', 'Ultimate Addons' );
81
- }
82
-
83
- /**
84
- * Loads plugin files.
85
- *
86
- * @since 1.0.0
87
- *
88
- * @return void
89
- */
90
- function load_plugin() {
91
-
92
- $this->load_textdomain();
93
-
94
- require( UAGB_DIR . 'classes/class-uagb-core-plugin.php' );
95
- require_once UAGB_DIR . 'dist/blocks/post/index.php';
96
-
97
- }
98
-
99
- /**
100
- * Check if Gutenberg is active
101
- *
102
- * @since 1.1.0
103
- *
104
- * @return boolean
105
- */
106
- public function is_gutenberg_active() {
107
- return function_exists( 'register_block_type' );
108
- }
109
-
110
- /**
111
- * Load Ultimate Gutenberg Text Domain.
112
- * This will load the translation textdomain depending on the file priorities.
113
- * 1. Global Languages /wp-content/languages/ultimate-addons-for-gutenberg/ folder
114
- * 2. Local dorectory /wp-content/plugins/ultimate-addons-for-gutenberg/languages/ folder
115
- *
116
- * @since 1.0.0
117
- * @return void
118
- */
119
- public function load_textdomain() {
120
- // Default languages directory for "ultimate-addons-for-gutenberg".
121
- $lang_dir = UAGB_DIR . 'languages/';
122
-
123
- /**
124
- * Filters the languages directory path to use for AffiliateWP.
125
- *
126
- * @param string $lang_dir The languages directory path.
127
- */
128
- $lang_dir = apply_filters( 'uagb_languages_directory', $lang_dir );
129
-
130
- // Traditional WordPress plugin locale filter.
131
- global $wp_version;
132
-
133
- $get_locale = get_locale();
134
-
135
- if ( $wp_version >= 4.7 ) {
136
- $get_locale = get_user_locale();
137
- }
138
-
139
- /**
140
- * Language Locale for Ultimate Gutenberg
141
- *
142
- * @var $get_locale The locale to use. Uses get_user_locale()` in WordPress 4.7 or greater,
143
- * otherwise uses `get_locale()`.
144
- */
145
- $locale = apply_filters( 'plugin_locale', $get_locale, 'ultimate-addons-for-gutenberg' );
146
- $mofile = sprintf( '%1$s-%2$s.mo', 'ultimate-addons-for-gutenberg', $locale );
147
-
148
- // Setup paths to current locale file.
149
- $mofile_local = $lang_dir . $mofile;
150
- $mofile_global = WP_LANG_DIR . '/ultimate-addons-for-gutenberg/' . $mofile;
151
-
152
- if ( file_exists( $mofile_global ) ) {
153
- // Look in global /wp-content/languages/ultimate-addons-for-gutenberg/ folder.
154
- load_textdomain( 'ultimate-addons-for-gutenberg', $mofile_global );
155
- } elseif ( file_exists( $mofile_local ) ) {
156
- // Look in local /wp-content/plugins/ultimate-addons-for-gutenberg/languages/ folder.
157
- load_textdomain( 'ultimate-addons-for-gutenberg', $mofile_local );
158
- } else {
159
- // Load the default language files.
160
- load_plugin_textdomain( 'ultimate-addons-for-gutenberg', false, $lang_dir );
161
- }
162
- }
163
-
164
- /**
165
- * Fires admin notice when Gutenberg is not installed and activated.
166
- *
167
- * @since 1.0.0
168
- *
169
- * @return void
170
- */
171
- public function uagb_fails_to_load() {
172
- $class = 'notice notice-error';
173
- /* translators: %s: html tags */
174
- $message = sprintf( __( 'The %1$sUltimate Addon for Gutenberg%2$s plugin requires %1$sGutenberg%2$s plugin installed & activated.', 'ultimate-addons-for-gutenberg' ), '<strong>', '</strong>' );
175
-
176
- $plugin = 'gutenberg/gutenberg.php';
177
-
178
- if ( _is_gutenberg_installed( $plugin ) ) {
179
- if ( ! current_user_can( 'activate_plugins' ) ) {
180
- return;
181
- }
182
-
183
- $action_url = wp_nonce_url( 'plugins.php?action=activate&amp;plugin=' . $plugin . '&amp;plugin_status=all&amp;paged=1&amp;s', 'activate-plugin_' . $plugin );
184
- $button_label = __( 'Activate Gutenberg', 'ultimate-addons-for-gutenberg' );
185
-
186
- } else {
187
- if ( ! current_user_can( 'install_plugins' ) ) {
188
- return;
189
- }
190
-
191
- $action_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=gutenberg' ), 'install-plugin_gutenberg' );
192
- $button_label = __( 'Install Gutenberg', 'ultimate-addons-for-gutenberg' );
193
- }
194
-
195
- $button = '<p><a href="' . $action_url . '" class="button-primary">' . $button_label . '</a></p><p></p>';
196
-
197
- printf( '<div class="%1$s"><p>%2$s</p>%3$s</div>', esc_attr( $class ), $message, $button );
198
- }
199
-
200
- /**
201
- * Activation Reset
202
- */
203
- function activation_reset() {
204
- }
205
-
206
- /**
207
- * Deactivation Reset
208
- */
209
- function deactivation_reset() {
210
- }
211
- }
212
-
213
- /**
214
- * Prepare if class 'UAGB_Loader' exist.
215
- * Kicking this off by calling 'get_instance()' method
216
- */
217
- UAGB_Loader::get_instance();
218
- }
219
-
220
- /**
221
- * Is Gutenberg plugin installed.
222
- */
223
- if ( ! function_exists( '_is_gutenberg_installed' ) ) {
224
-
225
- /**
226
- * Check if Gutenberg Pro is installed
227
- *
228
- * @since 1.0.0
229
- *
230
- * @param string $plugin_path Plugin path.
231
- * @return boolean true | false
232
- * @access public
233
- */
234
- function _is_gutenberg_installed( $plugin_path ) {
235
- $plugins = get_plugins();
236
-
237
- return isset( $plugins[ $plugin_path ] );
238
- }
239
- }
1
+ <?php
2
+ /**
3
+ * UAGB Loader.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! class_exists( 'UAGB_Loader' ) ) {
9
+
10
+ /**
11
+ * Class UAGB_Loader.
12
+ */
13
+ final class UAGB_Loader {
14
+
15
+ /**
16
+ * Member Variable
17
+ *
18
+ * @var instance
19
+ */
20
+ private static $instance;
21
+
22
+ /**
23
+ * Initiator
24
+ */
25
+ public static function get_instance() {
26
+ if ( ! isset( self::$instance ) ) {
27
+ self::$instance = new self;
28
+ }
29
+ return self::$instance;
30
+ }
31
+
32
+ /**
33
+ * Constructor
34
+ */
35
+ public function __construct() {
36
+
37
+ // Activation hook.
38
+ register_activation_hook( UAGB_FILE, array( $this, 'activation_reset' ) );
39
+
40
+ // deActivation hook.
41
+ register_deactivation_hook( UAGB_FILE, array( $this, 'deactivation_reset' ) );
42
+
43
+ if ( ! $this->is_gutenberg_active() ) {
44
+ /* TO DO */
45
+ add_action( 'admin_notices', array( $this, 'uagb_fails_to_load' ) );
46
+ return;
47
+ }
48
+
49
+ $this->define_constants();
50
+
51
+ $this->loader();
52
+
53
+ add_action( 'plugins_loaded', array( $this, 'load_plugin' ) );
54
+ }
55
+
56
+ /**
57
+ * Loads Other files.
58
+ *
59
+ * @since 1.0.0
60
+ *
61
+ * @return void
62
+ */
63
+ public function loader() {
64
+ require( UAGB_DIR . 'classes/class-uagb-helper.php' );
65
+ }
66
+
67
+ /**
68
+ * Defines all constants
69
+ *
70
+ * @since 1.0.0
71
+ */
72
+ public function define_constants() {
73
+ define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
74
+ define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
75
+ define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
76
+ define( 'UAGB_VER', '1.3.0' );
77
+ define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
78
+ define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
79
+ define( 'UAGB_SLUG', 'uagb' );
80
+ define( 'UAGB_CATEGORY', 'Ultimate Addons' );
81
+ }
82
+
83
+ /**
84
+ * Loads plugin files.
85
+ *
86
+ * @since 1.0.0
87
+ *
88
+ * @return void
89
+ */
90
+ function load_plugin() {
91
+
92
+ $this->load_textdomain();
93
+
94
+ require( UAGB_DIR . 'classes/class-uagb-core-plugin.php' );
95
+ require_once UAGB_DIR . 'dist/blocks/post/index.php';
96
+
97
+ }
98
+
99
+ /**
100
+ * Check if Gutenberg is active
101
+ *
102
+ * @since 1.1.0
103
+ *
104
+ * @return boolean
105
+ */
106
+ public function is_gutenberg_active() {
107
+ return function_exists( 'register_block_type' );
108
+ }
109
+
110
+ /**
111
+ * Load Ultimate Gutenberg Text Domain.
112
+ * This will load the translation textdomain depending on the file priorities.
113
+ * 1. Global Languages /wp-content/languages/ultimate-addons-for-gutenberg/ folder
114
+ * 2. Local dorectory /wp-content/plugins/ultimate-addons-for-gutenberg/languages/ folder
115
+ *
116
+ * @since 1.0.0
117
+ * @return void
118
+ */
119
+ public function load_textdomain() {
120
+ // Default languages directory for "ultimate-addons-for-gutenberg".
121
+ $lang_dir = UAGB_DIR . 'languages/';
122
+
123
+ /**
124
+ * Filters the languages directory path to use for AffiliateWP.
125
+ *
126
+ * @param string $lang_dir The languages directory path.
127
+ */
128
+ $lang_dir = apply_filters( 'uagb_languages_directory', $lang_dir );
129
+
130
+ // Traditional WordPress plugin locale filter.
131
+ global $wp_version;
132
+
133
+ $get_locale = get_locale();
134
+
135
+ if ( $wp_version >= 4.7 ) {
136
+ $get_locale = get_user_locale();
137
+ }
138
+
139
+ /**
140
+ * Language Locale for Ultimate Gutenberg
141
+ *
142
+ * @var $get_locale The locale to use. Uses get_user_locale()` in WordPress 4.7 or greater,
143
+ * otherwise uses `get_locale()`.
144
+ */
145
+ $locale = apply_filters( 'plugin_locale', $get_locale, 'ultimate-addons-for-gutenberg' );
146
+ $mofile = sprintf( '%1$s-%2$s.mo', 'ultimate-addons-for-gutenberg', $locale );
147
+
148
+ // Setup paths to current locale file.
149
+ $mofile_local = $lang_dir . $mofile;
150
+ $mofile_global = WP_LANG_DIR . '/ultimate-addons-for-gutenberg/' . $mofile;
151
+
152
+ if ( file_exists( $mofile_global ) ) {
153
+ // Look in global /wp-content/languages/ultimate-addons-for-gutenberg/ folder.
154
+ load_textdomain( 'ultimate-addons-for-gutenberg', $mofile_global );
155
+ } elseif ( file_exists( $mofile_local ) ) {
156
+ // Look in local /wp-content/plugins/ultimate-addons-for-gutenberg/languages/ folder.
157
+ load_textdomain( 'ultimate-addons-for-gutenberg', $mofile_local );
158
+ } else {
159
+ // Load the default language files.
160
+ load_plugin_textdomain( 'ultimate-addons-for-gutenberg', false, $lang_dir );
161
+ }
162
+ }
163
+
164
+ /**
165
+ * Fires admin notice when Gutenberg is not installed and activated.
166
+ *
167
+ * @since 1.0.0
168
+ *
169
+ * @return void
170
+ */
171
+ public function uagb_fails_to_load() {
172
+ $class = 'notice notice-error';
173
+ /* translators: %s: html tags */
174
+ $message = sprintf( __( 'The %1$sUltimate Addon for Gutenberg%2$s plugin requires %1$sGutenberg%2$s plugin installed & activated.', 'ultimate-addons-for-gutenberg' ), '<strong>', '</strong>' );
175
+
176
+ $plugin = 'gutenberg/gutenberg.php';
177
+
178
+ if ( _is_gutenberg_installed( $plugin ) ) {
179
+ if ( ! current_user_can( 'activate_plugins' ) ) {
180
+ return;
181
+ }
182
+
183
+ $action_url = wp_nonce_url( 'plugins.php?action=activate&amp;plugin=' . $plugin . '&amp;plugin_status=all&amp;paged=1&amp;s', 'activate-plugin_' . $plugin );
184
+ $button_label = __( 'Activate Gutenberg', 'ultimate-addons-for-gutenberg' );
185
+
186
+ } else {
187
+ if ( ! current_user_can( 'install_plugins' ) ) {
188
+ return;
189
+ }
190
+
191
+ $action_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=gutenberg' ), 'install-plugin_gutenberg' );
192
+ $button_label = __( 'Install Gutenberg', 'ultimate-addons-for-gutenberg' );
193
+ }
194
+
195
+ $button = '<p><a href="' . $action_url . '" class="button-primary">' . $button_label . '</a></p><p></p>';
196
+
197
+ printf( '<div class="%1$s"><p>%2$s</p>%3$s</div>', esc_attr( $class ), $message, $button );
198
+ }
199
+
200
+ /**
201
+ * Activation Reset
202
+ */
203
+ function activation_reset() {
204
+ }
205
+
206
+ /**
207
+ * Deactivation Reset
208
+ */
209
+ function deactivation_reset() {
210
+ }
211
+ }
212
+
213
+ /**
214
+ * Prepare if class 'UAGB_Loader' exist.
215
+ * Kicking this off by calling 'get_instance()' method
216
+ */
217
+ UAGB_Loader::get_instance();
218
+ }
219
+
220
+ /**
221
+ * Is Gutenberg plugin installed.
222
+ */
223
+ if ( ! function_exists( '_is_gutenberg_installed' ) ) {
224
+
225
+ /**
226
+ * Check if Gutenberg Pro is installed
227
+ *
228
+ * @since 1.0.0
229
+ *
230
+ * @param string $plugin_path Plugin path.
231
+ * @return boolean true | false
232
+ * @access public
233
+ */
234
+ function _is_gutenberg_installed( $plugin_path ) {
235
+ $plugins = get_plugins();
236
+
237
+ return isset( $plugins[ $plugin_path ] );
238
+ }
239
+ }
dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=84)}([function(e,t,n){var a,r;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var r=typeof a;if("string"===r||"number"===r)e.push(a);else if(Array.isArray(a)&&a.length){var i=n.apply(null,a);i&&e.push(i)}else if("object"===r)for(var l in a)o.call(a,l)&&a[l]&&e.push(l)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(a=[],void 0!==(r=function(){return n}.apply(t,a))&&(e.exports=r))}()},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function r(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(f===clearTimeout)return clearTimeout(e);if((f===a||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function i(){h&&d&&(h=!1,d.length?m=d.concat(m):g=-1,m.length&&l())}function l(){if(!h){var e=r(i);h=!0;for(var t=m.length;t;){for(d=m,m=[];++g<t;)d&&d[g].run();g=-1,t=m.length}d=null,h=!1,o(e)}}function u(e,t){this.fun=e,this.array=t}function s(){}var c,f,p=e.exports={};!function(){try{c="function"===typeof setTimeout?setTimeout:n}catch(e){c=n}try{f="function"===typeof clearTimeout?clearTimeout:a}catch(e){f=a}}();var d,m=[],h=!1,g=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new u(e,t)),1!==m.length||h||r(l)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=s,p.addListener=s,p.once=s,p.off=s,p.removeListener=s,p.removeAllListeners=s,p.emit=s,p.prependListener=s,p.prependOnceListener=s,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";var a=wp.element.createElement,r={section:a("svg",{width:20,height:20},a("path",{d:"M20 18.008h-20v-16.016h20v16.016zM1.172 16.836h17.656v-13.672h-17.656v13.672z"}),a("path",{d:"M7.617 4.604h4.766v1.172h-4.766v-1.172z"}),a("path",{d:"M8.998 14.385h-6.237v-6.238h6.238v6.238zM3.932 13.213h3.894v-3.894h-3.894v3.894z"}),a("path",{d:"M17.24 11.852h-6.237v-3.705h6.238v3.705zM12.174 10.68h3.894v-1.361h-3.894v1.361z"}),a("path",{d:"M11.588 13.024h5.066v1.172h-5.066v-1.172z"})),buttons:a("svg",{width:20,height:20},a("path",{d:"M20 18.008h-20v-16.016h20v16.016zM1.172 16.836h17.656v-13.672h-17.656v13.672z"}),a("path",{d:"M10.758 6.289h-7.421v7.421l12.987 0.001v-7.422h-5.566zM5.192 11.855v-3.711h3.711v3.711h-3.711zM14.469 11.855h-3.711v-3.711h3.711v3.711z"})),advanced_heading:a("svg",{width:20,height:20},a("path",{d:"M0 18h20v2h-20v-2z"}),a("path",{d:"M11 0h-2l-7.25 16h2.25l2.21-5h7.59l2.2 5h2.25l-7.25-16zM7.090 9l2.91-6.59 2.91 6.59h-5.82z"})),google_map:a("svg",{width:20,height:20},a("path",{d:"M10 0c-4.112 0-7.458 3.347-7.458 7.461 0 6.13 6.716 12.115 7.002 12.367 0.131 0.115 0.293 0.172 0.456 0.172s0.326-0.058 0.456-0.172c0.286-0.252 7.002-6.237 7.002-12.367 0-4.114-3.345-7.461-7.458-7.461v0zM10 18.363c-1.485-1.439-6.077-6.265-6.077-10.902 0-3.353 2.726-6.080 6.077-6.080s6.077 2.728 6.077 6.080c0 4.637-4.592 9.463-6.077 10.902v0z"}),a("path",{d:"M10 3.986c-1.904 0-3.453 1.559-3.453 3.475s1.549 3.476 3.453 3.476c1.904 0 3.453-1.559 3.453-3.476s-1.549-3.475-3.453-3.475v0zM10 9.555c-1.142 0-2.071-0.939-2.071-2.094s0.929-2.095 2.071-2.095 2.072 0.94 2.072 2.095c0 1.155-0.93 2.094-2.072 2.094v0z"})),info_box:a("svg",{width:20,height:20},a("path",{d:"M0 1.992v16.016h20v-16.016h-20zM11.406 16.836h-10.234v-10.898h10.234v10.898zM18.828 16.836h-6.25v-2.852h6.25v2.852zM18.828 12.813h-6.25v-6.875h6.25v6.875zM1.172 4.766v-1.602h17.656v1.602h-17.656z"}),a("path",{d:"M2.652 15.325h7.274v-7.877h-7.274v7.877zM3.824 8.62h4.931v5.534h-4.931v-5.534z"}),a("path",{d:"M13.486 10.13h4.434v1.172h-4.434v-1.172z"}),a("path",{d:"M13.486 7.448h4.434v1.172h-4.434v-1.172z"})),post_carousel:a("svg",{width:20,height:20},a("path",{d:"M7.554 12.936h4.893v-5.871h-4.893v5.871zM8.888 8.399h2.224v3.202h-2.224v-3.202z"}),a("path",{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"}),a("path",{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"}),a("path",{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"})),post_masonry:a("svg",{width:20,height:20},a("path",{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"})),post_grid:a("svg",{width:20,height:20},a("path",{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"})),testimonial:a("svg",{width:20,height:20},a("path",{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"}),a("path",{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"}),a("path",{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"})),cf7_styler:a("svg",{width:20,height:20},a("path",{d:"M0 2.969v14.063h20v-14.063h-20zM18.828 15.859h-17.656v-11.719h17.656v11.719z"}),a("path",{d:"M11.758 13.516h5.898v1.172h-5.898v-1.172z"}),a("path",{d:"M11.758 11.172h5.898v1.172h-5.898v-1.172z"}),a("path",{d:"M11.758 8.828h5.898v1.172h-5.898v-1.172z"}),a("path",{d:"M11.758 6.484h3.555v1.172h-3.555v-1.172z"}),a("path",{d:"M16.484 6.484h1.172v1.172h-1.172v-1.172z"}),a("path",{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"})),content_timeline:a("svg",{width:20,height:20},a("path",{d:"M9.375 0h1.25v20h-1.25v-20z"}),a("path",{d:"M1.875 3.125h5v2.5h-5v-2.5zM0.625 6.875h7.5v-5h-7.5v5z"}),a("path",{d:"M1.875 14.592h5v2.5h-5v-2.5zM0.625 18.342h7.5v-5h-7.5v5z"}),a("path",{d:"M18.125 11.25h-5v-2.5h5v2.5zM11.875 7.5v5h7.5v-5h-7.5z"})),post_timeline:a("svg",{width:20,height:20},a("path",{d:"M7.048 8.364c-0.001 0.019-0.001 0.037 0 0.056 0.016 0.286 0.26 0.505 0.545 0.489h9.134c0.019 0.001 0.037 0.001 0.056 0 0.286-0.015 0.505-0.26 0.489-0.545v-5.453c0.001-0.019 0.001-0.037 0-0.056-0.016-0.286-0.26-0.505-0.545-0.489h-9.134c-0.019-0.001-0.037-0.001-0.056 0-0.286 0.015-0.505 0.26-0.489 0.545v5.453zM8.138 3.456h8.044v4.363h-8.044v-4.363z"}),a("path",{d:"M19.999 17.089v-5.453c0.001-0.019 0.001-0.037 0-0.056-0.015-0.286-0.26-0.505-0.545-0.489h-11.861c-0.019-0.001-0.037-0.001-0.056 0-0.286 0.015-0.505 0.26-0.489 0.545v5.453c-0.001 0.019-0.001 0.037 0 0.056 0.016 0.286 0.26 0.505 0.545 0.489h11.861c0.019 0.001 0.037 0.001 0.056 0 0.286-0.016 0.505-0.26 0.489-0.546zM18.909 16.544h-10.77v-4.363h10.77v4.363z"}),a("path",{d:"M4.754 4.795c-0.286-1.279-1.554-2.083-2.833-1.797-1.083 0.242-1.853 1.203-1.854 2.312-0.028 1.102 0.725 2.071 1.8 2.318v4.417c-1.28 0.279-2.091 1.543-1.812 2.823 0.198 0.906 0.906 1.614 1.812 1.812h1.091c1.080-0.245 1.841-1.211 1.827-2.318 0.014-1.107-0.747-2.073-1.827-2.318v-4.417c1.279-0.286 2.083-1.555 1.797-2.833zM3.722 14.362c0 0.708-0.573 1.282-1.281 1.282-0 0-0.001 0-0.002 0-0.697-0.015-1.254-0.584-1.254-1.281s0.557-1.267 1.254-1.282c0.708-0.001 1.282 0.573 1.282 1.281zM2.44 6.592c-0.697-0.015-1.254-0.584-1.254-1.281s0.557-1.267 1.254-1.281c0.712-0 1.294 0.569 1.309 1.281-0.015 0.712-0.597 1.282-1.309 1.281z"}),a("path",{d:"M9.229 5.365h3.136c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-3.136c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"}),a("path",{d:"M15.091 5.91h-5.862c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.546 0.545 0.546h5.863c0.301 0 0.545-0.244 0.545-0.546s-0.245-0.545-0.546-0.545z"}),a("path",{d:"M9.229 14.090h3.136c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-3.136c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"}),a("path",{d:"M9.229 15.726h5.863c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-5.863c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"})),icon_list:a("svg",{width:20,height:20},a("path",{d:"M1.44 15.48c-0.76 0-1.44 0.64-1.44 1.4s0.68 1.44 1.44 1.44 1.4-0.68 1.4-1.44c0-0.76-0.64-1.4-1.4-1.4v0z"}),a("path",{d:"M1.44 8.6c-0.76 0-1.44 0.64-1.44 1.4s0.68 1.4 1.44 1.4 1.4-0.64 1.4-1.4c0-0.76-0.64-1.4-1.4-1.4v0z"}),a("path",{d:"M6.56 4.4h12.12c0.72 0 1.32-0.56 1.32-1.28s-0.6-1.32-1.32-1.32h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.28 1.32 1.28v0z"}),a("path",{d:"M1.44 1.68c-0.76 0-1.44 0.68-1.44 1.44s0.68 1.4 1.44 1.4 1.4-0.64 1.4-1.4-0.64-1.44-1.4-1.44v0z"}),a("path",{d:"M18.68 8.68h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.32 1.32 1.32h12.12c0.72 0 1.32-0.6 1.32-1.32s-0.6-1.32-1.32-1.32v0z"}),a("path",{d:"M18.68 15.56h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.32 1.32 1.32h12.12c0.72 0 1.32-0.6 1.32-1.32s-0.6-1.32-1.32-1.32v0z"})),team:a("svg",{width:20,height:20},a("path",{d:"M20 14.124c0-1.17-0.35-2.3-1.013-3.268-0.477-0.696-1.091-1.274-1.803-1.703 0.838-0.794 1.362-1.915 1.362-3.158 0-2.399-1.952-4.351-4.351-4.351-1.423 0-2.755 0.704-3.565 1.859-0.206-0.030-0.416-0.046-0.63-0.046s-0.424 0.016-0.63 0.046c-0.81-1.155-2.142-1.859-3.565-1.859-2.399 0-4.351 1.952-4.351 4.351 0 1.242 0.524 2.364 1.362 3.158-0.712 0.429-1.326 1.008-1.803 1.703-0.663 0.968-1.014 2.098-1.014 3.268v2.42h4.195v1.813h11.611v-1.813h4.194v-2.42h-0zM14.195 2.717c1.807 0 3.277 1.47 3.277 3.278s-1.47 3.277-3.277 3.277c-0.032 0-0.065-0-0.097-0.001 0.002-0.007 0.005-0.014 0.007-0.021 0.056-0.159 0.102-0.322 0.14-0.488 0.003-0.012 0.006-0.024 0.008-0.035 0.010-0.045 0.018-0.090 0.027-0.136 0.004-0.021 0.008-0.043 0.012-0.064 0.007-0.041 0.013-0.081 0.018-0.122 0.004-0.029 0.008-0.057 0.011-0.085 0.004-0.036 0.009-0.072 0.012-0.109s0.006-0.074 0.008-0.111c0.002-0.029 0.004-0.059 0.006-0.088 0.003-0.063 0.004-0.127 0.005-0.19 0-0.004 0-0.009 0-0.014 0-0.002-0-0.005-0-0.007 0-0.065-0.002-0.129-0.005-0.193-0.001-0.019-0.002-0.037-0.003-0.056-0.003-0.054-0.007-0.109-0.012-0.163-0.001-0.012-0.002-0.024-0.004-0.037-0.162-1.568-1.153-2.911-2.582-3.531 0.616-0.692 1.507-1.103 2.45-1.103v0zM8.866 4.732c0.010-0.004 0.021-0.008 0.031-0.011 0.033-0.012 0.066-0.023 0.099-0.033 0.025-0.008 0.050-0.016 0.075-0.023 0.018-0.005 0.037-0.011 0.055-0.016 0.033-0.009 0.066-0.018 0.1-0.026 0.248-0.060 0.507-0.093 0.773-0.093s0.525 0.033 0.773 0.094c0.033 0.008 0.066 0.017 0.099 0.026 0.019 0.005 0.038 0.010 0.056 0.016 0.025 0.007 0.050 0.015 0.075 0.023 0.033 0.011 0.066 0.022 0.1 0.034 0.010 0.004 0.020 0.007 0.030 0.011 1.096 0.405 1.918 1.381 2.104 2.565 0.002 0.009 0.003 0.019 0.004 0.028 0.006 0.040 0.011 0.080 0.015 0.121 0.002 0.015 0.003 0.030 0.005 0.045 0.004 0.037 0.006 0.074 0.009 0.112 0.001 0.016 0.002 0.032 0.003 0.048 0.002 0.048 0.003 0.096 0.004 0.144 0 0.004 0 0.008 0 0.012 0 0.002-0 0.004-0 0.006 0 0.047-0.002 0.093-0.003 0.139-0.001 0.015-0.001 0.029-0.002 0.044-0.002 0.045-0.006 0.089-0.010 0.133-0.002 0.017-0.004 0.034-0.006 0.051-0.003 0.029-0.007 0.057-0.011 0.085-0.003 0.022-0.006 0.044-0.010 0.066-0.005 0.033-0.011 0.066-0.018 0.1-0.006 0.029-0.012 0.059-0.019 0.088-0.004 0.018-0.008 0.035-0.012 0.053-0.010 0.044-0.022 0.087-0.034 0.13-0.005 0.017-0.010 0.034-0.014 0.051-0.008 0.025-0.016 0.049-0.024 0.074-0.006 0.020-0.013 0.039-0.020 0.058-0.007 0.022-0.015 0.044-0.023 0.066-0.014 0.037-0.029 0.074-0.044 0.111-0.007 0.016-0.014 0.032-0.021 0.049-0.013 0.031-0.027 0.061-0.041 0.091l-0.005 0.011c-0.005 0.011-0.010 0.021-0.015 0.032-0.016 0.032-0.032 0.064-0.049 0.096-0.007 0.012-0.013 0.025-0.020 0.037-0 0.001-0.001 0.002-0.001 0.002-0.019 0.034-0.038 0.067-0.058 0.1-0.008 0.013-0.016 0.026-0.024 0.039-0.021 0.035-0.044 0.070-0.066 0.103-0.014 0.021-0.029 0.042-0.043 0.063-0.013 0.018-0.025 0.035-0.038 0.052-0.017 0.023-0.033 0.045-0.050 0.067-0.012 0.015-0.023 0.030-0.035 0.045-0.018 0.022-0.036 0.045-0.055 0.067-0.012 0.014-0.023 0.027-0.035 0.041-0.020 0.022-0.039 0.044-0.059 0.066-0.012 0.013-0.024 0.025-0.036 0.038-0.032 0.034-0.065 0.067-0.099 0.1-0.020 0.019-0.040 0.039-0.061 0.058-0.014 0.013-0.029 0.026-0.043 0.038-0.024 0.021-0.047 0.041-0.071 0.062-0.012 0.011-0.025 0.021-0.037 0.031-0.029 0.024-0.059 0.047-0.089 0.070-0.008 0.006-0.016 0.012-0.025 0.019-0.545 0.405-1.221 0.646-1.951 0.646s-1.406-0.24-1.951-0.646c-0.008-0.006-0.016-0.012-0.024-0.018-0.030-0.023-0.060-0.046-0.089-0.070-0.012-0.010-0.025-0.020-0.037-0.030-0.024-0.021-0.048-0.041-0.072-0.062-0.014-0.013-0.029-0.025-0.043-0.038-0.021-0.019-0.041-0.038-0.061-0.058-0.034-0.033-0.067-0.066-0.1-0.101-0.012-0.012-0.024-0.025-0.036-0.037-0.020-0.022-0.039-0.044-0.058-0.066-0.012-0.013-0.024-0.027-0.035-0.040-0.019-0.022-0.037-0.045-0.055-0.067-0.012-0.015-0.024-0.030-0.035-0.045-0.017-0.022-0.034-0.044-0.050-0.067-0.013-0.017-0.025-0.035-0.037-0.053-0.015-0.021-0.029-0.041-0.044-0.062-0.023-0.034-0.045-0.069-0.066-0.104-0.008-0.013-0.016-0.026-0.023-0.039-0.020-0.034-0.040-0.067-0.058-0.102-0.007-0.013-0.013-0.025-0.020-0.038-0.017-0.032-0.034-0.064-0.050-0.096-0.006-0.012-0.011-0.023-0.017-0.035-0.001-0.002-0.002-0.003-0.003-0.005-0.015-0.031-0.029-0.063-0.043-0.095-0.007-0.015-0.013-0.030-0.020-0.046-0.015-0.038-0.030-0.075-0.045-0.113-0.008-0.021-0.015-0.041-0.022-0.062s-0.015-0.043-0.022-0.064c-0.008-0.023-0.015-0.046-0.022-0.069-0.010-0.035-0.020-0.070-0.030-0.105-0.007-0.025-0.013-0.049-0.019-0.074-0.005-0.020-0.009-0.039-0.014-0.059-0.005-0.024-0.011-0.048-0.016-0.073-0.007-0.038-0.014-0.076-0.020-0.114-0.003-0.020-0.006-0.041-0.009-0.062-0.004-0.030-0.008-0.061-0.012-0.092-0.002-0.015-0.004-0.030-0.005-0.046-0.004-0.046-0.008-0.091-0.010-0.137-0.001-0.013-0.001-0.026-0.002-0.039-0.002-0.049-0.004-0.098-0.004-0.148 0-0.053 0.002-0.105 0.004-0.158 0-0.014 0.002-0.028 0.003-0.042 0.002-0.039 0.005-0.079 0.009-0.118 0.001-0.014 0.003-0.027 0.004-0.041 0.005-0.042 0.010-0.084 0.016-0.126 0.001-0.008 0.002-0.016 0.004-0.024 0.186-1.185 1.008-2.161 2.105-2.566v0zM2.528 5.995c0-1.807 1.47-3.278 3.277-3.278 0.943 0 1.834 0.411 2.45 1.103-1.43 0.621-2.421 1.964-2.582 3.533-0.001 0.011-0.002 0.021-0.003 0.032-0.005 0.056-0.009 0.112-0.013 0.168-0.001 0.017-0.002 0.034-0.003 0.052-0.003 0.067-0.005 0.135-0.005 0.202s0.002 0.137 0.005 0.205c0.001 0.027 0.003 0.055 0.005 0.082 0.003 0.039 0.005 0.079 0.009 0.118 0.003 0.035 0.007 0.070 0.011 0.104 0.004 0.030 0.007 0.060 0.012 0.090 0.005 0.040 0.011 0.079 0.018 0.118 0.004 0.023 0.008 0.046 0.013 0.070 0.008 0.044 0.016 0.088 0.025 0.131 0.003 0.014 0.007 0.028 0.010 0.043 0.036 0.161 0.082 0.319 0.136 0.473 0.003 0.010 0.007 0.020 0.010 0.030-0.032 0.001-0.065 0.001-0.097 0.001-1.807-0-3.277-1.47-3.277-3.277v0zM5.095 12.841c-0.012 0.019-0.023 0.038-0.035 0.056-0.025 0.040-0.049 0.079-0.072 0.12-0.013 0.022-0.026 0.045-0.039 0.067-0.021 0.037-0.042 0.075-0.062 0.112-0.013 0.024-0.025 0.047-0.038 0.071-0.019 0.037-0.039 0.075-0.057 0.113-0.012 0.024-0.024 0.048-0.035 0.071-0.019 0.040-0.037 0.080-0.055 0.12-0.010 0.022-0.020 0.044-0.030 0.065-0.021 0.048-0.041 0.097-0.060 0.145-0.006 0.014-0.012 0.028-0.018 0.043-0.025 0.063-0.048 0.127-0.071 0.191-0.005 0.015-0.010 0.029-0.015 0.044-0.017 0.049-0.034 0.098-0.049 0.148-0.007 0.023-0.014 0.046-0.021 0.069-0.013 0.042-0.025 0.084-0.037 0.127-0.007 0.025-0.014 0.051-0.020 0.076-0.010 0.041-0.021 0.082-0.030 0.122-0.006 0.026-0.012 0.052-0.018 0.078-0.009 0.041-0.018 0.083-0.026 0.125-0.005 0.025-0.010 0.050-0.015 0.075-0.008 0.046-0.016 0.091-0.023 0.137-0.003 0.021-0.007 0.043-0.011 0.064-0.010 0.067-0.019 0.134-0.027 0.202 0 0.001-0 0.002-0 0.002-0.007 0.062-0.013 0.123-0.018 0.185h-3.139v-1.346c0-1.839 1.057-3.491 2.714-4.276 0.604 0.317 1.29 0.498 2.017 0.498 0.211 0 0.422-0.015 0.631-0.046 0.033 0.047 0.066 0.093 0.1 0.138 0.012 0.015 0.024 0.030 0.036 0.045 0.034 0.043 0.068 0.086 0.104 0.128 0.014 0.017 0.029 0.034 0.044 0.051 0.033 0.038 0.067 0.076 0.102 0.113 0.018 0.020 0.036 0.039 0.055 0.058 0.031 0.032 0.064 0.065 0.096 0.096 0.012 0.012 0.024 0.024 0.036 0.036-0.047 0.028-0.093 0.057-0.139 0.087-0.008 0.005-0.015 0.010-0.022 0.015-0.046 0.030-0.091 0.060-0.136 0.091-0.016 0.011-0.031 0.021-0.046 0.032-0.040 0.028-0.079 0.057-0.119 0.086-0.012 0.009-0.025 0.018-0.037 0.028-0.050 0.038-0.099 0.076-0.148 0.116-0.011 0.008-0.021 0.017-0.032 0.026-0.039 0.032-0.077 0.064-0.115 0.097-0.015 0.013-0.029 0.025-0.044 0.038-0.038 0.034-0.075 0.067-0.113 0.102-0.010 0.009-0.020 0.018-0.029 0.027-0.046 0.043-0.091 0.087-0.135 0.131-0.012 0.012-0.023 0.023-0.034 0.035-0.034 0.035-0.067 0.070-0.1 0.105-0.013 0.014-0.026 0.028-0.039 0.043-0.037 0.041-0.074 0.081-0.11 0.123-0.006 0.006-0.012 0.013-0.017 0.019-0.041 0.048-0.081 0.097-0.121 0.146-0.011 0.014-0.022 0.028-0.033 0.042-0.029 0.038-0.059 0.076-0.088 0.115-0.011 0.015-0.023 0.030-0.034 0.045-0.038 0.052-0.075 0.104-0.111 0.157-0.039 0.057-0.076 0.114-0.113 0.172v0zM5.268 17.283v-1.346c0-0.060 0.001-0.119 0.003-0.178 0.001-0.020 0.002-0.039 0.003-0.058 0.002-0.039 0.004-0.079 0.007-0.118 0.002-0.024 0.004-0.048 0.007-0.071 0.003-0.035 0.006-0.070 0.010-0.104 0.003-0.025 0.007-0.050 0.010-0.076 0.004-0.033 0.008-0.065 0.013-0.098 0.004-0.026 0.009-0.052 0.013-0.078 0.005-0.031 0.010-0.063 0.016-0.094 0.005-0.027 0.011-0.053 0.016-0.079 0.006-0.030 0.012-0.061 0.019-0.091 0.006-0.027 0.013-0.053 0.019-0.079 0.007-0.030 0.014-0.059 0.022-0.089 0.007-0.027 0.015-0.053 0.023-0.080 0.008-0.029 0.016-0.058 0.025-0.086 0.008-0.027 0.017-0.053 0.026-0.079 0.009-0.028 0.018-0.056 0.028-0.084 0.009-0.026 0.019-0.053 0.029-0.079 0.010-0.028 0.020-0.055 0.030-0.082s0.021-0.052 0.031-0.078c0.011-0.027 0.022-0.054 0.033-0.081s0.023-0.051 0.034-0.077c0.012-0.026 0.024-0.053 0.036-0.079s0.025-0.051 0.037-0.076c0.013-0.026 0.025-0.051 0.039-0.077s0.026-0.050 0.040-0.075c0.014-0.025 0.027-0.050 0.041-0.075s0.028-0.049 0.043-0.073c0.014-0.025 0.029-0.049 0.044-0.074s0.030-0.048 0.046-0.072c0.015-0.024 0.031-0.048 0.046-0.072s0.032-0.047 0.048-0.071c0.016-0.024 0.032-0.047 0.049-0.070s0.034-0.046 0.051-0.069c0.017-0.023 0.034-0.046 0.051-0.068s0.036-0.045 0.054-0.067c0.018-0.022 0.036-0.044 0.054-0.066s0.037-0.044 0.056-0.065 0.038-0.043 0.056-0.064 0.039-0.042 0.058-0.063c0.019-0.021 0.039-0.042 0.058-0.062s0.040-0.041 0.061-0.061c0.020-0.020 0.041-0.040 0.061-0.060s0.041-0.039 0.063-0.059c0.021-0.020 0.042-0.039 0.063-0.058s0.043-0.038 0.065-0.057c0.022-0.019 0.044-0.038 0.066-0.056s0.045-0.036 0.067-0.054c0.023-0.018 0.045-0.036 0.068-0.054s0.046-0.035 0.069-0.052c0.023-0.017 0.047-0.035 0.071-0.052s0.047-0.033 0.071-0.050c0.024-0.016 0.049-0.033 0.073-0.049s0.048-0.031 0.072-0.047c0.025-0.016 0.050-0.032 0.075-0.047s0.049-0.029 0.074-0.044c0.026-0.015 0.052-0.030 0.078-0.045 0.025-0.014 0.050-0.028 0.075-0.041 0.027-0.014 0.054-0.028 0.080-0.042 0.025-0.013 0.051-0.026 0.077-0.039 0.020-0.010 0.041-0.020 0.061-0.029 0.603 0.317 1.289 0.498 2.017 0.498s1.414-0.18 2.017-0.498c0.021 0.010 0.041 0.019 0.061 0.029 0.026 0.013 0.052 0.026 0.078 0.039s0.053 0.028 0.079 0.042c0.026 0.014 0.051 0.028 0.077 0.042s0.052 0.029 0.077 0.044c0.025 0.015 0.050 0.030 0.075 0.045s0.050 0.031 0.075 0.047c0.025 0.015 0.049 0.031 0.073 0.047s0.048 0.032 0.072 0.049c0.024 0.017 0.048 0.033 0.071 0.050s0.047 0.034 0.070 0.051c0.023 0.017 0.047 0.035 0.069 0.053s0.046 0.035 0.068 0.053c0.022 0.018 0.045 0.036 0.067 0.055s0.044 0.037 0.066 0.055c0.022 0.019 0.043 0.038 0.065 0.057s0.042 0.039 0.063 0.058c0.021 0.020 0.042 0.039 0.063 0.059s0.041 0.040 0.061 0.060c0.020 0.021 0.041 0.041 0.061 0.062s0.039 0.041 0.058 0.062c0.020 0.021 0.039 0.043 0.058 0.064s0.038 0.043 0.056 0.064c0.019 0.022 0.038 0.043 0.056 0.066s0.036 0.043 0.054 0.065c0.018 0.022 0.036 0.045 0.054 0.068s0.034 0.045 0.051 0.067c0.017 0.023 0.034 0.046 0.051 0.070s0.032 0.046 0.049 0.070c0.016 0.023 0.033 0.047 0.048 0.071s0.031 0.047 0.046 0.071c0.015 0.024 0.031 0.048 0.046 0.072s0.029 0.049 0.044 0.073c0.014 0.024 0.029 0.049 0.043 0.074s0.027 0.050 0.041 0.075c0.013 0.025 0.027 0.050 0.040 0.075s0.026 0.051 0.038 0.077c0.013 0.025 0.025 0.050 0.037 0.076s0.024 0.052 0.036 0.079c0.012 0.026 0.023 0.051 0.034 0.077s0.022 0.054 0.033 0.080c0.011 0.026 0.021 0.052 0.032 0.079s0.020 0.055 0.030 0.082c0.010 0.026 0.020 0.052 0.029 0.079 0.010 0.028 0.019 0.056 0.028 0.084 0.009 0.027 0.017 0.053 0.026 0.079 0.009 0.029 0.017 0.058 0.025 0.087 0.008 0.026 0.015 0.053 0.022 0.079 0.008 0.029 0.015 0.059 0.022 0.089 0.006 0.027 0.013 0.053 0.019 0.079 0.007 0.030 0.013 0.061 0.019 0.091 0.005 0.026 0.011 0.053 0.016 0.079 0.006 0.031 0.011 0.062 0.016 0.094 0.004 0.026 0.009 0.052 0.013 0.079 0.005 0.032 0.009 0.065 0.013 0.097 0.003 0.025 0.007 0.051 0.010 0.076 0.004 0.034 0.007 0.069 0.010 0.104 0.002 0.024 0.005 0.047 0.007 0.071 0.003 0.040 0.005 0.079 0.006 0.119 0.001 0.019 0.003 0.039 0.003 0.058 0.002 0.059 0.003 0.119 0.003 0.178v1.346h-9.463zM15.787 15.47c-0.010-0.13-0.026-0.261-0.045-0.39-0.003-0.021-0.007-0.041-0.010-0.061-0.008-0.047-0.015-0.094-0.024-0.14-0.005-0.024-0.010-0.049-0.014-0.074-0.008-0.042-0.017-0.085-0.027-0.127-0.006-0.025-0.012-0.051-0.018-0.076-0.010-0.041-0.020-0.083-0.031-0.124-0.007-0.025-0.013-0.050-0.020-0.075-0.012-0.043-0.024-0.086-0.037-0.128-0.007-0.023-0.013-0.045-0.020-0.067-0.016-0.050-0.033-0.101-0.050-0.151-0.005-0.014-0.009-0.028-0.014-0.042-0.023-0.064-0.047-0.128-0.072-0.191-0.005-0.013-0.011-0.027-0.017-0.041-0.020-0.049-0.040-0.098-0.061-0.147-0.009-0.021-0.019-0.043-0.029-0.064-0.018-0.041-0.037-0.081-0.056-0.121-0.011-0.024-0.023-0.047-0.034-0.070-0.019-0.038-0.038-0.076-0.058-0.114-0.012-0.023-0.025-0.047-0.038-0.071-0.021-0.038-0.041-0.075-0.063-0.113-0.013-0.022-0.025-0.045-0.038-0.067-0.023-0.040-0.048-0.080-0.073-0.12-0.012-0.019-0.022-0.038-0.034-0.056-0.037-0.058-0.074-0.115-0.113-0.172-0.037-0.053-0.074-0.105-0.111-0.157-0.011-0.015-0.022-0.029-0.033-0.045-0.029-0.039-0.058-0.077-0.088-0.115-0.011-0.014-0.021-0.028-0.032-0.041-0.040-0.049-0.080-0.098-0.121-0.146-0.005-0.006-0.011-0.012-0.016-0.018-0.036-0.042-0.073-0.084-0.111-0.125-0.013-0.014-0.026-0.028-0.039-0.042-0.033-0.036-0.067-0.071-0.101-0.105-0.011-0.012-0.022-0.023-0.034-0.034-0.044-0.044-0.089-0.088-0.135-0.131-0.010-0.009-0.019-0.018-0.029-0.027-0.037-0.035-0.075-0.069-0.113-0.102-0.015-0.013-0.029-0.025-0.044-0.038-0.038-0.033-0.076-0.065-0.115-0.097-0.011-0.009-0.021-0.018-0.032-0.026-0.048-0.039-0.098-0.078-0.148-0.116-0.012-0.009-0.025-0.018-0.037-0.028-0.039-0.029-0.079-0.057-0.119-0.085-0.015-0.011-0.031-0.022-0.047-0.033-0.044-0.031-0.089-0.061-0.134-0.090-0.008-0.005-0.016-0.011-0.024-0.016-0.046-0.029-0.092-0.058-0.138-0.086 0.012-0.012 0.023-0.024 0.035-0.035 0.033-0.032 0.066-0.065 0.098-0.098 0.018-0.019 0.036-0.037 0.054-0.056 0.035-0.038 0.070-0.076 0.103-0.115 0.014-0.017 0.029-0.033 0.043-0.050 0.036-0.043 0.071-0.086 0.105-0.13 0.011-0.014 0.023-0.029 0.034-0.043 0.034-0.046 0.068-0.092 0.101-0.138 0.21 0.031 0.421 0.046 0.631 0.046 0.728 0 1.414-0.18 2.017-0.498 1.657 0.785 2.714 2.436 2.714 4.276v1.346h-3.139z"})),social_share:a("svg",{width:20,height:20},a("path",{d:"M13.751 4.999l1.25 1.25-8.753 8.753-1.25-1.25 8.753-8.753z"}),a("path",{d:"M13.749 12.502l-1.874-1.874 1.255-1.256 0.619 0.628 3.749-3.749-3.749-3.749-3.749 3.749 0.628 0.619-1.256 1.255-1.874-1.874 6.251-6.251 6.251 6.251-6.251 6.251z"}),a("path",{d:"M6.251 20l-6.251-6.251 6.251-6.251 1.874 1.874-1.255 1.256-0.619-0.628-3.749 3.749 3.749 3.749 3.749-3.749-0.628-0.619 1.256-1.256 1.874 1.874-6.251 6.251z"}))};t.a=r},function(e,t,n){var a=n(39),r="object"==typeof self&&self&&self.Object===Object&&self,o=a||r||Function("return this")();e.exports=o},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){"use strict";(function(t){"production"===t.env.NODE_ENV?e.exports=n(203):e.exports=n(204)}).call(t,n(1))},function(e,t,n){function a(e,t){var n=o(e,t);return r(n)?n:void 0}var r=n(106),o=n(112);e.exports=a},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var a="function"===typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,r=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===a};e.exports=n(201)(r,!0)}else e.exports=n(202)()}).call(t,n(1))},function(e,t,n){function a(e){return null==e?void 0===e?u:l:s&&s in Object(e)?o(e):i(e)}var r=n(17),o=n(108),i=n(109),l="[object Null]",u="[object Undefined]",s=r?r.toStringTag:void 0;e.exports=a},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function a(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}var r=n(21),o=1/0;e.exports=a},function(e,t,n){function a(e,t){if((e=i(e))<1||e>l)return[];var n=u,a=s(e,u);t=o(t),e-=u;for(var c=r(a,t);++n<e;)t(n);return c}var r=n(49),o=n(190),i=n(191),l=9007199254740991,u=4294967295,s=Math.min;e.exports=a},function(e,t,n){"use strict";function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,u=a(e),s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var c in n)o.call(n,c)&&(u[c]=n[c]);if(r){l=r(n);for(var f=0;f<l.length;f++)i.call(n,l[f])&&(u[l[f]]=n[l[f]])}}return u}},function(e,t,n){"use strict";function a(e){return function(){return e}}var r=function(){};r.thatReturns=a,r.thatReturnsFalse=a(!1),r.thatReturnsTrue=a(!0),r.thatReturnsNull=a(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}var r=n(96),o=n(97),i=n(98),l=n(99),u=n(100);a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=l,a.prototype.set=u,e.exports=a},function(e,t,n){function a(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}var r=n(26);e.exports=a},function(e,t,n){var a=n(3),r=a.Symbol;e.exports=r},function(e,t,n){var a=n(6),r=a(Object,"create");e.exports=r},function(e,t,n){function a(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}var r=n(121);e.exports=a},function(e,t,n){function a(e,t){return r(e)?e:o(e,t)?[e]:i(l(e))}var r=n(4),o=n(32),i=n(153),l=n(156);e.exports=a},function(e,t,n){function a(e){return"symbol"==typeof e||o(e)&&r(e)==i}var r=n(9),o=n(10),i="[object Symbol]";e.exports=a},function(e,t,n){"use strict";var a=["fab fa-buromobelexperte","fas fa-burn","fas fa-bullseye","fas fa-bullhorn","fas fa-building","far fa-building","fas fa-bug","fab fa-btc","fas fa-briefcase-medical","fas fa-briefcase","fas fa-braille","fas fa-boxes","fas fa-box-open","fas fa-box","fas fa-bowling-ball","fas fa-bookmark","far fa-bookmark","fas fa-book","fas fa-bomb","fas fa-bolt","fas fa-bold","fab fa-bluetooth-b","fab fa-bluetooth","fab fa-blogger-b","fab fa-blogger","fas fa-blind","fab fa-blackberry","fab fa-black-tie","fab fa-bity","fab fa-bitcoin","fab fa-bitbucket","fas fa-birthday-cake","fas fa-binoculars","fab fa-bimobject","fas fa-bicycle","fas fa-bell-slash","far fa-bell-slash","fas fa-bell","far fa-bell","fab fa-behance-square","fab fa-behance","fas fa-beer","fas fa-bed","fas fa-battery-three-quarters","fas fa-battery-quarter","fas fa-battery-half","fas fa-battery-full","fas fa-battery-empty","fas fa-bath","fas fa-basketball-ball","fas fa-baseball-ball","fas fa-bars","fas fa-barcode","fab fa-bandcamp","fas fa-band-aid","fas fa-ban","fas fa-balance-scale","fas fa-backward","fab fa-aws","fab fa-aviato","fab fa-avianex","fab fa-autoprefixer","fas fa-audio-description","fab fa-audible","fas fa-at","fab fa-asymmetrik","fas fa-asterisk","fas fa-assistive-listening-systems","fas fa-arrows-alt-v","fas fa-arrows-alt-h","fas fa-arrows-alt","fas fa-arrow-up","fas fa-arrow-right","fas fa-arrow-left","fas fa-arrow-down","fas fa-arrow-circle-up","fas fa-arrow-circle-right","fas fa-arrow-circle-left","fas fa-arrow-circle-down","fas fa-arrow-alt-circle-up","far fa-arrow-alt-circle-up","fas fa-arrow-alt-circle-right","far fa-arrow-alt-circle-right","fas fa-arrow-alt-circle-left","far fa-arrow-alt-circle-left","fas fa-arrow-alt-circle-down","far fa-arrow-alt-circle-down","fas fa-archive","fab fa-apple-pay","fab fa-apple","fab fa-apper","fab fa-app-store-ios","fab fa-app-store","fab fa-angular","fab fa-angrycreative","fas fa-angle-up","fas fa-angle-right","fas fa-angle-left","fas fa-angle-down","fas fa-angle-double-up","fas fa-angle-double-right","fas fa-angle-double-left","fas fa-angle-double-down","fab fa-angellist","fab fa-android","fas fa-anchor","fab fa-amilia","fas fa-american-sign-language-interpreting","fas fa-ambulance","fab fa-amazon-pay","fab fa-amazon","fas fa-allergies","fas fa-align-right","fas fa-align-left","fas fa-align-justify","fas fa-align-center","fab fa-algolia","fab fa-affiliatetheme","fab fa-adversal","fab fa-adn","fas fa-adjust","fas fa-address-card","far fa-address-card","fas fa-address-book","far fa-address-book","fab fa-accusoft","fab fa-accessible-icon","fab fa-500px","fab fa-youtube-square","fab fa-youtube","fab fa-yoast","fas fa-yen-sign","fab fa-yelp","fab fa-yandex-international","fab fa-yandex","fab fa-yahoo","fab fa-y-combinator","fab fa-xing-square","fab fa-xing","fab fa-xbox","fas fa-x-ray","fas fa-wrench","fab fa-wpforms","fab fa-wpexplorer","fab fa-wpbeginner","fab fa-wordpress-simple","fab fa-wordpress","fas fa-won-sign","fab fa-wolf-pack-battalion","fas fa-wine-glass","fab fa-windows","fas fa-window-restore","far fa-window-restore","fas fa-window-minimize","far fa-window-minimize","fas fa-window-maximize","far fa-window-maximize","fas fa-window-close","far fa-window-close","fab fa-wikipedia-w","fas fa-wifi","fab fa-whmcs","fas fa-wheelchair","fab fa-whatsapp-square","fab fa-whatsapp","fab fa-weixin","fas fa-weight","fab fa-weibo","fas fa-warehouse","fab fa-vuejs","fas fa-volume-up","fas fa-volume-off","fas fa-volume-down","fas fa-volleyball-ball","fab fa-vnv","fab fa-vk","fab fa-vine","fab fa-vimeo-v","fab fa-vimeo-square","fab fa-vimeo","fas fa-video-slash","fas fa-video","fab fa-viber","fas fa-vials","fas fa-vial","fab fa-viadeo-square","fab fa-viadeo","fab fa-viacoin","fas fa-venus-mars","fas fa-venus-double","fas fa-venus","fab fa-vaadin","fas fa-utensils","fas fa-utensil-spoon","fab fa-ussunnah","fas fa-users-cog","fas fa-users","fas fa-user-times","fas fa-user-tie","fas fa-user-tag","fas fa-user-slash","fas fa-user-shield","fas fa-user-secret","fas fa-user-plus","fas fa-user-ninja","fas fa-user-minus","fas fa-user-md","fas fa-user-lock","fas fa-user-graduate","fas fa-user-friends","fas fa-user-edit","fas fa-user-cog","fas fa-user-clock","fas fa-user-circle","far fa-user-circle","fas fa-user-check","fas fa-user-astronaut","fas fa-user-alt-slash","fas fa-user-alt","fas fa-user","far fa-user","fab fa-usb","fas fa-upload","fab fa-untappd","fas fa-unlock-alt","fas fa-unlock","fas fa-unlink","fas fa-university","fas fa-universal-access","fab fa-uniregistry","fas fa-undo-alt","fas fa-undo","fas fa-underline","fas fa-umbrella","fab fa-uikit","fab fa-uber","fab fa-typo3","fab fa-twitter-square","fab fa-twitter","fab fa-twitch","fas fa-tv","fab fa-tumblr-square","fab fa-tumblr","fas fa-tty","fas fa-truck-moving","fas fa-truck-loading","fas fa-truck","fas fa-trophy","fab fa-tripadvisor","fab fa-trello","fas fa-tree","fas fa-trash-alt","far fa-trash-alt","fas fa-trash","fas fa-transgender-alt","fas fa-transgender","fas fa-train","fas fa-trademark","fab fa-trade-federation","fas fa-toggle-on","fas fa-toggle-off","fas fa-tint","fas fa-times-circle","far fa-times-circle","fas fa-times","fas fa-ticket-alt","fas fa-thumbtack","fas fa-thumbs-up","far fa-thumbs-up","fas fa-thumbs-down","far fa-thumbs-down","fas fa-thermometer-three-quarters","fas fa-thermometer-quarter","fas fa-thermometer-half","fas fa-thermometer-full","fas fa-thermometer-empty","fas fa-thermometer","fab fa-themeisle","fas fa-th-list","fas fa-th-large","fas fa-th","fas fa-text-width","fas fa-text-height","fas fa-terminal","fab fa-tencent-weibo","fab fa-telegram-plane","fab fa-telegram","fab fa-teamspeak","fas fa-taxi","fas fa-tasks","fas fa-tape","fas fa-tags","fas fa-tag","fas fa-tachometer-alt","fas fa-tablets","fas fa-tablet-alt","fas fa-tablet","fas fa-table-tennis","fas fa-table","fas fa-syringe","fas fa-sync-alt","fas fa-sync","fab fa-supple","fas fa-superscript","fab fa-superpowers","fas fa-sun","far fa-sun","fas fa-suitcase","fas fa-subway","fas fa-subscript","fab fa-stumbleupon-circle","fab fa-stumbleupon","fab fa-studiovinari","fab fa-stripe-s","fab fa-stripe","fas fa-strikethrough","fas fa-street-view","fab fa-strava","fas fa-stopwatch","fas fa-stop-circle","far fa-stop-circle","fas fa-stop","fas fa-sticky-note","far fa-sticky-note","fab fa-sticker-mule","fas fa-stethoscope","fas fa-step-forward","fas fa-step-backward","fab fa-steam-symbol","fab fa-steam-square","fab fa-steam","fab fa-staylinked","fas fa-star-half","far fa-star-half","fa fa-star","fas fa-star","far fa-star","fab fa-stack-overflow","fab fa-stack-exchange","fas fa-square-full","fas fa-square","far fa-square","fab fa-spotify","fas fa-spinner","fab fa-speakap","fas fa-space-shuttle","fab fa-soundcloud","fas fa-sort-up","fas fa-sort-numeric-up","fas fa-sort-numeric-down","fas fa-sort-down","fas fa-sort-amount-up","fas fa-sort-amount-down","fas fa-sort-alpha-up","fas fa-sort-alpha-down","fas fa-sort","fas fa-snowflake","far fa-snowflake","fab fa-snapchat-square","fab fa-snapchat-ghost","fab fa-snapchat","fas fa-smoking","fas fa-smile","far fa-smile","fab fa-slideshare","fas fa-sliders-h","fab fa-slack-hash","fab fa-slack","fab fa-skype","fab fa-skyatlas","fab fa-sith","fas fa-sitemap","fab fa-sistrix","fab fa-simplybuilt","fas fa-signal","fas fa-sign-out-alt","fas fa-sign-language","fas fa-sign-in-alt","fas fa-sign","fas fa-shower","fas fa-shopping-cart","fas fa-shopping-basket","fas fa-shopping-bag","fab fa-shirtsinbulk","fas fa-shipping-fast","fas fa-ship","fas fa-shield-alt","fas fa-shekel-sign","fas fa-share-square","far fa-share-square","fas fa-share-alt-square","fas fa-share-alt","fas fa-share","fab fa-servicestack","fas fa-server","fab fa-sellsy","fab fa-sellcast","fas fa-seedling","fab fa-searchengin","fas fa-search-plus","fas fa-search-minus","fas fa-search","fab fa-scribd","fab fa-schlix","fas fa-save","far fa-save","fab fa-sass","fab fa-safari","fas fa-rupee-sign","fas fa-ruble-sign","fas fa-rss-square","fas fa-rss","fab fa-rockrms","fab fa-rocketchat","fas fa-rocket","fas fa-road","fas fa-ribbon","fas fa-retweet","fab fa-resolving","fab fa-researchgate","fab fa-replyd","fas fa-reply-all","fas fa-reply","fab fa-renren","fab fa-rendact","fas fa-registered","far fa-registered","fas fa-redo-alt","fas fa-redo","fab fa-reddit-square","fab fa-reddit-alien","fab fa-reddit","fab fa-red-river","fas fa-recycle","fab fa-rebel","fab fa-readme","fab fa-react","fab fa-ravelry","fas fa-random","fab fa-r-project","fas fa-quote-right","fas fa-quote-left","fab fa-quora","fab fa-quinscape","fas fa-quidditch","fas fa-question-circle","far fa-question-circle","fas fa-question","fas fa-qrcode","fab fa-qq","fab fa-python","fas fa-puzzle-piece","fab fa-pushed","fab fa-product-hunt","fas fa-procedures","fas fa-print","fas fa-prescription-bottle-alt","fas fa-prescription-bottle","fas fa-power-off","fas fa-pound-sign","fas fa-portrait","fas fa-poo","fas fa-podcast","fas fa-plus-square","far fa-plus-square","fas fa-plus-circle","fas fa-plus","fas fa-plug","fab fa-playstation","fas fa-play-circle","far fa-play-circle","fas fa-play","fas fa-plane","fab fa-pinterest-square","fab fa-pinterest-p","fab fa-pinterest","fas fa-pills","fas fa-piggy-bank","fab fa-pied-piper-pp","fab fa-pied-piper-hat","fab fa-pied-piper-alt","fab fa-pied-piper","fab fa-php","fas fa-phone-volume","fas fa-phone-square","fas fa-phone-slash","fas fa-phone","fab fa-phoenix-squadron","fab fa-phoenix-framework","fab fa-phabricator","fab fa-periscope","fas fa-percent","fas fa-people-carry","fas fa-pencil-alt","fas fa-pen-square","fab fa-paypal","fas fa-paw","fas fa-pause-circle","far fa-pause-circle","fas fa-pause","fab fa-patreon","fas fa-paste","fas fa-paragraph","fas fa-parachute-box","fas fa-paperclip","fas fa-paper-plane","far fa-paper-plane","fas fa-pallet","fab fa-palfed","fas fa-paint-brush","fab fa-pagelines","fab fa-page4","fas fa-outdent","fab fa-osi","fab fa-optin-monster","fab fa-opera","fab fa-openid","fab fa-opencart","fab fa-old-republic","fab fa-odnoklassniki-square","fab fa-odnoklassniki","fas fa-object-ungroup","far fa-object-ungroup","fas fa-object-group","far fa-object-group","fab fa-nutritionix","fab fa-ns8","fab fa-npm","fas fa-notes-medical","fab fa-node-js","fab fa-node","fab fa-nintendo-switch","fas fa-newspaper","far fa-newspaper","fas fa-neuter","fab fa-napster","fas fa-music","fas fa-mouse-pointer","fas fa-motorcycle","fas fa-moon","far fa-moon","fas fa-money-bill-alt","far fa-money-bill-alt","fab fa-monero","fab fa-modx","fas fa-mobile-alt","fas fa-mobile","fab fa-mizuni","fab fa-mixcloud","fab fa-mix","fas fa-minus-square","far fa-minus-square","fas fa-minus-circle","fas fa-minus","fab fa-microsoft","fas fa-microphone-slash","fas fa-microphone","fas fa-microchip","fas fa-mercury","fas fa-meh","far fa-meh","fab fa-meetup","fab fa-medrt","fas fa-medkit","fab fa-medium-m","fab fa-medium","fab fa-medapps","fab fa-maxcdn","fab fa-mastodon","fas fa-mars-stroke-v","fas fa-mars-stroke-h","fas fa-mars-stroke","fas fa-mars-double","fas fa-mars","fas fa-map-signs","fas fa-map-pin","fas fa-map-marker-alt","fas fa-map-marker","fas fa-map","far fa-map","fab fa-mandalorian","fas fa-male","fas fa-magnet","fas fa-magic","fab fa-magento","fab fa-lyft","fas fa-low-vision","fas fa-long-arrow-alt-up","fas fa-long-arrow-alt-right","fas fa-long-arrow-alt-left","fas fa-long-arrow-alt-down","fas fa-lock-open","fas fa-lock","fas fa-location-arrow","fas fa-list-ul","fas fa-list-ol","fas fa-list-alt","far fa-list-alt","fas fa-list","fas fa-lira-sign","fab fa-linux","fab fa-linode","fab fa-linkedin-in","fab fa-linkedin","fas fa-link","fab fa-line","fas fa-lightbulb","far fa-lightbulb","fas fa-life-ring","far fa-life-ring","fas fa-level-up-alt","fas fa-level-down-alt","fab fa-less","fas fa-lemon","far fa-lemon","fab fa-leanpub","fas fa-leaf","fab fa-lastfm-square","fab fa-lastfm","fab fa-laravel","fas fa-laptop","fas fa-language","fab fa-korvue","fab fa-kickstarter-k","fab fa-kickstarter","fab fa-keycdn","fas fa-keyboard","far fa-keyboard","fab fa-keybase","fas fa-key","fab fa-jsfiddle","fab fa-js-square","fab fa-js","fab fa-joomla","fab fa-joget","fab fa-jenkins","fab fa-jedi-order","fab fa-java","fab fa-itunes-note","fab fa-itunes","fas fa-italic","fab fa-ioxhost","fab fa-internet-explorer","fab fa-instagram","fas fa-info-circle","fas fa-info","fas fa-industry","fas fa-indent","fas fa-inbox","fab fa-imdb","fas fa-images","far fa-images","fas fa-image","far fa-image","fas fa-id-card-alt","fas fa-id-card","far fa-id-card","fas fa-id-badge","far fa-id-badge","fas fa-i-cursor","fab fa-hubspot","fab fa-html5","fab fa-houzz","fas fa-hourglass-start","fas fa-hourglass-half","fas fa-hourglass-end","fas fa-hourglass","far fa-hourglass","fab fa-hotjar","fas fa-hospital-symbol","fas fa-hospital-alt","fas fa-hospital","far fa-hospital","fab fa-hooli","fas fa-home","fas fa-hockey-puck","fas fa-history","fab fa-hire-a-helper","fab fa-hips","fas fa-heartbeat","fas fa-heart","far fa-heart","fas fa-headphones","fas fa-heading","fas fa-hdd","far fa-hdd","fas fa-hashtag","fas fa-handshake","far fa-handshake","fas fa-hands-helping","fas fa-hands","fas fa-hand-spock","far fa-hand-spock","fas fa-hand-scissors","far fa-hand-scissors","fas fa-hand-rock","far fa-hand-rock","fas fa-hand-pointer","far fa-hand-pointer","fas fa-hand-point-up","far fa-hand-point-up","fas fa-hand-point-right","far fa-hand-point-right","fas fa-hand-point-left","far fa-hand-point-left","fas fa-hand-point-down","far fa-hand-point-down","fas fa-hand-peace","far fa-hand-peace","fas fa-hand-paper","far fa-hand-paper","fas fa-hand-lizard","far fa-hand-lizard","fas fa-hand-holding-usd","fas fa-hand-holding-heart","fas fa-hand-holding","fab fa-hacker-news-square","fab fa-hacker-news","fas fa-h-square","fab fa-gulp","fab fa-grunt","fab fa-gripfire","fab fa-grav","fab fa-gratipay","fas fa-graduation-cap","fab fa-google-wallet","fab fa-google-plus-square","fab fa-google-plus-g","fab fa-google-plus","fab fa-google-play","fab fa-google-drive","fab fa-google","fab fa-goodreads-g","fab fa-goodreads","fas fa-golf-ball","fab fa-gofore","fas fa-globe","fab fa-glide-g","fab fa-glide","fas fa-glass-martini","fab fa-gitter","fab fa-gitlab","fab fa-gitkraken","fab fa-github-square","fab fa-github-alt","fab fa-github","fab fa-git-square","fab fa-git","fas fa-gift","fab fa-gg-circle","fab fa-gg","fab fa-get-pocket","fas fa-genderless","fas fa-gem","far fa-gem","fas fa-gavel","fas fa-gamepad","fab fa-galactic-senate","fab fa-galactic-republic","fas fa-futbol","far fa-futbol","fab fa-fulcrum","fas fa-frown","far fa-frown","fab fa-freebsd","fab fa-free-code-camp","fab fa-foursquare","fas fa-forward","fab fa-forumbee","fab fa-fort-awesome-alt","fab fa-fort-awesome","fas fa-football-ball","fab fa-fonticons-fi","fab fa-fonticons","far fa-font-awesome-logo-full","fas fa-font-awesome-logo-full","fab fa-font-awesome-logo-full","fab fa-font-awesome-flag","fab fa-font-awesome-alt","fab fa-font-awesome","fas fa-font","fas fa-folder-open","far fa-folder-open","fas fa-folder","far fa-folder","fab fa-fly","fab fa-flipboard","fab fa-flickr","fas fa-flask","fas fa-flag-checkered","fas fa-flag","far fa-flag","fab fa-firstdraft","fab fa-first-order-alt","fab fa-first-order","fas fa-first-aid","fab fa-firefox","fas fa-fire-extinguisher","fas fa-fire","fas fa-filter","fas fa-film","fas fa-file-word","far fa-file-word","fas fa-file-video","far fa-file-video","fas fa-file-powerpoint","far fa-file-powerpoint","fas fa-file-pdf","far fa-file-pdf","fas fa-file-medical-alt","fas fa-file-medical","fas fa-file-image","far fa-file-image","fas fa-file-excel","far fa-file-excel","fas fa-file-code","far fa-file-code","fas fa-file-audio","far fa-file-audio","fas fa-file-archive","far fa-file-archive","fas fa-file-alt","far fa-file-alt","fas fa-file","far fa-file","fas fa-fighter-jet","fas fa-female","fas fa-fax","fas fa-fast-forward","fas fa-fast-backward","fab fa-facebook-square","fab fa-facebook-messenger","fab fa-facebook-f","fab fa-facebook","fas fa-eye-slash","far fa-eye-slash","fas fa-eye-dropper","fas fa-eye","far fa-eye","fas fa-external-link-square-alt","fas fa-external-link-alt","fab fa-expeditedssl","fas fa-expand-arrows-alt","fas fa-expand","fas fa-exclamation-triangle","fas fa-exclamation-circle","fas fa-exclamation","fas fa-exchange-alt","fas fa-euro-sign","fab fa-etsy","fab fa-ethereum","fab fa-erlang","fas fa-eraser","fab fa-envira","fas fa-envelope-square","fas fa-envelope-open","far fa-envelope-open","fas fa-envelope","far fa-envelope","fab fa-empire","fab fa-ember","fas fa-ellipsis-v","fas fa-ellipsis-h","fab fa-elementor","fas fa-eject","fas fa-edit","far fa-edit","fab fa-edge","fab fa-ebay","fab fa-earlybirds","fab fa-dyalog","fab fa-drupal","fab fa-dropbox","fab fa-dribbble-square","fab fa-dribbble","fab fa-draft2digital","fas fa-download","fas fa-dove","fas fa-dot-circle","far fa-dot-circle","fas fa-donate","fas fa-dolly-flatbed","fas fa-dolly","fas fa-dollar-sign","fab fa-docker","fab fa-dochub","fas fa-dna","fab fa-discourse","fab fa-discord","fab fa-digital-ocean","fab fa-digg","fas fa-diagnoses","fab fa-deviantart","fas fa-desktop","fab fa-deskpro","fab fa-deploydog","fab fa-delicious","fas fa-deaf","fas fa-database","fab fa-dashcube","fab fa-d-and-d","fab fa-cuttlefish","fas fa-cut","fas fa-cubes","fas fa-cube","fab fa-css3-alt","fab fa-css3","fas fa-crosshairs","fas fa-crop","fas fa-credit-card","far fa-credit-card","fab fa-creative-commons-share","fab fa-creative-commons-sampling-plus","fab fa-creative-commons-sampling","fab fa-creative-commons-sa","fab fa-creative-commons-remix","fab fa-creative-commons-pd-alt","fab fa-creative-commons-pd","fab fa-creative-commons-nd","fab fa-creative-commons-nc-jp","fab fa-creative-commons-nc-eu","fab fa-creative-commons-nc","fab fa-creative-commons-by","fab fa-creative-commons","fab fa-cpanel","fas fa-couch","fas fa-copyright","far fa-copyright","fas fa-copy","far fa-copy","fab fa-contao","fab fa-connectdevelop","fas fa-compress","fas fa-compass","far fa-compass","fas fa-comments","far fa-comments","fas fa-comment-slash","fas fa-comment-dots","far fa-comment-dots","fas fa-comment-alt","far fa-comment-alt","fas fa-comment","far fa-comment","fas fa-columns","fas fa-cogs","fas fa-cog","fas fa-coffee","fab fa-codiepie","fab fa-codepen","fas fa-code-branch","fas fa-code","fab fa-cloudversify","fab fa-cloudsmith","fab fa-cloudscale","fas fa-cloud-upload-alt","fas fa-cloud-download-alt","fas fa-cloud","fas fa-closed-captioning","far fa-closed-captioning","fas fa-clone","far fa-clone","fas fa-clock","far fa-clock","fas fa-clipboard-list","fas fa-clipboard-check","fas fa-clipboard","far fa-clipboard","fas fa-circle-notch","fas fa-circle","far fa-circle","fab fa-chrome","fas fa-child","fas fa-chevron-up","fas fa-chevron-right","fas fa-chevron-left","fas fa-chevron-down","fas fa-chevron-circle-up","fas fa-chevron-circle-right","fas fa-chevron-circle-left","fas fa-chevron-circle-down","fas fa-chess-rook","fas fa-chess-queen","fas fa-chess-pawn","fas fa-chess-knight","fas fa-chess-king","fas fa-chess-board","fas fa-chess-bishop","fas fa-chess","fas fa-check-square","far fa-check-square","fas fa-check-circle","far fa-check-circle","fas fa-check","fas fa-chart-pie","fas fa-chart-line","fas fa-chart-bar","far fa-chart-bar","fas fa-chart-area","fas fa-certificate","fab fa-centercode","fab fa-cc-visa","fab fa-cc-stripe","fab fa-cc-paypal","fab fa-cc-mastercard","fab fa-cc-jcb","fab fa-cc-discover","fab fa-cc-diners-club","fab fa-cc-apple-pay","fab fa-cc-amex","fab fa-cc-amazon-pay","fas fa-cart-plus","fas fa-cart-arrow-down","fas fa-caret-up","fas fa-caret-square-up","far fa-caret-square-up","fas fa-caret-square-right","far fa-caret-square-right","fas fa-caret-square-left","far fa-caret-square-left","fas fa-caret-square-down","far fa-caret-square-down","fas fa-caret-right","fas fa-caret-left","fas fa-caret-down","fas fa-car","fas fa-capsules","fas fa-camera-retro","fas fa-camera","fas fa-calendar-times","far fa-calendar-times","fas fa-calendar-plus","far fa-calendar-plus","fas fa-calendar-minus","far fa-calendar-minus","fas fa-calendar-check","far fa-calendar-check","fas fa-calendar-alt","far fa-calendar-alt","fas fa-calendar","far fa-calendar","fas fa-calculator","fab fa-buysellads","fas fa-bus","far fa-angry","far fa-dizzy","far fa-flushed","far fa-frown-open","far fa-grimace","far fa-grin-alt","far fa-grin-beam-sweat","far fa-grin-beam","far fa-grin-hearts","far fa-grin-squint-tears","far fa-grin-squint","far fa-grin-stars","far fa-grin-tears","far fa-grin-tongue-squint","far fa-grin-tongue-wink","far fa-grin-tongue","far fa-grin-wink","far fa-grin","far fa-kiss-beam","far fa-kiss-wink-heart","far fa-kiss","far fa-laugh-beam","far fa-laugh-squint","far fa-laugh-wink","far fa-laugh","far fa-meh-blank","far fa-meh-rolling-eyes","far fa-sad-cry","far fa-sad-tear","far fa-smile-beam","far fa-smile-wink","far fa-surprise","far fa-tired","fab fa-acquisitions-incorporated","fab fa-alipay","fab fa-creative-commons-zero","fab fa-critical-role","fab fa-d-and-d-beyond","fab fa-dev","fab fa-ello","fab fa-fantasy-flight-games","fab fa-hackerrank","fab fa-hornbill","fab fa-kaggle","fab fa-mailchimp","fab fa-markdown","fab fa-megaport","fab fa-neos","fab fa-nimblr","fab fa-penny-arcade","fab fa-r","fab fa-rev","fab fa-shopware","fab fa-squarespace","fab fa-the-red-yeti","fab fa-themeco","fab fa-think-peaks","fab fa-weebly","fab fa-wix","fab fa-wizards-of-the-coast","fab fa-wpressr","fab fa-zhihu","fas fa-abacus","fas fa-ad","fas fa-air-freshener","fas fa-angry","fas fa-ankh","fas fa-apple-alt","fas fa-archway","fas fa-atlas","fas fa-atom","fas fa-award","fas fa-backspace","fas fa-bezier-curve","fas fa-bible","fas fa-blender-phone","fas fa-blender","fas fa-bone","fas fa-bong","fas fa-book-dead","fas fa-book-open","fas fa-book-reader","fas fa-brain","fas fa-broadcast-tower","fas fa-broom","fas fa-brush","fas fa-bus-alt","fas fa-business-time","fas fa-calculator-alt","fas fa-campground","fas fa-cannabis","fas fa-car-alt","fas fa-car-battery","fas fa-car-crash","fas fa-car-side","fas fa-cat","fas fa-chair","fas fa-chalkboard-teacher","fas fa-chalkboard","fas fa-charging-station","fas fa-check-double","fas fa-church","fas fa-city","fas fa-cloud-moon","fas fa-cloud-sun","fas fa-cocktail","fas fa-coins","fas fa-comment-dollar","fas fa-comments-dollar","fas fa-compact-disc","fas fa-concierge-bell","fas fa-cookie-bite","fas fa-cookie","fas fa-crop-alt","fas fa-cross","fas fa-crow","fas fa-crown","fas fa-dharmachakra","fas fa-dice-d20","fas fa-dice-d6","fas fa-dice-five","fas fa-dice-four","fas fa-dice-one","fas fa-dice-six","fas fa-dice-three","fas fa-dice-two","fas fa-dice","fas fa-digital-tachograph","fas fa-directions","fas fa-divide","fas fa-dizzy","fas fa-dog","fas fa-door-closed","fas fa-door-open","fas fa-drafting-compass","fas fa-dragon","fas fa-draw-polygon","fas fa-drum-steelpan","fas fa-drum","fas fa-drumstick-bite","fas fa-dumbbell","fas fa-dungeon","fas fa-empty-set","fas fa-envelope-open-text","fas fa-equals","fas fa-feather-alt","fas fa-feather","fas fa-file-contract","fas fa-file-csv","fas fa-file-download","fas fa-file-export","fas fa-file-import","fas fa-file-invoice-dollar","fas fa-file-invoice","fas fa-file-prescription","fas fa-file-signature","fas fa-file-upload","fas fa-fill-drip","fas fa-fill","fas fa-fingerprint","fas fa-fish","fas fa-fist-raised","fas fa-flushed","fas fa-folder-minus","fas fa-folder-plus","fas fa-frog","fas fa-frown-open","fas fa-function","fas fa-funnel-dollar","fas fa-gas-pump","fas fa-ghost","fas fa-glass-martini-alt","fas fa-glasses","fas fa-globe-africa","fas fa-globe-americas","fas fa-globe-asia","fas fa-gopuram","fas fa-greater-than-equal","fas fa-greater-than","fas fa-grimace","fas fa-grin-alt","fas fa-grin-beam-sweat","fas fa-grin-beam","fas fa-grin-hearts","fas fa-grin-squint-tears","fas fa-grin-squint","fas fa-grin-stars","fas fa-grin-tears","fas fa-grin-tongue-squint","fas fa-grin-tongue-wink","fas fa-grin-tongue","fas fa-grin-wink","fas fa-grin","fas fa-grip-horizontal","fas fa-grip-vertical","fas fa-hammer","fas fa-hamsa","fas fa-hanukiah","fas fa-hat-wizard","fas fa-haykal","fas fa-headphones-alt","fas fa-headset","fas fa-helicopter","fas fa-highlighter","fas fa-hiking","fas fa-hippo","fas fa-horse","fas fa-hot-tub","fas fa-hotel","fas fa-house-damage","fas fa-hryvnia","fas fa-infinity","fas fa-integral","fas fa-intersection","fas fa-jedi","fas fa-joint","fas fa-journal-whills","fas fa-kaaba","fas fa-khanda","fas fa-kiss-beam","fas fa-kiss-wink-heart","fas fa-kiss","fas fa-kiwi-bird","fas fa-lambda","fas fa-landmark","fas fa-laptop-code","fas fa-laugh-beam","fas fa-laugh-squint","fas fa-laugh-wink","fas fa-laugh","fas fa-layer-group","fas fa-less-than-equal","fas fa-less-than","fas fa-luggage-cart","fas fa-mail-bulk","fas fa-map-marked-alt","fas fa-map-marked","fas fa-marker","fas fa-mask","fas fa-medal","fas fa-meh-blank","fas fa-meh-rolling-eyes","fas fa-memory","fas fa-menorah","fas fa-microphone-alt-slash","fas fa-microphone-alt","fas fa-microscope","fas fa-money-bill-wave-alt","fas fa-money-bill-wave","fas fa-money-bill","fas fa-money-check-alt","fas fa-money-check","fas fa-monument","fas fa-mortar-pestle","fas fa-mosque","fas fa-mountain","fas fa-network-wired","fas fa-not-equal","fas fa-oil-can","fas fa-om","fas fa-omega","fas fa-otter","fas fa-paint-roller","fas fa-palette","fas fa-parking","fas fa-passport","fas fa-pastafarianism","fas fa-peace","fas fa-pen-alt","fas fa-pen-fancy","fas fa-pen-nib","fas fa-pen","fas fa-pencil-ruler","fas fa-percentage","fas fa-pi","fas fa-place-of-worship","fas fa-plane-arrival","fas fa-plane-departure","fas fa-poll-h","fas fa-poll","fas fa-poop","fas fa-pray","fas fa-praying-hands","fas fa-prescription","fas fa-project-diagram","fas fa-quran","fas fa-receipt","fas fa-ring","fas fa-robot","fas fa-route","fas fa-ruler-combined","fas fa-ruler-horizontal","fas fa-ruler-vertical","fas fa-ruler","fas fa-running","fas fa-sad-cry","fas fa-sad-tear","fas fa-school","fas fa-screwdriver","fas fa-scroll","fas fa-search-dollar","fas fa-search-location","fas fa-shapes","fas fa-shoe-prints","fas fa-shuttle-van","fas fa-sigma","fas fa-signal-alt-slash","fas fa-signal-alt","fas fa-signal-slash","fas fa-signature","fas fa-skull-crossbones","fas fa-skull","fas fa-slash","fas fa-smile-beam","fas fa-smile-wink","fas fa-smoking-ban","fas fa-socks","fas fa-solar-panel","fas fa-spa","fas fa-spider","fas fa-splotch","fas fa-spray-can","fas fa-square-root-alt","fas fa-square-root","fas fa-stamp","fas fa-star-and-crescent","fas fa-star-half-alt","fas fa-star-of-david","fas fa-star-of-life","fas fa-store-alt","fas fa-store","fas fa-stream","fas fa-stroopwafel","fas fa-suitcase-rolling","fas fa-surprise","fas fa-swatchbook","fas fa-swimmer","fas fa-swimming-pool","fas fa-synagogue","fas fa-tally","fas fa-teeth-open","fas fa-teeth","fas fa-theater-masks","fas fa-theta","fas fa-tilde","fas fa-tint-slash","fas fa-tired","fas fa-toilet-paper","fas fa-toolbox","fas fa-tooth","fas fa-torah","fas fa-torii-gate","fas fa-tractor","fas fa-traffic-light","fas fa-truck-monster","fas fa-truck-pickup","fas fa-tshirt","fas fa-umbrella-beach","fas fa-union","fas fa-user-injured","fas fa-value-absolute","fas fa-vector-square","fas fa-vihara","fas fa-volume-mute","fas fa-volume-slash","fas fa-volume","fas fa-vr-cardboard","fas fa-walking","fas fa-wallet","fas fa-weight-hanging","fas fa-wifi-slash","fas fa-wind","fas fa-wine-bottle","fas fa-wine-glass-alt","fas fa-yin-yang"];t.a=a},function(e,t,n){!function(t,a){e.exports=a(n(8),n(5),n(0),n(35),n(213))}(window,function(e,t,n,a,r){return function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=15)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.flattenPossiblyCategorizedSource=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(Array.isArray(e))return o(e);if(null!==t)return void 0!==e[t]?o(e[t]):[];var n=[],a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},e);return Object.keys(a).forEach(function(e){n=o(n).concat(o(a[e]))}),n},t.getPossibleCategories=function(e){return Array.isArray(e)?null:Object.keys(e)},t.convertToHex=function(e){return String.fromCodePoint(parseInt(e,10))},t.isArrayEqual=function(e,t){if(!Array.isArray(e)||!Array.isArray(t))return!1;var n=o(e);n.sort();var a=o(t);return a.sort(),JSON.stringify(n)===JSON.stringify(a)},t.getOffset=function(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,a=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+a,left:t.left+n}},t.getSourceType=function(e){return null===e?"null":"object"!==a(e)||Array.isArray(e)?Array.isArray(e)?"array":a(e):"object"},t.InvalidSourceException=function(e,t){this.givenType=e,this.requiredType=t,this.message="Expected of type: ".concat(this.requiredType,", found: ").concat(this.givenType),this.toString=function(){return"Invalid Source Exception: ".concat(this.message)}},t.fuzzySearch=function(e,t){e=e.toLowerCase();var n=(t=t.toLowerCase()).length,a=e.length;if(a>n)return!1;if(a===n)return e===t;e:for(var r=0,o=0;r<a;r++){for(var i=e.codePointAt(r);o<n;)if(t.codePointAt(o++)===i)continue e;return!1}return!0},t.debounce=void 0,t.debounce=function(e,t){var n;return function(){var a=this,r=arguments;clearTimeout(n),n=setTimeout(function(){return e.apply(a,r)},t)}}},function(e,t){e.exports=n},,,function(e,t){e.exports=a},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=a(n(1)),s=n(6),c=a(n(0)),f=a(n(3)),p=n(2),d=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?l(this):a,Object.defineProperty(l(n),"syncPortalPosition",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.resetPortalPosition(),n.fixWindowOverflow()}}),Object.defineProperty(l(n),"fixWindowOverflow",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=n.props.domRef.current.offsetWidth,t=n.props.domRef.current.offsetHeight,a=window,r=a.innerWidth,o=a.pageYOffset,i=document.documentElement.clientHeight,l=(0,p.getOffset)(n.props.domRef.current),u=l.left,s=l.top,c="self"===n.state.appendRoot?n.props.domRef.current:n.state.appendRoot,f=(0,p.getOffset)(c),d=n.props.btnRef.current,m=n.props.domRef.current,h=(0,p.getOffset)(d),g=getComputedStyle(d),b=(parseInt(g.borderTop,10)||0)+(parseInt(g.borderBottom,10)||0);if(u+e>r-20){var v=h.left+n.props.btnRef.current.offsetWidth-(e+f.left);v+f.left<0&&(v=10-f.left),m.style.left="".concat(v,"px")}t+s-o>i&&h.top-t>0&&("self"===n.state.appendRoot?m.style.top="-".concat(t-b,"px"):m.style.top="".concat(h.top+b-t,"px"))}}),n.state={},n.debouncedSyncPortalPosition=(0,p.debounce)(n.syncPortalPosition,250),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.default.PureComponent),i(t,null,[{key:"getDerivedStateFromProps",value:function(e){var n=t.calculateAppendAndClass(e.appendRoot);return{appendRoot:n.appendRoot,portalClasses:n.portalClasses}}},{key:"calculateAppendAndClass",value:function(e){var t="self",n=(0,f.default)({"rfipdropdown--portal":!1!==e});return!1!==e&&(t=document.querySelector(e)),{portalClasses:n,appendRoot:t}}}]),i(t,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.debouncedSyncPortalPosition),window.addEventListener("scroll",this.debouncedSyncPortalPosition),this.syncPortalPosition()}},{key:"componentDidUpdate",value:function(){this.syncPortalPosition()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.debouncedSyncPortalPosition),window.removeEventListener("scroll",this.debouncedSyncPortalPosition)}},{key:"positionPortal",value:function(){var e=this.props.domRef.current.style.display;this.props.domRef.current.style.display="none";var t=this.props.btnRef.current,n=(0,p.getOffset)(t),a=(0,p.getOffset)(this.state.appendRoot),r=t.offsetHeight;this.props.domRef.current.style.left="".concat(n.left-a.left,"px"),this.props.domRef.current.style.top="".concat(n.top+r,"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,f.default)(this.props.className,this.state.portalClasses),t=u.default.createElement("div",{className:e,ref:this.props.domRef},this.props.children);return"self"===this.state.appendRoot?t:(0,s.createPortal)(t,this.state.appendRoot)}}]),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:c.default.oneOfType([c.default.bool,c.default.string]),children:c.default.node.isRequired,domRef:c.default.object.isRequired,btnRef:c.default.object.isRequired,className:c.default.string.isRequired}}),Object.defineProperty(d,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:!1}});var m=d;t.default=m},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function l(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(1)),c=a(n(0)),f=a(n(3)),p=n(2),d=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?u(this):a,Object.defineProperty(u(n),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=n.props.currentPage,o=n.state.totalPage;null!==a?"next"===a?r+=1:r-=1:r=parseInt(e.target.value,10)-1,r<0&&(r=0),r>o-1&&(r=o-1),t=r+1,null===a&&Number.isNaN(r)&&(r=0,t=""),n.setState({viewPage:t}),n.props.handleChangePage(r)}}),Object.defineProperty(u(n),"handlePageKeyBoard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||n.handleChangePage({},t)}}),Object.defineProperty(u(n),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.props.handleChangeValue(e)}}),Object.defineProperty(u(n),"handleValueKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||n.handleChangeValue(t)}}),n.state={viewPage:n.props.currentPage+1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.PureComponent),l(t,null,[{key:"getDerivedStateFromProps",value:function(e,n){var a=t.getCategoryFilteredState(e.currentCategory,e.categories,e.icons),r=t.getCategoryFilteredState(e.currentCategory,e.categories,null===e.search?e.icons:e.search),o=t.getActiveIcons(a,r,e.currentSearch),i=o.activeIcons,l=o.activeTitles,u=e.currentPage,s=e.iconsPerPage,c={iconView:t.getCurrentViewIcons(i,s,u),titleView:t.getCurrentViewIcons(l,s,u),totalPage:Math.ceil(i.length/s)};return""!==n.viewPage&&(c.viewPage=e.currentPage+1),c}},{key:"getActiveIcons",value:function(e,t,n){var a=o(e),r=o(t);if(""===n||null===n)return{activeIcons:a,activeTitles:r};var i=[],l=[];return a.forEach(function(e,a){(0,p.fuzzySearch)(n,t[a])&&(i.push(e),l.push(t[a]))}),{activeIcons:i,activeTitles:l}}},{key:"getCategoryFilteredState",value:function(e,t,n){var a=null,r=(0,p.getSourceType)(n);if(Array.isArray(t)){if("object"!==r)throw new p.InvalidSourceException(r,"object")}else if("array"!==r)throw new p.InvalidSourceException(r,"array");return 0!==e&&Array.isArray(t)&&(a=t[e]||null),(0,p.flattenPossiblyCategorizedSource)(n,a)}},{key:"getCurrentViewIcons",value:function(e,t,n){var a=n*t,r=(n+1)*t;return e.slice(a,r)}}]),l(t,[{key:"renderPager",value:function(){var e=this;if(this.state.totalPage<1)return null;var t=this.props.currentPage>0?s.default.createElement("span",{className:"rfipicons__left",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"prev")},onClick:function(t){return e.handleChangePage(t,"prev")}},s.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Left"},s.default.createElement("i",{className:"fipicon-angle-left"}))):null,n=this.props.currentPage<this.state.totalPage-1?s.default.createElement("span",{className:"rfipicons__right",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"next")},onClick:function(t){return e.handleChangePage(t,"next")}},s.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Right"},s.default.createElement("i",{className:"fipicon-angle-right"}))):null;return s.default.createElement("div",{className:"rfipicons__pager"},s.default.createElement("div",{className:"rfipicons__num"},s.default.createElement("input",{value:this.state.viewPage,onChange:this.handleChangePage,className:"rfipicons__cp",type:"tel",min:1}),s.default.createElement("span",{className:"rfipicons__sp"},"/"),s.default.createElement("span",{className:"rfipicons__tp"},this.state.totalPage)),s.default.createElement("div",{className:"rfipicons__arrow"},t,n))}},{key:"renderIconView",value:function(){var e=this;return this.state.totalPage>0?this.state.iconView.map(function(t,n){var a=(0,f.default)("rfipicons__icon",{"rfipicons__icon--selected":e.props.value===t||Array.isArray(e.props.value)&&e.props.value.includes(t)});return s.default.createElement("span",{className:a,key:t,title:e.state.titleView[n]},s.default.createElement("span",{className:"rfipicons__ibox",tabIndex:0,role:"button",onClick:function(){return e.handleChangeValue(t)},onKeyDown:function(n){return e.handleValueKeyboard(n,t)}},e.props.renderIcon(t)))}):s.default.createElement("span",{className:"rfipicons__icon--error"},s.default.createElement("span",{className:"rfipicons__ibox--error"},this.props.noIconPlaceholder))}},{key:"render",value:function(){return s.default.createElement("div",{className:"rfipicons"},this.renderPager(),s.default.createElement("div",{className:"rfipicons__selector"},this.renderIconView()))}}]),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{categories:c.default.arrayOf(c.default.string),currentCategory:c.default.number,isMulti:c.default.bool.isRequired,icons:c.default.oneOfType([c.default.arrayOf(c.default.string),c.default.arrayOf(c.default.number),c.default.objectOf(c.default.oneOfType([c.default.arrayOf(c.default.number),c.default.arrayOf(c.default.string)]))]).isRequired,search:c.default.oneOfType([c.default.objectOf(c.default.arrayOf(c.default.string)),c.default.arrayOf(c.default.string)]),value:c.default.oneOfType([c.default.number,c.default.string,c.default.arrayOf(c.default.oneOfType([c.default.number,c.default.string]))]).isRequired,currentSearch:c.default.string.isRequired,handleChangeValue:c.default.func.isRequired,currentPage:c.default.number.isRequired,iconsPerPage:c.default.number.isRequired,handleChangePage:c.default.func.isRequired,renderIcon:c.default.func.isRequired,noIconPlaceholder:c.default.string.isRequired}}),Object.defineProperty(d,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{categories:null,currentCategory:null,search:null}});var m=d;t.default=m},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(1)),o=a(n(0)),i=function(e){return r.default.createElement("div",{className:"rfipsearch"},r.default.createElement("input",{type:"text",className:"rfipsearch__input",value:e.value,onChange:e.handleSearch,placeholder:e.placeholder}))};i.propTypes={handleSearch:o.default.func.isRequired,value:o.default.string.isRequired,placeholder:o.default.string.isRequired};var l=i;t.default=l},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(1)),l=a(n(0)),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"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,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,i.default.PureComponent),n=t,(a=[{key:"render",value:function(){return i.default.createElement("div",{className:"rfipcategory"},i.default.createElement("select",{className:"rfipcategory__select",onChange:this.props.handleCategory,value:this.props.value},this.props.categories.map(function(e,t){return i.default.createElement("option",{className:"rfipcategory__select__option",key:e,value:t},e)})),i.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"}))}}])&&o(n.prototype,a),t}();Object.defineProperty(u,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{handleCategory:l.default.func.isRequired,value:l.default.number.isRequired,categories:l.default.arrayOf(l.default.string).isRequired}});var s=u;t.default=s},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=a(n(1)),s=a(n(0)),c=a(n(10)),f=a(n(9)),p=a(n(8)),d=n(2),m=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?l(this):a,Object.defineProperty(l(n),"handleCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=parseInt(e.target.value,10);Number.isNaN(t)&&(t=0),n.props.handleChangeCategory(t),n.props.handleChangePage(0)}}),Object.defineProperty(l(n),"handleSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target.value;n.props.handleChangeSearch(t)}}),n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.default.PureComponent),i(t,null,[{key:"getDerivedStateFromProps",value:function(e){var t=(0,d.getPossibleCategories)(e.icons);return null!==t&&(t=[e.allCatPlaceholder].concat(function(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(t))),{categories:t,searchString:e.currentSearch}}}]),i(t,[{key:"render",value:function(){return u.default.createElement("div",{className:"rfipdropdown__selector"},this.props.showSearch?u.default.createElement(f.default,{handleSearch:this.handleSearch,value:this.state.searchString,placeholder:this.props.searchPlaceholder}):null,this.props.showCategory&&this.state.categories&&this.state.categories.length?u.default.createElement(c.default,{handleCategory:this.handleCategory,value:this.props.currentCategory,categories:this.state.categories}):null,u.default.createElement(p.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(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{isMulti:s.default.bool.isRequired,value:s.default.oneOfType([s.default.number,s.default.string,s.default.arrayOf(s.default.any)]).isRequired,currentCategory:s.default.number.isRequired,currentPage:s.default.number.isRequired,currentSearch:s.default.string.isRequired,icons:s.default.oneOfType([s.default.arrayOf(s.default.number),s.default.arrayOf(s.default.string),s.default.objectOf(s.default.oneOfType([s.default.arrayOf(s.default.number),s.default.arrayOf(s.default.string)]))]).isRequired,search:s.default.oneOfType([s.default.object,s.default.arrayOf(s.default.string)]),showCategory:s.default.bool.isRequired,showSearch:s.default.bool.isRequired,iconsPerPage:s.default.number.isRequired,allCatPlaceholder:s.default.string.isRequired,searchPlaceholder:s.default.string.isRequired,noIconPlaceholder:s.default.string.isRequired,renderIcon:s.default.func.isRequired,handleChangeValue:s.default.func.isRequired,handleChangeCategory:s.default.func.isRequired,handleChangePage:s.default.func.isRequired,handleChangeSearch:s.default.func.isRequired}}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null}});var h=m;t.default=h},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(1)),c=a(n(0)),f=a(n(3)),p=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return l(a,(n=a=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),Object.defineProperty(u(a),"handleClick",{configurable:!0,enumerable:!0,writable:!0,value:function(){a.props.onClick()}}),Object.defineProperty(u(a),"handleKeyDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){32!==e.keyCode&&13!==e.keyCode||a.props.onClick()}}),Object.defineProperty(u(a),"handleDelete",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){e.stopPropagation(),a.props.handleDeleteValue(t)}}),Object.defineProperty(u(a),"handleDeleteKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){32!==e.keyCode&&13!==e.keyCode||a.props.handleDeleteValue(t)}}),Object.defineProperty(u(a),"renderEmptyIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(){return s.default.createElement("span",{className:"rfipbtn__icon--empty"},a.props.noSelectedPlaceholder)}}),n))}var n,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,s.default.PureComponent),n=t,(a=[{key:"renderIcon",value:function(e){var t=this;return""===e||null===e||void 0===e?this.renderEmptyIcon():s.default.createElement("span",{className:"rfipbtn__icon",key:e},s.default.createElement("span",{className:"rfipbtn__elm"},this.props.renderIcon(e)),s.default.createElement("span",{className:"rfipbtn__del",onClick:function(n){return t.handleDelete(n,e)},onKeyDown:function(n){return t.handleDeleteKeyboard(n,e)},tabIndex:0,role:"button"},"\xd7"))}},{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,f.default)("rfipbtn__button","rfipbtn__button--".concat(this.props.isOpen?"open":"close")),n=(0,f.default)(this.props.className);return s.default.createElement("div",o({className:n,ref:this.props.domRef},e),s.default.createElement("div",{className:"rfipbtn__current"},this.renderCurrentIcons()),s.default.createElement("div",{className:t},s.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"})))}}])&&i(n.prototype,a),t}();Object.defineProperty(p,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:c.default.string.isRequired,isOpen:c.default.bool.isRequired,onClick:c.default.func.isRequired,domRef:c.default.object.isRequired,isMulti:c.default.bool.isRequired,value:c.default.oneOfType([c.default.number,c.default.string,c.default.arrayOf(c.default.oneOfType([c.default.number,c.default.string]))]).isRequired,renderIcon:c.default.func.isRequired,handleDeleteValue:c.default.func.isRequired,noSelectedPlaceholder:c.default.string.isRequired}});var d=p;t.default=d},function(e,t){e.exports=r},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function u(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=a(n(1)),f=a(n(0)),p=a(n(3)),d=n(13),m=a(n(12)),h=a(n(11)),g=a(n(7)),b=n(2),v=[],y="",w=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?s(this):a,Object.defineProperty(s(n),"handleOuterClick",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target;n.isClickWithin(t)||n.closeDropdown()}}),Object.defineProperty(s(n),"handleEscapeKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e){27===e.keyCode&&n.closeDropdown()}}),Object.defineProperty(s(n),"isClickWithin",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return n.fipButtonRef.current.contains(e)||n.fipDropDownRef.current&&n.fipDropDownRef.current.contains(e)}}),Object.defineProperty(s(n),"handleToggle",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.setState(function(e){return n.handleDropDown(!e.isOpen,!1)})}}),Object.defineProperty(s(n),"closeDropdown",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.handleDropDown(!1)}}),Object.defineProperty(s(n),"handleDropDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r={isOpen:e};return r.elemClass=t.getDerivedClassName("rfip",n.props.theme,n.props.isMulti,e),r.btnClass=t.getDerivedClassName("rfipbtn",n.props.theme,n.props.isMulti,e),r.ddClass=t.getDerivedClassName("rfipdropdown",n.props.theme,n.props.isMulti,e),a&&n.setState(r),r}}),Object.defineProperty(s(n),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t;n.props.isMulti?(t=o(n.state.value)).includes(e)?(t=t.filter(function(t){return t!==e})).length||(t=v):t.push(e):t=e===n.state.value?y:e,n.setState({value:t}),n.props.onChange(t)}}),Object.defineProperty(s(n),"handleDeleteValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var a;a=n.props.isMulti?n.state.value.filter(function(t){return t!==e}):t.getDerivedValue(a,n.props.isMulti),n.setState({value:a}),n.props.onChange(a)}}),Object.defineProperty(s(n),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentPage:e})}}),Object.defineProperty(s(n),"handleChangeCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentCategory:e,currentPage:0})}}),Object.defineProperty(s(n),"handleChangeSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentSearch:e,currentPage:0})}}),Object.defineProperty(s(n),"resetPortalStyle",{configurable:!0,enumerable:!0,writable:!0,value:function(e){["maxHeight","paddingTop","paddingBottom"].forEach(function(t){e.style[t]=null})}}),Object.defineProperty(s(n),"handlePortalEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t);var a=getComputedStyle(t);n.fipPortalComputedStyle={height:a.height,paddingTop:a.paddingTop,paddingBottom:a.paddingBottom},["maxHeight","paddingTop","paddingBottom"].forEach(function(e){t.style[e]="0px"})}}),Object.defineProperty(s(n),"handlePortalEntering",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight=n.fipPortalComputedStyle.height,t.style.paddingTop=n.fipPortalComputedStyle.paddingTop,t.style.paddingBottom=n.fipPortalComputedStyle.paddingBottom}}),Object.defineProperty(s(n),"handlePortalEntered",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t),n.props.showSearch&&void 0===window.orientation&&-1===navigator.userAgent.indexOf("IEMobile")&&t.querySelector(".rfipsearch__input").focus()}}),Object.defineProperty(s(n),"handlePortalExit",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t);var a=getComputedStyle(t).height;t.style.maxHeight=a}}),Object.defineProperty(s(n),"handlePortalExiting",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight="0px",t.style.paddingTop="0px",t.style.paddingBottom="0px"}}),Object.defineProperty(s(n),"renderIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(e){if("function"==typeof n.props.renderFunc)return n.props.renderFunc(e);if("class"===n.props.renderUsing)return c.default.createElement("i",{className:e});var t=i({},n.props.renderUsing,n.props.convertHex?(0,b.convertToHex)(e):e);return c.default.createElement("i",t)}}),n.fipButtonRef=c.default.createRef(),n.fipDropDownRef=c.default.createRef(),n.state={currentCategory:0,currentPage:0,isOpen:!1,currentSearch:""},n.fipPortalComputedStyle=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,c.default.PureComponent),u(t,null,[{key:"getDerivedStateFromProps",value:function(e,n){var a={};return a.elemClass=t.getDerivedClassName("rfip",e.theme,e.isMulti,n.isOpen),a.btnClass=t.getDerivedClassName("rfipbtn",e.theme,e.isMulti,n.isOpen),a.ddClass=t.getDerivedClassName("rfipdropdown",e.theme,e.isMulti,n.isOpen),a.value=t.getDerivedValue(e.value,e.isMulti),e.showCategory||(a.currentCategory=0,a.currentPage=0),e.showSearch||(a.currentSearch="",a.currentPage=0),a}},{key:"getDerivedClassName",value:function(e,t,n,a){return(0,p.default)(e,"".concat(e,"--").concat(t),i({},"".concat(e,"--multi"),n),"".concat(e,"--").concat(a?"open":"close"))}},{key:"getDerivedValue",value:function(e,t){var n=e;return t?n=Array.isArray(e)?o(e):v:"number"!=typeof e&&"string"!=typeof e&&(n=y),n}}]),u(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 c.default.createElement("div",{className:this.state.elemClass,ref:this.fipRef},c.default.createElement(m.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}),c.default.createElement(d.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},c.default.createElement(g.default,{appendRoot:this.props.appendTo,domRef:this.fipDropDownRef,btnRef:this.fipButtonRef,className:this.state.ddClass},c.default.createElement(h.default,e))))}}]),t}();Object.defineProperty(w,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{icons:f.default.oneOfType([f.default.arrayOf(f.default.string),f.default.arrayOf(f.default.number),f.default.objectOf(f.default.oneOfType([f.default.arrayOf(f.default.number),f.default.arrayOf(f.default.string)]))]).isRequired,search:f.default.oneOfType([f.default.objectOf(f.default.arrayOf(f.default.string)),f.default.arrayOf(f.default.string)]),iconsPerPage:f.default.number,theme:f.default.string,onChange:f.default.func.isRequired,showCategory:f.default.bool,showSearch:f.default.bool,value:f.default.oneOfType([f.default.arrayOf(f.default.string),f.default.arrayOf(f.default.number),f.default.number,f.default.string]),isMulti:f.default.bool,renderUsing:f.default.string,convertHex:f.default.bool,renderFunc:f.default.func,appendTo:f.default.oneOfType([f.default.bool,f.default.string]),allCatPlaceholder:f.default.string,searchPlaceholder:f.default.string,noIconPlaceholder:f.default.string,noSelectedPlaceholder:f.default.string}}),Object.defineProperty(w,"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"}}),Object.defineProperty(w,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"FontIconPicker"});var _=w;t.default=_},function(e,t,n){"use strict";var a;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=((a=n(14))&&a.__esModule?a:{default:a}).default;t.default=r}]).default})},function(e,t,n){"use strict";(function(t){function n(e,t,n,r,o,i,l,u){if(a(t),!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,l,u],f=0;s=new Error(t.replace(/%s/g,function(){return c[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var a=function(e){};"production"!==t.env.NODE_ENV&&(a=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(1))},function(e,t,n){"use strict";(function(t){var n={};"production"!==t.env.NODE_ENV&&Object.freeze(n),e.exports=n}).call(t,n(1))},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){var a=n(6),r=n(3),o=a(r,"Map");e.exports=o},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}var r=n(113),o=n(120),i=n(122),l=n(123),u=n(124);a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=l,a.prototype.set=u,e.exports=a},function(e,t){function n(e,t){var n=typeof e;return!!(t=null==t?a:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}var a=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}var a=9007199254740991;e.exports=n},function(e,t,n){function a(e,t){t=r(t,e);for(var n=0,a=t.length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}var r=n(20),o=n(11);e.exports=a},function(e,t,n){function a(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(l.test(e)||!i.test(e)||null!=t&&e in Object(t))}var r=n(4),o=n(21),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/;e.exports=a},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";(function(t){function a(e,n,a,l,u){if("production"!==t.env.NODE_ENV)for(var s in e)if(e.hasOwnProperty(s)){var c;try{if("function"!==typeof e[s]){var f=Error((l||"React class")+": "+a+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.");throw f.name="Invariant Violation",f}c=e[s](n,s,l,a,null,o)}catch(e){c=e}if(!c||c instanceof Error||r((l||"React class")+": type specification of "+a+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in i)){i[c.message]=!0;var p=u?u():"";r("Failed "+a+" type: "+c.message+(null!=p?p:""))}}}var r=function(){};if("production"!==t.env.NODE_ENV){var o=n(33),i={};r=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}e.exports=a}).call(t,n(1))},function(e,t,n){"use strict";(function(t){function a(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==t.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(e){console.error(e)}}}"production"===t.env.NODE_ENV?(a(),e.exports=n(205)):e.exports=n(208)}).call(t,n(1))},function(e,t){function n(e,t){for(var n=-1,a=null==e?0:e.length,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}e.exports=n},function(e,t,n){function a(e){var t=this.__data__=new r(e);this.size=t.size}var r=n(15),o=n(101),i=n(102),l=n(103),u=n(104),s=n(105);a.prototype.clear=o,a.prototype.delete=i,a.prototype.get=l,a.prototype.has=u,a.prototype.set=s,e.exports=a},function(e,t,n){function a(e){if(!o(e))return!1;var t=r(e);return t==l||t==u||t==i||t==s}var r=n(9),o=n(7),i="[object AsyncFunction]",l="[object Function]",u="[object GeneratorFunction]",s="[object Proxy]";e.exports=a},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(107))},function(e,t){function n(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var a=Function.prototype,r=a.toString;e.exports=n},function(e,t,n){function a(e,t,n,i,l){return e===t||(null==e||null==t||!o(e)&&!o(t)?e!==e&&t!==t:r(e,t,n,i,a,l))}var r=n(125),o=n(10);e.exports=a},function(e,t,n){function a(e,t,n,a,s,c){var f=n&l,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var m=c.get(e);if(m&&c.get(t))return m==t;var h=-1,g=!0,b=n&u?new r:void 0;for(c.set(e,t),c.set(t,e);++h<p;){var v=e[h],y=t[h];if(a)var w=f?a(y,v,h,t,e,c):a(v,y,h,e,t,c);if(void 0!==w){if(w)continue;g=!1;break}if(b){if(!o(t,function(e,t){if(!i(b,t)&&(v===e||s(v,e,n,a,c)))return b.push(t)})){g=!1;break}}else if(v!==y&&!s(v,y,n,a,c)){g=!1;break}}return c.delete(e),c.delete(t),g}var r=n(126),o=n(129),i=n(130),l=1,u=2;e.exports=a},function(e,t,n){function a(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}var r=n(44),o=n(4);e.exports=a},function(e,t){function n(e,t){for(var n=-1,a=t.length,r=e.length;++n<a;)e[r+n]=t[n];return e}e.exports=n},function(e,t,n){var a=n(137),r=n(46),o=Object.prototype,i=o.propertyIsEnumerable,l=Object.getOwnPropertySymbols,u=l?function(e){return null==e?[]:(e=Object(e),a(l(e),function(t){return i.call(e,t)}))}:r;e.exports=u},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function a(e){return i(e)?r(e):o(e)}var r=n(48),o=n(143),i=n(56);e.exports=a},function(e,t,n){function a(e,t){var n=i(e),a=!n&&o(e),c=!n&&!a&&l(e),p=!n&&!a&&!c&&s(e),d=n||a||c||p,m=d?r(e.length,String):[],h=m.length;for(var g in e)!t&&!f.call(e,g)||d&&("length"==g||c&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||u(g,h))||m.push(g);return m}var r=n(49),o=n(50),i=n(4),l=n(51),u=n(29),s=n(53),c=Object.prototype,f=c.hasOwnProperty;e.exports=a},function(e,t){function n(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}e.exports=n},function(e,t,n){var a=n(138),r=n(10),o=Object.prototype,i=o.hasOwnProperty,l=o.propertyIsEnumerable,u=a(function(){return arguments}())?a:function(e){return r(e)&&i.call(e,"callee")&&!l.call(e,"callee")};e.exports=u},function(e,t,n){(function(e){var a=n(3),r=n(139),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===o,u=l?a.Buffer:void 0,s=u?u.isBuffer:void 0,c=s||r;e.exports=c}).call(t,n(52)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var a=n(140),r=n(141),o=n(142),i=o&&o.isTypedArray,l=i?r(i):a;e.exports=l},function(e,t){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||a)}var a=Object.prototype;e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){function a(e){return null!=e&&o(e.length)&&!r(e)}var r=n(38),o=n(30);e.exports=a},function(e,t,n){function a(e){return e===e&&!r(e)}var r=n(7);e.exports=a},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){"use strict";function a(e,t){var n=e.attributes,a=n.align,r=n.contentWidth,o=n.leftPadding,i=n.rightPadding,l=n.topPadding,u=n.bottomPadding,s=n.leftMargin,c=n.rightMargin,f=n.topMargin,p=n.bottomMargin,d=n.width,m=n.backgroundPosition,h=n.backgroundSize,g=n.backgroundAttachment,b=n.backgroundImage,v=n.backgroundColor,y=n.backgroundRepeat,w=n.backgroundType,_=n.gradientColor1,k=n.gradientColor2,x=n.gradientLocation1,E=n.gradientLocation2,C=n.gradientType,S=n.gradientAngle,T=n.borderStyle,P=n.borderWidth,O=n.borderRadius,N=n.borderColor,R={"padding-top":l+"px","padding-bottom":u+"px","padding-left":o+"px","padding-right":i+"px"};"right"==a?(R["margin-left"]="auto",R["margin-top"]=f+"px",R["margin-bottom"]=p+"px",R["margin-right"]=c+"px"):"left"==a?(R["margin-right"]="auto",R["margin-top"]=f+"px",R["margin-bottom"]=p+"px",R["margin-left"]=s+"px"):"center"==a&&(R["margin-right"]="auto",R["margin-left"]="auto",R["margin-top"]=f+"px",R["margin-bottom"]=p+"px"),"none"!=T&&(R["border-style"]=T,R["border-width"]=P+"px",R["border-radius"]=O+"px",R["border-color"]=N);var I=m.replace("-"," "),j="100%";return"boxed"==r&&""!=d&&(j=d+"px"),R["max-width"]=j,"color"===w?R["background-color"]=v:"image"===w?(R["background-image"]=b?"url("+b.url+")":null,R["background-position"]=I,R["background-attachment"]=g,R["background-repeat"]=y,R["background-size"]=h):"gradient"===w&&(R["background-color"]="transparent",R["background-image"]="linear"===C?"linear-gradient("+S+"deg, "+_+" "+x+"%, "+k+" "+E+"%)":"radial-gradient( at center center, "+_+" "+x+"%, "+k+" "+E+"%)"),R}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props;return"not_set"!==n?wp.element.createElement(l,{tagName:"span",value:t.prefixTitle,className:"uagb-ifb-title-prefix",onChange:function(e){return n({prefixTitle:e})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"span",value:t.prefixTitle,className:"uagb-ifb-title-prefix"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=wp.blocks.createBlock,s=wp.i18n.__,c=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props;return"not_set"!==n?wp.element.createElement(l,{tagName:t.headingTag,value:t.infoBoxTitle,className:"uagb-ifb-title",onChange:function(e){return n({infoBoxTitle:e})},multiline:!1,placeholder:s("Write a Heading"),onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:t.headingTag,value:t.infoBoxTitle,className:"uagb-ifb-title"})}}]),t}(React.Component);t.a=c},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props;return"not_set"!==n?wp.element.createElement(l,{tagName:"p",value:t.headingDesc,className:"uagb-ifb-desc",onChange:function(e){return n({headingDesc:e})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"p",value:t.headingDesc,className:"uagb-ifb-desc"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props.attributes;return wp.element.createElement("div",{className:"uagb-ifb-image-icon-content uagb-ifb-imgicon-wrap"},wp.element.createElement("div",{className:"uagb-ifb-icon-wrap"},wp.element.createElement("span",{className:"uagb-ifb-icon"},wp.element.createElement("span",{className:e.icon}))))}}]),t}(React.Component));t.a=l},function(e,t,n){"use strict";function a(e){var t="uagb-infobox-has-image";"icon"==e.source_type&&(t="uagb-infobox-has-icon");var n="";return n+="uagb-infobox ",n+=t+" ",n+="uagb-infobox-icon-"+e.iconimgPosition+" ","left"!==e.iconimgPosition&&"left-title"!==e.iconimgPosition||(n+="uagb-infobox-left "),"right"!==e.iconimgPosition&&"right-title"!==e.iconimgPosition||(n+="uagb-infobox-right "),"left"!==e.iconimgPosition&&"right"!==e.iconimgPosition||"none"===e.stack||(n+="uagb-infobox-stacked-"+e.stack+" ","right"===e.iconimgPosition&&(n+="uagb-infobox-reverse-order-"+e.stack+" ")),"above-title"===e.iconimgPosition&&"below-title"===e.iconimgPosition||(n+="uagb-infobox-image-valign-"+e.sourceAlign+" "),e.enableBorder&&(n+="uagb-infobox-enable-border "),n+="uagb-infobox-enable-border-radius ",[n]}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){this.props.attributes;return wp.element.createElement("div",{className:"uagb-ifb-separator-parent"},wp.element.createElement("div",{className:"uagb-ifb-separator"}))}}]),t}(React.Component);t.a=l},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props.attributes,t="_self",n="noopener noreferrer";return e.ctaTarget&&(t="_blank"),wp.element.createElement("div",{className:"uagb-ifb-cta uagb-infobox-cta-link-style"},"text"===e.ctaType&&wp.element.createElement("a",{href:e.ctaLink,target:t,className:"uagb-infobox-cta-link",rel:n},wp.element.createElement("span",{className:"uagb-inline-editing"},e.ctaText)),"button"===e.ctaType&&wp.element.createElement("div",{className:"uagb-ifb-button-wrapper"},wp.element.createElement("a",{href:e.ctaLink,className:"uagb-infobox-cta-link uagb-ifb-cta-button",target:t,rel:n},wp.element.createElement("span",{className:"uagb-ifb-cta-content-wrapper"},wp.element.createElement("span",{className:"uagb-inline-editing "},e.ctaText)))))}}]),t}(React.Component));t.a=l},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.headingAlign,a=t.headingColor,r=t.subHeadingColor,o=t.prefixColor,i=t.prefixFontSize,l=t.headFontSize,u=t.subHeadFontSize,s=(t.separatorWidth,t.separatorHeight,t.headSpace),c=(t.separatorSpace,t.subHeadSpace),f=(t.icon,t.iconColor),p=t.iconSize,d=t.iconimgPosition,m=t.block_id,h=t.iconHover,g=t.iconimgBorderRadius,b=t.seperatorStyle,v=t.seperatorWidth,y=t.seperatorColor,w=t.seperatorThickness,_=t.seperatorSpace,k=t.ctaLinkColor,x=t.ctaFontSize,E=(t.ctaBtnSize,t.ctaBtnLinkColor),C=t.ctaBgColor,S=t.ctaBtnVertPadding,T=t.ctaBtnHrPadding,P=t.ctaBorderStyle,O=t.ctaBorderColor,N=t.ctaBorderWidth,R=t.ctaBorderRadius,I=t.prefixSpace,j=t.iconLeftMargin,M=t.iconRightMargin,A=t.iconTopMargin,z=t.iconBottomMargin,D=(t.imageSize,t.imageWidth);if(e.clientId)var F="uagb-infobox-"+e.clientId;else var F="uagb-infobox-"+m;var U={};U[".uagb-ifb-icon"]={height:p+"px",width:p+"px","line-height":p+"px"},U[".uagb-ifb-icon > span"]={"font-size":p+"px",height:p+"px",color:f,width:p+"px","line-height":p+"px"},U[".uagb-ifb-icon:hover > span"]={color:h},U[".uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap"]={"margin-left":j+"px","margin-right":M+"px","margin-top":A+"px","margin-bottom":z+"px"},U[".uagb-ifb-image-content img"]={width:D+"px","max-width":D+"px"},U[".uagb-infobox .uagb-ifb-image-content img"]={"border-radius":g+"px"},"above-title"!=d&&"below-title"!=d||(U[".uagb-infobox__content-wrap"]={"text-align":n}),U[".uagb-infobox-cta-link a"]={"font-size":x+"px",color:k},U[".uagb-infobox-cta-link span"]={"font-size":x+"px",color:k},U[".uagb-ifb-button-wrapper .uagb-infobox-cta-link span"]={"font-size":x+"px",color:E},U[".uagb-ifb-button-wrapper .uagb-infobox-cta-link"]={"font-size":x+"px",color:E,"background-color":C,"border-style":P,"border-color":O,"border-radius":R+"px","border-width":N+"px","padding-top":S+"px","padding-bottom":S+"px","padding-left":T+"px","padding-right":T+"px"},U[".editor-rich-text .uagb-ifb-title-prefix"]={"font-size":i+"px",color:o,"margin-bottom":I+"px"},U[".editor-rich-text .uagb-ifb-title"]={"font-size":l+"px",color:a,"margin-bottom":s+"px"},U[".editor-rich-text .uagb-ifb-desc"]={"font-size":u+"px",color:r,"margin-bottom":c+"px"},U[".uagb-ifb-separator"]={width:v+"%","border-top-width":w+"px","border-top-color":y,"border-top-style":b},U[".uagb-ifb-separator-parent"]={"margin-bottom":_+"px"},U[".uagb-ifb-content"]={padding:"undefined"!=typeof blockPadding?blockPadding+"px":"inherit"};var B="";for(var L in U){B+=" .block-editor-page #wpwrap #"+F+" "+L+" { ";var W=U[L],H="";for(var V in W)H+=V+": "+W[V]+";";B+=H+" } "}return B}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props.attributes,t="";"undefined"!==typeof e.iconImage&&null!==e.iconImage&&""!==e.iconImage&&(t=e.iconImage.url);var n="";if(""!==t){var a=e.iconImage.sizes,r=e.imageSize;return n="undefined"!==typeof a&&"undefined"!==typeof a[r]?a[r].url:t,wp.element.createElement("div",{className:"uagb-ifb-image-icon-content uagb-ifb-imgicon-wrap"},wp.element.createElement("div",{className:"uagb-ifb-image"},wp.element.createElement("div",{className:"uagb-ifb-image-content"},wp.element.createElement("img",{className:"",src:n,alt:e.iconImage.alt}))))}return null}}]),t}(React.Component));t.a=l},function(e,t,n){"use strict";(function(t){var a=n(14),r=a;if("production"!==t.env.NODE_ENV){var o=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=0,o="Warning: "+e.replace(/%s/g,function(){return n[r++]});"undefined"!==typeof console&&console.error(o);try{throw new Error(o)}catch(e){}};r=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];o.apply(void 0,[t].concat(a))}}}e.exports=r}).call(t,n(1))},function(e,t,n){"use strict";var a=!("undefined"===typeof window||!window.document||!window.document.createElement),r={canUseDOM:a,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:a&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:a&&!!window.screen,isInWorker:!a};e.exports=r},function(e,t,n){"use strict";function a(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=a},function(e,t,n){"use strict";function a(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(a(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!o.call(t,n[i])||!a(e[n[i]],t[n[i]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function a(e,t){return!(!e||!t)&&(e===t||!r(e)&&(r(t)?a(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var r=n(206);e.exports=a},function(e,t,n){"use strict";(function(e){function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function i(){}t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};a.get||a.set?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,t}(n(8)),u=a(n(5)),s=a(n(35)),c=n(76),f=n(77),p="unmounted";t.UNMOUNTED=p;var d="exited";t.EXITED=d;var m="entering";t.ENTERING=m;var h="entered";t.ENTERED=h;t.EXITING="exiting";var g=function(e){function t(t,n){var a;a=e.call(this,t,n)||this;var r,o=n.transitionGroup,i=o&&!o.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?i?(r=d,a.appearStatus=m):r=h:r=t.unmountOnExit||t.mountOnEnter?p:d,a.state={status:r},a.nextCallback=null,a}o(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:d}:null},n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==m&&n!==h&&(t=m):n!==m&&n!==h||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,a=this.props.timeout;return e=t=n=a,null!=a&&"number"!==typeof a&&(e=a.exit,t=a.enter,n=a.appear),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=s.default.findDOMNode(this);t===m?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:p})},n.performEnter=function(e,t){var n=this,a=this.props.enter,r=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts();if(!t&&!a)return void this.safeSetState({status:h},function(){n.props.onEntered(e)});this.props.onEnter(e,r),this.safeSetState({status:m},function(){n.props.onEntering(e,r),n.onTransitionEnd(e,o.enter,function(){n.safeSetState({status:h},function(){n.props.onEntered(e,r)})})})},n.performExit=function(e){var t=this,n=this.props.exit,a=this.getTimeouts();if(!n)return void this.safeSetState({status:d},function(){t.props.onExited(e)});this.props.onExit(e),this.safeSetState({status:"exiting"},function(){t.props.onExiting(e),t.onTransitionEnd(e,a.exit,function(){t.safeSetState({status:d},function(){t.props.onExited(e)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(a){n&&(n=!1,t.nextCallback=null,e(a))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n),e?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,a=r(t,["children"]);if(delete a.in,delete a.mountOnEnter,delete a.unmountOnExit,delete a.appear,delete a.enter,delete a.exit,delete a.timeout,delete a.addEndListener,delete a.onEnter,delete a.onEntering,delete a.onEntered,delete a.onExit,delete a.onExiting,delete a.onExited,"function"===typeof n)return n(e,a);var o=u.default.Children.only(n);return u.default.cloneElement(o,a)},t}(u.default.Component);g.contextTypes={transitionGroup:l.object},g.childContextTypes={transitionGroup:function(){}},g.propTypes="production"!==e.env.NODE_ENV?{children:l.oneOfType([l.func.isRequired,l.element.isRequired]).isRequired,in:l.bool,mountOnEnter:l.bool,unmountOnExit:l.bool,appear:l.bool,enter:l.bool,exit:l.bool,timeout:function(t){var n="production"!==e.env.NODE_ENV?f.timeoutsShape:{};t.addEndListener||(n=n.isRequired);for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return n.apply(void 0,[t].concat(r))},addEndListener:l.func,onEnter:l.func,onEntering:l.func,onEntered:l.func,onExit:l.func,onExiting:l.func,onExited:l.func}:{},g.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:i,onEntering:i,onEntered:i,onExit:i,onExiting:i,onExited:i},g.UNMOUNTED=0,g.EXITED=1,g.ENTERING=2,g.ENTERED=3,g.EXITING=4;var b=(0,c.polyfill)(g);t.default=b}).call(t,n(1))},function(e,t,n){"use strict";function a(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function r(e){function t(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}this.setState(t.bind(this))}function o(e,t){try{var n=this.props,a=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,a)}finally{this.props=n,this.state=a}}function i(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,i=null,l=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?i="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(i="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?l="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==i||null!==l){var u=e.displayName||e.name,s="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==i?"\n "+i:"")+(null!==l?"\n "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=a,t.componentWillReceiveProps=r),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var a=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,a)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"polyfill",function(){return i}),a.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";function a(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!==typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.transitionTimeout=a,t.classNamesShape=t.timeoutsShape=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(8)),o=r.default.oneOfType([r.default.number,r.default.shape({enter:r.default.number,exit:r.default.number}).isRequired]);t.timeoutsShape=o;var i=r.default.oneOfType([r.default.string,r.default.shape({enter:r.default.string,exit:r.default.string,active:r.default.string}),r.default.shape({enter:r.default.string,enterDone:r.default.string,enterActive:r.default.string,exit:r.default.string,exitDone:r.default.string,exitActive:r.default.string})]);t.classNamesShape=i},function(e,t,n){"use strict";(function(a){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i.apply(this,arguments)}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.__esModule=!0,t.default=void 0;var s=r(n(8)),c=r(n(5)),f=n(76),p=n(219),d=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},m="production"!==a.env.NODE_ENV?{component:s.default.any,children:s.default.node,appear:s.default.bool,enter:s.default.bool,exit:s.default.bool,childFactory:s.default.func}:{},h={component:"div",childFactory:function(e){return e}},g=function(e){function t(t,n){var a;a=e.call(this,t,n)||this;var r=a.handleExited.bind(u(u(a)));return a.state={handleExited:r,firstRender:!0},a}l(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){var n=t.children,a=t.handleExited;return{children:t.firstRender?(0,p.getInitialChildMapping)(e,a):(0,p.getNextChildMapping)(e,n,a),firstRender:!1}},n.handleExited=function(e,t){var n=(0,p.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.setState(function(t){var n=i({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,a=o(e,["component","childFactory"]),r=d(this.state.children).map(n);return delete a.appear,delete a.enter,delete a.exit,null===t?r:c.default.createElement(t,a,r)},t}(c.default.Component);g.childContextTypes={transitionGroup:s.default.object.isRequired},g.propTypes="production"!==a.env.NODE_ENV?m:{},g.defaultProps=h;var b=(0,f.polyfill)(g);t.default=b,e.exports=t.default}).call(t,n(1))},function(e,t,n){"use strict";var a={facebook:"https://www.facebook.com/sharer.php?u=",twitter:"https://twitter.com/share?url=",google:"https://plus.google.com/share?url=",pinterest:"https://pinterest.com/pin/create/link/?url=",linkedin:"https://www.linkedin.com/shareArticle?url=",digg:"http://digg.com/submit?url=",blogger:"https://www.blogger.com/blog_this.pyra?t&amp;u=",reddit:"https://reddit.com/submit?url=",stumbleupon:"https://www.stumbleupon.com/submit?url=",tumblr:"https://www.tumblr.com/widgets/share/tool?canonicalUrl=",myspace:"https://myspace.com/post?u=",email:"mailto:?body="};t.a=a},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.dateBottomspace,a=t.backgroundColor,r=t.separatorColor,o=t.separatorFillColor,i=t.separatorBg,l=t.separatorBorder,u=t.borderFocus,s=t.verticalSpace,c=t.horizontalSpace,f=t.separatorwidth,p=t.borderwidth,d=t.connectorBgsize,m=t.borderRadius,h=t.bgPadding,g=(t.width,t.readMoreText,t.icon,t.iconColor),b=t.dateFontsize,v=t.dateColor,y=t.iconSize,w=t.iconFocus,_=t.iconBgFocus,k=t.block_id,x=t.iconHover,E=t.iconBgHover,C=t.borderHover,S=t.headFontSize,T=t.align,P=t.headingColor,O=t.headSpace,N=t.subHeadFontSize,R=t.subHeadingColor;if(e.clientId)var I=e.clientId;else var I=k;var j={};j[".uagb-timeline__heading"]={"font-size":S+"px","text-align":T,color:P},j[".uagb-timeline__heading-text"]={"margin-bottom":O+"px"},j[".uagb-timeline-desc-content"]={"font-size":N+"px","text-align":T,color:R},j[".uagb-timeline__events-new"]={"text-align":T},j[".uagb-timeline__date-inner"]={"text-align":T},j[".uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after"]={"border-left-color":a},j[".uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after"]={"border-left-color":a},j[".uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after"]={"border-right-color":a},j[".uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after"]={"border-right-color":a},j[".uagb-timeline__line__inner"]={"background-color":o},j[".uagb-timeline__line"]={"background-color":r,width:f+"px"},j[".uagb-timeline__right-block .uagb-timeline__line"]={right:"calc( "+d+"px / 2 )"},j[".uagb-timeline__left-block .uagb-timeline__line"]={left:"calc( "+d+"px / 2 )"},j[".uagb-timeline__center-block .uagb-timeline__line"]={right:"calc( "+d+"px / 2 )"},j[".uagb-timeline__marker"]={"background-color":i,"min-height":d+"px","min-width":d+"px","line-height":d+"px",border:p+"px solid"+l},j[".uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow"]={height:d+"px"},j[".uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow"]={height:d+"px"},j[".uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow"]={height:d+"px"},j[".uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow"]={height:d+"px"},j[".uagb-timeline__center-block .uagb-timeline__marker"]={"margin-left":c+"px","margin-right":c+"px"},j[".uagb-timeline__field:not(:last-child)"]={"margin-bottom":s+"px"},j[".uagb-timeline__date-hide.uagb-timeline__date-inner"]={"margin-bottom":n+"px",color:v,"font-size":b+"px","text-align":T},j[".uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left"]={"margin-left":c+"px"},j[".uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right"]={"margin-right":c+"px"},j[".uagb-timeline__date-new"]={color:v,"font-size":b+"px"},j[".uagb-timeline__events-inner-new"]={"background-color":a,"border-radius":m+"px",padding:h+"px"},j[".uagb-timeline__main .uagb-timeline__icon-new"]={color:g,"font-size":y+"px"},j[".uagb-timeline__field.uagb-timeline__animate-border:hover .uagb-timeline__marker"]={background:E,"border-color":C},j[".uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon"]={background:_,"border-color":u},j[".uagb-timeline__field.uagb-timeline__animate-border:hover .uagb-timeline__icon-new"]={color:x},j[".uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new"]={color:w};var M={};M[".uagb-timeline__center-block .uagb-timeline__marker"]={"margin-left":"0px","margin-right":"0px"},M[".uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left"]={"margin-left":c+"px"},M[".uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right"]={"margin-left":c+"px"};var A="";for(var z in j){A+=".block-editor-page #wpwrap #uagb-ctm-"+I+" "+z+" { ";var D=j[z],F="";for(var U in D)F+=U+": "+D[U]+";";A+=F+" } "}A+="@media(max-width:768px){";for(var z in M){A+=".block-editor-page #wpwrap #uagb-ctm-"+I+" "+z+" { ";var D=M[z],F="";for(var U in D)F+=U+": "+D[U]+";";A+=F+" } "}return A+="}"}t.a=a},function(e,t,n){"use strict";function a(e){var t="uagb-timeline__arrow-top ";"center"==e.arrowlinAlignment?t="uagb-timeline__arrow-center ":"bottom"==e.arrowlinAlignment&&(t="uagb-timeline__arrow-bottom ");var n="uagb-timeline__center-block ";return"left"==e.timelinAlignment?n="uagb-timeline__left-block ":"right"==e.timelinAlignment&&(n="uagb-timeline__right-block "),n+=t+"",n+="uagb-timeline__responsive-"+e.stack+" uagb-timeline",[n]}t.a=a},function(e,t,n){"use strict";function a(e,t){var n="";return"left"==e.timelinAlignment?n="uagb-timeline__widget uagb-timeline__left":"right"==e.timelinAlignment?n="uagb-timeline__widget uagb-timeline__right":"center"==e.timelinAlignment&&(n=t%2=="0"?"uagb-timeline__widget uagb-timeline__right":"uagb-timeline__widget uagb-timeline__left"),[n]}t.a=a},function(e,t,n){"use strict";function a(e,t){var n="";return"left"==e.timelinAlignment?n="uagb-timeline__day-new uagb-timeline__day-left":"right"==e.timelinAlignment?n="uagb-timeline__day-new uagb-timeline__day-right":"center"==e.timelinAlignment&&(n=t%2=="0"?"uagb-timeline__day-new uagb-timeline__day-right":"uagb-timeline__day-new uagb-timeline__day-left"),[n]}t.a=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(85),n(88),n(183),n(189),n(199),n(223),n(229),n(235),n(237)},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=(n.n(i),n(86)),u=n(2),s=n(87),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}()),f=wp.i18n.__,p=wp.blocks,d=p.registerBlockType,m=p.createBlock,h=wp.editor,g=h.AlignmentToolbar,b=h.BlockControls,v=h.InspectorControls,y=h.RichText,w=h.PanelColorSettings,_=wp.components,k=_.PanelBody,x=_.SelectControl,E=_.RangeControl,C=wp.element,S=C.Component,T=C.Fragment,P=function(e){function t(){a(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.splitBlock=e.splitBlock.bind(e),e}return o(t,e),c(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-adv-heading-style-"+this.props.clientId),document.head.appendChild(e)}},{key:"splitBlock",value:function(e,t){for(var n=this.props,a=n.attributes,r=n.insertBlocksAfter,o=n.setAttributes,i=n.onReplace,l=arguments.length,u=Array(l>2?l-2:0),s=2;s<l;s++)u[s-2]=arguments[s];t&&u.push(m("core/paragraph",{content:t})),u.length&&r&&r(u);var c=a.content;e?c!==e&&o({content:e}):i([])}},{key:"render",value:function(){var e=this.props,t=(e.isSelected,e.className),n=e.setAttributes,a=e.insertBlocksAfter,r=e.mergeBlocks,o=e.onReplace,i=e.attributes,u=i.headingTitle,s=i.headingDesc,c=i.headingAlign,p=i.headingColor,d=i.subHeadingColor,h=i.separatorColor,_=i.headingTag,C=i.headFontSize,S=i.subHeadFontSize,P=i.separatorWidth,O=i.separatorHeight,N=i.headSpace,R=i.separatorSpace,I=i.subHeadSpace,j=document.getElementById("uagb-adv-heading-style-"+this.props.clientId);return null!=j&&"undefined"!=typeof j&&(j.innerHTML=Object(l.a)(this.props)),wp.element.createElement(T,null,wp.element.createElement(b,{key:"controls"},wp.element.createElement(g,{value:c,onChange:function(e){return n({headingAlign:e})}})),wp.element.createElement(v,null,wp.element.createElement(k,{title:f("Typography")},wp.element.createElement(x,{label:f("Tag"),value:_,onChange:function(e){return n({headingTag:e})},options:[{value:"h1",label:f("H1")},{value:"h2",label:f("H2")},{value:"h3",label:f("H3")},{value:"h4",label:f("H4")},{value:"h5",label:f("H5")},{value:"h6",label:f("H6")}]}),wp.element.createElement(E,{label:f("Heading Font Size"),value:C,onChange:function(e){return n({headFontSize:e})},min:10,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:30}),wp.element.createElement(E,{label:f("Sub-Heading Font Size"),value:S,onChange:function(e){return n({subHeadFontSize:e})},min:10,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:10})),wp.element.createElement(w,{title:f("Color Settings"),initialOpen:!0,colorSettings:[{value:p,onChange:function(e){return n({headingColor:e})},label:f("Heading Color")},{value:d,onChange:function(e){return n({subHeadingColor:e})},label:f("Sub-Heading Color")},{value:h,onChange:function(e){return n({separatorColor:e})},label:f("Separator Color")}]}),wp.element.createElement(k,{title:f("Additional Options"),initialOpen:!1},wp.element.createElement(E,{label:f("Separator Height"),value:O,onChange:function(e){return n({separatorHeight:e})},min:0,max:20,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:3}),wp.element.createElement(E,{label:f("Separator Width"),value:P,onChange:function(e){return n({separatorWidth:e})},min:0,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:20}),wp.element.createElement(E,{label:f("Heading Spacing"),value:N,onChange:function(e){return n({headSpace:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:0}),wp.element.createElement(E,{label:f("Separator Spacing"),value:R,onChange:function(e){return n({separatorSpace:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:0}),wp.element.createElement(E,{label:f("Sub-Heading Spacing"),value:I,onChange:function(e){return n({subHeadSpace:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:0}))),wp.element.createElement("div",{className:t,id:"uagb-adv-heading-"+this.props.clientId},wp.element.createElement(y,{tagName:_,placeholder:f("Write a Heading"),value:u,className:"uagb-heading-text",multiline:!1,onChange:function(e){return n({headingTitle:e})},onMerge:r,unstableOnSplit:a?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a([].concat(o,[m("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return o([])}}),wp.element.createElement("div",{className:"uagb-separator-wrap"},wp.element.createElement("div",{className:"uagb-separator"})),wp.element.createElement(y,{tagName:"p",placeholder:f("Write a Description"),value:s,className:"uagb-desc-text",onChange:function(e){return n({headingDesc:e})},onMerge:r,unstableOnSplit:this.splitBlock,onRemove:function(){return o([])}})))}}]),t}(S);d("uagb/advanced-heading",{title:uagb_blocks_info.blocks["uagb/advanced-heading"].title,description:uagb_blocks_info.blocks["uagb/advanced-heading"].description,icon:u.a.advanced_heading,keywords:[f("advanced heading"),f("uagb")],category:uagb_blocks_info.category,attributes:{block_id:{type:"string"},headingTitle:{source:"html",selector:"h1,h2,h3,h4,h5,h6"},headingDesc:{source:"html",selector:"p",default:""},headingAlign:{type:"string",default:"center"},headingColor:{type:"string"},subHeadingColor:{type:"string"},separatorColor:{type:"string"},headingTag:{type:"string",default:"h2"},separatorHeight:{type:"number"},separatorWidth:{type:"number"},headFontSize:{type:"number"},subHeadFontSize:{type:"number"},headSpace:{type:"number",default:15},separatorSpace:{type:"number",default:15},subHeadSpace:{type:"number"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return console.log(t),m("uagb/advanced-heading",{headingDesc:t})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return console.log(t),m("uagb/advanced-heading",{headingTitle:t,headingTag:"h3"})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return console.log(t),m("core/paragraph",{content:t})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return console.log(t),m("core/heading",{content:t})}}]},edit:P,save:function(e){var t=e.attributes,n=t.block_id,a=t.headingTitle,r=t.headingDesc,o=t.headingTag;return wp.element.createElement("div",{className:e.className,id:"uagb-adv-heading-"+n},wp.element.createElement(y.Content,{tagName:o,value:a,className:"uagb-heading-text"}),wp.element.createElement("div",{className:"uagb-separator-wrap"},wp.element.createElement("div",{className:"uagb-separator"})),wp.element.createElement(y.Content,{tagName:"p",value:r,className:"uagb-desc-text"}))}})},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.headingAlign,a=t.headingTag,r=t.headFontSize,o=t.headingColor,i=t.headSpace,l=t.separatorHeight,u=t.separatorWidth,s=t.separatorColor,c=t.separatorSpace,f=t.subHeadFontSize,p=t.subHeadingColor,d=t.subHeadSpace,m={" .uagb-separator-wrap":{"text-align":n}," .uagb-separator":{"border-top-width":l+"px",width:u+"%","border-color":s,"margin-bottom":c+"px"}," .editor-rich-text .uagb-desc-text":{"text-align":n,"font-size":f+"px",color:p,"margin-bottom":d+"px"}};m[" .editor-rich-text "+a+".uagb-heading-text"]={"text-align":n,"font-size":r+"px",color:o,"margin-bottom":i+"px"};var h="";for(var g in m){h+=".block-editor-page #wpwrap #uagb-adv-heading-"+e.clientId,h+=g+" { ";var b=m[g],v="";for(var y in b)v+=y+": "+b[y]+";";h+=v+" } "}return h}t.a=a},function(e,t){},function(e,t,n){"use strict";n(89)},function(e,t,n){"use strict";var a=n(90),r=n(2),o=n(181),i=(n.n(o),n(182)),l=(n.n(i),wp.i18n.__);(0,wp.blocks.registerBlockType)("uagb/post-grid",{title:uagb_blocks_info.blocks["uagb/post-grid"].title,description:uagb_blocks_info.blocks["uagb/post-grid"].description,icon:r.a.post_grid,category:uagb_blocks_info.category,keywords:[l("post"),l("grid"),l("uagb")],edit:a.a,save:function(){return null}})},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(91),l=n.n(i),u=n(92),s=n.n(u),c=n(175),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),d=wp.element,m=d.Component,h=d.Fragment,g=wp.i18n.__,b=wp.components,v=b.PanelBody,y=b.Placeholder,w=b.QueryControls,_=b.RangeControl,k=b.SelectControl,x=b.Spinner,E=b.ToggleControl,C=wp.editor,S=C.InspectorControls,T=C.BlockAlignmentToolbar,P=C.BlockControls,O=C.ColorPalette,N=wp.data.withSelect,R=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),p(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-style-"+this.props.clientId),document.head.appendChild(e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.categoriesList,a=e.setAttributes,r=e.latestPosts,o=(t.block_id,t.displayPostDate),i=t.displayPostComment,l=t.displayPostExcerpt,u=t.displayPostAuthor,s=t.displayPostImage,p=t.imgSize,d=t.imgPosition,m=t.displayPostLink,b=t.align,C=t.columns,N=t.tcolumns,R=t.mcolumns,I=t.order,j=t.orderBy,M=t.categories,A=t.postsToShow,z=t.rowGap,D=t.columnGap,F=t.bgColor,U=t.contentPadding,B=t.titleColor,L=t.titleTag,W=(t.titleFontSize,t.metaColor),H=t.excerptColor,V=t.ctaColor,q=t.ctaBgColor,$=t.titleBottomSpace,K=t.metaBottomSpace,G=t.excerptBottomSpace,Q=t.equalHeight,Y=wp.element.createElement(S,null,wp.element.createElement(v,{title:g("General")},wp.element.createElement(w,f({order:I,orderBy:j},{numberOfItems:A,categoriesList:n,selectedCategoryId:M,onOrderChange:function(e){return a({order:e})},onOrderByChange:function(e){return a({orderBy:e})},onCategoryChange:function(e){return a({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return a({postsToShow:e})}})),wp.element.createElement(_,{label:g("Columns"),value:C,onChange:function(e){return a({columns:e})},min:1,max:X?Math.min(4,r.length):4}),wp.element.createElement(_,{label:g("Columns (Tablet)"),value:N,onChange:function(e){return a({tcolumns:e})},min:1,max:X?Math.min(4,r.length):4}),wp.element.createElement(_,{label:g("Columns (Mobile)"),value:R,onChange:function(e){return a({mcolumns:e})},min:1,max:X?Math.min(4,r.length):4}),wp.element.createElement(E,{label:g("Equal Height"),checked:Q,onChange:function(e){return a({equalHeight:!Q})}})),wp.element.createElement(v,{title:g("Image"),initialOpen:!1},wp.element.createElement(E,{label:g("Show Featured Image"),checked:s,onChange:function(e){return a({displayPostImage:!s})}}),1==s&&wp.element.createElement(k,{label:g("Image Sizes"),value:p,onChange:function(e){return a({imgSize:e})},options:[{value:"thumbnail",label:g("Thumbnail")},{value:"medium",label:g("Medium")},{value:"medium_large",label:g("Medium Large")},{value:"large",label:g("Large")}]}),1==s&&wp.element.createElement(k,{label:g("Image Position"),value:d,onChange:function(e){return a({imgPosition:e})},options:[{value:"top",label:g("Top")},{value:"background",label:g("Background")}]})),wp.element.createElement(v,{title:g("Content"),initialOpen:!1},wp.element.createElement(k,{label:g("Title Tag"),value:L,onChange:function(e){return a({titleTag:e})},options:[{value:"h1",label:g("H1")},{value:"h2",label:g("H2")},{value:"h3",label:g("H3")},{value:"h4",label:g("H4")},{value:"h5",label:g("H5")},{value:"h6",label:g("H6")}]}),wp.element.createElement(E,{label:g("Show Author"),checked:u,onChange:function(e){return a({displayPostAuthor:!u})}}),wp.element.createElement(E,{label:g("Show Date"),checked:o,onChange:function(e){return a({displayPostDate:!o})}}),wp.element.createElement(E,{label:g("Show Comment"),checked:i,onChange:function(e){return a({displayPostComment:!i})}}),wp.element.createElement(E,{label:g("Show Excerpt"),checked:l,onChange:function(e){return a({displayPostExcerpt:!l})}}),wp.element.createElement(E,{label:g("Show Read More Link"),checked:m,onChange:function(e){return a({displayPostLink:!m})}})),wp.element.createElement(v,{title:g("Colors"),initialOpen:!1},"top"==d&&wp.element.createElement(h,null,wp.element.createElement("p",{className:"uagb-setting-label"},g("Blog Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:F}}))),wp.element.createElement(O,{value:F,onChange:function(e){return a({bgColor:e})},allowReset:!0})),wp.element.createElement(h,null,wp.element.createElement("p",{className:"uagb-setting-label"},g("Title Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:B}}))),wp.element.createElement(O,{value:B,onChange:function(e){return a({titleColor:e})},allowReset:!0})),wp.element.createElement(h,null,wp.element.createElement("p",{className:"uagb-setting-label"},g("Meta Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:W}}))),wp.element.createElement(O,{value:W,onChange:function(e){return a({metaColor:e})}})),1==l&&wp.element.createElement(h,null,wp.element.createElement("p",{className:"uagb-setting-label"},g("Excerpt Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:H}}))),wp.element.createElement(O,{value:H,onChange:function(e){return a({excerptColor:e})},allowReset:!0})),1==m&&wp.element.createElement(h,null,wp.element.createElement("p",{className:"uagb-setting-label"},g("CTA Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:V}}))),wp.element.createElement(O,{value:V,onChange:function(e){return a({ctaColor:e})},allowReset:!0})),1==m&&wp.element.createElement(h,null,wp.element.createElement("p",{className:"uagb-setting-label"},g("CTA Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:q}}))),wp.element.createElement(O,{value:q,onChange:function(e){return a({ctaBgColor:e})},allowReset:!0}))),wp.element.createElement(v,{title:g("Spacing"),initialOpen:!1},wp.element.createElement(_,{label:g("Row Gap"),value:z,onChange:function(e){return a({rowGap:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:g("Column Gap"),value:D,onChange:function(e){return a({columnGap:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:g("Content Padding"),value:U,onChange:function(e){return a({contentPadding:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:g("Title Bottom Spacing"),value:$,onChange:function(e){return a({titleBottomSpace:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:g("Meta Bottom Spacing"),value:K,onChange:function(e){return a({metaBottomSpace:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:g("Excerpt Bottom Spacing"),value:G,onChange:function(e){return a({excerptBottomSpace:e})},min:0,max:50,allowReset:!0}))),X=Array.isArray(r)&&r.length;return X?wp.element.createElement(h,null,Y,wp.element.createElement(P,null,wp.element.createElement(T,{value:b,onChange:function(e){a({align:e})},controls:["center","wide"]})),wp.element.createElement(c.a,{attributes:t,className:this.props.className,latestPosts:r,block_id:this.props.clientId})):wp.element.createElement(h,null,Y,wp.element.createElement(y,{icon:"admin-post",label:g("UAGB - Post Grid")},Array.isArray(r)?g("No posts found."):wp.element.createElement(x,null)))}}]),t}(m);t.a=N(function(e,t){var n=t.attributes,a=n.categories,r=n.postsToShow,o=n.order,i=n.orderBy,u=e("core"),c=u.getEntityRecords,f=s()({categories:a,order:o,orderby:i,per_page:r},function(e){return!l()(e)}),p={per_page:100};return{latestPosts:c("postType","post",f),categoriesList:c("taxonomy","category",p)}})(R)},function(e,t){function n(e){return void 0===e}e.exports=n},function(e,t,n){function a(e,t){if(null==e)return{};var n=r(l(e),function(e){return[e]});return t=o(t),i(e,n,function(e,n){return t(e,n[0])})}var r=n(36),o=n(93),i=n(164),l=n(169);e.exports=a},function(e,t,n){function a(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?l(e)?o(e[0],e[1]):r(e):u(e)}var r=n(94),o=n(151),i=n(59),l=n(4),u=n(161);e.exports=a},function(e,t,n){function a(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}var r=n(95),o=n(150),i=n(58);e.exports=a},function(e,t,n){function a(e,t,n,a){var u=n.length,s=u,c=!a;if(null==e)return!s;for(e=Object(e);u--;){var f=n[u];if(c&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++u<s;){f=n[u];var p=f[0],d=e[p],m=f[1];if(c&&f[2]){if(void 0===d&&!(p in e))return!1}else{var h=new r;if(a)var g=a(d,m,p,e,t,h);if(!(void 0===g?o(m,d,i|l,a,h):g))return!1}}return!0}var r=n(37),o=n(41),i=1,l=2;e.exports=a},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function a(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}var r=n(16),o=Array.prototype,i=o.splice;e.exports=a},function(e,t,n){function a(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}var r=n(16);e.exports=a},function(e,t,n){function a(e){return r(this.__data__,e)>-1}var r=n(16);e.exports=a},function(e,t,n){function a(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}var r=n(16);e.exports=a},function(e,t,n){function a(){this.__data__=new r,this.size=0}var r=n(15);e.exports=a},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function a(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<l-1)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}var r=n(15),o=n(27),i=n(28),l=200;e.exports=a},function(e,t,n){function a(e){return!(!i(e)||o(e))&&(r(e)?m:s).test(l(e))}var r=n(38),o=n(110),i=n(7),l=n(40),u=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,f=Object.prototype,p=c.toString,d=f.hasOwnProperty,m=RegExp("^"+p.call(d).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=a},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){function a(e){var t=i.call(e,u),n=e[u];try{e[u]=void 0;var a=!0}catch(e){}var r=l.call(e);return a&&(t?e[u]=n:delete e[u]),r}var r=n(17),o=Object.prototype,i=o.hasOwnProperty,l=o.toString,u=r?r.toStringTag:void 0;e.exports=a},function(e,t){function n(e){return r.call(e)}var a=Object.prototype,r=a.toString;e.exports=n},function(e,t,n){function a(e){return!!o&&o in e}var r=n(111),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=a},function(e,t,n){var a=n(3),r=a["__core-js_shared__"];e.exports=r},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function a(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}var r=n(114),o=n(15),i=n(27);e.exports=a},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}var r=n(115),o=n(116),i=n(117),l=n(118),u=n(119);a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=l,a.prototype.set=u,e.exports=a},function(e,t,n){function a(){this.__data__=r?r(null):{},this.size=0}var r=n(18);e.exports=a},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function a(e){var t=this.__data__;if(r){var n=t[e];return n===o?void 0:n}return l.call(t,e)?t[e]:void 0}var r=n(18),o="__lodash_hash_undefined__",i=Object.prototype,l=i.hasOwnProperty;e.exports=a},function(e,t,n){function a(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}var r=n(18),o=Object.prototype,i=o.hasOwnProperty;e.exports=a},function(e,t,n){function a(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?o:t,this}var r=n(18),o="__lodash_hash_undefined__";e.exports=a},function(e,t,n){function a(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}var r=n(19);e.exports=a},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function a(e){return r(this,e).get(e)}var r=n(19);e.exports=a},function(e,t,n){function a(e){return r(this,e).has(e)}var r=n(19);e.exports=a},function(e,t,n){function a(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}var r=n(19);e.exports=a},function(e,t,n){function a(e,t,n,a,g,v){var y=s(e),w=s(t),_=y?m:u(e),k=w?m:u(t);_=_==d?h:_,k=k==d?h:k;var x=_==h,E=k==h,C=_==k;if(C&&c(e)){if(!c(t))return!1;y=!0,x=!1}if(C&&!x)return v||(v=new r),y||f(e)?o(e,t,n,a,g,v):i(e,t,_,n,a,g,v);if(!(n&p)){var S=x&&b.call(e,"__wrapped__"),T=E&&b.call(t,"__wrapped__");if(S||T){var P=S?e.value():e,O=T?t.value():t;return v||(v=new r),g(P,O,n,a,v)}}return!!C&&(v||(v=new r),l(e,t,n,a,g,v))}var r=n(37),o=n(42),i=n(131),l=n(135),u=n(145),s=n(4),c=n(51),f=n(53),p=1,d="[object Arguments]",m="[object Array]",h="[object Object]",g=Object.prototype,b=g.hasOwnProperty;e.exports=a},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}var r=n(28),o=n(127),i=n(128);a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){function n(e){return this.__data__.set(e,a),this}var a="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,a=null==e?0:e.length;++n<a;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){function a(e,t,n,a,r,x,C){switch(n){case k:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!x(new o(e),new o(t)));case p:case d:case g:return i(+e,+t);case m:return e.name==t.name&&e.message==t.message;case b:case y:return e==t+"";case h:var S=u;case v:var T=a&c;if(S||(S=s),e.size!=t.size&&!T)return!1;var P=C.get(e);if(P)return P==t;a|=f,C.set(e,t);var O=l(S(e),S(t),a,r,x,C);return C.delete(e),O;case w:if(E)return E.call(e)==E.call(t)}return!1}var r=n(17),o=n(132),i=n(26),l=n(42),u=n(133),s=n(134),c=1,f=2,p="[object Boolean]",d="[object Date]",m="[object Error]",h="[object Map]",g="[object Number]",b="[object RegExp]",v="[object Set]",y="[object String]",w="[object Symbol]",_="[object ArrayBuffer]",k="[object DataView]",x=r?r.prototype:void 0,E=x?x.valueOf:void 0;e.exports=a},function(e,t,n){var a=n(3),r=a.Uint8Array;e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,a){n[++t]=[a,e]}),n}e.exports=n},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){function a(e,t,n,a,i,u){var s=n&o,c=r(e),f=c.length;if(f!=r(t).length&&!s)return!1;for(var p=f;p--;){var d=c[p];if(!(s?d in t:l.call(t,d)))return!1}var m=u.get(e);if(m&&u.get(t))return m==t;var h=!0;u.set(e,t),u.set(t,e);for(var g=s;++p<f;){d=c[p];var b=e[d],v=t[d];if(a)var y=s?a(v,b,d,t,e,u):a(b,v,d,e,t,u);if(!(void 0===y?b===v||i(b,v,n,a,u):y)){h=!1;break}g||(g="constructor"==d)}if(h&&!g){var w=e.constructor,_=t.constructor;w!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(h=!1)}return u.delete(e),u.delete(t),h}var r=n(136),o=1,i=Object.prototype,l=i.hasOwnProperty;e.exports=a},function(e,t,n){function a(e){return r(e,i,o)}var r=n(43),o=n(45),i=n(47);e.exports=a},function(e,t){function n(e,t){for(var n=-1,a=null==e?0:e.length,r=0,o=[];++n<a;){var i=e[n];t(i,n,e)&&(o[r++]=i)}return o}e.exports=n},function(e,t,n){function a(e){return o(e)&&r(e)==i}var r=n(9),o=n(10),i="[object Arguments]";e.exports=a},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function a(e){return i(e)&&o(e.length)&&!!l[r(e)]}var r=n(9),o=n(30),i=n(10),l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Arguments]"]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l["[object Map]"]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1,e.exports=a},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){(function(e){var a=n(39),r="object"==typeof t&&t&&!t.nodeType&&t,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===r,l=i&&a.process,u=function(){try{var e=o&&o.require&&o.require("util").types;return e||l&&l.binding&&l.binding("util")}catch(e){}}();e.exports=u}).call(t,n(52)(e))},function(e,t,n){function a(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))l.call(e,n)&&"constructor"!=n&&t.push(n);return t}var r=n(54),o=n(144),i=Object.prototype,l=i.hasOwnProperty;e.exports=a},function(e,t,n){var a=n(55),r=a(Object.keys,Object);e.exports=r},function(e,t,n){var a=n(146),r=n(27),o=n(147),i=n(148),l=n(149),u=n(9),s=n(40),c=s(a),f=s(r),p=s(o),d=s(i),m=s(l),h=u;(a&&"[object DataView]"!=h(new a(new ArrayBuffer(1)))||r&&"[object Map]"!=h(new r)||o&&"[object Promise]"!=h(o.resolve())||i&&"[object Set]"!=h(new i)||l&&"[object WeakMap]"!=h(new l))&&(h=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,a=n?s(n):"";if(a)switch(a){case c:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=h},function(e,t,n){var a=n(6),r=n(3),o=a(r,"DataView");e.exports=o},function(e,t,n){var a=n(6),r=n(3),o=a(r,"Promise");e.exports=o},function(e,t,n){var a=n(6),r=n(3),o=a(r,"Set");e.exports=o},function(e,t,n){var a=n(6),r=n(3),o=a(r,"WeakMap");e.exports=o},function(e,t,n){function a(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}var r=n(57),o=n(47);e.exports=a},function(e,t,n){function a(e,t){return l(e)&&u(t)?s(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,f|p)}}var r=n(41),o=n(152),i=n(158),l=n(32),u=n(57),s=n(58),c=n(11),f=1,p=2;e.exports=a},function(e,t,n){function a(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}var r=n(31);e.exports=a},function(e,t,n){var a=n(154),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=a(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,function(e,n,a,r){t.push(a?r.replace(o,"$1"):n||e)}),t});e.exports=i},function(e,t,n){function a(e){var t=r(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}var r=n(155),o=500;e.exports=a},function(e,t,n){function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],o=n.cache;if(o.has(r))return o.get(r);var i=e.apply(this,a);return n.cache=o.set(r,i)||o,i};return n.cache=new(a.Cache||r),n}var r=n(28),o="Expected a function";a.Cache=r,e.exports=a},function(e,t,n){function a(e){return null==e?"":r(e)}var r=n(157);e.exports=a},function(e,t,n){function a(e){if("string"==typeof e)return e;if(i(e))return o(e,a)+"";if(l(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-u?"-0":t}var r=n(17),o=n(36),i=n(4),l=n(21),u=1/0,s=r?r.prototype:void 0,c=s?s.toString:void 0;e.exports=a},function(e,t,n){function a(e,t){return null!=e&&o(e,t,r)}var r=n(159),o=n(160);e.exports=a},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function a(e,t,n){t=r(t,e);for(var a=-1,c=t.length,f=!1;++a<c;){var p=s(t[a]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++a!=c?f:!!(c=null==e?0:e.length)&&u(c)&&l(p,c)&&(i(e)||o(e))}var r=n(20),o=n(50),i=n(4),l=n(29),u=n(30),s=n(11);e.exports=a},function(e,t,n){function a(e){return i(e)?r(l(e)):o(e)}var r=n(162),o=n(163),i=n(32),l=n(11);e.exports=a},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function a(e){return function(t){return r(t,e)}}var r=n(31);e.exports=a},function(e,t,n){function a(e,t,n){for(var a=-1,l=t.length,u={};++a<l;){var s=t[a],c=r(e,s);n(c,s)&&o(u,i(s,e),c)}return u}var r=n(31),o=n(165),i=n(20);e.exports=a},function(e,t,n){function a(e,t,n,a){if(!l(e))return e;t=o(t,e);for(var s=-1,c=t.length,f=c-1,p=e;null!=p&&++s<c;){var d=u(t[s]),m=n;if(s!=f){var h=p[d];m=a?a(h,d,p):void 0,void 0===m&&(m=l(h)?h:i(t[s+1])?[]:{})}r(p,d,m),p=p[d]}return e}var r=n(166),o=n(20),i=n(29),l=n(7),u=n(11);e.exports=a},function(e,t,n){function a(e,t,n){var a=e[t];l.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}var r=n(167),o=n(26),i=Object.prototype,l=i.hasOwnProperty;e.exports=a},function(e,t,n){function a(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var r=n(168);e.exports=a},function(e,t,n){var a=n(6),r=function(){try{var e=a(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},function(e,t,n){function a(e){return r(e,i,o)}var r=n(43),o=n(170),i=n(172);e.exports=a},function(e,t,n){var a=n(44),r=n(171),o=n(45),i=n(46),l=Object.getOwnPropertySymbols,u=l?function(e){for(var t=[];e;)a(t,o(e)),e=r(e);return t}:i;e.exports=u},function(e,t,n){var a=n(55),r=a(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){function a(e){return i(e)?r(e,!0):o(e)}var r=n(48),o=n(173),i=n(56);e.exports=a},function(e,t,n){function a(e){if(!r(e))return i(e);var t=o(e),n=[];for(var a in e)("constructor"!=a||!t&&u.call(e,a))&&n.push(a);return n}var r=n(7),o=n(54),i=n(174),l=Object.prototype,u=l.hasOwnProperty;e.exports=a},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=n.n(i),u=n(176),s=n(177),c=n(178),f=n(179),p=n(180),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),m=(wp.htmlEntities.decodeEntities,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),d(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,a=e.latestPosts,r=e.block_id,o=(t.displayPostImage,t.columns),i=t.tcolumns,d=t.mcolumns,m=t.imgPosition,h=t.postsToShow,g=t.rowGap,b=t.columnGap,v=t.bgColor,y=t.contentPadding,w=t.equalHeight,_=w?"uagb-post__equal-height":"",k=a.length>h?a.slice(0,h):a;return wp.element.createElement("div",{className:l()(n,"uagb-post-grid","uagb-post__image-position-"+m),id:"uagb-post__grid-"+r},wp.element.createElement("div",{className:l()("is-grid","uagb-post__columns-"+o,"uagb-post__columns-tablet-"+i,"uagb-post__columns-mobile-"+d,"uagb-post__items",""+_),style:{marginRight:-g/2,marginLeft:-g/2}},k.map(function(e,n){return wp.element.createElement("article",{key:n,style:{paddingRight:g/2,paddingLeft:g/2,marginBottom:b}},wp.element.createElement("div",{className:"uagb-post__inner-wrap",style:{background:v}},wp.element.createElement(u.a,{post:e,attributes:t}),wp.element.createElement("div",{className:"uagb-post__text",style:{padding:y}},wp.element.createElement(s.a,{post:e,attributes:t}),wp.element.createElement(c.a,{post:e,attributes:t}),wp.element.createElement(f.a,{post:e,attributes:t}),wp.element.createElement(p.a,{post:e,attributes:t}))))})))}}]),t}(React.Component));t.a=m},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.htmlEntities.decodeEntities,u=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=e.attributes;if(n.displayPostImage&&void 0!==t.featured_image_src&&n.imgSize&&t.featured_image_src[n.imgSize]){var a=t.featured_image_src[n.imgSize];return wp.element.createElement("div",{className:"uagb-post__image"},wp.element.createElement("a",{href:t.link,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("img",{src:a[0],alt:l(t.title.rendered.trim())||__("(Untitled)")})))}return null}}]),t}(React.Component);t.a=u},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.htmlEntities.decodeEntities,u=wp.i18n.__,s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props.attributes.titleTag,t=this.props,n=t.post,a=t.attributes;return wp.element.createElement(e,{className:"uagb-post__title",style:{color:a.titleColor,fontSize:a.titleFontSize,marginBottom:a.titleBottomSpace}},wp.element.createElement("a",{style:{color:a.titleColor,fontSize:a.titleFontSize},href:n.link,target:"_blank",rel:"noopener noreferrer"},l(n.title.rendered.trim())||u("(Untitled)")))}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.date,u=l.dateI18n,s=l.format,c=l.__experimentalGetSettings,f=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=e.attributes,a=c().formats.date;return wp.element.createElement("div",{className:"uagb-post-grid-byline",style:{color:n.metaColor,marginBottom:n.metaBottomSpace}},n.displayPostAuthor&&void 0!==t.author_info&&wp.element.createElement("div",{className:"uagb-post__author",style:{color:n.metaColor}},wp.element.createElement("span",{className:"dashicons-admin-users dashicons"}),wp.element.createElement("a",{style:{color:n.metaColor},target:"_blank",href:t.author_info.author_link,rel:"noopener noreferrer"},t.author_info.display_name)),n.displayPostDate&&t.date_gmt&&wp.element.createElement("time",{dateTime:s("c",t.date_gmt),className:"uagb-post__date"},wp.element.createElement("span",{className:"dashicons-calendar dashicons"}),u(a,t.date_gmt)),n.displayPostComment&&void 0!==t.comment_info&&wp.element.createElement("div",{className:"uagb-post__comment"},wp.element.createElement("span",{className:"dashicons-admin-comments dashicons"}),t.comment_info))}}]),t}(React.Component);t.a=f},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=e.attributes;return n.displayPostExcerpt&&void 0!==t.excerpt?wp.element.createElement("div",{className:"uagb-post__excerpt",style:{color:n.excerptColor,marginBottom:n.excerptBottomSpace}},wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:t.excerpt}})):null}}]),t}(React.Component);t.a=l},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.i18n.__,u=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=e.attributes;return n.displayPostLink?wp.element.createElement("div",{className:"uagb-post__cta",style:{color:n.ctaColor,background:n.ctaBgColor}},wp.element.createElement("a",{style:{color:n.ctaColor},className:"uagb-post__link uagb-text-link",href:t.link,target:"_blank",rel:"noopener noreferrer"},l("Read More"))):null}}]),t}(React.Component);t.a=u},function(e,t){},function(e,t){},function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(2),i=n(184),l=(n.n(i),n(185)),u=(n.n(l),n(186)),s=n(187),c=(n(60),wp.i18n.__),f=wp.blocks.registerBlockType,p=wp.editor.InnerBlocks;f("uagb/section",{title:uagb_blocks_info.blocks["uagb/section"].title,description:uagb_blocks_info.blocks["uagb/section"].description,icon:o.a.section,category:uagb_blocks_info.category,keywords:[c("section"),c("uagb")],attributes:u.a,getEditWrapperProps:function(e){var t=e.blockAlignment;if("left"===t||"right"===t||"center"===t)return{"data-align":t}},edit:s.a,save:function(e){var t=(e.attributes,e.className),n=e.attributes,a=n.block_id,o=n.tag,i=n.backgroundType,l=n.backgroundVideo,u=""+o;return wp.element.createElement(u,{className:r()(t,"uagb-section__wrap","uagb-section__background-"+i),id:"uagb-section-"+a},wp.element.createElement("div",{className:"uagb-section__overlay"}),"video"==i&&wp.element.createElement("div",{className:"uagb-section__video-wrap"},l&&wp.element.createElement("video",{src:l.url,autoPlay:!0,loop:!0,muted:!0})),wp.element.createElement("div",{className:"uagb-section__inner-wrap"},wp.element.createElement(p.Content,null)))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var a={align:{type:"string",default:"center"},block_id:{type:"string"},topPadding:{type:"string",default:"20"},bottomPadding:{type:"string",default:"20"},leftPadding:{type:"string",default:"20"},rightPadding:{type:"string",default:"20"},topMargin:{type:"string",default:"0"},bottomMargin:{type:"string",default:"0"},leftMargin:{type:"string",default:"0"},rightMargin:{type:"string",default:"0"},contentWidth:{type:"string",default:"boxed"},width:{type:"number",default:900},innerWidth:{type:"number",default:1140},tag:{type:"string",default:"section"},backgroundType:{type:"string"},backgroundImage:{type:"object"},backgroundPosition:{type:"string",default:"center-center"},backgroundSize:{type:"string",default:"cover"},backgroundRepeat:{type:"string",default:"no-repeat"},backgroundAttachment:{type:"string",default:"scroll"},backgroundVideo:{type:"object"},backgroundColor:{type:"string"},gradientColor1:{type:"string"},gradientColor2:{type:"string"},gradientType:{type:"string",default:"linear"},gradientLocation1:{type:"number",default:"0"},gradientLocation2:{type:"number",default:"100"},gradientAngle:{type:"number",default:"0"},backgroundOpacity:{type:"number",default:"0"},backgroundVideoOpacity:{type:"number",default:"50"},backgroundVideoColor:{type:"string"},backgroundImageColor:{type:"string"},borderStyle:{type:"string",default:"none"},borderWidth:{type:"number",default:"1"},borderRadius:{type:"number"},borderColor:{type:"string"}};t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=n.n(i),u=n(188),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),c=wp.i18n.__,f=wp.element,p=f.Component,d=f.Fragment,m=wp.editor,h=(m.AlignmentToolbar,m.BlockControls),g=m.BlockAlignmentToolbar,b=m.ColorPalette,v=m.InspectorControls,y=m.InnerBlocks,w=m.MediaUpload,_=m.PanelColorSettings,k=wp.components,x=k.PanelBody,E=k.SelectControl,C=k.RangeControl,S=k.Button,T=(k.Dashicon,k.BaseControl),P=k.withNotices,O=function(e){function t(){a(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onRemoveVideo=e.onRemoveVideo.bind(e),e.onRemoveImage=e.onRemoveImage.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e.onSelectVideo=e.onSelectVideo.bind(e),e}return o(t,e),s(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-style-"+this.props.clientId),document.head.appendChild(e)}},{key:"onRemoveImage",value:function(){this.props.attributes.backgroundImage;(0,this.props.setAttributes)({backgroundImage:null})}},{key:"onSelectImage",value:function(e){var t=(this.props.attributes.backgroundImage,this.props.setAttributes);if(!e||!e.url)return void t({backgroundImage:null});e.type&&"image"==e.type&&t({backgroundImage:e})}},{key:"onRemoveVideo",value:function(){this.props.attributes.backgroundVideo;(0,this.props.setAttributes)({backgroundVideo:null})}},{key:"onSelectVideo",value:function(e){var t=(this.props.attributes.backgroundVideo,this.props.setAttributes);if(!e||!e.url)return void t({backgroundVideo:null});e.type&&"video"==e.type&&t({backgroundVideo:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=t.align,r=t.className,o=(t.padding,t.contentWidth),i=t.width,s=t.innerWidth,f=t.tag,p=t.leftPadding,m=t.rightPadding,k=t.topPadding,P=t.bottomPadding,O=t.leftMargin,N=t.rightMargin,R=t.topMargin,I=t.bottomMargin,j=t.backgroundType,M=t.backgroundImage,A=t.backgroundVideo,z=t.backgroundColor,D=t.backgroundPosition,F=t.backgroundAttachment,U=t.backgroundRepeat,B=t.backgroundSize,L=t.gradientColor1,W=t.gradientColor2,H=t.gradientLocation1,V=t.gradientLocation2,q=t.gradientType,$=t.gradientAngle,K=t.backgroundOpacity,G=t.backgroundVideoColor,Q=t.backgroundVideoOpacity,Y=t.backgroundImageColor,X=t.borderStyle,J=t.borderWidth,Z=t.borderRadius,ee=t.borderColor,te=""+f,ne=document.getElementById("uagb-style-"+this.props.clientId);null!=ne&&"undefined"!=typeof ne&&(ne.innerHTML=Object(u.a)(this.props));return wp.element.createElement(d,null,wp.element.createElement(h,null,wp.element.createElement(g,{value:a,onChange:function(e){n({align:e})},controls:["left","center","right"]})),wp.element.createElement(v,null,wp.element.createElement(x,{title:c("Layout")},wp.element.createElement(E,{label:c("Content Width"),value:o,onChange:function(e){return n({contentWidth:e})},options:[{value:"boxed",label:c("Boxed")},{value:"full_width",label:c("Full Width")}]}),"boxed"==o&&wp.element.createElement(C,{label:c("Width"),value:i,onChange:function(e){return n({width:e})}}),"boxed"!=o&&wp.element.createElement(C,{label:c("Inner Width"),value:s,onChange:function(e){return n({innerWidth:e})}}),wp.element.createElement(E,{label:c("HTML Tag"),value:f,onChange:function(e){return n({tag:e})},options:[{value:"div",label:c("div")},{value:"header",label:c("header")},{value:"footer",label:c("footer")},{value:"main",label:c("main")},{value:"article",label:c("article")},{value:"section",label:c("section")},{value:"aside",label:c("aside")},{value:"nav",label:c("nav")}]})),wp.element.createElement(x,{title:c("Spacing"),initialOpen:!1},wp.element.createElement(C,{label:c("Left Padding"),value:p,onChange:function(e){return n({leftPadding:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Right Padding"),value:m,onChange:function(e){return n({rightPadding:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Top Padding"),value:k,onChange:function(e){return n({topPadding:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Bottom Padding"),value:P,onChange:function(e){return n({bottomPadding:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Left Margin"),value:O,onChange:function(e){return n({leftMargin:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Right Margin"),value:N,onChange:function(e){return n({rightMargin:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Top Margin"),value:R,onChange:function(e){return n({topMargin:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Bottom Margin"),value:I,onChange:function(e){return n({bottomMargin:e})},min:10,max:200,allowReset:!0})),wp.element.createElement(x,{title:c("Background"),initialOpen:!1},wp.element.createElement(E,{label:c("Background Type"),value:j,onChange:function(e){return n({backgroundType:e})},options:[{value:"none",label:c("None")},{value:"color",label:c("Color")},{value:"gradient",label:c("Gradient")},{value:"image",label:c("Image")},{value:"video",label:c("Video")}]}),"color"==j&&wp.element.createElement(d,null,wp.element.createElement("p",{className:"uagb-setting-label"},c("Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:z}}))),wp.element.createElement(b,{value:z,onChange:function(e){return n({backgroundColor:e})},allowReset:!0})),"image"==j&&wp.element.createElement(d,null,wp.element.createElement(T,{className:"editor-bg-image-control",label:c("Background Image")},wp.element.createElement(w,{title:c("Select Background Image"),onSelect:this.onSelectImage,allowedTypes:["image"],value:M,render:function(e){var t=e.open;return wp.element.createElement(S,{isDefault:!0,onClick:t},c(M?"Replace image":"Select Background Image"))}}),M&&wp.element.createElement(S,{className:"uagb-rm-btn",onClick:this.onRemoveImage,isLink:!0,isDestructive:!0},c("Remove Image"))),M&&wp.element.createElement(d,null,wp.element.createElement(E,{label:c("Image Position"),value:D,onChange:function(e){return n({backgroundPosition:e})},options:[{value:"top-left",label:c("Top Left")},{value:"top-center",label:c("Top Center")},{value:"top-right",label:c("Top Right")},{value:"center-left",label:c("Center Left")},{value:"center-center",label:c("Center Center")},{value:"center-right",label:c("Center Right")},{value:"bottom-left",label:c("Bottom Left")},{value:"bottom-center",label:c("Bottom Center")},{value:"bottom-right",label:c("Bottom Right")}]}),wp.element.createElement(E,{label:c("Attachment"),value:F,onChange:function(e){return n({backgroundAttachment:e})},options:[{value:"fixed",label:c("Fixed")},{value:"scroll",label:c("Scroll")}]}),wp.element.createElement(E,{label:c("Repeat"),value:U,onChange:function(e){return n({backgroundRepeat:e})},options:[{value:"no-repeat",label:c("No Repeat")},{value:"repeat",label:c("Repeat")},{value:"repeat-x",label:c("Repeat-x")},{value:"repeat-y",label:c("Repeat-y")}]}),wp.element.createElement(E,{label:c("Size"),value:B,onChange:function(e){return n({backgroundSize:e})},options:[{value:"auto",label:c("Auto")},{value:"cover",label:c("Cover")},{value:"contain",label:c("Contain")}]}),wp.element.createElement(d,null,wp.element.createElement("p",{className:"uagb-setting-label"},c("Image Overlay Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:Y}}))),wp.element.createElement(b,{value:Y,onChange:function(e){return n({backgroundImageColor:e})},allowReset:!0})))),"gradient"==j&&wp.element.createElement(d,null,wp.element.createElement(_,{title:c("Color Settings"),colorSettings:[{value:L,onChange:function(e){return n({gradientColor1:e})},label:c("Color 1")},{value:W,onChange:function(e){return n({gradientColor2:e})},label:c("Color 2")}]}),wp.element.createElement(E,{label:c("Type"),value:q,onChange:function(e){return n({gradientType:e})},options:[{value:"linear",label:c("Linear")},{value:"radial",label:c("Radial")}]}),wp.element.createElement(C,{label:c("Location 1"),value:H,onChange:function(e){return n({gradientLocation1:e})},min:0,max:100,allowReset:!0}),wp.element.createElement(C,{label:c("Location 2"),value:V,onChange:function(e){return n({gradientLocation2:e})},min:0,max:100,allowReset:!0}),wp.element.createElement(C,{label:c("Angle"),value:$,onChange:function(e){return n({gradientAngle:e})},min:0,max:360,allowReset:!0})),"video"==j&&wp.element.createElement(T,{className:"editor-bg-video-control",label:c("Background Video")},wp.element.createElement(w,{title:c("Select Background Video"),onSelect:this.onSelectVideo,allowedTypes:["video"],value:A,render:function(e){var t=e.open;return wp.element.createElement(S,{isDefault:!0,onClick:t},c(A?"Replace Video":"Select Background Video"))}}),A&&wp.element.createElement(S,{onClick:this.onRemoveVideo,isLink:!0,isDestructive:!0},c("Remove Video"))),("color"==j||"image"==j&&M||"gradient"==j)&&wp.element.createElement(C,{label:c("Opacity"),value:K,onChange:function(e){return n({backgroundOpacity:e})},min:0,max:100,allowReset:!0,initialPosition:0}),"video"==j&&A&&wp.element.createElement(d,null,wp.element.createElement("p",{className:"uagb-setting-label"},c("Video Overlay Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:G}}))),wp.element.createElement(b,{value:G,onChange:function(e){return n({backgroundVideoColor:e})},allowReset:!0})),"video"==j&&A&&wp.element.createElement(C,{label:c("Opacity"),value:Q,onChange:function(e){return n({backgroundVideoOpacity:e})},min:0,max:100,allowReset:!0,initialPosition:50})),wp.element.createElement(x,{title:c("Border"),initialOpen:!1},wp.element.createElement(E,{label:c("Border Style"),value:X,onChange:function(e){return n({borderStyle:e})},options:[{value:"none",label:c("None")},{value:"solid",label:c("Solid")},{value:"dotted",label:c("Dotted")},{value:"dashed",label:c("Dashed")},{value:"double",label:c("Double")},{value:"groove",label:c("Groove")},{value:"inset",label:c("Inset")},{value:"outset",label:c("Outset")},{value:"ridge",label:c("Ridge")}]}),"none"!=X&&wp.element.createElement(C,{label:c("Border Width"),value:J,onChange:function(e){return n({borderWidth:e})},min:0,max:50,allowReset:!0}),"none"!=X&&wp.element.createElement(C,{label:c("Border Radius"),value:Z,onChange:function(e){return n({borderRadius:e})},min:0,max:1e3,allowReset:!0}),"none"!=X&&wp.element.createElement(d,null,wp.element.createElement("p",{className:"uagb-setting-label"},c("Border Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:ee}}))),wp.element.createElement(b,{value:ee,onChange:function(e){return n({borderColor:e})},allowReset:!0})))),wp.element.createElement(te,{className:l()(r,"uagb-section__wrap","uagb-section__background-"+j),id:"uagb-section-"+this.props.clientId},wp.element.createElement("div",{className:"uagb-section__overlay"}),"video"==j&&wp.element.createElement("div",{className:"uagb-section__video-wrap"},A&&wp.element.createElement("video",{src:A.url,autoPlay:!0,loop:!0,muted:!0})),wp.element.createElement("div",{className:"uagb-section__inner-wrap"},wp.element.createElement(y,null))))}}]),t}(p);t.a=P(O)},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.backgroundType,a=t.backgroundVideoColor,o=t.backgroundImageColor,i=t.backgroundOpacity,l=t.backgroundVideoOpacity,u=(t.backgroundVideo,t.className,t.innerWidth),s=t.contentWidth,c="100%";"undefined"!=typeof s&&"boxed"!=s&&"undefined"!=typeof u&&(c=u+"px");var f={".uagb-section__wrap":Object(r.a)(e)," .uagb-section__video-wrap":{opacity:"undefined"!=typeof l?(100-l)/100:.5}," .uagb-section__inner-wrap":{"max-width":c}};f[" > .uagb-section__overlay"]="video"==n?{opacity:1,"background-color":a}:"image"==n?{opacity:"undefined"!=typeof i?i/100:0,"background-color":o}:{opacity:"undefined"!=typeof i?i/100:0};var p="";for(var d in f){p+="#uagb-section-"+e.clientId,p+=d+" { ";var m=f[d],h="";for(var g in m)h+=g+": "+m[g]+";";p+=h+" } "}return p}var r=n(60);t.a=a},function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(12),i=n.n(o),l=n(2),u=n(194),s=(n.n(u),n(195)),c=(n.n(s),n(196)),f=n(197),p=wp.i18n.__,d=wp.blocks.registerBlockType,m=wp.editor.RichText;d("uagb/buttons",{title:uagb_blocks_info.blocks["uagb/buttons"].title,description:uagb_blocks_info.blocks["uagb/buttons"].description,icon:l.a.buttons,category:uagb_blocks_info.category,keywords:[p("buttons"),p("multi buttons"),p("uagb")],attributes:c.a,edit:f.a,save:function(e){var t=(e.attributes,e.className),n=e.attributes,a=n.block_id,o=(n.align,n.items,n.buttons),l=n.btn_count,u=function(e){if("undefined"!=typeof o[e])return wp.element.createElement("div",{className:r()("uagb-buttons-repeater-"+e,"uagb-button__wrapper"),key:e},wp.element.createElement(m.Content,{placeholder:p("Click Here"),value:o[e].label,tagName:"a",className:"uagb-button__link",href:o[e].link,rel:"noopener noreferrer",target:o[e].target}))};return wp.element.createElement("div",{className:r()(t,"uagb-buttons__outer-wrap"),id:"uagb-buttons-"+a},wp.element.createElement("div",{className:"uagb-buttons__wrap"},i()(l,function(e){return u(e)})))}})},function(e,t,n){function a(e){return"function"==typeof e?e:r}var r=n(59);e.exports=a},function(e,t,n){function a(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}var r=n(192);e.exports=a},function(e,t,n){function a(e){if(!e)return 0===e?e:0;if((e=r(e))===o||e===-o){return(e<0?-1:1)*i}return e===e?e:0}var r=n(193),o=1/0,i=1.7976931348623157e308;e.exports=a},function(e,t,n){function a(e){if("number"==typeof e)return e;if(o(e))return i;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=s.test(e);return n||c.test(e)?f(e.slice(2),n?2:8):u.test(e)?i:+e}var r=n(7),o=n(21),i=NaN,l=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;e.exports=a},function(e,t){},function(e,t){},function(e,t,n){"use strict";for(var a=[],r=1;r<=2;r++){var o="Click Here #"+r;a.push({label:o,link:"#",target:"_self",size:"",vPadding:10,hPadding:14,borderWidth:1,borderRadius:2,borderStyle:"solid",borderColor:"#333",borderHColor:"#333",color:"#333",background:"",hColor:"#333",hBackground:""})}var i={block_id:{type:"string"},align:{type:"string",default:"center"},btn_count:{type:"number",default:2},buttons:{type:"array",default:a},gap:{type:"number",default:10},stack:{type:"string",default:"none"}};t.a=i},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(12),c=n.n(s),f=n(198),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),m=wp.i18n.__,h=wp.element,g=h.Component,b=h.Fragment,v=wp.editor,y=(v.AlignmentToolbar,v.BlockControls),w=v.BlockAlignmentToolbar,_=v.InspectorControls,k=v.RichText,x=v.PanelColorSettings,E=v.URLInput,C=wp.components,S=C.PanelBody,T=C.SelectControl,P=C.RangeControl,O=function(e){function t(){r(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.state={isHovered:"false",isFocused:"false"},e}return i(t,e),d(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-style-buttons-"+this.props.clientId),document.head.appendChild(e)}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.state.isFocused&&this.setState({isFocused:"false"})}},{key:"saveButton",value:function(e,t){var n=this.props,a=n.attributes;(0,n.setAttributes)({buttons:a.buttons.map(function(n,a){return t===a&&(n=p({},n,e)),n})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.isSelected,i=n.align,l=n.className,s=n.btn_count,p=n.buttons,d=n.gap,h=n.stack,g=function(){"false"!==e.state.isHovered&&e.setState({isHovered:"false"})},v=function(t){e.setState({isFocused:t})},C=function(t){e.setState({isHovered:t})},O=function(t){return wp.element.createElement(S,{key:t,title:m("Button")+" "+(t+1)+" "+m("Settings"),initialOpen:!1},wp.element.createElement("p",{className:"components-base-control__label"},m("Link")),wp.element.createElement(E,{value:p[t].link,onChange:function(n){e.saveButton({link:n},t)}}),wp.element.createElement(T,{label:m("Link Target"),value:p[t].target,options:[{value:"_self",label:m("Same Window")},{value:"_blank",label:m("New Window")}],onChange:function(n){e.saveButton({target:n},t)}}),wp.element.createElement(P,{beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",label:m("Button Text Size"),value:p[t].size,onChange:function(n){e.saveButton({size:n},t)},min:10,max:100,initialPosition:16}),wp.element.createElement(P,{label:m("Top and Bottom Padding"),value:p[t].vPadding,onChange:function(n){e.saveButton({vPadding:n},t)},min:0,max:100}),wp.element.createElement(P,{label:m("Left and Right Padding"),value:p[t].hPadding,onChange:function(n){e.saveButton({hPadding:n},t)},min:0,max:100}),wp.element.createElement(P,{label:m("Border Thickness"),value:p[t].borderWidth,onChange:function(n){e.saveButton({borderWidth:n},t)},min:0,max:20}),wp.element.createElement(T,{label:m("Border Style"),value:p[t].borderStyle,options:[{value:"solid",label:m("Solid")},{value:"dotted",label:m("Dotted")},{value:"dashed",label:m("Dashed")},{value:"double",label:m("Double")}],onChange:function(n){e.saveButton({borderStyle:n},t)}}),wp.element.createElement(P,{label:m("Border Radius"),value:p[t].borderRadius,onChange:function(n){e.saveButton({borderRadius:n},t)},min:0,max:50}),wp.element.createElement(x,{title:m("Color Settings"),colorSettings:[{value:p[t].color,onChange:function(n){return e.saveButton({color:n},t)},label:m("Color")},{value:p[t].background,onChange:function(n){return e.saveButton({background:n},t)},label:m("Background Color")},{value:p[t].borderColor,onChange:function(n){return e.saveButton({borderColor:n},t)},label:m("Border Color")},{value:p[t].hColor,onChange:function(n){return e.saveButton({hColor:n},t)},label:m("Hover Color")},{value:p[t].hBackground,onChange:function(n){return e.saveButton({hBackground:n},t)},label:m("Background Hover Color")},{value:p[t].borderHColor,onChange:function(n){return e.saveButton({borderHColor:n},t)},label:m("Border Hover Color")}]}))},N=document.getElementById("uagb-style-buttons-"+this.props.clientId);return null!=N&&"undefined"!=typeof N&&(N.innerHTML=Object(f.a)(this.props)),wp.element.createElement(b,null,wp.element.createElement(y,null,wp.element.createElement(w,{value:i,onChange:function(e){r({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(_,null,wp.element.createElement(S,{title:m("Button Count"),initialOpen:!0},wp.element.createElement(P,{label:m("Number of Buttons"),value:s,onChange:function(e){var t=[].concat(a(p));if(t.length<e){var n=Math.abs(e-t.length);c()(n,function(e){t.push({label:"Click Here #"+(t.length+1),link:t[0].link,target:t[0].target,size:t[0].size,vPadding:t[0].vPadding,hPadding:t[0].hPadding,borderRadius:t[0].borderRadius,borderWidth:t[0].borderWidth,borderColor:t[0].borderColor,borderHColor:t[0].borderHColor,borderStyle:t[0].borderStyle,color:t[0].color,background:t[0].background,hColor:t[0].hColor,hBackground:t[0].hBackground})}),r({buttons:t})}r({btn_count:e})},min:1,max:5})),c()(s,function(e){return O(e)}),wp.element.createElement(S,{title:m("Spacing"),initialOpen:!1},wp.element.createElement(P,{label:m("Gap between Buttons"),value:d,onChange:function(e){return r({gap:e})},min:0,max:50}),wp.element.createElement(T,{label:m("Stack on"),value:h,options:[{value:"none",label:m("None")},{value:"desktop",label:m("Desktop")},{value:"tablet",label:m("Tablet")},{value:"mobile",label:m("Mobile")}],onChange:function(e){return r({stack:e})}}),wp.element.createElement("p",{className:"uagb-note"},m("Note: Choose on what breakpoint the buttons will stack.")))),wp.element.createElement("div",{className:u()(l,"uagb-buttons__outer-wrap"),id:"uagb-buttons-"+this.props.clientId},wp.element.createElement("div",{className:"uagb-buttons__wrap"},p.map(function(t,n){if(!(s<=n))return wp.element.createElement("div",{className:u()("uagb-buttons-repeater-"+n,"uagb-button__wrapper",o&&!1!==e.state.isFocused&&n===e.state.isFocused?"uagb-button__active":""),key:n},wp.element.createElement(k,{placeholder:m("Click Here"),value:t.label,tagName:"a",onChange:function(t){e.saveButton({label:t},n)},onMouseOut:g,onMouseOver:function(){C(n)},formattingControls:["bold","italic","strikethrough"],className:"uagb-button__link",rel:"noopener noreferrer",unstableOnFocus:function(){v(n)}}))}))))}}]),t}(g);t.a=O},function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){var t=e.attributes,n=t.align,r=(t.className,t.btn_count),o=t.buttons,i=t.gap,l=t.stack,u={},s={},c={};o.map(function(e,t){r<=t||(u[" .uagb-buttons-repeater-"+t]={"font-size":e.size+"px",border:e.borderWidth+"px "+e.borderStyle+" "+e.borderColor,"border-radius":e.borderRadius+"px",background:e.background},u[" .uagb-buttons-repeater-"+t+":hover"]={background:e.hBackground,border:e.borderWidth+"px "+e.borderStyle+" "+e.borderHColor},u[" .uagb-buttons-repeater-"+t+" a.uagb-button__link"]={padding:e.vPadding+"px "+e.hPadding+"px",color:e.color},u[" .uagb-buttons-repeater-"+t+":hover a.uagb-button__link"]={color:e.hColor})}),u[" .uagb-button__wrapper"]={"margin-left":i/2+"px","margin-right":i/2+"px"},u[" .uagb-button__wrapper:first-child"]={"margin-left":0},u[" .uagb-button__wrapper:last-child"]={"margin-right":0};var f="left"==n?"flex-start":"right"==n?"flex-end":"center";u[" .uagb-buttons__wrap"]=a({"justify-content":f,"-webkit-box-pack":f,"-ms-flex-pack":f},"justify-content",f),"desktop"==l?(u[" .uagb-button__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":i+"px"},u[" .uagb-buttons__wrap"]={"flex-direction":"column"},u[" .uagb-button__wrapper:last-child"]={"margin-bottom":0}):"tablet"==l?(s[" .uagb-button__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":i+"px"},s[" .uagb-buttons__wrap"]={"flex-direction":"column"},s[" .uagb-button__wrapper:last-child"]={"margin-bottom":0}):"mobile"==l&&(c[" .uagb-button__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":i+"px"},c[" .uagb-buttons__wrap"]={"flex-direction":"column"},c[" .uagb-button__wrapper:last-child"]={"margin-bottom":0});var p="",d="#uagb-buttons-"+e.clientId;for(var m in u){p+=d,p+=m+" { ";var h=u[m],g="";for(var b in h)g+=b+": "+h[b]+";";p+=g+" } "}p+="@media only screen and (max-width: 976px) {";for(var m in s){p+=d,p+=m+" { ";var h=s[m],g="";for(var b in h)g+=b+": "+h[b]+";";p+=g+" } "}p+=" }",p+="@media only screen and (max-width: 767px) {";for(var m in c){p+=d,p+=m+" { ";var h=c[m],g="";for(var b in h)g+=b+": "+h[b]+";";p+=g+" } "}return p+=" }"}t.a=r},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var r=n(0),o=n.n(r),i=n(2),l=n(61),u=n(62),s=n(63),c=n(64),f=n(65),p=n(66),d=n(67),m=n(68),h=n(69),g=n(200),b=n(220),v=n(221),y=(n.n(v),n(222)),w=(n.n(y),wp.i18n.__),_=wp.blocks.registerBlockType,k=(wp.editor.RichText,wp.element.Fragment);_("uagb/info-box",{title:uagb_blocks_info.blocks["uagb/info-box"].title,description:uagb_blocks_info.blocks["uagb/info-box"].description,icon:i.a.info_box,keywords:[w("info-box"),w("uagb")],category:uagb_blocks_info.category,attributes:b.a,edit:g.a,save:function(e){var t=e.attributes,n=t.iconimgPosition,r=t.block_id,i=t.source_type,g=t.seperatorStyle,b=(t.backgroundType,t.ctaType),v=t.ctaLink,y=t.ctaTarget,w=t.className,_="uagb-infobox-"+r,x="undefined"!=typeof w?w:"";x=x+" "+_;var E=(Object(m.a)(e),"");E="icon"===i?wp.element.createElement(c.a,{attributes:e.attributes}):wp.element.createElement(h.a,{attributes:e.attributes});var C=wp.element.createElement(k,null,"none"!==g&&wp.element.createElement(p.a,{attributes:e.attributes}),wp.element.createElement("div",{className:"uagb-ifb-text-wrap"},wp.element.createElement(s.a,{attributes:e.attributes,setAttributes:"not_set"}),wp.element.createElement(d.a,{attributes:e.attributes}))),S=wp.element.createElement(k,null,wp.element.createElement("div",{className:"uagb-ifb-title-wrap"},wp.element.createElement(l.a,{attributes:e.attributes,setAttributes:"not_set"}),wp.element.createElement(u.a,{attributes:e.attributes,setAttributes:"not_set"}))),T=wp.element.createElement(k,null,wp.element.createElement("div",{className:o.a.apply(void 0,["uagb-infobox__content-wrap"].concat(a(Object(f.a)(e.attributes))))},wp.element.createElement("div",{className:"uagb-ifb-left-right-wrap"},"left"==n&&E,wp.element.createElement("div",{className:"uagb-ifb-content"},"above-title"==n&&E,("above-title"==n||"below-title"==n)&&S,"below-title"==n&&E,("above-title"==n||"below-title"==n)&&C,"left-title"===n&&wp.element.createElement(k,null,wp.element.createElement("div",{className:"uagb-ifb-left-title-image"},E,S),C),"right-title"===n&&wp.element.createElement(k,null,wp.element.createElement("div",{className:"uagb-ifb-right-title-image"},S,E),C),("left"==n||"right"==n)&&wp.element.createElement(k,null,S,C)),"right"==n&&E))),P="";return y&&(P="_blank"),wp.element.createElement(k,null,wp.element.createElement("div",{className:o()(w,"uagb-infobox__outer-wrap"),id:_},"all"==b&&wp.element.createElement(k,null,wp.element.createElement("a",{href:v,className:"uagb-infobox-link-wrap",target:P,rel:"noopener noreferrer"}," ",T)),"all"!==b&&T))}})},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(22),c=n(23),f=n.n(c),p=n(61),d=n(62),m=n(63),h=n(64),g=n(65),b=n(66),v=n(67),y=n(68),w=n(69),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),k=wp.i18n.__,x=wp.editor,E=x.AlignmentToolbar,C=x.BlockControls,S=x.ColorPalette,T=x.InspectorControls,P=(x.RichText,x.PanelColorSettings),O=x.MediaUpload,N=wp.components,R=N.PanelBody,I=N.SelectControl,j=N.RangeControl,M=(N.TabPanel,N.ToggleControl),A=N.TextControl,z=N.BaseControl,D=N.Button,F=(N.withNotices,wp.compose.compose,wp.data.withSelect,wp.viewport.withViewportMatch,wp.element),U=F.Component,B=F.Fragment,L=function(e){function t(){r(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.getTimelineicon=e.getTimelineicon.bind(e),e.toggleTarget=e.toggleTarget.bind(e),e.toggleResponsive=e.toggleResponsive.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e.onRemoveImage=e.onRemoveImage.bind(e),e}return i(t,e),_(t,[{key:"getTimelineicon",value:function(e){this.props.setAttributes({icon:e})}},{key:"onSelectImage",value:function(e){var t=(this.props.attributes.iconImage,this.props.setAttributes);return e&&e.url&&e.type&&"image"===e.type?void t({iconImage:e}):void t({iconImage:null})}},{key:"onRemoveImage",value:function(){this.props.attributes.iconImage;(0,this.props.setAttributes)({iconImage:null})}},{key:"toggleTarget",value:function(){var e=this.props.attributes.ctaTarget;(0,this.props.setAttributes)({ctaTarget:!e})}},{key:"toggleResponsive",value:function(){var e=this.props.attributes.responsiveDesign;(0,this.props.setAttributes)({responsiveDesign:!e})}},{key:"render",value:function(){var e=this.props,t=(e.isSelected,e.className),n=e.setAttributes,r=e.attributes,o=(e.mergeBlocks,e.insertBlocksAfter,e.onReplace,r.prefixTitle,r.infoBoxTitle,r.headingDesc,r.headingAlign),i=r.headingColor,l=r.subHeadingColor,c=r.prefixColor,_=(r.prefixTag,r.prefixFontSize),x=r.headingTag,N=r.headFontSize,F=r.subHeadFontSize,U=(r.separatorWidth,r.separatorHeight,r.seperatorSpace),L=r.headSpace,W=(r.separatorSpace,r.subHeadSpace),H=r.icon,V=r.iconColor,q=r.iconSize,$=r.iconimgPosition,K=(r.block_id,r.iconHover),G=r.iconimgBorderRadius,Q=r.source_type,Y=r.sourceAlign,X=r.seperatorStyle,J=r.seperatorWidth,Z=r.seperatorColor,ee=r.seperatorThickness,te=r.ctaType,ne=r.ctaText,ae=r.ctaLink,re=r.ctaTarget,oe=r.ctaLinkColor,ie=r.ctaFontSize,le=r.ctaBtnLinkColor,ue=r.ctaBgColor,se=r.ctaBtnVertPadding,ce=r.ctaBtnHrPadding,fe=r.ctaBorderStyle,pe=r.ctaBorderColor,de=r.ctaBorderWidth,me=r.ctaBorderRadius,he=r.prefixSpace,ge=r.iconLeftMargin,be=r.iconRightMargin,ve=r.iconTopMargin,ye=r.iconBottomMargin,we=r.iconImage,_e=r.imageSize,ke=r.imageWidth,xe=r.stack,Ee=document.getElementById("uagb-info-box-style-"+this.props.clientId);null!=Ee&&"undefined"!=typeof Ee&&(Ee.innerHTML=Object(y.a)(this.props));var Ce={icons:s.a,renderUsing:"class",theme:"default",value:H,onChange:this.getTimelineicon,isMulti:!1},Se="uagb-infobox-"+this.props.clientId,Te=wp.element.createElement(B,null,wp.element.createElement(f.a,Ce),wp.element.createElement(j,{label:k("Icon Size"),value:q,onChange:function(e){return n({iconSize:e})},min:10,max:300,beforeIcon:"",allowReset:!0}),wp.element.createElement(P,{title:k("Color Settings"),initialOpen:!0,colorSettings:[{value:V,onChange:function(e){return n({iconColor:e})},label:k("Icon Color")},{value:K,onChange:function(e){return n({iconHover:e})},label:k("Icon Hover Color")}]})),Pe=wp.element.createElement(B,null,wp.element.createElement(R,{title:k("Seperator"),initialOpen:!1},wp.element.createElement(I,{label:k("Style"),value:X,onChange:function(e){return n({seperatorStyle:e})},options:[{value:"none",label:k("None")},{value:"solid",label:k("Solid")},{value:"double",label:k("Double")},{value:"dashed",label:k("Dashed")},{value:"dotted",label:k("Dotted")}]}),"none"!==X&&wp.element.createElement(B,null,wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("Seperator Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:Z}}))),wp.element.createElement(S,{value:Z,onChange:function(e){return n({seperatorColor:e})},allowReset:!0})),wp.element.createElement(j,{label:k("Thickness"),value:ee,onChange:function(e){return n({seperatorThickness:e})},min:0,max:10,beforeIcon:"",allowReset:!0}),wp.element.createElement(j,{label:k("Width"),value:J,onChange:function(e){return n({seperatorWidth:e})},min:0,max:100,beforeIcon:"",allowReset:!0})))),Oe=wp.element.createElement(B,null,wp.element.createElement(R,{title:k("Call To Action"),initialOpen:!1},wp.element.createElement(I,{label:k("Type"),value:te,onChange:function(e){return n({ctaType:e})},options:[{value:"none",label:k("None")},{value:"text",label:k("Text")},{value:"button",label:k("Button")},{value:"all",label:k("Complete Box")}]}),("text"===te||"button"===te)&&wp.element.createElement(A,{label:k("Text"),value:ne,onChange:function(e){return n({ctaText:e})}}),"none"!==te&&wp.element.createElement(B,null,wp.element.createElement(A,{label:k("Link"),value:ae,onChange:function(e){return n({ctaLink:e})}}),wp.element.createElement(M,{label:k("Open in new Window"),checked:re,onChange:this.toggleTarget})),"button"==te&&wp.element.createElement(B,null,wp.element.createElement(j,{label:k("Vertical Padding"),value:se,onChange:function(e){return n({ctaBtnVertPadding:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(j,{label:k("HorizontalPadding"),value:ce,onChange:function(e){return n({ctaBtnHrPadding:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(I,{label:k("Border Style"),value:fe,onChange:function(e){return n({ctaBorderStyle:e})},options:[{value:"none",label:k("None")},{value:"solid",label:k("Solid")},{value:"double",label:k("Double")},{value:"dashed",label:k("Dashed")},{value:"dotted",label:k("Dotted")}]}),"none"!==fe&&wp.element.createElement(B,null,wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("Border Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:pe}}))),wp.element.createElement(S,{value:pe,onChange:function(e){return n({ctaBorderColor:e})},allowReset:!0})),wp.element.createElement(j,{label:k("Border Width"),value:de,onChange:function(e){return n({ctaBorderWidth:e})},min:0,max:10,beforeIcon:"",allowReset:!0})),wp.element.createElement(j,{label:k("Rounded Corner"),value:me,onChange:function(e){return n({ctaBorderRadius:e})},min:0,max:100,beforeIcon:"",allowReset:!0})))),Ne=wp.element.createElement(B,null,wp.element.createElement(R,{title:k("Typography"),initialOpen:!1},wp.element.createElement(j,{label:k("Prefix Font Size"),value:_,onChange:function(e){return n({prefixFontSize:e})},min:10,max:200,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(I,{label:k("Title Tag"),value:x,onChange:function(e){return n({headingTag:e})},options:[{value:"h1",label:k("H1")},{value:"h2",label:k("H2")},{value:"h3",label:k("H3")},{value:"h4",label:k("H4")},{value:"h5",label:k("H5")},{value:"h6",label:k("H6")}]}),wp.element.createElement(j,{label:k("Heading Font Size"),value:N,onChange:function(e){return n({headFontSize:e})},min:10,max:200,initialPosition:30,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(j,{label:k("Description Font Size"),value:F,onChange:function(e){return n({subHeadFontSize:e})},min:10,max:200,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0}),("text"===te||"button"===te)&&wp.element.createElement(j,{label:k("CTA Font Size"),value:ie,onChange:function(e){return n({ctaFontSize:e})},min:0,max:50,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0})),wp.element.createElement(P,{title:k("Color Settings"),initialOpen:!1,colorSettings:[{value:c,onChange:function(e){return n({prefixColor:e})},label:k("Prefix Title Color")},{value:i,onChange:function(e){return n({headingColor:e})},label:k("Title Color")},{value:l,onChange:function(e){return n({subHeadingColor:e})},label:k("Description Color")}]},"text"===te&&wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("CTA Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:oe}}))),wp.element.createElement(S,{value:oe,onChange:function(e){return n({ctaLinkColor:e})},allowReset:!0})),"button"===te&&wp.element.createElement(B,null,wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("CTA Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:le}}))),wp.element.createElement(S,{value:le,onChange:function(e){return n({ctaBtnLinkColor:e})},allowReset:!0})),wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("CTA Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:ue}}))),wp.element.createElement(S,{value:ue,onChange:function(e){return n({ctaBgColor:e})},allowReset:!0}))))),Re=wp.element.createElement(B,null,wp.element.createElement(R,{title:k("Spacing"),initialOpen:!1},wp.element.createElement(j,{label:k("Prefix Bottom Margin"),value:he,onChange:function(e){return n({prefixSpace:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(j,{label:k("Title Bottom Margin"),value:L,onChange:function(e){return n({headSpace:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(j,{label:k("Seperator Bottom Margin"),value:U,onChange:function(e){return n({seperatorSpace:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(j,{label:k("Description Bottom Margin"),value:W,onChange:function(e){return n({subHeadSpace:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(R,{title:k("Image/Icon Margins"),initialOpen:!0},wp.element.createElement(j,{label:k("Left Margin"),value:ge,onChange:function(e){return n({iconLeftMargin:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(j,{label:k("Right Margin"),value:be,onChange:function(e){return n({iconRightMargin:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(j,{label:k("Top Margin"),value:ve,onChange:function(e){return n({iconTopMargin:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(j,{label:k("Bottom Margin"),value:ye,onChange:function(e){return n({iconBottomMargin:e})},min:0,max:50,beforeIcon:"",allowReset:!0})))),Ie=[{value:"thumbnail",label:k("Thumbnail")},{value:"medium",label:k("Medium")},{value:"full",label:k("Large")}],je="Select Image";we&&(je=null==we.url||""==we.url?"Select Image":"Replace Image");var Me=wp.element.createElement(B,null,wp.element.createElement(z,{className:"editor-bg-image-control",label:k("Image")},wp.element.createElement(O,{title:k("Select Image"),onSelect:this.onSelectImage,allowedTypes:["image"],value:we,render:function(e){var t=e.open;return wp.element.createElement(D,{isDefault:!0,onClick:t},je)}}),we&&"null"!==we.url&&""!==we.url&&wp.element.createElement(D,{className:"uagb-rm-btn",onClick:this.onRemoveImage,isLink:!0,isDestructive:!0},k("Remove Image"))),we&&"null"!==we.url&&""!==we.url&&wp.element.createElement(B,null,wp.element.createElement(I,{label:k("Image Size"),options:Ie,value:_e,onChange:function(e){return n({imageSize:e})}}),wp.element.createElement(j,{label:k("Width"),value:ke,onChange:function(e){return n({imageWidth:e})},min:0,max:500,beforeIcon:"",allowReset:!0}),wp.element.createElement(j,{label:k("Rounded Corners"),value:G,onChange:function(e){return n({iconimgBorderRadius:e})},min:0,max:500,beforeIcon:"",allowReset:!0}))),Ae=wp.element.createElement(B,null,wp.element.createElement(T,null,wp.element.createElement(R,{title:k("Image/Icon")},wp.element.createElement(I,{label:k("Select Position"),value:$,onChange:function(e){return n({iconimgPosition:e})},options:[{value:"above-title",label:k("Above Heading")},{value:"below-title",label:k("Below Heading")},{value:"left-title",label:k("Left of Heading")},{value:"right-title",label:k("Right of Heading")},{value:"left",label:k("Left of Text and Heading")},{value:"right",label:k("Right of Text and Heading")}]}),("left"==$||"right"==$)&&wp.element.createElement(I,{label:k("Stack on"),value:xe,options:[{value:"none",label:k("None")},{value:"tablet",label:k("Tablet")},{value:"mobile",label:k("Mobile")}],help:k("Note: Choose on what breakpoint the Info Box will stack."),onChange:function(e){return n({stack:e})}}),wp.element.createElement(I,{label:k("Select Source"),value:Q,onChange:function(e){return n({source_type:e})},options:[{value:"icon",label:k("Icon")},{value:"image",label:k("Image")}]}),$&&"above-title"!==$&&"below-title"!==$&&wp.element.createElement(I,{label:k("Vertical ALignment"),value:Y,onChange:function(e){return n({sourceAlign:e})},options:[{value:"top",label:k("Top")},{value:"middle",label:k("Middle")}]}),Q&&"icon"==Q&&Te,Q&&"image"==Q&&Me),Pe,Oe,Ne,Re)),ze="";ze="icon"===Q?wp.element.createElement(h.a,{attributes:r}):wp.element.createElement(w.a,{attributes:r});var De=wp.element.createElement(B,null,"none"!==X&&wp.element.createElement(b.a,{attributes:r}),wp.element.createElement("div",{className:"uagb-ifb-text-wrap"},wp.element.createElement(m.a,{attributes:r,setAttributes:n,props:this.props}),wp.element.createElement(v.a,{attributes:r}))),Fe=wp.element.createElement(B,null,wp.element.createElement("div",{className:"uagb-ifb-title-wrap"},wp.element.createElement(p.a,{attributes:r,setAttributes:n,props:this.props}),wp.element.createElement(d.a,{attributes:r,setAttributes:n,props:this.props}))),Ue=wp.element.createElement(B,null,wp.element.createElement("div",{className:u.a.apply(void 0,["uagb-infobox__content-wrap"].concat(a(Object(g.a)(r))))},wp.element.createElement("div",{className:"uagb-ifb-left-right-wrap"},"left"==$&&ze,wp.element.createElement("div",{className:"uagb-ifb-content"},"above-title"==$&&ze,("above-title"==$||"below-title"==$)&&Fe,"below-title"==$&&ze,("above-title"==$||"below-title"==$)&&De,"left-title"===$&&wp.element.createElement(B,null,wp.element.createElement("div",{className:"uagb-ifb-left-title-image"},ze,Fe),De),"right-title"===$&&wp.element.createElement(B,null,wp.element.createElement("div",{className:"uagb-ifb-right-title-image"},Fe,ze),De),("left"==$||"right"==$)&&wp.element.createElement(B,null,Fe,De)),"right"==$&&ze)));return wp.element.createElement(B,null,("above-title"==$||"below-title"==$)&&wp.element.createElement(C,{key:"controls"},wp.element.createElement(E,{value:o,onChange:function(e){return n({headingAlign:e})}})),Ae,wp.element.createElement("div",{className:u()(t,"uagb-infobox__outer-wrap"),id:Se},"all"==te&&wp.element.createElement(B,null,wp.element.createElement("a",{href:ae,className:"uagb-infobox-link-wrap",rel:"noopener noreferrer"}," ",Ue)),"all"!==te&&Ue))}},{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-info-box-style-"+this.props.clientId),document.head.appendChild(e)}}]),t}(U);t.a=L},function(e,t,n){"use strict";(function(t){function a(){return null}var r=n(13),o=n(33),i=n(34),l=function(){};"production"!==t.env.NODE_ENV&&(l=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,n){function u(e){var t=e&&(S&&e[S]||e[T]);if("function"===typeof t)return t}function s(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function c(e){this.message=e,this.stack=""}function f(e){function a(a,u,s,f,p,d,m){if(f=f||P,d=d||s,m!==o){if(n){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}if("production"!==t.env.NODE_ENV&&"undefined"!==typeof console){var g=f+":"+s;!r[g]&&i<3&&(l("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+f+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[g]=!0,i++)}}return null==u[s]?a?new c(null===u[s]?"The "+p+" `"+d+"` is marked as required in `"+f+"`, but its value is `null`.":"The "+p+" `"+d+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(u,s,f,p,d)}if("production"!==t.env.NODE_ENV)var r={},i=0;var u=a.bind(null,!1);return u.isRequired=a.bind(null,!0),u}function p(e){function t(t,n,a,r,o,i){var l=t[n];if(k(l)!==e)return new c("Invalid "+r+" `"+o+"` of type `"+x(l)+"` supplied to `"+a+"`, expected `"+e+"`.");return null}return f(t)}function d(e){function t(t,n,a,r,i){if("function"!==typeof e)return new c("Property `"+i+"` of component `"+a+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l)){return new c("Invalid "+r+" `"+i+"` of type `"+k(l)+"` supplied to `"+a+"`, expected an array.")}for(var u=0;u<l.length;u++){var s=e(l,u,a,r,i+"["+u+"]",o);if(s instanceof Error)return s}return null}return f(t)}function m(e){function t(t,n,a,r,o){if(!(t[n]instanceof e)){var i=e.name||P;return new c("Invalid "+r+" `"+o+"` of type `"+C(t[n])+"` supplied to `"+a+"`, expected instance of `"+i+"`.")}return null}return f(t)}function h(e){function n(t,n,a,r,o){for(var i=t[n],l=0;l<e.length;l++)if(s(i,e[l]))return null;return new c("Invalid "+r+" `"+o+"` of value `"+i+"` supplied to `"+a+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?f(n):("production"!==t.env.NODE_ENV&&l("Invalid argument supplied to oneOf, expected an instance of array."),a)}function g(e){function t(t,n,a,r,i){if("function"!==typeof e)return new c("Property `"+i+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var l=t[n],u=k(l);if("object"!==u)return new c("Invalid "+r+" `"+i+"` of type `"+u+"` supplied to `"+a+"`, expected an object.");for(var s in l)if(l.hasOwnProperty(s)){var f=e(l,s,a,r,i+"."+s,o);if(f instanceof Error)return f}return null}return f(t)}function b(e){function n(t,n,a,r,i){for(var l=0;l<e.length;l++){if(null==(0,e[l])(t,n,a,r,i,o))return null}return new c("Invalid "+r+" `"+i+"` supplied to `"+a+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&l("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var r=0;r<e.length;r++){var i=e[r];if("function"!==typeof i)return l("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+E(i)+" at index "+r+"."),a}return f(n)}function v(e){function t(t,n,a,r,i){var l=t[n],u=k(l);if("object"!==u)return new c("Invalid "+r+" `"+i+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");for(var s in e){var f=e[s];if(f){var p=f(l,s,a,r,i+"."+s,o);if(p)return p}}return null}return f(t)}function y(e){function t(t,n,a,i,l){var u=t[n],s=k(u);if("object"!==s)return new c("Invalid "+i+" `"+l+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");var f=r({},t[n],e);for(var p in f){var d=e[p];if(!d)return new c("Invalid "+i+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=d(u,p,a,i,l+"."+p,o);if(m)return m}return null}return f(t)}function w(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(w);if(null===t||e(t))return!0;var n=u(t);if(!n)return!1;var a,r=n.call(t);if(n!==t.entries){for(;!(a=r.next()).done;)if(!w(a.value))return!1}else for(;!(a=r.next()).done;){var o=a.value;if(o&&!w(o[1]))return!1}return!0;default:return!1}}function _(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"===typeof Symbol&&t instanceof Symbol)}function k(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":_(t,e)?"symbol":t}function x(e){if("undefined"===typeof e||null===e)return""+e;var t=k(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function E(e){var t=x(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function C(e){return e.constructor&&e.constructor.name?e.constructor.name:P}var S="function"===typeof Symbol&&Symbol.iterator,T="@@iterator",P="<<anonymous>>",O={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:function(){return f(a)}(),arrayOf:d,element:function(){function t(t,n,a,r,o){var i=t[n];if(!e(i)){return new c("Invalid "+r+" `"+o+"` of type `"+k(i)+"` supplied to `"+a+"`, expected a single ReactElement.")}return null}return f(t)}(),instanceOf:m,node:function(){function e(e,t,n,a,r){return w(e[t])?null:new c("Invalid "+a+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")}return f(e)}(),objectOf:g,oneOf:h,oneOfType:b,shape:v,exact:y};return c.prototype=Error.prototype,O.checkPropTypes=i,O.PropTypes=O,O}}).call(t,n(1))},function(e,t,n){"use strict";function a(){}var r=n(33);e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=a,n.PropTypes=n,n}},function(e,t,n){"use strict";function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=0;a<t;a++)n+="&args[]="+encodeURIComponent(arguments[a+1]);v(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function r(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||I}function o(){}function i(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||I}function l(e,t,n){var a=void 0,r={},o=null,i=null;if(null!=t)for(a in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(o=""+t.key),t)A.call(t,a)&&!z.hasOwnProperty(a)&&(r[a]=t[a]);var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){for(var u=Array(l),s=0;s<l;s++)u[s]=arguments[s+2];r.children=u}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===r[a]&&(r[a]=l[a]);return{$$typeof:k,type:e,key:o,ref:i,props:r,_owner:M.current}}function u(e){return"object"===typeof e&&null!==e&&e.$$typeof===k}function s(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function c(e,t,n,a){if(F.length){var r=F.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=a,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:a,count:0}}function f(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>F.length&&F.push(e)}function p(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case k:case x:i=!0}}if(i)return n(r,e,""===t?"."+d(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l<e.length;l++){o=e[l];var u=t+d(o,l);i+=p(o,u,n,r)}else if(null===e||"undefined"===typeof e?u=null:(u=R&&e[R]||e["@@iterator"],u="function"===typeof u?u:null),"function"===typeof u)for(e=u.call(e),l=0;!(o=e.next()).done;)o=o.value,u=t+d(o,l++),i+=p(o,u,n,r);else"object"===o&&(n=""+e,a("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return i}function d(e,t){return"object"===typeof e&&null!==e&&null!=e.key?s(e.key):t.toString(36)}function m(e,t){e.func.call(e.context,t,e.count++)}function h(e,t,n){var a=e.result,r=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?g(e,a,n,w.thatReturnsArgument):null!=e&&(u(e)&&(t=r+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(D,"$&/")+"/")+n,e={$$typeof:k,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),a.push(e))}function g(e,t,n,a,r){var o="";null!=n&&(o=(""+n).replace(D,"$&/")+"/"),t=c(t,o,a,r),null==e||p(e,"",h,t),f(t)}var b=n(13),v=n(24),y=n(25),w=n(14),_="function"===typeof Symbol&&Symbol.for,k=_?Symbol.for("react.element"):60103,x=_?Symbol.for("react.portal"):60106,E=_?Symbol.for("react.fragment"):60107,C=_?Symbol.for("react.strict_mode"):60108,S=_?Symbol.for("react.profiler"):60114,T=_?Symbol.for("react.provider"):60109,P=_?Symbol.for("react.context"):60110,O=_?Symbol.for("react.async_mode"):60111,N=_?Symbol.for("react.forward_ref"):60112;_&&Symbol.for("react.timeout");var R="function"===typeof Symbol&&Symbol.iterator,I={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!==typeof e&&"function"!==typeof e&&null!=e&&a("85"),this.updater.enqueueSetState(this,e,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=r.prototype;var j=i.prototype=new o;j.constructor=i,b(j,r.prototype),j.isPureReactComponent=!0;var M={current:null},A=Object.prototype.hasOwnProperty,z={key:!0,ref:!0,__self:!0,__source:!0},D=/\/+/g,F=[],U={Children:{map:function(e,t,n){if(null==e)return e;var a=[];return g(e,a,null,t,n),a},forEach:function(e,t,n){if(null==e)return e;t=c(null,null,t,n),null==e||p(e,"",m,t),f(t)},count:function(e){return null==e?0:p(e,"",w.thatReturnsNull,null)},toArray:function(e){var t=[];return g(e,t,null,w.thatReturnsArgument),t},only:function(e){return u(e)||a("143"),e}},createRef:function(){return{current:null}},Component:r,PureComponent:i,createContext:function(e,t){return void 0===t&&(t=null),e={$$typeof:P,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null},e.Provider={$$typeof:T,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:N,render:e}},Fragment:E,StrictMode:C,unstable_AsyncMode:O,unstable_Profiler:S,createElement:l,cloneElement:function(e,t,n){(null===e||void 0===e)&&a("267",e);var r=void 0,o=b({},e.props),i=e.key,l=e.ref,u=e._owner;if(null!=t){void 0!==t.ref&&(l=t.ref,u=M.current),void 0!==t.key&&(i=""+t.key);var s=void 0;e.type&&e.type.defaultProps&&(s=e.type.defaultProps);for(r in t)A.call(t,r)&&!z.hasOwnProperty(r)&&(o[r]=void 0===t[r]&&void 0!==s?s[r]:t[r])}if(1===(r=arguments.length-2))o.children=n;else if(1<r){s=Array(r);for(var c=0;c<r;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:k,type:e.type,key:i,ref:l,props:o,_owner:u}},createFactory:function(e){var t=l.bind(null,e);return t.type=e,t},isValidElement:u,version:"16.4.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:M,assign:b}},B={default:U},L=B&&U||B;e.exports=L.default?L.default:L},function(e,t,n){"use strict";(function(t){"production"!==t.env.NODE_ENV&&function(){function t(e){if(null===e||"undefined"===typeof e)return null;var t=ue&&e[ue]||e[se];return"function"===typeof t?t:null}function a(e,t){var n=e.constructor,a=n&&(n.displayName||n.name)||"ReactClass",r=a+"."+t;de[r]||(G(!1,"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,a),de[r]=!0)}function r(e,t,n){this.props=e,this.context=t,this.refs=K,this.updater=n||me}function o(){}function i(e,t,n){this.props=e,this.context=t,this.refs=K,this.updater=n||me}function l(){var e={current:null};return Object.seal(e),e}function u(e){if(ye.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function s(e){if(ye.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function c(e,t){var n=function(){_e||(_e=!0,G(!1,"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function f(e,t){var n=function(){ke||(ke=!0,G(!1,"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}function p(e,t,n){var a=void 0,r={},o=null,i=null,l=null,p=null;if(null!=t){u(t)&&(i=t.ref),s(t)&&(o=""+t.key),l=void 0===t.__self?null:t.__self,p=void 0===t.__source?null:t.__source;for(a in t)ye.call(t,a)&&!we.hasOwnProperty(a)&&(r[a]=t[a])}var d=arguments.length-2;if(1===d)r.children=n;else if(d>1){for(var m=Array(d),h=0;h<d;h++)m[h]=arguments[h+2];Object.freeze&&Object.freeze(m),r.children=m}if(e&&e.defaultProps){var g=e.defaultProps;for(a in g)void 0===r[a]&&(r[a]=g[a])}if((o||i)&&("undefined"===typeof r.$$typeof||r.$$typeof!==J)){var b="function"===typeof e?e.displayName||e.name||"Unknown":e;o&&c(r,b),i&&f(r,b)}return xe(e,o,i,l,p,ve.current,r)}function d(e,t){return xe(e.type,t,e.ref,e._self,e._source,e._owner,e.props)}function m(e,t,n){(null===e||void 0===e)&&$(!1,"React.cloneElement(...): The argument must be a React element, but you passed %s.",e);var a=void 0,r=q({},e.props),o=e.key,i=e.ref,l=e._self,c=e._source,f=e._owner;if(null!=t){u(t)&&(i=t.ref,f=ve.current),s(t)&&(o=""+t.key);var p=void 0;e.type&&e.type.defaultProps&&(p=e.type.defaultProps);for(a in t)ye.call(t,a)&&!we.hasOwnProperty(a)&&(void 0===t[a]&&void 0!==p?r[a]=p[a]:r[a]=t[a])}var d=arguments.length-2;if(1===d)r.children=n;else if(d>1){for(var m=Array(d),h=0;h<d;h++)m[h]=arguments[h+2];r.children=m}return xe(e.type,o,i,l,c,f,r)}function h(e){return"object"===typeof e&&null!==e&&e.$$typeof===J}function g(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function b(e){return(""+e).replace(Pe,"$&/")}function v(e,t,n,a){if(Ne.length){var r=Ne.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=a,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:a,count:0}}function y(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,Ne.length<Oe&&Ne.push(e)}function w(e,n,a,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case J:case Z:i=!0}}if(i)return a(r,e,""===n?Ce+k(e,0):n),1;var l=void 0,u=void 0,s=0,c=""===n?Ce:n+Se;if(Array.isArray(e))for(var f=0;f<e.length;f++)l=e[f],u=c+k(l,f),s+=w(l,u,a,r);else{var p=t(e);if("function"===typeof p){p===e.entries&&(Te||G(!1,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s",Ee.getStackAddendum()),Te=!0);for(var d=p.call(e),m=void 0,h=0;!(m=d.next()).done;)l=m.value,u=c+k(l,h++),s+=w(l,u,a,r)}else if("object"===o){var g="";g=" If you meant to render a collection of children, use an array instead."+Ee.getStackAddendum();var b=""+e;$(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(e).join(", ")+"}":b,g)}}return s}function _(e,t,n){return null==e?0:w(e,"",t,n)}function k(e,t){return"object"===typeof e&&null!==e&&null!=e.key?g(e.key):t.toString(36)}function x(e,t,n){var a=e.func,r=e.context;a.call(r,t,e.count++)}function E(e,t,n){if(null==e)return e;var a=v(null,null,t,n);_(e,x,a),y(a)}function C(e,t,n){var a=e.result,r=e.keyPrefix,o=e.func,i=e.context,l=o.call(i,t,e.count++);Array.isArray(l)?S(l,a,n,Q.thatReturnsArgument):null!=l&&(h(l)&&(l=d(l,r+(!l.key||t&&t.key===l.key?"":b(l.key)+"/")+n)),a.push(l))}function S(e,t,n,a,r){var o="";null!=n&&(o=b(n)+"/");var i=v(t,o,a,r);_(e,C,i),y(i)}function T(e,t,n){if(null==e)return e;var a=[];return S(e,a,null,t,n),a}function P(e){return _(e,Q.thatReturnsNull,null)}function O(e){var t=[];return S(e,t,null,Q.thatReturnsArgument),t}function N(e){return h(e)||$(!1,"React.Children.only expected to receive a single React element child."),e}function R(e,t){void 0===t?t=null:null!==t&&"function"!==typeof t&&G(!1,"createContext: Expected the optional second argument to be a function. Instead received: %s",t);var n={$$typeof:re,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null};return n.Provider={$$typeof:ae,_context:n},n.Consumer=n,n._currentRenderer=null,n._currentRenderer2=null,n}function I(e){return"function"!==typeof e&&G(!1,"forwardRef requires a render function but was given %s.",null===e?"null":typeof e),null!=e&&(null!=e.defaultProps||null!=e.propTypes)&&G(!1,"forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:ie,render:e}}function j(e){return"string"===typeof e||"function"===typeof e||e===ee||e===oe||e===ne||e===te||e===le||"object"===typeof e&&null!==e&&(e.$$typeof===ae||e.$$typeof===re||e.$$typeof===ie)}function M(e){var t=e.type;if("function"===typeof t)return t.displayName||t.name;if("string"===typeof t)return t;switch(t){case oe:return"AsyncMode";case re:return"Context.Consumer";case ee:return"ReactFragment";case Z:return"ReactPortal";case ne:return"Profiler("+e.pendingProps.id+")";case ae:return"Context.Provider";case te:return"StrictMode";case le:return"Timeout"}if("object"===typeof t&&null!==t)switch(t.$$typeof){case ie:var n=t.render.displayName||t.render.name||"";return""!==n?"ForwardRef("+n+")":"ForwardRef"}return null}function A(){if(ve.current){var e=M(ve.current);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}function z(e){if(null!==e&&void 0!==e&&void 0!==e.__source){var t=e.__source;return"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+"."}return""}function D(e){var t=A();if(!t){var n="string"===typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}function F(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=D(t);if(!ze[n]){ze[n]=!0;var a="";e&&e._owner&&e._owner!==ve.current&&(a=" It was passed a child from "+M(e._owner)+"."),Ie=e,G(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',n,a,Ae()),Ie=null}}}function U(e,n){if("object"===typeof e)if(Array.isArray(e))for(var a=0;a<e.length;a++){var r=e[a];h(r)&&F(r,n)}else if(h(e))e._store&&(e._store.validated=!0);else if(e){var o=t(e);if("function"===typeof o&&o!==e.entries)for(var i=o.call(e),l=void 0;!(l=i.next()).done;)h(l.value)&&F(l.value,n)}}function B(e){var t=e.type,n=void 0,a=void 0;if("function"===typeof t)n=t.displayName||t.name,a=t.propTypes;else{if("object"!==typeof t||null===t||t.$$typeof!==ie)return;var r=t.render.displayName||t.render.name||"";n=""!==r?"ForwardRef("+r+")":"ForwardRef",a=t.propTypes}a?(Ie=e,Y(a,e.props,"prop",n,Ae),Ie=null):void 0===t.PropTypes||je||(je=!0,G(!1,"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",n||"Unknown")),"function"===typeof t.getDefaultProps&&(t.getDefaultProps.isReactClassApproved||G(!1,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."))}function L(e){Ie=e;for(var t=Object.keys(e.props),n=0;n<t.length;n++){var a=t[n];if("children"!==a&&"key"!==a){G(!1,"Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.%s",a,Ae());break}}null!==e.ref&&G(!1,"Invalid attribute `ref` supplied to `React.Fragment`.%s",Ae()),Ie=null}function W(e,t,n){var a=j(e);if(!a){var r="";(void 0===e||"object"===typeof e&&null!==e&&0===Object.keys(e).length)&&(r+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var o=z(t);r+=o||A(),r+=Ae()||"";var i=void 0;i=null===e?"null":Array.isArray(e)?"array":typeof e,G(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",i,r)}var l=p.apply(this,arguments);if(null==l)return l;if(a)for(var u=2;u<arguments.length;u++)U(arguments[u],e);return e===ee?L(l):B(l),l}function H(e){var t=W.bind(null,e);return t.type=e,Object.defineProperty(t,"type",{enumerable:!1,get:function(){return pe(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t}function V(e,t,n){for(var a=m.apply(this,arguments),r=2;r<arguments.length;r++)U(arguments[r],a.type);return B(a),a}var q=n(13),$=n(24),K=n(25),G=n(70),Q=n(14),Y=n(34),X="function"===typeof Symbol&&Symbol.for,J=X?Symbol.for("react.element"):60103,Z=X?Symbol.for("react.portal"):60106,ee=X?Symbol.for("react.fragment"):60107,te=X?Symbol.for("react.strict_mode"):60108,ne=X?Symbol.for("react.profiler"):60114,ae=X?Symbol.for("react.provider"):60109,re=X?Symbol.for("react.context"):60110,oe=X?Symbol.for("react.async_mode"):60111,ie=X?Symbol.for("react.forward_ref"):60112,le=X?Symbol.for("react.timeout"):60113,ue="function"===typeof Symbol&&Symbol.iterator,se="@@iterator",ce=function(){},fe=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=0,o="Warning: "+e.replace(/%s/g,function(){return n[r++]});"undefined"!==typeof console&&console.warn(o);try{throw new Error(o)}catch(e){}};ce=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];fe.apply(void 0,[t].concat(a))}};var pe=ce,de={},me={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){a(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){a(e,"replaceState")},enqueueSetState:function(e,t,n,r){a(e,"setState")}};r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!==typeof e&&"function"!==typeof e&&null!=e&&$(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,e,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var he={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(var ge in he)he.hasOwnProperty(ge)&&function(e,t){Object.defineProperty(r.prototype,e,{get:function(){pe(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}(ge,he[ge]);o.prototype=r.prototype;var be=i.prototype=new o;be.constructor=i,q(be,r.prototype),be.isPureReactComponent=!0;var ve={current:null},ye=Object.prototype.hasOwnProperty,we={key:!0,ref:!0,__self:!0,__source:!0},_e=void 0,ke=void 0,xe=function(e,t,n,a,r,o,i){var l={$$typeof:J,type:e,key:t,ref:n,props:i,_owner:o};return l._store={},Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l},Ee={};Ee.getCurrentStack=null,Ee.getStackAddendum=function(){var e=Ee.getCurrentStack;return e?e():null};var Ce=".",Se=":",Te=!1,Pe=/\/+/g,Oe=10,Ne=[],Re=function(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")},Ie=void 0,je=void 0,Me=function(){},Ae=function(){};Ie=null,je=!1,Me=function(e){if(null==e)return"#empty";if("string"===typeof e||"number"===typeof e)return"#text";if("string"===typeof e.type)return e.type;var t=e.type;if(t===ee)return"React.Fragment";if("object"===typeof t&&null!==t&&t.$$typeof===ie){var n=t.render.displayName||t.render.name||"";return""!==n?"ForwardRef("+n+")":"ForwardRef"}return t.displayName||t.name||"Unknown"},Ae=function(){var e="";if(Ie){var t=Me(Ie),n=Ie._owner;e+=Re(t,Ie._source,n&&M(n))}return e+=Ee.getStackAddendum()||""};var ze={},De={Children:{map:T,forEach:E,count:P,toArray:O,only:N},createRef:l,Component:r,PureComponent:i,createContext:R,forwardRef:I,Fragment:ee,StrictMode:te,unstable_AsyncMode:oe,unstable_Profiler:ne,createElement:W,cloneElement:V,createFactory:H,isValidElement:h,version:"16.4.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:ve,assign:q}};q(De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,{ReactDebugCurrentFrame:Ee,ReactComponentTreeHook:{}});var Fe=Object.freeze({default:De}),Ue=Fe&&De||Fe,Be=Ue.default?Ue.default:Ue;e.exports=Be}()}).call(t,n(1))},function(e,t,n){"use strict";function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=0;a<t;a++)n+="&args[]="+encodeURIComponent(arguments[a+1]);Ma(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function r(e,t,n,a,r,o,i,l,u){this._hasCaughtError=!1,this._caughtError=null;var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this._caughtError=e,this._hasCaughtError=!0}}function o(){if(Ha._hasRethrowError){var e=Ha._rethrowError;throw Ha._rethrowError=null,Ha._hasRethrowError=!1,e}}function i(){if(Va)for(var e in qa){var t=qa[e],n=Va.indexOf(e);if(-1<n||a("96",e),!$a[n]){t.extractEvents||a("97",e),$a[n]=t,n=t.eventTypes;for(var r in n){var o=void 0,i=n[r],u=t,s=r;Ka.hasOwnProperty(s)&&a("99",s),Ka[s]=i;var c=i.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&l(c[o],u,s);o=!0}else i.registrationName?(l(i.registrationName,u,s),o=!0):o=!1;o||a("98",r,e)}}}}function l(e,t,n){Ga[e]&&a("100",e),Ga[e]=t,Qa[e]=t.eventTypes[n].dependencies}function u(e){Va&&a("101"),Va=Array.prototype.slice.call(e),i()}function s(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];qa.hasOwnProperty(t)&&qa[t]===r||(qa[t]&&a("102",t),qa[t]=r,n=!0)}n&&i()}function c(e,t,n,a){t=e.type||"unknown-event",e.currentTarget=Za(a),Ha.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function f(e,t){return null==t&&a("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function p(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function d(e,t){if(e){var n=e._dispatchListeners,a=e._dispatchInstances;if(Array.isArray(n))for(var r=0;r<n.length&&!e.isPropagationStopped();r++)c(e,t,n[r],a[r]);else n&&c(e,t,n,a);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function m(e){return d(e,!0)}function h(e){return d(e,!1)}function g(e,t){var n=e.stateNode;if(!n)return null;var r=Xa(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(e=e.type,r=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!==typeof n&&a("231",t,typeof n),n)}function b(e,t){null!==e&&(er=f(er,e)),e=er,er=null,e&&(t?p(e,m):p(e,h),er&&a("95"),Ha.rethrowCaughtError())}function v(e,t,n,a){for(var r=null,o=0;o<$a.length;o++){var i=$a[o];i&&(i=i.extractEvents(e,t,n,a))&&(r=f(r,i))}b(r,!1)}function y(e){if(e[rr])return e[rr];for(;!e[rr];){if(!e.parentNode)return null;e=e.parentNode}return e=e[rr],5===e.tag||6===e.tag?e:null}function w(e){if(5===e.tag||6===e.tag)return e.stateNode;a("33")}function _(e){return e[or]||null}function k(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function x(e,t,n){for(var a=[];e;)a.push(e),e=k(e);for(e=a.length;0<e--;)t(a[e],"captured",n);for(e=0;e<a.length;e++)t(a[e],"bubbled",n)}function E(e,t,n){(t=g(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=f(n._dispatchListeners,t),n._dispatchInstances=f(n._dispatchInstances,e))}function C(e){e&&e.dispatchConfig.phasedRegistrationNames&&x(e._targetInst,E,e)}function S(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;t=t?k(t):null,x(t,E,e)}}function T(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=g(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=f(n._dispatchListeners,t),n._dispatchInstances=f(n._dispatchInstances,e))}function P(e){e&&e.dispatchConfig.registrationName&&T(e._targetInst,null,e)}function O(e){p(e,C)}function N(e,t,n,a){if(n&&a)e:{for(var r=n,o=a,i=0,l=r;l;l=k(l))i++;l=0;for(var u=o;u;u=k(u))l++;for(;0<i-l;)r=k(r),i--;for(;0<l-i;)o=k(o),l--;for(;i--;){if(r===o||r===o.alternate)break e;r=k(r),o=k(o)}r=null}else r=null;for(o=r,r=[];n&&n!==o&&(null===(i=n.alternate)||i!==o);)r.push(n),n=k(n);for(n=[];a&&a!==o&&(null===(i=a.alternate)||i!==o);)n.push(a),a=k(a);for(a=0;a<r.length;a++)T(r[a],"bubbled",e);for(e=n.length;0<e--;)T(n[e],"captured",t)}function R(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function I(e){if(sr[e])return sr[e];if(!ur[e])return e;var t,n=ur[e];for(t in n)if(n.hasOwnProperty(t)&&t in cr)return sr[e]=n[t];return e}function j(){return!gr&&za.canUseDOM&&(gr="textContent"in document.documentElement?"textContent":"innerText"),gr}function M(){if(br._fallbackText)return br._fallbackText;var e,t,n=br._startText,a=n.length,r=A(),o=r.length;for(e=0;e<a&&n[e]===r[e];e++);var i=a-e;for(t=1;t<=i&&n[a-t]===r[o-t];t++);return br._fallbackText=r.slice(e,1<t?1-t:void 0),br._fallbackText}function A(){return"value"in br._root?br._root.value:br._root[j()]}function z(e,t,n,a){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface;for(var r in e)e.hasOwnProperty(r)&&((t=e[r])?this[r]=t(n):"target"===r?this.target=a:this[r]=n[r]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Fa.thatReturnsTrue:Fa.thatReturnsFalse,this.isPropagationStopped=Fa.thatReturnsFalse,this}function D(e,t,n,a){if(this.eventPool.length){var r=this.eventPool.pop();return this.call(r,e,t,n,a),r}return new this(e,t,n,a)}function F(e){e instanceof this||a("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function U(e){e.eventPool=[],e.getPooled=D,e.release=F}function B(e,t){switch(e){case"keyup":return-1!==kr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function L(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}function W(e,t){switch(e){case"compositionend":return L(t);case"keypress":return 32!==t.which?null:(Or=!0,Tr);case"textInput":return e=t.data,e===Tr&&Or?null:e;default:return null}}function H(e,t){if(Nr)return"compositionend"===e||!xr&&B(e,t)?(e=M(),br._root=null,br._startText=null,br._fallbackText=null,Nr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Sr?null:t.data;default:return null}}function V(e){if(e=Ja(e)){Ir&&"function"===typeof Ir.restoreControlledState||a("194");var t=Xa(e.stateNode);Ir.restoreControlledState(e.stateNode,e.type,t)}}function q(e){Mr?Ar?Ar.push(e):Ar=[e]:Mr=e}function $(){return null!==Mr||null!==Ar}function K(){if(Mr){var e=Mr,t=Ar;if(Ar=Mr=null,V(e),t)for(e=0;e<t.length;e++)V(t[e])}}function G(e,t){return e(t)}function Q(e,t,n){return e(t,n)}function Y(){}function X(e,t){if(Dr)return e(t);Dr=!0;try{return G(e,t)}finally{Dr=!1,$()&&(Y(),K())}}function J(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Fr[e.type]:"textarea"===t}function Z(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ee(e,t){return!(!za.canUseDOM||t&&!("addEventListener"in document))&&(e="on"+e,t=e in document,t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t="function"===typeof t[e]),t)}function te(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ne(e){var t=te(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var r=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){a=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(e){a=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ae(e){e._valueTracker||(e._valueTracker=ne(e))}function re(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=te(e)?e.checked?"true":"false":e.value),(e=a)!==n&&(t.setValue(e),!0)}function oe(e){return null===e||"undefined"===typeof e?null:(e=Xr&&e[Xr]||e["@@iterator"],"function"===typeof e?e:null)}function ie(e){var t=e.type;if("function"===typeof t)return t.displayName||t.name;if("string"===typeof t)return t;switch(t){case Gr:return"AsyncMode";case Kr:return"Context.Consumer";case Hr:return"ReactFragment";case Wr:return"ReactPortal";case qr:return"Profiler("+e.pendingProps.id+")";case $r:return"Context.Provider";case Vr:return"StrictMode";case Yr:return"Timeout"}if("object"===typeof t&&null!==t)switch(t.$$typeof){case Qr:return e=t.render.displayName||t.render.name||"",""!==e?"ForwardRef("+e+")":"ForwardRef"}return null}function le(e){var t="";do{e:switch(e.tag){case 0:case 1:case 2:case 5:var n=e._debugOwner,a=e._debugSource,r=ie(e),o=null;n&&(o=ie(n)),n=a,r="\n in "+(r||"Unknown")+(n?" (at "+n.fileName.replace(/^.*[\\\/]/,"")+":"+n.lineNumber+")":o?" (created by "+o+")":"");break e;default:r=""}t+=r,e=e.return}while(e);return t}function ue(e){return!!Zr.call(to,e)||!Zr.call(eo,e)&&(Jr.test(e)?to[e]=!0:(eo[e]=!0,!1))}function se(e,t,n,a){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!a&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function ce(e,t,n,a){if(null===t||"undefined"===typeof t||se(e,t,n,a))return!0;if(a)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function fe(e,t,n,a,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t}function pe(e){return e[1].toUpperCase()}function de(e,t,n,a){var r=no.hasOwnProperty(t)?no[t]:null;(null!==r?0===r.type:!a&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(ce(t,n,r,a)&&(n=null),a||null===r?ue(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,a=r.attributeNamespace,null===n?e.removeAttribute(t):(r=r.type,n=3===r||4===r&&!0===n?"":""+n,a?e.setAttributeNS(a,t,n):e.setAttribute(t,n))))}function me(e,t){var n=t.checked;return Da({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function he(e,t){var n=null==t.defaultValue?"":t.defaultValue,a=null!=t.checked?t.checked:t.defaultChecked;n=we(null!=t.value?t.value:n),e._wrapperState={initialChecked:a,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ge(e,t){null!=(t=t.checked)&&de(e,"checked",t,!1)}function be(e,t){ge(e,t);var n=we(t.value);null!=n&&("number"===t.type?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n)),t.hasOwnProperty("value")?ye(e,t.type,n):t.hasOwnProperty("defaultValue")&&ye(e,t.type,we(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ve(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){t=""+e._wrapperState.initialValue;var a=e.value;n||t===a||(e.value=t),e.defaultValue=t}n=e.name,""!==n&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==n&&(e.name=n)}function ye(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function we(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function _e(e,t,n){return e=z.getPooled(ro.change,e,t,n),e.type="change",q(n),O(e),e}function ke(e){b(e,!1)}function xe(e){if(re(w(e)))return e}function Ee(e,t){if("change"===e)return t}function Ce(){oo&&(oo.detachEvent("onpropertychange",Se),io=oo=null)}function Se(e){"value"===e.propertyName&&xe(io)&&(e=_e(io,e,Z(e)),X(ke,e))}function Te(e,t,n){"focus"===e?(Ce(),oo=t,io=n,oo.attachEvent("onpropertychange",Se)):"blur"===e&&Ce()}function Pe(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return xe(io)}function Oe(e,t){if("click"===e)return xe(t)}function Ne(e,t){if("input"===e||"change"===e)return xe(t)}function Re(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=co[e])&&!!t[e]}function Ie(){return Re}function je(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!==(2&t.effectTag))return 1;for(;t.return;)if(t=t.return,0!==(2&t.effectTag))return 1}return 3===t.tag?2:3}function Me(e){2!==je(e)&&a("188")}function Ae(e){var t=e.alternate;if(!t)return t=je(e),3===t&&a("188"),1===t?null:e;for(var n=e,r=t;;){var o=n.return,i=o?o.alternate:null;if(!o||!i)break;if(o.child===i.child){for(var l=o.child;l;){if(l===n)return Me(o),e;if(l===r)return Me(o),t;l=l.sibling}a("188")}if(n.return!==r.return)n=o,r=i;else{l=!1;for(var u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}l||a("189")}}n.alternate!==r&&a("190")}return 3!==n.tag&&a("188"),n.stateNode.current===n?e:t}function ze(e){if(!(e=Ae(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function De(e){if(!(e=Ae(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Fe(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Ue(e,t){var n=e[0];e=e[1];var a="on"+(e[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[n],isInteractive:t},To[e]=t,Po[n]=t}function Be(e){var t=e.targetInst;do{if(!t){e.ancestors.push(t);break}var n;for(n=t;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(t),t=y(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],v(e.topLevelType,t,e.nativeEvent,Z(e.nativeEvent))}function Le(e){Io=!!e}function We(e,t){if(!t)return null;var n=(No(e)?Ve:qe).bind(null,e);t.addEventListener(e,n,!1)}function He(e,t){if(!t)return null;var n=(No(e)?Ve:qe).bind(null,e);t.addEventListener(e,n,!0)}function Ve(e,t){Q(qe,e,t)}function qe(e,t){if(Io){var n=Z(t);if(n=y(n),null===n||"number"!==typeof n.tag||2===je(n)||(n=null),Ro.length){var a=Ro.pop();a.topLevelType=e,a.nativeEvent=t,a.targetInst=n,e=a}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{X(Be,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Ro.length&&Ro.push(e)}}}function $e(e){return Object.prototype.hasOwnProperty.call(e,zo)||(e[zo]=Ao++,Mo[e[zo]]={}),Mo[e[zo]]}function Ke(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ge(e,t){var n=Ke(e);e=0;for(var a;n;){if(3===n.nodeType){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ke(n)}}function Qe(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Ye(e,t){if(Wo||null==Uo||Uo!==Ua())return null;var n=Uo;return"selectionStart"in n&&Qe(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,Lo&&Ba(Lo,n)?null:(Lo=n,e=z.getPooled(Fo.select,Bo,e,t),e.type="select",e.target=Uo,O(e),e)}function Xe(e){var t="";return Aa.Children.forEach(e,function(e){null==e||"string"!==typeof e&&"number"!==typeof e||(t+=e)}),t}function Je(e,t){return e=Da({children:void 0},t),(t=Xe(t.children))&&(e.children=t),e}function Ze(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+n,t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(a&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function et(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function tt(e,t){return null!=t.dangerouslySetInnerHTML&&a("91"),Da({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nt(e,t){var n=t.value;null==n&&(n=t.defaultValue,t=t.children,null!=t&&(null!=n&&a("92"),Array.isArray(t)&&(1>=t.length||a("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function at(e,t){var n=t.value;null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function rt(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function ot(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function it(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ot(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function lt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function ut(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var a=0===n.indexOf("--"),r=n,o=t[n];r=null==o||"boolean"===typeof o||""===o?"":a||"number"!==typeof o||0===o||hi.hasOwnProperty(r)&&hi[r]?(""+o).trim():o+"px","float"===n&&(n="cssFloat"),a?e.setProperty(n,r):e[n]=r}}function st(e,t,n){t&&(bi[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&a("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&a("60"),"object"===typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||a("61")),null!=t.style&&"object"!==typeof t.style&&a("62",n()))}function ct(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ft(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=$e(e);t=Qa[t];for(var a=0;a<t.length;a++){var r=t[a];if(!n.hasOwnProperty(r)||!n[r]){switch(r){case"scroll":He("scroll",e);break;case"focus":case"blur":He("focus",e),He("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":ee(r,!0)&&He(r,e);break;case"invalid":case"submit":case"reset":break;default:-1===hr.indexOf(r)&&We(r,e)}n[r]=!0}}}function pt(e,t,n,a){return n=9===n.nodeType?n:n.ownerDocument,a===pi.html&&(a=ot(e)),a===pi.html?"script"===e?(e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):e="string"===typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(a,e),e}function dt(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function mt(e,t,n,a){var r=ct(t,n);switch(t){case"iframe":case"object":We("load",e);var o=n;break;case"video":case"audio":for(o=0;o<hr.length;o++)We(hr[o],e);o=n;break;case"source":We("error",e),o=n;break;case"img":case"image":case"link":We("error",e),We("load",e),o=n;break;case"form":We("reset",e),We("submit",e),o=n;break;case"details":We("toggle",e),o=n;break;case"input":he(e,n),o=me(e,n),We("invalid",e),ft(a,"onChange");break;case"option":o=Je(e,n);break;case"select":et(e,n),o=Da({},n,{value:void 0}),We("invalid",e),ft(a,"onChange");break;case"textarea":nt(e,n),o=tt(e,n),We("invalid",e),ft(a,"onChange");break;default:o=n}st(t,o,vi);var i,l=o;for(i in l)if(l.hasOwnProperty(i)){var u=l[i];"style"===i?ut(e,u,vi):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&mi(e,u):"children"===i?"string"===typeof u?("textarea"!==t||""!==u)&&lt(e,u):"number"===typeof u&&lt(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(Ga.hasOwnProperty(i)?null!=u&&ft(a,i):null!=u&&de(e,i,u,r))}switch(t){case"input":ae(e),ve(e,n,!1);break;case"textarea":ae(e),rt(e,n);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,t=n.value,null!=t?Ze(e,!!n.multiple,t,!1):null!=n.defaultValue&&Ze(e,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Fa)}}function ht(e,t,n,a,r){var o=null;switch(t){case"input":n=me(e,n),a=me(e,a),o=[];break;case"option":n=Je(e,n),a=Je(e,a),o=[];break;case"select":n=Da({},n,{value:void 0}),a=Da({},a,{value:void 0}),o=[];break;case"textarea":n=tt(e,n),a=tt(e,a),o=[];break;default:"function"!==typeof n.onClick&&"function"===typeof a.onClick&&(e.onclick=Fa)}st(t,a,vi),t=e=void 0;var i=null;for(e in n)if(!a.hasOwnProperty(e)&&n.hasOwnProperty(e)&&null!=n[e])if("style"===e){var l=n[e];for(t in l)l.hasOwnProperty(t)&&(i||(i={}),i[t]="")}else"dangerouslySetInnerHTML"!==e&&"children"!==e&&"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&"autoFocus"!==e&&(Ga.hasOwnProperty(e)?o||(o=[]):(o=o||[]).push(e,null));for(e in a){var u=a[e];if(l=null!=n?n[e]:void 0,a.hasOwnProperty(e)&&u!==l&&(null!=u||null!=l))if("style"===e)if(l){for(t in l)!l.hasOwnProperty(t)||u&&u.hasOwnProperty(t)||(i||(i={}),i[t]="");for(t in u)u.hasOwnProperty(t)&&l[t]!==u[t]&&(i||(i={}),i[t]=u[t])}else i||(o||(o=[]),o.push(e,i)),i=u;else"dangerouslySetInnerHTML"===e?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(o=o||[]).push(e,""+u)):"children"===e?l===u||"string"!==typeof u&&"number"!==typeof u||(o=o||[]).push(e,""+u):"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&(Ga.hasOwnProperty(e)?(null!=u&&ft(r,e),o||l===u||(o=[])):(o=o||[]).push(e,u))}return i&&(o=o||[]).push("style",i),o}function gt(e,t,n,a,r){"input"===n&&"radio"===r.type&&null!=r.name&&ge(e,r),ct(n,a),a=ct(n,r);for(var o=0;o<t.length;o+=2){var i=t[o],l=t[o+1];"style"===i?ut(e,l,vi):"dangerouslySetInnerHTML"===i?mi(e,l):"children"===i?lt(e,l):de(e,i,l,a)}switch(n){case"input":be(e,r);break;case"textarea":at(e,r);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!r.multiple,n=r.value,null!=n?Ze(e,!!r.multiple,n,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ze(e,!!r.multiple,r.defaultValue,!0):Ze(e,!!r.multiple,r.multiple?[]:"",!1))}}function bt(e,t,n,a,r){switch(t){case"iframe":case"object":We("load",e);break;case"video":case"audio":for(a=0;a<hr.length;a++)We(hr[a],e);break;case"source":We("error",e);break;case"img":case"image":case"link":We("error",e),We("load",e);break;case"form":We("reset",e),We("submit",e);break;case"details":We("toggle",e);break;case"input":he(e,n),We("invalid",e),ft(r,"onChange");break;case"select":et(e,n),We("invalid",e),ft(r,"onChange");break;case"textarea":nt(e,n),We("invalid",e),ft(r,"onChange")}st(t,n,vi),a=null;for(var o in n)if(n.hasOwnProperty(o)){var i=n[o];"children"===o?"string"===typeof i?e.textContent!==i&&(a=["children",i]):"number"===typeof i&&e.textContent!==""+i&&(a=["children",""+i]):Ga.hasOwnProperty(o)&&null!=i&&ft(r,o)}switch(t){case"input":ae(e),ve(e,n,!0);break;case"textarea":ae(e),rt(e,n);break;case"select":case"option":break;default:"function"===typeof n.onClick&&(e.onclick=Fa)}return a}function vt(e,t){return e.nodeValue!==t}function yt(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function wt(e,t){return"textarea"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"===typeof t.dangerouslySetInnerHTML.__html}function _t(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function kt(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function xt(e){return{current:e}}function Et(e){0>Si||(e.current=Ci[Si],Ci[Si]=null,Si--)}function Ct(e,t){Si++,Ci[Si]=e.current,e.current=t}function St(e){return Pt(e)?Oi:Ti.current}function Tt(e,t){var n=e.type.contextTypes;if(!n)return Wa;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var r,o={};for(r in n)o[r]=t[r];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Pt(e){return 2===e.tag&&null!=e.type.childContextTypes}function Ot(e){Pt(e)&&(Et(Pi,e),Et(Ti,e))}function Nt(e){Et(Pi,e),Et(Ti,e)}function Rt(e,t,n){Ti.current!==Wa&&a("168"),Ct(Ti,t,e),Ct(Pi,n,e)}function It(e,t){var n=e.stateNode,r=e.type.childContextTypes;if("function"!==typeof n.getChildContext)return t;n=n.getChildContext();for(var o in n)o in r||a("108",ie(e)||"Unknown",o);return Da({},t,n)}function jt(e){if(!Pt(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Wa,Oi=Ti.current,Ct(Ti,t,e),Ct(Pi,Pi.current,e),!0}function Mt(e,t){var n=e.stateNode;if(n||a("169"),t){var r=It(e,Oi);n.__reactInternalMemoizedMergedChildContext=r,Et(Pi,e),Et(Ti,e),Ct(Ti,r,e)}else Et(Pi,e);Ct(Pi,t,e)}function At(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function zt(e,t,n){var a=e.alternate;return null===a?(a=new At(e.tag,t,e.key,e.mode),a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.effectTag=0,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null),a.expirationTime=n,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a}function Dt(e,t,n){var r=e.type,o=e.key;if(e=e.props,"function"===typeof r)var i=r.prototype&&r.prototype.isReactComponent?2:0;else if("string"===typeof r)i=5;else switch(r){case Hr:return Ft(e.children,t,n,o);case Gr:i=11,t|=3;break;case Vr:i=11,t|=2;break;case qr:return r=new At(15,e,o,4|t),r.type=qr,r.expirationTime=n,r;case Yr:i=16,t|=2;break;default:e:{switch("object"===typeof r&&null!==r?r.$$typeof:null){case $r:i=13;break e;case Kr:i=12;break e;case Qr:i=14;break e;default:a("130",null==r?r:typeof r,"")}i=void 0}}return t=new At(i,e,o,t),t.type=r,t.expirationTime=n,t}function Ft(e,t,n,a){return e=new At(10,e,a,t),e.expirationTime=n,e}function Ut(e,t,n){return e=new At(6,e,null,t),e.expirationTime=n,e}function Bt(e,t,n){return t=new At(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Lt(e,t,n){return t=new At(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}function Wt(e){return function(t){try{return e(t)}catch(e){}}}function Ht(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Ni=Wt(function(e){return t.onCommitFiberRoot(n,e)}),Ri=Wt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Vt(e){"function"===typeof Ni&&Ni(e)}function qt(e){"function"===typeof Ri&&Ri(e)}function $t(e){return{expirationTime:0,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Kt(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Gt(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Qt(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n)}function Yt(e,t,n){var a=e.alternate;if(null===a){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=$t(e.memoizedState))}else r=e.updateQueue,o=a.updateQueue,null===r?null===o?(r=e.updateQueue=$t(e.memoizedState),o=a.updateQueue=$t(a.memoizedState)):r=e.updateQueue=Kt(o):null===o&&(o=a.updateQueue=Kt(r));null===o||r===o?Qt(r,t,n):null===r.lastUpdate||null===o.lastUpdate?(Qt(r,t,n),Qt(o,t,n)):(Qt(r,t,n),o.lastUpdate=t)}function Xt(e,t,n){var a=e.updateQueue;a=null===a?e.updateQueue=$t(e.memoizedState):Jt(e,a),null===a.lastCapturedUpdate?a.firstCapturedUpdate=a.lastCapturedUpdate=t:(a.lastCapturedUpdate.next=t,a.lastCapturedUpdate=t),(0===a.expirationTime||a.expirationTime>n)&&(a.expirationTime=n)}function Jt(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Kt(t)),t}function Zt(e,t,n,a,r,o){switch(n.tag){case 1:return e=n.payload,"function"===typeof e?e.call(o,a,r):e;case 3:e.effectTag=-1025&e.effectTag|64;case 0:if(e=n.payload,null===(r="function"===typeof e?e.call(o,a,r):e)||void 0===r)break;return Da({},a,r);case 2:Ii=!0}return a}function en(e,t,n,a,r){if(Ii=!1,!(0===t.expirationTime||t.expirationTime>r)){t=Jt(e,t);for(var o=t.baseState,i=null,l=0,u=t.firstUpdate,s=o;null!==u;){var c=u.expirationTime;c>r?(null===i&&(i=u,o=s),(0===l||l>c)&&(l=c)):(s=Zt(e,t,u,s,n,a),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(c=null,u=t.firstCapturedUpdate;null!==u;){var f=u.expirationTime;f>r?(null===c&&(c=u,null===i&&(o=s)),(0===l||l>f)&&(l=f)):(s=Zt(e,t,u,s,n,a),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===i&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===i&&null===c&&(o=s),t.baseState=o,t.firstUpdate=i,t.firstCapturedUpdate=c,t.expirationTime=l,e.memoizedState=s}}function tn(e,t){"function"!==typeof e&&a("191",e),e.call(t)}function nn(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var a=e.callback;null!==a&&(e.callback=null,tn(a,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)t=e.callback,null!==t&&(e.callback=null,tn(t,n)),e=e.nextEffect}function an(e,t){return{value:e,source:t,stack:le(t)}}function rn(e){var t=e.type._context;Ct(Ai,t._changedBits,e),Ct(Mi,t._currentValue,e),Ct(ji,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode}function on(e){var t=Ai.current,n=Mi.current;Et(ji,e),Et(Mi,e),Et(Ai,e),e=e.type._context,e._currentValue=n,e._changedBits=t}function ln(e){return e===zi&&a("174"),e}function un(e,t){Ct(Ui,t,e),Ct(Fi,e,e),Ct(Di,zi,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:it(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=it(t,n)}Et(Di,e),Ct(Di,t,e)}function sn(e){Et(Di,e),Et(Fi,e),Et(Ui,e)}function cn(e){Fi.current===e&&(Et(Di,e),Et(Fi,e))}function fn(e,t,n){var a=e.memoizedState;t=t(n,a),a=null===t||void 0===t?a:Da({},a,t),e.memoizedState=a,null!==(e=e.updateQueue)&&0===e.expirationTime&&(e.baseState=a)}function pn(e,t,n,a,r,o){var i=e.stateNode;return e=e.type,"function"===typeof i.shouldComponentUpdate?i.shouldComponentUpdate(n,r,o):!e.prototype||!e.prototype.isPureReactComponent||(!Ba(t,n)||!Ba(a,r))}function dn(e,t,n,a){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,a),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&Bi.enqueueReplaceState(t,t.state,null)}function mn(e,t){var n=e.type,a=e.stateNode,r=e.pendingProps,o=St(e);a.props=r,a.state=e.memoizedState,a.refs=Wa,a.context=Tt(e,o),o=e.updateQueue,null!==o&&(en(e,o,r,a,t),a.state=e.memoizedState),o=e.type.getDerivedStateFromProps,"function"===typeof o&&(fn(e,o,r),a.state=e.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(n=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),n!==a.state&&Bi.enqueueReplaceState(a,a.state,null),null!==(o=e.updateQueue)&&(en(e,o,r,a,t),a.state=e.memoizedState)),"function"===typeof a.componentDidMount&&(e.effectTag|=4)}function hn(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(2!==n.tag&&a("110"),r=n.stateNode),r||a("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs===Wa?r.refs={}:r.refs;null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}"string"!==typeof e&&a("148"),n._owner||a("254",e)}return e}function gn(e,t){"textarea"!==e.type&&a("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function bn(e){function t(t,n){if(e){var a=t.lastEffect;null!==a?(a.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,a){if(!e)return null;for(;null!==a;)t(n,a),a=a.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return e=zt(e,t,n),e.index=0,e.sibling=null,e}function i(t,n,a){return t.index=a,e?null!==(a=t.alternate)?(a=a.index,a<n?(t.effectTag=2,n):a):(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,a){return null===t||6!==t.tag?(t=Ut(n,e.mode,a),t.return=e,t):(t=o(t,n,a),t.return=e,t)}function s(e,t,n,a){return null!==t&&t.type===n.type?(a=o(t,n.props,a),a.ref=hn(e,t,n),a.return=e,a):(a=Dt(n,e.mode,a),a.ref=hn(e,t,n),a.return=e,a)}function c(e,t,n,a){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Bt(n,e.mode,a),t.return=e,t):(t=o(t,n.children||[],a),t.return=e,t)}function f(e,t,n,a,r){return null===t||10!==t.tag?(t=Ft(n,e.mode,a,r),t.return=e,t):(t=o(t,n,a),t.return=e,t)}function p(e,t,n){if("string"===typeof t||"number"===typeof t)return t=Ut(""+t,e.mode,n),t.return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case Lr:return n=Dt(t,e.mode,n),n.ref=hn(e,null,t),n.return=e,n;case Wr:return t=Bt(t,e.mode,n),t.return=e,t}if(Li(t)||oe(t))return t=Ft(t,e.mode,n,null),t.return=e,t;gn(e,t)}return null}function d(e,t,n,a){var r=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==r?null:u(e,t,""+n,a);if("object"===typeof n&&null!==n){switch(n.$$typeof){case Lr:return n.key===r?n.type===Hr?f(e,t,n.props.children,a,r):s(e,t,n,a):null;case Wr:return n.key===r?c(e,t,n,a):null}if(Li(n)||oe(n))return null!==r?null:f(e,t,n,a,null);gn(e,n)}return null}function m(e,t,n,a,r){if("string"===typeof a||"number"===typeof a)return e=e.get(n)||null,u(t,e,""+a,r);if("object"===typeof a&&null!==a){switch(a.$$typeof){case Lr:return e=e.get(null===a.key?n:a.key)||null,a.type===Hr?f(t,e,a.props.children,r,a.key):s(t,e,a,r);case Wr:return e=e.get(null===a.key?n:a.key)||null,c(t,e,a,r)}if(Li(a)||oe(a))return e=e.get(n)||null,f(t,e,a,r,null);gn(t,a)}return null}function h(a,o,l,u){for(var s=null,c=null,f=o,h=o=0,g=null;null!==f&&h<l.length;h++){f.index>h?(g=f,f=null):g=f.sibling;var b=d(a,f,l[h],u);if(null===b){null===f&&(f=g);break}e&&f&&null===b.alternate&&t(a,f),o=i(b,o,h),null===c?s=b:c.sibling=b,c=b,f=g}if(h===l.length)return n(a,f),s;if(null===f){for(;h<l.length;h++)(f=p(a,l[h],u))&&(o=i(f,o,h),null===c?s=f:c.sibling=f,c=f);return s}for(f=r(a,f);h<l.length;h++)(g=m(f,a,h,l[h],u))&&(e&&null!==g.alternate&&f.delete(null===g.key?h:g.key),o=i(g,o,h),null===c?s=g:c.sibling=g,c=g);return e&&f.forEach(function(e){return t(a,e)}),s}function g(o,l,u,s){var c=oe(u);"function"!==typeof c&&a("150"),null==(u=c.call(u))&&a("151");for(var f=c=null,h=l,g=l=0,b=null,v=u.next();null!==h&&!v.done;g++,v=u.next()){h.index>g?(b=h,h=null):b=h.sibling;var y=d(o,h,v.value,s);if(null===y){h||(h=b);break}e&&h&&null===y.alternate&&t(o,h),l=i(y,l,g),null===f?c=y:f.sibling=y,f=y,h=b}if(v.done)return n(o,h),c;if(null===h){for(;!v.done;g++,v=u.next())null!==(v=p(o,v.value,s))&&(l=i(v,l,g),null===f?c=v:f.sibling=v,f=v);return c}for(h=r(o,h);!v.done;g++,v=u.next())null!==(v=m(h,o,g,v.value,s))&&(e&&null!==v.alternate&&h.delete(null===v.key?g:v.key),l=i(v,l,g),null===f?c=v:f.sibling=v,f=v);return e&&h.forEach(function(e){return t(o,e)}),c}return function(e,r,i,u){var s="object"===typeof i&&null!==i&&i.type===Hr&&null===i.key;s&&(i=i.props.children);var c="object"===typeof i&&null!==i;if(c)switch(i.$$typeof){case Lr:e:{for(c=i.key,s=r;null!==s;){if(s.key===c){if(10===s.tag?i.type===Hr:s.type===i.type){n(e,s.sibling),r=o(s,i.type===Hr?i.props.children:i.props,u),r.ref=hn(e,s,i),r.return=e,e=r;break e}n(e,s);break}t(e,s),s=s.sibling}i.type===Hr?(r=Ft(i.props.children,e.mode,u,i.key),r.return=e,e=r):(u=Dt(i,e.mode,u),u.ref=hn(e,r,i),u.return=e,e=u)}return l(e);case Wr:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),r=o(r,i.children||[],u),r.return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}r=Bt(i,e.mode,u),r.return=e,e=r}return l(e)}if("string"===typeof i||"number"===typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),r=o(r,i,u),r.return=e,e=r):(n(e,r),r=Ut(i,e.mode,u),r.return=e,e=r),l(e);if(Li(i))return h(e,r,i,u);if(oe(i))return g(e,r,i,u);if(c&&gn(e,i),"undefined"===typeof i&&!s)switch(e.tag){case 2:case 1:u=e.type,a("152",u.displayName||u.name||"Component")}return n(e,r)}}function vn(e,t){var n=new At(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function yn(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function wn(e){if($i){var t=qi;if(t){var n=t;if(!yn(e,t)){if(!(t=_t(n))||!yn(e,t))return e.effectTag|=2,$i=!1,void(Vi=e);vn(Vi,n)}Vi=e,qi=kt(t)}else e.effectTag|=2,$i=!1,Vi=e}}function _n(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Vi=e}function kn(e){if(e!==Vi)return!1;if(!$i)return _n(e),$i=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!wt(t,e.memoizedProps))for(t=qi;t;)vn(e,t),t=_t(t);return _n(e),qi=Vi?_t(e.stateNode):null,!0}function xn(){qi=Vi=null,$i=!1}function En(e,t,n){Cn(e,t,n,t.expirationTime)}function Cn(e,t,n,a){t.child=null===e?Hi(t,null,n,a):Wi(t,e.child,n,a)}function Sn(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Tn(e,t,n,a,r){Sn(e,t);var o=0!==(64&t.effectTag);if(!n&&!o)return a&&Mt(t,!1),Rn(e,t);n=t.stateNode,Ur.current=t;var i=o?null:n.render();return t.effectTag|=1,o&&(Cn(e,t,null,r),t.child=null),Cn(e,t,i,r),t.memoizedState=n.state,t.memoizedProps=n.props,a&&Mt(t,!0),t.child}function Pn(e){var t=e.stateNode;t.pendingContext?Rt(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Rt(e,t.context,!1),un(e,t.containerInfo)}function On(e,t,n,a){var r=e.child;for(null!==r&&(r.return=e);null!==r;){switch(r.tag){case 12:var o=0|r.stateNode;if(r.type===t&&0!==(o&n)){for(o=r;null!==o;){var i=o.alternate;if(0===o.expirationTime||o.expirationTime>a)o.expirationTime=a,null!==i&&(0===i.expirationTime||i.expirationTime>a)&&(i.expirationTime=a);else{if(null===i||!(0===i.expirationTime||i.expirationTime>a))break;i.expirationTime=a}o=o.return}o=null}else o=r.child;break;case 13:o=r.type===e.type?null:r.child;break;default:o=r.child}if(null!==o)o.return=r;else for(o=r;null!==o;){if(o===e){o=null;break}if(null!==(r=o.sibling)){r.return=o.return,o=r;break}o=o.return}r=o}}function Nn(e,t,n){var a=t.type._context,r=t.pendingProps,o=t.memoizedProps,i=!0;if(Pi.current)i=!1;else if(o===r)return t.stateNode=0,rn(t),Rn(e,t);var l=r.value;if(t.memoizedProps=r,null===o)l=1073741823;else if(o.value===r.value){if(o.children===r.children&&i)return t.stateNode=0,rn(t),Rn(e,t);l=0}else{var u=o.value;if(u===l&&(0!==u||1/u===1/l)||u!==u&&l!==l){if(o.children===r.children&&i)return t.stateNode=0,rn(t),Rn(e,t);l=0}else if(l="function"===typeof a._calculateChangedBits?a._calculateChangedBits(u,l):1073741823,0===(l|=0)){if(o.children===r.children&&i)return t.stateNode=0,rn(t),Rn(e,t)}else On(t,a,l,n)}return t.stateNode=l,rn(t),En(e,t,r.children),t.child}function Rn(e,t){if(null!==e&&t.child!==e.child&&a("153"),null!==t.child){e=t.child;var n=zt(e,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=zt(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}function In(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:Pn(t);break;case 2:jt(t);break;case 4:un(t,t.stateNode.containerInfo);break;case 13:rn(t)}return null}switch(t.tag){case 0:null!==e&&a("155");var r=t.type,o=t.pendingProps,i=St(t);return i=Tt(t,i),r=r(o,i),t.effectTag|=1,"object"===typeof r&&null!==r&&"function"===typeof r.render&&void 0===r.$$typeof?(i=t.type,t.tag=2,t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,i=i.getDerivedStateFromProps,"function"===typeof i&&fn(t,i,o),o=jt(t),r.updater=Bi,t.stateNode=r,r._reactInternalFiber=t,mn(t,n),e=Tn(e,t,!0,o,n)):(t.tag=1,En(e,t,r),t.memoizedProps=o,e=t.child),e;case 1:return o=t.type,n=t.pendingProps,Pi.current||t.memoizedProps!==n?(r=St(t),r=Tt(t,r),o=o(n,r),t.effectTag|=1,En(e,t,o),t.memoizedProps=n,e=t.child):e=Rn(e,t),e;case 2:if(o=jt(t),null===e)if(null===t.stateNode){var l=t.pendingProps,u=t.type;r=St(t);var s=2===t.tag&&null!=t.type.contextTypes;i=s?Tt(t,r):Wa,l=new u(l,i),t.memoizedState=null!==l.state&&void 0!==l.state?l.state:null,l.updater=Bi,t.stateNode=l,l._reactInternalFiber=t,s&&(s=t.stateNode,s.__reactInternalMemoizedUnmaskedChildContext=r,s.__reactInternalMemoizedMaskedChildContext=i),mn(t,n),r=!0}else{u=t.type,r=t.stateNode,s=t.memoizedProps,i=t.pendingProps,r.props=s;var c=r.context;l=St(t),l=Tt(t,l);var f=u.getDerivedStateFromProps;(u="function"===typeof f||"function"===typeof r.getSnapshotBeforeUpdate)||"function"!==typeof r.UNSAFE_componentWillReceiveProps&&"function"!==typeof r.componentWillReceiveProps||(s!==i||c!==l)&&dn(t,r,i,l),Ii=!1;var p=t.memoizedState;c=r.state=p;var d=t.updateQueue;null!==d&&(en(t,d,i,r,n),c=t.memoizedState),s!==i||p!==c||Pi.current||Ii?("function"===typeof f&&(fn(t,f,i),c=t.memoizedState),(s=Ii||pn(t,s,i,p,c,l))?(u||"function"!==typeof r.UNSAFE_componentWillMount&&"function"!==typeof r.componentWillMount||("function"===typeof r.componentWillMount&&r.componentWillMount(),"function"===typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount()),"function"===typeof r.componentDidMount&&(t.effectTag|=4)):("function"===typeof r.componentDidMount&&(t.effectTag|=4),t.memoizedProps=i,t.memoizedState=c),r.props=i,r.state=c,r.context=l,r=s):("function"===typeof r.componentDidMount&&(t.effectTag|=4),r=!1)}else u=t.type,r=t.stateNode,i=t.memoizedProps,s=t.pendingProps,r.props=i,c=r.context,l=St(t),l=Tt(t,l),f=u.getDerivedStateFromProps,(u="function"===typeof f||"function"===typeof r.getSnapshotBeforeUpdate)||"function"!==typeof r.UNSAFE_componentWillReceiveProps&&"function"!==typeof r.componentWillReceiveProps||(i!==s||c!==l)&&dn(t,r,s,l),Ii=!1,c=t.memoizedState,p=r.state=c,d=t.updateQueue,null!==d&&(en(t,d,s,r,n),p=t.memoizedState),i!==s||c!==p||Pi.current||Ii?("function"===typeof f&&(fn(t,f,s),p=t.memoizedState),(f=Ii||pn(t,i,s,c,p,l))?(u||"function"!==typeof r.UNSAFE_componentWillUpdate&&"function"!==typeof r.componentWillUpdate||("function"===typeof r.componentWillUpdate&&r.componentWillUpdate(s,p,l),"function"===typeof r.UNSAFE_componentWillUpdate&&r.UNSAFE_componentWillUpdate(s,p,l)),"function"===typeof r.componentDidUpdate&&(t.effectTag|=4),"function"===typeof r.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!==typeof r.componentDidUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof r.getSnapshotBeforeUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),t.memoizedProps=s,t.memoizedState=p),r.props=s,r.state=p,r.context=l,r=f):("function"!==typeof r.componentDidUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=4),"function"!==typeof r.getSnapshotBeforeUpdate||i===e.memoizedProps&&c===e.memoizedState||(t.effectTag|=256),r=!1);return Tn(e,t,r,o,n);case 3:return Pn(t),o=t.updateQueue,null!==o?(r=t.memoizedState,r=null!==r?r.element:null,en(t,o,t.pendingProps,null,n),(o=t.memoizedState.element)===r?(xn(),e=Rn(e,t)):(r=t.stateNode,(r=(null===e||null===e.child)&&r.hydrate)&&(qi=kt(t.stateNode.containerInfo),Vi=t,r=$i=!0),r?(t.effectTag|=2,t.child=Hi(t,null,o,n)):(xn(),En(e,t,o)),e=t.child)):(xn(),e=Rn(e,t)),e;case 5:return ln(Ui.current),o=ln(Di.current),r=it(o,t.type),o!==r&&(Ct(Fi,t,t),Ct(Di,r,t)),null===e&&wn(t),o=t.type,s=t.memoizedProps,r=t.pendingProps,i=null!==e?e.memoizedProps:null,Pi.current||s!==r||((s=1&t.mode&&!!r.hidden)&&(t.expirationTime=1073741823),s&&1073741823===n)?(s=r.children,wt(o,r)?s=null:i&&wt(o,i)&&(t.effectTag|=16),Sn(e,t),1073741823!==n&&1&t.mode&&r.hidden?(t.expirationTime=1073741823,t.memoizedProps=r,e=null):(En(e,t,s),t.memoizedProps=r,e=t.child)):e=Rn(e,t),e;case 6:return null===e&&wn(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 4:return un(t,t.stateNode.containerInfo),o=t.pendingProps,Pi.current||t.memoizedProps!==o?(null===e?t.child=Wi(t,null,o,n):En(e,t,o),t.memoizedProps=o,e=t.child):e=Rn(e,t),e;case 14:return o=t.type.render,n=t.pendingProps,r=t.ref,Pi.current||t.memoizedProps!==n||r!==(null!==e?e.ref:null)?(o=o(n,r),En(e,t,o),t.memoizedProps=n,e=t.child):e=Rn(e,t),e;case 10:return n=t.pendingProps,Pi.current||t.memoizedProps!==n?(En(e,t,n),t.memoizedProps=n,e=t.child):e=Rn(e,t),e;case 11:return n=t.pendingProps.children,Pi.current||null!==n&&t.memoizedProps!==n?(En(e,t,n),t.memoizedProps=n,e=t.child):e=Rn(e,t),e;case 15:return n=t.pendingProps,t.memoizedProps===n?e=Rn(e,t):(En(e,t,n.children),t.memoizedProps=n,e=t.child),e;case 13:return Nn(e,t,n);case 12:e:if(r=t.type,i=t.pendingProps,s=t.memoizedProps,o=r._currentValue,l=r._changedBits,Pi.current||0!==l||s!==i){if(t.memoizedProps=i,u=i.unstable_observedBits,void 0!==u&&null!==u||(u=1073741823),t.stateNode=u,0!==(l&u))On(t,r,l,n);else if(s===i){e=Rn(e,t);break e}n=i.children,n=n(o),t.effectTag|=1,En(e,t,n),e=t.child}else e=Rn(e,t);return e;default:a("156")}}function jn(e){e.effectTag|=4}function Mn(e,t){var n=t.pendingProps;switch(t.tag){case 1:return null;case 2:return Ot(t),null;case 3:sn(t),Nt(t);var r=t.stateNode;return r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(kn(t),t.effectTag&=-3),Ki(t),null;case 5:cn(t),r=ln(Ui.current);var o=t.type;if(null!==e&&null!=t.stateNode){var i=e.memoizedProps,l=t.stateNode,u=ln(Di.current);l=ht(l,o,i,n,r),Gi(e,t,l,o,i,n,r,u),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!n)return null===t.stateNode&&a("166"),null;if(e=ln(Di.current),kn(t))n=t.stateNode,o=t.type,i=t.memoizedProps,n[rr]=t,n[or]=i,r=bt(n,o,i,e,r),t.updateQueue=r,null!==r&&jn(t);else{e=pt(o,n,r,e),e[rr]=t,e[or]=n;e:for(i=t.child;null!==i;){if(5===i.tag||6===i.tag)e.appendChild(i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)break;for(;null===i.sibling;){if(null===i.return||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}mt(e,o,n,r),yt(o,n)&&jn(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Qi(e,t,e.memoizedProps,n);else{if("string"!==typeof n)return null===t.stateNode&&a("166"),null;r=ln(Ui.current),ln(Di.current),kn(t)?(r=t.stateNode,n=t.memoizedProps,r[rr]=t,vt(r,n)&&jn(t)):(r=dt(n,r),r[rr]=t,t.stateNode=r)}return null;case 14:case 16:case 10:case 11:case 15:return null;case 4:return sn(t),Ki(t),null;case 13:return on(t),null;case 12:return null;case 0:a("167");default:a("156")}}function An(e,t){var n=t.source;null===t.stack&&null!==n&&le(n),null!==n&&ie(n),t=t.value,null!==e&&2===e.tag&&ie(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}function zn(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(t){Yn(e,t)}else t.current=null}function Dn(e){switch("function"===typeof qt&&qt(e),e.tag){case 2:zn(e);var t=e.stateNode;if("function"===typeof t.componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Yn(e,t)}break;case 5:zn(e);break;case 4:Bn(e)}}function Fn(e){return 5===e.tag||3===e.tag||4===e.tag}function Un(e){e:{for(var t=e.return;null!==t;){if(Fn(t)){var n=t;break e}t=t.return}a("160"),n=void 0}var r=t=void 0;switch(n.tag){case 5:t=n.stateNode,r=!1;break;case 3:case 4:t=n.stateNode.containerInfo,r=!0;break;default:a("161")}16&n.effectTag&&(lt(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Fn(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var o=e;;){if(5===o.tag||6===o.tag)if(n)if(r){var i=t,l=o.stateNode,u=n;8===i.nodeType?i.parentNode.insertBefore(l,u):i.insertBefore(l,u)}else t.insertBefore(o.stateNode,n);else r?(i=t,l=o.stateNode,8===i.nodeType?i.parentNode.insertBefore(l,i):i.appendChild(l)):t.appendChild(o.stateNode);else if(4!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)break;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}function Bn(e){for(var t=e,n=!1,r=void 0,o=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n&&a("160"),n.tag){case 5:r=n.stateNode,o=!1;break e;case 3:case 4:r=n.stateNode.containerInfo,o=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var i=t,l=i;;)if(Dn(l),null!==l.child&&4!==l.tag)l.child.return=l,l=l.child;else{if(l===i)break;for(;null===l.sibling;){if(null===l.return||l.return===i)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}o?(i=r,l=t.stateNode,8===i.nodeType?i.parentNode.removeChild(l):i.removeChild(l)):r.removeChild(t.stateNode)}else if(4===t.tag?r=t.stateNode.containerInfo:Dn(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return,4===t.tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function Ln(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps;e=null!==e?e.memoizedProps:r;var o=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&(n[or]=r,gt(n,i,o,e,r))}break;case 6:null===t.stateNode&&a("162"),t.stateNode.nodeValue=t.memoizedProps;break;case 3:case 15:case 16:break;default:a("163")}}function Wn(e,t,n){n=Gt(n),n.tag=3,n.payload={element:null};var a=t.value;return n.callback=function(){ma(a),An(e,t)},n}function Hn(e,t,n){n=Gt(n),n.tag=3;var a=e.stateNode;return null!==a&&"function"===typeof a.componentDidCatch&&(n.callback=function(){null===cl?cl=new Set([this]):cl.add(this);var n=t.value,a=t.stack;An(e,t),this.componentDidCatch(n,{componentStack:null!==a?a:""})}),n}function Vn(e,t,n,a,r,o){n.effectTag|=512,n.firstEffect=n.lastEffect=null,a=an(a,n),e=t;do{switch(e.tag){case 3:return e.effectTag|=1024,a=Wn(e,a,o),void Xt(e,a,o);case 2:if(t=a,n=e.stateNode,0===(64&e.effectTag)&&null!==n&&"function"===typeof n.componentDidCatch&&(null===cl||!cl.has(n)))return e.effectTag|=1024,a=Hn(e,t,o),void Xt(e,a,o)}e=e.return}while(null!==e)}function qn(e){switch(e.tag){case 2:Ot(e);var t=e.effectTag;return 1024&t?(e.effectTag=-1025&t|64,e):null;case 3:return sn(e),Nt(e),t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 5:return cn(e),null;case 16:return t=e.effectTag,1024&t?(e.effectTag=-1025&t|64,e):null;case 4:return sn(e),null;case 13:return on(e),null;default:return null}}function $n(){if(null!==nl)for(var e=nl.return;null!==e;){var t=e;switch(t.tag){case 2:Ot(t);break;case 3:sn(t),Nt(t);break;case 5:cn(t);break;case 4:sn(t);break;case 13:on(t)}e=e.return}al=null,rl=0,ol=-1,il=!1,nl=null,sl=!1}function Kn(e){for(;;){var t=e.alternate,n=e.return,a=e.sibling;if(0===(512&e.effectTag)){t=Mn(t,e,rl);var r=e;if(1073741823===rl||1073741823!==r.expirationTime){var o=0;switch(r.tag){case 3:case 2:var i=r.updateQueue;null!==i&&(o=i.expirationTime)}for(i=r.child;null!==i;)0!==i.expirationTime&&(0===o||o>i.expirationTime)&&(o=i.expirationTime),i=i.sibling;r.expirationTime=o}if(null!==t)return t;if(null!==n&&0===(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)),null!==a)return a;if(null===n){sl=!0;break}e=n}else{if(null!==(e=qn(e,il,rl)))return e.effectTag&=511,e;if(null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=512),null!==a)return a;if(null===n)break;e=n}}return null}function Gn(e){var t=In(e.alternate,e,rl);return null===t&&(t=Kn(e)),Ur.current=null,t}function Qn(e,t,n){tl&&a("243"),tl=!0,t===rl&&e===al&&null!==nl||($n(),al=e,rl=t,ol=-1,nl=zt(al.current,null,rl),e.pendingCommitExpirationTime=0);var r=!1;for(il=!n||rl<=Xi;;){try{if(n)for(;null!==nl&&!da();)nl=Gn(nl);else for(;null!==nl;)nl=Gn(nl)}catch(t){if(null===nl)r=!0,ma(t);else{null===nl&&a("271"),n=nl;var o=n.return;if(null===o){r=!0,ma(t);break}Vn(e,o,n,t,il,rl,Ji),nl=Kn(n)}}break}if(tl=!1,r)return null;if(null===nl){if(sl)return e.pendingCommitExpirationTime=t,e.current.alternate;il&&a("262"),0<=ol&&setTimeout(function(){var t=e.current.expirationTime;0!==t&&(0===e.remainingExpirationTime||e.remainingExpirationTime<t)&&ra(e,t)},ol),ha(e.current.expirationTime)}return null}function Yn(e,t){var n;e:{for(tl&&!ul&&a("263"),n=e.return;null!==n;){switch(n.tag){case 2:var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromCatch||"function"===typeof r.componentDidCatch&&(null===cl||!cl.has(r))){e=an(t,e),e=Hn(n,e,1),Yt(n,e,1),Zn(n,1),n=void 0;break e}break;case 3:e=an(t,e),e=Wn(n,e,1),Yt(n,e,1),Zn(n,1),n=void 0;break e}n=n.return}3===e.tag&&(n=an(t,e),n=Wn(e,n,1),Yt(e,n,1),Zn(e,1)),n=void 0}return n}function Xn(){var e=2+25*(1+((ea()-2+500)/25|0));return e<=Zi&&(e=Zi+1),Zi=e}function Jn(e,t){return e=0!==el?el:tl?ul?1:rl:1&t.mode?Cl?2+10*(1+((e-2+15)/10|0)):2+25*(1+((e-2+500)/25|0)):1,Cl&&(0===vl||e>vl)&&(vl=e),e}function Zn(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!tl&&0!==rl&&t<rl&&$n();var r=n.current.expirationTime;tl&&!ul&&al===n||ra(n,r),Pl>Tl&&a("185")}e=e.return}}function ea(){return Ji=ki()-Yi,Xi=2+(Ji/10|0)}function ta(e){var t=el;el=2+25*(1+((ea()-2+500)/25|0));try{return e()}finally{el=t}}function na(e,t,n,a,r){var o=el;el=1;try{return e(t,n,a,r)}finally{el=o}}function aa(e){if(0!==dl){if(e>dl)return;null!==ml&&Ei(ml)}var t=ki()-Yi;dl=e,ml=xi(ia,{timeout:10*(e-2)-t})}function ra(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===pl?(fl=pl=e,e.nextScheduledRoot=e):(pl=pl.nextScheduledRoot=e,pl.nextScheduledRoot=fl);else{var n=e.remainingExpirationTime;(0===n||t<n)&&(e.remainingExpirationTime=t)}hl||(xl?El&&(gl=e,bl=1,fa(e,1,!1)):1===t?la():aa(t))}function oa(){var e=0,t=null;if(null!==pl)for(var n=pl,r=fl;null!==r;){var o=r.remainingExpirationTime;if(0===o){if((null===n||null===pl)&&a("244"),r===r.nextScheduledRoot){fl=pl=r.nextScheduledRoot=null;break}if(r===fl)fl=o=r.nextScheduledRoot,pl.nextScheduledRoot=o,r.nextScheduledRoot=null;else{if(r===pl){pl=n,pl.nextScheduledRoot=fl,r.nextScheduledRoot=null;break}n.nextScheduledRoot=r.nextScheduledRoot,r.nextScheduledRoot=null}r=n.nextScheduledRoot}else{if((0===e||o<e)&&(e=o,t=r),r===pl)break;n=r,r=r.nextScheduledRoot}}n=gl,null!==n&&n===t&&1===e?Pl++:Pl=0,gl=t,bl=e}function ia(e){ua(0,!0,e)}function la(){ua(1,!1,null)}function ua(e,t,n){if(kl=n,oa(),t)for(;null!==gl&&0!==bl&&(0===e||e>=bl)&&(!yl||ea()>=bl);)ea(),fa(gl,bl,!yl),oa();else for(;null!==gl&&0!==bl&&(0===e||e>=bl);)fa(gl,bl,!1),oa();null!==kl&&(dl=0,ml=null),0!==bl&&aa(bl),kl=null,yl=!1,ca()}function sa(e,t){hl&&a("253"),gl=e,bl=t,fa(e,t,!1),la(),ca()}function ca(){if(Pl=0,null!==Sl){var e=Sl;Sl=null;for(var t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(e){wl||(wl=!0,_l=e)}}}if(wl)throw e=_l,_l=null,wl=!1,e}function fa(e,t,n){hl&&a("245"),hl=!0,n?(n=e.finishedWork,null!==n?pa(e,n,t):null!==(n=Qn(e,t,!0))&&(da()?e.finishedWork=n:pa(e,n,t))):(n=e.finishedWork,null!==n?pa(e,n,t):null!==(n=Qn(e,t,!1))&&pa(e,n,t)),hl=!1}function pa(e,t,n){var r=e.firstBatch;if(null!==r&&r._expirationTime<=n&&(null===Sl?Sl=[r]:Sl.push(r),r._defer))return e.finishedWork=t,void(e.remainingExpirationTime=0);if(e.finishedWork=null,ul=tl=!0,n=t.stateNode,n.current===t&&a("177"),r=n.pendingCommitExpirationTime,0===r&&a("261"),n.pendingCommitExpirationTime=0,ea(),Ur.current=null,1<t.effectTag)if(null!==t.lastEffect){t.lastEffect.nextEffect=t;var o=t.firstEffect}else o=t;else o=t.firstEffect;wi=Io;var i=Ua();if(Qe(i)){if("selectionStart"in i)var l={start:i.selectionStart,end:i.selectionEnd};else e:{var u=window.getSelection&&window.getSelection();if(u&&0!==u.rangeCount){l=u.anchorNode;var s=u.anchorOffset,c=u.focusNode;u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var f=0,p=-1,d=-1,m=0,h=0,g=i,b=null;t:for(;;){for(var v;g!==l||0!==s&&3!==g.nodeType||(p=f+s),g!==c||0!==u&&3!==g.nodeType||(d=f+u),3===g.nodeType&&(f+=g.nodeValue.length),null!==(v=g.firstChild);)b=g,g=v;for(;;){if(g===i)break t;if(b===l&&++m===s&&(p=f),b===c&&++h===u&&(d=f),null!==(v=g.nextSibling))break;g=b,b=g.parentNode}g=v}l=-1===p||-1===d?null:{start:p,end:d}}else l=null}l=l||{start:0,end:0}}else l=null;for(_i={focusedElem:i,selectionRange:l},Le(!1),ll=o;null!==ll;){i=!1,l=void 0;try{for(;null!==ll;){if(256&ll.effectTag){var y=ll.alternate;switch(s=ll,s.tag){case 2:if(256&s.effectTag&&null!==y){var w=y.memoizedProps,_=y.memoizedState,k=s.stateNode;k.props=s.memoizedProps,k.state=s.memoizedState;var x=k.getSnapshotBeforeUpdate(w,_);k.__reactInternalSnapshotBeforeUpdate=x}break;case 3:case 5:case 6:case 4:break;default:a("163")}}ll=ll.nextEffect}}catch(e){i=!0,l=e}i&&(null===ll&&a("178"),Yn(ll,l),null!==ll&&(ll=ll.nextEffect))}for(ll=o;null!==ll;){y=!1,w=void 0;try{for(;null!==ll;){var E=ll.effectTag;if(16&E&&lt(ll.stateNode,""),128&E){var C=ll.alternate;if(null!==C){var S=C.ref;null!==S&&("function"===typeof S?S(null):S.current=null)}}switch(14&E){case 2:Un(ll),ll.effectTag&=-3;break;case 6:Un(ll),ll.effectTag&=-3,Ln(ll.alternate,ll);break;case 4:Ln(ll.alternate,ll);break;case 8:_=ll,Bn(_),_.return=null,_.child=null,_.alternate&&(_.alternate.child=null,_.alternate.return=null)}ll=ll.nextEffect}}catch(e){y=!0,w=e}y&&(null===ll&&a("178"),Yn(ll,w),null!==ll&&(ll=ll.nextEffect))}if(S=_i,C=Ua(),E=S.focusedElem,y=S.selectionRange,C!==E&&La(document.documentElement,E)){null!==y&&Qe(E)&&(C=y.start,S=y.end,void 0===S&&(S=C),"selectionStart"in E?(E.selectionStart=C,E.selectionEnd=Math.min(S,E.value.length)):window.getSelection&&(C=window.getSelection(),w=E[j()].length,S=Math.min(y.start,w),y=void 0===y.end?S:Math.min(y.end,w),!C.extend&&S>y&&(w=y,y=S,S=w),w=Ge(E,S),_=Ge(E,y),w&&_&&(1!==C.rangeCount||C.anchorNode!==w.node||C.anchorOffset!==w.offset||C.focusNode!==_.node||C.focusOffset!==_.offset)&&(k=document.createRange(),k.setStart(w.node,w.offset),C.removeAllRanges(),S>y?(C.addRange(k),C.extend(_.node,_.offset)):(k.setEnd(_.node,_.offset),C.addRange(k))))),C=[];for(S=E;S=S.parentNode;)1===S.nodeType&&C.push({element:S,left:S.scrollLeft,top:S.scrollTop});for("function"===typeof E.focus&&E.focus(),E=0;E<C.length;E++)S=C[E],S.element.scrollLeft=S.left,S.element.scrollTop=S.top}for(_i=null,Le(wi),wi=null,n.current=t,ll=o;null!==ll;){o=!1,E=void 0;try{for(C=r;null!==ll;){var T=ll.effectTag;if(36&T){var P=ll.alternate;switch(S=ll,y=C,S.tag){case 2:var O=S.stateNode;if(4&S.effectTag)if(null===P)O.props=S.memoizedProps,O.state=S.memoizedState,O.componentDidMount();else{var N=P.memoizedProps,R=P.memoizedState;O.props=S.memoizedProps,O.state=S.memoizedState,O.componentDidUpdate(N,R,O.__reactInternalSnapshotBeforeUpdate)}var I=S.updateQueue;null!==I&&(O.props=S.memoizedProps,O.state=S.memoizedState,nn(S,I,O,y));break;case 3:var M=S.updateQueue;if(null!==M){if(w=null,null!==S.child)switch(S.child.tag){case 5:w=S.child.stateNode;break;case 2:w=S.child.stateNode}nn(S,M,w,y)}break;case 5:var A=S.stateNode;null===P&&4&S.effectTag&&yt(S.type,S.memoizedProps)&&A.focus();break;case 6:case 4:case 15:case 16:break;default:a("163")}}if(128&T){S=void 0;var z=ll.ref;if(null!==z){var D=ll.stateNode;switch(ll.tag){case 5:S=D;break;default:S=D}"function"===typeof z?z(S):z.current=S}}var F=ll.nextEffect;ll.nextEffect=null,ll=F}}catch(e){o=!0,E=e}o&&(null===ll&&a("178"),Yn(ll,E),null!==ll&&(ll=ll.nextEffect))}tl=ul=!1,"function"===typeof Vt&&Vt(t.stateNode),t=n.current.expirationTime,0===t&&(cl=null),e.remainingExpirationTime=t}function da(){return!(null===kl||kl.timeRemaining()>Ol)&&(yl=!0)}function ma(e){null===gl&&a("246"),gl.remainingExpirationTime=0,wl||(wl=!0,_l=e)}function ha(e){null===gl&&a("246"),gl.remainingExpirationTime=e}function ga(e,t){var n=xl;xl=!0;try{return e(t)}finally{(xl=n)||hl||la()}}function ba(e,t){if(xl&&!El){El=!0;try{return e(t)}finally{El=!1}}return e(t)}function va(e,t){hl&&a("187");var n=xl;xl=!0;try{return na(e,t)}finally{xl=n,la()}}function ya(e,t,n){if(Cl)return e(t,n);xl||hl||0===vl||(ua(vl,!1,null),vl=0);var a=Cl,r=xl;xl=Cl=!0;try{return e(t,n)}finally{Cl=a,(xl=r)||hl||la()}}function wa(e){var t=xl;xl=!0;try{na(e)}finally{(xl=t)||hl||ua(1,!1,null)}}function _a(e,t,n,r,o){var i=t.current;if(n){n=n._reactInternalFiber;var l;e:{for(2===je(n)&&2===n.tag||a("170"),l=n;3!==l.tag;){if(Pt(l)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}(l=l.return)||a("171")}l=l.stateNode.context}n=Pt(n)?It(n,l):l}else n=Wa;return null===t.context?t.context=n:t.pendingContext=n,t=o,o=Gt(r),o.payload={element:e},t=void 0===t?null:t,null!==t&&(o.callback=t),Yt(i,o,r),Zn(i,r),r}function ka(e){var t=e._reactInternalFiber;return void 0===t&&("function"===typeof e.render?a("188"):a("268",Object.keys(e))),e=ze(t),null===e?null:e.stateNode}function xa(e,t,n,a){var r=t.current;return r=Jn(ea(),r),_a(e,t,n,r,a)}function Ea(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function Ca(e){var t=e.findFiberByHostInstance;return Ht(Da({},e,{findHostInstanceByFiber:function(e){return e=ze(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}function Sa(e,t,n){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Wr,key:null==a?null:""+a,children:e,containerInfo:t,implementation:n}}function Ta(e){this._expirationTime=Xn(),this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function Pa(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Oa(e,t,n){this._internalRoot=Lt(e,t,n)}function Na(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Ra(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Oa(e,!1,t)}function Ia(e,t,n,r,o){Na(n)||a("200");var i=n._reactRootContainer;if(i){if("function"===typeof o){var l=o;o=function(){var e=Ea(i._internalRoot);l.call(e)}}null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)}else{if(i=n._reactRootContainer=Ra(n,r),"function"===typeof o){var u=o;o=function(){var e=Ea(i._internalRoot);u.call(e)}}ba(function(){null!=e?i.legacy_renderSubtreeIntoContainer(e,t,o):i.render(t,o)})}return Ea(i._internalRoot)}function ja(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return Na(t)||a("200"),Sa(e,t,null,n)}var Ma=n(24),Aa=n(5),za=n(71),Da=n(13),Fa=n(14),Ua=n(72),Ba=n(73),La=n(74),Wa=n(25);Aa||a("227");var Ha={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(e,t,n,a,o,i,l,u,s){r.apply(Ha,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,a,r,o,i,l,u){if(Ha.invokeGuardedCallback.apply(this,arguments),Ha.hasCaughtError()){var s=Ha.clearCaughtError();Ha._hasRethrowError||(Ha._hasRethrowError=!0,Ha._rethrowError=s)}},rethrowCaughtError:function(){return o.apply(Ha,arguments)},hasCaughtError:function(){return Ha._hasCaughtError},clearCaughtError:function(){if(Ha._hasCaughtError){var e=Ha._caughtError;return Ha._caughtError=null,Ha._hasCaughtError=!1,e}a("198")}},Va=null,qa={},$a=[],Ka={},Ga={},Qa={},Ya={plugins:$a,eventNameDispatchConfigs:Ka,registrationNameModules:Ga,registrationNameDependencies:Qa,possibleRegistrationNames:null,injectEventPluginOrder:u,injectEventPluginsByName:s},Xa=null,Ja=null,Za=null,er=null,tr={injectEventPluginOrder:u,injectEventPluginsByName:s},nr={injection:tr,getListener:g,runEventsInBatch:b,runExtractedEventsInBatch:v},ar=Math.random().toString(36).slice(2),rr="__reactInternalInstance$"+ar,or="__reactEventHandlers$"+ar,ir={precacheFiberNode:function(e,t){t[rr]=e},getClosestInstanceFromNode:y,getInstanceFromNode:function(e){return e=e[rr],!e||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:w,getFiberCurrentPropsFromNode:_,updateFiberProps:function(e,t){e[or]=t}},lr={accumulateTwoPhaseDispatches:O,accumulateTwoPhaseDispatchesSkipTarget:function(e){p(e,S)},accumulateEnterLeaveDispatches:N,accumulateDirectDispatches:function(e){p(e,P)}},ur={animationend:R("Animation","AnimationEnd"),animationiteration:R("Animation","AnimationIteration"),animationstart:R("Animation","AnimationStart"),transitionend:R("Transition","TransitionEnd")},sr={},cr={};za.canUseDOM&&(cr=document.createElement("div").style,"AnimationEvent"in window||(delete ur.animationend.animation,delete ur.animationiteration.animation,delete ur.animationstart.animation),"TransitionEvent"in window||delete ur.transitionend.transition);var fr=I("animationend"),pr=I("animationiteration"),dr=I("animationstart"),mr=I("transitionend"),hr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),gr=null,br={_root:null,_startText:null,_fallbackText:null},vr="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),yr={type:null,target:null,currentTarget:Fa.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};Da(z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Fa.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Fa.thatReturnsTrue)},persist:function(){this.isPersistent=Fa.thatReturnsTrue},isPersistent:Fa.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t<vr.length;t++)this[vr[t]]=null}}),z.Interface=yr,z.extend=function(e){function t(){}function n(){return a.apply(this,arguments)}var a=this;t.prototype=a.prototype;var r=new t;return Da(r,n.prototype),n.prototype=r,n.prototype.constructor=n,n.Interface=Da({},a.Interface,e),n.extend=a.extend,U(n),n},U(z);var wr=z.extend({data:null}),_r=z.extend({data:null}),kr=[9,13,27,32],xr=za.canUseDOM&&"CompositionEvent"in window,Er=null;za.canUseDOM&&"documentMode"in document&&(Er=document.documentMode);var Cr=za.canUseDOM&&"TextEvent"in window&&!Er,Sr=za.canUseDOM&&(!xr||Er&&8<Er&&11>=Er),Tr=String.fromCharCode(32),Pr={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Or=!1,Nr=!1,Rr={eventTypes:Pr,extractEvents:function(e,t,n,a){var r=void 0,o=void 0;if(xr)e:{switch(e){case"compositionstart":r=Pr.compositionStart;break e;case"compositionend":r=Pr.compositionEnd;break e;case"compositionupdate":r=Pr.compositionUpdate;break e}r=void 0}else Nr?B(e,n)&&(r=Pr.compositionEnd):"keydown"===e&&229===n.keyCode&&(r=Pr.compositionStart);return r?(Sr&&(Nr||r!==Pr.compositionStart?r===Pr.compositionEnd&&Nr&&(o=M()):(br._root=a,br._startText=A(),Nr=!0)),r=wr.getPooled(r,t,n,a),o?r.data=o:null!==(o=L(n))&&(r.data=o),O(r),o=r):o=null,(e=Cr?W(e,n):H(e,n))?(t=_r.getPooled(Pr.beforeInput,t,n,a),t.data=e,O(t)):t=null,null===o?t:null===t?o:[o,t]}},Ir=null,jr={injectFiberControlledHostComponent:function(e){Ir=e}},Mr=null,Ar=null,zr={injection:jr,enqueueStateRestore:q,needsStateRestore:$,restoreStateIfNeeded:K},Dr=!1,Fr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Ur=Aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Br="function"===typeof Symbol&&Symbol.for,Lr=Br?Symbol.for("react.element"):60103,Wr=Br?Symbol.for("react.portal"):60106,Hr=Br?Symbol.for("react.fragment"):60107,Vr=Br?Symbol.for("react.strict_mode"):60108,qr=Br?Symbol.for("react.profiler"):60114,$r=Br?Symbol.for("react.provider"):60109,Kr=Br?Symbol.for("react.context"):60110,Gr=Br?Symbol.for("react.async_mode"):60111,Qr=Br?Symbol.for("react.forward_ref"):60112,Yr=Br?Symbol.for("react.timeout"):60113,Xr="function"===typeof Symbol&&Symbol.iterator,Jr=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Zr=Object.prototype.hasOwnProperty,eo={},to={},no={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){no[e]=new fe(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];no[t]=new fe(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){no[e]=new fe(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){no[e]=new fe(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){no[e]=new fe(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){no[e]=new fe(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){no[e]=new fe(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){no[e]=new fe(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){no[e]=new fe(e,5,!1,e.toLowerCase(),null)});var ao=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ao,pe);no[t]=new fe(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ao,pe);no[t]=new fe(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ao,pe);no[t]=new fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),no.tabIndex=new fe("tabIndex",1,!1,"tabindex",null);var ro={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},oo=null,io=null,lo=!1;za.canUseDOM&&(lo=ee("input")&&(!document.documentMode||9<document.documentMode));var uo={eventTypes:ro,_isInputEventSupported:lo,extractEvents:function(e,t,n,a){var r=t?w(t):window,o=void 0,i=void 0,l=r.nodeName&&r.nodeName.toLowerCase();if("select"===l||"input"===l&&"file"===r.type?o=Ee:J(r)?lo?o=Ne:(o=Pe,i=Te):(l=r.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===r.type||"radio"===r.type)&&(o=Oe),o&&(o=o(e,t)))return _e(o,n,a);i&&i(e,r,t),"blur"===e&&(e=r._wrapperState)&&e.controlled&&"number"===r.type&&ye(r,"number",r.value)}},so=z.extend({view:null,detail:null}),co={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},fo=so.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ie,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}}),po=fo.extend({pointerId:null,width:null,height:null,pressure:null,tiltX:null,tiltY:null,pointerType:null,isPrimary:null}),mo={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},ho={eventTypes:mo,extractEvents:function(e,t,n,a){var r="mouseover"===e||"pointerover"===e,o="mouseout"===e||"pointerout"===e;if(r&&(n.relatedTarget||n.fromElement)||!o&&!r)return null;if(r=a.window===a?a:(r=a.ownerDocument)?r.defaultView||r.parentWindow:window,o?(o=t,t=(t=n.relatedTarget||n.toElement)?y(t):null):o=null,o===t)return null;var i=void 0,l=void 0,u=void 0,s=void 0;return"mouseout"===e||"mouseover"===e?(i=fo,l=mo.mouseLeave,u=mo.mouseEnter,s="mouse"):"pointerout"!==e&&"pointerover"!==e||(i=po,l=mo.pointerLeave,u=mo.pointerEnter,s="pointer"),e=null==o?r:w(o),r=null==t?r:w(t),l=i.getPooled(l,o,n,a),l.type=s+"leave",l.target=e,l.relatedTarget=r,n=i.getPooled(u,t,n,a),n.type=s+"enter",n.target=r,n.relatedTarget=e,N(l,n,o,t),[l,n]}},go=z.extend({animationName:null,elapsedTime:null,pseudoElement:null}),bo=z.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vo=so.extend({relatedTarget:null}),yo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wo={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_o=so.extend({key:function(e){if(e.key){var t=yo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?(e=Fe(e),13===e?"Enter":String.fromCharCode(e)):"keydown"===e.type||"keyup"===e.type?wo[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ie,charCode:function(e){return"keypress"===e.type?Fe(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Fe(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ko=fo.extend({dataTransfer:null}),xo=so.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ie}),Eo=z.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),Co=fo.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),So=[["abort","abort"],[fr,"animationEnd"],[pr,"animationIteration"],[dr,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[mr,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],To={},Po={};[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){Ue(e,!0)}),So.forEach(function(e){Ue(e,!1)});var Oo={eventTypes:To,isInteractiveTopLevelEventType:function(e){return void 0!==(e=Po[e])&&!0===e.isInteractive},extractEvents:function(e,t,n,a){var r=Po[e];if(!r)return null;switch(e){case"keypress":if(0===Fe(n))return null;case"keydown":case"keyup":e=_o;break;case"blur":case"focus":e=vo;break;case"click":if(2===n.button)return null;case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=fo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=ko;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=xo;break;case fr:case pr:case dr:e=go;break;case mr:e=Eo;break;case"scroll":e=so;break;case"wheel":e=Co;break;case"copy":case"cut":case"paste":e=bo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=po;break;default:e=z}return t=e.getPooled(r,t,n,a),O(t),t}},No=Oo.isInteractiveTopLevelEventType,Ro=[],Io=!0,jo={get _enabled(){return Io},setEnabled:Le,isEnabled:function(){return Io},trapBubbledEvent:We,trapCapturedEvent:He,dispatchEvent:qe},Mo={},Ao=0,zo="_reactListenersID"+(""+Math.random()).slice(2),Do=za.canUseDOM&&"documentMode"in document&&11>=document.documentMode,Fo={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Uo=null,Bo=null,Lo=null,Wo=!1,Ho={eventTypes:Fo,extractEvents:function(e,t,n,a){var r,o=a.window===a?a.document:9===a.nodeType?a:a.ownerDocument;if(!(r=!o)){e:{o=$e(o),r=Qa.onSelect;for(var i=0;i<r.length;i++){var l=r[i];if(!o.hasOwnProperty(l)||!o[l]){o=!1;break e}}o=!0}r=!o}if(r)return null;switch(o=t?w(t):window,e){case"focus":(J(o)||"true"===o.contentEditable)&&(Uo=o,Bo=t,Lo=null);break;case"blur":Lo=Bo=Uo=null;break;case"mousedown":Wo=!0;break;case"contextmenu":case"mouseup":return Wo=!1,Ye(n,a);case"selectionchange":if(Do)break;case"keydown":case"keyup":return Ye(n,a)}return null}};tr.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),Xa=ir.getFiberCurrentPropsFromNode,Ja=ir.getInstanceFromNode,Za=ir.getNodeFromInstance,tr.injectEventPluginsByName({SimpleEventPlugin:Oo,EnterLeaveEventPlugin:ho,ChangeEventPlugin:uo,SelectEventPlugin:Ho,BeforeInputEventPlugin:Rr});var Vo="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,qo=Date,$o=setTimeout,Ko=clearTimeout,Go=void 0;if("object"===typeof performance&&"function"===typeof performance.now){var Qo=performance;Go=function(){return Qo.now()}}else Go=function(){return qo.now()};var Yo=void 0,Xo=void 0;if(za.canUseDOM){var Jo="function"===typeof Vo?Vo:function(){a("276")},Zo=null,ei=null,ti=-1,ni=!1,ai=!1,ri=0,oi=33,ii=33,li={didTimeout:!1,timeRemaining:function(){var e=ri-Go();return 0<e?e:0}},ui=function(e,t){var n=e.scheduledCallback,a=!1;try{n(t),a=!0}finally{Xo(e),a||(ni=!0,window.postMessage(si,"*"))}},si="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(e){if(e.source===window&&e.data===si&&(ni=!1,null!==Zo)){if(null!==Zo){var t=Go();if(!(-1===ti||ti>t)){e=-1;for(var n=[],a=Zo;null!==a;){var r=a.timeoutTime;-1!==r&&r<=t?n.push(a):-1!==r&&(-1===e||r<e)&&(e=r),a=a.next}if(0<n.length)for(li.didTimeout=!0,t=0,a=n.length;t<a;t++)ui(n[t],li);ti=e}}for(e=Go();0<ri-e&&null!==Zo;)e=Zo,li.didTimeout=!1,ui(e,li),e=Go();null===Zo||ai||(ai=!0,Jo(ci))}},!1);var ci=function(e){ai=!1;var t=e-ri+ii;t<ii&&oi<ii?(8>t&&(t=8),ii=t<oi?oi:t):oi=t,ri=e+ii,ni||(ni=!0,window.postMessage(si,"*"))};Yo=function(e,t){var n=-1;return null!=t&&"number"===typeof t.timeout&&(n=Go()+t.timeout),(-1===ti||-1!==n&&n<ti)&&(ti=n),e={scheduledCallback:e,timeoutTime:n,prev:null,next:null},null===Zo?Zo=e:null!==(t=e.prev=ei)&&(t.next=e),ei=e,ai||(ai=!0,Jo(ci)),e},Xo=function(e){if(null!==e.prev||Zo===e){var t=e.next,n=e.prev;e.next=null,e.prev=null,null!==t?null!==n?(n.next=t,t.prev=n):(t.prev=null,Zo=t):null!==n?(n.next=null,ei=n):ei=Zo=null}}}else{var fi=new Map;Yo=function(e){var t={scheduledCallback:e,timeoutTime:0,next:null,prev:null},n=$o(function(){e({timeRemaining:function(){return 1/0},didTimeout:!1})});return fi.set(e,n),t},Xo=function(e){var t=fi.get(e.scheduledCallback);fi.delete(e),Ko(t)}}var pi={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},di=void 0,mi=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n)})}:e}(function(e,t){if(e.namespaceURI!==pi.svg||"innerHTML"in e)e.innerHTML=t;else{for(di=di||document.createElement("div"),di.innerHTML="<svg>"+t+"</svg>",t=di.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),hi={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},gi=["Webkit","ms","Moz","O"];Object.keys(hi).forEach(function(e){gi.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),hi[t]=hi[e]})});var bi=Da({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),vi=Fa.thatReturns(""),yi={createElement:pt,createTextNode:dt,setInitialProperties:mt,diffProperties:ht,updateProperties:gt,diffHydratedProperties:bt,diffHydratedText:vt,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(be(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=_(r);o||a("90"),re(r),be(r,o)}}}break;case"textarea":at(e,n);break;case"select":null!=(t=n.value)&&Ze(e,!!n.multiple,t,!1)}}},wi=null,_i=null,ki=Go,xi=Yo,Ei=Xo;new Set;var Ci=[],Si=-1,Ti=xt(Wa),Pi=xt(!1),Oi=Wa,Ni=null,Ri=null,Ii=!1,ji=xt(null),Mi=xt(null),Ai=xt(0),zi={},Di=xt(zi),Fi=xt(zi),Ui=xt(zi),Bi={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===je(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var a=ea();a=Jn(a,e);var r=Gt(a);r.payload=t,void 0!==n&&null!==n&&(r.callback=n),Yt(e,r,a),Zn(e,a)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var a=ea();a=Jn(a,e);var r=Gt(a);r.tag=1,r.payload=t,void 0!==n&&null!==n&&(r.callback=n),Yt(e,r,a),Zn(e,a)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=ea();n=Jn(n,e);var a=Gt(n);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),Yt(e,a,n),Zn(e,n)}},Li=Array.isArray,Wi=bn(!0),Hi=bn(!1),Vi=null,qi=null,$i=!1,Ki=void 0,Gi=void 0,Qi=void 0;Ki=function(){},Gi=function(e,t,n){(t.updateQueue=n)&&jn(t)},Qi=function(e,t,n,a){n!==a&&jn(t)};var Yi=ki(),Xi=2,Ji=Yi,Zi=0,el=0,tl=!1,nl=null,al=null,rl=0,ol=-1,il=!1,ll=null,ul=!1,sl=!1,cl=null,fl=null,pl=null,dl=0,ml=void 0,hl=!1,gl=null,bl=0,vl=0,yl=!1,wl=!1,_l=null,kl=null,xl=!1,El=!1,Cl=!1,Sl=null,Tl=1e3,Pl=0,Ol=1,Nl={updateContainerAtExpirationTime:_a,createContainer:function(e,t,n){return Lt(e,t,n)},updateContainer:xa,flushRoot:sa,requestWork:ra,computeUniqueAsyncExpiration:Xn,batchedUpdates:ga,unbatchedUpdates:ba,deferredUpdates:ta,syncUpdates:na,interactiveUpdates:ya,flushInteractiveUpdates:function(){hl||0===vl||(ua(vl,!1,null),vl=0)},flushControlled:wa,flushSync:va,getPublicRootInstance:Ea,findHostInstance:ka,findHostInstanceWithNoPortals:function(e){return e=De(e),null===e?null:e.stateNode},injectIntoDevTools:Ca};jr.injectFiberControlledHostComponent(yi),Ta.prototype.render=function(e){this._defer||a("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,r=new Pa;return _a(e,t,null,n,r._onCommit),r},Ta.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Ta.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||a("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var r=null,o=t;o!==this;)r=o,o=o._next;null===r&&a("251"),r._next=o._next,this._next=t,e.firstBatch=this}this._defer=!1,sa(e,n),t=this._next,this._next=null,t=e.firstBatch=t,null!==t&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Ta.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},Pa.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Pa.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!==typeof n&&a("191",n),n()}}},Oa.prototype.render=function(e,t){var n=this._internalRoot,a=new Pa;return t=void 0===t?null:t,null!==t&&a.then(t),xa(e,n,null,a._onCommit),a},Oa.prototype.unmount=function(e){var t=this._internalRoot,n=new Pa;return e=void 0===e?null:e,null!==e&&n.then(e),xa(null,t,null,n._onCommit),n},Oa.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var a=this._internalRoot,r=new Pa;return n=void 0===n?null:n,null!==n&&r.then(n),xa(t,a,e,r._onCommit),r},Oa.prototype.createBatch=function(){var e=new Ta(this),t=e._expirationTime,n=this._internalRoot,a=n.firstBatch;if(null===a)n.firstBatch=e,e._next=null;else{for(n=null;null!==a&&a._expirationTime<=t;)n=a,a=a._next;e._next=a,null!==n&&(n._next=e)}return e},G=Nl.batchedUpdates,Q=Nl.interactiveUpdates,Y=Nl.flushInteractiveUpdates;var Rl={createPortal:ja,findDOMNode:function(e){return null==e?null:1===e.nodeType?e:ka(e)},hydrate:function(e,t,n){return Ia(null,e,t,!0,n)},render:function(e,t,n){return Ia(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,r){return(null==e||void 0===e._reactInternalFiber)&&a("38"),Ia(e,t,n,!1,r)},unmountComponentAtNode:function(e){return Na(e)||a("40"),!!e._reactRootContainer&&(ba(function(){Ia(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return ja.apply(void 0,arguments)},unstable_batchedUpdates:ga,unstable_deferredUpdates:ta,unstable_interactiveUpdates:ya,flushSync:va,unstable_flushControlled:wa,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:nr,EventPluginRegistry:Ya,EventPropagators:lr,ReactControlledComponent:zr,ReactDOMComponentTree:ir,ReactDOMEventListener:jo},unstable_createRoot:function(e,t){return new Oa(e,!0,null!=t&&!0===t.hydrate)}};Ca({findFiberByHostInstance:y,bundleType:0,version:"16.4.2",rendererPackageName:"react-dom"});var Il={default:Rl},jl=Il&&Rl||Il;e.exports=jl.default?jl.default:jl},function(e,t,n){"use strict";function a(e){return r(e)&&3==e.nodeType}var r=n(207);e.exports=a},function(e,t,n){"use strict";function a(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"===typeof n.Node?e instanceof n.Node:"object"===typeof e&&"number"===typeof e.nodeType&&"string"===typeof e.nodeName))}e.exports=a},function(e,t,n){"use strict";(function(t){"production"!==t.env.NODE_ENV&&function(){function t(){if(Au)for(var e in zu){var t=zu[e],n=Au.indexOf(e);if(n>-1||bu(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e),!Du[n]){t.extractEvents||bu(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e),Du[n]=t;var r=t.eventTypes;for(var o in r)a(r[o],t,o)||bu(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",o,e)}}}function a(e,t,n){Fu.hasOwnProperty(n)&&bu(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",n),Fu[n]=e;var a=e.phasedRegistrationNames;if(a){for(var o in a)if(a.hasOwnProperty(o)){var i=a[o];r(i,t,n)}return!0}return!!e.registrationName&&(r(e.registrationName,t,n),!0)}function r(e,t,n){Uu[e]&&bu(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e),Uu[e]=t,Bu[e]=t.eventTypes[n].dependencies;var a=e.toLowerCase();Lu[a]=e,"onDoubleClick"===e&&(Lu.ondblclick=e)}function o(e){Au&&bu(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."),Au=Array.prototype.slice.call(e),t()}function i(e){var n=!1;for(var a in e)if(e.hasOwnProperty(a)){var r=e[a];zu.hasOwnProperty(a)&&zu[a]===r||(zu[a]&&bu(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",a),zu[a]=r,n=!0)}n&&t()}function l(e,t,n,a){var r=e.type||"unknown-event";e.currentTarget=qu(a),ju.invokeGuardedCallbackAndCatchFirstError(r,n,void 0,e),e.currentTarget=null}function u(e,t){var n=e._dispatchListeners,a=e._dispatchInstances;if(Ku(e),Array.isArray(n))for(var r=0;r<n.length&&!e.isPropagationStopped();r++)l(e,t,n[r],a[r]);else n&&l(e,t,n,a);e._dispatchListeners=null,e._dispatchInstances=null}function s(e,t){return null==t&&bu(!1,"accumulateInto(...): Accumulated items must not be null or undefined."),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function c(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function f(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function p(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!f(t));default:return!1}}function d(e,t){var n=void 0,a=e.stateNode;if(!a)return null;var r=Hu(a);return r?(n=r[t],p(t,e.type,r)?null:(n&&"function"!==typeof n&&bu(!1,"Expected `%s` listener to be a function, instead got a value of `%s` type.",t,typeof n),n)):null}function m(e,t,n,a){for(var r=null,o=0;o<Du.length;o++){var i=Du[o];if(i){var l=i.extractEvents(e,t,n,a);l&&(r=s(r,l))}}return r}function h(e,t){null!==e&&(Gu=s(Gu,e));var n=Gu;Gu=null,n&&(t?c(n,Yu):c(n,Xu),Gu&&bu(!1,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."),ju.rethrowCaughtError())}function g(e,t,n,a){h(m(e,t,n,a),!1)}function b(e,t){t[hs]=e}function v(e){if(e[hs])return e[hs];for(;!e[hs];){if(!e.parentNode)return null;e=e.parentNode}var t=e[hs];return t.tag===os||t.tag===is?t:null}function y(e){var t=e[hs];return t&&(t.tag===os||t.tag===is)?t:null}function w(e){if(e.tag===os||e.tag===is)return e.stateNode;bu(!1,"getNodeFromInstance: Invalid argument.")}function _(e){return e[gs]||null}function k(e,t){e[gs]=t}function x(e){do{e=e.return}while(e&&e.tag!==os);return e||null}function E(e,t){for(var n=0,a=e;a;a=x(a))n++;for(var r=0,o=t;o;o=x(o))r++;for(;n-r>0;)e=x(e),n--;for(;r-n>0;)t=x(t),r--;for(var i=n;i--;){if(e===t||e===t.alternate)return e;e=x(e),t=x(t)}return null}function C(e){return x(e)}function S(e,t,n){for(var a=[];e;)a.push(e),e=x(e);var r=void 0;for(r=a.length;r-- >0;)t(a[r],"captured",n);for(r=0;r<a.length;r++)t(a[r],"bubbled",n)}function T(e,t,n,a,r){for(var o=e&&t?E(e,t):null,i=[];;){if(!e)break;if(e===o)break;var l=e.alternate;if(null!==l&&l===o)break;i.push(e),e=x(e)}for(var u=[];;){if(!t)break;if(t===o)break;var s=t.alternate;if(null!==s&&s===o)break;u.push(t),t=x(t)}for(var c=0;c<i.length;c++)n(i[c],"bubbled",a);for(var f=u.length;f-- >0;)n(u[f],"captured",r)}function P(e,t,n){return d(e,t.dispatchConfig.phasedRegistrationNames[n])}function O(e,t,n){e||yu(!1,"Dispatching inst must not be null");var a=P(e,n,t);a&&(n._dispatchListeners=s(n._dispatchListeners,a),n._dispatchInstances=s(n._dispatchInstances,e))}function N(e){e&&e.dispatchConfig.phasedRegistrationNames&&S(e._targetInst,O,e)}function R(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;S(t?C(t):null,O,e)}}function I(e,t,n){if(e&&n&&n.dispatchConfig.registrationName){var a=n.dispatchConfig.registrationName,r=d(e,a);r&&(n._dispatchListeners=s(n._dispatchListeners,r),n._dispatchInstances=s(n._dispatchInstances,e))}}function j(e){e&&e.dispatchConfig.registrationName&&I(e._targetInst,null,e)}function M(e){c(e,N)}function A(e){c(e,R)}function z(e,t,n,a){T(n,a,I,e,t)}function D(e){c(e,j)}function F(e){return e}function U(e){return e}function B(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function L(e){if(ws[e])return ws[e];if(!ys[e])return e;var t=ys[e];for(var n in t)if(t.hasOwnProperty(n)&&n in _s)return ws[e]=t[n];return e}function W(e){return U(e)}function H(){return!Gc&&wu.canUseDOM&&(Gc="textContent"in document.documentElement?"textContent":"innerText"),Gc}function V(e){return Qc._root=e,Qc._startText=K(),!0}function q(){Qc._root=null,Qc._startText=null,Qc._fallbackText=null}function $(){if(Qc._fallbackText)return Qc._fallbackText;var e=void 0,t=Qc._startText,n=t.length,a=void 0,r=K(),o=r.length;for(e=0;e<n&&t[e]===r[e];e++);var i=n-e;for(a=1;a<=i&&t[n-a]===r[o-a];a++);var l=a>1?1-a:void 0;return Qc._fallbackText=r.slice(e,l),Qc._fallbackText}function K(){return"value"in Qc._root?Qc._root.value:Qc._root[H()]}function G(e,t,n,a){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var r=this.constructor.Interface;for(var o in r)if(r.hasOwnProperty(o)){delete this[o];var i=r[o];i?this[o]=i(n):"target"===o?this.target=a:this[o]=n[o]}var l=null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue;return this.isDefaultPrevented=l?ku.thatReturnsTrue:ku.thatReturnsFalse,this.isPropagationStopped=ku.thatReturnsFalse,this}function Q(e,t){function n(e){return r(o?"setting the method":"setting the property","This is effectively a no-op"),e}function a(){return r(o?"accessing the method":"accessing the property",o?"This is a no-op function":"This is set to null"),t}function r(t,n){yu(!1,"This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",t,e,n)}var o="function"===typeof t;return{configurable:!0,set:n,get:a}}function Y(e,t,n,a){var r=this;if(r.eventPool.length){var o=r.eventPool.pop();return r.call(o,e,t,n,a),o}return new r(e,t,n,a)}function X(e){var t=this;e instanceof t||bu(!1,"Trying to release an event instance into a pool of a different type."),e.destructor(),t.eventPool.length<Xc&&t.eventPool.push(e)}function J(e){e.eventPool=[],e.getPooled=Y,e.release=X}function Z(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function ee(e){switch(e){case Ms:return pf.compositionStart;case js:return pf.compositionEnd;case As:return pf.compositionUpdate}}function te(e,t){return e===ac&&t.keyCode===rf}function ne(e,t){switch(e){case oc:return-1!==af.indexOf(t.keyCode);case ac:return t.keyCode!==rf;case rc:case fc:case Ss:return!0;default:return!1}}function ae(e){var t=e.detail;return"object"===typeof t&&"data"in t?t.data:null}function re(e,t,n,a){var r=void 0,o=void 0;if(of?r=ee(e):mf?ne(e,n)&&(r=pf.compositionEnd):te(e,n)&&(r=pf.compositionStart),!r)return null;sf&&(mf||r!==pf.compositionStart?r===pf.compositionEnd&&mf&&(o=$()):mf=V(a));var i=tf.getPooled(r,t,n,a);if(o)i.data=o;else{var l=ae(n);null!==l&&(i.data=l)}return M(i),i}function oe(e,t){switch(e){case js:return ae(t);case rc:return t.which!==cf?null:(df=!0,ff);case zc:var n=t.data;return n===ff&&df?null:n;default:return null}}function ie(e,t){if(mf){if(e===js||!of&&ne(e,t)){var n=$();return q(),mf=!1,n}return null}switch(e){case gc:return null;case rc:if(!Z(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case js:return sf?null:t.data;default:return null}}function le(e,t,n,a){var r=void 0;if(!(r=uf?oe(e,n):ie(e,n)))return null;var o=nf.getPooled(pf.beforeInput,t,n,a);return o.data=r,M(o),o}function ue(e){var t=Vu(e);if(t){gf&&"function"===typeof gf.restoreControlledState||bu(!1,"Fiber needs to be injected to handle a fiber target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=Hu(t.stateNode);gf.restoreControlledState(t.stateNode,t.type,n)}}function se(e){vf?yf?yf.push(e):yf=[e]:vf=e}function ce(){return null!==vf||null!==yf}function fe(){if(vf){var e=vf,t=yf;if(vf=null,yf=null,ue(e),t)for(var n=0;n<t.length;n++)ue(t[n])}}function pe(e,t){if(Cf)return e(t);Cf=!0;try{return kf(e,t)}finally{Cf=!1;ce()&&(Ef(),fe())}}function de(e,t,n){return xf(e,t,n)}function me(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Tf[e.type]:"textarea"===t}function he(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===Of?t.parentNode:t}function ge(e,t){if(!wu.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,a=n in document;if(!a){var r=document.createElement("div");r.setAttribute(n,"return;"),a="function"===typeof r[n]}return a}function be(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function ve(e){return e._valueTracker}function ye(e){e._valueTracker=null}function we(e){var t="";return e?t=be(e)?e.checked?"true":"false":e.value:t}function _e(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var r=n.get,o=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){a=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});return{getValue:function(){return a},setValue:function(e){a=""+e},stopTracking:function(){ye(e),delete e[t]}}}}function ke(e){ve(e)||(e._valueTracker=_e(e))}function xe(e){if(!e)return!1;var t=ve(e);if(!t)return!0;var n=t.getValue(),a=we(e);return a!==n&&(t.setValue(a),!0)}function Ee(e){if(null===e||"undefined"===typeof e)return null;var t=Gf&&e[Gf]||e[Qf];return"function"===typeof t?t:null}function Ce(e){var t=e.type;if("function"===typeof t)return t.displayName||t.name;if("string"===typeof t)return t;switch(t){case qf:return"AsyncMode";case Vf:return"Context.Consumer";case Bf:return"ReactFragment";case Uf:return"ReactPortal";case Wf:return"Profiler("+e.pendingProps.id+")";case Hf:return"Context.Provider";case Lf:return"StrictMode";case Kf:return"Timeout"}if("object"===typeof t&&null!==t)switch(t.$$typeof){case $f:var n=t.render.displayName||t.render.name||"";return""!==n?"ForwardRef("+n+")":"ForwardRef"}return null}function Se(e){switch(e.tag){case es:case ts:case ns:case os:var t=e._debugOwner,n=e._debugSource,a=Ce(e),r=null;return t&&(r=Ce(t)),zf(a,n,r);default:return""}}function Te(e){var t="",n=e;do{t+=Se(n),n=n.return}while(n);return t}function Pe(){var e=Yf.current;if(null===e)return null;var t=e._debugOwner;return null!==t&&"undefined"!==typeof t?Ce(t):null}function Oe(){var e=Yf.current;return null===e?null:Te(e)}function Ne(){Af.getCurrentStack=null,Yf.current=null,Yf.phase=null}function Re(e){Af.getCurrentStack=Oe,Yf.current=e,Yf.phase=null}function Ie(e){Yf.phase=e}function je(e){return!!lp.call(sp,e)||!lp.call(up,e)&&(ip.test(e)?(sp[e]=!0,!0):(up[e]=!0,yu(!1,"Invalid attribute name: `%s`",e),!1))}function Me(e,t,n){return null!==t?t.type===Xf:!n&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function Ae(e,t,n,a){if(null!==n&&n.type===Xf)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(a)return!1;if(null!==n)return!n.acceptsBooleans;var r=e.toLowerCase().slice(0,5);return"data-"!==r&&"aria-"!==r;default:return!1}}function ze(e,t,n,a){if(null===t||"undefined"===typeof t)return!0;if(Ae(e,t,n,a))return!0;if(a)return!1;if(null!==n)switch(n.type){case Zf:return!t;case ep:return!1===t;case tp:return isNaN(t);case np:return isNaN(t)||t<1}return!1}function De(e){return cp.hasOwnProperty(e)?cp[e]:null}function Fe(e,t,n,a,r){this.acceptsBooleans=t===Jf||t===Zf||t===ep,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t}function Ue(e,t,n,a){if(a.mustUseProperty){return e[a.propertyName]}var r=a.attributeName,o=null;if(a.type===ep){if(e.hasAttribute(r)){var i=e.getAttribute(r);return""===i||(ze(t,n,a,!1)?i:i===""+n?n:i)}}else if(e.hasAttribute(r)){if(ze(t,n,a,!1))return e.getAttribute(r);if(a.type===Zf)return n;o=e.getAttribute(r)}return ze(t,n,a,!1)?null===o?n:o:o===""+n?n:o}function Be(e,t,n){if(je(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var a=e.getAttribute(t);return a===""+n?n:a}}function Le(e,t,n,a){var r=De(t);if(!Me(t,r,a))if(ze(t,n,r,a)&&(n=null),a||null===r){if(je(t)){var o=t;null===n?e.removeAttribute(o):e.setAttribute(o,""+n)}}else{var i=r.mustUseProperty;if(i){var l=r.propertyName;if(null===n){var u=r.type;e[l]=u!==Zf&&""}else e[l]=n}else{var s=r.attributeName,c=r.attributeNamespace;if(null===n)e.removeAttribute(s);else{var f=r.type,p=void 0;p=f===Zf||f===ep&&!0===n?"":""+n,c?e.setAttributeNS(c,s,p):e.setAttribute(s,p)}}}}function We(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function He(e,t){var n=e,a=t.checked;return _u({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=a?a:n._wrapperState.initialChecked})}function Ve(e,t){dp.checkPropTypes("input",t,bp),void 0===t.checked||void 0===t.defaultChecked||yp||(yu(!1,"%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",gp()||"A component",t.type),yp=!0),void 0===t.value||void 0===t.defaultValue||vp||(yu(!1,"%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",gp()||"A component",t.type),vp=!0);var n=e,a=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:Xe(null!=t.value?t.value:a),controlled:We(t)}}function qe(e,t){var n=e,a=t.checked;null!=a&&Le(n,"checked",a,!1)}function $e(e,t){var n=e,a=We(t);n._wrapperState.controlled||!a||_p||(yu(!1,"A component is changing an uncontrolled input of type %s to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components%s",t.type,bp()),_p=!0),!n._wrapperState.controlled||a||wp||(yu(!1,"A component is changing a controlled input of type %s to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components%s",t.type,bp()),wp=!0),qe(e,t);var r=Xe(t.value);null!=r&&("number"===t.type?(0===r&&""===n.value||n.value!=r)&&(n.value=""+r):n.value!==""+r&&(n.value=""+r)),t.hasOwnProperty("value")?Ye(n,t.type,r):t.hasOwnProperty("defaultValue")&&Ye(n,t.type,Xe(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function Ke(e,t,n){var a=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=""+a._wrapperState.initialValue,o=a.value;n||r!==o&&(a.value=r),a.defaultValue=r}var i=a.name;""!==i&&(a.name=""),a.defaultChecked=!a.defaultChecked,a.defaultChecked=!a.defaultChecked,""!==i&&(a.name=i)}function Ge(e,t){var n=e;$e(n,t),Qe(n,t)}function Qe(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var a=e;a.parentNode;)a=a.parentNode;for(var r=a.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),o=0;o<r.length;o++){var i=r[o];if(i!==e&&i.form===e.form){var l=_(i);l||bu(!1,"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."),xe(i),$e(i,l)}}}}function Ye(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Xe(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Je(e,t,n){var a=ef.getPooled(kp.change,e,t,n);return a.type="change",se(n),M(a),a}function Ze(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function et(e){pe(tt,Je(Ep,e,he(e)))}function tt(e){h(e,!1)}function nt(e){if(xe(w(e)))return e}function at(e,t){if(e===Ns)return t}function rt(e,t){xp=e,Ep=t,xp.attachEvent("onpropertychange",it)}function ot(){xp&&(xp.detachEvent("onpropertychange",it),xp=null,Ep=null)}function it(e){"value"===e.propertyName&&nt(Ep)&&et(e)}function lt(e,t,n){e===Zs?(ot(),rt(t,n)):e===Ss&&ot()}function ut(e,t){if(e===Ic||e===oc||e===ac)return nt(Ep)}function st(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function ct(e,t){if(e===Rs)return nt(t)}function ft(e,t){if(e===tc||e===Ns)return nt(t)}function pt(e){var t=e._wrapperState;t&&t.controlled&&"number"===e.type&&Ye(e,"number",e.value)}function dt(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var a=Op[e];return!!a&&!!n[a]}function mt(e){return dt}function ht(e){return e._reactInternalFiber}function gt(e){return void 0!==e._reactInternalFiber}function bt(e,t){e._reactInternalFiber=t}function vt(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if((t.effectTag&zp)!==Mp)return Gp;for(;t.return;)if(t=t.return,(t.effectTag&zp)!==Mp)return Gp}return t.tag===as?Qp:Yp}function yt(e){return vt(e)===Qp}function wt(e){var t=Mf.current;if(null!==t&&t.tag===ns){var n=t,a=n.stateNode;a._warnedAboutRefsInRender||yu(!1,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ce(n)||"A component"),a._warnedAboutRefsInRender=!0}var r=ht(e);return!!r&&vt(r)===Qp}function _t(e){vt(e)!==Qp&&bu(!1,"Unable to find node on an unmounted component.")}function kt(e){var t=e.alternate;if(!t){var n=vt(e);return n===Yp&&bu(!1,"Unable to find node on an unmounted component."),n===Gp?null:e}for(var a=e,r=t;;){var o=a.return,i=o?o.alternate:null;if(!o||!i)break;if(o.child===i.child){for(var l=o.child;l;){if(l===a)return _t(o),e;if(l===r)return _t(o),t;l=l.sibling}bu(!1,"Unable to find node on an unmounted component.")}if(a.return!==r.return)a=o,r=i;else{for(var u=!1,s=o.child;s;){if(s===a){u=!0,a=o,r=i;break}if(s===r){u=!0,r=o,a=i;break}s=s.sibling}if(!u){for(s=i.child;s;){if(s===a){u=!0,a=i,r=o;break}if(s===r){u=!0,r=i,a=o;break}s=s.sibling}u||bu(!1,"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}a.alternate!==r&&bu(!1,"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}return a.tag!==as&&bu(!1,"Unable to find node on an unmounted component."),a.stateNode.current===a?e:t}function xt(e){var t=kt(e);if(!t)return null;for(var n=t;;){if(n.tag===os||n.tag===is)return n;if(n.child)n.child.return=n,n=n.child;else{if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}function Et(e){var t=kt(e);if(!t)return null;for(var n=t;;){if(n.tag===os||n.tag===is)return n;if(n.child&&n.tag!==rs)n.child.return=n,n=n.child;else{if(n===t)return null;for(;!n.sibling;){if(!n.return||n.return===t)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}function Ct(e,t,n){e.addEventListener(t,n,!1)}function St(e,t,n){e.addEventListener(t,n,!0)}function Tt(e){var t=void 0,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}function Pt(e){if(e.key){var t=ed[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=Tt(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?td[e.keyCode]||"Unidentified":""}function Ot(e,t){var n=e[0],a=e[1],r=a[0].toUpperCase()+a.slice(1),o="on"+r,i={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[n],isInteractive:t};sd[a]=i,cd[n]=i}function Nt(e){for(;e.return;)e=e.return;return e.tag!==as?null:e.stateNode.containerInfo}function Rt(e,t,n){if(hd.length){var a=hd.pop();return a.topLevelType=e,a.nativeEvent=t,a.targetInst=n,a}return{topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]}}function It(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,hd.length<md&&hd.push(e)}function jt(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var a=Nt(n);if(!a)break;e.ancestors.push(n),n=v(a)}while(n);for(var r=0;r<e.ancestors.length;r++)t=e.ancestors[r],g(e.topLevelType,t,e.nativeEvent,he(e.nativeEvent))}function Mt(e){gd=!!e}function At(){return gd}function zt(e,t){if(!t)return null;var n=dd(e)?Ft:Ut;Ct(t,W(e),n.bind(null,e))}function Dt(e,t){if(!t)return null;var n=dd(e)?Ft:Ut;St(t,W(e),n.bind(null,e))}function Ft(e,t){de(Ut,e,t)}function Ut(e,t){if(gd){var n=he(t),a=v(n);null===a||"number"!==typeof a.tag||yt(a)||(a=null);var r=Rt(e,t,a);try{pe(jt,r)}finally{It(r)}}}function Bt(e){return Object.prototype.hasOwnProperty.call(e,wd)||(e[wd]=yd++,vd[e[wd]]={}),vd[e[wd]]}function Lt(e,t){for(var n=Bt(t),a=Bu[e],r=0;r<a.length;r++){var o=a[r];if(!n.hasOwnProperty(o)||!n[o]){switch(o){case Oc:Dt(Oc,t);break;case Zs:case Ss:Dt(Zs,t),Dt(Ss,t),n[Ss]=!0,n[Zs]=!0;break;case Os:case Is:ge(W(o),!0)&&Dt(o,t);break;case nc:case Mc:case Pc:break;default:-1!==Kc.indexOf(o)||zt(o,t)}n[o]=!0}}}function Wt(e,t){for(var n=Bt(t),a=Bu[e],r=0;r<a.length;r++){var o=a[r];if(!n.hasOwnProperty(o)||!n[o])return!1}return!0}function Ht(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Vt(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function qt(e,t){for(var n=Ht(e),a=0,r=0;n;){if(n.nodeType===Of){if(r=a+n.textContent.length,a<=t&&r>=t)return{node:n,offset:t-a};a=r}n=Ht(Vt(n))}}function $t(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,a=t.anchorOffset,r=t.focusNode,o=t.focusOffset;try{n.nodeType,r.nodeType}catch(e){return null}return Kt(e,n,a,r,o)}function Kt(e,t,n,a,r){var o=0,i=-1,l=-1,u=0,s=0,c=e,f=null;e:for(;;){for(var p=null;;){if(c!==t||0!==n&&c.nodeType!==Of||(i=o+n),c!==a||0!==r&&c.nodeType!==Of||(l=o+r),c.nodeType===Of&&(o+=c.nodeValue.length),null===(p=c.firstChild))break;f=c,c=p}for(;;){if(c===e)break e;if(f===t&&++u===n&&(i=o),f===a&&++s===r&&(l=o),null!==(p=c.nextSibling))break;c=f,f=c.parentNode}c=p}return-1===i||-1===l?null:{start:i,end:l}}function Gt(e,t){if(window.getSelection){var n=window.getSelection(),a=e[H()].length,r=Math.min(t.start,a),o=void 0===t.end?r:Math.min(t.end,a);if(!n.extend&&r>o){var i=o;o=r,r=i}var l=qt(e,r),u=qt(e,o);if(l&&u){if(1===n.rangeCount&&n.anchorNode===l.node&&n.anchorOffset===l.offset&&n.focusNode===u.node&&n.focusOffset===u.offset)return;var s=document.createRange();s.setStart(l.node,l.offset),n.removeAllRanges(),r>o?(n.addRange(s),n.extend(u.node,u.offset)):(s.setEnd(u.node,u.offset),n.addRange(s))}}}function Qt(e){return Su(document.documentElement,e)}function Yt(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Xt(){var e=Eu();return{focusedElem:e,selectionRange:Yt(e)?Zt(e):null}}function Jt(e){var t=Eu(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&Qt(n)){null!==a&&Yt(n)&&en(n,a);for(var r=[],o=n;o=o.parentNode;)o.nodeType===Pf&&r.push({element:o,left:o.scrollLeft,top:o.scrollTop});"function"===typeof n.focus&&n.focus();for(var i=0;i<r.length;i++){var l=r[i];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}}function Zt(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:$t(e))||{start:0,end:0}}function en(e,t){var n=t.start,a=t.end;void 0===a&&(a=n),"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(a,e.value.length)):Gt(e,t)}function tn(e){if("selectionStart"in e&&Yt(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}}function nn(e,t){if(Sd||null==xd||xd!==Eu())return null;var n=tn(xd);if(!Cd||!Cu(Cd,n)){Cd=n;var a=ef.getPooled(kd.select,Ed,e,t);return a.type="select",a.target=xd,M(a),a}return null}function an(e){var t="";return vu.Children.forEach(e,function(e){null!=e&&("string"!==typeof e&&"number"!==typeof e||(t+=e))}),t}function rn(e,t){null==t.selected||Zd||(yu(!1,"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),Zd=!0)}function on(e,t){null!=t.value&&e.setAttribute("value",t.value)}function ln(e,t){var n=_u({children:void 0},t),a=an(t.children);return a&&(n.children=a),n}function un(){var e=em();return e?"\n\nCheck the render method of `"+e+"`.":""}function sn(e){dp.checkPropTypes("select",e,tm);for(var t=0;t<am.length;t++){var n=am[t];if(null!=e[n]){var a=Array.isArray(e[n]);e.multiple&&!a?yu(!1,"The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,un()):!e.multiple&&a&&yu(!1,"The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,un())}}}function cn(e,t,n,a){var r=e.options;if(t){for(var o=n,i={},l=0;l<o.length;l++)i["$"+o[l]]=!0;for(var u=0;u<r.length;u++){var s=i.hasOwnProperty("$"+r[u].value);r[u].selected!==s&&(r[u].selected=s),s&&a&&(r[u].defaultSelected=!0)}}else{for(var c=""+n,f=null,p=0;p<r.length;p++){if(r[p].value===c)return r[p].selected=!0,void(a&&(r[p].defaultSelected=!0));null!==f||r[p].disabled||(f=r[p])}null!==f&&(f.selected=!0)}}function fn(e,t){return _u({},t,{value:void 0})}function pn(e,t){var n=e;sn(t);var a=t.value;n._wrapperState={initialValue:null!=a?a:t.defaultValue,wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||nm||(yu(!1,"Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://fb.me/react-controlled-components"),nm=!0)}function dn(e,t){var n=e;n.multiple=!!t.multiple;var a=t.value;null!=a?cn(n,!!t.multiple,a,!1):null!=t.defaultValue&&cn(n,!!t.multiple,t.defaultValue,!0)}function mn(e,t){var n=e;n._wrapperState.initialValue=void 0;var a=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var r=t.value;null!=r?cn(n,!!t.multiple,r,!1):a!==!!t.multiple&&(null!=t.defaultValue?cn(n,!!t.multiple,t.defaultValue,!0):cn(n,!!t.multiple,t.multiple?[]:"",!1))}function hn(e,t){var n=e,a=t.value;null!=a&&cn(n,!!t.multiple,a,!1)}function gn(e,t){var n=e;return null!=t.dangerouslySetInnerHTML&&bu(!1,"`dangerouslySetInnerHTML` does not make sense on <textarea>."),_u({},t,{value:void 0,defaultValue:void 0,children:""+n._wrapperState.initialValue})}function bn(e,t){var n=e;dp.checkPropTypes("textarea",t,rm),void 0===t.value||void 0===t.defaultValue||om||(yu(!1,"Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://fb.me/react-controlled-components"),om=!0);var a=t.value;if(null==a){var r=t.defaultValue,o=t.children;null!=o&&(yu(!1,"Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=r&&bu(!1,"If you supply `defaultValue` on a <textarea>, do not pass children."),Array.isArray(o)&&(o.length<=1||bu(!1,"<textarea> can only have at most one child."),o=o[0]),r=""+o),null==r&&(r=""),a=r}n._wrapperState={initialValue:""+a}}function vn(e,t){var n=e,a=t.value;if(null!=a){var r=""+a;r!==n.value&&(n.value=r),null==t.defaultValue&&(n.defaultValue=r)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)}function yn(e,t){var n=e,a=n.textContent;a===n._wrapperState.initialValue&&(n.value=a)}function wn(e,t){vn(e,t)}function _n(e){switch(e){case"svg":return um;case"math":return lm;default:return im}}function kn(e,t){return null==e||e===im?_n(t):e===um&&"foreignObject"===t?im:e}function xn(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}function En(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||dm.hasOwnProperty(e)&&dm[e]?(""+t).trim():t+"px"}function Cn(e){var t="",n="";for(var a in e)if(e.hasOwnProperty(a)){var r=e[a];if(null!=r){var o=0===a.indexOf("--");t+=n+Pu(a)+":",t+=En(a,r,o),n=";"}}return t||null}function Sn(e,t,n){var a=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--");o||Tm(r,t[r],n);var i=En(r,t[r],o);"float"===r&&(r="cssFloat"),o?a.setProperty(r,i):a[r]=i}}function Tn(e,t,n){t&&(Om[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&bu(!1,"%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&bu(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."),"object"===typeof t.dangerouslySetInnerHTML&&Nm in t.dangerouslySetInnerHTML||bu(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")),!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&yu(!1,"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional.%s",n()),null!=t.style&&"object"!==typeof t.style&&bu(!1,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.%s",n()))}function Pn(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function On(){var e=Af.getStackAddendum();return null!=e?e:""}function Nn(e,t){if(zm.call(jm,t)&&jm[t])return!0;if(Am.test(t)){var n="aria-"+t.slice(4).toLowerCase(),a=Im.hasOwnProperty(n)?n:null;if(null==a)return yu(!1,"Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.%s",t,On()),jm[t]=!0,!0;if(t!==a)return yu(!1,"Invalid ARIA attribute `%s`. Did you mean `%s`?%s",t,a,On()),jm[t]=!0,!0}if(Mm.test(t)){var r=t.toLowerCase(),o=Im.hasOwnProperty(r)?r:null;if(null==o)return jm[t]=!0,!1;if(t!==o)return yu(!1,"Unknown ARIA attribute `%s`. Did you mean `%s`?%s",t,o,On()),jm[t]=!0,!0}return!0}function Rn(e,t){var n=[];for(var a in t){Nn(e,a)||n.push(a)}var r=n.map(function(e){return"`"+e+"`"}).join(", ");1===n.length?yu(!1,"Invalid aria prop %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop%s",r,e,On()):n.length>1&&yu(!1,"Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop%s",r,e,On())}function In(e,t){Pn(e,t)||Rn(e,t)}function jn(){var e=Af.getStackAddendum();return null!=e?e:""}function Mn(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||Dm||(Dm=!0,"select"===e&&t.multiple?yu(!1,"`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.%s",e,jn()):yu(!1,"`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.%s",e,jn()))}function An(){var e=Af.getStackAddendum();return null!=e?e:""}function zn(e,t,n){Pn(e,t)||qm(e,t,n)}function Dn(e,t){Lt(t,e.nodeType===Rf||e.nodeType===If?e:e.ownerDocument)}function Fn(e){return e.nodeType===Rf?e:e.ownerDocument}function Un(e){e.onclick=ku}function Bn(e,t,n,a,r){for(var o in a)if(a.hasOwnProperty(o)){var i=a[o];if(o===th)i&&Object.freeze(i),Sn(t,i,rh);else if(o===Ym){var l=i?i[nh]:void 0;null!=l&&fm(t,l)}else if(o===eh)if("string"===typeof i){var u="textarea"!==e||""!==i;u&&pm(t,i)}else"number"===typeof i&&pm(t,""+i);else o===Xm||o===Jm||o===Zm||(Uu.hasOwnProperty(o)?null!=i&&("function"!==typeof i&&fh(o,i),Dn(n,o)):null!=i&&Le(t,o,i,r))}}function Ln(e,t,n,a){for(var r=0;r<t.length;r+=2){var o=t[r],i=t[r+1];o===th?Sn(e,i,rh):o===Ym?fm(e,i):o===eh?pm(e,i):Le(e,o,i,a)}}function Wn(e,t,n,a){var r=void 0,o=Fn(n),i=void 0,l=a;if(l===ah&&(l=_n(e)),l===ah)if((r=Pn(e,t))||e===e.toLowerCase()||yu(!1,"<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var u=o.createElement("div");u.innerHTML="<script><\/script>";var s=u.firstChild;i=u.removeChild(s)}else i="string"===typeof t.is?o.createElement(e,{is:t.is}):o.createElement(e);else i=o.createElementNS(l,e);return l===ah&&(r||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(i)||Object.prototype.hasOwnProperty.call(oh,e)||(oh[e]=!0,yu(!1,"The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),i}function Hn(e,t){return Fn(t).createTextNode(e)}function Vn(e,t,n,a){var r=Pn(t,n);lh(t,n),r&&!Qm&&e.shadyRoot&&(yu(!1,"%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",$m()||"A component"),Qm=!0);var o=void 0;switch(t){case"iframe":case"object":zt(ic,e),o=n;break;case"video":case"audio":for(var i=0;i<Kc.length;i++)zt(Kc[i],e);o=n;break;case"source":zt(Js,e),o=n;break;case"img":case"image":case"link":zt(Js,e),zt(ic,e),o=n;break;case"form":zt(Pc,e),zt(Mc,e),o=n;break;case"details":zt(Fc,e),o=n;break;case"input":Ve(e,n),o=He(e,n),zt(nc,e),Dn(a,"onChange");break;case"option":rn(e,n),o=ln(e,n);break;case"select":pn(e,n),o=fn(e,n),zt(nc,e),Dn(a,"onChange");break;case"textarea":bn(e,n),o=gn(e,n),zt(nc,e),Dn(a,"onChange");break;default:o=n}switch(Tn(t,o,rh),Bn(t,e,a,o,r),t){case"input":ke(e),Ke(e,n,!1);break;case"textarea":ke(e),yn(e,n);break;case"option":on(e,n);break;case"select":dn(e,n);break;default:"function"===typeof o.onClick&&Un(e)}}function qn(e,t,n,a,r){lh(t,a);var o=null,i=void 0,l=void 0;switch(t){case"input":i=He(e,n),l=He(e,a),o=[];break;case"option":i=ln(e,n),l=ln(e,a),o=[];break;case"select":i=fn(e,n),l=fn(e,a),o=[];break;case"textarea":i=gn(e,n),l=gn(e,a),o=[];break;default:i=n,l=a,"function"!==typeof i.onClick&&"function"===typeof l.onClick&&Un(e)}Tn(t,l,rh);var u=void 0,s=void 0,c=null;for(u in i)if(!l.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if(u===th){var f=i[u];for(s in f)f.hasOwnProperty(s)&&(c||(c={}),c[s]="")}else u===Ym||u===eh||u===Xm||u===Jm||u===Zm||(Uu.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in l){var p=l[u],d=null!=i?i[u]:void 0;if(l.hasOwnProperty(u)&&p!==d&&(null!=p||null!=d))if(u===th)if(p&&Object.freeze(p),d){for(s in d)!d.hasOwnProperty(s)||p&&p.hasOwnProperty(s)||(c||(c={}),c[s]="");for(s in p)p.hasOwnProperty(s)&&d[s]!==p[s]&&(c||(c={}),c[s]=p[s])}else c||(o||(o=[]),o.push(u,c)),c=p;else if(u===Ym){var m=p?p[nh]:void 0,h=d?d[nh]:void 0;null!=m&&h!==m&&(o=o||[]).push(u,""+m)}else u===eh?d===p||"string"!==typeof p&&"number"!==typeof p||(o=o||[]).push(u,""+p):u===Xm||u===Jm||(Uu.hasOwnProperty(u)?(null!=p&&("function"!==typeof p&&fh(u,p),Dn(r,u)),o||d===p||(o=[])):(o=o||[]).push(u,p))}return c&&(o=o||[]).push(th,c),o}function $n(e,t,n,a,r){switch("input"===n&&"radio"===r.type&&null!=r.name&&qe(e,r),Ln(e,t,Pn(n,a),Pn(n,r)),n){case"input":$e(e,r);break;case"textarea":vn(e,r);break;case"select":mn(e,r)}}function Kn(e){var t=e.toLowerCase();return Rm.hasOwnProperty(t)?Rm[t]||null:null}function Gn(e,t,n,a,r){var o=void 0,i=void 0;switch(ih=!0===n[Jm],o=Pn(t,n),lh(t,n),o&&!Qm&&e.shadyRoot&&(yu(!1,"%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",$m()||"A component"),Qm=!0),t){case"iframe":case"object":zt(ic,e);break;case"video":case"audio":for(var l=0;l<Kc.length;l++)zt(Kc[l],e);break;case"source":zt(Js,e);break;case"img":case"image":case"link":zt(Js,e),zt(ic,e);break;case"form":zt(Pc,e),zt(Mc,e);break;case"details":zt(Fc,e);break;case"input":Ve(e,n),zt(nc,e),Dn(r,"onChange");break;case"option":rn(e,n);break;case"select":pn(e,n),zt(nc,e),Dn(r,"onChange");break;case"textarea":bn(e,n),zt(nc,e),Dn(r,"onChange")}Tn(t,n,rh),i=new Set;for(var u=e.attributes,s=0;s<u.length;s++){switch(u[s].name.toLowerCase()){case"data-reactroot":case"value":case"checked":case"selected":break;default:i.add(u[s].name)}}var c=null;for(var f in n)if(n.hasOwnProperty(f)){var p=n[f];if(f===eh)"string"===typeof p?e.textContent!==p&&(ih||uh(e.textContent,p),c=[eh,p]):"number"===typeof p&&e.textContent!==""+p&&(ih||uh(e.textContent,p),c=[eh,""+p]);else if(Uu.hasOwnProperty(f))null!=p&&("function"!==typeof p&&fh(f,p),Dn(r,f));else if("boolean"===typeof o){var d=void 0,m=De(f);if(ih);else if(f===Xm||f===Jm||"value"===f||"checked"===f||"selected"===f);else if(f===Ym){var h=p?p[nh]||"":"",g=e.innerHTML,b=dh(e,h);b!==g&&sh(f,g,b)}else if(f===th){i.delete(f);var v=Cn(p);d=e.getAttribute("style"),v!==d&&sh(f,d,v)}else if(o)i.delete(f.toLowerCase()),d=Be(e,f,p),p!==d&&sh(f,d,p);else if(!Me(f,m,o)&&!ze(f,p,m,o)){var y=!1;if(null!==m)i.delete(m.attributeName),d=Ue(e,f,p,m);else{var w=a;if(w===ah&&(w=_n(t)),w===ah)i.delete(f.toLowerCase());else{var _=Kn(f);null!==_&&_!==f&&(y=!0,i.delete(_)),i.delete(f)}d=Be(e,f,p)}p===d||y||sh(f,d,p)}}}switch(i.size>0&&!ih&&ch(i),t){case"input":ke(e),Ke(e,n,!0);break;case"textarea":ke(e),yn(e,n);break;case"select":case"option":break;default:"function"===typeof n.onClick&&Un(e)}return c}function Qn(e,t){return e.nodeValue!==t}function Yn(e,t){uh(e.nodeValue,t)}function Xn(e,t){Gm||(Gm=!0,yu(!1,"Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Jn(e,t){Gm||(Gm=!0,yu(!1,'Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function Zn(e,t,n){Gm||(Gm=!0,yu(!1,"Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function ea(e,t){""!==t&&(Gm||(Gm=!0,yu(!1,'Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}function ta(e,t,n){switch(t){case"input":return void Ge(e,n);case"textarea":return void wn(e,n);case"select":return void hn(e,n)}}function na(){bu(!1,"The current renderer does not support persistence. This error is likely caused by a bug in React. Please file an issue.")}function aa(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function ra(e){var t=void 0,n=void 0,a=e.nodeType;switch(a){case Rf:case If:t=a===Rf?"#document":"#fragment";var r=e.documentElement;n=r?r.namespaceURI:kn(null,"");break;default:var o=a===Nf?e.parentNode:e,i=o.namespaceURI||null;t=o.tagName,n=kn(i,t)}var l=t.toLowerCase();return{namespace:n,ancestorInfo:Kh(null,l,null)}}function oa(e,t,n){var a=e;return{namespace:kn(a.namespace,t),ancestorInfo:Kh(a.ancestorInfo,t,null)}}function ia(e){return e}function la(e){Xh=At(),Jh=Xt(),Mt(!1)}function ua(e){Jt(Jh),Jh=null,Mt(Xh),Xh=null}function sa(e,t,n,a,r){var o=void 0,i=a;if(Ph(e,null,i.ancestorInfo),"string"===typeof t.children||"number"===typeof t.children){var l=""+t.children,u=Kh(i.ancestorInfo,e,null);Ph(null,l,u)}o=i.namespace;var s=Ah(e,t,n,o);return Gh(r,s),Qh(s,t),s}function ca(e,t){e.appendChild(t)}function fa(e,t,n,a,r){return Dh(e,t,n,a),aa(t,n)}function pa(e,t,n,a,r,o){var i=o;if(typeof a.children!==typeof n.children&&("string"===typeof a.children||"number"===typeof a.children)){var l=""+a.children,u=Kh(i.ancestorInfo,t,null);Ph(null,l,u)}return Fh(e,t,n,a,r)}function da(e,t){return"textarea"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"===typeof t.dangerouslySetInnerHTML.__html}function ma(e,t){return!!t.hidden}function ha(e,t,n,a){Ph(null,e,n.ancestorInfo);var r=zh(e,t);return Gh(a,r),r}function ga(e,t,n,a){aa(t,n)&&e.focus()}function ba(e,t,n,a,r,o){Qh(e,r),Uh(e,t,n,a,r)}function va(e){pm(e,"")}function ya(e,t,n){e.nodeValue=n}function wa(e,t){e.appendChild(t)}function _a(e,t){e.nodeType===Nf?e.parentNode.insertBefore(t,e):e.appendChild(t)}function ka(e,t,n){e.insertBefore(t,n)}function xa(e,t,n){e.nodeType===Nf?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}function Ea(e,t){e.removeChild(t)}function Ca(e,t){e.nodeType===Nf?e.parentNode.removeChild(t):e.removeChild(t)}function Sa(e,t,n){return e.nodeType!==Pf||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}function Ta(e,t){return""===t||e.nodeType!==Of?null:e}function Pa(e){for(var t=e.nextSibling;t&&t.nodeType!==Pf&&t.nodeType!==Of;)t=t.nextSibling;return t}function Oa(e){for(var t=e.firstChild;t&&t.nodeType!==Pf&&t.nodeType!==Of;)t=t.nextSibling;return t}function Na(e,t,n,a,r,o){Gh(o,e),Qh(e,n);var i=void 0;return i=r.namespace,Bh(e,t,n,i,a)}function Ra(e,t,n){return Gh(n,e),Lh(e,t)}function Ia(e,t,n){Wh(t,n)}function ja(e,t,n,a,r){!0!==t[Yh]&&Wh(a,r)}function Ma(e,t){1===t.nodeType?Hh(e,t):Vh(e,t)}function Aa(e,t,n,a){!0!==t[Yh]&&(1===a.nodeType?Hh(n,a):Vh(n,a))}function za(e,t,n){qh(e,t,n)}function Da(e,t){$h(e,t)}function Fa(e,t,n,a,r){!0!==t[Yh]&&qh(n,a,r)}function Ua(e,t,n,a){!0!==t[Yh]&&$h(n,a)}function Ba(){og&&kg++}function La(){og&&(vg&&(yg=!0),null!==gg&&"componentWillMount"!==gg&&"componentWillReceiveProps"!==gg&&(wg=!0))}function Wa(){og&&mg&&!xg&&(xg=!0,Tg("(Waiting for async callback...)"))}function Ha(e,t){if(og&&mg){xg=!1;Og("(Waiting for async callback... will force flush in "+t+" ms)","(Waiting for async callback...)",e?"React was blocked by main thread":null)}}function Va(e){if(og){if(!mg||Ag(e))return;if(hg=e,!Ig(e,null))return;e._debugIsCurrentlyTiming=!0}}function qa(e){if(og){if(!mg||Ag(e))return;e._debugIsCurrentlyTiming=!1,jg(e,null)}}function $a(e){if(og){if(!mg||Ag(e))return;if(hg=e.return,!e._debugIsCurrentlyTiming)return;e._debugIsCurrentlyTiming=!1,Mg(e,null,null)}}function Ka(e){if(og){if(!mg||Ag(e))return;if(hg=e.return,!e._debugIsCurrentlyTiming)return;e._debugIsCurrentlyTiming=!1;Mg(e,null,"An error was thrown inside this error boundary")}}function Ga(e,t){if(og){if(!mg)return;if(zg(),!Ig(e,t))return;bg=e,gg=t}}function Qa(){if(og){if(!mg)return;if(null!==gg&&null!==bg){Mg(bg,gg,wg?"Scheduled a cascading update":null)}gg=null,bg=null}}function Ya(e){if(og){if(hg=e,!mg)return;_g=0,Tg("(React Tree Reconciliation)"),Ug()}}function Xa(e,t){if(og){if(!mg)return;var n=null;if(null!==e)if(e.tag===as)n="A top-level update interrupted the previous render";else{var a=Ce(e)||"Unknown";n="An update to "+a+" interrupted the previous render"}else _g>1&&(n="There were cascading updates");_g=0;var r=t?"(React Tree Reconciliation: Completed Root)":"(React Tree Reconciliation: Yielded)";Dg(),Og(r,"(React Tree Reconciliation)",n)}}function Ja(){if(og){if(!mg)return;vg=!0,yg=!1,Eg.clear(),Tg("(Committing Changes)")}}function Za(){if(og){if(!mg)return;var e=null;yg?e="Lifecycle hook scheduled a cascading update":_g>0&&(e="Caused by a cascading update in earlier commit"),yg=!1,_g++,vg=!1,Eg.clear(),Og("(Committing Changes)","(Committing Changes)",e)}}function er(){if(og){if(!mg)return;kg=0,Tg("(Committing Snapshot Effects)")}}function tr(){if(og){if(!mg)return;var e=kg;kg=0,Og("(Committing Snapshot Effects: "+e+" Total)","(Committing Snapshot Effects)",null)}}function nr(){if(og){if(!mg)return;kg=0,Tg("(Committing Host Effects)")}}function ar(){if(og){if(!mg)return;var e=kg;kg=0,Og("(Committing Host Effects: "+e+" Total)","(Committing Host Effects)",null)}}function rr(){if(og){if(!mg)return;kg=0,Tg("(Calling Lifecycle Methods)")}}function or(){if(og){if(!mg)return;var e=kg;kg=0,Og("(Calling Lifecycle Methods: "+e+" Total)","(Calling Lifecycle Methods)",null)}}function ir(e){return{current:e}}function lr(e,t){if(Wg<0)return void yu(!1,"Unexpected pop.");t!==Lg[Wg]&&yu(!1,"Unexpected Fiber popped."),e.current=Bg[Wg],Bg[Wg]=null,Lg[Wg]=null,Wg--}function ur(e,t,n){Wg++,Bg[Wg]=e.current,Lg[Wg]=n,e.current=t}function sr(){-1!==Wg&&yu(!1,"Expected an empty stack. Something was not reset properly.")}function cr(){Wg=-1,Bg.length=0,Lg.length=0}function fr(e){return gr(e)?$g:Vg.current}function pr(e,t,n){var a=e.stateNode;a.__reactInternalMemoizedUnmaskedChildContext=t,a.__reactInternalMemoizedMaskedChildContext=n}function dr(e,t){var n=e.type,a=n.contextTypes;if(!a)return Tu;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={};for(var i in a)o[i]=t[i];var l=Ce(e)||"Unknown";return xu(a,o,"context",l,Yf.getCurrentFiberStackAddendum),r&&pr(e,t,o),o}function mr(){return qg.current}function hr(e){return e.tag===ns&&null!=e.type.contextTypes}function gr(e){return e.tag===ns&&null!=e.type.childContextTypes}function br(e){gr(e)&&(lr(qg,e),lr(Vg,e))}function vr(e){lr(qg,e),lr(Vg,e)}function yr(e,t,n){Vg.current!==Tu&&bu(!1,"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue."),ur(Vg,t,e),ur(qg,n,e)}function wr(e,t){var n=e.stateNode,a=e.type.childContextTypes;if("function"!==typeof n.getChildContext){var r=Ce(e)||"Unknown";return Hg[r]||(Hg[r]=!0,yu(!1,"%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",r,r)),t}var o=void 0;Yf.setCurrentPhase("getChildContext"),Ga(e,"getChildContext"),o=n.getChildContext(),Qa(),Yf.setCurrentPhase(null);for(var i in o)i in a||bu(!1,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',Ce(e)||"Unknown",i);var l=Ce(e)||"Unknown";return xu(a,o,"child context",l,Yf.getCurrentFiberStackAddendum),_u({},t,o)}function _r(e){if(!gr(e))return!1;var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Tu;return $g=Vg.current,ur(Vg,n,e),ur(qg,qg.current,e),!0}function kr(e,t){var n=e.stateNode;if(n||bu(!1,"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue."),t){var a=wr(e,$g);n.__reactInternalMemoizedMergedChildContext=a,lr(qg,e),lr(Vg,e),ur(Vg,a,e),ur(qg,t,e)}else lr(qg,e),ur(qg,t,e)}function xr(e){yt(e)&&e.tag===ns||bu(!1,"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");for(var t=e;t.tag!==as;){if(gr(t))return t.stateNode.__reactInternalMemoizedMergedChildContext;var n=t.return;n||bu(!1,"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue."),t=n}return t.stateNode.context}function Er(e){return(e/Xg|0)+Jg}function Cr(e){return(e-Jg)*Xg}function Sr(e,t){return(1+(e/t|0))*t}function Tr(e,t,n){return Jg+Sr(e-Jg+t/Xg,n/Xg)}function Pr(e,t,n,a){this.tag=e,this.key=n,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.mode=a,this.effectTag=Mp,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.expirationTime=Gg,this.alternate=null,dg&&(this.actualDuration=0,this.actualStartTime=0,this.selfBaseTime=0,this.treeBaseTime=0),this._debugID=lb++,this._debugSource=null,this._debugOwner=null,this._debugIsCurrentlyTiming=!1,ab||"function"!==typeof Object.preventExtensions||Object.preventExtensions(this)}function Or(e){return!(!e.prototype||!e.prototype.isReactComponent)}function Nr(e,t,n){var a=e.alternate;return null===a?(a=ub(e.tag,t,e.key,e.mode),a.type=e.type,a.stateNode=e.stateNode,a._debugID=e._debugID,a._debugSource=e._debugSource,a._debugOwner=e._debugOwner,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.effectTag=Mp,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,dg&&(a.actualDuration=0,a.actualStartTime=0)),a.expirationTime=n,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,dg&&(a.selfBaseTime=e.selfBaseTime,a.treeBaseTime=e.treeBaseTime),a}function Rr(e){return ub(as,null,null,e?eb|tb:Zg)}function Ir(e,t,n){var a=null;a=e._owner;var r=void 0,o=e.type,i=e.key,l=e.props,u=void 0;if("function"===typeof o)u=Or(o)?ns:es;else if("string"===typeof o)u=os;else switch(o){case Bf:return Mr(l.children,t,n,i);case qf:u=us,t|=eb|tb;break;case Lf:u=us,t|=tb;break;case Wf:return Ar(l,t,n,i);case Kf:u=ds,t|=tb;break;default:u=jr(o,a)}return r=ub(u,l,i,t),r.type=o,r.expirationTime=n,r._debugSource=e._source,r._debugOwner=e._owner,r}function jr(e,t){switch("object"===typeof e&&null!==e?e.$$typeof:null){case Hf:return cs;case Vf:return ss;case $f:return fs;default:var n="";(void 0===e||"object"===typeof e&&null!==e&&0===Object.keys(e).length)&&(n+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var a=t?Ce(t):null;a&&(n+="\n\nCheck the render method of `"+a+"`."),bu(!1,"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==e?e:typeof e,n)}}function Mr(e,t,n,a){var r=ub(ls,e,a,t);return r.expirationTime=n,r}function Ar(e,t,n,a){"string"===typeof e.id&&"function"===typeof e.onRender||bu(!1,'Profiler must specify an "id" string and "onRender" function as props');var r=ub(ps,e,a,t|nb);return r.type=Wf,r.expirationTime=n,r}function zr(e,t,n){var a=ub(is,e,null,t);return a.expirationTime=n,a}function Dr(){var e=ub(os,null,null,Zg);return e.type="DELETED",e}function Fr(e,t,n){var a=null!==e.children?e.children:[],r=ub(rs,a,e.key,t);return r.expirationTime=n,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function Ur(e,t){return null===e&&(e=ub(es,null,null,Zg)),e.tag=t.tag,e.key=t.key,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.mode=t.mode,e.effectTag=t.effectTag,e.nextEffect=t.nextEffect,e.firstEffect=t.firstEffect,e.lastEffect=t.lastEffect,e.expirationTime=t.expirationTime,e.alternate=t.alternate,dg&&(e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseTime=t.selfBaseTime,e.treeBaseTime=t.treeBaseTime),e._debugID=t._debugID,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugIsCurrentlyTiming=t._debugIsCurrentlyTiming,e}function Br(e,t,n){var a=Rr(t),r={current:a,containerInfo:e,pendingChildren:null,earliestPendingTime:Gg,latestPendingTime:Gg,earliestSuspendedTime:Gg,latestSuspendedTime:Gg,latestPingedTime:Gg,pendingCommitExpirationTime:Gg,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:Gg,firstBatch:null,nextScheduledRoot:null};return a.stateNode=r,r}function Lr(e){return function(t){try{return e(t)}catch(e){fb||(fb=!0,yu(!1,"React DevTools encountered an error: %s",e))}}}function Wr(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return yu(!1,"The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://fb.me/react-devtools"),!0;try{var n=t.inject(e);sb=Lr(function(e){return t.onCommitFiberRoot(n,e)}),cb=Lr(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){yu(!1,"React DevTools encountered an error: %s.",e)}return!0}function Hr(e){"function"===typeof sb&&sb(e)}function Vr(e){"function"===typeof cb&&cb(e)}function qr(e,t){if(lg){var n=e.earliestPendingTime;if(n===Gg)e.earliestPendingTime=e.latestPendingTime=t;else if(n>t)e.earliestPendingTime=t;else{var a=e.latestPendingTime;a<t&&(e.latestPendingTime=t)}}}function $r(e,t,n){if(lg){if(n===Gg)return e.earliestPendingTime=Gg,e.latestPendingTime=Gg,e.earliestSuspendedTime=Gg,e.latestSuspendedTime=Gg,void(e.latestPingedTime=Gg);var a=e.latestPendingTime;if(a!==Gg)if(a<n)e.earliestPendingTime=e.latestPendingTime=Gg;else{var r=e.earliestPendingTime;r<n&&(e.earliestPendingTime=e.latestPendingTime)}var o=e.earliestSuspendedTime;if(o===Gg)return void qr(e,n);if(n>e.latestSuspendedTime)return e.earliestSuspendedTime=Gg,e.latestSuspendedTime=Gg,e.latestPingedTime=Gg,void qr(e,n);if(n<o)return void qr(e,n)}}function Kr(e,t){if(lg){var n=e.earliestPendingTime,a=e.latestPendingTime;n===t?e.earliestPendingTime=a===t?e.latestPendingTime=Gg:a:a===t&&(e.latestPendingTime=n);var r=e.latestSuspendedTime;r===t&&(e.latestPingedTime=Gg);var o=e.earliestSuspendedTime;o===Gg?e.earliestSuspendedTime=e.latestSuspendedTime=t:o>t?e.earliestSuspendedTime=t:r<t&&(e.latestSuspendedTime=t)}}function Gr(e,t){if(lg){var n=e.latestSuspendedTime;if(n!==Gg&&n<=t){var a=e.latestPingedTime;(a===Gg||a<t)&&(e.latestPingedTime=t)}}}function Qr(e){if(lg){var t=e.earliestSuspendedTime,n=e.earliestPendingTime;return t===Gg?n:n!==Gg?n:e.latestPingedTime}return e.current.expirationTime}function Yr(e){return{expirationTime:Gg,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Xr(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Jr(e){return{expirationTime:e,tag:Ob,payload:null,callback:null,next:null,nextEffect:null}}function Zr(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(e.expirationTime===Gg||e.expirationTime>n)&&(e.expirationTime=n)}function eo(e,t,n){var a=e.alternate,r=void 0,o=void 0;null===a?(r=e.updateQueue,o=null,null===r&&(r=e.updateQueue=Yr(e.memoizedState))):(r=e.updateQueue,o=a.updateQueue,null===r?null===o?(r=e.updateQueue=Yr(e.memoizedState),o=a.updateQueue=Yr(a.memoizedState)):r=e.updateQueue=Xr(o):null===o&&(o=a.updateQueue=Xr(r))),null===o||r===o?Zr(r,t,n):null===r.lastUpdate||null===o.lastUpdate?(Zr(r,t,n),Zr(o,t,n)):(Zr(r,t,n),o.lastUpdate=t),e.tag!==ns||Ab!==r&&(null===o||Ab!==o)||Mb||(yu(!1,"An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Mb=!0)}function to(e,t,n){var a=e.updateQueue;a=null===a?e.updateQueue=Yr(e.memoizedState):no(e,a),null===a.lastCapturedUpdate?a.firstCapturedUpdate=a.lastCapturedUpdate=t:(a.lastCapturedUpdate.next=t,a.lastCapturedUpdate=t),(a.expirationTime===Gg||a.expirationTime>n)&&(a.expirationTime=n)}function no(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Xr(t)),t}function ao(e,t,n,a,r,o){switch(n.tag){case Nb:var i=n.payload;return"function"===typeof i?((ug||sg&&e.mode&tb)&&i.call(o,a,r),i.call(o,a,r)):i;case Ib:e.effectTag=e.effectTag&~Kp|Wp;case Ob:var l=n.payload,u=void 0;return"function"===typeof l?((ug||sg&&e.mode&tb)&&l.call(o,a,r),u=l.call(o,a,r)):u=l,null===u||void 0===u?a:_u({},a,u);case Rb:return jb=!0,a}return a}function ro(e,t,n,a,r){if(jb=!1,!(t.expirationTime===Gg||t.expirationTime>r)){t=no(e,t),Ab=t;for(var o=t.baseState,i=null,l=Gg,u=t.firstUpdate,s=o;null!==u;){var c=u.expirationTime;if(c>r)null===i&&(i=u,o=s),(l===Gg||l>c)&&(l=c);else{s=ao(e,t,u,s,n,a);null!==u.callback&&(e.effectTag|=Lp,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))}u=u.next}var f=null;for(u=t.firstCapturedUpdate;null!==u;){var p=u.expirationTime;if(p>r)null===f&&(f=u,null===i&&(o=s)),(l===Gg||l>p)&&(l=p);else{s=ao(e,t,u,s,n,a);null!==u.callback&&(e.effectTag|=Lp,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))}u=u.next}null===i&&(t.lastUpdate=null),null===f?t.lastCapturedUpdate=null:e.effectTag|=Lp,null===i&&null===f&&(o=s),t.baseState=o,t.firstUpdate=i,t.firstCapturedUpdate=f,t.expirationTime=l,e.memoizedState=s,Ab=null}}function oo(e,t){"function"!==typeof e&&bu(!1,"Invalid argument passed as callback. Expected a function. Instead received: %s",e),e.call(t)}function io(){jb=!1}function lo(){return jb}function uo(e,t,n,a){null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null);var r=t.firstEffect;for(t.firstEffect=t.lastEffect=null;null!==r;){var o=r.callback;null!==o&&(r.callback=null,oo(o,n)),r=r.nextEffect}for(r=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==r;){var i=r.callback;null!==i&&(r.callback=null,oo(i,n)),r=r.nextEffect}}function so(e,t){return{value:e,source:t,stack:Te(t)}}function co(e){var t=e.type._context;eg?(ur(Ub,t._changedBits,e),ur(Fb,t._currentValue,e),ur(Db,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==Bb&&yu(!1,"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=Bb):(ur(Ub,t._changedBits2,e),ur(Fb,t._currentValue2,e),ur(Db,e,e),t._currentValue2=e.pendingProps.value,t._changedBits2=e.stateNode,void 0!==t._currentRenderer2&&null!==t._currentRenderer2&&t._currentRenderer2!==Bb&&yu(!1,"Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer2=Bb)}function fo(e){var t=Ub.current,n=Fb.current;lr(Db,e),lr(Fb,e),lr(Ub,e);var a=e.type._context;eg?(a._currentValue=n,a._changedBits=t):(a._currentValue2=n,a._changedBits2=t)}function po(e){return eg?e._currentValue:e._currentValue2}function mo(e){return eg?e._changedBits:e._changedBits2}function ho(e){return e===Lb&&bu(!1,"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),e}function go(){return ho(Vb.current)}function bo(e,t){ur(Vb,t,e),ur(Hb,e,e),ur(Wb,Lb,e);var n=ra(t);lr(Wb,e),ur(Wb,n,e)}function vo(e){lr(Wb,e),lr(Hb,e),lr(Vb,e)}function yo(){return ho(Wb.current)}function wo(e){var t=ho(Vb.current),n=ho(Wb.current),a=oa(n,e.type,t);n!==a&&(ur(Hb,e,e),ur(Wb,a,e))}function _o(e){Hb.current===e&&(lr(Wb,e),lr(Hb,e))}function ko(){return qb}function xo(){dg&&(qb=Zh())}function Eo(){dg&&0!==$b.length&&yu(!1,"Expected an empty stack. Something was not reset properly.")}function Co(e){dg&&($b.push(e),e.actualDuration=Zh()-e.actualDuration-Gb,e.actualStartTime=Zh())}function So(){dg&&0===Kb&&(Kb=Zh())}function To(e){dg&&(e!==$b.pop()&&yu(!1,"Unexpected Fiber (%s) popped.",Ce(e)),e.actualDuration=Zh()-Gb-e.actualDuration)}function Po(){dg&&(Gb=0)}function Oo(){dg&&Kb>0&&(Gb+=Zh()-Kb,Kb=0)}function No(e){dg&&-1!==Qb&&(e.selfBaseTime=Zh()-Qb)}function Ro(){dg&&(-1!==Qb&&yu(!1,"Cannot start base timer that is already running. This error is likely caused by a bug in React. Please file an issue."),Qb=Zh())}function Io(){dg&&(Qb=-1)}function jo(e,t,n){var a=e.memoizedState;(ug||sg&&e.mode&tb)&&t(n,a);var r=t(n,a);av(e,r);var o=null===r||void 0===r?a:_u({},a,r);e.memoizedState=o;var i=e.updateQueue;null!==i&&i.expirationTime===Gg&&(i.baseState=o)}function Mo(e,t,n,a,r,o){var i=e.stateNode,l=e.type;if("function"===typeof i.shouldComponentUpdate){Ga(e,"shouldComponentUpdate");var u=i.shouldComponentUpdate(n,r,o);return Qa(),void 0===u&&yu(!1,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Ce(e)||"Component"),u}return!l.prototype||!l.prototype.isPureReactComponent||(!Cu(t,n)||!Cu(a,r))}function Ao(e){var t=e.stateNode,n=e.type,a=Ce(e)||"Component";t.render||(n.prototype&&"function"===typeof n.prototype.render?yu(!1,"%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",a):yu(!1,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",a)),!t.getInitialState||t.getInitialState.isReactClassApproved||t.state||yu(!1,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",a),!t.getDefaultProps||t.getDefaultProps.isReactClassApproved||yu(!1,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",a),!t.propTypes||yu(!1,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",a),!t.contextTypes||yu(!1,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",a),"function"!==typeof t.componentShouldUpdate||yu(!1,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",a),n.prototype&&n.prototype.isPureReactComponent&&"undefined"!==typeof t.shouldComponentUpdate&&yu(!1,"%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Ce(e)||"A pure component"),"function"!==typeof t.componentDidUnmount||yu(!1,"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",a),"function"!==typeof t.componentDidReceiveProps||yu(!1,"%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",a),"function"!==typeof t.componentWillRecieveProps||yu(!1,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",a),"function"!==typeof t.UNSAFE_componentWillRecieveProps||yu(!1,"%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",a);var r=t.props!==e.pendingProps;void 0!==t.props&&r&&yu(!1,"%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",a,a),!t.defaultProps||yu(!1,"Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",a,a),"function"!==typeof t.getSnapshotBeforeUpdate||"function"===typeof t.componentDidUpdate||ev.has(n)||(ev.add(n),yu(!1,"%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Ce(e))),"function"!==typeof t.getDerivedStateFromProps||yu(!1,"%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),"function"!==typeof t.getDerivedStateFromCatch||yu(!1,"%s: getDerivedStateFromCatch() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),"function"!==typeof n.getSnapshotBeforeUpdate||yu(!1,"%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",a);var o=t.state;o&&("object"!==typeof o||Xb(o))&&yu(!1,"%s.state: must be set to an object or null",a),"function"===typeof t.getChildContext&&"object"!==typeof n.childContextTypes&&yu(!1,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",a)}function zo(e,t){t.updater=iv,e.stateNode=t,bt(t,e),t._reactInternalInstance=Yb}function Do(e,t,n){var a=e.type,r=fr(e),o=hr(e),i=o?dr(e,r):Tu;(ug||sg&&e.mode&tb)&&new a(t,i);var l=new a(t,i),u=e.memoizedState=null!==l.state&&void 0!==l.state?l.state:null;if(zo(e,l),"function"===typeof a.getDerivedStateFromProps&&null===u){var s=Ce(e)||"Component";Zb.has(s)||(Zb.add(s),yu(!1,"%s: Did not properly initialize state during construction. Expected state to be an object, but it was %s.",s,null===l.state?"null":"undefined"))}if("function"===typeof a.getDerivedStateFromProps||"function"===typeof l.getSnapshotBeforeUpdate){var c=null,f=null,p=null;if("function"===typeof l.componentWillMount&&!0!==l.componentWillMount.__suppressDeprecationWarning?c="componentWillMount":"function"===typeof l.UNSAFE_componentWillMount&&(c="UNSAFE_componentWillMount"),"function"===typeof l.componentWillReceiveProps&&!0!==l.componentWillReceiveProps.__suppressDeprecationWarning?f="componentWillReceiveProps":"function"===typeof l.UNSAFE_componentWillReceiveProps&&(f="UNSAFE_componentWillReceiveProps"),"function"===typeof l.componentWillUpdate&&!0!==l.componentWillUpdate.__suppressDeprecationWarning?p="componentWillUpdate":"function"===typeof l.UNSAFE_componentWillUpdate&&(p="UNSAFE_componentWillUpdate"),null!==c||null!==f||null!==p){var d=Ce(e)||"Component",m="function"===typeof a.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";tv.has(d)||(tv.add(d),yu(!1,"Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks",d,m,null!==c?"\n "+c:"",null!==f?"\n "+f:"",null!==p?"\n "+p:""))}}return o&&pr(e,r,i),l}function Fo(e,t){Ga(e,"componentWillMount");var n=t.state;"function"===typeof t.componentWillMount&&t.componentWillMount(),"function"===typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),Qa(),n!==t.state&&(yu(!1,"%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ce(e)||"Component"),iv.enqueueReplaceState(t,t.state,null))}function Uo(e,t,n,a){var r=t.state;if(Ga(e,"componentWillReceiveProps"),"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,a),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,a),Qa(),t.state!==r){var o=Ce(e)||"Component";Jb.has(o)||(Jb.add(o),yu(!1,"%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",o)),iv.enqueueReplaceState(t,t.state,null)}}function Bo(e,t){var n=e.type;Ao(e);var a=e.stateNode,r=e.pendingProps,o=fr(e);a.props=r,a.state=e.memoizedState,a.refs=Tu,a.context=dr(e,o),e.mode&tb&&(hb.recordUnsafeLifecycleWarnings(e,a),hb.recordLegacyContextWarning(e,a)),fg&&hb.recordDeprecationWarnings(e,a);var i=e.updateQueue;null!==i&&(ro(e,i,r,a,t),a.state=e.memoizedState);var l=e.type.getDerivedStateFromProps;"function"===typeof l&&(jo(e,l,r),a.state=e.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(Fo(e,a),null!==(i=e.updateQueue)&&(ro(e,i,r,a,t),a.state=e.memoizedState)),"function"===typeof a.componentDidMount&&(e.effectTag|=Dp)}function Lo(e,t){var n=e.type,a=e.stateNode,r=e.memoizedProps,o=e.pendingProps;a.props=r;var i=a.context,l=fr(e),u=dr(e,l),s=n.getDerivedStateFromProps,c="function"===typeof s||"function"===typeof a.getSnapshotBeforeUpdate;c||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||r===o&&i===u||Uo(e,a,o,u),io();var f=e.memoizedState,p=a.state=f,d=e.updateQueue;if(null!==d&&(ro(e,d,o,a,t),p=e.memoizedState),r===o&&f===p&&!mr()&&!lo())return"function"===typeof a.componentDidMount&&(e.effectTag|=Dp),!1;"function"===typeof s&&(jo(e,s,o),p=e.memoizedState);var m=lo()||Mo(e,r,o,f,p,u);return m?(c||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(Ga(e,"componentWillMount"),"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),Qa()),"function"===typeof a.componentDidMount&&(e.effectTag|=Dp)):("function"===typeof a.componentDidMount&&(e.effectTag|=Dp),e.memoizedProps=o,e.memoizedState=p),a.props=o,a.state=p,a.context=u,m}function Wo(e,t,n){var a=t.type,r=t.stateNode,o=t.memoizedProps,i=t.pendingProps;r.props=o;var l=r.context,u=fr(t),s=dr(t,u),c=a.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof r.getSnapshotBeforeUpdate;f||"function"!==typeof r.UNSAFE_componentWillReceiveProps&&"function"!==typeof r.componentWillReceiveProps||o===i&&l===s||Uo(t,r,i,s),io();var p=t.memoizedState,d=r.state=p,m=t.updateQueue;if(null!==m&&(ro(t,m,i,r,n),d=t.memoizedState),o===i&&p===d&&!mr()&&!lo())return"function"===typeof r.componentDidUpdate&&(o===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=Dp)),"function"===typeof r.getSnapshotBeforeUpdate&&(o===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=Vp)),!1;"function"===typeof c&&(jo(t,c,i),d=t.memoizedState);var h=lo()||Mo(t,o,i,p,d,s);return h?(f||"function"!==typeof r.UNSAFE_componentWillUpdate&&"function"!==typeof r.componentWillUpdate||(Ga(t,"componentWillUpdate"),"function"===typeof r.componentWillUpdate&&r.componentWillUpdate(i,d,s),"function"===typeof r.UNSAFE_componentWillUpdate&&r.UNSAFE_componentWillUpdate(i,d,s),Qa()),"function"===typeof r.componentDidUpdate&&(t.effectTag|=Dp),"function"===typeof r.getSnapshotBeforeUpdate&&(t.effectTag|=Vp)):("function"===typeof r.componentDidUpdate&&(o===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=Dp)),"function"===typeof r.getSnapshotBeforeUpdate&&(o===e.memoizedProps&&p===e.memoizedState||(t.effectTag|=Vp)),t.memoizedProps=i,t.memoizedState=d),r.props=i,r.state=d,r.context=s,h}function Ho(e,t,n){var a=n.ref;if(null!==a&&"function"!==typeof a&&"object"!==typeof a){if(e.mode&tb){var r=Ce(e)||"Component";sv[r]||(yu(!1,'A string ref, "%s",\xa0has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using createRef() instead.\n%s\n\nLearn more about using refs safely here:\nhttps://fb.me/react-strict-mode-string-ref',a,Te(e)),sv[r]=!0)}if(n._owner){var o=n._owner,i=void 0;if(o){var l=o;l.tag!==ns&&bu(!1,"Stateless function components cannot have refs."),i=l.stateNode}i||bu(!1,"Missing owner for string ref %s. This error is likely caused by a bug in React. Please file an issue.",a);var u=""+a;if(null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===u)return t.ref;var s=function(e){var t=i.refs===Tu?i.refs={}:i.refs;null===e?delete t[u]:t[u]=e};return s._stringRef=u,s}"string"!==typeof a&&bu(!1,"Expected ref to be a function or a string."),n._owner||bu(!1,"Element ref was specified as a string (%s) but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a functional component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://fb.me/react-refs-must-have-owner for more information.",a)}return a}function Vo(e,t){if("textarea"!==e.type){var n="";n=" If you meant to render a collection of children, use an array instead."+(lv()||""),bu(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,n)}}function qo(){var e="Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."+(lv()||"");fv[e]||(fv[e]=!0,yu(!1,"Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.%s",lv()||""))}function $o(e){function t(t,n){if(e){var a=t.lastEffect;null!==a?(a.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=Up}}function n(n,a){if(!e)return null;for(var r=a;null!==r;)t(n,r),r=r.sibling;return null}function a(e,t){for(var n=new Map,a=t;null!==a;)null!==a.key?n.set(a.key,a):n.set(a.index,a),a=a.sibling;return n}function r(e,t,n){var a=Nr(e,t,n);return a.index=0,a.sibling=null,a}function o(t,n,a){if(t.index=a,!e)return n;var r=t.alternate;if(null!==r){var o=r.index;return o<n?(t.effectTag=zp,n):o}return t.effectTag=zp,n}function i(t){return e&&null===t.alternate&&(t.effectTag=zp),t}function l(e,t,n,a){if(null===t||t.tag!==is){var o=zr(n,e.mode,a);return o.return=e,o}var i=r(t,n,a);return i.return=e,i}function u(e,t,n,a){if(null!==t&&t.type===n.type){var o=r(t,n.props,a);return o.ref=Ho(e,t,n),o.return=e,o._debugSource=n._source,o._debugOwner=n._owner,o}var i=Ir(n,e.mode,a);return i.ref=Ho(e,t,n),i.return=e,i}function s(e,t,n,a){if(null===t||t.tag!==rs||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var o=Fr(n,e.mode,a);return o.return=e,o}var i=r(t,n.children||[],a);return i.return=e,i}function c(e,t,n,a,o){if(null===t||t.tag!==ls){var i=Mr(n,e.mode,a,o);return i.return=e,i}var l=r(t,n,a);return l.return=e,l}function f(e,t,n){if("string"===typeof t||"number"===typeof t){var a=zr(""+t,e.mode,n);return a.return=e,a}if("object"===typeof t&&null!==t){switch(t.$$typeof){case Ff:var r=Ir(t,e.mode,n);return r.ref=Ho(e,null,t),r.return=e,r;case Uf:var o=Fr(t,e.mode,n);return o.return=e,o}if(dv(t)||Ee(t)){var i=Mr(t,e.mode,n,null);return i.return=e,i}Vo(e,t)}return"function"===typeof t&&qo(),null}function p(e,t,n,a){var r=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==r?null:l(e,t,""+n,a);if("object"===typeof n&&null!==n){switch(n.$$typeof){case Ff:return n.key===r?n.type===Bf?c(e,t,n.props.children,a,r):u(e,t,n,a):null;case Uf:return n.key===r?s(e,t,n,a):null}if(dv(n)||Ee(n))return null!==r?null:c(e,t,n,a,null);Vo(e,n)}return"function"===typeof n&&qo(),null}function d(e,t,n,a,r){if("string"===typeof a||"number"===typeof a){return l(t,e.get(n)||null,""+a,r)}if("object"===typeof a&&null!==a){switch(a.$$typeof){case Ff:var o=e.get(null===a.key?n:a.key)||null;return a.type===Bf?c(t,o,a.props.children,r,a.key):u(t,o,a,r);case Uf:return s(t,e.get(null===a.key?n:a.key)||null,a,r)}if(dv(a)||Ee(a)){return c(t,e.get(n)||null,a,r,null)}Vo(t,a)}return"function"===typeof a&&qo(),null}function m(e,t){if("object"!==typeof e||null===e)return t;switch(e.$$typeof){case Ff:case Uf:pv(e);var n=e.key;if("string"!==typeof n)break;if(null===t){t=new Set,t.add(n);break}if(!t.has(n)){t.add(n);break}yu(!1,"Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted \u2014 the behavior is unsupported and could change in a future version.%s",n,lv())}return t}function h(r,i,l,u){for(var s=null,c=0;c<l.length;c++){s=m(l[c],s)}for(var h=null,g=null,b=i,v=0,y=0,w=null;null!==b&&y<l.length;y++){b.index>y?(w=b,b=null):w=b.sibling;var _=p(r,b,l[y],u);if(null===_){null===b&&(b=w);break}e&&b&&null===_.alternate&&t(r,b),v=o(_,v,y),null===g?h=_:g.sibling=_,g=_,b=w}if(y===l.length)return n(r,b),h;if(null===b){for(;y<l.length;y++){var k=f(r,l[y],u);k&&(v=o(k,v,y),null===g?h=k:g.sibling=k,g=k)}return h}for(var x=a(r,b);y<l.length;y++){var E=d(x,r,y,l[y],u);E&&(e&&null!==E.alternate&&x.delete(null===E.key?y:E.key),v=o(E,v,y),null===g?h=E:g.sibling=E,g=E)}return e&&x.forEach(function(e){return t(r,e)}),h}function g(r,i,l,u){var s=Ee(l);"function"!==typeof s&&bu(!1,"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue."),l.entries===s&&(uv||yu(!1,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s",lv()),uv=!0);var c=s.call(l);if(c)for(var h=null,g=c.next();!g.done;g=c.next()){var b=g.value;h=m(b,h)}var v=s.call(l);null==v&&bu(!1,"An iterable object provided no iterator.");for(var y=null,w=null,_=i,k=0,x=0,E=null,C=v.next();null!==_&&!C.done;x++,C=v.next()){_.index>x?(E=_,_=null):E=_.sibling;var S=p(r,_,C.value,u);if(null===S){_||(_=E);break}e&&_&&null===S.alternate&&t(r,_),k=o(S,k,x),null===w?y=S:w.sibling=S,w=S,_=E}if(C.done)return n(r,_),y;if(null===_){for(;!C.done;x++,C=v.next()){var T=f(r,C.value,u);null!==T&&(k=o(T,k,x),null===w?y=T:w.sibling=T,w=T)}return y}for(var P=a(r,_);!C.done;x++,C=v.next()){var O=d(P,r,x,C.value,u);null!==O&&(e&&null!==O.alternate&&P.delete(null===O.key?x:O.key),k=o(O,k,x),null===w?y=O:w.sibling=O,w=O)}return e&&P.forEach(function(e){return t(r,e)}),y}function b(e,t,a,o){if(null!==t&&t.tag===is){n(e,t.sibling);var i=r(t,a,o);return i.return=e,i}n(e,t);var l=zr(a,e.mode,o);return l.return=e,l}function v(e,a,o,i){for(var l=o.key,u=a;null!==u;){if(u.key===l){if(u.tag===ls?o.type===Bf:u.type===o.type){n(e,u.sibling);var s=r(u,o.type===Bf?o.props.children:o.props,i);return s.ref=Ho(e,u,o),s.return=e,s._debugSource=o._source,s._debugOwner=o._owner,s}n(e,u);break}t(e,u),u=u.sibling}if(o.type===Bf){var c=Mr(o.props.children,e.mode,i,o.key);return c.return=e,c}var f=Ir(o,e.mode,i);return f.ref=Ho(e,a,o),f.return=e,f}function y(e,a,o,i){for(var l=o.key,u=a;null!==u;){if(u.key===l){if(u.tag===rs&&u.stateNode.containerInfo===o.containerInfo&&u.stateNode.implementation===o.implementation){n(e,u.sibling);var s=r(u,o.children||[],i);return s.return=e,s}n(e,u);break}t(e,u),u=u.sibling}var c=Fr(o,e.mode,i);return c.return=e,c}function w(e,t,a,r){var o="object"===typeof a&&null!==a&&a.type===Bf&&null===a.key;o&&(a=a.props.children);var l="object"===typeof a&&null!==a;if(l)switch(a.$$typeof){case Ff:return i(v(e,t,a,r));case Uf:return i(y(e,t,a,r))}if("string"===typeof a||"number"===typeof a)return i(b(e,t,""+a,r));if(dv(a))return h(e,t,a,r);if(Ee(a))return g(e,t,a,r);if(l&&Vo(e,a),"function"===typeof a&&qo(),"undefined"===typeof a&&!o)switch(e.tag){case ns:if(e.stateNode.render._isMockFunction)break;case ts:var u=e.type;bu(!1,"%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",u.displayName||u.name||"Component")}return n(e,t)}return w}function Ko(e,t){if(null!==e&&t.child!==e.child&&bu(!1,"Resuming work not yet implemented."),null!==t.child){var n=t.child,a=Nr(n,n.pendingProps,n.expirationTime);for(t.child=a,a.return=t;null!==n.sibling;)n=n.sibling,a=a.sibling=Nr(n,n.pendingProps,n.expirationTime),a.return=t;a.sibling=null}}function Go(e){if(!rg)return!1;var t=e.stateNode.containerInfo;return bv=Oa(t),gv=e,vv=!0,!0}function Qo(e,t){switch(e.tag){case as:Ma(e.stateNode.containerInfo,t);break;case os:Aa(e.type,e.memoizedProps,e.stateNode,t)}var n=Dr();n.stateNode=t,n.return=e,n.effectTag=Up,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Yo(e,t){switch(t.effectTag|=zp,e.tag){case as:var n=e.stateNode.containerInfo;switch(t.tag){case os:za(n,t.type,t.pendingProps);break;case is:Da(n,t.pendingProps)}break;case os:var a=e.type,r=e.memoizedProps,o=e.stateNode;switch(t.tag){case os:Fa(a,r,o,t.type,t.pendingProps);break;case is:Ua(a,r,o,t.pendingProps)}break;default:return}}function Xo(e,t){switch(e.tag){case os:var n=e.type,a=e.pendingProps,r=Sa(t,n,a);return null!==r&&(e.stateNode=r,!0);case is:var o=e.pendingProps,i=Ta(t,o);return null!==i&&(e.stateNode=i,!0);default:return!1}}function Jo(e){if(vv){var t=bv;if(!t)return Yo(gv,e),vv=!1,void(gv=e);var n=t;if(!Xo(e,t)){if(!(t=Pa(n))||!Xo(e,t))return Yo(gv,e),vv=!1,void(gv=e);Qo(gv,n)}gv=e,bv=Oa(t)}}function Zo(e,t,n){rg||bu(!1,"Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");var a=e.stateNode,r=Na(a,e.type,e.memoizedProps,t,n,e);return e.updateQueue=r,null!==r}function ei(e){rg||bu(!1,"Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.");var t=e.stateNode,n=e.memoizedProps,a=Ra(t,n,e);if(a){var r=gv;if(null!==r)switch(r.tag){case as:Ia(r.stateNode.containerInfo,t,n);break;case os:ja(r.type,r.memoizedProps,r.stateNode,t,n)}}return a}function ti(e){for(var t=e.return;null!==t&&t.tag!==os&&t.tag!==as;)t=t.return;gv=t}function ni(e){if(!rg)return!1;if(e!==gv)return!1;if(!vv)return ti(e),vv=!0,!1;var t=e.type;if(e.tag!==os||"head"!==t&&"body"!==t&&!da(t,e.memoizedProps))for(var n=bv;n;)Qo(e,n),n=Pa(n);return ti(e),bv=gv?Pa(e.stateNode):null,!0}function ai(){rg&&(gv=null,bv=null,vv=!1)}function ri(e,t,n){oi(e,t,n,t.expirationTime)}function oi(e,t,n,a){t.child=null===e?hv(t,null,n,a):mv(t,e.child,n,a)}function ii(e,t){var n=t.type.render,a=t.pendingProps,r=t.ref;if(mr());else if(t.memoizedProps===a){var o=null!==e?e.ref:null;if(r===o)return Ei(e,t)}var i=void 0;return Mf.current=t,Yf.setCurrentPhase("render"),i=n(a,r),Yf.setCurrentPhase(null),ri(e,t,i),Si(t,a),t.child}function li(e,t){var n=t.pendingProps;if(mr());else if(t.memoizedProps===n)return Ei(e,t);return ri(e,t,n),Si(t,n),t.child}function ui(e,t){var n=t.pendingProps.children;if(mr());else if(null===n||t.memoizedProps===n)return Ei(e,t);return ri(e,t,n),Si(t,n),t.child}function si(e,t){var n=t.pendingProps;return dg&&(t.effectTag|=Dp),t.memoizedProps===n?Ei(e,t):(ri(e,t,n.children),Si(t,n),t.child)}function ci(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=Hp)}function fi(e,t){var n=t.type,a=t.pendingProps;if(mr());else if(t.memoizedProps===a)return Ei(e,t);var r=fr(t),o=dr(t,r),i=void 0;return Mf.current=t,Yf.setCurrentPhase("render"),i=n(a,o),Yf.setCurrentPhase(null),t.effectTag|=Ap,ri(e,t,i),Si(t,a),t.child}function pi(e,t,n){var a=_r(t),r=void 0;return null===e?null===t.stateNode?(Do(t,t.pendingProps,n),Bo(t,n),r=!0):r=Lo(t,n):r=Wo(e,t,n),di(e,t,r,a,n)}function di(e,t,n,a,r){ci(e,t);var o=(t.effectTag&Wp)!==Mp;if(!n&&!o)return a&&kr(t,!1),Ei(e,t);var i=t.type,l=t.stateNode;Mf.current=t;var u=void 0;return!o||ig&&"function"===typeof i.getDerivedStateFromCatch?(Yf.setCurrentPhase("render"),u=l.render(),(ug||sg&&t.mode&tb)&&l.render(),Yf.setCurrentPhase(null)):(u=null,dg&&Io()),t.effectTag|=Ap,o&&(oi(e,t,null,r),t.child=null),oi(e,t,u,r),Ti(t,l.state),Si(t,l.props),a&&kr(t,!0),t.child}function mi(e){var t=e.stateNode;t.pendingContext?yr(e,t.pendingContext,t.pendingContext!==t.context):t.context&&yr(e,t.context,!1),bo(e,t.containerInfo)}function hi(e,t,n){mi(t);var a=t.updateQueue;if(null!==a){var r=t.pendingProps,o=t.memoizedState,i=null!==o?o.element:null;ro(t,a,r,null,n);var l=t.memoizedState,u=l.element;if(u===i)return ai(),Ei(e,t);var s=t.stateNode;return(null===e||null===e.child)&&s.hydrate&&Go(t)?(t.effectTag|=zp,t.child=hv(t,null,u,n)):(ai(),ri(e,t,u)),t.child}return ai(),Ei(e,t)}function gi(e,t,n){wo(t),null===e&&Jo(t);var a=t.type,r=t.memoizedProps,o=t.pendingProps,i=null!==e?e.memoizedProps:null;if(mr());else if(r===o){var l=t.mode&eb&&ma(a,o);if(l&&(t.expirationTime=Yg),!l||n!==Yg)return Ei(e,t)}var u=o.children;return da(a,o)?u=null:i&&da(a,i)&&(t.effectTag|=Bp),ci(e,t),n!==Yg&&t.mode&eb&&ma(a,o)?(t.expirationTime=Yg,t.memoizedProps=o,null):(ri(e,t,u),Si(t,o),t.child)}function bi(e,t){return null===e&&Jo(t),Si(t,t.pendingProps),null}function vi(e,t,n){null!==e&&bu(!1,"An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.");var a=t.type,r=t.pendingProps,o=fr(t),i=dr(t,o),l=void 0;if(a.prototype&&"function"===typeof a.prototype.render){var u=Ce(t)||"Unknown";wv[u]||(yu(!1,"The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",u,u),wv[u]=!0)}if(t.mode&tb&&hb.recordLegacyContextWarning(t,null),Mf.current=t,l=a(r,i),t.effectTag|=Ap,"object"===typeof l&&null!==l&&"function"===typeof l.render&&void 0===l.$$typeof){var s=t.type;t.tag=ns,t.memoizedState=null!==l.state&&void 0!==l.state?l.state:null;var c=s.getDerivedStateFromProps;"function"===typeof c&&jo(t,c,r);var f=_r(t);return zo(t,l),Bo(t,n),di(e,t,!0,f,n)}t.tag=ts;var p=t.type;if(p&&p.childContextTypes&&yu(!1,"%s(...): childContextTypes cannot be defined on a functional component.",p.displayName||p.name||"Component"),null!==t.ref){var d="",m=Yf.getCurrentFiberOwnerName();m&&(d+="\n\nCheck the render method of `"+m+"`.");var h=m||t._debugID||"",g=t._debugSource;g&&(h=g.fileName+":"+g.lineNumber),kv[h]||(kv[h]=!0,yu(!1,"Stateless function components cannot be given refs. Attempts to access this ref will fail.%s%s",d,Yf.getCurrentFiberStackAddendum()))}if("function"===typeof a.getDerivedStateFromProps){var b=Ce(t)||"Unknown";_v[b]||(yu(!1,"%s: Stateless functional components do not support getDerivedStateFromProps.",b),_v[b]=!0)}return ri(e,t,l),Si(t,r),t.child}function yi(e,t,n){if(lg){var a=t.pendingProps,r=t.memoizedProps,o=t.memoizedState,i=(t.effectTag&Wp)===Mp,l=!i;if(mr());else if(a===r&&l===o)return Ei(e,t);var u=a.children,s=u(l);return t.memoizedProps=a,t.memoizedState=l,ri(e,t,s),t.child}return null}function wi(e,t,n){bo(t,t.stateNode.containerInfo);var a=t.pendingProps;if(mr());else if(t.memoizedProps===a)return Ei(e,t);return null===e?(t.child=mv(t,null,a,n),Si(t,a)):(ri(e,t,a),Si(t,a)),t.child}function _i(e,t,n,a){var r=e.child;for(null!==r&&(r.return=e);null!==r;){var o=void 0;switch(r.tag){case ss:var i=0|r.stateNode;if(r.type===t&&0!==(i&n)){for(var l=r;null!==l;){var u=l.alternate;if(l.expirationTime===Gg||l.expirationTime>a)l.expirationTime=a,null!==u&&(u.expirationTime===Gg||u.expirationTime>a)&&(u.expirationTime=a);else{if(null===u||!(u.expirationTime===Gg||u.expirationTime>a))break;u.expirationTime=a}l=l.return}o=null}else o=r.child;break;case cs:o=r.type===e.type?null:r.child;break;default:o=r.child}if(null!==o)o.return=r;else for(o=r;null!==o;){if(o===e){o=null;break}var s=o.sibling;if(null!==s){s.return=o.return,o=s;break}o=o.return}r=o}}function ki(e,t,n){var a=t.type,r=a._context,o=t.pendingProps,i=t.memoizedProps,l=!0;if(mr())l=!1;else if(i===o)return t.stateNode=0,co(t),Ei(e,t);var u=o.value;t.memoizedProps=o;var s=t.type.propTypes;s&&xu(s,o,"prop","Context.Provider",yv);var c=void 0;if(null===i)c=Kg;else if(i.value===o.value){if(i.children===o.children&&l)return t.stateNode=0,co(t),Ei(e,t);c=0}else{var f=i.value;if(f===u&&(0!==f||1/f===1/u)||f!==f&&u!==u){if(i.children===o.children&&l)return t.stateNode=0,co(t),Ei(e,t);c=0}else if(c="function"===typeof r._calculateChangedBits?r._calculateChangedBits(f,u):Kg,(c&Kg)!==c&&yu(!1,"calculateChangedBits: Expected the return value to be a 31-bit integer. Instead received: %s",c),0===(c|=0)){if(i.children===o.children&&l)return t.stateNode=0,co(t),Ei(e,t)}else _i(t,r,c,n)}return t.stateNode=c,co(t),ri(e,t,o.children),t.child}function xi(e,t,n){var a=t.type,r=t.pendingProps,o=t.memoizedProps,i=po(a),l=mo(a);if(mr());else if(0===l&&o===r)return Ei(e,t);t.memoizedProps=r;var u=r.unstable_observedBits;if(void 0!==u&&null!==u||(u=Kg),t.stateNode=u,0!==(l&u))_i(t,a,l,n);else if(o===r)return Ei(e,t);var s=r.children;"function"!==typeof s&&yu(!1,"A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it.");var c=void 0;return Mf.current=t,Yf.setCurrentPhase("render"),c=s(i),Yf.setCurrentPhase(null),t.effectTag|=Ap,ri(e,t,c),t.child}function Ei(e,t){return qa(t),dg&&Io(),Ko(e,t),t.child}function Ci(e,t){switch(qa(t),dg&&Io(),t.tag){case as:mi(t);break;case ns:_r(t);break;case rs:bo(t,t.stateNode.containerInfo);break;case cs:co(t)}return null}function Si(e,t){e.memoizedProps=t}function Ti(e,t){e.memoizedState=t}function Pi(e,t,n){if(dg&&t.mode&nb&&Co(t),t.expirationTime===Gg||t.expirationTime>n)return Ci(e,t);switch(t.tag){case es:return vi(e,t,n);case ts:return fi(e,t);case ns:return pi(e,t,n);case as:return hi(e,t,n);case os:return gi(e,t,n);case is:return bi(e,t);case ds:return yi(e,t,n);case rs:return wi(e,t,n);case fs:return ii(e,t);case ls:return li(e,t);case us:return ui(e,t);case ps:return si(e,t);case cs:return ki(e,t,n);case ss:return xi(e,t,n);default:bu(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}function Oi(e){e.effectTag|=Dp}function Ni(e){e.effectTag|=Hp}function Ri(e,t){for(var n=t.child;null!==n;){if(n.tag===os||n.tag===is)ca(e,n.stateNode);else if(n.tag===rs);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)return;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Ii(e,t,n){var a=t.pendingProps;switch(dg&&t.mode&nb&&To(t),t.tag){case ts:return null;case ns:return br(t),null;case as:vo(t),vr(t);var r=t.stateNode;return r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(ni(t),t.effectTag&=~zp),xv(t),null;case os:_o(t);var o=go(),i=t.type;if(null!==e&&null!=t.stateNode){var l=e.memoizedProps,u=t.stateNode,s=yo(),c=pa(u,i,l,a,o,s);Ev(e,t,c,i,l,a,o,s),e.ref!==t.ref&&Ni(t)}else{if(!a)return null===t.stateNode&&bu(!1,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;var f=yo();if(ni(t))Zo(t,o,f)&&Oi(t);else{var p=sa(i,a,o,f,t);Ri(p,t),fa(p,i,a,o,f)&&Oi(t),t.stateNode=p}null!==t.ref&&Ni(t)}return null;case is:var d=a;if(e&&null!=t.stateNode){var m=e.memoizedProps;Cv(e,t,m,d)}else{if("string"!==typeof d)return null===t.stateNode&&bu(!1,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;var h=go(),g=yo();ni(t)?ei(t)&&Oi(t):t.stateNode=ha(d,h,g,t)}return null;case fs:case ds:case ls:case us:case ps:return null;case rs:return vo(t),xv(t),null;case cs:return fo(t),null;case ss:return null;case es:bu(!1,"An indeterminate component should have become determinate before completing. This error is likely caused by a bug in React. Please file an issue.");default:bu(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}function ji(e){return!0}function Mi(e){if(!1!==ji(e)){var t=e.error;if(!t||!t.suppressReactErrorLogging){var n=e.componentName,a=e.componentStack,r=e.errorBoundaryName,o=e.errorBoundaryFound,i=e.willRetry,l=n?"The above error occurred in the <"+n+"> component:":"The above error occurred in one of your React components:",u=void 0;u=o&&r?i?"React will try to recreate this component tree from scratch using the error boundary you provided, "+r+".":"This error was initially handled by the error boundary "+r+".\nRecreating the tree from scratch failed so React will unmount the tree.":"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://fb.me/react-error-boundaries to learn more about error boundaries.";var s=""+l+a+"\n\n"+u;console.error(s)}}}function Ai(e,t){var n=t.source,a=t.stack;null===a&&null!==n&&(a=Te(n));var r={componentName:null!==n?Ce(n):null,componentStack:null!==a?a:"",error:t.value,errorBoundary:null,errorBoundaryName:null,errorBoundaryFound:!1,willRetry:!1};null!==e&&e.tag===ns&&(r.errorBoundary=e.stateNode,r.errorBoundaryName=Ce(e),r.errorBoundaryFound=!0,r.willRetry=!0);try{Mi(r)}catch(e){var o=e&&e.suppressReactErrorLogging;o||console.error(e)}}function zi(e,t){if(Tv(null,Rv,null,e,t),Pv()){wl(e,Ov())}}function Di(e){var t=e.ref;if(null!==t)if("function"===typeof t){if(Tv(null,t,null,null),Pv()){var n=Ov();wl(e,n)}}else t.current=null}function Fi(e,t){switch(t.tag){case ns:if(t.effectTag&Vp&&null!==e){var n=e.memoizedProps,a=e.memoizedState;Ga(t,"getSnapshotBeforeUpdate");var r=t.stateNode;r.props=t.memoizedProps,r.state=t.memoizedState;var o=r.getSnapshotBeforeUpdate(n,a),i=Nv;void 0!==o||i.has(t.type)||(i.add(t.type),yu(!1,"%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",Ce(t))),r.__reactInternalSnapshotBeforeUpdate=o,Qa()}return;case as:case os:case is:case rs:return;default:bu(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function Ui(e,t,n,a,r){switch(n.tag){case ns:var o=n.stateNode;if(n.effectTag&Dp)if(null===t)Ga(n,"componentDidMount"),o.props=n.memoizedProps,o.state=n.memoizedState,o.componentDidMount(),Qa();else{var i=t.memoizedProps,l=t.memoizedState;Ga(n,"componentDidUpdate"),o.props=n.memoizedProps,o.state=n.memoizedState,o.componentDidUpdate(i,l,o.__reactInternalSnapshotBeforeUpdate),Qa()}var u=n.updateQueue;return void(null!==u&&(o.props=n.memoizedProps,o.state=n.memoizedState,uo(n,u,o,r)));case as:var s=n.updateQueue;if(null!==s){var c=null;if(null!==n.child)switch(n.child.tag){case os:c=ia(n.child.stateNode);break;case ns:c=n.child.stateNode}uo(n,s,c,r)}return;case os:var f=n.stateNode;if(null===t&&n.effectTag&Dp){ga(f,n.type,n.memoizedProps,n)}return;case is:case rs:case ps:case ds:return;default:bu(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function Bi(e){var t=e.ref;if(null!==t){var n=e.stateNode,a=void 0;switch(e.tag){case os:a=ia(n);break;default:a=n}"function"===typeof t?t(a):(t.hasOwnProperty("current")||yu(!1,"Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().%s",Ce(e),Te(e)),t.current=a)}}function Li(e){var t=e.ref;null!==t&&("function"===typeof t?t(null):t.current=null)}function Wi(e){switch("function"===typeof Vr&&Vr(e),e.tag){case ns:Di(e);var t=e.stateNode;return void("function"===typeof t.componentWillUnmount&&zi(e,t));case os:return void Di(e);case rs:return void(ag?Xi(e):Oh&&qi(e))}}function Hi(e){for(var t=e;;)if(Wi(t),null===t.child||ag&&t.tag===rs){if(t===e)return;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}else t.child.return=t,t=t.child}function Vi(e){e.return=null,e.child=null,e.alternate&&(e.alternate.child=null,e.alternate.return=null)}function qi(e){if(Oh){var t=e.stateNode,n=t.containerInfo,a=Rh(n);Mh(n,a)}}function $i(e){if(Oh)switch(e.tag){case ns:case os:case is:return;case as:case rs:var t=e.stateNode,n=t.containerInfo,a=t.pendingChildren;return void Mh(n,a);default:bu(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function Ki(e){for(var t=e.return;null!==t;){if(Gi(t))return t;t=t.return}bu(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}function Gi(e){return e.tag===os||e.tag===as||e.tag===rs}function Qi(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||Gi(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==os&&t.tag!==is;){if(t.effectTag&zp)continue e;if(null===t.child||t.tag===rs)continue e;t.child.return=t,t=t.child}if(!(t.effectTag&zp))return t.stateNode}}function Yi(e){if(ag){var t=Ki(e),n=void 0,a=void 0;switch(t.tag){case os:n=t.stateNode,a=!1;break;case as:case rs:n=t.stateNode.containerInfo,a=!0;break;default:bu(!1,"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}t.effectTag&Bp&&(va(n),t.effectTag&=~Bp);for(var r=Qi(e),o=e;;){if(o.tag===os||o.tag===is)r?a?xa(n,o.stateNode,r):ka(n,o.stateNode,r):a?_a(n,o.stateNode):wa(n,o.stateNode);else if(o.tag===rs);else if(null!==o.child){o.child.return=o,o=o.child;continue}if(o===e)return;for(;null===o.sibling;){if(null===o.return||o.return===e)return;o=o.return}o.sibling.return=o.return,o=o.sibling}}}function Xi(e){for(var t=e,n=!1,a=void 0,r=void 0;;){if(!n){var o=t.return;e:for(;;){switch(null===o&&bu(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."),o.tag){case os:a=o.stateNode,r=!1;break e;case as:case rs:a=o.stateNode.containerInfo,r=!0;break e}o=o.return}n=!0}if(t.tag===os||t.tag===is)Hi(t),r?Ca(a,t.stateNode):Ea(a,t.stateNode);else if(t.tag===rs){if(a=t.stateNode.containerInfo,null!==t.child){t.child.return=t,t=t.child;continue}}else if(Wi(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return,t.tag===rs&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function Ji(e){ag?Xi(e):Hi(e),Vi(e)}function Zi(e,t){if(!ag)return void $i(t);switch(t.tag){case ns:return;case os:var n=t.stateNode;if(null!=n){var a=t.memoizedProps,r=null!==e?e.memoizedProps:a,o=t.type,i=t.updateQueue;t.updateQueue=null,null!==i&&ba(n,i,o,r,a,t)}return;case is:null===t.stateNode&&bu(!1,"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var l=t.stateNode,u=t.memoizedProps;return void ya(l,null!==e?e.memoizedProps:u,u);case as:return;case ps:if(dg){(0,t.memoizedProps.onRender)(t.memoizedProps.id,null===e?"mount":"update",t.actualDuration,t.treeBaseTime,t.actualStartTime,ko())}return;case ds:return;default:bu(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function el(e){ag&&va(e.stateNode)}function tl(e,t,n){var a=Jr(n);a.tag=Ib,a.payload={element:null};var r=t.value;return a.callback=function(){Vl(r),Ai(e,t)},a}function nl(e,t,n){var a=Jr(n);a.tag=Ib;var r=e.type.getDerivedStateFromCatch;if(ig&&"function"===typeof r){var o=t.value;a.payload=function(){return r(o)}}var i=e.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(a.callback=function(){ig&&"function"===r||pl(this);var n=t.value,a=t.stack;Ai(e,t),this.componentDidCatch(n,{componentStack:null!==a?a:""})}),a}function al(e){var t=Pl(),n=El(t,e);eo(e,Jr(n),n),Tl(e,n)}function rl(e,t,n,a,r,o,i){if(n.effectTag|=$p,n.firstEffect=n.lastEffect=null,lg&&null!==a&&"object"===typeof a&&"function"===typeof a.then){var l=a,u=Cr(o),s=u-5e3,c=i-s;c<0&&(c=0);var f=u-i,p=t,d=-1;e:do{if(p.tag===ds){var m=p.alternate;if(null!==m&&!0===m.memoizedState){d=0;break e}var h=p.pendingProps.ms;if("number"===typeof h){if(h<=0){d=0;break e}(-1===d||h<d)&&(d=h)}else-1===d&&(d=f)}p=p.return}while(null!==p);var g=d-c;if(o===Yg||g>0){Cl(e,l,g,o);var b=function(){Sl(e,o)};return void l.then(b,b)}p=t;do{switch(p.tag){case as:var v=o===Qg?"A synchronous update was suspended, but no fallback UI was provided.":"An update was suspended for longer than the timeout, but no fallback UI was provided.";a=new Error(v);break;case ds:if((p.effectTag&Wp)===Mp){p.effectTag|=Kp;var y=al.bind(null,p);return void l.then(y,y)}}p=p.return}while(null!==p)}a=so(a,n);var w=t;do{switch(w.tag){case as:var _=a;w.effectTag|=Kp;return void to(w,tl(w,_,o),o);case ns:var k=a,x=w.type,E=w.stateNode;if((w.effectTag&Wp)===Mp&&("function"===typeof x.getDerivedStateFromCatch&&ig||null!==E&&"function"===typeof E.componentDidCatch&&!fl(E))){w.effectTag|=Kp;return void to(w,nl(w,k,o),o)}}w=w.return}while(null!==w)}function ol(e,t,n){switch(dg&&e.mode&nb&&To(e),e.tag){case ns:br(e);var a=e.effectTag;return a&Kp?(e.effectTag=a&~Kp|Wp,e):null;case as:vo(e),vr(e);var r=e.effectTag;return r&Kp?(e.effectTag=r&~Kp|Wp,e):null;case os:return _o(e),null;case ds:var o=e.effectTag;return o&Kp?(e.effectTag=o&~Kp|Wp,e):null;case rs:return vo(e),null;case cs:return fo(e),null;default:return null}}function il(e){switch(dg&&e.mode&nb&&(Oo(),To(e)),e.tag){case ns:br(e);break;case as:vo(e),vr(e);break;case os:_o(e);break;case rs:vo(e);break;case cs:fo(e)}}function ll(){if(null!==$v)for(var e=$v.return;null!==e;)il(e),e=e.return;hb.discardPendingWarnings(),sr(),Kv=null,Gv=Gg,Qv=-1,Yv=!1,$v=null,Zv=!1}function ul(){for(;null!==Xv;){Yf.setCurrentFiber(Xv),Ba();var e=Xv.effectTag;if(e&Bp&&el(Xv),e&Hp){var t=Xv.alternate;null!==t&&Li(t)}switch(e&(zp|Dp|Up)){case zp:Yi(Xv),Xv.effectTag&=~zp;break;case Fp:Yi(Xv),Xv.effectTag&=~zp;Zi(Xv.alternate,Xv);break;case Dp:Zi(Xv.alternate,Xv);break;case Up:Ji(Xv)}Xv=Xv.nextEffect}Yf.resetCurrentFiber()}function sl(){for(;null!==Xv;){if(Xv.effectTag&Vp){Ba();Fi(Xv.alternate,Xv)}Xv=Xv.nextEffect}}function cl(e,t,n){for(hb.flushPendingUnsafeLifecycleWarnings(),fg&&hb.flushPendingDeprecationWarnings(),pg&&hb.flushLegacyContextWarning();null!==Xv;){var a=Xv.effectTag;if(a&(Dp|Lp)){Ba();Ui(e,Xv.alternate,Xv,t,n)}a&Hp&&(Ba(),Bi(Xv));var r=Xv.nextEffect;Xv.nextEffect=null,Xv=r}}function fl(e){return null!==ey&&ey.has(e)}function pl(e){null===ey?ey=new Set([e]):ey.add(e)}function dl(e){qv=!0,Jv=!0,Ja();var t=e.stateNode;t.current===e&&bu(!1,"Cannot commit the same tree as before. This is probably a bug related to the return field. This error is likely caused by a bug in React. Please file an issue.");var n=t.pendingCommitExpirationTime;n===Gg&&bu(!1,"Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue."),t.pendingCommitExpirationTime=Gg;var a=Pl();Mf.current=null;var r=void 0;for(e.effectTag>Ap?null!==e.lastEffect?(e.lastEffect.nextEffect=e,r=e.firstEffect):r=e:r=e.firstEffect,la(t.containerInfo),Xv=r,er();null!==Xv;){var o=!1,i=void 0;Iv(null,sl,null),jv()&&(o=!0,i=Mv()),o&&(null===Xv&&bu(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),wl(Xv,i),null!==Xv&&(Xv=Xv.nextEffect))}for(tr(),dg&&xo(),Xv=r,nr();null!==Xv;){var l=!1,u=void 0;Iv(null,ul,null),jv()&&(l=!0,u=Mv()),l&&(null===Xv&&bu(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),wl(Xv,u),null!==Xv&&(Xv=Xv.nextEffect))}for(ar(),ua(t.containerInfo),t.current=e,Xv=r,rr();null!==Xv;){var s=!1,c=void 0;Iv(null,cl,null,t,a,n),jv()&&(s=!0,c=Mv()),s&&(null===Xv&&bu(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),wl(Xv,c),null!==Xv&&(Xv=Xv.nextEffect))}dg&&(Eo(),Po()),Jv=!1,qv=!1,or(),Za(),"function"===typeof Hr&&Hr(e.stateNode),Pb.debugTool&&Pb.debugTool.onCommitWork(e),$r(t,a,t.current.expirationTime);var f=Qr(t);return f===Gg&&(ey=null),f}function ml(e,t){if(t===Yg||e.expirationTime!==Yg){var n=Gg;switch(e.tag){case as:case ns:var a=e.updateQueue;null!==a&&(n=a.expirationTime)}if(dg&&e.mode&nb){for(var r=e.selfBaseTime,o=e.child;null!==o;)r+=o.treeBaseTime,o.expirationTime!==Gg&&(n===Gg||n>o.expirationTime)&&(n=o.expirationTime),o=o.sibling;e.treeBaseTime=r}else for(var i=e.child;null!==i;)i.expirationTime!==Gg&&(n===Gg||n>i.expirationTime)&&(n=i.expirationTime),i=i.sibling;e.expirationTime=n}}function hl(e){for(;;){var t=e.alternate;Yf.setCurrentFiber(e);var n=e.return,a=e.sibling;if((e.effectTag&$p)===Mp){var r=Ii(t,e,Gv);if($a(e),ml(e,Gv),Yf.resetCurrentFiber(),null!==r)return $a(e),Pb.debugTool&&Pb.debugTool.onCompleteWork(e),r;if(null!==n&&(n.effectTag&$p)===Mp){null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect);e.effectTag>Ap&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)}if(Pb.debugTool&&Pb.debugTool.onCompleteWork(e),null!==a)return a;if(null!==n){e=n;continue}return Zv=!0,null}var o=ol(e,Yv,Gv);if(e.effectTag&Wp?Ka(e):$a(e),Yf.resetCurrentFiber(),null!==o)return $a(e),Pb.debugTool&&Pb.debugTool.onCompleteWork(e),o.effectTag&=qp,o;if(null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=$p),Pb.debugTool&&Pb.debugTool.onCompleteWork(e),null!==a)return a;if(null===n)return null;e=n}return null}function gl(e){var t=e.alternate;Va(e),Yf.setCurrentFiber(e),cg&&(ny=Ur(ny,e));var n=void 0;return dg?(e.mode&nb&&Ro(),n=Pi(t,e,Gv),e.mode&nb&&(No(e),Io())):n=Pi(t,e,Gv),Yf.resetCurrentFiber(),ry&&iy(),Pb.debugTool&&Pb.debugTool.onBeginWork(e),null===n&&(n=hl(e)),Mf.current=null,n}function bl(e){if(e){for(;null!==$v&&!Hl();)$v=gl($v);dg&&So()}else for(;null!==$v;)$v=gl($v)}function vl(e,t,n){qv&&bu(!1,"renderRoot was called recursively. This error is likely caused by a bug in React. Please file an issue."),qv=!0,t===Gv&&e===Kv&&null!==$v||(ll(),Kv=e,Gv=t,Qv=-1,$v=Nr(Kv.current,null,Gv),e.pendingCommitExpirationTime=Gg);var a=!1;for(Yv=!n||Gv<=Lv,Ya($v);;){try{bl(n)}catch(t){if(dg&&Io(),null===$v)a=!0,Vl(t);else{zb();var r=$v;cg&&ay(r,t,n),null===$v&&bu(!1,"Failed to replay rendering after an error. This is likely caused by a bug in React. Please file an issue with a reproducing case to help us find it.");var o=$v,i=o.return;if(null===i){a=!0,Vl(t);break}rl(e,i,o,t,Yv,Gv,Wv),$v=hl(o)}}break}var l=!1;if(qv=!1,a)return Xa(ty,l),ty=null,cr(),null;if(null===$v){if(Zv){l=!0,Xa(ty,l),ty=null,e.pendingCommitExpirationTime=t;return e.current.alternate}Xa(ty,l),ty=null,Yv&&bu(!1,"Expired work should have completed. This error is likely caused by a bug in React. Please file an issue."),Kr(e,t),Qv>=0&&setTimeout(function(){Sl(e,t)},Qv);return ql(Qr(e)),null}return Xa(ty,l),ty=null,null}function yl(e,t,n){qv&&!Jv&&bu(!1,"dispatch: Cannot dispatch during the render phase.");for(var a=e.return;null!==a;){switch(a.tag){case ns:var r=a.type,o=a.stateNode;if("function"===typeof r.getDerivedStateFromCatch||"function"===typeof o.componentDidCatch&&!fl(o)){return eo(a,nl(a,so(t,e),n),n),void Tl(a,n)}break;case as:return eo(a,tl(a,so(t,e),n),n),void Tl(a,n)}a=a.return}if(e.tag===as){var i=e;eo(i,tl(i,so(t,i),n),n),Tl(i,n)}}function wl(e,t){return yl(e,t,Qg)}function _l(e){return Tr(e,5e3,250)}function kl(e){var t=void 0;t=500;return Tr(e,t,100)}function xl(){var e=Pl(),t=_l(e);return t<=Hv&&(t=Hv+1),Hv=t}function El(e,t){var n=void 0;return n=Vv!==Gg?Vv:qv?Jv?Qg:Gv:t.mode&eb?_y?kl(e):_l(e):Qg,_y&&(my===Gg||n>my)&&(my=n),n}function Cl(e,t,n,a){n>=0&&Qv<n&&(Qv=n)}function Sl(e,t){Gr(e,t);var n=Qr(e);n!==Gg&&Il(e,n)}function Tl(e,t){if(La(),e.tag===ns){var n=e.stateNode;Fv(n)}for(var a=e;null!==a;){if((a.expirationTime===Gg||a.expirationTime>t)&&(a.expirationTime=t),null!==a.alternate&&(a.alternate.expirationTime===Gg||a.alternate.expirationTime>t)&&(a.alternate.expirationTime=t),null===a.return){if(a.tag!==as)return void(e.tag===ns&&Dv(e));var r=a.stateNode;!qv&&Gv!==Gg&&t<Gv&&(ty=e,ll()),qr(r,t);var o=Qr(r);qv&&!Jv&&Kv===r||jl(r,o),Ey>xy&&bu(!1,"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.")}a=a.return}}function Pl(){return Wv=Zh()-Bv,Lv=Er(Wv)}function Ol(e){var t=Vv,n=Pl();Vv=_l(n);try{return e()}finally{Vv=t}}function Nl(e,t,n,a,r){var o=Vv;Vv=Qg;try{return e(t,n,a,r)}finally{Vv=o}}function Rl(e){if(sy!==Gg){if(e>sy)return;null!==cy&&ng(cy)}else Wa();var t=Zh()-Bv,n=Cr(e),a=n-t;sy=e,cy=tg(zl,{timeout:a})}function Il(e,t){(e.remainingExpirationTime===Gg||e.remainingExpirationTime<t)&&jl(e,t)}function jl(e,t){if(Ml(e,t),!fy)return yy?void(wy&&(py=e,dy=Qg,Ll(e,Qg,!1))):void(t===Qg?Dl():Rl(t))}function Ml(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===uy?(ly=uy=e,e.nextScheduledRoot=e):(uy.nextScheduledRoot=e,uy=e,uy.nextScheduledRoot=ly);else{var n=e.remainingExpirationTime;(n===Gg||t<n)&&(e.remainingExpirationTime=t)}}function Al(){var e=Gg,t=null;if(null!==uy)for(var n=uy,a=ly;null!==a;){var r=a.remainingExpirationTime;if(r===Gg){if((null===n||null===uy)&&bu(!1,"Should have a previous and last root. This error is likely caused by a bug in React. Please file an issue."),a===a.nextScheduledRoot){a.nextScheduledRoot=null,ly=uy=null;break}if(a===ly){var o=a.nextScheduledRoot;ly=o,uy.nextScheduledRoot=o,a.nextScheduledRoot=null}else{if(a===uy){uy=n,uy.nextScheduledRoot=ly,a.nextScheduledRoot=null;break}n.nextScheduledRoot=a.nextScheduledRoot,a.nextScheduledRoot=null}a=n.nextScheduledRoot}else{if((e===Gg||r<e)&&(e=r,t=a),a===uy)break;n=a,a=a.nextScheduledRoot}}var i=py;null!==i&&i===t&&e===Qg?Ey++:Ey=0,py=t,dy=e}function zl(e){Fl(Gg,!0,e)}function Dl(){Fl(Qg,!1,null)}function Fl(e,t,n){if(vy=n,Al(),dg&&Oo(),og&&null!==vy){Ha(dy<Pl(),Cr(dy))}if(t)for(;null!==py&&dy!==Gg&&(e===Gg||e>=dy)&&(!hy||Pl()>=dy);)Pl(),Ll(py,dy,!hy),Al();else for(;null!==py&&dy!==Gg&&(e===Gg||e>=dy);)Ll(py,dy,!1),Al();null!==vy&&(sy=Gg,cy=null),dy!==Gg&&Rl(dy),vy=null,hy=!1,Bl()}function Ul(e,t){fy&&bu(!1,"work.commit(): Cannot commit while already rendering. This likely means you attempted to commit from inside a lifecycle method."),py=e,dy=t,Ll(e,t,!1),Dl(),Bl()}function Bl(){if(Ey=0,null!==ky){var e=ky;ky=null;for(var t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(a){gy||(gy=!0,by=a)}}}if(gy){var a=by;throw by=null,gy=!1,a}}function Ll(e,t,n){if(fy&&bu(!1,"performWorkOnRoot was called recursively. This error is likely caused by a bug in React. Please file an issue."),fy=!0,n){var a=e.finishedWork;null!==a?Wl(e,a,t):null!==(a=vl(e,t,!0))&&(Hl()?(e.finishedWork=a,dg&&So()):Wl(e,a,t))}else{var r=e.finishedWork;null!==r?Wl(e,r,t):null!==(r=vl(e,t,!1))&&Wl(e,r,t)}fy=!1}function Wl(e,t,n){var a=e.firstBatch;if(null!==a&&a._expirationTime<=n&&(null===ky?ky=[a]:ky.push(a),a._defer))return e.finishedWork=t,void(e.remainingExpirationTime=Gg);e.finishedWork=null,e.remainingExpirationTime=dl(t)}function Hl(){return null!==vy&&(!(vy.timeRemaining()>Cy)&&(hy=!0,!0))}function Vl(e){null===py&&bu(!1,"Should be working on a root. This error is likely caused by a bug in React. Please file an issue."),py.remainingExpirationTime=Gg,gy||(gy=!0,by=e)}function ql(e){null===py&&bu(!1,"Should be working on a root. This error is likely caused by a bug in React. Please file an issue."),py.remainingExpirationTime=e}function $l(e,t){var n=yy;yy=!0;try{return e(t)}finally{yy=n,yy||fy||Dl()}}function Kl(e,t){if(yy&&!wy){wy=!0;try{return e(t)}finally{wy=!1}}return e(t)}function Gl(e,t){fy&&bu(!1,"flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering.");var n=yy;yy=!0;try{return Nl(e,t)}finally{yy=n,Dl()}}function Ql(e,t,n){if(_y)return e(t,n);yy||fy||my===Gg||(Fl(my,!1,null),my=Gg);var a=_y,r=yy;_y=!0,yy=!0;try{return e(t,n)}finally{_y=a,yy=r,yy||fy||Dl()}}function Yl(){fy||my===Gg||(Fl(my,!1,null),my=Gg)}function Xl(e){var t=yy;yy=!0;try{Nl(e)}finally{yy=t,yy||fy||Fl(Qg,!1,null)}}function Jl(e){if(!e)return Tu;var t=ht(e),n=xr(t);return gr(t)?wr(t,n):n}function Zl(e,t,n,a){"render"!==Yf.phase||null===Yf.current||Sy||(Sy=!0,yu(!1,"Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",Ce(Yf.current)||"Unknown"));var r=Jr(n);return r.payload={element:t},a=void 0===a?null:a,null!==a&&("function"!==typeof a&&yu(!1,"render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a),r.callback=a),eo(e,r,n),Tl(e,n),n}function eu(e,t,n,a,r){var o=t.current;Pb.debugTool&&(null===o.alternate?Pb.debugTool.onMountContainer(t):null===e?Pb.debugTool.onUnmountContainer(t):Pb.debugTool.onUpdateContainer(t));var i=Jl(n);return null===t.context?t.context=i:t.pendingContext=i,Zl(o,e,a,r)}function tu(e){var t=ht(e);void 0===t&&("function"===typeof e.render?bu(!1,"Unable to find node on an unmounted component."):bu(!1,"Argument appears to not be a ReactComponent. Keys: %s",Object.keys(e)));var n=xt(t);return null===n?null:n.stateNode}function nu(e,t,n){return Br(e,t,n)}function au(e,t,n,a){var r=t.current;return eu(e,t,n,El(Pl(),r),a)}function ru(e){var t=e.current;if(!t.child)return null;switch(t.child.tag){case os:return ia(t.child.stateNode);default:return t.child.stateNode}}function ou(e){var t=Et(e);return null===t?null:t.stateNode}function iu(e){var t=e.findFiberByHostInstance;return Wr(_u({},e,{findHostInstanceByFiber:function(e){var t=xt(e);return null===t?null:t.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}function lu(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Uf,key:null==a?null:""+a,children:e,containerInfo:t,implementation:n}}function uu(e){var t=xl();this._expirationTime=t,this._root=e,this._next=null,this._callbacks=null,this._didComplete=!1,this._hasChildren=!1,this._children=null,this._defer=!0}function su(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function cu(e,t,n){var a=nu(e,t,n);this._internalRoot=a}function fu(e){return!(!e||e.nodeType!==Pf&&e.nodeType!==Rf&&e.nodeType!==If&&(e.nodeType!==Nf||" react-mount-point-unstable "!==e.nodeValue))}function pu(e){return e?e.nodeType===Rf?e.documentElement:e.firstChild:null}function du(e){var t=pu(e);return!(!t||t.nodeType!==Pf||!t.hasAttribute(op))}function mu(e,t){var n=t||du(e);if(!n)for(var a=!1,r=void 0;r=e.lastChild;)!a&&r.nodeType===Pf&&r.hasAttribute(op)&&(a=!0,yu(!1,"render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.")),e.removeChild(r);!n||t||Ry||(Ry=!0,mb(!1,"render(): Calling ReactDOM.render() to hydrate server-rendered markup will stop working in React v17. Replace the ReactDOM.render() call with ReactDOM.hydrate() if you want React to attach to the server HTML."));return new cu(e,!1,n)}function hu(e,t,n,a,r){fu(n)||bu(!1,"Target container is not a DOM element."),Py(n);var o=n._reactRootContainer;if(o){if("function"===typeof r){var i=r;r=function(){var e=ru(o._internalRoot);i.call(e)}}null!=e?o.legacy_renderSubtreeIntoContainer(e,t,r):o.render(t,r)}else{if(o=n._reactRootContainer=mu(n,a),"function"===typeof r){var l=r;r=function(){var e=ru(o._internalRoot);l.call(e)}}Kl(function(){null!=e?o.legacy_renderSubtreeIntoContainer(e,t,r):o.render(t,r)})}return ru(o._internalRoot)}function gu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return fu(t)||bu(!1,"Target container is not a DOM element."),lu(e,t,null,n)}var bu=n(24),vu=n(5),yu=n(70),wu=n(71),_u=n(13),ku=n(14),xu=n(34),Eu=n(72),Cu=n(73),Su=n(74),Tu=n(25),Pu=n(209),Ou=n(211);vu||bu(!1,"ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var Nu=function(e,t,n,a,r,o,i,l,u){this._hasCaughtError=!1,this._caughtError=null;var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this._caughtError=e,this._hasCaughtError=!0}};if("undefined"!==typeof window&&"function"===typeof window.dispatchEvent&&"undefined"!==typeof document&&"function"===typeof document.createEvent){var Ru=document.createElement("react");Nu=function(e,t,n,a,r,o,i,l,u){function s(){Ru.removeEventListener(b,s,!1),t.apply(n,d),p=!1}function c(e){m=e.error,h=!0,null===m&&0===e.colno&&0===e.lineno&&(g=!0)}"undefined"===typeof document&&bu(!1,"The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var f=document.createEvent("Event"),p=!0,d=Array.prototype.slice.call(arguments,3),m=void 0,h=!1,g=!1,b="react-"+(e||"invokeguardedcallback");window.addEventListener("error",c),Ru.addEventListener(b,s,!1),f.initEvent(b,!1,!1),Ru.dispatchEvent(f),p?(h?g&&(m=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.")):m=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this._hasCaughtError=!0,this._caughtError=m):(this._hasCaughtError=!1,this._caughtError=null),window.removeEventListener("error",c)}}var Iu=Nu,ju={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(e,t,n,a,r,o,i,l,u){Iu.apply(ju,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,a,r,o,i,l,u){if(ju.invokeGuardedCallback.apply(this,arguments),ju.hasCaughtError()){var s=ju.clearCaughtError();ju._hasRethrowError||(ju._hasRethrowError=!0,ju._rethrowError=s)}},rethrowCaughtError:function(){return Mu.apply(ju,arguments)},hasCaughtError:function(){return ju._hasCaughtError},clearCaughtError:function(){if(ju._hasCaughtError){var e=ju._caughtError;return ju._caughtError=null,ju._hasCaughtError=!1,e}bu(!1,"clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}},Mu=function(){if(ju._hasRethrowError){var e=ju._rethrowError;throw ju._rethrowError=null,ju._hasRethrowError=!1,e}},Au=null,zu={},Du=[],Fu={},Uu={},Bu={},Lu={},Wu=Object.freeze({plugins:Du,eventNameDispatchConfigs:Fu,registrationNameModules:Uu,registrationNameDependencies:Bu,possibleRegistrationNames:Lu,injectEventPluginOrder:o,injectEventPluginsByName:i}),Hu=null,Vu=null,qu=null,$u={injectComponentTree:function(e){Hu=e.getFiberCurrentPropsFromNode,Vu=e.getInstanceFromNode,(qu=e.getNodeFromInstance)&&Vu||yu(!1,"EventPluginUtils.injection.injectComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode.")}},Ku=void 0;Ku=function(e){var t=e._dispatchListeners,n=e._dispatchInstances,a=Array.isArray(t),r=a?t.length:t?1:0,o=Array.isArray(n),i=o?n.length:n?1:0;(o!==a||i!==r)&&yu(!1,"EventPluginUtils: Invalid `event`.")};var Gu=null,Qu=function(e,t){e&&(u(e,t),e.isPersistent()||e.constructor.release(e))},Yu=function(e){return Qu(e,!0)},Xu=function(e){return Qu(e,!1)},Ju={injectEventPluginOrder:o,injectEventPluginsByName:i},Zu=Object.freeze({injection:Ju,getListener:d,runEventsInBatch:h,runExtractedEventsInBatch:g}),es=0,ts=1,ns=2,as=3,rs=4,os=5,is=6,ls=10,us=11,ss=12,cs=13,fs=14,ps=15,ds=16,ms=Math.random().toString(36).slice(2),hs="__reactInternalInstance$"+ms,gs="__reactEventHandlers$"+ms,bs=Object.freeze({precacheFiberNode:b,getClosestInstanceFromNode:v,getInstanceFromNode:y,getNodeFromInstance:w,getFiberCurrentPropsFromNode:_,updateFiberProps:k}),vs=Object.freeze({accumulateTwoPhaseDispatches:M,accumulateTwoPhaseDispatchesSkipTarget:A,accumulateEnterLeaveDispatches:z,accumulateDirectDispatches:D}),ys={animationend:B("Animation","AnimationEnd"),animationiteration:B("Animation","AnimationIteration"),animationstart:B("Animation","AnimationStart"),transitionend:B("Transition","TransitionEnd")},ws={},_s={};wu.canUseDOM&&(_s=document.createElement("div").style,"AnimationEvent"in window||(delete ys.animationend.animation,delete ys.animationiteration.animation,delete ys.animationstart.animation),"TransitionEvent"in window||delete ys.transitionend.transition);var ks=F("abort"),xs=F(L("animationend")),Es=F(L("animationiteration")),Cs=F(L("animationstart")),Ss=F("blur"),Ts=F("canplay"),Ps=F("canplaythrough"),Os=F("cancel"),Ns=F("change"),Rs=F("click"),Is=F("close"),js=F("compositionend"),Ms=F("compositionstart"),As=F("compositionupdate"),zs=F("contextmenu"),Ds=F("copy"),Fs=F("cut"),Us=F("dblclick"),Bs=F("drag"),Ls=F("dragend"),Ws=F("dragenter"),Hs=F("dragexit"),Vs=F("dragleave"),qs=F("dragover"),$s=F("dragstart"),Ks=F("drop"),Gs=F("durationchange"),Qs=F("emptied"),Ys=F("encrypted"),Xs=F("ended"),Js=F("error"),Zs=F("focus"),ec=F("gotpointercapture"),tc=F("input"),nc=F("invalid"),ac=F("keydown"),rc=F("keypress"),oc=F("keyup"),ic=F("load"),lc=F("loadstart"),uc=F("loadeddata"),sc=F("loadedmetadata"),cc=F("lostpointercapture"),fc=F("mousedown"),pc=F("mousemove"),dc=F("mouseout"),mc=F("mouseover"),hc=F("mouseup"),gc=F("paste"),bc=F("pause"),vc=F("play"),yc=F("playing"),wc=F("pointercancel"),_c=F("pointerdown"),kc=F("pointermove"),xc=F("pointerout"),Ec=F("pointerover"),Cc=F("pointerup"),Sc=F("progress"),Tc=F("ratechange"),Pc=F("reset"),Oc=F("scroll"),Nc=F("seeked"),Rc=F("seeking"),Ic=F("selectionchange"),jc=F("stalled"),Mc=F("submit"),Ac=F("suspend"),zc=F("textInput"),Dc=F("timeupdate"),Fc=F("toggle"),Uc=F("touchcancel"),Bc=F("touchend"),Lc=F("touchmove"),Wc=F("touchstart"),Hc=F(L("transitionend")),Vc=F("volumechange"),qc=F("waiting"),$c=F("wheel"),Kc=[ks,Ts,Ps,Gs,Qs,Ys,Xs,Js,uc,sc,lc,bc,vc,yc,Sc,Tc,Nc,Rc,jc,Ac,Dc,Vc,qc],Gc=null,Qc={_root:null,_startText:null,_fallbackText:null},Yc=!1,Xc=10,Jc=["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"],Zc={type:null,target:null,currentTarget:ku.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};_u(G.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ku.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ku.thatReturnsTrue)},persist:function(){this.isPersistent=ku.thatReturnsTrue},isPersistent:ku.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)Object.defineProperty(this,t,Q(t,e[t]));for(var n=0;n<Jc.length;n++)this[Jc[n]]=null;Object.defineProperty(this,"nativeEvent",Q("nativeEvent",null)),Object.defineProperty(this,"preventDefault",Q("preventDefault",ku)),Object.defineProperty(this,"stopPropagation",Q("stopPropagation",ku))}}),G.Interface=Zc,G.extend=function(e){function t(){return n.apply(this,arguments)}var n=this,a=function(){};a.prototype=n.prototype;var r=new a;return _u(r,t.prototype),t.prototype=r,t.prototype.constructor=t,t.Interface=_u({},n.Interface,e),t.extend=n.extend,J(t),t},"function"===typeof Proxy&&!Object.isSealed(new Proxy({},{}))&&(G=new Proxy(G,{construct:function(e,t){return this.apply(e,Object.create(e.prototype),t)},apply:function(e,t,n){return new Proxy(e.apply(t,n),{set:function(e,t,n){return"isPersistent"===t||e.constructor.Interface.hasOwnProperty(t)||-1!==Jc.indexOf(t)||(Yc||e.isPersistent()||yu(!1,"This synthetic event is reused for performance reasons. If you're seeing this, you're adding a new property in the synthetic event object. The property is never released. See https://fb.me/react-event-pooling for more information."),Yc=!0),e[t]=n,!0}})}})),J(G);var ef=G,tf=ef.extend({data:null}),nf=ef.extend({data:null}),af=[9,13,27,32],rf=229,of=wu.canUseDOM&&"CompositionEvent"in window,lf=null;wu.canUseDOM&&"documentMode"in document&&(lf=document.documentMode);var uf=wu.canUseDOM&&"TextEvent"in window&&!lf,sf=wu.canUseDOM&&(!of||lf&&lf>8&&lf<=11),cf=32,ff=String.fromCharCode(cf),pf={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:[js,rc,zc,gc]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:[Ss,js,ac,rc,oc,fc]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:[Ss,Ms,ac,rc,oc,fc]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:[Ss,As,ac,rc,oc,fc]}},df=!1,mf=!1,hf={eventTypes:pf,extractEvents:function(e,t,n,a){var r=re(e,t,n,a),o=le(e,t,n,a);return null===r?o:null===o?r:[r,o]}},gf=null,bf={injectFiberControlledHostComponent:function(e){gf=e}},vf=null,yf=null,wf=bf,_f=Object.freeze({injection:wf,enqueueStateRestore:se,needsStateRestore:ce,restoreStateIfNeeded:fe}),kf=function(e,t){return e(t)},xf=function(e,t,n){return e(t,n)},Ef=function(){},Cf=!1,Sf={injectRenderer:function(e){kf=e.batchedUpdates,xf=e.interactiveUpdates,Ef=e.flushInteractiveUpdates}},Tf={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Pf=1,Of=3,Nf=8,Rf=9,If=11,jf=vu.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Mf=jf.ReactCurrentOwner,Af=jf.ReactDebugCurrentFrame,zf=function(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")},Df="function"===typeof Symbol&&Symbol.for,Ff=Df?Symbol.for("react.element"):60103,Uf=Df?Symbol.for("react.portal"):60106,Bf=Df?Symbol.for("react.fragment"):60107,Lf=Df?Symbol.for("react.strict_mode"):60108,Wf=Df?Symbol.for("react.profiler"):60114,Hf=Df?Symbol.for("react.provider"):60109,Vf=Df?Symbol.for("react.context"):60110,qf=Df?Symbol.for("react.async_mode"):60111,$f=Df?Symbol.for("react.forward_ref"):60112,Kf=Df?Symbol.for("react.timeout"):60113,Gf="function"===typeof Symbol&&Symbol.iterator,Qf="@@iterator",Yf={current:null,phase:null,resetCurrentFiber:Ne,setCurrentFiber:Re,setCurrentPhase:Ie,getCurrentFiberOwnerName:Pe,getCurrentFiberStackAddendum:Oe},Xf=0,Jf=2,Zf=3,ep=4,tp=5,np=6,ap=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",rp=ap+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",op="data-reactroot",ip=new RegExp("^["+ap+"]["+rp+"]*$"),lp=Object.prototype.hasOwnProperty,up={},sp={},cp={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(function(e){cp[e]=new Fe(e,Xf,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0],n=e[1];cp[t]=new Fe(t,1,!1,n,null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){cp[e]=new Fe(e,Jf,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){cp[e]=new Fe(e,Jf,!1,e,null)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(function(e){cp[e]=new Fe(e,Zf,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){cp[e]=new Fe(e,Zf,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){cp[e]=new Fe(e,ep,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){cp[e]=new Fe(e,np,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){cp[e]=new Fe(e,tp,!1,e.toLowerCase(),null)});var fp=/[\-\:]([a-z])/g,pp=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(function(e){var t=e.replace(fp,pp);cp[t]=new Fe(t,1,!1,e,null)}),["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(function(e){var t=e.replace(fp,pp);cp[t]=new Fe(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(fp,pp);cp[t]=new Fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),cp.tabIndex=new Fe("tabIndex",1,!1,"tabindex",null);var dp={checkPropTypes:null},mp={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},hp={value:function(e,t,n){return!e[t]||mp[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};dp.checkPropTypes=function(e,t,n){xu(hp,t,"prop",e,n)};var gp=Yf.getCurrentFiberOwnerName,bp=Yf.getCurrentFiberStackAddendum,vp=!1,yp=!1,wp=!1,_p=!1,kp={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:[Ss,Ns,Rs,Zs,tc,ac,oc,Ic]}},xp=null,Ep=null,Cp=!1;wu.canUseDOM&&(Cp=ge("input")&&(!document.documentMode||document.documentMode>9));var Sp={eventTypes:kp,_isInputEventSupported:Cp,extractEvents:function(e,t,n,a){var r=t?w(t):window,o=void 0,i=void 0;if(Ze(r)?o=at:me(r)?Cp?o=ft:(o=ut,i=lt):st(r)&&(o=ct),o){var l=o(e,t);if(l){return Je(l,n,a)}}i&&i(e,r,t),e===Ss&&pt(r)}},Tp=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"],Pp=ef.extend({view:null,detail:null}),Op={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},Np=Pp.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:mt,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}}),Rp=Np.extend({pointerId:null,width:null,height:null,pressure:null,tiltX:null,tiltY:null,pointerType:null,isPrimary:null}),Ip={mouseEnter:{registrationName:"onMouseEnter",dependencies:[dc,mc]},mouseLeave:{registrationName:"onMouseLeave",dependencies:[dc,mc]},pointerEnter:{registrationName:"onPointerEnter",dependencies:[xc,Ec]},pointerLeave:{registrationName:"onPointerLeave",dependencies:[xc,Ec]}},jp={eventTypes:Ip,extractEvents:function(e,t,n,a){var r=e===mc||e===Ec,o=e===dc||e===xc;if(r&&(n.relatedTarget||n.fromElement))return null;if(!o&&!r)return null;var i=void 0;if(a.window===a)i=a;else{var l=a.ownerDocument;i=l?l.defaultView||l.parentWindow:window}var u=void 0,s=void 0;if(o){u=t;var c=n.relatedTarget||n.toElement;s=c?v(c):null}else u=null,s=t;if(u===s)return null;var f=void 0,p=void 0,d=void 0,m=void 0;e===dc||e===mc?(f=Np,p=Ip.mouseLeave,d=Ip.mouseEnter,m="mouse"):e!==xc&&e!==Ec||(f=Rp,p=Ip.pointerLeave,d=Ip.pointerEnter,m="pointer");var h=null==u?i:w(u),g=null==s?i:w(s),b=f.getPooled(p,u,n,a);b.type=m+"leave",b.target=h,b.relatedTarget=g;var y=f.getPooled(d,s,n,a);return y.type=m+"enter",y.target=g,y.relatedTarget=h,z(b,y,u,s),[b,y]}},Mp=0,Ap=1,zp=2,Dp=4,Fp=6,Up=8,Bp=16,Lp=32,Wp=64,Hp=128,Vp=256,qp=511,$p=512,Kp=1024,Gp=1,Qp=2,Yp=3,Xp=ef.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jp=ef.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Zp=Pp.extend({relatedTarget:null}),ed={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},td={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},nd=Pp.extend({key:Pt,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:mt,charCode:function(e){return"keypress"===e.type?Tt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Tt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),ad=Np.extend({dataTransfer:null}),rd=Pp.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:mt}),od=ef.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),id=Np.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ld=[[Ss,"blur"],[Os,"cancel"],[Rs,"click"],[Is,"close"],[zs,"contextMenu"],[Ds,"copy"],[Fs,"cut"],[Us,"doubleClick"],[Ls,"dragEnd"],[$s,"dragStart"],[Ks,"drop"],[Zs,"focus"],[tc,"input"],[nc,"invalid"],[ac,"keyDown"],[rc,"keyPress"],[oc,"keyUp"],[fc,"mouseDown"],[hc,"mouseUp"],[gc,"paste"],[bc,"pause"],[vc,"play"],[wc,"pointerCancel"],[_c,"pointerDown"],[Cc,"pointerUp"],[Tc,"rateChange"],[Pc,"reset"],[Nc,"seeked"],[Mc,"submit"],[Uc,"touchCancel"],[Bc,"touchEnd"],[Wc,"touchStart"],[Vc,"volumeChange"]],ud=[[ks,"abort"],[xs,"animationEnd"],[Es,"animationIteration"],[Cs,"animationStart"],[Ts,"canPlay"],[Ps,"canPlayThrough"],[Bs,"drag"],[Ws,"dragEnter"],[Hs,"dragExit"],[Vs,"dragLeave"],[qs,"dragOver"],[Gs,"durationChange"],[Qs,"emptied"],[Ys,"encrypted"],[Xs,"ended"],[Js,"error"],[ec,"gotPointerCapture"],[ic,"load"],[uc,"loadedData"],[sc,"loadedMetadata"],[lc,"loadStart"],[cc,"lostPointerCapture"],[pc,"mouseMove"],[dc,"mouseOut"],[mc,"mouseOver"],[yc,"playing"],[kc,"pointerMove"],[xc,"pointerOut"],[Ec,"pointerOver"],[Sc,"progress"],[Oc,"scroll"],[Rc,"seeking"],[jc,"stalled"],[Ac,"suspend"],[Dc,"timeUpdate"],[Fc,"toggle"],[Lc,"touchMove"],[Hc,"transitionEnd"],[qc,"waiting"],[$c,"wheel"]],sd={},cd={};ld.forEach(function(e){Ot(e,!0)}),ud.forEach(function(e){Ot(e,!1)});var fd=[ks,Os,Ts,Ps,Is,Gs,Qs,Ys,Xs,Js,tc,nc,ic,uc,sc,lc,bc,vc,yc,Sc,Tc,Pc,Nc,Rc,jc,Mc,Ac,Dc,Fc,Vc,qc],pd={eventTypes:sd,isInteractiveTopLevelEventType:function(e){var t=cd[e];return void 0!==t&&!0===t.isInteractive},extractEvents:function(e,t,n,a){var r=cd[e];if(!r)return null;var o=void 0;switch(e){case rc:if(0===Tt(n))return null;case ac:case oc:o=nd;break;case Ss:case Zs:o=Zp;break;case Rs:if(2===n.button)return null;case Us:case fc:case pc:case hc:case dc:case mc:case zs:o=Np;break;case Bs:case Ls:case Ws:case Hs:case Vs:case qs:case $s:case Ks:o=ad;break;case Uc:case Bc:case Lc:case Wc:o=rd;break;case xs:case Es:case Cs:o=Xp;break;case Hc:o=od;break;case Oc:o=Pp;break;case $c:o=id;break;case Ds:case Fs:case gc:o=Jp;break;case ec:case cc:case wc:case _c:case kc:case xc:case Ec:case Cc:o=Rp;break;default:-1===fd.indexOf(e)&&yu(!1,"SimpleEventPlugin: Unhandled event type, `%s`. This warning is likely caused by a bug in React. Please file an issue.",e),o=ef}var i=o.getPooled(r,t,n,a);return M(i),i}},dd=pd.isInteractiveTopLevelEventType,md=10,hd=[],gd=!0,bd=Object.freeze({get _enabled(){return gd},setEnabled:Mt,isEnabled:At,trapBubbledEvent:zt,trapCapturedEvent:Dt,dispatchEvent:Ut}),vd={},yd=0,wd="_reactListenersID"+(""+Math.random()).slice(2),_d=wu.canUseDOM&&"documentMode"in document&&document.documentMode<=11,kd={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:[Ss,zs,Zs,ac,oc,fc,hc,Ic]}},xd=null,Ed=null,Cd=null,Sd=!1,Td={eventTypes:kd,extractEvents:function(e,t,n,a){var r=a.window===a?a.document:a.nodeType===Rf?a:a.ownerDocument;if(!r||!Wt("onSelect",r))return null;var o=t?w(t):window;switch(e){case Zs:(me(o)||"true"===o.contentEditable)&&(xd=o,Ed=t,Cd=null);break;case Ss:xd=null,Ed=null,Cd=null;break;case fc:Sd=!0;break;case zs:case hc:return Sd=!1,nn(n,a);case Ic:if(_d)break;case ac:case oc:return nn(n,a)}return null}};Ju.injectEventPluginOrder(Tp),$u.injectComponentTree(bs),Ju.injectEventPluginsByName({SimpleEventPlugin:pd,EnterLeaveEventPlugin:jp,ChangeEventPlugin:Sp,SelectEventPlugin:Td,BeforeInputEventPlugin:hf});var Pd="function"===typeof requestAnimationFrame?requestAnimationFrame:void 0,Od=Date,Nd=setTimeout,Rd=clearTimeout,Id="object"===typeof performance&&"function"===typeof performance.now,jd=void 0;if(Id){var Md=performance;jd=function(){return Md.now()}}else jd=function(){return Od.now()};var Ad=void 0,zd=void 0;if(wu.canUseDOM){"function"!==typeof Pd&&yu(!1,"React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills");var Dd="function"===typeof Pd?Pd:function(e){bu(!1,"React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")},Fd=null,Ud=null,Bd=-1,Ld=!1,Wd=!1,Hd=0,Vd=33,qd=33,$d={didTimeout:!1,timeRemaining:function(){var e=Hd-jd();return e>0?e:0}},Kd=function(e,t){var n=e.scheduledCallback,a=!1;try{n(t),a=!0}finally{zd(e),a||(Ld=!0,window.postMessage(Qd,"*"))}},Gd=function(){if(null!==Fd){var e=jd();if(!(-1===Bd||Bd>e)){for(var t=-1,n=[],a=Fd;null!==a;){var r=a.timeoutTime;-1!==r&&r<=e?n.push(a):-1!==r&&(-1===t||r<t)&&(t=r),a=a.next}if(n.length>0){$d.didTimeout=!0;for(var o=0,i=n.length;o<i;o++)Kd(n[o],$d)}Bd=t}}},Qd="__reactIdleCallback$"+Math.random().toString(36).slice(2),Yd=function(e){if(e.source===window&&e.data===Qd&&(Ld=!1,null!==Fd)){Gd();for(var t=jd();Hd-t>0&&null!==Fd;){var n=Fd;$d.didTimeout=!1,Kd(n,$d),t=jd()}null!==Fd&&(Wd||(Wd=!0,Dd(Xd)))}};window.addEventListener("message",Yd,!1);var Xd=function(e){Wd=!1;var t=e-Hd+qd;t<qd&&Vd<qd?(t<8&&(t=8),qd=t<Vd?Vd:t):Vd=t,Hd=e+qd,Ld||(Ld=!0,window.postMessage(Qd,"*"))};Ad=function(e,t){var n=-1;null!=t&&"number"===typeof t.timeout&&(n=jd()+t.timeout),(-1===Bd||-1!==n&&n<Bd)&&(Bd=n);var a={scheduledCallback:e,timeoutTime:n,prev:null,next:null};if(null===Fd)Fd=a,Ud=a;else{a.prev=Ud;var r=Ud;null!==r&&(r.next=a),Ud=a}return Wd||(Wd=!0,Dd(Xd)),a},zd=function(e){if(null!==e.prev||Fd===e){var t=e.next,n=e.prev;return e.next=null,e.prev=null,null!==t?null!==n?(n.next=t,void(t.prev=n)):(t.prev=null,void(Fd=t)):null!==n?(n.next=null,void(Ud=n)):(Fd=null,void(Ud=null))}}}else{var Jd=new Map;Ad=function(e,t){var n={scheduledCallback:e,timeoutTime:0,next:null,prev:null},a=Nd(function(){e({timeRemaining:function(){return 1/0},didTimeout:!1})});return Jd.set(e,a),n},zd=function(e){var t=e.scheduledCallback,n=Jd.get(t);Jd.delete(e),Rd(n)}}var Zd=!1,em=Yf.getCurrentFiberOwnerName,tm=Yf.getCurrentFiberStackAddendum,nm=void 0;nm=!1;var am=["value","defaultValue"],rm=Yf.getCurrentFiberStackAddendum,om=!1,im="http://www.w3.org/1999/xhtml",lm="http://www.w3.org/1998/Math/MathML",um="http://www.w3.org/2000/svg",sm={html:im,mathml:lm,svg:um},cm=void 0,fm=function(e){return"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,a,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,a,r)})}:e}(function(e,t){if(e.namespaceURI!==sm.svg||"innerHTML"in e)e.innerHTML=t;else{cm=cm||document.createElement("div"),cm.innerHTML="<svg>"+t+"</svg>";for(var n=cm.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}}),pm=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===Of)return void(n.nodeValue=t)}e.textContent=t},dm={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},mm=["Webkit","ms","Moz","O"];Object.keys(dm).forEach(function(e){mm.forEach(function(t){dm[xn(t,e)]=dm[e]})});var hm=ku,gm=/^(?:webkit|moz|o)[A-Z]/,bm=/;\s*$/,vm={},ym={},wm=!1,_m=!1,km=function(e,t){vm.hasOwnProperty(e)&&vm[e]||(vm[e]=!0,yu(!1,"Unsupported style property %s. Did you mean %s?%s",e,Ou(e),t()))},xm=function(e,t){vm.hasOwnProperty(e)&&vm[e]||(vm[e]=!0,yu(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?%s",e,e.charAt(0).toUpperCase()+e.slice(1),t()))},Em=function(e,t,n){ym.hasOwnProperty(t)&&ym[t]||(ym[t]=!0,yu(!1,'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.%s',e,t.replace(bm,""),n()))},Cm=function(e,t,n){wm||(wm=!0,yu(!1,"`NaN` is an invalid value for the `%s` css style property.%s",e,n()))},Sm=function(e,t,n){_m||(_m=!0,yu(!1,"`Infinity` is an invalid value for the `%s` css style property.%s",e,n()))};hm=function(e,t,n){e.indexOf("-")>-1?km(e,n):gm.test(e)?xm(e,n):bm.test(t)&&Em(e,t,n),"number"===typeof t&&(isNaN(t)?Cm(e,0,n):isFinite(t)||Sm(e,0,n))};var Tm=hm,Pm={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},Om=_u({menuitem:!0},Pm),Nm="__html",Rm={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},Im={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},jm={},Mm=new RegExp("^(aria)-["+rp+"]*$"),Am=new RegExp("^(aria)[A-Z]["+rp+"]*$"),zm=Object.prototype.hasOwnProperty,Dm=!1,Fm=function(){},Um={},Bm=Object.prototype.hasOwnProperty,Lm=/^on./,Wm=/^on[^A-Z]/,Hm=new RegExp("^(aria)-["+rp+"]*$"),Vm=new RegExp("^(aria)[A-Z]["+rp+"]*$");Fm=function(e,t,n,a){if(Bm.call(Um,t)&&Um[t])return!0;var r=t.toLowerCase();if("onfocusin"===r||"onfocusout"===r)return yu(!1,"React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),Um[t]=!0,!0;if(a){if(Uu.hasOwnProperty(t))return!0;var o=Lu.hasOwnProperty(r)?Lu[r]:null;if(null!=o)return yu(!1,"Invalid event handler property `%s`. Did you mean `%s`?%s",t,o,An()),Um[t]=!0,!0;if(Lm.test(t))return yu(!1,"Unknown event handler property `%s`. It will be ignored.%s",t,An()),Um[t]=!0,!0}else if(Lm.test(t))return Wm.test(t)&&yu(!1,"Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.%s",t,An()),Um[t]=!0,!0;if(Hm.test(t)||Vm.test(t))return!0;if("innerhtml"===r)return yu(!1,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),Um[t]=!0,!0;if("aria"===r)return yu(!1,"The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),Um[t]=!0,!0;if("is"===r&&null!==n&&void 0!==n&&"string"!==typeof n)return yu(!1,"Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.%s",typeof n,An()),Um[t]=!0,!0;if("number"===typeof n&&isNaN(n))return yu(!1,"Received NaN for the `%s` attribute. If this is expected, cast the value to a string.%s",t,An()),Um[t]=!0,!0;var i=De(t),l=null!==i&&i.type===Xf;if(Rm.hasOwnProperty(r)){var u=Rm[r];if(u!==t)return yu(!1,"Invalid DOM property `%s`. Did you mean `%s`?%s",t,u,An()),Um[t]=!0,!0}else if(!l&&t!==r)return yu(!1,"React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.%s",t,r,An()),Um[t]=!0,!0;return"boolean"===typeof n&&Ae(t,n,i,!1)?(n?yu(!1,'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.%s',n,t,t,n,t,An()):yu(!1,'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s',n,t,t,n,t,t,t,An()),Um[t]=!0,!0):!!l||(!Ae(t,n,i,!1)||(Um[t]=!0,!1))};var qm=function(e,t,n){var a=[];for(var r in t){Fm(e,r,t[r],n)||a.push(r)}var o=a.map(function(e){return"`"+e+"`"}).join(", ");1===a.length?yu(!1,"Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior%s",o,e,An()):a.length>1&&yu(!1,"Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://fb.me/react-attribute-behavior%s",o,e,An())},$m=Yf.getCurrentFiberOwnerName,Km=Yf.getCurrentFiberStackAddendum,Gm=!1,Qm=!1,Ym="dangerouslySetInnerHTML",Xm="suppressContentEditableWarning",Jm="suppressHydrationWarning",Zm="autoFocus",eh="children",th="style",nh="__html",ah=sm.html,rh=ku.thatReturns(""),oh=void 0,ih=void 0,lh=void 0,uh=void 0,sh=void 0,ch=void 0,fh=void 0,ph=void 0,dh=void 0;rh=Km,oh={time:!0,dialog:!0},lh=function(e,t){In(e,t),Mn(e,t),zn(e,t,!0)};var mh=/\r\n?/g,hh=/\u0000|\uFFFD/g;ph=function(e){return("string"===typeof e?e:""+e).replace(mh,"\n").replace(hh,"")},uh=function(e,t){if(!Gm){var n=ph(t),a=ph(e);a!==n&&(Gm=!0,yu(!1,'Text content did not match. Server: "%s" Client: "%s"',a,n))}},sh=function(e,t,n){if(!Gm){var a=ph(n),r=ph(t);r!==a&&(Gm=!0,yu(!1,"Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(r),JSON.stringify(a)))}},ch=function(e){if(!Gm){Gm=!0;var t=[];e.forEach(function(e){t.push(e)}),yu(!1,"Extra attributes from the server: %s",t)}},fh=function(e,t){!1===t?yu(!1,"Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s",e,e,e,Km()):yu(!1,"Expected `%s` listener to be a function, instead got a value of `%s` type.%s",e,typeof t,Km())},dh=function(e,t){var n=e.namespaceURI===ah?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var gh=Object.freeze({createElement:Wn,createTextNode:Hn,setInitialProperties:Vn,diffProperties:qn,updateProperties:$n,diffHydratedProperties:Gn,diffHydratedText:Qn,warnForUnmatchedText:Yn,warnForDeletedHydratableElement:Xn,warnForDeletedHydratableText:Jn,warnForInsertedHydratedElement:Zn,warnForInsertedHydratedText:ea,restoreControlledState:ta}),bh=Yf.getCurrentFiberStackAddendum,vh=ku,yh=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],wh=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],_h=wh.concat(["button"]),kh=["dd","dt","li","option","optgroup","p","rp","rt"],xh={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null},Eh=function(e,t,n){var a=_u({},e||xh),r={tag:t,instance:n};return-1!==wh.indexOf(t)&&(a.aTagInScope=null,a.buttonTagInScope=null,a.nobrTagInScope=null),-1!==_h.indexOf(t)&&(a.pTagInButtonScope=null),-1!==yh.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(a.listItemTagAutoclosing=null,a.dlItemTagAutoclosing=null),a.current=r,"form"===t&&(a.formTag=r),"a"===t&&(a.aTagInScope=r),"button"===t&&(a.buttonTagInScope=r),"nobr"===t&&(a.nobrTagInScope=r),"p"===t&&(a.pTagInButtonScope=r),"li"===t&&(a.listItemTagAutoclosing=r),"dd"!==t&&"dt"!==t||(a.dlItemTagAutoclosing=r),a},Ch=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===kh.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0},Sh=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},Th={};vh=function(e,t,n){n=n||xh;var a=n.current,r=a&&a.tag;null!=t&&(null!=e&&yu(!1,"validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var o=Ch(e,r)?null:a,i=o?null:Sh(e,n),l=o||i;if(l){var u=l.tag,s=bh(),c=!!o+"|"+e+"|"+u+"|"+s;if(!Th[c]){Th[c]=!0;var f=e,p="";if("#text"===e?/\S/.test(t)?f="Text nodes":(f="Whitespace text nodes",p=" Make sure you don't have any extra whitespace between tags on each line of your source code."):f="<"+e+">",o){var d="";"table"===u&&"tr"===e&&(d+=" Add a <tbody> to your code to match the DOM tree generated by the browser."),yu(!1,"validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s%s",f,u,p,d,s)}else yu(!1,"validateDOMNesting(...): %s cannot appear as a descendant of <%s>.%s",f,u,s)}}},vh.updatedAncestorInfo=Eh;var Ph=vh,Oh=!1,Nh=na,Rh=na,Ih=na,jh=na,Mh=na,Ah=Wn,zh=Hn,Dh=Vn,Fh=qn,Uh=$n,Bh=Gn,Lh=Qn,Wh=Yn,Hh=Xn,Vh=Jn,qh=Zn,$h=ea,Kh=Ph.updatedAncestorInfo,Gh=b,Qh=k,Yh=void 0;Yh="suppressHydrationWarning";var Xh=null,Jh=null,Zh=jd,eg=!0,tg=Ad,ng=zd,ag=!0,rg=!0,og=!0,ig=!1,lg=!1,ug=!1,sg=!0,cg=!0,fg=!1,pg=!1,dg=!0,mg="undefined"!==typeof performance&&"function"===typeof performance.mark&&"function"===typeof performance.clearMarks&&"function"===typeof performance.measure&&"function"===typeof performance.clearMeasures,hg=null,gg=null,bg=null,vg=!1,yg=!1,wg=!1,_g=0,kg=0,xg=!1,Eg=new Set,Cg=function(e){return"\u269b "+e},Sg=function(e,t){return(t?"\u26d4 ":"\u269b ")+e+(t?" Warning: "+t:"")},Tg=function(e){performance.mark(Cg(e))},Pg=function(e){performance.clearMarks(Cg(e))},Og=function(e,t,n){var a=Cg(t),r=Sg(e,n);try{performance.measure(r,a)}catch(e){}performance.clearMarks(a),performance.clearMeasures(r)},Ng=function(e,t){return e+" (#"+t+")"},Rg=function(e,t,n){return null===n?e+" ["+(t?"update":"mount")+"]":e+"."+n},Ig=function(e,t){var n=Ce(e)||"Unknown",a=e._debugID,r=null!==e.alternate,o=Rg(n,r,t);if(vg&&Eg.has(o))return!1;Eg.add(o);var i=Ng(o,a);return Tg(i),!0},jg=function(e,t){var n=Ce(e)||"Unknown",a=e._debugID,r=null!==e.alternate,o=Rg(n,r,t),i=Ng(o,a);Pg(i)},Mg=function(e,t,n){var a=Ce(e)||"Unknown",r=e._debugID,o=null!==e.alternate,i=Rg(a,o,t),l=Ng(i,r);Og(i,l,n)},Ag=function(e){switch(e.tag){case as:case os:case is:case rs:case ls:case cs:case ss:case us:return!0;default:return!1}},zg=function(){null!==gg&&null!==bg&&jg(bg,gg),bg=null,gg=null,wg=!1},Dg=function(){for(var e=hg;e;)e._debugIsCurrentlyTiming&&Mg(e,null,null),e=e.return},Fg=function(e){null!==e.return&&Fg(e.return),e._debugIsCurrentlyTiming&&Ig(e,null)},Ug=function(){null!==hg&&Fg(hg)},Bg=[],Lg=void 0;Lg=[];var Wg=-1,Hg=void 0;Hg={};var Vg=ir(Tu),qg=ir(!1),$g=Tu,Kg=1073741823,Gg=0,Qg=1,Yg=Kg,Xg=10,Jg=2,Zg=0,eb=1,tb=2,nb=4,ab=void 0;ab=!1;try{var rb=Object.preventExtensions({}),ob=new Map([[rb,null]]),ib=new Set([rb]);ob.set(0,0),ib.add(0)}catch(e){ab=!0}var lb=void 0;lb=1;var ub=function(e,t,n,a){return new Pr(e,t,n,a)},sb=null,cb=null,fb=!1,pb=function(){},db=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=0,o="Warning: "+e.replace(/%s/g,function(){return n[r++]});"undefined"!==typeof console&&console.warn(o);try{throw new Error(o)}catch(e){}};pb=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];db.apply(void 0,[t].concat(a))}};var mb=pb,hb={discardPendingWarnings:function(){},flushPendingDeprecationWarnings:function(){},flushPendingUnsafeLifecycleWarnings:function(){},recordDeprecationWarnings:function(e,t){},recordUnsafeLifecycleWarnings:function(e,t){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){}},gb={UNSAFE_componentWillMount:"componentDidMount",UNSAFE_componentWillReceiveProps:"static getDerivedStateFromProps",UNSAFE_componentWillUpdate:"componentDidUpdate"},bb=[],vb=[],yb=[],wb=new Map,_b=new Map,kb=new Set,xb=new Set,Eb=new Set,Cb=function(e){var t=[];return e.forEach(function(e){t.push(e)}),t.sort().join(", ")};hb.discardPendingWarnings=function(){bb=[],vb=[],yb=[],wb=new Map,_b=new Map},hb.flushPendingUnsafeLifecycleWarnings=function(){wb.forEach(function(e,t){var n=[];if(Object.keys(e).forEach(function(t){var a=e[t];if(a.length>0){var r=new Set;a.forEach(function(e){r.add(Ce(e)||"Component"),xb.add(e.type)});var o=t.replace("UNSAFE_",""),i=gb[t],l=Cb(r);n.push(o+": Please update the following components to use "+i+" instead: "+l)}}),n.length>0){var a=Te(t);yu(!1,"Unsafe lifecycle methods were found within a strict-mode tree:%s\n\n%s\n\nLearn more about this warning here:\nhttps://fb.me/react-strict-mode-warnings",a,n.join("\n\n"))}}),wb=new Map};var Sb=function(e){for(var t=null,n=e;null!==n;)n.mode&tb&&(t=n),n=n.return;return t};hb.flushPendingDeprecationWarnings=function(){if(bb.length>0){var e=new Set;bb.forEach(function(t){e.add(Ce(t)||"Component"),kb.add(t.type)});var t=Cb(e);mb(!1,"componentWillMount is deprecated and will be removed in the next major version. Use componentDidMount instead. As a temporary workaround, you can rename to UNSAFE_componentWillMount.\n\nPlease update the following components: %s\n\nLearn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks",t),bb=[]}if(vb.length>0){var n=new Set;vb.forEach(function(e){n.add(Ce(e)||"Component"),kb.add(e.type)});var a=Cb(n);mb(!1,"componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.\n\nPlease update the following components: %s\n\nLearn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks",a),vb=[]}if(yb.length>0){var r=new Set;yb.forEach(function(e){r.add(Ce(e)||"Component"),kb.add(e.type)});var o=Cb(r);mb(!1,"componentWillUpdate is deprecated and will be removed in the next major version. Use componentDidUpdate instead. As a temporary workaround, you can rename to UNSAFE_componentWillUpdate.\n\nPlease update the following components: %s\n\nLearn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks",o),yb=[]}},hb.recordDeprecationWarnings=function(e,t){kb.has(e.type)||("function"===typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&bb.push(e),"function"===typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&vb.push(e),"function"===typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&yb.push(e))},hb.recordUnsafeLifecycleWarnings=function(e,t){var n=Sb(e);if(null===n)return void yu(!1,"Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");if(!xb.has(e.type)){var a=void 0;wb.has(n)?a=wb.get(n):(a={UNSAFE_componentWillMount:[],UNSAFE_componentWillReceiveProps:[],UNSAFE_componentWillUpdate:[]},wb.set(n,a));var r=[];("function"===typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning||"function"===typeof t.UNSAFE_componentWillMount)&&r.push("UNSAFE_componentWillMount"),("function"===typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning||"function"===typeof t.UNSAFE_componentWillReceiveProps)&&r.push("UNSAFE_componentWillReceiveProps"),("function"===typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning||"function"===typeof t.UNSAFE_componentWillUpdate)&&r.push("UNSAFE_componentWillUpdate"),r.length>0&&r.forEach(function(t){a[t].push(e)})}},hb.recordLegacyContextWarning=function(e,t){var n=Sb(e);if(null===n)return void yu(!1,"Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");if(!Eb.has(e.type)){var a=_b.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"===typeof t.getChildContext)&&(void 0===a&&(a=[],_b.set(n,a)),a.push(e))}},hb.flushLegacyContextWarning=function(){_b.forEach(function(e,t){var n=new Set;e.forEach(function(e){n.add(Ce(e)||"Component"),Eb.add(e.type)});var a=Cb(n),r=Te(t);yu(!1,"Legacy context API has been detected within a strict-mode tree: %s\n\nPlease update the following components: %s\n\nLearn more about this warning here:\nhttps://fb.me/react-strict-mode-warnings",r,a)})};var Tb={debugTool:null},Pb=Tb,Ob=0,Nb=1,Rb=2,Ib=3,jb=!1,Mb=void 0,Ab=void 0,zb=void 0;Mb=!1,Ab=null,zb=function(){Ab=null};var Db=ir(null),Fb=ir(null),Ub=ir(0),Bb=void 0;Bb={};var Lb={},Wb=ir(Lb),Hb=ir(Lb),Vb=ir(Lb),qb=0,$b=void 0;$b=[];var Kb=0,Gb=0,Qb=-1,Yb={},Xb=Array.isArray,Jb=void 0,Zb=void 0,ev=void 0,tv=void 0,nv=void 0,av=void 0,rv=void 0;Jb=new Set,Zb=new Set,ev=new Set,tv=new Set,nv=new Set;var ov=new Set;rv=function(e,t){if(null!==e&&"function"!==typeof e){var n=t+"_"+e;ov.has(n)||(ov.add(n),yu(!1,"%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},av=function(e,t){if(void 0===t){var n=Ce(e)||"Component";nv.has(n)||(nv.add(n),yu(!1,"%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(Yb,"_processChildContext",{enumerable:!1,value:function(){bu(!1,"_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(Yb);var iv={isMounted:wt,enqueueSetState:function(e,t,n){var a=ht(e),r=Pl(),o=El(r,a),i=Jr(o);i.payload=t,void 0!==n&&null!==n&&(rv(n,"setState"),i.callback=n),eo(a,i,o),Tl(a,o)},enqueueReplaceState:function(e,t,n){var a=ht(e),r=Pl(),o=El(r,a),i=Jr(o);i.tag=Nb,i.payload=t,void 0!==n&&null!==n&&(rv(n,"replaceState"),i.callback=n),eo(a,i,o),Tl(a,o)},enqueueForceUpdate:function(e,t){var n=ht(e),a=Pl(),r=El(a,n),o=Jr(r);o.tag=Rb,void 0!==t&&null!==t&&(rv(t,"forceUpdate"),o.callback=t),eo(n,o,r),Tl(n,r)}},lv=Yf.getCurrentFiberStackAddendum,uv=void 0,sv=void 0,cv=void 0,fv=void 0,pv=function(e){};uv=!1,sv={},cv={},fv={},pv=function(e){if(null!==e&&"object"===typeof e&&e._store&&!e._store.validated&&null==e.key){"object"!==typeof e._store&&bu(!1,"React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."),e._store.validated=!0;var t='Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'+(lv()||"");cv[t]||(cv[t]=!0,yu(!1,'Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.%s',lv()))}};var dv=Array.isArray,mv=$o(!0),hv=$o(!1),gv=null,bv=null,vv=!1,yv=Yf.getCurrentFiberStackAddendum,wv=void 0,_v=void 0,kv=void 0;wv={},_v={},kv={};var xv=void 0,Ev=void 0,Cv=void 0;if(ag)xv=function(e){},Ev=function(e,t,n,a,r,o,i,l){t.updateQueue=n,n&&Oi(t)},Cv=function(e,t,n,a){n!==a&&Oi(t)};else if(Oh){var Sv=function(e,t){for(var n=t.child;null!==n;){if(n.tag===os||n.tag===is)Ih(e,n.stateNode);else if(n.tag===rs);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)return;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};xv=function(e){var t=e.stateNode;if(null===e.firstEffect);else{var n=t.containerInfo,a=Rh(n);Sv(a,e),t.pendingChildren=a,Oi(e),jh(n,a)}},Ev=function(e,t,n,a,r,o,i,l){var u=null===t.firstEffect,s=e.stateNode;if(u&&null===n)t.stateNode=s;else{var c=t.stateNode,f=Nh(s,n,a,r,o,t,u,c);fa(f,a,o,i,l)&&Oi(t),t.stateNode=f,u?Oi(t):Ri(f,t)}},Cv=function(e,t,n,a){if(n!==a){var r=go(),o=yo();t.stateNode=ha(a,r,o,t),Oi(t)}}}else xv=function(e){},Ev=function(e,t,n,a,r,o,i,l){},Cv=function(e,t,n,a){};var Tv=ju.invokeGuardedCallback,Pv=ju.hasCaughtError,Ov=ju.clearCaughtError,Nv=null;Nv=new Set;var Rv=function(e,t){Ga(e,"componentWillUnmount"),t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount(),Qa()},Iv=ju.invokeGuardedCallback,jv=ju.hasCaughtError,Mv=ju.clearCaughtError,Av=void 0,zv=void 0,Dv=void 0,Fv=void 0;Av=!1,zv=!1;var Uv={};Dv=function(e){var t=Ce(e)||"ReactClass";Uv[t]||(yu(!1,"Can't call setState (or forceUpdate) on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.%s",Te(e)),Uv[t]=!0)},Fv=function(e){switch(Yf.phase){case"getChildContext":if(zv)return;yu(!1,"setState(...): Cannot call setState() inside getChildContext()"),zv=!0;break;case"render":if(Av)return;yu(!1,"Cannot update during an existing state transition (such as within `render` or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to `componentWillMount`."),Av=!0}};var Bv=Zh(),Lv=Er(0),Wv=Bv,Hv=0,Vv=Gg,qv=!1,$v=null,Kv=null,Gv=Gg,Qv=-1,Yv=!1,Xv=null,Jv=!1,Zv=!1,ey=null,ty=null,ny=void 0,ay=void 0,ry=void 0,oy=void 0,iy=void 0;cg&&(ny=null,ry=!1,oy=null,ay=function(e,t,n){if(null===t||"object"!==typeof t||"function"!==typeof t.then){if(null===ny)return void yu(!1,"Could not replay rendering after an error. This is likely a bug in React. Please file an issue.");switch(Ur(e,ny),e.tag){case as:vo(e),vr(e);break;case os:_o(e);break;case ns:br(e);break;case rs:vo(e);break;case cs:fo(e)}ry=!0,oy=t,Iv(null,bl,null,n),ry=!1,oy=null,jv()?(Mv(),dg&&(e.mode&nb&&To(e),Io())):$v=e}},iy=function(){throw oy});var ly=null,uy=null,sy=Gg,cy=void 0,fy=!1,py=null,dy=Gg,my=Gg,hy=!1,gy=!1,by=null,vy=null,yy=!1,wy=!1,_y=!1,ky=null,xy=1e3,Ey=0,Cy=1,Sy=void 0;Sy=!1;var Ty=Object.freeze({updateContainerAtExpirationTime:eu,createContainer:nu,updateContainer:au,flushRoot:Ul,requestWork:jl,computeUniqueAsyncExpiration:xl,batchedUpdates:$l,unbatchedUpdates:Kl,deferredUpdates:Ol,syncUpdates:Nl,interactiveUpdates:Ql,flushInteractiveUpdates:Yl,flushControlled:Xl,flushSync:Gl,getPublicRootInstance:ru,findHostInstance:tu,findHostInstanceWithNoPortals:ou,injectIntoDevTools:iu}),Py=void 0,Oy=void 0,Ny=!1;"function"===typeof Map&&null!=Map.prototype&&"function"===typeof Map.prototype.forEach&&"function"===typeof Set&&null!=Set.prototype&&"function"===typeof Set.prototype.clear&&"function"===typeof Set.prototype.forEach||yu(!1,"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),Py=function(e){if(e._reactRootContainer&&e.nodeType!==Nf){var t=ou(e._reactRootContainer._internalRoot.current);t&&t.parentNode!==e&&yu(!1,"render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,a=pu(e);!(!a||!y(a))&&!n&&yu(!1,"render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),e.nodeType===Pf&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&yu(!1,"render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")},Oy=function(e,t){null!==e&&"function"!==typeof e&&yu(!1,"%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)},wf.injectFiberControlledHostComponent(gh),uu.prototype.render=function(e){this._defer||bu(!1,"batch.render: Cannot render a batch that already committed."),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,a=new su;return eu(e,t,null,n,a._onCommit),a},uu.prototype.then=function(e){if(this._didComplete)return void e();var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)},uu.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t||bu(!1,"batch.commit: Cannot commit a batch multiple times."),!this._hasChildren)return this._next=null,void(this._defer=!1);var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var a=null,r=t;r!==this;)a=r,r=r._next;null===a&&bu(!1,"batch.commit: Cannot commit a batch multiple times."),a._next=r._next,this._next=t,t=e.firstBatch=this}this._defer=!1,Ul(e,n);var o=this._next;this._next=null,null!==(t=e.firstBatch=o)&&t._hasChildren&&t.render(t._children)},uu.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];n()}}},su.prototype.then=function(e){if(this._didCommit)return void e();var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)},su.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!==typeof n&&bu(!1,"Invalid argument passed as callback. Expected a function. Instead received: %s",n),n()}}},cu.prototype.render=function(e,t){var n=this._internalRoot,a=new su;return t=void 0===t?null:t,Oy(t,"render"),null!==t&&a.then(t),au(e,n,null,a._onCommit),a},cu.prototype.unmount=function(e){var t=this._internalRoot,n=new su;return e=void 0===e?null:e,Oy(e,"render"),null!==e&&n.then(e),au(null,t,null,n._onCommit),n},cu.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var a=this._internalRoot,r=new su;return n=void 0===n?null:n,Oy(n,"render"),null!==n&&r.then(n),au(t,a,e,r._onCommit),r},cu.prototype.createBatch=function(){var e=new uu(this),t=e._expirationTime,n=this._internalRoot,a=n.firstBatch;if(null===a)n.firstBatch=e,e._next=null;else{for(var r=null,o=a;null!==o&&o._expirationTime<=t;)r=o,o=o._next;e._next=o,null!==r&&(r._next=e)}return e},Sf.injectRenderer(Ty);var Ry=!1,Iy={createPortal:gu,findDOMNode:function(e){var t=Mf.current;if(null!==t&&null!==t.stateNode){t.stateNode._warnedAboutRefsInRender||yu(!1,"%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Ce(t)||"A component"),t.stateNode._warnedAboutRefsInRender=!0}return null==e?null:e.nodeType===Pf?e:tu(e)},hydrate:function(e,t,n){return hu(null,e,t,!0,n)},render:function(e,t,n){return hu(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,a){return null!=e&&gt(e)||bu(!1,"parentComponent must be a valid React Component"),hu(e,t,n,!1,a)},unmountComponentAtNode:function(e){if(fu(e)||bu(!1,"unmountComponentAtNode(...): Target container is not a DOM element."),e._reactRootContainer){var t=pu(e);return t&&!y(t)&&yu(!1,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),Kl(function(){hu(null,null,e,!1,function(){e._reactRootContainer=null})}),!0}var n=pu(e),a=!(!n||!y(n)),r=1===e.nodeType&&fu(e.parentNode)&&!!e.parentNode._reactRootContainer;return a&&yu(!1,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",r?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},unstable_createPortal:function(){return Ny||(Ny=!0,mb(!1,'The ReactDOM.unstable_createPortal() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactDOM.createPortal() instead. It has the exact same API, but without the "unstable_" prefix.')),gu.apply(void 0,arguments)},unstable_batchedUpdates:$l,unstable_deferredUpdates:Ol,unstable_interactiveUpdates:Ql,flushSync:Gl,unstable_flushControlled:Xl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:Zu,EventPluginRegistry:Wu,EventPropagators:vs,ReactControlledComponent:_f,ReactDOMComponentTree:bs,ReactDOMEventListener:bd}};if(Iy.unstable_createRoot=function(e,t){return new cu(e,!0,null!=t&&!0===t.hydrate)},!iu({findFiberByHostInstance:v,bundleType:1,version:"16.4.2",rendererPackageName:"react-dom"})&&wu.canUseDOM&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var jy=window.location.protocol;/^(https?|file):$/.test(jy)&&console.info("%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools"+("file:"===jy?"\nYou might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq":""),"font-weight:bold")}var My=Object.freeze({default:Iy}),Ay=My&&Iy||My,zy=Ay.default?Ay.default:Ay;e.exports=zy}()}).call(t,n(1))},function(e,t,n){"use strict";function a(e){return r(e).replace(o,"-ms-")}var r=n(210),o=/^ms-/;e.exports=a},function(e,t,n){"use strict";function a(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=a},function(e,t,n){"use strict";function a(e){return r(e.replace(o,"ms-"))}var r=n(212),o=/^-ms-/;e.exports=a},function(e,t,n){"use strict";function a(e){return e.replace(r,function(e,t){return t.toUpperCase()})}var r=/-(.)/g;e.exports=a},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}var r=a(n(214)),o=a(n(218)),i=a(n(78)),l=a(n(75));e.exports={Transition:l.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},function(e,t,n){"use strict";(function(a){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i.apply(this,arguments)}t.__esModule=!0,t.default=void 0;var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};a.get||a.set?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,t}(n(8)),u=r(n(215)),s=r(n(217)),c=r(n(5)),f=r(n(75)),p=n(77),d=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,u.default)(e,t)})},m=function(e,t){return e&&t&&t.split(" ").forEach(function(t){return(0,s.default)(e,t)})},h="production"!==a.env.NODE_ENV?i({},f.default.propTypes,{classNames:p.classNamesShape,onEnter:l.func,onEntering:l.func,onEntered:l.func,onExit:l.func,onExiting:l.func,onExited:l.func}):{},g=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return t=e.call.apply(e,[this].concat(a))||this,t.onEnter=function(e,n){var a=t.getClassNames(n?"appear":"enter"),r=a.className;t.removeClasses(e,"exit"),d(e,r),t.props.onEnter&&t.props.onEnter(e)},t.onEntering=function(e,n){var a=t.getClassNames(n?"appear":"enter"),r=a.activeClassName;t.reflowAndAddClass(e,r),t.props.onEntering&&t.props.onEntering(e)},t.onEntered=function(e,n){var a=t.getClassNames("enter"),r=a.doneClassName;t.removeClasses(e,n?"appear":"enter"),d(e,r),t.props.onEntered&&t.props.onEntered(e)},t.onExit=function(e){var n=t.getClassNames("exit"),a=n.className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),d(e,a),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit"),a=n.activeClassName;t.reflowAndAddClass(e,a),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit"),a=n.doneClassName;t.removeClasses(e,"exit"),d(e,a),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,a="string"!==typeof n?n[e]:n+"-"+e;return{className:a,activeClassName:"string"!==typeof n?n[e+"Active"]:a+"-active",doneClassName:"string"!==typeof n?n[e+"Done"]:a+"-done"}},t}o(t,e);var n=t.prototype;return n.removeClasses=function(e,t){var n=this.getClassNames(t),a=n.className,r=n.activeClassName,o=n.doneClassName;a&&m(e,a),r&&m(e,r),o&&m(e,o)},n.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,d(e,t))},n.render=function(){var e=i({},this.props);return delete e.classNames,c.default.createElement(f.default,i({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(c.default.Component);g.propTypes="production"!==a.env.NODE_ENV?h:{};var b=g;t.default=b,e.exports=t.default}).call(t,n(1))},function(e,t,n){"use strict";function a(e,t){e.classList?e.classList.add(t):(0,o.default)(e,t)||("string"===typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(216),o=function(e){return e&&e.__esModule?e:{default:e}}(r);e.exports=t.default},function(e,t,n){"use strict";function a(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=a,e.exports=t.default},function(e,t,n){"use strict";function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,t){e.classList?e.classList.remove(t):"string"===typeof e.className?e.className=a(e.className,t):e.setAttribute("class",a(e.className&&e.className.baseVal||"",t))}},function(e,t,n){"use strict";(function(a){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}t.__esModule=!0,t.default=void 0;var l=r(n(8)),u=r(n(5)),s=n(35),c=r(n(78)),f="production"!==a.env.NODE_ENV?{in:l.default.bool.isRequired,children:function(e,t){return 2!==u.default.Children.count(e[t])?new Error('"'+t+'" must be exactly two transition components.'):null}}:{},p=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return t=e.call.apply(e,[this].concat(a))||this,t.handleEnter=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];return t.handleLifecycle("onExited",1,n)},t}i(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var a,r=this.props.children,o=u.default.Children.toArray(r)[t];o.props[e]&&(a=o.props)[e].apply(a,n),this.props[e]&&this.props[e]((0,s.findDOMNode)(this))},n.render=function(){var e=this.props,t=e.children,n=e.in,a=o(e,["children","in"]),r=u.default.Children.toArray(t),i=r[0],l=r[1];return delete a.onEnter,delete a.onEntering,delete a.onEntered,delete a.onExit,delete a.onExiting,delete a.onExited,u.default.createElement(c.default,a,n?u.default.cloneElement(i,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):u.default.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(u.default.Component);p.propTypes="production"!==a.env.NODE_ENV?f:{};var d=p;t.default=d,e.exports=t.default}).call(t,n(1))},function(e,t,n){"use strict";function a(e,t){var n=function(e){return t&&(0,u.isValidElement)(e)?t(e):e},a=Object.create(null);return e&&u.Children.map(e,function(e){return e}).forEach(function(e){a[e.key]=n(e)}),a}function r(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var a=Object.create(null),r=[];for(var o in e)o in t?r.length&&(a[o]=r,r=[]):r.push(o);var i,l={};for(var u in t){if(a[u])for(i=0;i<a[u].length;i++){var s=a[u][i];l[a[u][i]]=n(s)}l[u]=n(u)}for(i=0;i<r.length;i++)l[r[i]]=n(r[i]);return l}function o(e,t,n){return null!=n[t]?n[t]:e.props[t]}function i(e,t){return a(e.children,function(n){return(0,u.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:o(n,"appear",e),enter:o(n,"enter",e),exit:o(n,"exit",e)})})}function l(e,t,n){var i=a(e.children),l=r(t,i);return Object.keys(l).forEach(function(a){var r=l[a];if((0,u.isValidElement)(r)){var s=a in t,c=a in i,f=t[a],p=(0,u.isValidElement)(f)&&!f.props.in;!c||s&&!p?c||!s||p?c&&s&&(0,u.isValidElement)(f)&&(l[a]=(0,u.cloneElement)(r,{onExited:n.bind(null,r),in:f.props.in,exit:o(r,"exit",e),enter:o(r,"enter",e)})):l[a]=(0,u.cloneElement)(r,{in:!1}):l[a]=(0,u.cloneElement)(r,{onExited:n.bind(null,r),in:!0,exit:o(r,"exit",e),enter:o(r,"enter",e)})}}),l}t.__esModule=!0,t.getChildMapping=a,t.mergeChildMappings=r,t.getInitialChildMapping=i,t.getNextChildMapping=l;var u=n(5)},function(e,t,n){"use strict";var a={prefixTitle:{selector:"span.uagb-ifb-title-prefix",default:"Prefix"},infoBoxTitle:{selector:"h1,h2,h3,h4,h5,h6",default:"Info Box"},headingDesc:{source:"html",selector:"p",default:"Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."},headingAlign:{type:"string",default:"center"},headingColor:{type:"string"},subHeadingColor:{type:"string"},prefixColor:{type:"string"},icon:{type:"string",default:"fa fa-star"},iconimgPosition:{type:"string",default:"above-title"},iconSize:{type:"number",default:40},iconHover:{type:"string",default:""},iconBgHover:{type:"string",default:""},iconColor:{type:"string",default:"#333"},prefixTag:{type:"string",default:"h3"},prefixFontSize:{type:"number"},headingTag:{type:"string",default:"h3"},separatorHeight:{type:"number"},separatorWidth:{type:"number"},headFontSize:{type:"number"},subHeadFontSize:{type:"number"},headSpace:{type:"number",default:10},subHeadSpace:{type:"number",default:10},seperatorSpace:{type:"number",default:10},iconimgBorderRadius:{type:"number",default:0},source_type:{type:"string",default:"icon"},block_id:{type:"string",default:"not_set"},sourceAlign:{type:"string",default:"top"},ctaTarget:{type:"boolean",default:!1},seperatorStyle:{type:"string",default:"solid"},seperatorColor:{type:"string",default:"#333"},seperatorWidth:{type:"number",default:30},seperatorThickness:{type:"number",default:2},ctaType:{type:"string",default:"none"},ctaText:{type:"string",default:"Read More"},ctaLink:{type:"string",default:"#"},ctaLinkColor:{type:"string",default:"#333"},ctaFontSize:{type:"number"},ctaBtnLinkColor:{type:"string",default:"#333"},ctaBgColor:{type:"string",default:"transparent"},ctaBorderColor:{type:"string",default:"#333"},ctaBorderStyle:{type:"string",default:"solid"},ctaBtnVertPadding:{type:"number",default:10},ctaBtnHrPadding:{type:"number",default:14},ctaBorderWidth:{type:"number",default:1},ctaBorderRadius:{type:"number",default:0},prefixSpace:{type:"number",default:5},iconLeftMargin:{type:"number",default:10},iconRightMargin:{type:"number",default:10},iconTopMargin:{type:"number",default:5},iconBottomMargin:{type:"number",default:5},iconImage:{type:"object",default:{url:"",alt:"InfoBox placeholder img"}},imageSize:{type:"string",default:"thumbnail"},imageWidth:{type:"number",default:120},stack:{type:"string",default:"tablet"}};t.a=a},function(e,t){},function(e,t){},function(e,t,n){"use strict";function a(e,t,n){var a=n?"_blank":"_self";return wp.element.createElement("li",{className:"uagb-team__social-icon"},wp.element.createElement("a",{href:t,target:a,title:"",rel:"noopener noreferrer"},wp.element.createElement("span",{className:e})))}var r=n(0),o=n.n(r),i=n(2),l=n(224),u=n(226),s=n(227),c=(n.n(s),n(228)),f=(n.n(c),wp.i18n.__),p=wp.blocks.registerBlockType,d=wp.editor.RichText;wp.element.Fragment;p("uagb/team",{title:uagb_blocks_info.blocks["uagb/team"].title,description:uagb_blocks_info.blocks["uagb/team"].description,icon:i.a.team,keywords:[f("team"),f("members"),f("uagb")],category:uagb_blocks_info.category,attributes:u.a,edit:l.a,save:function(e){var t=e.attributes,n=t.block_id,r=t.align,i=t.tag,l=t.title,u=t.prefix,s=t.description_text,c=t.image,f=t.imgSize,p=t.imgStyle,m=t.imgPosition,h=t.twitterIcon,g=t.fbIcon,b=t.linkedinIcon,v=t.pinIcon,y=t.twitterLink,w=t.fbLink,_=t.linkedinLink,k=t.pinLink,x=t.socialTarget,E=t.socialEnable,C=t.stack,S="",T="";c&&(S=c.sizes,T=c.sizes&&S[f]?S[f].url:c.url);var P="";return""!=T&&(P=wp.element.createElement("div",{className:o()("uagb-team__image-wrap","uagb-team__image-crop-"+p)},wp.element.createElement("img",{className:"",src:T,alt:c.alt?c.alt:""}))),wp.element.createElement("div",{className:o()(e.className,"uagb-team","uagb-team__outer-wrap","uagb-team__image-position-"+m,"uagb-team__align-"+r,"uagb-team__stack-"+C),id:"uagb-team-"+n},wp.element.createElement("div",{className:"uagb-team__wrap"},"left"==m&&P,wp.element.createElement("div",{className:"uagb-team__content"},"above"==m&&P,wp.element.createElement("div",{className:"uagb-team__title-wrap"},wp.element.createElement(d.Content,{tagName:i,value:l,className:"uagb-team__title"}),wp.element.createElement(d.Content,{tagName:"span",value:u,className:"uagb-team__prefix"})),wp.element.createElement("div",{className:"uagb-team__desc-wrap"},wp.element.createElement(d.Content,{tagName:"p",value:s,className:"uagb-team__desc"})),E&&wp.element.createElement("div",{className:"uagb-team__social-icon-wrap"},wp.element.createElement("ul",{className:"uagb-team__social-list"},""!=h&&a(h,y,x),""!=g&&a(g,w,x),""!=b&&a(b,_,x),""!=v&&a(v,k,x)))),"right"==m&&P))}})},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=n.n(i),u=n(22),s=n(23),c=n.n(s),f=n(225),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),d=wp.i18n.__,m=wp.editor,h=m.AlignmentToolbar,g=m.BlockControls,b=m.InspectorControls,v=m.RichText,y=m.PanelColorSettings,w=m.MediaUpload,_=wp.components,k=_.PanelBody,x=_.SelectControl,E=_.RangeControl,C=_.Button,S=_.TextControl,T=_.BaseControl,P=_.ToggleControl,O=wp.element,N=O.Component,R=O.Fragment,I=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),p(t,[{key:"social_html",value:function(e,t,n){return wp.element.createElement("li",{className:"uagb-team__social-icon"},wp.element.createElement("a",{href:t,title:"",rel:"noopener noreferrer"},wp.element.createElement("span",{className:e})))}},{key:"render",value:function(){var e=this.props,t=(e.isSelected,e.className),n=e.setAttributes,a=e.attributes,r=e.mergeBlocks,o=e.insertBlocksAfter,i=e.onReplace,s=(a.block_id,a.align),p=a.tag,m=a.title,_=a.prefix,O=a.description_text,N=a.titleColor,I=a.prefixColor,j=a.descColor,M=a.titleFontSize,A=a.prefixFontSize,z=a.descFontSize,D=a.socialFontSize,F=a.image,U=a.imgStyle,B=a.imgAlign,L=a.imgSize,W=a.imgWidth,H=a.imgPosition,V=a.titleSpace,q=a.descSpace,$=a.prefixSpace,K=a.imgLeftMargin,G=a.imgRightMargin,Q=a.imgTopMargin,Y=a.imgBottomMargin,X=a.twitterIcon,J=a.fbIcon,Z=a.linkedinIcon,ee=a.pinIcon,te=a.twitterLink,ne=a.fbLink,ae=a.linkedinLink,re=a.pinLink,oe=a.socialColor,ie=a.socialHoverColor,le=a.socialSpace,ue=a.socialTarget,se=a.socialEnable,ce=a.stack,fe=document.getElementById("uagb-team-style-"+this.props.clientId);null!=fe&&"undefined"!=typeof fe&&(fe.innerHTML=Object(f.a)(this.props));var pe=function(e){if(!e||!e.url)return void n({image:null});e.type&&"image"==e.type&&n({image:e})},de=function(e){n({image:null})},me="",he="";F&&(me=F.sizes,he=F.sizes&&me[L]?me[L].url:F.url);var ge="";""!=he&&(ge=wp.element.createElement("div",{className:l()("uagb-team__image-wrap","uagb-team__image-crop-"+U)},wp.element.createElement("img",{className:"",src:he,alt:F.alt?F.alt:""})));var be=wp.element.createElement("div",{className:"uagb-team__desc-wrap"},wp.element.createElement(v,{tagName:"p",value:O,className:"uagb-team__desc",onChange:function(e){return n({description_text:e})},onMerge:r,unstableOnSplit:o?function(e,t){for(var a=arguments.length,r=Array(a>2?a-2:0),i=2;i<a;i++)r[i-2]=arguments[i];n({content:e}),o([].concat(r,[createBlock("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return i([])}})),ve=wp.element.createElement("div",{className:"uagb-team__social-icon-wrap"},wp.element.createElement("ul",{className:"uagb-team__social-list"},""!=X&&this.social_html(X,te,ue),""!=J&&this.social_html(J,ne,ue),""!=Z&&this.social_html(Z,ae,ue),""!=ee&&this.social_html(ee,re,ue))),ye=wp.element.createElement("div",{className:"uagb-team__title-wrap"},wp.element.createElement(v,{tagName:p,value:m,className:"uagb-team__title",onChange:function(e){return n({title:e})},multiline:!1,placeholder:d("Write a Title"),onMerge:r,unstableOnSplit:o?function(e,t){for(var a=arguments.length,r=Array(a>2?a-2:0),i=2;i<a;i++)r[i-2]=arguments[i];n({content:e}),o([].concat(r,[createBlock("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return i([])}}),wp.element.createElement(v,{tagName:"span",value:_,className:"uagb-team__prefix",onChange:function(e){return n({prefix:e})},onMerge:r,unstableOnSplit:o?function(e,t){for(var a=arguments.length,r=Array(a>2?a-2:0),i=2;i<a;i++)r[i-2]=arguments[i];n({content:e}),o([].concat(r,[createBlock("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return i([])}}));return wp.element.createElement(R,null,"above"==H&&wp.element.createElement(g,{key:"controls"},wp.element.createElement(h,{value:s,onChange:function(e){return n({align:e})}})),wp.element.createElement(b,null,wp.element.createElement(k,{title:d("Image")},wp.element.createElement(T,{className:"editor-bg-image-control",label:d("Team Member Image")},wp.element.createElement(w,{title:d("Select Image"),onSelect:pe,allowedTypes:["image"],value:F,render:function(e){var t=e.open;return wp.element.createElement(C,{isDefault:!0,onClick:t},d(F?"Replace image":"Select Image"))}}),F&&wp.element.createElement(C,{className:"uagb-rm-btn",onClick:de,isLink:!0,isDestructive:!0},d("Remove Image"))),wp.element.createElement(x,{label:d("Position"),value:H,onChange:function(e){return n({imgPosition:e})},options:[{value:"above",label:d("Above")},{value:"left",label:d("Left")},{value:"right",label:d("Right")}]}),"above"!=H&&wp.element.createElement(x,{label:d("Stack on"),value:ce,options:[{value:"none",label:d("None")},{value:"tablet",label:d("Tablet")},{value:"mobile",label:d("Mobile")}],help:d("Note: Choose on what breakpoint the Team will stack."),onChange:function(e){return n({stack:e})}}),wp.element.createElement(x,{label:d("Image Style"),value:U,onChange:function(e){return n({imgStyle:e})},options:[{value:"normal",label:d("Normal")},{value:"circle",label:d("Circle")},{value:"square",label:d("Square")}]}),H&&"above"!==H&&wp.element.createElement(x,{label:d("Vertical Alignment"),value:B,onChange:function(e){return n({imgAlign:e})},options:[{value:"top",label:d("Top")},{value:"middle",label:d("Middle")}]}),wp.element.createElement(x,{label:d("Size"),options:[{value:"thumbnail",label:d("Thumbnail")},{value:"medium",label:d("Medium")},{value:"full",label:d("Large")}],value:L,onChange:function(e){return n({imgSize:e})}}),wp.element.createElement(E,{label:d("Width"),value:W,onChange:function(e){return n({imgWidth:e})},min:0,max:500,allowReset:!0})),wp.element.createElement(k,{title:d("Social Links"),initialOpen:!1},wp.element.createElement(P,{label:d("Enable Social Links"),checked:se,onChange:function(e){return n({socialEnable:!se})}}),se&&wp.element.createElement(R,null,wp.element.createElement(P,{label:d("Open Links in New Window"),checked:ue,onChange:function(e){return n({socialTarget:!ue})}}),wp.element.createElement(k,{title:d("Twitter"),initialOpen:!1},wp.element.createElement("p",{className:"components-base-control__label"},d("Icon")),wp.element.createElement(c.a,{icons:u.a,renderUsing:"class",theme:"default",value:X,onChange:function(e){return n({twitterIcon:e})},isMulti:!1}),wp.element.createElement("p",{className:"components-base-control__label"},d("URL")),wp.element.createElement(S,{value:te,onChange:function(e){return n({twitterLink:e})},placeholder:d("Enter Twitter URL")})),wp.element.createElement(k,{title:d("FaceBook"),initialOpen:!1},wp.element.createElement("p",{className:"components-base-control__label"},d("Icon")),wp.element.createElement(c.a,{icons:u.a,renderUsing:"class",theme:"default",value:J,onChange:function(e){return n({fbIcon:e})},isMulti:!1}),wp.element.createElement("p",{className:"components-base-control__label"},d("URL")),wp.element.createElement(S,{value:ne,onChange:function(e){return n({fbLink:e})},placeholder:d("Enter FaceBook URL")})),wp.element.createElement(k,{title:d("LinkedIn"),initialOpen:!1},wp.element.createElement("p",{className:"components-base-control__label"},d("Icon")),wp.element.createElement(c.a,{icons:u.a,renderUsing:"class",theme:"default",value:Z,onChange:function(e){return n({linkedinIcon:e})},isMulti:!1}),wp.element.createElement("p",{className:"components-base-control__label"},d("URL")),wp.element.createElement(S,{value:ae,onChange:function(e){return n({linkedinLink:e})},placeholder:d("Enter LinkedIn URL")})),wp.element.createElement(k,{title:d("Pinterest"),initialOpen:!1},wp.element.createElement("p",{className:"components-base-control__label"},d("Icon")),wp.element.createElement(c.a,{icons:u.a,renderUsing:"class",theme:"default",value:ee,onChange:function(e){return n({pinIcon:e})},isMulti:!1}),wp.element.createElement("p",{className:"components-base-control__label"},d("URL")),wp.element.createElement(S,{value:re,onChange:function(e){return n({pinLink:e})},placeholder:d("Enter Pinterest URL")})))),wp.element.createElement(k,{title:d("Typography"),initialOpen:!1},wp.element.createElement(x,{label:d("Title Tag"),value:p,onChange:function(e){return n({tag:e})},options:[{value:"h1",label:d("H1")},{value:"h2",label:d("H2")},{value:"h3",label:d("H3")},{value:"h4",label:d("H4")},{value:"h5",label:d("H5")},{value:"h6",label:d("H6")}]}),wp.element.createElement(E,{label:d("Title Font Size"),value:M,onChange:function(e){return n({titleFontSize:e})},min:1,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:30}),wp.element.createElement(E,{label:d("Designation Font Size"),value:A,onChange:function(e){return n({prefixFontSize:e})},min:1,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:16}),wp.element.createElement(E,{label:d("Description Font Size"),value:z,onChange:function(e){return n({descFontSize:e})},min:1,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:16}),wp.element.createElement(E,{label:d("Social Icon Font Size"),value:D,onChange:function(e){return n({socialFontSize:e})},min:1,max:100,beforeIcon:"editor-textcolor",allowReset:!0})),wp.element.createElement(y,{title:d("Color Settings"),initialOpen:!1,colorSettings:[{value:N,onChange:function(e){return n({titleColor:e})},label:d("Title Color")},{value:I,onChange:function(e){return n({prefixColor:e})},label:d("Designation")},{value:j,onChange:function(e){return n({descColor:e})},label:d("Description")},{value:oe,onChange:function(e){return n({socialColor:e})},label:d("Social Icon")},{value:ie,onChange:function(e){return n({socialHoverColor:e})},label:d("Social Icon Hover")}]}),wp.element.createElement(k,{title:d("Spacing"),initialOpen:!1},wp.element.createElement(E,{label:d("Title Bottom Spacing"),value:V,onChange:function(e){return n({titleSpace:e})},min:0,max:50,allowReset:!0,initialPosition:0}),wp.element.createElement(E,{label:d("Designation Bottom Spacing"),value:$,onChange:function(e){return n({prefixSpace:e})},min:0,max:50,allowReset:!0,initialPosition:0}),wp.element.createElement(E,{label:d("Description Bottom Spacing"),value:q,onChange:function(e){return n({descSpace:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(E,{label:d("Inter Social Icon Spacing"),value:le,onChange:function(e){return n({socialSpace:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(k,{title:d("Image Margins"),initialOpen:!0},"above"!=H&&wp.element.createElement(E,{label:d("Left Margin"),value:K,onChange:function(e){return n({imgLeftMargin:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0}),"above"!=H&&wp.element.createElement(E,{label:d("Right Margin"),value:G,onChange:function(e){return n({imgRightMargin:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(E,{label:d("Top Margin"),value:Q,onChange:function(e){return n({imgTopMargin:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(E,{label:d("Bottom Margin"),value:Y,onChange:function(e){return n({imgBottomMargin:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0})))),wp.element.createElement("div",{className:l()(t,"uagb-team","uagb-team__outer-wrap","uagb-team__image-position-"+H,"uagb-team__align-"+s,"uagb-team__stack-"+ce),id:"uagb-team-"+this.props.clientId},wp.element.createElement("div",{className:"uagb-team__wrap"},"left"==H&&ge,wp.element.createElement("div",{className:"uagb-team__content"},"above"==H&&ge,ye,be,se&&ve),"right"==H&&ge)))}},{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-team-style-"+this.props.clientId),document.head.appendChild(e)}}]),t}(N);t.a=I},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.tag,a=t.align,r=t.titleColor,o=t.prefixColor,i=t.descColor,l=t.titleFontSize,u=t.prefixFontSize,s=t.descFontSize,c=(t.imgStyle,t.imgAlign),f=(t.imgSize,t.imgWidth),p=t.imgPosition,d=t.titleSpace,m=t.descSpace,h=t.prefixSpace,g=t.imgLeftMargin,b=t.imgRightMargin,v=t.imgTopMargin,y=t.imgBottomMargin,w=t.socialColor,_=t.socialHoverColor,k=t.socialSpace,x=t.socialFontSize,E={" .editor-rich-text p.uagb-team__desc.editor-rich-text__tinymce":{"font-size":s+"px",color:i,"margin-bottom":m+"px"}," .uagb-team__prefix":{"font-size":u+"px",color:o}," .uagb-team__desc-wrap":{"margin-top":h+"px"}," .uagb-team__social-icon a":{color:w+" !important","font-size":x+"px !important",width:x+"px !important",height:x+"px !important"}," .uagb-team__social-icon:hover a":{color:_+" !important"},".uagb-team__image-position-left .uagb-team__social-icon":{"margin-right":k+"px !important","margin-left":"0"},".uagb-team__image-position-right .uagb-team__social-icon":{"margin-left":k+"px !important","margin-right":"0"},".uagb-team__image-position-above.uagb-team__align-center .uagb-team__social-icon":{"margin-right":k/2+"px !important","margin-left":k/2+"px !important"},".uagb-team__image-position-above.uagb-team__align-left .uagb-team__social-icon":{"margin-right":k+"px !important","margin-left":"0"},".uagb-team__image-position-above.uagb-team__align-right .uagb-team__social-icon":{"margin-left":k+"px !important","margin-right":"0"}," .uagb-team__imag-wrap":{"margin-top":v+"px","margin-bottom":y+"px","margin-left":g+"px","margin-right":b+"px",width:f+"px"}};"above"==p&&("center"==a?(E[" .uagb-team__imag-wrap"]["margin-left"]="auto",E[" .uagb-team__imag-wrap"]["margin-right"]="auto"):"left"==a?E[" .uagb-team__imag-wrap"]["margin-right"]="auto":"right"==a&&(E[" .uagb-team__imag-wrap"]["margin-left"]="auto")),"above"!=p&&"middle"==c&&(E[" .uagb-team__imag-wrap"]["align-self"]="center"),E[" .editor-rich-text "+n+".uagb-team__title"]={"font-size":l+"px",color:r,"margin-bottom":d+"px"};var C="";for(var S in E){C+="#uagb-team-"+e.clientId,C+=S+" { ";var T=E[S],P="";for(var O in T)P+=O+": "+T[O]+";";C+=P+" } "}return C}t.a=a},function(e,t,n){"use strict";var a={block_id:{type:"string"},align:{type:"string",default:"center"},tag:{type:"string",default:"h3"},title:{selector:"h1,h2,h3,h4,h5,h6",default:"John Doe"},prefix:{selector:"span.uagb-team__prefix",default:"Designation"},description_text:{selector:"p",default:"Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo."},titleColor:{type:"string"},prefixColor:{type:"string",default:"#888888"},descColor:{type:"string"},socialColor:{type:"string",default:"#333"},socialHoverColor:{type:"string"},titleFontSize:{type:"number"},prefixFontSize:{type:"number",default:15},descFontSize:{type:"number"},socialFontSize:{type:"number",default:20},image:{type:"object"},imgStyle:{type:"string",default:"normal"},imgPosition:{type:"string",default:"above"},imgAlign:{type:"string",default:"top"},imgSize:{type:"string",default:"thumbnail"},imgWidth:{type:"number",default:120},titleSpace:{type:"number"},prefixSpace:{type:"number"},descSpace:{type:"number",default:10},imgLeftMargin:{type:"number",default:20},imgRightMargin:{type:"number",default:20},imgTopMargin:{type:"number",default:15},imgBottomMargin:{type:"number",default:15},socialEnable:{type:"boolean",default:!0},socialSpace:{type:"number",default:20},socialTarget:{type:"boolean",default:!1},twitterIcon:{type:"string",default:"fab fa-twitter"},fbIcon:{type:"string",default:"fab fa-facebook"},linkedinIcon:{type:"string",default:"fab fa-linkedin"},pinIcon:{type:"string",default:"fab fa-pinterest"},twitterLink:{type:"string",default:"#"},fbLink:{type:"string",default:"#"},linkedinLink:{type:"string",default:"#"},pinLink:{type:"string",default:"#"},stack:{type:"string",default:"tablet"}};t.a=a},function(e,t){},function(e,t){},function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(2),i=n(230),l=(n.n(i),n(231)),u=(n.n(l),n(232)),s=n(233),c=n(79),f=wp.i18n.__;(0,wp.blocks.registerBlockType)("uagb/social-share",{title:uagb_blocks_info.blocks["uagb/social-share"].title,description:uagb_blocks_info.blocks["uagb/social-share"].description,icon:o.a.social_share,category:uagb_blocks_info.category,keywords:[f("social share"),f("icon"),f("uagb")],attributes:u.a,edit:s.a,save:function(e){var t=(e.attributes,e.className),n=e.attributes,a=n.block_id,o=(n.align,n.items,n.socials),i=n.social_count,l=n.social_layout,u=n.current_url;return wp.element.createElement("div",{className:r()(t,"uagb-social-share__outer-wrap","uagb-social-share__layout-"+l),id:"uagb-social-share-"+a},wp.element.createElement("div",{className:"uagb-social-share__wrap"},o.map(function(e,t){if(!(i<=t)){var n="";null!=u&&(n=c.a[e.type]+encodeURI(u));var a="";return"icon"==e.image_icon?e.icon&&(a=wp.element.createElement("span",{className:r()(e.icon,"uagb-ss__source-icon")})):e.image&&(a=wp.element.createElement("img",{className:"uagb-ss__source-image",src:e.image.url})),wp.element.createElement("div",{className:r()("uagb-ss-repeater-"+t,"uagb-ss__wrapper"),key:t},wp.element.createElement("a",{className:"uagb-ss__link",href:n,rel:"noopener noreferrer"},wp.element.createElement("span",{className:"uagb-ss__source-wrap"},a)))}})))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";for(var a=[],r=1;r<=1;r++)a.push({type:"facebook",image_icon:"icon",icon:"fab fa-facebook",image:"",icon_color:"#3a3a3a",icon_hover_color:""});var o={block_id:{type:"string"},current_url:{type:"string"},align:{type:"string",default:"center"},social_count:{type:"number",default:1},socials:{type:"array",default:a},gap:{type:"number",default:10},size:{type:"number",default:40},social_layout:{type:"string",default:"horizontal"},stack:{type:"string",default:"none"}};t.a=o},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(12),c=n.n(s),f=n(22),p=n(23),d=n.n(p),m=n(234),h=n(79),g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},b=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),v=wp.i18n.__,y=wp.element,w=y.Component,_=y.Fragment,k=wp.editor,x=k.BlockControls,E=k.BlockAlignmentToolbar,C=k.InspectorControls,S=k.PanelColorSettings,T=k.MediaUpload,P=wp.components,O=P.PanelBody,N=P.SelectControl,R=P.RangeControl,I=P.Button,j=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),b(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId}),this.props.setAttributes({current_url:wp.data.select("core/editor").getPermalink()});var e=document.createElement("style");e.setAttribute("id","uagb-style-social-share-"+this.props.clientId),document.head.appendChild(e)}},{key:"saveSocials",value:function(e,t){var n=this.props,a=n.attributes;(0,n.setAttributes)({socials:a.socials.map(function(n,a){return t===a&&(n=g({},n,e)),n})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=(t.isSelected,n.align),i=n.className,l=n.social_count,s=n.socials,p=n.gap,g=n.stack,b=n.current_url,y=n.social_layout,w=n.size,k=function(t){return wp.element.createElement(O,{key:t,title:v("Social Share")+" "+(t+1)+" "+v("Settings"),initialOpen:!1},wp.element.createElement(N,{label:v("Type"),value:s[t].type,options:[{value:"facebook",label:v("Facebook")},{value:"twitter",label:v("Twitter")},{value:"google",label:v("Google Plus")},{value:"pinterest",label:v("Pinterest")},{value:"linkedin",label:v("LinkedIn")},{value:"digg",label:v("Digg")},{value:"blogger",label:v("Blogger")},{value:"reddit",label:v("Reddit")},{value:"stumbleupon",label:v("StumbleUpon")},{value:"tumblr",label:v("Tumblr")},{value:"myspace",label:v("Myspace")},{value:"email",label:v("Email")}],onChange:function(n){e.saveSocials({type:n},t)}}),wp.element.createElement(N,{label:v("Image / Icon"),value:s[t].image_icon,options:[{value:"icon",label:v("Icon")},{value:"image",label:v("Image")}],onChange:function(n){e.saveSocials({image_icon:n},t)}}),"icon"==s[t].image_icon&&wp.element.createElement(_,null,wp.element.createElement("p",{className:"components-base-control__label"},v("Icon")),wp.element.createElement(d.a,{icons:f.a,renderUsing:"class",theme:"default",value:s[t].icon,onChange:function(n){e.saveSocials({icon:n},t)},isMulti:!1})),"image"==s[t].image_icon&&wp.element.createElement(_,null,wp.element.createElement(T,{title:v("Select Image"),onSelect:function(n){e.saveSocials({image:n},t)},allowedTypes:["image"],value:s[t].image,render:function(e){var n=e.open;return wp.element.createElement(I,{isDefault:!0,onClick:n},v(s[t].image?"Replace image":"Select Image"))}}),s[t].image&&wp.element.createElement(I,{className:"uagb-rm-btn",onClick:function(n){e.saveSocials({image:null},t)},isLink:!0,isDestructive:!0},v("Remove Image"))),"icon"==s[t].image_icon&&wp.element.createElement(S,{title:v("Color Settings"),colorSettings:[{value:s[t].icon_color,onChange:function(n){return e.saveSocials({icon_color:n},t)},label:v("Color")},{value:s[t].icon_hover_color,onChange:function(n){return e.saveSocials({icon_hover_color:n},t)},label:v("Hover Color")}]}))},P=document.getElementById("uagb-style-social-share-"+this.props.clientId);return null!=P&&"undefined"!=typeof P&&(P.innerHTML=Object(m.a)(this.props)),wp.element.createElement(_,null,wp.element.createElement(x,null,wp.element.createElement(E,{value:o,onChange:function(e){r({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(C,null,wp.element.createElement(O,{title:v("Social Icon Count"),initialOpen:!0},wp.element.createElement(R,{label:v("Number of Social Icons"),value:l,onChange:function(e){var t=[].concat(a(s));if(t.length<e){var n=Math.abs(e-t.length);c()(n,function(e){t.push({type:t[0].type,image_icon:t[0].image_icon,icon:t[0].icon,image:t[0].image,icon_color:t[0].icon_color,icon_hover_color:t[0].icon_hover_color})}),r({socials:t})}r({social_count:e})},min:1,max:12})),c()(l,function(e){return k(e)}),wp.element.createElement(O,{title:v("General"),initialOpen:!1},wp.element.createElement(N,{label:v("Layout"),value:y,options:[{value:"horizontal",label:v("Horizontal")},{value:"vertical",label:v("Vertical")}],onChange:function(e){return r({social_layout:e})}}),"horizontal"==y&&wp.element.createElement(_,null,wp.element.createElement(N,{label:v("Stack on"),value:g,options:[{value:"none",label:v("None")},{value:"desktop",label:v("Desktop")},{value:"tablet",label:v("Tablet")},{value:"mobile",label:v("Mobile")}],onChange:function(e){return r({stack:e})}}),wp.element.createElement("p",{className:"uagb-note"},v("Note: Choose on what breakpoint the Icons will stack."))),wp.element.createElement(R,{label:v("Size"),value:w,onChange:function(e){return r({size:e})},min:0,max:500,initialPosition:40}),wp.element.createElement(R,{label:v("Gap between Icon / Image"),value:p,onChange:function(e){return r({gap:e})},min:0,max:100}))),wp.element.createElement("div",{className:u()(i,"uagb-social-share__outer-wrap","uagb-social-share__layout-"+y),id:"uagb-social-share-"+this.props.clientId},wp.element.createElement("div",{className:"uagb-social-share__wrap"},s.map(function(e,t){if(!(l<=t)){var n="";null!=b&&(n=h.a[e.type]+encodeURI(b));var a="";return"icon"==e.image_icon?e.icon&&(a=wp.element.createElement("span",{className:u()(e.icon,"uagb-ss__source-icon")})):e.image&&(a=wp.element.createElement("img",{className:"uagb-ss__source-image",src:e.image.url})),wp.element.createElement("div",{className:u()("uagb-ss-repeater-"+t,"uagb-ss__wrapper"),key:t},wp.element.createElement("a",{className:"uagb-ss__link",href:n,rel:"noopener noreferrer"},wp.element.createElement("span",{className:"uagb-ss__source-wrap"},a)))}}))))}}]),t}(w);t.a=j},function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){var t,n=e.attributes,r=n.align,o=(n.className,n.social_count),i=n.socials,l=n.gap,u=n.social_layout,s=n.size,c=n.stack,f={},p={},d={};i.map(function(e,t){o<=t||(f[" .uagb-ss-repeater-"+t+" a.uagb-ss__link"]={color:e.icon_color},f[" .uagb-ss-repeater-"+t+":hover a.uagb-ss__link"]={color:e.icon_hover_color})}),f[".uagb-social-share__layout-vertical .uagb-ss__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":l+"px"},f[".uagb-social-share__layout-vertical .uagb-social-share__wrap"]={"flex-direction":"column"},f[".uagb-social-share__layout-vertical .uagb-ss__wrapper:last-child"]={"margin-bottom":0},f[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"]={"margin-left":l/2+"px","margin-right":l/2+"px"},f[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:first-child"]={"margin-left":0},f[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:last-child"]={"margin-right":0},f[" .uagb-ss__wrapper"]={width:s+"px"},f[" .uagb-ss__source-image"]={width:s+"px"},f[" .uagb-ss__source-icon"]={width:s+"px",height:s+"px","font-size":s+"px"},f[" .uagb-ss__source-icon:before"]={width:s+"px",height:s+"px","font-size":s+"px"};var m="left"==r?"flex-start":"right"==r?"flex-end":"center";f[" .uagb-social-share__wrap"]=(t={"justify-content":m,"-webkit-box-pack":m,"-ms-flex-pack":m},a(t,"justify-content",m),a(t,"-webkit-box-align",m),a(t,"-ms-flex-align",m),a(t,"align-items",m),t),"horizontal"==u&&("desktop"==c?(f[" .uagb-ss__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":l+"px"},f[" .uagb-social-share__wrap"]={"flex-direction":"column"},f[" .uagb-ss__wrapper:last-child"]={"margin-bottom":0}):"tablet"==c?(p[" .uagb-ss__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":l+"px"},p[" .uagb-social-share__wrap"]={"flex-direction":"column"},p[" .uagb-ss__wrapper:last-child"]={"margin-bottom":0}):"mobile"==c&&(d[" .uagb-ss__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":l+"px"},d[" .uagb-social-share__wrap"]={"flex-direction":"column"},d[" .uagb-ss__wrapper:last-child"]={"margin-bottom":0}));var h="",g="#uagb-social-share-"+e.clientId;for(var b in f){h+=g,h+=b+" { ";var v=f[b],y="";for(var w in v)y+=w+": "+v[w]+";";h+=y+" } "}h+="@media only screen and (max-width: 976px) {";for(var b in p){h+=g,h+=b+" { ";var v=p[b],y="";for(var w in v)y+=w+": "+v[w]+";";h+=y+" } "}h+=" }",h+="@media only screen and (max-width: 767px) {";for(var b in d){h+=g,h+=b+" { ";var v=d[b],y="";for(var w in v)y+=w+": "+v[w]+";";h+=y+" } "}return h+=" }"}t.a=r},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=n.n(i),u=n(2),s=n(236),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}()),f=wp.i18n.__,p=wp.blocks.registerBlockType,d=wp.editor.InspectorControls,m=wp.components,h=m.PanelBody,g=m.RangeControl,b=m.TextControl,v=wp.element,y=v.Component,w=v.Fragment,_="AIzaSyAsd_d46higiozY-zNqtr7zdA81Soswje4",k=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),c(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.setAttributes,a=e.attributes,r=(a.block_id,a.height),o=a.zoom,i=a.address,u=encodeURI(i),s="https://www.google.com/maps/embed/v1/place?key="+_+"&q="+u+"&zoom="+o;return wp.element.createElement(w,null,wp.element.createElement(d,null,wp.element.createElement(h,{title:f("General")},wp.element.createElement("p",{className:"uagb-google-map-notice"},f("This module uses UAGB's API key to display the map. You don't need to create your own API key or worry about renewing it.")),wp.element.createElement("p",{className:"components-base-control__label"},f("Address")),wp.element.createElement(b,{value:i,onChange:function(e){return n({address:e})},placeholder:f("Type the address")}),wp.element.createElement(g,{label:f("Zoom"),value:o,onChange:function(e){return n({zoom:e})},min:1,max:22,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(g,{label:f("Height"),value:r,onChange:function(e){return n({height:e})},min:0,max:1e3,allowReset:!0}))),wp.element.createElement("div",{className:l()(t,"uagb-google-map__wrap"),id:"uagb-google-map-"+this.props.clientId},wp.element.createElement("iframe",{className:"uagb-google-map__iframe",src:s,style:{height:r}})))}}]),t}(y);p("uagb/google-map",{title:uagb_blocks_info.blocks["uagb/google-map"].title,description:uagb_blocks_info.blocks["uagb/google-map"].description,icon:u.a.google_map,keywords:[f("google map"),f("uagb")],category:uagb_blocks_info.category,attributes:{block_id:{type:"string"},address:{type:"string",default:"Brainstorm Force"},height:{type:"number",default:300},zoom:{type:"number",default:12}},edit:k,save:function(e){var t=e.attributes,n=t.block_id,a=t.height,r=t.zoom,o=t.address,i=encodeURI(o),u="https://www.google.com/maps/embed/v1/place?key="+_+"&q="+i+"&zoom="+r;return wp.element.createElement("div",{className:l()(e.className,"uagb-google-map__wrap"),id:"uagb-google-map-"+n},wp.element.createElement("iframe",{className:"uagb-google-map__iframe",src:u,style:{height:a}}))}})},function(e,t){},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var r=n(0),o=n.n(r),i=n(12),l=(n.n(i),n(2)),u=n(238),s=(n.n(u),n(239)),c=n(240),f=n(80),p=n(81),d=n(82),m=n(83),h=wp.date,g=h.dateI18n,b=h.__experimentalGetSettings,v=wp.i18n.__,y=wp.blocks.registerBlockType,w=wp.editor.RichText;y("uagb/content-timeline",{title:uagb_blocks_info.blocks["uagb/content-timeline"].title,description:uagb_blocks_info.blocks["uagb/content-timeline"].description,icon:l.a.content_timeline,category:uagb_blocks_info.category,keywords:[v("Content Timeline"),v("Timeline"),v("uagb")],attributes:s.a,edit:c.a,save:function(e){var t=e.attributes,n=t.block_id,r=t.headingTag,i=t.timelinAlignment,l=t.displayPostDate,u=t.icon,s=t.tm_content,c=t.t_date,h=(t.stack,t.className),v="uagb-ctm-"+n,y=(Object(f.a)(e),Array.isArray(s)&&s.length,b().formats.date),_=Object(d.a)(e.attributes,0),k=Object(m.a)(e.attributes,0),x=([].concat(a(s)),!1);return wp.element.createElement("div",{className:o()(h,"uagb-timeline__outer-wrap"),id:v},wp.element.createElement("div",{className:o.a.apply(void 0,["uagb-timeline__content-wrap"].concat(a(Object(p.a)(e.attributes))))},wp.element.createElement("div",{className:"uagb-timeline-wrapper"},wp.element.createElement("div",{className:"uagb-timeline__main"},wp.element.createElement("div",{className:"uagb-timeline__days uagb-timeline-infinite-load"},s.map(function(t,n){"center"==i&&(x=!0,_=Object(d.a)(e.attributes,n),k=Object(m.a)(e.attributes,n));var s="uagb-timeline__icon-new out-view-uagb-timeline__icon "+u;return wp.element.createElement("article",{className:"uagb-timeline__field uagb-timeline__animate-border",key:n},wp.element.createElement("div",{className:o.a.apply(void 0,a(_))},wp.element.createElement("div",{className:"uagb-timeline__marker out-view-uagb-timeline__icon"},wp.element.createElement("span",{className:s})),wp.element.createElement("div",{className:o.a.apply(void 0,a(k))},wp.element.createElement("div",{className:"uagb-events-new"},wp.element.createElement("div",{className:"uagb-timeline__events-inner-new"},wp.element.createElement("div",{className:"uagb-timeline__date-hide uagb-timeline__date-inner"},l&&c[n].title&&wp.element.createElement("div",{className:"uagb-timeline__inner-date-new"},g(y,c[n].title))),wp.element.createElement("div",{className:"uagb-timeline-content"},wp.element.createElement("div",{className:"uagb-timeline__heading-text"},wp.element.createElement(w.Content,{tagName:r,value:t.time_heading,className:"uagb-timeline__heading"})),wp.element.createElement(w.Content,{tagName:"p",value:t.time_desc,className:"uagb-timeline-desc-content"}),wp.element.createElement("div",{className:"uagb-timeline__arrow"}))))),x&&wp.element.createElement("div",{className:"uagb-timeline__date-new"},l&&c[n].title&&wp.element.createElement("div",{className:"uagb-timeline__date-new"},g(y,c[n].title)))))})),wp.element.createElement("div",{className:"uagb-timeline__line"},wp.element.createElement("div",{className:"uagb-timeline__line__inner"}))))))}})},function(e,t){},function(e,t,n){"use strict";for(var a=[],r=[],o=1;o<=5;o++){var i="Timeline Heading "+o,l={time_heading:i,time_desc:"This is Timeline description, you can change me anytime click here "};a.push(l);var u=o-1,s=new Date,c=s.getDate(),f=s.getMonth()+1,p=s.getFullYear()-u;c<10&&(c="0"+c),f<10&&(f="0"+f),s=f+"/"+c+"/"+p;var l={title:s};r.push(l)}var d={tm_content:{type:"array",default:a},headingTitle:{type:"string"},headingDesc:{type:"string"},align:{type:"string",default:"center"},headingColor:{type:"string"},subHeadingColor:{type:"string"},separatorBg:{type:"string",default:"#eee"},backgroundColor:{type:"string",default:"#eee"},separatorColor:{type:"string",default:"#eee"},separatorFillColor:{type:"string",default:"#61ce70"},separatorBorder:{type:"string",default:"#eee"},borderFocus:{type:"string",default:"#5cb85c"},headingTag:{type:"string",default:"h4"},horizontalSpace:{type:"number",default:10},verticalSpace:{type:"number",default:15},headFontSize:{type:"number"},timelinAlignment:{type:"string",default:"center"},arrowlinAlignment:{type:"string",default:"center"},subHeadFontSize:{type:"number"},headSpace:{type:"number",default:5},separatorwidth:{type:"number",default:3},borderwidth:{type:"number",default:0},iconColor:{type:"string",default:"#333"},iconFocus:{type:"string",default:"#fff"},iconBgFocus:{type:"string",default:"#61ce70"},authorFontsize:{type:"number",default:12},dateColor:{type:"string",default:"#333"},dateFontsize:{type:"number",default:12},connectorBgsize:{type:"number",default:35},subHeadSpace:{type:"number",default:5},dateBottomspace:{type:"number",default:5},block_id:{type:"string",default:"0"},timelineItem:{type:"number",default:5},tm_client_id:{type:"string",default:"not_set"},borderRadius:{type:"number",default:2},bgPadding:{type:"number",default:20},iconSize:{type:"number",default:12},icon:{type:"string",default:"fab fa fa-calendar-alt"},iconHover:{type:"string",default:""},iconBgHover:{type:"string",default:""},borderHover:{type:"string",default:""},t_date:{type:"array",default:r},displayPostDate:{type:"boolean",default:!0},stack:{type:"string",default:"tablet"}};t.a=d},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(12),c=n.n(s),f=n(22),p=n(23),d=n.n(p),m=n(80),h=n(81),g=n(82),b=n(83),v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},y=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),w=wp.date,_=w.dateI18n,k=w.__experimentalGetSettings,x=wp.element,E=x.Component,C=x.Fragment,S=wp.i18n.__,T=(wp.htmlEntities.decodeEntities,wp.blocks),P=(T.registerBlockType,T.createBlock),O=wp.editor,N=O.BlockControls,R=O.ColorPalette,I=O.InspectorControls,j=O.RichText,M=O.BlockAlignmentToolbar,A=O.PanelColorSettings,z=wp.components,D=z.PanelBody,F=z.SelectControl,U=z.Placeholder,B=z.RangeControl,L=z.Spinner,W=z.TextControl,H=z.ToggleControl,V=(z.Toolbar,z.TabPanel),q=function(e){function t(){r(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.splitBlock=e.splitBlock.bind(e),e.getTimelinecontent=e.getTimelinecontent.bind(e),e.getDatecontent=e.getDatecontent.bind(e),e.getTimelineicon=e.getTimelineicon.bind(e),e.savedateArray=e.savedateArray.bind(e),e.toggleDisplayPostDate=e.toggleDisplayPostDate.bind(e),e}return i(t,e),y(t,[{key:"splitBlock",value:function(e,t){for(var n=this.props,a=n.attributes,r=n.insertBlocksAfter,o=n.setAttributes,i=n.onReplace,l=arguments.length,u=Array(l>2?l-2:0),s=2;s<l;s++)u[s-2]=arguments[s];t&&u.push(P("core/paragraph",{content:t})),u.length&&r&&r(u);var c=a.content;e?c!==e&&o({content:e}):i([])}},{key:"toggleDisplayPostDate",value:function(){var e=this.props.attributes.displayPostDate;(0,this.props.setAttributes)({displayPostDate:!e})}},{key:"getTimelineicon",value:function(e){this.props.setAttributes({icon:e})}},{key:"getTimelinecontent",value:function(e){var t=this.props.attributes,n=t.tm_content,r=(t.timelineItem,this.props.setAttributes),o=e,i=[].concat(a(n)),l=i.length;if(o<l){for(var u=l-o,s=i,c=0;c<u;c++)s.pop();r({tm_content:s})}if(o>l){for(var u=o-l,c=0;c<u;c++){var f=l+c,p="My Heading "+o;i[f]={time_heading:p,time_desc:"I am timeline card content. You can change me anytime. Click here to edit this text."}}r({tm_content:i})}return this.props.attributes.tm_content}},{key:"getDatecontent",value:function(e){var t=this.props.attributes,n=(t.timelineItem,t.t_date),r=this.props.setAttributes,o=e,i=[].concat(a(n)),l=i.length;if(o<l){for(var u=l-o,s=i,c=0;c<u;c++)s.pop();r({t_date:s})}if(o>l){var u=o-l,f=new Date,p=f.getDate(),d=f.getMonth()+1;p<10&&(p="0"+p),d<10&&(d="0"+d);for(var c=0;c<u;c++){var m=l+c;f=d+"/"+p+"/"+(f.getFullYear()-m),i[m]={title:f}}r({t_date:i})}return this.props.attributes.t_date}},{key:"savedateArray",value:function(e,t){var n=this.props,a=n.attributes;(0,n.setAttributes)({t_date:a.t_date.map(function(n,a){return t===a&&(n=v({},n,e)),n})})}},{key:"render",value:function(){var e=this,t=this.props,n=(t.isSelected,t.className),r=t.setAttributes,o=(t.insertBlocksAfter,t.mergeBlocks,t.onReplace,t.attributes),i=(o.tm_content,o.headingTitle,o.headingDesc,o.headingAlign,o.separatorHeight,o.headSpace),l=(o.separatorSpace,o.headingColor),s=o.subHeadingColor,p=o.backgroundColor,m=o.separatorColor,g=o.separatorFillColor,b=o.separatorBg,v=o.separatorBorder,y=o.borderFocus,w=o.headingTag,_=o.headFontSize,k=o.timelineItem,x=o.timelinAlignment,E=o.arrowlinAlignment,T=o.subHeadFontSize,P=o.verticalSpace,O=o.horizontalSpace,j=o.separatorwidth,z=o.borderwidth,U=o.connectorBgsize,L=o.dateBottomspace,q=o.align,$=o.icon,K=o.iconColor,G=o.dateColor,Q=o.dateFontsize,Y=(o.authorFontsize,o.iconSize),X=o.borderRadius,J=o.bgPadding,Z=(o.block_id,o.iconFocus),ee=o.iconBgFocus,te=o.iconHover,ne=o.iconBgHover,ae=o.borderHover,re=o.t_date,oe=o.displayPostDate,ie=o.stack,le={icons:f.a,renderUsing:"class",theme:"default",value:$,onChange:this.getTimelineicon,isMulti:!1},ue=wp.element.createElement(C,null,wp.element.createElement(A,{title:S("Color Settings"),initialOpen:!0,colorSettings:[{value:m,onChange:function(e){return r({separatorColor:e})},label:S("Line Color")},{value:K,onChange:function(e){return r({iconColor:e})},label:S("Icon Color")},{value:b,onChange:function(e){return r({separatorBg:e})},label:S("Background Color")},{value:v,onChange:function(e){return r({separatorBorder:e})},label:S("Border Color")}]})),se=wp.element.createElement(C,null,wp.element.createElement(A,{title:S("Color Settings"),initialOpen:!0,colorSettings:[{value:g,onChange:function(e){return r({separatorFillColor:e})},label:S("Line Color")},{value:Z,onChange:function(e){return r({iconFocus:e})},label:S("Icon Color")},{value:ee,onChange:function(e){return r({iconBgFocus:e})},label:S("Background Color")},{value:y,onChange:function(e){return r({borderFocus:e})},label:S("Border Color")}]})),ce=wp.element.createElement(C,null,wp.element.createElement(A,{title:S("Color Settings"),initialOpen:!0,colorSettings:[{value:te,onChange:function(e){return r({iconHover:e})},label:S("Icon Color")},{value:ne,onChange:function(e){return r({iconBgHover:e})},label:S("Background Color")},{value:ae,onChange:function(e){return r({borderHover:e})},label:S("Border Color")}]})),fe=wp.element.createElement(C,null,wp.element.createElement(D,{title:S("Connector Color Settings"),initialOpen:!0},wp.element.createElement(V,{className:"uagb-inspect-tabs uagb-inspect-tabs-col-3",activeClass:"active-tab",tabs:[{name:"normal",title:S("Normal"),className:"uagb-normal-tab"},{name:"focus",title:S("Focus"),className:"uagb-focus-tab"},{name:"hover",title:S("Hover"),className:"uagb-hover-tab"}]},function(e){var t=void 0;return t="focus"===e.name?se:"hover"===e.name?ce:ue,wp.element.createElement("div",null,t)}))),pe=function(t){return wp.element.createElement(C,{key:t},wp.element.createElement(W,{label:S("Date")+" "+(t+1)+" "+S("Settings"),value:re[t].title,onChange:function(n){e.savedateArray({title:n},t)}}))},de=wp.element.createElement(C,null,wp.element.createElement(D,{title:S("Date Settings"),initialOpen:!1},wp.element.createElement(H,{label:S("Display Post Date"),checked:oe,onChange:this.toggleDisplayPostDate}),oe&&c()(k,function(e){return pe(e)}),oe&&"center"!==x&&wp.element.createElement(B,{label:S("Date Bottom Spacing"),value:L,onChange:function(e){return r({dateBottomspace:e})},min:0,max:50,allowReset:!0}),oe&&wp.element.createElement(C,null,wp.element.createElement(C,null,wp.element.createElement("p",{className:"uagb-setting-label"},S("Date Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:G}}))),wp.element.createElement(R,{value:G,onChange:function(e){return r({dateColor:e})},allowReset:!0})),wp.element.createElement(B,{label:S("Date Font Size"),value:Q,onChange:function(e){return r({dateFontsize:e})},min:1,max:50,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0})))),me=wp.element.createElement(I,null,wp.element.createElement(D,{title:S("General"),initialOpen:!1},wp.element.createElement(B,{label:S("Number of Items"),value:k,onChange:function(t){r({timelineItem:t}),e.getTimelinecontent(t),e.getDatecontent(t)},min:1,max:20,allowReset:!0})),de,wp.element.createElement(D,{title:S("Layout"),initialOpen:!1},wp.element.createElement(F,{label:S("Orientation"),value:x,onChange:function(e){return r({timelinAlignment:e})},options:[{value:"left",label:S("Left")},{value:"right",label:S("Right")},{value:"center",label:S("Center")}]}),wp.element.createElement(F,{label:S("Arrow Alignment"),value:E,onChange:function(e){return r({arrowlinAlignment:e})},options:[{value:"top",label:S("Top")},{value:"bottom",label:S("Bottom")},{value:"center",label:S("Center")}]}),wp.element.createElement(F,{label:S("Stack on"),value:ie,options:[{value:"none",label:S("None")},{value:"tablet",label:S("Tablet")},{value:"mobile",label:S("Mobile")}],help:S("Note: Choose on what breakpoint the Content Timeline will stack."),onChange:function(e){return r({stack:e})}})),wp.element.createElement(D,{title:S("Spacing"),initialOpen:!1},wp.element.createElement(B,{label:S("Horizontal Space"),value:O,onChange:function(e){return r({horizontalSpace:e})},min:1,max:50,allowReset:!0}),wp.element.createElement(B,{label:S("Vertical Space"),value:P,onChange:function(e){return r({verticalSpace:e})},min:1,max:100,allowReset:!0}),wp.element.createElement(B,{label:S("Heading Bottom Spacing"),value:i,onChange:function(e){return r({headSpace:e})},min:0,max:50,allowReset:!0})),wp.element.createElement(D,{title:S("Timeline Item"),initialOpen:!1},wp.element.createElement(F,{label:S("Heading Tag"),value:w,onChange:function(e){return r({headingTag:e})},options:[{value:"h1",label:S("H1")},{value:"h2",label:S("H2")},{value:"h3",label:S("H3")},{value:"h4",label:S("H4")},{value:"h5",label:S("H5")},{value:"h6",label:S("H6")}]}),wp.element.createElement(A,{title:S("Color Settings"),initialOpen:!0,colorSettings:[{value:l,onChange:function(e){return r({headingColor:e})},label:S("Heading Color")},{value:s,onChange:function(e){return r({subHeadingColor:e})},label:S("Content Color")},{value:p,onChange:function(e){return r({backgroundColor:e})},label:S("Background Color")}]}),wp.element.createElement(B,{label:S("Rounded Corners"),value:X,onChange:function(e){return r({borderRadius:e})},min:0,initialPosition:10,max:50,allowReset:!0}),wp.element.createElement(B,{label:S("Padding"),value:J,onChange:function(e){return r({bgPadding:e})},min:1,initialPosition:10,max:50,allowReset:!0}),wp.element.createElement(B,{label:S("Heading Font Size"),value:_,onChange:function(e){return r({headFontSize:e})},min:10,max:50,initialPosition:30,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(B,{label:S("Content Font Size"),value:T,onChange:function(e){return r({subHeadFontSize:e})},min:10,max:50,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0})),wp.element.createElement(D,{title:S("Connector"),initialOpen:!1},wp.element.createElement(d.a,le),wp.element.createElement(B,{label:S("Icon Size"),value:Y,onChange:function(e){return r({iconSize:e})},min:0,max:30,allowReset:!0}),wp.element.createElement(B,{label:S("Border Width"),value:z,onChange:function(e){return r({borderwidth:e})},min:1,max:10,allowReset:!0}),wp.element.createElement(B,{label:S("Connector Width"),value:j,onChange:function(e){return r({separatorwidth:e})},min:1,max:10,allowReset:!0}),wp.element.createElement(B,{label:S("Icon Background Size"),value:U,onChange:function(e){return r({connectorBgsize:e})},min:25,max:90,allowReset:!0}),fe)),he="uagb-ctm-"+this.props.clientId;return wp.element.createElement(C,null,me,wp.element.createElement(N,null,wp.element.createElement(M,{value:q,onChange:function(e){r({align:e})},controls:["center","left","right"]})),wp.element.createElement("div",{className:u()(n,"uagb-timeline__outer-wrap"),id:he},wp.element.createElement("div",{className:u.a.apply(void 0,["uagb-timeline__content-wrap"].concat(a(Object(h.a)(this.props.attributes))))},wp.element.createElement("div",{className:"uagb-timeline-wrapper"},wp.element.createElement("div",{className:"uagb-timeline__main"},this.get_content(),wp.element.createElement("div",{className:"uagb-timeline__line"},wp.element.createElement("div",{className:"uagb-timeline__line__inner"})))))))}},{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=this.props.clientId;window.addEventListener("load",this.timelineContent_back(e)),window.addEventListener("resize",this.timelineContent_back(e));var t=this;$(".edit-post-layout__content").scroll(function(n){t.timelineContent_back(e)})}},{key:"componentDidUpdate",value:function(){var e=this.props.clientId;window.addEventListener("load",this.timelineContent_back(e)),window.addEventListener("resize",this.timelineContent_back(e));var t=this;$(".edit-post-layout__content").scroll(function(n){t.timelineContent_back(e)})}},{key:"get_content",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.mergeBlocks,i=t.insertBlocksAfter,l=t.onReplace,u=k().formats.date,s=n.headingTag,c=n.timelinAlignment,f=n.displayPostDate,p=n.icon,d=n.tm_content,h=n.t_date,v=Object(m.a)(this.props),y=Array.isArray(d)&&d.length;Array.isArray(h)&&h.length;if(y){var w=Object(g.a)(this.props.attributes,0),x=Object(b.a)(this.props.attributes,0),E=[].concat(a(d)),T=!1;return wp.element.createElement("div",{className:"uagb-timeline__days uagb-timeline-infinite-load"},wp.element.createElement("style",{dangerouslySetInnerHTML:{__html:v}}),d.map(function(t,n){"center"==c&&(T=!0,w=Object(g.a)(e.props.attributes,n),x=Object(b.a)(e.props.attributes,n));var a=(e.props.attributes.headingTag,"uagb-timeline__icon-new uagb-timeline__out-view-icon "+p);return wp.element.createElement("article",{className:"uagb-timeline__field uagb-timeline__animate-border",key:n},wp.element.createElement("div",{className:w},wp.element.createElement("div",{className:"uagb-timeline__marker uagb-timeline__out-view-icon"},wp.element.createElement("span",{className:a})),wp.element.createElement("div",{className:x},wp.element.createElement("div",{className:"uagb-timeline__events-new"},wp.element.createElement("div",{className:"uagb-timeline__events-inner-new"},wp.element.createElement("div",{className:"uagb-timeline__date-hide uagb-timeline__date-inner"},f&&h[n].title&&wp.element.createElement("div",{className:"uagb-timeline__inner-date-new"},_(u,h[n].title))),wp.element.createElement("div",{className:"uagb-content"},wp.element.createElement("div",{className:"uagb-timeline__heading-text"},wp.element.createElement(j,{tagName:s,value:t.time_heading,className:"uagb-timeline__heading",onChange:function(e){var t={time_heading:e,time_desc:E[n].time_desc};E[n]=t,r({tm_content:E})},onMerge:o,unstableOnSplit:i?function(e,t){for(var n=arguments.length,a=Array(n>2?n-2:0),o=2;o<n;o++)a[o-2]=arguments[o];r({content:e}),i([].concat(a,[P("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return l([])}})),wp.element.createElement(j,{tagName:"p",value:t.time_desc,className:"uagb-timeline-desc-content",onChange:function(e){var t={time_heading:E[n].time_heading,time_desc:e};E[n]=t,r({tm_content:E})},onMerge:o,unstableOnSplit:e.splitBlock,onRemove:function(){return l([])}}),wp.element.createElement("div",{className:"uagb-timeline__arrow"}))))),T&&wp.element.createElement("div",{className:"uagb-timeline__date-new"},f&&h[n].title&&wp.element.createElement("div",{className:"uagb-timeline__date-new"},_(u,h[n].title)))))}))}return wp.element.createElement(C,null,wp.element.createElement(U,{icon:"admin-post",label:S("UAGB Content Timeline")},Array.isArray(d)?S("No content found."):wp.element.createElement(L,null)))}},{key:"timelineContent_back",value:function(e){var t=$(".uagb-timeline").parents("#block-"+e),n=t.find(".uagb-timeline"),a=t.find(".uagb-timeline__line__inner"),r=t.find(".uagb-timeline__line"),o=t.find(".uagb-timeline__marker");if(o.length>0){var i=t.find(".uagb-timeline__field:last-child"),l=o.first().position(),u=o.last().position();r.css("top",l.top);var s,c,f=i.height(),p=i.offset().top-n.offset().top,d=$(document);if(n.hasClass("uagb-timeline__arrow-center"))r.css("bottom",u.top),c=p-l.top,s=c+u.top;else if(n.hasClass("uagb-timeline__arrow-top")){var m=f-u.top;r.css("bottom",m),s=p}else if(n.hasClass("uagb-timeline__arrow-bottom")){var h=f-u.top;r.css("bottom",h),c=p-l.top,s=c+u.top}var g=0,b=s+20,v=document.documentElement.clientHeight,y=v/2,w=n.offset().top,_=w+l.top,k=_-d.scrollTop();k=k<0?Math.abs(k):-Math.abs(k),w<y?y+Math.abs(k)<b?a.height(y+k):k+y>=b&&a.height(b):k+y<b?0>k?(a.height(y-Math.abs(k)),++g):a.height(y+k):k+y>=b&&a.height(b);for(var x,E,w,C,S,T=t.find(".uagb-timeline__marker"),P=t.find(".uagb-timeline__animate-border"),O=0;O<T.length;O++)x=$(T[O]).offset().top,E=$(P[O]).offset().top,w=t.offset().top,t.offset().top,C=x-d.scrollTop(),S=E-d.scrollTop(),S<y?(P[O].classList.remove("out-view"),P[O].classList.add("in-view")):(P[O].classList.add("out-view"),P[O].classList.remove("in-view")),C<y?(T[O].classList.remove("uagb-timeline__out-view-icon"),T[O].classList.add("uagb-timeline__in-view-icon")):(T[O].classList.add("uagb-timeline__out-view-icon"),T[O].classList.remove("uagb-timeline__in-view-icon"))}}}]),t}(E);t.a=q}]);
1
+ !function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=97)}([function(e,t,n){var a,r;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var r=typeof a;if("string"===r||"number"===r)e.push(a);else if(Array.isArray(a)&&a.length){var i=n.apply(null,a);i&&e.push(i)}else if("object"===r)for(var l in a)o.call(a,l)&&a[l]&&e.push(l)}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(a=[],void 0!==(r=function(){return n}.apply(t,a))&&(e.exports=r))}()},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function r(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(f===clearTimeout)return clearTimeout(e);if((f===a||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function i(){g&&d&&(g=!1,d.length?m=d.concat(m):h=-1,m.length&&l())}function l(){if(!g){var e=r(i);g=!0;for(var t=m.length;t;){for(d=m,m=[];++h<t;)d&&d[h].run();h=-1,t=m.length}d=null,g=!1,o(e)}}function u(e,t){this.fun=e,this.array=t}function s(){}var c,f,p=e.exports={};!function(){try{c="function"===typeof setTimeout?setTimeout:n}catch(e){c=n}try{f="function"===typeof clearTimeout?clearTimeout:a}catch(e){f=a}}();var d,m=[],g=!1,h=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new u(e,t)),1!==m.length||g||r(l)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=s,p.addListener=s,p.once=s,p.off=s,p.removeListener=s,p.removeAllListeners=s,p.emit=s,p.prependListener=s,p.prependOnceListener=s,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";(function(t){"production"===t.env.NODE_ENV?e.exports=n(215):e.exports=n(216)}).call(t,n(1))},function(e,t,n){"use strict";var a=wp.element.createElement,r={section:a("svg",{width:20,height:20},a("path",{d:"M20 18.008h-20v-16.016h20v16.016zM1.172 16.836h17.656v-13.672h-17.656v13.672z"}),a("path",{d:"M7.617 4.604h4.766v1.172h-4.766v-1.172z"}),a("path",{d:"M8.998 14.385h-6.237v-6.238h6.238v6.238zM3.932 13.213h3.894v-3.894h-3.894v3.894z"}),a("path",{d:"M17.24 11.852h-6.237v-3.705h6.238v3.705zM12.174 10.68h3.894v-1.361h-3.894v1.361z"}),a("path",{d:"M11.588 13.024h5.066v1.172h-5.066v-1.172z"})),buttons:a("svg",{width:20,height:20},a("path",{d:"M20 18.008h-20v-16.016h20v16.016zM1.172 16.836h17.656v-13.672h-17.656v13.672z"}),a("path",{d:"M10.758 6.289h-7.421v7.421l12.987 0.001v-7.422h-5.566zM5.192 11.855v-3.711h3.711v3.711h-3.711zM14.469 11.855h-3.711v-3.711h3.711v3.711z"})),advanced_heading:a("svg",{width:20,height:20},a("path",{d:"M0 18h20v2h-20v-2z"}),a("path",{d:"M11 0h-2l-7.25 16h2.25l2.21-5h7.59l2.2 5h2.25l-7.25-16zM7.090 9l2.91-6.59 2.91 6.59h-5.82z"})),google_map:a("svg",{width:20,height:20},a("path",{d:"M10 0c-4.112 0-7.458 3.347-7.458 7.461 0 6.13 6.716 12.115 7.002 12.367 0.131 0.115 0.293 0.172 0.456 0.172s0.326-0.058 0.456-0.172c0.286-0.252 7.002-6.237 7.002-12.367 0-4.114-3.345-7.461-7.458-7.461v0zM10 18.363c-1.485-1.439-6.077-6.265-6.077-10.902 0-3.353 2.726-6.080 6.077-6.080s6.077 2.728 6.077 6.080c0 4.637-4.592 9.463-6.077 10.902v0z"}),a("path",{d:"M10 3.986c-1.904 0-3.453 1.559-3.453 3.475s1.549 3.476 3.453 3.476c1.904 0 3.453-1.559 3.453-3.476s-1.549-3.475-3.453-3.475v0zM10 9.555c-1.142 0-2.071-0.939-2.071-2.094s0.929-2.095 2.071-2.095 2.072 0.94 2.072 2.095c0 1.155-0.93 2.094-2.072 2.094v0z"})),info_box:a("svg",{width:20,height:20},a("path",{d:"M0 1.992v16.016h20v-16.016h-20zM11.406 16.836h-10.234v-10.898h10.234v10.898zM18.828 16.836h-6.25v-2.852h6.25v2.852zM18.828 12.813h-6.25v-6.875h6.25v6.875zM1.172 4.766v-1.602h17.656v1.602h-17.656z"}),a("path",{d:"M2.652 15.325h7.274v-7.877h-7.274v7.877zM3.824 8.62h4.931v5.534h-4.931v-5.534z"}),a("path",{d:"M13.486 10.13h4.434v1.172h-4.434v-1.172z"}),a("path",{d:"M13.486 7.448h4.434v1.172h-4.434v-1.172z"})),post_carousel:a("svg",{width:20,height:20},a("path",{d:"M7.554 12.936h4.893v-5.871h-4.893v5.871zM8.888 8.399h2.224v3.202h-2.224v-3.202z"}),a("path",{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"}),a("path",{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"}),a("path",{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"})),post_masonry:a("svg",{width:20,height:20},a("path",{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"})),post_grid:a("svg",{width:20,height:20},a("path",{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"})),testimonial:a("svg",{width:20,height:20},a("path",{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"}),a("path",{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"}),a("path",{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"})),cf7_styler:a("svg",{width:20,height:20},a("path",{d:"M0 2.969v14.063h20v-14.063h-20zM18.828 15.859h-17.656v-11.719h17.656v11.719z"}),a("path",{d:"M11.758 13.516h5.898v1.172h-5.898v-1.172z"}),a("path",{d:"M11.758 11.172h5.898v1.172h-5.898v-1.172z"}),a("path",{d:"M11.758 8.828h5.898v1.172h-5.898v-1.172z"}),a("path",{d:"M11.758 6.484h3.555v1.172h-3.555v-1.172z"}),a("path",{d:"M16.484 6.484h1.172v1.172h-1.172v-1.172z"}),a("path",{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"})),content_timeline:a("svg",{width:20,height:20},a("path",{d:"M9.375 0h1.25v20h-1.25v-20z"}),a("path",{d:"M1.875 3.125h5v2.5h-5v-2.5zM0.625 6.875h7.5v-5h-7.5v5z"}),a("path",{d:"M1.875 14.592h5v2.5h-5v-2.5zM0.625 18.342h7.5v-5h-7.5v5z"}),a("path",{d:"M18.125 11.25h-5v-2.5h5v2.5zM11.875 7.5v5h7.5v-5h-7.5z"})),post_timeline:a("svg",{width:20,height:20},a("path",{d:"M7.048 8.364c-0.001 0.019-0.001 0.037 0 0.056 0.016 0.286 0.26 0.505 0.545 0.489h9.134c0.019 0.001 0.037 0.001 0.056 0 0.286-0.015 0.505-0.26 0.489-0.545v-5.453c0.001-0.019 0.001-0.037 0-0.056-0.016-0.286-0.26-0.505-0.545-0.489h-9.134c-0.019-0.001-0.037-0.001-0.056 0-0.286 0.015-0.505 0.26-0.489 0.545v5.453zM8.138 3.456h8.044v4.363h-8.044v-4.363z"}),a("path",{d:"M19.999 17.089v-5.453c0.001-0.019 0.001-0.037 0-0.056-0.015-0.286-0.26-0.505-0.545-0.489h-11.861c-0.019-0.001-0.037-0.001-0.056 0-0.286 0.015-0.505 0.26-0.489 0.545v5.453c-0.001 0.019-0.001 0.037 0 0.056 0.016 0.286 0.26 0.505 0.545 0.489h11.861c0.019 0.001 0.037 0.001 0.056 0 0.286-0.016 0.505-0.26 0.489-0.546zM18.909 16.544h-10.77v-4.363h10.77v4.363z"}),a("path",{d:"M4.754 4.795c-0.286-1.279-1.554-2.083-2.833-1.797-1.083 0.242-1.853 1.203-1.854 2.312-0.028 1.102 0.725 2.071 1.8 2.318v4.417c-1.28 0.279-2.091 1.543-1.812 2.823 0.198 0.906 0.906 1.614 1.812 1.812h1.091c1.080-0.245 1.841-1.211 1.827-2.318 0.014-1.107-0.747-2.073-1.827-2.318v-4.417c1.279-0.286 2.083-1.555 1.797-2.833zM3.722 14.362c0 0.708-0.573 1.282-1.281 1.282-0 0-0.001 0-0.002 0-0.697-0.015-1.254-0.584-1.254-1.281s0.557-1.267 1.254-1.282c0.708-0.001 1.282 0.573 1.282 1.281zM2.44 6.592c-0.697-0.015-1.254-0.584-1.254-1.281s0.557-1.267 1.254-1.281c0.712-0 1.294 0.569 1.309 1.281-0.015 0.712-0.597 1.282-1.309 1.281z"}),a("path",{d:"M9.229 5.365h3.136c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-3.136c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"}),a("path",{d:"M15.091 5.91h-5.862c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.546 0.545 0.546h5.863c0.301 0 0.545-0.244 0.545-0.546s-0.245-0.545-0.546-0.545z"}),a("path",{d:"M9.229 14.090h3.136c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-3.136c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"}),a("path",{d:"M9.229 15.726h5.863c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-5.863c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"})),icon_list:a("svg",{width:20,height:20},a("path",{d:"M1.44 15.48c-0.76 0-1.44 0.64-1.44 1.4s0.68 1.44 1.44 1.44 1.4-0.68 1.4-1.44c0-0.76-0.64-1.4-1.4-1.4v0z"}),a("path",{d:"M1.44 8.6c-0.76 0-1.44 0.64-1.44 1.4s0.68 1.4 1.44 1.4 1.4-0.64 1.4-1.4c0-0.76-0.64-1.4-1.4-1.4v0z"}),a("path",{d:"M6.56 4.4h12.12c0.72 0 1.32-0.56 1.32-1.28s-0.6-1.32-1.32-1.32h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.28 1.32 1.28v0z"}),a("path",{d:"M1.44 1.68c-0.76 0-1.44 0.68-1.44 1.44s0.68 1.4 1.44 1.4 1.4-0.64 1.4-1.4-0.64-1.44-1.4-1.44v0z"}),a("path",{d:"M18.68 8.68h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.32 1.32 1.32h12.12c0.72 0 1.32-0.6 1.32-1.32s-0.6-1.32-1.32-1.32v0z"}),a("path",{d:"M18.68 15.56h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.32 1.32 1.32h12.12c0.72 0 1.32-0.6 1.32-1.32s-0.6-1.32-1.32-1.32v0z"})),team:a("svg",{width:20,height:20},a("path",{d:"M20 14.124c0-1.17-0.35-2.3-1.013-3.268-0.477-0.696-1.091-1.274-1.803-1.703 0.838-0.794 1.362-1.915 1.362-3.158 0-2.399-1.952-4.351-4.351-4.351-1.423 0-2.755 0.704-3.565 1.859-0.206-0.030-0.416-0.046-0.63-0.046s-0.424 0.016-0.63 0.046c-0.81-1.155-2.142-1.859-3.565-1.859-2.399 0-4.351 1.952-4.351 4.351 0 1.242 0.524 2.364 1.362 3.158-0.712 0.429-1.326 1.008-1.803 1.703-0.663 0.968-1.014 2.098-1.014 3.268v2.42h4.195v1.813h11.611v-1.813h4.194v-2.42h-0zM14.195 2.717c1.807 0 3.277 1.47 3.277 3.278s-1.47 3.277-3.277 3.277c-0.032 0-0.065-0-0.097-0.001 0.002-0.007 0.005-0.014 0.007-0.021 0.056-0.159 0.102-0.322 0.14-0.488 0.003-0.012 0.006-0.024 0.008-0.035 0.010-0.045 0.018-0.090 0.027-0.136 0.004-0.021 0.008-0.043 0.012-0.064 0.007-0.041 0.013-0.081 0.018-0.122 0.004-0.029 0.008-0.057 0.011-0.085 0.004-0.036 0.009-0.072 0.012-0.109s0.006-0.074 0.008-0.111c0.002-0.029 0.004-0.059 0.006-0.088 0.003-0.063 0.004-0.127 0.005-0.19 0-0.004 0-0.009 0-0.014 0-0.002-0-0.005-0-0.007 0-0.065-0.002-0.129-0.005-0.193-0.001-0.019-0.002-0.037-0.003-0.056-0.003-0.054-0.007-0.109-0.012-0.163-0.001-0.012-0.002-0.024-0.004-0.037-0.162-1.568-1.153-2.911-2.582-3.531 0.616-0.692 1.507-1.103 2.45-1.103v0zM8.866 4.732c0.010-0.004 0.021-0.008 0.031-0.011 0.033-0.012 0.066-0.023 0.099-0.033 0.025-0.008 0.050-0.016 0.075-0.023 0.018-0.005 0.037-0.011 0.055-0.016 0.033-0.009 0.066-0.018 0.1-0.026 0.248-0.060 0.507-0.093 0.773-0.093s0.525 0.033 0.773 0.094c0.033 0.008 0.066 0.017 0.099 0.026 0.019 0.005 0.038 0.010 0.056 0.016 0.025 0.007 0.050 0.015 0.075 0.023 0.033 0.011 0.066 0.022 0.1 0.034 0.010 0.004 0.020 0.007 0.030 0.011 1.096 0.405 1.918 1.381 2.104 2.565 0.002 0.009 0.003 0.019 0.004 0.028 0.006 0.040 0.011 0.080 0.015 0.121 0.002 0.015 0.003 0.030 0.005 0.045 0.004 0.037 0.006 0.074 0.009 0.112 0.001 0.016 0.002 0.032 0.003 0.048 0.002 0.048 0.003 0.096 0.004 0.144 0 0.004 0 0.008 0 0.012 0 0.002-0 0.004-0 0.006 0 0.047-0.002 0.093-0.003 0.139-0.001 0.015-0.001 0.029-0.002 0.044-0.002 0.045-0.006 0.089-0.010 0.133-0.002 0.017-0.004 0.034-0.006 0.051-0.003 0.029-0.007 0.057-0.011 0.085-0.003 0.022-0.006 0.044-0.010 0.066-0.005 0.033-0.011 0.066-0.018 0.1-0.006 0.029-0.012 0.059-0.019 0.088-0.004 0.018-0.008 0.035-0.012 0.053-0.010 0.044-0.022 0.087-0.034 0.13-0.005 0.017-0.010 0.034-0.014 0.051-0.008 0.025-0.016 0.049-0.024 0.074-0.006 0.020-0.013 0.039-0.020 0.058-0.007 0.022-0.015 0.044-0.023 0.066-0.014 0.037-0.029 0.074-0.044 0.111-0.007 0.016-0.014 0.032-0.021 0.049-0.013 0.031-0.027 0.061-0.041 0.091l-0.005 0.011c-0.005 0.011-0.010 0.021-0.015 0.032-0.016 0.032-0.032 0.064-0.049 0.096-0.007 0.012-0.013 0.025-0.020 0.037-0 0.001-0.001 0.002-0.001 0.002-0.019 0.034-0.038 0.067-0.058 0.1-0.008 0.013-0.016 0.026-0.024 0.039-0.021 0.035-0.044 0.070-0.066 0.103-0.014 0.021-0.029 0.042-0.043 0.063-0.013 0.018-0.025 0.035-0.038 0.052-0.017 0.023-0.033 0.045-0.050 0.067-0.012 0.015-0.023 0.030-0.035 0.045-0.018 0.022-0.036 0.045-0.055 0.067-0.012 0.014-0.023 0.027-0.035 0.041-0.020 0.022-0.039 0.044-0.059 0.066-0.012 0.013-0.024 0.025-0.036 0.038-0.032 0.034-0.065 0.067-0.099 0.1-0.020 0.019-0.040 0.039-0.061 0.058-0.014 0.013-0.029 0.026-0.043 0.038-0.024 0.021-0.047 0.041-0.071 0.062-0.012 0.011-0.025 0.021-0.037 0.031-0.029 0.024-0.059 0.047-0.089 0.070-0.008 0.006-0.016 0.012-0.025 0.019-0.545 0.405-1.221 0.646-1.951 0.646s-1.406-0.24-1.951-0.646c-0.008-0.006-0.016-0.012-0.024-0.018-0.030-0.023-0.060-0.046-0.089-0.070-0.012-0.010-0.025-0.020-0.037-0.030-0.024-0.021-0.048-0.041-0.072-0.062-0.014-0.013-0.029-0.025-0.043-0.038-0.021-0.019-0.041-0.038-0.061-0.058-0.034-0.033-0.067-0.066-0.1-0.101-0.012-0.012-0.024-0.025-0.036-0.037-0.020-0.022-0.039-0.044-0.058-0.066-0.012-0.013-0.024-0.027-0.035-0.040-0.019-0.022-0.037-0.045-0.055-0.067-0.012-0.015-0.024-0.030-0.035-0.045-0.017-0.022-0.034-0.044-0.050-0.067-0.013-0.017-0.025-0.035-0.037-0.053-0.015-0.021-0.029-0.041-0.044-0.062-0.023-0.034-0.045-0.069-0.066-0.104-0.008-0.013-0.016-0.026-0.023-0.039-0.020-0.034-0.040-0.067-0.058-0.102-0.007-0.013-0.013-0.025-0.020-0.038-0.017-0.032-0.034-0.064-0.050-0.096-0.006-0.012-0.011-0.023-0.017-0.035-0.001-0.002-0.002-0.003-0.003-0.005-0.015-0.031-0.029-0.063-0.043-0.095-0.007-0.015-0.013-0.030-0.020-0.046-0.015-0.038-0.030-0.075-0.045-0.113-0.008-0.021-0.015-0.041-0.022-0.062s-0.015-0.043-0.022-0.064c-0.008-0.023-0.015-0.046-0.022-0.069-0.010-0.035-0.020-0.070-0.030-0.105-0.007-0.025-0.013-0.049-0.019-0.074-0.005-0.020-0.009-0.039-0.014-0.059-0.005-0.024-0.011-0.048-0.016-0.073-0.007-0.038-0.014-0.076-0.020-0.114-0.003-0.020-0.006-0.041-0.009-0.062-0.004-0.030-0.008-0.061-0.012-0.092-0.002-0.015-0.004-0.030-0.005-0.046-0.004-0.046-0.008-0.091-0.010-0.137-0.001-0.013-0.001-0.026-0.002-0.039-0.002-0.049-0.004-0.098-0.004-0.148 0-0.053 0.002-0.105 0.004-0.158 0-0.014 0.002-0.028 0.003-0.042 0.002-0.039 0.005-0.079 0.009-0.118 0.001-0.014 0.003-0.027 0.004-0.041 0.005-0.042 0.010-0.084 0.016-0.126 0.001-0.008 0.002-0.016 0.004-0.024 0.186-1.185 1.008-2.161 2.105-2.566v0zM2.528 5.995c0-1.807 1.47-3.278 3.277-3.278 0.943 0 1.834 0.411 2.45 1.103-1.43 0.621-2.421 1.964-2.582 3.533-0.001 0.011-0.002 0.021-0.003 0.032-0.005 0.056-0.009 0.112-0.013 0.168-0.001 0.017-0.002 0.034-0.003 0.052-0.003 0.067-0.005 0.135-0.005 0.202s0.002 0.137 0.005 0.205c0.001 0.027 0.003 0.055 0.005 0.082 0.003 0.039 0.005 0.079 0.009 0.118 0.003 0.035 0.007 0.070 0.011 0.104 0.004 0.030 0.007 0.060 0.012 0.090 0.005 0.040 0.011 0.079 0.018 0.118 0.004 0.023 0.008 0.046 0.013 0.070 0.008 0.044 0.016 0.088 0.025 0.131 0.003 0.014 0.007 0.028 0.010 0.043 0.036 0.161 0.082 0.319 0.136 0.473 0.003 0.010 0.007 0.020 0.010 0.030-0.032 0.001-0.065 0.001-0.097 0.001-1.807-0-3.277-1.47-3.277-3.277v0zM5.095 12.841c-0.012 0.019-0.023 0.038-0.035 0.056-0.025 0.040-0.049 0.079-0.072 0.12-0.013 0.022-0.026 0.045-0.039 0.067-0.021 0.037-0.042 0.075-0.062 0.112-0.013 0.024-0.025 0.047-0.038 0.071-0.019 0.037-0.039 0.075-0.057 0.113-0.012 0.024-0.024 0.048-0.035 0.071-0.019 0.040-0.037 0.080-0.055 0.12-0.010 0.022-0.020 0.044-0.030 0.065-0.021 0.048-0.041 0.097-0.060 0.145-0.006 0.014-0.012 0.028-0.018 0.043-0.025 0.063-0.048 0.127-0.071 0.191-0.005 0.015-0.010 0.029-0.015 0.044-0.017 0.049-0.034 0.098-0.049 0.148-0.007 0.023-0.014 0.046-0.021 0.069-0.013 0.042-0.025 0.084-0.037 0.127-0.007 0.025-0.014 0.051-0.020 0.076-0.010 0.041-0.021 0.082-0.030 0.122-0.006 0.026-0.012 0.052-0.018 0.078-0.009 0.041-0.018 0.083-0.026 0.125-0.005 0.025-0.010 0.050-0.015 0.075-0.008 0.046-0.016 0.091-0.023 0.137-0.003 0.021-0.007 0.043-0.011 0.064-0.010 0.067-0.019 0.134-0.027 0.202 0 0.001-0 0.002-0 0.002-0.007 0.062-0.013 0.123-0.018 0.185h-3.139v-1.346c0-1.839 1.057-3.491 2.714-4.276 0.604 0.317 1.29 0.498 2.017 0.498 0.211 0 0.422-0.015 0.631-0.046 0.033 0.047 0.066 0.093 0.1 0.138 0.012 0.015 0.024 0.030 0.036 0.045 0.034 0.043 0.068 0.086 0.104 0.128 0.014 0.017 0.029 0.034 0.044 0.051 0.033 0.038 0.067 0.076 0.102 0.113 0.018 0.020 0.036 0.039 0.055 0.058 0.031 0.032 0.064 0.065 0.096 0.096 0.012 0.012 0.024 0.024 0.036 0.036-0.047 0.028-0.093 0.057-0.139 0.087-0.008 0.005-0.015 0.010-0.022 0.015-0.046 0.030-0.091 0.060-0.136 0.091-0.016 0.011-0.031 0.021-0.046 0.032-0.040 0.028-0.079 0.057-0.119 0.086-0.012 0.009-0.025 0.018-0.037 0.028-0.050 0.038-0.099 0.076-0.148 0.116-0.011 0.008-0.021 0.017-0.032 0.026-0.039 0.032-0.077 0.064-0.115 0.097-0.015 0.013-0.029 0.025-0.044 0.038-0.038 0.034-0.075 0.067-0.113 0.102-0.010 0.009-0.020 0.018-0.029 0.027-0.046 0.043-0.091 0.087-0.135 0.131-0.012 0.012-0.023 0.023-0.034 0.035-0.034 0.035-0.067 0.070-0.1 0.105-0.013 0.014-0.026 0.028-0.039 0.043-0.037 0.041-0.074 0.081-0.11 0.123-0.006 0.006-0.012 0.013-0.017 0.019-0.041 0.048-0.081 0.097-0.121 0.146-0.011 0.014-0.022 0.028-0.033 0.042-0.029 0.038-0.059 0.076-0.088 0.115-0.011 0.015-0.023 0.030-0.034 0.045-0.038 0.052-0.075 0.104-0.111 0.157-0.039 0.057-0.076 0.114-0.113 0.172v0zM5.268 17.283v-1.346c0-0.060 0.001-0.119 0.003-0.178 0.001-0.020 0.002-0.039 0.003-0.058 0.002-0.039 0.004-0.079 0.007-0.118 0.002-0.024 0.004-0.048 0.007-0.071 0.003-0.035 0.006-0.070 0.010-0.104 0.003-0.025 0.007-0.050 0.010-0.076 0.004-0.033 0.008-0.065 0.013-0.098 0.004-0.026 0.009-0.052 0.013-0.078 0.005-0.031 0.010-0.063 0.016-0.094 0.005-0.027 0.011-0.053 0.016-0.079 0.006-0.030 0.012-0.061 0.019-0.091 0.006-0.027 0.013-0.053 0.019-0.079 0.007-0.030 0.014-0.059 0.022-0.089 0.007-0.027 0.015-0.053 0.023-0.080 0.008-0.029 0.016-0.058 0.025-0.086 0.008-0.027 0.017-0.053 0.026-0.079 0.009-0.028 0.018-0.056 0.028-0.084 0.009-0.026 0.019-0.053 0.029-0.079 0.010-0.028 0.020-0.055 0.030-0.082s0.021-0.052 0.031-0.078c0.011-0.027 0.022-0.054 0.033-0.081s0.023-0.051 0.034-0.077c0.012-0.026 0.024-0.053 0.036-0.079s0.025-0.051 0.037-0.076c0.013-0.026 0.025-0.051 0.039-0.077s0.026-0.050 0.040-0.075c0.014-0.025 0.027-0.050 0.041-0.075s0.028-0.049 0.043-0.073c0.014-0.025 0.029-0.049 0.044-0.074s0.030-0.048 0.046-0.072c0.015-0.024 0.031-0.048 0.046-0.072s0.032-0.047 0.048-0.071c0.016-0.024 0.032-0.047 0.049-0.070s0.034-0.046 0.051-0.069c0.017-0.023 0.034-0.046 0.051-0.068s0.036-0.045 0.054-0.067c0.018-0.022 0.036-0.044 0.054-0.066s0.037-0.044 0.056-0.065 0.038-0.043 0.056-0.064 0.039-0.042 0.058-0.063c0.019-0.021 0.039-0.042 0.058-0.062s0.040-0.041 0.061-0.061c0.020-0.020 0.041-0.040 0.061-0.060s0.041-0.039 0.063-0.059c0.021-0.020 0.042-0.039 0.063-0.058s0.043-0.038 0.065-0.057c0.022-0.019 0.044-0.038 0.066-0.056s0.045-0.036 0.067-0.054c0.023-0.018 0.045-0.036 0.068-0.054s0.046-0.035 0.069-0.052c0.023-0.017 0.047-0.035 0.071-0.052s0.047-0.033 0.071-0.050c0.024-0.016 0.049-0.033 0.073-0.049s0.048-0.031 0.072-0.047c0.025-0.016 0.050-0.032 0.075-0.047s0.049-0.029 0.074-0.044c0.026-0.015 0.052-0.030 0.078-0.045 0.025-0.014 0.050-0.028 0.075-0.041 0.027-0.014 0.054-0.028 0.080-0.042 0.025-0.013 0.051-0.026 0.077-0.039 0.020-0.010 0.041-0.020 0.061-0.029 0.603 0.317 1.289 0.498 2.017 0.498s1.414-0.18 2.017-0.498c0.021 0.010 0.041 0.019 0.061 0.029 0.026 0.013 0.052 0.026 0.078 0.039s0.053 0.028 0.079 0.042c0.026 0.014 0.051 0.028 0.077 0.042s0.052 0.029 0.077 0.044c0.025 0.015 0.050 0.030 0.075 0.045s0.050 0.031 0.075 0.047c0.025 0.015 0.049 0.031 0.073 0.047s0.048 0.032 0.072 0.049c0.024 0.017 0.048 0.033 0.071 0.050s0.047 0.034 0.070 0.051c0.023 0.017 0.047 0.035 0.069 0.053s0.046 0.035 0.068 0.053c0.022 0.018 0.045 0.036 0.067 0.055s0.044 0.037 0.066 0.055c0.022 0.019 0.043 0.038 0.065 0.057s0.042 0.039 0.063 0.058c0.021 0.020 0.042 0.039 0.063 0.059s0.041 0.040 0.061 0.060c0.020 0.021 0.041 0.041 0.061 0.062s0.039 0.041 0.058 0.062c0.020 0.021 0.039 0.043 0.058 0.064s0.038 0.043 0.056 0.064c0.019 0.022 0.038 0.043 0.056 0.066s0.036 0.043 0.054 0.065c0.018 0.022 0.036 0.045 0.054 0.068s0.034 0.045 0.051 0.067c0.017 0.023 0.034 0.046 0.051 0.070s0.032 0.046 0.049 0.070c0.016 0.023 0.033 0.047 0.048 0.071s0.031 0.047 0.046 0.071c0.015 0.024 0.031 0.048 0.046 0.072s0.029 0.049 0.044 0.073c0.014 0.024 0.029 0.049 0.043 0.074s0.027 0.050 0.041 0.075c0.013 0.025 0.027 0.050 0.040 0.075s0.026 0.051 0.038 0.077c0.013 0.025 0.025 0.050 0.037 0.076s0.024 0.052 0.036 0.079c0.012 0.026 0.023 0.051 0.034 0.077s0.022 0.054 0.033 0.080c0.011 0.026 0.021 0.052 0.032 0.079s0.020 0.055 0.030 0.082c0.010 0.026 0.020 0.052 0.029 0.079 0.010 0.028 0.019 0.056 0.028 0.084 0.009 0.027 0.017 0.053 0.026 0.079 0.009 0.029 0.017 0.058 0.025 0.087 0.008 0.026 0.015 0.053 0.022 0.079 0.008 0.029 0.015 0.059 0.022 0.089 0.006 0.027 0.013 0.053 0.019 0.079 0.007 0.030 0.013 0.061 0.019 0.091 0.005 0.026 0.011 0.053 0.016 0.079 0.006 0.031 0.011 0.062 0.016 0.094 0.004 0.026 0.009 0.052 0.013 0.079 0.005 0.032 0.009 0.065 0.013 0.097 0.003 0.025 0.007 0.051 0.010 0.076 0.004 0.034 0.007 0.069 0.010 0.104 0.002 0.024 0.005 0.047 0.007 0.071 0.003 0.040 0.005 0.079 0.006 0.119 0.001 0.019 0.003 0.039 0.003 0.058 0.002 0.059 0.003 0.119 0.003 0.178v1.346h-9.463zM15.787 15.47c-0.010-0.13-0.026-0.261-0.045-0.39-0.003-0.021-0.007-0.041-0.010-0.061-0.008-0.047-0.015-0.094-0.024-0.14-0.005-0.024-0.010-0.049-0.014-0.074-0.008-0.042-0.017-0.085-0.027-0.127-0.006-0.025-0.012-0.051-0.018-0.076-0.010-0.041-0.020-0.083-0.031-0.124-0.007-0.025-0.013-0.050-0.020-0.075-0.012-0.043-0.024-0.086-0.037-0.128-0.007-0.023-0.013-0.045-0.020-0.067-0.016-0.050-0.033-0.101-0.050-0.151-0.005-0.014-0.009-0.028-0.014-0.042-0.023-0.064-0.047-0.128-0.072-0.191-0.005-0.013-0.011-0.027-0.017-0.041-0.020-0.049-0.040-0.098-0.061-0.147-0.009-0.021-0.019-0.043-0.029-0.064-0.018-0.041-0.037-0.081-0.056-0.121-0.011-0.024-0.023-0.047-0.034-0.070-0.019-0.038-0.038-0.076-0.058-0.114-0.012-0.023-0.025-0.047-0.038-0.071-0.021-0.038-0.041-0.075-0.063-0.113-0.013-0.022-0.025-0.045-0.038-0.067-0.023-0.040-0.048-0.080-0.073-0.12-0.012-0.019-0.022-0.038-0.034-0.056-0.037-0.058-0.074-0.115-0.113-0.172-0.037-0.053-0.074-0.105-0.111-0.157-0.011-0.015-0.022-0.029-0.033-0.045-0.029-0.039-0.058-0.077-0.088-0.115-0.011-0.014-0.021-0.028-0.032-0.041-0.040-0.049-0.080-0.098-0.121-0.146-0.005-0.006-0.011-0.012-0.016-0.018-0.036-0.042-0.073-0.084-0.111-0.125-0.013-0.014-0.026-0.028-0.039-0.042-0.033-0.036-0.067-0.071-0.101-0.105-0.011-0.012-0.022-0.023-0.034-0.034-0.044-0.044-0.089-0.088-0.135-0.131-0.010-0.009-0.019-0.018-0.029-0.027-0.037-0.035-0.075-0.069-0.113-0.102-0.015-0.013-0.029-0.025-0.044-0.038-0.038-0.033-0.076-0.065-0.115-0.097-0.011-0.009-0.021-0.018-0.032-0.026-0.048-0.039-0.098-0.078-0.148-0.116-0.012-0.009-0.025-0.018-0.037-0.028-0.039-0.029-0.079-0.057-0.119-0.085-0.015-0.011-0.031-0.022-0.047-0.033-0.044-0.031-0.089-0.061-0.134-0.090-0.008-0.005-0.016-0.011-0.024-0.016-0.046-0.029-0.092-0.058-0.138-0.086 0.012-0.012 0.023-0.024 0.035-0.035 0.033-0.032 0.066-0.065 0.098-0.098 0.018-0.019 0.036-0.037 0.054-0.056 0.035-0.038 0.070-0.076 0.103-0.115 0.014-0.017 0.029-0.033 0.043-0.050 0.036-0.043 0.071-0.086 0.105-0.13 0.011-0.014 0.023-0.029 0.034-0.043 0.034-0.046 0.068-0.092 0.101-0.138 0.21 0.031 0.421 0.046 0.631 0.046 0.728 0 1.414-0.18 2.017-0.498 1.657 0.785 2.714 2.436 2.714 4.276v1.346h-3.139z"})),social_share:a("svg",{width:20,height:20},a("path",{d:"M13.751 4.999l1.25 1.25-8.753 8.753-1.25-1.25 8.753-8.753z"}),a("path",{d:"M13.749 12.502l-1.874-1.874 1.255-1.256 0.619 0.628 3.749-3.749-3.749-3.749-3.749 3.749 0.628 0.619-1.256 1.255-1.874-1.874 6.251-6.251 6.251 6.251-6.251 6.251z"}),a("path",{d:"M6.251 20l-6.251-6.251 6.251-6.251 1.874 1.874-1.255 1.256-0.619-0.628-3.749 3.749 3.749 3.749 3.749-3.749-0.628-0.619 1.256-1.256 1.874 1.874-6.251 6.251z"})),restaurant_menu:a("svg",{width:20,height:20},a("path",{d:"M0 2.136v15.729h20v-15.729h-20zM18.828 7.038h-8.242v-3.73h8.242v3.73zM1.172 3.307h8.242v13.385h-8.242v-13.385zM10.586 16.693v-8.483h8.242v8.483h-8.242z"}),a("path",{d:"M2.742 4.661v4.492c0 1.188 0.826 2.185 1.934 2.45v2.563h-0.898v1.172h2.969v-1.172h-0.898v-2.563c1.108-0.265 1.934-1.263 1.934-2.45v-4.492h-5.039zM6.61 9.154c0 0.743-0.605 1.348-1.348 1.348s-1.348-0.604-1.348-1.348v-3.32h2.695v3.32z"}),a("path",{d:"M13.050 4.661h3.275v1.172h-3.275v-1.172z"}),a("path",{d:"M12.109 9.414h5.156v1.172h-5.156v-1.172z"}),a("path",{d:"M12.109 11.79h5.156v1.172h-5.156v-1.172z"}),a("path",{d:"M12.109 14.167h5.156v1.172h-5.156v-1.172z"}))};t.a=r},function(e,t,n){var a=n(41),r="object"==typeof self&&self&&self.Object===Object&&self,o=a||r||Function("return this")();e.exports=o},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){function a(e,t){if((e=i(e))<1||e>l)return[];var n=u,a=s(e,u);t=o(t),e-=u;for(var c=r(a,t);++n<e;)t(n);return c}var r=n(51),o=n(202),i=n(203),l=9007199254740991,u=4294967295,s=Math.min;e.exports=a},function(e,t,n){function a(e,t){var n=o(e,t);return r(n)?n:void 0}var r=n(119),o=n(124);e.exports=a},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var a="function"===typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,r=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===a};e.exports=n(213)(r,!0)}else e.exports=n(214)()}).call(t,n(1))},function(e,t,n){function a(e){return null==e?void 0===e?u:l:s&&s in Object(e)?o(e):i(e)}var r=n(20),o=n(120),i=n(121),l="[object Null]",u="[object Undefined]",s=r?r.toStringTag:void 0;e.exports=a},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){function a(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}var r=n(24),o=1/0;e.exports=a},function(e,t,n){"use strict";var a=["fab fa-buromobelexperte","fas fa-burn","fas fa-bullseye","fas fa-bullhorn","fas fa-building","far fa-building","fas fa-bug","fab fa-btc","fas fa-briefcase-medical","fas fa-briefcase","fas fa-braille","fas fa-boxes","fas fa-box-open","fas fa-box","fas fa-bowling-ball","fas fa-bookmark","far fa-bookmark","fas fa-book","fas fa-bomb","fas fa-bolt","fas fa-bold","fab fa-bluetooth-b","fab fa-bluetooth","fab fa-blogger-b","fab fa-blogger","fas fa-blind","fab fa-blackberry","fab fa-black-tie","fab fa-bity","fab fa-bitcoin","fab fa-bitbucket","fas fa-birthday-cake","fas fa-binoculars","fab fa-bimobject","fas fa-bicycle","fas fa-bell-slash","far fa-bell-slash","fas fa-bell","far fa-bell","fab fa-behance-square","fab fa-behance","fas fa-beer","fas fa-bed","fas fa-battery-three-quarters","fas fa-battery-quarter","fas fa-battery-half","fas fa-battery-full","fas fa-battery-empty","fas fa-bath","fas fa-basketball-ball","fas fa-baseball-ball","fas fa-bars","fas fa-barcode","fab fa-bandcamp","fas fa-band-aid","fas fa-ban","fas fa-balance-scale","fas fa-backward","fab fa-aws","fab fa-aviato","fab fa-avianex","fab fa-autoprefixer","fas fa-audio-description","fab fa-audible","fas fa-at","fab fa-asymmetrik","fas fa-asterisk","fas fa-assistive-listening-systems","fas fa-arrows-alt-v","fas fa-arrows-alt-h","fas fa-arrows-alt","fas fa-arrow-up","fas fa-arrow-right","fas fa-arrow-left","fas fa-arrow-down","fas fa-arrow-circle-up","fas fa-arrow-circle-right","fas fa-arrow-circle-left","fas fa-arrow-circle-down","fas fa-arrow-alt-circle-up","far fa-arrow-alt-circle-up","fas fa-arrow-alt-circle-right","far fa-arrow-alt-circle-right","fas fa-arrow-alt-circle-left","far fa-arrow-alt-circle-left","fas fa-arrow-alt-circle-down","far fa-arrow-alt-circle-down","fas fa-archive","fab fa-apple-pay","fab fa-apple","fab fa-apper","fab fa-app-store-ios","fab fa-app-store","fab fa-angular","fab fa-angrycreative","fas fa-angle-up","fas fa-angle-right","fas fa-angle-left","fas fa-angle-down","fas fa-angle-double-up","fas fa-angle-double-right","fas fa-angle-double-left","fas fa-angle-double-down","fab fa-angellist","fab fa-android","fas fa-anchor","fab fa-amilia","fas fa-american-sign-language-interpreting","fas fa-ambulance","fab fa-amazon-pay","fab fa-amazon","fas fa-allergies","fas fa-align-right","fas fa-align-left","fas fa-align-justify","fas fa-align-center","fab fa-algolia","fab fa-affiliatetheme","fab fa-adversal","fab fa-adn","fas fa-adjust","fas fa-address-card","far fa-address-card","fas fa-address-book","far fa-address-book","fab fa-accusoft","fab fa-accessible-icon","fab fa-500px","fab fa-youtube-square","fab fa-youtube","fab fa-yoast","fas fa-yen-sign","fab fa-yelp","fab fa-yandex-international","fab fa-yandex","fab fa-yahoo","fab fa-y-combinator","fab fa-xing-square","fab fa-xing","fab fa-xbox","fas fa-x-ray","fas fa-wrench","fab fa-wpforms","fab fa-wpexplorer","fab fa-wpbeginner","fab fa-wordpress-simple","fab fa-wordpress","fas fa-won-sign","fab fa-wolf-pack-battalion","fas fa-wine-glass","fab fa-windows","fas fa-window-restore","far fa-window-restore","fas fa-window-minimize","far fa-window-minimize","fas fa-window-maximize","far fa-window-maximize","fas fa-window-close","far fa-window-close","fab fa-wikipedia-w","fas fa-wifi","fab fa-whmcs","fas fa-wheelchair","fab fa-whatsapp-square","fab fa-whatsapp","fab fa-weixin","fas fa-weight","fab fa-weibo","fas fa-warehouse","fab fa-vuejs","fas fa-volume-up","fas fa-volume-off","fas fa-volume-down","fas fa-volleyball-ball","fab fa-vnv","fab fa-vk","fab fa-vine","fab fa-vimeo-v","fab fa-vimeo-square","fab fa-vimeo","fas fa-video-slash","fas fa-video","fab fa-viber","fas fa-vials","fas fa-vial","fab fa-viadeo-square","fab fa-viadeo","fab fa-viacoin","fas fa-venus-mars","fas fa-venus-double","fas fa-venus","fab fa-vaadin","fas fa-utensils","fas fa-utensil-spoon","fab fa-ussunnah","fas fa-users-cog","fas fa-users","fas fa-user-times","fas fa-user-tie","fas fa-user-tag","fas fa-user-slash","fas fa-user-shield","fas fa-user-secret","fas fa-user-plus","fas fa-user-ninja","fas fa-user-minus","fas fa-user-md","fas fa-user-lock","fas fa-user-graduate","fas fa-user-friends","fas fa-user-edit","fas fa-user-cog","fas fa-user-clock","fas fa-user-circle","far fa-user-circle","fas fa-user-check","fas fa-user-astronaut","fas fa-user-alt-slash","fas fa-user-alt","fas fa-user","far fa-user","fab fa-usb","fas fa-upload","fab fa-untappd","fas fa-unlock-alt","fas fa-unlock","fas fa-unlink","fas fa-university","fas fa-universal-access","fab fa-uniregistry","fas fa-undo-alt","fas fa-undo","fas fa-underline","fas fa-umbrella","fab fa-uikit","fab fa-uber","fab fa-typo3","fab fa-twitter-square","fab fa-twitter","fab fa-twitch","fas fa-tv","fab fa-tumblr-square","fab fa-tumblr","fas fa-tty","fas fa-truck-moving","fas fa-truck-loading","fas fa-truck","fas fa-trophy","fab fa-tripadvisor","fab fa-trello","fas fa-tree","fas fa-trash-alt","far fa-trash-alt","fas fa-trash","fas fa-transgender-alt","fas fa-transgender","fas fa-train","fas fa-trademark","fab fa-trade-federation","fas fa-toggle-on","fas fa-toggle-off","fas fa-tint","fas fa-times-circle","far fa-times-circle","fas fa-times","fas fa-ticket-alt","fas fa-thumbtack","fas fa-thumbs-up","far fa-thumbs-up","fas fa-thumbs-down","far fa-thumbs-down","fas fa-thermometer-three-quarters","fas fa-thermometer-quarter","fas fa-thermometer-half","fas fa-thermometer-full","fas fa-thermometer-empty","fas fa-thermometer","fab fa-themeisle","fas fa-th-list","fas fa-th-large","fas fa-th","fas fa-text-width","fas fa-text-height","fas fa-terminal","fab fa-tencent-weibo","fab fa-telegram-plane","fab fa-telegram","fab fa-teamspeak","fas fa-taxi","fas fa-tasks","fas fa-tape","fas fa-tags","fas fa-tag","fas fa-tachometer-alt","fas fa-tablets","fas fa-tablet-alt","fas fa-tablet","fas fa-table-tennis","fas fa-table","fas fa-syringe","fas fa-sync-alt","fas fa-sync","fab fa-supple","fas fa-superscript","fab fa-superpowers","fas fa-sun","far fa-sun","fas fa-suitcase","fas fa-subway","fas fa-subscript","fab fa-stumbleupon-circle","fab fa-stumbleupon","fab fa-studiovinari","fab fa-stripe-s","fab fa-stripe","fas fa-strikethrough","fas fa-street-view","fab fa-strava","fas fa-stopwatch","fas fa-stop-circle","far fa-stop-circle","fas fa-stop","fas fa-sticky-note","far fa-sticky-note","fab fa-sticker-mule","fas fa-stethoscope","fas fa-step-forward","fas fa-step-backward","fab fa-steam-symbol","fab fa-steam-square","fab fa-steam","fab fa-staylinked","fas fa-star-half","far fa-star-half","fa fa-star","fas fa-star","far fa-star","fab fa-stack-overflow","fab fa-stack-exchange","fas fa-square-full","fas fa-square","far fa-square","fab fa-spotify","fas fa-spinner","fab fa-speakap","fas fa-space-shuttle","fab fa-soundcloud","fas fa-sort-up","fas fa-sort-numeric-up","fas fa-sort-numeric-down","fas fa-sort-down","fas fa-sort-amount-up","fas fa-sort-amount-down","fas fa-sort-alpha-up","fas fa-sort-alpha-down","fas fa-sort","fas fa-snowflake","far fa-snowflake","fab fa-snapchat-square","fab fa-snapchat-ghost","fab fa-snapchat","fas fa-smoking","fas fa-smile","far fa-smile","fab fa-slideshare","fas fa-sliders-h","fab fa-slack-hash","fab fa-slack","fab fa-skype","fab fa-skyatlas","fab fa-sith","fas fa-sitemap","fab fa-sistrix","fab fa-simplybuilt","fas fa-signal","fas fa-sign-out-alt","fas fa-sign-language","fas fa-sign-in-alt","fas fa-sign","fas fa-shower","fas fa-shopping-cart","fas fa-shopping-basket","fas fa-shopping-bag","fab fa-shirtsinbulk","fas fa-shipping-fast","fas fa-ship","fas fa-shield-alt","fas fa-shekel-sign","fas fa-share-square","far fa-share-square","fas fa-share-alt-square","fas fa-share-alt","fas fa-share","fab fa-servicestack","fas fa-server","fab fa-sellsy","fab fa-sellcast","fas fa-seedling","fab fa-searchengin","fas fa-search-plus","fas fa-search-minus","fas fa-search","fab fa-scribd","fab fa-schlix","fas fa-save","far fa-save","fab fa-sass","fab fa-safari","fas fa-rupee-sign","fas fa-ruble-sign","fas fa-rss-square","fas fa-rss","fab fa-rockrms","fab fa-rocketchat","fas fa-rocket","fas fa-road","fas fa-ribbon","fas fa-retweet","fab fa-resolving","fab fa-researchgate","fab fa-replyd","fas fa-reply-all","fas fa-reply","fab fa-renren","fab fa-rendact","fas fa-registered","far fa-registered","fas fa-redo-alt","fas fa-redo","fab fa-reddit-square","fab fa-reddit-alien","fab fa-reddit","fab fa-red-river","fas fa-recycle","fab fa-rebel","fab fa-readme","fab fa-react","fab fa-ravelry","fas fa-random","fab fa-r-project","fas fa-quote-right","fas fa-quote-left","fab fa-quora","fab fa-quinscape","fas fa-quidditch","fas fa-question-circle","far fa-question-circle","fas fa-question","fas fa-qrcode","fab fa-qq","fab fa-python","fas fa-puzzle-piece","fab fa-pushed","fab fa-product-hunt","fas fa-procedures","fas fa-print","fas fa-prescription-bottle-alt","fas fa-prescription-bottle","fas fa-power-off","fas fa-pound-sign","fas fa-portrait","fas fa-poo","fas fa-podcast","fas fa-plus-square","far fa-plus-square","fas fa-plus-circle","fas fa-plus","fas fa-plug","fab fa-playstation","fas fa-play-circle","far fa-play-circle","fas fa-play","fas fa-plane","fab fa-pinterest-square","fab fa-pinterest-p","fab fa-pinterest","fas fa-pills","fas fa-piggy-bank","fab fa-pied-piper-pp","fab fa-pied-piper-hat","fab fa-pied-piper-alt","fab fa-pied-piper","fab fa-php","fas fa-phone-volume","fas fa-phone-square","fas fa-phone-slash","fas fa-phone","fab fa-phoenix-squadron","fab fa-phoenix-framework","fab fa-phabricator","fab fa-periscope","fas fa-percent","fas fa-people-carry","fas fa-pencil-alt","fas fa-pen-square","fab fa-paypal","fas fa-paw","fas fa-pause-circle","far fa-pause-circle","fas fa-pause","fab fa-patreon","fas fa-paste","fas fa-paragraph","fas fa-parachute-box","fas fa-paperclip","fas fa-paper-plane","far fa-paper-plane","fas fa-pallet","fab fa-palfed","fas fa-paint-brush","fab fa-pagelines","fab fa-page4","fas fa-outdent","fab fa-osi","fab fa-optin-monster","fab fa-opera","fab fa-openid","fab fa-opencart","fab fa-old-republic","fab fa-odnoklassniki-square","fab fa-odnoklassniki","fas fa-object-ungroup","far fa-object-ungroup","fas fa-object-group","far fa-object-group","fab fa-nutritionix","fab fa-ns8","fab fa-npm","fas fa-notes-medical","fab fa-node-js","fab fa-node","fab fa-nintendo-switch","fas fa-newspaper","far fa-newspaper","fas fa-neuter","fab fa-napster","fas fa-music","fas fa-mouse-pointer","fas fa-motorcycle","fas fa-moon","far fa-moon","fas fa-money-bill-alt","far fa-money-bill-alt","fab fa-monero","fab fa-modx","fas fa-mobile-alt","fas fa-mobile","fab fa-mizuni","fab fa-mixcloud","fab fa-mix","fas fa-minus-square","far fa-minus-square","fas fa-minus-circle","fas fa-minus","fab fa-microsoft","fas fa-microphone-slash","fas fa-microphone","fas fa-microchip","fas fa-mercury","fas fa-meh","far fa-meh","fab fa-meetup","fab fa-medrt","fas fa-medkit","fab fa-medium-m","fab fa-medium","fab fa-medapps","fab fa-maxcdn","fab fa-mastodon","fas fa-mars-stroke-v","fas fa-mars-stroke-h","fas fa-mars-stroke","fas fa-mars-double","fas fa-mars","fas fa-map-signs","fas fa-map-pin","fas fa-map-marker-alt","fas fa-map-marker","fas fa-map","far fa-map","fab fa-mandalorian","fas fa-male","fas fa-magnet","fas fa-magic","fab fa-magento","fab fa-lyft","fas fa-low-vision","fas fa-long-arrow-alt-up","fas fa-long-arrow-alt-right","fas fa-long-arrow-alt-left","fas fa-long-arrow-alt-down","fas fa-lock-open","fas fa-lock","fas fa-location-arrow","fas fa-list-ul","fas fa-list-ol","fas fa-list-alt","far fa-list-alt","fas fa-list","fas fa-lira-sign","fab fa-linux","fab fa-linode","fab fa-linkedin-in","fab fa-linkedin","fas fa-link","fab fa-line","fas fa-lightbulb","far fa-lightbulb","fas fa-life-ring","far fa-life-ring","fas fa-level-up-alt","fas fa-level-down-alt","fab fa-less","fas fa-lemon","far fa-lemon","fab fa-leanpub","fas fa-leaf","fab fa-lastfm-square","fab fa-lastfm","fab fa-laravel","fas fa-laptop","fas fa-language","fab fa-korvue","fab fa-kickstarter-k","fab fa-kickstarter","fab fa-keycdn","fas fa-keyboard","far fa-keyboard","fab fa-keybase","fas fa-key","fab fa-jsfiddle","fab fa-js-square","fab fa-js","fab fa-joomla","fab fa-joget","fab fa-jenkins","fab fa-jedi-order","fab fa-java","fab fa-itunes-note","fab fa-itunes","fas fa-italic","fab fa-ioxhost","fab fa-internet-explorer","fab fa-instagram","fas fa-info-circle","fas fa-info","fas fa-industry","fas fa-indent","fas fa-inbox","fab fa-imdb","fas fa-images","far fa-images","fas fa-image","far fa-image","fas fa-id-card-alt","fas fa-id-card","far fa-id-card","fas fa-id-badge","far fa-id-badge","fas fa-i-cursor","fab fa-hubspot","fab fa-html5","fab fa-houzz","fas fa-hourglass-start","fas fa-hourglass-half","fas fa-hourglass-end","fas fa-hourglass","far fa-hourglass","fab fa-hotjar","fas fa-hospital-symbol","fas fa-hospital-alt","fas fa-hospital","far fa-hospital","fab fa-hooli","fas fa-home","fas fa-hockey-puck","fas fa-history","fab fa-hire-a-helper","fab fa-hips","fas fa-heartbeat","fas fa-heart","far fa-heart","fas fa-headphones","fas fa-heading","fas fa-hdd","far fa-hdd","fas fa-hashtag","fas fa-handshake","far fa-handshake","fas fa-hands-helping","fas fa-hands","fas fa-hand-spock","far fa-hand-spock","fas fa-hand-scissors","far fa-hand-scissors","fas fa-hand-rock","far fa-hand-rock","fas fa-hand-pointer","far fa-hand-pointer","fas fa-hand-point-up","far fa-hand-point-up","fas fa-hand-point-right","far fa-hand-point-right","fas fa-hand-point-left","far fa-hand-point-left","fas fa-hand-point-down","far fa-hand-point-down","fas fa-hand-peace","far fa-hand-peace","fas fa-hand-paper","far fa-hand-paper","fas fa-hand-lizard","far fa-hand-lizard","fas fa-hand-holding-usd","fas fa-hand-holding-heart","fas fa-hand-holding","fab fa-hacker-news-square","fab fa-hacker-news","fas fa-h-square","fab fa-gulp","fab fa-grunt","fab fa-gripfire","fab fa-grav","fab fa-gratipay","fas fa-graduation-cap","fab fa-google-wallet","fab fa-google-plus-square","fab fa-google-plus-g","fab fa-google-plus","fab fa-google-play","fab fa-google-drive","fab fa-google","fab fa-goodreads-g","fab fa-goodreads","fas fa-golf-ball","fab fa-gofore","fas fa-globe","fab fa-glide-g","fab fa-glide","fas fa-glass-martini","fab fa-gitter","fab fa-gitlab","fab fa-gitkraken","fab fa-github-square","fab fa-github-alt","fab fa-github","fab fa-git-square","fab fa-git","fas fa-gift","fab fa-gg-circle","fab fa-gg","fab fa-get-pocket","fas fa-genderless","fas fa-gem","far fa-gem","fas fa-gavel","fas fa-gamepad","fab fa-galactic-senate","fab fa-galactic-republic","fas fa-futbol","far fa-futbol","fab fa-fulcrum","fas fa-frown","far fa-frown","fab fa-freebsd","fab fa-free-code-camp","fab fa-foursquare","fas fa-forward","fab fa-forumbee","fab fa-fort-awesome-alt","fab fa-fort-awesome","fas fa-football-ball","fab fa-fonticons-fi","fab fa-fonticons","far fa-font-awesome-logo-full","fas fa-font-awesome-logo-full","fab fa-font-awesome-logo-full","fab fa-font-awesome-flag","fab fa-font-awesome-alt","fab fa-font-awesome","fas fa-font","fas fa-folder-open","far fa-folder-open","fas fa-folder","far fa-folder","fab fa-fly","fab fa-flipboard","fab fa-flickr","fas fa-flask","fas fa-flag-checkered","fas fa-flag","far fa-flag","fab fa-firstdraft","fab fa-first-order-alt","fab fa-first-order","fas fa-first-aid","fab fa-firefox","fas fa-fire-extinguisher","fas fa-fire","fas fa-filter","fas fa-film","fas fa-file-word","far fa-file-word","fas fa-file-video","far fa-file-video","fas fa-file-powerpoint","far fa-file-powerpoint","fas fa-file-pdf","far fa-file-pdf","fas fa-file-medical-alt","fas fa-file-medical","fas fa-file-image","far fa-file-image","fas fa-file-excel","far fa-file-excel","fas fa-file-code","far fa-file-code","fas fa-file-audio","far fa-file-audio","fas fa-file-archive","far fa-file-archive","fas fa-file-alt","far fa-file-alt","fas fa-file","far fa-file","fas fa-fighter-jet","fas fa-female","fas fa-fax","fas fa-fast-forward","fas fa-fast-backward","fab fa-facebook-square","fab fa-facebook-messenger","fab fa-facebook-f","fab fa-facebook","fas fa-eye-slash","far fa-eye-slash","fas fa-eye-dropper","fas fa-eye","far fa-eye","fas fa-external-link-square-alt","fas fa-external-link-alt","fab fa-expeditedssl","fas fa-expand-arrows-alt","fas fa-expand","fas fa-exclamation-triangle","fas fa-exclamation-circle","fas fa-exclamation","fas fa-exchange-alt","fas fa-euro-sign","fab fa-etsy","fab fa-ethereum","fab fa-erlang","fas fa-eraser","fab fa-envira","fas fa-envelope-square","fas fa-envelope-open","far fa-envelope-open","fas fa-envelope","far fa-envelope","fab fa-empire","fab fa-ember","fas fa-ellipsis-v","fas fa-ellipsis-h","fab fa-elementor","fas fa-eject","fas fa-edit","far fa-edit","fab fa-edge","fab fa-ebay","fab fa-earlybirds","fab fa-dyalog","fab fa-drupal","fab fa-dropbox","fab fa-dribbble-square","fab fa-dribbble","fab fa-draft2digital","fas fa-download","fas fa-dove","fas fa-dot-circle","far fa-dot-circle","fas fa-donate","fas fa-dolly-flatbed","fas fa-dolly","fas fa-dollar-sign","fab fa-docker","fab fa-dochub","fas fa-dna","fab fa-discourse","fab fa-discord","fab fa-digital-ocean","fab fa-digg","fas fa-diagnoses","fab fa-deviantart","fas fa-desktop","fab fa-deskpro","fab fa-deploydog","fab fa-delicious","fas fa-deaf","fas fa-database","fab fa-dashcube","fab fa-d-and-d","fab fa-cuttlefish","fas fa-cut","fas fa-cubes","fas fa-cube","fab fa-css3-alt","fab fa-css3","fas fa-crosshairs","fas fa-crop","fas fa-credit-card","far fa-credit-card","fab fa-creative-commons-share","fab fa-creative-commons-sampling-plus","fab fa-creative-commons-sampling","fab fa-creative-commons-sa","fab fa-creative-commons-remix","fab fa-creative-commons-pd-alt","fab fa-creative-commons-pd","fab fa-creative-commons-nd","fab fa-creative-commons-nc-jp","fab fa-creative-commons-nc-eu","fab fa-creative-commons-nc","fab fa-creative-commons-by","fab fa-creative-commons","fab fa-cpanel","fas fa-couch","fas fa-copyright","far fa-copyright","fas fa-copy","far fa-copy","fab fa-contao","fab fa-connectdevelop","fas fa-compress","fas fa-compass","far fa-compass","fas fa-comments","far fa-comments","fas fa-comment-slash","fas fa-comment-dots","far fa-comment-dots","fas fa-comment-alt","far fa-comment-alt","fas fa-comment","far fa-comment","fas fa-columns","fas fa-cogs","fas fa-cog","fas fa-coffee","fab fa-codiepie","fab fa-codepen","fas fa-code-branch","fas fa-code","fab fa-cloudversify","fab fa-cloudsmith","fab fa-cloudscale","fas fa-cloud-upload-alt","fas fa-cloud-download-alt","fas fa-cloud","fas fa-closed-captioning","far fa-closed-captioning","fas fa-clone","far fa-clone","fas fa-clock","far fa-clock","fas fa-clipboard-list","fas fa-clipboard-check","fas fa-clipboard","far fa-clipboard","fas fa-circle-notch","fas fa-circle","far fa-circle","fab fa-chrome","fas fa-child","fas fa-chevron-up","fas fa-chevron-right","fas fa-chevron-left","fas fa-chevron-down","fas fa-chevron-circle-up","fas fa-chevron-circle-right","fas fa-chevron-circle-left","fas fa-chevron-circle-down","fas fa-chess-rook","fas fa-chess-queen","fas fa-chess-pawn","fas fa-chess-knight","fas fa-chess-king","fas fa-chess-board","fas fa-chess-bishop","fas fa-chess","fas fa-check-square","far fa-check-square","fas fa-check-circle","far fa-check-circle","fas fa-check","fas fa-chart-pie","fas fa-chart-line","fas fa-chart-bar","far fa-chart-bar","fas fa-chart-area","fas fa-certificate","fab fa-centercode","fab fa-cc-visa","fab fa-cc-stripe","fab fa-cc-paypal","fab fa-cc-mastercard","fab fa-cc-jcb","fab fa-cc-discover","fab fa-cc-diners-club","fab fa-cc-apple-pay","fab fa-cc-amex","fab fa-cc-amazon-pay","fas fa-cart-plus","fas fa-cart-arrow-down","fas fa-caret-up","fas fa-caret-square-up","far fa-caret-square-up","fas fa-caret-square-right","far fa-caret-square-right","fas fa-caret-square-left","far fa-caret-square-left","fas fa-caret-square-down","far fa-caret-square-down","fas fa-caret-right","fas fa-caret-left","fas fa-caret-down","fas fa-car","fas fa-capsules","fas fa-camera-retro","fas fa-camera","fas fa-calendar-times","far fa-calendar-times","fas fa-calendar-plus","far fa-calendar-plus","fas fa-calendar-minus","far fa-calendar-minus","fas fa-calendar-check","far fa-calendar-check","fas fa-calendar-alt","far fa-calendar-alt","fas fa-calendar","far fa-calendar","fas fa-calculator","fab fa-buysellads","fas fa-bus","far fa-angry","far fa-dizzy","far fa-flushed","far fa-frown-open","far fa-grimace","far fa-grin-alt","far fa-grin-beam-sweat","far fa-grin-beam","far fa-grin-hearts","far fa-grin-squint-tears","far fa-grin-squint","far fa-grin-stars","far fa-grin-tears","far fa-grin-tongue-squint","far fa-grin-tongue-wink","far fa-grin-tongue","far fa-grin-wink","far fa-grin","far fa-kiss-beam","far fa-kiss-wink-heart","far fa-kiss","far fa-laugh-beam","far fa-laugh-squint","far fa-laugh-wink","far fa-laugh","far fa-meh-blank","far fa-meh-rolling-eyes","far fa-sad-cry","far fa-sad-tear","far fa-smile-beam","far fa-smile-wink","far fa-surprise","far fa-tired","fab fa-acquisitions-incorporated","fab fa-alipay","fab fa-creative-commons-zero","fab fa-critical-role","fab fa-d-and-d-beyond","fab fa-dev","fab fa-ello","fab fa-fantasy-flight-games","fab fa-hackerrank","fab fa-hornbill","fab fa-kaggle","fab fa-mailchimp","fab fa-markdown","fab fa-megaport","fab fa-neos","fab fa-nimblr","fab fa-penny-arcade","fab fa-r","fab fa-rev","fab fa-shopware","fab fa-squarespace","fab fa-the-red-yeti","fab fa-themeco","fab fa-think-peaks","fab fa-weebly","fab fa-wix","fab fa-wizards-of-the-coast","fab fa-wpressr","fab fa-zhihu","fas fa-abacus","fas fa-ad","fas fa-air-freshener","fas fa-angry","fas fa-ankh","fas fa-apple-alt","fas fa-archway","fas fa-atlas","fas fa-atom","fas fa-award","fas fa-backspace","fas fa-bezier-curve","fas fa-bible","fas fa-blender-phone","fas fa-blender","fas fa-bone","fas fa-bong","fas fa-book-dead","fas fa-book-open","fas fa-book-reader","fas fa-brain","fas fa-broadcast-tower","fas fa-broom","fas fa-brush","fas fa-bus-alt","fas fa-business-time","fas fa-calculator-alt","fas fa-campground","fas fa-cannabis","fas fa-car-alt","fas fa-car-battery","fas fa-car-crash","fas fa-car-side","fas fa-cat","fas fa-chair","fas fa-chalkboard-teacher","fas fa-chalkboard","fas fa-charging-station","fas fa-check-double","fas fa-church","fas fa-city","fas fa-cloud-moon","fas fa-cloud-sun","fas fa-cocktail","fas fa-coins","fas fa-comment-dollar","fas fa-comments-dollar","fas fa-compact-disc","fas fa-concierge-bell","fas fa-cookie-bite","fas fa-cookie","fas fa-crop-alt","fas fa-cross","fas fa-crow","fas fa-crown","fas fa-dharmachakra","fas fa-dice-d20","fas fa-dice-d6","fas fa-dice-five","fas fa-dice-four","fas fa-dice-one","fas fa-dice-six","fas fa-dice-three","fas fa-dice-two","fas fa-dice","fas fa-digital-tachograph","fas fa-directions","fas fa-divide","fas fa-dizzy","fas fa-dog","fas fa-door-closed","fas fa-door-open","fas fa-drafting-compass","fas fa-dragon","fas fa-draw-polygon","fas fa-drum-steelpan","fas fa-drum","fas fa-drumstick-bite","fas fa-dumbbell","fas fa-dungeon","fas fa-empty-set","fas fa-envelope-open-text","fas fa-equals","fas fa-feather-alt","fas fa-feather","fas fa-file-contract","fas fa-file-csv","fas fa-file-download","fas fa-file-export","fas fa-file-import","fas fa-file-invoice-dollar","fas fa-file-invoice","fas fa-file-prescription","fas fa-file-signature","fas fa-file-upload","fas fa-fill-drip","fas fa-fill","fas fa-fingerprint","fas fa-fish","fas fa-fist-raised","fas fa-flushed","fas fa-folder-minus","fas fa-folder-plus","fas fa-frog","fas fa-frown-open","fas fa-function","fas fa-funnel-dollar","fas fa-gas-pump","fas fa-ghost","fas fa-glass-martini-alt","fas fa-glasses","fas fa-globe-africa","fas fa-globe-americas","fas fa-globe-asia","fas fa-gopuram","fas fa-greater-than-equal","fas fa-greater-than","fas fa-grimace","fas fa-grin-alt","fas fa-grin-beam-sweat","fas fa-grin-beam","fas fa-grin-hearts","fas fa-grin-squint-tears","fas fa-grin-squint","fas fa-grin-stars","fas fa-grin-tears","fas fa-grin-tongue-squint","fas fa-grin-tongue-wink","fas fa-grin-tongue","fas fa-grin-wink","fas fa-grin","fas fa-grip-horizontal","fas fa-grip-vertical","fas fa-hammer","fas fa-hamsa","fas fa-hanukiah","fas fa-hat-wizard","fas fa-haykal","fas fa-headphones-alt","fas fa-headset","fas fa-helicopter","fas fa-highlighter","fas fa-hiking","fas fa-hippo","fas fa-horse","fas fa-hot-tub","fas fa-hotel","fas fa-house-damage","fas fa-hryvnia","fas fa-infinity","fas fa-integral","fas fa-intersection","fas fa-jedi","fas fa-joint","fas fa-journal-whills","fas fa-kaaba","fas fa-khanda","fas fa-kiss-beam","fas fa-kiss-wink-heart","fas fa-kiss","fas fa-kiwi-bird","fas fa-lambda","fas fa-landmark","fas fa-laptop-code","fas fa-laugh-beam","fas fa-laugh-squint","fas fa-laugh-wink","fas fa-laugh","fas fa-layer-group","fas fa-less-than-equal","fas fa-less-than","fas fa-luggage-cart","fas fa-mail-bulk","fas fa-map-marked-alt","fas fa-map-marked","fas fa-marker","fas fa-mask","fas fa-medal","fas fa-meh-blank","fas fa-meh-rolling-eyes","fas fa-memory","fas fa-menorah","fas fa-microphone-alt-slash","fas fa-microphone-alt","fas fa-microscope","fas fa-money-bill-wave-alt","fas fa-money-bill-wave","fas fa-money-bill","fas fa-money-check-alt","fas fa-money-check","fas fa-monument","fas fa-mortar-pestle","fas fa-mosque","fas fa-mountain","fas fa-network-wired","fas fa-not-equal","fas fa-oil-can","fas fa-om","fas fa-omega","fas fa-otter","fas fa-paint-roller","fas fa-palette","fas fa-parking","fas fa-passport","fas fa-pastafarianism","fas fa-peace","fas fa-pen-alt","fas fa-pen-fancy","fas fa-pen-nib","fas fa-pen","fas fa-pencil-ruler","fas fa-percentage","fas fa-pi","fas fa-place-of-worship","fas fa-plane-arrival","fas fa-plane-departure","fas fa-poll-h","fas fa-poll","fas fa-poop","fas fa-pray","fas fa-praying-hands","fas fa-prescription","fas fa-project-diagram","fas fa-quran","fas fa-receipt","fas fa-ring","fas fa-robot","fas fa-route","fas fa-ruler-combined","fas fa-ruler-horizontal","fas fa-ruler-vertical","fas fa-ruler","fas fa-running","fas fa-sad-cry","fas fa-sad-tear","fas fa-school","fas fa-screwdriver","fas fa-scroll","fas fa-search-dollar","fas fa-search-location","fas fa-shapes","fas fa-shoe-prints","fas fa-shuttle-van","fas fa-sigma","fas fa-signal-alt-slash","fas fa-signal-alt","fas fa-signal-slash","fas fa-signature","fas fa-skull-crossbones","fas fa-skull","fas fa-slash","fas fa-smile-beam","fas fa-smile-wink","fas fa-smoking-ban","fas fa-socks","fas fa-solar-panel","fas fa-spa","fas fa-spider","fas fa-splotch","fas fa-spray-can","fas fa-square-root-alt","fas fa-square-root","fas fa-stamp","fas fa-star-and-crescent","fas fa-star-half-alt","fas fa-star-of-david","fas fa-star-of-life","fas fa-store-alt","fas fa-store","fas fa-stream","fas fa-stroopwafel","fas fa-suitcase-rolling","fas fa-surprise","fas fa-swatchbook","fas fa-swimmer","fas fa-swimming-pool","fas fa-synagogue","fas fa-tally","fas fa-teeth-open","fas fa-teeth","fas fa-theater-masks","fas fa-theta","fas fa-tilde","fas fa-tint-slash","fas fa-tired","fas fa-toilet-paper","fas fa-toolbox","fas fa-tooth","fas fa-torah","fas fa-torii-gate","fas fa-tractor","fas fa-traffic-light","fas fa-truck-monster","fas fa-truck-pickup","fas fa-tshirt","fas fa-umbrella-beach","fas fa-union","fas fa-user-injured","fas fa-value-absolute","fas fa-vector-square","fas fa-vihara","fas fa-volume-mute","fas fa-volume-slash","fas fa-volume","fas fa-vr-cardboard","fas fa-walking","fas fa-wallet","fas fa-weight-hanging","fas fa-wifi-slash","fas fa-wind","fas fa-wine-bottle","fas fa-wine-glass-alt","fas fa-yin-yang"];t.a=a},function(e,t,n){!function(t,a){e.exports=a(n(9),n(2),n(0),n(17),n(225))}(window,function(e,t,n,a,r){return function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=15)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.flattenPossiblyCategorizedSource=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(Array.isArray(e))return o(e);if(null!==t)return void 0!==e[t]?o(e[t]):[];var n=[],a=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},a=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),a.forEach(function(t){r(e,t,n[t])})}return e}({},e);return Object.keys(a).forEach(function(e){n=o(n).concat(o(a[e]))}),n},t.getPossibleCategories=function(e){return Array.isArray(e)?null:Object.keys(e)},t.convertToHex=function(e){return String.fromCodePoint(parseInt(e,10))},t.isArrayEqual=function(e,t){if(!Array.isArray(e)||!Array.isArray(t))return!1;var n=o(e);n.sort();var a=o(t);return a.sort(),JSON.stringify(n)===JSON.stringify(a)},t.getOffset=function(e){var t=e.getBoundingClientRect(),n=window.pageXOffset||document.documentElement.scrollLeft,a=window.pageYOffset||document.documentElement.scrollTop;return{top:t.top+a,left:t.left+n}},t.getSourceType=function(e){return null===e?"null":"object"!==a(e)||Array.isArray(e)?Array.isArray(e)?"array":a(e):"object"},t.InvalidSourceException=function(e,t){this.givenType=e,this.requiredType=t,this.message="Expected of type: ".concat(this.requiredType,", found: ").concat(this.givenType),this.toString=function(){return"Invalid Source Exception: ".concat(this.message)}},t.fuzzySearch=function(e,t){e=e.toLowerCase();var n=(t=t.toLowerCase()).length,a=e.length;if(a>n)return!1;if(a===n)return e===t;e:for(var r=0,o=0;r<a;r++){for(var i=e.codePointAt(r);o<n;)if(t.codePointAt(o++)===i)continue e;return!1}return!0},t.debounce=void 0,t.debounce=function(e,t){var n;return function(){var a=this,r=arguments;clearTimeout(n),n=setTimeout(function(){return e.apply(a,r)},t)}}},function(e,t){e.exports=n},,,function(e,t){e.exports=a},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=a(n(1)),s=n(6),c=a(n(0)),f=a(n(3)),p=n(2),d=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?l(this):a,Object.defineProperty(l(n),"syncPortalPosition",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.resetPortalPosition(),n.fixWindowOverflow()}}),Object.defineProperty(l(n),"fixWindowOverflow",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=n.props.domRef.current.offsetWidth,t=n.props.domRef.current.offsetHeight,a=window,r=a.innerWidth,o=a.pageYOffset,i=document.documentElement.clientHeight,l=(0,p.getOffset)(n.props.domRef.current),u=l.left,s=l.top,c="self"===n.state.appendRoot?n.props.domRef.current:n.state.appendRoot,f=(0,p.getOffset)(c),d=n.props.btnRef.current,m=n.props.domRef.current,g=(0,p.getOffset)(d),h=getComputedStyle(d),b=(parseInt(h.borderTop,10)||0)+(parseInt(h.borderBottom,10)||0);if(u+e>r-20){var v=g.left+n.props.btnRef.current.offsetWidth-(e+f.left);v+f.left<0&&(v=10-f.left),m.style.left="".concat(v,"px")}t+s-o>i&&g.top-t>0&&("self"===n.state.appendRoot?m.style.top="-".concat(t-b,"px"):m.style.top="".concat(g.top+b-t,"px"))}}),n.state={},n.debouncedSyncPortalPosition=(0,p.debounce)(n.syncPortalPosition,250),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.default.PureComponent),i(t,null,[{key:"getDerivedStateFromProps",value:function(e){var n=t.calculateAppendAndClass(e.appendRoot);return{appendRoot:n.appendRoot,portalClasses:n.portalClasses}}},{key:"calculateAppendAndClass",value:function(e){var t="self",n=(0,f.default)({"rfipdropdown--portal":!1!==e});return!1!==e&&(t=document.querySelector(e)),{portalClasses:n,appendRoot:t}}}]),i(t,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this.debouncedSyncPortalPosition),window.addEventListener("scroll",this.debouncedSyncPortalPosition),this.syncPortalPosition()}},{key:"componentDidUpdate",value:function(){this.syncPortalPosition()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.debouncedSyncPortalPosition),window.removeEventListener("scroll",this.debouncedSyncPortalPosition)}},{key:"positionPortal",value:function(){var e=this.props.domRef.current.style.display;this.props.domRef.current.style.display="none";var t=this.props.btnRef.current,n=(0,p.getOffset)(t),a=(0,p.getOffset)(this.state.appendRoot),r=t.offsetHeight;this.props.domRef.current.style.left="".concat(n.left-a.left,"px"),this.props.domRef.current.style.top="".concat(n.top+r,"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,f.default)(this.props.className,this.state.portalClasses),t=u.default.createElement("div",{className:e,ref:this.props.domRef},this.props.children);return"self"===this.state.appendRoot?t:(0,s.createPortal)(t,this.state.appendRoot)}}]),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:c.default.oneOfType([c.default.bool,c.default.string]),children:c.default.node.isRequired,domRef:c.default.object.isRequired,btnRef:c.default.object.isRequired,className:c.default.string.isRequired}}),Object.defineProperty(d,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{appendRoot:!1}});var m=d;t.default=m},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function l(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(1)),c=a(n(0)),f=a(n(3)),p=n(2),d=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?u(this):a,Object.defineProperty(u(n),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=n.props.currentPage,o=n.state.totalPage;null!==a?"next"===a?r+=1:r-=1:r=parseInt(e.target.value,10)-1,r<0&&(r=0),r>o-1&&(r=o-1),t=r+1,null===a&&Number.isNaN(r)&&(r=0,t=""),n.setState({viewPage:t}),n.props.handleChangePage(r)}}),Object.defineProperty(u(n),"handlePageKeyBoard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||n.handleChangePage({},t)}}),Object.defineProperty(u(n),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.props.handleChangeValue(e)}}),Object.defineProperty(u(n),"handleValueKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){13!==e.keyCode&&32!==e.keyCode||n.handleChangeValue(t)}}),n.state={viewPage:n.props.currentPage+1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,s.default.PureComponent),l(t,null,[{key:"getDerivedStateFromProps",value:function(e,n){var a=t.getCategoryFilteredState(e.currentCategory,e.categories,e.icons),r=t.getCategoryFilteredState(e.currentCategory,e.categories,null===e.search?e.icons:e.search),o=t.getActiveIcons(a,r,e.currentSearch),i=o.activeIcons,l=o.activeTitles,u=e.currentPage,s=e.iconsPerPage,c={iconView:t.getCurrentViewIcons(i,s,u),titleView:t.getCurrentViewIcons(l,s,u),totalPage:Math.ceil(i.length/s)};return""!==n.viewPage&&(c.viewPage=e.currentPage+1),c}},{key:"getActiveIcons",value:function(e,t,n){var a=o(e),r=o(t);if(""===n||null===n)return{activeIcons:a,activeTitles:r};var i=[],l=[];return a.forEach(function(e,a){(0,p.fuzzySearch)(n,t[a])&&(i.push(e),l.push(t[a]))}),{activeIcons:i,activeTitles:l}}},{key:"getCategoryFilteredState",value:function(e,t,n){var a=null,r=(0,p.getSourceType)(n);if(Array.isArray(t)){if("object"!==r)throw new p.InvalidSourceException(r,"object")}else if("array"!==r)throw new p.InvalidSourceException(r,"array");return 0!==e&&Array.isArray(t)&&(a=t[e]||null),(0,p.flattenPossiblyCategorizedSource)(n,a)}},{key:"getCurrentViewIcons",value:function(e,t,n){var a=n*t,r=(n+1)*t;return e.slice(a,r)}}]),l(t,[{key:"renderPager",value:function(){var e=this;if(this.state.totalPage<1)return null;var t=this.props.currentPage>0?s.default.createElement("span",{className:"rfipicons__left",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"prev")},onClick:function(t){return e.handleChangePage(t,"prev")}},s.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Left"},s.default.createElement("i",{className:"fipicon-angle-left"}))):null,n=this.props.currentPage<this.state.totalPage-1?s.default.createElement("span",{className:"rfipicons__right",role:"button",tabIndex:0,onKeyDown:function(t){return e.handlePageKeyBoard(t,"next")},onClick:function(t){return e.handleChangePage(t,"next")}},s.default.createElement("span",{role:"presentation",className:"rfipicons__label","aria-label":"Right"},s.default.createElement("i",{className:"fipicon-angle-right"}))):null;return s.default.createElement("div",{className:"rfipicons__pager"},s.default.createElement("div",{className:"rfipicons__num"},s.default.createElement("input",{value:this.state.viewPage,onChange:this.handleChangePage,className:"rfipicons__cp",type:"tel",min:1}),s.default.createElement("span",{className:"rfipicons__sp"},"/"),s.default.createElement("span",{className:"rfipicons__tp"},this.state.totalPage)),s.default.createElement("div",{className:"rfipicons__arrow"},t,n))}},{key:"renderIconView",value:function(){var e=this;return this.state.totalPage>0?this.state.iconView.map(function(t,n){var a=(0,f.default)("rfipicons__icon",{"rfipicons__icon--selected":e.props.value===t||Array.isArray(e.props.value)&&e.props.value.includes(t)});return s.default.createElement("span",{className:a,key:t,title:e.state.titleView[n]},s.default.createElement("span",{className:"rfipicons__ibox",tabIndex:0,role:"button",onClick:function(){return e.handleChangeValue(t)},onKeyDown:function(n){return e.handleValueKeyboard(n,t)}},e.props.renderIcon(t)))}):s.default.createElement("span",{className:"rfipicons__icon--error"},s.default.createElement("span",{className:"rfipicons__ibox--error"},this.props.noIconPlaceholder))}},{key:"render",value:function(){return s.default.createElement("div",{className:"rfipicons"},this.renderPager(),s.default.createElement("div",{className:"rfipicons__selector"},this.renderIconView()))}}]),t}();Object.defineProperty(d,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{categories:c.default.arrayOf(c.default.string),currentCategory:c.default.number,isMulti:c.default.bool.isRequired,icons:c.default.oneOfType([c.default.arrayOf(c.default.string),c.default.arrayOf(c.default.number),c.default.objectOf(c.default.oneOfType([c.default.arrayOf(c.default.number),c.default.arrayOf(c.default.string)]))]).isRequired,search:c.default.oneOfType([c.default.objectOf(c.default.arrayOf(c.default.string)),c.default.arrayOf(c.default.string)]),value:c.default.oneOfType([c.default.number,c.default.string,c.default.arrayOf(c.default.oneOfType([c.default.number,c.default.string]))]).isRequired,currentSearch:c.default.string.isRequired,handleChangeValue:c.default.func.isRequired,currentPage:c.default.number.isRequired,iconsPerPage:c.default.number.isRequired,handleChangePage:c.default.func.isRequired,renderIcon:c.default.func.isRequired,noIconPlaceholder:c.default.string.isRequired}}),Object.defineProperty(d,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{categories:null,currentCategory:null,search:null}});var m=d;t.default=m},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(1)),o=a(n(0)),i=function(e){return r.default.createElement("div",{className:"rfipsearch"},r.default.createElement("input",{type:"text",className:"rfipsearch__input",value:e.value,onChange:e.handleSearch,placeholder:e.placeholder}))};i.propTypes={handleSearch:o.default.func.isRequired,value:o.default.string.isRequired,placeholder:o.default.string.isRequired};var l=i;t.default=l},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=a(n(1)),l=a(n(0)),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"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var n,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,i.default.PureComponent),n=t,(a=[{key:"render",value:function(){return i.default.createElement("div",{className:"rfipcategory"},i.default.createElement("select",{className:"rfipcategory__select",onChange:this.props.handleCategory,value:this.props.value},this.props.categories.map(function(e,t){return i.default.createElement("option",{className:"rfipcategory__select__option",key:e,value:t},e)})),i.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"}))}}])&&o(n.prototype,a),t}();Object.defineProperty(u,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{handleCategory:l.default.func.isRequired,value:l.default.number.isRequired,categories:l.default.arrayOf(l.default.string).isRequired}});var s=u;t.default=s},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=a(n(1)),s=a(n(0)),c=a(n(10)),f=a(n(9)),p=a(n(8)),d=n(2),m=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?l(this):a,Object.defineProperty(l(n),"handleCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=parseInt(e.target.value,10);Number.isNaN(t)&&(t=0),n.props.handleChangeCategory(t),n.props.handleChangePage(0)}}),Object.defineProperty(l(n),"handleSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target.value;n.props.handleChangeSearch(t)}}),n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.default.PureComponent),i(t,null,[{key:"getDerivedStateFromProps",value:function(e){var t=(0,d.getPossibleCategories)(e.icons);return null!==t&&(t=[e.allCatPlaceholder].concat(function(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}(t))),{categories:t,searchString:e.currentSearch}}}]),i(t,[{key:"render",value:function(){return u.default.createElement("div",{className:"rfipdropdown__selector"},this.props.showSearch?u.default.createElement(f.default,{handleSearch:this.handleSearch,value:this.state.searchString,placeholder:this.props.searchPlaceholder}):null,this.props.showCategory&&this.state.categories&&this.state.categories.length?u.default.createElement(c.default,{handleCategory:this.handleCategory,value:this.props.currentCategory,categories:this.state.categories}):null,u.default.createElement(p.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(m,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{isMulti:s.default.bool.isRequired,value:s.default.oneOfType([s.default.number,s.default.string,s.default.arrayOf(s.default.any)]).isRequired,currentCategory:s.default.number.isRequired,currentPage:s.default.number.isRequired,currentSearch:s.default.string.isRequired,icons:s.default.oneOfType([s.default.arrayOf(s.default.number),s.default.arrayOf(s.default.string),s.default.objectOf(s.default.oneOfType([s.default.arrayOf(s.default.number),s.default.arrayOf(s.default.string)]))]).isRequired,search:s.default.oneOfType([s.default.object,s.default.arrayOf(s.default.string)]),showCategory:s.default.bool.isRequired,showSearch:s.default.bool.isRequired,iconsPerPage:s.default.number.isRequired,allCatPlaceholder:s.default.string.isRequired,searchPlaceholder:s.default.string.isRequired,noIconPlaceholder:s.default.string.isRequired,renderIcon:s.default.func.isRequired,handleChangeValue:s.default.func.isRequired,handleChangeCategory:s.default.func.isRequired,handleChangePage:s.default.func.isRequired,handleChangeSearch:s.default.func.isRequired}}),Object.defineProperty(m,"defaultProps",{configurable:!0,enumerable:!0,writable:!0,value:{search:null}});var g=m;t.default=g},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function i(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function l(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(1)),c=a(n(0)),f=a(n(3)),p=function(e){function t(){var e,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return l(a,(n=a=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),Object.defineProperty(u(a),"handleClick",{configurable:!0,enumerable:!0,writable:!0,value:function(){a.props.onClick()}}),Object.defineProperty(u(a),"handleKeyDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){32!==e.keyCode&&13!==e.keyCode||a.props.onClick()}}),Object.defineProperty(u(a),"handleDelete",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){e.stopPropagation(),a.props.handleDeleteValue(t)}}),Object.defineProperty(u(a),"handleDeleteKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e,t){32!==e.keyCode&&13!==e.keyCode||a.props.handleDeleteValue(t)}}),Object.defineProperty(u(a),"renderEmptyIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(){return s.default.createElement("span",{className:"rfipbtn__icon--empty"},a.props.noSelectedPlaceholder)}}),n))}var n,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,s.default.PureComponent),n=t,(a=[{key:"renderIcon",value:function(e){var t=this;return""===e||null===e||void 0===e?this.renderEmptyIcon():s.default.createElement("span",{className:"rfipbtn__icon",key:e},s.default.createElement("span",{className:"rfipbtn__elm"},this.props.renderIcon(e)),s.default.createElement("span",{className:"rfipbtn__del",onClick:function(n){return t.handleDelete(n,e)},onKeyDown:function(n){return t.handleDeleteKeyboard(n,e)},tabIndex:0,role:"button"},"\xd7"))}},{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,f.default)("rfipbtn__button","rfipbtn__button--".concat(this.props.isOpen?"open":"close")),n=(0,f.default)(this.props.className);return s.default.createElement("div",o({className:n,ref:this.props.domRef},e),s.default.createElement("div",{className:"rfipbtn__current"},this.renderCurrentIcons()),s.default.createElement("div",{className:t},s.default.createElement("i",{className:"fipicon-angle-down",role:"presentation","aria-label":"Open"})))}}])&&i(n.prototype,a),t}();Object.defineProperty(p,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{className:c.default.string.isRequired,isOpen:c.default.bool.isRequired,onClick:c.default.func.isRequired,domRef:c.default.object.isRequired,isMulti:c.default.bool.isRequired,value:c.default.oneOfType([c.default.number,c.default.string,c.default.arrayOf(c.default.oneOfType([c.default.number,c.default.string]))]).isRequired,renderIcon:c.default.func.isRequired,handleDeleteValue:c.default.func.isRequired,noSelectedPlaceholder:c.default.string.isRequired}});var d=p;t.default=d},function(e,t){e.exports=r},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function u(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=a(n(1)),f=a(n(0)),p=a(n(3)),d=n(13),m=a(n(12)),g=a(n(11)),h=a(n(7)),b=n(2),v=[],y="",w=function(e){function t(e){var n,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),a=(t.__proto__||Object.getPrototypeOf(t)).call(this,e),n=!a||"object"!==r(a)&&"function"!=typeof a?s(this):a,Object.defineProperty(s(n),"handleOuterClick",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.target;n.isClickWithin(t)||n.closeDropdown()}}),Object.defineProperty(s(n),"handleEscapeKeyboard",{configurable:!0,enumerable:!0,writable:!0,value:function(e){27===e.keyCode&&n.closeDropdown()}}),Object.defineProperty(s(n),"isClickWithin",{configurable:!0,enumerable:!0,writable:!0,value:function(e){return n.fipButtonRef.current.contains(e)||n.fipDropDownRef.current&&n.fipDropDownRef.current.contains(e)}}),Object.defineProperty(s(n),"handleToggle",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.setState(function(e){return n.handleDropDown(!e.isOpen,!1)})}}),Object.defineProperty(s(n),"closeDropdown",{configurable:!0,enumerable:!0,writable:!0,value:function(){n.handleDropDown(!1)}}),Object.defineProperty(s(n),"handleDropDown",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r={isOpen:e};return r.elemClass=t.getDerivedClassName("rfip",n.props.theme,n.props.isMulti,e),r.btnClass=t.getDerivedClassName("rfipbtn",n.props.theme,n.props.isMulti,e),r.ddClass=t.getDerivedClassName("rfipdropdown",n.props.theme,n.props.isMulti,e),a&&n.setState(r),r}}),Object.defineProperty(s(n),"handleChangeValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t;n.props.isMulti?(t=o(n.state.value)).includes(e)?(t=t.filter(function(t){return t!==e})).length||(t=v):t.push(e):t=e===n.state.value?y:e,n.setState({value:t}),n.props.onChange(t)}}),Object.defineProperty(s(n),"handleDeleteValue",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var a;a=n.props.isMulti?n.state.value.filter(function(t){return t!==e}):t.getDerivedValue(a,n.props.isMulti),n.setState({value:a}),n.props.onChange(a)}}),Object.defineProperty(s(n),"handleChangePage",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentPage:e})}}),Object.defineProperty(s(n),"handleChangeCategory",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentCategory:e,currentPage:0})}}),Object.defineProperty(s(n),"handleChangeSearch",{configurable:!0,enumerable:!0,writable:!0,value:function(e){n.setState({currentSearch:e,currentPage:0})}}),Object.defineProperty(s(n),"resetPortalStyle",{configurable:!0,enumerable:!0,writable:!0,value:function(e){["maxHeight","paddingTop","paddingBottom"].forEach(function(t){e.style[t]=null})}}),Object.defineProperty(s(n),"handlePortalEnter",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t);var a=getComputedStyle(t);n.fipPortalComputedStyle={height:a.height,paddingTop:a.paddingTop,paddingBottom:a.paddingBottom},["maxHeight","paddingTop","paddingBottom"].forEach(function(e){t.style[e]="0px"})}}),Object.defineProperty(s(n),"handlePortalEntering",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight=n.fipPortalComputedStyle.height,t.style.paddingTop=n.fipPortalComputedStyle.paddingTop,t.style.paddingBottom=n.fipPortalComputedStyle.paddingBottom}}),Object.defineProperty(s(n),"handlePortalEntered",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t),n.props.showSearch&&void 0===window.orientation&&-1===navigator.userAgent.indexOf("IEMobile")&&t.querySelector(".rfipsearch__input").focus()}}),Object.defineProperty(s(n),"handlePortalExit",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];n.resetPortalStyle(t);var a=getComputedStyle(t).height;t.style.maxHeight=a}}),Object.defineProperty(s(n),"handlePortalExiting",{configurable:!0,enumerable:!0,writable:!0,value:function(e){var t=e.childNodes[0];t.style.maxHeight="0px",t.style.paddingTop="0px",t.style.paddingBottom="0px"}}),Object.defineProperty(s(n),"renderIcon",{configurable:!0,enumerable:!0,writable:!0,value:function(e){if("function"==typeof n.props.renderFunc)return n.props.renderFunc(e);if("class"===n.props.renderUsing)return c.default.createElement("i",{className:e});var t=i({},n.props.renderUsing,n.props.convertHex?(0,b.convertToHex)(e):e);return c.default.createElement("i",t)}}),n.fipButtonRef=c.default.createRef(),n.fipDropDownRef=c.default.createRef(),n.state={currentCategory:0,currentPage:0,isOpen:!1,currentSearch:""},n.fipPortalComputedStyle=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,c.default.PureComponent),u(t,null,[{key:"getDerivedStateFromProps",value:function(e,n){var a={};return a.elemClass=t.getDerivedClassName("rfip",e.theme,e.isMulti,n.isOpen),a.btnClass=t.getDerivedClassName("rfipbtn",e.theme,e.isMulti,n.isOpen),a.ddClass=t.getDerivedClassName("rfipdropdown",e.theme,e.isMulti,n.isOpen),a.value=t.getDerivedValue(e.value,e.isMulti),e.showCategory||(a.currentCategory=0,a.currentPage=0),e.showSearch||(a.currentSearch="",a.currentPage=0),a}},{key:"getDerivedClassName",value:function(e,t,n,a){return(0,p.default)(e,"".concat(e,"--").concat(t),i({},"".concat(e,"--multi"),n),"".concat(e,"--").concat(a?"open":"close"))}},{key:"getDerivedValue",value:function(e,t){var n=e;return t?n=Array.isArray(e)?o(e):v:"number"!=typeof e&&"string"!=typeof e&&(n=y),n}}]),u(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 c.default.createElement("div",{className:this.state.elemClass,ref:this.fipRef},c.default.createElement(m.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}),c.default.createElement(d.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},c.default.createElement(h.default,{appendRoot:this.props.appendTo,domRef:this.fipDropDownRef,btnRef:this.fipButtonRef,className:this.state.ddClass},c.default.createElement(g.default,e))))}}]),t}();Object.defineProperty(w,"propTypes",{configurable:!0,enumerable:!0,writable:!0,value:{icons:f.default.oneOfType([f.default.arrayOf(f.default.string),f.default.arrayOf(f.default.number),f.default.objectOf(f.default.oneOfType([f.default.arrayOf(f.default.number),f.default.arrayOf(f.default.string)]))]).isRequired,search:f.default.oneOfType([f.default.objectOf(f.default.arrayOf(f.default.string)),f.default.arrayOf(f.default.string)]),iconsPerPage:f.default.number,theme:f.default.string,onChange:f.default.func.isRequired,showCategory:f.default.bool,showSearch:f.default.bool,value:f.default.oneOfType([f.default.arrayOf(f.default.string),f.default.arrayOf(f.default.number),f.default.number,f.default.string]),isMulti:f.default.bool,renderUsing:f.default.string,convertHex:f.default.bool,renderFunc:f.default.func,appendTo:f.default.oneOfType([f.default.bool,f.default.string]),allCatPlaceholder:f.default.string,searchPlaceholder:f.default.string,noIconPlaceholder:f.default.string,noSelectedPlaceholder:f.default.string}}),Object.defineProperty(w,"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"}}),Object.defineProperty(w,"displayName",{configurable:!0,enumerable:!0,writable:!0,value:"FontIconPicker"});var _=w;t.default=_},function(e,t,n){"use strict";var a;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=((a=n(14))&&a.__esModule?a:{default:a}).default;t.default=r}]).default})},function(e,t,n){"use strict";function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,u=a(e),s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var c in n)o.call(n,c)&&(u[c]=n[c]);if(r){l=r(n);for(var f=0;f<l.length;f++)i.call(n,l[f])&&(u[l[f]]=n[l[f]])}}return u}},function(e,t,n){"use strict";function a(e){return function(){return e}}var r=function(){};r.thatReturns=a,r.thatReturnsFalse=a(!1),r.thatReturnsTrue=a(!0),r.thatReturnsNull=a(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){"use strict";(function(t){function a(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==t.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(e){console.error(e)}}}"production"===t.env.NODE_ENV?(a(),e.exports=n(217)):e.exports=n(220)}).call(t,n(1))},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}var r=n(109),o=n(110),i=n(111),l=n(112),u=n(113);a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=l,a.prototype.set=u,e.exports=a},function(e,t,n){function a(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}var r=n(28);e.exports=a},function(e,t,n){var a=n(4),r=a.Symbol;e.exports=r},function(e,t,n){var a=n(7),r=a(Object,"create");e.exports=r},function(e,t,n){function a(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}var r=n(133);e.exports=a},function(e,t,n){function a(e,t){return r(e)?e:o(e,t)?[e]:i(l(e))}var r=n(5),o=n(35),i=n(165),l=n(168);e.exports=a},function(e,t,n){function a(e){return"symbol"==typeof e||o(e)&&r(e)==i}var r=n(10),o=n(11),i="[object Symbol]";e.exports=a},function(e,t,n){"use strict";(function(t){function n(e,t,n,r,o,i,l,u){if(a(t),!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,l,u],f=0;s=new Error(t.replace(/%s/g,function(){return c[f++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}var a=function(e){};"production"!==t.env.NODE_ENV&&(a=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=n}).call(t,n(1))},function(e,t,n){"use strict";(function(t){var n={};"production"!==t.env.NODE_ENV&&Object.freeze(n),e.exports=n}).call(t,n(1))},function(e,t,n){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},o=n(2),i=a(o),l=n(17),u=a(l),s=t.getOnDemandLazySlides=function(e){for(var t=[],n=c(e),a=f(e),r=n;r<a;r++)e.lazyLoadedList.indexOf(r)<0&&t.push(r);return t},c=(t.getRequiredLazySlides=function(e){for(var t=[],n=c(e),a=f(e),r=n;r<a;r++)t.push(r);return t},t.lazyStartIndex=function(e){return e.currentSlide-p(e)}),f=t.lazyEndIndex=function(e){return e.currentSlide+d(e)},p=t.lazySlidesOnLeft=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0},d=t.lazySlidesOnRight=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow},m=t.getWidth=function(e){return e&&e.offsetWidth||0},g=t.getHeight=function(e){return e&&e.offsetHeight||0},h=t.getSwipeDirection=function(e){var t,n,a,r,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,a=Math.atan2(n,t),r=Math.round(180*a/Math.PI),r<0&&(r=360-Math.abs(r)),r<=45&&r>=0||r<=360&&r>=315?"left":r>=135&&r<=225?"right":!0===o?r>=35&&r<=135?"up":"down":"vertical"},b=t.canGoNext=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t},v=(t.extractObject=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n},t.initializedState=function(e){var t=i.default.Children.count(e.children),n=Math.ceil(m(u.default.findDOMNode(e.listRef))),a=Math.ceil(m(u.default.findDOMNode(e.trackRef))),r=void 0;if(e.vertical)r=n;else{var o=e.centerMode&&2*parseInt(e.centerPadding);"string"===typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(o*=n/100),r=Math.ceil((n-o)/e.slidesToShow)}var l=u.default.findDOMNode(e.listRef)&&g(u.default.findDOMNode(e.listRef).querySelector('[data-index="0"]')),c=l*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=t-1-e.initialSlide);var p=e.lazyLoadedList||[],d=s({currentSlide:f,lazyLoadedList:p},e);p.concat(d);var h={slideCount:t,slideWidth:r,listWidth:n,trackWidth:a,currentSlide:f,slideHeight:l,listHeight:c,lazyLoadedList:p};return null===e.autoplaying&&e.autoplay&&(h.autoplaying="playing"),h},t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,a=e.fade,o=e.infinite,i=e.index,l=e.slideCount,u=e.lazyLoadedList,c=e.lazyLoad,f=e.currentSlide,p=e.centerMode,d=e.slidesToScroll,m=e.slidesToShow,g=e.useCSS;if(t&&n)return{};var h=i,v=void 0,y=void 0,w=void 0,_={},C={};if(a){if(!o&&(i<0||i>=l))return{};i<0?h=i+l:i>=l&&(h=i-l),c&&u.indexOf(h)<0&&u.push(h),_={animating:!0,currentSlide:h,lazyLoadedList:u},C={animating:!1}}else v=h,h<0?(v=h+l,o?l%d!==0&&(v=l-l%d):v=0):!b(e)&&h>f?h=v=f:p&&h>=l?(h=o?l:l-1,v=o?0:l-1):h>=l&&(v=h-l,o?l%d!==0&&(v=0):v=l-m),y=x(r({},e,{slideIndex:h})),w=x(r({},e,{slideIndex:v})),o||(y===w&&(h=v),y=w),c&&u.concat(s(r({},e,{currentSlide:h}))),g?(_={animating:!0,currentSlide:v,trackStyle:E(r({},e,{left:y})),lazyLoadedList:u},C={animating:!1,currentSlide:v,trackStyle:k(r({},e,{left:w})),swipeLeft:null}):_={currentSlide:v,trackStyle:k(r({},e,{left:w})),lazyLoadedList:u};return{state:_,nextState:C}},t.changeSlide=function(e,t){var n,a,o,i,l,u=e.slidesToScroll,s=e.slidesToShow,c=e.slideCount,f=e.currentSlide,p=e.lazyLoad,d=e.infinite;if(i=c%u!==0,n=i?0:(c-f)%u,"previous"===t.message)o=0===n?u:s-n,l=f-o,p&&!d&&(a=f-o,l=-1===a?c-1:a);else if("next"===t.message)o=0===n?u:n,l=f+o,p&&!d&&(l=(f+u)%c+n);else if("dots"===t.message){if((l=t.index*t.slidesToScroll)===t.currentSlide)return null}else if("children"===t.message){if((l=t.index)===t.currentSlide)return null;if(d){var m=P(r({},e,{targetSlide:l}));l>t.currentSlide&&"left"===m?l-=c:l<t.currentSlide&&"right"===m&&(l+=c)}}else if("index"===t.message&&(l=Number(t.index))===t.currentSlide)return null;return l},t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""},t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&e.preventDefault(),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}},t.swipeMove=function(e,t){var n=t.scrolling,a=t.animating,o=t.vertical,i=t.swipeToSlide,l=t.verticalSwiping,u=t.rtl,s=t.currentSlide,c=t.edgeFriction,f=t.edgeDragged,p=t.onEdge,d=t.swiped,m=t.swiping,g=t.slideCount,v=t.slidesToScroll,y=t.infinite,w=t.touchObject,_=t.swipeEvent,E=t.listHeight,C=t.listWidth;if(!n){if(a)return e.preventDefault();o&&i&&l&&e.preventDefault();var S=void 0,T={},P=x(t);w.curX=e.touches?e.touches[0].pageX:e.clientX,w.curY=e.touches?e.touches[0].pageY:e.clientY,w.swipeLength=Math.round(Math.sqrt(Math.pow(w.curX-w.startX,2)));var O=Math.round(Math.sqrt(Math.pow(w.curY-w.startY,2)));if(!l&&!m&&O>10)return{scrolling:!0};l&&(w.swipeLength=O);var N=(u?-1:1)*(w.curX>w.startX?1:-1);l&&(N=w.curY>w.startY?1:-1);var R=Math.ceil(g/v),I=h(t.touchObject,l),M=w.swipeLength;return y||(0===s&&"right"===I||s+1>=R&&"left"===I||!b(t)&&"left"===I)&&(M=w.swipeLength*c,!1===f&&p&&(p(I),T.edgeDragged=!0)),(!d&&_&&(_(I),T.swiped=!0),S=o?P+M*(E/C)*N:u?P-M*N:P+M*N,l&&(S=P+M*N),T=r({},T,{touchObject:w,swipeLeft:S,trackStyle:k(r({},t,{left:S}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY))?T:(w.swipeLength>10&&(T.swiping=!0,e.preventDefault()),T)}},t.swipeEnd=function(e,t){var n=t.dragging,a=t.swipe,o=t.touchObject,i=t.listWidth,l=t.touchThreshold,u=t.verticalSwiping,s=t.listHeight,c=t.currentSlide,f=t.swipeToSlide,p=t.scrolling,d=t.onSwipe;if(!n)return a&&e.preventDefault(),{};var m=u?s/l:i/l,g=h(o,u),b={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(p)return b;if(!o.swipeLength)return b;if(o.swipeLength>m){e.preventDefault(),d&&d(g);var v=void 0,_=void 0;switch(g){case"left":case"up":_=c+w(t),v=f?y(t,_):_,b.currentDirection=0;break;case"right":case"down":_=c-w(t),v=f?y(t,_):_,b.currentDirection=1;break;default:v=c}b.triggerSlideHandler=v}else{var k=x(t);b.trackStyle=E(r({},t,{left:k}))}return b},t.getNavigableIndexes=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,a=e.infinite?-1*e.slidesToShow:0,r=[];n<t;)r.push(n),n=a+e.slidesToScroll,a+=Math.min(e.slidesToScroll,e.slidesToShow);return r}),y=t.checkNavigable=function(e,t){var n=v(e),a=0;if(t>n[n.length-1])t=n[n.length-1];else for(var r in n){if(t<n[r]){t=a;break}a=n[r]}return t},w=t.getSlideCount=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n=void 0,a=u.default.findDOMNode(e.listRef),r=a.querySelectorAll(".slick-slide");if(Array.from(r).every(function(a){if(e.vertical){if(a.offsetTop+g(a)/2>-1*e.swipeLeft)return n=a,!1}else if(a.offsetLeft-t+m(a)/2>-1*e.swipeLeft)return n=a,!1;return!0}),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1}return e.slidesToScroll},_=t.checkSpecKeys=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)},k=t.getTrackCSS=function(e){_(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t=void 0,n=void 0,a=e.slideCount+2*e.slidesToShow;e.vertical?n=a*e.slideHeight:t=T(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",u=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=r({},o,{WebkitTransform:i,transform:l,msTransform:u})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o},E=t.getTrackAnimateCSS=function(e){_(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=k(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t},x=t.getTrackLeft=function(e){if(e.unslick)return 0;_(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,a=e.slideIndex,r=e.trackRef,o=e.infinite,i=e.centerMode,l=e.slideCount,s=e.slidesToShow,c=e.slidesToScroll,f=e.slideWidth,p=e.listWidth,d=e.variableWidth,m=e.slideHeight,g=e.fade,h=e.vertical,b=0,v=0;if(g||1===e.slideCount)return 0;var y=0;if(o?(y=-C(e),l%c!==0&&a+c>l&&(y=-(a>l?s-(a-l):l%c)),i&&(y+=parseInt(s/2))):(l%c!==0&&a+c>l&&(y=s-l%c),i&&(y=parseInt(s/2))),b=y*f,v=y*m,t=h?a*m*-1+v:a*f*-1+b,!0===d){var w,k=u.default.findDOMNode(r);if(w=a+C(e),n=k&&k.childNodes[w],t=n?-1*n.offsetLeft:0,!0===i){w=o?a+C(e):a,n=k&&k.children[w],t=0;for(var E=0;E<w;E++)t-=k&&k.children[E]&&k.children[E].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(p-n.offsetWidth)/2}}return t},C=t.getPreClones=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)},S=t.getPostClones=function(e){return e.unslick||!e.infinite?0:e.slideCount},T=t.getTotalSlides=function(e){return 1===e.slideCount?1:C(e)+e.slideCount+S(e)},P=t.siblingDirection=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+O(e)?"left":"right":e.targetSlide<e.currentSlide-N(e)?"right":"left"},O=t.slidesOnRight=function(e){var t=e.slidesToShow,n=e.centerMode,a=e.rtl,r=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(r)>0&&(o+=1),a&&t%2===0&&(o+=1),o}return a?0:t-1},N=t.slidesOnLeft=function(e){var t=e.slidesToShow,n=e.centerMode,a=e.rtl,r=e.centerPadding;if(n){var o=(t-1)/2+1;return parseInt(r)>0&&(o+=1),a||t%2!==0||(o+=1),o}return a?t-1:0};t.canUseDOM=function(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}},function(e,t){function n(e,t){return e===t||e!==e&&t!==t}e.exports=n},function(e,t,n){var a=n(7),r=n(4),o=a(r,"Map");e.exports=o},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}var r=n(125),o=n(132),i=n(134),l=n(135),u=n(136);a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=l,a.prototype.set=u,e.exports=a},function(e,t){function n(e,t){var n=typeof e;return!!(t=null==t?a:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e<t}var a=9007199254740991,r=/^(?:0|[1-9]\d*)$/;e.exports=n},function(e,t){function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=a}var a=9007199254740991;e.exports=n},function(e,t,n){function a(e,t){t=r(t,e);for(var n=0,a=t.length;null!=e&&n<a;)e=e[o(t[n++])];return n&&n==a?e:void 0}var r=n(23),o=n(12);e.exports=a},function(e,t,n){function a(e,t){if(r(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!o(e))||(l.test(e)||!i.test(e)||null!=t&&e in Object(t))}var r=n(5),o=n(24),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,l=/^\w*$/;e.exports=a},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";(function(t){function a(e,n,a,l,u){if("production"!==t.env.NODE_ENV)for(var s in e)if(e.hasOwnProperty(s)){var c;try{if("function"!==typeof e[s]){var f=Error((l||"React class")+": "+a+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.");throw f.name="Invariant Violation",f}c=e[s](n,s,l,a,null,o)}catch(e){c=e}if(!c||c instanceof Error||r((l||"React class")+": type specification of "+a+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in i)){i[c.message]=!0;var p=u?u():"";r("Failed "+a+" type: "+c.message+(null!=p?p:""))}}}var r=function(){};if("production"!==t.env.NODE_ENV){var o=n(36),i={};r=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}}e.exports=a}).call(t,n(1))},function(e,t){function n(e,t){for(var n=-1,a=null==e?0:e.length,r=Array(a);++n<a;)r[n]=t(e[n],n,e);return r}e.exports=n},function(e,t,n){function a(e){var t=this.__data__=new r(e);this.size=t.size}var r=n(18),o=n(114),i=n(115),l=n(116),u=n(117),s=n(118);a.prototype.clear=o,a.prototype.delete=i,a.prototype.get=l,a.prototype.has=u,a.prototype.set=s,e.exports=a},function(e,t,n){function a(e){if(!o(e))return!1;var t=r(e);return t==l||t==u||t==i||t==s}var r=n(10),o=n(8),i="[object AsyncFunction]",l="[object Function]",u="[object GeneratorFunction]",s="[object Proxy]";e.exports=a},function(e,t,n){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,n(30))},function(e,t){function n(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var a=Function.prototype,r=a.toString;e.exports=n},function(e,t,n){function a(e,t,n,i,l){return e===t||(null==e||null==t||!o(e)&&!o(t)?e!==e&&t!==t:r(e,t,n,i,a,l))}var r=n(137),o=n(11);e.exports=a},function(e,t,n){function a(e,t,n,a,s,c){var f=n&l,p=e.length,d=t.length;if(p!=d&&!(f&&d>p))return!1;var m=c.get(e);if(m&&c.get(t))return m==t;var g=-1,h=!0,b=n&u?new r:void 0;for(c.set(e,t),c.set(t,e);++g<p;){var v=e[g],y=t[g];if(a)var w=f?a(y,v,g,t,e,c):a(v,y,g,e,t,c);if(void 0!==w){if(w)continue;h=!1;break}if(b){if(!o(t,function(e,t){if(!i(b,t)&&(v===e||s(v,e,n,a,c)))return b.push(t)})){h=!1;break}}else if(v!==y&&!s(v,y,n,a,c)){h=!1;break}}return c.delete(e),c.delete(t),h}var r=n(138),o=n(141),i=n(142),l=1,u=2;e.exports=a},function(e,t,n){function a(e,t,n){var a=t(e);return o(e)?a:r(a,n(e))}var r=n(46),o=n(5);e.exports=a},function(e,t){function n(e,t){for(var n=-1,a=t.length,r=e.length;++n<a;)e[r+n]=t[n];return e}e.exports=n},function(e,t,n){var a=n(149),r=n(48),o=Object.prototype,i=o.propertyIsEnumerable,l=Object.getOwnPropertySymbols,u=l?function(e){return null==e?[]:(e=Object(e),a(l(e),function(t){return i.call(e,t)}))}:r;e.exports=u},function(e,t){function n(){return[]}e.exports=n},function(e,t,n){function a(e){return i(e)?r(e):o(e)}var r=n(50),o=n(155),i=n(58);e.exports=a},function(e,t,n){function a(e,t){var n=i(e),a=!n&&o(e),c=!n&&!a&&l(e),p=!n&&!a&&!c&&s(e),d=n||a||c||p,m=d?r(e.length,String):[],g=m.length;for(var h in e)!t&&!f.call(e,h)||d&&("length"==h||c&&("offset"==h||"parent"==h)||p&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||u(h,g))||m.push(h);return m}var r=n(51),o=n(52),i=n(5),l=n(53),u=n(32),s=n(55),c=Object.prototype,f=c.hasOwnProperty;e.exports=a},function(e,t){function n(e,t){for(var n=-1,a=Array(e);++n<e;)a[n]=t(n);return a}e.exports=n},function(e,t,n){var a=n(150),r=n(11),o=Object.prototype,i=o.hasOwnProperty,l=o.propertyIsEnumerable,u=a(function(){return arguments}())?a:function(e){return r(e)&&i.call(e,"callee")&&!l.call(e,"callee")};e.exports=u},function(e,t,n){(function(e){var a=n(4),r=n(151),o="object"==typeof t&&t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,l=i&&i.exports===o,u=l?a.Buffer:void 0,s=u?u.isBuffer:void 0,c=s||r;e.exports=c}).call(t,n(54)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var a=n(152),r=n(153),o=n(154),i=o&&o.isTypedArray,l=i?r(i):a;e.exports=l},function(e,t){function n(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||a)}var a=Object.prototype;e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){function a(e){return null!=e&&o(e.length)&&!r(e)}var r=n(40),o=n(33);e.exports=a},function(e,t,n){function a(e){return e===e&&!r(e)}var r=n(8);e.exports=a},function(e,t){function n(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}e.exports=n},function(e,t){function n(e){return e}e.exports=n},function(e,t,n){"use strict";function a(e,t){var n=e.attributes,a=n.align,r=n.contentWidth,o=n.leftPadding,i=n.rightPadding,l=n.topPadding,u=n.bottomPadding,s=n.leftMargin,c=n.rightMargin,f=n.topMargin,p=n.bottomMargin,d=n.width,m=n.backgroundPosition,g=n.backgroundSize,h=n.backgroundAttachment,b=n.backgroundImage,v=n.backgroundColor,y=n.backgroundRepeat,w=n.backgroundType,_=n.gradientColor1,k=n.gradientColor2,E=n.gradientLocation1,x=n.gradientLocation2,C=n.gradientType,S=n.gradientAngle,T=n.borderStyle,P=n.borderWidth,O=n.borderRadius,N=n.borderColor,R={"padding-top":l+"px","padding-bottom":u+"px","padding-left":o+"px","padding-right":i+"px"};"right"==a?(R["margin-left"]="auto",R["margin-top"]=f+"px",R["margin-bottom"]=p+"px",R["margin-right"]=c+"px"):"left"==a?(R["margin-right"]="auto",R["margin-top"]=f+"px",R["margin-bottom"]=p+"px",R["margin-left"]=s+"px"):"center"==a&&(R["margin-right"]="auto",R["margin-left"]="auto",R["margin-top"]=f+"px",R["margin-bottom"]=p+"px"),"none"!=T&&(R["border-style"]=T,R["border-width"]=P+"px",R["border-radius"]=O+"px",R["border-color"]=N);var I=m.replace("-"," "),M="100%";return"boxed"==r&&""!=d&&(M=d+"px"),R["max-width"]=M,"color"===w?R["background-color"]=v:"image"===w?(R["background-image"]=b?"url("+b.url+")":null,R["background-position"]=I,R["background-attachment"]=h,R["background-repeat"]=y,R["background-size"]=g):"gradient"===w&&(R["background-color"]="transparent",R["background-image"]="linear"===C?"linear-gradient("+S+"deg, "+_+" "+E+"%, "+k+" "+x+"%)":"radial-gradient( at center center, "+_+" "+E+"%, "+k+" "+x+"%)"),R}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props;return"not_set"!==n?wp.element.createElement(l,{tagName:"span",value:t.prefixTitle,className:"uagb-ifb-title-prefix",onChange:function(e){return n({prefixTitle:e})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"span",value:t.prefixTitle,className:"uagb-ifb-title-prefix"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=wp.blocks.createBlock,s=wp.i18n.__,c=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props;return"not_set"!==n?wp.element.createElement(l,{tagName:t.headingTag,value:t.infoBoxTitle,className:"uagb-ifb-title",onChange:function(e){return n({infoBoxTitle:e})},multiline:!1,placeholder:s("Write a Heading"),onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:t.headingTag,value:t.infoBoxTitle,className:"uagb-ifb-title"})}}]),t}(React.Component);t.a=c},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props;return"not_set"!==n?wp.element.createElement(l,{tagName:"p",value:t.headingDesc,className:"uagb-ifb-desc",onChange:function(e){return n({headingDesc:e})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"p",value:t.headingDesc,className:"uagb-ifb-desc"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props.attributes;return wp.element.createElement("div",{className:"uagb-ifb-image-icon-content uagb-ifb-imgicon-wrap"},wp.element.createElement("div",{className:"uagb-ifb-icon-wrap"},wp.element.createElement("span",{className:"uagb-ifb-icon"},wp.element.createElement("span",{className:e.icon}))))}}]),t}(React.Component));t.a=l},function(e,t,n){"use strict";function a(e){var t="uagb-infobox-has-image";"icon"==e.source_type&&(t="uagb-infobox-has-icon");var n="";return n+="uagb-infobox ",n+=t+" ",n+="uagb-infobox-icon-"+e.iconimgPosition+" ","left"!==e.iconimgPosition&&"left-title"!==e.iconimgPosition||(n+="uagb-infobox-left "),"right"!==e.iconimgPosition&&"right-title"!==e.iconimgPosition||(n+="uagb-infobox-right "),"left"!==e.iconimgPosition&&"right"!==e.iconimgPosition||"none"===e.stack||(n+="uagb-infobox-stacked-"+e.stack+" ","right"===e.iconimgPosition&&(n+="uagb-infobox-reverse-order-"+e.stack+" ")),"above-title"===e.iconimgPosition&&"below-title"===e.iconimgPosition||(n+="uagb-infobox-image-valign-"+e.sourceAlign+" "),e.enableBorder&&(n+="uagb-infobox-enable-border "),n+="uagb-infobox-enable-border-radius ",[n]}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){this.props.attributes;return wp.element.createElement("div",{className:"uagb-ifb-separator-parent"},wp.element.createElement("div",{className:"uagb-ifb-separator"}))}}]),t}(React.Component);t.a=l},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props.attributes,t="_self",n="noopener noreferrer";return e.ctaTarget&&(t="_blank"),wp.element.createElement("div",{className:"uagb-ifb-cta uagb-infobox-cta-link-style"},"text"===e.ctaType&&wp.element.createElement("a",{href:e.ctaLink,target:t,className:"uagb-infobox-cta-link",rel:n},wp.element.createElement("span",{className:"uagb-inline-editing"},e.ctaText)),"button"===e.ctaType&&wp.element.createElement("div",{className:"uagb-ifb-button-wrapper"},wp.element.createElement("a",{href:e.ctaLink,className:"uagb-infobox-cta-link uagb-ifb-cta-button",target:t,rel:n},wp.element.createElement("span",{className:"uagb-ifb-cta-content-wrapper"},wp.element.createElement("span",{className:"uagb-inline-editing "},e.ctaText)))))}}]),t}(React.Component));t.a=l},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.headingAlign,a=t.headingColor,r=t.subHeadingColor,o=t.prefixColor,i=t.prefixFontSize,l=t.headFontSize,u=t.subHeadFontSize,s=(t.separatorWidth,t.separatorHeight,t.headSpace),c=(t.separatorSpace,t.subHeadSpace),f=(t.icon,t.iconColor),p=t.iconSize,d=t.iconimgPosition,m=t.block_id,g=t.iconHover,h=t.iconimgBorderRadius,b=t.seperatorStyle,v=t.seperatorWidth,y=t.seperatorColor,w=t.seperatorThickness,_=t.seperatorSpace,k=t.ctaLinkColor,E=t.ctaFontSize,x=(t.ctaBtnSize,t.ctaBtnLinkColor),C=t.ctaBgColor,S=t.ctaBtnVertPadding,T=t.ctaBtnHrPadding,P=t.ctaBorderStyle,O=t.ctaBorderColor,N=t.ctaBorderWidth,R=t.ctaBorderRadius,I=t.prefixSpace,M=t.iconLeftMargin,j=t.iconRightMargin,A=t.iconTopMargin,z=t.iconBottomMargin,D=(t.imageSize,t.imageWidth);if(e.clientId)var L="uagb-infobox-"+e.clientId;else var L="uagb-infobox-"+m;var F={};F[".uagb-ifb-icon"]={height:p+"px",width:p+"px","line-height":p+"px"},F[".uagb-ifb-icon > span"]={"font-size":p+"px",height:p+"px",color:f,width:p+"px","line-height":p+"px"},F[".uagb-ifb-icon:hover > span"]={color:g},F[".uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap"]={"margin-left":M+"px","margin-right":j+"px","margin-top":A+"px","margin-bottom":z+"px"},F[".uagb-ifb-image-content img"]={width:D+"px","max-width":D+"px"},F[".uagb-infobox .uagb-ifb-image-content img"]={"border-radius":h+"px"},"above-title"!=d&&"below-title"!=d||(F[".uagb-infobox__content-wrap"]={"text-align":n}),F[".uagb-infobox-cta-link a"]={"font-size":E+"px",color:k},F[".uagb-infobox-cta-link span"]={"font-size":E+"px",color:k},F[".uagb-ifb-button-wrapper .uagb-infobox-cta-link span"]={"font-size":E+"px",color:x},F[".uagb-ifb-button-wrapper .uagb-infobox-cta-link"]={"font-size":E+"px",color:x,"background-color":C,"border-style":P,"border-color":O,"border-radius":R+"px","border-width":N+"px","padding-top":S+"px","padding-bottom":S+"px","padding-left":T+"px","padding-right":T+"px"},F[".editor-rich-text .uagb-ifb-title-prefix"]={"font-size":i+"px",color:o,"margin-bottom":I+"px"},F[".editor-rich-text .uagb-ifb-title"]={"font-size":l+"px",color:a,"margin-bottom":s+"px"},F[".editor-rich-text .uagb-ifb-desc"]={"font-size":u+"px",color:r,"margin-bottom":c+"px"},F[".uagb-ifb-separator"]={width:v+"%","border-top-width":w+"px","border-top-color":y,"border-top-style":b},F[".uagb-ifb-separator-parent"]={"margin-bottom":_+"px"},F[".uagb-ifb-content"]={padding:"undefined"!=typeof blockPadding?blockPadding+"px":"inherit"};var B="";for(var U in F){B+=" .block-editor-page #wpwrap #"+L+" "+U+" { ";var W=F[U],H="";for(var V in W)H+=V+": "+W[V]+";";B+=H+" } "}return B}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props.attributes,t="";"undefined"!==typeof e.iconImage&&null!==e.iconImage&&""!==e.iconImage&&(t=e.iconImage.url);var n="";if(""!==t){var a=e.iconImage.sizes,r=e.imageSize;return n="undefined"!==typeof a&&"undefined"!==typeof a[r]?a[r].url:t,wp.element.createElement("div",{className:"uagb-ifb-image-icon-content uagb-ifb-imgicon-wrap"},wp.element.createElement("div",{className:"uagb-ifb-image"},wp.element.createElement("div",{className:"uagb-ifb-image-content"},wp.element.createElement("img",{className:"",src:n,alt:e.iconImage.alt}))))}return null}}]),t}(React.Component));t.a=l},function(e,t,n){"use strict";(function(t){var a=n(16),r=a;if("production"!==t.env.NODE_ENV){var o=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=0,o="Warning: "+e.replace(/%s/g,function(){return n[r++]});"undefined"!==typeof console&&console.error(o);try{throw new Error(o)}catch(e){}};r=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];o.apply(void 0,[t].concat(a))}}}e.exports=r}).call(t,n(1))},function(e,t,n){"use strict";var a=!("undefined"===typeof window||!window.document||!window.document.createElement),r={canUseDOM:a,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:a&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:a&&!!window.screen,isInWorker:!a};e.exports=r},function(e,t,n){"use strict";function a(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=a},function(e,t,n){"use strict";function a(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(a(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!o.call(t,n[i])||!a(e[n[i]],t[n[i]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=r},function(e,t,n){"use strict";function a(e,t){return!(!e||!t)&&(e===t||!r(e)&&(r(t)?a(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var r=n(218);e.exports=a},function(e,t,n){"use strict";(function(e){function a(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function i(){}t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var a=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};a.get||a.set?Object.defineProperty(t,n,a):t[n]=e[n]}return t.default=e,t}(n(9)),u=a(n(2)),s=a(n(17)),c=n(78),f=n(79),p="unmounted";t.UNMOUNTED=p;var d="exited";t.EXITED=d;var m="entering";t.ENTERING=m;var g="entered";t.ENTERED=g;t.EXITING="exiting";var h=function(e){function t(t,n){var a;a=e.call(this,t,n)||this;var r,o=n.transitionGroup,i=o&&!o.isMounting?t.enter:t.appear;return a.appearStatus=null,t.in?i?(r=d,a.appearStatus=m):r=g:r=t.unmountOnExit||t.mountOnEnter?p:d,a.state={status:r},a.nextCallback=null,a}o(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:null}},t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:d}:null},n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==m&&n!==g&&(t=m):n!==m&&n!==g||(t="exiting")}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,a=this.props.timeout;return e=t=n=a,null!=a&&"number"!==typeof a&&(e=a.exit,t=a.enter,n=a.appear),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=s.default.findDOMNode(this);t===m?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:p})},n.performEnter=function(e,t){var n=this,a=this.props.enter,r=this.context.transitionGroup?this.context.transitionGroup.isMounting:t,o=this.getTimeouts();if(!t&&!a)return void this.safeSetState({status:g},function(){n.props.onEntered(e)});this.props.onEnter(e,r),this.safeSetState({status:m},function(){n.props.onEntering(e,r),n.onTransitionEnd(e,o.enter,function(){n.safeSetState({status:g},function(){n.props.onEntered(e,r)})})})},n.performExit=function(e){var t=this,n=this.props.exit,a=this.getTimeouts();if(!n)return void this.safeSetState({status:d},function(){t.props.onExited(e)});this.props.onExit(e),this.safeSetState({status:"exiting"},function(){t.props.onExiting(e),t.onTransitionEnd(e,a.exit,function(){t.safeSetState({status:d},function(){t.props.onExited(e)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(a){n&&(n=!1,t.nextCallback=null,e(a))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n),e?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,a=r(t,["children"]);if(delete a.in,delete a.mountOnEnter,delete a.unmountOnExit,delete a.appear,delete a.enter,delete a.exit,delete a.timeout,delete a.addEndListener,delete a.onEnter,delete a.onEntering,delete a.onEntered,delete a.onExit,delete a.onExiting,delete a.onExited,"function"===typeof n)return n(e,a);var o=u.default.Children.only(n);return u.default.cloneElement(o,a)},t}(u.default.Component);h.contextTypes={transitionGroup:l.object},h.childContextTypes={transitionGroup:function(){}},h.propTypes="production"!==e.env.NODE_ENV?{children:l.oneOfType([l.func.isRequired,l.element.isRequired]).isRequired,in:l.bool,mountOnEnter:l.bool,unmountOnExit:l.bool,appear:l.bool,enter:l.bool,exit:l.bool,timeout:function(t){var n="production"!==e.env.NODE_ENV?f.timeoutsShape:{};t.addEndListener||(n=n.isRequired);for(var a=arguments.length,r=new Array(a>1?a-1:0),o=1;o<a;o++)r[o-1]=arguments[o];return n.apply(void 0,[t].concat(r))},addEndListener:l.func,onEnter:l.func,onEntering:l.func,onEntered:l.func,onExit:l.func,onExiting:l.func,onExited:l.func}:{},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:i,onEntering:i,onEntered:i,onExit:i,onExiting:i,onExited:i},h.UNMOUNTED=0,h.EXITED=1,h.ENTERING=2,h.ENTERED=3,h.EXITING=4;var b=(0,c.polyfill)(h);t.default=b}).call(t,n(1))},function(e,t,n){"use strict";function a(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!==e&&void 0!==e&&this.setState(e)}function r(e){function t(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!==n&&void 0!==n?n:null}this.setState(t.bind(this))}function o(e,t){try{var n=this.props,a=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,a)}finally{this.props=n,this.state=a}}function i(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!==typeof e.getDerivedStateFromProps&&"function"!==typeof t.getSnapshotBeforeUpdate)return e;var n=null,i=null,l=null;if("function"===typeof t.componentWillMount?n="componentWillMount":"function"===typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"===typeof t.componentWillReceiveProps?i="componentWillReceiveProps":"function"===typeof t.UNSAFE_componentWillReceiveProps&&(i="UNSAFE_componentWillReceiveProps"),"function"===typeof t.componentWillUpdate?l="componentWillUpdate":"function"===typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==i||null!==l){var u=e.displayName||e.name,s="function"===typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+u+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==i?"\n "+i:"")+(null!==l?"\n "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"===typeof e.getDerivedStateFromProps&&(t.componentWillMount=a,t.componentWillReceiveProps=r),"function"===typeof t.getSnapshotBeforeUpdate){if("function"!==typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=o;var c=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var a=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;c.call(this,e,t,a)}}return e}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"polyfill",function(){return i}),a.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0},function(e,t,n){"use strict";function a(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!==typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}}t.__esModule=!0,t.transitionTimeout=a,t.classNamesShape=t.timeoutsShape=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(9)),o=r.default.oneOfType([r.default.number,r.default.shape({enter:r.default.number,exit:r.default.number}).isRequired]);t.timeoutsShape=o;var i=r.default.oneOfType([r.default.string,r.default.shape({enter:r.default.string,exit:r.default.string,active:r.default.string}),r.default.shape({enter:r.default.string,enterDone:r.default.string,enterActive:r.default.string,exit:r.default.string,exitDone:r.default.string,exitActive:r.default.string})]);t.classNamesShape=i},function(e,t,n){"use strict";(function(a){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}function i(){return i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},i.apply(this,arguments)}function l(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}t.__esModule=!0,t.default=void 0;var s=r(n(9)),c=r(n(2)),f=n(78),p=n(231),d=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},m="production"!==a.env.NODE_ENV?{component:s.default.any,children:s.default.node,appear:s.default.bool,enter:s.default.bool,exit:s.default.bool,childFactory:s.default.func}:{},g={component:"div",childFactory:function(e){return e}},h=function(e){function t(t,n){var a;a=e.call(this,t,n)||this;var r=a.handleExited.bind(u(u(a)));return a.state={handleExited:r,firstRender:!0},a}l(t,e);var n=t.prototype;return n.getChildContext=function(){return{transitionGroup:{isMounting:!this.appeared}}},n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){var n=t.children,a=t.handleExited;return{children:t.firstRender?(0,p.getInitialChildMapping)(e,a):(0,p.getNextChildMapping)(e,n,a),firstRender:!1}},n.handleExited=function(e,t){var n=(0,p.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.setState(function(t){var n=i({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,a=o(e,["component","childFactory"]),r=d(this.state.children).map(n);return delete a.appear,delete a.enter,delete a.exit,null===t?r:c.default.createElement(t,a,r)},t}(c.default.Component);h.childContextTypes={transitionGroup:s.default.object.isRequired},h.propTypes="production"!==a.env.NODE_ENV?m:{},h.defaultProps=g;var b=(0,f.polyfill)(h);t.default=b,e.exports=t.default}).call(t,n(1))},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props,r=e.index_value,o=t.test_block[r],i="";return o&&"undefined"!==typeof o&&(i=o.name),"not_set"!==n?wp.element.createElement(l,{tagName:"span",value:i,className:"uagb-tm__author-name",onChange:function(e){var a=t.test_block.map(function(t,n){return n===r&&(t.name=e),t});n({test_block:a})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"span",value:i,className:"uagb-tm__author-name"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=wp.blocks.createBlock,s=wp.i18n.__,c=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props,r=e.index_value,o=t.test_block[r],i="";return o&&"undefined"!==typeof o&&(i=o.company),"not_set"!==n?wp.element.createElement(l,{tagName:"span",value:i,className:"uagb-tm__company",onChange:function(e){var a=t.test_block.map(function(t,n){return n===r&&(t.company=e),t});n({test_block:a})},multiline:!1,placeholder:s("Write a Heading"),onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"span",value:i,className:"uagb-tm__company"})}}]),t}(React.Component);t.a=c},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props,r=e.index_value,o=t.test_block[r],i="";return o&&"undefined"!==typeof o&&(i=o.description),"not_set"!==n?wp.element.createElement(l,{tagName:"div",value:i,className:"uagb-tm__desc",onChange:function(e){var a=t.test_block.map(function(t,n){return n===r&&(t.description=e),t});n({test_block:a})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"div",value:i,className:"uagb-tm__desc"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e){var t="";return t+=" uagb-tm__imgicon-style-"+e.iconimgStyle+" ",t+="uagb-tm__image-position-"+e.imagePosition+" ","left"!=e.imagePosition&&"right"!=e.imagePosition||(t+="uagb-tm__image-aligned-"+e.imageAlignment+" ","none"!==e.stack&&(t+="uagb-tm-stacked-"+e.stack+" ","right"===e.imagePosition&&(t+="uagb-tm-reverse-order-"+e.stack+" "))),t+="uagb-tm__bg-type-"+e.backgroundType+" ",[t]}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.index_value,a="",r=t.test_block[n];if(r&&"undefined"!==typeof r){var o=r.image,i="";if("undefined"!==typeof o&&null!==o&&""!==o&&(a=o.url),""!==a){var l=o.sizes,u=t.imageSize;return i="undefined"!==typeof l&&"undefined"!==typeof l[u]?l[u].url:a,wp.element.createElement("div",{className:"uagb-tm__image-content",key:"tm_img-wrap-"+n},wp.element.createElement("div",{className:"uagb-tm__image",key:"tm_img-"+n},wp.element.createElement("img",{className:"",src:i,alt:o.alt})))}return null}return null}}]),t}(React.Component));t.a=l},function(e,t){function n(e,t){var n=0,a=e.length;for(n;n<a&&!1!==t(e[n],n);n++);}function a(e){return"[object Array]"===Object.prototype.toString.apply(e)}function r(e){return"function"===typeof e}e.exports={isFunction:r,isArray:a,each:n}},function(e,t,n){"use strict";var a={facebook:"https://www.facebook.com/sharer.php?u=",twitter:"https://twitter.com/share?url=",google:"https://plus.google.com/share?url=",pinterest:"https://pinterest.com/pin/create/link/?url=",linkedin:"https://www.linkedin.com/shareArticle?url=",digg:"http://digg.com/submit?url=",blogger:"https://www.blogger.com/blog_this.pyra?t&amp;u=",reddit:"https://reddit.com/submit?url=",stumbleupon:"https://www.stumbleupon.com/submit?url=",tumblr:"https://www.tumblr.com/widgets/share/tool?canonicalUrl=",myspace:"https://myspace.com/post?u=",email:"mailto:?body="};t.a=a},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.dateBottomspace,a=t.backgroundColor,r=t.separatorColor,o=t.separatorFillColor,i=t.separatorBg,l=t.separatorBorder,u=t.borderFocus,s=t.verticalSpace,c=t.horizontalSpace,f=t.separatorwidth,p=t.borderwidth,d=t.connectorBgsize,m=t.borderRadius,g=t.bgPadding,h=(t.width,t.readMoreText,t.icon,t.iconColor),b=t.dateFontsize,v=t.dateColor,y=t.iconSize,w=t.iconFocus,_=t.iconBgFocus,k=t.block_id,E=t.iconHover,x=t.iconBgHover,C=t.borderHover,S=t.headFontSize,T=t.align,P=t.headingColor,O=t.headSpace,N=t.subHeadFontSize,R=t.subHeadingColor;if(e.clientId)var I=e.clientId;else var I=k;var M={};M[".uagb-timeline__heading"]={"font-size":S+"px","text-align":T,color:P},M[".uagb-timeline__heading-text"]={"margin-bottom":O+"px"},M[".uagb-timeline-desc-content"]={"font-size":N+"px","text-align":T,color:R},M[".uagb-timeline__events-new"]={"text-align":T},M[".uagb-timeline__date-inner"]={"text-align":T},M[".uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after"]={"border-left-color":a},M[".uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after"]={"border-left-color":a},M[".uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after"]={"border-right-color":a},M[".uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after"]={"border-right-color":a},M[".uagb-timeline__line__inner"]={"background-color":o},M[".uagb-timeline__line"]={"background-color":r,width:f+"px"},M[".uagb-timeline__right-block .uagb-timeline__line"]={right:"calc( "+d+"px / 2 )"},M[".uagb-timeline__left-block .uagb-timeline__line"]={left:"calc( "+d+"px / 2 )"},M[".uagb-timeline__center-block .uagb-timeline__line"]={right:"calc( "+d+"px / 2 )"},M[".uagb-timeline__marker"]={"background-color":i,"min-height":d+"px","min-width":d+"px","line-height":d+"px",border:p+"px solid"+l},M[".uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow"]={height:d+"px"},M[".uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow"]={height:d+"px"},M[".uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow"]={height:d+"px"},M[".uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow"]={height:d+"px"},M[".uagb-timeline__center-block .uagb-timeline__marker"]={"margin-left":c+"px","margin-right":c+"px"},M[".uagb-timeline__field:not(:last-child)"]={"margin-bottom":s+"px"},M[".uagb-timeline__date-hide.uagb-timeline__date-inner"]={"margin-bottom":n+"px",color:v,"font-size":b+"px","text-align":T},M[".uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left"]={"margin-left":c+"px"},M[".uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right"]={"margin-right":c+"px"},M[".uagb-timeline__date-new"]={color:v,"font-size":b+"px"},M[".uagb-timeline__events-inner-new"]={"background-color":a,"border-radius":m+"px",padding:g+"px"},M[".uagb-timeline__main .uagb-timeline__icon-new"]={color:h,"font-size":y+"px"},M[".uagb-timeline__field.uagb-timeline__animate-border:hover .uagb-timeline__marker"]={background:x,"border-color":C},M[".uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon"]={background:_,"border-color":u},M[".uagb-timeline__field.uagb-timeline__animate-border:hover .uagb-timeline__icon-new"]={color:E},M[".uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new"]={color:w};var j={};j[".uagb-timeline__center-block .uagb-timeline__marker"]={"margin-left":"0px","margin-right":"0px"},j[".uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left"]={"margin-left":c+"px"},j[".uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right"]={"margin-left":c+"px"};var A="";for(var z in M){A+=".block-editor-page #wpwrap #uagb-ctm-"+I+" "+z+" { ";var D=M[z],L="";for(var F in D)L+=F+": "+D[F]+";";A+=L+" } "}A+="@media(max-width:768px){";for(var z in j){A+=".block-editor-page #wpwrap #uagb-ctm-"+I+" "+z+" { ";var D=j[z],L="";for(var F in D)L+=F+": "+D[F]+";";A+=L+" } "}return A+="}"}t.a=a},function(e,t,n){"use strict";function a(e){var t="uagb-timeline__arrow-top ";"center"==e.arrowlinAlignment?t="uagb-timeline__arrow-center ":"bottom"==e.arrowlinAlignment&&(t="uagb-timeline__arrow-bottom ");var n="uagb-timeline__center-block ";return"left"==e.timelinAlignment?n="uagb-timeline__left-block ":"right"==e.timelinAlignment&&(n="uagb-timeline__right-block "),n+=t+"",n+="uagb-timeline__responsive-"+e.stack+" uagb-timeline",[n]}t.a=a},function(e,t,n){"use strict";function a(e,t){var n="";return"left"==e.timelinAlignment?n="uagb-timeline__widget uagb-timeline__left":"right"==e.timelinAlignment?n="uagb-timeline__widget uagb-timeline__right":"center"==e.timelinAlignment&&(n=t%2=="0"?"uagb-timeline__widget uagb-timeline__right":"uagb-timeline__widget uagb-timeline__left"),[n]}t.a=a},function(e,t,n){"use strict";function a(e,t){var n="";return"left"==e.timelinAlignment?n="uagb-timeline__day-new uagb-timeline__day-left":"right"==e.timelinAlignment?n="uagb-timeline__day-new uagb-timeline__day-right":"center"==e.timelinAlignment&&(n=t%2=="0"?"uagb-timeline__day-new uagb-timeline__day-right":"uagb-timeline__day-new uagb-timeline__day-left"),[n]}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props,r=e.index_value,o=t.rest_menu_item_arr[r],i="";return o&&"undefined"!==typeof o&&(i=o.title),"not_set"!==n?wp.element.createElement(l,{tagName:t.headingTag,value:i,className:"uagb-rm__title",onChange:function(e){var a=t.rest_menu_item_arr.map(function(t,n){return n===r&&(t.title=e),t});n({rest_menu_item_arr:a})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:t.headingTag,value:i,className:"uagb-rm__title"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=wp.blocks.createBlock,s=wp.i18n.__,c=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props,r=e.index_value,o=t.rest_menu_item_arr[r],i="";return o&&"undefined"!==typeof o&&(i=o.price),"not_set"!==n?wp.element.createElement(l,{tagName:"span",value:i,className:"uagb-rm__price",onChange:function(e){var a=t.rest_menu_item_arr.map(function(t,n){return n===r&&(t.price=e),t});n({rest_menu_item_arr:a})},multiline:!1,placeholder:s("Write a Heading"),onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"span",value:i,className:"uagb-rm__price"})}}]),t}(React.Component);t.a=c},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.editor.RichText,u=(wp.i18n.__,wp.blocks.createBlock),s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=e.props,r=e.index_value,o=t.rest_menu_item_arr[r],i="";return o&&"undefined"!==typeof o&&(i=o.description),"not_set"!==n?wp.element.createElement(l,{tagName:"div",value:i,className:"uagb-rm__desc",onChange:function(e){var a=t.rest_menu_item_arr.map(function(t,n){return n===r&&(t.description=e),t});n({rest_menu_item_arr:a})},onMerge:a.mergeBlocks,unstableOnSplit:a.insertBlocksAfter?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a.insertBlocksAfter([].concat(o,[u("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return a.onReplace([])}}):wp.element.createElement(l.Content,{tagName:"div",value:i,className:"uagb-rm__desc"})}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e){var t="",n=0;return e.rest_menu_item_arr.map(function(t,a){var r=e.rest_menu_item_arr[a];if(r&&"undefined"!==typeof r){var o=r.image;"undefined"!==typeof o&&null!==o&&""!==o&&n++}}),n>0&&(t+="uagb-rm__image-position-"+e.imagePosition+" "),t+=" uagb-rm__align-"+e.headingAlign+" ","left"!=e.imagePosition&&"right"!=e.imagePosition||(t+="uagb-rm__image-aligned-"+e.imageAlignment+" ","none"!==e.stack&&(t+="uagb-rm-stacked-"+e.stack+" ","right"===e.imagePosition&&(t+="uagb-rm-reverse-order-"+e.stack+" "))),t+="uagb-rm__desk-column-"+e.columns+" ",t+="uagb-rm__tablet-column-"+e.tcolumns+" ",t+="uagb-rm__mobile-column-"+e.mcolumns+" ",[t]}t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=(wp.editor.RichText,wp.i18n.__,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.index_value,a="",r=t.rest_menu_item_arr[n];if(r&&"undefined"!==typeof r){var o=r.image,i="";if("undefined"!==typeof o&&null!==o&&""!==o&&(a=o.url),""!==a){var l=o.sizes,u=t.imageSize;return i="undefined"!==typeof l&&"undefined"!==typeof l[u]?l[u].url:a,wp.element.createElement("div",{className:"uagb-rm__image-content",key:"rm_img-wrap-"+n},wp.element.createElement("div",{className:"uagb-rm__image",key:"rm_img-"+n},wp.element.createElement("img",{className:"",src:i,alt:o.alt})))}return null}return null}}]),t}(React.Component));t.a=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(98),n(101),n(195),n(201),n(211),n(235),n(257),n(263),n(269),n(271),n(275),n(281)},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=(n.n(i),n(99)),u=n(3),s=n(100),c=(n.n(s),function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}()),f=wp.i18n.__,p=wp.blocks,d=p.registerBlockType,m=p.createBlock,g=wp.editor,h=g.AlignmentToolbar,b=g.BlockControls,v=g.InspectorControls,y=g.RichText,w=g.PanelColorSettings,_=wp.components,k=_.PanelBody,E=_.SelectControl,x=_.RangeControl,C=wp.element,S=C.Component,T=C.Fragment,P=function(e){function t(){a(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.splitBlock=e.splitBlock.bind(e),e}return o(t,e),c(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-adv-heading-style-"+this.props.clientId),document.head.appendChild(e)}},{key:"splitBlock",value:function(e,t){for(var n=this.props,a=n.attributes,r=n.insertBlocksAfter,o=n.setAttributes,i=n.onReplace,l=arguments.length,u=Array(l>2?l-2:0),s=2;s<l;s++)u[s-2]=arguments[s];t&&u.push(m("core/paragraph",{content:t})),u.length&&r&&r(u);var c=a.content;e?c!==e&&o({content:e}):i([])}},{key:"render",value:function(){var e=this.props,t=(e.isSelected,e.className),n=e.setAttributes,a=e.insertBlocksAfter,r=e.mergeBlocks,o=e.onReplace,i=e.attributes,u=i.headingTitle,s=i.headingDesc,c=i.headingAlign,p=i.headingColor,d=i.subHeadingColor,g=i.separatorColor,_=i.headingTag,C=i.headFontSize,S=i.subHeadFontSize,P=i.separatorWidth,O=i.separatorHeight,N=i.headSpace,R=i.separatorSpace,I=i.subHeadSpace,M=document.getElementById("uagb-adv-heading-style-"+this.props.clientId);return null!=M&&"undefined"!=typeof M&&(M.innerHTML=Object(l.a)(this.props)),wp.element.createElement(T,null,wp.element.createElement(b,{key:"controls"},wp.element.createElement(h,{value:c,onChange:function(e){return n({headingAlign:e})}})),wp.element.createElement(v,null,wp.element.createElement(k,{title:f("Typography")},wp.element.createElement(E,{label:f("Tag"),value:_,onChange:function(e){return n({headingTag:e})},options:[{value:"h1",label:f("H1")},{value:"h2",label:f("H2")},{value:"h3",label:f("H3")},{value:"h4",label:f("H4")},{value:"h5",label:f("H5")},{value:"h6",label:f("H6")}]}),wp.element.createElement(x,{label:f("Heading Font Size"),value:C,onChange:function(e){return n({headFontSize:e})},min:10,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:30}),wp.element.createElement(x,{label:f("Sub-Heading Font Size"),value:S,onChange:function(e){return n({subHeadFontSize:e})},min:10,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:10})),wp.element.createElement(w,{title:f("Color Settings"),initialOpen:!0,colorSettings:[{value:p,onChange:function(e){return n({headingColor:e})},label:f("Heading Color")},{value:d,onChange:function(e){return n({subHeadingColor:e})},label:f("Sub-Heading Color")},{value:g,onChange:function(e){return n({separatorColor:e})},label:f("Separator Color")}]}),wp.element.createElement(k,{title:f("Additional Options"),initialOpen:!1},wp.element.createElement(x,{label:f("Separator Height"),value:O,onChange:function(e){return n({separatorHeight:e})},min:0,max:20,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:3}),wp.element.createElement(x,{label:f("Separator Width"),value:P,onChange:function(e){return n({separatorWidth:e})},min:0,max:100,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:20}),wp.element.createElement(x,{label:f("Heading Spacing"),value:N,onChange:function(e){return n({headSpace:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:0}),wp.element.createElement(x,{label:f("Separator Spacing"),value:R,onChange:function(e){return n({separatorSpace:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:0}),wp.element.createElement(x,{label:f("Sub-Heading Spacing"),value:I,onChange:function(e){return n({subHeadSpace:e})},min:0,max:50,beforeIcon:"editor-textcolor",allowReset:!0,initialPosition:0}))),wp.element.createElement("div",{className:t,id:"uagb-adv-heading-"+this.props.clientId},wp.element.createElement(y,{tagName:_,placeholder:f("Write a Heading"),value:u,className:"uagb-heading-text",multiline:!1,onChange:function(e){return n({headingTitle:e})},onMerge:r,unstableOnSplit:a?function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];n({content:e}),a([].concat(o,[m("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return o([])}}),wp.element.createElement("div",{className:"uagb-separator-wrap"},wp.element.createElement("div",{className:"uagb-separator"})),wp.element.createElement(y,{tagName:"p",placeholder:f("Write a Description"),value:s,className:"uagb-desc-text",onChange:function(e){return n({headingDesc:e})},onMerge:r,unstableOnSplit:this.splitBlock,onRemove:function(){return o([])}})))}}]),t}(S);d("uagb/advanced-heading",{title:uagb_blocks_info.blocks["uagb/advanced-heading"].title,description:uagb_blocks_info.blocks["uagb/advanced-heading"].description,icon:u.a.advanced_heading,keywords:[f("advanced heading"),f("uagb")],category:uagb_blocks_info.category,attributes:{block_id:{type:"string"},headingTitle:{source:"html",selector:"h1,h2,h3,h4,h5,h6"},headingDesc:{source:"html",selector:"p",default:""},headingAlign:{type:"string",default:"center"},headingColor:{type:"string"},subHeadingColor:{type:"string"},separatorColor:{type:"string"},headingTag:{type:"string",default:"h2"},separatorHeight:{type:"number"},separatorWidth:{type:"number"},headFontSize:{type:"number"},subHeadFontSize:{type:"number"},headSpace:{type:"number",default:15},separatorSpace:{type:"number",default:15},subHeadSpace:{type:"number"}},transforms:{from:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return console.log(t),m("uagb/advanced-heading",{headingDesc:t})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return console.log(t),m("uagb/advanced-heading",{headingTitle:t,headingTag:"h3"})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return console.log(t),m("core/paragraph",{content:t})}},{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return console.log(t),m("core/heading",{content:t})}}]},edit:P,save:function(e){var t=e.attributes,n=t.block_id,a=t.headingTitle,r=t.headingDesc,o=t.headingTag;return wp.element.createElement("div",{className:e.className,id:"uagb-adv-heading-"+n},wp.element.createElement(y.Content,{tagName:o,value:a,className:"uagb-heading-text"}),wp.element.createElement("div",{className:"uagb-separator-wrap"},wp.element.createElement("div",{className:"uagb-separator"})),wp.element.createElement(y.Content,{tagName:"p",value:r,className:"uagb-desc-text"}))}})},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.headingAlign,a=t.headingTag,r=t.headFontSize,o=t.headingColor,i=t.headSpace,l=t.separatorHeight,u=t.separatorWidth,s=t.separatorColor,c=t.separatorSpace,f=t.subHeadFontSize,p=t.subHeadingColor,d=t.subHeadSpace,m={" .uagb-separator-wrap":{"text-align":n}," .uagb-separator":{"border-top-width":l+"px",width:u+"%","border-color":s,"margin-bottom":c+"px"}," .editor-rich-text .uagb-desc-text":{"text-align":n,"font-size":f+"px",color:p,"margin-bottom":d+"px"}};m[" .editor-rich-text "+a+".uagb-heading-text"]={"text-align":n,"font-size":r+"px",color:o,"margin-bottom":i+"px"};var g="";for(var h in m){g+=".block-editor-page #wpwrap #uagb-adv-heading-"+e.clientId,g+=h+" { ";var b=m[h],v="";for(var y in b)v+=y+": "+b[y]+";";g+=v+" } "}return g}t.a=a},function(e,t){},function(e,t,n){"use strict";n(102)},function(e,t,n){"use strict";var a=n(103),r=n(3),o=n(193),i=(n.n(o),n(194)),l=(n.n(i),wp.i18n.__);(0,wp.blocks.registerBlockType)("uagb/post-grid",{title:uagb_blocks_info.blocks["uagb/post-grid"].title,description:uagb_blocks_info.blocks["uagb/post-grid"].description,icon:r.a.post_grid,category:uagb_blocks_info.category,keywords:[l("post"),l("grid"),l("uagb")],edit:a.a,save:function(){return null}})},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(104),l=n.n(i),u=n(105),s=n.n(u),c=n(187),f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),d=wp.element,m=d.Component,g=d.Fragment,h=wp.i18n.__,b=wp.components,v=b.PanelBody,y=b.Placeholder,w=b.QueryControls,_=b.RangeControl,k=b.SelectControl,E=b.Spinner,x=b.ToggleControl,C=wp.editor,S=C.InspectorControls,T=C.BlockAlignmentToolbar,P=C.BlockControls,O=C.ColorPalette,N=wp.data.withSelect,R=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),p(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-style-"+this.props.clientId),document.head.appendChild(e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.categoriesList,a=e.setAttributes,r=e.latestPosts,o=(t.block_id,t.displayPostDate),i=t.displayPostComment,l=t.displayPostExcerpt,u=t.displayPostAuthor,s=t.displayPostImage,p=t.imgSize,d=t.imgPosition,m=t.displayPostLink,b=t.align,C=t.columns,N=t.tcolumns,R=t.mcolumns,I=t.order,M=t.orderBy,j=t.categories,A=t.postsToShow,z=t.rowGap,D=t.columnGap,L=t.bgColor,F=t.contentPadding,B=t.titleColor,U=t.titleTag,W=(t.titleFontSize,t.metaColor),H=t.excerptColor,V=t.ctaColor,q=t.ctaBgColor,$=t.titleBottomSpace,G=t.metaBottomSpace,Y=t.excerptBottomSpace,K=t.equalHeight,Q=wp.element.createElement(S,null,wp.element.createElement(v,{title:h("General")},wp.element.createElement(w,f({order:I,orderBy:M},{numberOfItems:A,categoriesList:n,selectedCategoryId:j,onOrderChange:function(e){return a({order:e})},onOrderByChange:function(e){return a({orderBy:e})},onCategoryChange:function(e){return a({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return a({postsToShow:e})}})),wp.element.createElement(_,{label:h("Columns"),value:C,onChange:function(e){return a({columns:e})},min:1,max:X?Math.min(4,r.length):4}),wp.element.createElement(_,{label:h("Columns (Tablet)"),value:N,onChange:function(e){return a({tcolumns:e})},min:1,max:X?Math.min(4,r.length):4}),wp.element.createElement(_,{label:h("Columns (Mobile)"),value:R,onChange:function(e){return a({mcolumns:e})},min:1,max:X?Math.min(4,r.length):4}),wp.element.createElement(x,{label:h("Equal Height"),checked:K,onChange:function(e){return a({equalHeight:!K})}})),wp.element.createElement(v,{title:h("Image"),initialOpen:!1},wp.element.createElement(x,{label:h("Show Featured Image"),checked:s,onChange:function(e){return a({displayPostImage:!s})}}),1==s&&wp.element.createElement(k,{label:h("Image Sizes"),value:p,onChange:function(e){return a({imgSize:e})},options:[{value:"thumbnail",label:h("Thumbnail")},{value:"medium",label:h("Medium")},{value:"medium_large",label:h("Medium Large")},{value:"large",label:h("Large")}]}),1==s&&wp.element.createElement(k,{label:h("Image Position"),value:d,onChange:function(e){return a({imgPosition:e})},options:[{value:"top",label:h("Top")},{value:"background",label:h("Background")}]})),wp.element.createElement(v,{title:h("Content"),initialOpen:!1},wp.element.createElement(k,{label:h("Title Tag"),value:U,onChange:function(e){return a({titleTag:e})},options:[{value:"h1",label:h("H1")},{value:"h2",label:h("H2")},{value:"h3",label:h("H3")},{value:"h4",label:h("H4")},{value:"h5",label:h("H5")},{value:"h6",label:h("H6")}]}),wp.element.createElement(x,{label:h("Show Author"),checked:u,onChange:function(e){return a({displayPostAuthor:!u})}}),wp.element.createElement(x,{label:h("Show Date"),checked:o,onChange:function(e){return a({displayPostDate:!o})}}),wp.element.createElement(x,{label:h("Show Comment"),checked:i,onChange:function(e){return a({displayPostComment:!i})}}),wp.element.createElement(x,{label:h("Show Excerpt"),checked:l,onChange:function(e){return a({displayPostExcerpt:!l})}}),wp.element.createElement(x,{label:h("Show Read More Link"),checked:m,onChange:function(e){return a({displayPostLink:!m})}})),wp.element.createElement(v,{title:h("Colors"),initialOpen:!1},"top"==d&&wp.element.createElement(g,null,wp.element.createElement("p",{className:"uagb-setting-label"},h("Blog Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:L}}))),wp.element.createElement(O,{value:L,onChange:function(e){return a({bgColor:e})},allowReset:!0})),wp.element.createElement(g,null,wp.element.createElement("p",{className:"uagb-setting-label"},h("Title Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:B}}))),wp.element.createElement(O,{value:B,onChange:function(e){return a({titleColor:e})},allowReset:!0})),wp.element.createElement(g,null,wp.element.createElement("p",{className:"uagb-setting-label"},h("Meta Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:W}}))),wp.element.createElement(O,{value:W,onChange:function(e){return a({metaColor:e})}})),1==l&&wp.element.createElement(g,null,wp.element.createElement("p",{className:"uagb-setting-label"},h("Excerpt Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:H}}))),wp.element.createElement(O,{value:H,onChange:function(e){return a({excerptColor:e})},allowReset:!0})),1==m&&wp.element.createElement(g,null,wp.element.createElement("p",{className:"uagb-setting-label"},h("CTA Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:V}}))),wp.element.createElement(O,{value:V,onChange:function(e){return a({ctaColor:e})},allowReset:!0})),1==m&&wp.element.createElement(g,null,wp.element.createElement("p",{className:"uagb-setting-label"},h("CTA Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:q}}))),wp.element.createElement(O,{value:q,onChange:function(e){return a({ctaBgColor:e})},allowReset:!0}))),wp.element.createElement(v,{title:h("Spacing"),initialOpen:!1},wp.element.createElement(_,{label:h("Row Gap"),value:z,onChange:function(e){return a({rowGap:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:h("Column Gap"),value:D,onChange:function(e){return a({columnGap:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:h("Content Padding"),value:F,onChange:function(e){return a({contentPadding:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:h("Title Bottom Spacing"),value:$,onChange:function(e){return a({titleBottomSpace:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:h("Meta Bottom Spacing"),value:G,onChange:function(e){return a({metaBottomSpace:e})},min:0,max:50,allowReset:!0}),wp.element.createElement(_,{label:h("Excerpt Bottom Spacing"),value:Y,onChange:function(e){return a({excerptBottomSpace:e})},min:0,max:50,allowReset:!0}))),X=Array.isArray(r)&&r.length;return X?wp.element.createElement(g,null,Q,wp.element.createElement(P,null,wp.element.createElement(T,{value:b,onChange:function(e){a({align:e})},controls:["center","wide"]})),wp.element.createElement(c.a,{attributes:t,className:this.props.className,latestPosts:r,block_id:this.props.clientId})):wp.element.createElement(g,null,Q,wp.element.createElement(y,{icon:"admin-post",label:h("UAGB - Post Grid")},Array.isArray(r)?h("No posts found."):wp.element.createElement(E,null)))}}]),t}(m);t.a=N(function(e,t){var n=t.attributes,a=n.categories,r=n.postsToShow,o=n.order,i=n.orderBy,u=e("core"),c=u.getEntityRecords,f=s()({categories:a,order:o,orderby:i,per_page:r},function(e){return!l()(e)}),p={per_page:100};return{latestPosts:c("postType","post",f),categoriesList:c("taxonomy","category",p)}})(R)},function(e,t){function n(e){return void 0===e}e.exports=n},function(e,t,n){function a(e,t){if(null==e)return{};var n=r(l(e),function(e){return[e]});return t=o(t),i(e,n,function(e,n){return t(e,n[0])})}var r=n(38),o=n(106),i=n(176),l=n(181);e.exports=a},function(e,t,n){function a(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?l(e)?o(e[0],e[1]):r(e):u(e)}var r=n(107),o=n(163),i=n(61),l=n(5),u=n(173);e.exports=a},function(e,t,n){function a(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}var r=n(108),o=n(162),i=n(60);e.exports=a},function(e,t,n){function a(e,t,n,a){var u=n.length,s=u,c=!a;if(null==e)return!s;for(e=Object(e);u--;){var f=n[u];if(c&&f[2]?f[1]!==e[f[0]]:!(f[0]in e))return!1}for(;++u<s;){f=n[u];var p=f[0],d=e[p],m=f[1];if(c&&f[2]){if(void 0===d&&!(p in e))return!1}else{var g=new r;if(a)var h=a(d,m,p,e,t,g);if(!(void 0===h?o(m,d,i|l,a,g):h))return!1}}return!0}var r=n(39),o=n(43),i=1,l=2;e.exports=a},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){function a(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}var r=n(19),o=Array.prototype,i=o.splice;e.exports=a},function(e,t,n){function a(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}var r=n(19);e.exports=a},function(e,t,n){function a(e){return r(this.__data__,e)>-1}var r=n(19);e.exports=a},function(e,t,n){function a(e,t){var n=this.__data__,a=r(n,e);return a<0?(++this.size,n.push([e,t])):n[a][1]=t,this}var r=n(19);e.exports=a},function(e,t,n){function a(){this.__data__=new r,this.size=0}var r=n(18);e.exports=a},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function a(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<l-1)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}var r=n(18),o=n(29),i=n(31),l=200;e.exports=a},function(e,t,n){function a(e){return!(!i(e)||o(e))&&(r(e)?m:s).test(l(e))}var r=n(40),o=n(122),i=n(8),l=n(42),u=/[\\^$.*+?()[\]{}|]/g,s=/^\[object .+?Constructor\]$/,c=Function.prototype,f=Object.prototype,p=c.toString,d=f.hasOwnProperty,m=RegExp("^"+p.call(d).replace(u,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=a},function(e,t,n){function a(e){var t=i.call(e,u),n=e[u];try{e[u]=void 0;var a=!0}catch(e){}var r=l.call(e);return a&&(t?e[u]=n:delete e[u]),r}var r=n(20),o=Object.prototype,i=o.hasOwnProperty,l=o.toString,u=r?r.toStringTag:void 0;e.exports=a},function(e,t){function n(e){return r.call(e)}var a=Object.prototype,r=a.toString;e.exports=n},function(e,t,n){function a(e){return!!o&&o in e}var r=n(123),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=a},function(e,t,n){var a=n(4),r=a["__core-js_shared__"];e.exports=r},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){function a(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}var r=n(126),o=n(18),i=n(29);e.exports=a},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var a=e[t];this.set(a[0],a[1])}}var r=n(127),o=n(128),i=n(129),l=n(130),u=n(131);a.prototype.clear=r,a.prototype.delete=o,a.prototype.get=i,a.prototype.has=l,a.prototype.set=u,e.exports=a},function(e,t,n){function a(){this.__data__=r?r(null):{},this.size=0}var r=n(21);e.exports=a},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){function a(e){var t=this.__data__;if(r){var n=t[e];return n===o?void 0:n}return l.call(t,e)?t[e]:void 0}var r=n(21),o="__lodash_hash_undefined__",i=Object.prototype,l=i.hasOwnProperty;e.exports=a},function(e,t,n){function a(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}var r=n(21),o=Object.prototype,i=o.hasOwnProperty;e.exports=a},function(e,t,n){function a(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?o:t,this}var r=n(21),o="__lodash_hash_undefined__";e.exports=a},function(e,t,n){function a(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}var r=n(22);e.exports=a},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){function a(e){return r(this,e).get(e)}var r=n(22);e.exports=a},function(e,t,n){function a(e){return r(this,e).has(e)}var r=n(22);e.exports=a},function(e,t,n){function a(e,t){var n=r(this,e),a=n.size;return n.set(e,t),this.size+=n.size==a?0:1,this}var r=n(22);e.exports=a},function(e,t,n){function a(e,t,n,a,h,v){var y=s(e),w=s(t),_=y?m:u(e),k=w?m:u(t);_=_==d?g:_,k=k==d?g:k;var E=_==g,x=k==g,C=_==k;if(C&&c(e)){if(!c(t))return!1;y=!0,E=!1}if(C&&!E)return v||(v=new r),y||f(e)?o(e,t,n,a,h,v):i(e,t,_,n,a,h,v);if(!(n&p)){var S=E&&b.call(e,"__wrapped__"),T=x&&b.call(t,"__wrapped__");if(S||T){var P=S?e.value():e,O=T?t.value():t;return v||(v=new r),h(P,O,n,a,v)}}return!!C&&(v||(v=new r),l(e,t,n,a,h,v))}var r=n(39),o=n(44),i=n(143),l=n(147),u=n(157),s=n(5),c=n(53),f=n(55),p=1,d="[object Arguments]",m="[object Array]",g="[object Object]",h=Object.prototype,b=h.hasOwnProperty;e.exports=a},function(e,t,n){function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}var r=n(31),o=n(139),i=n(140);a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},function(e,t){function n(e){return this.__data__.set(e,a),this}var a="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t){function n(e,t){for(var n=-1,a=null==e?0:e.length;++n<a;)if(t(e[n],n,e))return!0;return!1}e.exports=n},function(e,t){function n(e,t){return e.has(t)}e.exports=n},function(e,t,n){function a(e,t,n,a,r,E,C){switch(n){case k:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _:return!(e.byteLength!=t.byteLength||!E(new o(e),new o(t)));case p:case d:case h:return i(+e,+t);case m:return e.name==t.name&&e.message==t.message;case b:case y:return e==t+"";case g:var S=u;case v:var T=a&c;if(S||(S=s),e.size!=t.size&&!T)return!1;var P=C.get(e);if(P)return P==t;a|=f,C.set(e,t);var O=l(S(e),S(t),a,r,E,C);return C.delete(e),O;case w:if(x)return x.call(e)==x.call(t)}return!1}var r=n(20),o=n(144),i=n(28),l=n(44),u=n(145),s=n(146),c=1,f=2,p="[object Boolean]",d="[object Date]",m="[object Error]",g="[object Map]",h="[object Number]",b="[object RegExp]",v="[object Set]",y="[object String]",w="[object Symbol]",_="[object ArrayBuffer]",k="[object DataView]",E=r?r.prototype:void 0,x=E?E.valueOf:void 0;e.exports=a},function(e,t,n){var a=n(4),r=a.Uint8Array;e.exports=r},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,a){n[++t]=[a,e]}),n}e.exports=n},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){function a(e,t,n,a,i,u){var s=n&o,c=r(e),f=c.length;if(f!=r(t).length&&!s)return!1;for(var p=f;p--;){var d=c[p];if(!(s?d in t:l.call(t,d)))return!1}var m=u.get(e);if(m&&u.get(t))return m==t;var g=!0;u.set(e,t),u.set(t,e);for(var h=s;++p<f;){d=c[p];var b=e[d],v=t[d];if(a)var y=s?a(v,b,d,t,e,u):a(b,v,d,e,t,u);if(!(void 0===y?b===v||i(b,v,n,a,u):y)){g=!1;break}h||(h="constructor"==d)}if(g&&!h){var w=e.constructor,_=t.constructor;w!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof _&&_ instanceof _)&&(g=!1)}return u.delete(e),u.delete(t),g}var r=n(148),o=1,i=Object.prototype,l=i.hasOwnProperty;e.exports=a},function(e,t,n){function a(e){return r(e,i,o)}var r=n(45),o=n(47),i=n(49);e.exports=a},function(e,t){function n(e,t){for(var n=-1,a=null==e?0:e.length,r=0,o=[];++n<a;){var i=e[n];t(i,n,e)&&(o[r++]=i)}return o}e.exports=n},function(e,t,n){function a(e){return o(e)&&r(e)==i}var r=n(10),o=n(11),i="[object Arguments]";e.exports=a},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){function a(e){return i(e)&&o(e.length)&&!!l[r(e)]}var r=n(10),o=n(33),i=n(11),l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l["[object Arguments]"]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l["[object Function]"]=l["[object Map]"]=l["[object Number]"]=l["[object Object]"]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1,e.exports=a},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){(function(e){var a=n(41),r="object"==typeof t&&t&&!t.nodeType&&t,o=r&&"object"==typeof e&&e&&!e.nodeType&&e,i=o&&o.exports===r,l=i&&a.process,u=function(){try{var e=o&&o.require&&o.require("util").types;return e||l&&l.binding&&l.binding("util")}catch(e){}}();e.exports=u}).call(t,n(54)(e))},function(e,t,n){function a(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))l.call(e,n)&&"constructor"!=n&&t.push(n);return t}var r=n(56),o=n(156),i=Object.prototype,l=i.hasOwnProperty;e.exports=a},function(e,t,n){var a=n(57),r=a(Object.keys,Object);e.exports=r},function(e,t,n){var a=n(158),r=n(29),o=n(159),i=n(160),l=n(161),u=n(10),s=n(42),c=s(a),f=s(r),p=s(o),d=s(i),m=s(l),g=u;(a&&"[object DataView]"!=g(new a(new ArrayBuffer(1)))||r&&"[object Map]"!=g(new r)||o&&"[object Promise]"!=g(o.resolve())||i&&"[object Set]"!=g(new i)||l&&"[object WeakMap]"!=g(new l))&&(g=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,a=n?s(n):"";if(a)switch(a){case c:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case m:return"[object WeakMap]"}return t}),e.exports=g},function(e,t,n){var a=n(7),r=n(4),o=a(r,"DataView");e.exports=o},function(e,t,n){var a=n(7),r=n(4),o=a(r,"Promise");e.exports=o},function(e,t,n){var a=n(7),r=n(4),o=a(r,"Set");e.exports=o},function(e,t,n){var a=n(7),r=n(4),o=a(r,"WeakMap");e.exports=o},function(e,t,n){function a(e){for(var t=o(e),n=t.length;n--;){var a=t[n],i=e[a];t[n]=[a,i,r(i)]}return t}var r=n(59),o=n(49);e.exports=a},function(e,t,n){function a(e,t){return l(e)&&u(t)?s(c(e),t):function(n){var a=o(n,e);return void 0===a&&a===t?i(n,e):r(t,a,f|p)}}var r=n(43),o=n(164),i=n(170),l=n(35),u=n(59),s=n(60),c=n(12),f=1,p=2;e.exports=a},function(e,t,n){function a(e,t,n){var a=null==e?void 0:r(e,t);return void 0===a?n:a}var r=n(34);e.exports=a},function(e,t,n){var a=n(166),r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,i=a(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(r,function(e,n,a,r){t.push(a?r.replace(o,"$1"):n||e)}),t});e.exports=i},function(e,t,n){function a(e){var t=r(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}var r=n(167),o=500;e.exports=a},function(e,t,n){function a(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var a=arguments,r=t?t.apply(this,a):a[0],o=n.cache;if(o.has(r))return o.get(r);var i=e.apply(this,a);return n.cache=o.set(r,i)||o,i};return n.cache=new(a.Cache||r),n}var r=n(31),o="Expected a function";a.Cache=r,e.exports=a},function(e,t,n){function a(e){return null==e?"":r(e)}var r=n(169);e.exports=a},function(e,t,n){function a(e){if("string"==typeof e)return e;if(i(e))return o(e,a)+"";if(l(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-u?"-0":t}var r=n(20),o=n(38),i=n(5),l=n(24),u=1/0,s=r?r.prototype:void 0,c=s?s.toString:void 0;e.exports=a},function(e,t,n){function a(e,t){return null!=e&&o(e,t,r)}var r=n(171),o=n(172);e.exports=a},function(e,t){function n(e,t){return null!=e&&t in Object(e)}e.exports=n},function(e,t,n){function a(e,t,n){t=r(t,e);for(var a=-1,c=t.length,f=!1;++a<c;){var p=s(t[a]);if(!(f=null!=e&&n(e,p)))break;e=e[p]}return f||++a!=c?f:!!(c=null==e?0:e.length)&&u(c)&&l(p,c)&&(i(e)||o(e))}var r=n(23),o=n(52),i=n(5),l=n(32),u=n(33),s=n(12);e.exports=a},function(e,t,n){function a(e){return i(e)?r(l(e)):o(e)}var r=n(174),o=n(175),i=n(35),l=n(12);e.exports=a},function(e,t){function n(e){return function(t){return null==t?void 0:t[e]}}e.exports=n},function(e,t,n){function a(e){return function(t){return r(t,e)}}var r=n(34);e.exports=a},function(e,t,n){function a(e,t,n){for(var a=-1,l=t.length,u={};++a<l;){var s=t[a],c=r(e,s);n(c,s)&&o(u,i(s,e),c)}return u}var r=n(34),o=n(177),i=n(23);e.exports=a},function(e,t,n){function a(e,t,n,a){if(!l(e))return e;t=o(t,e);for(var s=-1,c=t.length,f=c-1,p=e;null!=p&&++s<c;){var d=u(t[s]),m=n;if(s!=f){var g=p[d];m=a?a(g,d,p):void 0,void 0===m&&(m=l(g)?g:i(t[s+1])?[]:{})}r(p,d,m),p=p[d]}return e}var r=n(178),o=n(23),i=n(32),l=n(8),u=n(12);e.exports=a},function(e,t,n){function a(e,t,n){var a=e[t];l.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}var r=n(179),o=n(28),i=Object.prototype,l=i.hasOwnProperty;e.exports=a},function(e,t,n){function a(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var r=n(180);e.exports=a},function(e,t,n){var a=n(7),r=function(){try{var e=a(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=r},function(e,t,n){function a(e){return r(e,i,o)}var r=n(45),o=n(182),i=n(184);e.exports=a},function(e,t,n){var a=n(46),r=n(183),o=n(47),i=n(48),l=Object.getOwnPropertySymbols,u=l?function(e){for(var t=[];e;)a(t,o(e)),e=r(e);return t}:i;e.exports=u},function(e,t,n){var a=n(57),r=a(Object.getPrototypeOf,Object);e.exports=r},function(e,t,n){function a(e){return i(e)?r(e,!0):o(e)}var r=n(50),o=n(185),i=n(58);e.exports=a},function(e,t,n){function a(e){if(!r(e))return i(e);var t=o(e),n=[];for(var a in e)("constructor"!=a||!t&&u.call(e,a))&&n.push(a);return n}var r=n(8),o=n(56),i=n(186),l=Object.prototype,u=l.hasOwnProperty;e.exports=a},function(e,t){function n(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=n},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=n.n(i),u=n(188),s=n(189),c=n(190),f=n(191),p=n(192),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),m=(wp.htmlEntities.decodeEntities,function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),d(t,[{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.className,a=e.latestPosts,r=e.block_id,o=(t.displayPostImage,t.columns),i=t.tcolumns,d=t.mcolumns,m=t.imgPosition,g=t.postsToShow,h=t.rowGap,b=t.columnGap,v=t.bgColor,y=t.contentPadding,w=t.equalHeight,_=w?"uagb-post__equal-height":"",k=a.length>g?a.slice(0,g):a;return wp.element.createElement("div",{className:l()(n,"uagb-post-grid","uagb-post__image-position-"+m),id:"uagb-post__grid-"+r},wp.element.createElement("div",{className:l()("is-grid","uagb-post__columns-"+o,"uagb-post__columns-tablet-"+i,"uagb-post__columns-mobile-"+d,"uagb-post__items",""+_),style:{marginRight:-h/2,marginLeft:-h/2}},k.map(function(e,n){return wp.element.createElement("article",{key:n,style:{paddingRight:h/2,paddingLeft:h/2,marginBottom:b}},wp.element.createElement("div",{className:"uagb-post__inner-wrap",style:{background:v}},wp.element.createElement(u.a,{post:e,attributes:t}),wp.element.createElement("div",{className:"uagb-post__text",style:{padding:y}},wp.element.createElement(s.a,{post:e,attributes:t}),wp.element.createElement(c.a,{post:e,attributes:t}),wp.element.createElement(f.a,{post:e,attributes:t}),wp.element.createElement(p.a,{post:e,attributes:t}))))})))}}]),t}(React.Component));t.a=m},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.htmlEntities.decodeEntities,u=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=e.attributes;if(n.displayPostImage&&void 0!==t.featured_image_src&&n.imgSize&&t.featured_image_src[n.imgSize]){var a=t.featured_image_src[n.imgSize];return wp.element.createElement("div",{className:"uagb-post__image"},wp.element.createElement("a",{href:t.link,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement("img",{src:a[0],alt:l(t.title.rendered.trim())||__("(Untitled)")})))}return null}}]),t}(React.Component);t.a=u},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.htmlEntities.decodeEntities,u=wp.i18n.__,s=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props.attributes.titleTag,t=this.props,n=t.post,a=t.attributes;return wp.element.createElement(e,{className:"uagb-post__title",style:{color:a.titleColor,fontSize:a.titleFontSize,marginBottom:a.titleBottomSpace}},wp.element.createElement("a",{style:{color:a.titleColor,fontSize:a.titleFontSize},href:n.link,target:"_blank",rel:"noopener noreferrer"},l(n.title.rendered.trim())||u("(Untitled)")))}}]),t}(React.Component);t.a=s},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.date,u=l.dateI18n,s=l.format,c=l.__experimentalGetSettings,f=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=e.attributes,a=c().formats.date;return wp.element.createElement("div",{className:"uagb-post-grid-byline",style:{color:n.metaColor,marginBottom:n.metaBottomSpace}},n.displayPostAuthor&&void 0!==t.author_info&&wp.element.createElement("div",{className:"uagb-post__author",style:{color:n.metaColor}},wp.element.createElement("span",{className:"dashicons-admin-users dashicons"}),wp.element.createElement("a",{style:{color:n.metaColor},target:"_blank",href:t.author_info.author_link,rel:"noopener noreferrer"},t.author_info.display_name)),n.displayPostDate&&t.date_gmt&&wp.element.createElement("time",{dateTime:s("c",t.date_gmt),className:"uagb-post__date"},wp.element.createElement("span",{className:"dashicons-calendar dashicons"}),u(a,t.date_gmt)),n.displayPostComment&&void 0!==t.comment_info&&wp.element.createElement("div",{className:"uagb-post__comment"},wp.element.createElement("span",{className:"dashicons-admin-comments dashicons"}),t.comment_info))}}]),t}(React.Component);t.a=f},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=e.attributes;return n.displayPostExcerpt&&void 0!==t.excerpt?wp.element.createElement("div",{className:"uagb-post__excerpt",style:{color:n.excerptColor,marginBottom:n.excerptBottomSpace}},wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:t.excerpt}})):null}}]),t}(React.Component);t.a=l},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),l=wp.i18n.__,u=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return o(t,e),i(t,[{key:"render",value:function(){var e=this.props,t=e.post,n=e.attributes;return n.displayPostLink?wp.element.createElement("div",{className:"uagb-post__cta",style:{color:n.ctaColor,background:n.ctaBgColor}},wp.element.createElement("a",{style:{color:n.ctaColor},className:"uagb-post__link uagb-text-link",href:t.link,target:"_blank",rel:"noopener noreferrer"},l("Read More"))):null}}]),t}(React.Component);t.a=u},function(e,t){},function(e,t){},function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(3),i=n(196),l=(n.n(i),n(197)),u=(n.n(l),n(198)),s=n(199),c=(n(62),wp.i18n.__),f=wp.blocks.registerBlockType,p=wp.editor.InnerBlocks;f("uagb/section",{title:uagb_blocks_info.blocks["uagb/section"].title,description:uagb_blocks_info.blocks["uagb/section"].description,icon:o.a.section,category:uagb_blocks_info.category,keywords:[c("section"),c("uagb")],attributes:u.a,getEditWrapperProps:function(e){var t=e.blockAlignment;if("left"===t||"right"===t||"center"===t)return{"data-align":t}},edit:s.a,save:function(e){var t=(e.attributes,e.className),n=e.attributes,a=n.block_id,o=n.tag,i=n.backgroundType,l=n.backgroundVideo,u=""+o;return wp.element.createElement(u,{className:r()(t,"uagb-section__wrap","uagb-section__background-"+i),id:"uagb-section-"+a},wp.element.createElement("div",{className:"uagb-section__overlay"}),"video"==i&&wp.element.createElement("div",{className:"uagb-section__video-wrap"},l&&wp.element.createElement("video",{src:l.url,autoPlay:!0,loop:!0,muted:!0})),wp.element.createElement("div",{className:"uagb-section__inner-wrap"},wp.element.createElement(p.Content,null)))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";var a={align:{type:"string",default:"center"},block_id:{type:"string"},topPadding:{type:"string",default:"20"},bottomPadding:{type:"string",default:"20"},leftPadding:{type:"string",default:"20"},rightPadding:{type:"string",default:"20"},topMargin:{type:"string",default:"0"},bottomMargin:{type:"string",default:"0"},leftMargin:{type:"string",default:"0"},rightMargin:{type:"string",default:"0"},contentWidth:{type:"string",default:"boxed"},width:{type:"number",default:900},innerWidth:{type:"number",default:1140},tag:{type:"string",default:"section"},backgroundType:{type:"string"},backgroundImage:{type:"object"},backgroundPosition:{type:"string",default:"center-center"},backgroundSize:{type:"string",default:"cover"},backgroundRepeat:{type:"string",default:"no-repeat"},backgroundAttachment:{type:"string",default:"scroll"},backgroundVideo:{type:"object"},backgroundColor:{type:"string"},gradientColor1:{type:"string"},gradientColor2:{type:"string"},gradientType:{type:"string",default:"linear"},gradientLocation1:{type:"number",default:"0"},gradientLocation2:{type:"number",default:"100"},gradientAngle:{type:"number",default:"0"},backgroundOpacity:{type:"number",default:"0"},backgroundVideoOpacity:{type:"number",default:"50"},backgroundVideoColor:{type:"string"},backgroundImageColor:{type:"string"},borderStyle:{type:"string",default:"none"},borderWidth:{type:"number",default:"1"},borderRadius:{type:"number"},borderColor:{type:"string"}};t.a=a},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(0),l=n.n(i),u=n(200),s=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),c=wp.i18n.__,f=wp.element,p=f.Component,d=f.Fragment,m=wp.editor,g=(m.AlignmentToolbar,m.BlockControls),h=m.BlockAlignmentToolbar,b=m.ColorPalette,v=m.InspectorControls,y=m.InnerBlocks,w=m.MediaUpload,_=m.PanelColorSettings,k=wp.components,E=k.PanelBody,x=k.SelectControl,C=k.RangeControl,S=k.Button,T=(k.Dashicon,k.BaseControl),P=k.withNotices,O=function(e){function t(){a(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onRemoveVideo=e.onRemoveVideo.bind(e),e.onRemoveImage=e.onRemoveImage.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e.onSelectVideo=e.onSelectVideo.bind(e),e}return o(t,e),s(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-style-"+this.props.clientId),document.head.appendChild(e)}},{key:"onRemoveImage",value:function(){this.props.attributes.backgroundImage;(0,this.props.setAttributes)({backgroundImage:null})}},{key:"onSelectImage",value:function(e){var t=(this.props.attributes.backgroundImage,this.props.setAttributes);if(!e||!e.url)return void t({backgroundImage:null});e.type&&"image"==e.type&&t({backgroundImage:e})}},{key:"onRemoveVideo",value:function(){this.props.attributes.backgroundVideo;(0,this.props.setAttributes)({backgroundVideo:null})}},{key:"onSelectVideo",value:function(e){var t=(this.props.attributes.backgroundVideo,this.props.setAttributes);if(!e||!e.url)return void t({backgroundVideo:null});e.type&&"video"==e.type&&t({backgroundVideo:e})}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.setAttributes,a=t.align,r=t.className,o=(t.padding,t.contentWidth),i=t.width,s=t.innerWidth,f=t.tag,p=t.leftPadding,m=t.rightPadding,k=t.topPadding,P=t.bottomPadding,O=t.leftMargin,N=t.rightMargin,R=t.topMargin,I=t.bottomMargin,M=t.backgroundType,j=t.backgroundImage,A=t.backgroundVideo,z=t.backgroundColor,D=t.backgroundPosition,L=t.backgroundAttachment,F=t.backgroundRepeat,B=t.backgroundSize,U=t.gradientColor1,W=t.gradientColor2,H=t.gradientLocation1,V=t.gradientLocation2,q=t.gradientType,$=t.gradientAngle,G=t.backgroundOpacity,Y=t.backgroundVideoColor,K=t.backgroundVideoOpacity,Q=t.backgroundImageColor,X=t.borderStyle,J=t.borderWidth,Z=t.borderRadius,ee=t.borderColor,te=""+f,ne=document.getElementById("uagb-style-"+this.props.clientId);null!=ne&&"undefined"!=typeof ne&&(ne.innerHTML=Object(u.a)(this.props));return wp.element.createElement(d,null,wp.element.createElement(g,null,wp.element.createElement(h,{value:a,onChange:function(e){n({align:e})},controls:["left","center","right"]})),wp.element.createElement(v,null,wp.element.createElement(E,{title:c("Layout")},wp.element.createElement(x,{label:c("Content Width"),value:o,onChange:function(e){return n({contentWidth:e})},options:[{value:"boxed",label:c("Boxed")},{value:"full_width",label:c("Full Width")}]}),"boxed"==o&&wp.element.createElement(C,{label:c("Width"),value:i,onChange:function(e){return n({width:e})}}),"boxed"!=o&&wp.element.createElement(C,{label:c("Inner Width"),value:s,onChange:function(e){return n({innerWidth:e})}}),wp.element.createElement(x,{label:c("HTML Tag"),value:f,onChange:function(e){return n({tag:e})},options:[{value:"div",label:c("div")},{value:"header",label:c("header")},{value:"footer",label:c("footer")},{value:"main",label:c("main")},{value:"article",label:c("article")},{value:"section",label:c("section")},{value:"aside",label:c("aside")},{value:"nav",label:c("nav")}]})),wp.element.createElement(E,{title:c("Spacing"),initialOpen:!1},wp.element.createElement(C,{label:c("Left Padding"),value:p,onChange:function(e){return n({leftPadding:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Right Padding"),value:m,onChange:function(e){return n({rightPadding:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Top Padding"),value:k,onChange:function(e){return n({topPadding:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Bottom Padding"),value:P,onChange:function(e){return n({bottomPadding:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Left Margin"),value:O,onChange:function(e){return n({leftMargin:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Right Margin"),value:N,onChange:function(e){return n({rightMargin:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Top Margin"),value:R,onChange:function(e){return n({topMargin:e})},min:10,max:200,allowReset:!0}),wp.element.createElement(C,{label:c("Bottom Margin"),value:I,onChange:function(e){return n({bottomMargin:e})},min:10,max:200,allowReset:!0})),wp.element.createElement(E,{title:c("Background"),initialOpen:!1},wp.element.createElement(x,{label:c("Background Type"),value:M,onChange:function(e){return n({backgroundType:e})},options:[{value:"none",label:c("None")},{value:"color",label:c("Color")},{value:"gradient",label:c("Gradient")},{value:"image",label:c("Image")},{value:"video",label:c("Video")}]}),"color"==M&&wp.element.createElement(d,null,wp.element.createElement("p",{className:"uagb-setting-label"},c("Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:z}}))),wp.element.createElement(b,{value:z,onChange:function(e){return n({backgroundColor:e})},allowReset:!0})),"image"==M&&wp.element.createElement(d,null,wp.element.createElement(T,{className:"editor-bg-image-control",label:c("Background Image")},wp.element.createElement(w,{title:c("Select Background Image"),onSelect:this.onSelectImage,allowedTypes:["image"],value:j,render:function(e){var t=e.open;return wp.element.createElement(S,{isDefault:!0,onClick:t},c(j?"Replace image":"Select Background Image"))}}),j&&wp.element.createElement(S,{className:"uagb-rm-btn",onClick:this.onRemoveImage,isLink:!0,isDestructive:!0},c("Remove Image"))),j&&wp.element.createElement(d,null,wp.element.createElement(x,{label:c("Image Position"),value:D,onChange:function(e){return n({backgroundPosition:e})},options:[{value:"top-left",label:c("Top Left")},{value:"top-center",label:c("Top Center")},{value:"top-right",label:c("Top Right")},{value:"center-left",label:c("Center Left")},{value:"center-center",label:c("Center Center")},{value:"center-right",label:c("Center Right")},{value:"bottom-left",label:c("Bottom Left")},{value:"bottom-center",label:c("Bottom Center")},{value:"bottom-right",label:c("Bottom Right")}]}),wp.element.createElement(x,{label:c("Attachment"),value:L,onChange:function(e){return n({backgroundAttachment:e})},options:[{value:"fixed",label:c("Fixed")},{value:"scroll",label:c("Scroll")}]}),wp.element.createElement(x,{label:c("Repeat"),value:F,onChange:function(e){return n({backgroundRepeat:e})},options:[{value:"no-repeat",label:c("No Repeat")},{value:"repeat",label:c("Repeat")},{value:"repeat-x",label:c("Repeat-x")},{value:"repeat-y",label:c("Repeat-y")}]}),wp.element.createElement(x,{label:c("Size"),value:B,onChange:function(e){return n({backgroundSize:e})},options:[{value:"auto",label:c("Auto")},{value:"cover",label:c("Cover")},{value:"contain",label:c("Contain")}]}),wp.element.createElement(d,null,wp.element.createElement("p",{className:"uagb-setting-label"},c("Image Overlay Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:Q}}))),wp.element.createElement(b,{value:Q,onChange:function(e){return n({backgroundImageColor:e})},allowReset:!0})))),"gradient"==M&&wp.element.createElement(d,null,wp.element.createElement(_,{title:c("Color Settings"),colorSettings:[{value:U,onChange:function(e){return n({gradientColor1:e})},label:c("Color 1")},{value:W,onChange:function(e){return n({gradientColor2:e})},label:c("Color 2")}]}),wp.element.createElement(x,{label:c("Type"),value:q,onChange:function(e){return n({gradientType:e})},options:[{value:"linear",label:c("Linear")},{value:"radial",label:c("Radial")}]}),wp.element.createElement(C,{label:c("Location 1"),value:H,onChange:function(e){return n({gradientLocation1:e})},min:0,max:100,allowReset:!0}),wp.element.createElement(C,{label:c("Location 2"),value:V,onChange:function(e){return n({gradientLocation2:e})},min:0,max:100,allowReset:!0}),wp.element.createElement(C,{label:c("Angle"),value:$,onChange:function(e){return n({gradientAngle:e})},min:0,max:360,allowReset:!0})),"video"==M&&wp.element.createElement(T,{className:"editor-bg-video-control",label:c("Background Video")},wp.element.createElement(w,{title:c("Select Background Video"),onSelect:this.onSelectVideo,allowedTypes:["video"],value:A,render:function(e){var t=e.open;return wp.element.createElement(S,{isDefault:!0,onClick:t},c(A?"Replace Video":"Select Background Video"))}}),A&&wp.element.createElement(S,{onClick:this.onRemoveVideo,isLink:!0,isDestructive:!0},c("Remove Video"))),("color"==M||"image"==M&&j||"gradient"==M)&&wp.element.createElement(C,{label:c("Opacity"),value:G,onChange:function(e){return n({backgroundOpacity:e})},min:0,max:100,allowReset:!0,initialPosition:0}),"video"==M&&A&&wp.element.createElement(d,null,wp.element.createElement("p",{className:"uagb-setting-label"},c("Video Overlay Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:Y}}))),wp.element.createElement(b,{value:Y,onChange:function(e){return n({backgroundVideoColor:e})},allowReset:!0})),"video"==M&&A&&wp.element.createElement(C,{label:c("Opacity"),value:K,onChange:function(e){return n({backgroundVideoOpacity:e})},min:0,max:100,allowReset:!0,initialPosition:50})),wp.element.createElement(E,{title:c("Border"),initialOpen:!1},wp.element.createElement(x,{label:c("Border Style"),value:X,onChange:function(e){return n({borderStyle:e})},options:[{value:"none",label:c("None")},{value:"solid",label:c("Solid")},{value:"dotted",label:c("Dotted")},{value:"dashed",label:c("Dashed")},{value:"double",label:c("Double")},{value:"groove",label:c("Groove")},{value:"inset",label:c("Inset")},{value:"outset",label:c("Outset")},{value:"ridge",label:c("Ridge")}]}),"none"!=X&&wp.element.createElement(C,{label:c("Border Width"),value:J,onChange:function(e){return n({borderWidth:e})},min:0,max:50,allowReset:!0}),"none"!=X&&wp.element.createElement(C,{label:c("Border Radius"),value:Z,onChange:function(e){return n({borderRadius:e})},min:0,max:1e3,allowReset:!0}),"none"!=X&&wp.element.createElement(d,null,wp.element.createElement("p",{className:"uagb-setting-label"},c("Border Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:ee}}))),wp.element.createElement(b,{value:ee,onChange:function(e){return n({borderColor:e})},allowReset:!0})))),wp.element.createElement(te,{className:l()(r,"uagb-section__wrap","uagb-section__background-"+M),id:"uagb-section-"+this.props.clientId},wp.element.createElement("div",{className:"uagb-section__overlay"}),"video"==M&&wp.element.createElement("div",{className:"uagb-section__video-wrap"},A&&wp.element.createElement("video",{src:A.url,autoPlay:!0,loop:!0,muted:!0})),wp.element.createElement("div",{className:"uagb-section__inner-wrap"},wp.element.createElement(y,{templateLock:!1}))))}}]),t}(p);t.a=P(O)},function(e,t,n){"use strict";function a(e){var t=e.attributes,n=t.backgroundType,a=t.backgroundVideoColor,o=t.backgroundImageColor,i=t.backgroundOpacity,l=t.backgroundVideoOpacity,u=(t.backgroundVideo,t.className,t.innerWidth),s=t.contentWidth,c="100%";"undefined"!=typeof s&&"boxed"!=s&&"undefined"!=typeof u&&(c=u+"px");var f={".uagb-section__wrap":Object(r.a)(e)," .uagb-section__video-wrap":{opacity:"undefined"!=typeof l?(100-l)/100:.5}," .uagb-section__inner-wrap":{"max-width":c}};f[" > .uagb-section__overlay"]="video"==n?{opacity:1,"background-color":a}:"image"==n?{opacity:"undefined"!=typeof i?i/100:0,"background-color":o}:{opacity:"undefined"!=typeof i?i/100:0};var p="";for(var d in f){p+="#uagb-section-"+e.clientId,p+=d+" { ";var m=f[d],g="";for(var h in m)g+=h+": "+m[h]+";";p+=g+" } "}return p}var r=n(62);t.a=a},function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(6),i=n.n(o),l=n(3),u=n(206),s=(n.n(u),n(207)),c=(n.n(s),n(208)),f=n(209),p=wp.i18n.__,d=wp.blocks.registerBlockType,m=wp.editor.RichText;d("uagb/buttons",{title:uagb_blocks_info.blocks["uagb/buttons"].title,description:uagb_blocks_info.blocks["uagb/buttons"].description,icon:l.a.buttons,category:uagb_blocks_info.category,keywords:[p("buttons"),p("multi buttons"),p("uagb")],attributes:c.a,edit:f.a,save:function(e){var t=(e.attributes,e.className),n=e.attributes,a=n.block_id,o=(n.align,n.items,n.buttons),l=n.btn_count,u=function(e){if("undefined"!=typeof o[e])return wp.element.createElement("div",{className:r()("uagb-buttons-repeater-"+e,"uagb-button__wrapper"),key:e},wp.element.createElement(m.Content,{placeholder:p("Click Here"),value:o[e].label,tagName:"a",className:"uagb-button__link",href:o[e].link,rel:"noopener noreferrer",target:o[e].target}))};return wp.element.createElement("div",{className:r()(t,"uagb-buttons__outer-wrap"),id:"uagb-buttons-"+a},wp.element.createElement("div",{className:"uagb-buttons__wrap"},i()(l,function(e){return u(e)})))}})},function(e,t,n){function a(e){return"function"==typeof e?e:r}var r=n(61);e.exports=a},function(e,t,n){function a(e){var t=r(e),n=t%1;return t===t?n?t-n:t:0}var r=n(204);e.exports=a},function(e,t,n){function a(e){if(!e)return 0===e?e:0;if((e=r(e))===o||e===-o){return(e<0?-1:1)*i}return e===e?e:0}var r=n(205),o=1/0,i=1.7976931348623157e308;e.exports=a},function(e,t,n){function a(e){if("number"==typeof e)return e;if(o(e))return i;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=s.test(e);return n||c.test(e)?f(e.slice(2),n?2:8):u.test(e)?i:+e}var r=n(8),o=n(24),i=NaN,l=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,f=parseInt;e.exports=a},function(e,t){},function(e,t){},function(e,t,n){"use strict";for(var a=[],r=1;r<=2;r++){var o="Click Here #"+r;a.push({label:o,link:"#",target:"_self",size:"",vPadding:10,hPadding:14,borderWidth:1,borderRadius:2,borderStyle:"solid",borderColor:"#333",borderHColor:"#333",color:"#333",background:"",hColor:"#333",hBackground:""})}var i={block_id:{type:"string"},align:{type:"string",default:"center"},btn_count:{type:"number",default:2},buttons:{type:"array",default:a},gap:{type:"number",default:10},stack:{type:"string",default:"none"}};t.a=i},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(6),c=n.n(s),f=n(210),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},d=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),m=wp.i18n.__,g=wp.element,h=g.Component,b=g.Fragment,v=wp.editor,y=(v.AlignmentToolbar,v.BlockControls),w=v.BlockAlignmentToolbar,_=v.InspectorControls,k=v.RichText,E=v.PanelColorSettings,x=v.URLInput,C=wp.components,S=C.PanelBody,T=C.SelectControl,P=C.RangeControl,O=function(e){function t(){r(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.state={isHovered:"false",isFocused:"false"},e}return i(t,e),d(t,[{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-style-buttons-"+this.props.clientId),document.head.appendChild(e)}},{key:"componentDidUpdate",value:function(e){!this.props.isSelected&&e.isSelected&&this.state.isFocused&&this.setState({isFocused:"false"})}},{key:"saveButton",value:function(e,t){var n=this.props,a=n.attributes;(0,n.setAttributes)({buttons:a.buttons.map(function(n,a){return t===a&&(n=p({},n,e)),n})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.attributes,r=t.setAttributes,o=t.isSelected,i=n.align,l=n.className,s=n.btn_count,p=n.buttons,d=n.gap,g=n.stack,h=function(){"false"!==e.state.isHovered&&e.setState({isHovered:"false"})},v=function(t){e.setState({isFocused:t})},C=function(t){e.setState({isHovered:t})},O=function(t){return wp.element.createElement(S,{key:t,title:m("Button")+" "+(t+1)+" "+m("Settings"),initialOpen:!1},wp.element.createElement("p",{className:"components-base-control__label"},m("Link")),wp.element.createElement(x,{value:p[t].link,onChange:function(n){e.saveButton({link:n},t)}}),wp.element.createElement(T,{label:m("Link Target"),value:p[t].target,options:[{value:"_self",label:m("Same Window")},{value:"_blank",label:m("New Window")}],onChange:function(n){e.saveButton({target:n},t)}}),wp.element.createElement(P,{beforeIcon:"editor-textcolor",afterIcon:"editor-textcolor",label:m("Button Text Size"),value:p[t].size,onChange:function(n){e.saveButton({size:n},t)},min:10,max:100,initialPosition:16}),wp.element.createElement(P,{label:m("Top and Bottom Padding"),value:p[t].vPadding,onChange:function(n){e.saveButton({vPadding:n},t)},min:0,max:100}),wp.element.createElement(P,{label:m("Left and Right Padding"),value:p[t].hPadding,onChange:function(n){e.saveButton({hPadding:n},t)},min:0,max:100}),wp.element.createElement(P,{label:m("Border Thickness"),value:p[t].borderWidth,onChange:function(n){e.saveButton({borderWidth:n},t)},min:0,max:20}),wp.element.createElement(T,{label:m("Border Style"),value:p[t].borderStyle,options:[{value:"solid",label:m("Solid")},{value:"dotted",label:m("Dotted")},{value:"dashed",label:m("Dashed")},{value:"double",label:m("Double")}],onChange:function(n){e.saveButton({borderStyle:n},t)}}),wp.element.createElement(P,{label:m("Border Radius"),value:p[t].borderRadius,onChange:function(n){e.saveButton({borderRadius:n},t)},min:0,max:50}),wp.element.createElement(E,{title:m("Color Settings"),colorSettings:[{value:p[t].color,onChange:function(n){return e.saveButton({color:n},t)},label:m("Color")},{value:p[t].background,onChange:function(n){return e.saveButton({background:n},t)},label:m("Background Color")},{value:p[t].borderColor,onChange:function(n){return e.saveButton({borderColor:n},t)},label:m("Border Color")},{value:p[t].hColor,onChange:function(n){return e.saveButton({hColor:n},t)},label:m("Hover Color")},{value:p[t].hBackground,onChange:function(n){return e.saveButton({hBackground:n},t)},label:m("Background Hover Color")},{value:p[t].borderHColor,onChange:function(n){return e.saveButton({borderHColor:n},t)},label:m("Border Hover Color")}]}))},N=document.getElementById("uagb-style-buttons-"+this.props.clientId);return null!=N&&"undefined"!=typeof N&&(N.innerHTML=Object(f.a)(this.props)),wp.element.createElement(b,null,wp.element.createElement(y,null,wp.element.createElement(w,{value:i,onChange:function(e){r({align:e})},controls:["left","center","right","full"]})),wp.element.createElement(_,null,wp.element.createElement(S,{title:m("Button Count"),initialOpen:!0},wp.element.createElement(P,{label:m("Number of Buttons"),value:s,onChange:function(e){var t=[].concat(a(p));if(t.length<e){var n=Math.abs(e-t.length);c()(n,function(e){t.push({label:"Click Here #"+(t.length+1),link:t[0].link,target:t[0].target,size:t[0].size,vPadding:t[0].vPadding,hPadding:t[0].hPadding,borderRadius:t[0].borderRadius,borderWidth:t[0].borderWidth,borderColor:t[0].borderColor,borderHColor:t[0].borderHColor,borderStyle:t[0].borderStyle,color:t[0].color,background:t[0].background,hColor:t[0].hColor,hBackground:t[0].hBackground})}),r({buttons:t})}r({btn_count:e})},min:1,max:5})),c()(s,function(e){return O(e)}),wp.element.createElement(S,{title:m("Spacing"),initialOpen:!1},wp.element.createElement(P,{label:m("Gap between Buttons"),value:d,onChange:function(e){return r({gap:e})},min:0,max:50}),wp.element.createElement(T,{label:m("Stack on"),value:g,options:[{value:"none",label:m("None")},{value:"desktop",label:m("Desktop")},{value:"tablet",label:m("Tablet")},{value:"mobile",label:m("Mobile")}],onChange:function(e){return r({stack:e})}}),wp.element.createElement("p",{className:"uagb-note"},m("Note: Choose on what breakpoint the buttons will stack.")))),wp.element.createElement("div",{className:u()(l,"uagb-buttons__outer-wrap"),id:"uagb-buttons-"+this.props.clientId},wp.element.createElement("div",{className:"uagb-buttons__wrap"},p.map(function(t,n){if(!(s<=n))return wp.element.createElement("div",{className:u()("uagb-buttons-repeater-"+n,"uagb-button__wrapper",o&&!1!==e.state.isFocused&&n===e.state.isFocused?"uagb-button__active":""),key:n},wp.element.createElement(k,{placeholder:m("Click Here"),value:t.label,tagName:"a",onChange:function(t){e.saveButton({label:t},n)},onMouseOut:h,onMouseOver:function(){C(n)},formattingControls:["bold","italic","strikethrough"],className:"uagb-button__link",rel:"noopener noreferrer",unstableOnFocus:function(){v(n)}}))}))))}}]),t}(h);t.a=O},function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){var t=e.attributes,n=t.align,r=(t.className,t.btn_count),o=t.buttons,i=t.gap,l=t.stack,u={},s={},c={};o.map(function(e,t){r<=t||(u[" .uagb-buttons-repeater-"+t]={"font-size":e.size+"px",border:e.borderWidth+"px "+e.borderStyle+" "+e.borderColor,"border-radius":e.borderRadius+"px",background:e.background},u[" .uagb-buttons-repeater-"+t+":hover"]={background:e.hBackground,border:e.borderWidth+"px "+e.borderStyle+" "+e.borderHColor},u[" .uagb-buttons-repeater-"+t+" a.uagb-button__link"]={padding:e.vPadding+"px "+e.hPadding+"px",color:e.color},u[" .uagb-buttons-repeater-"+t+":hover a.uagb-button__link"]={color:e.hColor})}),u[" .uagb-button__wrapper"]={"margin-left":i/2+"px","margin-right":i/2+"px"},u[" .uagb-button__wrapper:first-child"]={"margin-left":0},u[" .uagb-button__wrapper:last-child"]={"margin-right":0};var f="left"==n?"flex-start":"right"==n?"flex-end":"center";u[" .uagb-buttons__wrap"]=a({"justify-content":f,"-webkit-box-pack":f,"-ms-flex-pack":f},"justify-content",f),"desktop"==l?(u[" .uagb-button__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":i+"px"},u[" .uagb-buttons__wrap"]={"flex-direction":"column"},u[" .uagb-button__wrapper:last-child"]={"margin-bottom":0}):"tablet"==l?(s[" .uagb-button__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":i+"px"},s[" .uagb-buttons__wrap"]={"flex-direction":"column"},s[" .uagb-button__wrapper:last-child"]={"margin-bottom":0}):"mobile"==l&&(c[" .uagb-button__wrapper"]={"margin-left":0,"margin-right":0,"margin-bottom":i+"px"},c[" .uagb-buttons__wrap"]={"flex-direction":"column"},c[" .uagb-button__wrapper:last-child"]={"margin-bottom":0});var p="",d="#uagb-buttons-"+e.clientId;for(var m in u){p+=d,p+=m+" { ";var g=u[m],h="";for(var b in g)h+=b+": "+g[b]+";";p+=h+" } "}p+="@media only screen and (max-width: 976px) {";for(var m in s){p+=d,p+=m+" { ";var g=s[m],h="";for(var b in g)h+=b+": "+g[b]+";";p+=h+" } "}p+=" }",p+="@media only screen and (max-width: 767px) {";for(var m in c){p+=d,p+=m+" { ";var g=c[m],h="";for(var b in g)h+=b+": "+g[b]+";";p+=h+" } "}return p+=" }"}t.a=r},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var r=n(0),o=n.n(r),i=n(3),l=n(63),u=n(64),s=n(65),c=n(66),f=n(67),p=n(68),d=n(69),m=n(70),g=n(71),h=n(212),b=n(232),v=n(233),y=(n.n(v),n(234)),w=(n.n(y),wp.i18n.__),_=wp.blocks.registerBlockType,k=(wp.editor.RichText,wp.element.Fragment);_("uagb/info-box",{title:uagb_blocks_info.blocks["uagb/info-box"].title,description:uagb_blocks_info.blocks["uagb/info-box"].description,icon:i.a.info_box,keywords:[w("info-box"),w("uagb")],category:uagb_blocks_info.category,attributes:b.a,edit:h.a,save:function(e){var t=e.attributes,n=t.iconimgPosition,r=t.block_id,i=t.source_type,h=t.seperatorStyle,b=(t.backgroundType,t.ctaType),v=t.ctaLink,y=t.ctaTarget,w=t.className,_="uagb-infobox-"+r,E="undefined"!=typeof w?w:"";E=E+" "+_;var x=(Object(m.a)(e),"");x="icon"===i?wp.element.createElement(c.a,{attributes:e.attributes}):wp.element.createElement(g.a,{attributes:e.attributes});var C=wp.element.createElement(k,null,"none"!==h&&wp.element.createElement(p.a,{attributes:e.attributes}),wp.element.createElement("div",{className:"uagb-ifb-text-wrap"},wp.element.createElement(s.a,{attributes:e.attributes,setAttributes:"not_set"}),wp.element.createElement(d.a,{attributes:e.attributes}))),S=wp.element.createElement(k,null,wp.element.createElement("div",{className:"uagb-ifb-title-wrap"},wp.element.createElement(l.a,{attributes:e.attributes,setAttributes:"not_set"}),wp.element.createElement(u.a,{attributes:e.attributes,setAttributes:"not_set"}))),T=wp.element.createElement(k,null,wp.element.createElement("div",{className:o.a.apply(void 0,["uagb-infobox__content-wrap"].concat(a(Object(f.a)(e.attributes))))},wp.element.createElement("div",{className:"uagb-ifb-left-right-wrap"},"left"==n&&x,wp.element.createElement("div",{className:"uagb-ifb-content"},"above-title"==n&&x,("above-title"==n||"below-title"==n)&&S,"below-title"==n&&x,("above-title"==n||"below-title"==n)&&C,"left-title"===n&&wp.element.createElement(k,null,wp.element.createElement("div",{className:"uagb-ifb-left-title-image"},x,S),C),"right-title"===n&&wp.element.createElement(k,null,wp.element.createElement("div",{className:"uagb-ifb-right-title-image"},S,x),C),("left"==n||"right"==n)&&wp.element.createElement(k,null,S,C)),"right"==n&&x))),P="";return y&&(P="_blank"),wp.element.createElement(k,null,wp.element.createElement("div",{className:o()(w,"uagb-infobox__outer-wrap"),id:_},"all"==b&&wp.element.createElement(k,null,wp.element.createElement("a",{href:v,className:"uagb-infobox-link-wrap",target:P,rel:"noopener noreferrer"}," ",T)),"all"!==b&&T))}})},function(e,t,n){"use strict";function a(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=n(0),u=n.n(l),s=n(13),c=n(14),f=n.n(c),p=n(63),d=n(64),m=n(65),g=n(66),h=n(67),b=n(68),v=n(69),y=n(70),w=n(71),_=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),k=wp.i18n.__,E=wp.editor,x=E.AlignmentToolbar,C=E.BlockControls,S=E.ColorPalette,T=E.InspectorControls,P=(E.RichText,E.PanelColorSettings),O=E.MediaUpload,N=wp.components,R=N.PanelBody,I=N.SelectControl,M=N.RangeControl,j=(N.TabPanel,N.ToggleControl),A=N.TextControl,z=N.BaseControl,D=N.Button,L=(N.withNotices,wp.compose.compose,wp.data.withSelect,wp.viewport.withViewportMatch,wp.element),F=L.Component,B=L.Fragment,U=function(e){function t(){r(this,t);var e=o(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.getTimelineicon=e.getTimelineicon.bind(e),e.toggleTarget=e.toggleTarget.bind(e),e.toggleResponsive=e.toggleResponsive.bind(e),e.onSelectImage=e.onSelectImage.bind(e),e.onRemoveImage=e.onRemoveImage.bind(e),e}return i(t,e),_(t,[{key:"getTimelineicon",value:function(e){this.props.setAttributes({icon:e})}},{key:"onSelectImage",value:function(e){var t=(this.props.attributes.iconImage,this.props.setAttributes);return e&&e.url&&e.type&&"image"===e.type?void t({iconImage:e}):void t({iconImage:null})}},{key:"onRemoveImage",value:function(){this.props.attributes.iconImage;(0,this.props.setAttributes)({iconImage:null})}},{key:"toggleTarget",value:function(){var e=this.props.attributes.ctaTarget;(0,this.props.setAttributes)({ctaTarget:!e})}},{key:"toggleResponsive",value:function(){var e=this.props.attributes.responsiveDesign;(0,this.props.setAttributes)({responsiveDesign:!e})}},{key:"render",value:function(){var e=this.props,t=(e.isSelected,e.className),n=e.setAttributes,r=e.attributes,o=(e.mergeBlocks,e.insertBlocksAfter,e.onReplace,r.prefixTitle,r.infoBoxTitle,r.headingDesc,r.headingAlign),i=r.headingColor,l=r.subHeadingColor,c=r.prefixColor,_=(r.prefixTag,r.prefixFontSize),E=r.headingTag,N=r.headFontSize,L=r.subHeadFontSize,F=(r.separatorWidth,r.separatorHeight,r.seperatorSpace),U=r.headSpace,W=(r.separatorSpace,r.subHeadSpace),H=r.icon,V=r.iconColor,q=r.iconSize,$=r.iconimgPosition,G=(r.block_id,r.iconHover),Y=r.iconimgBorderRadius,K=r.source_type,Q=r.sourceAlign,X=r.seperatorStyle,J=r.seperatorWidth,Z=r.seperatorColor,ee=r.seperatorThickness,te=r.ctaType,ne=r.ctaText,ae=r.ctaLink,re=r.ctaTarget,oe=r.ctaLinkColor,ie=r.ctaFontSize,le=r.ctaBtnLinkColor,ue=r.ctaBgColor,se=r.ctaBtnVertPadding,ce=r.ctaBtnHrPadding,fe=r.ctaBorderStyle,pe=r.ctaBorderColor,de=r.ctaBorderWidth,me=r.ctaBorderRadius,ge=r.prefixSpace,he=r.iconLeftMargin,be=r.iconRightMargin,ve=r.iconTopMargin,ye=r.iconBottomMargin,we=r.iconImage,_e=r.imageSize,ke=r.imageWidth,Ee=r.stack,xe=document.getElementById("uagb-info-box-style-"+this.props.clientId);null!=xe&&"undefined"!=typeof xe&&(xe.innerHTML=Object(y.a)(this.props));var Ce={icons:s.a,renderUsing:"class",theme:"default",value:H,onChange:this.getTimelineicon,isMulti:!1},Se="uagb-infobox-"+this.props.clientId,Te=wp.element.createElement(B,null,wp.element.createElement(f.a,Ce),wp.element.createElement(M,{label:k("Icon Size"),value:q,onChange:function(e){return n({iconSize:e})},min:10,max:300,beforeIcon:"",allowReset:!0}),wp.element.createElement(P,{title:k("Color Settings"),initialOpen:!0,colorSettings:[{value:V,onChange:function(e){return n({iconColor:e})},label:k("Icon Color")},{value:G,onChange:function(e){return n({iconHover:e})},label:k("Icon Hover Color")}]})),Pe=wp.element.createElement(B,null,wp.element.createElement(R,{title:k("Seperator"),initialOpen:!1},wp.element.createElement(I,{label:k("Style"),value:X,onChange:function(e){return n({seperatorStyle:e})},options:[{value:"none",label:k("None")},{value:"solid",label:k("Solid")},{value:"double",label:k("Double")},{value:"dashed",label:k("Dashed")},{value:"dotted",label:k("Dotted")}]}),"none"!==X&&wp.element.createElement(B,null,wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("Seperator Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:Z}}))),wp.element.createElement(S,{value:Z,onChange:function(e){return n({seperatorColor:e})},allowReset:!0})),wp.element.createElement(M,{label:k("Thickness"),value:ee,onChange:function(e){return n({seperatorThickness:e})},min:0,max:10,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Width"),value:J,onChange:function(e){return n({seperatorWidth:e})},min:0,max:100,beforeIcon:"",allowReset:!0})))),Oe=wp.element.createElement(B,null,wp.element.createElement(R,{title:k("Call To Action"),initialOpen:!1},wp.element.createElement(I,{label:k("Type"),value:te,onChange:function(e){return n({ctaType:e})},options:[{value:"none",label:k("None")},{value:"text",label:k("Text")},{value:"button",label:k("Button")},{value:"all",label:k("Complete Box")}]}),("text"===te||"button"===te)&&wp.element.createElement(A,{label:k("Text"),value:ne,onChange:function(e){return n({ctaText:e})}}),"none"!==te&&wp.element.createElement(B,null,wp.element.createElement(A,{label:k("Link"),value:ae,onChange:function(e){return n({ctaLink:e})}}),wp.element.createElement(j,{label:k("Open in new Window"),checked:re,onChange:this.toggleTarget})),"button"==te&&wp.element.createElement(B,null,wp.element.createElement(M,{label:k("Vertical Padding"),value:se,onChange:function(e){return n({ctaBtnVertPadding:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("HorizontalPadding"),value:ce,onChange:function(e){return n({ctaBtnHrPadding:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(I,{label:k("Border Style"),value:fe,onChange:function(e){return n({ctaBorderStyle:e})},options:[{value:"none",label:k("None")},{value:"solid",label:k("Solid")},{value:"double",label:k("Double")},{value:"dashed",label:k("Dashed")},{value:"dotted",label:k("Dotted")}]}),"none"!==fe&&wp.element.createElement(B,null,wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("Border Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:pe}}))),wp.element.createElement(S,{value:pe,onChange:function(e){return n({ctaBorderColor:e})},allowReset:!0})),wp.element.createElement(M,{label:k("Border Width"),value:de,onChange:function(e){return n({ctaBorderWidth:e})},min:0,max:10,beforeIcon:"",allowReset:!0})),wp.element.createElement(M,{label:k("Rounded Corner"),value:me,onChange:function(e){return n({ctaBorderRadius:e})},min:0,max:100,beforeIcon:"",allowReset:!0})))),Ne=wp.element.createElement(B,null,wp.element.createElement(R,{title:k("Typography"),initialOpen:!1},wp.element.createElement(M,{label:k("Prefix Font Size"),value:_,onChange:function(e){return n({prefixFontSize:e})},min:10,max:200,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(I,{label:k("Title Tag"),value:E,onChange:function(e){return n({headingTag:e})},options:[{value:"h1",label:k("H1")},{value:"h2",label:k("H2")},{value:"h3",label:k("H3")},{value:"h4",label:k("H4")},{value:"h5",label:k("H5")},{value:"h6",label:k("H6")}]}),wp.element.createElement(M,{label:k("Heading Font Size"),value:N,onChange:function(e){return n({headFontSize:e})},min:10,max:200,initialPosition:30,beforeIcon:"editor-textcolor",allowReset:!0}),wp.element.createElement(M,{label:k("Description Font Size"),value:L,onChange:function(e){return n({subHeadFontSize:e})},min:10,max:200,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0}),("text"===te||"button"===te)&&wp.element.createElement(M,{label:k("CTA Font Size"),value:ie,onChange:function(e){return n({ctaFontSize:e})},min:0,max:50,initialPosition:16,beforeIcon:"editor-textcolor",allowReset:!0})),wp.element.createElement(P,{title:k("Color Settings"),initialOpen:!1,colorSettings:[{value:c,onChange:function(e){return n({prefixColor:e})},label:k("Prefix Title Color")},{value:i,onChange:function(e){return n({headingColor:e})},label:k("Title Color")},{value:l,onChange:function(e){return n({subHeadingColor:e})},label:k("Description Color")}]},"text"===te&&wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("CTA Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:oe}}))),wp.element.createElement(S,{value:oe,onChange:function(e){return n({ctaLinkColor:e})},allowReset:!0})),"button"===te&&wp.element.createElement(B,null,wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("CTA Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:le}}))),wp.element.createElement(S,{value:le,onChange:function(e){return n({ctaBtnLinkColor:e})},allowReset:!0})),wp.element.createElement(B,null,wp.element.createElement("p",{className:"uagb-setting-label"},k("CTA Background Color"),wp.element.createElement("span",{className:"components-base-control__label"},wp.element.createElement("span",{className:"component-color-indicator",style:{backgroundColor:ue}}))),wp.element.createElement(S,{value:ue,onChange:function(e){return n({ctaBgColor:e})},allowReset:!0}))))),Re=wp.element.createElement(B,null,wp.element.createElement(R,{title:k("Spacing"),initialOpen:!1},wp.element.createElement(M,{label:k("Prefix Bottom Margin"),value:ge,onChange:function(e){return n({prefixSpace:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Title Bottom Margin"),value:U,onChange:function(e){return n({headSpace:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Seperator Bottom Margin"),value:F,onChange:function(e){return n({seperatorSpace:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Description Bottom Margin"),value:W,onChange:function(e){return n({subHeadSpace:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(R,{title:k("Image/Icon Margins"),initialOpen:!0},wp.element.createElement(M,{label:k("Left Margin"),value:he,onChange:function(e){return n({iconLeftMargin:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Right Margin"),value:be,onChange:function(e){return n({iconRightMargin:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Top Margin"),value:ve,onChange:function(e){return n({iconTopMargin:e})},min:0,max:50,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Bottom Margin"),value:ye,onChange:function(e){return n({iconBottomMargin:e})},min:0,max:50,beforeIcon:"",allowReset:!0})))),Ie=[{value:"thumbnail",label:k("Thumbnail")},{value:"medium",label:k("Medium")},{value:"full",label:k("Large")}],Me="Select Image";we&&(Me=null==we.url||""==we.url?"Select Image":"Replace Image");var je=wp.element.createElement(B,null,wp.element.createElement(z,{className:"editor-bg-image-control",label:k("Image")},wp.element.createElement(O,{title:k("Select Image"),onSelect:this.onSelectImage,allowedTypes:["image"],value:we,render:function(e){var t=e.open;return wp.element.createElement(D,{isDefault:!0,onClick:t},Me)}}),we&&"null"!==we.url&&""!==we.url&&wp.element.createElement(D,{className:"uagb-rm-btn",onClick:this.onRemoveImage,isLink:!0,isDestructive:!0},k("Remove Image"))),we&&"null"!==we.url&&""!==we.url&&wp.element.createElement(B,null,wp.element.createElement(I,{label:k("Image Size"),options:Ie,value:_e,onChange:function(e){return n({imageSize:e})}}),wp.element.createElement(M,{label:k("Width"),value:ke,onChange:function(e){return n({imageWidth:e})},min:0,max:500,beforeIcon:"",allowReset:!0}),wp.element.createElement(M,{label:k("Rounded Corners"),value:Y,onChange:function(e){return n({iconimgBorderRadius:e})},min:0,max:500,beforeIcon:"",allowReset:!0}))),Ae=wp.element.createElement(B,null,wp.element.createElement(T,null,wp.element.createElement(R,{title:k("Image/Icon")},wp.element.createElement(I,{label:k("Select Position"),value:$,onChange:function(e){return n({iconimgPosition:e})},options:[{value:"above-title",label:k("Above Heading")},{value:"below-title",label:k("Below Heading")},{value:"left-title",label:k("Left of Heading")},{value:"right-title",label:k("Right of Heading")},{value:"left",label:k("Left of Text and Heading")},{value:"right",label:k("Right of Text and Heading")}]}),("left"==$||"right"==$)&&wp.element.createElement(I,{label:k("Stack on"),value:Ee,options:[{value:"none",label:k("None")},{value:"tablet",label:k("Tablet")},{value:"mobile",label:k("Mobile")}],help:k("Note: Choose on what breakpoint the Info Box will stack."),onChange:function(e){return n({stack:e})}}),wp.element.createElement(I,{label:k("Select Source"),value:K,onChange:function(e){return n({source_type:e})},options:[{value:"icon",label:k("Icon")},{value:"image",label:k("Image")}]}),$&&"above-title"!==$&&"below-title"!==$&&wp.element.createElement(I,{label:k("Vertical ALignment"),value:Q,onChange:function(e){return n({sourceAlign:e})},options:[{value:"top",label:k("Top")},{value:"middle",label:k("Middle")}]}),K&&"icon"==K&&Te,K&&"image"==K&&je),Pe,Oe,Ne,Re)),ze="";ze="icon"===K?wp.element.createElement(g.a,{attributes:r}):wp.element.createElement(w.a,{attributes:r});var De=wp.element.createElement(B,null,"none"!==X&&wp.element.createElement(b.a,{attributes:r}),wp.element.createElement("div",{className:"uagb-ifb-text-wrap"},wp.element.createElement(m.a,{attributes:r,setAttributes:n,props:this.props}),wp.element.createElement(v.a,{attributes:r}))),Le=wp.element.createElement(B,null,wp.element.createElement("div",{className:"uagb-ifb-title-wrap"},wp.element.createElement(p.a,{attributes:r,setAttributes:n,props:this.props}),wp.element.createElement(d.a,{attributes:r,setAttributes:n,props:this.props}))),Fe=wp.element.createElement(B,null,wp.element.createElement("div",{className:u.a.apply(void 0,["uagb-infobox__content-wrap"].concat(a(Object(h.a)(r))))},wp.element.createElement("div",{className:"uagb-ifb-left-right-wrap"},"left"==$&&ze,wp.element.createElement("div",{className:"uagb-ifb-content"},"above-title"==$&&ze,("above-title"==$||"below-title"==$)&&Le,"below-title"==$&&ze,("above-title"==$||"below-title"==$)&&De,"left-title"===$&&wp.element.createElement(B,null,wp.element.createElement("div",{className:"uagb-ifb-left-title-image"},ze,Le),De),"right-title"===$&&wp.element.createElement(B,null,wp.element.createElement("div",{className:"uagb-ifb-right-title-image"},Le,ze),De),("left"==$||"right"==$)&&wp.element.createElement(B,null,Le,De)),"right"==$&&ze)));return wp.element.createElement(B,null,("above-title"==$||"below-title"==$)&&wp.element.createElement(C,{key:"controls"},wp.element.createElement(x,{value:o,onChange:function(e){return n({headingAlign:e})}})),Ae,wp.element.createElement("div",{className:u()(t,"uagb-infobox__outer-wrap"),id:Se},"all"==te&&wp.element.createElement(B,null,wp.element.createElement("a",{href:ae,className:"uagb-infobox-link-wrap",rel:"noopener noreferrer"}," ",Fe)),"all"!==te&&Fe))}},{key:"componentDidMount",value:function(){this.props.setAttributes({block_id:this.props.clientId});var e=document.createElement("style");e.setAttribute("id","uagb-info-box-style-"+this.props.clientId),document.head.appendChild(e)}}]),t}(F);t.a=U},function(e,t,n){"use strict";(function(t){function a(){return null}var r=n(15),o=n(36),i=n(37),l=function(){};"production"!==t.env.NODE_ENV&&(l=function(e){var t="Warning: "+e;"undefined"!==typeof console&&console.error(t);try{throw new Error(t)}catch(e){}}),e.exports=function(e,n){function u(e){var t=e&&(S&&e[S]||e[T]);if("function"===typeof t)return t}function s(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function c(e){this.message=e,this.stack=""}function f(e){function a(a,u,s,f,p,d,m){if(f=f||P,d=d||s,m!==o){if(n){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}if("production"!==t.env.NODE_ENV&&"undefined"!==typeof console){var h=f+":"+s;!r[h]&&i<3&&(l("You are manually calling a React.PropTypes validation function for the `"+d+"` prop on `"+f+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[h]=!0,i++)}}return null==u[s]?a?new c(null===u[s]?"The "+p+" `"+d+"` is marked as required in `"+f+"`, but its value is `null`.":"The "+p+" `"+d+"` is marked as required in `"+f+"`, but its value is `undefined`."):null:e(u,s,f,p,d)}if("production"!==t.env.NODE_ENV)var r={},i=0;var u=a.bind(null,!1);return u.isRequired=a.bind(null,!0),u}function p(e){function t(t,n,a,r,o,i){var l=t[n];if(k(l)!==e)return new c("Invalid "+r+" `"+o+"` of type `"+E(l)+"` supplied to `"+a+"`, expected `"+e+"`.");return null}return f(t)}function d(e){function t(t,n,a,r,i){if("function"!==typeof e)return new c("Property `"+i+"` of component `"+a+"` has invalid PropType notation inside arrayOf.");var l=t[n];if(!Array.isArray(l)){return new c("Invalid "+r+" `"+i+"` of type `"+k(l)+"` supplied to `"+a+"`, expected an array.")}for(var u=0;u<l.length;u++){var s=e(l,u,a,r,i+"["+u+"]",o);if(s instanceof Error)return s}return null}return f(t)}function m(e){function t(t,n,a,r,o){if(!(t[n]instanceof e)){var i=e.name||P;return new c("Invalid "+r+" `"+o+"` of type `"+C(t[n])+"` supplied to `"+a+"`, expected instance of `"+i+"`.")}return null}return f(t)}function g(e){function n(t,n,a,r,o){for(var i=t[n],l=0;l<e.length;l++)if(s(i,e[l]))return null;return new c("Invalid "+r+" `"+o+"` of value `"+i+"` supplied to `"+a+"`, expected one of "+JSON.stringify(e)+".")}return Array.isArray(e)?f(n):("production"!==t.env.NODE_ENV&&l("Invalid argument supplied to oneOf, expected an instance of array."),a)}function h(e){function t(t,n,a,r,i){if("function"!==typeof e)return new c("Property `"+i+"` of component `"+a+"` has invalid PropType notation inside objectOf.");var l=t[n],u=k(l);if("object"!==u)return new c("Invalid "+r+" `"+i+"` of type `"+u+"` supplied to `"+a+"`, expected an object.");for(var s in l)if(l.hasOwnProperty(s)){var f=e(l,s,a,r,i+"."+s,o);if(f instanceof Error)return f}return null}return f(t)}function b(e){function n(t,n,a,r,i){for(var l=0;l<e.length;l++){if(null==(0,e[l])(t,n,a,r,i,o))return null}return new c("Invalid "+r+" `"+i+"` supplied to `"+a+"`.")}if(!Array.isArray(e))return"production"!==t.env.NODE_ENV&&l("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var r=0;r<e.length;r++){var i=e[r];if("function"!==typeof i)return l("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+x(i)+" at index "+r+"."),a}return f(n)}function v(e){function t(t,n,a,r,i){var l=t[n],u=k(l);if("object"!==u)return new c("Invalid "+r+" `"+i+"` of type `"+u+"` supplied to `"+a+"`, expected `object`.");for(var s in e){var f=e[s];if(f){var p=f(l,s,a,r,i+"."+s,o);if(p)return p}}return null}return f(t)}function y(e){function t(t,n,a,i,l){var u=t[n],s=k(u);if("object"!==s)return new c("Invalid "+i+" `"+l+"` of type `"+s+"` supplied to `"+a+"`, expected `object`.");var f=r({},t[n],e);for(var p in f){var d=e[p];if(!d)return new c("Invalid "+i+" `"+l+"` key `"+p+"` supplied to `"+a+"`.\nBad object: "+JSON.stringify(t[n],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var m=d(u,p,a,i,l+"."+p,o);if(m)return m}return null}return f(t)}function w(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(w);if(null===t||e(t))return!0;var n=u(t);if(!n)return!1;var a,r=n.call(t);if(n!==t.entries){for(;!(a=r.next()).done;)if(!w(a.value))return!1}else for(;!(a=r.next()).done;){var o=a.value;if(o&&!w(o[1]))return!1}return!0;default:return!1}}function _(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"===typeof Symbol&&t instanceof Symbol)}function k(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":_(t,e)?"symbol":t}function E(e){if("undefined"===typeof e||null===e)return""+e;var t=k(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function x(e){var t=E(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}function C(e){return e.constructor&&e.constructor.name?e.constructor.name:P}var S="function"===typeof Symbol&&Symbol.iterator,T="@@iterator",P="<<anonymous>>",O={array:p("array"),bool:p("boolean"),func:p("function"),number:p("number"),object:p("object"),string:p("string"),symbol:p("symbol"),any:function(){return f(a)}(),arrayOf:d,element:function(){function t(t,n,a,r,o){var i=t[n];if(!e(i)){return new c("Invalid "+r+" `"+o+"` of type `"+k(i)+"` supplied to `"+a+"`, expected a single ReactElement.")}return null}return f(t)}(),instanceOf:m,node:function(){function e(e,t,n,a,r){return w(e[t])?null:new c("Invalid "+a+" `"+r+"` supplied to `"+n+"`, expected a ReactNode.")}return f(e)}(),objectOf:h,oneOf:g,oneOfType:b,shape:v,exact:y};return c.prototype=Error.prototype,O.checkPropTypes=i,O.PropTypes=O,O}}).call(t,n(1))},function(e,t,n){"use strict";function a(){}var r=n(36);e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=a,n.PropTypes=n,n}},function(e,t,n){"use strict";function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=0;a<t;a++)n+="&args[]="+encodeURIComponent(arguments[a+1]);v(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function r(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||I}function o(){}function i(e,t,n){this.props=e,this.context=t,this.refs=y,this.updater=n||I}function l(e,t,n){var a=void 0,r={},o=null,i=null;if(null!=t)for(a in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(o=""+t.key),t)A.call(t,a)&&!z.hasOwnProperty(a)&&(r[a]=t[a]);var l=arguments.length-2;if(1===l)r.children=n;else if(1<l){for(var u=Array(l),s=0;s<l;s++)u[s]=arguments[s+2];r.children=u}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===r[a]&&(r[a]=l[a]);return{$$typeof:k,type:e,key:o,ref:i,props:r,_owner:j.current}}function u(e){return"object"===typeof e&&null!==e&&e.$$typeof===k}function s(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function c(e,t,n,a){if(L.length){var r=L.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=a,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:a,count:0}}function f(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>L.length&&L.push(e)}function p(e,t,n,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case k:case E:i=!0}}if(i)return n(r,e,""===t?"."+d(e,0):t),1;if(i=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l<e.length;l++){o=e[l];var u=t+d(o,l);i+=p(o,u,n,r)}else if(null===e||"undefined"===typeof e?u=null:(u=R&&e[R]||e["@@iterator"],u="function"===typeof u?u:null),"function"===typeof u)for(e=u.call(e),l=0;!(o=e.next()).done;)o=o.value,u=t+d(o,l++),i+=p(o,u,n,r);else"object"===o&&(n=""+e,a("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return i}function d(e,t){return"object"===typeof e&&null!==e&&null!=e.key?s(e.key):t.toString(36)}function m(e,t){e.func.call(e.context,t,e.count++)}function g(e,t,n){var a=e.result,r=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?h(e,a,n,w.thatReturnsArgument):null!=e&&(u(e)&&(t=r+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(D,"$&/")+"/")+n,e={$$typeof:k,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),a.push(e))}function h(e,t,n,a,r){var o="";null!=n&&(o=(""+n).replace(D,"$&/")+"/"),t=c(t,o,a,r),null==e||p(e,"",g,t),f(t)}var b=n(15),v=n(25),y=n(26),w=n(16),_="function"===typeof Symbol&&Symbol.for,k=_?Symbol.for("react.element"):60103,E=_?Symbol.for("react.portal"):60106,x=_?Symbol.for("react.fragment"):60107,C=_?Symbol.for("react.strict_mode"):60108,S=_?Symbol.for("react.profiler"):60114,T=_?Symbol.for("react.provider"):60109,P=_?Symbol.for("react.context"):60110,O=_?Symbol.for("react.async_mode"):60111,N=_?Symbol.for("react.forward_ref"):60112;_&&Symbol.for("react.timeout");var R="function"===typeof Symbol&&Symbol.iterator,I={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!==typeof e&&"function"!==typeof e&&null!=e&&a("85"),this.updater.enqueueSetState(this,e,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},o.prototype=r.prototype;var M=i.prototype=new o;M.constructor=i,b(M,r.prototype),M.isPureReactComponent=!0;var j={current:null},A=Object.prototype.hasOwnProperty,z={key:!0,ref:!0,__self:!0,__source:!0},D=/\/+/g,L=[],F={Children:{map:function(e,t,n){if(null==e)return e;var a=[];return h(e,a,null,t,n),a},forEach:function(e,t,n){if(null==e)return e;t=c(null,null,t,n),null==e||p(e,"",m,t),f(t)},count:function(e){return null==e?0:p(e,"",w.thatReturnsNull,null)},toArray:function(e){var t=[];return h(e,t,null,w.thatReturnsArgument),t},only:function(e){return u(e)||a("143"),e}},createRef:function(){return{current:null}},Component:r,PureComponent:i,createContext:function(e,t){return void 0===t&&(t=null),e={$$typeof:P,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null},e.Provider={$$typeof:T,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:N,render:e}},Fragment:x,StrictMode:C,unstable_AsyncMode:O,unstable_Profiler:S,createElement:l,cloneElement:function(e,t,n){(null===e||void 0===e)&&a("267",e);var r=void 0,o=b({},e.props),i=e.key,l=e.ref,u=e._owner;if(null!=t){void 0!==t.ref&&(l=t.ref,u=j.current),void 0!==t.key&&(i=""+t.key);var s=void 0;e.type&&e.type.defaultProps&&(s=e.type.defaultProps);for(r in t)A.call(t,r)&&!z.hasOwnProperty(r)&&(o[r]=void 0===t[r]&&void 0!==s?s[r]:t[r])}if(1===(r=arguments.length-2))o.children=n;else if(1<r){s=Array(r);for(var c=0;c<r;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:k,type:e.type,key:i,ref:l,props:o,_owner:u}},createFactory:function(e){var t=l.bind(null,e);return t.type=e,t},isValidElement:u,version:"16.4.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:j,assign:b}},B={default:F},U=B&&F||B;e.exports=U.default?U.default:U},function(e,t,n){"use strict";(function(t){"production"!==t.env.NODE_ENV&&function(){function t(e){if(null===e||"undefined"===typeof e)return null;var t=ue&&e[ue]||e[se];return"function"===typeof t?t:null}function a(e,t){var n=e.constructor,a=n&&(n.displayName||n.name)||"ReactClass",r=a+"."+t;de[r]||(Y(!1,"Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,a),de[r]=!0)}function r(e,t,n){this.props=e,this.context=t,this.refs=G,this.updater=n||me}function o(){}function i(e,t,n){this.props=e,this.context=t,this.refs=G,this.updater=n||me}function l(){var e={current:null};return Object.seal(e),e}function u(e){if(ye.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function s(e){if(ye.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function c(e,t){var n=function(){_e||(_e=!0,Y(!1,"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function f(e,t){var n=function(){ke||(ke=!0,Y(!1,"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}function p(e,t,n){var a=void 0,r={},o=null,i=null,l=null,p=null;if(null!=t){u(t)&&(i=t.ref),s(t)&&(o=""+t.key),l=void 0===t.__self?null:t.__self,p=void 0===t.__source?null:t.__source;for(a in t)ye.call(t,a)&&!we.hasOwnProperty(a)&&(r[a]=t[a])}var d=arguments.length-2;if(1===d)r.children=n;else if(d>1){for(var m=Array(d),g=0;g<d;g++)m[g]=arguments[g+2];Object.freeze&&Object.freeze(m),r.children=m}if(e&&e.defaultProps){var h=e.defaultProps;for(a in h)void 0===r[a]&&(r[a]=h[a])}if((o||i)&&("undefined"===typeof r.$$typeof||r.$$typeof!==J)){var b="function"===typeof e?e.displayName||e.name||"Unknown":e;o&&c(r,b),i&&f(r,b)}return Ee(e,o,i,l,p,ve.current,r)}function d(e,t){return Ee(e.type,t,e.ref,e._self,e._source,e._owner,e.props)}function m(e,t,n){(null===e||void 0===e)&&$(!1,"React.cloneElement(...): The argument must be a React element, but you passed %s.",e);var a=void 0,r=q({},e.props),o=e.key,i=e.ref,l=e._self,c=e._source,f=e._owner;if(null!=t){u(t)&&(i=t.ref,f=ve.current),s(t)&&(o=""+t.key);var p=void 0;e.type&&e.type.defaultProps&&(p=e.type.defaultProps);for(a in t)ye.call(t,a)&&!we.hasOwnProperty(a)&&(void 0===t[a]&&void 0!==p?r[a]=p[a]:r[a]=t[a])}var d=arguments.length-2;if(1===d)r.children=n;else if(d>1){for(var m=Array(d),g=0;g<d;g++)m[g]=arguments[g+2];r.children=m}return Ee(e.type,o,i,l,c,f,r)}function g(e){return"object"===typeof e&&null!==e&&e.$$typeof===J}function h(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function b(e){return(""+e).replace(Pe,"$&/")}function v(e,t,n,a){if(Ne.length){var r=Ne.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=a,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:a,count:0}}function y(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,Ne.length<Oe&&Ne.push(e)}function w(e,n,a,r){var o=typeof e;"undefined"!==o&&"boolean"!==o||(e=null);var i=!1;if(null===e)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case J:case Z:i=!0}}if(i)return a(r,e,""===n?Ce+k(e,0):n),1;var l=void 0,u=void 0,s=0,c=""===n?Ce:n+Se;if(Array.isArray(e))for(var f=0;f<e.length;f++)l=e[f],u=c+k(l,f),s+=w(l,u,a,r);else{var p=t(e);if("function"===typeof p){p===e.entries&&(Te||Y(!1,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s",xe.getStackAddendum()),Te=!0);for(var d=p.call(e),m=void 0,g=0;!(m=d.next()).done;)l=m.value,u=c+k(l,g++),s+=w(l,u,a,r)}else if("object"===o){var h="";h=" If you meant to render a collection of children, use an array instead."+xe.getStackAddendum();var b=""+e;$(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(e).join(", ")+"}":b,h)}}return s}function _(e,t,n){return null==e?0:w(e,"",t,n)}function k(e,t){return"object"===typeof e&&null!==e&&null!=e.key?h(e.key):t.toString(36)}function E(e,t,n){var a=e.func,r=e.context;a.call(r,t,e.count++)}function x(e,t,n){if(null==e)return e;var a=v(null,null,t,n);_(e,E,a),y(a)}function C(e,t,n){var a=e.result,r=e.keyPrefix,o=e.func,i=e.context,l=o.call(i,t,e.count++);Array.isArray(l)?S(l,a,n,K.thatReturnsArgument):null!=l&&(g(l)&&(l=d(l,r+(!l.key||t&&t.key===l.key?"":b(l.key)+"/")+n)),a.push(l))}function S(e,t,n,a,r){var o="";null!=n&&(o=b(n)+"/");var i=v(t,o,a,r);_(e,C,i),y(i)}function T(e,t,n){if(null==e)return e;var a=[];return S(e,a,null,t,n),a}function P(e){return _(e,K.thatReturnsNull,null)}function O(e){var t=[];return S(e,t,null,K.thatReturnsArgument),t}function N(e){return g(e)||$(!1,"React.Children.only expected to receive a single React element child."),e}function R(e,t){void 0===t?t=null:null!==t&&"function"!==typeof t&&Y(!1,"createContext: Expected the optional second argument to be a function. Instead received: %s",t);var n={$$typeof:re,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null};return n.Provider={$$typeof:ae,_context:n},n.Consumer=n,n._currentRenderer=null,n._currentRenderer2=null,n}function I(e){return"function"!==typeof e&&Y(!1,"forwardRef requires a render function but was given %s.",null===e?"null":typeof e),null!=e&&(null!=e.defaultProps||null!=e.propTypes)&&Y(!1,"forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"),{$$typeof:ie,render:e}}function M(e){return"string"===typeof e||"function"===typeof e||e===ee||e===oe||e===ne||e===te||e===le||"object"===typeof e&&null!==e&&(e.$$typeof===ae||e.$$typeof===re||e.$$typeof===ie)}function j(e){var t=e.type;if("function"===typeof t)return t.displayName||t.name;if("string"===typeof t)return t;switch(t){case oe:return"AsyncMode";case re:return"Context.Consumer";case ee:return"ReactFragment";case Z:return"ReactPortal";case ne:return"Profiler("+e.pendingProps.id+")";case ae:return"Context.Provider";case te:return"StrictMode";case le:return"Timeout"}if("object"===typeof t&&null!==t)switch(t.$$typeof){case ie:var n=t.render.displayName||t.render.name||"";return""!==n?"ForwardRef("+n+")":"ForwardRef"}return null}function A(){if(ve.current){var e=j(ve.current);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}function z(e){if(null!==e&&void 0!==e&&void 0!==e.__source){var t=e.__source;return"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+"."}return""}function D(e){var t=A();if(!t){var n="string"===typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}function L(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=D(t);if(!ze[n]){ze[n]=!0;var a="";e&&e._owner&&e._owner!==ve.current&&(a=" It was passed a child from "+j(e._owner)+"."),Ie=e,Y(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',n,a,Ae()),Ie=null}}}function F(e,n){if("object"===typeof e)if(Array.isArray(e))for(var a=0;a<e.length;a++){var r=e[a];g(r)&&L(r,n)}else if(g(e))e._store&&(e._store.validated=!0);else if(e){var o=t(e);if("function"===typeof o&&o!==e.entries)for(var i=o.call(e),l=void 0;!(l=i.next()).done;)g(l.value)&&L(l.value,n)}}function B(e){var t=e.type,n=void 0,a=void 0;if("function"===typeof t)n=t.displayName||t.name,a=t.propTypes;else{if("object"!==typeof t||null===t||t.$$typeof!==ie)return;var r=t.render.displayName||t.render.name||"";n=""!==r?"ForwardRef("+r+")":"ForwardRef",a=t.propTypes}a?(Ie=e,Q(a,e.props,"prop",n,Ae),Ie=null):void 0===t.PropTypes||Me||(Me=!0,Y(!1,"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",n||"Unknown")),"function"===typeof t.getDefaultProps&&(t.getDefaultProps.isReactClassApproved||Y(!1,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead."))}function U(e){Ie=e;for(var t=Object.keys(e.props),n=0;n<t.length;n++){var a=t[n];if("children"!==a&&"key"!==a){Y(!1,"Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.%s",a,Ae());break}}null!==e.ref&&Y(!1,"Invalid attribute `ref` supplied to `React.Fragment`.%s",Ae()),Ie=null}function W(e,t,n){var a=M(e);if(!a){var r="";(void 0===e||"object"===typeof e&&null!==e&&0===Object.keys(e).length)&&(r+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var o=z(t);r+=o||A(),r+=Ae()||"";var i=void 0;i=null===e?"null":Array.isArray(e)?"array":typeof e,Y(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",i,r)}var l=p.apply(this,arguments);if(null==l)return l;if(a)for(var u=2;u<arguments.length;u++)F(arguments[u],e);return e===ee?U(l):B(l),l}function H(e){var t=W.bind(null,e);return t.type=e,Object.defineProperty(t,"type",{enumerable:!1,get:function(){return pe(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t}function V(e,t,n){for(var a=m.apply(this,arguments),r=2;r<arguments.length;r++)F(arguments[r],a.type);return B(a),a}var q=n(15),$=n(25),G=n(26),Y=n(72),K=n(16),Q=n(37),X="function"===typeof Symbol&&Symbol.for,J=X?Symbol.for("react.element"):60103,Z=X?Symbol.for("react.portal"):60106,ee=X?Symbol.for("react.fragment"):60107,te=X?Symbol.for("react.strict_mode"):60108,ne=X?Symbol.for("react.profiler"):60114,ae=X?Symbol.for("react.provider"):60109,re=X?Symbol.for("react.context"):60110,oe=X?Symbol.for("react.async_mode"):60111,ie=X?Symbol.for("react.forward_ref"):60112,le=X?Symbol.for("react.timeout"):60113,ue="function"===typeof Symbol&&Symbol.iterator,se="@@iterator",ce=function(){},fe=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=0,o="Warning: "+e.replace(/%s/g,function(){return n[r++]});"undefined"!==typeof console&&console.warn(o);try{throw new Error(o)}catch(e){}};ce=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var n=arguments.length,a=Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];fe.apply(void 0,[t].concat(a))}};var pe=ce,de={},me={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){a(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){a(e,"replaceState")},enqueueSetState:function(e,t,n,r){a(e,"setState")}};r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!==typeof e&&"function"!==typeof e&&null!=e&&$(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,e,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var ge={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(var he in ge)ge.hasOwnProperty(he)&&function(e,t){Object.defineProperty(r.prototype,e,{get:function(){pe(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}(he,ge[he]);o.prototype=r.prototype;var be=i.prototype=new o;be.constructor=i,q(be,r.prototype),be.isPureReactComponent=!0;var ve={current:null},ye=Object.prototype.hasOwnProperty,we={key:!0,ref:!0,__self:!0,__source:!0},_e=void 0,ke=void 0,Ee=function(e,t,n,a,r,o,i){var l={$$typeof:J,type:e,key:t,ref:n,props:i,_owner:o};return l._store={},Object.defineProperty(l._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(l,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(l,"_source",{configurable:!1,enumerable:!1,writable:!1,value:r}),Object.freeze&&(Object.freeze(l.props),Object.freeze(l)),l},xe={};xe.getCurrentStack=null,xe.getStackAddendum=function(){var e=xe.getCurrentStack;return e?e():null};var Ce=".",Se=":",Te=!1,Pe=/\/+/g,Oe=10,Ne=[],Re=function(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")},Ie=void 0,Me=void 0,je=function(){},Ae=function(){};Ie=null,Me=!1,je=function(e){if(null==e)return"#empty";if("string"===typeof e||"number"===typeof e)return"#text";if("string"===typeof e.type)return e.type;var t=e.type;if(t===ee)return"React.Fragment";if("object"===typeof t&&null!==t&&t.$$typeof===ie){var n=t.render.displayName||t.render.name||"";return""!==n?"ForwardRef("+n+")":"ForwardRef"}return t.displayName||t.name||"Unknown"},Ae=function(){var e="";if(Ie){var t=je(Ie),n=Ie._owner;e+=Re(t,Ie._source,n&&j(n))}return e+=xe.getStackAddendum()||""};var ze={},De={Children:{map:T,forEach:x,count:P,toArray:O,only:N},createRef:l,Component:r,PureComponent:i,createContext:R,forwardRef:I,Fragment:ee,StrictMode:te,unstable_AsyncMode:oe,unstable_Profiler:ne,createElement:W,cloneElement:V,createFactory:H,isValidElement:g,version:"16.4.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:ve,assign:q}};q(De.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,{ReactDebugCurrentFrame:xe,ReactComponentTreeHook:{}});var Le=Object.freeze({default:De}),Fe=Le&&De||Le,Be=Fe.default?Fe.default:Fe;e.exports=Be}()}).call(t,n(1))},function(e,t,n){"use strict";function a(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=0;a<t;a++)n+="&args[]="+encodeURIComponent(arguments[a+1]);ja(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function r(e,t,n,a,r,o,i,l,u){this._hasCaughtError=!1,this._caughtError=null;var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this._caughtError=e,this._hasCaughtError=!0}}function o(){if(Ha._hasRethrowError){var e=Ha._rethrowError;throw Ha._rethrowError=null,Ha._hasRethrowError=!1,e}}function i(){if(Va)for(var e in qa){var t=qa[e],n=Va.indexOf(e);if(-1<n||a("96",e),!$a[n]){t.extractEvents||a("97",e),$a[n]=t,n=t.eventTypes;for(var r in n){var o=void 0,i=n[r],u=t,s=r;Ga.hasOwnProperty(s)&&a("99",s),Ga[s]=i;var c=i.phasedRegistrationNames;if(c){for(o in c)c.hasOwnProperty(o)&&l(c[o],u,s);o=!0}else i.registrationName?(l(i.registrationName,u,s),o=!0):o=!1;o||a("98",r,e)}}}}function l(e,t,n){Ya[e]&&a("100",e),Ya[e]=t,Ka[e]=t.eventTypes[n].dependencies}function u(e){Va&&a("101"),Va=Array.prototype.slice.call(e),i()}function s(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];qa.hasOwnProperty(t)&&qa[t]===r||(qa[t]&&a("102",t),qa[t]=r,n=!0)}n&&i()}function c(e,t,n,a){t=e.type||"unknown-event",e.currentTarget=Za(a),Ha.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function f(e,t){return null==t&&a("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function p(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function d(e,t){if(e){var n=e._dispatchListeners,a=e._dispatchInstances;if(Array.isArray(n))for(var r=0;r<n.length&&!e.isPropagationStopped();r++)c(e,t,n[r],a[r]);else n&&c(e,t,n,a);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function m(e){return d(e,!0)}function g(e){return d(e,!1)}function h(e,t){var n=e.stateNode;if(!n)return null;var r=Xa(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(r=!r.disabled)||(e=e.type,r=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}return e?null:(n&&"function"!==typeof n&&a("231",t,typeof n),n)}function b(e,t){null!==e&&(er=f(er,e)),e=er,er=null,e&&(t?p(e,m):p(e,g),er&&a("95"),Ha.rethrowCaughtError())}function v(e,t,n,a){for(var r=null,o=0;o<$a.length;o++){var i=$a[o];i&&(i=i.extractEvents(e,t,n,a))&&(r=f(r,i))}b(r,!1)}function y(e){if(e[rr])return e[rr];for(;!e[rr];){if(!e.parentNode)return null;e=e.parentNode}return e=e[rr],5===e.tag||6===e.tag?e:null}function w(e){if(5===e.tag||6===e.tag)return e.stateNode;a("33")}function _(e){return e[or]||null}function k(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function E(e,t,n){for(var a=[];e;)a.push(e),e=k(e);for(e=a.length;0<e--;)t(a[e],"captured",n);for(e=0;e<a.length;e++)t(a[e],"bubbled",n)}function x(e,t,n){(t=h(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=f(n._dispatchListeners,t),n._dispatchInstances=f(n._dispatchInstances,e))}function C(e){e&&e.dispatchConfig.phasedRegistrationNames&&E(e._targetInst,x,e)}function S(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;t=t?k(t):null,E(t,x,e)}}function T(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=h(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=f(n._dispatchListeners,t),n._dispatchInstances=f(n._dispatchInstances,e))}function P(e){e&&e.dispatchConfig.registrationName&&T(e._targetInst,null,e)}function O(e){p(e,C)}function N(e,t,n,a){if(n&&a)e:{for(var r=n,o=a,i=0,l=r;l;l=k(l))i++;l=0;for(var u=o;u;u=k(u))l++;for(;0<i-l;)r=k(r),i--;for(;0<l-i;)o=k(o),l--;for(;i--;){if(r===o||r===o.alternate)break e;r=k(r),o=k(o)}r=null}else r=null;for(o=r,r=[];n&&n!==o&&(null===(i=n.alternate)||i!==o);)r.push(n),n=k(n);for(n=[];a&&a!==o&&(null===(i=a.alternate)||i!==o);)n.push(a),a=k(a);for(a=0;a<r.length;a++)T(r[a],"bubbled",e);for(e=n.length;0<e--;)T(n[e],"captured",t)}function R(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function I(e){if(sr[e])return sr[e];if(!ur[e])return e;var t,n=ur[e];for(t in n)if(n.hasOwnProperty(t)&&t in cr)return sr[e]=n[t];return e}function M(){return!hr&&za.canUseDOM&&(hr="textContent"in document.documentElement?"textContent":"innerText"),hr}function j(){if(br._fallbackText)return br._fallbackText;var e,t,n=br._startText,a=n.length,r=A(),o=r.length;for(e=0;e<a&&n[e]===r[e];e++);var i=a-e;for(t=1;t<=i&&n[a-t]===r[o-t];t++);return br._fallbackText=r.slice(e,1<t?1-t:void 0),br._fallbackText}function A(){return"value"in br._root?br._root.value:br._root[M()]}function z(e,t,n,a){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface;for(var r in e)e.hasOwnProperty(r)&&((t=e[r])?this[r]=t(n):"target"===r?this.target=a:this[r]=n[r]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?La.thatReturnsTrue:La.thatReturnsFalse,this.isPropagationStopped=La.thatReturnsFalse,this}function D(e,t,n,a){if(this.eventPool.length){var r=this.eventPool.pop();return this.call(r,e,t,n,a),r}return new this(e,t,n,a)}function L(e){e instanceof this||a("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function F(e){e.eventPool=[],e.getPooled=D,e.release=L}function B(e,t){switch(e){case"keyup":return-1!==kr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function U(e){return e=e.detail,"object"===typeof e&&"data"in e?e.data:null}function W(e,t){switch(e){case"compositionend":return U(t);case"keypress":return 32!==t.which?null:(Or=!0,Tr);case"textInput":return e=t.data,e===Tr&&Or?null:e;default:return null}}function H(e,t){if(Nr)return"compositionend"===e||!Er&&B(e,t)?(e=j(),br._root=null,br._startText=null,br._fallbackText=null,Nr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Sr?null:t.data;default:return null}}function V(e){if(e=Ja(e)){Ir&&"function"===typeof Ir.restoreControlledState||a("194");var t=Xa(e.stateNode);Ir.restoreControlledState(e.stateNode,e.type,t)}}function q(e){jr?Ar?Ar.push(e):Ar=[e]:jr=e}function $(){return null!==jr||null!==Ar}function G(){if(jr){var e=jr,t=Ar;if(Ar=jr=null,V(e),t)for(e=0;e<t.length;e++)V(t[e])}}function Y(e,t){return e(t)}function K(e,t,n){return e(t,n)}function Q(){}function X(e,t){if(Dr)return e(t);Dr=!0;try{return Y(e,t)}finally{Dr=!1,$()&&(Q(),G())}}function J(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Lr[e.type]:"textarea"===t}function Z(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ee(e,t){return!(!za.canUseDOM||t&&!("addEventListener"in document))&&(e="on"+e,t=e in document,t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t="function"===typeof t[e]),t)}function te(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ne(e){var t=te(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var r=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){a=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(e){a=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ae(e){e._valueTracker||(e._valueTracker=ne(e))}function re(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=te(e)?e.checked?"true":"false":e.value),(e=a)!==n&&(t.setValue(e),!0)}function oe(e){return null===e||"undefined"===typeof e?null:(e=Xr&&e[Xr]||e["@@iterator"],"function"===typeof e?e:null)}function ie(e){var t=e.type;if("function"===typeof t)return t.displayName||t.name;if("string"===typeof t)return t;switch(t){case Yr:return"AsyncMode";case Gr:return"Context.Consumer";case Hr:return"ReactFragment";case Wr:return"ReactPortal";case qr:return"Profiler("+e.pendingProps.id+")";case $r:return"Context.Provider";case Vr:return"StrictMode";case Qr:return"Timeout"}if("object"===typeof t&&null!==t)switch(t.$$typeof){case Kr:return e=t.render.displayName||t.render.name||"",""!==e?"ForwardRef("+e+")":"ForwardRef"}return null}function le(e){var t="";do{e:switch(e.tag){case 0:case 1:case 2:case 5:var n=e._debugOwner,a=e._debugSource,r=ie(e),o=null;n&&(o=ie(n)),n=a,r="\n in "+(r||"Unknown")+(n?" (at "+n.fileName.replace(/^.*[\\\/]/,"")+":"+n.lineNumber+")":o?" (created by "+o+")":"");break e;default:r=""}t+=r,e=e.return}while(e);return t}function ue(e){return!!Zr.call(to,e)||!Zr.call(eo,e)&&(Jr.test(e)?to[e]=!0:(eo[e]=!0,!1))}function se(e,t,n,a){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!a&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}function ce(e,t,n,a){if(null===t||"undefined"===typeof t||se(e,t,n,a))return!0;if(a)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function fe(e,t,n,a,r){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t}function pe(e){return e[1].toUpperCase()}function de(e,t,n,a){var r=no.hasOwnProperty(t)?no[t]:null;(null!==r?0===r.type:!a&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(ce(t,n,r,a)&&(n=null),a||null===r?ue(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,a=r.attributeNamespace,null===n?e.removeAttribute(t):(r=r.type,n=3===r||4===r&&!0===n?"":""+n,a?e.setAttributeNS(a,t,n):e.setAttribute(t,n))))}function me(e,t){var n=t.checked;return Da({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ge(e,t){var n=null==t.defaultValue?"":t.defaultValue,a=null!=t.checked?t.checked:t.defaultChecked;n=we(null!=t.value?t.value:n),e._wrapperState={initialChecked:a,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function he(e,t){null!=(t=t.checked)&&de(e,"checked",t,!1)}function be(e,t){he(e,t);var n=we(t.value);null!=n&&("number"===t.type?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n)),t.hasOwnProperty("value")?ye(e,t.type,n):t.hasOwnProperty("defaultValue")&&ye(e,t.type,we(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ve(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){t=""+e._wrapperState.initialValue;var a=e.value;n||t===a||(e.value=t),e.defaultValue=t}n=e.name,""!==n&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==n&&(e.name=n)}function ye(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function we(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function _e(e,t,n){return e=z.getPooled(ro.change,e,t,n),e.type="change",q(n),O(e),e}function ke(e){b(e,!1)}function Ee(e){if(re(w(e)))return e}function xe(e,t){if("change"===e)return t}function Ce(){oo&&(oo.detachEvent("onpropertychange",Se),io=oo=null)}function Se(e){"value"===e.propertyName&&Ee(io)&&(e=_e(io,e,Z(e)),X(ke,e))}function Te(e,t,n){"focus"===e?(Ce(),oo=t,io=n,oo.attachEvent("onpropertychange",Se)):"blur"===e&&Ce()}function Pe(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ee(io)}function Oe(e,t){if("click"===e)return Ee(t)}function Ne(e,t){if("input"===e||"change"===e)return Ee(t)}function Re(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=co[e])&&!!t[e]}function Ie(){return Re}function Me(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!==(2&t.effectTag))return 1;for(;t.return;)if(t=t.return,0!==(2&t.effectTag))return 1}return 3===t.tag?2:3}function je(e){2!==Me(e)&&a("188")}function Ae(e){var t=e.alternate;if(!t)return t=Me(e),3===t&&a("188"),1===t?null:e;for(var n=e,r=t;;){var o=n.return,i=o?o.alternate:null;if(!o||!i)break;if(o.child===i.child){for(var l=o.child;l;){if(l===n)return je(o),e;if(l===r)return je(o),t;l=l.sibling}a("188")}if(n.return!==r.return)n=o,r=i;else{l=!1;for(var u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}l||a("189")}}n.alternate!==r&&a("190")}return 3!==n.tag&&a("188"),n.stateNode.current===n?e:t}function ze(e){if(!(e=Ae(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function De(e){if(!(e=Ae(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Le(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Fe(e,t){var n=e[0];e=e[1];var a="on"+(e[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:a,captured:a+"Capture"},dependencies:[n],isInteractive:t},To[e]=t,Po[n]=t}function Be(e){var t=e.targetInst;do{if(!t){e.ancestors.push(t);break}var n;for(n=t;n.return;)n=n.return;if(!(n=3!==n.tag?null:n.stateNode.containerInfo))break;e.ancestors.push(t),t=y(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],v(e.topLevelType,t,e.nativeEvent,Z(e.nativeEvent))}function Ue(e){Io=!!e}function We(e,t){if(!t)return null;var n=(No(e)?Ve:qe).bind(null,e);t.addEventListener(e,n,!1)}function He(e,t){if(!t)return null;var n=(No(e)?Ve:qe).bind(null,e);t.addEventListener(e,n,!0)}function Ve(e,t){K(qe,e,t)}function qe(e,t){if(Io){var n=Z(t);if(n=y(n),null===n||"number"!==typeof n.tag||2===Me(n)||(n=null),Ro.length){var a=Ro.pop();a.topLevelType=e,a.nativeEvent=t,a.targetInst=n,e=a}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{X(Be,e)}finally{e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>Ro.length&&Ro.push(e)}}}function $e(e){return Object.prototype.hasOwnProperty.call(e,zo)||(e[zo]=Ao++,jo[e[zo]]={}),jo[e[zo]]}function Ge(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Ye(e,t){var n=Ge(e);e=0;for(var a;n;){if(3===n.nodeType){if(a=e+n.textContent.length,e<=t&&a>=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ge(n)}}function Ke(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Qe(e,t){if(Wo||null==Fo||Fo!==Fa())return null;var n=Fo;return"selectionStart"in n&&Ke(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,Uo&&Ba(Uo,n)?null:(Uo=n,e=z.getPooled(Lo.select,Bo,e,t),e.type="select",e.target=Fo,O(e),e)}function Xe(e){var t="";return Aa.Children.forEach(e,function(e){null==e||"string"!==typeof e&&"number"!==typeof e||(t+=e)}),t}function Je(e,t){return e=Da({children:void 0},t),(t=Xe(t.children))&&(e.children=t),e}function Ze(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+n,t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(a&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function et(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function tt(e,t){return null!=t.dangerouslySetInnerHTML&&a("91"),Da({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nt(e,t){var n=t.value;null==n&&(n=t.defaultValue,t=t.children,null!=t&&(null!=n&&a("92"),Array.isArray(t)&&(1>=t.length||a("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function at(e,t){var n=t.value;null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function rt(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function ot(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function it(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ot(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function lt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function ut(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var a=0===n.indexOf("--"),r=n,o=t[n];r=null==o||"boolean"===typeof o||""===o?"":a||"number"!==typeof o||0===o||gi.hasOwnProperty(r)&&gi[r]?(""+o).trim():o+"px","float"===n&&(n="cssFloat"),a?e.setProperty(n,r):e[n]=r}}function st(e,t,n){t&&(bi[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML)&&a("137",e,n()),null!=t.dangerouslySetInnerHTML&&(null!=t.children&&a("60"),"object"===typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML||a("61")),null!=t.style&&"object"!==typeof t.style&&a("62",n()))}function ct(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ft(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=$e(e);t=Ka[t];for(var a=0;a<t.length;a++){var r=t[a];if(!n.hasOwnProperty(r)||!n[r]){switch(r){case"scroll":He("scroll",e);break;case"focus":case"blur":He("focus",e),He("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":ee(r,!0)&&He(r,e);break;case"invalid":case"submit":case"reset":break;default:-1===gr.indexOf(r)&&We(r,e)}n[r]=!0}}}function pt(e,t,n,a){return n=9===n.nodeType?n:n.ownerDocument,a===pi.html&&(a=ot(e)),a===pi.html?"script"===e?(e=n.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):e="string"===typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(a,e),e}function dt(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function mt(e,t,n,a){var r=ct(t,n);switch(t){case"iframe":case"object":We("load",e);var o=n;break;case"video":case"audio":for(o=0;o<gr.length;o++)We(gr[o],e);o=n;break;case"source":We("error",e),o=n;break;case"img":case"image":case"link":We("error",e),We("load",e),o=n;break;case"form":We("reset",e),We("submit",e),o=n;break;case"details":We("toggle",e),o=n;break;case"input":ge(e,n),o=me(e,n),We("invalid",e),ft(a,"onChange");break;case"option":o=Je(e,n);break;case"select":et(e,n),o=Da({},n,{value:void 0}),We("invalid",e),ft(a,"onChange");break;case"textarea":nt(e,n),o=tt(e,n),We("invalid",e),ft(a,"onChange");break;default:o=n}st(t,o,vi);var i,l=o;for(i in l)if(l.hasOwnProperty(i)){var u=l[i];"style"===i?ut(e,u,vi):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&mi(e,u):"children"===i?"string"===typeof u?("textarea"!==t||""!==u)&&lt(e,u):"number"===typeof u&&lt(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(Ya.hasOwnProperty(i)?null!=u&&ft(a,i):null!=u&&de(e,i,u,r))}switch(t){case"input":ae(e),ve(e,n,!1);break;case"textarea":ae(e),rt(e,n);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,t=n.value,null!=t?Ze(e,!!n.multiple,t,!1):null!=n.defaultValue&&Ze(e,!!n.multiple,n.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=La)}}function gt(e,t,n,a,r){var o=null;switch(t){case"input":n=me(e,n),a=me(e,a),o=[];break;case"option":n=Je(e,n),a=Je(e,a),o=[];break;case"select":n=Da({},n,{value:void 0}),a=Da({},a,{value:void 0}),o=[];break;case"textarea":n=tt(e,n),a=tt(e,a),o=[];break;default:"function"!==typeof n.onClick&&"function"===typeof a.onClick&&(e.onclick=La)}st(t,a,vi),t=e=void 0;var i=null;for(e in n)if(!a.hasOwnProperty(e)&&n.hasOwnProperty(e)&&null!=n[e])if("style"===e){var l=n[e];for(t in l)l.hasOwnProperty(t)&&(i||(i={}),i[t]="")}else"dangerouslySetInnerHTML"!==e&&"children"!==e&&"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&"autoFocus"!==e&&(Ya.hasOwnProperty(e)?o||(o=[]):(o=o||[]).push(e,null));for(e in a){var u=a[e];if(l=null!=n?n[e]:void 0,a.hasOwnProperty(e)&&u!==l&&(null!=u||null!=l))if("style"===e)if(l){for(t in l)!l.hasOwnProperty(t)||u&&u.hasOwnProperty(t)||(i||(i={}),i[t]="");for(t in u)u.hasOwnProperty(t)&&l[t]!==u[t]&&(i||(i={}),i[t]=u[t])}else i||(o||(o=[]),o.push(e,i)),i=u;else"dangerouslySetInnerHTML"===e?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(o=o||[]).push(e,""+u)):"children"===e?l===u||"string"!==typeof u&&"number"!==typeof u||(o=o||[]).push(e,""+u):"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&(Ya.hasOwnProperty(e)?(null!=u&&ft(r,e),o||l===u||(o=[])):(o=o||[]).push(e,u))}return i&&(o=o||[]).push("style",i),o}function ht(e,t,n,a,r){"input"===n&&"radio"===r.type&&null!=r.name&&he(e,r),ct(n,a),a=ct(n,r);for(var o=0;o<t.length;o+=2){var i=t[o],l=t[o+1];"style"===i?ut(e,l,vi):"dangerouslySetInnerHTML"===i?mi(e,l):"children"===i?lt(e,l):de(e,i,l,a)}switch(n){case"input":be(e,r);break;case"textarea":at(e,r);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!r.multiple,n=r.value,null!=n?Ze(e,!!r.multiple,n,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ze(e,!!r.multiple,r.defaultValue,!0):Ze(e,!!r.multiple,r.multiple?[]:"",!1))}}function bt(e,t,n,a,r){switch(t){case"iframe":case"object":We("load",e);break;case"video":case"audio":for(a=0;a<gr.length;a++)We(gr[a],e);break;case"source":We("error",e);break;case"img":case"image":case"link":We("error",e),We("load",e);break;case"form":We("reset",e),We("submit",e);break;case"details":We("toggle",e);break;case"input":ge(e,n),We("invalid",e),ft(r,"onChange");break;case"select":et(e,n),We("invalid",e),ft(r,"onChange");break;case"textarea":nt(e,n),We("invalid",e),ft(r,"onChange")}st(t,n,vi),a=null;for(var o in n)if(n.hasOwnProperty(o)){var i=n[o];"children"===o?"string"===typeof i?e.textContent!==i&&(a=["children",i]):"number"===typeof i&&e.textContent!==""+i&&(a=["children",""+i]):Ya.hasOwnProperty(o)&&null!=i&&ft(r,o)}switch(t){case"input":ae(e),ve(e,n,!0);break;case"textarea":ae(e),rt(e,n);break;case"select":case"option":break;default:"function"===typeof n.onClick&&(e.onclick=La)}return a}function vt(e,t){return e.nodeValue!==t}function yt(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function wt(e,t){return"textarea"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"===typeof t.dangerouslySetInnerHTML.__html}function _t(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function kt(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Et(e){return{current:e}}function xt(e){0>Si||(e.current=Ci[Si],Ci[Si]=null,Si--)}function Ct(e,t){Si++,Ci[Si]=e.current,e.current=t}function St(e){return Pt(e)?Oi:Ti.current}function Tt(e,t){var n=e.type.contextTypes;if(!n)return Wa;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var r,o={};for(r in n)o[r]=t[r];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Pt(e){return 2===e.tag&&null!=e.type.childContextTypes}function Ot(e){Pt(e)&&(xt(Pi,e),xt(Ti,e))}function Nt(e){xt(Pi,e),xt(Ti,e)}function Rt(e,t,n){Ti.current!==Wa&&a("168"),Ct(Ti,t,e),Ct(Pi,n,e)}function It(e,t){var n=e.stateNode,r=e.type.childContextTypes;if("function"!==typeof n.getChildContext)return t;n=n.getChildContext();for(var o in n)o in r||a("108",ie(e)||"Unknown",o);return Da({},t,n)}function Mt(e){if(!Pt(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Wa,Oi=Ti.current,Ct(Ti,t,e),Ct(Pi,Pi.current,e),!0}function jt(e,t){var n=e.stateNode;if(n||a("169"),t){var r=It(e,Oi);n.__reactInternalMemoizedMergedChildContext=r,xt(Pi,e),xt(Ti,e),Ct(Ti,r,e)}else xt(Pi,e);Ct(Pi,t,e)}function At(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function zt(e,t,n){var a=e.alternate;return null===a?(a=new At(e.tag,t,e.key,e.mode),a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.effectTag=0,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null),a.expirationTime=n,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a}function Dt(e,t,n){var r=e.type,o=e.key;if(e=e.props,"function"===typeof r)var i=r.prototype&&r.prototype.isReactComponent?2:0;else if("string"===typeof r)i=5;else switch(r){case Hr:return Lt(e.children,t,n,o);case Yr:i=11,t|=3;break;case Vr:i=11,t|=2;break;case qr:return r=new At(15,e,o,4|t),r.type=qr,r.expirationTime=n,r;case Qr:i=16,t|=2;break;default:e:{switch("object"===typeof r&&null!==r?r.$$typeof:null){case $r:i=13;break e;case Gr:i=12;break e;case Kr:i=14;break e;default:a("130",null==r?r:typeof r,"")}i=void 0}}return t=new At(i,e,o,t),t.type=r,t.expirationTime=n,t}function Lt(e,t,n,a){return e=new At(10,e,a,t),e.expirationTime=n,e}function Ft(e,t,n){return e=new At(6,e,null,t),e.expirationTime=n,e}function Bt(e,t,n){return t=new At(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ut(e,t,n){return t=new At(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}function Wt(e){return function(t){try{return e(t)}catch(e){}}}function Ht(e){if("undefined"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Ni=Wt(function(e){return t.onCommitFiberRoot(n,e)}),Ri=Wt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Vt(e){"function"===typeof Ni&&Ni(e)}function qt(e){"function"===typeof Ri&&Ri(e)}function $t(e){return{expirationTime:0,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Gt(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Yt(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Kt(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n)}function Qt(e,t,n){var a=e.alternate;if(null===a){var r=e.updateQueue,o=null;null===r&&(r=e.updateQueue=$t(e.memoizedState))}else r=e.updateQueue,o=a.updateQueue,null===r?null===o?(r=e.updateQueue=$t(e.memoizedState),o=a.updateQueue=$t(a.memoizedState)):r=e.updateQueue=Gt(o):null===o&&(o=a.updateQueue=Gt(r));null===o||r===o?Kt(r,t,n):null===r.lastUpdate||null===o.lastUpdate?(Kt(r,t,n),Kt(o,t,n)):(Kt(r,t,n),o.lastUpdate=t)}function Xt(e,t,n){var a=e.updateQueue;a=null===a?e.updateQueue=$t(e.memoizedState):Jt(e,a),null===a.lastCapturedUpdate?a.firstCapturedUpdate=a.lastCapturedUpdate=t:(a.lastCapturedUpdate.next=t,a.lastCapturedUpdate=t),(0===a.expirationTime||a.expirationTime>n)&&(a.expirationTime=n)}function Jt(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Gt(t)),t}function Zt(e,t,n,a,r,o){switch(n.tag){case 1:return e=n.payload,"function"===typeof e?e.call(o,a,r):e;case 3:e.effectTag=-1025&e.effectTag|64;case 0:if(e=n.payload,null===(r="function"===typeof e?e.call(o,a,r):e)||void 0===r)break;return Da({},a,r);case 2:Ii=!0}return a}function en(e,t,n,a,r){if(Ii=!1,!(0===t.expirationTime||t.expirationTime>r)){t=Jt(e,t);for(var o=t.baseState,i=null,l=0,u=t.firstUpdate,s=o;null!==u;){var c=u.expirationTime;c>r?(null===i&&(i=u,o=s),(0===l||l>c)&&(l=c)):(s=Zt(e,t,u,s,n,a),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=u:(t.lastEffect.nextEffect=u,t.lastEffect=u))),u=u.next}for(c=null,u=t.firstCapturedUpdate;null!==u;){var f=u.expirationTime;f>r?(null===c&&(c=u,null===i&&(o=s)),(0===l||l>f)&&(l=f)):(s=Zt(e,t,u,s,n,a),null!==u.callback&&(e.effectTag|=32,u.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=u:(t.lastCapturedEffect.nextEffect=u,t.lastCapturedEffect=u))),u=u.next}null===i&&(t.lastUpdate=null),null===c?t.lastCapturedUpdate=null:e.effectTag|=32,null===i&&null===c&&(o=s),t.baseState=o,t.firstUpdate=i,t.firstCapturedUpdate=c,t.expirationTime=l,e.memoizedState=s}}function tn(e,t){"function"!==typeof e&&a("191",e),e.call(t)}function nn(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var a=e.callback;null!==a&&(e.callback=null,tn(a,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)t=e.callback,null!==t&&(e.callback=null,tn(t,n)),e=e.nextEffect}function an(e,t){return{value:e,source:t,stack:le(t)}}function rn(e){var t=e.type._context;Ct(Ai,t._changedBits,e),Ct(ji,t._currentValue,e),Ct(Mi,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode}function on(e){var t=Ai.current,n=ji.current;xt(Mi,e),xt(ji,e),xt(Ai,e),e=e.type._context,e._currentValue=n,e._changedBits=t}function ln(e){return e===zi&&a("174"),e}function un(e,t){Ct(Fi,t,e),Ct(Li,e,e),Ct(Di,zi,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:it(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=it(t,n)}xt(Di,e),Ct(Di,t,e)}function sn(e){xt(Di,e),xt(Li,e),xt(Fi,e)}function cn(e){Li.current===e&&(xt(Di,e),xt(Li,e))}function fn(e,t,n){var a=e.memoizedState;t=t(n,a),a=null===t||void 0===t?a:Da({},a,t),e.memoizedState=a,null!==(e=e.updateQueue)&&0===e.expirationTime&&(e.baseState=a)}function pn(e,t,n,a,r,o){var i=e.stateNode;return e=e.type,"function"===typeof i.shouldComponentUpdate?i.shouldComponentUpdate(n,r,o):!e.prototype||!e.prototype.isPureReactComponent||(!Ba(t,n)||!Ba(a,r))}function dn(e,t,n,a){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,a),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&Bi.enqueueReplaceState(t,t.state,null)}function mn(e,t){var n=e.type,a=e.stateNode,r=e.pendingProps,o=St(e);a.props=r,a.state=e.memoizedState,a.refs=Wa,a.context=Tt(e,o),o=e.updateQueue,null!==o&&(en(e,o,r,a,t),a.state=e.memoizedState),o=e.type.getDerivedStateFromProps,"function"===typeof o&&(fn(e,o,r),a.state=e.memoizedState),"function"===typeof n.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(n=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),n!==a.state&&Bi.enqueueReplaceState(a,a.state,null),null!==(o=e.updateQueue)&&(en(e,o,r,a,t),a.state=e.memoizedState)),"function"===typeof a.componentDidMount&&(e.effectTag|=4)}function gn(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){n=n._owner;var r=void 0;n&&(2!==n.tag&&a("110"),r=n.stateNode),r||a("147",e);var o=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs===Wa?r.refs={}:r.refs;null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}"string"!==typeof e&&a("148"),n._owner||a("254",e)}return e}function hn(e,t){"textarea"!==e.type&&a("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function bn(e){function t(t,n){if(e){var a=t.lastEffect;null!==a?(a.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,a){if(!e)return null;for(;null!==a;)t(n,a),a=a.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t,n){return e=zt(e,t,n),e.index=0,e.sibling=null,e}function i(t,n,a){return t.index=a,e?null!==(a=t.alternate)?(a=a.index,a<n?(t.effectTag=2,n):a):(t.effectTag=2,n):n}function l(t){return e&&null===t.alternate&&(t.effectTag=2),t}function u(e,t,n,a){return null===t||6!==t.tag?(t=Ft(n,e.mode,a),t.return=e,t):(t=o(t,n,a),t.return=e,t)}function s(e,t,n,a){return null!==t&&t.type===n.type?(a=o(t,n.props,a),a.ref=gn(e,t,n),a.return=e,a):(a=Dt(n,e.mode,a),a.ref=gn(e,t,n),a.return=e,a)}function c(e,t,n,a){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Bt(n,e.mode,a),t.return=e,t):(t=o(t,n.children||[],a),t.return=e,t)}function f(e,t,n,a,r){return null===t||10!==t.tag?(t=Lt(n,e.mode,a,r),t.return=e,t):(t=o(t,n,a),t.return=e,t)}function p(e,t,n){if("string"===typeof t||"number"===typeof t)return t=Ft(""+t,e.mode,n),t.return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case Ur:return n=Dt(t,e.mode,n),n.ref=gn(e,null,t),n.return=e,n;case Wr:return t=Bt(t,e.mode,n),t.return=e,t}if(Ui(t)||oe(t))return t=Lt(t,e.mode,n,null),t.return=e,t;hn(e,t)}return null}function d(e,t,n,a){var r=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==r?null:u(e,t,""+n,a);if("object"===typeof n&&null!==n){switch(n.$$typeof){case Ur:return n.key===r?n.type===Hr?f(e,t,n.props.children,a,r):s(e,t,n,a):null;case Wr:return n.key===r?c(e,t,n,a):null}if(Ui(n)||oe(n))return null!==r?null:f(e,t,n,a,null);hn(e,n)}return null}function m(e,t,n,a,r){if("string"===typeof a||"number"===typeof a)return e=e.get(n)||null,u(t,e,""+a,r);if("object"===typeof a&&null!==a){switch(a.$$typeof){case Ur:return e=e.get(null===a.key?n:a.key)||null,a.type===Hr?f(t,e,a.props.children,r,a.key):s(t,e,a,r);case Wr:return e=e.get(null===a.key?n:a.key)||null,c(t,e,a,r)}if(Ui(a)||oe(a))return e=e.get(n)||null,f(t,e,a,r,null);hn(t,a)}return null}function g(a,o,l,u){for(var s=null,c=null,f=o,g=o=0,h=null;null!==f&&g<l.length;g++){f.index>g?(h=f,f=null):h=f.sibling;var b=d(a,f,l[g],u);if(null===b){null===f&&(f=h);break}e&&f&&null===b.alternate&&t(a,f),o=i(b,o,g),null===c?s=b:c.