
jQuery(document).ready(function ($) {
    'use strict';

    var owlContainer = $('.hf-slider');

    /* OWL Seiten Default Settings */
    var OWLDefaultSettings;
    OWLDefaultSettings = {
        autoplay: true,
        autoplayHoverPause: true,
        autoWidth: false, /* ACHTUNG: Für autoWith sollte eine Height gesetzt sein! */
        loop: true,
        items: 1,
        nav: false,
        margin: 30,
        navText: [
            "<div class='icon icon-ArrowLeft'><span></span></div>",
            "<div class='icon icon-ArrowRight'><span></span></div>"
        ],
        animateOut: "fadeOut"
    };

    var countOfOwlSliderPerPage = 1;
    owlContainer.each(function () {
        var $carousel = $(this);
        if ($(this).children('div, img, picture').length > 1) {
            if (!$(this).attr('id')) {
                $(this).attr('id', "owlSlider" + countOfOwlSliderPerPage);
                countOfOwlSliderPerPage++;
            }

            /* Lade Default Settings */
            var owlSettings = OWLDefaultSettings;

            /* TODO: In Funktion auslagern ... */
            owlSettings.autoplay = ($(this).attr("data-autoplay") == 1);

            if (parseInt($(this).attr("data-items"))) {
                owlSettings.items = parseInt($(this).attr("data-items"));
            }

            owlSettings.autoWidth = ($(this).attr("data-autowidth") == 1);

            if ($(this).attr("data-loop")) {
                owlSettings.loop = ($(this).attr("data-loop") == 1);
            }

            if ($(this).attr("data-center")) {
                owlSettings.center = ($(this).attr("data-center") == 1);
            }

            if ($(this).attr("data-animate")) {
                if($(this).attr("data-animate") == "false") {
                    owlSettings.animateOut = '';
                }
                else {
                    owlSettings.animateOut = $(this).attr("data-animate");
                }
            }

            owlSettings.dots = ($(this).attr("data-dots") == 1);

            if ($(this).attr("data-responsive")) {
                owlSettings.responsive = JSON.parse($(this).attr("data-responsive"));
            }

            owlSettings.nav = ($(this).attr("data-nav") == 1);

            if ($(this).attr("data-autoplayHoverPause")) {
                owlSettings.autoplayHoverPause = ($(this).attr("data-autoplayHoverPause") == 1);
            }

            if (parseInt($(this).attr("data-autoplayTimeout"))) {
                owlSettings.autoplayTimeout = parseInt($(this).attr("data-autoplayTimeout")) * 1000;
            }

            if (parseInt($(this).attr("data-random")) == 1) {
                random($(this));
            }

            var $sliderJumps = $carousel.parent().find('.hf-slider-jump');

            if ($sliderJumps.length) {
                $carousel.on('changed.owl.carousel', function (event) {
                    var instance = $carousel.data('owlCarousel');
                    var index = instance == null ? event.item.index : instance.relative(event.item.index);

                    $sliderJumps.removeClass('active');
                    $sliderJumps.eq(index).addClass('active');
                });

                $sliderJumps.each(function (index) {
                    var $this = $(this);
                    $this.hover(function () {
                        $carousel.trigger('to.owl.carousel', [ index , 0, true ]);
                    });
                });
            }

            /* Initialisiere OWL */
            $(this).owlCarousel(owlSettings);

        } else {
            $(this).removeClass('owl-carousel');
        }

    });

    function random (owlSelector) {
        owlSelector.children().sort(function () {
            return Math.round(Math.random()) - 0.5;
        }).each(function () {
            $(this).appendTo(owlSelector);
        });
    }

});

;jQuery(document).ready(function ($) {
    'use strict';

    // http://fancyapps.com/fancybox/3/

    // Fancybox basic config
    var fancyboxConfig = {
        loop: true,
        infobar: false,
        buttons: [
            "slideShow",
            "thumbs",
            "close"
        ],
        animationEffect: "fade",
    };

    // Fancybox init
    $(".fancybox").fancybox(fancyboxConfig);

});
/*
 * (c) 2016 .hausformat
 *
 * This file only contains functions it does not do anything by itself!
 */

;(function () {

    'use strict'

    // import jquery
    var $ = jQuery

    // this is our namespace for all functions
    var hf = {}

    // export 'hf' as a global variable
    window.hf = hf
    
    /**
     * When the $element reaches the offsetTop offset its position is set to 'fixed'.
     *
     * @param {jQuery|string|Element} $element
     * @param {number} offsetTop
     * @param {string} [activeClass='is-sticky']
     */
    hf.stickyElement = function ($element, offsetTop, activeClass) {
        var $clone

        activeClass = activeClass || 'is-sticky'
        $element = jQuery($element)

        function check () {
            if ($clone) {
                unstick()
            } else {
                stick()
            }
        }

        function stick() {
            var top = $element[ 0 ].getBoundingClientRect().top

            if (top <= offsetTop) {
                $clone = $element.clone()
                $clone.hide()
                $clone.insertAfter($element)

                $element.addClass(activeClass)
                $element.css({
                    position: 'fixed',
                    top: ''  + offsetTop + 'px'
                })
            }
        }

        function unstick() {
            $clone.show()

            var top = $clone[ 0 ].getBoundingClientRect().top

            $clone.hide()

            if (top > offsetTop) {
                $clone.remove()
                $clone = null

                $element.removeClass(activeClass)
                $element.css({
                    position: '',
                    top: ''
                })
            }
        }

        $(window).scroll(check)
        check()
    }
})();

/**
 * Custom js
 *
 * @copyright       .hausformat GmbH
 * @link            http://www.hausformat.com
 *
 * @path            {$hf.templatesPath}scripts/tabber.js
 */





(function () {

    var $ = jQuery;

    $(document).ready(function () {
        $('.hf-tabber > .hf-tabs .hf-tab > .hf-tab-header').each(function () {
            var $tab = $(this);
            var tabId = $tab.attr('data-tab-id');

            /* Clickevent auf Akkordion */
            $tab.click(function () {
                $('#c' + tabId + ' .js-toggle-class').click();
            });

            /* Aktiv Klassen auf header setzen */
            $('#c' + tabId + ".hf-tab").on('hf-toggle', function (_, status) {
                if ($(this).hasClass(status.className)) {
                    $tab.addClass(status.className);
                }
                else {
                    $tab.removeClass(status.className);
                }
            });
        });
    });
})();
/*
 * (c) 2016 .hausformat
 */

;(function () {

    'use strict'

    // import jquery
    var $ = jQuery

    $(window).on('load', function () {
        // for now we trigger the load event on window load
        // once lazy images are used this event should be fired after all the images are loaded
        $(window).trigger('hf:load')
    })

    $.fn.hfLoad = function (callbackFn) {
        return this.on('hf:load', callbackFn)
    }
    
})();
/*
 * (c) 2016 .hausformat
 */

;(function () {

    'use strict'
    
    // import jquery
    var $ = jQuery

    $(document).ready(function () {

        $('.js-sticky').each(function () {
            var $this = $(this)
            var offsetTop = parseFloat($this.data('sticky-offset-top'))

            hf.stickyElement($this, offsetTop)
        })

    })

})();
/*
 * (c) 2016 .hausformat
 */

;(function () {

    'use strict';

    /* HF-Todo
     * - bessere Lösung für siblings bei toggle Parent
     * - Responsive Akkorion nicht schliessen
     * */

    // import jquery
    var $ = jQuery;

    $(document).ready(function () {
        $('.js-toggle-class').click(function () {

            var $this = $(this);
            var selector = $this.data('toggle-selector');
            var className = $this.data('toggle-class');
            var toggleParent = $this.data('toggle-parent');
            var closeAllOther = $this.data('toggle-close-other');

            if (!selector) {
                selector = 'html';
            }

            if (toggleParent) {
                if (closeAllOther) {
                    $(this).closest(selector).siblings(selector).not($this.closest(selector)).removeClass(className);
                    $(this).closest(selector).siblings(selector).not($this.closest(selector)).trigger('hf-toggle', {
                        active: $(this).closest(selector).hasClass(className),
                        className: className
                    });

                    $this.closest(selector).toggleClass(className);

                    $this.closest(selector).trigger('hf-toggle', {
                        active: $(this).closest(selector).hasClass(className),
                        className: className
                    });
                } else {
                    $this.closest(selector).toggleClass(className);

                    $this.closest(selector).trigger('hf-toggle', {
                        active: $(this).closest(selector).hasClass(className),
                        className: className
                    });
                }
            } else {
                $(selector).toggleClass(className);

                $(selector).trigger('hf-toggle', {
                    active: $(selector).hasClass(className),
                    className: className
                });
            }
        });

    });

    /* Anpassung Tabber - letzter geöffneter Zustand herstellen */
    var cookieName = 'websiteTabs';
    $(".hf-tab-content.hf-tab").removeClass("is-open");
    if ($.cookie(cookieName)) {
        var tabId = $.cookie(cookieName);
        $('#c' + tabId).addClass("is-open");

        scrollToTabber('c'+tabId);
    }

    $('.hf-tabber').each(function () {
        var aktTabberID = $(this).attr("id");
        $('#'+aktTabberID+' > .hf-tabs .hf-tab > .hf-tab-header').each(function () {
            var $tab = $(this);
            var tabId = $tab.attr('data-tab-id');
            $('#c' + tabId + ".hf-tab").on('hf-toggle', function (_, status) {
                if ($(this).hasClass(status.className)) {
                    $.cookie(cookieName, ""+tabId);
                    scrollToTabber(aktTabberID);
                }
                else {
                    $.removeCookie(cookieName);
                }
            });
        });
    });

    function scrollToTabber(tabberID) {
        if ($("#"+tabberID+" .hf-tab.is-open")[0]){
            var $container = $("html,body");
            var $scrollTo = $("#"+tabberID+" .hf-tab.is-open");
            var siteheaderHeight = 0;
            if ($(".hf-breadcrumb").length) {
                var breadcrumb = $(".hf-breadcrumb").height();
                siteheaderHeight = $("#siteheader").height() + breadcrumb;
            } else {
                siteheaderHeight = $("#siteheader").height();
            }
            var scrollValue = $scrollTo.offset().top - siteheaderHeight - 30;
            $container.animate({scrollTop: scrollValue, scrollLeft: 0},500);
        }
    }

})();

/**
 * Custom js
 *
 * @copyright       .hausformat GmbH
 * @link            http://www.hausformat.com
 */

;(function () {

    'use strict';

    var $ = jQuery;

    /*------------------------------------------------------------------------------------------------------*/
    /* executes when HTML-Document is loaded and DOM is ready */

    $(document).ready(function () {

        $('form').each(function () {
            var clicked = false;
            var form = this;

            $(this).parents('body').submit(function (event) {
                if (event.target !== form) {
                    return;
                }

                if (clicked) {
                    event.preventDefault();
                }

                clicked = true;
            });
        });


        $('.table-header-layout-3').each(function(){
            $(this).find("tr > th:first-of-type").each(function(){
                $(this).after($(this).clone().addClass('table-hidden-th'));
            });
        });

    });

    /*------------------------------------------------------------------------------------------------------*/
    /* executes when complete page is fully loaded, including all frames, objects and images */

    /*
    TODO: Wird nicht korrekt initialisisert
    $(window).hfLoad(function () {


    });
    */

})();
/**
 * Check an href for an anchor. If exists, and in document, scroll to it.
 * If href argument omitted, assumes context (this) is HTML Element,
 * which will be the case when invoked by jQuery after an event
 */
function scroll_if_anchor(href) {
    href = typeof(href) == "string" ? href : $(this).attr("href");
    if(!href) return;

    // siteheader Höhe einlesen
    let fromTop = $("#siteheader").outerHeight();

    let $target = $(href);

    if($target.length) {
        $("html, body").animate({ scrollTop: $target.offset().top - fromTop });
        if(history && "pushState" in history) {
            history.pushState({}, document.title, window.location.pathname + href);
            return false;
        }
    }
}

$(function() {
    $('a[href*="#"]:not([href="#"])').click(function() {
        if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
            let target = $(this.hash);
            const offset = 30;
            target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
            let headerHeight = $("#siteheader").outerHeight(true) + offset;

            if (target.length) {
                $('html, body').animate({
                    scrollTop: target.offset().top - headerHeight
                }, 500, function() {
                    // Animation complete.
                    headerHeightNew = $("#siteheader").outerHeight(true) + offset;
                    if(headerHeight != headerHeightNew) {
                        $('html, body').animate({
                            scrollTop: target.offset().top - headerHeightNew
                        });
                    }
                });
                return false;
            }
        }
    });
});

jQuery(document).ready(function($) {
    try {
        scroll_if_anchor(window.location.hash);
        $("body").on("click", "a[href^='#']", scroll_if_anchor);
    } catch(e) {}

});

/**
 * Custom js
 *
 * @copyright       .hausformat GmbH
 * @link            http://www.hausformat.com
 */


function closeDetailWindow() {
    if(document.referrer.indexOf(window.location.origin) >= 0) {
        history.go(-1);
    }
    else {
        window.location.href = window.location.origin; // this might just be '/' of your site
    }
}
/**
 * Responsive Navigation js
 *
 * @copyright       .hausformat GmbH
 * @link            http://www.hausformat.com
 */

