var cff_js_exists=void 0!==cff_js_exists;function cffAddMasonry(t){var e,n=jQuery.Event("cffbeforemasonry");n.$self=t,jQuery(window).trigger(n),"function"==typeof t.masonry&&(e=!1,800<(n=jQuery(window).width())?t.hasClass("masonry-1-desktop")?t.addClass("cff-disable-masonry"):(e=!0,t.addClass("cff-masonry cff-masonry-js").removeClass("cff-disable-masonry")):480<n?t.hasClass("masonry-2-tablet")||t.hasClass("masonry-3-tablet")||t.hasClass("masonry-4-tablet")||t.hasClass("masonry-5-tablet")||t.hasClass("masonry-6-tablet")?(e=!0,t.addClass("cff-masonry cff-masonry-js").removeClass("cff-disable-masonry")):t.addClass("cff-disable-masonry"):t.hasClass("masonry-2-mobile")||t.hasClass("masonry-3-mobile")?(e=!0,t.addClass("cff-masonry cff-masonry-js").removeClass("cff-disable-masonry")):t.addClass("cff-disable-masonry"),e&&t.find(".cff-item").length&&(t.find(".cff-posts-wrap").masonry({itemSelector:".cff-new, .cff-item, .cff-likebox"}),t.find(".cff-item").each(function(){jQuery(this).css("margin-bottom","15px")})))}function cff_init(){function t(){jQuery(".cff-visual-header.cff-has-cover").each(function(){var t=jQuery(this).find(".cff-header-hero").innerHeight(),e=jQuery(this).find(".cff-header-hero img").innerHeight(),n=jQuery(this).find(".cff-header-hero").innerWidth(),i=jQuery(this).find(".cff-header-hero img").innerWidth()/e,o=n/t<i?t*i+"px":"100%",e=e-t,e=Math.max(0,Math.round(e/2)),n="100%"!=o?Math.max(0,Math.round((t*i-n)/2)):0;jQuery(this).find(".cff-header-hero img").css({opacity:1,display:"block",visibility:"visible","max-width":"none","max-height":"none","margin-top":-e+"px","margin-left":-n+"px",width:o})})}jQuery("#cff .cff-item").each(function(){var u=jQuery(this);u.find(".cff-viewpost-facebook").parent("p").length&&u.find(".cff-viewpost-facebook").unwrap("p"),u.find(".cff-author").parent("p").length&&(u.find(".cff-author").eq(1).unwrap("p"),u.find(".cff-author").eq(1).remove()),u.find("#cff .cff-link").parent("p").length&&u.find("#cff .cff-link").unwrap("p");var n=!1,i=u.find(".cff-post-text .cff-text"),t=u.closest("#cff").attr("data-char");void 0!==t&&""!=t||(t=99999);var o=i.html();null==o&&(o="");var e=new RegExp(/(<[^>]*>)/g),r=0;full_text_arr=o.split(e);for(var s,a=0,f=full_text_arr.length;a<f;a++)e.test(full_text_arr[a])||(r!=t?t<(r+=full_text_arr[a].length)&&(s=r-t,full_text_arr[a]=full_text_arr[a].slice(0,-s),r=t,o.length>t&&u.find(".cff-expand").show()):full_text_arr.splice(a,1));var c=full_text_arr.join("");function d(){var t,e=u.find(".cff-text").html(),n=u.find(".cff-post-desc").html(),i=/(^|\s)#(\w*[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]+\w*)/gi,o=sanitizeColor(u.find(".cff-text").attr("data-color"));function r(t){t=jQuery.trim(t);return/^#[0-9A-F]{6}$/i.test(t)?t:' <a href="https://www.facebook.com/hashtag/'+t.substring(1)+'" target="_blank" rel="nofollow" style="color:#'+o+'">'+t+"</a>"}"undefined"==typeof cfflinkhashtags&&(cfflinkhashtags="true"),"true"!=cfflinkhashtags||0<(t=u.find(".cff-text")).length&&0==t.find(".cff-post-text-link").length&&(e=e.replace(/<br>/g,"<br> "),t.html(e.replace(i,r))),0<u.find(".cff-post-desc").length&&u.find(".cff-post-desc").html(n.replace(i,r))}"<"==(c=c.replace(/(<(?!\/)[^>]+>)+(<\/[^>]+>)/g,"")).substr(c.length-1)&&(c=c.substring(0,c.length-1)),c=(c=c.replace(/(<br>\s*)+$/,"")).replace(/(<img class="cff-linebreak">\s*)+$/,""),i.html(c),u.find(".cff-expand").on("click",function(t){t.preventDefault();var e=jQuery(this),t=e.find(".cff-more"),e=e.find(".cff-less");0==n?(i.html(o),n=!0,t.hide(),e.show()):(i.html(c),n=!1,t.show(),e.hide()),d(),i.find("a").attr("target","_blank"),u.closest(".cff").hasClass("cff-masonry-js")&&!u.closest(".cff").hasClass("cff-masonry-css")&&cffAddMasonry(u.closest(".cff"))}),i.find("a").add(u.find(".cff-post-desc a")).attr({target:"_blank",rel:"nofollow"}),$sharedLink=u.find(".cff-shared-link"),""==$sharedLink.text()&&$sharedLink.remove(),d(),u.find(".cff-text a").add(u.find(".cff-post-desc a")).attr({target:"_blank",rel:"nofollow noopener noreferrer"}),u.find(".cff-share-link").on("click",function(t){t.preventDefault();var e,t=u.find(".cff-share-tooltip");t.is(":visible")?t.hide().find("a").removeClass("cff-show"):(t.show(),e=0,t.find("a").each(function(){var t=jQuery(this);setTimeout(function(){t.addClass("cff-show")},e),e+=20}))})}),jQuery(".cff-wrapper").each(function(){var t,e,n,i=jQuery(this).find("#cff"),o=jQuery(this);setTimeout(function(){checkConsent(o)?addFullFeatures(o):(jQuery(".cff-gdpr-notice").css({display:"inline-block"}),o.find(".cff-visual-header").length&&o.find(".cff-header-text").closest(".cff-visual-header").addClass("cff-no-consent"))},250),void 0!==i.attr("data-nummobile")&&(t=void 0!==i.attr("data-pag-num")&&""!==i.attr("data-pag-num")?parseInt(i.attr("data-pag-num")):1,e=void 0!==i.attr("data-nummobile")&&""!==i.attr("data-nummobile")?parseInt(i.attr("data-nummobile")):t,n=i.find(".cff-item").length?".cff-item":".cff-album-item",jQuery(window).width()<480?e<i.find(n).length&&i.find(n).slice(e-i.find(n).length).addClass("cff-num-diff-hide"):t<i.find(n).length&&i.find(n).slice(t-i.find(n).length).addClass("cff-num-diff-hide"),i.removeAttr("data-nummobile")),i.hasClass("cff-masonry-js")&&(cffAddMasonry(i),setTimeout(function(){cffAddMasonry(i)},500),jQuery(window).on("resize",function(){setTimeout(function(){cffAddMasonry(i)},500)}),i.find(".cff-credit").length&&i.css("padding-bottom",30))}),setTimeout(t,200),jQuery(window).on("resize",function(){setTimeout(function(){t()},500)})}function sanitizeColor(t){return/^(#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgba?\(\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}(?:\s*,\s*(?:0|1|0?\.\d+))?\s*\))$/.test(t)?t:null}function checkConsent(t){var e,n=void 0!==(t=t.find(".cff-list-container")).attr("data-cff-flags")?t.attr("data-cff-flags").split(","):[],t=-1<n.indexOf("gdpr"),n=(n.indexOf("overrideBlockCDN"),!1);return!(!n&&t)||(void 0!==window.WPConsent?n=window.WPConsent.hasConsent("marketing"):void 0!==window.cookieyes?void 0!==window.cookieyes._ckyConsentStore.get&&(n="yes"===window.cookieyes._ckyConsentStore.get("functional")):"undefined"!=typeof CLI_Cookie?null!==CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)&&(null!==CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")&&(n="yes"===CLI_Cookie.read("cookielawinfo-checkbox-non-necessary")),null!==CLI_Cookie.read("cookielawinfo-checkbox-necessary")&&(n="yes"===CLI_Cookie.read("cookielawinfo-checkbox-necessary"))):void 0!==window.cnArgs?2===(e=("; "+document.cookie).split("; cookie_notice_accepted=")).length&&(n="true"===e.pop().split(";").shift()):void 0!==window.complianz||void 0!==window.cookieconsent?n="allow"===cffCmplzGetCookie("cmplz_marketing"):void 0!==window.Cookiebot?n=Cookiebot.consented:void 0!==window.BorlabsCookie?n=window.BorlabsCookie.checkCookieConsent("facebook"):cffCmplzGetCookie("moove_gdpr_popup")&&(n=void 0!==(e=JSON.parse(decodeURIComponent(cffCmplzGetCookie("moove_gdpr_popup")))).thirdparty&&"1"===e.thirdparty),n)}function cffCmplzGetCookie(t){for(var e=t+"=",n=window.document.cookie.split(";"),i=0;i<n.length;i++){var o=n[i].trim();if(0==o.indexOf(e))return o.substring(e.length,o.length)}return""}function addFullFeatures(t){t=jQuery(t),jQuery(".cff-gdpr-notice").remove(),t.find(".cff-author-img").each(function(){jQuery(this).find("img").attr("src",jQuery(this).attr("data-avatar")),jQuery(this).removeClass("cff-no-consent")}),t.find(".cff-likebox iframe").each(function(){var t=jQuery(this),e=t.attr("data-likebox-width"),n=t.parent().width();""==e&&(e=340),n<e&&(e=n),t.attr("src","https://www.facebook.com/plugins/page.php?href=https%3A%2F%2Fwww.facebook.com%2F"+t.attr("data-likebox-id")+"%2F&tabs&width="+Math.floor(e)+"&small_header="+t.attr("data-likebox-header")+"&adapt_container_width=true&hide_cover="+t.attr("data-hide-cover")+"&hide_cta="+t.attr("data-hide-cta")+"&show_facepile="+t.attr("data-likebox-faces")+"&locale="+t.attr("data-locale"))}),jQuery(".cff-visual-header").length&&jQuery(".cff-visual-header").each(function(){jQuery(this).removeClass("cff-no-consent"),jQuery(this).find(".cff-header-hero").length&&jQuery(this).find(".cff-header-hero").find("img").attr("src",jQuery(this).find(".cff-header-hero").find("img").attr("data-cover-url")),jQuery(this).find(".cff-header-img").length&&jQuery(this).find(".cff-header-img").find("img").attr("src",jQuery(this).find(".cff-header-img").find("img").attr("data-avatar"))})}function afterConsentToggled(t,e){t&&addFullFeatures(e)}function cffGetFeedLocatorDataArray(){var e=[];return jQuery(".cff-list-container").each(function(){$cffPagUrl=jQuery(this).find(".cff-pag-url");var t="";void 0!==$cffPagUrl.attr("data-locatornonce")&&(t=$cffPagUrl.attr("data-locatornonce"));t={feedID:$cffPagUrl.attr("data-feed-id"),postID:$cffPagUrl.attr("data-post-id"),shortCodeAtts:""==jQuery.trim($cffPagUrl.attr("data-cff-shortcode"))?null:JSON.parse($cffPagUrl.attr("data-cff-shortcode")),location:locationGuess(jQuery(this)),locator_nonce:t};e.push(t)}),e}function locationGuess(t=!1){var e=0==t?jQuery(this.el):t,t="content";return e.closest("footer").length?t="footer":e.closest(".header").length||e.closest("header").length?t="header":(e.closest(".sidebar").length||e.closest("aside").length)&&(t="sidebar"),t}cff_js_exists||(jQuery("#cff.cff-masonry-js").length&&(function(t){function e(){}function n(s){if(s){var a="undefined"==typeof console?e:function(t){console.error(t)};return s.bridget=function(t,e){var r,u,n;(n=e).prototype.option||(n.prototype.option=function(t){s.isPlainObject(t)&&(this.options=s.extend(!0,this.options,t))}),r=t,u=e,s.fn[r]=function(e){if("string"!=typeof e)return this.each(function(){var t=s.data(this,r);t?(t.option(e),t._init()):(t=new u(this,e),s.data(this,r,t))});for(var t=f.call(arguments,1),n=0,i=this.length;n<i;n++){var o=this[n],o=s.data(o,r);if(o)if(s.isFunction(o[e])&&"_"!==e.charAt(0)){o=o[e].apply(o,t);if(void 0!==o)return o}else a("no such method '"+e+"' for "+r+" instance");else a("cannot call methods on "+r+" prior to initialization; attempted to call '"+e+"'")}return this}},s.bridget}}var f=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],n):n("object"==typeof exports?require("jquery"):t.jQuery)}(window),function(n){function i(t){var e=n.event;return e.target=e.target||e.srcElement||t,e}var t=document.documentElement,e=function(){};t.addEventListener?e=function(t,e,n){t.addEventListener(e,n,!1)}:t.attachEvent&&(e=function(e,t,n){e[t+n]=n.handleEvent?function(){var t=i(e);n.handleEvent.call(n,t)}:function(){var t=i(e);n.call(e,t)},e.attachEvent("on"+t,e[t+n])});var o=function(){};t.removeEventListener?o=function(t,e,n){t.removeEventListener(e,n,!1)}:t.detachEvent&&(o=function(e,n,i){e.detachEvent("on"+n,e[n+i]);try{delete e[n+i]}catch(t){e[n+i]=void 0}}),o={bind:e,unbind:o},"function"==typeof define&&define.amd?define("eventie/eventie",o):"object"==typeof exports?module.exports=o:n.eventie=o}(window),function(){function t(){}function r(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function e(t){return function(){return this[t].apply(this,arguments)}}var n=t.prototype,i=this,o=i.EventEmitter;n.getListeners=function(t){var e,n,i=this._getEvents();if(t instanceof RegExp)for(n in e={},i)i.hasOwnProperty(n)&&t.test(n)&&(e[n]=i[n]);else e=i[t]||(i[t]=[]);return e},n.flattenListeners=function(t){for(var e=[],n=0;n<t.length;n+=1)e.push(t[n].listener);return e},n.getListenersAsObject=function(t){var e,n=this.getListeners(t);return n instanceof Array&&((e={})[t]=n),e||n},n.addListener=function(t,e){var n,i=this.getListenersAsObject(t),o="object"==typeof e;for(n in i)i.hasOwnProperty(n)&&-1===r(i[n],e)&&i[n].push(o?e:{listener:e,once:!1});return this},n.on=e("addListener"),n.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},n.once=e("addOnceListener"),n.defineEvent=function(t){return this.getListeners(t),this},n.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},n.removeListener=function(t,e){var n,i,o=this.getListenersAsObject(t);for(i in o)o.hasOwnProperty(i)&&(n=r(o[i],e),-1!==n&&o[i].splice(n,1));return this},n.off=e("removeListener"),n.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},n.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},n.manipulateListeners=function(t,e,n){var i,o,r=t?this.removeListener:this.addListener,u=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(i=n.length;i--;)r.call(this,e,n[i]);else for(i in e)e.hasOwnProperty(i)&&(o=e[i])&&("function"==typeof o?r:u).call(this,i,o);return this},n.removeEvent=function(t){var e,n=typeof t,i=this._getEvents();if("string"==n)delete i[t];else if(t instanceof RegExp)for(e in i)i.hasOwnProperty(e)&&t.test(e)&&delete i[e];else delete this._events;return this},n.removeAllListeners=e("removeEvent"),n.emitEvent=function(t,e){var n,i,o,r,u=this.getListenersAsObject(t);for(o in u)if(u.hasOwnProperty(o))for(i=u[o].length;i--;)n=u[o][i],!0===n.once&&this.removeListener(t,n.listener),r=n.listener.apply(this,e||[]),r===this._getOnceReturnValue()&&this.removeListener(t,n.listener);return this},n.trigger=e("emitEvent"),n.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},n.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},n._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},n._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return i.EventEmitter=o,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:i.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof r[t])return t;t=t.charAt(0).toUpperCase()+t.slice(1);for(var e,n=0,i=o.length;n<i;n++)if(e=o[n]+t,"string"==typeof r[e])return e}}var o="Webkit Moz ms Ms O".split(" "),r=document.documentElement.style;"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return e}):"object"==typeof exports?module.exports=e:t.getStyleProperty=e}(window),function(E){function B(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}function t(g){var v,A,C,F=!1;return function(t){if(F||(F=!0,m=E.getComputedStyle,y=m?function(t){return m(t,null)}:function(t){return t.currentStyle},v=function(t){t=y(t);return t||b("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t},(A=g("boxSizing"))&&((p=document.createElement("div")).style.width="200px",p.style.padding="1px 2px 3px 4px",p.style.borderStyle="solid",p.style.borderWidth="1px 2px 3px 4px",p.style[A]="border-box",(l=document.body||document.documentElement).appendChild(p),h=v(p),C=200===B(h.width),l.removeChild(p))),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var e=v(t);if("none"===e.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,n=w.length;e<n;e++)t[w[e]]=0;return t}();var n={};n.width=t.offsetWidth,n.height=t.offsetHeight;for(var i=n.isBorderBox=!(!A||!e[A]||"border-box"!==e[A]),o=0,r=w.length;o<r;o++){var u=w[o],s=function(t,e){if(E.getComputedStyle||-1===e.indexOf("%"))return e;var n=t.style,i=n.left,o=t.runtimeStyle,r=o&&o.left;return r&&(o.left=t.currentStyle.left),n.left=e,e=n.pixelLeft,n.left=i,r&&(o.left=r),e}(t,s=e[u]),s=parseFloat(s);n[u]=isNaN(s)?0:s}var a=n.paddingLeft+n.paddingRight,f=n.paddingTop+n.paddingBottom,c=n.marginLeft+n.marginRight,d=n.marginTop+n.marginBottom,h=n.borderLeftWidth+n.borderRightWidth,l=n.borderTopWidth+n.borderBottomWidth,p=i&&C,i=B(e.width);!1!==i&&(n.width=i+(p?0:a+h));i=B(e.height);return!1!==i&&(n.height=i+(p?0:f+l)),n.innerWidth=n.width-(a+h),n.innerHeight=n.height-(f+l),n.outerWidth=n.width+c,n.outerHeight=n.height+d,n}var m,p,l,h,y}}var b="undefined"==typeof console?function(){}:function(t){console.error(t)},w=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],t):"object"==typeof exports?module.exports=t(require("desandro-get-style-property")):E.getSize=t(E.getStyleProperty)}(window),function(e){function n(t){"function"==typeof t&&(n.isReady?t():u.push(t))}function i(t){t="readystatechange"===t.type&&"complete"!==r.readyState;n.isReady||t||o()}function o(){n.isReady=!0;for(var t=0,e=u.length;t<e;t++)(0,u[t])()}function t(t){return"complete"===r.readyState?o():(t.bind(r,"DOMContentLoaded",i),t.bind(r,"readystatechange",i),t.bind(e,"load",i)),n}var r=e.document,u=[];n.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],t):"object"==typeof exports?module.exports=t(require("eventie")):e.docReady=t(e.eventie)}(window),function(o){function n(t,e){return t[i](e)}function r(t){t.parentNode||document.createDocumentFragment().appendChild(t)}var t,i=function(){if(o.matches)return"matches";if(o.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],e=0,n=t.length;e<n;e++){var i=t[e]+"MatchesSelector";if(o[i])return i}}();t=i?n(document.createElement("div"),"div")?n:function(t,e){return r(t),n(t,e)}:function(t,e){r(t);for(var n=t.parentNode.querySelectorAll(e),i=0,o=n.length;i<o;i++)if(n[i]===t)return!0;return!1},"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return t}):"object"==typeof exports?module.exports=t:window.matchesSelector=t}(Element.prototype),function(n,i){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(t,e){return i(n,t,e)}):"object"==typeof exports?module.exports=i(n,require("doc-ready"),require("desandro-matches-selector")):n.fizzyUIUtils=i(n,n.docReady,n.matchesSelector)}(window,function(h,t,f){var n,l={extend:function(t,e){for(var n in e)t[n]=e[n];return t},modulo:function(t,e){return(t%e+e)%e}},e=Object.prototype.toString;l.isArray=function(t){return"[object Array]"==e.call(t)},l.makeArray=function(t){var e=[];if(l.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var n=0,i=t.length;n<i;n++)e.push(t[n]);else e.push(t);return e},l.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},l.removeFrom=function(t,e){e=l.indexOf(t,e);-1!=e&&t.splice(e,1)},l.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1==t.nodeType&&"string"==typeof t.nodeName},l.setText=function(t,e){t[n=n||(void 0!==document.documentElement.textContent?"textContent":"innerText")]=e},l.getParent=function(t,e){for(;t!=document.body;)if(t=t.parentNode,f(t,e))return t},l.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.filterFindElements=function(t,e){for(var n=[],i=0,o=(t=l.makeArray(t)).length;i<o;i++){var r=t[i];if(l.isElement(r))if(e){f(r,e)&&n.push(r);for(var u=r.querySelectorAll(e),s=0,a=u.length;s<a;s++)n.push(u[s])}else n.push(r)}return n},l.debounceMethod=function(t,e,i){var o=t.prototype[e],r=e+"Timeout";t.prototype[e]=function(){var t=this[r];t&&clearTimeout(t);var e=arguments,n=this;this[r]=setTimeout(function(){o.apply(n,e),delete n[r]},i||100)}},l.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,n){return e+"-"+n}).toLowerCase()};var p=h.console;return l.htmlInit=function(c,d){t(function(){for(var t=l.toDashed(d),e=document.querySelectorAll(".js-"+t),n="data-"+t+"-options",i=0,o=e.length;i<o;i++){var r,u=e[i],s=u.getAttribute(n);try{r=s&&JSON.parse(s)}catch(t){p&&p.error("Error parsing "+n+" on "+u.nodeName.toLowerCase()+(u.id?"#"+u.id:"")+": "+t);continue}var a=new c(u,r),f=h.jQuery;f&&f.data(u,d,a)}})},l}),function(o,r){"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(t,e,n,i){return r(o,t,e,n,i)}):"object"==typeof exports?module.exports=r(o,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(o.Outlayer={},o.Outlayer.Item=r(o,o.EventEmitter,o.getSize,o.getStyleProperty,o.fizzyUIUtils))}(window,function(t,e,n,r,i){function o(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=t.getComputedStyle,s=u?function(t){return u(t,null)}:function(t){return t.currentStyle},a=r("transition"),f=r("transform"),c=a&&f,t=!!r("perspective"),d={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[a],h=["transform","transition","transitionDuration","transitionProperty"],l=function(){for(var t={},e=0,n=h.length;e<n;e++){var i=h[e],o=r(i);o&&o!==i&&(t[i]=o)}return t}();i.extend(o.prototype,e.prototype),o.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},o.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},o.prototype.getSize=function(){this.size=n(this.element)},o.prototype.css=function(t){var e,n=this.element.style;for(e in t)n[l[e]||e]=t[e]},o.prototype.getPosition=function(){var t=s(this.element),e=this.layout.options,n=e.isOriginLeft,i=e.isOriginTop,o=parseInt(t[n?"left":"right"],10),e=parseInt(t[i?"top":"bottom"],10),o=isNaN(o)?0:o,e=isNaN(e)?0:e,t=this.layout.size;o-=n?t.paddingLeft:t.paddingRight,e-=i?t.paddingTop:t.paddingBottom,this.position.x=o,this.position.y=e},o.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,n={},i=e.isOriginLeft?"paddingLeft":"paddingRight",o=e.isOriginLeft?"left":"right",r=e.isOriginLeft?"right":"left",i=this.position.x+t[i],i=e.percentPosition&&!e.isHorizontal?i/t.width*100+"%":i+"px";n[o]=i,n[r]="";o=e.isOriginTop?"paddingTop":"paddingBottom",i=e.isOriginTop?"top":"bottom",r=e.isOriginTop?"bottom":"top",o=this.position.y+t[o],o=e.percentPosition&&e.isHorizontal?o/t.height*100+"%":o+"px";n[i]=o,n[r]="",this.css(n),this.emitEvent("layout",[this])};var p=t?function(t,e){return"translate3d("+t+"px, "+e+"px, 0)"}:function(t,e){return"translate("+t+"px, "+e+"px)"};o.prototype._transitionTo=function(t,e){this.getPosition();var n=this.position.x,i=this.position.y,o=parseInt(t,10),r=parseInt(e,10),r=o===this.position.x&&r===this.position.y;this.setPosition(t,e),!r||this.isTransitioning?(t-=n,n=e-i,e={},t=(i=this.layout.options).isOriginLeft?t:-t,n=i.isOriginTop?n:-n,e.transform=p(t,n),this.transition({to:e,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})):this.layoutPosition()},o.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},o.prototype.moveTo=c?o.prototype._transitionTo:o.prototype.goTo,o.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},o.prototype._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},o.prototype._transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e,n=this._transn;for(e in t.onTransitionEnd)n.onEnd[e]=t.onTransitionEnd[e];for(e in t.to)n.ingProperties[e]=!0,t.isCleaning&&(n.clean[e]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var m=f&&i.toDashed(f)+",opacity";o.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:m,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(d,this,!1))},o.prototype.transition=o.prototype[a?"_transition":"_nonTransition"],o.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},o.prototype.onotransitionend=function(t){this.ontransitionend(t)};var y={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};o.prototype.ontransitionend=function(t){var e,n;t.target===this.element&&(e=this._transn,n=y[t.propertyName]||t.propertyName,delete e.ingProperties[n],function(t){for(var e in t)return;return 1}(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd&&(e.onEnd[n].call(this),delete e.onEnd[n]),this.emitEvent("transitionEnd",[this]))},o.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(d,this,!1),this.isTransitioning=!1},o.prototype._removeStyles=function(t){var e,n={};for(e in t)n[e]="";this.css(n)};var g={transitionProperty:"",transitionDuration:""};return o.prototype.removeTransitionStyles=function(){this.css(g)},o.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},o.prototype.remove=function(){var t;a&&parseFloat(this.layout.options.transitionDuration)?((t=this).once("transitionEnd",function(){t.removeElem()}),this.hide()):this.removeElem()},o.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},o.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},o.prototype.getHideRevealTransitionEndProperty=function(t){var e,t=this.layout.options[t];if(t.opacity)return"opacity";for(e in t)return e},o.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},o.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},o.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},o}),function(r,u){"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,n,i,o){return u(r,t,e,n,i,o)}):"object"==typeof exports?module.exports=u(r,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):r.Outlayer=u(r,r.eventie,r.EventEmitter,r.getSize,r.fizzyUIUtils,r.Outlayer.Item)}(window,function(t,e,n,o,r,i){function u(t,e){var n=r.getQueryElement(t);n?(this.element=n,f&&(this.$element=f(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(e),e=++c,this.element.outlayerGUID=e,(d[e]=this)._create(),this.options.isInitLayout&&this.layout()):a&&a.error("Bad element for "+this.constructor.namespace+": "+(n||t))}function s(){}var a=t.console,f=t.jQuery,c=0,d={};return u.namespace="outlayer",u.Item=i,u.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},r.extend(u.prototype,n.prototype),u.prototype.option=function(t){r.extend(this.options,t)},u.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},u.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},u.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,i=[],o=0,r=e.length;o<r;o++){var u=new n(e[o],this);i.push(u)}return i},u.prototype._filterFindItemElements=function(t){return r.filterFindElements(t,this.options.itemSelector)},u.prototype.getItemElements=function(){for(var t=[],e=0,n=this.items.length;e<n;e++)t.push(this.items[e].element);return t},u.prototype._init=u.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},u.prototype._resetLayout=function(){this.getSize()},u.prototype.getSize=function(){this.size=o(this.element)},u.prototype._getMeasurement=function(t,e){var n,i=this.options[t];i?("string"==typeof i?n=this.element.querySelector(i):r.isElement(i)&&(n=i),this[t]=n?o(n)[e]:i):this[t]=0},u.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},u.prototype._getItemsForLayout=function(t){for(var e=[],n=0,i=t.length;n<i;n++){var o=t[n];o.isIgnored||e.push(o)}return e},u.prototype._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){for(var n=[],i=0,o=t.length;i<o;i++){var r=t[i],u=this._getItemLayoutPosition(r);u.item=r,u.isInstant=e||r.isLayoutInstant,n.push(u)}this._processLayoutQueue(n)}},u.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},u.prototype._processLayoutQueue=function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e];this._positionItem(i.item,i.x,i.y,i.isInstant)}},u.prototype._positionItem=function(t,e,n,i){i?t.goTo(e,n):t.moveTo(e,n)},u.prototype._postLayout=function(){this.resizeContainer()},u.prototype.resizeContainer=function(){var t;!this.options.isResizingContainer||(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},u.prototype._getContainerSize=s,u.prototype._setContainerMeasure=function(t,e){var n;void 0!==t&&((n=this.size).isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px")},u.prototype._emitCompleteOnItems=function(t,e){function n(){o.emitEvent(t+"Complete",[e])}function i(){++u===r&&n()}var o=this,r=e.length;if(e&&r)for(var u=0,s=0,a=e.length;s<a;s++)e[s].once(t,i);else n()},u.prototype.ignore=function(t){t=this.getItem(t);t&&(t.isIgnored=!0)},u.prototype.unignore=function(t){t=this.getItem(t);t&&delete t.isIgnored},u.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,n=t.length;e<n;e++){var i=t[e];this.ignore(i)}}},u.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,n=t.length;e<n;e++){var i=t[e];r.removeFrom(this.stamps,i),this.unignore(i)}},u.prototype._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),t=r.makeArray(t)):void 0},u.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;t<e;t++){var n=this.stamps[t];this._manageStamp(n)}}},u.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},u.prototype._manageStamp=s,u.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,t=o(t);return{left:e.left-n.left-t.marginLeft,top:e.top-n.top-t.marginTop,right:n.right-e.right-t.marginRight,bottom:n.bottom-e.bottom-t.marginBottom}},u.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.prototype.bindResize=function(){this.isResizeBound||(e.bind(t,"resize",this),this.isResizeBound=!0)},u.prototype.unbindResize=function(){this.isResizeBound&&e.unbind(t,"resize",this),this.isResizeBound=!1},u.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var t=this;this.resizeTimeout=setTimeout(function(){t.resize(),delete t.resizeTimeout},100)},u.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},u.prototype.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},u.prototype.addItems=function(t){t=this._itemize(t);return t.length&&(this.items=this.items.concat(t)),t},u.prototype.appended=function(t){t=this.addItems(t);t.length&&(this.layoutItems(t,!0),this.reveal(t))},u.prototype.prepended=function(t){var e=this._itemize(t);e.length&&(t=this.items.slice(0),this.items=e.concat(t),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(t))},u.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,n=0;e&&n<e;n++)t[n].reveal()},u.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,n=0;e&&n<e;n++)t[n].hide()},u.prototype.revealItemElements=function(t){t=this.getItems(t);this.reveal(t)},u.prototype.hideItemElements=function(t){t=this.getItems(t);this.hide(t)},u.prototype.getItem=function(t){for(var e=0,n=this.items.length;e<n;e++){var i=this.items[e];if(i.element===t)return i}},u.prototype.getItems=function(t){for(var e=[],n=0,i=(t=r.makeArray(t)).length;n<i;n++){var o=t[n],o=this.getItem(o);o&&e.push(o)}return e},u.prototype.remove=function(t){var e=this.getItems(t);if(this._emitCompleteOnItems("remove",e),e&&e.length)for(var n=0,i=e.length;n<i;n++){var o=e[n];o.remove(),r.removeFrom(this.items,o)}},u.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,n=this.items.length;e<n;e++)this.items[e].destroy();this.unbindResize();t=this.element.outlayerGUID;delete d[t],delete this.element.outlayerGUID,f&&f.removeData(this.element,this.constructor.namespace)},u.data=function(t){t=(t=r.getQueryElement(t))&&t.outlayerGUID;return t&&d[t]},u.create=function(t,e){function n(){u.apply(this,arguments)}return Object.create?n.prototype=Object.create(u.prototype):r.extend(n.prototype,u.prototype),(n.prototype.constructor=n).defaults=r.extend({},u.defaults),r.extend(n.defaults,e),n.prototype.settings={},n.namespace=t,n.data=u.data,(n.Item=function(){i.apply(this,arguments)}).prototype=new i,r.htmlInit(n,t),f&&f.bridget&&f.bridget(t,n),n},u.Item=i,u}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],e):"object"==typeof exports?module.exports=e(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):t.Masonry=e(t.Outlayer,t.getSize,t.fizzyUIUtils)}(window,function(t,s,a){t=t.create("masonry");return t.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},t.prototype.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(n=(e=this.items[0])&&e.element,this.columnWidth=n&&s(n).outerWidth||this.containerWidth);var t=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,n=e/t,t=t-e%t,n=Math[t&&t<1?"round":"floor"](n);this.cols=Math.max(n,1)},t.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,t=s(t);this.containerWidth=t&&t.innerWidth},t.prototype._getItemLayoutPosition=function(t){t.getSize();for(var e=t.size.outerWidth%this.columnWidth,n=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),n=Math.min(n,this.cols),i=this._getColGroup(n),e=Math.min.apply(Math,i),o=a.indexOf(i,e),n={x:this.columnWidth*o,y:e},r=e+t.size.outerHeight,u=this.cols+1-i.length,s=0;s<u;s++)this.colYs[o+s]=r;return n},t.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],n=this.cols+1-t,i=0;i<n;i++){var o=this.colYs.slice(i,i+t);e[i]=Math.max.apply(Math,o)}return e},t.prototype._manageStamp=function(t){var e=s(t),n=this._getElementOffset(t),i=this.options.isOriginLeft?n.left:n.right,t=i+e.outerWidth,i=Math.floor(i/this.columnWidth),i=Math.max(0,i),o=Math.floor(t/this.columnWidth);o-=t%this.columnWidth?0:1,o=Math.min(this.cols-1,o);for(var r=(this.options.isOriginTop?n.top:n.bottom)+e.outerHeight,u=i;u<=o;u++)this.colYs[u]=Math.max(r,this.colYs[u])},t.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},t.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},t.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},t})),cff_init(),jQuery(document).ready(function(){var t,e=jQuery;e("#cookie-notice a").on("click",function(){setTimeout(function(){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(checkConsent(jQuery(this)),jQuery(this))})},1e3)}),e("#cookie-law-info-bar a").on("click",function(){setTimeout(function(){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(checkConsent(jQuery(this)),jQuery(this))})},1e3)}),e(".cli-user-preference-checkbox, .cky-notice button").on("click",function(){setTimeout(function(){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!1,jQuery(this))})},1e3)}),e(window).on("CookiebotOnAccept",function(t){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!0,jQuery(this))})}),e(".cmplz-btn").on("click",function(){"function"==typeof cmplz_accepted_categories&&setTimeout(function(){-1<cmplz_accepted_categories().indexOf("marketing")&&jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!0,jQuery(this))})},1e3)}),e(document).on("cmplzEnableScripts",function(t){"marketing"===t.detail&&jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!0,jQuery(this))})}),e(document).on("cmplzFireCategories",function(t){"marketing"===t.detail.category&&jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!1,jQuery(this))})}),e(document).on("borlabs-cookie-consent-saved",function(t){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!0,jQuery(this))})}),e(".cff-list-container").length&&(t=cffGetFeedLocatorDataArray(),e.ajax({url:cffajaxurl,type:"POST",data:{action:"feed_locator",feedLocatorData:t}})),void 0!==window.consentApi&&window.consentApi.consent("custom-facebook-feed").then(()=>{try{setTimeout(function(){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!0,jQuery(this))})},1e3)}catch(t){}}),e(".moove-gdpr-infobar-allow-all").on("click",function(){setTimeout(function(){jQuery(".cff-wrapper").each(function(t){afterConsentToggled(!0,jQuery(this))})},1e3)}),window.addEventListener("wpconsent_consent_saved",function(t){setTimeout(function(){jQuery(".cff-wrapper").each(function(t){void 0!==window.WPConsent&&afterConsentToggled(window.WPConsent.hasConsent("marketing"),jQuery(this))})},1e3)}),window.addEventListener("wpconsent_consent_updated",function(t){setTimeout(function(){jQuery(".cff-wrapper").each(function(t){void 0!==window.WPConsent&&afterConsentToggled(window.WPConsent.hasConsent("marketing"),jQuery(this))})},1e3)})}));
!function(r){"function"==typeof define&&define.amd?define(["jquery"],r):"object"==typeof module&&module.exports?module.exports=function(e,t){return void 0===t&&(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),r(t),t}:r(jQuery)}(function(q){"use strict";var m=/\r?\n/g,S={};S.fileapi=void 0!==q('<input type="file">').get(0).files,S.formdata=void 0!==window.FormData;var _=!!q.fn.prop;function o(e){var t=e.data;e.isDefaultPrevented()||(e.preventDefault(),q(e.target).closest("form").ajaxSubmit(t))}function i(e){var t=e.target,r=q(t);if(!r.is("[type=submit],[type=image]")){var a=r.closest("[type=submit]");if(0===a.length)return;t=a[0]}var n,o=t.form;"image"===(o.clk=t).type&&(void 0!==e.offsetX?(o.clk_x=e.offsetX,o.clk_y=e.offsetY):"function"==typeof q.fn.offset?(n=r.offset(),o.clk_x=e.pageX-n.left,o.clk_y=e.pageY-n.top):(o.clk_x=e.pageX-t.offsetLeft,o.clk_y=e.pageY-t.offsetTop)),setTimeout(function(){o.clk=o.clk_x=o.clk_y=null},100)}function N(){var e;q.fn.ajaxSubmit.debug&&(e="[jquery.form] "+Array.prototype.join.call(arguments,""),window.console&&window.console.log?window.console.log(e):window.opera&&window.opera.postError&&window.opera.postError(e))}q.fn.attr2=function(){if(!_)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},q.fn.ajaxSubmit=function(M,e,t,r){if(!this.length)return N("ajaxSubmit: skipping submit process - no element selected"),this;var O,a,n,o,X=this;"function"==typeof M?M={success:M}:"string"==typeof M||!1===M&&0<arguments.length?(M={url:M,data:e,dataType:t},"function"==typeof r&&(M.success=r)):void 0===M&&(M={}),O=M.method||M.type||this.attr2("method"),n=(n=(n="string"==typeof(a=M.url||this.attr2("action"))?q.trim(a):"")||window.location.href||"")&&(n.match(/^([^#]+)/)||[])[1],o=/(MSIE|Trident)/.test(navigator.userAgent||"")&&/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",M=q.extend(!0,{url:n,success:q.ajaxSettings.success,type:O||q.ajaxSettings.type,iframeSrc:o},M);var i={};if(this.trigger("form-pre-serialize",[this,M,i]),i.veto)return N("ajaxSubmit: submit vetoed via form-pre-serialize trigger"),this;if(M.beforeSerialize&&!1===M.beforeSerialize(this,M))return N("ajaxSubmit: submit aborted via beforeSerialize callback"),this;var s=M.traditional;void 0===s&&(s=q.ajaxSettings.traditional);var u,c,C=[],l=this.formToArray(M.semantic,C,M.filtering);if(M.data&&(c=q.isFunction(M.data)?M.data(l):M.data,M.extraData=c,u=q.param(c,s)),M.beforeSubmit&&!1===M.beforeSubmit(l,this,M))return N("ajaxSubmit: submit aborted via beforeSubmit callback"),this;if(this.trigger("form-submit-validate",[l,this,M,i]),i.veto)return N("ajaxSubmit: submit vetoed via form-submit-validate trigger"),this;var f=q.param(l,s);u&&(f=f?f+"&"+u:u),"GET"===M.type.toUpperCase()?(M.url+=(0<=M.url.indexOf("?")?"&":"?")+f,M.data=null):M.data=f;var d,m,p,h=[];M.resetForm&&h.push(function(){X.resetForm()}),M.clearForm&&h.push(function(){X.clearForm(M.includeHidden)}),!M.dataType&&M.target?(d=M.success||function(){},h.push(function(e,t,r){var a=arguments,n=M.replaceTarget?"replaceWith":"html";q(M.target)[n](e).each(function(){d.apply(this,a)})})):M.success&&(q.isArray(M.success)?q.merge(h,M.success):h.push(M.success)),M.success=function(e,t,r){for(var a=M.context||this,n=0,o=h.length;n<o;n++)h[n].apply(a,[e,t,r||X,X])},M.error&&(m=M.error,M.error=function(e,t,r){var a=M.context||this;m.apply(a,[e,t,r,X])}),M.complete&&(p=M.complete,M.complete=function(e,t){var r=M.context||this;p.apply(r,[e,t,X])});var v=0<q("input[type=file]:enabled",this).filter(function(){return""!==q(this).val()}).length,g="multipart/form-data",x=X.attr("enctype")===g||X.attr("encoding")===g,y=S.fileapi&&S.formdata;N("fileAPI :"+y);var b,T=(v||x)&&!y;!1!==M.iframe&&(M.iframe||T)?M.closeKeepAlive?q.get(M.closeKeepAlive,function(){b=w(l)}):b=w(l):b=(v||x)&&y?function(e){for(var r=new FormData,t=0;t<e.length;t++)r.append(e[t].name,e[t].value);if(M.extraData){var a=function(e){var t,r,a=q.param(e,M.traditional).split("&"),n=a.length,o=[];for(t=0;t<n;t++)a[t]=a[t].replace(/\+/g," "),r=a[t].split("="),o.push([decodeURIComponent(r[0]),decodeURIComponent(r[1])]);return o}(M.extraData);for(t=0;t<a.length;t++)a[t]&&r.append(a[t][0],a[t][1])}M.data=null;var n=q.extend(!0,{},q.ajaxSettings,M,{contentType:!1,processData:!1,cache:!1,type:O||"POST"});M.uploadProgress&&(n.xhr=function(){var e=q.ajaxSettings.xhr();return e.upload&&e.upload.addEventListener("progress",function(e){var t=0,r=e.loaded||e.position,a=e.total;e.lengthComputable&&(t=Math.ceil(r/a*100)),M.uploadProgress(e,r,a,t)},!1),e});n.data=null;var o=n.beforeSend;return n.beforeSend=function(e,t){M.formData?t.data=M.formData:t.data=r,o&&o.call(this,e,t)},q.ajax(n)}(l):q.ajax(M),X.removeData("jqxhr").data("jqxhr",b);for(var j=0;j<C.length;j++)C[j]=null;return this.trigger("form-submit-notify",[this,M]),this;function w(e){var t,r,l,f,o,d,m,p,a,n,h,v,i=X[0],g=q.Deferred();if(g.abort=function(e){p.abort(e)},e)for(r=0;r<C.length;r++)t=q(C[r]),_?t.prop("disabled",!1):t.removeAttr("disabled");(l=q.extend(!0,{},q.ajaxSettings,M)).context=l.context||l,o="jqFormIO"+(new Date).getTime();var s=i.ownerDocument,u=X.closest("body");if(l.iframeTarget?(n=(d=q(l.iframeTarget,s)).attr2("name"))?o=n:d.attr2("name",o):(d=q('<iframe name="'+o+'" src="'+l.iframeSrc+'" />',s)).css({position:"absolute",top:"-1000px",left:"-1000px"}),m=d[0],p={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var t="timeout"===e?"timeout":"aborted";N("aborting upload... "+t),this.aborted=1;try{m.contentWindow.document.execCommand&&m.contentWindow.document.execCommand ("Stop")}catch(e){}d.attr("src",l.iframeSrc),p.error=t,l.error&&l.error.call(l.context,p,t,e),f&&q.event.trigger("ajaxError",[p,l,t]),l.complete&&l.complete.call(l.context,p,t)}},(f=l.global)&&0==q.active++&&q.event.trigger("ajaxStart"),f&&q.event.trigger("ajaxSend",[p,l]),l.beforeSend&&!1===l.beforeSend.call(l.context,p,l))return l.global&&q.active--,g.reject(),g;if(p.aborted)return g.reject(),g;(a=i.clk)&&(n=a.name)&&!a.disabled&&(l.extraData=l.extraData||{},l.extraData[n]=a.value,"image"===a.type&&(l.extraData[n+".x"]=i.clk_x,l.extraData[n+".y"]=i.clk_y));var x=1,y=2;function b(t){var r=null;try{t.contentWindow&&(r=t.contentWindow.document)}catch(e){N("cannot get iframe.contentWindow document: "+e)}if(r)return r;try{r=t.contentDocument?t.contentDocument:t.document}catch(e){N("cannot get iframe.contentDocument: "+e),r=t.document}return r}var c=q("meta[name=csrf-token]").attr("content"),T=q("meta[name=csrf-param]").attr("content");function j(){var e=X.attr2("target"),t=X.attr2("action"),r=X.attr("enctype")||X.attr("encoding")||"multipart/form-data";i.setAttribute("target",o),O&&!/post/i.test(O)||i.setAttribute("method","POST"),t!==l.url&&i.setAttribute("action",l.url),l.skipEncodingOverride||O&&!/post/i.test(O)||X.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),l.timeout&&(v=setTimeout(function(){h=!0,A(x)},l.timeout));var a=[];try{if(l.extraData)for(var n in l.extraData)l.extraData.hasOwnProperty(n)&&(q.isPlainObject(l.extraData[n])&&l.extraData[n].hasOwnProperty("name")&&l.extraData[n].hasOwnProperty("value")?a.push(q('<input type="hidden" name="'+l.extraData[n].name+'">',s).val(l.extraData[n].value).appendTo(i)[0]):a.push(q('<input type="hidden" name="'+n+'">',s).val(l.extraData[n]).appendTo(i)[0]));l.iframeTarget||d.appendTo(u),m.attachEvent?m.attachEvent("onload",A):m.addEventListener("load",A,!1),setTimeout(function e(){try{var t=b(m).readyState;N("state="+t),t&&"uninitialized"===t.toLowerCase()&&setTimeout(e,50)}catch(e){N("Server abort: ",e," (",e.name,")"),A(y),v&&clearTimeout(v),v=void 0}},15);try{i.submit()}catch(e){document.createElement("form").submit.apply(i)}}finally{i.setAttribute("action",t),i.setAttribute("enctype",r),e?i.setAttribute("target",e):X.removeAttr("target"),q(a).remove()}}T&&c&&(l.extraData=l.extraData||{},l.extraData[T]=c),l.forceSync?j():setTimeout(j,10);var w,S,k,D=50;function A(e){if(!p.aborted&&!k){if((S=b(m))||(N("cannot access response document"),e=y),e===x&&p)return p.abort("timeout"),void g.reject(p,"timeout");if(e===y&&p)return p.abort("server abort"),void g.reject(p,"error","server abort");if(S&&S.location.href!==l.iframeSrc||h){m.detachEvent?m.detachEvent("onload",A):m.removeEventListener("load",A,!1);var t,r="success";try{if(h)throw"timeout";var a="xml"===l.dataType||S.XMLDocument||q.isXMLDoc(S);if(N("isXml="+a),!a&&window.opera&&(null===S.body||!S.body.innerHTML)&&--D)return N("requeing onLoad callback, DOM not available"),void setTimeout(A,250);var n=S.body?S.body:S.documentElement;p.responseText=n?n.innerHTML:null,p.responseXML=S.XMLDocument?S.XMLDocument:S,a&&(l.dataType="xml"),p.getResponseHeader=function(e){return{"content-type":l.dataType}[e.toLowerCase()]},n&&(p.status=Number(n.getAttribute("status"))||p.status,p.statusText=n.getAttribute("statusText")||p.statusText);var o,i,s,u=(l.dataType||"").toLowerCase(),c=/(json|script|text)/.test(u);c||l.textarea?(o=S.getElementsByTagName("textarea")[0])?(p.responseText=o.value,p.status=Number(o.getAttribute("status"))||p.status,p.statusText=o.getAttribute("statusText")||p.statusText):c&&(i=S.getElementsByTagName("pre")[0],s=S.getElementsByTagName("body")[0],i?p.responseText=i.textContent?i.textContent:i.innerText:s&&(p.responseText=s.textContent?s.textContent:s.innerText)):"xml"===u&&!p.responseXML&&p.responseText&&(p.responseXML=F(p.responseText));try{w=E(p,u,l)}catch(e){r="parsererror",p.error=t=e||r}}catch(e){N("error caught: ",e),r="error",p.error=t=e||r}p.aborted&&(N("upload aborted"),r=null),p.status&&(r=200<=p.status&&p.status<300||304===p.status?"success":"error"),"success"===r?(l.success&&l.success.call(l.context,w,"success",p),g.resolve(p.responseText,"success",p),f&&q.event.trigger("ajaxSuccess",[p,l])):r&&(void 0===t&&(t=p.statusText),l.error&&l.error.call(l.context,p,r,t),g.reject(p,"error",t),f&&q.event.trigger("ajaxError",[p,l,t])),f&&q.event.trigger("ajaxComplete",[p,l]),f&&!--q.active&&q.event.trigger("ajaxStop"),l.complete&&l.complete.call(l.context,p,r),k=!0,l.timeout&&clearTimeout(v),setTimeout(function(){l.iframeTarget?d.attr("src",l.iframeSrc):d.remove(),p.responseXML=null},100)}}}var F=q.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!==t.documentElement.nodeName?t:null},L=q.parseJSON||function(e){return window.eval("("+e+")")},E=function(e,t,r){var a=e.getResponseHeader("content-type")||"",n=("xml"===t||!t)&&0<=a.indexOf("xml"),o=n?e.responseXML:e.responseText;return n&&"parsererror"===o.documentElement.nodeName&&q.error&&q.error("parsererror"),r&&r.dataFilter&&(o=r.dataFilter(o,t)),"string"==typeof o&&(("json"===t||!t)&&0<=a.indexOf("json")?o=L(o):("script"===t||!t)&&0<=a.indexOf("javascript")&&q.globalEval(o)),o};return g}},q.fn.ajaxForm=function(e,t,r,a){if(("string"==typeof e||!1===e&&0<arguments.length)&&(e={url:e,data:t,dataType:r},"function"==typeof a&&(e.success=a)),(e=e||{}).delegation=e.delegation&&q.isFunction(q.fn.on),e.delegation||0!==this.length)return e.delegation?(q(document).off("submit.form-plugin",this.selector,o).off("click.form-plugin",this.selector,i).on("submit.form-plugin",this.selector,e,o).on("click.form-plugin",this.selector,e,i),this):(e.beforeFormUnbind&&e.beforeFormUnbind(this,e),this.ajaxFormUnbind().on("submit.form-plugin",e,o).on("click.form-plugin",e,i));var n={s:this.selector,c:this.context};return!q.isReady&&n.s?(N("DOM not ready, queuing ajaxForm"),q(function(){q(n.s,n.c).ajaxForm(e)})):N("terminating; zero elements found by selector"+(q.isReady?"":" (DOM not ready)")),this},q.fn.ajaxFormUnbind=function(){return this.off("submit.form-plugin click.form-plugin")},q.fn.formToArray=function(e,t,r){var a=[];if(0===this.length)return a;var n,o,i,s,u,c,l,f,d,m,p=this[0],h=this.attr("id"),v=(v=e||void 0===p.elements?p.getElementsByTagName("*"):p.elements)&&q.makeArray(v);if(h&&(e||/(Edge|Trident)\//.test(navigator.userAgent))&&(n=q(':input[form="'+h+'"]').get()).length&&(v=(v||[]).concat(n)),!v||!v.length)return a;for(q.isFunction(r)&&(v=q.map(v,r)),o=0,c=v.length;o<c;o++)if((m=(u=v[o]).name)&&!u.disabled)if(e&&p.clk&&"image"===u.type)p.clk===u&&(a.push({name:m,value:q(u).val(),type:u.type}),a.push({name:m+".x",value:p.clk_x},{name:m+".y",value:p.clk_y}));else if((s=q.fieldValue(u,!0))&&s.constructor===Array)for(t&&t.push(u),i=0,l=s.length;i<l;i++)a.push({name:m,value:s[i]});else if(S.fileapi&&"file"===u.type){t&&t.push(u);var g=u.files;if(g.length)for(i=0;i<g.length;i++)a.push({name:m,value:g[i],type:u.type});else a.push({name:m,value:"",type:u.type})}else null!=s&&(t&&t.push(u),a.push({name:m,value:s,type:u.type,required:u.required}));return e||!p.clk||(m=(d=(f=q(p.clk))[0]).name)&&!d.disabled&&"image"===d.type&&(a.push({name:m,value:f.val()}),a.push({name:m+".x",value:p.clk_x},{name:m+".y",value:p.clk_y})),a},q.fn.formSerialize=function(e){return q.param(this.formToArray(e))},q.fn.fieldSerialize=function(n){var o=[];return this.each(function(){var e=this.name;if(e){var t=q.fieldValue(this,n);if(t&&t.constructor===Array)for(var r=0,a=t.length;r<a;r++)o.push({name:e,value:t[r]});else null!=t&&o.push({name:this.name,value:t})}}),q.param(o)},q.fn.fieldValue=function(e){for(var t=[],r=0,a=this.length;r<a;r++){var n=this[r],o=q.fieldValue(n,e);null==o||o.constructor===Array&&!o.length||(o.constructor===Array?q.merge(t,o):t.push(o))}return t},q.fieldValue=function(e,t){var r=e.name,a=e.type,n=e.tagName.toLowerCase();if(void 0===t&&(t=!0),t&&(!r||e.disabled||"reset"===a||"button"===a||("checkbox"===a||"radio"===a)&&!e.checked||("submit"===a||"image"===a)&&e.form&&e.form.clk!==e||"select"===n&&-1===e.selectedIndex))return null;if("select"!==n)return q(e).val().replace(m,"\r\n");var o=e.selectedIndex;if(o<0)return null;for(var i=[],s=e.options,u="select-one"===a,c=u?o+1:s.length,l=u?o:0;l<c;l++){var f=s[l];if(f.selected&&!f.disabled){var d=(d=f.value)||(f.attributes&&f.attributes.value&&!f.attributes.value.specified?f.text:f.value);if(u)return d;i.push(d)}}return i},q.fn.clearForm=function(e){return this.each(function(){q("input,select,textarea",this).clearFields(e)})},q.fn.clearFields=q.fn.clearInputs=function(r){var a=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var e=this.type,t=this.tagName.toLowerCase();a.test(e)||"textarea"===t?this.value="":"checkbox"===e||"radio"===e?this.checked=!1:"select"===t?this.selectedIndex=-1:"file"===e?/MSIE/.test(navigator.userAgent)?q(this).replaceWith(q(this).clone(!0)):q(this).val(""):r&&(!0===r&&/hidden/.test(e)||"string"==typeof r&&q(this).is(r))&&(this.value="")})},q.fn.resetForm=function(){return this.each(function(){var t=q(this),e=this.tagName.toLowerCase();switch(e){case"input":this.checked=this.defaultChecked;case"textarea":return this.value=this.defaultValue,!0;case"option":case"optgroup":var r=t.parents("select");return r.length&&r[0].multiple?"option"===e?this.selected=this.defaultSelected:t.find("option").resetForm():r.resetForm(),!0;case"select":return t.find("option").each(function(e){if(this.selected=this.defaultSelected,this.defaultSelected&&!t[0].multiple)return t[0].selectedIndex=e,!1}),!0;case"label":var a=q(t.attr("for")),n=t.find("input,select,textarea");return a[0]&&n.unshift(a[0]),n.resetForm(),!0;case"form":return"function"!=typeof this.reset&&("object"!=typeof this.reset||this.reset.nodeType)||this.reset(),!0;default:return t.find("form,input,label,select,textarea").resetForm(),!0}})},q.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},q.fn.selected=function(r){return void 0===r&&(r=!0),this.each(function(){var e,t=this.type;"checkbox"===t||"radio"===t?this.checked=r:"option"===this.tagName.toLowerCase()&&(e=q(this).parent("select"),r&&e[0]&&"select-one"===e[0].type&&e.find("option").selected(!1),this.selected=r)})},q.fn.ajaxSubmit.debug=!1});
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3",
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;n<e.collisionWidth?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;o<e.collisionHeight?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","jquery-ui/ui/widget"],e):"object"==typeof exports?e(require("jquery"),require("./vendor/jquery.ui.widget")):e(window.jQuery)}(function(m){"use strict";function e(i){var n="dragover"===i;return function(e){e.dataTransfer=e.originalEvent&&e.originalEvent.dataTransfer;var t=e.dataTransfer;t&&-1!==m.inArray("Files",t.types)&&!1!==this._trigger(i,m.Event(i,{delegatedEvent:e}))&&(e.preventDefault(),n)&&(t.dropEffect="copy")}}var t;m.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))").test(window.navigator.userAgent)||m('<input type="file"/>').prop("disabled")),m.support.xhrFileUpload=!(!window.ProgressEvent||!window.FileReader),m.support.xhrFormDataFileUpload=!!window.FormData,m.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),m.widget("blueimp.fileupload",{options:{dropZone:m(document),pasteZone:undefined,fileInput:undefined,replaceFileInput:!0,paramName:undefined,singleFileUploads:!0,limitMultiFileUploads:undefined,limitMultiFileUploadSize:undefined,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:undefined,forceIframeTransport:!1,redirect:undefined,redirectParamName:undefined,postMessage:undefined,multipart:!0,maxChunkSize:undefined,uploadedBytes:undefined,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,uniqueFilenames:undefined,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(i,e){return i=this.messages[i]||i.toString(),e&&m.each(e,function(e,t){i=i.replace("{"+e+"}",t)}),i},formData:function(e){return e.serializeArray()},add:function(e,t){if(e.isDefaultPrevented())return!1;(t.autoUpload||!1!==t.autoUpload&&m(this).fileupload("option","autoUpload"))&&t.process().done(function(){t.submit()})},processData:!1,contentType:!1,cache:!1,timeout:0},_promisePipe:(t=m.fn.jquery.split("."),1<Number(t[0])||7<Number(t[1])?"then":"pipe"),_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:m.support.blobSlice&&function(){return(this.slice||this.webkitSlice||this.mozSlice).apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(e,t,i){var n=e-this.timestamp;return this.bitrate&&i&&!(i<n)||(this.bitrate=(t-this.loaded)*(1e3/n)*8,this.loaded=t,this.timestamp=e),this.bitrate}},_isXHRUpload:function(e){return!e.forceIframeTransport&&(!e.multipart&&m.support.xhrFileUpload||m.support.xhrFormDataFileUpload)},_getFormData:function(e){var i;return"function"===m.type(e.formData)?e.formData(e.form):m.isArray(e.formData)?e.formData:"object"===m.type(e.formData)?(i=[],m.each(e.formData,function(e,t){i.push({name:e,value:t})}),i):[]},_getTotal:function(e){var i=0;return m.each(e,function(e,t){i+=t.size||1}),i},_initProgressObject:function(e){var t={loaded:0,total:0,bitrate:0};e._progress?m.extend(e._progress,t):e._progress=t},_initResponseObject:function(e){if(e._response)for(var t in e._response)Object.prototype.hasOwnProperty.call(e._response,t)&&delete e._response[t];else e._response={}},_onProgress:function(e,t){var i,n;e.lengthComputable&&(i=Date.now?Date.now():(new Date).getTime(),t._time&&t.progressInterval&&i-t._time<t.progressInterval&&e.loaded!==e.total||(t._time=i,n=Math.floor(e.loaded/e.total*(t.chunkSize||t._progress.total))+(t.uploadedBytes||0),this._progress.loaded+=n-t._progress.loaded,this._progress.bitrate=this._bitrateTimer.getBitrate(i,this._progress.loaded,t.bitrateInterval),t._progress.loaded=t.loaded=n,t._progress.bitrate=t.bitrate=t._bitrateTimer.getBitrate(i,n,t.bitrateInterval),this._trigger("progress",m.Event("progress",{delegatedEvent:e}),t),this._trigger("progressall",m.Event("progressall",{delegatedEvent:e}),this._progress)))},_initProgressListener:function(i){var n=this,e=(i.xhr?i:m.ajaxSettings).xhr();e.upload&&(m(e.upload).on("progress",function(e){var t=e.originalEvent;e.lengthComputable=t.lengthComputable,e.loaded=t.loaded,e.total=t.total,n._onProgress(e,i)}),i.xhr=function(){return e})},_deinitProgressListener:function(e){e=(e.xhr?e:m.ajaxSettings).xhr();e.upload&&m(e.upload).off("progress")},_isInstanceOf:function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"},_getUniqueFilename:function(e,t){return t[e=String(e)]?(e=e.replace(/(?: \(([\d]+)\))?(\.[^.]+)?$/,function(e,t,i){return" ("+(t?Number(t)+1:1)+")"+(i||"")}),this._getUniqueFilename(e,t)):(t[e]=!0,e)},_initXHRData:function(n){var r,s=this,e=n.files[0],t=n.multipart||!m.support.xhrFileUpload,o="array"===m.type(n.paramName)?n.paramName[0]:n.paramName;n.headers=m.extend({},n.headers),n.contentRange&&(n.headers["Content-Range"]=n.contentRange),t&&!n.blob&&this._isInstanceOf("File",e)||(n.headers["Content-Disposition"]='attachment; filename="'+encodeURI(e.uploadName||e.name)+'"'),t?m.support.xhrFormDataFileUpload&&(n.postMessage?(r=this._getFormData(n),n.blob?r.push({name:o,value:n.blob}):m.each(n.files,function(e,t){r.push({name:"array"===m.type(n.paramName)&&n.paramName[e]||o,value:t})})):(s._isInstanceOf("FormData",n.formData)?r=n.formData:(r=new FormData,m.each(this._getFormData(n),function(e,t){r.append(t.name,t.value)})),n.blob?r.append(o,n.blob,e.uploadName||e.name):m.each(n.files,function(e,t){var i;(s._isInstanceOf("File",t)||s._isInstanceOf("Blob",t))&&(i=t.uploadName||t.name,n.uniqueFilenames&&(i=s._getUniqueFilename(i,n.uniqueFilenames)),r.append("array"===m.type(n.paramName)&&n.paramName[e]||o,t,i))})),n.data=r):(n.contentType=e.type||"application/octet-stream",n.data=n.blob||e),n.blob=null},_initIframeSettings:function(e){var t=m("<a></a>").prop("href",e.url).prop("host");e.dataType="iframe "+(e.dataType||""),e.formData=this._getFormData(e),e.redirect&&t&&t!==location.host&&e.formData.push({name:e.redirectParamName||"redirect",value:e.redirect})},_initDataSettings:function(e){this._isXHRUpload(e)?(this._chunkedUpload(e,!0)||(e.data||this._initXHRData(e),this._initProgressListener(e)),e.postMessage&&(e.dataType="postmessage "+(e.dataType||""))):this._initIframeSettings(e)},_getParamName:function(e){var t=m(e.fileInput),n=e.paramName;return n?m.isArray(n)||(n=[n]):(n=[],t.each(function(){for(var e=m(this),t=e.prop("name")||"files[]",i=(e.prop("files")||[1]).length;i;)n.push(t),--i}),n.length||(n=[t.prop("name")||"files[]"])),n},_initFormSettings:function(e){e.form&&e.form.length||(e.form=m(e.fileInput.prop("form")),e.form.length)||(e.form=m(this.options.fileInput.prop("form"))),e.paramName=this._getParamName(e),e.url||(e.url=e.form.prop("action")||location.href),e.type=(e.type||"string"===m.type(e.form.prop("method"))&&e.form.prop("method")||"").toUpperCase(),"POST"!==e.type&&"PUT"!==e.type&&"PATCH"!==e.type&&(e.type="POST"),e.formAcceptCharset||(e.formAcceptCharset=e.form.attr("accept-charset"))},_getAJAXSettings:function(e){e=m.extend({},this.options,e);return this._initFormSettings(e),this._initDataSettings(e),e},_getDeferredState:function(e){return e.state?e.state():e.isResolved()?"resolved":e.isRejected()?"rejected":"pending"},_enhancePromise:function(e){return e.success=e.done,e.error=e.fail,e.complete=e.always,e},_getXHRPromise:function(e,t,i){var n=m.Deferred(),r=n.promise();return t=t||this.options.context||r,!0===e?n.resolveWith(t,i):!1===e&&n.rejectWith(t,i),r.abort=n.promise,this._enhancePromise(r)},_addConvenienceMethods:function(e,i){var n=this,r=function(e){return m.Deferred().resolveWith(n,e).promise()};i.process=function(e,t){return(e||t)&&(i._processQueue=this._processQueue=(this._processQueue||r([this]))[n._promisePipe](function(){return i.errorThrown?m.Deferred().rejectWith(n,[i]).promise():r(arguments)})[n._promisePipe](e,t)),this._processQueue||r([this])},i.submit=function(){return"pending"!==this.state()&&(i.jqXHR=this.jqXHR=!1!==n._trigger("submit",m.Event("submit",{delegatedEvent:e}),this)&&n._onSend(e,this)),this.jqXHR||n._getXHRPromise()},i.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",n._trigger("fail",null,this),n._getXHRPromise(!1))},i.state=function(){return this.jqXHR?n._getDeferredState(this.jqXHR):this._processQueue?n._getDeferredState(this._processQueue):void 0},i.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===n._getDeferredState(this._processQueue)},i.progress=function(){return this._progress},i.response=function(){return this._response}},_getUploadedBytes:function(e){e=e.getResponseHeader("Range"),e=e&&e.split("-"),e=e&&1<e.length&&parseInt(e[1],10);return e&&e+1},_chunkedUpload:function(s,e){s.uploadedBytes=s.uploadedBytes||0;var t,o,a=this,i=s.files[0],l=i.size,p=s.uploadedBytes,u=s.maxChunkSize||l,d=this._blobSlice,f=m.Deferred(),n=f.promise();return!(!(this._isXHRUpload(s)&&d&&(p||("function"===m.type(u)?u(s):u)<l))||s.data)&&(!!e||(l<=p?(i.error=s.i18n("uploadedBytes"),this._getXHRPromise(!1,s.context,[null,"error",i.error])):(o=function(){var n=m.extend({},s),r=n._progress.loaded;n.blob=d.call(i,p,p+("function"===m.type(u)?u(n):u),i.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+p+"-"+(p+n.chunkSize-1)+"/"+l,a._trigger("chunkbeforesend",null,n),a._initXHRData(n),a._initProgressListener(n),t=(!1!==a._trigger("chunksend",null,n)&&m.ajax(n)||a._getXHRPromise(!1,n.context)).done(function(e,t,i){p=a._getUploadedBytes(i)||p+n.chunkSize,r+n.chunkSize-n._progress.loaded&&a._onProgress(m.Event("progress",{lengthComputable:!0,loaded:p-n.uploadedBytes,total:p-n.uploadedBytes}),n),s.uploadedBytes=n.uploadedBytes=p,n.result=e,n.textStatus=t,n.jqXHR=i,a._trigger("chunkdone",null,n),a._trigger("chunkalways",null,n),p<l?o():f.resolveWith(n.context,[e,t,i])}).fail(function(e,t,i){n.jqXHR=e,n.textStatus=t,n.errorThrown=i,a._trigger("chunkfail",null,n),a._trigger("chunkalways",null,n),f.rejectWith(n.context,[e,t,i])}).always(function(){a._deinitProgressListener(n)})},this._enhancePromise(n),n.abort=function(){return t.abort()},o(),n)))},_beforeSend:function(e,t){0===this._active&&(this._trigger("start"),this._bitrateTimer=new this._BitrateTimer,this._progress.loaded=this._progress.total=0,this._progress.bitrate=0),this._initResponseObject(t),this._initProgressObject(t),t._progress.loaded=t.loaded=t.uploadedBytes||0,t._progress.total=t.total=this._getTotal(t.files)||1,t._progress.bitrate=t.bitrate=0,this._active+=1,this._progress.loaded+=t.loaded,this._progress.total+=t.total},_onDone:function(e,t,i,n){var r=n._progress.total,s=n._response;n._progress.loaded<r&&this._onProgress(m.Event("progress",{lengthComputable:!0,loaded:r,total:r}),n),s.result=n.result=e,s.textStatus=n.textStatus=t,s.jqXHR=n.jqXHR=i,this._trigger("done",null,n)},_onFail:function(e,t,i,n){var r=n._response;n.recalculateProgress&&(this._progress.loaded-=n._progress.loaded,this._progress.total-=n._progress.total),r.jqXHR=n.jqXHR=e,r.textStatus=n.textStatus=t,r.errorThrown=n.errorThrown=i,this._trigger("fail",null,n)},_onAlways:function(e,t,i,n){this._trigger("always",null,n)},_onSend:function(e,t){t.submit||this._addConvenienceMethods(e,t);var i,n,r,s=this,o=s._getAJAXSettings(t),a=function(){return s._sending+=1,o._bitrateTimer=new s._BitrateTimer,i=i||((n||!1===s._trigger("send",m.Event("send",{delegatedEvent:e}),o))&&s._getXHRPromise(!1,o.context,n)||s._chunkedUpload(o)||m.ajax(o)).done(function(e,t,i){s._onDone(e,t,i,o)}).fail(function(e,t,i){s._onFail(e,t,i,o)}).always(function(e,t,i){if(s._deinitProgressListener(o),s._onAlways(e,t,i,o),--s._sending,--s._active,o.limitConcurrentUploads&&o.limitConcurrentUploads>s._sending)for(var n=s._slots.shift();n;){if("pending"===s._getDeferredState(n)){n.resolve();break}n=s._slots.shift()}0===s._active&&s._trigger("stop")})};return this._beforeSend(e,o),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?((t=1<this.options.limitConcurrentUploads?(r=m.Deferred(),this._slots.push(r),r[s._promisePipe](a)):(this._sequence=this._sequence[s._promisePipe](a,a),this._sequence)).abort=function(){return n=[undefined,"abort","abort"],i?i.abort():(r&&r.rejectWith(o.context,n),a())},this._enhancePromise(t)):a()},_onAdd:function(n,r){var s,e,o,t,a=this,l=!0,i=m.extend({},this.options,r),p=r.files,u=p.length,d=i.limitMultiFileUploads,f=i.limitMultiFileUploadSize,h=i.limitMultiFileUploadSizeOverhead,c=0,g=this._getParamName(i),_=0;if(!u)return!1;if(f&&p[0].size===undefined&&(f=undefined),(i.singleFileUploads||d||f)&&this._isXHRUpload(i))if(i.singleFileUploads||f||!d)if(!i.singleFileUploads&&f)for(o=[],s=[],t=0;t<u;t+=1)c+=p[t].size+h,(t+1===u||c+p[t+1].size+h>f||d&&d<=t+1-_)&&(o.push(p.slice(_,t+1)),(e=g.slice(_,t+1)).length||(e=g),s.push(e),_=t+1,c=0);else s=g;else for(o=[],s=[],t=0;t<u;t+=d)o.push(p.slice(t,t+d)),(e=g.slice(t,t+d)).length||(e=g),s.push(e);else o=[p],s=[g];return r.originalFiles=p,m.each(o||p,function(e,t){var i=m.extend({},r);return i.files=o?t:[t],i.paramName=s[e],a._initResponseObject(i),a._initProgressObject(i),a._addConvenienceMethods(n,i),l=a._trigger("add",m.Event("add",{delegatedEvent:n}),i)}),l},_replaceFileInput:function(e){var i=e.fileInput,n=i.clone(!0),t=i.is(document.activeElement);e.fileInputClone=n,m("<form></form>").append(n)[0].reset(),i.after(n).detach(),t&&n.trigger("focus"),m.cleanData(i.off("remove")),this.options.fileInput=this.options.fileInput.map(function(e,t){return t===i[0]?n[0]:t}),i[0]===this.element[0]&&(this.element=n)},_handleFileTreeEntry:function(t,i){var e,n=this,r=m.Deferred(),s=[],o=function(e){e&&!e.entry&&(e.entry=t),r.resolve([e])},a=function(e){n._handleFileTreeEntries(e,i+t.name+"/").done(function(e){r.resolve(e)}).fail(o)},l=function(){e.readEntries(function(e){e.length?(s=s.concat(e),l()):a(s)},o)};return i=i||"",t.isFile?t._file?(t._file.relativePath=i,r.resolve(t._file)):t.file(function(e){e.relativePath=i,r.resolve(e)},o):t.isDirectory?(e=t.createReader(),l()):r.resolve([]),r.promise()},_handleFileTreeEntries:function(e,t){var i=this;return m.when.apply(m,m.map(e,function(e){return i._handleFileTreeEntry(e,t)}))[this._promisePipe](function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(e){var t=(e=e||{}).items;return t&&t.length&&(t[0].webkitGetAsEntry||t[0].getAsEntry)?this._handleFileTreeEntries(m.map(t,function(e){var t;return e.webkitGetAsEntry?((t=e.webkitGetAsEntry())&&(t._file=e.getAsFile()),t):e.getAsEntry()})):m.Deferred().resolve(m.makeArray(e.files)).promise()},_getSingleFileInputFiles:function(e){var t=(e=m(e)).prop("entries");if(t&&t.length)return this._handleFileTreeEntries(t);if((t=m.makeArray(e.prop("files"))).length)t[0].name===undefined&&t[0].fileName&&m.each(t,function(e,t){t.name=t.fileName,t.size=t.fileSize});else{if(!(e=e.prop("value")))return m.Deferred().resolve([]).promise();t=[{name:e.replace(/^.*\\/,"")}]}return m.Deferred().resolve(t).promise()},_getFileInputFiles:function(e){return e instanceof m&&1!==e.length?m.when.apply(m,m.map(e,this._getSingleFileInputFiles))[this._promisePipe](function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(e)},_onChange:function(t){var i=this,n={fileInput:m(t.target),form:m(t.target.form)};this._getFileInputFiles(n.fileInput).always(function(e){n.files=e,i.options.replaceFileInput&&i._replaceFileInput(n),!1!==i._trigger("change",m.Event("change",{delegatedEvent:t}),n)&&i._onAdd(t,n)})},_onPaste:function(e){var t=e.originalEvent&&e.originalEvent.clipboardData&&e.originalEvent.clipboardData.items,i={files:[]};t&&t.length&&(m.each(t,function(e,t){t=t.getAsFile&&t.getAsFile();t&&i.files.push(t)}),!1!==this._trigger("paste",m.Event("paste",{delegatedEvent:e}),i))&&this._onAdd(e,i)},_onDrop:function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var i=this,e=t.dataTransfer,n={};e&&e.files&&e.files.length&&(t.preventDefault(),this._getDroppedFiles(e).always(function(e){n.files=e,!1!==i._trigger("drop",m.Event("drop",{delegatedEvent:t}),n)&&i._onAdd(t,n)}))},_onDragOver:e("dragover"),_onDragEnter:e("dragenter"),_onDragLeave:e("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),m.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_destroy:function(){this._destroyEventHandlers()},_setOption:function(e,t){var i=-1!==m.inArray(e,this._specialOptions);i&&this._destroyEventHandlers(),this._super(e,t),i&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var e=this.options;e.fileInput===undefined?e.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):e.fileInput instanceof m||(e.fileInput=m(e.fileInput)),e.dropZone instanceof m||(e.dropZone=m(e.dropZone)),e.pasteZone instanceof m||(e.pasteZone=m(e.pasteZone))},_getRegExp:function(e){var e=e.split("/"),t=e.pop();return e.shift(),new RegExp(e.join("/"),t)},_isRegExpOption:function(e,t){return"url"!==e&&"string"===m.type(t)&&/^\/.*\/[igm]{0,3}$/.test(t)},_initDataAttributes:function(){var n=this,r=this.options,s=this.element.data();m.each(this.element[0].attributes,function(e,t){var i,t=t.name.toLowerCase();/^data-/.test(t)&&(t=t.slice(5).replace(/-[a-z]/g,function(e){return e.charAt(1).toUpperCase()}),i=s[t],n._isRegExpOption(t,i)&&(i=n._getRegExp(i)),r[t]=i)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(t){var i=this;t&&!this.options.disabled&&(t.fileInput&&!t.files?this._getFileInputFiles(t.fileInput).always(function(e){t.files=e,i._onAdd(null,t)}):(t.files=m.makeArray(t.files),this._onAdd(null,t)))},send:function(t){if(t&&!this.options.disabled){var i,n,e,r,s;if(t.fileInput&&!t.files)return i=this,n=m.Deferred(),(e=n.promise()).abort=function(){return s=!0,r?r.abort():(n.reject(null,"abort","abort"),e)},this._getFileInputFiles(t.fileInput).always(function(e){s||(e.length?(t.files=e,(r=i._onSend(null,t)).then(function(e,t,i){n.resolve(e,t,i)},function(e,t,i){n.reject(e,t,i)})):n.reject())}),this._enhancePromise(e);if(t.files=m.makeArray(t.files),t.files.length)return this._onSend(null,t)}return this._getXHRPromise(!1,t&&t.context)}})});
;(function(factory){'use strict';if(typeof define==='function'&&define.amd){define(['jquery'],factory)}else if(typeof module!=='undefined'&&module.exports){module.exports=factory(require('jquery'))}else{factory(jQuery)}})(function($){'use strict';var $scrollTo=$.scrollTo=function(target,duration,settings){return $(window).scrollTo(target,duration,settings)};$scrollTo.defaults={axis:'xy',duration:0,limit:true};function isWin(elem){return!elem.nodeName||$.inArray(elem.nodeName.toLowerCase(),['iframe','#document','html','body'])!==-1}function isFunction(obj){return typeof obj==='function'}$.fn.scrollTo=function(target,duration,settings){if(typeof duration==='object'){settings=duration;duration=0}if(typeof settings==='function'){settings={onAfter:settings}}if(target==='max'){target=9e9}settings=$.extend({},$scrollTo.defaults,settings);duration=duration||settings.duration;var queue=settings.queue&&settings.axis.length>1;if(queue){duration/=2}settings.offset=both(settings.offset);settings.over=both(settings.over);return this.each(function(){if(target===null){return}var win=isWin(this),elem=win?this.contentWindow||window:this,$elem=$(elem),targ=target,attr={},toff;switch(typeof targ){case 'number':case 'string':if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(targ)){targ=both(targ);break}targ=win?$(targ):$(targ,elem);case 'object':if(targ.length===0){return}if(targ.is||targ.style){toff=(targ=$(targ)).offset()}}var offset=isFunction(settings.offset)&&settings.offset(elem,targ)||settings.offset;$.each(settings.axis.split(''),function(i,axis){var Pos=axis==='x'?'Left':'Top',pos=Pos.toLowerCase(),key='scroll'+Pos,prev=$elem[key](),max=$scrollTo.max(elem,axis);if(toff){attr[key]=toff[pos]+(win?0:prev-$elem.offset()[pos]);if(settings.margin){attr[key]-=parseInt(targ.css('margin'+Pos),10)||0;attr[key]-=parseInt(targ.css('border'+Pos+'Width'),10)||0}attr[key]+=offset[pos]||0;if(settings.over[pos]){attr[key]+=targ[axis==='x'?'width':'height']()*settings.over[pos]}}else{var val=targ[pos];attr[key]=val.slice&&val.slice(-1)==='%'?parseFloat(val)/100*max:val}if(settings.limit&&/^\d+$/.test(attr[key])){attr[key]=attr[key]<=0?0:Math.min(attr[key],max)}if(!i&&settings.axis.length>1){if(prev===attr[key]){attr={}}else if(queue){animate(settings.onAfterFirst);attr={}}}});animate(settings.onAfter);function animate(callback){var opts=$.extend({},settings,{queue:true,duration:duration,complete:callback&&function(){callback.call(elem,targ,settings)}});$elem.animate(attr,opts)}})};$scrollTo.max=function(elem,axis){var Dim=axis==='x'?'Width':'Height',scroll='scroll'+Dim;if(!isWin(elem)){return elem[scroll]-$(elem)[Dim.toLowerCase()]()}var size='client'+Dim,doc=elem.ownerDocument||elem.document,html=doc.documentElement,body=doc.body;return Math.max(html[scroll],body[scroll])-Math.min(html[size],body[size])};function both(val){return isFunction(val)||$.isPlainObject(val)?val:{top:val,left:val}}$.Tween.propHooks.scrollLeft=$.Tween.propHooks.scrollTop={get:function(t){return $(t.elem)[t.prop]()},set:function(t){var curr=this.get(t);if(t.options.interrupt&&t._last&&t._last!==curr){return $(t.elem).stop()}var next=Math.round(t.now);if(curr!==next){$(t.elem)[t.prop](next);t._last=this.get(t)}}};return $scrollTo});
!function(a,b,c){!function(a){"use strict";"function"==typeof define&&define.amd?define(["jquery"],a):jQuery&&!jQuery.fn.qtip&&a(jQuery)}(function(d){"use strict";function e(a,b,c,e){this.id=c,this.target=a,this.tooltip=F,this.elements={target:a},this._id=S+"-"+c,this.timers={img:{}},this.options=b,this.plugins={},this.cache={event:{},target:d(),disabled:E,attr:e,onTooltip:E,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=E}function f(a){return a===F||"object"!=typeof a}function g(a){return!("function"==typeof a||a&&a.attr||a.length||"object"==typeof a&&null!==a&&(a.jquery||a.then))}function h(a){var b,c,e,h;return f(a)?E:(f(a.metadata)&&(a.metadata={type:a.metadata}),"content"in a&&(b=a.content,f(b)||b.jquery||b.done?(c=g(b)?E:b,b=a.content={text:c}):c=b.text,"ajax"in b&&(e=b.ajax,h=e&&e.once!==E,delete b.ajax,b.text=function(a,b){var f=c||d(this).attr(b.options.content.attr)||"Loading...",g=d.ajax(d.extend({},e,{context:b})).then(e.success,F,e.error).then(function(a){return a&&h&&b.set("content.text",a),a},function(a,c,d){b.destroyed||0===a.status||b.set("content.text",c+": "+d)});return h?f:(b.set("content.text",f),g)}),"title"in b&&(d.isPlainObject(b.title)&&(b.button=b.title.button,b.title=b.title.text),g(b.title||E)&&(b.title=E))),"position"in a&&f(a.position)&&(a.position={my:a.position,at:a.position}),"show"in a&&f(a.show)&&(a.show=a.show.jquery?{target:a.show}:a.show===D?{ready:D}:{event:a.show}),"hide"in a&&f(a.hide)&&(a.hide=a.hide.jquery?{target:a.hide}:{event:a.hide}),"style"in a&&f(a.style)&&(a.style={classes:a.style}),d.each(R,function(){this.sanitize&&this.sanitize(a)}),a)}function i(a,b){for(var c,d=0,e=a,f=b.split(".");e=e[f[d++]];)d<f.length&&(c=e);return[c||a,f.pop()]}function j(a,b){var c,d,e;for(c in this.checks)if(this.checks.hasOwnProperty(c))for(d in this.checks[c])this.checks[c].hasOwnProperty(d)&&(e=new RegExp(d,"i").exec(a))&&(b.push(e),("builtin"===c||this.plugins[c])&&this.checks[c][d].apply(this.plugins[c]||this,b))}function k(a){return V.concat("").join(a?"-"+a+" ":" ")}function l(a,b){return b>0?setTimeout(a.bind(this),b):void a.call(this)}function m(a){this.tooltip.hasClass(aa)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=l.call(this,function(){this.toggle(D,a)},this.options.show.delay))}function n(a){if(!this.tooltip.hasClass(aa)&&!this.destroyed){var b=d(a.relatedTarget),c=b.closest(W)[0]===this.tooltip[0],e=b[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==b[0]&&"mouse"===this.options.position.target&&c||this.options.hide.fixed&&/mouse(out|leave|move)/.test(a.type)&&(c||e))try{a.preventDefault(),a.stopImmediatePropagation()}catch(f){}else this.timers.hide=l.call(this,function(){this.toggle(E,a)},this.options.hide.delay,this)}}function o(a){!this.tooltip.hasClass(aa)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=l.call(this,function(){this.hide(a)},this.options.hide.inactive))}function p(a){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(a)}function q(a,c,e){d(b.body).on((c.split?c:c.join("."+S+" "))+"."+S,a,function(){var a=y.api[d.attr(this,U)];a&&!a.disabled&&e.apply(a,arguments)})}function r(a,c,f){var g,i,j,k,l,m=d(b.body),n=a[0]===b?m:a,o=a.metadata?a.metadata(f.metadata):F,p="html5"===f.metadata.type&&o?o[f.metadata.name]:F,q=a.data(f.metadata.name||"qtipopts");try{q="string"==typeof q?d.parseJSON(q):q}catch(r){}if(k=d.extend(D,{},y.defaults,f,"object"==typeof q?h(q):F,h(p||o)),i=k.position,k.id=c,"boolean"==typeof k.content.text){if(j=a.attr(k.content.attr),k.content.attr===E||!j)return E;k.content.text=j}if(i.container.length||(i.container=m),i.target===E&&(i.target=n),k.show.target===E&&(k.show.target=n),k.show.solo===D&&(k.show.solo=i.container.closest("body")),k.hide.target===E&&(k.hide.target=n),k.position.viewport===D&&(k.position.viewport=i.container),i.container=i.container.eq(0),i.at=new A(i.at,D),i.my=new A(i.my),a.data(S))if(k.overwrite)a.qtip("destroy",!0);else if(k.overwrite===E)return E;return a.attr(T,c),k.suppress&&(l=a.attr("title"))&&a.removeAttr("title").attr(ca,l).attr("title",""),g=new e(a,k,c,(!!j)),a.data(S,g),g}function s(a){return a.charAt(0).toUpperCase()+a.slice(1)}function t(a,b){var d,e,f=b.charAt(0).toUpperCase()+b.slice(1),g=(b+" "+va.join(f+" ")+f).split(" "),h=0;if(ua[b])return a.css(ua[b]);for(;d=g[h++];)if((e=a.css(d))!==c)return ua[b]=d,e}function u(a,b){return Math.ceil(parseFloat(t(a,b)))}function v(a,b){this._ns="tip",this.options=b,this.offset=b.offset,this.size=[b.width,b.height],this.qtip=a,this.init(a)}function w(a,b){this.options=b,this._ns="-modal",this.qtip=a,this.init(a)}function x(a){this._ns="ie6",this.qtip=a,this.init(a)}var y,z,A,B,C,D=!0,E=!1,F=null,G="x",H="y",I="width",J="height",K="top",L="left",M="bottom",N="right",O="center",P="flipinvert",Q="shift",R={},S="qtip",T="data-hasqtip",U="data-qtip-id",V=["ui-widget","ui-tooltip"],W="."+S,X="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),Y=S+"-fixed",Z=S+"-default",$=S+"-focus",_=S+"-hover",aa=S+"-disabled",ba="_replacedByqTip",ca="oldtitle",da={ie:function(){var a,c;for(a=4,c=b.createElement("div");(c.innerHTML="<!--[if gt IE "+a+"]><i></i><![endif]-->")&&c.getElementsByTagName("i")[0];a+=1);return a>4?a:NaN}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||E};z=e.prototype,z._when=function(a){return d.when.apply(d,a)},z.render=function(a){if(this.rendered||this.destroyed)return this;var b=this,c=this.options,e=this.cache,f=this.elements,g=c.content.text,h=c.content.title,i=c.content.button,j=c.position,k=[];return d.attr(this.target[0],"aria-describedby",this._id),e.posClass=this._createPosClass((this.position={my:j.my,at:j.at}).my),this.tooltip=f.tooltip=d("<div/>",{id:this._id,"class":[S,Z,c.style.classes,e.posClass].join(" "),width:c.style.width||"",height:c.style.height||"",tracking:"mouse"===j.target&&j.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":E,"aria-describedby":this._id+"-content","aria-hidden":D}).toggleClass(aa,this.disabled).attr(U,this.id).data(S,this).appendTo(j.container).append(f.content=d("<div />",{"class":S+"-content",id:this._id+"-content","aria-atomic":D})),this.rendered=-1,this.positioning=D,h&&(this._createTitle(),"function"!=typeof h&&k.push(this._updateTitle(h,E))),i&&this._createButton(),"function"!=typeof g&&k.push(this._updateContent(g,E)),this.rendered=D,this._setWidget(),d.each(R,function(a){var c;"render"===this.initialize&&(c=this(b))&&(b.plugins[a]=c)}),this._unassignEvents(),this._assignEvents(),this._when(k).then(function(){b._trigger("render"),b.positioning=E,b.hiddenDuringWait||!c.show.ready&&!a||b.toggle(D,e.event,E),b.hiddenDuringWait=E}),y.api[this.id]=this,this},z.destroy=function(a){function b(){if(!this.destroyed){this.destroyed=D;var a,b=this.target,c=b.attr(ca);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),d.each(this.plugins,function(){this.destroy&&this.destroy()});for(a in this.timers)this.timers.hasOwnProperty(a)&&clearTimeout(this.timers[a]);b.removeData(S).removeAttr(U).removeAttr(T).removeAttr("aria-describedby"),this.options.suppress&&c&&b.attr("title",c).removeAttr(ca),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=F,delete y.api[this.id]}}return this.destroyed?this.target:(a===D&&"hide"!==this.triggering||!this.rendered?b.call(this):(this.tooltip.one("tooltiphidden",b.bind(this)),!this.triggering&&this.hide()),this.target)},B=z.checks={builtin:{"^id$":function(a,b,c,e){var f=c===D?y.nextid:c,g=S+"-"+f;f!==E&&f.length>0&&!d("#"+g).length?(this._id=g,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):a[b]=e},"^prerender":function(a,b,c){c&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(a,b,c){this._updateContent(c)},"^content.attr$":function(a,b,c,d){this.options.content.text===this.target.attr(d)&&this._updateContent(this.target.attr(c))},"^content.title$":function(a,b,c){return c?(c&&!this.elements.title&&this._createTitle(),void this._updateTitle(c)):this._removeTitle()},"^content.button$":function(a,b,c){this._updateButton(c)},"^content.title.(text|button)$":function(a,b,c){this.set("content."+b,c)},"^position.(my|at)$":function(a,b,c){"string"==typeof c&&(this.position[b]=a[b]=new A(c,"at"===b))},"^position.container$":function(a,b,c){this.rendered&&this.tooltip.appendTo(c)},"^show.ready$":function(a,b,c){c&&(!this.rendered&&this.render(D)||this.toggle(D))},"^style.classes$":function(a,b,c,d){this.rendered&&this.tooltip.removeClass(d).addClass(c)},"^style.(width|height)":function(a,b,c){this.rendered&&this.tooltip.css(b,c)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(a,b,c){this.rendered&&this.tooltip.toggleClass(Z,!!c)},"^events.(render|show|move|hide|focus|blur)$":function(a,b,c){this.rendered&&this.tooltip[("function"==typeof c?"":"un")+"bind"]("tooltip"+b,c)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(this.rendered){var a=this.options.position;this.tooltip.attr("tracking","mouse"===a.target&&a.adjust.mouse),this._unassignEvents(),this._assignEvents()}}}},z.get=function(a){if(this.destroyed)return this;var b=i(this.options,a.toLowerCase()),c=b[0][b[1]];return c.precedance?c.string():c};var ea=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,fa=/^prerender|show\.ready/i;z.set=function(a,b){if(this.destroyed)return this;var c,e=this.rendered,f=E,g=this.options;return"string"==typeof a?(c=a,a={},a[c]=b):a=d.extend({},a),d.each(a,function(b,c){if(e&&fa.test(b))return void delete a[b];var h,j=i(g,b.toLowerCase());h=j[0][j[1]],j[0][j[1]]=c&&c.nodeType?d(c):c,f=ea.test(b)||f,a[b]=[j[0],j[1],c,h]}),h(g),this.positioning=D,d.each(a,j.bind(this)),this.positioning=E,this.rendered&&this.tooltip[0].offsetWidth>0&&f&&this.reposition("mouse"===g.position.target?F:this.cache.event),this},z._update=function(a,b){var c=this,d=this.cache;return this.rendered&&a?("function"==typeof a&&(a=a.call(this.elements.target,d.event,this)||""),"function"==typeof a.then?(d.waiting=D,a.then(function(a){return d.waiting=E,c._update(a,b)},F,function(a){return c._update(a,b)})):a===E||!a&&""!==a?E:(a.jquery&&a.length>0?b.empty().append(a.css({display:"block",visibility:"visible"})):b.html(a),this._waitForContent(b).then(function(a){c.rendered&&c.tooltip[0].offsetWidth>0&&c.reposition(d.event,!a.length)}))):E},z._waitForContent=function(a){var b=this.cache;return b.waiting=D,(d.fn.imagesLoaded?a.imagesLoaded():(new d.Deferred).resolve([])).done(function(){b.waiting=E}).promise()},z._updateContent=function(a,b){this._update(a,this.elements.content,b)},z._updateTitle=function(a,b){this._update(a,this.elements.title,b)===E&&this._removeTitle(E)},z._createTitle=function(){var a=this.elements,b=this._id+"-title";a.titlebar&&this._removeTitle(),a.titlebar=d("<div />",{"class":S+"-titlebar "+(this.options.style.widget?k("header"):"")}).append(a.title=d("<div />",{id:b,"class":S+"-title","aria-atomic":D})).insertBefore(a.content).on("mousedown keydown mouseup keyup mouseout",".qtip-close",function(a){d(this).toggleClass("ui-state-active ui-state-focus","down"===a.type.slice(-4))}).on("mouseover mouseout",".qtip-close",function(a){d(this).toggleClass("ui-state-hover","mouseover"===a.type)}),this.options.content.button&&this._createButton()},z._removeTitle=function(a){var b=this.elements;b.title&&(b.titlebar.remove(),b.titlebar=b.title=b.button=F,a!==E&&this.reposition())},z._createPosClass=function(a){return S+"-pos-"+(a||this.options.position.my).abbrev()},z.reposition=function(c,e){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=D;var f,g,h,i,j=this.cache,k=this.tooltip,l=this.options.position,m=l.target,n=l.my,o=l.at,p=l.viewport,q=l.container,r=l.adjust,s=r.method.split(" "),t=k.outerWidth(E),u=k.outerHeight(E),v=0,w=0,x=k.css("position"),y={left:0,top:0},z=k[0].offsetWidth>0,A=c&&"scroll"===c.type,B=d(a),C=q[0].ownerDocument,F=this.mouse;if(Array.isArray(m)&&2===m.length)o={x:L,y:K},y={left:m[0],top:m[1]};else if("mouse"===m)o={x:L,y:K},(!r.mouse||this.options.hide.distance)&&j.origin&&j.origin.pageX?c=j.origin:!c||c&&("resize"===c.type||"scroll"===c.type)?c=j.event:F&&F.pageX&&(c=F),"static"!==x&&(y=q.offset()),C.body.offsetWidth!==(a.innerWidth||C.documentElement.clientWidth)&&(g=d(b.body).offset()),y={left:c.pageX-y.left+(g&&g.left||0),top:c.pageY-y.top+(g&&g.top||0)},r.mouse&&A&&F&&(y.left-=(F.scrollX||0)-B.scrollLeft(),y.top-=(F.scrollY||0)-B.scrollTop());else{if("event"===m?c&&c.target&&"scroll"!==c.type&&"resize"!==c.type?j.target=d(c.target):c.target||(j.target=this.elements.target):"event"!==m&&(j.target=d(m.jquery?m:this.elements.target)),m=j.target,m=d(m).eq(0),0===m.length)return this;m[0]===b||m[0]===a?(v=da.iOS?a.innerWidth:m.width(),w=da.iOS?a.innerHeight:m.height(),m[0]===a&&(y={top:(p||m).scrollTop(),left:(p||m).scrollLeft()})):R.imagemap&&m.is("area")?f=R.imagemap(this,m,o,R.viewport?s:E):R.svg&&m&&m[0].ownerSVGElement?f=R.svg(this,m,o,R.viewport?s:E):(v=m.outerWidth(E),w=m.outerHeight(E),y=m.offset()),f&&(v=f.width,w=f.height,g=f.offset,y=f.position),y=this.reposition.offset(m,y,q),(da.iOS>3.1&&da.iOS<4.1||da.iOS>=4.3&&da.iOS<4.33||!da.iOS&&"fixed"===x)&&(y.left-=B.scrollLeft(),y.top-=B.scrollTop()),(!f||f&&f.adjustable!==E)&&(y.left+=o.x===N?v:o.x===O?v/2:0,y.top+=o.y===M?w:o.y===O?w/2:0)}return y.left+=r.x+(n.x===N?-t:n.x===O?-t/2:0),y.top+=r.y+(n.y===M?-u:n.y===O?-u/2:0),R.viewport?(h=y.adjusted=R.viewport(this,y,l,v,w,t,u),g&&h.left&&(y.left+=g.left),g&&h.top&&(y.top+=g.top),h.my&&(this.position.my=h.my)):y.adjusted={left:0,top:0},j.posClass!==(i=this._createPosClass(this.position.my))&&(j.posClass=i,k.removeClass(j.posClass).addClass(i)),this._trigger("move",[y,p.elem||p],c)?(delete y.adjusted,e===E||!z||isNaN(y.left)||isNaN(y.top)||"mouse"===m||"function"!=typeof l.effect?k.css(y):"function"==typeof l.effect&&(l.effect.call(k,this,d.extend({},y)),k.queue(function(a){d(this).css({opacity:"",height:""}),da.ie&&this.style.removeAttribute("filter"),a()})),this.positioning=E,this):this},z.reposition.offset=function(a,c,e){function f(a,b){c.left+=b*a.scrollLeft(),c.top+=b*a.scrollTop()}if(!e[0])return c;var g,h,i,j,k=d(a[0].ownerDocument),l=!!da.ie&&"CSS1Compat"!==b.compatMode,m=e[0];do"static"!==(h=d.css(m,"position"))&&("fixed"===h?(i=m.getBoundingClientRect(),f(k,-1)):(i=d(m).position(),i.left+=parseFloat(d.css(m,"borderLeftWidth"))||0,i.top+=parseFloat(d.css(m,"borderTopWidth"))||0),c.left-=i.left+(parseFloat(d.css(m,"marginLeft"))||0),c.top-=i.top+(parseFloat(d.css(m,"marginTop"))||0),g||"hidden"===(j=d.css(m,"overflow"))||"visible"===j||(g=d(m)));while(m=m.offsetParent);return g&&(g[0]!==k[0]||l)&&f(g,1),c};var ga=(A=z.reposition.Corner=function(a,b){a=(""+a).replace(/([A-Z])/," $1").replace(/middle/gi,O).toLowerCase(),this.x=(a.match(/left|right/i)||a.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(a.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!b;var c=a.charAt(0);this.precedance="t"===c||"b"===c?H:G}).prototype;ga.invert=function(a,b){this[a]=this[a]===L?N:this[a]===N?L:b||this[a]},ga.string=function(a){var b=this.x,c=this.y,d=b!==c?"center"===b||"center"!==c&&(this.precedance===H||this.forceY)?[c,b]:[b,c]:[b];return a!==!1?d.join(" "):d},ga.abbrev=function(){var a=this.string(!1);return a[0].charAt(0)+(a[1]&&a[1].charAt(0)||"")},ga.clone=function(){return new A(this.string(),this.forceY)},z.toggle=function(a,c){var e=this.cache,f=this.options,g=this.tooltip;if(c){if(/over|enter/.test(c.type)&&e.event&&/out|leave/.test(e.event.type)&&f.show.target.add(c.target).length===f.show.target.length&&g.has(c.relatedTarget).length)return this;e.event=d.event.fix(c)}if(this.waiting&&!a&&(this.hiddenDuringWait=D),!this.rendered)return a?this.render(1):this;if(this.destroyed||this.disabled)return this;var h,i,j,k=a?"show":"hide",l=this.options[k],m=this.options.position,n=this.options.content,o=this.tooltip.css("width"),p=this.tooltip.is(":visible"),q=a||1===l.target.length,r=!c||l.target.length<2||e.target[0]===c.target;return(typeof a).search("boolean|number")&&(a=!p),h=!g.is(":animated")&&p===a&&r,i=h?F:!!this._trigger(k,[90]),this.destroyed?this:(i!==E&&a&&this.focus(c),!i||h?this:(d.attr(g[0],"aria-hidden",!a),a?(this.mouse&&(e.origin=d.event.fix(this.mouse)),"function"==typeof n.text&&this._updateContent(n.text,E),"function"==typeof n.title&&this._updateTitle(n.title,E),!C&&"mouse"===m.target&&m.adjust.mouse&&(d(b).on("mousemove."+S,this._storeMouse),C=D),o||g.css("width",g.outerWidth(E)),this.reposition(c,arguments[2]),o||g.css("width",""),l.solo&&("string"==typeof l.solo?d(l.solo):d(W,l.solo)).not(g).not(l.target).qtip("hide",new d.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete e.origin,C&&!d(W+'[tracking="true"]:visible',l.solo).not(g).length&&(d(b).off("mousemove."+S),C=E),this.blur(c)),j=function(){a?(da.ie&&g[0].style.removeAttribute("filter"),g.css("overflow",""),"string"==typeof l.autofocus&&d(this.options.show.autofocus,g).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):g.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(a?"visible":"hidden")}.bind(this),l.effect===E||q===E?(g[k](),j()):"function"==typeof l.effect?(g.stop(1,1),l.effect.call(g,this),g.queue("fx",function(a){j(),a()})):g.fadeTo(90,a?1:0,j),a&&l.target.trigger("qtip-"+this.id+"-inactive"),this))},z.show=function(a){return this.toggle(D,a)},z.hide=function(a){return this.toggle(E,a)},z.focus=function(a){if(!this.rendered||this.destroyed)return this;var b=d(W),c=this.tooltip,e=parseInt(c[0].style.zIndex,10),f=y.zindex+b.length;return c.hasClass($)||this._trigger("focus",[f],a)&&(e!==f&&(b.each(function(){this.style.zIndex>e&&(this.style.zIndex=this.style.zIndex-1)}),b.filter("."+$).qtip("blur",a)),c.addClass($)[0].style.zIndex=f),this},z.blur=function(a){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass($),this._trigger("blur",[this.tooltip.css("zIndex")],a),this)},z.disable=function(a){return this.destroyed?this:("toggle"===a?a=!(this.rendered?this.tooltip.hasClass(aa):this.disabled):"boolean"!=typeof a&&(a=D),this.rendered&&this.tooltip.toggleClass(aa,a).attr("aria-disabled",a),this.disabled=!!a,this)},z.enable=function(){return this.disable(E)},z._createButton=function(){var a=this,b=this.elements,c=b.tooltip,e=this.options.content.button,f="string"==typeof e,g=f?e:"Close tooltip";b.button&&b.button.remove(),e.jquery?b.button=e:b.button=d("<a />",{"class":"qtip-close "+(this.options.style.widget?"":S+"-icon"),title:g,"aria-label":g}).prepend(d("<span />",{"class":"ui-icon ui-icon-close",html:"&times;"})),b.button.appendTo(b.titlebar||c).attr("role","button").on("click",function(b){return c.hasClass(aa)||a.hide(b),E})},z._updateButton=function(a){if(!this.rendered)return E;var b=this.elements.button;a?this._createButton():b.remove()},z._setWidget=function(){var a=this.options.style.widget,b=this.elements,c=b.tooltip,d=c.hasClass(aa);c.removeClass(aa),aa=a?"ui-state-disabled":"qtip-disabled",c.toggleClass(aa,d),c.toggleClass("ui-helper-reset "+k(),a).toggleClass(Z,this.options.style.def&&!a),b.content&&b.content.toggleClass(k("content"),a),b.titlebar&&b.titlebar.toggleClass(k("header"),a),b.button&&b.button.toggleClass(S+"-icon",!a)},z._storeMouse=function(a){return(this.mouse=d.event.fix(a)).type="mousemove",this},z._bind=function(a,b,c,e,f){if(a&&c&&b.length){var g="."+this._id+(e?"-"+e:"");return d(a).on((b.split?b:b.join(g+" "))+g,c.bind(f||this)),this}},z._unbind=function(a,b){return a&&d(a).off("."+this._id+(b?"-"+b:"")),this},z._trigger=function(a,b,c){var e=new d.Event("tooltip"+a);return e.originalEvent=c&&d.extend({},c)||this.cache.event||F,this.triggering=a,this.tooltip.trigger(e,[this].concat(b||[])),this.triggering=E,!e.isDefaultPrevented()},z._bindEvents=function(a,b,c,e,f,g){var h=c.filter(e).add(e.filter(c)),i=[];h.length&&(d.each(b,function(b,c){var e=d.inArray(c,a);e>-1&&i.push(a.splice(e,1)[0])}),i.length&&(this._bind(h,i,function(a){var b=!!this.rendered&&this.tooltip[0].offsetWidth>0;(b?g:f).call(this,a)}),c=c.not(h),e=e.not(h))),this._bind(c,a,f),this._bind(e,b,g)},z._assignInitialEvents=function(a){function b(a){return this.disabled||this.destroyed?E:(this.cache.event=a&&d.event.fix(a),this.cache.target=a&&d(a.target),clearTimeout(this.timers.show),void(this.timers.show=l.call(this,function(){this.render("object"==typeof a||c.show.ready)},c.prerender?0:c.show.delay)))}var c=this.options,e=c.show.target,f=c.hide.target,g=c.show.event?(""+c.show.event).trim().split(" "):[],h=c.hide.event?(""+c.hide.event).trim().split(" "):[];this._bind(this.elements.target,["remove","removeqtip"],function(){this.destroy(!0)},"destroy"),/mouse(over|enter)/i.test(c.show.event)&&!/mouse(out|leave)/i.test(c.hide.event)&&h.push("mouseleave"),this._bind(e,"mousemove",function(a){this._storeMouse(a),this.cache.onTarget=D}),this._bindEvents(g,h,e,f,b,function(){return this.timers?void clearTimeout(this.timers.show):E}),(c.show.ready||c.prerender)&&b.call(this,a)},z._assignEvents=function(){var c=this,e=this.options,f=e.position,g=this.tooltip,h=e.show.target,i=e.hide.target,j=f.container,k=f.viewport,l=d(b),q=d(a),r=e.show.event?(""+e.show.event).trim().split(" "):[],s=e.hide.event?(""+e.hide.event).trim().split(" "):[];d.each(e.events,function(a,b){c._bind(g,"toggle"===a?["tooltipshow","tooltiphide"]:["tooltip"+a],b,null,g)}),/mouse(out|leave)/i.test(e.hide.event)&&"window"===e.hide.leave&&this._bind(l,["mouseout","blur"],function(a){/select|option/.test(a.target.nodeName)||a.relatedTarget||this.hide(a)}),e.hide.fixed?i=i.add(g.addClass(Y)):/mouse(over|enter)/i.test(e.show.event)&&this._bind(i,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+e.hide.event).indexOf("unfocus")>-1&&this._bind(j.closest("html"),["mousedown","touchstart"],function(a){var b=d(a.target),c=this.rendered&&!this.tooltip.hasClass(aa)&&this.tooltip[0].offsetWidth>0,e=b.parents(W).filter(this.tooltip[0]).length>0;b[0]===this.target[0]||b[0]===this.tooltip[0]||e||this.target.has(b[0]).length||!c||this.hide(a)}),"number"==typeof e.hide.inactive&&(this._bind(h,"qtip-"+this.id+"-inactive",o,"inactive"),this._bind(i.add(g),y.inactiveEvents,o)),this._bindEvents(r,s,h,i,m,n),this._bind(h.add(g),"mousemove",function(a){if("number"==typeof e.hide.distance){var b=this.cache.origin||{},c=this.options.hide.distance,d=Math.abs;(d(a.pageX-b.pageX)>=c||d(a.pageY-b.pageY)>=c)&&this.hide(a)}this._storeMouse(a)}),"mouse"===f.target&&f.adjust.mouse&&(e.hide.event&&this._bind(h,["mouseenter","mouseleave"],function(a){return this.cache?void(this.cache.onTarget="mouseenter"===a.type):E}),this._bind(l,"mousemove",function(a){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(aa)&&this.tooltip[0].offsetWidth>0&&this.reposition(a)})),(f.adjust.resize||k.length)&&this._bind(d.event.special.resize?k:q,"resize",p),f.adjust.scroll&&this._bind(q.add(f.container),"scroll",p)},z._unassignEvents=function(){var c=this.options,e=c.show.target,f=c.hide.target,g=d.grep([this.elements.target[0],this.rendered&&this.tooltip[0],c.position.container[0],c.position.viewport[0],c.position.container.closest("html")[0],a,b],function(a){return"object"==typeof a});e&&e.toArray&&(g=g.concat(e.toArray())),f&&f.toArray&&(g=g.concat(f.toArray())),this._unbind(g)._unbind(g,"destroy")._unbind(g,"inactive")},d(function(){q(W,["mouseenter","mouseleave"],function(a){var b="mouseenter"===a.type,c=d(a.currentTarget),e=d(a.relatedTarget||a.target),f=this.options;b?(this.focus(a),c.hasClass(Y)&&!c.hasClass(aa)&&clearTimeout(this.timers.hide)):"mouse"===f.position.target&&f.position.adjust.mouse&&f.hide.event&&f.show.target&&!e.closest(f.show.target[0]).length&&this.hide(a),c.toggleClass(_,b)}),q("["+U+"]",X,o)}),y=d.fn.qtip=function(a,b,e){var f=(""+a).toLowerCase(),g=F,i=d.makeArray(arguments).slice(1),j=i[i.length-1],k=this[0]?d.data(this[0],S):F;return!arguments.length&&k||"api"===f?k:"string"==typeof a?(this.each(function(){var a=d.data(this,S);if(!a)return D;if(j&&j.timeStamp&&(a.cache.event=j),!b||"option"!==f&&"options"!==f)a[f]&&a[f].apply(a,i);else{if(e===c&&!d.isPlainObject(b))return g=a.get(b),E;a.set(b,e)}}),g!==F?g:this):"object"!=typeof a&&arguments.length?void 0:(k=h(d.extend(D,{},a)),this.each(function(a){var b,c;return c=Array.isArray(k.id)?k.id[a]:k.id,c=!c||c===E||c.length<1||y.api[c]?y.nextid++:c,b=r(d(this),c,k),b===E?D:(y.api[c]=b,d.each(R,function(){"initialize"===this.initialize&&this(b)}),void b._assignInitialEvents(j))}))},d.qtip=e,y.api={},d.each({attr:function(a,b){if(this.length){var c=this[0],e="title",f=d.data(c,"qtip");if(a===e&&f&&f.options&&"object"==typeof f&&"object"==typeof f.options&&f.options.suppress)return arguments.length<2?d.attr(c,ca):(f&&f.options.content.attr===e&&f.cache.attr&&f.set("content.text",b),this.attr(ca,b))}return d.fn["attr"+ba].apply(this,arguments)},clone:function(a){var b=d.fn["clone"+ba].apply(this,arguments);return a||b.filter("["+ca+"]").attr("title",function(){return d.attr(this,ca)}).removeAttr(ca),b}},function(a,b){if(!b||d.fn[a+ba])return D;var c=d.fn[a+ba]=d.fn[a];d.fn[a]=function(){return b.apply(this,arguments)||c.apply(this,arguments)}}),d.ui||(d["cleanData"+ba]=d.cleanData,d.cleanData=function(a){for(var b,c=0;(b=d(a[c])).length;c++)if(b.attr(T))try{b.triggerHandler("removeqtip")}catch(e){}d["cleanData"+ba].apply(this,arguments)}),y.version="3.0.4",y.nextid=0,y.inactiveEvents=X,y.zindex=15e3,y.defaults={prerender:E,id:E,overwrite:D,suppress:D,content:{text:D,attr:"title",title:E,button:E},position:{my:"top left",at:"bottom right",target:E,container:E,viewport:E,adjust:{x:0,y:0,mouse:D,scroll:D,resize:D,method:"flipinvert flipinvert"},effect:function(a,b){d(this).animate(b,{duration:200,queue:E})}},show:{target:E,event:"mouseenter",effect:D,delay:90,solo:E,ready:E,autofocus:E},hide:{target:E,event:"mouseleave",effect:D,delay:0,fixed:E,inactive:E,leave:"window",distance:E},style:{classes:"",widget:E,width:E,height:E,def:D},events:{render:F,move:F,show:F,hide:F,toggle:F,visible:F,hidden:F,focus:F,blur:F}};var ha,ia,ja,ka,la,ma="margin",na="border",oa="color",pa="background-color",qa="transparent",ra=" !important",sa=!!b.createElement("canvas").getContext,ta=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,ua={},va=["Webkit","O","Moz","ms"];sa?(ka=a.devicePixelRatio||1,la=function(){var a=b.createElement("canvas").getContext("2d");return a.backingStorePixelRatio||a.webkitBackingStorePixelRatio||a.mozBackingStorePixelRatio||a.msBackingStorePixelRatio||a.oBackingStorePixelRatio||1}(),ja=ka/la):ia=function(a,b,c){return"<qtipvml:"+a+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(b||"")+' style="behavior: url(#default#VML); '+(c||"")+'" />'},d.extend(v.prototype,{init:function(a){var b,c;c=this.element=a.elements.tip=d("<div />",{"class":S+"-tip"}).prependTo(a.tooltip),sa?(b=d("<canvas />").appendTo(this.element)[0].getContext("2d"),b.lineJoin="miter",b.miterLimit=1e5,b.save()):(b=ia("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(b+b),a._bind(d("*",c).add(c),["click","mousedown"],function(a){a.stopPropagation()},this._ns)),a._bind(a.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(a){var b=this.qtip.elements.titlebar;return b&&(a.y===K||a.y===O&&this.element.position().top+this.size[1]/2+this.options.offset<b.outerHeight(D))},_parseCorner:function(a){var b=this.qtip.options.position.my;return a===E||b===E?a=E:a===D?a=new A(b.string()):a.string||(a=new A(a),a.fixed=D),a},_parseWidth:function(a,b,c){var d=this.qtip.elements,e=na+s(b)+"Width";return(c?u(c,e):u(d.content,e)||u(this._useTitle(a)&&d.titlebar||d.content,e)||u(d.tooltip,e))||0},_parseRadius:function(a){var b=this.qtip.elements,c=na+s(a.y)+s(a.x)+"Radius";return da.ie<9?0:u(this._useTitle(a)&&b.titlebar||b.content,c)||u(b.tooltip,c)||0},_invalidColour:function(a,b,c){var d=a.css(b);return!d||c&&d===a.css(c)||ta.test(d)?E:d},_parseColours:function(a){var b=this.qtip.elements,c=this.element.css("cssText",""),e=na+s(a[a.precedance])+s(oa),f=this._useTitle(a)&&b.titlebar||b.content,g=this._invalidColour,h=[];return h[0]=g(c,pa)||g(f,pa)||g(b.content,pa)||g(b.tooltip,pa)||c.css(pa),h[1]=g(c,e,oa)||g(f,e,oa)||g(b.content,e,oa)||g(b.tooltip,e,oa)||b.tooltip.css(e),d("*",c).add(c).css("cssText",pa+":"+qa+ra+";"+na+":0"+ra+";"),h},_calculateSize:function(a){var b,c,d,e=a.precedance===H,f=this.options.width,g=this.options.height,h="c"===a.abbrev(),i=(e?f:g)*(h?.5:1),j=Math.pow,k=Math.round,l=Math.sqrt(j(i,2)+j(g,2)),m=[this.border/i*l,this.border/g*l];return m[2]=Math.sqrt(j(m[0],2)-j(this.border,2)),m[3]=Math.sqrt(j(m[1],2)-j(this.border,2)),b=l+m[2]+m[3]+(h?0:m[0]),c=b/l,d=[k(c*f),k(c*g)],e?d:d.reverse()},_calculateTip:function(a,b,c){c=c||1,b=b||this.size;var d=b[0]*c,e=b[1]*c,f=Math.ceil(d/2),g=Math.ceil(e/2),h={br:[0,0,d,e,d,0],bl:[0,0,d,0,0,e],tr:[0,e,d,0,d,e],tl:[0,0,0,e,d,e],tc:[0,e,f,0,d,e],bc:[0,0,d,0,f,e],rc:[0,0,d,g,0,e],lc:[d,0,d,e,0,g]};return h.lt=h.br,h.rt=h.bl,h.lb=h.tr,h.rb=h.tl,h[a.abbrev()]},_drawCoords:function(a,b){a.beginPath(),a.moveTo(b[0],b[1]),a.lineTo(b[2],b[3]),a.lineTo(b[4],b[5]),a.closePath()},create:function(){var a=this.corner=(sa||da.ie)&&this._parseCorner(this.options.corner);return this.enabled=!!this.corner&&"c"!==this.corner.abbrev(),this.enabled&&(this.qtip.cache.corner=a.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(b,c){if(!this.enabled)return this;var e,f,g,h,i,j,k,l,m=this.qtip.elements,n=this.element,o=n.children(),p=this.options,q=this.size,r=p.mimic,s=Math.round;b||(b=this.qtip.cache.corner||this.corner),r===E?r=b:(r=new A(r),r.precedance=b.precedance,"inherit"===r.x?r.x=b.x:"inherit"===r.y?r.y=b.y:r.x===r.y&&(r[b.precedance]=b[b.precedance])),f=r.precedance,b.precedance===G?this._swapDimensions():this._resetDimensions(),e=this.color=this._parseColours(b),e[1]!==qa?(l=this.border=this._parseWidth(b,b[b.precedance]),p.border&&l<1&&!ta.test(e[1])&&(e[0]=e[1]),this.border=l=p.border!==D?p.border:l):this.border=l=0,k=this.size=this._calculateSize(b),n.css({width:k[0],height:k[1],lineHeight:k[1]+"px"}),j=b.precedance===H?[s(r.x===L?l:r.x===N?k[0]-q[0]-l:(k[0]-q[0])/2),s(r.y===K?k[1]-q[1]:0)]:[s(r.x===L?k[0]-q[0]:0),s(r.y===K?l:r.y===M?k[1]-q[1]-l:(k[1]-q[1])/2)],sa?(g=o[0].getContext("2d"),g.restore(),g.save(),g.clearRect(0,0,6e3,6e3),h=this._calculateTip(r,q,ja),i=this._calculateTip(r,this.size,ja),o.attr(I,k[0]*ja).attr(J,k[1]*ja),o.css(I,k[0]).css(J,k[1]),this._drawCoords(g,i),g.fillStyle=e[1],g.fill(),g.translate(j[0]*ja,j[1]*ja),this._drawCoords(g,h),g.fillStyle=e[0],g.fill()):(h=this._calculateTip(r),h="m"+h[0]+","+h[1]+" l"+h[2]+","+h[3]+" "+h[4]+","+h[5]+" xe",j[2]=l&&/^(r|b)/i.test(b.string())?8===da.ie?2:1:0,o.css({coordsize:k[0]+l+" "+k[1]+l,antialias:""+(r.string().indexOf(O)>-1),left:j[0]-j[2]*Number(f===G),top:j[1]-j[2]*Number(f===H),width:k[0]+l,height:k[1]+l}).each(function(a){var b=d(this);b[b.prop?"prop":"attr"]({coordsize:k[0]+l+" "+k[1]+l,path:h,fillcolor:e[0],filled:!!a,stroked:!a}).toggle(!(!l&&!a)),!a&&b.html(ia("stroke",'weight="'+2*l+'px" color="'+e[1]+'" miterlimit="1000" joinstyle="miter"'))})),a.opera&&setTimeout(function(){m.tip.css({display:"inline-block",visibility:"visible"})},1),c!==E&&this.calculate(b,k)},calculate:function(a,b){if(!this.enabled)return E;
var c,e,f=this,g=this.qtip.elements,h=this.element,i=this.options.offset,j={};return a=a||this.corner,c=a.precedance,b=b||this._calculateSize(a),e=[a.x,a.y],c===G&&e.reverse(),d.each(e,function(d,e){var h,k,l;e===O?(h=c===H?L:K,j[h]="50%",j[ma+"-"+h]=-Math.round(b[c===H?0:1]/2)+i):(h=f._parseWidth(a,e,g.tooltip),k=f._parseWidth(a,e,g.content),l=f._parseRadius(a),j[e]=Math.max(-f.border,d?k:i+(l>h?l:-h)))}),j[a[c]]-=b[c===G?0:1],h.css({margin:"",top:"",bottom:"",left:"",right:""}).css(j),j},reposition:function(a,b,d){function e(a,b,c,d,e){a===Q&&j.precedance===b&&k[d]&&j[c]!==O?j.precedance=j.precedance===G?H:G:a!==Q&&k[d]&&(j[b]=j[b]===O?k[d]>0?d:e:j[b]===d?e:d)}function f(a,b,e){j[a]===O?p[ma+"-"+b]=o[a]=g[ma+"-"+b]-k[b]:(h=g[e]!==c?[k[b],-g[b]]:[-k[b],g[b]],(o[a]=Math.max(h[0],h[1]))>h[0]&&(d[b]-=k[b],o[b]=E),p[g[e]!==c?e:b]=o[a])}if(this.enabled){var g,h,i=b.cache,j=this.corner.clone(),k=d.adjusted,l=b.options.position.adjust.method.split(" "),m=l[0],n=l[1]||l[0],o={left:E,top:E,x:0,y:0},p={};this.corner.fixed!==D&&(e(m,G,H,L,N),e(n,H,G,K,M),j.string()===i.corner.string()&&i.cornerTop===k.top&&i.cornerLeft===k.left||this.update(j,E)),g=this.calculate(j),g.right!==c&&(g.left=-g.right),g.bottom!==c&&(g.top=-g.bottom),g.user=this.offset,o.left=m===Q&&!!k.left,o.left&&f(G,L,N),o.top=n===Q&&!!k.top,o.top&&f(H,K,M),this.element.css(p).toggle(!(o.x&&o.y||j.x===O&&o.y||j.y===O&&o.x)),d.left-=g.left.charAt?g.user:m!==Q||o.top||!o.left&&!o.top?g.left+this.border:0,d.top-=g.top.charAt?g.user:n!==Q||o.left||!o.left&&!o.top?g.top+this.border:0,i.cornerLeft=k.left,i.cornerTop=k.top,i.corner=j.clone()}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),ha=R.tip=function(a){return new v(a,a.options.style.tip)},ha.initialize="render",ha.sanitize=function(a){if(a.style&&"tip"in a.style){var b=a.style.tip;"object"!=typeof b&&(b=a.style.tip={corner:b}),/string|boolean/i.test(typeof b.corner)||(b.corner=D)}},B.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(a){this.size=[a.width,a.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},d.extend(D,y.defaults,{style:{tip:{corner:D,mimic:E,width:6,height:6,border:D,offset:0}}});var wa,xa,ya="qtip-modal",za="."+ya;xa=function(){function a(a){if(d.expr[":"].focusable)return d.expr[":"].focusable;var b,c,e,f=!isNaN(d.attr(a,"tabindex")),g=a.nodeName&&a.nodeName.toLowerCase();return"area"===g?(b=a.parentNode,c=b.name,!(!a.href||!c||"map"!==b.nodeName.toLowerCase())&&(e=d("img[usemap=#"+c+"]")[0],!!e&&e.is(":visible"))):/input|select|textarea|button|object/.test(g)?!a.disabled:"a"===g?a.href||f:f}function c(a){j.length<1&&a.length?a.not("body").trigger("blur"):j.first().trigger("focus")}function e(a){if(h.is(":visible")){var b,e=d(a.target),g=f.tooltip,i=e.closest(W);b=i.length<1?E:parseInt(i[0].style.zIndex,10)>parseInt(g[0].style.zIndex,10),b||e.closest(W)[0]===g[0]||c(e)}}var f,g,h,i=this,j={};d.extend(i,{init:function(){return h=i.elem=d("<div />",{id:"qtip-overlay",html:"<div></div>"}).on("mousedown",function(){return E}).hide(),d(b.body).on("focusin"+za,e),d(b).on("keydown"+za,function(a){f&&f.options.show.modal.escape&&27===a.which&&f.hide(a)}),h.on("click"+za,function(a){f&&f.options.show.modal.blur&&f.hide(a)}),i},update:function(b){f=b,j=b.options.show.modal.stealfocus!==E?b.tooltip.find("*").filter(function(){return a(this)}):[]},toggle:function(a,e,j){var k=a.tooltip,l=a.options.show.modal,m=l.effect,n=e?"show":"hide",o=h.is(":visible"),p=d(za).filter(":visible:not(:animated)").not(k);return i.update(a),e&&l.stealfocus!==E&&c(d(":focus")),h.toggleClass("blurs",l.blur),e&&h.appendTo(b.body),h.is(":animated")&&o===e&&g!==E||!e&&p.length?i:(h.stop(D,E),"function"==typeof m?m.call(h,e):m===E?h[n]():h.fadeTo(parseInt(j,10)||90,e?1:0,function(){e||h.hide()}),e||h.queue(function(a){h.css({left:"",top:""}),d(za).length||h.detach(),a()}),g=e,f.destroyed&&(f=F),i)}}),i.init()},xa=new xa,d.extend(w.prototype,{init:function(a){var b=a.tooltip;return this.options.on?(a.elements.overlay=xa.elem,b.addClass(ya).css("z-index",y.modal_zindex+d(za).length),a._bind(b,["tooltipshow","tooltiphide"],function(a,c,e){var f=a.originalEvent;if(a.target===b[0])if(f&&"tooltiphide"===a.type&&/mouse(leave|enter)/.test(f.type)&&d(f.relatedTarget).closest(xa.elem[0]).length)try{a.preventDefault()}catch(g){}else(!f||f&&"tooltipsolo"!==f.type)&&this.toggle(a,"tooltipshow"===a.type,e)},this._ns,this),a._bind(b,"tooltipfocus",function(a,c){if(!a.isDefaultPrevented()&&a.target===b[0]){var e=d(za),f=y.modal_zindex+e.length,g=parseInt(b[0].style.zIndex,10);xa.elem[0].style.zIndex=f-1,e.each(function(){this.style.zIndex>g&&(this.style.zIndex-=1)}),e.filter("."+$).qtip("blur",a.originalEvent),b.addClass($)[0].style.zIndex=f,xa.update(c);try{a.preventDefault()}catch(h){}}},this._ns,this),void a._bind(b,"tooltiphide",function(a){a.target===b[0]&&d(za).filter(":visible").not(b).last().qtip("focus",a)},this._ns,this)):this},toggle:function(a,b,c){return a&&a.isDefaultPrevented()?this:void xa.toggle(this.qtip,!!b,c)},destroy:function(){this.qtip.tooltip.removeClass(ya),this.qtip._unbind(this.qtip.tooltip,this._ns),xa.toggle(this.qtip,E),delete this.qtip.elements.overlay}}),wa=R.modal=function(a){return new w(a,a.options.show.modal)},wa.sanitize=function(a){a.show&&("object"!=typeof a.show.modal?a.show.modal={on:!!a.show.modal}:"undefined"==typeof a.show.modal.on&&(a.show.modal.on=D))},y.modal_zindex=y.zindex-200,wa.initialize="render",B.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},d.extend(D,y.defaults,{show:{modal:{on:E,effect:D,blur:D,stealfocus:D,escape:D}}}),R.viewport=function(c,d,e,f,g,h,i){function j(a,b,c,e,f,g,h,i,j){var k=d[f],s=u[a],t=v[a],w=c===Q,x=s===f?j:s===g?-j:-j/2,y=t===f?i:t===g?-i:-i/2,z=q[f]+r[f]-(n?0:m[f]),A=z-k,B=k+j-(h===I?o:p)-z,C=x-(u.precedance===a||s===u[b]?y:0)-(t===O?i/2:0);return w?(C=(s===f?1:-1)*x,d[f]+=A>0?A:B>0?-B:0,d[f]=Math.max(-m[f]+r[f],k-C,Math.min(Math.max(-m[f]+r[f]+(h===I?o:p),k+C),d[f],"center"===s?k-x:1e9))):(e*=c===P?2:0,A>0&&(s!==f||B>0)?(d[f]-=C+e,l.invert(a,f)):B>0&&(s!==g||A>0)&&(d[f]-=(s===O?-C:C)+e,l.invert(a,g)),d[f]<q[f]&&-d[f]>B&&(d[f]=k,l=u.clone())),d[f]-k}var k,l,m,n,o,p,q,r,s=e.target,t=c.elements.tooltip,u=e.my,v=e.at,w=e.adjust,x=w.method.split(" "),y=x[0],z=x[1]||x[0],A=e.viewport,B=e.container,C={left:0,top:0};return A.jquery&&s[0]!==a&&s[0]!==b.body&&"none"!==w.method?(m=B.offset()||C,n="static"===B.css("position"),k="fixed"===t.css("position"),o=A[0]===a?A.width():A.outerWidth(E),p=A[0]===a?A.height():A.outerHeight(E),q={left:k?0:A.scrollLeft(),top:k?0:A.scrollTop()},r=A[0]!==a?A.offset():C,"shift"===y&&"shift"===z||(l=u.clone()),C={left:"none"!==y?j(G,H,y,w.x,L,N,I,f,h):0,top:"none"!==z?j(H,G,z,w.y,K,M,J,g,i):0,my:l}):C},R.polys={polygon:function(a,b){var c,d,e,f={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:E},g=0,h=[],i=1,j=1,k=0,l=0;for(g=a.length;g--;)c=[parseInt(a[--g],10),parseInt(a[g+1],10)],c[0]>f.position.right&&(f.position.right=c[0]),c[0]<f.position.left&&(f.position.left=c[0]),c[1]>f.position.bottom&&(f.position.bottom=c[1]),c[1]<f.position.top&&(f.position.top=c[1]),h.push(c);if(d=f.width=Math.abs(f.position.right-f.position.left),e=f.height=Math.abs(f.position.bottom-f.position.top),"c"===b.abbrev())f.position={left:f.position.left+f.width/2,top:f.position.top+f.height/2};else{for(;d>0&&e>0&&i>0&&j>0;)for(d=Math.floor(d/2),e=Math.floor(e/2),b.x===L?i=d:b.x===N?i=f.width-d:i+=Math.floor(d/2),b.y===K?j=e:b.y===M?j=f.height-e:j+=Math.floor(e/2),g=h.length;g--&&!(h.length<2);)k=h[g][0]-f.position.left,l=h[g][1]-f.position.top,(b.x===L&&k>=i||b.x===N&&k<=i||b.x===O&&(k<i||k>f.width-i)||b.y===K&&l>=j||b.y===M&&l<=j||b.y===O&&(l<j||l>f.height-j))&&h.splice(g,1);f.position={left:h[0][0],top:h[0][1]}}return f},rect:function(a,b,c,d){return{width:Math.abs(c-a),height:Math.abs(d-b),position:{left:Math.min(a,c),top:Math.min(b,d)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:.25,bl:.75,rc:2,lc:1,c:0},ellipse:function(a,b,c,d,e){var f=R.polys._angles[e.abbrev()],g=0===f?0:c*Math.cos(f*Math.PI),h=d*Math.sin(f*Math.PI);return{width:2*c-Math.abs(g),height:2*d-Math.abs(h),position:{left:a+g,top:b+h},adjustable:E}},circle:function(a,b,c,d){return R.polys.ellipse(a,b,c,c,d)}},R.svg=function(a,c,e){for(var f,g,h,i,j,k,l,m,n,o=c[0],p=d(o.ownerSVGElement),q=o.ownerDocument,r=(parseInt(c.css("stroke-width"),10)||0)/2;!o.getBBox;)o=o.parentNode;if(!o.getBBox||!o.parentNode)return E;switch(o.nodeName){case"ellipse":case"circle":m=R.polys.ellipse(o.cx.baseVal.value,o.cy.baseVal.value,(o.rx||o.r).baseVal.value+r,(o.ry||o.r).baseVal.value+r,e);break;case"line":case"polygon":case"polyline":for(l=o.points||[{x:o.x1.baseVal.value,y:o.y1.baseVal.value},{x:o.x2.baseVal.value,y:o.y2.baseVal.value}],m=[],k=-1,i=l.numberOfItems||l.length;++k<i;)j=l.getItem?l.getItem(k):l[k],m.push.apply(m,[j.x,j.y]);m=R.polys.polygon(m,e);break;default:m=o.getBBox(),m={width:m.width,height:m.height,position:{left:m.x,top:m.y}}}return n=m.position,p=p[0],p.createSVGPoint&&(g=o.getScreenCTM(),l=p.createSVGPoint(),l.x=n.left,l.y=n.top,h=l.matrixTransform(g),n.left=h.x,n.top=h.y),q!==b&&"mouse"!==a.position.target&&(f=d((q.defaultView||q.parentWindow).frameElement).offset(),f&&(n.left+=f.left,n.top+=f.top)),q=d(q),n.left+=q.scrollLeft(),n.top+=q.scrollTop(),m},R.imagemap=function(a,b,c){b.jquery||(b=d(b));var e,f,g,h,i,j=(b.attr("shape")||"rect").toLowerCase().replace("poly","polygon"),k=d('img[usemap="#'+b.parent("map").attr("name")+'"]'),l=(b.attr("coords")||"").trim(),m=l.replace(/,$/,"").split(",");if(!k.length)return E;if("polygon"===j)h=R.polys.polygon(m,c);else{if(!R.polys[j])return E;for(g=-1,i=m.length,f=[];++g<i;)f.push(parseInt(m[g],10));h=R.polys[j].apply(this,f.concat(c))}return e=k.offset(),e.left+=Math.ceil((k.outerWidth(E)-k.width())/2),e.top+=Math.ceil((k.outerHeight(E)-k.height())/2),h.position.left+=e.left,h.position.top+=e.top,h};var Aa,Ba='<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';"  style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>';d.extend(x.prototype,{_scroll:function(){var b=this.qtip.elements.overlay;b&&(b[0].style.top=d(a).scrollTop()+"px")},init:function(c){var e=c.tooltip;d("select, object").length<1&&(this.bgiframe=c.elements.bgiframe=d(Ba).appendTo(e),c._bind(e,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=d("<div/>",{id:S+"-rcontainer"}).appendTo(b.body),c.elements.overlay&&c.elements.overlay.addClass("qtipmodal-ie6fix")&&(c._bind(a,["scroll","resize"],this._scroll,this._ns,this),c._bind(e,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var a,b,c=this.qtip.tooltip,d={height:c.outerHeight(E),width:c.outerWidth(E)},e=this.qtip.plugins.tip,f=this.qtip.elements.tip;b=parseInt(c.css("borderLeftWidth"),10)||0,b={left:-b,top:-b},e&&f&&(a="x"===e.corner.precedance?[I,L]:[J,K],b[a[1]]-=f[a[0]]()),this.bgiframe.css(b).css(d)},redraw:function(){if(this.qtip.rendered<1||this.drawing)return this;var a,b,c,d,e=this.qtip.tooltip,f=this.qtip.options.style,g=this.qtip.options.position.container;return this.qtip.drawing=1,f.height&&e.css(J,f.height),f.width?e.css(I,f.width):(e.css(I,"").appendTo(this.redrawContainer),b=e.width(),b%2<1&&(b+=1),c=e.css("maxWidth")||"",d=e.css("minWidth")||"",a=(c+d).indexOf("%")>-1?g.width()/100:0,c=(c.indexOf("%")>-1?a:1*parseInt(c,10))||b,d=(d.indexOf("%")>-1?a:1*parseInt(d,10))||0,b=c+d?Math.min(Math.max(b,d),c):b,e.css(I,Math.round(b)).appendTo(g)),this.drawing=0,this},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([a,this.qtip.tooltip],this._ns)}}),Aa=R.ie6=function(a){return 6===da.ie?new x(a):E},Aa.initialize="render",B.ie6={"^content|style$":function(){this.redraw()}}})}(window,document);
(function(e){e.InFieldLabels=function(n,i,t){var a=this;a.$label=e(n),a.label=n,a.$field=e(i),a.field=i,a.$label.data("InFieldLabels",a),a.showing=!0,a.init=function(){var n;a.options=e.extend({},e.InFieldLabels.defaultOptions,t),a.options.className&&a.$label.addClass(a.options.className),setTimeout(function(){""!==a.$field.val()?(a.$label.hide(),a.showing=!1):(a.$label.show(),a.showing=!0)},200),a.$field.focus(function(){a.fadeOnFocus()}).blur(function(){a.checkForEmpty(!0)}).bind("keydown.infieldlabel",function(e){a.hideOnChange(e)}).bind("paste",function(){a.setOpacity(0)}).change(function(){a.checkForEmpty()}).bind("onPropertyChange",function(){a.checkForEmpty()}).bind("keyup.infieldlabel",function(){a.checkForEmpty()}),a.options.pollDuration>0&&(n=setInterval(function(){""!==a.$field.val()&&(a.$label.hide(),a.showing=!1,clearInterval(n))},a.options.pollDuration))},a.fadeOnFocus=function(){a.showing&&a.setOpacity(a.options.fadeOpacity)},a.setOpacity=function(e){a.$label.stop().animate({opacity:e},a.options.fadeDuration,function(){0===e&&a.$label.hide()}),a.showing=e>0},a.checkForEmpty=function(e){""===a.$field.val()?(a.prepForShow(),a.setOpacity(e?1:a.options.fadeOpacity)):a.setOpacity(0)},a.prepForShow=function(){a.showing||(a.$label.css({opacity:0}).show(),a.$field.bind("keydown.infieldlabel",function(e){a.hideOnChange(e)}))},a.hideOnChange=function(e){16!==e.keyCode&&9!==e.keyCode&&(a.showing&&(a.$label.hide(),a.showing=!1),a.$field.unbind("keydown.infieldlabel"))},a.init()},e.InFieldLabels.defaultOptions={fadeOpacity:.5,fadeDuration:300,pollDuration:0,enabledInputTypes:["text","search","tel","url","email","password","number","textarea"],className:!1},e.fn.inFieldLabels=function(n){var i=n&&n.enabledInputTypes||e.InFieldLabels.defaultOptions.enabledInputTypes;return this.each(function(){var t,a,o=e(this).attr("for");o&&(t=document.getElementById(o),t&&(a=e.inArray(t.type,i),(-1!==a||"TEXTAREA"===t.nodeName)&&new e.InFieldLabels(this,t,n)))})}})(jQuery);
!function(e,define){define("kendo.core.min",["jquery"],e)}(function(){return function(e,t,n){function r(){}function o(e,t){if(t)return"'"+e.split("'").join("\\'").split('\\"').join('\\\\\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")+"'";var n=e.charAt(0),r=e.substring(1);return"="===n?"+("+r+")+":":"===n?"+$kendoHtmlEncode("+r+")+":";"+e+";$kendoOutput+="}function i(e,t,n){return e+="",t=t||2,n=t-e.length,n?B[t].substring(0,n)+e:e}function a(e){var t=e.css(be.support.transitions.css+"box-shadow")||e.css("box-shadow"),n=t?t.match(Ae)||[0,0,0,0,0]:[0,0,0,0,0],r=Te.max(+n[3],+(n[4]||0));return{left:-n[1]+r,right:+n[1]+r,bottom:+n[2]+r}}function s(n,r){var o,i,a,s,l,c,d=ze.browser,f=be._outerWidth,p=be._outerHeight,m=n.parent(),h=f(t);return m.removeClass("k-animation-container-sm"),m.hasClass("k-animation-container")?u(n,r):(i=n[0].style.width,a=n[0].style.height,s=De.test(i),l=De.test(a),c=n.hasClass("k-tooltip")||n.is(".k-menu-horizontal.k-context-menu"),o=s||l,!s&&(!r||r&&i||c)&&(i=r?f(n)+1:f(n)),(!l&&(!r||r&&a)||n.is(".k-menu-horizontal.k-context-menu"))&&(a=p(n)),n.wrap(e("<div/>").addClass("k-animation-container").css({width:i,height:a})),m=n.parent(),o&&n.css({width:"100%",height:"100%",boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"})),h<f(m)&&(m.addClass("k-animation-container-sm"),u(n,r)),d.msie&&Te.floor(d.version)<=7&&(n.css({zoom:1}),n.children(".k-menu").width(n.width())),m}function u(e,t){var n,r=be._outerWidth,o=be._outerHeight,i=e.parent(".k-animation-container"),a=i[0].style;i.is(":hidden")&&i.css({display:"",position:""}),n=De.test(a.width)||De.test(a.height),n||i.css({width:t?r(e)+1:r(e),height:o(e),boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"})}function l(e){var t=1,n=arguments.length;for(t=1;t<n;t++)c(e,arguments[t]);return e}function c(e,n){var r,o,i,a,s,u=be.data.ObservableArray,l=be.data.LazyObservableArray,d=be.data.DataSource,f=be.data.HierarchicalDataSource;for(r in n)o=n[r],i=typeof o,a=i===Ne&&null!==o?o.constructor:null,!a||a===Array||a===u||a===l||a===d||a===f||a===RegExp||be.isFunction(t.ArrayBuffer)&&a===ArrayBuffer?i!==je&&(e[r]=o):o instanceof Date?e[r]=new Date(o.getTime()):F(o.clone)?e[r]=o.clone():(s=e[r],e[r]=typeof s===Ne?s||{}:{},c(e[r],o));return e}function d(e,t,r){for(var o in t)if(t.hasOwnProperty(o)&&t[o].test(e))return o;return r!==n?r:e}function f(e){return e.replace(/([a-z][A-Z])/g,function(e){return e.charAt(0)+"-"+e.charAt(1).toLowerCase()})}function p(e){return e.replace(/\-(\w)/g,function(e,t){return t.toUpperCase()})}function m(t,n){var r,o={};return document.defaultView&&document.defaultView.getComputedStyle?(r=document.defaultView.getComputedStyle(t,""),n&&e.each(n,function(e,t){o[t]=r.getPropertyValue(t)})):(r=t.currentStyle,n&&e.each(n,function(e,t){o[t]=r[p(t)]})),be.size(o)||(o=r),o}function h(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=m(e,["overflow"]).overflow;return"auto"==t||"scroll"==t}function g(t,r){var o,i=ze.browser.webkit,a=ze.browser.mozilla,s=t instanceof e?t[0]:t;if(t)return o=ze.isRtl(t),r===n?o&&i?s.scrollWidth-s.clientWidth-s.scrollLeft:Math.abs(s.scrollLeft):(s.scrollLeft=o&&i?s.scrollWidth-s.clientWidth-r:o&&a?-r:r,n)}function y(e){var t,n=0;for(t in e)e.hasOwnProperty(t)&&"toJSON"!=t&&n++;return n}function v(e,n,r){var o,i,a;return n||(n="offset"),o=e[n](),i={top:o.top,right:o.right,bottom:o.bottom,left:o.left},ze.browser.msie&&(ze.pointers||ze.msPointers)&&!r&&(a=ze.isRtl(e)?1:-1,i.top-=t.pageYOffset-document.documentElement.scrollTop,i.left-=t.pageXOffset+a*document.documentElement.scrollLeft),i}function b(e){var t={};return Me("string"==typeof e?e.split(" "):e,function(e){t[e]=this}),t}function w(e){return new be.effects.Element(e)}function M(e,t,n,r){return typeof e===He&&(F(t)&&(r=t,t=400,n=!1),F(n)&&(r=n,n=!1),typeof t===Re&&(n=t,t=400),e={effects:e,duration:t,reverse:n,complete:r}),we({effects:{},duration:400,reverse:!1,init:ke,teardown:ke,hide:!1},e,{completeCallback:e.complete,complete:ke})}function x(t,n,r,o,i){for(var a,s=0,u=t.length;s<u;s++)a=e(t[s]),a.queue(function(){q.promise(a,M(n,r,o,i))});return t}function S(e,t,n,r){return t&&(t=t.split(" "),Me(t,function(t,n){e.toggleClass(n,r)})),e}function k(e){return(""+e).replace(J,"&amp;").replace(V,"&lt;").replace(Q,"&gt;").replace(G,"&quot;").replace(K,"&#39;")}function T(e){var n;try{n=t.decodeURIComponent(e)}catch(r){n=e.replace(/%u([\dA-F]{4})|%([\dA-F]{2})/gi,function(e,t,n){return String.fromCharCode(parseInt("0x"+(t||n),16))})}return n}function O(e,t){var r;return 0===t.indexOf("data")&&(t=t.substring(4),t=t.charAt(0).toLowerCase()+t.substring(1)),t=t.replace(ae,"-$1"),r=e.getAttribute("data-"+be.ns+t),null===r?r=n:"null"===r?r=null:"true"===r?r=!0:"false"===r?r=!1:Ee.test(r)&&"mask"!=t?r=parseFloat(r):oe.test(r)&&!ie.test(r)&&(r=Function("return ("+r+")")()),r}function z(t,r,o){var i,a,s={},u=t.getAttribute("data-"+be.ns+"role");for(i in r)a=O(t,i),a!==n&&(re.test(i)&&"drawer"!=u&&("string"==typeof a?e("#"+a).length?a=be.template(e("#"+a).html()):o&&(a=be.template(o[a])):a=t.getAttribute(i)),s[i]=a);return s}function D(t,n){return e.contains(t,n)?-1:1}function C(){var t=e(this);return e.inArray(t.attr("data-"+be.ns+"role"),["slider","rangeslider","breadcrumb"])>-1||t.is(":visible")}function A(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||t:t)&&E(e)}function E(t){return e.expr.pseudos.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}function _(e,t){return new _.fn.init(e,t)}var H,F,N,P,R,j,U,I,W,$,L,B,Y,q,J,V,G,K,Q,Z,X,ee,te,ne,re,oe,ie,ae,se,ue,le,ce,de,fe,pe,me,he,ge,ye,ve,be=t.kendo=t.kendo||{cultures:{}},we=e.extend,Me=e.each,xe=e.isArray,Se=e.proxy,ke=e.noop,Te=Math,Oe=t.JSON||{},ze={},De=/%/,Ce=/\{(\d+)(:[^\}]+)?\}/g,Ae=/(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+(?:\.?)\d*)px\s*(\d+)?/i,Ee=/^(\+|-?)\d+(\.?)\d*$/,_e="function",He="string",Fe="number",Ne="object",Pe="null",Re="boolean",je="undefined",Ue={},Ie={},We=[].slice,$e=function(){var e,t,r,o,i,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[u]||{},u++),"object"==typeof s||jQuery.isFunction(s)||(s={}),u===l&&(s=this,u--);u<l;u++)if(null!=(i=arguments[u]))for(o in i)"filters"!=o&&"concat"!=o&&":"!=o&&(e=s[o],r=i[o],s!==r&&(c&&r&&(jQuery.isPlainObject(r)||(t=jQuery.isArray(r)))?(t?(t=!1,a=e&&jQuery.isArray(e)?e:[]):a=e&&jQuery.isPlainObject(e)?e:{},s[o]=$e(c,a,r)):r!==n&&(s[o]=r)));return s};be.version="2020.2.7109".replace(/^\s+|\s+$/g,""),r.extend=function(e){var t,n,r=function(){},o=this,i=e&&e.init?e.init:function(){o.apply(this,arguments)};r.prototype=o.prototype,n=i.fn=i.prototype=new r;for(t in e)n[t]=null!=e[t]&&e[t].constructor===Object?we(!0,{},r.prototype[t],e[t]):e[t];return n.constructor=i,i.extend=o.extend,i},r.prototype._initOptions=function(e){this.options=l({},this.options,e)},F=be.isFunction=function(e){return"function"==typeof e},N=function(){this._defaultPrevented=!0},P=function(){return this._defaultPrevented===!0},R=r.extend({init:function(){this._events={}},bind:function(e,t,r){var o,i,a,s,u,l=this,c=typeof e===He?[e]:e,d=typeof t===_e;if(t===n){for(o in e)l.bind(o,e[o]);return l}for(o=0,i=c.length;o<i;o++)e=c[o],s=d?t:t[e],s&&(r&&(a=s,s=function(){l.unbind(e,s),a.apply(l,arguments)},s.original=a),u=l._events[e]=l._events[e]||[],u.push(s));return l},one:function(e,t){return this.bind(e,t,!0)},first:function(e,t){var n,r,o,i,a=this,s=typeof e===He?[e]:e,u=typeof t===_e;for(n=0,r=s.length;n<r;n++)e=s[n],o=u?t:t[e],o&&(i=a._events[e]=a._events[e]||[],i.unshift(o));return a},trigger:function(e,t){var n,r,o=this,i=o._events[e];if(i){for(t=t||{},t.sender=o,t._defaultPrevented=!1,t.preventDefault=N,t.isDefaultPrevented=P,i=i.slice(),n=0,r=i.length;n<r;n++)i[n].call(o,t);return t._defaultPrevented===!0}return!1},unbind:function(e,t){var r,o=this,i=o._events[e];if(e===n)o._events={};else if(i)if(t)for(r=i.length-1;r>=0;r--)i[r]!==t&&i[r].original!==t||i.splice(r,1);else o._events[e]=[];return o}}),j=/^\w+/,U=/\$\{([^}]*)\}/g,I=/\\\}/g,W=/__CURLY__/g,$=/\\#/g,L=/__SHARP__/g,B=["","0","00","000","0000"],H={paramName:"data",useWithBlock:!0,render:function(e,t){var n,r,o="";for(n=0,r=t.length;n<r;n++)o+=e(t[n]);return o},compile:function(e,t){var n,r,i,a=we({},this,t),s=a.paramName,u=s.match(j)[0],l=a.useWithBlock,c="var $kendoOutput, $kendoHtmlEncode=kendo.htmlEncode;";if(F(e))return e;for(c+=l?"with("+s+"){":"",c+="$kendoOutput=",r=e.replace(I,"__CURLY__").replace(U,"#=$kendoHtmlEncode($1)#").replace(W,"}").replace($,"__SHARP__").split("#"),i=0;i<r.length;i++)c+=o(r[i],i%2===0);c+=l?";}":";",c+="return $kendoOutput;",c=c.replace(L,"#");try{return n=Function(u,c),n._slotCount=Math.floor(r.length/2),n}catch(d){throw Error(be.format("Invalid template:'{0}' Generated code:'{1}'",e,c))}}},function(){function e(e){return a.lastIndex=0,a.test(e)?'"'+e.replace(a,function(e){var t=s[e];return typeof t===He?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function t(i,a){var s,l,c,d,f,p,m=n,h=a[i];if(h&&typeof h===Ne&&typeof h.toJSON===_e&&(h=h.toJSON(i)),typeof o===_e&&(h=o.call(a,i,h)),p=typeof h,p===He)return e(h);if(p===Fe)return isFinite(h)?h+"":Pe;if(p===Re||p===Pe)return h+"";if(p===Ne){if(!h)return Pe;if(n+=r,f=[],"[object Array]"===u.apply(h)){for(d=h.length,s=0;s<d;s++)f[s]=t(s,h)||Pe;return c=0===f.length?"[]":n?"[\n"+n+f.join(",\n"+n)+"\n"+m+"]":"["+f.join(",")+"]",n=m,c}if(o&&typeof o===Ne)for(d=o.length,s=0;s<d;s++)typeof o[s]===He&&(l=o[s],c=t(l,h),c&&f.push(e(l)+(n?": ":":")+c));else for(l in h)Object.hasOwnProperty.call(h,l)&&(c=t(l,h),c&&f.push(e(l)+(n?": ":":")+c));return c=0===f.length?"{}":n?"{\n"+n+f.join(",\n"+n)+"\n"+m+"}":"{"+f.join(",")+"}",n=m,c}}var n,r,o,a=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,s={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},u={}.toString;typeof Date.prototype.toJSON!==_e&&(Date.prototype.toJSON=function(){var e=this;return isFinite(e.valueOf())?i(e.getUTCFullYear(),4)+"-"+i(e.getUTCMonth()+1)+"-"+i(e.getUTCDate())+"T"+i(e.getUTCHours())+":"+i(e.getUTCMinutes())+":"+i(e.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),typeof Oe.stringify!==_e&&(Oe.stringify=function(e,i,a){var s;if(n="",r="",typeof a===Fe)for(s=0;s<a;s+=1)r+=" ";else typeof a===He&&(r=a);if(o=i,i&&typeof i!==_e&&(typeof i!==Ne||typeof i.length!==Fe))throw Error("JSON.stringify");return t("",{"":e})})}(),function(){function t(e){if(e){if(e.numberFormat)return e;if(typeof e===He){var t=be.cultures;return t[e]||t[e.split("-")[0]]||null}return null}return null}function r(e){return e&&(e=t(e)),e||be.cultures.current}function o(e,t,o){o=r(o);var a=o.calendars.standard,s=a.days,u=a.months;return t=a.patterns[t]||t,t.replace(c,function(t){var r,o,l;return"d"===t?o=e.getDate():"dd"===t?o=i(e.getDate()):"ddd"===t?o=s.namesAbbr[e.getDay()]:"dddd"===t?o=s.names[e.getDay()]:"M"===t?o=e.getMonth()+1:"MM"===t?o=i(e.getMonth()+1):"MMM"===t?o=u.namesAbbr[e.getMonth()]:"MMMM"===t?o=u.names[e.getMonth()]:"yy"===t?o=i(e.getFullYear()%100):"yyyy"===t?o=i(e.getFullYear(),4):"h"===t?o=e.getHours()%12||12:"hh"===t?o=i(e.getHours()%12||12):"H"===t?o=e.getHours():"HH"===t?o=i(e.getHours()):"m"===t?o=e.getMinutes():"mm"===t?o=i(e.getMinutes()):"s"===t?o=e.getSeconds():"ss"===t?o=i(e.getSeconds()):"f"===t?o=Te.floor(e.getMilliseconds()/100):"ff"===t?(o=e.getMilliseconds(),o>99&&(o=Te.floor(o/10)),o=i(o)):"fff"===t?o=i(e.getMilliseconds(),3):"tt"===t?o=e.getHours()<12?a.AM[0]:a.PM[0]:"zzz"===t?(r=e.getTimezoneOffset(),l=r<0,o=(""+Te.abs(r/60)).split(".")[0],r=Te.abs(r)-60*o,o=(l?"+":"-")+i(o),o+=":"+i(r)):"zz"!==t&&"z"!==t||(o=e.getTimezoneOffset()/60,l=o<0,o=(""+Te.abs(o)).split(".")[0],o=(l?"+":"-")+("zz"===t?i(o):o)),o!==n?o:t.slice(1,t.length-1)})}function a(e,t,o){var i,a,l,c,w,M,x,S,k,T,O,z,D,C,A,E,_,H,F,N,P,R,j,U,I,W,$,L,B,Y,q,J,V,G;if(o=r(o),i=o.numberFormat,a=i[h],l=i.decimals,c=i.pattern[0],w=[],O=e<0,E=m,_=m,q=-1,e===n)return m;if(!isFinite(e))return e;if(!t)return o.name.length?e.toLocaleString():""+e;if(T=d.exec(t)){if(t=T[1].toLowerCase(),x="c"===t,S="p"===t,(x||S)&&(i=x?i.currency:i.percent,a=i[h],l=i.decimals,M=i.symbol,c=i.pattern[O?0:1]),k=T[2],k&&(l=+k),"e"===t)return V=k?e.toExponential(l):e.toExponential(),V.replace(h,i[h]);if(S&&(e*=100),e=u(e,l),O=e<0,e=e.split(h),z=e[0],D=e[1],O&&(z=z.substring(1)),_=s(z,0,z.length,i),D&&(_+=a+D),"n"===t&&!O)return _;for(e=m,H=0,F=c.length;H<F;H++)N=c.charAt(H),e+="n"===N?_:"$"===N||"%"===N?M:N;return e}if((t.indexOf("'")>-1||t.indexOf('"')>-1||t.indexOf("\\")>-1)&&(t=t.replace(f,function(e){var t=e.charAt(0).replace("\\",""),n=e.slice(1).replace(t,"");return w.push(n),b})),t=t.split(";"),O&&t[1])t=t[1],R=!0;else if(0===e&&t[2]){if(t=t[2],t.indexOf(y)==-1&&t.indexOf(v)==-1)return t}else t=t[0];if(L=t.indexOf("%"),B=t.indexOf("$"),S=L!=-1,x=B!=-1,S&&(e*=100),x&&"\\"===t[B-1]&&(t=t.split("\\").join(""),x=!1),(x||S)&&(i=x?i.currency:i.percent,a=i[h],l=i.decimals,M=i.symbol),P=t.indexOf(g)>-1,P&&(t=t.replace(p,m)),j=t.indexOf(h),F=t.length,j!=-1)if(D=(""+e).split("e"),D=D[1]?u(e,Math.abs(D[1])):D[0],D=D.split(h)[1]||m,I=t.lastIndexOf(v)-j,U=t.lastIndexOf(y)-j,W=I>-1,$=U>-1,H=D.length,W||$||(t=t.substring(0,j)+t.substring(j+1),F=t.length,j=-1,H=0),W&&I>U)H=I;else if(U>I)if($&&H>U){for(G=u(e,U,O);G.charAt(G.length-1)===v&&U>0&&U>I;)U--,G=u(e,U,O);H=U}else W&&H<I&&(H=I);if(e=u(e,H,O),U=t.indexOf(y),Y=I=t.indexOf(v),q=U==-1&&I!=-1?I:U!=-1&&I==-1?U:U>I?I:U,U=t.lastIndexOf(y),I=t.lastIndexOf(v),J=U==-1&&I!=-1?I:U!=-1&&I==-1?U:U>I?U:I,q==F&&(J=q),q!=-1){for(_=(""+e).split(h),z=_[0],D=_[1]||m,C=z.length,A=D.length,O&&e*-1>=0&&(O=!1),e=t.substring(0,q),O&&!R&&(e+="-"),H=q;H<F;H++){if(N=t.charAt(H),j==-1){if(J-H<C){e+=z;break}}else if(I!=-1&&I<H&&(E=m),j-H<=C&&j-H>-1&&(e+=z,H=j),j===H){e+=(D?a:m)+D,H+=J-j+1;continue}N===v?(e+=N,E=N):N===y&&(e+=E)}if(P&&(e=s(e,q+(O&&!R?1:0),Math.max(J,C+q),i)),J>=q&&(e+=t.substring(J+1)),x||S){for(_=m,H=0,F=e.length;H<F;H++)N=e.charAt(H),_+="$"===N||"%"===N?M:N;e=_}if(F=w.length)for(H=0;H<F;H++)e=e.replace(b,w[H])}return e}var s,u,l,c=/dddd|ddd|dd|d|MMMM|MMM|MM|M|yyyy|yy|HH|H|hh|h|mm|m|fff|ff|f|tt|ss|s|zzz|zz|z|"[^"]*"|'[^']*'/g,d=/^(n|c|p|e)(\d*)$/i,f=/(\\.)|(['][^']*[']?)|(["][^"]*["]?)/g,p=/\,/g,m="",h=".",g=",",y="#",v="0",b="??",w="en-US",M={}.toString;be.cultures["en-US"]={name:w,numberFormat:{pattern:["-n"],decimals:2,",":",",".":".",groupSize:[3],percent:{pattern:["-n %","n %"],decimals:2,",":",",".":".",groupSize:[3],symbol:"%"},currency:{name:"US Dollar",abbr:"USD",pattern:["($n)","$n"],decimals:2,",":",",".":".",groupSize:[3],symbol:"$"}},calendars:{standard:{days:{names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],namesAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],namesShort:["Su","Mo","Tu","We","Th","Fr","Sa"]},months:{names:["January","February","March","April","May","June","July","August","September","October","November","December"],namesAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},AM:["AM","am","AM"],PM:["PM","pm","PM"],patterns:{d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",F:"dddd, MMMM dd, yyyy h:mm:ss tt",g:"M/d/yyyy h:mm tt",G:"M/d/yyyy h:mm:ss tt",m:"MMMM dd",M:"MMMM dd",s:"yyyy'-'MM'-'ddTHH':'mm':'ss",t:"h:mm tt",T:"h:mm:ss tt",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",y:"MMMM, yyyy",Y:"MMMM, yyyy"},"/":"/",":":":",firstDay:0,twoDigitYearMax:2029}}},be.culture=function(e){var r,o=be.cultures;return e===n?o.current:(r=t(e)||o[w],r.calendar=r.calendars.standard,o.current=r,n)},be.findCulture=t,be.getCulture=r,be.culture(w),s=function(e,t,r,o){var i,a,s,u,l,c,d=e.indexOf(o[h]),f=o.groupSize.slice(),p=f.shift();if(r=d!==-1?d:r+1,i=e.substring(t,r),a=i.length,a>=p){for(s=a,u=[];s>-1;)if(l=i.substring(s-p,s),l&&u.push(l),s-=p,c=f.shift(),p=c!==n?c:p,0===p){s>0&&u.push(i.substring(0,s));break}i=u.reverse().join(o[g]),e=e.substring(0,t)+i+e.substring(r)}return e},u=function(e,t,n){return t=t||0,e=(""+e).split("e"),e=Math.round(+(e[0]+"e"+(e[1]?+e[1]+t:t))),n&&(e=-e),e=(""+e).split("e"),e=+(e[0]+"e"+(e[1]?+e[1]-t:-t)),e.toFixed(Math.min(t,20))},l=function(e,t,r){if(t){if("[object Date]"===M.call(e))return o(e,t,r);if(typeof e===Fe)return a(e,t,r)}return e!==n?e:""},be.format=function(e){var t=arguments;return e.replace(Ce,function(e,n,r){var o=t[parseInt(n,10)+1];return l(o,r?r.substring(1):"")})},be._extractFormat=function(e){return"{0:"===e.slice(0,3)&&(e=e.slice(3,e.length-1)),e},be._activeElement=function(){try{return document.activeElement}catch(e){return document.documentElement.activeElement}},be._round=u,be._outerWidth=function(t,n){return e(t).outerWidth(n||!1)||0},be._outerHeight=function(t,n){return e(t).outerHeight(n||!1)||0},be.toString=l}(),function(){function t(e,t,n){return!(e>=t&&e<=n)}function r(e){return e.charAt(0)}function o(t){return e.map(t,r)}function i(e,t){t||23!==e.getHours()||e.setHours(e.getHours()+2)}function a(e){for(var t=0,n=e.length,r=[];t<n;t++)r[t]=(e[t]+"").toLowerCase();return r}function s(e){var t,n={};for(t in e)n[t]=a(e[t]);return n}function u(e,r,a,u){if(!e)return null;var l,c,d,f,p,g,y,v,b,M,x,S,k,T=function(e){for(var t=0;r[R]===e;)t++,R++;return t>0&&(R-=1),t},O=function(t){var n=w[t]||RegExp("^\\d{1,"+t+"}"),r=e.substr(j,t).match(n);return r?(r=r[0],j+=r.length,parseInt(r,10)):null},z=function(t,n){for(var r,o,i,a=0,s=t.length,u=0,l=0;a<s;a++)r=t[a],o=r.length,i=e.substr(j,o),n&&(i=i.toLowerCase()),i==r&&o>u&&(u=o,l=a);return u?(j+=u,l+1):null},D=function(){var t=!1;return e.charAt(j)===r[R]&&(j++,t=!0),t},C=a.calendars.standard,A=null,E=null,_=null,H=null,F=null,N=null,P=null,R=0,j=0,U=!1,I=new Date,W=C.twoDigitYearMax||2029,$=I.getFullYear();for(r||(r="d"),f=C.patterns[r],f&&(r=f),r=r.split(""),d=r.length;R<d;R++)if(l=r[R],U)"'"===l?U=!1:D();else if("d"===l){if(c=T("d"),C._lowerDays||(C._lowerDays=s(C.days)),null!==_&&c>2)continue;if(_=c<3?O(2):z(C._lowerDays[3==c?"namesAbbr":"names"],!0),null===_||t(_,1,31))return null}else if("M"===l){if(c=T("M"),C._lowerMonths||(C._lowerMonths=s(C.months)),E=c<3?O(2):z(C._lowerMonths[3==c?"namesAbbr":"names"],!0),null===E||t(E,1,12))return null;E-=1}else if("y"===l){if(c=T("y"),A=O(c),null===A)return null;2==c&&("string"==typeof W&&(W=$+parseInt(W,10)),A=$-$%100+A,A>W&&(A-=100))}else if("h"===l){if(T("h"),H=O(2),12==H&&(H=0),null===H||t(H,0,11))return null}else if("H"===l){if(T("H"),H=O(2),null===H||t(H,0,23))return null}else if("m"===l){if(T("m"),F=O(2),null===F||t(F,0,59))return null}else if("s"===l){if(T("s"),N=O(2),null===N||t(N,0,59))return null}else if("f"===l){if(c=T("f"),k=e.substr(j,c).match(w[3]),P=O(c),null!==P&&(P=parseFloat("0."+k[0],10),P=be._round(P,3),P*=1e3),null===P||t(P,0,999))return null}else if("t"===l){if(c=T("t"),v=C.AM,b=C.PM,1===c&&(v=o(v),b=o(b)),p=z(b),!p&&!z(v))return null}else if("z"===l){if(g=!0,c=T("z"),"Z"===e.substr(j,1)){D();continue}if(y=e.substr(j,6).match(c>2?h:m),!y)return null;if(y=y[0].split(":"),M=y[0],x=y[1],!x&&M.length>3&&(j=M.length-2,x=M.substring(j),M=M.substring(0,j)),M=parseInt(M,10),t(M,-12,13))return null;if(c>2&&(x=y[0][0]+x,x=parseInt(x,10),isNaN(x)||t(x,-59,59)))return null}else if("'"===l)U=!0,D();else if(!D())return null;return u&&!/^\s*$/.test(e.substr(j))?null:(S=null!==H||null!==F||N||null,null===A&&null===E&&null===_&&S?(A=$,E=I.getMonth(),_=I.getDate()):(null===A&&(A=$),null===_&&(_=1)),p&&H<12&&(H+=12),g?(M&&(H+=-M),x&&(F+=-x),e=new Date(Date.UTC(A,E,_,H,F,N,P))):(e=new Date(A,E,_,H,F,N,P),i(e,H)),A<100&&e.setFullYear(A),e.getDate()!==_&&g===n?null:e)}function l(e){var t="-"===e.substr(0,1)?-1:1;return e=e.substring(1),e=60*parseInt(e.substr(0,2),10)+parseInt(e.substring(2),10),t*e}function c(e){var t,n,r,o=Te.max(v.length,b.length),i=e.calendar||e.calendars.standard,a=i.patterns,s=[];for(r=0;r<o;r++){for(t=v[r],n=0;n<t.length;n++)s.push(a[t[n]]);s=s.concat(b[r])}return s}function d(e,t,n,r){var o,i,a,s;if("[object Date]"===M.call(e))return e;if(o=0,i=null,e&&0===e.indexOf("/D")&&(i=g.exec(e)))return i=i[1],s=y.exec(i.substring(1)),i=new Date(parseInt(i,10)),s&&(s=l(s[0]),i=be.timezone.apply(i,0),i=be.timezone.convert(i,0,-1*s)),i;for(n=be.getCulture(n),t||(t=c(n)),t=xe(t)?t:[t],a=t.length;o<a;o++)if(i=u(e,t[o],n,r))return i;return i}var f=/\u00A0/g,p=/[eE][\-+]?[0-9]+/,m=/[+|\-]\d{1,2}/,h=/[+|\-]\d{1,2}:?\d{2}/,g=/^\/Date\((.*?)\)\/$/,y=/[+-]\d*/,v=[[],["G","g","F"],["D","d","y","m","T","t"]],b=[["yyyy-MM-ddTHH:mm:ss.fffffffzzz","yyyy-MM-ddTHH:mm:ss.fffffff","yyyy-MM-ddTHH:mm:ss.fffzzz","yyyy-MM-ddTHH:mm:ss.fff","ddd MMM dd yyyy HH:mm:ss","yyyy-MM-ddTHH:mm:sszzz","yyyy-MM-ddTHH:mmzzz","yyyy-MM-ddTHH:mmzz","yyyy-MM-ddTHH:mm:ss","yyyy-MM-dd HH:mm:ss","yyyy/MM/dd HH:mm:ss"],["yyyy-MM-ddTHH:mm","yyyy-MM-dd HH:mm","yyyy/MM/dd HH:mm"],["yyyy/MM/dd","yyyy-MM-dd","HH:mm:ss","HH:mm"]],w={2:/^\d{1,2}/,3:/^\d{1,3}/,4:/^\d{4}/},M={}.toString;be.parseDate=function(e,t,n){return d(e,t,n,!1)},be.parseExactDate=function(e,t,n){return d(e,t,n,!0)},be.parseInt=function(e,t){var n=be.parseFloat(e,t);return n&&(n=0|n),n},be.parseFloat=function(e,t,n){if(!e&&0!==e)return null;if(typeof e===Fe)return e;e=""+e,t=be.getCulture(t);var r,o,i=t.numberFormat,a=i.percent,s=i.currency,u=s.symbol,l=a.symbol,c=e.indexOf("-");return p.test(e)?(e=parseFloat(e.replace(i["."],".")),isNaN(e)&&(e=null),e):c>0?null:(c=c>-1,e.indexOf(u)>-1||n&&n.toLowerCase().indexOf("c")>-1?(i=s,r=i.pattern[0].replace("$",u).split("n"),e.indexOf(r[0])>-1&&e.indexOf(r[1])>-1&&(e=e.replace(r[0],"").replace(r[1],""),c=!0)):e.indexOf(l)>-1&&(o=!0,i=a,u=l),e=e.replace("-","").replace(u,"").replace(f," ").split(i[","].replace(f," ")).join("").replace(i["."],"."),e=parseFloat(e),isNaN(e)?e=null:c&&(e*=-1),e&&o&&(e/=100),e)}}(),function(){var r,o,i,a,s,u,l,c,f,p,m,h;ze._scrollbar=n,ze.scrollbar=function(e){if(isNaN(ze._scrollbar)||e){var t,n=document.createElement("div");return n.style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",n.innerHTML="&nbsp;",document.body.appendChild(n),ze._scrollbar=t=n.offsetWidth-n.scrollWidth,document.body.removeChild(n),t}return ze._scrollbar},ze.isRtl=function(t){return e(t).closest(".k-rtl").length>0},r=document.createElement("table");try{r.innerHTML="<tr><td></td></tr>",ze.tbodyInnerHtml=!0}catch(g){ze.tbodyInnerHtml=!1}ze.touch="ontouchstart"in t,o=document.documentElement.style,i=ze.transitions=!1,a=ze.transforms=!1,s="HTMLElement"in t?HTMLElement.prototype:[],ze.hasHW3D="WebKitCSSMatrix"in t&&"m11"in new t.WebKitCSSMatrix||"MozPerspective"in o||"msPerspective"in o,ze.cssFlexbox="flexWrap"in o||"WebkitFlexWrap"in o||"msFlexWrap"in o,Me(["Moz","webkit","O","ms"],function(){var e,t=""+this,n=typeof r.style[t+"Transition"]===He;if(n||typeof r.style[t+"Transform"]===He)return e=t.toLowerCase(),a={css:"ms"!=e?"-"+e+"-":"",prefix:t,event:"o"===e||"webkit"===e?e:""},n&&(i=a,i.event=i.event?i.event+"TransitionEnd":"transitionend"),!1}),r=null,ze.transforms=a,ze.transitions=i,ze.devicePixelRatio=t.devicePixelRatio===n?1:t.devicePixelRatio;try{ze.screenWidth=t.outerWidth||t.screen?t.screen.availWidth:t.innerWidth,ze.screenHeight=t.outerHeight||t.screen?t.screen.availHeight:t.innerHeight}catch(g){ze.screenWidth=t.screen.availWidth,ze.screenHeight=t.screen.availHeight}ze.detectOS=function(e){var n,r,o=!1,i=[],a=!/mobile safari/i.test(e),s={wp:/(Windows Phone(?: OS)?)\s(\d+)\.(\d+(\.\d+)?)/,fire:/(Silk)\/(\d+)\.(\d+(\.\d+)?)/,android:/(Android|Android.*(?:Opera|Firefox).*?\/)\s*(\d+)\.?(\d+(\.\d+)?)?/,iphone:/(iPhone|iPod).*OS\s+(\d+)[\._]([\d\._]+)/,ipad:/(iPad).*OS\s+(\d+)[\._]([\d_]+)/,meego:/(MeeGo).+NokiaBrowser\/(\d+)\.([\d\._]+)/,webos:/(webOS)\/(\d+)\.(\d+(\.\d+)?)/,blackberry:/(BlackBerry|BB10).*?Version\/(\d+)\.(\d+(\.\d+)?)/,playbook:/(PlayBook).*?Tablet\s*OS\s*(\d+)\.(\d+(\.\d+)?)/,windows:/(MSIE)\s+(\d+)\.(\d+(\.\d+)?)/,tizen:/(tizen).*?Version\/(\d+)\.(\d+(\.\d+)?)/i,sailfish:/(sailfish).*rv:(\d+)\.(\d+(\.\d+)?).*firefox/i,ffos:/(Mobile).*rv:(\d+)\.(\d+(\.\d+)?).*Firefox/},u={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,flat:/sailfish|ffos|tizen/i,meego:/meego/},l={tablet:/playbook|ipad|fire/i},c={omini:/Opera\sMini/i,omobile:/Opera\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\/.*safari/i,ie:/MSIE|Windows\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i};for(r in s)if(s.hasOwnProperty(r)&&(i=e.match(s[r]))){if("windows"==r&&"plugins"in navigator)return!1;o={},o.device=r,o.tablet=d(r,l,!1),o.browser=d(e,c,"default"),o.name=d(r,u),o[o.name]=!0,o.majorVersion=i[2],o.minorVersion=(i[3]||"0").replace("_","."),n=o.minorVersion.replace(".","").substr(0,2),o.flatVersion=o.majorVersion+n+Array(3-(n.length<3?n.length:2)).join("0"),o.cordova=typeof t.PhoneGap!==je||typeof t.cordova!==je,o.appMode=t.navigator.standalone||/file|local|wmapp/.test(t.location.protocol)||o.cordova,o.android&&(ze.devicePixelRatio<1.5&&o.flatVersion<400||a)&&(ze.screenWidth>800||ze.screenHeight>800)&&(o.tablet=r);break}return o},u=ze.mobileOS=ze.detectOS(navigator.userAgent),ze.wpDevicePixelRatio=u.wp?screen.width/320:0,ze.hasNativeScrolling=!1,(u.ios||u.android&&u.majorVersion>2||u.wp)&&(ze.hasNativeScrolling=u),ze.delayedClick=function(){if(ze.touch){if(u.ios)return!0;if(u.android)return!ze.browser.chrome||!(ze.browser.version<32)&&!(e("meta[name=viewport]").attr("content")||"").match(/user-scalable=no/i)}return!1},ze.mouseAndTouchPresent=ze.touch&&!(ze.mobileOS.ios||ze.mobileOS.android),ze.detectBrowser=function(e){var t,n=!1,r=[],o={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(t in o)if(o.hasOwnProperty(t)&&(r=e.match(o[t]))){n={},n[t]=!0,n[r[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,n.version=parseInt(document.documentMode||r[2],10);break}return n},ze.browser=ze.detectBrowser(navigator.userAgent),ze.detectClipboardAccess=function(){var e={copy:!!document.queryCommandSupported&&document.queryCommandSupported("copy"),cut:!!document.queryCommandSupported&&document.queryCommandSupported("cut"),paste:!!document.queryCommandSupported&&document.queryCommandSupported("paste")};return ze.browser.chrome&&(e.paste=!1,ze.browser.version>=43&&(e.copy=!0,e.cut=!0)),e},ze.clipboard=ze.detectClipboardAccess(),ze.zoomLevel=function(){var e,n,r;try{return e=ze.browser,n=0,r=document.documentElement,e.msie&&11==e.version&&r.scrollHeight>r.clientHeight&&!ze.touch&&(n=ze.scrollbar()),ze.touch?r.clientWidth/t.innerWidth:e.msie&&e.version>=10?((top||t).document.documentElement.offsetWidth+n)/(top||t).innerWidth:1}catch(o){return 1}},ze.cssBorderSpacing=n!==o.borderSpacing&&!(ze.browser.msie&&ze.browser.version<8),function(t){var n="",r=e(document.documentElement),o=parseInt(t.version,10);t.msie?n="ie":t.mozilla?n="ff":t.safari?n="safari":t.webkit?n="webkit":t.opera?n="opera":t.edge&&(n="edge"),n&&(n="k-"+n+" k-"+n+o),ze.mobileOS&&(n+=" k-mobile"),ze.cssFlexbox||(n+=" k-no-flexbox"),r.addClass(n)}(ze.browser),ze.eventCapture=document.documentElement.addEventListener,l=document.createElement("input"),ze.placeholder="placeholder"in l,ze.propertyChangeEvent="onpropertychange"in l,ze.input=function(){for(var e,t=["number","date","time","month","week","datetime","datetime-local"],n=t.length,r="test",o={},i=0;i<n;i++)e=t[i],l.setAttribute("type",e),l.value=r,o[e.replace("-","")]="text"!==l.type&&l.value!==r;return o}(),l.style.cssText="float:left;",ze.cssFloat=!!l.style.cssFloat,l=null,ze.stableSort=function(){var e,t=513,n=[{index:0,field:"b"}];for(e=1;e<t;e++)n.push({index:e,field:"a"});return n.sort(function(e,t){return e.field>t.field?1:e.field<t.field?-1:0}),1===n[0].index}(),ze.matchesSelector=s.webkitMatchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.matchesSelector||s.matches||function(t){for(var n=document.querySelectorAll?(this.parentNode||document).querySelectorAll(t)||[]:e(t),r=n.length;r--;)if(n[r]==this)return!0;return!1},ze.matchMedia="matchMedia"in t,ze.pushState=t.history&&t.history.pushState,c=document.documentMode,ze.hashChange="onhashchange"in t&&!(ze.browser.msie&&(!c||c<=8)),ze.customElements="registerElement"in t.document,f=ze.browser.chrome,p=ze.browser.crios,m=ze.browser.mozilla,h=ze.browser.safari,ze.msPointers=!f&&t.MSPointerEvent,ze.pointers=!f&&!p&&!m&&!h&&t.PointerEvent,ze.kineticScrollNeeded=u&&(ze.touch||ze.msPointers||ze.pointers)}(),Y={left:{reverse:"right"},right:{reverse:"left"},down:{reverse:"up"},up:{reverse:"down"},top:{reverse:"bottom"},bottom:{reverse:"top"},"in":{reverse:"out"},out:{reverse:"in"}},q={},e.extend(q,{enabled:!0,Element:function(t){this.element=e(t)},promise:function(e,t){e.is(":visible")||e.css({display:e.data("olddisplay")||"block"}).css("display"),t.hide&&e.data("olddisplay",e.css("display")).hide(),t.init&&t.init(),t.completeCallback&&t.completeCallback(e),e.dequeue()},disable:function(){this.enabled=!1,this.promise=this.promiseShim},enable:function(){this.enabled=!0,this.promise=this.animatedPromise}}),q.promiseShim=q.promise,"kendoAnimate"in e.fn||we(e.fn,{kendoStop:function(e,t){return this.stop(e,t)},kendoAnimate:function(e,t,n,r){return x(this,e,t,n,r)},kendoAddClass:function(e,t){return be.toggleClass(this,e,t,!0)},kendoRemoveClass:function(e,t){return be.toggleClass(this,e,t,!1)},kendoToggleClass:function(e,t,n){return be.toggleClass(this,e,t,n)}}),J=/&/g,V=/</g,G=/"/g,K=/'/g,Q=/>/g,Z=function(e){return e.target},ze.touch&&(Z=function(e){var t="originalEvent"in e?e.originalEvent.changedTouches:"changedTouches"in e?e.changedTouches:null;return t?document.elementFromPoint(t[0].clientX,t[0].clientY):e.target},Me(["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap"],function(t,n){e.fn[n]=function(e){return this.bind(n,e)}})),ze.touch?ze.mobileOS?(ze.mousedown="touchstart",ze.mouseup="touchend",ze.mousemove="touchmove",ze.mousecancel="touchcancel",ze.click="touchend",ze.resize="orientationchange"):(ze.mousedown="mousedown touchstart",ze.mouseup="mouseup touchend",ze.mousemove="mousemove touchmove",ze.mousecancel="mouseleave touchcancel",ze.click="click",ze.resize="resize"):ze.pointers?(ze.mousemove="pointermove",ze.mousedown="pointerdown",ze.mouseup="pointerup",ze.mousecancel="pointercancel",ze.click="pointerup",ze.resize="orientationchange resize"):ze.msPointers?(ze.mousemove="MSPointerMove",ze.mousedown="MSPointerDown",ze.mouseup="MSPointerUp",ze.mousecancel="MSPointerCancel",ze.click="MSPointerUp",ze.resize="orientationchange resize"):(ze.mousemove="mousemove",ze.mousedown="mousedown",ze.mouseup="mouseup",ze.mousecancel="mouseleave",ze.click="click",ze.resize="resize"),X=function(e,t){var n,r,o,i,a=t||"d",s=1;for(r=0,o=e.length;r<o;r++)i=e[r],""!==i&&(n=i.indexOf("["),0!==n&&(n==-1?i="."+i:(s++,i="."+i.substring(0,n)+"||{})"+i.substring(n))),s++,a+=i+(r<o-1?"||{})":")"));return Array(s).join("(")+a},ee=/^([a-z]+:)?\/\//i,we(be,{widgets:[],_widgetRegisteredCallbacks:[],ui:be.ui||{},fx:be.fx||w,effects:be.effects||q,mobile:be.mobile||{},data:be.data||{},dataviz:be.dataviz||{},drawing:be.drawing||{},spreadsheet:{messages:{}},keys:{INSERT:45,DELETE:46,BACKSPACE:8,TAB:9,ENTER:13,ESC:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,END:35,HOME:36,SPACEBAR:32,PAGEUP:33,PAGEDOWN:34,F2:113,F10:121,F12:123,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_DOT:110},support:be.support||ze,animate:be.animate||x,ns:"",attr:function(e){return"data-"+be.ns+e},getShadows:a,wrap:s,deepExtend:l,getComputedStyles:m,isScrollable:h,scrollLeft:g,size:y,toCamelCase:p,toHyphens:f,getOffset:be.getOffset||v,parseEffects:be.parseEffects||b,toggleClass:be.toggleClass||S,directions:be.directions||Y,
Observable:R,Class:r,Template:H,template:Se(H.compile,H),render:Se(H.render,H),stringify:Se(Oe.stringify,Oe),eventTarget:Z,htmlEncode:k,unescape:T,isLocalUrl:function(e){return e&&!ee.test(e)},expr:function(e,t,n){return e=e||"",typeof t==He&&(n=t,t=!1),n=n||"d",e&&"["!==e.charAt(0)&&(e="."+e),t?(e=e.replace(/"([^.]*)\.([^"]*)"/g,'"$1_$DOT$_$2"'),e=e.replace(/'([^.]*)\.([^']*)'/g,"'$1_$DOT$_$2'"),e=X(e.split("."),n),e=e.replace(/_\$DOT\$_/g,".")):e=n+e,e},getter:function(e,t){var n=e+t;return Ue[n]=Ue[n]||Function("d","return "+be.expr(e,t))},setter:function(e){return Ie[e]=Ie[e]||Function("d,value",be.expr(e)+"=value")},accessor:function(e){return{get:be.getter(e),set:be.setter(e)}},guid:function(){var e,t,n="";for(e=0;e<32;e++)t=16*Te.random()|0,8!=e&&12!=e&&16!=e&&20!=e||(n+="-"),n+=(12==e?4:16==e?3&t|8:t).toString(16);return n},roleSelector:function(e){return e.replace(/(\S+)/g,"["+be.attr("role")+"=$1],").slice(0,-1)},directiveSelector:function(e){var t,n=e.split(" ");if(n)for(t=0;t<n.length;t++)"view"!=n[t]&&(n[t]=n[t].replace(/(\w*)(view|bar|strip|over)$/,"$1-$2"));return n.join(" ").replace(/(\S+)/g,"kendo-mobile-$1,").slice(0,-1)},triggeredByInput:function(e){return/^(label|input|textarea|select)$/i.test(e.target.tagName)},onWidgetRegistered:function(e){for(var t=0,n=be.widgets.length;t<n;t++)e(be.widgets[t]);be._widgetRegisteredCallbacks.push(e)},logToConsole:function(e,r){var o=t.console;!be.suppressLog&&n!==o&&o.log&&o[r||"log"](e)}}),te=R.extend({init:function(e,t){var n,r,o=this;o.element=be.jQuery(e).handler(o),o.angular("init",t),R.fn.init.call(o),n=t?t.dataSource:null,t&&(r=(o.componentTypes||{})[(t||{}).componentType]),n&&(t=we({},t,{dataSource:{}})),t=o.options=we(!0,{},o.options,o.defaults,r||{},t),n&&(t.dataSource=n),o.element.attr(be.attr("role"))||o.element.attr(be.attr("role"),(t.name||"").toLowerCase()),o.element.data("kendo"+t.prefix+t.name,o),o.bind(o.events,t)},events:[],options:{prefix:""},_hasBindingTarget:function(){return!!this.element[0].kendoBindingTarget},_tabindex:function(e){e=e||this.wrapper;var t=this.element,n="tabindex",r=e.attr(n)||t.attr(n);t.removeAttr(n),e.attr(n,isNaN(r)?0:r)},setOptions:function(t){this._setEvents(t),e.extend(this.options,t)},_setEvents:function(e){for(var t,n=this,r=0,o=n.events.length;r<o;r++)t=n.events[r],n.options[t]&&e[t]&&(n.unbind(t,n.options[t]),n._events&&n._events[t]&&delete n._events[t]);n.bind(n.events,e)},resize:function(e){var t=this.getSize(),n=this._size;(e||(t.width>0||t.height>0)&&(!n||t.width!==n.width||t.height!==n.height))&&(this._size=t,this._resize(t,e),this.trigger("resize",t))},getSize:function(){return be.dimensions(this.element)},size:function(e){return e?(this.setSize(e),n):this.getSize()},setSize:e.noop,_resize:e.noop,destroy:function(){var e=this;e.element.removeData("kendo"+e.options.prefix+e.options.name),e.element.removeData("handler"),e.unbind()},_destroy:function(){this.destroy()},angular:function(){},_muteAngularRebind:function(e){this._muteRebind=!0,e.call(this),this._muteRebind=!1}}),ne=te.extend({dataItems:function(){return this.dataSource.flatView()},_angularItems:function(t){var n=this;n.angular(t,function(){return{elements:n.items(),data:e.map(n.dataItems(),function(e){return{dataItem:e}})}})}}),be.dimensions=function(e,t){var n=e[0];return t&&e.css(t),{width:n.offsetWidth,height:n.offsetHeight}},be.notify=ke,re=/template$/i,oe=/^\s*(?:\{(?:.|\r\n|\n)*\}|\[(?:.|\r\n|\n)*\])\s*$/,ie=/^\{(\d+)(:[^\}]+)?\}|^\[[A-Za-z_]+\]$/,ae=/([A-Z])/g,be.initWidget=function(r,o,i){var a,s,u,l,c,d,f,p,m,h,g,y,v;if(i?i.roles&&(i=i.roles):i=be.ui.roles,r=r.nodeType?r:r[0],d=r.getAttribute("data-"+be.ns+"role")){m=d.indexOf(".")===-1,u=m?i[d]:be.getter(d)(t),g=e(r).data(),y=u?"kendo"+u.fn.options.prefix+u.fn.options.name:"",h=m?RegExp("^kendo.*"+d+"$","i"):RegExp("^"+y+"$","i");for(v in g)if(v.match(h)){if(v!==y)return g[v];a=g[v]}if(u){for(p=O(r,"dataSource"),o=e.extend({},z(r,e.extend({},u.fn.options,u.fn.defaults)),o),p&&(o.dataSource=typeof p===He?be.getter(p)(t):p),l=0,c=u.fn.events.length;l<c;l++)s=u.fn.events[l],f=O(r,s),f!==n&&(o[s]=be.getter(f)(t));return a?e.isEmptyObject(o)||a.setOptions(o):a=new u(r,o),a}}},be.rolesFromNamespaces=function(e){var t,n,r=[];for(e[0]||(e=[be.ui,be.dataviz.ui]),t=0,n=e.length;t<n;t++)r[t]=e[t].roles;return we.apply(null,[{}].concat(r.reverse()))},be.init=function(t){var n=be.rolesFromNamespaces(We.call(arguments,1));e(t).find("[data-"+be.ns+"role]").addBack().each(function(){be.initWidget(this,{},n)})},be.destroy=function(t){e(t).find("[data-"+be.ns+"role]").addBack().each(function(){var t,n=e(this).data();for(t in n)0===t.indexOf("kendo")&&typeof n[t].destroy===_e&&n[t].destroy()})},be.resize=function(t,n){var r,o=e(t).find("[data-"+be.ns+"role]").addBack().filter(C);o.length&&(r=e.makeArray(o),r.sort(D),e.each(r,function(){var t=be.widgetInstance(e(this));t&&t.resize(n)}))},be.parseOptions=z,we(be.ui,{Widget:te,DataBoundWidget:ne,roles:{},progress:function(t,n,r){var o,i,a,s,u,l=t.find(".k-loading-mask"),c=be.support,d=c.browser;r=e.extend({},{width:"100%",height:"100%",top:t.scrollTop(),opacity:!1},r),u=r.opacity?"k-loading-mask k-opaque":"k-loading-mask",n?l.length||(o=c.isRtl(t),i=o?"right":"left",s=t.scrollLeft(),a=d.webkit&&o?t[0].scrollWidth-t.width()-2*s:0,l=e(be.format("<div class='{0}'><span class='k-loading-text'>{1}</span><div class='k-loading-image'></div><div class='k-loading-color'></div></div>",u,be.ui.progress.messages.loading)).width(r.width).height(r.height).css("top",r.top).css(i,Math.abs(s)+a).prependTo(t)):l&&l.remove()},plugin:function(t,r,o){var i,a,s,u,l=t.fn.options.name;for(r=r||be.ui,o=o||"",r[l]=t,r.roles[l.toLowerCase()]=t,i="getKendo"+o+l,l="kendo"+o+l,a={name:l,widget:t,prefix:o||""},be.widgets.push(a),s=0,u=be._widgetRegisteredCallbacks.length;s<u;s++)be._widgetRegisteredCallbacks[s](a);e.fn[l]=function(r){var o,i=this;return typeof r===He?(o=We.call(arguments,1),this.each(function(){var t,a,s=e.data(this,l);if(!s)throw Error(be.format("Cannot call method '{0}' of {1} before it is initialized",r,l));if(t=s[r],typeof t!==_e)throw Error(be.format("Cannot find method '{0}' of {1}",r,l));if(a=t.apply(s,o),a!==n)return i=a,!1})):this.each(function(){return new t(this,r)}),i},e.fn[l].widget=t,e.fn[i]=function(){return this.data(l)}}}),be.ui.progress.messages={loading:"Loading..."},se={bind:function(){return this},nullObject:!0,options:{}},ue=te.extend({init:function(e,t){te.fn.init.call(this,e,t),this.element.autoApplyNS(),this.wrapper=this.element,this.element.addClass("km-widget")},destroy:function(){te.fn.destroy.call(this),this.element.kendoDestroy()},options:{prefix:"Mobile"},events:[],view:function(){var e=this.element.closest(be.roleSelector("view splitview modalview drawer"));return be.widgetInstance(e,be.mobile.ui)||se},viewHasNativeScrolling:function(){var e=this.view();return e&&e.options.useNativeScrolling},container:function(){var e=this.element.closest(be.roleSelector("view layout modalview drawer splitview"));return be.widgetInstance(e.eq(0),be.mobile.ui)||se}}),we(be.mobile,{init:function(e){be.init(e,be.mobile.ui,be.ui,be.dataviz.ui)},appLevelNativeScrolling:function(){return be.mobile.application&&be.mobile.application.options&&be.mobile.application.options.useNativeScrolling},roles:{},ui:{Widget:ue,DataBoundWidget:ne.extend(ue.prototype),roles:{},plugin:function(e){be.ui.plugin(e,be.mobile.ui,"Mobile")}}}),l(be.dataviz,{init:function(e){be.init(e,be.dataviz.ui)},ui:{roles:{},themes:{},views:[],plugin:function(e){be.ui.plugin(e,be.dataviz.ui)}},roles:{}}),be.touchScroller=function(t,n){return n||(n={}),n.useNative=!0,e(t).map(function(t,r){return r=e(r),!(!ze.kineticScrollNeeded||!be.mobile.ui.Scroller||r.data("kendoMobileScroller"))&&(r.kendoMobileScroller(n),r.data("kendoMobileScroller"))})[0]},be.preventDefault=function(e){e.preventDefault()},be.widgetInstance=function(e,n){var r,o,i,a,s,u=e.data(be.ns+"role"),l=[],c=e.data("kendoView");if(u){if("content"===u&&(u="scroller"),"editortoolbar"===u&&(i=e.data("kendoEditorToolbar")))return i;if("view"===u&&c)return c;if(n)if(n[0])for(r=0,o=n.length;r<o;r++)l.push(n[r].roles[u]);else l.push(n.roles[u]);else l=[be.ui.roles[u],be.dataviz.ui.roles[u],be.mobile.ui.roles[u]];for(u.indexOf(".")>=0&&(l=[be.getter(u)(t)]),r=0,o=l.length;r<o;r++)if(a=l[r],a&&(s=e.data("kendo"+a.fn.options.prefix+a.fn.options.name)))return s}},be.onResize=function(n){var r=n;return ze.mobileOS.android&&(r=function(){setTimeout(n,600)}),e(t).on(ze.resize,r),r},be.unbindResize=function(n){e(t).off(ze.resize,n)},be.attrValue=function(e,t){return e.data(be.ns+t)},be.days={Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6},e.extend(e.expr.pseudos,{kendoFocusable:function(t){var n=e.attr(t,"tabindex");return A(t,!isNaN(n)&&n>-1)}}),le=["mousedown","mousemove","mouseenter","mouseleave","mouseover","mouseout","mouseup","click"],ce="label, input, [data-rel=external]",de={setupMouseMute:function(){var t,n=0,r=le.length,o=document.documentElement;if(!de.mouseTrap&&ze.eventCapture)for(de.mouseTrap=!0,de.bustClick=!1,de.captureMouse=!1,t=function(t){de.captureMouse&&("click"===t.type?de.bustClick&&!e(t.target).is(ce)&&(t.preventDefault(),t.stopPropagation()):t.stopPropagation())};n<r;n++)o.addEventListener(le[n],t,!0)},muteMouse:function(e){de.captureMouse=!0,e.data.bustClick&&(de.bustClick=!0),clearTimeout(de.mouseTrapTimeoutID)},unMuteMouse:function(){clearTimeout(de.mouseTrapTimeoutID),de.mouseTrapTimeoutID=setTimeout(function(){de.captureMouse=!1,de.bustClick=!1},400)}},fe={down:"touchstart mousedown",move:"mousemove touchmove",up:"mouseup touchend touchcancel",cancel:"mouseleave touchcancel"},ze.touch&&(ze.mobileOS.ios||ze.mobileOS.android)?fe={down:"touchstart",move:"touchmove",up:"touchend touchcancel",cancel:"touchcancel"}:ze.pointers?fe={down:"pointerdown",move:"pointermove",up:"pointerup",cancel:"pointercancel pointerleave"}:ze.msPointers&&(fe={down:"MSPointerDown",move:"MSPointerMove",up:"MSPointerUp",cancel:"MSPointerCancel MSPointerLeave"}),!ze.msPointers||"onmspointerenter"in t||e.each({MSPointerEnter:"MSPointerOver",MSPointerLeave:"MSPointerOut"},function(t,n){e.event.special[t]={delegateType:n,bindType:n,handle:function(t){var r,o=this,i=t.relatedTarget,a=t.handleObj;return i&&(i===o||e.contains(o,i))||(t.type=a.origType,r=a.handler.apply(this,arguments),t.type=n),r}}}),pe=function(e){return fe[e]||e},me=/([^ ]+)/g,be.applyEventMap=function(e,t){return e=e.replace(me,pe),t&&(e=e.replace(me,"$1."+t)),e},be.keyDownHandler=function(e,t){var n,r,o=t._events.kendoKeydown;if(!o)return!0;for(o=o.slice(),e.sender=t,e.preventKendoKeydown=!1,n=0,r=o.length;n<r;n++)o[n].call(t,e);return!e.preventKendoKeydown},he=e.fn.on,$e(!0,_,e),_.fn=_.prototype=new e,_.fn.constructor=_,_.fn.init=function(t,n){return n&&n instanceof e&&!(n instanceof _)&&(n=_(n)),e.fn.init.call(this,t,n,ge)},_.fn.init.prototype=_.fn,ge=_(document),we(_.fn,{handler:function(e){return this.data("handler",e),this},autoApplyNS:function(e){return this.data("kendoNS",e||be.guid()),this},on:function(){var e,t,n,r,o,i,a,s,u=this,l=u.data("kendoNS");return 1===arguments.length?he.call(u,arguments[0]):(e=u,t=We.call(arguments),typeof t[t.length-1]===je&&t.pop(),n=t[t.length-1],r=be.applyEventMap(t[0],l),ze.mouseAndTouchPresent&&r.search(/mouse|click/)>-1&&this[0]!==document.documentElement&&(de.setupMouseMute(),o=2===t.length?null:t[1],i=r.indexOf("click")>-1&&r.indexOf("touchend")>-1,he.call(this,{touchstart:de.muteMouse,touchend:de.unMuteMouse},o,{bustClick:i})),arguments[0].indexOf("keydown")!==-1&&t[1]&&t[1].options?(t[0]=r,a=t[1],s=t[t.length-1],t[t.length-1]=function(e){if(be.keyDownHandler(e,a))return s.apply(this,[e])},he.apply(u,t),u):(typeof n===He&&(e=u.data("handler"),n=e[n],t[t.length-1]=function(t){n.call(e,t)}),t[0]=r,he.apply(u,t),u))},kendoDestroy:function(e){return e=e||this.data("kendoNS"),e&&this.off("."+e),this}}),be.jQuery=_,be.eventMap=fe,be.timezone=function(){function e(e,t){var n,r,o,i=t[3],a=t[4],s=t[5],u=t[8];return u||(t[8]=u={}),u[e]?u[e]:(isNaN(a)?0===a.indexOf("last")?(n=new Date(Date.UTC(e,c[i]+1,1,s[0]-24,s[1],s[2],0)),r=d[a.substr(4,3)],o=n.getUTCDay(),n.setUTCDate(n.getUTCDate()+r-o-(r>o?7:0))):a.indexOf(">=")>=0?(n=new Date(Date.UTC(e,c[i],a.substr(5),s[0],s[1],s[2],0)),r=d[a.substr(0,3)],o=n.getUTCDay(),n.setUTCDate(n.getUTCDate()+r-o+(r<o?7:0))):a.indexOf("<=")>=0&&(n=new Date(Date.UTC(e,c[i],a.substr(5),s[0],s[1],s[2],0)),r=d[a.substr(0,3)],o=n.getUTCDay(),n.setUTCDate(n.getUTCDate()+r-o-(r>o?7:0))):n=new Date(Date.UTC(e,c[i],a,s[0],s[1],s[2],0)),u[e]=n)}function t(t,n,r){var o,i,a,s;return(n=n[r])?(a=new Date(t).getUTCFullYear(),n=jQuery.grep(n,function(e){var t=e[0],n=e[1];return t<=a&&(n>=a||t==a&&"only"==n||"max"==n)}),n.push(t),n.sort(function(t,n){return"number"!=typeof t&&(t=+e(a,t)),"number"!=typeof n&&(n=+e(a,n)),t-n}),s=n[jQuery.inArray(t,n)-1]||n[n.length-1],isNaN(s)?s:null):(o=r.split(":"),i=0,o.length>1&&(i=60*o[0]+ +o[1]),[-1e6,"max","-","Jan",1,[0,0,0],i,"-"])}function n(e,t,n){var r,o,i,a=t[n];if("string"==typeof a&&(a=t[a]),!a)throw Error('Timezone "'+n+'" is either incorrect, or kendo.timezones.min.js is not included.');for(r=a.length-1;r>=0&&(o=a[r][3],!(o&&e>o));r--);if(i=a[r+1],!i)throw Error('Timezone "'+n+'" not found on '+e+".");return i}function r(e,r,o,i){typeof e!=Fe&&(e=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));var a=n(e,r,i);return{zone:a,rule:t(e,o,a[1])}}function o(e,t){var n,o,i;return"Etc/UTC"==t||"Etc/GMT"==t?0:(n=r(e,this.zones,this.rules,t),o=n.zone,i=n.rule,be.parseFloat(i?o[0]-i[6]:o[0]))}function i(e,t){var n=r(e,this.zones,this.rules,t),o=n.zone,i=n.rule,a=o[2];return a.indexOf("/")>=0?a.split("/")[i&&+i[6]?1:0]:a.indexOf("%s")>=0?a.replace("%s",i&&"-"!=i[7]?i[7]:""):a}function a(e,t,n){var r,o,i,a=n;return typeof t==He&&(t=this.offset(e,t)),typeof n==He&&(n=this.offset(e,n)),o=e.getTimezoneOffset(),e=new Date(e.getTime()+6e4*(t-n)),i=e.getTimezoneOffset(),typeof a==He&&(a=this.offset(e,a)),r=i-o+(n-a),new Date(e.getTime()+6e4*r)}function s(e,t){return this.convert(e,e.getTimezoneOffset(),t)}function u(e,t){return this.convert(e,t,e.getTimezoneOffset())}function l(e){return this.apply(new Date(e),"Etc/UTC")}var c={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sep:8,Oct:9,Nov:10,Dec:11},d={Sun:0,Mon:1,Tue:2,Wed:3,Thu:4,Fri:5,Sat:6};return{zones:{},rules:{},offset:o,convert:a,apply:s,remove:u,abbr:i,toLocalDate:l}}(),be.date=function(){function e(e,t){return 0===t&&23===e.getHours()&&(e.setHours(e.getHours()+2),!0)}function t(t,n,r){var o=t.getHours();r=r||1,n=(n-t.getDay()+7*r)%7,t.setDate(t.getDate()+n),e(t,o)}function r(e,n,r){return e=new Date(e),t(e,n,r),e}function o(e){return new Date(e.getFullYear(),e.getMonth(),1)}function i(e){var t=new Date(e.getFullYear(),e.getMonth()+1,0),n=o(e),r=Math.abs(t.getTimezoneOffset()-n.getTimezoneOffset());return r&&t.setHours(n.getHours()+r/60),t}function a(e,t){return 1!==t?m(r(e,t,-1),4):m(e,4-(e.getDay()||7))}function s(e,t){var n=new Date(e.getFullYear(),0,1,(-6)),r=a(e,t),o=r.getTime()-n.getTime(),i=Math.floor(o/M);return 1+Math.floor(i/7)}function u(e,t){var r,o,i;return t===n&&(t=be.culture().calendar.firstDay),r=m(e,-7),o=m(e,7),i=s(e,t),0===i?s(r,t)+1:53===i&&s(o,t)>1?1:i}function l(t){return t=new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0),e(t,0),t}function c(e){return Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function d(e){return b(e).getTime()-l(b(e))}function f(e,t,n){var r,o=d(t),i=d(n);return!e||o==i||(t>=n&&(n+=M),r=d(e),o>r&&(r+=M),i<o&&(i+=M),r>=o&&r<=i)}function p(e,t,n){var r,o=t.getTime(),i=n.getTime();return o>=i&&(i+=M),r=e.getTime(),r>=o&&r<=i}function m(t,n){var r=t.getHours();return t=new Date(t),h(t,n*M),e(t,r),t}function h(e,t,n){var r,o=e.getTimezoneOffset();e.setTime(e.getTime()+t),n||(r=e.getTimezoneOffset()-o,e.setTime(e.getTime()+r*w))}function g(t,n){return t=new Date(t.getFullYear(),t.getMonth(),t.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()),e(t,n.getHours()),t}function y(){return l(new Date)}function v(e){return l(e).getTime()==y().getTime()}function b(e){var t=new Date(1980,1,1,0,0,0);return e&&t.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),t}var w=6e4,M=864e5;return{adjustDST:e,dayOfWeek:r,setDayOfWeek:t,getDate:l,isInDateRange:p,isInTimeRange:f,isToday:v,nextDay:function(e){return m(e,1)},previousDay:function(e){return m(e,-1)},toUtcTime:c,MS_PER_DAY:M,MS_PER_HOUR:60*w,MS_PER_MINUTE:w,setTime:h,setHours:g,addDays:m,today:y,toInvariantTime:b,firstDayOfMonth:o,lastDayOfMonth:i,weekInYear:u,getMilliseconds:d}}(),be.stripWhitespace=function(e){var t,n,r;if(document.createNodeIterator)for(t=document.createNodeIterator(e,NodeFilter.SHOW_TEXT,function(t){return t.parentNode==e?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT},!1);t.nextNode();)t.referenceNode&&!t.referenceNode.textContent.trim()&&t.referenceNode.parentNode.removeChild(t.referenceNode);else for(n=0;n<e.childNodes.length;n++)r=e.childNodes[n],3!=r.nodeType||/\S/.test(r.nodeValue)||(e.removeChild(r),n--),1==r.nodeType&&be.stripWhitespace(r)},ye=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,1e3/60)},be.animationFrame=function(e){ye.call(t,e)},ve=[],be.queueAnimation=function(e){ve[ve.length]=e,1===ve.length&&be.runNextAnimation()},be.runNextAnimation=function(){be.animationFrame(function(){ve[0]&&(ve.shift()(),ve[0]&&be.runNextAnimation())})},be.parseQueryStringParams=function(e){for(var t=e.split("?")[1]||"",n={},r=t.split(/&|=/),o=r.length,i=0;i<o;i+=2)""!==r[i]&&(n[decodeURIComponent(r[i])]=decodeURIComponent(r[i+1]));return n},be.elementUnderCursor=function(e){if(n!==e.x.client)return document.elementFromPoint(e.x.client,e.y.client)},be.wheelDeltaY=function(e){var t,r=e.originalEvent,o=r.wheelDeltaY;return r.wheelDelta?(o===n||o)&&(t=r.wheelDelta):r.detail&&r.axis===r.VERTICAL_AXIS&&(t=10*-r.detail),t},be.throttle=function(e,t){var r,o,i=0;return!t||t<=0?e:(o=function(){function o(){e.apply(a,u),i=+new Date}var a=this,s=+new Date-i,u=arguments;return i?(r&&clearTimeout(r),s>t?o():r=setTimeout(o,t-s),n):o()},o.cancel=function(){clearTimeout(r)},o)},be.caret=function(t,r,o){var i,a,s,u,l,c=r!==n;if(o===n&&(o=r),t[0]&&(t=t[0]),!c||!t.disabled){try{t.selectionStart!==n?c?(t.focus(),a=ze.mobileOS,a.wp||a.android?setTimeout(function(){t.setSelectionRange(r,o)},0):t.setSelectionRange(r,o)):r=[t.selectionStart,t.selectionEnd]:document.selection&&(e(t).is(":visible")&&t.focus(),i=t.createTextRange(),c?(i.collapse(!0),i.moveStart("character",r),i.moveEnd("character",o-r),i.select()):(s=i.duplicate(),i.moveToBookmark(document.selection.createRange().getBookmark()),s.setEndPoint("EndToStart",i),u=s.text.length,l=u+i.text.length,r=[u,l]))}catch(d){r=[]}return r}},be.compileMobileDirective=function(e,n){var r=t.angular;return e.attr("data-"+be.ns+"role",e[0].tagName.toLowerCase().replace("kendo-mobile-","").replace("-","")),r.element(e).injector().invoke(["$compile",function(t){t(e)(n),/^\$(digest|apply)$/.test(n.$$phase)||n.$digest()}]),be.widgetInstance(e,be.mobile.ui)},be.antiForgeryTokens=function(){var t={},r=e("meta[name=csrf-token],meta[name=_csrf]").attr("content"),o=e("meta[name=csrf-param],meta[name=_csrf_header]").attr("content");return e("input[name^='__RequestVerificationToken']").each(function(){t[this.name]=this.value}),o!==n&&r!==n&&(t[o]=r),t},be.cycleForm=function(e){function t(e){var t=be.widgetInstance(e);t&&t.focus?t.focus():e.focus()}var n=e.find("input, .k-widget").first(),r=e.find("button, .k-button").last();r.on("keydown",function(e){e.keyCode!=be.keys.TAB||e.shiftKey||(e.preventDefault(),t(n))}),n.on("keydown",function(e){e.keyCode==be.keys.TAB&&e.shiftKey&&(e.preventDefault(),t(r))})},be.focusElement=function(n){var r=[],o=n.parentsUntil("body").filter(function(e,t){var n=be.getComputedStyles(t,["overflow"]);return"visible"!==n.overflow}).add(t);o.each(function(t,n){r[t]=e(n).scrollTop()});try{n[0].setActive()}catch(i){n[0].focus()}o.each(function(t,n){e(n).scrollTop(r[t])})},be.focusNextElement=function(){var t,n,r;document.activeElement&&(t=e(":kendoFocusable"),n=t.index(document.activeElement),n>-1&&(r=t[n+1]||t[0],r.focus()))},be.trim=function(e){return e?(""+e).trim():""},be.getWidgetFocusableElement=function(t){var n,r=t.closest(":kendoFocusable"),o=be.widgetInstance(t);return n=r.length?r:o?"Editor"===o.options.name?e(o.body):o.wrapper.find(":kendoFocusable").first():t},be.addAttribute=function(e,t,n){var r=e.attr(t)||"";r.indexOf(n)<0&&e.attr(t,(r+" "+n).trim())},be.removeAttribute=function(e,t,n){var r=e.attr(t)||"";e.attr(t,r.replace(n,"").trim())},be.toggleAttribute=function(e,t,n){var r=e.attr(t)||"";r.indexOf(n)<0?be.addAttribute(e,t,n):be.removeAttribute(e,t,n)},be.matchesMedia=function(e){var n=be._bootstrapToMedia(e)||e;return ze.matchMedia&&t.matchMedia(n).matches},be._bootstrapToMedia=function(e){return{xs:"(max-width: 576px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)"}[e]},be.fileGroupMap={audio:[".aif",".iff",".m3u",".m4a",".mid",".mp3",".mpa",".wav",".wma",".ogg",".wav",".wma",".wpl"],video:[".3g2",".3gp",".avi",".asf",".flv",".m4u",".rm",".h264",".m4v",".mkv",".mov",".mp4",".mpg",".rm",".swf",".vob",".wmv"],image:[".ai",".dds",".heic",".jpe","jfif",".jif",".jp2",".jps",".eps",".bmp",".gif",".jpeg",".jpg",".png",".ps",".psd",".svg",".svgz",".tif",".tiff"],txt:[".doc",".docx",".log",".pages",".tex",".wpd",".wps",".odt",".rtf",".text",".txt",".wks"],presentation:[".key",".odp",".pps",".ppt",".pptx"],data:[".xlr",".xls",".xlsx"],programming:[".tmp",".bak",".msi",".cab",".cpl",".cur",".dll",".dmp",".drv",".icns",".ico",".link",".sys",".cfg",".ini",".asp",".aspx",".cer",".csr",".css",".dcr",".htm",".html",".js",".php",".rss",".xhtml"],pdf:[".pdf"],config:[".apk",".app",".bat",".cgi",".com",".exe",".gadget",".jar",".wsf"],zip:[".7z",".cbr",".gz",".sitx",".arj",".deb",".pkg",".rar",".rpm",".tar.gz",".z",".zip",".zipx"],"disc-image":[".dmg",".iso",".toast",".vcd",".bin",".cue",".mdf"]},be.getFileGroup=function(e,t){var r,o,i=be.fileGroupMap,a=Object.keys(i),s="file";if(e===n||!e.length)return s;for(r=0;r<a.length;r+=1)if(o=i[a[r]],o.indexOf(e.toLowerCase())>-1)return t?"file-"+a[r]:a[r];return s},be.getFileSizeMessage=function(e){var t,n=["Bytes","KB","MB","GB","TB"];return 0===e?"0 Byte":(t=parseInt(Math.floor(Math.log(e)/Math.log(1024)),10),Math.round(e/Math.pow(1024,t),2)+" "+n[t])},be.selectorFromClasses=function(e){return"."+e.split(" ").join(".")},function(){function n(t,n,r,o){var i,a,s=e("<form>").attr({action:r,method:"POST",target:o}),u=be.antiForgeryTokens();u.fileName=n,i=t.split(";base64,"),u.contentType=i[0].replace("data:",""),u.base64=i[1];for(a in u)u.hasOwnProperty(a)&&e("<input>").attr({value:u[a],name:a,type:"hidden"}).appendTo(s);s.appendTo("body").submit().remove()}function r(e,t){var n,r,o,i,a,s=e;if("string"==typeof e){for(n=e.split(";base64,"),r=n[0],o=atob(n[1]),i=new Uint8Array(o.length),a=0;a<o.length;a++)i[a]=o.charCodeAt(a);s=new Blob([i.buffer],{type:r})}navigator.msSaveBlob(s,t)}function o(e,n){t.Blob&&e instanceof Blob&&(e=URL.createObjectURL(e)),i.download=n,i.href=e;var r=document.createEvent("MouseEvents");r.initMouseEvent("click",!0,!1,t,0,0,0,0,0,!1,!1,!1,!1,0,null),i.dispatchEvent(r),setTimeout(function(){URL.revokeObjectURL(e)})}var i=document.createElement("a"),a="download"in i&&!be.support.browser.edge;be.saveAs=function(e){var t=n;e.forceProxy||(a?t=o:navigator.msSaveBlob&&(t=r)),t(e.dataURI,e.fileName,e.proxyURL,e.proxyTarget)}}(),be.proxyModelSetters=function(e){var t={};return Object.keys(e||{}).forEach(function(n){Object.defineProperty(t,n,{get:function(){return e[n]},set:function(t){e[n]=t,e.dirty=!0}})}),t},function(){be.defaults=be.defaults||{},be.setDefaults=function(e,t){var r=e.split("."),o=be.defaults;e=r.pop(),r.forEach(function(e){o[e]===n&&(o[e]={}),o=o[e]}),o[e]=t.constructor===Object?l({},o[e],t):t}}()}(jQuery,window),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,n){(n||t)()});
!function(e,define){define("kendo.calendar.min",["kendo.core.min","kendo.selectable.min"],e)}(function(){return function(e,t){function a(e,t,a,n){var l,r=e.getFullYear(),i=t.getFullYear(),s=a.getFullYear();return r-=r%n,l=r+(n-1),r<i&&(r=i),l>s&&(l=s),r+"-"+l}function n(e){var t,a=0,n=e.min,l=e.max,r=e.start,i=e.setter,o=e.build,c=e.weekNumberBuild,u=e.cells||12,d=e.isWeekColumnVisible,f=e.perRow||4,g=e.otherMonth,_=e.lastDayOfMonth,h=e.weekNumber||j,m=e.content||z,p=e.empty||U,k=e.otherMonthCellTemplate||q,b=e.html||'<table tabindex="0" role="grid" class="k-content k-meta-view" cellspacing="0"><tbody><tr role="row">';for(d&&(b+=h(c(r)));a<u;a++)a>0&&a%f===0&&(b+='</tr><tr role="row">',d&&(b+=h(g||+r<=+_?c(r):{weekNumber:"&nbsp;"}))),r=v(r.getFullYear(),r.getMonth(),r.getDate()),V(r,0),t=o(r,a,e.disableDates),b+=t.cssClass.indexOf(ue)===-1||g?s(r,n,l)?m(t):p(t):k(t),i(r,1);return b+"</tr></tbody></table>"}function l(e,t,a){var n=e.getFullYear(),l=t.getFullYear(),r=l,i=0;return a&&(l-=l%a,r=l-l%a+a-1),n>r?i=1:n<l&&(i=-1),i}function r(){var e=new Oe;return new Oe(e.getFullYear(),e.getMonth(),e.getDate())}function i(e,t,a){var n=r();return e&&(n=new Oe((+e))),t>n?n=new Oe((+t)):a<n&&(n=new Oe((+a))),n}function s(e,t,a){return+e>=+t&&+e<=+a}function o(e,t){return e.slice(t).concat(e.slice(0,t))}function c(e,t,a){t=t instanceof Oe?t.getFullYear():e.getFullYear()+a*t,e.setFullYear(t)}function u(e,t){var a,n,l;return+t<+e&&(a=+e,T.views[0].setDate(e,t),T.views[0].setDate(t,new Date(a))),n=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate()),l=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate()),Math.ceil((+l-+n)/x.date.MS_PER_DAY)}function d(e,t,a,n){var l,r;for(l=0;l<=t;l++)r=new Date(a.getTime()),r=new Date(r.setDate(r.getDate()+l)),n(r)||e.push(r)}function f(t){var a=e(this).hasClass("k-state-disabled");a||e(this).toggleClass(se,we.indexOf(t.type)>-1||t.type==ke)}function g(e){e.preventDefault()}function v(e,t,a){var n=new Oe(e,t,a);return n.setFullYear(e,t,a),n}function _(e){return I(e).calendars.standard}function h(e){var a=Ve[e.start],n=Ve[e.depth],l=I(e.culture);e.format=E(e.format||l.calendars.standard.patterns.d),isNaN(a)&&(a=0,e.start=ae),(n===t||n>a)&&(e.depth=ae),null===e.dates&&(e.dates=[])}function m(e){K&&e.find("*").attr("unselectable","on")}function p(e,t){e.addClass("k-"+t)}function k(e,t){for(var a=0,n=t.length;a<n;a++)if(e===+t[a])return!0;return!1}function b(e,t){return!!e&&(e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate())}function w(e,t){return!!e&&(e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth())}function D(t){return x.isFunction(t)?t:e.isArray(t)?S(t):e.noop}function y(e){var t,a=[];for(t=0;t<e.length;t++)a.push(e[t].setHours(0,0,0,0));return a}function S(t){var a,n,l,r,i,s=[],o=["su","mo","tu","we","th","fr","sa"],c="if(found){ return true }else{return false}";if(t[0]instanceof Oe)s=y(t),a="var found=date&&window.kendo.jQuery.inArray(date.setHours(0, 0, 0, 0),["+s+"]) > -1;"+c;else{for(l=0;l<t.length;l++)r=t[l].slice(0,2).toLowerCase(),i=e.inArray(r,o),i>-1&&s.push(i);a="var found=date&&window.kendo.jQuery.inArray(date.getDay(),["+s+"]) > -1;"+c}return n=Function("date",a)}function C(e,t){return e instanceof Date&&t instanceof Date&&(e=e.getTime(),t=t.getTime()),e===t}function F(t){var a=e(t).attr(x.attr(ie)).split("/");return a=v(a[0],a[1],a[2])}var T,x=window.kendo,M=x.support,Y=x.ui,A=Y.Widget,N=x.keys,O=x.parseDate,V=x.date.adjustDST,B=x.date.weekInYear,H=x.ui.Selectable,E=x._extractFormat,W=x.template,I=x.getCulture,P=x.support.transitions,R=P?P.css+"transform-origin":"",z=W('<td#=data.cssClass# role="gridcell"><a tabindex="-1" class="k-link" href="\\#" data-#=data.ns#value="#=data.dateString#">#=data.value#</a></td>',{useWithBlock:!1}),U=W('<td role="gridcell" class="k-out-of-range"><a class="k-link"></a></td>',{useWithBlock:!1}),q=W('<td role="gridcell" class="k-out-of-range">&nbsp;</td>',{useWithBlock:!1}),j=W('<td class="k-alt">#=data.weekNumber #</td>',{useWithBlock:!1}),G=x.support.browser,K=G.msie&&G.version<9,L=x._outerWidth,Q=".kendoCalendar",J="click"+Q,X="keydown"+Q,Z="id",$="min",ee="left",te="slideIn",ae="month",ne="century",le="change",re="navigate",ie="value",se="k-state-hover",oe="k-state-disabled",ce="k-state-focused",ue="k-other-month",de=' class="'+ue+'"',fe="k-out-of-range",ge="k-nav-today",ve="td:has(.k-link)",_e="td:has(.k-link):not(."+oe+"):not(."+fe+")",he="td:not(:has(.k-link))",me="k-state-selected",pe="blur"+Q,ke="focus",be=ke+Q,we=M.touch?"touchstart":"mouseenter",De=M.touch?"touchstart"+Q:"mouseenter"+Q,ye=M.touch?"touchend"+Q+" touchmove"+Q:"mouseleave"+Q,Se=6e4,Ce=864e5,Fe="_prevArrow",Te="_nextArrow",xe="aria-disabled",Me="aria-selected",Ye="aria-label",Ae=e.proxy,Ne=e.extend,Oe=Date,Ve={month:0,year:1,decade:2,century:3},Be=".k-header, .k-calendar-header",He='<div class="k-header"><a href="\\#" '+x.attr("action")+'="prev" role="button" class="k-link k-nav-prev" '+Ye+'="Previous"><span class="k-icon k-i-arrow-60-left"></span></a><a href="\\#" '+x.attr("action")+'="nav-up" role="button" aria-live="assertive" aria-atomic="true" class="k-link k-nav-fast"></a><a href="\\#" '+x.attr("action")+'="next" role="button" class="k-link k-nav-next" '+Ye+'="Next"><span class="k-icon k-i-arrow-60-right"></span></a></div>',Ee='<div class="k-calendar-header"><a href="\\#" '+x.attr("action")+'="nav-up" role="button" aria-live="assertive" aria-atomic="true" class="k-button k-title"></a><span class="k-calendar-nav"><a '+x.attr("action")+'="prev" class="k-button k-button-icon k-prev-view"><span class="k-icon k-i-arrow-60-left"></span></a><a '+x.attr("action")+'="today" class="k-today">#=messages.today#</a><a '+x.attr("action")+'="next" class="k-button k-button-icon k-next-view"><span class="k-icon k-i-arrow-60-right"></span></a></span></div>',We=A.extend({init:function(t,a){var n,l,s=this;a=a||{},a.componentType=a.componentType||"classic",A.fn.init.call(s,t,a),t=s.wrapper=s.element,a=s.options,a.url=x.unescape(a.url),s.options.disableDates=D(s.options.disableDates),s._templates(),s._selectable(),s._header(),s._viewWrapper(),s.options.hasFooter&&s._footer(s.footer),l=t.addClass("k-widget k-calendar "+(a.weekNumber?" k-week-number":"")).on(De+" "+ye,ve,f).on(X,"table.k-content",Ae(s._move,s)).on(J+" touchend",ve,function(t){var n=t.currentTarget.firstChild,l=F(n);n.href.indexOf("#")!=-1&&t.preventDefault(),"month"==s._view.name&&s.options.disableDates(l)||"month"==s._view.name&&"single"!=a.selectable||s._click(e(n))}).on("mouseup"+Q,"table.k-content, .k-footer",function(){s._focusView(s.options.focusOnNav!==!1)}).attr(Z),l&&(s._cellID=l+"_cell_selected"),s._isMultipleSelection()&&s.options.weekNumber&&t.on(J,he,function(t){var a=e(t.currentTarget).closest("tr").find(_e).first(),n=s.selectable._lastActive=e(t.currentTarget).closest("tr").find(_e).last();s.selectable.selectRange(a,n,{event:t}),s._current=s._value=F(n.find("a")),s._class(ce,s._current)}),h(a),n=O(a.value,a.format,a.culture),s._selectDates=[],s._index=Ve[a.start],s._current=new Oe((+i(n,a.min,a.max))),s._addClassProxy=function(){if(s._active=!0,s._cell.hasClass(oe)){var e=s._view.toDateString(r());s._cell=s._cellByDate(e)}s._cell.addClass(ce)},s._removeClassProxy=function(){s._active=!1,s._cell.removeClass(ce)},s.value(n),s._isMultipleSelection()&&a.selectDates.length>0&&s.selectDates(a.selectDates),x.notify(s)},options:{name:"Calendar",value:null,min:new Oe(1900,0,1),max:new Oe(2099,11,31),dates:[],disableDates:null,url:"",culture:"",footer:"",format:"",month:{},weekNumber:!1,selectable:"single",selectDates:[],start:ae,depth:ae,animation:{horizontal:{effects:te,reverse:!0,duration:500,divisor:2},vertical:{effects:"zoomIn",duration:400}},messages:{weekColumnHeader:"",today:"Today"}},events:[le,re],componentTypes:{classic:{header:{template:He},hasFooter:!0,linksSelector:".k-link",contentClasses:"k-content"},modern:{header:{template:Ee},hasFooter:!1,linksSelector:".k-button",contentClasses:"k-content k-calendar-content"}},setOptions:function(e){var t=this;h(e),e.disableDates=D(e.disableDates),t._destroySelectable(),A.fn.setOptions.call(t,e),t._templates(),t._selectable(),t._viewWrapper(),t.options.hasFooter?t._footer(t.footer):t.element.find(".k-footer").hide(),t._index=Ve[t.options.start],t.navigate(),e.weekNumber&&t.element.addClass("k-week-number")},destroy:function(){var e=this,t=e._today;e.element.off(Q),e._title.off(Q),e[Fe].off(Q),e[Te].off(Q),e._destroySelectable(),x.destroy(e._table),t&&x.destroy(t.off(Q)),A.fn.destroy.call(e)},current:function(){return this._current},view:function(){return this._view},focus:function(e){e=e||this._table,this._bindTable(e),e.trigger("focus")},min:function(e){return this._option($,e)},max:function(e){return this._option("max",e)},navigateToPast:function(){this._navigate(Fe,-1)},navigateToFuture:function(){this._navigate(Te,1)},navigateUp:function(){var e=this,t=e._index;e._title.hasClass(oe)||e.navigate(e._current,++t)},navigateDown:function(e){var a=this,n=a._index,l=a.options.depth;if(e)return n===Ve[l]?(C(a._value,a._current)&&C(a._value,e)||(a.value(e),a.trigger(le)),t):(a.navigate(e,--n),t)},navigate:function(a,n){var l,r,s,o,c,u,d,f,g,v,_,h,k,b,w,D,y;n=isNaN(n)?Ve[n]:n,l=this,r=l.options,s=r.culture,o=r.min,c=r.max,u=l._title,d=l._table,f=l._oldTable,g=l._current,v=a&&+a>+g,_=n!==t&&n!==l._index,D=l.element.children(".k-calendar-view"),a||(a=g),l._current=a=new Oe((+i(a,o,c))),n===t?n=l._index:l._index=n,l._view=k=T.views[n],b=k.compare,w=n===Ve[ne],u.toggleClass(oe,w).attr(xe,w),w=b(a,o)<1,l[Fe].toggleClass(oe,w).attr(xe,w),l[Fe].hasClass(oe)&&l[Fe].removeClass(se),w=b(a,c)>-1,l[Te].toggleClass(oe,w).attr(xe,w),l[Te].hasClass(oe)&&l[Te].removeClass(se),d&&f&&f.data("animating")&&(f.kendoStop(!0,!0),d.kendoStop(!0,!0)),l._oldTable=d,d&&!l._changeView||(u.html(k.title(a,o,c,s)),l._table=h=e(k.content(Ne({min:o,max:c,date:a,url:r.url,dates:r.dates,format:r.format,otherMonth:!0,culture:s,disableDates:r.disableDates,isWeekColumnVisible:r.weekNumber,messages:r.messages,contentClasses:l.options.contentClasses},l[k.name]))),p(h,k.name),m(h),y=d&&d.data("start")===h.data("start"),l._animate({from:d,to:h,vertical:_,future:v,replace:y}),"modern"===l.options.componentType&&(D.removeClass("k-calendar-monthview k-calendar-yearview k-calendar-decadeview k-calendar-centuryview"),D.addClass("k-calendar-"+k.name+"view")),l.trigger(re),l._focus(a)),n===Ve[r.depth]&&l._selectDates.length>0&&l._visualizeSelectedDatesInView(),"single"===l.options.selectable&&n===Ve[r.depth]&&l._value&&!l.options.disableDates(l._value)&&l._class("k-state-selected",l._value),l._class(ce,a),!d&&l._cell&&l._cell.removeClass(ce),l._changeView=!0},selectDates:function(a){var n,l,r=this;return a===t?r._selectDates:(l=a.map(function(e){return e.getTime()}).filter(function(e,t,a){return a.indexOf(e)===t}).map(function(e){return new Date(e)}),n=e.grep(l,function(e){if(e)return+r._validateValue(new Date(e.setHours(0,0,0,0)))===+e}),r._selectDates=n.length>0?n:0===l.length?l:r._selectDates,r._visualizeSelectedDatesInView(),t)},value:function(e){var a,n=this,l=n._view,r=n._view;return e===t?n._value:(e=n._validateValue(e),e&&n._isMultipleSelection()&&(a=new Date((+e)),a.setHours(0,0,0,0),n._selectDates=[a],n.selectable._lastActive=null),l&&null===e&&n._cell?n._cell.removeClass(me):(n._changeView=!e||r&&0!==r.compare(e,n._current),n.navigate(e)),t)},_validateValue:function(e){var a=this,n=a.options,l=n.min,r=n.max;return null===e&&(a._current=v(a._current.getFullYear(),a._current.getMonth(),a._current.getDate())),e=O(e,n.format,n.culture),null!==e&&(e=new Oe((+e)),s(e,l,r)||(e=null)),null!==e&&a.options.disableDates(new Date((+e)))?a._value===t&&(a._value=null):a._value=e,a._value},_visualizeSelectedDatesInView:function(){var t,a=this,n={};e.each(a._selectDates,function(e,t){n[x.calendar.views[0].toDateString(t)]=t}),a.selectable.clear(),t=a._table.find(ve).filter(function(t,a){return n[e(a.firstChild).attr(x.attr(ie))]}),t.length>0&&a.selectable._selectElement(t,!0)},_isMultipleSelection:function(){var e=this;return"multiple"===e.options.selectable},_selectable:function(){var e,t,a=this;a._isMultipleSelection()&&(e=a.options.selectable,t=H.parseOptions(e),t.multiple&&a.element.attr("aria-multiselectable","true"),a.selectable=new H(a.wrapper,{aria:!0,inputSelectors:"input,textarea,.k-multiselect-wrap,select,button,.k-button>span,.k-button>img,span.k-icon.k-i-arrow-60-down,span.k-icon.k-i-arrow-60-up",multiple:t.multiple,filter:"table.k-month:eq(0) "+_e,change:Ae(a._onSelect,a),relatedTarget:Ae(a._onRelatedTarget,a)}))},_onRelatedTarget:function(e){var t=this;t.selectable.options.multiple&&e.is(_e)&&(t._current=F(e.find("a")),t._class(ce,F(e.find("a"))))},_onSelect:function(a){var n=this,l=a,r=H.parseOptions(n.options.selectable);return r.multiple?(l.event.ctrlKey||l.event.metaKey?e(l.event.currentTarget).is(_e)?n._toggleSelection(e(l.event.currentTarget)):(n._cellsBySelector(_e).each(function(t,a){var l=F(e(a).find("a"));n._deselect(l)}),n._addSelectedCellsToArray()):l.event.shiftKey?n._rangeSelection(n._cell):e(l.event.currentTarget).is(ve)?n.value(F(e(l.event.currentTarget).find("a"))):(n._selectDates=[],n._addSelectedCellsToArray()),n.trigger(le),t):(e(l.event.currentTarget).is("td")&&!e(l.event.currentTarget).hasClass("k-state-selected")?e(l.event.currentTarget).addClass("k-state-selected"):n._click(e(l.event.currentTarget).find("a")),t)},_destroySelectable:function(){var e=this;e.selectable&&(e.selectable.destroy(),e.selectable=null)},_toggleSelection:function(e){var t=this,a=F(e.find("a"));e.hasClass("k-state-selected")?t._selectDates.push(a):t._deselect(a)},_rangeSelection:function(e,t){var a,n=this,l=t||F(n.selectable.value().first().find("a")),r=F(e.find("a"));n.selectable._lastActive||n._value?l=n.selectable._lastActive?F(n.selectable._lastActive.find("a")):new Date((+n._value)):n.selectable._lastActive=t?n._cellByDate(n._view.toDateString(t),_e):n.selectable.value().first(),n._selectDates=[],a=u(l,r),d(n._selectDates,a,l,n.options.disableDates),n._visualizeSelectedDatesInView()},_cellsBySelector:function(e){var t=this;return t._table.find(e)},_addSelectedCellsToArray:function(){var t=this;t.selectable.value().each(function(a,n){var l=F(e(n.firstChild));t.options.disableDates(l)||t._selectDates.push(l)})},_deselect:function(e){var t=this,a=t._selectDates.map(Number).indexOf(+e);a!=-1&&t._selectDates.splice(a,1)},_dateInView:function(e){var t=this,a=F(t._cellsBySelector(_e+":first").find("a")),n=F(t._cellsBySelector(_e+":last").find("a"));return+e<=+n&&+e>=+a},_isNavigatable:function(e,t){var a,n,l=this,r=l.options.disableDates;return"month"==l._view.name?!r(e):(n=l.wrapper.find("."+ce).index(),a=l.wrapper.find(".k-content td:eq("+(n+t)+")"),a.is(_e)||!r(e))},_move:function(a){var n,l,r,o,c,u=this,d=u.options,f=a.keyCode,g=u._view,_=u._index,h=u.options.min,m=u.options.max,p=new Oe((+u._current)),k=x.support.isRtl(u.wrapper),b=u.options.disableDates;return a.target===u._table[0]&&(u._active=!0),f==N.RIGHT&&!k||f==N.LEFT&&k?(n=1,l=!0):f==N.LEFT&&!k||f==N.RIGHT&&k?(n=-1,l=!0):f==N.UP?(n=0===_?-7:-4,l=!0):f==N.DOWN?(n=0===_?7:4,l=!0):f==N.SPACEBAR?(n=0,l=!0):f!=N.HOME&&f!=N.END||(r=f==N.HOME?"first":"last",o=g[r](p),p=new Oe(o.getFullYear(),o.getMonth(),o.getDate(),p.getHours(),p.getMinutes(),p.getSeconds(),p.getMilliseconds()),p.setFullYear(o.getFullYear()),l=!0),a.ctrlKey||a.metaKey?f==N.RIGHT&&!k||f==N.LEFT&&k?(u.navigateToFuture(),l=!0):f==N.LEFT&&!k||f==N.RIGHT&&k?(u.navigateToPast(),l=!0):f==N.UP?(u.navigateUp(),l=!0):f==N.DOWN?(u._click(e(u._cell[0].firstChild)),l=!0):f!=N.ENTER&&f!=N.SPACEBAR||!u._isMultipleSelection()||(u._keyboardToggleSelection(a),c=F(e(u._cell[0]).find("a")),u._class(ce,c)):a.shiftKey?(n!==t||r)&&(r||g.setDate(p,n),s(p,h,m)||(p=i(p,d.min,d.max)),b(p)&&(p=u._nextNavigatable(p,n)),h=v(h.getFullYear(),h.getMonth(),h.getDate()),u._isMultipleSelection()?u._keyboardRangeSelection(a,p):u._focus(p)):(f==N.ENTER||f==N.SPACEBAR?("month"==g.name&&u._isMultipleSelection()?(u.value(F(e(u._cell.find("a")))),u.selectable._lastActive=e(u._cell[0]),u.trigger(le)):u._click(e(u._cell[0].firstChild)),l=!0):f==N.PAGEUP?(l=!0,u.navigateToPast()):f==N.PAGEDOWN&&(l=!0,u.navigateToFuture()),(n||r)&&(r||g.setDate(p,n),h=v(h.getFullYear(),h.getMonth(),h.getDate()),s(p,h,m)||(p=i(p,d.min,d.max)),u._isNavigatable(p,n)||(p=u._nextNavigatable(p,n)),u._isMultipleSelection()?u._dateInView(p)?(u._current=p,u._class(ce,p)):u.navigate(p):u._focus(p))),l&&a.preventDefault(),u._current},_keyboardRangeSelection:function(e,a){var n,l,r=this;return r._dateInView(a)?(r.selectable.options.filter=r.wrapper.find("table").length>1&&+a>+r._current?"table.k-month:eq(1) "+_e:"table.k-month:eq(0) "+_e,r._class(ce,a),r._current=a,r._rangeSelection(r._cellByDate(r._view.toDateString(a),_e),a),r.trigger(le),r.selectable.options.filter="table.k-month:eq(0) "+_e,t):(r._selectDates=[],n=r.selectable._lastActive?F(r.selectable._lastActive.find("a")):a,l=u(n,new Date((+a))),d(r._selectDates,l,n,r.options.disableDates),r.navigate(a),r._current=a,r.selectable._lastActive=r.selectable._lastActive||r._cellByDate(r._view.toDateString(a),_e),r.trigger(le),t)},_keyboardToggleSelection:function(t){var a=this;t.currentTarget=a._cell[0],a.selectable._lastActive=e(a._cell[0]),e(a._cell[0]).hasClass(me)?(a.selectable._unselect(e(a._cell[0])),a.selectable.trigger(le,{event:t})):a.selectable.value(e(a._cell[0]),{event:t})},_nextNavigatable:function(e,t){var a=this,n=!0,l=a._view,r=a.options.min,i=a.options.max,o=a.options.disableDates,c=new Date(e.getTime());for(l.setDate(c,-t);n;){if(l.setDate(e,t),!s(e,r,i)){e=c;break}n=o(e)}return e},_animate:function(e){var t=this,a=e.from,n=e.to,l=t._active,r=t.element.children(".k-calendar-view");a?a.parent().data("animating")?(a.off(Q),a.parent().kendoStop(!0,!0).remove(),a.remove(),r.append(n),t._focusView(l)):!a.is(":visible")||t.options.animation===!1||e.replace?(n.insertAfter(a),a.off(Q).remove(),t._focusView(l)):t[e.vertical?"_vertical":"_horizontal"](a,n,e.future):(r.append(n),t._bindTable(n))},_horizontal:function(e,t,a){var n=this,l=n._active,r=n.options.animation.horizontal,i=r.effects,s=L(e);i&&i.indexOf(te)!=-1&&(e.add(t).css({width:s}),e.wrap("<div/>"),n._focusView(l,e),e.parent().css({position:"relative",width:2*s,"float":ee,"margin-left":a?0:-s}),t[a?"insertAfter":"insertBefore"](e),Ne(r,{effects:te+":"+(a?"right":ee),complete:function(){e.off(Q).remove(),n._oldTable=null,t.unwrap(),n._focusView(l)}}),e.parent().kendoStop(!0,!0).kendoAnimate(r))},_vertical:function(e,t){var a,n,l=this,r=l.options.animation.vertical,i=r.effects,s=l._active;i&&i.indexOf("zoom")!=-1&&(t.insertBefore(e),e.css({position:"absolute",width:t.width()}),R&&(a=l._cellByDate(l._view.toDateString(l._current)),n=a.position(),n=n.left+parseInt(a.width()/2,10)+"px "+(n.top+parseInt(a.height()/2,10)+"px"),t.css(R,n)),e.kendoStop(!0,!0).kendoAnimate({effects:"fadeOut",duration:600,complete:function(){e.off(Q).remove(),l._oldTable=null,l._focusView(s)}}),t.kendoStop(!0,!0).kendoAnimate(r))},_cellByDate:function(t,a){return this._table.find(a?a:"td:not(."+ue+")").filter(function(){return e(this.firstChild).attr(x.attr(ie))===t})},_class:function(e,t){var a,n=this,l=n._cellID,r=n._cell,i=n._view.toDateString(t);r&&r.length&&(r[0].removeAttribute(Me),r[0].removeAttribute(Ye),r[0].removeAttribute(Z)),t&&"month"==n._view.name&&(a=n.options.disableDates(t)),n._cellsBySelector(n._isMultipleSelection()?ve:"td:not(."+ue+")").removeClass(e),r=n._cellByDate(i,"multiple"==n.options.selectable?ve:"td:not(."+ue+")").attr(Me,!0),(e===ce&&!n._active&&n.options.focusOnNav!==!1||a)&&(e=""),r.addClass(e),r[0]&&(n._cell=r),l&&(r.attr(Z,l),n._table[0].removeAttribute("aria-activedescendant"),n._table.attr("aria-activedescendant",l))},_bindTable:function(e){e.on(be,this._addClassProxy).on(pe,this._removeClassProxy)},_click:function(e){var t=this,a=t.options,n=new Date((+t._current)),l=F(e);V(l,0),"month"==t._view.name&&t.options.disableDates(l)&&(l=t._value),t._view.setDate(n,l),t.navigateDown(i(n,a.min,a.max))},_focus:function(e){var t=this,a=t._view;0!==a.compare(e,t._current)?t.navigate(e):(t._current=e,t._class(ce,e))},_focusView:function(e,t){e&&this.focus(t)},_viewWrapper:function(){var t=this,a=t.element,n=a.children(".k-calendar-view");n[0]||(n=e("<div class='k-calendar-view' />").insertAfter(a.find(Be)))},_footer:function(a){var n=this,l=r(),i=n.element,s=i.find(".k-footer");return a?(s[0]||(s=e('<div class="k-footer"><a href="#" class="k-link k-nav-today"></a></div>').appendTo(i)),n._today=s.show().find(".k-link").html(a(l)).attr("title",x.toString(l,"D",n.options.culture)),n._toggle(),t):(n._toggle(!1),s.hide(),t)},_header:function(){var e=this,t=e.element,a=e.options.linksSelector;t.find(Be)[0]||t.html(x.template(e.options.header.template)(e.options)),t.find(a).on(De+" "+ye+" "+be+" "+pe,f).on(J+" touchend"+Q,function(){return!1}),e._title=t.find("["+x.attr("action")+'="nav-up"]').on(J+" touchend"+Q,function(){e._active=e.options.focusOnNav!==!1,e.navigateUp()}),e[Fe]=t.find("["+x.attr("action")+'="prev"]').on(J+" touchend"+Q,function(){e._active=e.options.focusOnNav!==!1,e.navigateToPast()}),e[Te]=t.find("["+x.attr("action")+'="next"]').on(J+" touchend"+Q,function(){e._active=e.options.focusOnNav!==!1,e.navigateToFuture()}),t.find("["+x.attr("action")+'="today"]').on(J+" touchend"+Q,Ae(e._todayClick,e))},_navigate:function(e,t){var a,n=this,l=n._index+1,r=new Oe((+n._current));n._isMultipleSelection()&&(a=n._table.find("td:not(.k-other-month):not(.k-out-of-range)").has(".k-link").first(),r=F(a.find("a")),n._current=new Date((+r))),e=n[e],e.hasClass(oe)||(l>3?r.setFullYear(r.getFullYear()+100*t):T.views[l].setDate(r,t),n.navigate(r))},_option:function(e,a){var n,l=this,r=l.options,i=l._value||l._current;return a===t?r[e]:(a=O(a,r.format,r.culture),a&&(r[e]=new Oe((+a)),n=e===$?a>i:i>a,(n||w(i,a))&&(n&&(l._value=null),l._changeView=!0),l._changeView||(l._changeView=!(!r.month.content&&!r.month.empty)),l.navigate(l._value),l._toggle()),t)},_toggle:function(e){var a=this,n=a.options,l=a.options.disableDates(r()),i=a._today;e===t&&(e=s(r(),n.min,n.max)),i&&(i.off(J),e&&!l?i.addClass(ge).removeClass(oe).on(J,Ae(a._todayClick,a)):i.removeClass(ge).addClass(oe).on(J,g))},_todayClick:function(e){var t=this,a=Ve[t.options.depth],n=t.options.disableDates,l=r();e.preventDefault(),n(l)||(0===t._view.compare(t._current,l)&&t._index==a&&(t._changeView=!1),t._isMultipleSelection()&&(t._selectDates=[l],t.selectable._lastActive=null),t._value=l,t.navigate(l,a),t.trigger(le))},_templates:function(){var e=this,t=e.options,a=t.footer,n=t.month,l=n.content,r=n.weekNumber,i=n.empty,s='#=kendo.toString(data,"D","'+t.culture+'") #';e.month={content:W('<td#=data.cssClass# role="gridcell"><a tabindex="-1" class="k-link#=data.linkClass#" href="#=data.url#" '+x.attr(ie)+'="#=data.dateString#" title="#=data.title#">'+(l||"#=data.value#")+"</a></td>",{useWithBlock:!!l}),empty:W('<td role="gridcell">'+(i||"&nbsp;")+"</td>",{useWithBlock:!!i}),weekNumber:W('<td class="k-alt">'+(r||"#=data.weekNumber #")+"</td>",{useWithBlock:!!r})},a&&a!==!0&&(s=a),e.footer=a!==!1?W(s,{useWithBlock:!1}):null}});Y.plugin(We),T={firstDayOfMonth:function(e){return v(e.getFullYear(),e.getMonth(),1)},firstVisibleDay:function(e,t){t=t||x.culture().calendar;var a=t.firstDay,n=new Oe(e.getFullYear(),e.getMonth(),1,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds());for(n.setFullYear(e.getFullYear());n.getDay()!=a;)T.setTime(n,-1*Ce);return n},setTime:function(e,t){var a=e.getTimezoneOffset(),n=new Oe(e.getTime()+t),l=n.getTimezoneOffset()-a;e.setTime(n.getTime()+l*Se)},views:[{name:ae,title:function(e,t,a,n){return _(n).months.names[e.getMonth()]+" "+e.getFullYear()},content:function(e){var t=this,a=0,l=e.min,i=e.max,s=e.date,c=e.dates,u=e.format,d=e.culture,f=e.url,g=e.showHeader,h=e.otherMonth,m=e.isWeekColumnVisible,p=f&&c[0],b=_(d),w=b.firstDay,D=b.days,y=o(D.names,w),S=o(D.namesShort,w),C=T.firstVisibleDay(s,b),F=t.first(s),M=t.last(s),Y=t.toDateString,A=r(),N=e.contentClasses,O='<table tabindex="0" role="grid" class="'+N+'" cellspacing="0" data-start="'+Y(C)+'">';for(O+=g?'<caption class="k-month-header">'+this.title(s,l,i,d)+'</caption><thead><tr role="row">':'<thead><tr role="row">',m&&(O+='<th scope="col" class="k-alt">'+e.messages.weekColumnHeader+"</th>");a<7;a++)O+='<th scope="col" title="'+y[a]+'">'+S[a]+"</th>";return V(A,0),A=+A,n({cells:42,perRow:7,html:O+='</tr></thead><tbody><tr role="row">',start:C,isWeekColumnVisible:m,weekNumber:e.weekNumber,min:v(l.getFullYear(),l.getMonth(),l.getDate()),max:v(i.getFullYear(),i.getMonth(),i.getDate()),otherMonth:h,content:e.content,lastDayOfMonth:M,empty:e.empty,setter:t.setDate,disableDates:e.disableDates,build:function(e,t,a){var n=[],l=e.getDay(),r="",i="#";return(e<F||e>M)&&n.push(ue),a(e)&&n.push(oe),+e===A&&n.push("k-today"),0!==l&&6!==l||n.push("k-weekend"),p&&k(+e,c)&&(i=f.replace("{0}",x.toString(e,u,d)),r=" k-action-link"),{date:e,dates:c,ns:x.ns,title:x.toString(e,"D",d),value:e.getDate(),dateString:Y(e),cssClass:n[0]?' class="'+n.join(" ")+'"':"",linkClass:r,url:i}},weekNumberBuild:function(e){return{weekNumber:B(e,x.culture().calendar.firstDay),currentDate:e}}})},first:function(e){return T.firstDayOfMonth(e)},last:function(e){var t=v(e.getFullYear(),e.getMonth()+1,0),a=T.firstDayOfMonth(e),n=Math.abs(t.getTimezoneOffset()-a.getTimezoneOffset());return n&&t.setHours(a.getHours()+n/60),t},compare:function(e,t){var a,n=e.getMonth(),l=e.getFullYear(),r=t.getMonth(),i=t.getFullYear();return a=l>i?1:l<i?-1:n==r?0:n>r?1:-1},setDate:function(e,t){var a=e.getHours();t instanceof Oe?e.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()):T.setTime(e,t*Ce),V(e,a)},toDateString:function(e){return e.getFullYear()+"/"+e.getMonth()+"/"+e.getDate()}},{name:"year",title:function(e){return e.getFullYear()},content:function(e){var t=_(e.culture).months.namesAbbr,a=this.toDateString,l=e.min,r=e.max,i="";return e.showHeader&&(i+='<table tabindex="0" role="grid" class="k-content k-meta-view" cellspacing="0"><caption class="k-meta-header">',i+=this.title(e.date),i+='</caption><tbody><tr role="row">'),n({min:v(l.getFullYear(),l.getMonth(),1),max:v(r.getFullYear(),r.getMonth(),1),start:v(e.date.getFullYear(),0,1),html:i,setter:this.setDate,build:function(e){return{value:t[e.getMonth()],ns:x.ns,dateString:a(e),cssClass:""}}})},first:function(e){return v(e.getFullYear(),0,e.getDate())},last:function(e){return v(e.getFullYear(),11,e.getDate())},compare:function(e,t){return l(e,t)},setDate:function(e,t){var a,n=e.getHours();t instanceof Oe?(a=t.getMonth(),e.setFullYear(t.getFullYear(),a,e.getDate()),a!==e.getMonth()&&e.setDate(0)):(a=e.getMonth()+t,e.setMonth(a),a>11&&(a-=12),a>0&&e.getMonth()!=a&&e.setDate(0)),V(e,n)},toDateString:function(e){return e.getFullYear()+"/"+e.getMonth()+"/1"}},{name:"decade",title:function(e,t,n){return a(e,t,n,10)},content:function(e){var t=e.date.getFullYear(),a=this.toDateString,l="";return e.showHeader&&(l+='<table tabindex="0" role="grid" class="k-content k-meta-view" cellspacing="0"><caption class="k-meta-header">',l+=this.title(e.date,e.min,e.max),l+='</caption><tbody><tr role="row">'),n({start:v(t-t%10-1,0,1),min:v(e.min.getFullYear(),0,1),max:v(e.max.getFullYear(),0,1),otherMonth:e.otherMonth,html:l,setter:this.setDate,build:function(e,t){return{value:e.getFullYear(),ns:x.ns,dateString:a(e),cssClass:0===t||11==t?de:""}}})},first:function(e){var t=e.getFullYear();return v(t-t%10,e.getMonth(),e.getDate())},last:function(e){var t=e.getFullYear();return v(t-t%10+9,e.getMonth(),e.getDate())},compare:function(e,t){return l(e,t,10)},setDate:function(e,t){c(e,t,1)},toDateString:function(e){return e.getFullYear()+"/0/1"}},{name:ne,title:function(e,t,n){return a(e,t,n,100)},content:function(e){var t=e.date.getFullYear(),a=e.min.getFullYear(),l=e.max.getFullYear(),r=this.toDateString,i=a,s=l,o="";return i-=i%10,s-=s%10,s-i<10&&(s=i+9),e.showHeader&&(o+='<table tabindex="0" role="grid" class="k-content k-meta-view" cellspacing="0"><caption class="k-meta-header">',o+=this.title(e.date,e.min,e.max),o+='</caption><tbody><tr role="row">'),n({start:v(t-t%100-10,0,1),min:v(i,0,1),max:v(s,0,1),otherMonth:e.otherMonth,html:o,setter:this.setDate,build:function(e,t){var n=e.getFullYear(),i=n+9;return n<a&&(n=a),i>l&&(i=l),{ns:x.ns,value:n+" - "+i,dateString:r(e),cssClass:0===t||11==t?de:""}}})},first:function(e){var t=e.getFullYear();return v(t-t%100,e.getMonth(),e.getDate())},last:function(e){var t=e.getFullYear();return v(t-t%100+99,e.getMonth(),e.getDate())},compare:function(e,t){return l(e,t,100)},setDate:function(e,t){c(e,t,10)},toDateString:function(e){var t=e.getFullYear();return t-t%10+"/0/1"}}]},T.isEqualDatePart=b,T.isEqualDate=C,T.makeUnselectable=m,T.restrictValue=i,T.isInRange=s,T.addClassToViewContainer=p,T.normalize=h,T.viewsEnum=Ve,T.disabled=D,T.toDateObject=F,T.getToday=r,T.createDate=v,x.calendar=T}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,a){(a||t)()});
!function(e,define){define("kendo.popup.min",["kendo.core.min"],e)}(function(){return function(e,t){function o(t,o){return!(!t||!o)&&(t===o||e.contains(t,o))}var n,i,s,r,a=window.kendo,l=a.ui,d=l.Widget,p=a.Class,c=a.support,f=a.getOffset,u=a._outerWidth,h=a._outerHeight,m="open",g="close",w="deactivate",v="activate",_="center",b="left",y="right",k="top",x="bottom",T="absolute",z="hidden",C="body",P="location",S="position",E="visible",I="effects",R="k-state-active",A="k-state-border",D=/k-state-border-(\w+)/,O=".k-picker-wrap, .k-dropdown-wrap, .k-link",F="down",H=e(document.documentElement),N=e.proxy,W=e(window),L="scroll",j=c.transitions.css,M=j+"transform",K=e.extend,U=".kendoPopup",Y=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],Q=d.extend({init:function(t,o){var n,i=this;o=o||{},o.isRtl&&(o.origin=o.origin||x+" "+y,o.position=o.position||k+" "+y),d.fn.init.call(i,t,o),t=i.element,o=i.options,i.collisions=o.collision?o.collision.split(" "):[],i.downEvent=a.applyEventMap(F,a.guid()),1===i.collisions.length&&i.collisions.push(i.collisions[0]),n=e(i.options.anchor).closest(".k-popup,.k-group").filter(":not([class^=km-])"),o.appendTo=e(e(o.appendTo)[0]||n[0]||document.body),i.element.hide().addClass("k-popup k-group k-reset").toggleClass("k-rtl",!!o.isRtl).css({position:T}).appendTo(o.appendTo).attr("aria-hidden",!0).on("mouseenter"+U,function(){i._hovered=!0}).on("wheel"+U,function(t){var o=e(t.target).find(".k-list"),n=o.parent();o.length&&o.is(":visible")&&(0===n.scrollTop()&&t.originalEvent.deltaY<0||n.scrollTop()===n.prop("scrollHeight")-n.prop("offsetHeight")&&t.originalEvent.deltaY>0)&&t.preventDefault()}).on("mouseleave"+U,function(){i._hovered=!1}),i.wrapper=e(),o.animation===!1&&(o.animation={open:{effects:{}},close:{hide:!0,effects:{}}}),K(o.animation.open,{complete:function(){i.wrapper.css({overflow:E}),i._activated=!0,i._trigger(v)}}),K(o.animation.close,{complete:function(){i._animationClose()}}),i._mousedownProxy=function(e){i._mousedown(e)},i._resizeProxy=c.mobileOS.android?function(e){setTimeout(function(){i._resize(e)},600)}:function(e){i._resize(e)},o.toggleTarget&&e(o.toggleTarget).on(o.toggleEvent+U,e.proxy(i.toggle,i))},events:[m,v,g,w],options:{name:"Popup",toggleEvent:"click",origin:x+" "+b,position:k+" "+b,anchor:C,appendTo:null,collision:"flip fit",viewport:window,copyAnchorStyles:!0,autosize:!1,modal:!1,adjustSize:{width:0,height:0},animation:{open:{effects:"slideIn:down",transition:!0,duration:200},close:{duration:100,hide:!0}}},_animationClose:function(){var e=this,t=e.wrapper.data(P);e.wrapper.hide(),t&&e.wrapper.css(t),e.options.anchor!=C&&e._hideDirClass(),e._closing=!1,e._trigger(w)},destroy:function(){var t,o=this,n=o.options,i=o.element.off(U);d.fn.destroy.call(o),n.toggleTarget&&e(n.toggleTarget).off(U),n.modal||(H.off(o.downEvent,o._mousedownProxy),o._toggleResize(!1)),a.destroy(o.element.children()),i.removeData(),n.appendTo[0]===document.body&&(t=i.parent(".k-animation-container"),t[0]?t.remove():i.remove())},open:function(o,n){var i,s,r=this,l={isFixed:!isNaN(parseInt(n,10)),x:o,y:n},d=r.element,p=r.options,f=e(p.anchor),u=d[0]&&d.hasClass("km-widget");if(!r.visible()){if(p.copyAnchorStyles&&(u&&"font-size"==Y[0]&&Y.shift(),d.css(a.getComputedStyles(f[0],Y))),d.data("animating")||r._trigger(m))return;r._activated=!1,p.modal||(H.off(r.downEvent,r._mousedownProxy).on(r.downEvent,r._mousedownProxy),r._toggleResize(!1),r._toggleResize(!0)),r.wrapper=s=a.wrap(d,p.autosize).css({overflow:z,display:"block",position:T}).attr("aria-hidden",!1),c.mobileOS.android&&s.css(M,"translatez(0)"),s.css(S),e(p.appendTo)[0]==document.body&&s.css(k,"-10000px"),r.flipped=r._position(l),i=r._openAnimation(),p.anchor!=C&&r._showDirClass(i),d.is(":visible")||d.data("olddisplay")!==t||(d.show(),d.data("olddisplay",d.css("display")),d.hide()),d.data(I,i.effects).kendoStop(!0).kendoAnimate(i).attr("aria-hidden",!1)}},_location:function(t){var o,n,i=this,s=i.element,r=i.options,l=e(r.anchor),d=s[0]&&s.hasClass("km-widget");return r.copyAnchorStyles&&(d&&"font-size"==Y[0]&&Y.shift(),s.css(a.getComputedStyles(l[0],Y))),i.wrapper=o=a.wrap(s,r.autosize).css({overflow:z,display:"block",position:T}),c.mobileOS.android&&o.css(M,"translatez(0)"),o.css(S),e(r.appendTo)[0]==document.body&&o.css(k,"-10000px"),i._position(t||{}),n=o.offset(),{width:a._outerWidth(o),height:a._outerHeight(o),left:n.left,top:n.top}},_openAnimation:function(){var e=K(!0,{},this.options.animation.open);return e.effects=a.parseEffects(e.effects,this.flipped),e},_hideDirClass:function(){var t=e(this.options.anchor),o=((t.attr("class")||"").match(D)||["","down"])[1],n=A+"-"+o;t.removeClass(n).children(O).removeClass(R).removeClass(n),this.element.removeClass(A+"-"+a.directions[o].reverse)},_showDirClass:function(t){var o=t.effects.slideIn?t.effects.slideIn.direction:"down",n=A+"-"+o;e(this.options.anchor).addClass(n).children(O).addClass(R).addClass(n),this.element.addClass(A+"-"+a.directions[o].reverse)},position:function(){this.visible()&&(this.flipped=this._position())},toggle:function(){var e=this;e[e.visible()?g:m]()},visible:function(){return this.element.is(":"+E)},close:function(o){var n,i,s,r,l=this,d=l.options;if(l.visible()){if(n=l.wrapper[0]?l.wrapper:a.wrap(l.element).hide(),l._toggleResize(!1),l._closing||l._trigger(g))return l._toggleResize(!0),t;l.element.find(".k-popup").each(function(){var t=e(this),n=t.data("kendoPopup");n&&n.close(o)}),H.off(l.downEvent,l._mousedownProxy),o?i={hide:!0,effects:{}}:(i=K(!0,{},d.animation.close),s=l.element.data(I),r=i.effects,!r&&!a.size(r)&&s&&a.size(s)&&(i.effects=s,i.reverse=!0),l._closing=!0),l.element.kendoStop(!0).attr("aria-hidden",!0),n.css({overflow:z}).attr("aria-hidden",!0),l.element.kendoAnimate(i),o&&l._animationClose()}},_trigger:function(e){return this.trigger(e,{type:e})},_resize:function(e){var t=this;c.resize.indexOf(e.type)!==-1?(clearTimeout(t._resizeTimeout),t._resizeTimeout=setTimeout(function(){t._position(),t._resizeTimeout=null},50)):(!t._hovered||t._activated&&t.element.hasClass("k-list-container"))&&t.close()},_toggleResize:function(e){var t=e?"on":"off",o=c.resize;c.mobileOS.ios||c.mobileOS.android||c.browser.safari||(o+=" "+L),e&&!this.scrollableParents&&(this.scrollableParents=this._scrollableParents()),this.scrollableParents&&this.scrollableParents.length&&this.scrollableParents[t](L,this._resizeProxy),W[t](o,this._resizeProxy)},_mousedown:function(t){var n=this,i=n.element[0],s=n.options,r=e(s.anchor)[0],l=s.toggleTarget,d=a.eventTarget(t),p=e(d).closest(".k-popup"),c=p.parent().parent(".km-shim").length;p=p[0],!c&&p&&p!==n.element[0]||"popover"!==e(t.target).closest("a").data("rel")&&(o(i,d)||o(r,d)||l&&o(e(l)[0],d)||n.close())},_fit:function(e,t,o){var n=0;return e+t>o&&(n=o-(e+t)),e<0&&(n=-e),n},_flip:function(e,t,o,n,i,s,r){var a=0;return r=r||t,s!==i&&s!==_&&i!==_&&(e+r>n&&(a+=-(o+t)),e+a<0&&(a+=o+t)),a},_scrollableParents:function(){return e(this.options.anchor).parentsUntil("body").filter(function(e,t){return a.isScrollable(t)})},_position:function(t){var o,n,i,s,r,l,d,p,m,g,w,v,_,b,y,k,x,z=this,C=z.element,E=z.wrapper,I=z.options,R=e(I.viewport),A=c.zoomLevel(),D=!!(R[0]==window&&window.innerWidth&&A<=1.02),O=e(I.anchor),F=I.origin.toLowerCase().split(" "),H=I.position.toLowerCase().split(" "),N=z.collisions,W=10002,L=0,j=document.documentElement;if(r=I.viewport===window?{top:window.pageYOffset||document.documentElement.scrollTop||0,left:window.pageXOffset||document.documentElement.scrollLeft||0}:R.offset(),D?(l=window.innerWidth,d=window.innerHeight):(l=R.width(),d=R.height()),D&&j.scrollHeight-j.clientHeight>0&&(p=I.isRtl?-1:1,l-=p*a.support.scrollbar()),o=O.parents().filter(E.siblings()),o[0])if(i=Math.max(+o.css("zIndex"),0))W=i+10;else for(n=O.parentsUntil(o),s=n.length;L<s;L++)i=+e(n[L]).css("zIndex"),i&&W<i&&(W=i+10);return E.css("zIndex",W),E.css(t&&t.isFixed?{left:t.x,top:t.y}:z._align(F,H)),m=f(E,S,O[0]===E.offsetParent()[0]),g=f(E),w=O.offsetParent().parent(".k-animation-container,.k-popup,.k-group"),w.length&&(m=f(E,S,!0),g=f(E)),g.top-=r.top,g.left-=r.left,z.wrapper.data(P)||E.data(P,K({},m)),v=K({},g),_=K({},m),b=I.adjustSize,"fit"===N[0]&&(_.top+=z._fit(v.top,h(E)+b.height,d/A)),"fit"===N[1]&&(_.left+=z._fit(v.left,u(E)+b.width,l/A)),y=K({},_),k=h(C),x=h(E),!E.height()&&k&&(x+=k),"flip"===N[0]&&(_.top+=z._flip(v.top,k,h(O),d/A,F[0],H[0],x)),"flip"===N[1]&&(_.left+=z._flip(v.left,u(C),u(O),l/A,F[1],H[1],u(E))),C.css(S,T),E.css(_),_.left!=y.left||_.top!=y.top},_align:function(t,o){var n,i=this,s=i.wrapper,r=e(i.options.anchor),a=t[0],l=t[1],d=o[0],p=o[1],c=f(r),m=e(i.options.appendTo),g=u(s),w=h(s)||h(s.children().first()),v=u(r),b=h(r),k=c.top,T=c.left,z=Math.round;return m[0]!=document.body&&(n=f(m),k-=n.top,T-=n.left),a===x&&(k+=b),a===_&&(k+=z(b/2)),d===x&&(k-=w),d===_&&(k-=z(w/2)),l===y&&(T+=v),l===_&&(T+=z(v/2)),p===y&&(T-=g),p===_&&(T-=z(g/2)),{top:k,left:T}}});l.plugin(Q),n=a.support.stableSort,i="kendoTabKeyTrap",s="a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex], *[contenteditable]",r=p.extend({init:function(t){this.element=e(t),this.element.autoApplyNS(i)},trap:function(){this.element.on("keydown",N(this._keepInTrap,this))},removeTrap:function(){this.element.kendoDestroy(i)},destroy:function(){this.element.kendoDestroy(i),this.element=t},shouldTrap:function(){return!0},_keepInTrap:function(e){var t,o,n;9===e.which&&this.shouldTrap()&&!e.isDefaultPrevented()&&(t=this._focusableElements(),o=this._sortFocusableElements(t),n=this._nextFocusable(e,o),this._focus(n),e.preventDefault())},_focusableElements:function(){var t=this.element.find(s).filter(function(t,o){return o.tabIndex>=0&&e(o).is(":visible")&&!e(o).is("[disabled]")});return this.element.is("[tabindex]")&&t.push(this.element[0]),t},_sortFocusableElements:function(e){var t,o;return n?t=e.sort(function(e,t){return e.tabIndex-t.tabIndex}):(o="__k_index",e.each(function(e,t){t.setAttribute(o,e)}),t=e.sort(function(e,t){return e.tabIndex===t.tabIndex?parseInt(e.getAttribute(o),10)-parseInt(t.getAttribute(o),10):e.tabIndex-t.tabIndex}),e.removeAttr(o)),t},_nextFocusable:function(e,t){var o=t.length,n=t.index(e.target);return t.get((n+(e.shiftKey?-1:1))%o)},_focus:function(e){return"IFRAME"==e.nodeName?(e.contentWindow.document.body.focus(),t):(e.focus(),"INPUT"==e.nodeName&&e.setSelectionRange&&this._haveSelectionRange(e)&&e.setSelectionRange(0,e.value.length),t)},_haveSelectionRange:function(e){var t=e.type.toLowerCase();return"text"===t||"search"===t||"url"===t||"tel"===t||"password"===t}}),l.Popup.TabKeyTrap=r}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,o){(o||t)()});
!function(e,define){define("kendo.datepicker.min",["kendo.calendar.min","kendo.popup.min","kendo.dateinput.min"],e)}(function(){return function(e,t){function a(t){var a=t.parseFormats,n=t.format;S.normalize(t),a=e.isArray(a)?a:[a],a.length||a.push("yyyy-MM-dd"),e.inArray(n,a)===-1&&a.splice(0,0,t.format),t.parseFormats=a}function n(e){e.preventDefault()}var i,o=window.kendo,r=o.ui,l=r.Widget,s=o.parseDate,u=o.keys,d=o.support,p=o.template,c=o._activeElement,m="<div />",f="<span />",_=".kendoDatePicker",v="click"+_,h=d.mouseAndTouchPresent?o.applyEventMap("up",_.slice(1)):v,g="open",w="close",y="change",b="disabled",k="readonly",D="k-state-default",x="k-state-focused",I="k-state-selected",A="k-state-disabled",T="k-state-hover",V="mouseenter"+_+" mouseleave"+_,C="mousedown"+_,O="id",P="min",R="max",E="month",N="aria-disabled",F="aria-expanded",W="aria-hidden",S=o.calendar,H=S.isInRange,M=S.restrictValue,q=S.isEqualDatePart,z=e.extend,K=e.proxy,U=Date,j=function(t){var a,n=this,i=document.body,l=e(m).attr(W,"true").addClass("k-calendar-container");n.options=t=t||{},a=t.id,t.omitPopup?l=t.dateDiv:(l.appendTo(i),n.popup=new r.Popup(l,z(t.popup,t,{name:"Popup",isRtl:o.support.isRtl(t.anchor)}))),a&&(a+="_dateview",l.attr(O,a),n._dateViewID=a),n.div=l,n.value(t.value)};j.prototype={_calendar:function(){var t,a=this,i=a.calendar,l=a.options;i||(t=e(m).attr(O,o.guid()).appendTo(l.omitPopup?l.dateDiv:a.popup.element).on(C,n).on(v,"td:has(.k-link)",K(a._click,a)),a.calendar=i=new r.Calendar(t,{componentType:l.componentType}),a._setOptions(l),o.calendar.makeUnselectable(i.element),i.navigate(a._value||a._current,l.start),a.value(a._value))},_setOptions:function(e){this.calendar.setOptions({focusOnNav:!1,change:e.change,culture:e.culture,dates:e.dates,depth:e.depth,footer:e.footer,format:e.format,max:e.max,min:e.min,month:e.month,weekNumber:e.weekNumber,start:e.start,disableDates:e.disableDates})},setOptions:function(e){var t=this.options,a=e.disableDates;a&&(e.disableDates=S.disabled(a)),this.options=z(t,e,{change:t.change,close:t.close,open:t.open}),this.calendar&&this._setOptions(this.options)},destroy:function(){this.popup&&this.popup.destroy()},open:function(){var e,t=this;t._calendar(),e=t.popup._hovered,t.popup._hovered=!0,t.popup.open(),setTimeout(function(){t.popup._hovered=e},1)},close:function(){this.popup.close()},min:function(e){this._option(P,e)},max:function(e){this._option(R,e)},toggle:function(){var e=this;e[e.popup.visible()?w:g]()},move:function(e){var t=this,a=e.keyCode,n=t.calendar,i=e.ctrlKey&&a==u.DOWN||a==u.ENTER,o=!1;if(e.altKey)a==u.DOWN?(t.open(),e.preventDefault(),o=!0):a==u.UP&&(t.close(),e.preventDefault(),o=!0);else if(t.popup&&t.popup.visible()){if(a==u.ESC||i&&n._cell.hasClass(I))return t.close(),e.preventDefault(),!0;a!=u.SPACEBAR&&(t._current=n._move(e)),o=!0}return o},current:function(e){this._current=e,this.calendar&&this.calendar._focus(e)},value:function(e){var t=this,a=t.calendar,n=t.options,i=n.disableDates;i&&i(e)&&(e=null),t._value=e,t._current=new U((+M(e,n.min,n.max))),a&&a.value(e)},_click:function(e){e.currentTarget.className.indexOf(I)!==-1&&(this.calendar.trigger("change"),this.close())},_option:function(e,t){var a=this,n=a.calendar;a.options[e]=t,n&&n[e](t)}},j.normalize=a,o.DateView=j,i=l.extend({init:function(t,n){var i,r,u=this;l.fn.init.call(u,t,n),t=u.element,n=u.options,n.disableDates=o.calendar.disabled(n.disableDates),n.min=s(t.attr("min"))||s(n.min),n.max=s(t.attr("max"))||s(n.max),a(n),u._initialOptions=z({},n),u._wrapper(),u.dateView=new j(z({},n,{id:t.attr(O),anchor:u.wrapper,change:function(){u._change(this.value()),u.close()},close:function(e){u.trigger(w)?e.preventDefault():(t.attr(F,!1),r.attr(W,!0))},open:function(e){var a,n=u.options;u.trigger(g)?e.preventDefault():(u.element.val()!==u._oldText&&(a=s(t.val(),n.parseFormats,n.culture),u.dateView[a?"current":"value"](a)),t.attr(F,!0),r.attr(W,!1),u._updateARIA(a))}})),r=u.dateView.div,u._icon();try{t[0].setAttribute("type","text")}catch(d){t[0].type="text"}t.addClass("k-input").attr({role:"combobox","aria-expanded":!1,"aria-owns":u.dateView._dateViewID,autocomplete:"off"}),u._reset(),u._template(),i=t.is("[disabled]")||e(u.element).parents("fieldset").is(":disabled"),i?u.enable(!1):u.readonly(t.is("[readonly]")),u._createDateInput(n),u._old=u._update(n.value||u.element.val()),u._oldText=t.val(),o.notify(u)},events:[g,w,y],options:{name:"DatePicker",value:null,footer:"",format:"",culture:"",parseFormats:[],min:new Date(1900,0,1),max:new Date(2099,11,31),start:E,depth:E,animation:{},month:{},dates:[],disableDates:null,ARIATemplate:'Current focused date is #=kendo.toString(data.current, "D")#',dateInput:!1,weekNumber:!1},setOptions:function(e){var t=this,n=t._value;l.fn.setOptions.call(t,e),e=t.options,e.min=s(e.min),e.max=s(e.max),a(e),t.dateView.setOptions(e),t._createDateInput(e),t._dateInput||t.element.val(o.toString(n,e.format,e.culture)),n&&t._updateARIA(n)},_editable:function(e){var t=this,a=t._dateIcon.off(_),i=t.element.off(_),o=t._inputWrapper.off(_),r=e.readonly,l=e.disable;r||l?(o.addClass(l?A:D).removeClass(l?D:A),i.attr(b,l).attr(k,r).attr(N,l)):(o.addClass(D).removeClass(A).on(V,t._toggleHover),i&&i.length&&(i[0].removeAttribute(b),i[0].removeAttribute(k)),i.attr(N,!1).on("keydown"+_,K(t._keydown,t)).on("focusout"+_,K(t._blur,t)).on("focus"+_,function(){t._inputWrapper.addClass(x)}),a.on(h,K(t._click,t)).on(C,n))},readonly:function(e){this._editable({readonly:e===t||e,disable:!1}),this._dateInput&&this._dateInput._editable({readonly:e===t||e,disable:!1})},enable:function(e){this._editable({readonly:!1,disable:!(e=e===t||e)}),this._dateInput&&this._dateInput._editable({readonly:!1,disable:!(e=e===t||e)})},destroy:function(){var e=this;l.fn.destroy.call(e),e.dateView.destroy(),e.element.off(_),e._dateIcon.off(_),e._inputWrapper.off(_),e._form&&e._form.off("reset",e._resetHandler)},open:function(){this.dateView.open()},close:function(){this.dateView.close()},min:function(e){return this._option(P,e)},max:function(e){return this._option(R,e)},value:function(e){var a=this;return e===t?a._value:(a._old=a._update(e),null===a._old&&a.element.val(""),a._oldText=a.element.val(),t)},_toggleHover:function(t){e(t.currentTarget).toggleClass(T,"mouseenter"===t.type)},_blur:function(){var e=this,t=e.element.val();e.close(),t!==e._oldText&&(e._change(t),t||e.dateView.current(o.calendar.getToday())),e._inputWrapper.removeClass(x)},_click:function(e){var t=this;t.dateView.toggle(),t._focusElement(e.type)},_focusElement:function(e){var t=this.element;d.touch&&(!d.mouseAndTouchPresent||(e||"").match(/touch/i))||t[0]===c()||t.trigger("focus")},_change:function(e){var t,a,n,i=this,r=i.element.val();e=i._update(e),t=!o.calendar.isEqualDate(i._old,e),a=t&&!i._typing,n=r!==i.element.val(),(a||n)&&i.element.trigger(y),t&&(i._old=e,i._oldText=i.element.val(),i.trigger(y)),i._typing=!1},_keydown:function(e){var t=this,a=t.dateView,n=t.element.val(),i=!1;a.popup.visible()||e.keyCode!=u.ENTER||n===t._oldText?(i=a.move(e),t._updateARIA(a._current),i?t._dateInput&&e.stopImmediatePropagation&&e.stopImmediatePropagation():t._typing=!0):t._change(n)},_icon:function(){var t,a=this,n=a.element;t=n.next("span.k-select"),t[0]||(t=e('<span unselectable="on" class="k-select" aria-label="select"><span class="k-icon k-i-calendar"></span></span>').insertAfter(n)),a._dateIcon=t.attr({role:"button","aria-controls":a.dateView._dateViewID})},_option:function(e,a){var n=this,i=n.options;return a===t?i[e]:(a=s(a,i.parseFormats,i.culture),a&&(i[e]=new U((+a)),n.dateView[e](a)),t)},_update:function(e){var t,a=this,n=a.options,i=n.min,r=n.max,l=a._value,u=s(e,n.parseFormats,n.culture),d=null===u&&null===l||u instanceof Date&&l instanceof Date;return n.disableDates(u)&&(u=null,a._old||a.element.val()||(e=null)),+u===+l&&d?(t=o.toString(u,n.format,n.culture),t!==e&&a.element.val(null===u?e:t),u):(null!==u&&q(u,i)?u=M(u,i,r):H(u,i,r)||(u=null),a._value=u,a.dateView.value(u),a._dateInput&&u?a._dateInput.value(u||e):a.element.val(o.toString(u||e,n.format,n.culture)),a._updateARIA(u),u)},_wrapper:function(){var t,a=this,n=a.element;t=n.parents(".k-datepicker"),t[0]||(t=n.wrap(f).parent().addClass("k-picker-wrap k-state-default"),t=t.wrap(f).parent()),t[0].style.cssText=n[0].style.cssText,n.css({width:"100%",height:n[0].style.height}),a.wrapper=t.addClass("k-widget k-datepicker").addClass(n[0].className).removeClass("input-validation-error"),a._inputWrapper=e(t[0].firstChild)},_reset:function(){var t=this,a=t.element,n=a.attr("form"),i=t.options,r=i.disableDates,l=i.parseFormats.length?i.parseFormats:null,s=t._initialOptions.value,u=n?e("#"+n):a.closest("form"),d=a[0].defaultValue;s&&r&&r(s)&&(s=null),d&&o.parseDate(d,l,i.culture)||!s||a.attr("value",o.toString(s,i.format,i.culture)),u[0]&&(t._resetHandler=function(){t.value(s||a[0].defaultValue),t.max(t._initialOptions.max),t.min(t._initialOptions.min)},t._form=u.on("reset",t._resetHandler))},_template:function(){this._ariaTemplate=p(this.options.ARIATemplate)},_createDateInput:function(e){this._dateInput&&(this._dateInput.destroy(),this._dateInput=null),e.dateInput&&(this._dateInput=new r.DateInput(this.element,{culture:e.culture,format:e.format,min:e.min,max:e.max}))},_updateARIA:function(e){var t,a=this,n=a.dateView.calendar;a.element&&a.element.length&&a.element[0].removeAttribute("aria-activedescendant"),n&&(t=n._cell,t.attr("aria-label",a._ariaTemplate({current:e||n.current()})),a.element.attr("aria-activedescendant",t.attr("id")))}}),r.plugin(i)}(window.kendo.jQuery),window.kendo},"function"==typeof define&&define.amd?define:function(e,t,a){(a||t)()});
!function(e){"function"==typeof define&&define.amd?define(["kendo.core.min"],e):e()}(function(){!function(e,y){kendo.cultures["en-AU"]={name:"en-AU",numberFormat:{pattern:["-n"],decimals:2,",":",",".":".",groupSize:[3],percent:{pattern:["-n%","n%"],decimals:2,",":",",".":".",groupSize:[3],symbol:"%"},currency:{name:"Australian Dollar",abbr:"AUD",pattern:["-$n","$n"],decimals:2,",":",",".":".",groupSize:[3],symbol:"$"}},calendars:{standard:{days:{names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],namesAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],namesShort:["Su","Mo","Tu","We","Th","Fr","Sa"]},months:{names:["January","February","March","April","May","June","July","August","September","October","November","December"],namesAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]},AM:["AM","am","AM"],PM:["PM","pm","PM"],patterns:{d:"d/MM/yyyy",D:"dddd, d MMMM yyyy",F:"dddd, d MMMM yyyy h:mm:ss tt",g:"d/MM/yyyy h:mm tt",G:"d/MM/yyyy h:mm:ss tt",m:"d MMMM",M:"d MMMM",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",t:"h:mm tt",T:"h:mm:ss tt",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",y:"MMMM yyyy",Y:"MMMM yyyy"},"/":"/",":":":",firstDay:1}}}}(this)});
!function(c){"use strict";var e;function l(e,t){if(this.$form=c(e),this.submitted=!1,this.nextUploadId=1,this.removedUploadUids=[],this.captchaRefreshQueue=[],this.uploadQueue=[],this.uploadElements=[],this.logicCache={},!this.$form.length)throw new Error("Form not found.");if(this.$form.data("quform"))throw new Error("Quform already attached.");this.$form.data("quform",this),this.options=c.extend({},l.defaults,t),c.isFunction(c.scrollTo)&&c.isFunction(c.fn.scrollTo)||(this.options.scrolling=!1),this.$wrapper=this.$form.closest(".quform"),this.$elements=c(".quform-elements",this.$form),this.$loading=c(".quform-loading",this.$form),this.currentPageId=this.options.currentPageId,this.submitStartTime=0,this.submitEndTime=0,this.successTimeout=null,this.errorShowFunction=this.$wrapper.hasClass("quform-errors-absolute")?"fadeIn":"quformShowSlide",this.init()}l.defaults={errorsIcon:"",scrolling:!0,scrollSpeed:800,scrollDelay:0,scrollOffset:-50,hasPages:!1,pages:[],logic:{logic:[],dependents:[],elementIds:[],dependentElementIds:[],animate:!0}},l.prototype.init=function(){var a=this;this.setupInsideLabels(),this.setupEnhancedSelects(),this.setupEnhancedUploaders(),this.setupDatepickers(),this.setupTimepickers(),this.applyAllLogic(!0),this.setupTooltips(),this.setupCaptchaImages(),this.$wrapper.hasClass("quform-prevent-fouc")&&this.$wrapper.removeClass("quform-prevent-fouc"),this.options.ajax&&(a.$form.on("submit",function(e){if(e.preventDefault(),window.grecaptcha){var t=a.$form.find(".quform-recaptcha");if(t.length){e=t.data("config");if("v3"===e._version)return void window.grecaptcha.execute(t.data("recaptcha-id"),{action:"quform"}).then(function(e){t.find(".g-recaptcha-response").val(e),a.submit()});if("invisible"===e.size)return void window.grecaptcha.execute(t.data("recaptcha-id"))}}if(window.hcaptcha){e=a.$form.find(".quform-hcaptcha");if(e.length)if("invisible"===e.data("config").size)return void window.hcaptcha.execute(e.data("hcaptcha-id"))}a.submit()}),c(".quform-back",a.$form).on("click",function(e){e.preventDefault(),a.submit("back")}),a.$form.addClass("quform-ajax-initialized")),c(".quform-field-select.quform-submit-on-choice",a.$form).on("change",function(){a.$form.submit()}),c(".quform-field-radio.quform-submit-on-choice",a.$form).on("click",function(){a.$form.submit()}),c(".quform-button-submit > button",a.$form).each(function(){var e,t,o=c(this),i=o.closest(".quform-button-submit"),r=i.data("animation"),n=1e3,s=a.options.scrollDelay;r&&(e="quform-button-animation-"+r,"two"===r&&(n=3200),o.on("click",function(){a.options.scrollDelay=n,i.removeClass(e),"number"==typeof t&&(clearTimeout(t),t=null),setTimeout(function(){i.addClass(e),t=setTimeout(function(){i.removeClass(e),a.options.scrollDelay=s},n)},4)}))})},l.prototype.setupInsideLabels=function(){var r=this;c.InFieldLabels?c(".quform-labels-inside > .quform-spacer > .quform-label",r.$form).each(function(){var e=c(this),t=e.parent().find(".quform-input"),o=t.find(".quform-field"),i={top:parseInt(o.css("padding-top"),10)+parseInt(o.css("border-top-width"),10)};r.options.isRtl?i.right=parseInt(o.css("padding-right"),10)+parseInt(o.css("border-right-width"),10):i.left=parseInt(o.css("padding-left"),10)+parseInt(o.css("border-left-width"),10),e.addClass("quform-label-inside").css(i).appendTo(t),new c.InFieldLabels(e[0],o[0])}):c(".quform-labels-inside > .quform-spacer > .quform-label",r.$form).show()},l.prototype.setupEnhancedSelects=function(){var r;"function"==typeof c.fn.select2&&(c(".quform-field-select-enhanced",(r=this).$form).each(function(){var e=c(this),t=e.data("options"),o={theme:"quform",language:{noResults:function(){return t.noResultsFound}}},i=(t.search||(o.minimumResultsForSearch=Infinity),t.rtl&&(o.dir="rtl"),e.select2(o),"quform-"+r.options.id+"-select2"),o=(l.isNonEmptyString(r.options.theme)&&(i+=" quform-theme-"+r.options.theme),e.closest('[class*="custom-palette-"]'));o.length&&(o=o.attr("class"),l.isNonEmptyString(o))&&(o=o.match(/(custom-palette-\d+)/i))&&"string"==typeof o[1]&&(i+=" "+o[1]),e.on("select2:opening",function(){e.data("select2").$dropdown.addClass(i)})}),c(".quform-field-multiselect-enhanced",r.$form).each(function(){var e=c(this),t=e.data("options"),o={theme:"quform",language:{noResults:function(){return t.noResultsFound}}},i=(l.isNonEmptyString(t.placeholder)&&(o.placeholder=t.placeholder),t.rtl&&(o.dir="rtl"),e.select2(o),"quform-"+r.options.id+"-select2"),o=(l.isNonEmptyString(r.options.theme)&&(i+=" quform-theme-"+r.options.theme),e.closest('[class*="custom-palette-"]'));o.length&&(o=o.attr("class"),l.isNonEmptyString(o))&&(o=o.match(/(custom-palette-\d+)/i))&&"string"==typeof o[1]&&(i+=" "+o[1]),e.on("select2:opening",function(){e.data("select2").$dropdown.addClass(i)})}))},l.prototype.setupEnhancedUploaders=function(){var s;c.isFunction(c.fn.fileupload)&&c.support.xhrFileUpload&&c.support.xhrFormDataFileUpload&&c(".quform-field-file-enhanced",(s=this).$form).each(function(){var e,t=c(this),o=t.closest(".quform-input-file"),i=t.data("config"),r=c('<div class="quform-upload-files quform-cf">').insertAfter(o).hide(),n=(i.queued=0,s.uploadElements.push(i),e="dropzone"===i.buttonType?s.createUploadButton("quform-upload-dropzone",i):s.createUploadButton("quform-upload-button",i),o.append(e.append(t)),t.closest(".quform-element").addClass("quform-enhanced-upload"));t.fileupload({dataType:"json",paramName:i.name+"[]",dropZone:e,change:function(){n.find(".quform-error").empty().remove()},add:function(e,t){s.uploadAdd(t,i,r)},start:function(){c(".quform-upload-progress-wrap",s.$form).show()},progress:function(e,t){var o=Math.min(100,t.loaded/t.total*100);c(".quform-upload-progress-bar",s.$form).css("width",o+"%"),c(".quform-upload-filename",s.$form).text(t.files[0].name)}})})},l.prototype.createUploadButton=function(e,t){var o,i=c('<div class="'+e+'">');return i.append(c('<span class="'+e+'-text">').html(t.buttonText)),l.isNonEmptyString(t.buttonIcon)&&(o=c('<span class="'+e+'-icon">').append(c('<i class="'+t.buttonIcon+'">')),i.addClass(e+"-icon-"+t.buttonIconPosition),"right"===t.buttonIconPosition?i.append(o):i.prepend(o)),i},l.prototype.setupDatepickers=function(){var u;c.isFunction(c.fn.kendoDatePicker)&&c(".quform-field-date",(u=this).$form).each(function(){var t=c(this).addClass("quform-field-date-enhanced"),e=t.closest(".quform-input-date"),o=e.find("> .quform-field-icon"),i=t.data("options"),r=c("<input>",{type:"hidden",name:t.attr("name"),value:t.val()}).data("default",t.val()).addClass("quform-field-date-hidden").insertAfter(t),n=(t.attr("name",""),i.placeholder?t.attr("placeholder",i.placeholder):t.removeAttr("placeholder"),{start:i.start||"month",depth:i.depth||"month",culture:i.locale||"en-US"}),s=(i.format?n.format=i.format:n.format=kendo.getCulture(i.locale).calendars.standard.patterns.d,i.showFooter||(n.footer=!1),i.min&&null!==(a=kendo.parseDate(i.min,"yyyy-MM-dd"))&&(n.min=a),i.max&&null!==(a=kendo.parseDate(i.max,"yyyy-MM-dd"))&&(n.max=a),t.kendoDatePicker(n),t.removeClass("k-input").closest(".k-datepicker").removeAttr("class").addClass("k-widget k-datepicker k-header"),t.data("kendoDatePicker")),a="quform-datepicker quform-"+u.options.id+"-datepicker quform-"+i.identifier+"-datepicker",a=(l.isNonEmptyString(u.options.theme)&&(a+=" quform-theme-"+u.options.theme),s.dateView.popup.element.addClass(a),e.find(".k-select").hide(),i.autoOpen&&t.on("click focus",function(){s.open()}).on("blur",function(){s.close()}),o.on("click",function(){s.open()}),function(){var e=t.val();l.isNonEmptyString(e)?null===(e=kendo.parseDate(e,n.format,n.culture))?r.val("9999-99-99"):r.val(kendo.toString(e,"yyyy-MM-dd")):r.val("")}),e=(s.bind("change",a),t.on("blur.quformDatePicker keyup.quformDatePicker",a),t.val());l.isNonEmptyString(e)&&null!==(i=kendo.parseDate(e,"yyyy-MM-dd"))&&(s.value(i),a())})},l.prototype.setupTimepickers=function(){var u;c.isFunction(c.fn.kendoTimePicker)&&c(".quform-field-time",(u=this).$form).each(function(){var t=c(this).addClass("quform-field-time-enhanced"),e=t.closest(".quform-input-time"),o=e.find("> .quform-field-icon"),i=t.data("options"),r=c("<input>",{type:"hidden",name:t.attr("name"),value:t.val()}).data("default",t.val()).addClass("quform-field-time-hidden").insertAfter(t),n=(t.attr("name",""),i.placeholder?t.attr("placeholder",i.placeholder):t.removeAttr("placeholder"),{culture:i.locale||"en-US"}),s=(i.interval&&(a=parseInt(i.interval,10),isNaN(a)||(n.interval=a)),i.format?n.format=i.format:n.format=kendo.getCulture(i.locale).calendars.standard.patterns.t,i.min&&null!==(a=kendo.parseDate(i.min,"HH:mm"))&&(n.min=a),i.max&&null!==(a=kendo.parseDate(i.max,"HH:mm"))&&(n.max=a),t.kendoTimePicker(n),t.removeClass("k-input").closest(".k-timepicker").removeAttr("class").addClass("k-widget k-timepicker k-header"),t.data("kendoTimePicker")),a="quform-timepicker quform-"+u.options.id+"-timepicker quform-"+i.identifier+"-timepicker",a=(l.isNonEmptyString(u.options.theme)&&(a+=" quform-theme-"+u.options.theme),s.timeView.popup.element.addClass(a),e.find(".k-select").hide(),i.autoOpen&&t.on("click focus",function(){s.open()}).on("blur",function(){s.close()}),o.on("click",function(){s.open()}),function(){var e=t.val();l.isNonEmptyString(e)?null===(e=kendo.parseDate(e,n.format,n.culture))?r.val("99:99"):r.val(kendo.toString(e,"HH:mm")):r.val("")}),e=(s.bind("change",a),t.on("blur.quformTimePicker keyup.quformTimePicker",a),t.val());l.isNonEmptyString(e)&&null!==(i=kendo.parseDate(e,"HH:mm"))&&(s.value(i),a())})},l.prototype.setupTooltips=function(){var e;c.isFunction(c.fn.qtip)&&this.options.tooltipsEnabled&&(e={style:{classes:this.options.tooltipClasses},position:{my:this.options.tooltipMy,at:this.options.tooltipAt,viewport:!0,adjust:{method:"shift shift"}}},c(".quform-tooltip-hover",this.$form).qtip(c.extend({},e,{content:{text:function(){return c(this).closest(".quform-input").find("> .quform-tooltip-content").html()}}})),c(".quform-tooltip-click",this.$form).qtip(c.extend({},e,{show:{event:"focus"},hide:{event:"unfocus"},content:{text:function(){return c(this).closest(".quform-input").find("> .quform-tooltip-content").html()}}})),c(".quform-tooltip-icon-hover",this.$form).qtip(c.extend({},e,{content:{text:function(){return c(this).find(".quform-tooltip-icon-content").html()}}})),c(".quform-tooltip-icon-click",this.$form).qtip(c.extend({},e,{show:{event:"click"},hide:{event:"unfocus"},content:{text:function(){return c(this).find(".quform-tooltip-icon-content").html()}}})),c(".quform-labels-inside > .quform-spacer > .quform-inner > .quform-input > .quform-label",this.$form).on("mouseenter",function(){c(this).siblings(".quform-tooltip-hover").qtip("show")}).on("mouseleave",function(){c(this).siblings(".quform-tooltip-hover").qtip("hide")}))},l.prototype.setupCaptchaImages=function(){var e=this;c(".quform-captcha-image img",this.$form).on("mouseenter",function(){c(this).stop().fadeTo(400,"0.3")}).on("mouseleave",function(){c(this).stop().fadeTo(400,"1.0")}).on("click",function(){e.captchaRefreshQueue.push(c(this)),e.processCaptchaRefreshQueue()})},l.prototype.processCaptchaRefreshQueue=function(t){var o,i=this;i.captchaRefreshQueue.length?(o=i.captchaRefreshQueue.shift(),c.ajax({type:"GET",url:quformL10n.ajaxUrl,dataType:"json",data:{action:"quform_regenerate_captcha",quform_form_id:i.options.id,quform_unique_id:i.options.uniqueId,quform_element_id:o.data("element-id")}}).done(function(e){"success"===(e=l.sanitizeResponse(e)).type&&o.attr("src",e.image).animate({opacity:1}),i.captchaRefreshQueue.length?i.processCaptchaRefreshQueue(t):"function"==typeof t&&t.call(i)})):"function"==typeof t&&t.call(i)},l.prototype.applyAllLogic=function(e){this.logicCache={},this.options.logic.elementIds.length&&(this.applyLogic(this.options.logic.elementIds,e),e)&&this.applyDependentLogic(this.options.logic.dependentElementIds)},l.prototype.applyLogic=function(e,t){for(var o=0,i=e.length;o<i;o++)this.applyElementLogic(e[o],t)},l.prototype.applyElementLogic=function(e,t){if(this.options.logic&&this.options.logic.logic){var o=this.options.logic.logic[e];if(o&&o.rules&&o.rules.length){for(var i=0,r=o.action,e=this.options.id+"_"+e,n=0;n<o.rules.length;n++)this.isLogicRuleMatch(o.rules[n])&&i++;"any"===o.match&&0<i||"all"===o.match&&i===o.rules.length||(r=!r);var s=this,e=c(".quform-element-"+e,s.$form),r=r?"show":"hide";!t&&this.options.logic.animate?e.animate({opacity:r,height:r,marginTop:r,marginBottom:r,paddingTop:r,paddingBottom:r},{duration:400,complete:function(){s.updateFancybox()}}):(e[r](),t||s.updateFancybox())}}},l.prototype.applyDependentLogic=function(e){if(this.options.logic&&this.options.logic.dependents)for(var r=this,t=0,o=e.length;t<o;t++){var i,n=this.options.logic.dependents[e[t]],s=this.options.id+"_"+e[t],a=c(".quform-field-"+s,this.$form);a.length&&(i=a.is("select")||a.is('input[type="checkbox"]')||a.is('input[type="radio"]')||a.is('input[type="hidden"]')||a.is('textarea, input[type="text"], input[type="email"], input[type="password"]')&&(i="keyup.quform blur.quform",a.hasClass("quform-field-date-enhanced")||a.hasClass("quform-field-time-enhanced"))?"change.quform":i)&&!function(e,t,o,i){e.on(t,function(){r.logicCache[i]=[],setTimeout(function(){r.applyLogic(o)},0)})}(a,i,n,s)}},l.prototype.isLogicRuleMatch=function(e){var t=this.options.id+"_"+e.elementId;if(c.isArray(this.logicCache[t])){if(this.logicCache[t].length)for(var o=0,i=this.logicCache[t].length;o<i;o++)if(this.logicCache[t][o].operator===e.operator&&this.logicCache[t][o].value===e.value)return this.logicCache[t][o].result}else this.logicCache[t]=[];var r,n,s=c(".quform-field-"+t,this.$form),a=!1;return s.length&&(s.is('select:not([multiple]), input[type="hidden"], textarea, input[type="text"], input[type="email"], input[type="password"]')?(n=s.val(),s.hasClass("quform-field-date-enhanced")?(r="date",n=s.closest(".quform-input").find(".quform-field-date-hidden").val()):s.hasClass("quform-field-time-enhanced")&&(r="time",n=s.closest(".quform-input").find(".quform-field-time-hidden").val()),a=this.isLogicValueMatch(n,e,r)):s.is('input[type="checkbox"]')?(n=[],s.filter(":checked").each(function(){n.push(c(this).val())}),a=this.isLogicArrayValueMatch(n,e)):s.is('input[type="radio"]')?(n=s.filter(":checked").val()||"",a=this.isLogicValueMatch(n,e)):s.is("select[multiple]")&&(n=s.val()||[],a=this.isLogicArrayValueMatch(n,e))),this.logicCache[t].push({operator:e.operator,value:e.value,result:a}),a},l.prototype.isLogicValueMatch=function(e,t,o){switch("string"!=typeof e&&(e=""),t.operator){case"eq":return e===t.value;case"neq":return e!==t.value;case"empty":return""===e;case"not_empty":return""!==e;case"gt":return"date"===o?1===l.compareDates(e,t.value):"time"===o?1===l.compareTimes(e,t.value):l.isNumeric(e)&&l.isNumeric(t.value)&&parseFloat(e)>parseFloat(t.value);case"lt":return"date"===o?-1===l.compareDates(e,t.value):"time"===o?-1===l.compareTimes(e,t.value):l.isNumeric(e)&&l.isNumeric(t.value)&&parseFloat(e)<parseFloat(t.value);case"contains":return-1!==e.indexOf(t.value);case"starts_with":return 0===e.indexOf(t.value);case"ends_with":return-1!==e.indexOf(t.value,t.value.length)}return!1},l.prototype.isLogicArrayValueMatch=function(e,t){var o=!1;if(e.length){if("not_empty"===t.operator)o=!0;else if("neq"===t.operator){for(var o=!0,i=0;i<e.length;i++)if(e[i]===t.value){o=!1;break}}else for(var r=0;r<e.length;r++)if(this.isLogicValueMatch(e[r],t)){o=!0;break}}else"neq"!==t.operator&&"empty"!==t.operator||(o=!0);return o},l.prototype.uploadAdd=function(e,i,r){var t,n=this,s=e.files[0];i.max&&i.queued===i.max?this.addElementError(i.identifier,i.tooMany.replace("%max%",i.max))[this.errorShowFunction]():i.allowedExtensions&&!l.isValidFile(s,i.allowedExtensions)?this.addElementError(i.identifier,i.notAllowedTypeWithFilename.replace("%filename%",s.name))[this.errorShowFunction]():i.size&&s.size>i.size?this.addElementError(i.identifier,i.tooBigWithFilename.replace("%filename%",s.name))[this.errorShowFunction]():(t=this.nextUploadId++,e.formData={quform_ajax_uploading:1,quform_form_id:this.options.id,quform_form_uid:this.options.uniqueId,quform_element_id:i.id,quform_element_identifier:i.identifier,quform_upload_id:t},this.uploadQueue.push(e),i.queued++,e=e.context=c('<div class="quform-upload-file">').data("quform-upload-id",t),c('<span class="quform-upload-file-name">').text(s.name).appendTo(e),c('<span class="quform-upload-file-remove">').attr("title",quformL10n.removeFile).on("click",function(){for(var e=c(this).closest(".quform-upload-file"),t=e.data("quform-upload-id"),o=(r.trigger("quform:beforeUploadRemoved",[s,t,e]),n.uploadQueue.length);o--;)n.uploadQueue[o].formData.quform_upload_id===t&&n.uploadQueue.splice(o,1);e.data("quform-upload-uid")&&n.removedUploadUids.push(e.data("quform-upload-uid")),e.remove(),0===r.children().length&&r.hide(),i.queued--,r.trigger("quform:afterUploadRemoved",[s,t,e])}).appendTo(e),r.append(e).show(),r.trigger("quform:uploadAdded",[s,t,e]))},l.prototype.processUploadQueue=function(){var t=this,o=t.uploadQueue.shift();o.submit().done(function(e){"success"===(e=l.sanitizeResponse(e)).type?(o.context.addClass("quform-uploaded").prepend(c('<span class="quform-upload-tick"><i class="qicon-check">')).data("quform-upload-uid",e.uid),t.uploadQueue.length?t.processUploadQueue():(c(".quform-upload-progress-wrap",t.$form).hide(),t.submitted=!1,t.submit())):t.uploadError(o,e.message)}).fail(function(){t.uploadError(o,quformL10n.ajaxError)})},l.prototype.uploadError=function(e,t){c(".quform-upload-progress-wrap",this.$form).hide(),this.uploadQueue.unshift(e),this.allowResubmission(),this.addElementError(e.formData.quform_element_identifier,t)[this.errorShowFunction](),this.scrollTo(c(".quform-element-"+e.formData.quform_element_identifier,this.$form))},l.prototype.submit=function(e){var t=this;t.submitted||(t.submitStartTime=l.timeNow(),t.submitted=!0,t.$form.trigger("quform:submit",[t,e="back"===e?"back":"submit"]),t.$loading.fadeIn().addClass("quform-loading-triggered"),"submit"===e&&this.uploadQueue.length?t.processUploadQueue():(e={quform_ajax:1,quform_submit:e,quform_removed_upload_uids:t.removedUploadUids.join(",")},t.$form.ajaxSubmit({type:"POST",data:e,dataType:"json",iframe:!0,iframeSrc:"about:blank",url:"",success:function(e){switch(t.submitEndTime=l.timeNow(),(e=l.sanitizeResponse(e)).type){case"success":t.responseSuccess(e.confirmation);break;case"error":t.responseError(e);break;case"page":t.allowResubmission(),t.goToPage(e.page);break;case"invalid":t.responseInvalid(e)}},error:function(){t.submitEndTime=l.timeNow(),t.responseInvalid({message:quformL10n.ajaxError})}})))},l.prototype.responseSuccess=function(e){var t=this,o=(t.$form.trigger("quform:successStart",[t,e]),t.$loading.addClass("quform-loading-success"),function(){switch(e.type){case"message":t.reset(e.resetForm),t.showSuccessMessage(e);break;case"message-redirect-page":case"message-redirect-url":t.allowResubmission(),t.showSuccessMessage(e),setTimeout(function(){window.location=e.redirectUrl},1e3*parseFloat(e.redirectDelay));break;case"redirect-page":case"redirect-url":t.allowResubmission(),window.location=e.redirectUrl;break;case"reload":window.location.reload()}});e.hideForm?t.$elements.quformHideSlide(function(){o()}):o()},l.prototype.showSuccessMessage=function(e){var t=this,o=c('<div class="quform-success-message-animate">').hide(),i=c('<div class="quform-success-message quform-success-message-'+t.options.id+'">').appendTo(o),i=(l.isNonEmptyString(e.messageIcon)&&i.addClass("quform-success-message-has-icon").append('<div class="quform-success-message-icon"><i class="'+e.messageIcon+'"></i></div>'),i.append(c('<div class="quform-success-message-content">').html(e.message)),o["below"===e.messagePosition?"insertAfter":"insertBefore"](t.$elements).quformShowSlide(),setTimeout(function(){t.scrollTo(o)},t.getScrollDelay()),1e3*parseFloat(e.messageTimeout));0<i&&(t.successTimeout=setTimeout(function(){o.quformHideSlide(function(){t.updateFancybox()})},i))},l.prototype.responseError=function(e){var i=this,r=null,t=!1;i.$form.trigger("quform:errorStart",[i,e]),i.allowResubmission(),"object"==typeof e.error&&null!==e.error&&e.error.enabled&&"string"==typeof e.error.content&&e.error.content.length&&(i.errorMessage(e.error.content,e.error.title),t=!0),c.each(e.errors,function(e,t){var o=c(".quform-element-"+e,i.$form);o.length&&(i.addElementError(e,t),r=r||o)}),i.options.hasPages&&e.page!==i.currentPageId&&i.goToPage(e.page),c(".quform-error",i.$form)[this.errorShowFunction](),!t&&r&&setTimeout(function(){i.scrollTo(r)},i.getScrollDelay()),i.updateFancybox(),i.$form.trigger("quform:errorEnd",[i,e])},l.prototype.responseInvalid=function(e){this.allowResubmission(),this.errorMessage(e.message,quformL10n.errorMessageTitle)},l.prototype.goToPage=function(e){var t,o,i=c(".quform-page-"+e,this.$form);i.length&&1<this.options.pages.length&&-1<(t=c.inArray(e,this.options.pages))&&(this.$form.trigger("quform:goToPageStart",[this,i,e,t]),this.currentPageId=e,c('input[name="quform_current_page_id"]',this.$form).val(e),c(".quform-current-page",this.$form).hide().removeClass("quform-current-page"),i.show().addClass("quform-current-page"),(o=this.$form.closest(".quform")).removeClass("quform-is-first-page quform-is-last-page"),0===t?o.addClass("quform-is-first-page"):t===this.options.pages.length-1&&o.addClass("quform-is-last-page"),this.scrollTo(this.$form),o=Math.round((t+1)/this.options.pages.length*100),"numbers"===this.options.pageProgressType||"percentage"===this.options.pageProgressType?(c(".quform-page-progress-bar",this.$form).width(o+"%"),"numbers"===this.options.pageProgressType?c(".quform-page-progress-text > .quform-page-progress-number",this.$form).text(t+1):c(".quform-page-progress-text > .quform-page-progress-percentage",this.$form).text(o)):"tabs"===this.options.pageProgressType&&(c(".quform-page-progress-tab.quform-current-tab",this.$form).removeClass("quform-current-tab"),c(".quform-page-progress-tab",this.$form).filter(function(){return c(this).data("id")===e}).addClass("quform-current-tab")),this.$form.trigger("quform:goToPageEnd",[this,i,e,t]))},l.prototype.allowResubmission=function(){var e=this;e.$loading.removeClass("quform-loading-triggered").fadeOut(function(){e.$loading.removeClass("quform-loading-success")}),c(".quform-error-message, .quform-error, .quform-success-message-animate",e.$form).remove(),c(".quform-has-error",e.$form).removeClass("quform-has-error"),"number"==typeof e.successTimeout&&(clearTimeout(e.successTimeout),e.successTimeout=null),window.grecaptcha&&c(".quform-recaptcha",e.$form).each(function(){if("v3"!==c(this).data("config")._version)try{window.grecaptcha.reset(c(this).data("recaptcha-id"))}catch(e){}}),window.hcaptcha&&c(".quform-hcaptcha",e.$form).each(function(){try{window.hcaptcha.reset(c(this).data("hcaptcha-id"))}catch(e){}}),window.turnstile&&c(".quform-turnstile",e.$form).each(function(){try{window.turnstile.reset(c(this).data("turnstile-id"))}catch(e){}}),c(".quform-upload-progress-bar",e.$form).width(0),c(".quform-upload-filename",e.$form).text(""),e.submitted=!1},l.prototype.reset=function(e){var t=this;switch(t.$form.trigger("quform:resetStart",[t,e]),t.allowResubmission(),e){default:case"":t.$form.resetForm(),c("input.quform-field-date-enhanced",t.$form).each(function(){var e=c(this),t=e.closest(".quform-input").find(".quform-field-date-hidden").data("default"),e=e.data("kendoDatePicker"),t=l.isNonEmptyString(t)?kendo.parseDate(t,"yyyy-MM-dd"):null;e.value(t),e.trigger("change"),e.dateView.calendar&&e.dateView.calendar.navigate(null===t?new Date:t)}),c("input.quform-field-time-enhanced",t.$form).each(function(){var e=c(this),t=e.closest(".quform-input").find(".quform-field-time-hidden").data("default"),e=e.data("kendoTimePicker"),t=l.isNonEmptyString(t)?kendo.parseDate(t,"HH:mm"):null;e.value(t),e.trigger("change")}),c(".quform-field-hidden",t.$form).each(function(){var e=c(this);e.val(e.data("default")).trigger("change")});break;case"clear":t.$form.clearForm(),c("select",t.$form).each(function(){c(this).prop("selectedIndex",0)}),c("input.quform-field-date-enhanced",t.$form).each(function(){var e=c(this).data("kendoDatePicker");e.value(null),e.trigger("change"),e.dateView.calendar&&e.dateView.calendar.navigate(new Date)}),c("input.quform-field-time-enhanced",t.$form).each(function(){var e=c(this).data("kendoTimePicker");e.value(null),e.trigger("change")}),c(".quform-field-hidden",t.$form).val("").trigger("change");break;case"keep":}c(".quform-captcha-image img",t.$form).each(function(){t.captchaRefreshQueue.push(c(this))}),t.processCaptchaRefreshQueue(),c('input[type="text"], input[type="email"], textarea',t.$form).trigger("blur"),t.applyAllLogic(),c(".quform-field-select-enhanced, .quform-field-multiselect-enhanced",t.$form).trigger("change"),t.removedUploadUids=[],c(".quform-upload-files",t.$form).empty().hide();for(var o=0,i=t.uploadElements.length;o<i;o++)t.uploadElements[o].queued=0;c('input[type="file"]',t.$form).each(function(){var e=c(this);e.replaceWith(e.val("").clone(!0))}),c(".qtip").hide(),t.options.hasPages&&t.goToPage(t.options.pages[0]),t.$form.trigger("quform:resetEnd",[t,e])},l.prototype.errorMessage=function(e,t){var o=this,i=c('<div class="quform-error-message">').hide(),r=c('<div class="quform-error-message-inner">');"string"==typeof t&&t.length&&r.append(c('<div class="quform-error-message-title">').html(t)),r.append(c('<div class="quform-error-message-content">').html(e)).appendTo(i),o.$elements.prepend(i),i.quformShowSlide(),setTimeout(function(){o.scrollTo(i)},o.getScrollDelay())},l.prototype.addElementError=function(e,t){var o=c('<div class="quform-error quform-cf">'),i=c('<div class="quform-error-inner">').appendTo(o);return l.isNonEmptyString(this.options.errorsIcon)&&i.append(c('<span class="quform-error-icon">').append('<i class="'+this.options.errorsIcon+'"></i>')),i.append(c('<span class="quform-error-text">').html(t)),this.$wrapper.hasClass("quform-errors-absolute")&&((t=c('<span class="quform-error-close">').append('<i class="qicon-close">')).on("click",function(){c(this).closest(".quform-error").fadeOut()}),i.append(t)),c(".quform-element-"+e,this.$form).addClass("quform-has-error"),c(".quform-input-"+e,this.$form).after(o),o},l.prototype.scrollTo=function(e){var t;this.options.scrolling&&e&&e.length&&((t=this.getScrollElement())?t.scrollTo(e,this.options.scrollSpeed,{axis:"y",offset:this.options.scrollOffset}):l.isScrolledIntoView(e,this.options.scrollOffset)||c.scrollTo(e,this.options.scrollSpeed,{axis:"y",offset:this.options.scrollOffset}))},l.prototype.getScrollDelay=function(){return 0<this.options.scrollDelay?l.clamp(this.options.scrollDelay-(this.submitEndTime-this.submitStartTime),0,3200):0},l.prototype.getScrollElement=function(){var e=null;return this.$form.closest(".fancybox-slide").length?e=this.$form.closest(".quform").hasClass("quform-max-height")?this.$form.closest(".quform"):this.$form.closest(".fancybox-slide"):this.$form.closest(".fancybox-inner").length?e=this.$form.closest(".fancybox-inner"):this.$form.closest("#fancybox-content").length?this.$form.closest(".quform").hasClass("quform-custom-dimensions")&&(e=this.$form.closest("#fancybox-content > div")):this.$form.closest(".mfp-wrap").length&&(this.$form.closest(".quform").hasClass("quform-max-height")?e=this.$form.closest(".quform"):c.magnificPopup&&c.magnificPopup.instance&&c.magnificPopup.instance.fixedContentPos&&(e=this.$form.closest(".mfp-wrap"))),e},l.prototype.updateFancybox=function(){var e,t;this.options.updateFancybox&&c.isFunction(c.fn.fancybox)&&c.fancybox&&("2"===(e=l.getFancyboxVersion())?(t=c(".fancybox-wrap")).length&&t.is(":visible")&&c.fancybox.update():"1"===e&&(t=c("#fancybox-wrap")).length&&t.is(":visible")&&c.fancybox.resize())},l.getFancyboxVersion=function(){return c.isFunction(c.fn.fancybox)&&c.fancybox?l.isNonEmptyString(c.fancybox.version)?c.fancybox.version.charAt(0):"1":null},l.isScrolledIntoView=function(e,t){var o=c(window).scrollTop(),i=o+c(window).height(),r=e.offset().top,e=r+e.height();return t&&(r+=t),o<=e&&r<=i&&e<=i&&o<=r},l.formatFileSize=function(e){return 1073741824<=e?e=Math.round(e/1073741824*10)/10+" GB":1048576<=e?e=Math.round(e/1048576*10)/10+" MB":1024<=e?e=Math.round(e/1024*10)/10+" KB":e+=" bytes",e},(l.preLoadImages=function(e,t){for(var o=0;o<e.length;o++){var i=new Image;i.src=t?t+e[o]:e[o],l.preLoadImages.cache.push(i)}}).cache=[],l.sanitizeResponse=function(e){return e=null!==e&&"object"==typeof e&&"string"==typeof e.type&&0!==e.type.length?e:{type:"invalid",message:"The response from the server was invalid or malformed"}},l.sanitiseResponse=function(e){return l.sanitizeResponse(e)},l.compareDates=function(e,t){return!(!l.isNonEmptyString(e)||!l.isNonEmptyString(t))&&(e=kendo.parseDate(e,"yyyy-MM-dd"),t=kendo.parseDate(t,"yyyy-MM-dd"),null!==e)&&null!==t&&((e=e.getTime())<(t=t.getTime())?-1:t<e?1:0)},l.compareTimes=function(e,t){return!(!l.isNonEmptyString(e)||!l.isNonEmptyString(t))&&(e=kendo.parseDate(e,"HH:mm"),t=kendo.parseDate(t,"HH:mm"),null!==e)&&null!==t&&((e=e.getTime())<(t=t.getTime())?-1:t<e?1:0)},l.isValidFile=function(e,t){var o,i;if(!t.length)return!0;for(o=0,i=t.length;o<i;o++)if(-1!==e.name.toLowerCase().indexOf(t[o].toLowerCase(),e.name.length-t[o].length))return!0;return!1},l.isNonEmptyString=function(e){return"string"==typeof e&&e.length},l.clamp=function(e,t,o){return Math.min(Math.max(e,t),o)},l.timeNow=function(){return(new Date).getTime()},l.setupPopupLinks=function(){(c.isFunction(c.fn.fancybox)||c.isFunction(c.fn.magnificPopup))&&c(".quform-popup-link").each(function(){var e,t,o,i,r,n=c(this);n.data("quform-processed")||(e="#quform-"+n.data("unique-id"),t=c(e),o=n.data("options")||{},c.isFunction(c.fn.fancybox)&&c.fancybox?("3"===(r=l.getFancyboxVersion())?(i={type:"inline",baseClass:"quform-fancybox-3-popup",src:e,touch:!1,beforeClose:function(){c(".qtip").hide()},afterShow:function(e,t){window.turnstile&&t.$content.find(".quform-turnstile").each(function(){try{window.turnstile.reset(c(this).data("turnstile-id"))}catch(e){}})}},o.width&&(t.css({width:l.isNumeric(o.width)?o.width+"px":o.width}),delete o.width),o.height&&(t.css({height:l.isNumeric(o.height)?o.height+"px":o.height}).addClass("quform-max-height"),delete o.height)):"2"===r?(i={type:"inline",wrapCSS:"quform-fancybox-2-popup",href:e,beforeClose:function(){c(".qtip").hide()},afterShow:function(){window.turnstile&&this.content.find(".quform-turnstile").each(function(){try{window.turnstile.reset(c(this).data("turnstile-id"))}catch(e){}})}},(o.width||o.height)&&("undefined"==typeof o.autoSize&&(o.autoSize=!1),o.width||"undefined"!=typeof o.autoWidth||(o.autoWidth=!0),o.height||"undefined"!=typeof o.autoHeight||(o.autoHeight=!0))):"1"===r&&(i={inline:!0,href:e,onStart:function(){c("#fancybox-outer").css("opacity",0),c("#fancybox-wrap").addClass("quform-fancybox-1-popup")},onComplete:function(){window.grecaptcha&&c("#fancybox-content .quform-recaptcha").each(function(){try{window.grecaptcha.reset(c(this).data("recaptcha-id"))}catch(e){}}),window.hcaptcha&&(c("#fancybox-content .quform-hcaptcha").empty(),window.QuformHcaptchaLoaded)&&window.QuformHcaptchaLoaded(),window.turnstile&&c("#fancybox-content .quform-turnstile").each(function(){try{window.turnstile.reset(c(this).data("turnstile-id"))}catch(e){}}),c("#fancybox-wrap, #fancybox-content").css({width:"auto"}),c.fancybox.center(0),setTimeout(function(){c("#fancybox-outer").animate({opacity:1},200),c("#fancybox-overlay").css({height:c(document).height()})},1)},onClosed:function(){c("#fancybox-wrap").removeClass("quform-fancybox-1-popup")}},(o.width||o.height)&&"undefined"==typeof o.autoDimensions&&(o.autoDimensions=!1),o.width||o.height)&&t.addClass("quform-custom-dimensions"),r&&n.fancybox(c.extend({},i,o))):c.isFunction(c.fn.magnificPopup)&&(i={items:{src:t,type:"inline"},mainClass:"quform-magnific-popup",callbacks:{open:function(){window.turnstile&&this.content.find(".quform-turnstile").each(function(){try{window.turnstile.reset(c(this).data("turnstile-id"))}catch(e){}})}}},o.width&&(t.css({maxWidth:l.isNumeric(o.width)?o.width+"px":o.width}),delete o.width),o.height&&(t.css({maxHeight:l.isNumeric(o.height)?o.height+"px":o.height}).addClass("quform-max-height"),delete o.height),n.magnificPopup(c.extend({},i,o)),c.magnificPopup.instance._onFocusIn=function(e){if(c(e.target).hasClass("select2-search__field"))return!0;c.magnificPopup.proto._onFocusIn.call(this,e)}),n.data("quform-processed",!0))})},l.supportPageCaching=function(){var e;quformL10n.supportPageCaching&&(e=[],c(".quform-form").each(function(){e.push(c(this).find('input[name="quform_form_uid"]').val())}),e.length)&&c.ajax({type:"GET",url:quformL10n.ajaxUrl,dataType:"json",data:{action:"quform_support_page_caching",forms:e}}).done(function(r){"success"===(r=l.sanitizeResponse(r)).type&&(c(".quform-form").each(function(){var e=c(this),t=e.data("quform"),o=e.attr("action"),i=e.find('input[name="quform_form_uid"]').val();r.forms&&l.isNonEmptyString(i)&&r.forms[i]&&l.isNonEmptyString(r.forms[i])&&(e.find('input[name="quform_form_uid"]').val(r.forms[i]),l.isNonEmptyString(o)&&(o=o.replace(/#quform-(.)+$/,"#quform-"+r.forms[i]),e.attr("action",o)),t)&&(t.options.uniqueId=r.forms[i]),r.token&&l.isNonEmptyString(r.token)&&e.find('input[name="quform_csrf_token"]').val(r.token),r.loaded&&e.find('input[name="quform_loaded"]').val(r.loaded),t&&e.find(".quform-captcha-image img").length&&l.captchaRefreshFormQueue.push(t)}),l.captchaRefreshFormQueue.length)&&l.processCaptchaRefreshFormQueue()})},l.captchaRefreshFormQueue=[],l.processCaptchaRefreshFormQueue=function(){var e;l.captchaRefreshFormQueue.length&&(e=l.captchaRefreshFormQueue.shift(),c(".quform-captcha-image img",e.$form).each(function(){e.captchaRefreshQueue.push(c(this))}),e.processCaptchaRefreshQueue(function(){l.captchaRefreshFormQueue.length&&l.processCaptchaRefreshFormQueue()}))},l.isNumeric=function(e){return("number"==typeof e||"string"==typeof e)&&!isNaN(e-parseFloat(e))},e=l,window.Quform=e,c.fn.extend({quform:function(){return this.each(function(){return new e(this,c(this).data("options")||{})})},quformHideSlide:function(e,t){var o={height:"hide",opacity:"hide",marginTop:"hide",marginBottom:"hide",paddingTop:"hide",paddingBottom:"hide"},i={duration:400};return e&&(i.complete=e),t&&(o=c.extend(o,t)),this.animate(o,i)},quformShowSlide:function(e,t){var o={height:"show",opacity:"show",marginTop:"show",marginBottom:"show",paddingTop:"show",paddingBottom:"show"},i={duration:400};return e&&(i.complete=e),t&&(o=c.extend(o,t)),this.animate(o,i)}}),c(function(){c(".quform-form").quform(),e.supportPageCaching(),e.setupPopupLinks()})}(jQuery);
!function(c){c.idleTimer=function(e,n){var i;"object"==typeof e?(i=e,e=null):"number"==typeof e&&(i={timeout:e},e=null),n=n||document,i=c.extend({idle:!1,timeout:3e4,events:"mousemove keydown wheel DOMMouseScroll mousewheel mousedown touchstart touchmove MSPointerDown MSPointerMove"},i);function t(e){var i=c.data(n,"idleTimerObj")||{};i.idle=!i.idle,i.olddate=+new Date;var t=c.Event((i.idle?"idle":"active")+".idleTimer");c(n).trigger(t,[n,c.extend({},i),e])}function r(e){var i=c.data(n,"idleTimerObj")||{};if(("storage"!==e.type||e.originalEvent.key===i.timerSyncId)&&null==i.remaining){if("mousemove"===e.type){if(e.pageX===i.pageX&&e.pageY===i.pageY)return;if(void 0===e.pageX&&void 0===e.pageY)return;if(new Date-i.olddate<200)return}clearTimeout(i.tId),i.idle&&t(e),i.lastActive=+new Date,i.pageX=e.pageX,i.pageY=e.pageY,"storage"!==e.type&&i.timerSyncId&&"undefined"!=typeof localStorage&&localStorage.setItem(i.timerSyncId,i.lastActive),i.tId=setTimeout(t,i.timeout)}}function l(){var e=c.data(n,"idleTimerObj")||{};e.idle=e.idleBackup,e.olddate=+new Date,e.lastActive=e.olddate,e.remaining=null,clearTimeout(e.tId),e.idle||(e.tId=setTimeout(t,e.timeout))}var a,d,o,u=c(n),m=u.data("idleTimerObj")||{};if(null===e&&void 0!==m.idle)return l(),u;if(null!==e){if(null!==e&&void 0===m.idle)return!1;if("destroy"===e)return o=c.data(n,"idleTimerObj")||{},clearTimeout(o.tId),u.removeData("idleTimerObj"),u.off("._idleTimer"),u;if("pause"===e)return null==(d=c.data(n,"idleTimerObj")||{}).remaining&&(d.remaining=d.timeout-(new Date-d.olddate),clearTimeout(d.tId)),u;if("resume"===e)return null!=(a=c.data(n,"idleTimerObj")||{}).remaining&&(a.idle||(a.tId=setTimeout(t,a.remaining)),a.remaining=null),u;if("reset"===e)return l(),u;if("getRemainingTime"===e)return function(){var e=c.data(n,"idleTimerObj")||{};if(e.idle)return 0;if(null!=e.remaining)return e.remaining;var i=e.timeout-(new Date-e.lastActive);return i<0&&(i=0),i}();if("getElapsedTime"===e)return new Date-m.olddate;if("getLastActiveTime"===e)return m.lastActive;if("isIdle"===e)return m.idle}return u.on((i.events+" ").split(" ").join("._idleTimer ").trim(),function(e){r(e)}),i.timerSyncId&&c(window).on("storage",r),(m=c.extend({},{olddate:+new Date,lastActive:+new Date,idle:i.idle,idleBackup:i.idle,timeout:i.timeout,remaining:null,timerSyncId:i.timerSyncId,tId:null,pageX:null,pageY:null})).idle||(m.tId=setTimeout(t,m.timeout)),c.data(n,"idleTimerObj",m),u},c.fn.idleTimer=function(e){return this[0]?c.idleTimer(e,this[0]):this}}(jQuery);
(function($){
$(function (){
var all_networks_opened=0;
et_pb_fix_gallery_wrapper();
$('body').on('click', '.et_social_share', function(){
var $this_el=$(this),
social_type=$this_el.data('social_type'),
social_network=$this_el.data('social_name'),
share_link='media'==social_type ? $this_el.data('social_link'):$this_el.prop('href');
update_stats_table(social_network, $this_el);
if('like'===social_network){
return false;
}
var left=($(window).width()/2) -(550/2);
var top=($(window).height()/2) -(450/2);
var new_window=window.open(share_link, '', 'scrollbars=1, height=450, width=550, left=' + left + ', top=' + top);
if(window.focus){
new_window.focus();
}
return false;
});
$('.et_social_follow').on('click', function(){
var $this_el=$(this),
social_network=$this_el.data('social_name');
update_stats_table(social_network, $this_el);
if('like'===social_network){
return false;
}});
$('body').on('click', '.et_social_share_pinterest', function(){
if($(this).hasClass('et_social_pin_all') ){
var left=($(window).width()/2) -(550/2),
top=($(window).height()/2) -(450/2),
share_link=$(this).attr('href'),
new_window=window.open(share_link, '', 'scrollbars=1, height=450, width=550, left=' + left + ', top=' + top);
if(window.focus){
new_window.focus();
}}else{
$('.et_social_pin_images_outer').fadeToggle(400);
}
return false;
});
function get_url_parameter(param_name){
var page_url=window.location.search.substring(1);
var url_variables=page_url.split('&');
for(var i=0; i < url_variables.length; i++){
var curr_param_name=url_variables[i].split('=');
if(curr_param_name[0]==param_name){
return curr_param_name[1];
}}
}
function update_stats_table($social_network, $this_el){
var action=$this_el.data('social_type'),
media_url='media'==action ? $this_el.closest('.et_social_media_wrapper').find('img').attr('src'):'',
post_id=$this_el.data('post_id'),
location=$this_el.data('location'),
stats_data='';
stats_data=JSON.stringify({
'action':action,
'network':$social_network,
'media_url':media_url,
'post_id':post_id,
'location':location
});
$.ajax({
type: 'POST',
url: monarchSettings.ajaxurl,
data: {
action:'add_stats_record_db',
stats_data_array:stats_data,
add_stats_nonce:monarchSettings.stats_nonce
},
success: function(data){
if(true==data){
if('like'===action){
update_single_shares($this_el, '', post_id, $social_network, 'like');
}
if('media'===action){
update_total_media_shares($this_el.closest('.et_social_media_wrapper') );
update_single_shares($this_el, media_url, post_id, $social_network, 'media');
}}
}});
}
function append_share_counts($current_network){
var network=$current_network.data('social_name'),
min_count=$current_network.data('min_count'),
post_id=$current_network.data('post_id'),
url=monarchSettings.pageurl!=='' ? monarchSettings.pageurl:window.location.href,
label_div=$current_network.find('.et_social_network_label'),
append_to=(0!=(label_div.length) ) ? label_div:$current_network;
$share_count_data=JSON.stringify({ 'network':network, 'min_count':min_count, 'post_id':post_id, 'url':url });
$.ajax({
type: 'POST',
url: monarchSettings.ajaxurl,
data: {
action:'get_shares_count',
share_count_array:$share_count_data,
get_share_counts_nonce:monarchSettings.share_counts
},
beforeSend: function(data){
append_to.append('<span class="et_social_placeholder"></span>');
},
success: function(data){
$current_network.find('span.et_social_placeholder').remove();
append_to.append(data);
}});
}
function append_total_shares($current_area){
var post_id=$current_area.data('post_id'),
url=monarchSettings.pageurl!=='' ? monarchSettings.pageurl:window.location.href,
append_to=$current_area;
$share_total_count_data=JSON.stringify({ 'post_id':post_id, 'url':url });
$.ajax({
type: 'POST',
url: monarchSettings.ajaxurl,
data: {
action:'get_total_shares',
share_total_count_array:$share_total_count_data,
get_total_counts_nonce:monarchSettings.total_counts
},
beforeSend: function(data){
append_to.append('<span class="et_social_placeholder"></span>');
},
success: function(data){
append_to.find('span.et_social_placeholder').remove();
append_to.append(data);
}});
}
function append_follow_counts($current_area){
var network=$current_area.data('network'),
min_count=$current_area.data('min_count'),
index=$current_area.data('index'),
append_to=$current_area;
$follow_count_data=JSON.stringify({ 'network':network, 'min_count':min_count, 'index':index });
$.ajax({
type: 'POST',
url: monarchSettings.ajaxurl,
data: {
action:'get_follow_counts',
follow_count_array:$follow_count_data,
get_follow_counts_nonce:monarchSettings.follow_counts
},
beforeSend: function(data){
append_to.append('<span class="et_social_placeholder"></span>');
},
success: function(data){
$current_area.find('span.et_social_placeholder').remove();
append_to.append(data);
}});
}
function append_total_follows($current_area){
var append_to=$current_area;
$.ajax({
type: 'POST',
url: monarchSettings.ajaxurl,
data: {
action:'get_follow_total',
get_total_counts_nonce:monarchSettings.total_counts
},
beforeSend: function(data){
append_to.append('<span class="et_social_placeholder"></span>');
},
success: function(data){
append_to.find('span.et_social_placeholder').remove();
append_to.append(data);
}});
}
if($('.et_social_display_follow_counts').length){
$('.et_social_display_follow_counts').each(function(){
append_follow_counts($(this));
});
}
if($('.et_social_follow_total').length){
$('.et_social_follow_total').each(function(){
append_total_follows($(this));
});
}
if($('.et_social_total_share').length){
$('.et_social_total_share').each(function(){
append_total_shares($(this));
});
}
if($('.et_social_display_count').length){
$('.et_social_display_count').each(function(){
append_share_counts($(this));
});
}
if($('.et_social_media_wrapper').length&&$('.et_social_media_wrapper .et_social_totalcount').length){
$('.et_social_media_wrapper').each(function(){
update_total_media_shares($(this) );
});
}
if($('.et_social_media_wrapper').length&&$('.et_social_media_wrapper .et_social_withcounts').length){
$('.et_social_media_wrapper .et_social_share').each(function(){
var this_el=$(this),
media_url=this_el.closest('.et_social_media_wrapper').find('img').attr('src'),
post_id=this_el.data('post_id'),
social_network=this_el.data('social_name');
update_single_shares(this_el, media_url, post_id, social_network, 'media');
});
}
function update_total_media_shares($element){
if($('.et_social_totalcount').length){
var this_el=$element,
media_url=this_el.find('img').attr('src'),
post_id=this_el.find('.et_social_share').first().data('post_id'),
media_data=JSON.stringify({ 'media_url':media_url, 'post_id':post_id });
$.ajax({
type: 'POST',
url: monarchSettings.ajaxurl,
data: {
action:'get_media_shares_total',
media_total:media_data,
get_media_shares_total_nonce:monarchSettings.media_total
},
success: function(data){
this_el.find('.et_social_totalcount_count').empty().append(data);
}});
}}
function update_single_shares($this_el, $media_url, $post_id, $network, $action){
if($('.et_social_withcounts').length){
var media_data=JSON.stringify({ 'media_url':$media_url, 'post_id':$post_id, 'network':$network, 'action':$action });
$.ajax({
type: 'POST',
url: monarchSettings.ajaxurl,
data: {
action:'get_shares_single',
media_single:media_data,
get_media_shares_nonce:monarchSettings.media_single
},
success: function(data){
$this_el.find('.et_social_count span').not('.et_social_count_label').empty().append(data);
}});
}}
function setCookieExpire(days){
var ms=days*24*60*60*1000;
var date=new Date();
date.setTime(date.getTime() + ms);
return "; expires=" + date.toUTCString();
}
function checkCookieValue(cookieName, value){
return parseCookies()[cookieName]===value;
}
function parseCookies(){
var cookies=document.cookie.split('; ');
var ret={};
for (var i=cookies.length - 1; i >=0; i--){
var el=cookies[i].split('=');
ret[el[0]]=el[1];
}
return ret;
}
function set_cookie($expire){
cookieExpire=setCookieExpire($expire);
document.cookie='etSocialCookie=true' + cookieExpire;
}
function make_popup_visible($popup, $delay){
setTimeout(function(){
$popup.addClass('et_social_visible et_social_animated');
if($('.et_social_resize').length){
$('.et_social_resize').each(function(){
define_popup_position($(this) );
});
}}, $delay);
}
function auto_popup(this_el, delay){
var $current_popup_auto=this_el;
if(! $current_popup_auto.hasClass('et_social_animated') ){
var $cookies_expire_auto=$current_popup_auto.data('cookie_duration') ? $current_popup_auto.data('cookie_duration'):false,
$delay=delay;
if(( false!==$cookies_expire_auto&&! checkCookieValue('etSocialCookie', 'true') )||false==$cookies_expire_auto){
make_popup_visible($current_popup_auto, $delay);
if(false!==$cookies_expire_auto){
set_cookie($cookies_expire_auto);
}}
}}
if('true'==get_url_parameter('et_monarch_popup') ){
$('.et_social_after_comment').each(function(){
var $current_popup=$(this);
auto_popup($current_popup, 0);
});
}
if($('.et_social_auto_popup').length){
$('.et_social_auto_popup').each(function(){
var $current_popup_auto=$(this);
auto_popup($current_popup_auto, ''!==$current_popup_auto.data('delay') ? $current_popup_auto.data('delay') * 1000:0);
});
}
$('.et_social_pinterest_window .et_social_close').on('click', function(){
$('.et_social_pin_images_outer').fadeToggle(400);
});
$('body').on('click', '.et_social_icon_cancel', function(){
var this_el=$(this);
if(this_el.parent().hasClass('et_social_flyin') ){
$popup=this_el.parent();
}else{
$popup=this_el.parent().parent();
if($popup.hasClass('et_social_all_networks_popup') ){
all_networks_opened=0;
}}
$popup.addClass('et_social_fadeout');
setTimeout(function(){
$popup.remove();
}, 800);
return false;
});
if($('.et_monarch_after_order').length){
$('.et_social_after_purchase').each(function(){
var $current_popup=$(this);
if(! $current_popup.hasClass('et_social_animated') ){
var $cookies_expire=$current_popup.data('cookie_duration') ? $current_popup.data('cookie_duration'):false,
$delay=0;
if(( false!==$cookies_expire&&! checkCookieValue('etSocialCookie', 'true') )||false==$cookies_expire){
make_popup_visible($current_popup, $delay);
if(false!==$cookies_expire){
set_cookie($cookies_expire);
}}
}});
}
if($('.et_social_trigger_bottom').length){
$('.et_social_trigger_bottom').each(function(){
scroll_trigger($(this), true);
});
}
if($('.et_social_scroll').length){
$('.et_social_scroll').each(function(){
scroll_trigger($(this), false);
});
}
function scroll_trigger(this_el, is_bottom_trigger){
var current_popup_bottom=this_el;
if(! current_popup_bottom.hasClass('et_social_animated') ){
var	cookies_expire_bottom=current_popup_bottom.data('cookie_duration') ? current_popup_bottom.data('cookie_duration'):false;
if(true==is_bottom_trigger){
var scroll_trigger=$('.et_social_bottom_trigger').length ? $('.et_social_bottom_trigger').offset().top:$(document).height() - 500;
}else{
var scroll_pos=this_el.data('scroll_pos') > 100 ? 100:this_el.data('scroll_pos'),
scroll_trigger=100==scroll_pos ? $(document).height() - 10:$(document).height() * scroll_pos / 100;
}
$(window).on('scroll', function(){
if(( false!==cookies_expire_bottom&&! checkCookieValue('etSocialCookie', 'true') )||false==cookies_expire_bottom){
if($(window).scrollTop() + $(window).height() > scroll_trigger){
current_popup_bottom.addClass('et_social_visible et_social_animated');
if($('.et_social_resize').length){
$('.et_social_resize').each(function(){
define_popup_position($(this) );
});
}
if(false!==cookies_expire_bottom){
set_cookie(cookies_expire_bottom);
}}
}});
}}
if($('.et_social_trigger_idle').length){
$('.et_social_trigger_idle').each(function(){
var this_el=$(this);
if(! this_el.hasClass('et_social_animated') ){
var $cookies_expire_idle=this_el.data('cookie_duration') ? this_el.data('cookie_duration'):false,
$idle_timeout=''!==this_el.data('idle_timeout') ? this_el.data('idle_timeout') * 1000:30000;
if(( false!==$cookies_expire_idle&&! checkCookieValue('etSocialCookie', 'true') )||false==$cookies_expire_idle){
$(document).idleTimer($idle_timeout);
$(document).on("idle.idleTimer", function(){
make_popup_visible(this_el, 0);
});
if(false!==$cookies_expire_idle){
set_cookie($cookies_expire_idle);
}}
}});
}
$('.et_social_heading, .et_social_mobile_button').on('click', function(){
$this_mobile_div=$('.et_social_mobile');
$this_mobile_div.css({'display':'block' });
$('.et_social_mobile_button').removeClass('et_social_active_button');
if($this_mobile_div.hasClass('et_social_opened') ){
$this_mobile_div.find('.et_social_networks').slideToggle(600);
$this_mobile_div.removeClass('et_social_opened').addClass('et_social_closed');
$('.et_social_mobile_overlay').removeClass('et_social_visible_overlay');
$('.et_social_mobile_overlay').fadeToggle(600);
}else{
$this_mobile_div.removeClass('et_social_closed').addClass('et_social_opened');
$this_mobile_div.find('.et_social_networks').slideToggle(600);
$('.et_social_mobile_overlay').addClass('et_social_visible_overlay').css({ 'display':'block' });
}});
$('.et_social_mobile .et_social_close').on('click', function(){
$mobile_div=$('.et_social_mobile');
$mobile_div.fadeToggle(600);
$('.et_social_mobile_button').addClass('et_social_active_button');
if($mobile_div.hasClass('et_social_opened') ){
$('.et_social_mobile_overlay').fadeToggle(600);
$mobile_div.removeClass('et_social_opened');
$mobile_div.find('.et_social_networks').fadeToggle(600);
}});
if($('.et_social_inline').length){
if($('body').hasClass('et_pb_pagebuilder_layout') ){
var top_inline=$('.et_social_inline_top'),
bottom_inline=$('.et_social_inline_bottom'),
divi_container='<div class="et_pb_row"><div class="et_pb_column et_pb_column_4_4"></div></div>';
if($('.et-l--post').first().length > 0){
var $sections=$('.et-l--post .et_pb_section').not('.et_pb_fullwidth_section');
}else{
var $sections=$('.et_pb_section:not(.et-l .et_pb_section)').not('.et_pb_fullwidth_section');
}
if($sections.length > 0&&top_inline.length){
$sections.first().prepend(divi_container).find('.et_pb_row').first().find('.et_pb_column').append(top_inline);
}
if($sections.length > 0&&bottom_inline.length){
$sections.last().append(divi_container).find('.et_pb_row').last().find('.et_pb_column').append(bottom_inline);
}}
}
function define_popup_position($this_popup){
setTimeout(function(){
var this_popup=$this_popup,
networks_div=this_popup.find('.et_social_networks'),
header_height=this_popup.find('.et_social_header').outerHeight()||0,
total_count_height=this_popup.find('.et_social_totalcount').height(),
extra_height=0 < total_count_height ? 20:0;
this_popup.height(this_popup.find('.et_social_icons_container').innerHeight() + header_height + total_count_height + 20 + extra_height);
var	popup_max_height=this_popup.hasClass('et_social_popup_content') ? $(window).height():$(window).height() - 60;
if(this_popup.hasClass('et_social_popup_content')&&768 < $(window).width()){
popup_max_height=popup_max_height - 50;
}
this_popup.css({ 'max-height':popup_max_height + 'px' });
if(this_popup.hasClass('et_social_popup_content') ){
var top_position=$(window).height() / 2 - this_popup.innerHeight() / 2;
this_popup.css({ 'top':top_position + 'px' });
}
var networks_div_height=this_popup.height() - header_height + total_count_height - extra_height;
networks_div.height(networks_div_height);
}, 400);
}
function set_mobile_sidebar_height(){
setTimeout(function(){
var	mobile_div=$('.et_social_mobile');
if(!mobile_div.hasClass('et_social_opened') ){
$('.et_social_mobile .et_social_networks').css({'display':'block'});
}
if($('.et_social_active_button').length){
mobile_div.css({'display':'block'});
}
var inner_contatiner_height=mobile_div.find('.et_social_icons_container').innerHeight() + 45;
if(!mobile_div.hasClass('et_social_opened') ){
$('.et_social_mobile .et_social_networks').css({'display':'none'});
}
if($('.et_social_active_button').length){
mobile_div.css({'display':'none'});
}
mobile_div.find('.et_social_networks').css({ 'max-height':inner_contatiner_height + 'px', 'height':inner_contatiner_height + 'px' });
if($(window).height() < inner_contatiner_height){
var inner_height=$(window).height() - mobile_div.find('.et_social_heading').innerHeight() + 10;
mobile_div.find('.et_social_networks').css({ 'height':inner_height + 'px' });
}}, 400);
}
function set_sidebar_position(){
if($('.et_social_sidebar_networks').length){
var this_sidebar=$('.et_social_sidebar_networks'),
top_position=$(window).height() / 2 - this_sidebar.innerHeight() / 2;
top_position=0 > top_position ? 0:top_position;
this_sidebar.css({ 'top':top_position + 'px' });
}}
function set_media_wrapper_size(){
if($('.et_social_media_wrapper').length){
$('.et_social_media_wrapper').each(function(){
var this_wrapper=$(this),
this_wrapper_media=this_wrapper.find('.et_social_media'),
this_image=this_wrapper.find('img'),
image_position=this_image.position(),
image_left_offset=typeof image_position!=='undefined' ? image_position.left:0,
this_image_height=this_image.height(),
this_image_width=this_image.width(),
this_wrapper_networks_height=this_wrapper.find('.et_social_networks').innerHeight();
this_wrapper.addClass(this_image.attr('class') );
this_wrapper_media.css({ 'max-height':this_image_height + 'px' });
this_wrapper_media.css({ 'height':(this_wrapper_networks_height + 50) + 'px' });
this_wrapper_media.width(this_image_width - 80);
if(0!==image_left_offset){
this_wrapper_media.css({ 'left':(image_left_offset + 20) + 'px' });
}});
et_pb_fix_gallery_slider_icons_size();
}}
function et_pb_fix_gallery_wrapper(){
var $media_wrappers_inside_gallery=$('.et_pb_gallery_grid .et_social_media_wrapper');
if(0 > $media_wrappers_inside_gallery.length){
return;
}
$media_wrappers_inside_gallery.each(function(){
var $this_wrapper=$(this);
var $gallery_item=$this_wrapper.closest('.et_pb_gallery_image');
var $gallery_overlay=$gallery_item.find('.et_overlay');
if(0 < $gallery_overlay.length){
$this_wrapper.append($gallery_overlay);
}});
}
function et_pb_fix_gallery_slider_icons_size(){
var $gallery_slider_icons=$('.et_pb_gallery_fullwidth .et_social_media_wrapper');
if(0 > $gallery_slider_icons.length){
return;
}
var $all_galleries=$('.et_pb_gallery_fullwidth');
$all_galleries.each(function(){
var $this_gallery=$(this);
var $this_gallery_media=$this_gallery.find('.et_social_media_wrapper .et_social_media');
if(0 > $this_gallery_media.length){
return;
}
var $first_icon_wrapper=$this_gallery_media.first();
var icons_width=$first_icon_wrapper.width();
var icons_height=$first_icon_wrapper.css('height');
var icons_max_height=$first_icon_wrapper.css('max-height');
$this_gallery_media.width(icons_width - 80);
$this_gallery_media.height(icons_height);
$this_gallery_media.css({ 'max-height':icons_max_height + 'px' });
});
}
$('body').on('click', '.et_social_open_all', function(){
all_networks_opened++;
if(1==all_networks_opened){
var this_button=$(this),
page_id=this_button.data('page_id'),
permalink=this_button.data('permalink'),
title=this_button.data('title'),
media=typeof this_button.data('media')!=='undefined' ? this_button.data('media'):'',
is_popup='popup'==this_button.data('location') ? 'true':'false';
$.ajax({
type: 'POST',
url: monarchSettings.ajaxurl,
data: {
action:'generate_all_networks_popup',
all_networks_page_id:page_id,
all_networks_link:permalink,
all_networks_title:title,
all_networks_media:media,
is_popup:is_popup,
generate_all_window_nonce:monarchSettings.generate_all_window_nonce
},
success: function(data){
if('false'==is_popup){
$('body').append(data);
make_popup_visible($('.et_social_all_networks_popup'), 1);
}else{
var popup_container=this_button.parent().closest('.et_social_popup_content');
this_button.parent().replaceWith(data);
define_popup_position(popup_container);
all_networks_opened=0;
}}
});
}
return false;
});
set_mobile_sidebar_height();
set_sidebar_position();
$(window).on('resize', ()=> {
if($('.et_social_resize').length){
$('.et_social_resize').each(function(){
define_popup_position($(this) );
});
}
if($('.et_social_mobile')){
set_mobile_sidebar_height();
}
if($('.et_social_sidebar_networks').length){
set_sidebar_position();
}
set_media_wrapper_size();
});
$('.et_social_hide_sidebar').on('click', function(){
$('.et_social_hide_sidebar').toggleClass('et_social_hidden_sidebar');
$('.et_social_sidebar_networks').toggleClass('et_social_hidden_sidebar et_social_visible_sidebar');
});
$(window).on('load', function(){
set_media_wrapper_size();
if($('.et_social_pin_images').length&&($('.et_social_all_button').length||$('.et_social_pinterest').length) ){
var pin_container=$('.et_social_pin_images'),
permalink=pin_container.data('permalink'),
title=pin_container.data('title'),
post_id=pin_container.data('post_id'),
$i=0;
$('img').each(function(){
if(! $(this).hasClass('avatar') ){
var this_img=$(this).attr('src'),
this_alt=$(this).attr('alt');
if(''!=this_img){
var	pin_link='http://www.pinterest.com/pin/create/button/?url=' + permalink + '&media=' + this_img + '&description=' + title,
this_img_container='<div class="et_social_pin_image"><a href="' + pin_link + '" rel="nofollow" class="et_social_icon et_social_share" data-social_name="pinterest" data-post_id="' + post_id + '" data-social_type="share"><img src="' + this_img + '" alt="' + this_alt + '"/><span class="et_social_pin_overlay et_social_icon"></span></a></div>';
$('.et_social_pin_images').append(this_img_container);
$i++;
}}
});
if(0==$i){
$('.et_social_pin_images').append(monarchSettings.no_img_message);
}}
});
});
})(jQuery);
!function(t){var e={};function o(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,o),i.l=!0,i.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(n,i,function(e){return t[e]}.bind(null,i));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=87)}({87:function(t,e){var o,n,i,r;o=jQuery,n="object"==typeof window.ET_Builder?ET_Builder.Frames.top:window,i="ontouchstart"in window||navigator.maxTouchPoints,r=o(window),document.addEventListener("DOMContentLoaded",(function(){o((function(){o.fn.fitVids&&o("#main-content").fitVids({customSelector:"iframe[src^='http://www.hulu.com'], iframe[src^='http://www.dailymotion.com'], iframe[src^='http://www.funnyordie.com'], iframe[src^='https://embed-ssl.ted.com'], iframe[src^='http://embed.revision3.com'], iframe[src^='https://flickr.com'], iframe[src^='http://blip.tv'], iframe[src^='http://www.collegehumor.com']"})})),o(".comment-reply-link").length&&o(".comment-reply-link").addClass("et_pb_button"),o(".footer-widget").each((function(){var t=o(this),e=t.width(),n=t.find(".widget_adsensewidget ins");n.length&&n.width(e)})),window.addEventListener("load",(function(){window.hasOwnProperty("et_location_hash")&&""!==window.et_location_hash&&function(){var t=window.et_location_hash.replace(/(\|)/g,"\\$1"),e=o();try{e=o(t)}catch(t){e=o()}if(0!==e.length){var n=o(t+" .et_pb_map_container"),i=n.children(".et_pb_map");void 0!==window.et_location_hash_style&&e.css("display",window.et_location_hash_style);var r=void 0!==e.offset().top?e.offset().top:0,s=o("body").hasClass("et_smooth_scroll"),c=s?r>4e3?1600:800:0;n.length&&google.maps.event.trigger(i[0],"resize"),e.parents().hasClass("commentlist")&&o(".reviews_tab").trigger("click").animate({scrollTop:e.offset().top},700),setTimeout((function(){window.et_pb_smooth_scroll(e,!1,c,"swing"),s&&setTimeout((function(){window.et_pb_smooth_scroll(e,!1,150,"linear")}),c+25)}),s?700:0)}}(),o("p.demo_store").length&&o("p.demo_store").is(":visible")&&(o("#footer-bottom").css("margin-bottom",o("p.demo_store").innerHeight()+"px"),o(".woocommerce-store-notice__dismiss-link").on("click",(function(){o("#footer-bottom").css("margin-bottom","")})))}))})),i&&(r.on("swipeleft",(function(t){30>=parseInt(r.width())-parseInt(t.swipestart.coords[0])&&et_toggle_slide_menu("open")})),r.on("swiperight",(function(t){o("body").hasClass("et_pb_slide_menu_active")&&et_toggle_slide_menu("close")}))),r.on("et_fb_init",(function(){var t=n.wp;if(t&&t.hooks&&t.hooks.addFilter){var e=window.DIVI.row_selector;t.hooks.addFilter("et.pb.row.css.selector","divi.et.pb.row.css.selector",(function(t){return t.replace("%%row_selector%%",e)}))}}))}});
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=104)}({104:function(e,t){!function(){var e,t={frameRate:150,animationTime:400,stepSize:80,pulseAlgorithm:!0,pulseScale:8,pulseNormalize:1,accelerationDelta:20,accelerationMax:1,keyboardSupport:!0,arrowScroll:50,touchpadSupport:!0,fixedBackground:!0,excluded:""},n=t,r=!1,o={x:0,y:0},a=!1,i=document.documentElement,l=[120,120,120],u=37,c=38,s=39,d=40,f=32,m=33,p=34,h=35,w=36;n=t;function v(){if(document.body){var t,o=document.body,l=document.documentElement,u=window.innerHeight,c=o.scrollHeight;if(i=document.compatMode.indexOf("CSS")>=0?l:o,e=o,(t=document.body.classList.contains("et-fb"))&&C("keydown",k),n.keyboardSupport&&!t&&E("keydown",k),a=!0,top!=self)r=!0;else if(c>u&&(o.offsetHeight<=u||l.offsetHeight<=u)){var s=!1;if(l.style.height="auto",setTimeout((function(){s||l.scrollHeight==document.height||(s=!0,setTimeout((function(){l.style.height=document.height+"px",s=!1}),500))}),10),i.offsetHeight<=u){var d=document.createElement("div");d.style.clear="both",o.appendChild(d)}}n.fixedBackground||(o.style.backgroundAttachment="scroll",l.style.backgroundAttachment="scroll")}}var b=[],y=!1,g=+new Date;function S(e,t,r,a){var i,l;if(a||(a=1e3),i=(i=t)>0?1:-1,l=(l=r)>0?1:-1,(o.x!==i||o.y!==l)&&(o.x=i,o.y=l,b=[],g=0),1!=n.accelerationMax){var u=+new Date-g;if(u<n.accelerationDelta){var c=(1+30/u)/2;c>1&&(c=Math.min(c,n.accelerationMax),t*=c,r*=c)}g=+new Date}if(b.push({x:t,y:r,lastX:t<0?.99:-.99,lastY:r<0?.99:-.99,start:+new Date}),!y){var s=e===document.body,d=function(o){for(var i=+new Date,l=0,u=0,c=0;c<b.length;c++){var f=b[c],m=i-f.start,p=m>=n.animationTime,h=p?1:m/n.animationTime;n.pulseAlgorithm&&(h=P(h));var w=f.x*h-f.lastX>>0,v=f.y*h-f.lastY>>0;l+=w,u+=v,f.lastX+=w,f.lastY+=v,p&&(b.splice(c,1),c--)}s?window.scrollBy(l,u):(l&&(e.scrollLeft+=l),u&&(e.scrollTop+=u)),t||r||(b=[]),b.length?_(d,e,a/n.frameRate+1):y=!1};_(d,e,0),y=!0}}function k(t){var r=t.target,o=t.ctrlKey||t.altKey||t.metaKey||t.shiftKey&&t.keyCode!==f;if(/input|textarea|select|embed/i.test(r.nodeName)||r.isContentEditable||t.defaultPrevented||o)return!0;if(N(r,"button")&&t.keyCode===f)return!0;var a=0,i=0,l=T(e),v=l.clientHeight;switch(l==document.body&&(v=window.innerHeight),t.keyCode){case c:i=-n.arrowScroll;break;case d:i=n.arrowScroll;break;case f:i=-(t.shiftKey?1:-1)*v*.9;break;case m:i=.9*-v;break;case p:i=.9*v;break;case w:i=-window.pageYOffset;break;case h:var b=l.scrollHeight-l.scrollTop-v;i=b>0?b+10:0;break;case u:a=-n.arrowScroll;break;case s:a=n.arrowScroll;break;default:return!0}S(l,a,i),t.preventDefault()}var x={};setInterval((function(){x={}}),1e4);var M,D=(M=0,function(e){return e.uniqueID||(e.uniqueID=M++)});function H(e,t){for(var n=e.length;n--;)x[D(e[n])]=t;return t}function T(e){var t=[],n=i.scrollHeight;do{var o=x[D(e)];if(o)return H(t,o);if(t.push(e),n===e.scrollHeight){if(!r||i.clientHeight+10<n)return H(t,document.body)}else if(e.clientHeight+10<e.scrollHeight){var a=getComputedStyle(e,"").getPropertyValue("overflow-y");if("scroll"===a||"auto"===a)return H(t,e)}}while(e=e.parentNode)}function E(e,t,n){window.addEventListener(e,t,n||!1)}function C(e,t,n){window.removeEventListener(e,t,n||!1)}function N(e,t){return(e.nodeName||"").toLowerCase()===t.toLowerCase()}function O(e,t){return Math.floor(e/t)==e/t}var _=window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(e,t,n){window.setTimeout(e,n||1e3/60)};function z(e){var t,r;return(e*=n.pulseScale)<1?t=e-(1-Math.exp(-e)):(e-=1,t=(r=Math.exp(-1))+(1-Math.exp(-e))*(1-r)),t*n.pulseNormalize}function P(e){return e>=1?1:e<=0?0:(1==n.pulseNormalize&&(n.pulseNormalize/=z(1)),z(e))}var j=/chrome/i.test(window.navigator.userAgent),A=null;"onwheel"in document.createElement("div")?A="wheel":"onmousewheel"in document.createElement("div")&&(A="mousewheel");var L=document.body.className.split(" ").filter((function(e){return"et_smooth_scroll"===e})).length>0;A&&j&&L&&(window.addEventListener(A,(function(t){a||v();var r=t.target,o=T(r),i=document.documentElement.className.split(" ").filter((function(e){return"et-fb-preview--tablet"===e||"et-fb-preview--phone"===e||"et-fb-preview--zoom"===e||"et-fb-preview--wireframe"===e})).length>0;if(!o||t.defaultPrevented||N(e,"embed")||N(r,"embed")&&/\.pdf/i.test(r.src)||i)return!0;var u=t.wheelDeltaX||0,c=t.wheelDeltaY||0;if(u||c||(c=t.wheelDelta||0),!n.touchpadSupport&&function(e){if(!e)return;return e=Math.abs(e),l.push(e),l.shift(),clearTimeout(void 0),!(O(l[0],120)&&O(l[1],120)&&O(l[2],120))}(c))return!0;Math.abs(u)>1.2&&(u*=n.stepSize/120),Math.abs(c)>1.2&&(c*=n.stepSize/120),S(o,-u,-c),t.preventDefault()}),{passive:!1}),E("mousedown",(function(t){e=t.target})),E("load",v)),window.ET_SmoothScroll={toggleKeydown:function(e){e?E("keydown",k):C("keydown",k)}}}()}});
!function(e){var n={};function t(a){if(n[a])return n[a].exports;var _=n[a]={i:a,l:!1,exports:{}};return e[a].call(_.exports,_,_.exports,t),_.l=!0,_.exports}t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:a})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(t.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var _ in e)t.d(a,_,function(n){return e[n]}.bind(null,_));return a},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=93)}({93:function(e,n){var t;t=jQuery,document.addEventListener("DOMContentLoaded",(function(){function e(){t(".et_search_form_container").hasClass("et_pb_is_animating")||(t(".et_menu_container").removeClass("et_pb_menu_hidden et_pb_no_animation").addClass("et_pb_menu_visible"),t(".et_search_form_container").removeClass("et_pb_search_visible et_pb_no_animation").addClass("et_pb_search_form_hidden et_pb_is_animating"),setTimeout((function(){t(".et_menu_container").addClass("et_pb_no_animation"),t(".et_search_form_container").addClass("et_pb_no_animation").removeClass("et_pb_is_animating")}),1e3))}t("body").hasClass("et_header_style_left"),window.et_set_search_form_css=function(){var e=t(".et_search_form_container");if(e.hasClass("et_pb_search_visible")){var n=t("body"),a=t("#main-header").innerHeight(),_=t("#top-menu").width(),i=t("#top-menu li a").css("font-size");e.css({height:a+"px"}),e.find("input").css("font-size",i),n.hasClass("et_header_style_left")?e.find("form").css("max-width",_+60+"px"):e.css("max-width",_+60+"px")}},t("#et_top_search").on("click",(function(){var e=t(".et_search_form_container");e.hasClass("et_pb_is_animating")||(t(".et_menu_container").removeClass("et_pb_menu_visible et_pb_no_animation").addClass("et_pb_menu_hidden"),e.removeClass("et_pb_search_form_hidden et_pb_no_animation").addClass("et_pb_search_visible et_pb_is_animating"),setTimeout((function(){t(".et_menu_container").addClass("et_pb_no_animation"),e.addClass("et_pb_no_animation").removeClass("et_pb_is_animating")}),1e3),e.find("input").trigger("focus"),window.et_set_search_form_css())})),t(".et_close_search_field").on("click",(function(){e()})),t(document).on("mouseup",(function(n){var a=t("#main-header");t(".et_menu_container").hasClass("et_pb_menu_hidden")&&(a.is(n.target)||0!==a.has(n.target).length||e())}))}))}});
!function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(i,a,function(t){return e[t]}.bind(null,a));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=96)}({96:function(e,t){!function(e){const t={},n=e(window),i=e("#main-content .container:first-child");function a(){return t.et_get_first_section?t.et_get_first_section:t.et_get_first_section=e(".et-l:not(.et-l--footer) .et_pb_section:visible").first()}document.addEventListener("DOMContentLoaded",()=>{const t=e("body").hasClass("et_fixed_nav")||e("body").hasClass("et_vertical_fixed"),o=e("body").hasClass("et_hide_nav"),s=e("body").hasClass("et_header_style_left"),r=e("body").hasClass("et_vertical_fixed"),d=e("body").hasClass("rtl"),l=e("#top-header"),_=e("#main-header"),p=e("#page-container");let c,h,f=!1,g=0;const u=e("#et-top-navigation"),w=e("#logo"),m=e("ul.nav, ul.menu"),v=e(".container"),b=e("#et_top_search"),x=e("body").hasClass("et_header_style_split");function y(){const t=l.length&&l.is(":visible")?parseInt(l.innerHeight()):0,n=e("#wpadminbar").length?parseInt(e("#wpadminbar").innerHeight()):0,i=e(".et_header_style_slide .et_slide_in_menu_container"),a=e("body").hasClass("rtl");if(g=parseInt(e("#main-header").length?e("#main-header").innerHeight():0)+t,c=g<=90?g-29:g-56,h=c+n,i.length&&!e("body").hasClass("et_pb_slide_menu_active")&&(a?i.css({left:`-${parseInt(i.innerWidth())}px`,display:"none"}):i.css({right:`-${parseInt(i.innerWidth())}px`,display:"none"}),e("body").hasClass("et_boxed_layout")))if(a){var o=p.css("margin-right");_.css({right:o})}else{o=p.css("margin-left");_.css({left:o})}}if(window.et_pb_init_nav_menu(m),window.et_duplicate_menu(e("#et-top-navigation ul.nav"),e("#et-top-navigation .mobile_nav"),"mobile_menu","et_mobile_menu"),window.et_duplicate_menu("",e(".et_pb_fullscreen_nav_container"),"mobile_menu_slide","et_mobile_menu","no_click_event"),e("ul.et_disable_top_tier").length){const t=e("ul.et_disable_top_tier > li > ul").prev("a");t.attr("href","#"),t.on("click",e=>{e.preventDefault()});const n=e("ul#mobile_menu > li > ul").prev("a");n.attr("href","#"),n.on("click",e=>{e.preventDefault()})}function C(t){setTimeout(()=>{let t=0;const n=e("body"),i=e("#wpadminbar"),a=e("#top-header");if(i.length&&!Number.isNaN(i.innerHeight())){t+=parseFloat(i.innerHeight())}a.length&&a.is(":visible")&&(t+=a.innerHeight());const o=n.hasClass("et_fixed_nav"),s=!o&&n.hasClass("et_transparent_nav")&&n.hasClass("et_secondary_nav_enabled");window.et_is_vertical_nav||!o&&!s||e("#main-header").css("top",t+"px")},t)}e("#et-secondary-nav").length&&e("#et-top-navigation #mobile_menu").append(e("#et-secondary-nav").clone().html()),window.et_change_primary_nav_position=C,window.et_fix_page_container_position=function(){const s=parseInt(n.width()),r=l.length&&l.is(":visible")?parseInt(l.innerHeight()):0;let d,c=0;const h=_.clone().addClass("et-disabled-animations main-header-clone").css({opacity:"0px",position:"fixed",top:"auto",right:"0px",bottom:"0px",left:"0px"}).appendTo(e("body"));if(e("body").hasClass("et-bfb")||e('*[data-fix-page-container="on"]').each((function(){const t=e(this),n=t.data();n&&n.fix_page_container_style&&t.css(n.fix_page_container_style)})),s>980&&(!_.attr("data-height-loaded")||e("body").is(".et-fb"))){let e=0;_.hasClass("et-fixed-header")?(h.removeClass("et-fixed-header"),e=h.height(),h.addClass("et-fixed-header")):e=_.height(),_.attr({"data-height-onload":parseInt(e),"data-height-loaded":!0})}if(s<=980?(d=parseInt(_.length?_.innerHeight():0)+r-(e("body").hasClass("et-fb")?0:1),window.et_is_transparent_nav&&!a().length&&(d+=58)):(d=parseInt(_.attr("data-height-onload"))+r,window.et_is_transparent_nav&&!window.et_is_vertical_nav&&i.length&&(d+=58),c=h.height()),o){const e=parseInt(u.data("height"))-parseInt(u.data("fixed-height"));c=parseInt(_.data("height-onload"))-e}_.attr({"data-fixed-height-onload":c});const f=e(".et_fixed_nav.et_transparent_nav.et-db.et_full_width_page #left-area > .woocommerce-notices-wrapper");if(f.length>0&&"yes"!==f.attr("data-position-set")){let e=c;0===e&&_.attr("data-height-onload")&&(e=_.attr("data-height-onload")),f.css("marginTop",parseFloat(e)+"px"),f.animate({opacity:"1"}),f.attr("data-position-set","yes")}t&&p.css("paddingTop",d+"px"),h.remove(),C(0),e(document).trigger("et-pb-header-height-calculated")},v.data("previous-width",parseInt(v.width()));const I=function(e,t,n){let i,a,o,s,r;const d=Date.now||(new Date).getTime();var l=function(){const _=d-s;_<t&&_>=0?i=setTimeout(l,t-_):(i=null,n||(r=e.apply(o,a),i||(o=a=null)))};return function(){o=this,a=arguments,s=d;const _=n&&!i;return i||(i=setTimeout(l,t)),_&&(r=e.apply(o,a),o=a=null),r}}(()=>{window.et_fix_page_container_position(),"function"==typeof window.et_fix_transparent_nav_padding&&window.et_fix_transparent_nav_padding(),"function"==typeof window.et_fix_fullscreen_section&&window.et_fix_fullscreen_section()},600);if(e(window).on("resize",()=>{const i=parseInt(n.width()),a=v.length>0,o=a&&parseInt(v.data("previous-width"))||0,s=v.css("width"),r=void 0!==s?"%"!==s.substr(-1,1):"",d=a?r?parseInt(v.width()):parseInt((parseInt(v.width())/100).toFixed(0))*i:0,l=v.length&&o!==d,_=e(".et_slide_in_menu_container"),p=e("#wpadminbar");if(t&&l&&(I(),v.data("previous-width",d)),p.length&&t&&i>=740&&i<=782&&(y(),C(0)),b.length&&window.et_set_search_form_css(),_.length&&e("body").hasClass("et_header_style_fullscreen")){const e=parseInt(_.find(".et_slide_menu_top").innerHeight());_.css({"padding-top":e+20+"px"})}}),w.length){!function(e,t){const n=new Image;n.onLoad=t,n.onload=t,n.src=e}(w.is("img")?w.attr("src"):w.find("img").attr("src"),(function(){const t="svg"===(w.is("img")?w.attr("src"):w.find("img").attr("src")).substr(-3,3);let n,i,a;e("body").append(e("<div />",{id:"et-define-logo-wrap",style:"position: fixed; bottom: 0; opacity: 0;"})),n=e("#et-define-logo-wrap"),t&&n.addClass("svg-logo"),n.html(w.clone().css({display:"block"}).removeAttr("id")),i=n.find("img").width(),a=n.find("img").height(),w.attr({"data-actual-width":i,"data-actual-height":a}),n.remove(),x&&window.et_fix_logo_transition(!0)}))}window.addEventListener("load",(function(){if(t&&y(),u.length&&setTimeout(()=>{window.et_fix_page_container_position(),"function"==typeof window.et_fix_transparent_nav_padding&&window.et_fix_transparent_nav_padding()},0),window.et_is_minified_js&&window.et_is_transparent_nav&&!window.et_is_vertical_nav&&e(window).trigger("resize"),s&&!window.et_is_vertical_nav){const t=parseInt(e("#logo").width());d?u.css("padding-right",t+30+"px"):u.css("padding-left",t+30+"px")}if(e.fn.waypoint){let s;if(r&&(s=e("#main-content"),s.waypoint({handler(t){x&&window.et_fix_logo_transition(),"down"===t?e("#main-header").addClass("et-fixed-header"):e("#main-header").removeClass("et-fixed-header")}})),t){const t=(a().length>0?a().offset().top:0)<=(e("#wpadminbar").length?e("#wpadminbar").height():0);t&&window.et_is_transparent_nav&&!window.et_is_vertical_nav&&a().length?(s=a().is(".et_pb_fullwidth_section")?a().children(".et_pb_module:visible").first():a().find(".et_pb_row:visible").first(),s.length||(s=e(".et-l .et_pb_module:visible").first())):s=t&&window.et_is_transparent_nav&&!window.et_is_vertical_nav&&i.length?e("#content-area"):e("#main-content");let r=!0;setTimeout(()=>{r=!1},0),s.waypoint({offset(){if(f&&(setTimeout(()=>{y()},200),f=!1),o)return h-g-200;const e=s.offset();return e.top<h&&(h=0-(h-e.top)),h},handler(t){let i,a,s;x&&window.et_fix_logo_transition();const d=!o&&!window.et_is_transparent_nav&&!e(".mobile_menu_bar_toggle").is(":visible");if(d){const e=_.clone();e.addClass("et-fixed-header et-script-temporary-measurement"),_.parent().append(e);const t=e.outerHeight();i=l.length?parseInt(l.height()):0,a=parseInt(t),e.remove()}if("down"===t){if(r&&0===n.scrollTop())return;p.addClass("et-animated-content"),_.addClass("et-fixed-header"),l.addClass("et-fixed-header")}else s=1,_.removeClass("et-fixed-header"),l.removeClass("et-fixed-header"),p.css("margin-top",-s+"px");d&&p.hasClass("et-fixed-header")&&(s=parseInt(p.css("padding-top"))-a-i+1),window.dispatchEvent(new CustomEvent("ETDiviFixedHeaderTransitionStart",{detail:{marginTop:-s}})),setTimeout(()=>{b.length&&window.et_set_search_form_css(),window.dispatchEvent(new CustomEvent("ETDiviFixedHeaderTransitionEnd",{detail:{marginTop:-s}})),d&&e("#main-header").hasClass("et-fixed-header")&&p.css("margin-top",-s+"px")},400)}})}}}))})}(jQuery)}});
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=99)}({99:function(e,t){var n;n=jQuery,document.addEventListener("DOMContentLoaded",(function(){n(".et_pb_scroll_top").length&&(n(window).on("scroll",(function(){n(this).scrollTop()>800?n(".et_pb_scroll_top").show().removeClass("et-hidden").addClass("et-visible"):n(".et_pb_scroll_top").removeClass("et-visible").addClass("et-hidden")})),n(".et_pb_scroll_top").on("click",(function(){n("html, body").animate({scrollTop:0},800)})))}))}});
(()=>{var n={243(n,t,r){n=r.nmd(n),function(){var r,e="Expected a function",u="__lodash_hash_undefined__",i="__lodash_placeholder__",o=32,f=128,a=1/0,c=9007199254740991,l=NaN,s=4294967295,h=[["ary",f],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",o],["partialRight",64],["rearg",256]],p="[object Arguments]",v="[object Array]",_="[object Boolean]",g="[object Date]",y="[object Error]",d="[object Function]",b="[object GeneratorFunction]",w="[object Map]",m="[object Number]",x="[object Object]",j="[object Promise]",A="[object RegExp]",k="[object Set]",O="[object String]",E="[object Symbol]",I="[object WeakMap]",R="[object ArrayBuffer]",S="[object DataView]",z="[object Float32Array]",T="[object Float64Array]",C="[object Int8Array]",L="[object Int16Array]",W="[object Int32Array]",U="[object Uint8Array]",B="[object Uint8ClampedArray]",$="[object Uint16Array]",D="[object Uint32Array]",M=/\b__p \+='';/g,F=/\b(__p \+=) '' \+/g,N=/(__e\(.*?\)|\b__t\)) \+\n'';/g,P=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,Z=RegExp(P.source),K=RegExp(q.source),V=/<%-([\s\S]+?)%>/g,G=/<%([\s\S]+?)%>/g,H=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Y=/^\w*$/,Q=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,X=/[\\^$.*+?()[\]{}|]/g,nn=RegExp(X.source),tn=/^\s+/,rn=/\s/,en=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,un=/\{\n\/\* \[wrapped with (.+)\] \*/,on=/,? & /,fn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,an=/[()=,{}\[\]\/\s]/,cn=/\\(\\)?/g,ln=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,sn=/\w*$/,hn=/^[-+]0x[0-9a-f]+$/i,pn=/^0b[01]+$/i,vn=/^\[object .+?Constructor\]$/,_n=/^0o[0-7]+$/i,gn=/^(?:0|[1-9]\d*)$/,yn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,dn=/($^)/,bn=/['\n\r\u2028\u2029\\]/g,wn="\\ud800-\\udfff",mn="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xn="\\u2700-\\u27bf",jn="a-z\\xdf-\\xf6\\xf8-\\xff",An="A-Z\\xc0-\\xd6\\xd8-\\xde",kn="\\ufe0e\\ufe0f",On="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",En="["+wn+"]",In="["+On+"]",Rn="["+mn+"]",Sn="\\d+",zn="["+xn+"]",Tn="["+jn+"]",Cn="[^"+wn+On+Sn+xn+jn+An+"]",Ln="\\ud83c[\\udffb-\\udfff]",Wn="[^"+wn+"]",Un="(?:\\ud83c[\\udde6-\\uddff]){2}",Bn="[\\ud800-\\udbff][\\udc00-\\udfff]",$n="["+An+"]",Dn="\\u200d",Mn="(?:"+Tn+"|"+Cn+")",Fn="(?:"+$n+"|"+Cn+")",Nn="(?:['’](?:d|ll|m|re|s|t|ve))?",Pn="(?:['’](?:D|LL|M|RE|S|T|VE))?",qn="(?:"+Rn+"|"+Ln+")?",Zn="["+kn+"]?",Kn=Zn+qn+"(?:"+Dn+"(?:"+[Wn,Un,Bn].join("|")+")"+Zn+qn+")*",Vn="(?:"+[zn,Un,Bn].join("|")+")"+Kn,Gn="(?:"+[Wn+Rn+"?",Rn,Un,Bn,En].join("|")+")",Hn=RegExp("['’]","g"),Jn=RegExp(Rn,"g"),Yn=RegExp(Ln+"(?="+Ln+")|"+Gn+Kn,"g"),Qn=RegExp([$n+"?"+Tn+"+"+Nn+"(?="+[In,$n,"$"].join("|")+")",Fn+"+"+Pn+"(?="+[In,$n+Mn,"$"].join("|")+")",$n+"?"+Mn+"+"+Nn,$n+"+"+Pn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Sn,Vn].join("|"),"g"),Xn=RegExp("["+Dn+wn+mn+kn+"]"),nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,tt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,et={};et[z]=et[T]=et[C]=et[L]=et[W]=et[U]=et[B]=et[$]=et[D]=!0,et[p]=et[v]=et[R]=et[_]=et[S]=et[g]=et[y]=et[d]=et[w]=et[m]=et[x]=et[A]=et[k]=et[O]=et[I]=!1;var ut={};ut[p]=ut[v]=ut[R]=ut[S]=ut[_]=ut[g]=ut[z]=ut[T]=ut[C]=ut[L]=ut[W]=ut[w]=ut[m]=ut[x]=ut[A]=ut[k]=ut[O]=ut[E]=ut[U]=ut[B]=ut[$]=ut[D]=!0,ut[y]=ut[d]=ut[I]=!1;var it={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ot=parseFloat,ft=parseInt,at="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis,ct="object"==typeof self&&self&&self.Object===Object&&self,lt=at||ct||Function("return this")(),st=t&&!t.nodeType&&t,ht=st&&n&&!n.nodeType&&n,pt=ht&&ht.exports===st,vt=pt&&at.process,_t=function(){try{return ht&&ht.require&&ht.require("util").types||vt&&vt.binding&&vt.binding("util")}catch(n){}}(),gt=_t&&_t.isArrayBuffer,yt=_t&&_t.isDate,dt=_t&&_t.isMap,bt=_t&&_t.isRegExp,wt=_t&&_t.isSet,mt=_t&&_t.isTypedArray;function xt(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function jt(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u<i;){var o=n[u];t(e,o,r(o),n)}return e}function At(n,t){for(var r=-1,e=null==n?0:n.length;++r<e&&!1!==t(n[r],r,n););return n}function kt(n,t){for(var r=null==n?0:n.length;r--&&!1!==t(n[r],r,n););return n}function Ot(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(!t(n[r],r,n))return!1;return!0}function Et(n,t){for(var r=-1,e=null==n?0:n.length,u=0,i=[];++r<e;){var o=n[r];t(o,r,n)&&(i[u++]=o)}return i}function It(n,t){return!(null==n||!n.length)&&$t(n,t,0)>-1}function Rt(n,t,r){for(var e=-1,u=null==n?0:n.length;++e<u;)if(r(t,n[e]))return!0;return!1}function St(n,t){for(var r=-1,e=null==n?0:n.length,u=Array(e);++r<e;)u[r]=t(n[r],r,n);return u}function zt(n,t){for(var r=-1,e=t.length,u=n.length;++r<e;)n[u+r]=t[r];return n}function Tt(n,t,r,e){var u=-1,i=null==n?0:n.length;for(e&&i&&(r=n[++u]);++u<i;)r=t(r,n[u],u,n);return r}function Ct(n,t,r,e){var u=null==n?0:n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);return r}function Lt(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return!0;return!1}var Wt=Nt("length");function Ut(n,t,r){var e;return r(n,function(n,r,u){if(t(n,r,u))return e=r,!1}),e}function Bt(n,t,r,e){for(var u=n.length,i=r+(e?1:-1);e?i--:++i<u;)if(t(n[i],i,n))return i;return-1}function $t(n,t,r){return t==t?function(n,t,r){for(var e=r-1,u=n.length;++e<u;)if(n[e]===t)return e;return-1}(n,t,r):Bt(n,Mt,r)}function Dt(n,t,r,e){for(var u=r-1,i=n.length;++u<i;)if(e(n[u],t))return u;return-1}function Mt(n){return n!=n}function Ft(n,t){var r=null==n?0:n.length;return r?Zt(n,t)/r:l}function Nt(n){return function(t){return null==t?r:t[n]}}function Pt(n){return function(t){return null==n?r:n[t]}}function qt(n,t,r,e,u){return u(n,function(n,u,i){r=e?(e=!1,n):t(r,n,u,i)}),r}function Zt(n,t){for(var e,u=-1,i=n.length;++u<i;){var o=t(n[u]);o!==r&&(e=e===r?o:e+o)}return e}function Kt(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}function Vt(n){return n?n.slice(0,lr(n)+1).replace(tn,""):n}function Gt(n){return function(t){return n(t)}}function Ht(n,t){return St(t,function(t){return n[t]})}function Jt(n,t){return n.has(t)}function Yt(n,t){for(var r=-1,e=n.length;++r<e&&$t(t,n[r],0)>-1;);return r}function Qt(n,t){for(var r=n.length;r--&&$t(t,n[r],0)>-1;);return r}var Xt=Pt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"}),nr=Pt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function tr(n){return"\\"+it[n]}function rr(n){return Xn.test(n)}function er(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n]}),r}function ur(n,t){return function(r){return n(t(r))}}function ir(n,t){for(var r=-1,e=n.length,u=0,o=[];++r<e;){var f=n[r];f!==t&&f!==i||(n[r]=i,o[u++]=r)}return o}function or(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=n}),r}function fr(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=[n,n]}),r}function ar(n){return rr(n)?function(n){for(var t=Yn.lastIndex=0;Yn.test(n);)++t;return t}(n):Wt(n)}function cr(n){return rr(n)?function(n){return n.match(Yn)||[]}(n):function(n){return n.split("")}(n)}function lr(n){for(var t=n.length;t--&&rn.test(n.charAt(t)););return t}var sr=Pt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),hr=function n(t){var rn,wn=(t=null==t?lt:hr.defaults(lt.Object(),t,hr.pick(lt,tt))).Array,mn=t.Date,xn=t.Error,jn=t.Function,An=t.Math,kn=t.Object,On=t.RegExp,En=t.String,In=t.TypeError,Rn=wn.prototype,Sn=jn.prototype,zn=kn.prototype,Tn=t["__core-js_shared__"],Cn=Sn.toString,Ln=zn.hasOwnProperty,Wn=0,Un=(rn=/[^.]+$/.exec(Tn&&Tn.keys&&Tn.keys.IE_PROTO||""))?"Symbol(src)_1."+rn:"",Bn=zn.toString,$n=Cn.call(kn),Dn=lt._,Mn=On("^"+Cn.call(Ln).replace(X,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Fn=pt?t.Buffer:r,Nn=t.Symbol,Pn=t.Uint8Array,qn=Fn?Fn.allocUnsafe:r,Zn=ur(kn.getPrototypeOf,kn),Kn=kn.create,Vn=zn.propertyIsEnumerable,Gn=Rn.splice,Yn=Nn?Nn.isConcatSpreadable:r,Xn=Nn?Nn.iterator:r,it=Nn?Nn.toStringTag:r,at=function(){try{var n=ai(kn,"defineProperty");return n({},"",{}),n}catch(n){}}(),ct=t.clearTimeout!==lt.clearTimeout&&t.clearTimeout,st=mn&&mn.now!==lt.Date.now&&mn.now,ht=t.setTimeout!==lt.setTimeout&&t.setTimeout,vt=An.ceil,_t=An.floor,Wt=kn.getOwnPropertySymbols,Pt=Fn?Fn.isBuffer:r,pr=t.isFinite,vr=Rn.join,_r=ur(kn.keys,kn),gr=An.max,yr=An.min,dr=mn.now,br=t.parseInt,wr=An.random,mr=Rn.reverse,xr=ai(t,"DataView"),jr=ai(t,"Map"),Ar=ai(t,"Promise"),kr=ai(t,"Set"),Or=ai(t,"WeakMap"),Er=ai(kn,"create"),Ir=Or&&new Or,Rr={},Sr=Ui(xr),zr=Ui(jr),Tr=Ui(Ar),Cr=Ui(kr),Lr=Ui(Or),Wr=Nn?Nn.prototype:r,Ur=Wr?Wr.valueOf:r,Br=Wr?Wr.toString:r;function $r(n){if(nf(n)&&!Po(n)&&!(n instanceof Nr)){if(n instanceof Fr)return n;if(Ln.call(n,"__wrapped__"))return Bi(n)}return new Fr(n)}var Dr=function(){function n(){}return function(t){if(!Xo(t))return{};if(Kn)return Kn(t);n.prototype=t;var e=new n;return n.prototype=r,e}}();function Mr(){}function Fr(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Nr(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=s,this.__views__=[]}function Pr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function qr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function Zr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1])}}function Kr(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new Zr;++t<r;)this.add(n[t])}function Vr(n){var t=this.__data__=new qr(n);this.size=t.size}function Gr(n,t){var r=Po(n),e=!r&&No(n),u=!r&&!e&&Vo(n),i=!r&&!e&&!u&&cf(n),o=r||e||u||i,f=o?Kt(n.length,En):[],a=f.length;for(var c in n)!t&&!Ln.call(n,c)||o&&("length"==c||u&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||_i(c,a))||f.push(c);return f}function Hr(n){var t=n.length;return t?n[Ze(0,t-1)]:r}function Jr(n,t){return zi(Ou(n),ie(t,0,n.length))}function Yr(n){return zi(Ou(n))}function Qr(n,t,e){(e!==r&&!Do(n[t],e)||e===r&&!(t in n))&&ee(n,t,e)}function Xr(n,t,e){var u=n[t];Ln.call(n,t)&&Do(u,e)&&(e!==r||t in n)||ee(n,t,e)}function ne(n,t){for(var r=n.length;r--;)if(Do(n[r][0],t))return r;return-1}function te(n,t,r,e){return le(n,function(n,u,i){t(e,n,r(n),i)}),e}function re(n,t){return n&&Eu(t,zf(t),n)}function ee(n,t,r){"__proto__"==t&&at?at(n,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):n[t]=r}function ue(n,t){for(var e=-1,u=t.length,i=wn(u),o=null==n;++e<u;)i[e]=o?r:Of(n,t[e]);return i}function ie(n,t,e){return n==n&&(e!==r&&(n=n<=e?n:e),t!==r&&(n=n>=t?n:t)),n}function oe(n,t,e,u,i,o){var f,a=1&t,c=2&t,l=4&t;if(e&&(f=i?e(n,u,i,o):e(n)),f!==r)return f;if(!Xo(n))return n;var s=Po(n);if(s){if(f=function(n){var t=n.length,r=new n.constructor(t);return t&&"string"==typeof n[0]&&Ln.call(n,"index")&&(r.index=n.index,r.input=n.input),r}(n),!a)return Ou(n,f)}else{var h=si(n),v=h==d||h==b;if(Vo(n))return wu(n,a);if(h==x||h==p||v&&!i){if(f=c||v?{}:pi(n),!a)return c?function(n,t){return Eu(n,li(n),t)}(n,function(n,t){return n&&Eu(t,Tf(t),n)}(f,n)):function(n,t){return Eu(n,ci(n),t)}(n,re(f,n))}else{if(!ut[h])return i?n:{};f=function(n,t,r){var e,u=n.constructor;switch(t){case R:return mu(n);case _:case g:return new u(+n);case S:return function(n,t){var r=t?mu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}(n,r);case z:case T:case C:case L:case W:case U:case B:case $:case D:return xu(n,r);case w:return new u;case m:case O:return new u(n);case A:return function(n){var t=new n.constructor(n.source,sn.exec(n));return t.lastIndex=n.lastIndex,t}(n);case k:return new u;case E:return e=n,Ur?kn(Ur.call(e)):{}}}(n,h,a)}}o||(o=new Vr);var y=o.get(n);if(y)return y;o.set(n,f),of(n)?n.forEach(function(r){f.add(oe(r,t,e,r,n,o))}):tf(n)&&n.forEach(function(r,u){f.set(u,oe(r,t,e,u,n,o))});var j=s?r:(l?c?ti:ni:c?Tf:zf)(n);return At(j||n,function(r,u){j&&(r=n[u=r]),Xr(f,u,oe(r,t,e,u,n,o))}),f}function fe(n,t,e){var u=e.length;if(null==n)return!u;for(n=kn(n);u--;){var i=e[u],o=t[i],f=n[i];if(f===r&&!(i in n)||!o(f))return!1}return!0}function ae(n,t,u){if("function"!=typeof n)throw new In(e);return Ei(function(){n.apply(r,u)},t)}function ce(n,t,r,e){var u=-1,i=It,o=!0,f=n.length,a=[],c=t.length;if(!f)return a;r&&(t=St(t,Gt(r))),e?(i=Rt,o=!1):t.length>=200&&(i=Jt,o=!1,t=new Kr(t));n:for(;++u<f;){var l=n[u],s=null==r?l:r(l);if(l=e||0!==l?l:0,o&&s==s){for(var h=c;h--;)if(t[h]===s)continue n;a.push(l)}else i(t,s,e)||a.push(l)}return a}$r.templateSettings={escape:V,evaluate:G,interpolate:H,variable:"",imports:{_:$r}},$r.prototype=Mr.prototype,$r.prototype.constructor=$r,Fr.prototype=Dr(Mr.prototype),Fr.prototype.constructor=Fr,Nr.prototype=Dr(Mr.prototype),Nr.prototype.constructor=Nr,Pr.prototype.clear=function(){this.__data__=Er?Er(null):{},this.size=0},Pr.prototype.delete=function(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0,t},Pr.prototype.get=function(n){var t=this.__data__;if(Er){var e=t[n];return e===u?r:e}return Ln.call(t,n)?t[n]:r},Pr.prototype.has=function(n){var t=this.__data__;return Er?t[n]!==r:Ln.call(t,n)},Pr.prototype.set=function(n,t){var e=this.__data__;return this.size+=this.has(n)?0:1,e[n]=Er&&t===r?u:t,this},qr.prototype.clear=function(){this.__data__=[],this.size=0},qr.prototype.delete=function(n){var t=this.__data__,r=ne(t,n);return!(r<0||(r==t.length-1?t.pop():Gn.call(t,r,1),--this.size,0))},qr.prototype.get=function(n){var t=this.__data__,e=ne(t,n);return e<0?r:t[e][1]},qr.prototype.has=function(n){return ne(this.__data__,n)>-1},qr.prototype.set=function(n,t){var r=this.__data__,e=ne(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},Zr.prototype.clear=function(){this.size=0,this.__data__={hash:new Pr,map:new(jr||qr),string:new Pr}},Zr.prototype.delete=function(n){var t=oi(this,n).delete(n);return this.size-=t?1:0,t},Zr.prototype.get=function(n){return oi(this,n).get(n)},Zr.prototype.has=function(n){return oi(this,n).has(n)},Zr.prototype.set=function(n,t){var r=oi(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Kr.prototype.add=Kr.prototype.push=function(n){return this.__data__.set(n,u),this},Kr.prototype.has=function(n){return this.__data__.has(n)},Vr.prototype.clear=function(){this.__data__=new qr,this.size=0},Vr.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Vr.prototype.get=function(n){return this.__data__.get(n)},Vr.prototype.has=function(n){return this.__data__.has(n)},Vr.prototype.set=function(n,t){var r=this.__data__;if(r instanceof qr){var e=r.__data__;if(!jr||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new Zr(e)}return r.set(n,t),this.size=r.size,this};var le=Su(de),se=Su(be,!0);function he(n,t){var r=!0;return le(n,function(n,e,u){return r=!!t(n,e,u)}),r}function pe(n,t,e){for(var u=-1,i=n.length;++u<i;){var o=n[u],f=t(o);if(null!=f&&(a===r?f==f&&!af(f):e(f,a)))var a=f,c=o}return c}function ve(n,t){var r=[];return le(n,function(n,e,u){t(n,e,u)&&r.push(n)}),r}function _e(n,t,r,e,u){var i=-1,o=n.length;for(r||(r=vi),u||(u=[]);++i<o;){var f=n[i];t>0&&r(f)?t>1?_e(f,t-1,r,e,u):zt(u,f):e||(u[u.length]=f)}return u}var ge=zu(),ye=zu(!0);function de(n,t){return n&&ge(n,t,zf)}function be(n,t){return n&&ye(n,t,zf)}function we(n,t){return Et(t,function(t){return Jo(n[t])})}function me(n,t){for(var e=0,u=(t=gu(t,n)).length;null!=n&&e<u;)n=n[Wi(t[e++])];return e&&e==u?n:r}function xe(n,t,r){var e=t(n);return Po(n)?e:zt(e,r(n))}function je(n){return null==n?n===r?"[object Undefined]":"[object Null]":it&&it in kn(n)?function(n){var t=Ln.call(n,it),e=n[it];try{n[it]=r;var u=!0}catch(n){}var i=Bn.call(n);return u&&(t?n[it]=e:delete n[it]),i}(n):function(n){return Bn.call(n)}(n)}function Ae(n,t){return n>t}function ke(n,t){return null!=n&&Ln.call(n,t)}function Oe(n,t){return null!=n&&t in kn(n)}function Ee(n,t,e){for(var u=e?Rt:It,i=n[0].length,o=n.length,f=o,a=wn(o),c=1/0,l=[];f--;){var s=n[f];f&&t&&(s=St(s,Gt(t))),c=yr(s.length,c),a[f]=!e&&(t||i>=120&&s.length>=120)?new Kr(f&&s):r}s=n[0];var h=-1,p=a[0];n:for(;++h<i&&l.length<c;){var v=s[h],_=t?t(v):v;if(v=e||0!==v?v:0,!(p?Jt(p,_):u(l,_,e))){for(f=o;--f;){var g=a[f];if(!(g?Jt(g,_):u(n[f],_,e)))continue n}p&&p.push(_),l.push(v)}}return l}function Ie(n,t,e){var u=null==(n=Ai(n,t=gu(t,n)))?n:n[Wi(Gi(t))];return null==u?r:xt(u,n,e)}function Re(n){return nf(n)&&je(n)==p}function Se(n,t,e,u,i){return n===t||(null==n||null==t||!nf(n)&&!nf(t)?n!=n&&t!=t:function(n,t,e,u,i,o){var f=Po(n),a=Po(t),c=f?v:si(n),l=a?v:si(t),s=(c=c==p?x:c)==x,h=(l=l==p?x:l)==x,d=c==l;if(d&&Vo(n)){if(!Vo(t))return!1;f=!0,s=!1}if(d&&!s)return o||(o=new Vr),f||cf(n)?Qu(n,t,e,u,i,o):function(n,t,r,e,u,i,o){switch(r){case S:if(n.byteLength!=t.byteLength||n.byteOffset!=t.byteOffset)return!1;n=n.buffer,t=t.buffer;case R:return!(n.byteLength!=t.byteLength||!i(new Pn(n),new Pn(t)));case _:case g:case m:return Do(+n,+t);case y:return n.name==t.name&&n.message==t.message;case A:case O:return n==t+"";case w:var f=er;case k:var a=1&e;if(f||(f=or),n.size!=t.size&&!a)return!1;var c=o.get(n);if(c)return c==t;e|=2,o.set(n,t);var l=Qu(f(n),f(t),e,u,i,o);return o.delete(n),l;case E:if(Ur)return Ur.call(n)==Ur.call(t)}return!1}(n,t,c,e,u,i,o);if(!(1&e)){var b=s&&Ln.call(n,"__wrapped__"),j=h&&Ln.call(t,"__wrapped__");if(b||j){var I=b?n.value():n,z=j?t.value():t;return o||(o=new Vr),i(I,z,e,u,o)}}return!!d&&(o||(o=new Vr),function(n,t,e,u,i,o){var f=1&e,a=ni(n),c=a.length;if(c!=ni(t).length&&!f)return!1;for(var l=c;l--;){var s=a[l];if(!(f?s in t:Ln.call(t,s)))return!1}var h=o.get(n),p=o.get(t);if(h&&p)return h==t&&p==n;var v=!0;o.set(n,t),o.set(t,n);for(var _=f;++l<c;){var g=n[s=a[l]],y=t[s];if(u)var d=f?u(y,g,s,t,n,o):u(g,y,s,n,t,o);if(!(d===r?g===y||i(g,y,e,u,o):d)){v=!1;break}_||(_="constructor"==s)}if(v&&!_){var b=n.constructor,w=t.constructor;b==w||!("constructor"in n)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(v=!1)}return o.delete(n),o.delete(t),v}(n,t,e,u,i,o))}(n,t,e,u,Se,i))}function ze(n,t,e,u){var i=e.length,o=i,f=!u;if(null==n)return!o;for(n=kn(n);i--;){var a=e[i];if(f&&a[2]?a[1]!==n[a[0]]:!(a[0]in n))return!1}for(;++i<o;){var c=(a=e[i])[0],l=n[c],s=a[1];if(f&&a[2]){if(l===r&&!(c in n))return!1}else{var h=new Vr;if(u)var p=u(l,s,c,n,t,h);if(!(p===r?Se(s,l,3,u,h):p))return!1}}return!0}function Te(n){return!(!Xo(n)||(t=n,Un&&Un in t))&&(Jo(n)?Mn:vn).test(Ui(n));var t}function Ce(n){return"function"==typeof n?n:null==n?ea:"object"==typeof n?Po(n)?$e(n[0],n[1]):Be(n):ha(n)}function Le(n){if(!wi(n))return _r(n);var t=[];for(var r in kn(n))Ln.call(n,r)&&"constructor"!=r&&t.push(r);return t}function We(n,t){return n<t}function Ue(n,t){var r=-1,e=Zo(n)?wn(n.length):[];return le(n,function(n,u,i){e[++r]=t(n,u,i)}),e}function Be(n){var t=fi(n);return 1==t.length&&t[0][2]?xi(t[0][0],t[0][1]):function(r){return r===n||ze(r,n,t)}}function $e(n,t){return yi(n)&&mi(t)?xi(Wi(n),t):function(e){var u=Of(e,n);return u===r&&u===t?Ef(e,n):Se(t,u,3)}}function De(n,t,e,u,i){n!==t&&ge(t,function(o,f){if(i||(i=new Vr),Xo(o))!function(n,t,e,u,i,o,f){var a=ki(n,e),c=ki(t,e),l=f.get(c);if(l)Qr(n,e,l);else{var s=o?o(a,c,e+"",n,t,f):r,h=s===r;if(h){var p=Po(c),v=!p&&Vo(c),_=!p&&!v&&cf(c);s=c,p||v||_?Po(a)?s=a:Ko(a)?s=Ou(a):v?(h=!1,s=wu(c,!0)):_?(h=!1,s=xu(c,!0)):s=[]:ef(c)||No(c)?(s=a,No(a)?s=yf(a):Xo(a)&&!Jo(a)||(s=pi(c))):h=!1}h&&(f.set(c,s),i(s,c,u,o,f),f.delete(c)),Qr(n,e,s)}}(n,t,f,e,De,u,i);else{var a=u?u(ki(n,f),o,f+"",n,t,i):r;a===r&&(a=o),Qr(n,f,a)}},Tf)}function Me(n,t){var e=n.length;if(e)return _i(t+=t<0?e:0,e)?n[t]:r}function Fe(n,t,r){t=t.length?St(t,function(n){return Po(n)?function(t){return me(t,1===n.length?n[0]:n)}:n}):[ea];var e=-1;t=St(t,Gt(ii()));var u=Ue(n,function(n,r,u){var i=St(t,function(t){return t(n)});return{criteria:i,index:++e,value:n}});return function(n){var t=n.length;for(n.sort(function(n,t){return function(n,t,r){for(var e=-1,u=n.criteria,i=t.criteria,o=u.length,f=r.length;++e<o;){var a=ju(u[e],i[e]);if(a)return e>=f?a:a*("desc"==r[e]?-1:1)}return n.index-t.index}(n,t,r)});t--;)n[t]=n[t].value;return n}(u)}function Ne(n,t,r){for(var e=-1,u=t.length,i={};++e<u;){var o=t[e],f=me(n,o);r(f,o)&&Je(i,gu(o,n),f)}return i}function Pe(n,t,r,e){var u=e?Dt:$t,i=-1,o=t.length,f=n;for(n===t&&(t=Ou(t)),r&&(f=St(n,Gt(r)));++i<o;)for(var a=0,c=t[i],l=r?r(c):c;(a=u(f,l,a,e))>-1;)f!==n&&Gn.call(f,a,1),Gn.call(n,a,1);return n}function qe(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;_i(u)?Gn.call(n,u,1):au(n,u)}}return n}function Ze(n,t){return n+_t(wr()*(t-n+1))}function Ke(n,t){var r="";if(!n||t<1||t>c)return r;do{t%2&&(r+=n),(t=_t(t/2))&&(n+=n)}while(t);return r}function Ve(n,t){return Ii(ji(n,t,ea),n+"")}function Ge(n){return Hr(Mf(n))}function He(n,t){var r=Mf(n);return zi(r,ie(t,0,r.length))}function Je(n,t,e,u){if(!Xo(n))return n;for(var i=-1,o=(t=gu(t,n)).length,f=o-1,a=n;null!=a&&++i<o;){var c=Wi(t[i]),l=e;if("__proto__"===c||"constructor"===c||"prototype"===c)return n;if(i!=f){var s=a[c];(l=u?u(s,c,a):r)===r&&(l=Xo(s)?s:_i(t[i+1])?[]:{})}Xr(a,c,l),a=a[c]}return n}var Ye=Ir?function(n,t){return Ir.set(n,t),n}:ea,Qe=at?function(n,t){return at(n,"toString",{configurable:!0,enumerable:!1,value:na(t),writable:!0})}:ea;function Xe(n){return zi(Mf(n))}function nu(n,t,r){var e=-1,u=n.length;t<0&&(t=-t>u?0:u+t),(r=r>u?u:r)<0&&(r+=u),u=t>r?0:r-t>>>0,t>>>=0;for(var i=wn(u);++e<u;)i[e]=n[e+t];return i}function tu(n,t){var r;return le(n,function(n,e,u){return!(r=t(n,e,u))}),!!r}function ru(n,t,r){var e=0,u=null==n?e:n.length;if("number"==typeof t&&t==t&&u<=2147483647){for(;e<u;){var i=e+u>>>1,o=n[i];null!==o&&!af(o)&&(r?o<=t:o<t)?e=i+1:u=i}return u}return eu(n,t,ea,r)}function eu(n,t,e,u){var i=0,o=null==n?0:n.length;if(0===o)return 0;for(var f=(t=e(t))!=t,a=null===t,c=af(t),l=t===r;i<o;){var s=_t((i+o)/2),h=e(n[s]),p=h!==r,v=null===h,_=h==h,g=af(h);if(f)var y=u||_;else y=l?_&&(u||p):a?_&&p&&(u||!v):c?_&&p&&!v&&(u||!g):!v&&!g&&(u?h<=t:h<t);y?i=s+1:o=s}return yr(o,4294967294)}function uu(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r],f=t?t(o):o;if(!r||!Do(f,a)){var a=f;i[u++]=0===o?0:o}}return i}function iu(n){return"number"==typeof n?n:af(n)?l:+n}function ou(n){if("string"==typeof n)return n;if(Po(n))return St(n,ou)+"";if(af(n))return Br?Br.call(n):"";var t=n+"";return"0"==t&&1/n==-1/0?"-0":t}function fu(n,t,r){var e=-1,u=It,i=n.length,o=!0,f=[],a=f;if(r)o=!1,u=Rt;else if(i>=200){var c=t?null:Ku(n);if(c)return or(c);o=!1,u=Jt,a=new Kr}else a=t?[]:f;n:for(;++e<i;){var l=n[e],s=t?t(l):l;if(l=r||0!==l?l:0,o&&s==s){for(var h=a.length;h--;)if(a[h]===s)continue n;t&&a.push(s),f.push(l)}else u(a,s,r)||(a!==f&&a.push(s),f.push(l))}return f}function au(n,t){var r=-1,e=(t=gu(t,n)).length;if(!e)return!0;for(;++r<e;){var u=Wi(t[r]);if("__proto__"===u&&!Ln.call(n,"__proto__"))return!1;if(("constructor"===u||"prototype"===u)&&r<e-1)return!1}var i=Ai(n,t);return null==i||delete i[Wi(Gi(t))]}function cu(n,t,r,e){return Je(n,t,r(me(n,t)),e)}function lu(n,t,r,e){for(var u=n.length,i=e?u:-1;(e?i--:++i<u)&&t(n[i],i,n););return r?nu(n,e?0:i,e?i+1:u):nu(n,e?i+1:0,e?u:i)}function su(n,t){var r=n;return r instanceof Nr&&(r=r.value()),Tt(t,function(n,t){return t.func.apply(t.thisArg,zt([n],t.args))},r)}function hu(n,t,r){var e=n.length;if(e<2)return e?fu(n[0]):[];for(var u=-1,i=wn(e);++u<e;)for(var o=n[u],f=-1;++f<e;)f!=u&&(i[u]=ce(i[u]||o,n[f],t,r));return fu(_e(i,1),t,r)}function pu(n,t,e){for(var u=-1,i=n.length,o=t.length,f={};++u<i;){var a=u<o?t[u]:r;e(f,n[u],a)}return f}function vu(n){return Ko(n)?n:[]}function _u(n){return"function"==typeof n?n:ea}function gu(n,t){return Po(n)?n:yi(n,t)?[n]:Li(df(n))}var yu=Ve;function du(n,t,e){var u=n.length;return e=e===r?u:e,!t&&e>=u?n:nu(n,t,e)}var bu=ct||function(n){return lt.clearTimeout(n)};function wu(n,t){if(t)return n.slice();var r=n.length,e=qn?qn(r):new n.constructor(r);return n.copy(e),e}function mu(n){var t=new n.constructor(n.byteLength);return new Pn(t).set(new Pn(n)),t}function xu(n,t){var r=t?mu(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function ju(n,t){if(n!==t){var e=n!==r,u=null===n,i=n==n,o=af(n),f=t!==r,a=null===t,c=t==t,l=af(t);if(!a&&!l&&!o&&n>t||o&&f&&c&&!a&&!l||u&&f&&c||!e&&c||!i)return 1;if(!u&&!o&&!l&&n<t||l&&e&&i&&!u&&!o||a&&e&&i||!f&&i||!c)return-1}return 0}function Au(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,a=t.length,c=gr(i-o,0),l=wn(a+c),s=!e;++f<a;)l[f]=t[f];for(;++u<o;)(s||u<i)&&(l[r[u]]=n[u]);for(;c--;)l[f++]=n[u++];return l}function ku(n,t,r,e){for(var u=-1,i=n.length,o=-1,f=r.length,a=-1,c=t.length,l=gr(i-f,0),s=wn(l+c),h=!e;++u<l;)s[u]=n[u];for(var p=u;++a<c;)s[p+a]=t[a];for(;++o<f;)(h||u<i)&&(s[p+r[o]]=n[u++]);return s}function Ou(n,t){var r=-1,e=n.length;for(t||(t=wn(e));++r<e;)t[r]=n[r];return t}function Eu(n,t,e,u){var i=!e;e||(e={});for(var o=-1,f=t.length;++o<f;){var a=t[o],c=u?u(e[a],n[a],a,e,n):r;c===r&&(c=n[a]),i?ee(e,a,c):Xr(e,a,c)}return e}function Iu(n,t){return function(r,e){var u=Po(r)?jt:te,i=t?t():{};return u(r,n,ii(e,2),i)}}function Ru(n){return Ve(function(t,e){var u=-1,i=e.length,o=i>1?e[i-1]:r,f=i>2?e[2]:r;for(o=n.length>3&&"function"==typeof o?(i--,o):r,f&&gi(e[0],e[1],f)&&(o=i<3?r:o,i=1),t=kn(t);++u<i;){var a=e[u];a&&n(t,a,u,o)}return t})}function Su(n,t){return function(r,e){if(null==r)return r;if(!Zo(r))return n(r,e);for(var u=r.length,i=t?u:-1,o=kn(r);(t?i--:++i<u)&&!1!==e(o[i],i,o););return r}}function zu(n){return function(t,r,e){for(var u=-1,i=kn(t),o=e(t),f=o.length;f--;){var a=o[n?f:++u];if(!1===r(i[a],a,i))break}return t}}function Tu(n){return function(t){var e=rr(t=df(t))?cr(t):r,u=e?e[0]:t.charAt(0),i=e?du(e,1).join(""):t.slice(1);return u[n]()+i}}function Cu(n){return function(t){return Tt(Yf(Pf(t).replace(Hn,"")),n,"")}}function Lu(n){return function(){var t=arguments;switch(t.length){case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);case 4:return new n(t[0],t[1],t[2],t[3]);case 5:return new n(t[0],t[1],t[2],t[3],t[4]);case 6:return new n(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new n(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=Dr(n.prototype),e=n.apply(r,t);return Xo(e)?e:r}}function Wu(n){return function(t,e,u){var i=kn(t);if(!Zo(t)){var o=ii(e,3);t=zf(t),e=function(n){return o(i[n],n,i)}}var f=n(t,e,u);return f>-1?i[o?t[f]:f]:r}}function Uu(n){return Xu(function(t){var u=t.length,i=u,o=Fr.prototype.thru;for(n&&t.reverse();i--;){var f=t[i];if("function"!=typeof f)throw new In(e);if(o&&!a&&"wrapper"==ei(f))var a=new Fr([],!0)}for(i=a?i:u;++i<u;){var c=ei(f=t[i]),l="wrapper"==c?ri(f):r;a=l&&di(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?a[ei(l[0])].apply(a,l[3]):1==f.length&&di(f)?a[c]():a.thru(f)}return function(){var n=arguments,r=n[0];if(a&&1==n.length&&Po(r))return a.plant(r).value();for(var e=0,i=u?t[e].apply(this,n):r;++e<u;)i=t[e].call(this,i);return i}})}function Bu(n,t,e,u,i,o,a,c,l,s){var h=t&f,p=1&t,v=2&t,_=24&t,g=512&t,y=v?r:Lu(n);return function f(){for(var d=arguments.length,b=wn(d),w=d;w--;)b[w]=arguments[w];if(_)var m=ui(f),x=function(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;return e}(b,m);if(u&&(b=Au(b,u,i,_)),o&&(b=ku(b,o,a,_)),d-=x,_&&d<s){var j=ir(b,m);return qu(n,t,Bu,f.placeholder,e,b,j,c,l,s-d)}var A=p?e:this,k=v?A[n]:n;return d=b.length,c?b=function(n,t){for(var e=n.length,u=yr(t.length,e),i=Ou(n);u--;){var o=t[u];n[u]=_i(o,e)?i[o]:r}return n}(b,c):g&&d>1&&b.reverse(),h&&l<d&&(b.length=l),this&&this!==lt&&this instanceof f&&(k=y||Lu(k)),k.apply(A,b)}}function $u(n,t){return function(r,e){return function(n,t,r,e){return de(n,function(n,u,i){t(e,r(n),u,i)}),e}(r,n,t(e),{})}}function Du(n,t){return function(e,u){var i;if(e===r&&u===r)return t;if(e!==r&&(i=e),u!==r){if(i===r)return u;"string"==typeof e||"string"==typeof u?(e=ou(e),u=ou(u)):(e=iu(e),u=iu(u)),i=n(e,u)}return i}}function Mu(n){return Xu(function(t){return t=St(t,Gt(ii())),Ve(function(r){var e=this;return n(t,function(n){return xt(n,e,r)})})})}function Fu(n,t){var e=(t=t===r?" ":ou(t)).length;if(e<2)return e?Ke(t,n):t;var u=Ke(t,vt(n/ar(t)));return rr(t)?du(cr(u),0,n).join(""):u.slice(0,n)}function Nu(n){return function(t,e,u){return u&&"number"!=typeof u&&gi(t,e,u)&&(e=u=r),t=pf(t),e===r?(e=t,t=0):e=pf(e),function(n,t,r,e){for(var u=-1,i=gr(vt((t-n)/(r||1)),0),o=wn(i);i--;)o[e?i:++u]=n,n+=r;return o}(t,e,u=u===r?t<e?1:-1:pf(u),n)}}function Pu(n){return function(t,r){return"string"==typeof t&&"string"==typeof r||(t=gf(t),r=gf(r)),n(t,r)}}function qu(n,t,e,u,i,f,a,c,l,s){var h=8&t;t|=h?o:64,4&(t&=~(h?64:o))||(t&=-4);var p=[n,t,i,h?f:r,h?a:r,h?r:f,h?r:a,c,l,s],v=e.apply(r,p);return di(n)&&Oi(v,p),v.placeholder=u,Ri(v,n,t)}function Zu(n){var t=An[n];return function(n,r){if(n=gf(n),(r=null==r?0:yr(vf(r),292))&&pr(n)){var e=(df(n)+"e").split("e");return+((e=(df(t(e[0]+"e"+(+e[1]+r)))+"e").split("e"))[0]+"e"+(+e[1]-r))}return t(n)}}var Ku=kr&&1/or(new kr([,-0]))[1]==a?function(n){return new kr(n)}:aa;function Vu(n){return function(t){var r=si(t);return r==w?er(t):r==k?fr(t):function(n,t){return St(t,function(t){return[t,n[t]]})}(t,n(t))}}function Gu(n,t,u,a,c,l,s,h){var p=2&t;if(!p&&"function"!=typeof n)throw new In(e);var v=a?a.length:0;if(v||(t&=-97,a=c=r),s=s===r?s:gr(vf(s),0),h=h===r?h:vf(h),v-=c?c.length:0,64&t){var _=a,g=c;a=c=r}var y=p?r:ri(n),d=[n,t,u,a,c,_,g,l,s,h];if(y&&function(n,t){var r=n[1],e=t[1],u=r|e,o=u<131,a=e==f&&8==r||e==f&&256==r&&n[7].length<=t[8]||384==e&&t[7].length<=t[8]&&8==r;if(!o&&!a)return n;1&e&&(n[2]=t[2],u|=1&r?0:4);var c=t[3];if(c){var l=n[3];n[3]=l?Au(l,c,t[4]):c,n[4]=l?ir(n[3],i):t[4]}(c=t[5])&&(l=n[5],n[5]=l?ku(l,c,t[6]):c,n[6]=l?ir(n[5],i):t[6]),(c=t[7])&&(n[7]=c),e&f&&(n[8]=null==n[8]?t[8]:yr(n[8],t[8])),null==n[9]&&(n[9]=t[9]),n[0]=t[0],n[1]=u}(d,y),n=d[0],t=d[1],u=d[2],a=d[3],c=d[4],!(h=d[9]=d[9]===r?p?0:n.length:gr(d[9]-v,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(n,t,e){var u=Lu(n);return function i(){for(var o=arguments.length,f=wn(o),a=o,c=ui(i);a--;)f[a]=arguments[a];var l=o<3&&f[0]!==c&&f[o-1]!==c?[]:ir(f,c);return(o-=l.length)<e?qu(n,t,Bu,i.placeholder,r,f,l,r,r,e-o):xt(this&&this!==lt&&this instanceof i?u:n,this,f)}}(n,t,h):t!=o&&33!=t||c.length?Bu.apply(r,d):function(n,t,r,e){var u=1&t,i=Lu(n);return function t(){for(var o=-1,f=arguments.length,a=-1,c=e.length,l=wn(c+f),s=this&&this!==lt&&this instanceof t?i:n;++a<c;)l[a]=e[a];for(;f--;)l[a++]=arguments[++o];return xt(s,u?r:this,l)}}(n,t,u,a);else var b=function(n,t,r){var e=1&t,u=Lu(n);return function t(){return(this&&this!==lt&&this instanceof t?u:n).apply(e?r:this,arguments)}}(n,t,u);return Ri((y?Ye:Oi)(b,d),n,t)}function Hu(n,t,e,u){return n===r||Do(n,zn[e])&&!Ln.call(u,e)?t:n}function Ju(n,t,e,u,i,o){return Xo(n)&&Xo(t)&&(o.set(t,n),De(n,t,r,Ju,o),o.delete(t)),n}function Yu(n){return ef(n)?r:n}function Qu(n,t,e,u,i,o){var f=1&e,a=n.length,c=t.length;if(a!=c&&!(f&&c>a))return!1;var l=o.get(n),s=o.get(t);if(l&&s)return l==t&&s==n;var h=-1,p=!0,v=2&e?new Kr:r;for(o.set(n,t),o.set(t,n);++h<a;){var _=n[h],g=t[h];if(u)var y=f?u(g,_,h,t,n,o):u(_,g,h,n,t,o);if(y!==r){if(y)continue;p=!1;break}if(v){if(!Lt(t,function(n,t){if(!Jt(v,t)&&(_===n||i(_,n,e,u,o)))return v.push(t)})){p=!1;break}}else if(_!==g&&!i(_,g,e,u,o)){p=!1;break}}return o.delete(n),o.delete(t),p}function Xu(n){return Ii(ji(n,r,Pi),n+"")}function ni(n){return xe(n,zf,ci)}function ti(n){return xe(n,Tf,li)}var ri=Ir?function(n){return Ir.get(n)}:aa;function ei(n){for(var t=n.name+"",r=Rr[t],e=Ln.call(Rr,t)?r.length:0;e--;){var u=r[e],i=u.func;if(null==i||i==n)return u.name}return t}function ui(n){return(Ln.call($r,"placeholder")?$r:n).placeholder}function ii(){var n=$r.iteratee||ua;return n=n===ua?Ce:n,arguments.length?n(arguments[0],arguments[1]):n}function oi(n,t){var r,e,u=n.__data__;return("string"==(e=typeof(r=t))||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==r:null===r)?u["string"==typeof t?"string":"hash"]:u.map}function fi(n){for(var t=zf(n),r=t.length;r--;){var e=t[r],u=n[e];t[r]=[e,u,mi(u)]}return t}function ai(n,t){var e=function(n,t){return null==n?r:n[t]}(n,t);return Te(e)?e:r}var ci=Wt?function(n){return null==n?[]:(n=kn(n),Et(Wt(n),function(t){return Vn.call(n,t)}))}:_a,li=Wt?function(n){for(var t=[];n;)zt(t,ci(n)),n=Zn(n);return t}:_a,si=je;function hi(n,t,r){for(var e=-1,u=(t=gu(t,n)).length,i=!1;++e<u;){var o=Wi(t[e]);if(!(i=null!=n&&r(n,o)))break;n=n[o]}return i||++e!=u?i:!!(u=null==n?0:n.length)&&Qo(u)&&_i(o,u)&&(Po(n)||No(n))}function pi(n){return"function"!=typeof n.constructor||wi(n)?{}:Dr(Zn(n))}function vi(n){return Po(n)||No(n)||!!(Yn&&n&&n[Yn])}function _i(n,t){var r=typeof n;return!!(t=t??c)&&("number"==r||"symbol"!=r&&gn.test(n))&&n>-1&&n%1==0&&n<t}function gi(n,t,r){if(!Xo(r))return!1;var e=typeof t;return!!("number"==e?Zo(r)&&_i(t,r.length):"string"==e&&t in r)&&Do(r[t],n)}function yi(n,t){if(Po(n))return!1;var r=typeof n;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=n&&!af(n))||Y.test(n)||!J.test(n)||null!=t&&n in kn(t)}function di(n){var t=ei(n),r=$r[t];if("function"!=typeof r||!(t in Nr.prototype))return!1;if(n===r)return!0;var e=ri(r);return!!e&&n===e[0]}(xr&&si(new xr(new ArrayBuffer(1)))!=S||jr&&si(new jr)!=w||Ar&&si(Ar.resolve())!=j||kr&&si(new kr)!=k||Or&&si(new Or)!=I)&&(si=function(n){var t=je(n),e=t==x?n.constructor:r,u=e?Ui(e):"";if(u)switch(u){case Sr:return S;case zr:return w;case Tr:return j;case Cr:return k;case Lr:return I}return t});var bi=Tn?Jo:ga;function wi(n){var t=n&&n.constructor;return n===("function"==typeof t&&t.prototype||zn)}function mi(n){return n==n&&!Xo(n)}function xi(n,t){return function(e){return null!=e&&e[n]===t&&(t!==r||n in kn(e))}}function ji(n,t,e){return t=gr(t===r?n.length-1:t,0),function(){for(var r=arguments,u=-1,i=gr(r.length-t,0),o=wn(i);++u<i;)o[u]=r[t+u];u=-1;for(var f=wn(t+1);++u<t;)f[u]=r[u];return f[t]=e(o),xt(n,this,f)}}function Ai(n,t){return t.length<2?n:me(n,nu(t,0,-1))}function ki(n,t){if(("constructor"!==t||"function"!=typeof n[t])&&"__proto__"!=t)return n[t]}var Oi=Si(Ye),Ei=ht||function(n,t){return lt.setTimeout(n,t)},Ii=Si(Qe);function Ri(n,t,r){var e=t+"";return Ii(n,function(n,t){var r=t.length;if(!r)return n;var e=r-1;return t[e]=(r>1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(en,"{\n/* [wrapped with "+t+"] */\n")}(e,function(n,t){return At(h,function(r){var e="_."+r[0];t&r[1]&&!It(n,e)&&n.push(e)}),n.sort()}(function(n){var t=n.match(un);return t?t[1].split(on):[]}(e),r)))}function Si(n){var t=0,e=0;return function(){var u=dr(),i=16-(u-e);if(e=u,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(r,arguments)}}function zi(n,t){var e=-1,u=n.length,i=u-1;for(t=t===r?u:t;++e<t;){var o=Ze(e,i),f=n[o];n[o]=n[e],n[e]=f}return n.length=t,n}var Ti,Ci,Li=(Ti=Co(function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(""),n.replace(Q,function(n,r,e,u){t.push(e?u.replace(cn,"$1"):r||n)}),t},function(n){return 500===Ci.size&&Ci.clear(),n}),Ci=Ti.cache,Ti);function Wi(n){if("string"==typeof n||af(n))return n;var t=n+"";return"0"==t&&1/n==-1/0?"-0":t}function Ui(n){if(null!=n){try{return Cn.call(n)}catch(n){}try{return n+""}catch(n){}}return""}function Bi(n){if(n instanceof Nr)return n.clone();var t=new Fr(n.__wrapped__,n.__chain__);return t.__actions__=Ou(n.__actions__),t.__index__=n.__index__,t.__values__=n.__values__,t}var $i=Ve(function(n,t){return Ko(n)?ce(n,_e(t,1,Ko,!0)):[]}),Di=Ve(function(n,t){var e=Gi(t);return Ko(e)&&(e=r),Ko(n)?ce(n,_e(t,1,Ko,!0),ii(e,2)):[]}),Mi=Ve(function(n,t){var e=Gi(t);return Ko(e)&&(e=r),Ko(n)?ce(n,_e(t,1,Ko,!0),r,e):[]});function Fi(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:vf(r);return u<0&&(u=gr(e+u,0)),Bt(n,ii(t,3),u)}function Ni(n,t,e){var u=null==n?0:n.length;if(!u)return-1;var i=u-1;return e!==r&&(i=vf(e),i=e<0?gr(u+i,0):yr(i,u-1)),Bt(n,ii(t,3),i,!0)}function Pi(n){return null!=n&&n.length?_e(n,1):[]}function qi(n){return n&&n.length?n[0]:r}var Zi=Ve(function(n){var t=St(n,vu);return t.length&&t[0]===n[0]?Ee(t):[]}),Ki=Ve(function(n){var t=Gi(n),e=St(n,vu);return t===Gi(e)?t=r:e.pop(),e.length&&e[0]===n[0]?Ee(e,ii(t,2)):[]}),Vi=Ve(function(n){var t=Gi(n),e=St(n,vu);return(t="function"==typeof t?t:r)&&e.pop(),e.length&&e[0]===n[0]?Ee(e,r,t):[]});function Gi(n){var t=null==n?0:n.length;return t?n[t-1]:r}var Hi=Ve(Ji);function Ji(n,t){return n&&n.length&&t&&t.length?Pe(n,t):n}var Yi=Xu(function(n,t){var r=null==n?0:n.length,e=ue(n,t);return qe(n,St(t,function(n){return _i(n,r)?+n:n}).sort(ju)),e});function Qi(n){return null==n?n:mr.call(n)}var Xi=Ve(function(n){return fu(_e(n,1,Ko,!0))}),no=Ve(function(n){var t=Gi(n);return Ko(t)&&(t=r),fu(_e(n,1,Ko,!0),ii(t,2))}),to=Ve(function(n){var t=Gi(n);return t="function"==typeof t?t:r,fu(_e(n,1,Ko,!0),r,t)});function ro(n){if(!n||!n.length)return[];var t=0;return n=Et(n,function(n){if(Ko(n))return t=gr(n.length,t),!0}),Kt(t,function(t){return St(n,Nt(t))})}function eo(n,t){if(!n||!n.length)return[];var e=ro(n);return null==t?e:St(e,function(n){return xt(t,r,n)})}var uo=Ve(function(n,t){return Ko(n)?ce(n,t):[]}),io=Ve(function(n){return hu(Et(n,Ko))}),oo=Ve(function(n){var t=Gi(n);return Ko(t)&&(t=r),hu(Et(n,Ko),ii(t,2))}),fo=Ve(function(n){var t=Gi(n);return t="function"==typeof t?t:r,hu(Et(n,Ko),r,t)}),ao=Ve(ro),co=Ve(function(n){var t=n.length,e=t>1?n[t-1]:r;return e="function"==typeof e?(n.pop(),e):r,eo(n,e)});function lo(n){var t=$r(n);return t.__chain__=!0,t}function so(n,t){return t(n)}var ho=Xu(function(n){var t=n.length,e=t?n[0]:0,u=this.__wrapped__,i=function(t){return ue(t,n)};return!(t>1||this.__actions__.length)&&u instanceof Nr&&_i(e)?((u=u.slice(e,+e+(t?1:0))).__actions__.push({func:so,args:[i],thisArg:r}),new Fr(u,this.__chain__).thru(function(n){return t&&!n.length&&n.push(r),n})):this.thru(i)}),po=Iu(function(n,t,r){Ln.call(n,r)?++n[r]:ee(n,r,1)}),vo=Wu(Fi),_o=Wu(Ni);function go(n,t){return(Po(n)?At:le)(n,ii(t,3))}function yo(n,t){return(Po(n)?kt:se)(n,ii(t,3))}var bo=Iu(function(n,t,r){Ln.call(n,r)?n[r].push(t):ee(n,r,[t])}),wo=Ve(function(n,t,r){var e=-1,u="function"==typeof t,i=Zo(n)?wn(n.length):[];return le(n,function(n){i[++e]=u?xt(t,n,r):Ie(n,t,r)}),i}),mo=Iu(function(n,t,r){ee(n,r,t)});function xo(n,t){return(Po(n)?St:Ue)(n,ii(t,3))}var jo=Iu(function(n,t,r){n[r?0:1].push(t)},function(){return[[],[]]}),Ao=Ve(function(n,t){if(null==n)return[];var r=t.length;return r>1&&gi(n,t[0],t[1])?t=[]:r>2&&gi(t[0],t[1],t[2])&&(t=[t[0]]),Fe(n,_e(t,1),[])}),ko=st||function(){return lt.Date.now()};function Oo(n,t,e){return t=e?r:t,t=n&&null==t?n.length:t,Gu(n,f,r,r,r,r,t)}function Eo(n,t){var u;if("function"!=typeof t)throw new In(e);return n=vf(n),function(){return--n>0&&(u=t.apply(this,arguments)),n<=1&&(t=r),u}}var Io=Ve(function(n,t,r){var e=1;if(r.length){var u=ir(r,ui(Io));e|=o}return Gu(n,e,t,r,u)}),Ro=Ve(function(n,t,r){var e=3;if(r.length){var u=ir(r,ui(Ro));e|=o}return Gu(t,e,n,r,u)});function So(n,t,u){var i,o,f,a,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new In(e);function _(t){var e=i,u=o;return i=o=r,s=t,a=n.apply(u,e)}function g(n){var e=n-l;return l===r||e>=t||e<0||p&&n-s>=f}function y(){var n=ko();if(g(n))return d(n);c=Ei(y,function(n){var r=t-(n-l);return p?yr(r,f-(n-s)):r}(n))}function d(n){return c=r,v&&i?_(n):(i=o=r,a)}function b(){var n=ko(),e=g(n);if(i=arguments,o=this,l=n,e){if(c===r)return function(n){return s=n,c=Ei(y,t),h?_(n):a}(l);if(p)return bu(c),c=Ei(y,t),_(l)}return c===r&&(c=Ei(y,t)),a}return t=gf(t)||0,Xo(u)&&(h=!!u.leading,f=(p="maxWait"in u)?gr(gf(u.maxWait)||0,t):f,v="trailing"in u?!!u.trailing:v),b.cancel=function(){c!==r&&bu(c),s=0,i=l=o=c=r},b.flush=function(){return c===r?a:d(ko())},b}var zo=Ve(function(n,t){return ae(n,1,t)}),To=Ve(function(n,t,r){return ae(n,gf(t)||0,r)});function Co(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new In(e);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Co.Cache||Zr),r}function Lo(n){if("function"!=typeof n)throw new In(e);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}Co.Cache=Zr;var Wo=yu(function(n,t){var r=(t=1==t.length&&Po(t[0])?St(t[0],Gt(ii())):St(_e(t,1),Gt(ii()))).length;return Ve(function(e){for(var u=-1,i=yr(e.length,r);++u<i;)e[u]=t[u].call(this,e[u]);return xt(n,this,e)})}),Uo=Ve(function(n,t){var e=ir(t,ui(Uo));return Gu(n,o,r,t,e)}),Bo=Ve(function(n,t){var e=ir(t,ui(Bo));return Gu(n,64,r,t,e)}),$o=Xu(function(n,t){return Gu(n,256,r,r,r,t)});function Do(n,t){return n===t||n!=n&&t!=t}var Mo=Pu(Ae),Fo=Pu(function(n,t){return n>=t}),No=Re(function(){return arguments}())?Re:function(n){return nf(n)&&Ln.call(n,"callee")&&!Vn.call(n,"callee")},Po=wn.isArray,qo=gt?Gt(gt):function(n){return nf(n)&&je(n)==R};function Zo(n){return null!=n&&Qo(n.length)&&!Jo(n)}function Ko(n){return nf(n)&&Zo(n)}var Vo=Pt||ga,Go=yt?Gt(yt):function(n){return nf(n)&&je(n)==g};function Ho(n){if(!nf(n))return!1;var t=je(n);return t==y||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!ef(n)}function Jo(n){if(!Xo(n))return!1;var t=je(n);return t==d||t==b||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Yo(n){return"number"==typeof n&&n==vf(n)}function Qo(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=c}function Xo(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function nf(n){return null!=n&&"object"==typeof n}var tf=dt?Gt(dt):function(n){return nf(n)&&si(n)==w};function rf(n){return"number"==typeof n||nf(n)&&je(n)==m}function ef(n){if(!nf(n)||je(n)!=x)return!1;var t=Zn(n);if(null===t)return!0;var r=Ln.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Cn.call(r)==$n}var uf=bt?Gt(bt):function(n){return nf(n)&&je(n)==A},of=wt?Gt(wt):function(n){return nf(n)&&si(n)==k};function ff(n){return"string"==typeof n||!Po(n)&&nf(n)&&je(n)==O}function af(n){return"symbol"==typeof n||nf(n)&&je(n)==E}var cf=mt?Gt(mt):function(n){return nf(n)&&Qo(n.length)&&!!et[je(n)]},lf=Pu(We),sf=Pu(function(n,t){return n<=t});function hf(n){if(!n)return[];if(Zo(n))return ff(n)?cr(n):Ou(n);if(Xn&&n[Xn])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[Xn]());var t=si(n);return(t==w?er:t==k?or:Mf)(n)}function pf(n){return n?(n=gf(n))===a||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}function vf(n){var t=pf(n),r=t%1;return t==t?r?t-r:t:0}function _f(n){return n?ie(vf(n),0,s):0}function gf(n){if("number"==typeof n)return n;if(af(n))return l;if(Xo(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=Xo(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=Vt(n);var r=pn.test(n);return r||_n.test(n)?ft(n.slice(2),r?2:8):hn.test(n)?l:+n}function yf(n){return Eu(n,Tf(n))}function df(n){return null==n?"":ou(n)}var bf=Ru(function(n,t){if(wi(t)||Zo(t))Eu(t,zf(t),n);else for(var r in t)Ln.call(t,r)&&Xr(n,r,t[r])}),wf=Ru(function(n,t){Eu(t,Tf(t),n)}),mf=Ru(function(n,t,r,e){Eu(t,Tf(t),n,e)}),xf=Ru(function(n,t,r,e){Eu(t,zf(t),n,e)}),jf=Xu(ue),Af=Ve(function(n,t){n=kn(n);var e=-1,u=t.length,i=u>2?t[2]:r;for(i&&gi(t[0],t[1],i)&&(u=1);++e<u;)for(var o=t[e],f=Tf(o),a=-1,c=f.length;++a<c;){var l=f[a],s=n[l];(s===r||Do(s,zn[l])&&!Ln.call(n,l))&&(n[l]=o[l])}return n}),kf=Ve(function(n){return n.push(r,Ju),xt(Lf,r,n)});function Of(n,t,e){var u=null==n?r:me(n,t);return u===r?e:u}function Ef(n,t){return null!=n&&hi(n,t,Oe)}var If=$u(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=Bn.call(t)),n[t]=r},na(ea)),Rf=$u(function(n,t,r){null!=t&&"function"!=typeof t.toString&&(t=Bn.call(t)),Ln.call(n,t)?n[t].push(r):n[t]=[r]},ii),Sf=Ve(Ie);function zf(n){return Zo(n)?Gr(n):Le(n)}function Tf(n){return Zo(n)?Gr(n,!0):function(n){if(!Xo(n))return function(n){var t=[];if(null!=n)for(var r in kn(n))t.push(r);return t}(n);var t=wi(n),r=[];for(var e in n)("constructor"!=e||!t&&Ln.call(n,e))&&r.push(e);return r}(n)}var Cf=Ru(function(n,t,r){De(n,t,r)}),Lf=Ru(function(n,t,r,e){De(n,t,r,e)}),Wf=Xu(function(n,t){var r={};if(null==n)return r;var e=!1;t=St(t,function(t){return t=gu(t,n),e||(e=t.length>1),t}),Eu(n,ti(n),r),e&&(r=oe(r,7,Yu));for(var u=t.length;u--;)au(r,t[u]);return r}),Uf=Xu(function(n,t){return null==n?{}:function(n,t){return Ne(n,t,function(t,r){return Ef(n,r)})}(n,t)});function Bf(n,t){if(null==n)return{};var r=St(ti(n),function(n){return[n]});return t=ii(t),Ne(n,r,function(n,r){return t(n,r[0])})}var $f=Vu(zf),Df=Vu(Tf);function Mf(n){return null==n?[]:Ht(n,zf(n))}var Ff=Cu(function(n,t,r){return t=t.toLowerCase(),n+(r?Nf(t):t)});function Nf(n){return Jf(df(n).toLowerCase())}function Pf(n){return(n=df(n))&&n.replace(yn,Xt).replace(Jn,"")}var qf=Cu(function(n,t,r){return n+(r?"-":"")+t.toLowerCase()}),Zf=Cu(function(n,t,r){return n+(r?" ":"")+t.toLowerCase()}),Kf=Tu("toLowerCase"),Vf=Cu(function(n,t,r){return n+(r?"_":"")+t.toLowerCase()}),Gf=Cu(function(n,t,r){return n+(r?" ":"")+Jf(t)}),Hf=Cu(function(n,t,r){return n+(r?" ":"")+t.toUpperCase()}),Jf=Tu("toUpperCase");function Yf(n,t,e){return n=df(n),(t=e?r:t)===r?function(n){return nt.test(n)}(n)?function(n){return n.match(Qn)||[]}(n):function(n){return n.match(fn)||[]}(n):n.match(t)||[]}var Qf=Ve(function(n,t){try{return xt(n,r,t)}catch(n){return Ho(n)?n:new xn(n)}}),Xf=Xu(function(n,t){return At(t,function(t){t=Wi(t),ee(n,t,Io(n[t],n))}),n});function na(n){return function(){return n}}var ta=Uu(),ra=Uu(!0);function ea(n){return n}function ua(n){return Ce("function"==typeof n?n:oe(n,1))}var ia=Ve(function(n,t){return function(r){return Ie(r,n,t)}}),oa=Ve(function(n,t){return function(r){return Ie(n,r,t)}});function fa(n,t,r){var e=zf(t),u=we(t,e);null!=r||Xo(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=we(t,zf(t)));var i=!(Xo(r)&&"chain"in r&&!r.chain),o=Jo(n);return At(u,function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=Ou(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,zt([this.value()],arguments))})}),n}function aa(){}var ca=Mu(St),la=Mu(Ot),sa=Mu(Lt);function ha(n){return yi(n)?Nt(Wi(n)):function(n){return function(t){return me(t,n)}}(n)}var pa=Nu(),va=Nu(!0);function _a(){return[]}function ga(){return!1}var ya,da=Du(function(n,t){return n+t},0),ba=Zu("ceil"),wa=Du(function(n,t){return n/t},1),ma=Zu("floor"),xa=Du(function(n,t){return n*t},1),ja=Zu("round"),Aa=Du(function(n,t){return n-t},0);return $r.after=function(n,t){if("function"!=typeof t)throw new In(e);return n=vf(n),function(){if(--n<1)return t.apply(this,arguments)}},$r.ary=Oo,$r.assign=bf,$r.assignIn=wf,$r.assignInWith=mf,$r.assignWith=xf,$r.at=jf,$r.before=Eo,$r.bind=Io,$r.bindAll=Xf,$r.bindKey=Ro,$r.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return Po(n)?n:[n]},$r.chain=lo,$r.chunk=function(n,t,e){t=(e?gi(n,t,e):t===r)?1:gr(vf(t),0);var u=null==n?0:n.length;if(!u||t<1)return[];for(var i=0,o=0,f=wn(vt(u/t));i<u;)f[o++]=nu(n,i,i+=t);return f},$r.compact=function(n){for(var t=-1,r=null==n?0:n.length,e=0,u=[];++t<r;){var i=n[t];i&&(u[e++]=i)}return u},$r.concat=function(){var n=arguments.length;if(!n)return[];for(var t=wn(n-1),r=arguments[0],e=n;e--;)t[e-1]=arguments[e];return zt(Po(r)?Ou(r):[r],_e(t,1))},$r.cond=function(n){var t=null==n?0:n.length,r=ii();return n=t?St(n,function(n){if("function"!=typeof n[1])throw new In(e);return[r(n[0]),n[1]]}):[],Ve(function(r){for(var e=-1;++e<t;){var u=n[e];if(xt(u[0],this,r))return xt(u[1],this,r)}})},$r.conforms=function(n){return function(n){var t=zf(n);return function(r){return fe(r,n,t)}}(oe(n,1))},$r.constant=na,$r.countBy=po,$r.create=function(n,t){var r=Dr(n);return null==t?r:re(r,t)},$r.curry=function n(t,e,u){var i=Gu(t,8,r,r,r,r,r,e=u?r:e);return i.placeholder=n.placeholder,i},$r.curryRight=function n(t,e,u){var i=Gu(t,16,r,r,r,r,r,e=u?r:e);return i.placeholder=n.placeholder,i},$r.debounce=So,$r.defaults=Af,$r.defaultsDeep=kf,$r.defer=zo,$r.delay=To,$r.difference=$i,$r.differenceBy=Di,$r.differenceWith=Mi,$r.drop=function(n,t,e){var u=null==n?0:n.length;return u?nu(n,(t=e||t===r?1:vf(t))<0?0:t,u):[]},$r.dropRight=function(n,t,e){var u=null==n?0:n.length;return u?nu(n,0,(t=u-(t=e||t===r?1:vf(t)))<0?0:t):[]},$r.dropRightWhile=function(n,t){return n&&n.length?lu(n,ii(t,3),!0,!0):[]},$r.dropWhile=function(n,t){return n&&n.length?lu(n,ii(t,3),!0):[]},$r.fill=function(n,t,e,u){var i=null==n?0:n.length;return i?(e&&"number"!=typeof e&&gi(n,t,e)&&(e=0,u=i),function(n,t,e,u){var i=n.length;for((e=vf(e))<0&&(e=-e>i?0:i+e),(u=u===r||u>i?i:vf(u))<0&&(u+=i),u=e>u?0:_f(u);e<u;)n[e++]=t;return n}(n,t,e,u)):[]},$r.filter=function(n,t){return(Po(n)?Et:ve)(n,ii(t,3))},$r.flatMap=function(n,t){return _e(xo(n,t),1)},$r.flatMapDeep=function(n,t){return _e(xo(n,t),a)},$r.flatMapDepth=function(n,t,e){return e=e===r?1:vf(e),_e(xo(n,t),e)},$r.flatten=Pi,$r.flattenDeep=function(n){return null!=n&&n.length?_e(n,a):[]},$r.flattenDepth=function(n,t){return null!=n&&n.length?_e(n,t=t===r?1:vf(t)):[]},$r.flip=function(n){return Gu(n,512)},$r.flow=ta,$r.flowRight=ra,$r.fromPairs=function(n){for(var t=-1,r=null==n?0:n.length,e={};++t<r;){var u=n[t];ee(e,u[0],u[1])}return e},$r.functions=function(n){return null==n?[]:we(n,zf(n))},$r.functionsIn=function(n){return null==n?[]:we(n,Tf(n))},$r.groupBy=bo,$r.initial=function(n){return null!=n&&n.length?nu(n,0,-1):[]},$r.intersection=Zi,$r.intersectionBy=Ki,$r.intersectionWith=Vi,$r.invert=If,$r.invertBy=Rf,$r.invokeMap=wo,$r.iteratee=ua,$r.keyBy=mo,$r.keys=zf,$r.keysIn=Tf,$r.map=xo,$r.mapKeys=function(n,t){var r={};return t=ii(t,3),de(n,function(n,e,u){ee(r,t(n,e,u),n)}),r},$r.mapValues=function(n,t){var r={};return t=ii(t,3),de(n,function(n,e,u){ee(r,e,t(n,e,u))}),r},$r.matches=function(n){return Be(oe(n,1))},$r.matchesProperty=function(n,t){return $e(n,oe(t,1))},$r.memoize=Co,$r.merge=Cf,$r.mergeWith=Lf,$r.method=ia,$r.methodOf=oa,$r.mixin=fa,$r.negate=Lo,$r.nthArg=function(n){return n=vf(n),Ve(function(t){return Me(t,n)})},$r.omit=Wf,$r.omitBy=function(n,t){return Bf(n,Lo(ii(t)))},$r.once=function(n){return Eo(2,n)},$r.orderBy=function(n,t,e,u){return null==n?[]:(Po(t)||(t=null==t?[]:[t]),Po(e=u?r:e)||(e=null==e?[]:[e]),Fe(n,t,e))},$r.over=ca,$r.overArgs=Wo,$r.overEvery=la,$r.overSome=sa,$r.partial=Uo,$r.partialRight=Bo,$r.partition=jo,$r.pick=Uf,$r.pickBy=Bf,$r.property=ha,$r.propertyOf=function(n){return function(t){return null==n?r:me(n,t)}},$r.pull=Hi,$r.pullAll=Ji,$r.pullAllBy=function(n,t,r){return n&&n.length&&t&&t.length?Pe(n,t,ii(r,2)):n},$r.pullAllWith=function(n,t,e){return n&&n.length&&t&&t.length?Pe(n,t,r,e):n},$r.pullAt=Yi,$r.range=pa,$r.rangeRight=va,$r.rearg=$o,$r.reject=function(n,t){return(Po(n)?Et:ve)(n,Lo(ii(t,3)))},$r.remove=function(n,t){var r=[];if(!n||!n.length)return r;var e=-1,u=[],i=n.length;for(t=ii(t,3);++e<i;){var o=n[e];t(o,e,n)&&(r.push(o),u.push(e))}return qe(n,u),r},$r.rest=function(n,t){if("function"!=typeof n)throw new In(e);return Ve(n,t=t===r?t:vf(t))},$r.reverse=Qi,$r.sampleSize=function(n,t,e){return t=(e?gi(n,t,e):t===r)?1:vf(t),(Po(n)?Jr:He)(n,t)},$r.set=function(n,t,r){return null==n?n:Je(n,t,r)},$r.setWith=function(n,t,e,u){return u="function"==typeof u?u:r,null==n?n:Je(n,t,e,u)},$r.shuffle=function(n){return(Po(n)?Yr:Xe)(n)},$r.slice=function(n,t,e){var u=null==n?0:n.length;return u?(e&&"number"!=typeof e&&gi(n,t,e)?(t=0,e=u):(t=null==t?0:vf(t),e=e===r?u:vf(e)),nu(n,t,e)):[]},$r.sortBy=Ao,$r.sortedUniq=function(n){return n&&n.length?uu(n):[]},$r.sortedUniqBy=function(n,t){return n&&n.length?uu(n,ii(t,2)):[]},$r.split=function(n,t,e){return e&&"number"!=typeof e&&gi(n,t,e)&&(t=e=r),(e=e===r?s:e>>>0)?(n=df(n))&&("string"==typeof t||null!=t&&!uf(t))&&!(t=ou(t))&&rr(n)?du(cr(n),0,e):n.split(t,e):[]},$r.spread=function(n,t){if("function"!=typeof n)throw new In(e);return t=null==t?0:gr(vf(t),0),Ve(function(r){var e=r[t],u=du(r,0,t);return e&&zt(u,e),xt(n,this,u)})},$r.tail=function(n){var t=null==n?0:n.length;return t?nu(n,1,t):[]},$r.take=function(n,t,e){return n&&n.length?nu(n,0,(t=e||t===r?1:vf(t))<0?0:t):[]},$r.takeRight=function(n,t,e){var u=null==n?0:n.length;return u?nu(n,(t=u-(t=e||t===r?1:vf(t)))<0?0:t,u):[]},$r.takeRightWhile=function(n,t){return n&&n.length?lu(n,ii(t,3),!1,!0):[]},$r.takeWhile=function(n,t){return n&&n.length?lu(n,ii(t,3)):[]},$r.tap=function(n,t){return t(n),n},$r.throttle=function(n,t,r){var u=!0,i=!0;if("function"!=typeof n)throw new In(e);return Xo(r)&&(u="leading"in r?!!r.leading:u,i="trailing"in r?!!r.trailing:i),So(n,t,{leading:u,maxWait:t,trailing:i})},$r.thru=so,$r.toArray=hf,$r.toPairs=$f,$r.toPairsIn=Df,$r.toPath=function(n){return Po(n)?St(n,Wi):af(n)?[n]:Ou(Li(df(n)))},$r.toPlainObject=yf,$r.transform=function(n,t,r){var e=Po(n),u=e||Vo(n)||cf(n);if(t=ii(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:Xo(n)&&Jo(i)?Dr(Zn(n)):{}}return(u?At:de)(n,function(n,e,u){return t(r,n,e,u)}),r},$r.unary=function(n){return Oo(n,1)},$r.union=Xi,$r.unionBy=no,$r.unionWith=to,$r.uniq=function(n){return n&&n.length?fu(n):[]},$r.uniqBy=function(n,t){return n&&n.length?fu(n,ii(t,2)):[]},$r.uniqWith=function(n,t){return t="function"==typeof t?t:r,n&&n.length?fu(n,r,t):[]},$r.unset=function(n,t){return null==n||au(n,t)},$r.unzip=ro,$r.unzipWith=eo,$r.update=function(n,t,r){return null==n?n:cu(n,t,_u(r))},$r.updateWith=function(n,t,e,u){return u="function"==typeof u?u:r,null==n?n:cu(n,t,_u(e),u)},$r.values=Mf,$r.valuesIn=function(n){return null==n?[]:Ht(n,Tf(n))},$r.without=uo,$r.words=Yf,$r.wrap=function(n,t){return Uo(_u(t),n)},$r.xor=io,$r.xorBy=oo,$r.xorWith=fo,$r.zip=ao,$r.zipObject=function(n,t){return pu(n||[],t||[],Xr)},$r.zipObjectDeep=function(n,t){return pu(n||[],t||[],Je)},$r.zipWith=co,$r.entries=$f,$r.entriesIn=Df,$r.extend=wf,$r.extendWith=mf,fa($r,$r),$r.add=da,$r.attempt=Qf,$r.camelCase=Ff,$r.capitalize=Nf,$r.ceil=ba,$r.clamp=function(n,t,e){return e===r&&(e=t,t=r),e!==r&&(e=(e=gf(e))==e?e:0),t!==r&&(t=(t=gf(t))==t?t:0),ie(gf(n),t,e)},$r.clone=function(n){return oe(n,4)},$r.cloneDeep=function(n){return oe(n,5)},$r.cloneDeepWith=function(n,t){return oe(n,5,t="function"==typeof t?t:r)},$r.cloneWith=function(n,t){return oe(n,4,t="function"==typeof t?t:r)},$r.conformsTo=function(n,t){return null==t||fe(n,t,zf(t))},$r.deburr=Pf,$r.defaultTo=function(n,t){return null==n||n!=n?t:n},$r.divide=wa,$r.endsWith=function(n,t,e){n=df(n),t=ou(t);var u=n.length,i=e=e===r?u:ie(vf(e),0,u);return(e-=t.length)>=0&&n.slice(e,i)==t},$r.eq=Do,$r.escape=function(n){return(n=df(n))&&K.test(n)?n.replace(q,nr):n},$r.escapeRegExp=function(n){return(n=df(n))&&nn.test(n)?n.replace(X,"\\$&"):n},$r.every=function(n,t,e){var u=Po(n)?Ot:he;return e&&gi(n,t,e)&&(t=r),u(n,ii(t,3))},$r.find=vo,$r.findIndex=Fi,$r.findKey=function(n,t){return Ut(n,ii(t,3),de)},$r.findLast=_o,$r.findLastIndex=Ni,$r.findLastKey=function(n,t){return Ut(n,ii(t,3),be)},$r.floor=ma,$r.forEach=go,$r.forEachRight=yo,$r.forIn=function(n,t){return null==n?n:ge(n,ii(t,3),Tf)},$r.forInRight=function(n,t){return null==n?n:ye(n,ii(t,3),Tf)},$r.forOwn=function(n,t){return n&&de(n,ii(t,3))},$r.forOwnRight=function(n,t){return n&&be(n,ii(t,3))},$r.get=Of,$r.gt=Mo,$r.gte=Fo,$r.has=function(n,t){return null!=n&&hi(n,t,ke)},$r.hasIn=Ef,$r.head=qi,$r.identity=ea,$r.includes=function(n,t,r,e){n=Zo(n)?n:Mf(n),r=r&&!e?vf(r):0;var u=n.length;return r<0&&(r=gr(u+r,0)),ff(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&$t(n,t,r)>-1},$r.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:vf(r);return u<0&&(u=gr(e+u,0)),$t(n,t,u)},$r.inRange=function(n,t,e){return t=pf(t),e===r?(e=t,t=0):e=pf(e),function(n,t,r){return n>=yr(t,r)&&n<gr(t,r)}(n=gf(n),t,e)},$r.invoke=Sf,$r.isArguments=No,$r.isArray=Po,$r.isArrayBuffer=qo,$r.isArrayLike=Zo,$r.isArrayLikeObject=Ko,$r.isBoolean=function(n){return!0===n||!1===n||nf(n)&&je(n)==_},$r.isBuffer=Vo,$r.isDate=Go,$r.isElement=function(n){return nf(n)&&1===n.nodeType&&!ef(n)},$r.isEmpty=function(n){if(null==n)return!0;if(Zo(n)&&(Po(n)||"string"==typeof n||"function"==typeof n.splice||Vo(n)||cf(n)||No(n)))return!n.length;var t=si(n);if(t==w||t==k)return!n.size;if(wi(n))return!Le(n).length;for(var r in n)if(Ln.call(n,r))return!1;return!0},$r.isEqual=function(n,t){return Se(n,t)},$r.isEqualWith=function(n,t,e){var u=(e="function"==typeof e?e:r)?e(n,t):r;return u===r?Se(n,t,r,e):!!u},$r.isError=Ho,$r.isFinite=function(n){return"number"==typeof n&&pr(n)},$r.isFunction=Jo,$r.isInteger=Yo,$r.isLength=Qo,$r.isMap=tf,$r.isMatch=function(n,t){return n===t||ze(n,t,fi(t))},$r.isMatchWith=function(n,t,e){return e="function"==typeof e?e:r,ze(n,t,fi(t),e)},$r.isNaN=function(n){return rf(n)&&n!=+n},$r.isNative=function(n){if(bi(n))throw new xn("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Te(n)},$r.isNil=function(n){return null==n},$r.isNull=function(n){return null===n},$r.isNumber=rf,$r.isObject=Xo,$r.isObjectLike=nf,$r.isPlainObject=ef,$r.isRegExp=uf,$r.isSafeInteger=function(n){return Yo(n)&&n>=-9007199254740991&&n<=c},$r.isSet=of,$r.isString=ff,$r.isSymbol=af,$r.isTypedArray=cf,$r.isUndefined=function(n){return n===r},$r.isWeakMap=function(n){return nf(n)&&si(n)==I},$r.isWeakSet=function(n){return nf(n)&&"[object WeakSet]"==je(n)},$r.join=function(n,t){return null==n?"":vr.call(n,t)},$r.kebabCase=qf,$r.last=Gi,$r.lastIndexOf=function(n,t,e){var u=null==n?0:n.length;if(!u)return-1;var i=u;return e!==r&&(i=(i=vf(e))<0?gr(u+i,0):yr(i,u-1)),t==t?function(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}(n,t,i):Bt(n,Mt,i,!0)},$r.lowerCase=Zf,$r.lowerFirst=Kf,$r.lt=lf,$r.lte=sf,$r.max=function(n){return n&&n.length?pe(n,ea,Ae):r},$r.maxBy=function(n,t){return n&&n.length?pe(n,ii(t,2),Ae):r},$r.mean=function(n){return Ft(n,ea)},$r.meanBy=function(n,t){return Ft(n,ii(t,2))},$r.min=function(n){return n&&n.length?pe(n,ea,We):r},$r.minBy=function(n,t){return n&&n.length?pe(n,ii(t,2),We):r},$r.stubArray=_a,$r.stubFalse=ga,$r.stubObject=function(){return{}},$r.stubString=function(){return""},$r.stubTrue=function(){return!0},$r.multiply=xa,$r.nth=function(n,t){return n&&n.length?Me(n,vf(t)):r},$r.noConflict=function(){return lt._===this&&(lt._=Dn),this},$r.noop=aa,$r.now=ko,$r.pad=function(n,t,r){n=df(n);var e=(t=vf(t))?ar(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Fu(_t(u),r)+n+Fu(vt(u),r)},$r.padEnd=function(n,t,r){n=df(n);var e=(t=vf(t))?ar(n):0;return t&&e<t?n+Fu(t-e,r):n},$r.padStart=function(n,t,r){n=df(n);var e=(t=vf(t))?ar(n):0;return t&&e<t?Fu(t-e,r)+n:n},$r.parseInt=function(n,t,r){return r||null==t?t=0:t&&(t=+t),br(df(n).replace(tn,""),t||0)},$r.random=function(n,t,e){if(e&&"boolean"!=typeof e&&gi(n,t,e)&&(t=e=r),e===r&&("boolean"==typeof t?(e=t,t=r):"boolean"==typeof n&&(e=n,n=r)),n===r&&t===r?(n=0,t=1):(n=pf(n),t===r?(t=n,n=0):t=pf(t)),n>t){var u=n;n=t,t=u}if(e||n%1||t%1){var i=wr();return yr(n+i*(t-n+ot("1e-"+((i+"").length-1))),t)}return Ze(n,t)},$r.reduce=function(n,t,r){var e=Po(n)?Tt:qt,u=arguments.length<3;return e(n,ii(t,4),r,u,le)},$r.reduceRight=function(n,t,r){var e=Po(n)?Ct:qt,u=arguments.length<3;return e(n,ii(t,4),r,u,se)},$r.repeat=function(n,t,e){return t=(e?gi(n,t,e):t===r)?1:vf(t),Ke(df(n),t)},$r.replace=function(){var n=arguments,t=df(n[0]);return n.length<3?t:t.replace(n[1],n[2])},$r.result=function(n,t,e){var u=-1,i=(t=gu(t,n)).length;for(i||(i=1,n=r);++u<i;){var o=null==n?r:n[Wi(t[u])];o===r&&(u=i,o=e),n=Jo(o)?o.call(n):o}return n},$r.round=ja,$r.runInContext=n,$r.sample=function(n){return(Po(n)?Hr:Ge)(n)},$r.size=function(n){if(null==n)return 0;if(Zo(n))return ff(n)?ar(n):n.length;var t=si(n);return t==w||t==k?n.size:Le(n).length},$r.snakeCase=Vf,$r.some=function(n,t,e){var u=Po(n)?Lt:tu;return e&&gi(n,t,e)&&(t=r),u(n,ii(t,3))},$r.sortedIndex=function(n,t){return ru(n,t)},$r.sortedIndexBy=function(n,t,r){return eu(n,t,ii(r,2))},$r.sortedIndexOf=function(n,t){var r=null==n?0:n.length;if(r){var e=ru(n,t);if(e<r&&Do(n[e],t))return e}return-1},$r.sortedLastIndex=function(n,t){return ru(n,t,!0)},$r.sortedLastIndexBy=function(n,t,r){return eu(n,t,ii(r,2),!0)},$r.sortedLastIndexOf=function(n,t){if(null!=n&&n.length){var r=ru(n,t,!0)-1;if(Do(n[r],t))return r}return-1},$r.startCase=Gf,$r.startsWith=function(n,t,r){return n=df(n),r=null==r?0:ie(vf(r),0,n.length),t=ou(t),n.slice(r,r+t.length)==t},$r.subtract=Aa,$r.sum=function(n){return n&&n.length?Zt(n,ea):0},$r.sumBy=function(n,t){return n&&n.length?Zt(n,ii(t,2)):0},$r.template=function(n,t,e){var u=$r.templateSettings;e&&gi(n,t,e)&&(t=r),n=df(n),t=xf({},t,u,Hu);var i=xf({},t.imports,u.imports,Hu),o=zf(i),f=Ht(i,o);At(o,function(n){if(an.test(n))throw new xn("Invalid `imports` option passed into `_.template`")});var a,c,l=0,s=t.interpolate||dn,h="__p +='",p=On((t.escape||dn).source+"|"+s.source+"|"+(s===H?ln:dn).source+"|"+(t.evaluate||dn).source+"|$","g"),v="//# sourceURL="+(Ln.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";n.replace(p,function(t,r,e,u,i,o){return e||(e=u),h+=n.slice(l,o).replace(bn,tr),r&&(a=!0,h+="' +\n__e("+r+") +\n'"),i&&(c=!0,h+="';\n"+i+";\n__p +='"),e&&(h+="' +\n((__t=("+e+"))==null ? '':__t) +\n'"),l=o+t.length,t}),h+="';\n";var _=Ln.call(t,"variable")&&t.variable;if(_){if(an.test(_))throw new xn("Invalid `variable` option passed into `_.template`")}else h="with (obj){\n"+h+"\n}\n";h=(c?h.replace(M,""):h).replace(F,"$1").replace(N,"$1;"),h="function("+(_||"obj")+"){\n"+(_?"":"obj||(obj={});\n")+"var __t, __p=''"+(a?", __e=_.escape":"")+(c?", __j=Array.prototype.join;\nfunction print(){ __p +=__j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=Qf(function(){return jn(o,v+"return "+h).apply(r,f)});if(g.source=h,Ho(g))throw g;return g},$r.times=function(n,t){if((n=vf(n))<1||n>c)return[];var r=s,e=yr(n,s);t=ii(t),n-=s;for(var u=Kt(e,t);++r<n;)t(r);return u},$r.toFinite=pf,$r.toInteger=vf,$r.toLength=_f,$r.toLower=function(n){return df(n).toLowerCase()},$r.toNumber=gf,$r.toSafeInteger=function(n){return n?ie(vf(n),-9007199254740991,c):0===n?n:0},$r.toString=df,$r.toUpper=function(n){return df(n).toUpperCase()},$r.trim=function(n,t,e){if((n=df(n))&&(e||t===r))return Vt(n);if(!n||!(t=ou(t)))return n;var u=cr(n),i=cr(t);return du(u,Yt(u,i),Qt(u,i)+1).join("")},$r.trimEnd=function(n,t,e){if((n=df(n))&&(e||t===r))return n.slice(0,lr(n)+1);if(!n||!(t=ou(t)))return n;var u=cr(n);return du(u,0,Qt(u,cr(t))+1).join("")},$r.trimStart=function(n,t,e){if((n=df(n))&&(e||t===r))return n.replace(tn,"");if(!n||!(t=ou(t)))return n;var u=cr(n);return du(u,Yt(u,cr(t))).join("")},$r.truncate=function(n,t){var e=30,u="...";if(Xo(t)){var i="separator"in t?t.separator:i;e="length"in t?vf(t.length):e,u="omission"in t?ou(t.omission):u}var o=(n=df(n)).length;if(rr(n)){var f=cr(n);o=f.length}if(e>=o)return n;var a=e-ar(u);if(a<1)return u;var c=f?du(f,0,a).join(""):n.slice(0,a);if(i===r)return c+u;if(f&&(a+=c.length-a),uf(i)){if(n.slice(a).search(i)){var l,s=c;for(i.global||(i=On(i.source,df(sn.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===r?a:h)}}else if(n.indexOf(ou(i),a)!=a){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+u},$r.unescape=function(n){return(n=df(n))&&Z.test(n)?n.replace(P,sr):n},$r.uniqueId=function(n){var t=++Wn;return df(n)+t},$r.upperCase=Hf,$r.upperFirst=Jf,$r.each=go,$r.eachRight=yo,$r.first=qi,fa($r,(ya={},de($r,function(n,t){Ln.call($r.prototype,t)||(ya[t]=n)}),ya),{chain:!1}),$r.VERSION="4.18.1",At(["bind","bindKey","curry","curryRight","partial","partialRight"],function(n){$r[n].placeholder=$r}),At(["drop","take"],function(n,t){Nr.prototype[n]=function(e){e=e===r?1:gr(vf(e),0);var u=this.__filtered__&&!t?new Nr(this):this.clone();return u.__filtered__?u.__takeCount__=yr(e,u.__takeCount__):u.__views__.push({size:yr(e,s),type:n+(u.__dir__<0?"Right":"")}),u},Nr.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}}),At(["filter","map","takeWhile"],function(n,t){var r=t+1,e=1==r||3==r;Nr.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:ii(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}}),At(["head","last"],function(n,t){var r="take"+(t?"Right":"");Nr.prototype[n]=function(){return this[r](1).value()[0]}}),At(["initial","tail"],function(n,t){var r="drop"+(t?"":"Right");Nr.prototype[n]=function(){return this.__filtered__?new Nr(this):this[r](1)}}),Nr.prototype.compact=function(){return this.filter(ea)},Nr.prototype.find=function(n){return this.filter(n).head()},Nr.prototype.findLast=function(n){return this.reverse().find(n)},Nr.prototype.invokeMap=Ve(function(n,t){return"function"==typeof n?new Nr(this):this.map(function(r){return Ie(r,n,t)})}),Nr.prototype.reject=function(n){return this.filter(Lo(ii(n)))},Nr.prototype.slice=function(n,t){n=vf(n);var e=this;return e.__filtered__&&(n>0||t<0)?new Nr(e):(n<0?e=e.takeRight(-n):n&&(e=e.drop(n)),t!==r&&(e=(t=vf(t))<0?e.dropRight(-t):e.take(t-n)),e)},Nr.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Nr.prototype.toArray=function(){return this.take(s)},de(Nr.prototype,function(n,t){var e=/^(?:filter|find|map|reject)|While$/.test(t),u=/^(?:head|last)$/.test(t),i=$r[u?"take"+("last"==t?"Right":""):t],o=u||/^find/.test(t);i&&($r.prototype[t]=function(){var t=this.__wrapped__,f=u?[1]:arguments,a=t instanceof Nr,c=f[0],l=a||Po(t),s=function(n){var t=i.apply($r,zt([n],f));return u&&h?t[0]:t};l&&e&&"function"==typeof c&&1!=c.length&&(a=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=a&&!p;if(!o&&l){t=_?t:new Nr(this);var g=n.apply(t,f);return g.__actions__.push({func:so,args:[s],thisArg:r}),new Fr(g,h)}return v&&_?n.apply(this,f):(g=this.thru(s),v?u?g.value()[0]:g.value():g)})}),At(["pop","push","shift","sort","splice","unshift"],function(n){var t=Rn[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);$r.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(Po(u)?u:[],n)}return this[r](function(r){return t.apply(Po(r)?r:[],n)})}}),de(Nr.prototype,function(n,t){var r=$r[t];if(r){var e=r.name+"";Ln.call(Rr,e)||(Rr[e]=[]),Rr[e].push({name:t,func:r})}}),Rr[Bu(r,2).name]=[{name:"wrapper",func:r}],Nr.prototype.clone=function(){var n=new Nr(this.__wrapped__);return n.__actions__=Ou(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=Ou(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=Ou(this.__views__),n},Nr.prototype.reverse=function(){if(this.__filtered__){var n=new Nr(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},Nr.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=Po(n),e=t<0,u=r?n.length:0,i=function(n,t,r){for(var e=-1,u=r.length;++e<u;){var i=r[e],o=i.size;switch(i.type){case"drop":n+=o;break;case"dropRight":t-=o;break;case"take":t=yr(t,n+o);break;case"takeRight":n=gr(n,t-o)}}return{start:n,end:t}}(0,u,this.__views__),o=i.start,f=i.end,a=f-o,c=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=yr(a,this.__takeCount__);if(!r||!e&&u==a&&p==a)return su(n,this.__actions__);var v=[];n:for(;a--&&h<p;){for(var _=-1,g=n[c+=t];++_<s;){var y=l[_],d=y.iteratee,b=y.type,w=d(g);if(2==b)g=w;else if(!w){if(1==b)continue n;break n}}v[h++]=g}return v},$r.prototype.at=ho,$r.prototype.chain=function(){return lo(this)},$r.prototype.commit=function(){return new Fr(this.value(),this.__chain__)},$r.prototype.next=function(){this.__values__===r&&(this.__values__=hf(this.value()));var n=this.__index__>=this.__values__.length;return{done:n,value:n?r:this.__values__[this.__index__++]}},$r.prototype.plant=function(n){for(var t,e=this;e instanceof Mr;){var u=Bi(e);u.__index__=0,u.__values__=r,t?i.__wrapped__=u:t=u;var i=u;e=e.__wrapped__}return i.__wrapped__=n,t},$r.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof Nr){var t=n;return this.__actions__.length&&(t=new Nr(this)),(t=t.reverse()).__actions__.push({func:so,args:[Qi],thisArg:r}),new Fr(t,this.__chain__)}return this.thru(Qi)},$r.prototype.toJSON=$r.prototype.valueOf=$r.prototype.value=function(){return su(this.__wrapped__,this.__actions__)},$r.prototype.first=$r.prototype.head,Xn&&($r.prototype[Xn]=function(){return this}),$r}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(lt._=hr,define(function(){return hr})):ht?((ht.exports=hr)._=hr,st._=hr):lt._=hr}.call(this)}},t={};function r(e){var u=t[e];if(void 0!==u)return u.exports;var i=t[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return r.d(t,{a:t}),t},r.d=(n,t)=>{for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),r.nmd=n=>(n.paths=[],n.children||(n.children=[]),n),(()=>{"use strict";var n=r(243);function t(n,t){(null==t||t>n.length)&&(t=n.length);for(var r=0,e=Array(t);r<t;r++)e[r]=n[r];return e}!function(){function r(){if(!globalThis.wp_consent_type&&!globalThis.wp_fallback_consent_type)return;const r={};let e=!1;Object.entries(globalThis._googlesitekitConsentCategoryMap).forEach(n=>{let u=(a=2,function(n){if(Array.isArray(n))return n}(f=n)||function(n,t){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var e,u,i,o,f=[],a=!0,c=!1;try{if(i=(r=r.call(n)).next,0===t){if(Object(r)!==r)return;a=!1}else for(;!(a=(e=i.call(r)).done)&&(f.push(e.value),f.length!==t);a=!0);}catch(n){c=!0,u=n}finally{try{if(!a&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw u}}return f}}(f,a)||function(n,r){if(n){if("string"==typeof n)return t(n,r);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(n,r):void 0}}(f,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=u[0],o=u[1];var f,a;globalThis.wp_has_consent&&globalThis.wp_has_consent(i)&&(o.forEach(n=>{r[n]="granted"}),e=e||!!o.length)}),e&&!(0,n.isEqual)(r,globalThis._googlesitekitConsents)&&(globalThis.gtag("consent","update",r),globalThis._googlesitekitConsents=r)}globalThis.document.addEventListener("wp_listen_for_consent_change",function(n){if(n.detail){const t={};let r=!1;Object.keys(n.detail).forEach(e=>{if(globalThis._googlesitekitConsentCategoryMap[e]){const u="allow"===n.detail[e]?"granted":"denied",i=globalThis._googlesitekitConsentCategoryMap[e];i.forEach(n=>{t[n]=u}),r=!!i.length}}),r&&globalThis.gtag("consent","update",t)}}),globalThis.document.addEventListener("wp_consent_type_defined",r),globalThis.document.addEventListener("DOMContentLoaded",()=>{globalThis.waitfor_consent_hook||r()})}()})()})();
!function(){"use strict";var e={6611:function(e,t,n){n.d(t,{top_window:function(){return s}});let o,s=window,i=!1;try{o=!!window.top.document&&window.top}catch(e){o=!1}o&&o.__Cypress__?window.parent===o?(s=window,i=!1):(s=window.parent,i=!0):o&&(s=o,i=o!==window.self)}},t={};function n(o){var s=t[o];if(void 0!==s)return s.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.d=function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};!function(){n.r(o);var e=n(6611);!function(t){const n=t("body").hasClass("et-block-layout-preview"),o="object"==typeof window.ET_Builder,s=t(".et-l--header").first();let i=0;if(window.et_pb_debounce=function(e,t,n){let o,s,i,l,a;const r=Date.now||(new Date).getTime();var c=function(){const d=r-l;d<t&&d>=0?o=setTimeout(c,t-d):(o=null,n||(a=e.apply(i,s),o||(i=s=null)))};return function(){i=this,s=arguments,l=r;const d=n&&!o;return o||(o=setTimeout(c,t)),d&&(a=e.apply(i,s),i=s=null),a}},s.length){const e=s.find(".et_builder_inner_content").children(".et_pb_section--fixed"),n=et_pb_debounce((n=>{i=0,t.each(e,(function(e,n){let o=t(n).outerHeight(!0);i+=o;let s=t(n).offset().top;s<0&&Math.abs(s)>i?i=0:s<0&&(i+=s)}))}),300);t(window).on("load resize",n)}window.et_pb_smooth_scroll=function(e,n,o,l){const a=e.offset().top,r=t(window).width();let c=0,d=0,_="",h="",u=s.find(".et_pb_section");if("function"==typeof window.isTargetStickyState&&window.isTargetStickyState(e))return;if(t("body").hasClass("et_fixed_nav")&&r>980){c=(t("#top-header").outerHeight()||0)+(t("#main-header").outerHeight()||0)-1}else c=0;if(t("#wpadminbar").length&&r>600){c+=t("#wpadminbar").outerHeight()||0}s.length&&(u.hasClass("et_pb_section--fixed")&&(_=Math.ceil(parseFloat(u.css("left"))),h=Math.ceil(parseFloat(u.css("right")))),0===_+h&&(c+=i));const p="function"==typeof window.getClosestStickyModuleOffsetTop?window.getClosestStickyModuleOffsetTop(e):null;p&&(c+=p),d=n?0:Math.round(a)-c,void 0===l&&(l="swing"),t("html, body").animate({scrollTop:d},o,l)},window.et_duplicate_menu=function(e,n,s,i,l){n.each((function(){const n=t(this);let a;if(!n.find(`#${s}`).length&&(""!==e&&e.clone().attr("id",s).removeClass().attr("class",i).appendTo(n),a=n.find("> ul"),a.find(".menu_slide").remove(),a.find(".et_pb_menu__logo-slot").remove(),a.find("li").first().addClass("et_first_mobile_item"),a.find("a").on("click",(function(){t(this).parents(".et_mobile_menu").siblings(".mobile_menu_bar").trigger("click")})),"no_click_event"!==l)){o&&n.off("click");const e=n.closest(".et_pb_section"),s=n.closest(".et_pb_row"),i="0px"!==e.css("border-radius"),l="0px"!==s.css("border-radius");n.on("click",".mobile_menu_bar",(function(){return t(".mobile_nav.opened .mobile_menu_bar").not(t(this)).trigger("click"),n.hasClass("closed")?(n.removeClass("closed").addClass("opened"),(i||l)&&(e.css("overflow","visible"),s.css("overflow","visible")),a.stop().slideDown(500)):(n.removeClass("opened").addClass("closed"),a.stop().slideUp(500),(i||l)&&setTimeout((()=>{e.css("overflow","hidden"),s.css("overflow","hidden")}),500)),!1}))}})),t("#mobile_menu .centered-inline-logo-wrap").remove()},window.et_pb_remove_placeholder_text=function(e){e.find("input:text, textarea").each(((e,t)=>{const n=jQuery(t),o=n.siblings("label");n.siblings("label").text();o.length&&o.is(":hidden")&&o.text()==n.val()&&n.val("")}))},window.et_fix_fullscreen_section=function(){const o=t(n?e.top_window:window);t("section.et_pb_fullscreen").each((function(){const e=t(this);et_calc_fullscreen_section.bind(e),o.on("resize",et_calc_fullscreen_section.bind(e))}))},window.et_bar_counters_init=function(e){e.length&&e.css({width:`${parseFloat(e.attr("data-width"))}%`})},window.et_fix_pricing_currency_position=function(e){setTimeout((()=>{const n=void 0!==e?e:t(".et_pb_pricing_table");n.length&&n.each((function(){const e=t(this).find(".et_pb_et_price"),n=!!e.length&&e.find(".et_pb_dollar_sign"),o=!!e.length&&e.find(".et_pb_sum");n&&o&&n.css({marginLeft:-n.width()+"px"})}))}),1)},window.et_pb_set_responsive_grid=function(e,n){setTimeout((()=>{const o=e.innerWidth(),s=e.find(n),i=s.outerWidth(!0),l=i-s.outerWidth(),a=Math.round((o+l)/i);let r=1,c=1,d=t();if(s.removeClass("last_in_row first_in_row on_last_row"),s.filter(":visible").each((function(){const e=t(this);e.hasClass("inactive")||(c===r?(e.addClass("first_in_row"),d=e):0==r%a&&(e.addClass("last_in_row"),c=r+1),r++)})),d.length){const e=d.parents(".et_pb_module"),n=e.parent().children(".et_pb_module");if(n.length>0&&n.last().is(e)||e.is(":last-child")){const n=d.parents(".et_pb_column")[0];t(n).find(".et_pb_grid_item").removeClass("on_last_row");let o=e.find(".et_pb_gallery_pagination");0===o.length&&(o=e.find(".et_pb_portofolio_pagination")),(0===o.length||o.length>0&&!o.is(":visible"))&&(a>1&&d.addClass("on_last_row"),d.nextAll().addClass("on_last_row"))}}}),1)},window.et_pb_box_shadow_apply_overlay=function(e){void 0!==document.body.style.pointerEvents&&(void 0===document.documentMode||document.documentMode>=11)?t(e).each((function(){t(this).children(".box-shadow-overlay").length||t(this).addClass("has-box-shadow-overlay").prepend('<div class="box-shadow-overlay"></div>')})):t(e).addClass(".et-box-shadow-no-overlay")},window.et_pb_init_nav_menu=function(e){e.each((function(){const e=t(this);e.data("et-is-menu-ready")||(e.find("li").on("mouseenter",(function(){window.et_pb_toggle_nav_menu(t(this),"open")})).on("mouseleave",(function(){window.et_pb_toggle_nav_menu(t(this),"close",0)})),t("body").on("touchend",(e=>{t(e.target).closest("ul.nav, ul.menu").length<1&&t(".et-hover").length>0&&window.et_pb_toggle_nav_menu(t(".et-hover"),"close")})),e.find("li.menu-item-has-children").on("touchend",(function(e){const n=t(e.target).closest(".menu-item");if(!n.hasClass("menu-item-has-children"))return;const o=t(this),s=n.closest(".mega-menu-parent.et-touch-hover").length>0;if(o.hasClass("et-touch-hover")||s){void 0!==o.find(">a").attr("href")&&(window.location=o.find(">a").attr("href"))}else{const n=t(e.target),s=n.closest(".menu-item").siblings(".et-touch-hover");if(n.closest(".et-touch-hover").length<1&&window.et_pb_toggle_nav_menu(t(".et-hover"),"close",0),o.addClass("et-touch-hover"),s.length>0){const e=s.find(".et-touch-hover");window.et_pb_toggle_nav_menu(s,"close"),window.et_pb_toggle_nav_menu(e,"close")}window.et_pb_toggle_nav_menu(o,"open")}e.preventDefault(),e.stopPropagation()})),e.find("li.mega-menu").each((function(){const e=t(this),n=e.children("ul").children("li").length;n<4&&e.addClass(`mega-menu-parent mega-menu-parent-${n}`)})),e.data("et-is-menu-ready","ready"))}))},window.et_pb_toggle_nav_menu=function(e,t,n){if("open"===t)e.closest("li.mega-menu").length&&!e.hasClass("mega-menu")||(e.addClass("et-show-dropdown"),e.removeClass("et-hover").addClass("et-hover"));else{const t=void 0!==n?n:200;e.removeClass("et-show-dropdown"),e.removeClass("et-touch-hover"),setTimeout((()=>{e.hasClass("et-show-dropdown")||e.removeClass("et-hover")}),t)}},window.et_pb_apply_sticky_image_effect=function(e){const t=e.closest(".et_pb_row"),n=t.closest(".et_pb_section"),o=e.closest(".et_pb_column"),s="et_pb_section_sticky",i="et_pb_section_sticky_mobile",l=n.children(".et_pb_row").last(),a=t.children(".et_pb_column").last(),r=o.children(".et_pb_module").last();return!t.is(l)||(l.addClass("et-last-child"),!e.is(r)||(n.hasClass(s)||n.addClass(s),o.addClass("et_pb_row_sticky"),void(!n.hasClass(i)&&o.is(a)&&n.addClass(i))))},window.et_pb_menu_inject_inline_centered_logo=function(e){const n=t(e).find("nav > ul > li"),o=Math.round(n.length/2),s=window.et_pb_menu_inject_item(e,o,!0);return s&&t(s).addClass("et_pb_menu__logo-slot"),s},window.et_pb_menu_inject_item=function(e,n,o){o=void 0===o||o,n=Math.max(n,0);const s=t(e).find("nav > ul").first();if(0===s.length)return null;const i=s.find("> li"),l=t("<li></li>");if(0===i.length)s.append(l);else{let e=o?"before":"after",t=o?i.eq(n):i.eq(i.length-1-n);0===t.length&&(e=o?"after":"before",t=o?i.last():i.first()),t[e](l)}return l.get(0)},t('a[href*="#"]:not([href="#"]), .mobile_nav').on("click",(function(e){var n=t(this),o=n.closest(".et_smooth_scroll_disabled").length,s=n.closest(".woocommerce-tabs").length&&n.closest(".tabs").length,i=n.closest(".tt_tabs_navigation").length,l=n.closest(".eab-shortcode_calendar-navigation-link").length,a=n.closest(".view-cart-lnk").length,r=n.hasClass("acomment-reply"),c=n.closest(".hustle-ui").length,d=n.hasClass("woocommerce-review-link"),_=o||a||s||l||r||d||i||c;if((n.hasClass("mobile_nav")||location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname)&&!_){if(this.hash&&this.hash.startsWith("#")&&this.hash.slice(1).includes("#"))return e.preventDefault(),!1;var h;try{h=t(this.hash)}catch{h=t()}if(n.hasClass("mobile_nav")){if(e.target.hash)try{h=t("#"+e.target.hash.slice(1))}catch{h=t()}if(t(e.target).parent().hasClass("pum-trigger")){e.preventDefault();var u=t(e.target).parent().attr("class").split(" ").filter((function(e){return e.includes("popmake")}))[0].split("-")[1];t("#pum-".concat(u)).css({opacity:"1",display:"block"}),t("#popmake-".concat(u)).css({opacity:"1",display:"block"})}}if(!h.length&&this.hash)try{h=t("[name="+this.hash.slice(1)+"]")}catch{h=t()}if(h.length){t(this).parents().hasClass("widget_recent_reviews")&&t(".reviews_tab").trigger("click").animate({scrollTop:h.offset().top},700);const e=t("body").hasClass("et_smooth_scroll"),n=e?800:0;if(setTimeout((function(){et_pb_smooth_scroll(h,!1,n)}),0),!t("#main-header").hasClass("et-fixed-header")&&t("body").hasClass("et_fixed_nav")&&t(window).width()>980){const t=e?40:0;setTimeout((function(){et_pb_smooth_scroll(h,!1,t,"linear")}),e?780:0)}return!1}}})),window.et_pb_reposition_menu_module_dropdowns=et_pb_debounce((e=>{t(e||".et_pb_menu, .et_pb_fullwidth_menu").each((function(){const e=t(this).find(".et_pb_row").first();if(0===e.length)return!0;const n=e.offset().top,o=t(this).attr("class").replace(/^.*?(et_pb(?:_fullwidth)?_menu_\d+[^\s]*).*$/i,"$1"),s=t(this).find(".et_pb_menu__menu ul").first().hasClass("upwards");let i="";t(this).find(".et_pb_menu__menu > nav > ul > li.mega-menu.menu-item-has-children").each((function(){const l=t(this),a=l.attr("class").replace(/^.*?(menu-item-\d+).*$/i,"$1"),r=`.${o} li.${a} > .sub-menu`;if(s){var c=Math.floor(n+e.outerHeight()-l.offset().top)-1;i+=`${r}{ bottom: ${c.toString()}px !important; }`}else{c=Math.floor(l.offset().top+l.outerHeight()-n)-1;i+=`${r}{ top: ${c.toString()}px !important; }`}}));let l=t(`style.et-menu-style-${o}`).first();0===l.length&&(l=t("<style></style>"),l.addClass("et-menu-style"),l.addClass(`et-menu-style-${o}`),l.appendTo(t("head")));const a=l.html();i!==a&&l.html(i)}))}),200)}(jQuery)}(),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryFrontendGlobalFunctions=o}();
!function(){"use strict";function t(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+e,this.decoration=t.Adapter.extend({},t.defaults,o),this.element=this.decoration.element,this.adapter=new t.Adapter(this.element),this.callback=o.handler,this.axis=this.decoration.horizontal?"horizontal":"vertical",this.enabled=this.decoration.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.decoration.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.decoration.context),t.offsetAliases[this.decoration.offset]&&(this.decoration.offset=t.offsetAliases[this.decoration.offset]),this.group.add(this),this.context.add(this),i[this.key]=this,e+=1}var e=0,i={};t.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},t.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete i[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(t){var e=[];for(var o in i)e.push(i[o]);for(var n=0,r=e.length;r>n;n++)e[n][t]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}function e(t){this.element=t,this.Adapter=n.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,o[t.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var i=0,o={},n=window.Waypoint,r=window.onload;e.prototype.add=function(t){var e=t.decoration.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},e.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical);t&&e&&(this.adapter.off(".waypoints"),delete o[this.key])},e.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",(function(){e.didResize||(e.didResize=!0,n.requestAnimationFrame(t))}))},e.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",(function(){(!e.didScroll||n.isTouch)&&(e.didScroll=!0,n.requestAnimationFrame(t))}))},e.prototype.handleResize=function(){n.Context.refreshAll()},e.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll?o.forward:o.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r],a=o.oldScroll<s.triggerPoint,l=o.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(n),t[s.group.id]=s.group)}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},e.prototype.innerHeight=function(){return this.element==this.element.window?n.viewportHeight():this.adapter.innerHeight()},e.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},e.prototype.innerWidth=function(){return this.element==this.element.window?n.viewportWidth():this.adapter.innerWidth()},e.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;n>o;o++)t[o].destroy()},e.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),o={};for(var r in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=t[r];for(var a in this.waypoints[r]){var l,h,c,p,d=this.waypoints[r][a],u=d.decoration.offset,f=d.triggerPoint,w=0,y=null==f;d.element!==d.element.window&&(w=d.adapter.offset()[s.offsetProp]),"function"==typeof u?u=u.apply(d):"string"==typeof u&&(u=parseFloat(u),d.decoration.offset.indexOf("%")>-1&&(u=Math.ceil(s.contextDimension*u/100))),l=s.contextScroll-s.contextOffset,d.triggerPoint=w+l-u,h=f<s.oldScroll,c=d.triggerPoint>=s.oldScroll,p=!h&&!c,!y&&h&&c?(d.queueTrigger(s.backward),o[d.group.id]=d.group):(!y&&p||y&&s.oldScroll>=d.triggerPoint)&&(d.queueTrigger(s.forward),o[d.group.id]=d.group)}}return n.requestAnimationFrame((function(){for(var t in o)o[t].flushTriggers()})),this},e.findOrCreateByElement=function(t){return e.findByElement(t)||new e(t)},e.refreshAll=function(){for(var t in o)o[t].refresh()},e.findByElement=function(t){return o[t.waypointContextKey]},window.onload=function(){r&&r(),e.refreshAll()},n.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},n.Context=e}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}function i(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),o[this.axis][this.name]=this}var o={vertical:{},horizontal:{}},n=window.Waypoint;i.prototype.add=function(t){this.waypoints.push(t)},i.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},i.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;s>r;r+=1){var a=o[r];(a.decoration.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},i.prototype.next=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},i.prototype.previous=function(e){this.waypoints.sort(t);var i=n.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},i.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},i.prototype.remove=function(t){var e=n.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},i.prototype.first=function(){return this.waypoints[0]},i.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},i.findOrCreate=function(t){return o[t.axis][t.name]||new i(t)},n.Group=i}(),function(){"use strict";function t(t){this.$element=e(t)}var e=window.jQuery,i=window.Waypoint;e.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],(function(e,i){t.prototype[i]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[i].apply(this.$element,t)}})),e.each(["extend","inArray","isEmptyObject"],(function(i,o){t[o]=e[o]})),i.adapters.push({name:"jquery",Adapter:t}),i.Adapter=t}(),function(){"use strict";function t(t){return function(){var i=[],o=arguments[0];return"function"==typeof arguments[0]&&((o=t.extend({},arguments[1])).handler=arguments[0]),this.each((function(){var n=t.extend({},o,{element:this});"string"==typeof n.context&&(n.context=t(this).closest(n.context)[0]),i.push(new e(n))})),i}}var e=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=t(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=t(window.Zepto))}(),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryExtWaypoint={};
(function($){
$(function(){
var user_agent=navigator.userAgent;
var is_opera_edge;
var browser=user_agent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))/i)||[];
var browser_name='';
var browser_class='';
if(/trident/i.test(browser[0]) ){
browser_name='ie';
}else if(browser[0]==='Chrome'){
is_opera_edge=user_agent.match(/\b(OPR|Edge)/);
if(is_opera_edge!==null){
browser_name=is_opera_edge[0].replace('OPR', 'opera');
}}
if(''===browser_name){
if('standalone' in window.navigator&&!window.navigator.standalone){
browser_name='uiwebview';
}else{
browser_name=browser[0]&&''!==browser[0] ? browser[0]:navigator.appName;
}}
browser_name=browser_name.toLowerCase();
switch(browser_name){
case 'msie' :
browser_class='ie';
break;
case 'firefox' :
browser_class='gecko';
break;
default :
browser_class=browser_name;
break;
}
if(user_agent.match(/iPhone/)){
browser_class +=' iphone';
}
$('body').addClass(browser_class);
});
})(jQuery);
!function(){var t={63175:function(t,e,n){"use strict";n.d(e,{waypointExtended:function(){return i}});const i=(t,e,n)=>{n=parseInt(n?.toString(),10),Number.isNaN(n)&&(n=parseInt(t.data("et_waypoint_max_instances"),10)),Number.isNaN(n)&&(n=1);const i=t.data("et_waypoint")||[];let o=[];if("et_pb_custom"in window&&(o=window?.et_pb_custom?.waypoints_options?.context),o&&Array.isArray(o)){const n=o.find((e=>t.closest(e).length>0));n&&(e.context=n)}if(i.length<n){const n=t.waypoint(e);n&&Array.isArray(n)&&n.length>0&&(i.push(n[0]),t.data("et_waypoint",i))}else i.forEach((t=>{t.context.refresh()}))}},1989:function(t,e,n){var i=n(51789),o=n(80401),a=n(57667),r=n(21327),s=n(81866);function _(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}_.prototype.clear=i,_.prototype.delete=o,_.prototype.get=a,_.prototype.has=r,_.prototype.set=s,t.exports=_},38407:function(t,e,n){var i=n(27040),o=n(14125),a=n(82117),r=n(67518),s=n(54705);function _(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}_.prototype.clear=i,_.prototype.delete=o,_.prototype.get=a,_.prototype.has=r,_.prototype.set=s,t.exports=_},57071:function(t,e,n){var i=n(10852)(n(78638),"Map");t.exports=i},83369:function(t,e,n){var i=n(24785),o=n(11285),a=n(96e3),r=n(49916),s=n(95265);function _(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}_.prototype.clear=i,_.prototype.delete=o,_.prototype.get=a,_.prototype.has=r,_.prototype.set=s,t.exports=_},62705:function(t,e,n){var i=n(78638).Symbol;t.exports=i},29932:function(t){t.exports=function(t,e){for(var n=-1,i=null==t?0:t.length,o=Array(i);++n<i;)o[n]=e(t[n],n,t);return o}},18470:function(t,e,n){var i=n(77813);t.exports=function(t,e){for(var n=t.length;n--;)if(i(t[n][0],e))return n;return-1}},97786:function(t,e,n){var i=n(71811),o=n(40327);t.exports=function(t,e){for(var n=0,a=(e=i(e,t)).length;null!=t&&n<a;)t=t[o(e[n++])];return n&&n==a?t:void 0}},44239:function(t,e,n){var i=n(62705),o=n(89607),a=n(2333),r=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":r&&r in Object(t)?o(t):a(t)}},28458:function(t,e,n){var i=n(23560),o=n(15346),a=n(13218),r=n(80346),s=/^\[object .+?Constructor\]$/,_=Function.prototype,d=Object.prototype,c=_.toString,l=d.hasOwnProperty,u=RegExp("^"+c.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!a(t)||o(t))&&(i(t)?u:s).test(r(t))}},80531:function(t,e,n){var i=n(62705),o=n(29932),a=n(1469),r=n(33448),s=i?i.prototype:void 0,_=s?s.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(a(e))return o(e,t)+"";if(r(e))return _?_.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n}},71811:function(t,e,n){var i=n(1469),o=n(15403),a=n(55514),r=n(79833);t.exports=function(t,e){return i(t)?t:o(t,e)?[t]:a(r(t))}},14429:function(t,e,n){var i=n(78638)["__core-js_shared__"];t.exports=i},31957:function(t,e,n){var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=i},45050:function(t,e,n){var i=n(37019);t.exports=function(t,e){var n=t.__data__;return i(e)?n["string"==typeof e?"string":"hash"]:n.map}},10852:function(t,e,n){var i=n(28458),o=n(47801);t.exports=function(t,e){var n=o(t,e);return i(n)?n:void 0}},89607:function(t,e,n){var i=n(62705),o=Object.prototype,a=o.hasOwnProperty,r=o.toString,s=i?i.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(t){}var o=r.call(t);return i&&(e?t[s]=n:delete t[s]),o}},47801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},51789:function(t,e,n){var i=n(94536);t.exports=function(){this.__data__=i?i(null):{},this.size=0}},80401:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},57667:function(t,e,n){var i=n(94536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},21327:function(t,e,n){var i=n(94536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return i?void 0!==e[t]:o.call(e,t)}},81866:function(t,e,n){var i=n(94536);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this}},15403:function(t,e,n){var i=n(1469),o=n(33448),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;t.exports=function(t,e){if(i(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!o(t))||(r.test(t)||!a.test(t)||null!=e&&t in Object(e))}},37019:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},15346:function(t,e,n){var i,o=n(14429),a=(i=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";t.exports=function(t){return!!a&&a in t}},27040:function(t){t.exports=function(){this.__data__=[],this.size=0}},14125:function(t,e,n){var i=n(18470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=i(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}},82117:function(t,e,n){var i=n(18470);t.exports=function(t){var e=this.__data__,n=i(e,t);return n<0?void 0:e[n][1]}},67518:function(t,e,n){var i=n(18470);t.exports=function(t){return i(this.__data__,t)>-1}},54705:function(t,e,n){var i=n(18470);t.exports=function(t,e){var n=this.__data__,o=i(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},24785:function(t,e,n){var i=n(1989),o=n(38407),a=n(57071);t.exports=function(){this.size=0,this.__data__={hash:new i,map:new(a||o),string:new i}}},11285:function(t,e,n){var i=n(45050);t.exports=function(t){var e=i(this,t).delete(t);return this.size-=e?1:0,e}},96e3:function(t,e,n){var i=n(45050);t.exports=function(t){return i(this,t).get(t)}},49916:function(t,e,n){var i=n(45050);t.exports=function(t){return i(this,t).has(t)}},95265:function(t,e,n){var i=n(45050);t.exports=function(t,e){var n=i(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},24523:function(t,e,n){var i=n(88306);t.exports=function(t){var e=i(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}},94536:function(t,e,n){var i=n(10852)(Object,"create");t.exports=i},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},78638:function(t,e,n){var i=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,a=i||o||Function("return this")();t.exports=a},55514:function(t,e,n){var i=n(24523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,r=i((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,i,o){e.push(i?o.replace(a,"$1"):n||t)})),e}));t.exports=r},40327:function(t,e,n){var i=n(33448);t.exports=function(t){if("string"==typeof t||i(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},80346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},77813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},27361:function(t,e,n){var i=n(97786);t.exports=function(t,e,n){var o=null==t?void 0:i(t,e);return void 0===o?n:o}},1469:function(t){var e=Array.isArray;t.exports=e},23560:function(t,e,n){var i=n(44239),o=n(13218);t.exports=function(t){if(!o(t))return!1;var e=i(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},13218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},37005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},33448:function(t,e,n){var i=n(44239),o=n(37005);t.exports=function(t){return"symbol"==typeof t||o(t)&&"[object Symbol]"==i(t)}},88306:function(t,e,n){var i=n(83369);function o(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,o=e?e.apply(this,i):i[0],a=n.cache;if(a.has(o))return a.get(o);var r=t.apply(this,i);return n.cache=a.set(o,r)||a,r};return n.cache=new(o.Cache||i),n}o.Cache=i,t.exports=o},79833:function(t,e,n){var i=n(80531);t.exports=function(t){return null==t?"":i(t)}}},e={};function n(i){var o=e[i];if(void 0!==o)return o.exports;var a=e[i]={exports:{}};return t[i](a,a.exports,n),a.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};!function(){"use strict";n.r(i);var t=n(27361),e=n.n(t),o=window.jQuery,a=n.n(o);const r=(t,e,n)=>{if(n){const i=`${e}${n}`,o=Object.getOwnPropertyDescriptor(t,i);if(o&&o.value&&"string"==typeof o.value&&o.value)return o.value}return t[e]||""},s=[{enable:!0,order:50,name:"desktop",baseDevice:!0,label:"Desktop"},{enable:!0,maxWidth:{value:"980px",default:980},order:30,name:"tablet",label:"Tablet"},{enable:!0,maxWidth:{value:"767px",default:767},order:10,name:"phone",label:"Phone"}],_=()=>{const t=window.innerWidth||document.documentElement.clientWidth,e=window?.diviBreakpointData?.enabledBreakpoints?window?.diviBreakpointData?.enabledBreakpoints:s,n=e.find((t=>t?.baseDevice))?.name??"desktop";let i,o=null,a=null;return e.forEach((e=>{if(e?.baseDevice)return;const n=e?.maxWidth?.value,r=e?.minWidth?.value;if(n&&r&&parseInt(n)>=t&&parseInt(r)<=t&&(i=e?.name),n&&!r){const a=parseInt(n);a>=t&&(null===o||a<o)&&(i=e?.name,o=a)}if(!n&&r){const n=parseInt(r);n<=t&&(null===a||n>a)&&(i=e?.name,a=n)}})),i??n},d=t=>{const e=(t=>{const e=t.trim();if(!e)return"";const n=e.split(",")[0]?.trim()??e,i=Array.from(n.matchAll(/\.([A-Za-z0-9_-]+)/g));return 0===i.length?"":i[i.length-1]?.[1]??""})(t);if(e)return e;const n=t.trim().split(",")[0]?.trim()??"";return/^[A-Za-z0-9_-]+$/.test(n)?n:""},c=t=>{if("function"!=typeof window.et_has_animation_data||!window.et_has_animation_data(t))return;const e="string"==typeof window.et_animation_breakpoint&&window.et_animation_breakpoint?window.et_animation_breakpoint:_(),n="desktop"===e?"":`_${e}`,i=[...window?.et_animation_data??[],...window?.diviElementAnimationData??[]].find((e=>{if(!e.class)return!1;const n=d(e.class);return!!n&&t.hasClass(n)}));let o=null;if(i){const t=r(i,"style",n),e=r(i,"repeat",n),a=r(i,"duration",n),s=r(i,"delay",n),_=r(i,"intensity",n),d=r(i,"starting_opacity",n),c=r(i,"speed_curve",n);t&&e&&a&&s&&_&&d&&c&&(o={"data-animation-style":t,"data-animation-repeat":"once"===e?"":"infinite","data-animation-duration":a,"data-animation-delay":s,"data-animation-intensity":_,"data-animation-starting-opacity":d,"data-animation-speed-curve":c})}o&&t.attr(o)},l=t=>{const e=new Set;return t.find("[data-animation-style]").addBack("[data-animation-style]").each(((t,n)=>{const i=a()(n);var o;(o=i,"function"==typeof window.et_has_animation_data&&window.et_has_animation_data(o)||o.hasClass("et_animated")||o.hasClass("et_had_animation"))&&e.add(n)})),"function"==typeof window.et_has_animation_data&&t.find("*").addBack().each(((t,n)=>{if(e.has(n))return;const i=a()(n);window.et_has_animation_data(i)&&(e.add(n),i.attr("data-animation-style")||c(i))})),a()(Array.from(e))},u=t=>{t.find(".et_had_animation").addBack(".et_had_animation").each(((t,e)=>{(t=>{const e=t.hasClass("et_had_animation");if(t.removeClass("et_had_animation"),"function"==typeof window.et_get_animation_classes){const e=window.et_get_animation_classes();t.removeClass(e.join(" "))}e&&t.addClass("et_animated"),t.css({"animation-delay":"","animation-duration":"","animation-timing-function":"",opacity:"",transform:"",left:""})})(a()(e))}))},p=t=>{const e=a()(t);u(e),l(e)},h=t=>{if(!t)return;p(document.body);window.requestAnimationFrame((()=>{window.requestAnimationFrame((()=>{"function"==typeof window.et_reinit_waypoint_modules&&window.et_reinit_waypoint_modules()}))}))};var f=n(63175);!function(t){const{et_pb_custom:n}=window,i=t(window),o=void 0!==window.ETBlockLayoutModulesScript&&t("body").hasClass("et-block-layout-preview"),r="object"==typeof window.ET_Builder,s=!0===window.et_builder_utils_params?.condition?.diviTheme,_=!0===window.et_builder_utils_params?.condition?.extraTheme;window.et_load_event_fired=!1,window.et_is_transparent_nav=t("body").hasClass("et_transparent_nav"),window.et_is_vertical_nav=t("body").hasClass("et_vertical_nav"),window.et_is_fixed_nav=t("body").hasClass("et_fixed_nav"),window.et_is_minified_js=t("body").hasClass("et_minified_js"),window.et_is_minified_css=t("body").hasClass("et_minified_css"),window.et_force_width_container_change=!1,window.addEventListener("vb:preview-mode:toggled",(t=>{h(Boolean(t.detail?.isActive))})),a().fn.reverse=[].reverse;const d=()=>{const e=t(".et_audio_content .et_audio_container");0!==e.length&&setTimeout((()=>{"function"==typeof window.et_pb_init_audio_modules?window.et_pb_init_audio_modules():void 0!==a().fn.mediaelementplayer&&e.each((function(){const e=t(this);if(0===e.find(".mejs-container").length){const t=e.find("audio");if(t.length>0){const e=window._wpmejsSettings;e?t.mediaelementplayer(e):t.mediaelementplayer()}}}))}),100)};if(t(window).on("et_pb_init_modules",(function(){t((()=>{t(window).trigger("et_pb_before_init_modules");const n=t(".et_pb_filterable_portfolio"),s=t(".et_pb_fullwidth_portfolio"),_=t(".et_pb_gallery"),c=t(".et_pb_lightbox_image"),l=(t(".et_pb_circle_counter"),t(".et_pb_number_counter"),t("[data-background-layout][data-background-layout-hover]")),u=null!==navigator.userAgent.match(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/)||"standalone"in window.navigator&&!window.navigator.standalone,p=navigator.userAgent.match(/iPad/),h=null!==navigator.userAgent.match(/MSIE 9.0/),w=t(".et_pb_row"),b=window.et_pb_custom&&!window.et_pb_custom.is_builder_plugin_used?t("body"):w;let g=b.width(),m=!1;const v=t(".et_pb_image_sticky"),y=t(".et_pb_counter_amount"),x=window.et_pb_custom&&window.et_pb_custom.is_divi_theme_used?t("ul.nav"):t(".et_pb_fullwidth_menu ul.nav");const C=e()(window,"etCore.api.spam.recaptcha"),k=t(".mejs-container").length>0,j=t(".et_pb_fullscreen").length>0,O=t(".et_pb_grid_item").parent().get(),P=t(".et_pb_gutter_hover"),E=x;function S(e){let n="";if(e.length)if(e.each((function(){const e=t(this).attr("class").split("et_pb_column_")[1],i=(void 0!==e?e.split(" ",1)[0]:"4_4").replace("_","-").trim();n+=`_${i}`})),-1!==n.indexOf("1-4")||-1!==n.indexOf("1-5_1-5")||-1!==n.indexOf("1-6_1-6"))switch(n){case"_1-4_1-4_1-4_1-4":n="et_pb_row_4col";break;case"_1-5_1-5_1-5_1-5_1-5":n="et_pb_row_5col";break;case"_1-6_1-6_1-6_1-6_1-6_1-6":n="et_pb_row_6col";break;default:n=`et_pb_row${n}`}else n="";return n}function A(e){const n=t(e).closest("span.et-pb-background-video");return!!n.length&&"none"!==n.css("display")}function $(e){e.find("source").each((function(){const e=t(this).attr("data-src");e&&t(this).attr("src",e)}))}function B(e){if(r)return;const n=new Set;e.each((function(){const e=t(this).closest(".et_pb_preload");if(!e.length)return;const i=e[0];if(n.has(i))return;n.add(i);e.find("video").get().some((e=>A(t(e))))||e.removeClass("et_pb_preload")}))}P.length>0&&P.each((function(){const e=t(this),n=e.data("original_gutter"),i=e.data("hover_gutter");e.on("mouseenter",(()=>{e.removeClass(`et_pb_gutters${n}`),e.addClass(`et_pb_gutters${i}`)})).on("mouseleave",(()=>{e.removeClass(`et_pb_gutters${i}`),e.addClass(`et_pb_gutters${n}`)}))})),w.length&&w.each((function(){const e=t(this);let n="";e.hasClass("et_block_row")&&(n=S(e.find(">.et_pb_column")),""!==n&&e.addClass(n)),e.find(".et_pb_row_inner").length&&e.find(".et_pb_row_inner").each((function(){const e=t(this);e.hasClass("et_block_row")&&(n=S(e.find(".et_pb_column")),""!==n&&e.addClass(n))}));const i=e.parents(".et_pb_section.section_has_divider").length?6:4,o=isNaN(e.css("z-index"))||e.css("z-index")<i;e.find(".et_pb_module.et_pb_menu").length&&o&&e.css("z-index",i)})),window.et_pb_init_nav_menu(E),v.each((function(){window.et_pb_apply_sticky_image_effect(t(this))})),u&&(t(".et-pb-background-video").each((function(){const e=t(this);e.closest(".et_pb_preload").removeClass("et_pb_preload"),e.hasClass("opened")&&e.remove()})),t("body").addClass("et_mobile_device"),p||t("body").addClass("et_mobile_device_not_ipad")),h&&t("body").addClass("et_ie9"),"undefined"!=typeof diviElementBackgroundVideoData&&diviElementBackgroundVideoData.length>0&&t.each(diviElementBackgroundVideoData,((e,n)=>{const i=t(n.selector).find("video");i.length&&"et_pb_video_section_init"in window&&(i.each((function(){r?window.et_pb_video_section_init(t(this)):A(t(this))&&($(t(this)),window.et_pb_video_section_init(t(this)))})),B(i))})),k&&window.et_pb_init_audio_modules(),d(),!o&&(c.length>0||r)&&(c.off("click"),c.on("click"),window.et_pb_image_lightbox_init=function(t){if(!t.magnificPopup)return a()(window).on("load",(()=>{window.et_pb_image_lightbox_init(t)}));t.magnificPopup({type:"image",removalDelay:500,mainClass:"mfp-fade",zoom:{enabled:window.et_pb_custom&&!window.et_pb_custom.is_builder_plugin_used,duration:500,opener:t=>t.find("img")},autoFocusLast:!1,callbacks:{open:function(){this.currItem.el.addClass("et_pb_lightbox_image--open")},close:function(){this.currItem.el.removeClass("et_pb_lightbox_image--open")}}})},et_pb_image_lightbox_init(c)),(O.length||r)&&t(O).each((function(){window.et_pb_set_responsive_grid(t(this),".et_pb_grid_item")})),t(".et-pb-has-background-video").length&&(window._wpmejsSettings.pauseOtherPlayers=!1),y.length&&y.each((function(){window.et_bar_counters_init(t(this))})),l.each((function(){let e=t(this);const n=e.data("background-layout"),i=e.data("background-layout-hover"),o=e.data("background-layout-tablet"),a=e.data("background-layout-phone");let r,s;e.hasClass("et_pb_button_module_wrapper")?e=e.find("> .et_pb_button"):e.hasClass("et_pb_gallery")?(r=e.find(".et_pb_gallery_item"),e=e.add(r)):e.hasClass("et_pb_post_slider")?(r=e.find(".et_pb_slide"),e=e.add(r)):e.hasClass("et_pb_slide")&&(s=e.closest(".et_pb_slider"),e=e.add(s));let _="et_pb_bg_layout_light et_pb_bg_layout_dark et_pb_text_color_dark",d=`et_pb_bg_layout_${n}`,c=`et_pb_bg_layout_${i}`,l="light"===n?"et_pb_text_color_dark":"",u="light"===i?"et_pb_text_color_dark":"";o&&(_+=" et_pb_bg_layout_light_tablet et_pb_bg_layout_dark_tablet et_pb_text_color_dark_tablet",d+=` et_pb_bg_layout_${o}_tablet`,c+=` et_pb_bg_layout_${i}_tablet`,l+="light"===o?" et_pb_text_color_dark_tablet":"",u+="light"===i?" et_pb_text_color_dark_tablet":""),a&&(_+=" et_pb_bg_layout_light_phone et_pb_bg_layout_dark_phone et_pb_text_color_dark_phone",d+=` et_pb_bg_layout_${a}_phone`,c+=` et_pb_bg_layout_${i}_phone`,l+="light"===a?" et_pb_text_color_dark_phone":"",u+="light"===i?" et_pb_text_color_dark_phone":""),e.on("mouseenter",(()=>{e.removeClass(_),e.addClass(c),e.hasClass("et_pb_audio_module")&&""!==u&&e.addClass(u)})),e.on("mouseleave",(()=>{e.removeClass(_),e.addClass(d),e.hasClass("et_pb_audio_module")&&""!==l&&e.addClass(l)}))})),"diviModuleCircleCounterReinit"in window&&window.diviModuleCircleCounterReinit(),"diviModuleNumberCounterReinit"in window&&window.diviModuleNumberCounterReinit(),"diviModuleGroupCarouselReinit"in window&&window.diviModuleGroupCarouselReinit();const M=!r&&t(".et_pb_module.et_pb_recaptcha_enabled").length>0,z=document.body.innerHTML.match(/<script [^>]*src="[^"].*google.com\/recaptcha\/api.js\?.*render.*"[^>]*>([\s\S]*?)<\/script>/gim),D=t("#et-recaptcha-v3-js"),T=z&&z.length>D.length;function I(e,n){const i=e.parents(".et_pb_section").index(),o=t(".et_pb_section").length-1,a=e.parents(".et_pb_row").index(),r=e.parents(".et_pb_section").children().length-1;return i===o&&a===r?"bottom-in-view":n}function L(){""!==function(){const t=i.width();let e="desktop";t<=980&&t>767?e="tablet":t<=767&&(e="phone");return e}()&&"function"==typeof window.et_process_animation_data&&window.et_process_animation_data(!1)}let F;function R(){j&&(window.et_fix_fullscreen_section(),window.et_calculate_fullscreen_section_size()),setTimeout((()=>{t(".et_pb_preload").removeClass("et_pb_preload")}),500),window.HashChangeEvent&&(t(window).on("hashchange",(()=>{!function(e){if(!e.length)return;let n,i,o;if(-1!==e.indexOf("||",0)){n=e.split("||");for(let e=0;e<n.length;e++)i=n[e].split("|"),o=i[0],i.shift(),o.length&&t(`#${o}`).length&&t(`#${o}`).trigger({type:"et_hashchange",params:i})}else i=e.split("|"),o=i[0],i.shift(),o.length&&t(`#${o}`).length&&t(`#${o}`).trigger({type:"et_hashchange",params:i})}(window.location.hash.replace(/[^a-zA-Z0-9-_|]/g,""))})),t(window).trigger("hashchange")),"diviElementBackgroundParallaxInit"in window&&window.diviElementBackgroundParallaxInit(),window.et_reinit_waypoint_modules(),d(),t(".et_audio_content").length&&t(window).trigger("resize")}!r&&(T||M&&C&&C.isEnabled())&&t("body").addClass("et_pb_recaptcha_enabled"),"diviModuleContactFormInit"in window&&window.diviModuleContactFormInit(),"diviModuleSignupInit"in window&&window.diviModuleSignupInit(),window.et_reinit_waypoint_modules=et_pb_debounce((()=>{const e=t(".et_pb_circle_counter"),n=t(".et_pb_number_counter");if(t.fn.waypoint&&window.et_pb_custom&&"yes"!==window.et_pb_custom.ignore_waypoints&&!r){"function"==typeof window.et_process_animation_data&&window.et_process_animation_data(!0);t(".et-waypoint").each((function(){(0,f.waypointExtended)(t(this),{offset:I(t(this),"100%"),handler(){t(this.element).addClass("et-animated")}},2)})),e.length&&e.each((function(){const e=t(this).find(".et_pb_circle_counter_inner");!e.is(":visible")||"function"==typeof window.et_has_animation_data&&window.et_has_animation_data(e)||(0,f.waypointExtended)(e,{offset:I(t(this),"100%"),handler(){e.data("easyPieChartAnimating")||e.data("PieChartHasLoaded")||void 0===e.data("easyPieChart")||o||(e.data("easyPieChart").triggerAnimation(),e.data("PieChartHasLoaded",!0))}},2)})),n.length&&n.each((function(){const e=t(this);"function"==typeof window.et_has_animation_data&&window.et_has_animation_data(e)||(0,f.waypointExtended)(e,{offset:I(t(this),"100%"),handler(){e.data("easyPieChartAnimating")||e.data("PieChartHasLoaded")||void 0===e.data("easyPieChart")||(e.data("easyPieChart").triggerAnimation(),e.data("PieChartHasLoaded",!0))}})}))}else{"function"==typeof window.et_process_animation_data&&window.et_process_animation_data(!1);const n=r?"et-animated--vb":"et-animated";t(".et-waypoint").addClass(n),t(".et-waypoint").each((function(){window.et_animate_element(t(this))})),e.length&&e.each((function(){const e=t(this).find(".et_pb_circle_counter_inner");e.is(":visible")&&(e.data("easyPieChartAnimating")||e.data("PieChartHasLoaded")||void 0===e.data("easyPieChart")||(e.data("easyPieChart").triggerAnimation(),e.data("PieChartHasLoaded",!0)))}))}"undefined"!=typeof diviElementBackgroundVideoData&&diviElementBackgroundVideoData.length>0&&t.each(diviElementBackgroundVideoData,((e,n)=>{const i=t(n.selector).find("video");i.length&&"et_pb_video_background_init"in window&&i.each((function(){window.et_pb_video_background_init(t(this),this)}))}))}),100),t(window).on("resize",(()=>{const e=i.width(),o=b.css("width"),a=(void 0!==o?"%"!==o.substr(-1,1):"")?b.width():b.width()/100*e;window.containerWidthChanged=g!==a;const d=t(".et_pb_top_inside_divider, .et_pb_bottom_inside_divider");"undefined"!=typeof diviElementBackgroundVideoData&&diviElementBackgroundVideoData.length>0&&t.each(diviElementBackgroundVideoData,((e,n)=>{const i=t(n.selector).find("video");i.length&&"et_pb_resize_section_video_bg"in window&&i.each((function(){window.et_pb_resize_section_video_bg(t(this))})),i.length&&"et_pb_center_video"in window&&i.each((function(){window.et_pb_center_video(t(this))})),i.length&&"et_pb_video_section_init"in window&&!r&&(i.each((function(){const e=t(this),n=e.find("source[data-src]").length>0,i=e.find("source[src]").length>0;n&&!i&&A(e)&&($(e),window.et_pb_video_section_init(e))})),B(i))})),s.each((function(){const e=!!t(this).hasClass("et_pb_fullwidth_portfolio_carousel");window.set_fullwidth_portfolio_columns(t(this),e)})),(containerWidthChanged||window.et_force_width_container_change)&&(t(".container-width-change-notify").trigger("containerWidthChanged"),setTimeout((()=>{n.each((function(){window.set_filterable_grid_items(t(this))})),_.each((function(){t(this).hasClass("et_pb_gallery_grid")&&set_gallery_grid_items(t(this))}))}),100),g=a,m=!0,F&&clearTimeout(F),F=setTimeout((()=>{"diviModuleCircleCounterReinit"in window&&window.diviModuleCircleCounterReinit(),"diviModuleNumberCounterReinit"in window&&window.diviModuleNumberCounterReinit()}),500),window.et_force_width_container_change=!1),y.length&&y.each((function(){window.et_bar_counters_init(t(this))})),r&&L(),(O.length||r)&&t(O).each((function(){window.et_pb_set_responsive_grid(t(this),".et_pb_grid_item")})),!r&&d.length&&d.each((function(){etFixDividerSpacing(t(this))})),r||"function"!=typeof window.fitvids_slider_fullscreen_init||fitvids_slider_fullscreen_init()})),window.et_load_event_fired?R():t(window).on("load",(()=>{R()})),t(".et_section_specialty").length&&t(".et_section_specialty").each((function(){t(this).find(".et_pb_row").find(">.et_pb_column:not(.et_pb_specialty_column)").addClass("et_pb_column_single")}));const V=document.onreadystatechange||function(){};document.onreadystatechange=function(){"complete"===document.readyState&&window.et_fix_pricing_currency_position(),V()},"undefined"!=typeof diviElementBackgroundVideoData&&diviElementBackgroundVideoData.length>0&&t.each(diviElementBackgroundVideoData,((e,n)=>{const i=t(n.selector).find("video");i.length&&"et_pb_background_video_on_hover"in window&&i.each((function(){window.et_pb_background_video_on_hover(t(this))}))})),t(document).trigger("et_pb_after_init_modules")})),"diviModuleBlogGridInit"in window&&(window.et_load_event_fired?window.diviModuleBlogGridInit():t(window).on("load",(()=>{window.diviModuleBlogGridInit()})))})),window.et_pb_init_modules=function(){t(window).trigger("et_pb_init_modules")},window.et_pb_custom&&window.et_pb_custom.is_ab_testing_active&&"yes"===window.et_pb_custom.is_cache_plugin_active){t(window).on("load",(()=>{window.et_load_event_fired=!0}));let e=n.ab_tests.length;t.each(n.ab_tests,((i,o)=>{t.ajax({type:"POST",url:n.ajaxurl,dataType:"json",data:{action:"et_pb_ab_get_subject_id",et_frontend_nonce:n.et_frontend_nonce,et_pb_ab_test_id:o.post_id},success(n){if(n){const e=t(`.et_pb_subject_placeholder_id_${o.post_id}_${n.id}`);e.after(n.content),e.remove()}e-=1,e<=0&&(t(".et_pb_subject_placeholder").remove(),window.et_pb_init_modules(),t("body").trigger("et_pb_ab_subject_ready"))}})}))}else window.et_pb_init_modules();document.addEventListener("readystatechange",(()=>{"complete"===document.readyState&&(s||_)&&function(){if(window.et_location_hash=window.location.hash.replace(/[^a-zA-Z0-9-_#]/g,""),""===window.et_location_hash)return;let e;window.scrollTo(0,0);try{e=t(window.et_location_hash)}catch{e=t()}e.length&&("scrollRestoration"in history?history.scrollRestoration="manual":(window.et_location_hash_style=e.css("display"),e.css("display","none")))}()})),document.addEventListener("DOMContentLoaded",(()=>{t(".et_pb_top_inside_divider.et-no-transition, .et_pb_bottom_inside_divider.et-no-transition").removeClass("et-no-transition").each((function(){etFixDividerSpacing(t(this))})),setTimeout((()=>{(window.et_pb_box_shadow_elements||[]).map(et_pb_box_shadow_apply_overlay)}),0)})),t(window).on("load",(()=>{const e=t("body");if(window.et_load_event_fired=!0,e.hasClass("safari")){const n=e.css("display"),i="initial"===n?"block":"initial";if(e.css({display:i}),setTimeout((()=>{e.css({display:n})}),0),e.hasClass("woocommerce-page")&&e.hasClass("single-product")){const e=t(".woocommerce div.product div.images.woocommerce-product-gallery");if(0===e.length)return;const n=parseInt(e[0].style.opacity);if(!n)return;e.css({opacity:n-.09}),setTimeout((()=>{e.css({opacity:n})}),0)}}})),t((()=>{if(void 0===MutationObserver)return;const e=function(e){return e.filter((function(){return!t(this).is(":visible")})).length},n=t(".et_pb_section"),i=function(e){const n=void 0!==t.uniqueSort?t.uniqueSort:t.unique;let i=t([]);return e.each((function(){i=i.add(t(this).parents())})),n(i.get())}(n);let o=e(n);const a=new MutationObserver(window.et_pb_debounce((function(){const i=e(n);i<o&&t(window).trigger("resize"),o=i}),200));for(let t=0;t<i.length;t++)a.observe(i[t],{childList:!0,attributes:!0,attributeFilter:["class","style"],attributeOldValue:!1,characterData:!1,characterDataOldValue:!1,subtree:!1})}))}(a())}(),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryFrontendScripts=i}();