// Toggle Menu Script
jQuery(document).ready(function ($) {

    var stopScrolling = jQuery('#main, #sitefooter');

    jQuery('.menu-button-container').click(function () {
        jQuery('.menu-button-icon').toggleClass('js-menu-active');
        jQuery('.js-slide-container').toggleClass('visible');
        if ( stopScrolling.parent().is( "div" ) ) {
            stopScrolling.unwrap();
        } else {
            stopScrolling.wrapAll( "<div class='js-stop-scrolling'></div>" );
        }
    });

    jQuery('.ifsub.active > ul').addClass('visible');

    jQuery('.mobile-expand').click(function (e) {
        $("#mainnav li").not(jQuery(this).parent()).removeClass("is-expanded");
        var $parentLi = jQuery(this).parent();
        $parentLi.toggleClass('is-expanded');
        $parentLi.children('.mobile-subnav').slideToggle();
        e.preventDefault();
    });

});
!function(){"use strict";function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function n(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function s(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,l(e,t,"get"))}function o(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,l(e,t,"set"),n),n}function l(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function u(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}function h(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(e,t,n){h(e,t),t.set(e,n)}function d(e,t){h(e,t),t.add(e)}var f=function(){function t(){e(this,t)}return n(t,null,[{key:"getLargestFileSize",value:function(e){for(var t=0,n=0;n<e.files.length;n++){var i=e.files[n];i.size>t&&(t=i.size)}return t}},{key:"isFileExtensionInList",value:function(e,t){return-1!==t.indexOf("."+e)}},{key:"getExtensionFromFileName",value:function(e){return e.split(".").pop().toLowerCase()}},{key:"getUriWithoutGetParam",value:function(e){return e.split("?")[0]}},{key:"getRandomString",value:function(e){for(var t="",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",i=0;i<e;i++)t+=n.charAt(Math.floor(Math.random()*n.length));return t}},{key:"redirectToUri",value:function(e){-1!==e.indexOf("http")?window.location=e:window.location.pathname=e}},{key:"hideElement",value:function(e){null!==e&&(e.style.display="none")}},{key:"showElement",value:function(e){null!==e&&(e.style.display="block")}},{key:"isElementVisible",value:function(e){return null!==e.offsetParent}}]),t}();function m(){var e="powermail_morestep",t="btn-primary",n=this;this.initialize=function(){a(),i()},this.showFieldset=function(t,n){if(n.classList.contains(e)){s(n);var i=u(n);f.showElement(i[t]),o(n)}};var i=function(){for(var t=document.querySelectorAll("form."+e),n=0;n<t.length;n++)r(t[n])},r=function(e){n.showFieldset(0,e)},a=function(){for(var e=document.querySelectorAll("[data-powermail-morestep-show]"),t=0;t<e.length;t++)e[t].addEventListener("click",(function(e){var t=e.target.getAttribute("data-powermail-morestep-show"),i=e.target.closest("form");n.showFieldset(t,i)}))},s=function(e){for(var t=u(e),n=0;n<t.length;n++)f.hideElement(t[n])},o=function(e){for(var n=e.querySelectorAll("[data-powermail-morestep-current]"),i=l(e),r=0;r<n.length;r++)n[r].classList.remove(t),r===i&&n[r].classList.add(t)},l=function(e){for(var t=u(e),n=0;n<t.length;n++)if("none"!==t[n].style.display)return n},u=function(e){return e.querySelectorAll(".powermail_fieldset")}}var _=new WeakMap,y=function(){function t(){e(this,t),c(this,_,{writable:!0,value:"[data-powermail-validate]"})}return n(t,[{key:"validate",value:function(){document.querySelectorAll(s(this,_)).forEach((function(e){(e=new me(e)).validate()}))}}]),t}(),p=new WeakMap,w=new WeakMap,g=new WeakMap,v=new WeakMap,k=new WeakMap,S=new WeakMap,b=new WeakMap,M=new WeakMap,D=new WeakMap,Y=new WeakMap,O=new WeakSet,x=new WeakSet,W=new WeakSet,T=new WeakSet,N=new WeakSet,A=new WeakSet,P=new WeakSet,C=new WeakSet,R=new WeakSet,E=new WeakSet,L=new WeakSet,F=new WeakSet,U=new WeakSet,H=new WeakSet,V=new WeakSet,I=new WeakSet,G=new WeakSet,j=new WeakSet,q=new WeakSet,z=new WeakSet,Z=new WeakSet,$=new WeakSet,B=new WeakSet,J=new WeakSet,Q=new WeakSet,X=new WeakSet,K=new WeakSet,ee=new WeakSet,te=new WeakSet,ne=new WeakSet,ie=new WeakSet,re=new WeakSet,ae=new WeakSet,se=new WeakSet,oe=new WeakSet,le=new WeakSet,ue=new WeakSet,he=new WeakSet,ce=new WeakSet,de=new WeakSet,fe=new WeakSet,me=function(){function t(n){var a=this;e(this,t),d(this,fe),d(this,de),d(this,ce),d(this,he),d(this,ue),d(this,le),d(this,oe),d(this,se),d(this,ae),d(this,re),d(this,ie),d(this,ne),d(this,te),d(this,ee),d(this,K),d(this,X),d(this,Q),d(this,J),d(this,B),d(this,$),d(this,Z),d(this,z),d(this,q),d(this,j),d(this,G),d(this,I),d(this,V),d(this,H),d(this,U),d(this,F),d(this,L),d(this,E),d(this,R),d(this,C),d(this,P),d(this,A),d(this,N),d(this,T),d(this,W),d(this,x),d(this,O),i(this,"use strict",void 0),c(this,p,{writable:!0,value:void 0}),c(this,w,{writable:!0,value:!1}),c(this,g,{writable:!0,value:{}}),c(this,v,{writable:!0,value:"powermail_form_error"}),c(this,k,{writable:!0,value:"powermail_fieldset_error"}),c(this,S,{writable:!0,value:"powermail_field_error"}),c(this,b,{writable:!0,value:"data-powermail-class-handler"}),c(this,M,{writable:!0,value:"powermail-errors-list"}),c(this,D,{writable:!0,value:{required:function(e){return u(a,P,ke).call(a,e)&&!1===u(a,G,Ne).call(a,e)},email:function(e){return u(a,C,Se).call(a,e)&&!1===u(a,j,Ae).call(a,e)},url:function(e){return u(a,R,be).call(a,e)&&!1===u(a,q,Pe).call(a,e)},pattern:function(e){return u(a,E,Me).call(a,e)&&!1===u(a,z,Ce).call(a,e)},number:function(e){return u(a,L,De).call(a,e)&&!1===u(a,Z,Re).call(a,e)},minimum:function(e){return u(a,F,Ye).call(a,e)&&!1===u(a,$,Ee).call(a,e)},maximum:function(e){return u(a,U,Oe).call(a,e)&&!1===u(a,B,Le).call(a,e)},length:function(e){return u(a,H,xe).call(a,e)&&!1===u(a,J,Fe).call(a,e)},equalto:function(e){return u(a,V,We).call(a,e)&&!1===u(a,Q,Ue).call(a,e)},powermailfilesize:function(e){return u(a,I,Te).call(a,e)&&!1===u(a,X,He).call(a,e)},powermailfileextensions:function(e){return u(a,I,Te).call(a,e)&&!1===u(a,K,Ve).call(a,e)}}}),c(this,Y,{writable:!0,value:{openTabWithError:function(){var e=s(a,p).querySelector(".powermail_field_error");if(null!==e){var t=e.closest(".powermail_fieldset"),n=r(s(a,p).querySelectorAll(".powermail_fieldset")).indexOf(t);(new m).showFieldset(n,s(a,p))}},scrollToFirstError:function(){try{s(a,p).querySelectorAll(".powermail_field_error").forEach((function(e){if(f.isElementVisible(e))throw e.scrollIntoView({behavior:"smooth"}),"StopException"}))}catch(e){}}}}),o(this,p,n),s(this,p).powermailFormValidation=this}return n(t,[{key:"validate",value:function(){u(this,O,_e).call(this),u(this,x,ye).call(this)}},{key:"addValidator",value:function(e,t){s(this,D)[e]=t}},{key:"addSubmitErrorCallback",value:function(e,t){s(this,Y)[e]=t}}]),t}();function _e(){var e=this;s(this,p).setAttribute("novalidate","novalidate"),s(this,p).addEventListener("submit",(function(t){u(e,W,pe).call(e),!0===u(e,he,Xe).call(e)&&(u(e,A,ve).call(e),t.preventDefault())}))}function ye(){var e=this;u(this,le,Je).call(this).forEach((function(t){t.addEventListener("input",(function(){u(e,T,we).call(e,t)})),t.addEventListener("blur",(function(){u(e,T,we).call(e,t)})),t.addEventListener("change",(function(){u(e,T,we).call(e,t)}))}))}function pe(){for(var e=u(this,le,Je).call(this),t=0;t<e.length;t++)u(this,T,we).call(this,e[t])}function we(e){var t=!1;for(var n in e=u(this,ue,Qe).call(this,e),s(this,D))!1!==s(this,D).hasOwnProperty(n)&&(t=u(this,N,ge).call(this,n,s(this,D)[n],e,t));u(this,ce,Ke).call(this,e,t),u(this,de,et).call(this),u(this,fe,tt).call(this,e)}function ge(e,t,n,i){return!0===i||((i=t(n))?u(this,ee,Ie).call(this,e,n):u(this,te,Ge).call(this,e,n)),i}function ve(){for(var e in s(this,Y))!1!==s(this,Y).hasOwnProperty(e)&&s(this,Y)[e]()}function ke(e){return e.hasAttribute("required")||"true"===e.getAttribute("data-powermail-required")}function Se(e){return"email"===e.getAttribute("type")||"email"===e.getAttribute("data-powermail-type")}function be(e){return"url"===e.getAttribute("type")||"url"===e.getAttribute("data-powermail-type")}function Me(e){return e.hasAttribute("pattern")||e.hasAttribute("data-powermail-pattern")}function De(e){return"number"===e.getAttribute("type")||"integer"===e.getAttribute("data-powermail-type")}function Ye(e){return e.hasAttribute("min")||e.hasAttribute("data-powermail-min")}function Oe(e){return e.hasAttribute("max")||e.hasAttribute("data-powermail-max")}function xe(e){return e.hasAttribute("data-powermail-length")}function We(e){return e.hasAttribute("data-powermail-equalto")}function Te(e){return"file"===e.getAttribute("type")}function Ne(e){return""!==u(this,se,$e).call(this,e)}function Ae(e){if(""===e.value)return!0;return new RegExp(/^(([^<>()[\]\.,;:\s@\"]+(\.[^<>()[\]\.,;:\s@\"]+)*)|(\".+\"))@(([^<>()[\]\.,;:\s@\"]+\.)+[^<>()[\]\.,;:\s@\"]{2,})$/i,"").test(u(this,se,$e).call(this,e))}function Pe(e){if(""===e.value)return!0;return new RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","").test(u(this,se,$e).call(this,e))}function Ce(e){if(""===e.value)return!0;var t=e.getAttribute("data-powermail-pattern")||e.getAttribute("pattern");return new RegExp(t,"").test(u(this,se,$e).call(this,e))}function Re(e){return""===e.value||!1===isNaN(e.value)}function Ee(e){if(""===e.value)return!0;var t=e.getAttribute("min")||e.getAttribute("data-powermail-min");return parseInt(e.value)>=parseInt(t)}function Le(e){if(""===e.value)return!0;var t=e.getAttribute("max")||e.getAttribute("data-powermail-max");return parseInt(e.value)<=parseInt(t)}function Fe(e){if(""===e.value)return!0;var t=e.getAttribute("data-powermail-length").replace("[","").replace("]","").split(","),n=t[0].trim(),i=t[1].trim();return parseInt(e.value.length)>=parseInt(n)&&parseInt(e.value.length)<=parseInt(i)}function Ue(e){var t=e.getAttribute("data-powermail-equalto"),n=s(this,p).querySelector(t);return null!==n&&n.value===e.value}function He(e){if(""===e.value)return!0;var t=f.getLargestFileSize(e),n=e.getAttribute("data-powermail-powermailfilesize").split(",");return t<=parseInt(n[0])}function Ve(e){return""===e.value||f.isFileExtensionInList(f.getExtensionFromFileName(e.value),e.getAttribute("accept"))}function Ie(e,t){u(this,te,Ge).call(this,e,t),u(this,ne,je).call(this,t);var n=t.getAttribute("data-powermail-"+e+"-message")||t.getAttribute("data-powermail-error-message")||"Validation error";u(this,re,ze).call(this,n,t)}function Ge(e,t){u(this,ie,qe).call(this,t),u(this,ae,Ze).call(this,t)}function je(e){if(e.getAttribute(s(this,b)))for(var t=document.querySelectorAll(e.getAttribute(s(this,b))),n=0;n<t.length;n++)t[n].classList.add(s(this,S));else e.classList.add(s(this,S))}function qe(e){if(e.getAttribute(s(this,b)))for(var t=document.querySelectorAll(e.getAttribute(s(this,b))),n=0;n<t.length;n++)t[n].classList.remove(s(this,S));else e.classList.remove(s(this,S))}function ze(e,t){var n=document.createElement("ul");n.classList.add(s(this,M)),n.classList.add("filled"),n.setAttribute("data-powermail-error",u(this,oe,Be).call(this,t)),n.setAttribute("id",u(this,oe,Be).call(this,t)+"-errormessage"),t.setAttribute("aria-describedby",u(this,oe,Be).call(this,t)+"-errormessage");var i=document.createElement("li");n.appendChild(i);var r=document.createTextNode(e);if(i.appendChild(r),null!==t.getAttribute("data-powermail-errors-container")){var a=document.querySelector(t.getAttribute("data-powermail-errors-container"));null!==a&&a.appendChild(n)}else t.parentNode.appendChild(n)}function Ze(e){var t=document.querySelector('[data-powermail-error="'+u(this,oe,Be).call(this,e)+'"]');null!==t&&t.remove(),e.removeAttribute("aria-describedby")}function $e(e){var t=e.value;if("radio"===e.getAttribute("type")||"checkbox"===e.getAttribute("type")){t="";var n=e.getAttribute("name"),i=e.closest("form").querySelector('input[name="'+n+'"]:checked');null!==i&&(t=i.value)}return t}function Be(e){return e.getAttribute("name").replace(/[^\w\s]/gi,"")}function Je(){return s(this,p).querySelectorAll('input:not([data-powermail-validation="disabled"]):not([type="hidden"]):not([type="reset"]):not([type="submit"]), textarea:not([data-powermail-validation="disabled"]), select:not([data-powermail-validation="disabled"])')}function Qe(e){if("radio"===e.getAttribute("type")||"checkbox"===e.getAttribute("type")){var t=e.getAttribute("name"),n=e.closest("form").querySelector('[name="'+t+'"][type="radio"], [name="'+t+'"][type="checkbox"]');null!==n&&(e=n)}return e}function Xe(){return s(this,w)}function Ke(e,t){s(this,g)[e.getAttribute("name")]=t}function et(){var e=!1;for(var t in s(this,g))!1!==s(this,g).hasOwnProperty(t)&&!0===s(this,g)[t]&&(e=!0);o(this,w,e)}function tt(e){var t=e.closest("fieldset.powermail_fieldset");u(this,he,Xe).call(this)?(s(this,p).classList.add(s(this,v)),null!==t&&t.classList.add(s(this,k))):(s(this,p).classList.remove(s(this,v)),null!==t&&t.classList.remove(s(this,k)))}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function nt(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var it,rt={exports:{}};(it=rt).exports=function(){var e,t;function n(){return e.apply(null,arguments)}function i(t){e=t}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function o(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function l(e){return void 0===e}function u(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,i=[],r=e.length;for(n=0;n<r;++n)i.push(t(e[n],n));return i}function d(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,i){return Bn(e,t,n,i,!0).utc()}function m(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function _(e){return null==e._pf&&(e._pf=m()),e._pf}function y(e){if(null==e._isValid){var n=_(e),i=t.call(n.parsedDateParts,(function(e){return null!=e})),r=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidEra&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&i);if(e._strict&&(r=r&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function p(e){var t=f(NaN);return null!=e?d(_(t),e):_(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var w=n.momentProperties=[],g=!1;function v(e,t){var n,i,r,a=w.length;if(l(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),l(t._i)||(e._i=t._i),l(t._f)||(e._f=t._f),l(t._l)||(e._l=t._l),l(t._strict)||(e._strict=t._strict),l(t._tzm)||(e._tzm=t._tzm),l(t._isUTC)||(e._isUTC=t._isUTC),l(t._offset)||(e._offset=t._offset),l(t._pf)||(e._pf=_(t)),l(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)l(r=t[i=w[n]])||(e[i]=r);return e}function k(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===g&&(g=!0,n.updateOffset(this),g=!1)}function S(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function b(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,t){var i=!0;return d((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),i){var r,a,o,l=[],u=arguments.length;for(a=0;a<u;a++){if(r="","object"==typeof arguments[a]){for(o in r+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(r+=o+": "+arguments[0][o]+", ");r=r.slice(0,-2)}else r=arguments[a];l.push(r)}b(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),i=!1}return t.apply(this,arguments)}),t)}var D,Y={};function O(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),Y[e]||(b(t),Y[e]=!0)}function x(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function W(e){var t,n;for(n in e)s(e,n)&&(x(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function T(e,t){var n,i=d({},e);for(n in t)s(t,n)&&(a(e[n])&&a(t[n])?(i[n]={},d(i[n],e[n]),d(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)s(e,n)&&!s(t,n)&&a(e[n])&&(i[n]=d({},i[n]));return i}function N(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,D=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function P(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return x(i)?i.call(t,n):i}function C(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var R=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,E=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,L={},F={};function U(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(F[e]=r),t&&(F[t[0]]=function(){return C(r.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function H(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function V(e){var t,n,i=e.match(R);for(t=0,n=i.length;t<n;t++)F[i[t]]?i[t]=F[i[t]]:i[t]=H(i[t]);return function(t){var r,a="";for(r=0;r<n;r++)a+=x(i[r])?i[r].call(t,e):i[r];return a}}function I(e,t){return e.isValid()?(t=G(t,e.localeData()),L[t]=L[t]||V(t),L[t](e)):e.localeData().invalidDate()}function G(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(E.lastIndex=0;n>=0&&E.test(e);)e=e.replace(E,i),E.lastIndex=0,n-=1;return e}var j={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function q(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(R).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var z="Invalid date";function Z(){return this._invalidDate}var $="%d",B=/\d{1,2}/;function J(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function X(e,t,n,i){var r=this._relativeTime[n];return x(r)?r(e,t,n,i):r.replace(/%d/i,e)}function K(e,t){var n=this._relativeTime[e>0?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)}var ee={};function te(e,t){var n=e.toLowerCase();ee[n]=ee[n+"s"]=ee[t]=e}function ne(e){return"string"==typeof e?ee[e]||ee[e.toLowerCase()]:void 0}function ie(e){var t,n,i={};for(n in e)s(e,n)&&(t=ne(n))&&(i[t]=e[n]);return i}var re={};function ae(e,t){re[e]=t}function se(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:re[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function oe(e){return e%4==0&&e%100!=0||e%400==0}function le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=le(t)),n}function he(e,t){return function(i){return null!=i?(de(this,e,i),n.updateOffset(this,t),this):ce(this,e)}}function ce(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function de(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&oe(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Xe(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function fe(e){return x(this[e=ne(e)])?this[e]():this}function me(e,t){if("object"==typeof e){var n,i=se(e=ie(e)),r=i.length;for(n=0;n<r;n++)this[i[n].unit](e[i[n].unit])}else if(x(this[e=ne(e)]))return this[e](t);return this}var _e,ye=/\d/,pe=/\d\d/,we=/\d{3}/,ge=/\d{4}/,ve=/[+-]?\d{6}/,ke=/\d\d?/,Se=/\d\d\d\d?/,be=/\d\d\d\d\d\d?/,Me=/\d{1,3}/,De=/\d{1,4}/,Ye=/[+-]?\d{1,6}/,Oe=/\d+/,xe=/[+-]?\d+/,We=/Z|[+-]\d\d:?\d\d/gi,Te=/Z|[+-]\d\d(?::?\d\d)?/gi,Ne=/[+-]?\d+(\.\d{1,3})?/,Ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Pe(e,t,n){_e[e]=x(t)?t:function(e,i){return e&&n?n:t}}function Ce(e,t){return s(_e,e)?_e[e](t._strict,t._locale):new RegExp(Re(e))}function Re(e){return Ee(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,r){return t||n||i||r})))}function Ee(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}_e={};var Le={};function Fe(e,t){var n,i,r=t;for("string"==typeof e&&(e=[e]),u(t)&&(r=function(e,n){n[t]=ue(e)}),i=e.length,n=0;n<i;n++)Le[e[n]]=r}function Ue(e,t){Fe(e,(function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)}))}function He(e,t,n){null!=t&&s(Le,e)&&Le[e](t,n._a,n,e)}var Ve,Ie=0,Ge=1,je=2,qe=3,ze=4,Ze=5,$e=6,Be=7,Je=8;function Qe(e,t){return(e%t+t)%t}function Xe(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?oe(e)?29:28:31-n%7%2}Ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},U("M",["MM",2],"Mo",(function(){return this.month()+1})),U("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),U("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),te("month","M"),ae("month",8),Pe("M",ke),Pe("MM",ke,pe),Pe("MMM",(function(e,t){return t.monthsShortRegex(e)})),Pe("MMMM",(function(e,t){return t.monthsRegex(e)})),Fe(["M","MM"],(function(e,t){t[Ge]=ue(e)-1})),Fe(["MMM","MMMM"],(function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[Ge]=r:_(n).invalidMonth=e}));var Ke="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),et="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),tt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rt=Ae,at=Ae;function st(e,t){return e?r(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||tt).test(t)?"format":"standalone"][e.month()]:r(this._months)?this._months:this._months.standalone}function ot(e,t){return e?r(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[tt.test(t)?"format":"standalone"][e.month()]:r(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var i,r,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=f([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=Ve.call(this._shortMonthsParse,s))?r:null:-1!==(r=Ve.call(this._longMonthsParse,s))?r:null:"MMM"===t?-1!==(r=Ve.call(this._shortMonthsParse,s))||-1!==(r=Ve.call(this._longMonthsParse,s))?r:null:-1!==(r=Ve.call(this._longMonthsParse,s))||-1!==(r=Ve.call(this._shortMonthsParse,s))?r:null}function ut(e,t,n){var i,r,a;if(this._monthsParseExact)return lt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=f([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}}function ht(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=ue(t);else if(!u(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Xe(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function ct(e){return null!=e?(ht(this,e),n.updateOffset(this,!0),this):ce(this,"Month")}function dt(){return Xe(this.year(),this.month())}function ft(e){return this._monthsParseExact?(s(this,"_monthsRegex")||_t.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=rt),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function mt(e){return this._monthsParseExact?(s(this,"_monthsRegex")||_t.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=at),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function _t(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],a=[];for(t=0;t<12;t++)n=f([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),a.sort(e),t=0;t<12;t++)i[t]=Ee(i[t]),r[t]=Ee(r[t]);for(t=0;t<24;t++)a[t]=Ee(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function yt(e){return oe(e)?366:365}U("Y",0,0,(function(){var e=this.year();return e<=9999?C(e,4):"+"+e})),U(0,["YY",2],0,(function(){return this.year()%100})),U(0,["YYYY",4],0,"year"),U(0,["YYYYY",5],0,"year"),U(0,["YYYYYY",6,!0],0,"year"),te("year","y"),ae("year",1),Pe("Y",xe),Pe("YY",ke,pe),Pe("YYYY",De,ge),Pe("YYYYY",Ye,ve),Pe("YYYYYY",Ye,ve),Fe(["YYYYY","YYYYYY"],Ie),Fe("YYYY",(function(e,t){t[Ie]=2===e.length?n.parseTwoDigitYear(e):ue(e)})),Fe("YY",(function(e,t){t[Ie]=n.parseTwoDigitYear(e)})),Fe("Y",(function(e,t){t[Ie]=parseInt(e,10)})),n.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};var pt=he("FullYear",!0);function wt(){return oe(this.year())}function gt(e,t,n,i,r,a,s){var o;return e<100&&e>=0?(o=new Date(e+400,t,n,i,r,a,s),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,n,i,r,a,s),o}function vt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function kt(e,t,n){var i=7+t-n;return-(7+vt(e,0,i).getUTCDay()-t)%7+i-1}function St(e,t,n,i,r){var a,s,o=1+7*(t-1)+(7+n-i)%7+kt(e,i,r);return o<=0?s=yt(a=e-1)+o:o>yt(e)?(a=e+1,s=o-yt(e)):(a=e,s=o),{year:a,dayOfYear:s}}function bt(e,t,n){var i,r,a=kt(e.year(),t,n),s=Math.floor((e.dayOfYear()-a-1)/7)+1;return s<1?i=s+Mt(r=e.year()-1,t,n):s>Mt(e.year(),t,n)?(i=s-Mt(e.year(),t,n),r=e.year()+1):(r=e.year(),i=s),{week:i,year:r}}function Mt(e,t,n){var i=kt(e,t,n),r=kt(e+1,t,n);return(yt(e)-i+r)/7}function Dt(e){return bt(e,this._week.dow,this._week.doy).week}U("w",["ww",2],"wo","week"),U("W",["WW",2],"Wo","isoWeek"),te("week","w"),te("isoWeek","W"),ae("week",5),ae("isoWeek",5),Pe("w",ke),Pe("ww",ke,pe),Pe("W",ke),Pe("WW",ke,pe),Ue(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=ue(e)}));var Yt={dow:0,doy:6};function Ot(){return this._week.dow}function xt(){return this._week.doy}function Wt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Tt(e){var t=bt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Nt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function At(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}U("d",0,"do","day"),U("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),U("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),U("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),U("e",0,0,"weekday"),U("E",0,0,"isoWeekday"),te("day","d"),te("weekday","e"),te("isoWeekday","E"),ae("day",11),ae("weekday",11),ae("isoWeekday",11),Pe("d",ke),Pe("e",ke),Pe("E",ke),Pe("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Pe("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Pe("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ue(["dd","ddd","dddd"],(function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:_(n).invalidWeekday=e})),Ue(["d","e","E"],(function(e,t,n,i){t[i]=ue(e)}));var Ct="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Et="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Lt=Ae,Ft=Ae,Ut=Ae;function Ht(e,t){var n=r(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pt(n,this._week.dow):e?n[e.day()]:n}function Vt(e){return!0===e?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function It(e){return!0===e?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gt(e,t,n){var i,r,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=f([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=Ve.call(this._weekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Ve.call(this._shortWeekdaysParse,s))?r:null:-1!==(r=Ve.call(this._minWeekdaysParse,s))?r:null:"dddd"===t?-1!==(r=Ve.call(this._weekdaysParse,s))||-1!==(r=Ve.call(this._shortWeekdaysParse,s))||-1!==(r=Ve.call(this._minWeekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Ve.call(this._shortWeekdaysParse,s))||-1!==(r=Ve.call(this._weekdaysParse,s))||-1!==(r=Ve.call(this._minWeekdaysParse,s))?r:null:-1!==(r=Ve.call(this._minWeekdaysParse,s))||-1!==(r=Ve.call(this._weekdaysParse,s))||-1!==(r=Ve.call(this._shortWeekdaysParse,s))?r:null}function jt(e,t,n){var i,r,a;if(this._weekdaysParseExact)return Gt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=f([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}}function qt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Nt(e,this.localeData()),this.add(e-t,"d")):t}function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Zt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=At(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function $t(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Lt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Bt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ft),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Jt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ut),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Qt(){function e(e,t){return t.length-e.length}var t,n,i,r,a,s=[],o=[],l=[],u=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),i=Ee(this.weekdaysMin(n,"")),r=Ee(this.weekdaysShort(n,"")),a=Ee(this.weekdays(n,"")),s.push(i),o.push(r),l.push(a),u.push(i),u.push(r),u.push(a);s.sort(e),o.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}function Xt(){return this.hours()%12||12}function Kt(){return this.hours()||24}function en(e,t){U(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}U("H",["HH",2],0,"hour"),U("h",["hh",2],0,Xt),U("k",["kk",2],0,Kt),U("hmm",0,0,(function(){return""+Xt.apply(this)+C(this.minutes(),2)})),U("hmmss",0,0,(function(){return""+Xt.apply(this)+C(this.minutes(),2)+C(this.seconds(),2)})),U("Hmm",0,0,(function(){return""+this.hours()+C(this.minutes(),2)})),U("Hmmss",0,0,(function(){return""+this.hours()+C(this.minutes(),2)+C(this.seconds(),2)})),en("a",!0),en("A",!1),te("hour","h"),ae("hour",13),Pe("a",tn),Pe("A",tn),Pe("H",ke),Pe("h",ke),Pe("k",ke),Pe("HH",ke,pe),Pe("hh",ke,pe),Pe("kk",ke,pe),Pe("hmm",Se),Pe("hmmss",be),Pe("Hmm",Se),Pe("Hmmss",be),Fe(["H","HH"],qe),Fe(["k","kk"],(function(e,t,n){var i=ue(e);t[qe]=24===i?0:i})),Fe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Fe(["h","hh"],(function(e,t,n){t[qe]=ue(e),_(n).bigHour=!0})),Fe("hmm",(function(e,t,n){var i=e.length-2;t[qe]=ue(e.substr(0,i)),t[ze]=ue(e.substr(i)),_(n).bigHour=!0})),Fe("hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[qe]=ue(e.substr(0,i)),t[ze]=ue(e.substr(i,2)),t[Ze]=ue(e.substr(r)),_(n).bigHour=!0})),Fe("Hmm",(function(e,t,n){var i=e.length-2;t[qe]=ue(e.substr(0,i)),t[ze]=ue(e.substr(i))})),Fe("Hmmss",(function(e,t,n){var i=e.length-4,r=e.length-2;t[qe]=ue(e.substr(0,i)),t[ze]=ue(e.substr(i,2)),t[Ze]=ue(e.substr(r))}));var rn=/[ap]\.?m?\.?/i,an=he("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,ln={calendar:A,longDateFormat:j,invalidDate:z,ordinal:$,dayOfMonthOrdinalParse:B,relativeTime:Q,months:Ke,monthsShort:et,week:Yt,weekdays:Ct,weekdaysMin:Et,weekdaysShort:Rt,meridiemParse:rn},un={},hn={};function cn(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function dn(e){return e?e.toLowerCase().replace("_","-"):e}function fn(e){for(var t,n,i,r,a=0;a<e.length;){for(t=(r=dn(e[a]).split("-")).length,n=(n=dn(e[a+1]))?n.split("-"):null;t>0;){if(i=_n(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&cn(r,n)>=t-1)break;t--}a++}return on}function mn(e){return null!=e.match("^[^/\\\\]*$")}function _n(e){var t=null;if(void 0===un[e]&&it&&it.exports&&mn(e))try{t=on._abbr,nt("./locale/"+e),yn(t)}catch(t){un[e]=null}return un[e]}function yn(e,t){var n;return e&&((n=l(t)?gn(e):pn(e,t))?on=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function pn(e,t){if(null!==t){var n,i=ln;if(t.abbr=e,null!=un[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])i=un[t.parentLocale]._config;else{if(null==(n=_n(t.parentLocale)))return hn[t.parentLocale]||(hn[t.parentLocale]=[]),hn[t.parentLocale].push({name:e,config:t}),null;i=n._config}return un[e]=new N(T(i,t)),hn[e]&&hn[e].forEach((function(e){pn(e.name,e.config)})),yn(e),un[e]}return delete un[e],null}function wn(e,t){if(null!=t){var n,i,r=ln;null!=un[e]&&null!=un[e].parentLocale?un[e].set(T(un[e]._config,t)):(null!=(i=_n(e))&&(r=i._config),t=T(r,t),null==i&&(t.abbr=e),(n=new N(t)).parentLocale=un[e],un[e]=n),yn(e)}else null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===yn()&&yn(e)):null!=un[e]&&delete un[e]);return un[e]}function gn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return on;if(!r(e)){if(t=_n(e))return t;e=[e]}return fn(e)}function vn(){return D(un)}function kn(e){var t,n=e._a;return n&&-2===_(e).overflow&&(t=n[Ge]<0||n[Ge]>11?Ge:n[je]<1||n[je]>Xe(n[Ie],n[Ge])?je:n[qe]<0||n[qe]>24||24===n[qe]&&(0!==n[ze]||0!==n[Ze]||0!==n[$e])?qe:n[ze]<0||n[ze]>59?ze:n[Ze]<0||n[Ze]>59?Ze:n[$e]<0||n[$e]>999?$e:-1,_(e)._overflowDayOfYear&&(t<Ie||t>je)&&(t=je),_(e)._overflowWeeks&&-1===t&&(t=Be),_(e)._overflowWeekday&&-1===t&&(t=Je),_(e).overflow=t),e}var Sn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mn=/Z|[+-]\d\d(?::?\d\d)?/,Dn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Yn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],On=/^\/?Date\((-?\d+)/i,xn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Wn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tn(e){var t,n,i,r,a,s,o=e._i,l=Sn.exec(o)||bn.exec(o),u=Dn.length,h=Yn.length;if(l){for(_(e).iso=!0,t=0,n=u;t<n;t++)if(Dn[t][1].exec(l[1])){r=Dn[t][0],i=!1!==Dn[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=h;t<n;t++)if(Yn[t][1].exec(l[3])){a=(l[2]||" ")+Yn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!i&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Mn.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=r+(a||"")+(s||""),In(e)}else e._isValid=!1}function Nn(e,t,n,i,r,a){var s=[An(e),et.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return a&&s.push(parseInt(a,10)),s}function An(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Pn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Cn(e,t,n){return!e||Rt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(_(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Rn(e,t,n){if(e)return Wn[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}function En(e){var t,n=xn.exec(Pn(e._i));if(n){if(t=Nn(n[4],n[3],n[2],n[5],n[6],n[7]),!Cn(n[1],t,e))return;e._a=t,e._tzm=Rn(n[8],n[9],n[10]),e._d=vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),_(e).rfc2822=!0}else e._isValid=!1}function Ln(e){var t=On.exec(e._i);null===t?(Tn(e),!1===e._isValid&&(delete e._isValid,En(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:n.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Fn(e,t,n){return null!=e?e:null!=t?t:n}function Un(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Hn(e){var t,n,i,r,a,s=[];if(!e._d){for(i=Un(e),e._w&&null==e._a[je]&&null==e._a[Ge]&&Vn(e),null!=e._dayOfYear&&(a=Fn(e._a[Ie],i[Ie]),(e._dayOfYear>yt(a)||0===e._dayOfYear)&&(_(e)._overflowDayOfYear=!0),n=vt(a,0,e._dayOfYear),e._a[Ge]=n.getUTCMonth(),e._a[je]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[qe]&&0===e._a[ze]&&0===e._a[Ze]&&0===e._a[$e]&&(e._nextDay=!0,e._a[qe]=0),e._d=(e._useUTC?vt:gt).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[qe]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(_(e).weekdayMismatch=!0)}}function Vn(e){var t,n,i,r,a,s,o,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,s=4,n=Fn(t.GG,e._a[Ie],bt(Jn(),1,4).year),i=Fn(t.W,1),((r=Fn(t.E,1))<1||r>7)&&(l=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,u=bt(Jn(),a,s),n=Fn(t.gg,e._a[Ie],u.year),i=Fn(t.w,u.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(l=!0)):r=a),i<1||i>Mt(n,a,s)?_(e)._overflowWeeks=!0:null!=l?_(e)._overflowWeekday=!0:(o=St(n,i,r,a,s),e._a[Ie]=o.year,e._dayOfYear=o.dayOfYear)}function In(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],_(e).empty=!0;var t,i,r,a,s,o,l,u=""+e._i,h=u.length,c=0;for(l=(r=G(e._f,e._locale).match(R)||[]).length,t=0;t<l;t++)a=r[t],(i=(u.match(Ce(a,e))||[])[0])&&((s=u.substr(0,u.indexOf(i))).length>0&&_(e).unusedInput.push(s),u=u.slice(u.indexOf(i)+i.length),c+=i.length),F[a]?(i?_(e).empty=!1:_(e).unusedTokens.push(a),He(a,i,e)):e._strict&&!i&&_(e).unusedTokens.push(a);_(e).charsLeftOver=h-c,u.length>0&&_(e).unusedInput.push(u),e._a[qe]<=12&&!0===_(e).bigHour&&e._a[qe]>0&&(_(e).bigHour=void 0),_(e).parsedDateParts=e._a.slice(0),_(e).meridiem=e._meridiem,e._a[qe]=Gn(e._locale,e._a[qe],e._meridiem),null!==(o=_(e).era)&&(e._a[Ie]=e._locale.erasConvertYear(o,e._a[Ie])),Hn(e),kn(e)}else En(e);else Tn(e)}function Gn(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}function jn(e){var t,n,i,r,a,s,o=!1,l=e._f.length;if(0===l)return _(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)a=0,s=!1,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],In(t),y(t)&&(s=!0),a+=_(t).charsLeftOver,a+=10*_(t).unusedTokens.length,_(t).score=a,o?a<i&&(i=a,n=t):(null==i||a<i||s)&&(i=a,n=t,s&&(o=!0));d(e,n||t)}function qn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=c([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Hn(e)}}function zn(e){var t=new k(kn(Zn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Zn(e){var t=e._i,n=e._f;return e._locale=e._locale||gn(e._l),null===t||void 0===n&&""===t?p({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new k(kn(t)):(h(t)?e._d=t:r(n)?jn(e):n?In(e):$n(e),y(e)||(e._d=null),e))}function $n(e){var t=e._i;l(t)?e._d=new Date(n.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Ln(e):r(t)?(e._a=c(t.slice(0),(function(e){return parseInt(e,10)})),Hn(e)):a(t)?qn(e):u(t)?e._d=new Date(t):n.createFromInputFallback(e)}function Bn(e,t,n,i,s){var l={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(a(e)&&o(e)||r(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=n,l._i=e,l._f=t,l._strict=i,zn(l)}function Jn(e,t,n,i){return Bn(e,t,n,i,!1)}n.createFromInputFallback=M("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),n.ISO_8601=function(){},n.RFC_2822=function(){};var Qn=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Jn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()})),Xn=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Jn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()}));function Kn(e,t){var n,i;if(1===t.length&&r(t[0])&&(t=t[0]),!t.length)return Jn();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}function ei(){return Kn("isBefore",[].slice.call(arguments,0))}function ti(){return Kn("isAfter",[].slice.call(arguments,0))}var ni=function(){return Date.now?Date.now():+new Date},ii=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ri(e){var t,n,i=!1,r=ii.length;for(t in e)if(s(e,t)&&(-1===Ve.call(ii,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[ii[n]]){if(i)return!1;parseFloat(e[ii[n]])!==ue(e[ii[n]])&&(i=!0)}return!0}function ai(){return this._isValid}function si(){return Wi(NaN)}function oi(e){var t=ie(e),n=t.year||0,i=t.quarter||0,r=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,h=t.millisecond||0;this._isValid=ri(t),this._milliseconds=+h+1e3*u+6e4*l+1e3*o*60*60,this._days=+s+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=gn(),this._bubble()}function li(e){return e instanceof oi}function ui(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function hi(e,t,n){var i,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),s=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&ue(e[i])!==ue(t[i]))&&s++;return s+a}function ci(e,t){U(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+C(~~(e/60),2)+t+C(~~e%60,2)}))}ci("Z",":"),ci("ZZ",""),Pe("Z",Te),Pe("ZZ",Te),Fe(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fi(Te,e)}));var di=/([\+\-]|\d\d)/gi;function fi(e,t){var n,i,r=(t||"").match(e);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(di)||["-",0,0])[1]+ue(n[2]))?0:"+"===n[0]?i:-i}function mi(e,t){var i,r;return t._isUTC?(i=t.clone(),r=(S(e)||h(e)?e.valueOf():Jn(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+r),n.updateOffset(i,!1),i):Jn(e).local()}function _i(e){return-Math.round(e._d.getTimezoneOffset())}function yi(e,t,i){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=fi(Te,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(r=_i(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?Ci(this,Wi(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:_i(this)}function pi(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function wi(e){return this.utcOffset(0,e)}function gi(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(_i(this),"m")),this}function vi(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fi(We,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function ki(e){return!!this.isValid()&&(e=e?Jn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Si(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function bi(){if(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return v(t,this),(t=Zn(t))._a?(e=t._isUTC?f(t._a):Jn(t._a),this._isDSTShifted=this.isValid()&&hi(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Mi(){return!!this.isValid()&&!this._isUTC}function Di(){return!!this.isValid()&&this._isUTC}function Yi(){return!!this.isValid()&&this._isUTC&&0===this._offset}n.updateOffset=function(){};var Oi=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,xi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Wi(e,t){var n,i,r,a=e,o=null;return li(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(o=Oi.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:ue(o[je])*n,h:ue(o[qe])*n,m:ue(o[ze])*n,s:ue(o[Ze])*n,ms:ue(ui(1e3*o[$e]))*n}):(o=xi.exec(e))?(n="-"===o[1]?-1:1,a={y:Ti(o[2],n),M:Ti(o[3],n),w:Ti(o[4],n),d:Ti(o[5],n),h:Ti(o[6],n),m:Ti(o[7],n),s:Ti(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(r=Ai(Jn(a.from),Jn(a.to)),(a={}).ms=r.milliseconds,a.M=r.months),i=new oi(a),li(e)&&s(e,"_locale")&&(i._locale=e._locale),li(e)&&s(e,"_isValid")&&(i._isValid=e._isValid),i}function Ti(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ni(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ai(e,t){var n;return e.isValid()&&t.isValid()?(t=mi(t,e),e.isBefore(t)?n=Ni(e,t):((n=Ni(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Pi(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),Ci(this,Wi(n,i),e),this}}function Ci(e,t,i,r){var a=t._milliseconds,s=ui(t._days),o=ui(t._months);e.isValid()&&(r=null==r||r,o&&ht(e,ce(e,"Month")+o*i),s&&de(e,"Date",ce(e,"Date")+s*i),a&&e._d.setTime(e._d.valueOf()+a*i),r&&n.updateOffset(e,s||o))}Wi.fn=oi.prototype,Wi.invalid=si;var Ri=Pi(1,"add"),Ei=Pi(-1,"subtract");function Li(e){return"string"==typeof e||e instanceof String}function Fi(e){return S(e)||h(e)||Li(e)||u(e)||Hi(e)||Ui(e)||null==e}function Ui(e){var t,n,i=a(e)&&!o(e),r=!1,l=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=l.length;for(t=0;t<u;t+=1)n=l[t],r=r||s(e,n);return i&&r}function Hi(e){var t=r(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Li(e)})).length),t&&n}function Vi(e){var t,n,i=a(e)&&!o(e),r=!1,l=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<l.length;t+=1)n=l[t],r=r||s(e,n);return i&&r}function Ii(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gi(e,t){1===arguments.length&&(arguments[0]?Fi(arguments[0])?(e=arguments[0],t=void 0):Vi(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var i=e||Jn(),r=mi(i,this).startOf("day"),a=n.calendarFormat(this,r)||"sameElse",s=t&&(x(t[a])?t[a].call(this,i):t[a]);return this.format(s||this.localeData().calendar(a,this,Jn(i)))}function ji(){return new k(this)}function qi(e,t){var n=S(e)?e:Jn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function zi(e,t){var n=S(e)?e:Jn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Zi(e,t,n,i){var r=S(e)?e:Jn(e),a=S(t)?t:Jn(t);return!!(this.isValid()&&r.isValid()&&a.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(a,n):!this.isAfter(a,n))}function $i(e,t){var n,i=S(e)?e:Jn(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=ne(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Bi(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ji(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Qi(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=mi(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=ne(t)){case"year":a=Xi(this,i)/12;break;case"month":a=Xi(this,i);break;case"quarter":a=Xi(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:le(a)}function Xi(e,t){if(e.date()<t.date())return-Xi(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function Ki(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function er(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?I(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):x(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",I(n,"Z")):I(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function tr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,i,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",i=a+'[")]',this.format(e+t+n+i)}function nr(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=I(this,e);return this.localeData().postformat(t)}function ir(e,t){return this.isValid()&&(S(e)&&e.isValid()||Jn(e).isValid())?Wi({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rr(e){return this.from(Jn(),e)}function ar(e,t){return this.isValid()&&(S(e)&&e.isValid()||Jn(e).isValid())?Wi({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function sr(e){return this.to(Jn(),e)}function or(e){var t;return void 0===e?this._locale._abbr:(null!=(t=gn(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lr=M("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ur(){return this._locale}var hr=1e3,cr=60*hr,dr=60*cr,fr=3506328*dr;function mr(e,t){return(e%t+t)%t}function _r(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fr:new Date(e,t,n).valueOf()}function yr(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fr:Date.UTC(e,t,n)}function pr(e){var t,i;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?yr:_r,e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mr(t+(this._isUTC?0:this.utcOffset()*cr),dr);break;case"minute":t=this._d.valueOf(),t-=mr(t,cr);break;case"second":t=this._d.valueOf(),t-=mr(t,hr)}return this._d.setTime(t),n.updateOffset(this,!0),this}function wr(e){var t,i;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(i=this._isUTC?yr:_r,e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=dr-mr(t+(this._isUTC?0:this.utcOffset()*cr),dr)-1;break;case"minute":t=this._d.valueOf(),t+=cr-mr(t,cr)-1;break;case"second":t=this._d.valueOf(),t+=hr-mr(t,hr)-1}return this._d.setTime(t),n.updateOffset(this,!0),this}function gr(){return this._d.valueOf()-6e4*(this._offset||0)}function vr(){return Math.floor(this.valueOf()/1e3)}function kr(){return new Date(this.valueOf())}function Sr(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function br(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Mr(){return this.isValid()?this.toISOString():null}function Dr(){return y(this)}function Yr(){return d({},_(this))}function Or(){return _(this).overflow}function xr(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Wr(e,t){var i,r,a,s=this._eras||gn("en")._eras;for(i=0,r=s.length;i<r;++i)switch("string"==typeof s[i].since&&(a=n(s[i].since).startOf("day"),s[i].since=a.valueOf()),typeof s[i].until){case"undefined":s[i].until=1/0;break;case"string":a=n(s[i].until).startOf("day").valueOf(),s[i].until=a.valueOf()}return s}function Tr(e,t,n){var i,r,a,s,o,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),s=l[i].abbr.toUpperCase(),o=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[i];break;case"NNNN":if(a===e)return l[i];break;case"NNNNN":if(o===e)return l[i]}else if([a,s,o].indexOf(e)>=0)return l[i]}function Nr(e,t){var i=e.since<=e.until?1:-1;return void 0===t?n(e.since).year():n(e.since).year()+(t-e.offset)*i}function Ar(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""}function Pr(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""}function Cr(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""}function Rr(){var e,t,i,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(i=a[e].since<=a[e].until?1:-1,r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-n(a[e].since).year())*i+a[e].offset;return this.year()}function Er(e){return s(this,"_erasNameRegex")||Gr.call(this),e?this._erasNameRegex:this._erasRegex}function Lr(e){return s(this,"_erasAbbrRegex")||Gr.call(this),e?this._erasAbbrRegex:this._erasRegex}function Fr(e){return s(this,"_erasNarrowRegex")||Gr.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ur(e,t){return t.erasAbbrRegex(e)}function Hr(e,t){return t.erasNameRegex(e)}function Vr(e,t){return t.erasNarrowRegex(e)}function Ir(e,t){return t._eraYearOrdinalRegex||Oe}function Gr(){var e,t,n=[],i=[],r=[],a=[],s=this.eras();for(e=0,t=s.length;e<t;++e)i.push(Ee(s[e].name)),n.push(Ee(s[e].abbr)),r.push(Ee(s[e].narrow)),a.push(Ee(s[e].name)),a.push(Ee(s[e].abbr)),a.push(Ee(s[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function jr(e,t){U(0,[e,e.length],0,t)}function qr(e){return Qr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function zr(e){return Qr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Zr(){return Mt(this.year(),1,4)}function $r(){return Mt(this.isoWeekYear(),1,4)}function Br(){var e=this.localeData()._week;return Mt(this.year(),e.dow,e.doy)}function Jr(){var e=this.localeData()._week;return Mt(this.weekYear(),e.dow,e.doy)}function Qr(e,t,n,i,r){var a;return null==e?bt(this,i,r).year:(t>(a=Mt(e,i,r))&&(t=a),Xr.call(this,e,t,n,i,r))}function Xr(e,t,n,i,r){var a=St(e,t,n,i,r),s=vt(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}function Kr(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}U("N",0,0,"eraAbbr"),U("NN",0,0,"eraAbbr"),U("NNN",0,0,"eraAbbr"),U("NNNN",0,0,"eraName"),U("NNNNN",0,0,"eraNarrow"),U("y",["y",1],"yo","eraYear"),U("y",["yy",2],0,"eraYear"),U("y",["yyy",3],0,"eraYear"),U("y",["yyyy",4],0,"eraYear"),Pe("N",Ur),Pe("NN",Ur),Pe("NNN",Ur),Pe("NNNN",Hr),Pe("NNNNN",Vr),Fe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?_(n).era=r:_(n).invalidEra=e})),Pe("y",Oe),Pe("yy",Oe),Pe("yyy",Oe),Pe("yyyy",Oe),Pe("yo",Ir),Fe(["y","yy","yyy","yyyy"],Ie),Fe(["yo"],(function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ie]=n._locale.eraYearOrdinalParse(e,r):t[Ie]=parseInt(e,10)})),U(0,["gg",2],0,(function(){return this.weekYear()%100})),U(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),jr("gggg","weekYear"),jr("ggggg","weekYear"),jr("GGGG","isoWeekYear"),jr("GGGGG","isoWeekYear"),te("weekYear","gg"),te("isoWeekYear","GG"),ae("weekYear",1),ae("isoWeekYear",1),Pe("G",xe),Pe("g",xe),Pe("GG",ke,pe),Pe("gg",ke,pe),Pe("GGGG",De,ge),Pe("gggg",De,ge),Pe("GGGGG",Ye,ve),Pe("ggggg",Ye,ve),Ue(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=ue(e)})),Ue(["gg","GG"],(function(e,t,i,r){t[r]=n.parseTwoDigitYear(e)})),U("Q",0,"Qo","quarter"),te("quarter","Q"),ae("quarter",7),Pe("Q",ye),Fe("Q",(function(e,t){t[Ge]=3*(ue(e)-1)})),U("D",["DD",2],"Do","date"),te("date","D"),ae("date",9),Pe("D",ke),Pe("DD",ke,pe),Pe("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Fe(["D","DD"],je),Fe("Do",(function(e,t){t[je]=ue(e.match(ke)[0])}));var ea=he("Date",!0);function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}U("DDD",["DDDD",3],"DDDo","dayOfYear"),te("dayOfYear","DDD"),ae("dayOfYear",4),Pe("DDD",Me),Pe("DDDD",we),Fe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),U("m",["mm",2],0,"minute"),te("minute","m"),ae("minute",14),Pe("m",ke),Pe("mm",ke,pe),Fe(["m","mm"],ze);var na=he("Minutes",!1);U("s",["ss",2],0,"second"),te("second","s"),ae("second",15),Pe("s",ke),Pe("ss",ke,pe),Fe(["s","ss"],Ze);var ia,ra,aa=he("Seconds",!1);for(U("S",0,0,(function(){return~~(this.millisecond()/100)})),U(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),U(0,["SSS",3],0,"millisecond"),U(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),U(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),U(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),U(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),U(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),U(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),te("millisecond","ms"),ae("millisecond",16),Pe("S",Me,ye),Pe("SS",Me,pe),Pe("SSS",Me,we),ia="SSSS";ia.length<=9;ia+="S")Pe(ia,Oe);function sa(e,t){t[$e]=ue(1e3*("0."+e))}for(ia="S";ia.length<=9;ia+="S")Fe(ia,sa);function oa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ra=he("Milliseconds",!1),U("z",0,0,"zoneAbbr"),U("zz",0,0,"zoneName");var ua=k.prototype;function ha(e){return Jn(1e3*e)}function ca(){return Jn.apply(null,arguments).parseZone()}function da(e){return e}ua.add=Ri,ua.calendar=Gi,ua.clone=ji,ua.diff=Qi,ua.endOf=wr,ua.format=nr,ua.from=ir,ua.fromNow=rr,ua.to=ar,ua.toNow=sr,ua.get=fe,ua.invalidAt=Or,ua.isAfter=qi,ua.isBefore=zi,ua.isBetween=Zi,ua.isSame=$i,ua.isSameOrAfter=Bi,ua.isSameOrBefore=Ji,ua.isValid=Dr,ua.lang=lr,ua.locale=or,ua.localeData=ur,ua.max=Xn,ua.min=Qn,ua.parsingFlags=Yr,ua.set=me,ua.startOf=pr,ua.subtract=Ei,ua.toArray=Sr,ua.toObject=br,ua.toDate=kr,ua.toISOString=er,ua.inspect=tr,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ua[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ua.toJSON=Mr,ua.toString=Ki,ua.unix=vr,ua.valueOf=gr,ua.creationData=xr,ua.eraName=Ar,ua.eraNarrow=Pr,ua.eraAbbr=Cr,ua.eraYear=Rr,ua.year=pt,ua.isLeapYear=wt,ua.weekYear=qr,ua.isoWeekYear=zr,ua.quarter=ua.quarters=Kr,ua.month=ct,ua.daysInMonth=dt,ua.week=ua.weeks=Wt,ua.isoWeek=ua.isoWeeks=Tt,ua.weeksInYear=Br,ua.weeksInWeekYear=Jr,ua.isoWeeksInYear=Zr,ua.isoWeeksInISOWeekYear=$r,ua.date=ea,ua.day=ua.days=qt,ua.weekday=zt,ua.isoWeekday=Zt,ua.dayOfYear=ta,ua.hour=ua.hours=an,ua.minute=ua.minutes=na,ua.second=ua.seconds=aa,ua.millisecond=ua.milliseconds=ra,ua.utcOffset=yi,ua.utc=wi,ua.local=gi,ua.parseZone=vi,ua.hasAlignedHourOffset=ki,ua.isDST=Si,ua.isLocal=Mi,ua.isUtcOffset=Di,ua.isUtc=Yi,ua.isUTC=Yi,ua.zoneAbbr=oa,ua.zoneName=la,ua.dates=M("dates accessor is deprecated. Use date instead.",ea),ua.months=M("months accessor is deprecated. Use month instead",ct),ua.years=M("years accessor is deprecated. Use year instead",pt),ua.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",pi),ua.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",bi);var fa=N.prototype;function ma(e,t,n,i){var r=gn(),a=f().set(i,t);return r[n](a,e)}function _a(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return ma(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=ma(e,i,n,"month");return r}function ya(e,t,n,i){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var r,a=gn(),s=e?a._week.dow:0,o=[];if(null!=n)return ma(t,(n+s)%7,i,"day");for(r=0;r<7;r++)o[r]=ma(t,(r+s)%7,i,"day");return o}function pa(e,t){return _a(e,t,"months")}function wa(e,t){return _a(e,t,"monthsShort")}function ga(e,t,n){return ya(e,t,n,"weekdays")}function va(e,t,n){return ya(e,t,n,"weekdaysShort")}function ka(e,t,n){return ya(e,t,n,"weekdaysMin")}fa.calendar=P,fa.longDateFormat=q,fa.invalidDate=Z,fa.ordinal=J,fa.preparse=da,fa.postformat=da,fa.relativeTime=X,fa.pastFuture=K,fa.set=W,fa.eras=Wr,fa.erasParse=Tr,fa.erasConvertYear=Nr,fa.erasAbbrRegex=Lr,fa.erasNameRegex=Er,fa.erasNarrowRegex=Fr,fa.months=st,fa.monthsShort=ot,fa.monthsParse=ut,fa.monthsRegex=mt,fa.monthsShortRegex=ft,fa.week=Dt,fa.firstDayOfYear=xt,fa.firstDayOfWeek=Ot,fa.weekdays=Ht,fa.weekdaysMin=It,fa.weekdaysShort=Vt,fa.weekdaysParse=jt,fa.weekdaysRegex=$t,fa.weekdaysShortRegex=Bt,fa.weekdaysMinRegex=Jt,fa.isPM=nn,fa.meridiem=sn,yn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=M("moment.lang is deprecated. Use moment.locale instead.",yn),n.langData=M("moment.langData is deprecated. Use moment.localeData instead.",gn);var Sa=Math.abs;function ba(){var e=this._data;return this._milliseconds=Sa(this._milliseconds),this._days=Sa(this._days),this._months=Sa(this._months),e.milliseconds=Sa(e.milliseconds),e.seconds=Sa(e.seconds),e.minutes=Sa(e.minutes),e.hours=Sa(e.hours),e.months=Sa(e.months),e.years=Sa(e.years),this}function Ma(e,t,n,i){var r=Wi(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Da(e,t){return Ma(this,e,t,1)}function Ya(e,t){return Ma(this,e,t,-1)}function Oa(e){return e<0?Math.floor(e):Math.ceil(e)}function xa(){var e,t,n,i,r,a=this._milliseconds,s=this._days,o=this._months,l=this._data;return a>=0&&s>=0&&o>=0||a<=0&&s<=0&&o<=0||(a+=864e5*Oa(Ta(o)+s),s=0,o=0),l.milliseconds=a%1e3,e=le(a/1e3),l.seconds=e%60,t=le(e/60),l.minutes=t%60,n=le(t/60),l.hours=n%24,s+=le(n/24),o+=r=le(Wa(s)),s-=Oa(Ta(r)),i=le(o/12),o%=12,l.days=s,l.months=o,l.years=i,this}function Wa(e){return 4800*e/146097}function Ta(e){return 146097*e/4800}function Na(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=ne(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+Wa(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ta(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}}function Aa(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Pa(e){return function(){return this.as(e)}}var Ca=Pa("ms"),Ra=Pa("s"),Ea=Pa("m"),La=Pa("h"),Fa=Pa("d"),Ua=Pa("w"),Ha=Pa("M"),Va=Pa("Q"),Ia=Pa("y");function Ga(){return Wi(this)}function ja(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function qa(e){return function(){return this.isValid()?this._data[e]:NaN}}var za=qa("milliseconds"),Za=qa("seconds"),$a=qa("minutes"),Ba=qa("hours"),Ja=qa("days"),Qa=qa("months"),Xa=qa("years");function Ka(){return le(this.days()/7)}var es=Math.round,ts={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ns(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}function is(e,t,n,i){var r=Wi(e).abs(),a=es(r.as("s")),s=es(r.as("m")),o=es(r.as("h")),l=es(r.as("d")),u=es(r.as("M")),h=es(r.as("w")),c=es(r.as("y")),d=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||s<=1&&["m"]||s<n.m&&["mm",s]||o<=1&&["h"]||o<n.h&&["hh",o]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(d=d||h<=1&&["w"]||h<n.w&&["ww",h]),(d=d||u<=1&&["M"]||u<n.M&&["MM",u]||c<=1&&["y"]||["yy",c])[2]=t,d[3]=+e>0,d[4]=i,ns.apply(null,d)}function rs(e){return void 0===e?es:"function"==typeof e&&(es=e,!0)}function as(e,t){return void 0!==ts[e]&&(void 0===t?ts[e]:(ts[e]=t,"s"===e&&(ts.ss=t-1),!0))}function ss(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,a=ts;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(a=Object.assign({},ts,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),i=is(this,!r,a,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)}var os=Math.abs;function ls(e){return(e>0)-(e<0)||+e}function us(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,a,s,o,l=os(this._milliseconds)/1e3,u=os(this._days),h=os(this._months),c=this.asSeconds();return c?(e=le(l/60),t=le(e/60),l%=60,e%=60,n=le(h/12),h%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=c<0?"-":"",a=ls(this._months)!==ls(c)?"-":"",s=ls(this._days)!==ls(c)?"-":"",o=ls(this._milliseconds)!==ls(c)?"-":"",r+"P"+(n?a+n+"Y":"")+(h?a+h+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+i+"S":"")):"P0D"}var hs=oi.prototype;return hs.isValid=ai,hs.abs=ba,hs.add=Da,hs.subtract=Ya,hs.as=Na,hs.asMilliseconds=Ca,hs.asSeconds=Ra,hs.asMinutes=Ea,hs.asHours=La,hs.asDays=Fa,hs.asWeeks=Ua,hs.asMonths=Ha,hs.asQuarters=Va,hs.asYears=Ia,hs.valueOf=Aa,hs._bubble=xa,hs.clone=Ga,hs.get=ja,hs.milliseconds=za,hs.seconds=Za,hs.minutes=$a,hs.hours=Ba,hs.days=Ja,hs.weeks=Ka,hs.months=Qa,hs.years=Xa,hs.humanize=ss,hs.toISOString=us,hs.toString=us,hs.toJSON=us,hs.locale=or,hs.localeData=ur,hs.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",us),hs.lang=lr,U("X",0,0,"unix"),U("x",0,0,"valueOf"),Pe("x",xe),Pe("X",Ne),Fe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Fe("x",(function(e,t,n){n._d=new Date(ue(e))})),
//! moment.js
n.version="2.29.4",i(Jn),n.fn=ua,n.min=ei,n.max=ti,n.now=ni,n.utc=f,n.unix=ha,n.months=pa,n.isDate=h,n.locale=yn,n.invalid=p,n.duration=Wi,n.isMoment=S,n.weekdays=ga,n.parseZone=ca,n.localeData=gn,n.isDuration=li,n.monthsShort=wa,n.weekdaysMin=ka,n.defineLocale=pn,n.updateLocale=wn,n.locales=vn,n.weekdaysShort=va,n.normalizeUnits=ne,n.relativeTimeRounding=rs,n.relativeTimeThreshold=as,n.calendarFormat=Ii,n.prototype=ua,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n}();var at=rt.exports,st=new WeakSet,ot=new WeakSet,lt=new WeakSet,ut=new WeakSet,ht=new WeakSet,ct=new WeakSet,dt=new WeakSet,ft=new WeakSet,mt=new WeakSet,_t=new WeakSet,yt=new WeakSet,pt=new WeakSet,wt=new WeakSet;function gt(){(new y).validate()}function vt(){(new m).initialize()}function kt(){var e=this;document.querySelectorAll("form[data-powermail-ajax]").forEach((function(t){t.addEventListener("submit",(function(n){if(n.preventDefault(),!1===t.classList.contains("powermail_form_error")){var i=t.getAttribute("action"),r=t.getAttribute("data-powermail-form"),a=t.getAttribute("data-powermail-ajax-uri");u(e,ht,bt).call(e,t),fetch(i,{body:new FormData(t),method:"post"}).then((function(e){return e.text()})).then((function(n){var i=(new DOMParser).parseFromString(n,"text/html").documentElement.querySelector('[data-powermail-form="'+r+'"]');if(null!==i){var s=document.querySelector('[data-powermail-form="'+r+'"]').closest(".tx-powermail");s.innerHTML="",s.appendChild(i)}else null!==a?f.redirectToUri(a):t.submit();u(e,lt,kt).call(e),u(e,st,gt).call(e),u(e,ot,vt).call(e),u(e,mt,Ot).call(e)})).catch((function(e){console.log(e)}))}}))}))}function St(){null!==document.querySelector('[data-powermail-location="prefill"]')&&navigator.geolocation.getCurrentPosition((function(e){var t=e.coords.latitude,n=e.coords.longitude,i=document.querySelector("[data-powermail-eidurl]").getAttribute("data-powermail-eidurl");fetch(i+"?eID=powermailEidGetLocation&lat="+t+"&lng="+n).then((function(e){return e.text()})).then((function(e){for(var t=document.querySelectorAll('[data-powermail-location="prefill"]'),n=0;n<t.length;n++)t[n].value=e})).catch((function(e){console.log(e)}))}))}function bt(e){u(this,ct,Mt).call(this,e);var t=e.querySelector(".powermail_submit");if(null!==t)t.parentNode.appendChild(u(this,dt,Dt).call(this));else{var n=e.closest(".tx-powermail");null!==n&&n.appendChild(u(this,dt,Dt).call(this))}}function Mt(e){var t=e.closest(".tx-powermail");if(null!==t){var n=t.querySelector(".powermail_progressbar");null!==n&&n.remove()}}function Dt(){var e=document.createElement("div");e.classList.add("powermail_progressbar");var t=document.createElement("div");t.classList.add("powermail_progress");var n=document.createElement("div");return n.classList.add("powermail_progress_inner"),e.appendChild(t),t.appendChild(n),e}function Yt(){for(var e=document.querySelectorAll(".powermail_all_type_password.powermail_all_value"),t=0;t<e.length;t++)e[t].innerText="********"}function Ot(){document.querySelectorAll("img.powermail_captchaimage").forEach((function(e){var t=f.getUriWithoutGetParam(e.getAttribute("src"));e.setAttribute("src",t+"?hash="+f.getRandomString(5))}))}function xt(){var e=this;document.querySelectorAll(".deleteAllFiles").forEach((function(t){var n=t.closest(".powermail_fieldwrap_file");if(null!==n){var i=n.querySelector('input[type="file"]');u(e,pt,Tt).call(e,i)}t.addEventListener("click",(function(){var n=t.closest(".powermail_fieldwrap_file");if(null!==n){var i=n.querySelector('input[type="hidden"]');u(e,wt,Nt).call(e,i)}var r=t.closest("ul");null!==r&&r.remove()}))}))}function Wt(){document.querySelectorAll("form.powermail_form").forEach((function(e){e.querySelectorAll("input").forEach((function(e){var t=e.getAttribute("type");if("date"===t||"datetime-local"===t||"time"===t){var n="YYYY-MM-DD";"datetime-local"===t?n="YYYY-MM-DDTHH:mm":"time"===t&&(n="HH:mm");var i=e.getAttribute("data-date-value");if(null!==i){var r=e.getAttribute("data-datepicker-format"),a=at(i,r);a.isValid&&(e.value=a.format(n))}}}))}))}function Tt(e){e.prop("disabled","disabled").addClass("hide").prop("type","hidden")}function Nt(e){e.prop("disabled",!1).removeClass("hide").prop("type","file")}(new(n((function t(){e(this,t),d(this,wt),d(this,pt),d(this,yt),d(this,_t),d(this,mt),d(this,ft),d(this,dt),d(this,ct),d(this,ht),d(this,ut),d(this,lt),d(this,ot),d(this,st),i(this,"use strict",void 0),i(this,"initialize",(function(){var e=this;u(e,st,gt).call(e),u(e,ot,vt).call(e),u(e,lt,kt).call(e),u(e,ut,St).call(e),u(e,ft,Yt).call(e),u(e,_t,xt).call(e),u(e,yt,Wt).call(e)}))})))).initialize()}();

/*!
 * shariff - v3.2.1 - Mon, 27 May 2019 08:23:32 GMT
 * https://github.com/heiseonline/shariff
 * Copyright (c) 2019 Ines Pauer, Philipp Busse, Sebastian Hilbig, Erich Kramer, Deniz Sesli
 * Licensed under the MIT license
 */
!function(e){function t(a){if(r[a])return r[a].exports;var n=r[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,t),n.l=!0,n.exports}var r={};t.m=e,t.c=r,t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,r){"use strict";function a(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function n(e,t,r){if(e&&p.isObject(e)&&e instanceof a)return e;var n=new a;return n.parse(e,t,r),n}function i(e){return p.isString(e)&&(e=n(e)),e instanceof a?e.format():a.prototype.format.call(e)}function o(e,t){return n(e,!1,!0).resolve(t)}function s(e,t){return e?n(e,!1,!0).resolveObject(t):t}var l=r(10),p=r(12);t.parse=n,t.resolve=o,t.resolveObject=s,t.format=i,t.Url=a;var u=/^([a-z0-9.+-]+:)/i,h=/:[0-9]*$/,d=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],f=["{","}","|","\\","^","`"].concat(c),m=["'"].concat(f),b=["%","/","?",";","#"].concat(m),g=["/","?","#"],v=/^[+a-z0-9A-Z_-]{0,63}$/,k=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,j={javascript:!0,"javascript:":!0},z={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},P=r(13);a.prototype.parse=function(e,t,r){if(!p.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var a=e.indexOf("?"),n=-1!==a&&a<e.indexOf("#")?"?":"#",i=e.split(n),o=/\\/g;i[0]=i[0].replace(o,"/"),e=i.join(n);var s=e;if(s=s.trim(),!r&&1===e.split("#").length){var h=d.exec(s);if(h)return this.path=s,this.href=s,this.pathname=h[1],h[2]?(this.search=h[2],this.query=t?P.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var c=u.exec(s);if(c){c=c[0];var f=c.toLowerCase();this.protocol=f,s=s.substr(c.length)}if(r||c||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var T="//"===s.substr(0,2);!T||c&&z[c]||(s=s.substr(2),this.slashes=!0)}if(!z[c]&&(T||c&&!y[c])){for(var w=-1,x=0;x<g.length;x++){var U=s.indexOf(g[x]);-1!==U&&(-1===w||U<w)&&(w=U)}var C,R;R=-1===w?s.lastIndexOf("@"):s.lastIndexOf("@",w),-1!==R&&(C=s.slice(0,R),s=s.slice(R+1),this.auth=decodeURIComponent(C)),w=-1;for(var x=0;x<b.length;x++){var U=s.indexOf(b[x]);-1!==U&&(-1===w||U<w)&&(w=U)}-1===w&&(w=s.length),this.host=s.slice(0,w),s=s.slice(w),this.parseHost(),this.hostname=this.hostname||"";var I="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!I)for(var D=this.hostname.split(/\./),x=0,S=D.length;x<S;x++){var L=D[x];if(L&&!L.match(v)){for(var N="",O=0,F=L.length;O<F;O++)L.charCodeAt(O)>127?N+="x":N+=L[O];if(!N.match(v)){var A=D.slice(0,x),q=D.slice(x+1),M=L.match(k);M&&(A.push(M[1]),q.unshift(M[2])),q.length&&(s="/"+q.join(".")+s),this.hostname=A.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=l.toASCII(this.hostname));var J=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+J,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!j[f])for(var x=0,S=m.length;x<S;x++){var W=m[x];if(-1!==s.indexOf(W)){var G=encodeURIComponent(W);G===W&&(G=escape(W)),s=s.split(W).join(G)}}var Q=s.indexOf("#");-1!==Q&&(this.hash=s.substr(Q),s=s.slice(0,Q));var B=s.indexOf("?");if(-1!==B?(this.search=s.substr(B),this.query=s.substr(B+1),t&&(this.query=P.parse(this.query)),s=s.slice(0,B)):t&&(this.search="",this.query={}),s&&(this.pathname=s),y[f]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var J=this.pathname||"",X=this.search||"";this.path=J+X}return this.href=this.format(),this},a.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",r=this.pathname||"",a=this.hash||"",n=!1,i="";this.host?n=e+this.host:this.hostname&&(n=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(n+=":"+this.port)),this.query&&p.isObject(this.query)&&Object.keys(this.query).length&&(i=P.stringify(this.query));var o=this.search||i&&"?"+i||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==n?(n="//"+(n||""),r&&"/"!==r.charAt(0)&&(r="/"+r)):n||(n=""),a&&"#"!==a.charAt(0)&&(a="#"+a),o&&"?"!==o.charAt(0)&&(o="?"+o),r=r.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),o=o.replace("#","%23"),t+n+r+o+a},a.prototype.resolve=function(e){return this.resolveObject(n(e,!1,!0)).format()},a.prototype.resolveObject=function(e){if(p.isString(e)){var t=new a;t.parse(e,!1,!0),e=t}for(var r=new a,n=Object.keys(this),i=0;i<n.length;i++){var o=n[i];r[o]=this[o]}if(r.hash=e.hash,""===e.href)return r.href=r.format(),r;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(r[u]=e[u])}return y[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(e.protocol&&e.protocol!==r.protocol){if(!y[e.protocol]){for(var h=Object.keys(e),d=0;d<h.length;d++){var c=h[d];r[c]=e[c]}return r.href=r.format(),r}if(r.protocol=e.protocol,e.host||z[e.protocol])r.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),r.pathname=f.join("/")}if(r.search=e.search,r.query=e.query,r.host=e.host||"",r.auth=e.auth,r.hostname=e.hostname||e.host,r.port=e.port,r.pathname||r.search){var m=r.pathname||"",b=r.search||"";r.path=m+b}return r.slashes=r.slashes||e.slashes,r.href=r.format(),r}var g=r.pathname&&"/"===r.pathname.charAt(0),v=e.host||e.pathname&&"/"===e.pathname.charAt(0),k=v||g||r.host&&e.pathname,j=k,P=r.pathname&&r.pathname.split("/")||[],f=e.pathname&&e.pathname.split("/")||[],T=r.protocol&&!y[r.protocol];if(T&&(r.hostname="",r.port=null,r.host&&(""===P[0]?P[0]=r.host:P.unshift(r.host)),r.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),k=k&&(""===f[0]||""===P[0])),v)r.host=e.host||""===e.host?e.host:r.host,r.hostname=e.hostname||""===e.hostname?e.hostname:r.hostname,r.search=e.search,r.query=e.query,P=f;else if(f.length)P||(P=[]),P.pop(),P=P.concat(f),r.search=e.search,r.query=e.query;else if(!p.isNullOrUndefined(e.search)){if(T){r.hostname=r.host=P.shift();var w=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");w&&(r.auth=w.shift(),r.host=r.hostname=w.shift())}return r.search=e.search,r.query=e.query,p.isNull(r.pathname)&&p.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r}if(!P.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var x=P.slice(-1)[0],U=(r.host||e.host||P.length>1)&&("."===x||".."===x)||""===x,C=0,R=P.length;R>=0;R--)x=P[R],"."===x?P.splice(R,1):".."===x?(P.splice(R,1),C++):C&&(P.splice(R,1),C--);if(!k&&!j)for(;C--;C)P.unshift("..");!k||""===P[0]||P[0]&&"/"===P[0].charAt(0)||P.unshift(""),U&&"/"!==P.join("/").substr(-1)&&P.push("");var I=""===P[0]||P[0]&&"/"===P[0].charAt(0);if(T){r.hostname=r.host=I?"":P.length?P.shift():"";var w=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@");w&&(r.auth=w.shift(),r.host=r.hostname=w.shift())}return k=k||r.host&&P.length,k&&!I&&P.unshift(""),P.length?r.pathname=P.join("/"):(r.pathname=null,r.path=null),p.isNull(r.pathname)&&p.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},a.prototype.parseHost=function(){var e=this.host,t=h.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t){var r;r=function(){return this}();try{r=r||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";r(3),e.exports=r(4)},function(e,t){},function(e,t,r){"use strict";(function(t){function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,r,a){return r&&e(t.prototype,r),a&&e(t,a),t}}(),o=r(5),s=r(6),l=r(0),p={theme:"color",backendUrl:null,infoUrl:"http://ct.de/-2467514",infoDisplay:"blank",lang:"de",langFallback:"en",mailUrl:function(){var e=l.parse(this.getURL(),!0);return e.query.view="mail",delete e.search,l.format(e)},mailBody:function(){return this.getURL()},mediaUrl:null,orientation:"horizontal",buttonStyle:"standard",referrerTrack:null,services:["twitter","facebook","info"],title:t.document.title,twitterVia:null,flattrUser:null,flattrCategory:null,url:function(){var e=t.document.location.href,r=o("link[rel=canonical]").attr("href")||this.getMeta("og:url")||"";return r.length>0&&(r.indexOf("http")<0&&(r=0!==r.indexOf("//")?t.document.location.protocol+"//"+t.document.location.host+r:t.document.location.protocol+r),e=r),e}},u=function(){function e(t,r){var n=this;a(this,e),this.element=t,o(t).empty(),this.options=o.extend({},p,r,o(t).data()),this.services=Object.keys(s).filter(function(e){return n.isEnabledService(e)}).sort(function(e,t){var r=n.options.services;return r.indexOf(e)-r.indexOf(t)}).map(function(e){return s[e](n)}),this._addButtonList(),null!==this.options.backendUrl&&"icon"!==this.options.buttonStyle&&this.getShares(this._updateCounts.bind(this))}return i(e,[{key:"isEnabledService",value:function(e){return this.options.services.indexOf(e)>-1}},{key:"$socialshareElement",value:function(){return o(this.element)}},{key:"getLocalized",value:function(e,t){return"object"===n(e[t])?void 0===e[t][this.options.lang]?e[t][this.options.langFallback]:e[t][this.options.lang]:"string"==typeof e[t]?e[t]:void 0}},{key:"getMeta",value:function(e){return o('meta[name="'+e+'"],[property="'+e+'"]').attr("content")||""}},{key:"getInfoUrl",value:function(){return this.options.infoUrl}},{key:"getInfoDisplayPopup",value:function(){return"popup"===this.options.infoDisplay}},{key:"getInfoDisplayBlank",value:function(){return"popup"!==this.options.infoDisplay&&"self"!==this.options.infoDisplay}},{key:"getURL",value:function(){return this.getOption("url")}},{key:"getOption",value:function(e){var t=this.options[e];return"function"==typeof t?t.call(this):t}},{key:"getTitle",value:function(){var e=this.getOption("title");if(o(this.element).data().title)return e;e=e||this.getMeta("DC.title");var t=this.getMeta("DC.creator");return e&&t?e+" - "+t:e}},{key:"getReferrerTrack",value:function(){return this.options.referrerTrack||""}},{key:"getShares",value:function(e){var t=l.parse(this.options.backendUrl,!0);return t.query.url=this.getURL(),delete t.search,o.getJSON(l.format(t),e)}},{key:"_updateCounts",value:function(e,t,r){var a=this;e&&o.each(e,function(e,t){a.isEnabledService(e)&&(t>=1e3&&(t=Math.round(t/1e3)+"k"),o(a.element).find("."+e+" a").append(o("<span/>").addClass("share_count").text(t)))})}},{key:"_addButtonList",value:function(){var e=this,r=o("<ul/>").addClass(["theme-"+this.options.theme,"orientation-"+this.options.orientation,"button-style-"+this.options.buttonStyle,"shariff-col-"+this.options.services.length].join(" "));this.services.forEach(function(t){var a=o("<li/>").addClass("shariff-button "+t.name),n=o("<a/>").attr("href",t.shareUrl);if("standard"===e.options.buttonStyle){var i=o("<span/>").addClass("share_text").text(e.getLocalized(t,"shareText"));n.append(i)}void 0!==t.faPrefix&&void 0!==t.faName&&n.prepend(o("<span/>").addClass(t.faPrefix+" "+t.faName)),t.popup?(n.attr("data-rel","popup"),"info"!==t.name&&n.attr("rel","nofollow")):t.blank?(n.attr("target","_blank"),"info"===t.name?n.attr("rel","noopener noreferrer"):n.attr("rel","nofollow noopener noreferrer")):"info"!==t.name&&n.attr("rel","nofollow"),n.attr("title",e.getLocalized(t,"title")),n.attr("role","button"),n.attr("aria-label",e.getLocalized(t,"title")),a.append(n),r.append(a)}),r.on("click",'[data-rel="popup"]',function(e){e.preventDefault();var r=o(this).attr("href");if(r.match(/twitter\.com\/intent\/(\w+)/)){var a=t.window;if(a.__twttr&&a.__twttr.widgets&&a.__twttr.widgets.loaded)return}t.window.open(r,"_blank","width=600,height=460")}),this.$socialshareElement().append(r)}}]),e}();e.exports=u,t.Shariff=u,o(function(){o(".shariff").each(function(){this.hasOwnProperty("shariff")||(this.shariff=new u(this))})})}).call(t,r(1))},function(e,t){e.exports=jQuery},function(e,t,r){"use strict";e.exports={addthis:r(7),buffer:r(8),diaspora:r(9),facebook:r(16),flattr:r(17),flipboard:r(18),info:r(19),linkedin:r(20),mail:r(21),pinterest:r(22),pocket:r(23),print:r(24),qzone:r(25),reddit:r(26),stumbleupon:r(27),telegram:r(28),tencent:r(29),threema:r(30),tumblr:r(31),twitter:r(32),vk:r(33),weibo:r(34),whatsapp:r(35),xing:r(36)}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"addthis",faPrefix:"fas",faName:"fa-plus",title:{bg:"Сподели в AddThis",cs:"Sdílet na AddThis",da:"Del på AddThis",de:"Bei AddThis teilen",en:"Share on AddThis",es:"Compartir en AddThis",fi:"Jaa AddThisissä",fr:"Partager sur AddThis",hr:"Podijelite na AddThis",hu:"Megosztás AddThisen",it:"Condividi su AddThis",ja:"AddThis上で共有",ko:"AddThis에서 공유하기",nl:"Delen op AddThis",no:"Del på AddThis",pl:"Udostępnij przez AddThis",pt:"Compartilhar no AddThis",ro:"Partajează pe AddThis",ru:"Поделиться на AddThis",sk:"Zdieľať na AddThis",sl:"Deli na AddThis",sr:"Podeli na AddThis",sv:"Dela på AddThis",tr:"AddThis'ta paylaş",zh:"在AddThis上分享"},shareUrl:"http://api.addthis.com/oexchange/0.8/offer?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"buffer",faPrefix:"fab",faName:"fa-buffer",title:{bg:"Сподели в buffer",cs:"Sdílet na buffer",da:"Del på buffer",de:"Bei buffer teilen",en:"Share on buffer",es:"Compartir en buffer",fi:"Jaa bufferissä",fr:"Partager sur buffer",hr:"Podijelite na buffer",hu:"Megosztás bufferen",it:"Condividi su buffer",ja:"buffer上で共有",ko:"buffer에서 공유하기",nl:"Delen op buffer",no:"Del på buffer",pl:"Udostępnij przez buffer",pt:"Compartilhar no buffer",ro:"Partajează pe buffer",ru:"Поделиться на buffer",sk:"Zdieľať na buffer",sl:"Deli na buffer",sr:"Podeli na buffer",sv:"Dela på buffer",tr:"buffer'ta paylaş",zh:"在buffer上分享"},shareUrl:"https://buffer.com/add?text="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},function(e,t,r){"use strict";var a=r(0);e.exports=function(e){var t=a.parse("https://share.diasporafoundation.org/",!0);return t.query.url=e.getURL(),t.query.title=e.getTitle(),t.protocol="https",delete t.search,{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"diaspora",faPrefix:"fas",faName:"fa-asterisk",title:{bg:"Сподели в diaspora*",cs:"Sdílet na diaspora*",da:"Del på diaspora*",de:"Bei diaspora* teilen",en:"Share on diaspora*",es:"Compartir en diaspora*",fi:"Jaa Diasporaissä",fr:"Partager sur diaspora*",hr:"Podijelite na diaspora*",hu:"Megosztás diaspora*",it:"Condividi su diaspora*",ja:"diaspora*上で共有",ko:"diaspora*에서 공유하기",nl:"Delen op diaspora*",no:"Del på diaspora*",pl:"Udostępnij przez diaspora*",pt:"Compartilhar no diaspora*",ro:"Partajează pe diaspora*",ru:"Поделиться на diaspora*",sk:"Zdieľať na diaspora*",sl:"Deli na diaspora*",sr:"Podeli na diaspora*-u",sv:"Dela på diaspora*",tr:"diaspora*'ta paylaş",zh:"分享至diaspora*"},shareUrl:a.format(t)+e.getReferrerTrack()}}},function(e,t,r){(function(e,a){var n;!function(a){function i(e){throw new RangeError(I[e])}function o(e,t){for(var r=e.length,a=[];r--;)a[r]=t(e[r]);return a}function s(e,t){var r=e.split("@"),a="";return r.length>1&&(a=r[0]+"@",e=r[1]),e=e.replace(R,"."),a+o(e.split("."),t).join(".")}function l(e){for(var t,r,a=[],n=0,i=e.length;n<i;)t=e.charCodeAt(n++),t>=55296&&t<=56319&&n<i?(r=e.charCodeAt(n++),56320==(64512&r)?a.push(((1023&t)<<10)+(1023&r)+65536):(a.push(t),n--)):a.push(t);return a}function p(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=L(e>>>10&1023|55296),e=56320|1023&e),t+=L(e)}).join("")}function u(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:k}function h(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,r){var a=0;for(e=r?S(e/P):e>>1,e+=S(e/t);e>D*z>>1;a+=k)e=S(e/D);return S(a+(D+1)*e/(e+y))}function c(e){var t,r,a,n,o,s,l,h,c,f,m=[],b=e.length,g=0,y=w,P=T;for(r=e.lastIndexOf(x),r<0&&(r=0),a=0;a<r;++a)e.charCodeAt(a)>=128&&i("not-basic"),m.push(e.charCodeAt(a));for(n=r>0?r+1:0;n<b;){for(o=g,s=1,l=k;n>=b&&i("invalid-input"),h=u(e.charCodeAt(n++)),(h>=k||h>S((v-g)/s))&&i("overflow"),g+=h*s,c=l<=P?j:l>=P+z?z:l-P,!(h<c);l+=k)f=k-c,s>S(v/f)&&i("overflow"),s*=f;t=m.length+1,P=d(g-o,t,0==o),S(g/t)>v-y&&i("overflow"),y+=S(g/t),g%=t,m.splice(g++,0,y)}return p(m)}function f(e){var t,r,a,n,o,s,p,u,c,f,m,b,g,y,P,U=[];for(e=l(e),b=e.length,t=w,r=0,o=T,s=0;s<b;++s)(m=e[s])<128&&U.push(L(m));for(a=n=U.length,n&&U.push(x);a<b;){for(p=v,s=0;s<b;++s)(m=e[s])>=t&&m<p&&(p=m);for(g=a+1,p-t>S((v-r)/g)&&i("overflow"),r+=(p-t)*g,t=p,s=0;s<b;++s)if(m=e[s],m<t&&++r>v&&i("overflow"),m==t){for(u=r,c=k;f=c<=o?j:c>=o+z?z:c-o,!(u<f);c+=k)P=u-f,y=k-f,U.push(L(h(f+P%y,0))),u=S(P/y);U.push(L(h(u,0))),o=d(r,g,a==n),r=0,++a}++r,++t}return U.join("")}function m(e){return s(e,function(e){return U.test(e)?c(e.slice(4).toLowerCase()):e})}function b(e){return s(e,function(e){return C.test(e)?"xn--"+f(e):e})}var g,v=("object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType,2147483647),k=36,j=1,z=26,y=38,P=700,T=72,w=128,x="-",U=/^xn--/,C=/[^\x20-\x7E]/,R=/[\x2E\u3002\uFF0E\uFF61]/g,I={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},D=k-j,S=Math.floor,L=String.fromCharCode;g={version:"1.4.1",ucs2:{decode:l,encode:p},decode:c,encode:f,toASCII:b,toUnicode:m},void 0!==(n=function(){return g}.call(t,r,t,e))&&(e.exports=n)}()}).call(t,r(11)(e),r(1))},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,r){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,r){"use strict";t.decode=t.parse=r(14),t.encode=t.stringify=r(15)},function(e,t,r){"use strict";function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,r,i){t=t||"&",r=r||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var l=1e3;i&&"number"==typeof i.maxKeys&&(l=i.maxKeys);var p=e.length;l>0&&p>l&&(p=l);for(var u=0;u<p;++u){var h,d,c,f,m=e[u].replace(s,"%20"),b=m.indexOf(r);b>=0?(h=m.substr(0,b),d=m.substr(b+1)):(h=m,d=""),c=decodeURIComponent(h),f=decodeURIComponent(d),a(o,c)?n(o[c])?o[c].push(f):o[c]=[o[c],f]:o[c]=f}return o};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,r){"use strict";function a(e,t){if(e.map)return e.map(t);for(var r=[],a=0;a<e.length;a++)r.push(t(e[a],a));return r}var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,r,s){return t=t||"&",r=r||"=",null===e&&(e=void 0),"object"==typeof e?a(o(e),function(o){var s=encodeURIComponent(n(o))+r;return i(e[o])?a(e[o],function(e){return s+encodeURIComponent(n(e))}).join(t):s+encodeURIComponent(n(e[o]))}).join(t):s?encodeURIComponent(n(s))+r+encodeURIComponent(n(e)):""};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=Object.keys||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.push(r);return t}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"facebook",faPrefix:"fab",faName:"fa-facebook-f",title:{bg:"Сподели във Facebook",cs:"Sdílet na Facebooku",da:"Del på Facebook",de:"Bei Facebook teilen",en:"Share on Facebook",es:"Compartir en Facebook",fi:"Jaa Facebookissa",fr:"Partager sur Facebook",hr:"Podijelite na Facebooku",hu:"Megosztás Facebookon",it:"Condividi su Facebook",ja:"フェイスブック上で共有",ko:"페이스북에서 공유하기",nl:"Delen op Facebook",no:"Del på Facebook",pl:"Udostępnij na Facebooku",pt:"Compartilhar no Facebook",ro:"Partajează pe Facebook",ru:"Поделиться на Facebook",sk:"Zdieľať na Facebooku",sl:"Deli na Facebooku",sr:"Podeli na Facebook-u",sv:"Dela på Facebook",tr:"Facebook'ta paylaş",zh:"在Facebook上分享"},shareUrl:"https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=e.getTitle(),a=e.getMeta("description");return{popup:!0,shareText:"Flattr",name:"flattr",faPrefix:"far",faName:"fa-money-bill-alt",title:{de:"Artikel flattrn",en:"Flattr this"},shareUrl:"https://flattr.com/submit/auto?title="+encodeURIComponent(r)+"&description="+encodeURIComponent(a)+"&category="+encodeURIComponent(e.options.flattrCategory||"text")+"&user_id="+encodeURIComponent(e.options.flattrUser)+"&url="+t+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:"flip it",name:"flipboard",faPrefix:"fab",faName:"fa-flipboard",title:{bg:"Сподели в Flipboard",cs:"Sdílet na Flipboardu",da:"Del på Flipboard",de:"Bei Flipboard teilen",en:"Share on Flipboard",es:"Compartir en Flipboard",fi:"Jaa Flipboardissä",fr:"Partager sur Flipboard",hr:"Podijelite na Flipboardu",hu:"Megosztás Flipboardon",it:"Condividi su Flipboard",ja:"Flipboard上で共有",ko:"Flipboard에서 공유하기",nl:"Delen op Flipboard",no:"Del på Flipboard",pl:"Udostępnij na Flipboardu",pt:"Compartilhar no Flipboard",ro:"Partajează pe Flipboard",ru:"Поделиться на Flipboard",sk:"Zdieľať na Flipboardu",sl:"Deli na Flipboardu",sr:"Podeli na Flipboard-u",sv:"Dela på Flipboard",tr:"Flipboard'ta paylaş",zh:"在Flipboard上分享"},shareUrl:"https://share.flipboard.com/bookmarklet/popout?v=2&title="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{blank:e.getInfoDisplayBlank(),popup:e.getInfoDisplayPopup(),shareText:"Info",name:"info",faPrefix:"fas",faName:"fa-info",title:{bg:"Повече информация",cs:"Více informací",da:"Flere oplysninger",de:"Weitere Informationen",en:"More information",es:"Más informaciones",fi:"Lisätietoja",fr:"Plus d'informations",hr:"Više informacija",hu:"Több információ",it:"Maggiori informazioni",ja:"詳しい情報",ko:"추가 정보",nl:"Verdere informatie",no:"Mer informasjon",pl:"Więcej informacji",pt:"Mais informações",ro:"Mai multe informatii",ru:"Больше информации",sk:"Viac informácií",sl:"Več informacij",sr:"Više informacija",sv:"Mer information",tr:"Daha fazla bilgi",zh:"更多信息"},shareUrl:e.getInfoUrl()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=encodeURIComponent(e.getTitle());return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"mitteilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"シェア",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"distribuiți",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"linkedin",faPrefix:"fab",faName:"fa-linkedin-in",title:{bg:"Сподели в LinkedIn",cs:"Sdílet na LinkedIn",da:"Del på LinkedIn",de:"Bei LinkedIn teilen",en:"Share on LinkedIn",es:"Compartir en LinkedIn",fi:"Jaa LinkedInissä",fr:"Partager sur LinkedIn",hr:"Podijelite na LinkedIn",hu:"Megosztás LinkedInen",it:"Condividi su LinkedIn",ja:"LinkedIn上で共有",ko:"LinkedIn에서 공유하기",nl:"Delen op LinkedIn",no:"Del på LinkedIn",pl:"Udostępnij przez LinkedIn",pt:"Compartilhar no LinkedIn",ro:"Partajează pe LinkedIn",ru:"Поделиться на LinkedIn",sk:"Zdieľať na LinkedIn",sl:"Deli na LinkedIn",sr:"Podeli na LinkedIn-u",sv:"Dela på LinkedIn",tr:"LinkedIn'ta paylaş",zh:"在LinkedIn上分享"},shareUrl:"https://www.linkedin.com/shareArticle?mini=true&summary="+encodeURIComponent(e.getMeta("description"))+"&title="+r+"&url="+t}}},function(e,t,r){"use strict";e.exports=function(e){var t=e.getOption("mailUrl");return 0===t.indexOf("mailto:")&&(t+="?subject="+encodeURIComponent(e.getOption("mailSubject")||e.getTitle()),t+="&body="+encodeURIComponent(e.getOption("mailBody").replace(/\{url\}/i,e.getURL()))),{blank:0===t.indexOf("http"),popup:!1,shareText:{en:"mail",zh:"分享"},name:"mail",faPrefix:"fas",faName:"fa-envelope",title:{bg:"Изпрати по имейл",cs:"Poslat mailem",da:"Sende via e-mail",de:"Per E-Mail versenden",en:"Send by email",es:"Enviar por email",fi:"Lähetä sähköpostitse",fr:"Envoyer par courriel",hr:"Pošaljite emailom",hu:"Elküldés e-mailben",it:"Inviare via email",ja:"電子メールで送信",ko:"이메일로 보내기",nl:"Sturen via e-mail",no:"Send via epost",pl:"Wyślij e-mailem",pt:"Enviar por e-mail",ro:"Trimite prin e-mail",ru:"Отправить по эл. почте",sk:"Poslať e-mailom",sl:"Pošlji po elektronski pošti",sr:"Pošalji putem email-a",sv:"Skicka via e-post",tr:"E-posta ile gönder",zh:"通过电子邮件传送"},shareUrl:t}}},function(e,t,r){"use strict";var a=r(0);e.exports=function(e){var t=e.getTitle(),r=e.getMeta("DC.creator");r.length>0&&(t+=" - "+r);var n=e.getOption("mediaUrl");(!n||n.length<=0)&&(n=e.getMeta("og:image"));var i=a.parse("https://www.pinterest.com/pin/create/link/",!0);return i.query.url=e.getURL(),i.query.media=n,i.query.description=t,delete i.search,{popup:!0,shareText:"pin it",name:"pinterest",faPrefix:"fab",faName:"fa-pinterest-p",title:{bg:"Сподели в Pinterest",cs:"Přidat na Pinterest",da:"Del på Pinterest",de:"Bei Pinterest pinnen",en:"Pin it on Pinterest",es:"Compartir en Pinterest",fi:"Jaa Pinterestissä",fr:"Partager sur Pinterest",hr:"Podijelite na Pinterest",hu:"Megosztás Pinteresten",it:"Condividi su Pinterest",ja:"Pinterest上で共有",ko:"Pinterest에서 공유하기",nl:"Delen op Pinterest",no:"Del på Pinterest",pl:"Udostępnij przez Pinterest",pt:"Compartilhar no Pinterest",ro:"Partajează pe Pinterest",ru:"Поделиться на Pinterest",sk:"Zdieľať na Pinterest",sl:"Deli na Pinterest",sr:"Podeli na Pinterest-u",sv:"Dela på Pinterest",tr:"Pinterest'ta paylaş",zh:"分享至Pinterest"},shareUrl:a.format(i)+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:"Pocket",name:"pocket",faPrefix:"fab",faName:"fa-get-pocket",title:{bg:"Запазване в Pocket",cs:"Uložit do Pocket",da:"Gem i Pocket",de:"In Pocket speichern",en:"Save to Pocket",es:"Guardar en Pocket",fi:"Tallenna kohtaan Pocket",fr:"Enregistrer dans Pocket",hr:"Spremi u Pocket",hu:'Mentés "Pocket"-be',it:"Salva in Pocket",ja:"「ポケット」に保存",ko:"Pocket에 저장",nl:"Opslaan in Pocket",no:"Lagre i Pocket",pl:"Zapisz w Pocket",pt:"Salvar em Pocket",ro:"Salvați în Pocket",ru:"Сохранить в Pocket",sk:"Uložiť do priečinka Pocket",sl:"Shrani v Pocket",sr:"Sačuvaj u Pocket",sv:"Spara till Pocket",tr:"Pocket e kaydet",zh:"保存到Pocket"},shareUrl:"https://getpocket.com/save?title="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{name:"print",faPrefix:"fas",faName:"fa-print",popup:!1,shareText:{bg:"",cs:"tlačit",da:"",de:"drucken",en:"print",es:"impresión",fi:"",fr:"imprimer",hr:"",hu:"",it:"stampa",ja:"",ko:"",nl:"afdrukken",no:"",pl:"drukuj",pt:"",ro:"",ru:"Распечатать",sk:"",sl:"",sr:"",sv:"",tr:"",zh:""},title:{bg:"",cs:"tlačit",da:"",de:"drucken",en:"print",es:"impresión",fi:"",fr:"imprimer",hr:"",hu:"",it:"stampa",ja:"",ko:"",nl:"afdrukken",no:"",pl:"drukuj",pt:"",ro:"",ru:"Распечатать",sk:"",sl:"",sr:"",sv:"",tr:"",zh:""},shareUrl:"javascript:window.print();"}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"qzone",faPrefix:"fab",faName:"fa-qq",title:{bg:"Сподели в Qzone",cs:"Sdílet na Qzone",da:"Del på Qzone",de:"Bei Qzone teilen",en:"Share on Qzone",es:"Compartir en Qzone",fi:"Jaa Qzoneissä",fr:"Partager sur Qzone",hr:"Podijelite na Qzone",hu:"Megosztás Qzone",it:"Condividi su Qzone",ja:"Qzone上で共有",ko:"Qzone에서 공유하기",nl:"Delen op Qzone",no:"Del på Qzone",pl:"Udostępnij przez Qzone",pt:"Compartilhar no Qzone",ro:"Partajează pe Qzone",ru:"Поделиться на Qzone",sk:"Zdieľať na Qzone",sl:"Deli na Qzone",sr:"Podeli na Qzone-u",sv:"Dela på Qzone",tr:"Qzone'ta paylaş",zh:"分享至QQ空间"},shareUrl:"http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=encodeURIComponent(e.getTitle());return""!==r&&(r="&title="+r),{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"reddit",faPrefix:"fab",faName:"fa-reddit-alien",title:{bg:"Сподели в Reddit",cs:"Sdílet na Redditu",da:"Del på Reddit",de:"Bei Reddit teilen",en:"Share on Reddit",es:"Compartir en Reddit",fi:"Jaa Redditissä",fr:"Partager sur Reddit",hr:"Podijelite na Reddit",hu:"Megosztás Redditen",it:"Condividi su Reddit",ja:"Reddit上で共有",ko:"Reddit에서 공유하기",nl:"Delen op Reddit",no:"Del på Reddit",pl:"Udostępnij przez Reddit",pt:"Compartilhar no Reddit",ro:"Partajează pe Reddit",ru:"Поделиться на Reddit",sk:"Zdieľať na Reddit",sl:"Deli na Reddit",sr:"Podeli na Reddit-u",sv:"Dela på Reddit",tr:"Reddit'ta paylaş",zh:"分享至Reddit"},shareUrl:"https://reddit.com/submit?url="+t+r+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=encodeURIComponent(e.getTitle());return""!==r&&(r="&title="+r),{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"stumbleupon",faPrefix:"fab",faName:"fa-stumbleupon",title:{bg:"Сподели в Stumbleupon",cs:"Sdílet na Stumbleuponu",da:"Del på Stumbleupon",de:"Bei Stumbleupon teilen",en:"Share on Stumbleupon",es:"Compartir en Stumbleupon",fi:"Jaa Stumbleuponissä",fr:"Partager sur Stumbleupon",hr:"Podijelite na Stumbleupon",hu:"Megosztás Stumbleupon",it:"Condividi su Stumbleupon",ja:"Stumbleupon上で共有",ko:"Stumbleupon에서 공유하기",nl:"Delen op Stumbleupon",no:"Del på Stumbleupon",pl:"Udostępnij przez Stumbleupon",pt:"Compartilhar no Stumbleupon",ro:"Partajează pe Stumbleupon",ru:"Поделиться на Stumbleupon",sk:"Zdieľať na Stumbleupon",sl:"Deli na Stumbleupon",sr:"Podeli na Stumbleupon-u",sv:"Dela på Stumbleupon",tr:"Stumbleupon'ta paylaş",zh:"分享至Stumbleupon"},shareUrl:"https://www.stumbleupon.com/submit?url="+t+r+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"telegram",faPrefix:"fab",faName:"fa-telegram",title:{bg:"Сподели в Telegram",cs:"Sdílet na Telegramu",da:"Del på Telegram",de:"Bei Telegram teilen",en:"Share on Telegram",es:"Compartir en Telegram",fi:"Jaa Telegramissä",fr:"Partager sur Telegram",hr:"Podijelite na Telegram",hu:"Megosztás Telegramen",it:"Condividi su Telegram",ja:"Telegram上で共有",ko:"Telegram에서 공유하기",nl:"Delen op Telegram",no:"Del på Telegram",pl:"Udostępnij przez Telegram",pt:"Compartilhar no Telegram",ro:"Partajează pe Telegram",ru:"Поделиться на Telegram",sk:"Zdieľať na Telegram",sl:"Deli na Telegram",sr:"Podeli na Telegram-u",sv:"Dela på Telegram",tr:"Telegram'ta paylaş",zh:"在Telegram上分享"},shareUrl:"https://t.me/share/url?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"tencent-weibo",faPrefix:"fab",faName:"fa-tencent-weibo",title:{bg:"Сподели в tencent weibo",cs:"Sdílet na tencent weibo",da:"Del på tencent weibo",de:"Bei tencent weibo teilen",en:"Share on tencent weibo",es:"Compartir en tencent weibo",fi:"Jaa tencent weiboissä",fr:"Partager sur tencent weibo",hr:"Podijelite na tencent weibo",hu:"Megosztás tencent weiboen",it:"Condividi su tencent weibo",ja:"Tencent weibo上で共有",ko:"Tencent weibo에서 공유하기",nl:"Delen op tencent weibo",no:"Del på tencent weibo",pl:"Udostępnij przez tencent weibo",pt:"Compartilhar no tencent weibo",ro:"Partajează pe tencent weibo",ru:"Поделиться на tencent weibo",sk:"Zdieľať na tencent weibo",sl:"Deli na tencent weibo",sr:"Podeli na tencent weibo-u",sv:"Dela på tencent weibo",tr:"Tencent weibo'ta paylaş",zh:"分享至腾讯微博"},shareUrl:"http://v.t.qq.com/share/share.php?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=e.getTitle();return{popup:!1,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"threema",faPrefix:"fas",faName:"fa-lock",title:{bg:"Сподели в Threema",cs:"Sdílet na Threema",da:"Del på Threema",de:"Bei Threema teilen",en:"Share on Threema",es:"Compartir en Threema",fi:"Jaa Threemaissä",fr:"Partager sur Threema",hr:"Podijelite na Threema",hu:"Megosztás Threemaen",it:"Condividi su Threema",ja:"Threema上で共有",ko:"Threema에서 공유하기",nl:"Delen op Threema",no:"Del på Threema",pl:"Udostępnij przez Threema",pt:"Compartilhar no Threema",ro:"Partajează pe Threema",ru:"Поделиться на Threema",sk:"Zdieľať na Threema",sl:"Deli na Threema",sr:"Podeli na Threema-u",sv:"Dela på Threema",tr:"Threema'ta paylaş",zh:"在Threema上分享"},shareUrl:"threema://compose?text="+encodeURIComponent(r)+"%20"+t+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"tumblr",faPrefix:"fab",faName:"fa-tumblr",title:{bg:"Сподели в tumblr",cs:"Sdílet na tumblru",da:"Del på tumblr",de:"Bei tumblr teilen",en:"Share on tumblr",es:"Compartir en tumblr",fi:"Jaa tumblrissä",fr:"Partager sur tumblr",hr:"Podijelite na tumblr",hu:"Megosztás tumblren",it:"Condividi su tumblr",ja:"tumblr上で共有",ko:"tumblr에서 공유하기",nl:"Delen op tumblr",no:"Del på tumblr",pl:"Udostępnij przez tumblr",pt:"Compartilhar no tumblr",ro:"Partajează pe tumblr",ru:"Поделиться на tumblr",sk:"Zdieľať na tumblr",sl:"Deli na tumblr",sr:"Podeli na tumblr-u",sv:"Dela på tumblr",tr:"tumblr'ta paylaş",zh:"在tumblr上分享"},shareUrl:"http://tumblr.com/widgets/share/tool?canonicalUrl="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,r){"use strict";var a=r(0),n=function(e,t){var r=document.createElement("div"),a=document.createTextNode(e);r.appendChild(a);var n=r.textContent;if(n.length<=t)return e;var i=n.substring(0,t-1).lastIndexOf(" ");return n=n.substring(0,i)+"…"};e.exports=function(e){var t=a.parse("https://twitter.com/intent/tweet",!0),r=e.getTitle();return t.query.text=n(r,120),t.query.url=e.getURL(),null!==e.options.twitterVia&&(t.query.via=e.options.twitterVia),delete t.search,{popup:!0,shareText:{en:"tweet",ja:"のつぶやき",ko:"짹짹",ru:"твит",sr:"твеет",zh:"鸣叫"},name:"twitter",faPrefix:"fab",faName:"fa-twitter",title:{bg:"Сподели в Twitter",cs:"Sdílet na Twiiteru",da:"Del på Twitter",de:"Bei Twitter teilen",en:"Share on Twitter",es:"Compartir en Twitter",fi:"Jaa Twitterissä",fr:"Partager sur Twitter",hr:"Podijelite na Twitteru",hu:"Megosztás Twitteren",it:"Condividi su Twitter",ja:"ツイッター上で共有",ko:"트위터에서 공유하기",nl:"Delen op Twitter",no:"Del på Twitter",pl:"Udostępnij na Twitterze",pt:"Compartilhar no Twitter",ro:"Partajează pe Twitter",ru:"Поделиться на Twitter",sk:"Zdieľať na Twitteri",sl:"Deli na Twitterju",sr:"Podeli na Twitter-u",sv:"Dela på Twitter",tr:"Twitter'da paylaş",zh:"在Twitter上分享"},shareUrl:a.format(t)+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"vk",faPrefix:"fab",faName:"fa-vk",title:{bg:"Сподели във VK",cs:"Sdílet na VKu",da:"Del på VK",de:"Bei VK teilen",en:"Share on VK",es:"Compartir en VK",fi:"Jaa VKissa",fr:"Partager sur VK",hr:"Podijelite na VKu",hu:"Megosztás VKon",it:"Condividi su VK",ja:"フェイスブック上で共有",ko:"페이스북에서 공유하기",nl:"Delen op VK",no:"Del på VK",pl:"Udostępnij na VKu",pt:"Compartilhar no VK",ro:"Partajează pe VK",ru:"Поделиться на ВКонтакте",sk:"Zdieľať na VKu",sl:"Deli na VKu",sr:"Podeli na VK-u",sv:"Dela på VK",tr:"VK'ta paylaş",zh:"在VK上分享"},shareUrl:"https://vk.com/share.php?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"weibo",faPrefix:"fab",faName:"fa-weibo",title:{bg:"Сподели в weibo",cs:"Sdílet na weibo",da:"Del på weibo",de:"Bei weibo teilen",en:"Share on weibo",es:"Compartir en weibo",fi:"Jaa weiboissä",fr:"Partager sur weibo",hr:"Podijelite na weibo",hu:"Megosztás weiboen",it:"Condividi su weibo",ja:"Weibo上で共有",ko:"Weibo에서 공유하기",nl:"Delen op weibo",no:"Del på weibo",pl:"Udostępnij przez weibo",pt:"Compartilhar no weibo",ro:"Partajează pe weibo",ru:"Поделиться на weibo",sk:"Zdieľať na weibo",sl:"Deli na weibo",sr:"Podeli na weibo-u",sv:"Dela på weibo",tr:"Weibo'ta paylaş",zh:"分享至新浪微博"},shareUrl:"http://service.weibo.com/share/share.php?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),r=e.getTitle();return{popup:!1,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"whatsapp",faPrefix:"fab",faName:"fa-whatsapp",title:{bg:"Сподели в Whatsapp",cs:"Sdílet na Whatsappu",da:"Del på Whatsapp",de:"Bei Whatsapp teilen",en:"Share on Whatsapp",es:"Compartir en Whatsapp",fi:"Jaa WhatsAppissä",fr:"Partager sur Whatsapp",hr:"Podijelite na Whatsapp",hu:"Megosztás WhatsAppen",it:"Condividi su Whatsapp",ja:"Whatsapp上で共有",ko:"Whatsapp에서 공유하기",nl:"Delen op Whatsapp",no:"Del på Whatsapp",pl:"Udostępnij przez WhatsApp",pt:"Compartilhar no Whatsapp",ro:"Partajează pe Whatsapp",ru:"Поделиться на Whatsapp",sk:"Zdieľať na Whatsapp",sl:"Deli na Whatsapp",sr:"Podeli na WhatsApp-u",sv:"Dela på Whatsapp",tr:"Whatsapp'ta paylaş",zh:"在Whatsapp上分享"},shareUrl:"whatsapp://send?text="+encodeURIComponent(r)+"%20"+t+e.getReferrerTrack()}}},function(e,t,r){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподеляне",cs:"sdílet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"共有",ko:"공유하기",nl:"delen",no:"del",pl:"udostępnij",pt:"compartilhar",ro:"partajează",ru:"поделиться",sk:"zdieľať",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaş",zh:"分享"},name:"xing",faPrefix:"fab",faName:"fa-xing",title:{bg:"Сподели в XING",cs:"Sdílet na XINGu",da:"Del på XING",de:"Bei XING teilen",en:"Share on XING",es:"Compartir en XING",fi:"Jaa XINGissä",fr:"Partager sur XING",hr:"Podijelite na XING",hu:"Megosztás XINGen",it:"Condividi su XING",ja:"XING上で共有",ko:"XING에서 공유하기",nl:"Delen op XING",no:"Del på XING",pl:"Udostępnij przez XING",pt:"Compartilhar no XING",ro:"Partajează pe XING",ru:"Поделиться на XING",sk:"Zdieľať na XING",sl:"Deli na XING",sr:"Podeli na XING-u",sv:"Dela på XING",tr:"XING'ta paylaş",zh:"分享至XING"},shareUrl:"https://www.xing.com/spi/shares/new?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}}]);
'use strict';

$('#sharebutton').on('click', function () {
    $(this).toggleClass('active');
    $('#sharebuttons-container').fadeToggle(100);
});

$(document).ready(function () {
    if (!$('#sharebutton-block').length) {
        return;
    }

    let firstHeader = $('.hf-header').first();

    // set the top of the share buttons
    $('#sharebutton-block').css('top', firstHeader.offset().top + 15);
    $('#sharebutton-block').fadeIn(600);

});

'use strict';

$( '#mainnav > ul > li.ifsub > ul' ).each(function() {
  var widththis = $( this ).width();
  var widthparent = $( this ).parent("li").width();
  var width = (widthparent/2) - (widththis/2);
  $( this ).css( 'margin-left', width);
});