webpack-bootstrap-ui-kit/dist/js/app.js

3 lines
241 KiB
JavaScript

/*! For license information please see app.js.LICENSE.txt */
!function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/mnt/data/srv/dist/repositories/webpack-bootstrap-ui-kit/dist",n(n.s="./src/js/app.js")}({"./node_modules/@a2nt/meta-lightbox/src/js/meta-lightbox.js":function(t,e){function n(t){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(t,e,i){var o={effect:"fade",theme:"default",keyboardNav:!0,clickOverlayToClose:!0,onInit:function(){},beforeShowLightbox:function(){},afterShowLightbox:function(t){},beforeHideLightbox:function(){},afterHideLightbox:function(){},onPrev:function(t){},onNext:function(t){},errorMessage:"The requested content cannot be loaded. Please try again later."};function r(e,n){this.options=t.extend({},o,n),this._defaults=o,this._name="metaLightbox",this.init()}r.prototype={init:function(){var e=this,n=t("html");this.ajaxLoaded=!1,i.MetaLightbox=this,n.hasClass("meta-lightbox-notouch")||n.addClass("meta-lightbox-notouch"),"ontouchstart"in i&&n.removeClass("meta-lightbox-notouch"),t(i).on("click",'[data-toggle="lightbox"],[data-lightbox-gallery]',(function(t){return t.preventDefault(),t.stopPropagation(),e.showLightbox(this),!1})),this.options.keyboardNav&&t("body").off("keyup").on("keyup",(function(n){var i=n.keyCode?n.keyCode:n.which;27===i&&e.destructLightbox(),37===i&&t(".meta-lightbox-prev").trigger("click"),39===i&&t(".meta-lightbox-next").trigger("click")})),this.options.onInit.call(this)},showLightbox:function(e){this.el=e,this.$el=t(this.el);var n,i,o,r,s=this;this.options.beforeShowLightbox.call(this),(n=this.constructLightbox())&&(i=n.find(".meta-lightbox-content"))&&(o=this.$el,t("body").addClass("meta-lightbox-body-effect-".concat(this.options.effect)),this.processContent(i,o),this.$el.data("lightbox-gallery")&&(1===(r=t('[data-lightbox-gallery="'.concat(this.$el.data("lightbox-gallery"),'"]'))).length?t(".meta-lightbox-nav").hide():t(".meta-lightbox-nav").show(),t(".meta-lightbox-prev").off("click").on("click",(function(e){e.preventDefault();var n=r.index(o);o=r.eq(n-1),t(o).length||(o=r.last()),s.processContent(i,o),s.options.onPrev.call(this,[o])})),t(".meta-lightbox-next").off("click").on("click",(function(e){e.preventDefault();var n=r.index(o);o=r.eq(n+1),t(o).length||(o=r.first()),s.processContent(i,o),s.options.onNext.call(this,[o])}))),setTimeout((function(){n.addClass("meta-lightbox-open"),s.options.afterShowLightbox.call(this,[n])}),1))},processContent:function(o,r){var s,a,l,c,u,d,h=this;href=r.attr("href"),href||(href=r.data("href")),o.html("").addClass("meta-lightbox-loading"),this.isHidpi()&&r.data("lightbox-hidpi")&&(href=r.data("lightbox-hidpi")),null!=href.match(/\.(jpeg|jpg|gif|png)$/i)?((s=t("<img>",{src:href})).on("load",(function(){var n=t('<div class="meta-lightbox-image"></div>'),i=t(".meta-lightbox-content"),r=t('<span class="meta-lightbox-zoom-wrapper"></span>');r.append(s),n.append(r),n.css({"line-height":"".concat(i.height(),"px"),height:"".concat(i.height(),"px")}),t(e).resize((function(){n.css({"line-height":"".concat(i.height(),"px"),height:"".concat(i.height(),"px")})})),"undefined"!==typeof r.zoom&&r.zoom(),o.html(n).removeClass("meta-lightbox-loading"),h.contentLoaded()})),s.on("error",(function(){var e=t('<div class="meta-lightbox-error"><p>'.concat(h.options.errorMessage,"</p></div>"));o.html(e).removeClass("meta-lightbox-loading"),h.contentLoaded()})),r.data("title")?h.setTitle(r.data("title")):r.attr("title")?h.setTitle(r.attr("title")):t(".meta-lightbox-title-wrap").html(""),"function"===typeof ga&&ga("send","event","meta","Image Click",href)):(a=href.match(/(youtube|youtube-nocookie|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/))?(l="",c="meta-lightbox-video","youtube"==a[1]&&(l="https://www.youtube.com/embed/".concat(a[4]),c="meta-lightbox-youtube"),"youtu"==a[1]&&(l="https://www.youtube.com/embed/".concat(a[3]),c="meta-lightbox-youtube"),"youtube-nocookie"==a[1]&&(l="https://www.youtube-nocookie.com/embed/".concat(a[4]),c="nivo-lightbox-youtube"),"vimeo"==a[1]&&(l="https://player.vimeo.com/video/".concat(a[3]),c="meta-lightbox-vimeo"),l&&(u=t("<iframe>",{src:l,class:c,frameborder:0,vspace:0,hspace:0,scrolling:"auto"}),o.html(u),u.on("load",(function(){o.removeClass("meta-lightbox-loading"),h.contentLoaded()}))),r.data("title")?h.setTitle(r.data("title")):r.attr("title")?h.setTitle(r.attr("title")):t(".meta-lightbox-title-wrap").html(""),"function"===typeof ga&&ga("send","event","meta","Video Click",a)):"#"==href.substring(0,1)?(t(href).length?((d=t('<div class="meta-lightbox-inline" />')).append(t(href).clone().show()),d.outerHeight()<o.height()&&d.css({position:"relative",top:"50%","margin-top":"".concat(-d.outerHeight()/2,"px")}),t(e).resize((function(){d.outerHeight()<o.height()&&d.css({position:"relative",top:"50%","margin-top":"".concat(-d.outerHeight()/2,"px")})})),o.html(d).removeClass("meta-lightbox-loading"),h.contentLoaded()):(d=t('<div class="meta-lightbox-error"><p>'.concat(h.options.errorMessage,"</p></div>")),o.html(d).removeClass("meta-lightbox-loading"),h.contentLoaded()),t(".meta-lightbox-title-wrap").html(""),"function"===typeof ga&&ga("send","event","meta","inline HTML click",href)):t.ajax({sync:!1,async:!0,url:href,dataType:"html",method:"GET",cache:!1,statusCode:{404:function(){console.log("page not found"),e.location.href=url},302:function(){console.log("redirect 302"),e.location.href=url}},error:function(e){console.log("AJAX request failure.".concat(e.statusText));var n=t('<div class="meta-lightbox-error"><p>'.concat(h.options.errorMessage,"</p></div>"));o.html(n).removeClass("meta-lightbox-loading"),h.contentLoaded(),"function"===typeof ga&&ga("send","event","error","AJAX ERROR",e.statusText)},success:function(r,s,a){try{var l=t.parseJSON(r);if("object"===n(l)){if("object"===n(l.regions)&&"undefinded"!==typeof l.regions.LayoutAjax)(d=t('<div class="meta-lightbox-ajax" />')).html(l.regions.LayoutAjax),o.html(d).removeClass("meta-lightbox-loading");var c=a.getResponseHeader("X-Title"),u=a.getResponseHeader("X-Link");c&&c.length&&u&&u.length&&u!==e.location.href&&u.substring(0,u.indexOf("#"))!==e.location.href.replace(t("base").attr("href"),"/")&&(t(".meta-lightbox-ajax").data("curr-title",i.title),t(".meta-lightbox-ajax").data("curr-link",e.location.href),"undefined"!==typeof e.localStorage&&"/"!==u&&e.localStorage.setItem("current-page",u),i.URL!==u&&i.URL!==t("base").attr("href")+u&&i.URL!=="".concat(t("base").attr("href"),"/").concat(u)&&e.history.pushState({title:c,page:u,ajax:"true"},c,u),t(".meta-lightbox-title-wrap").html(""),"function"===typeof ga&&(ga("set",{page:u.replace(t("base").attr("href"),""),title:c}),ga("send","pageview")))}}catch(p){var d;(d=t('<div class="meta-lightbox-ajax" />')).append(r),o.html(d).removeClass("meta-lightbox-loading")}d.outerHeight()<o.height()&&d.css({position:"relative",top:"50%","margin-top":"".concat(-d.outerHeight()/2,"px")}),t(e).resize((function(){d.outerHeight()<o.height()&&d.css({position:"relative",top:"50%","margin-top":"".concat(-d.outerHeight()/2,"px")})})),setTimeout((function(){t(e).resize(),e.imagesLoaded().then((function(){t(e).resize()}))}),500),h.contentLoaded()}})},setTitle:function(e){var n=t("<div>",{class:"meta-lightbox-title"});n.text(e),t(".meta-lightbox-title-wrap").html(n)},contentLoaded:function(){setTimeout((function(){t(e).trigger("meta-lightbox-loaded")}),1),setTimeout((function(){t("body").addClass("meta-lightbox-body-effect-fade")}),600)},constructLightbox:function(){var e=this,n=t("<div>",{class:"meta-lightbox-overlay meta-lightbox-theme-".concat(this.options.theme," meta-lightbox-effect-").concat(this.options.effect)}),i=t("<div>",{class:"meta-lightbox-wrap"}),o=t("<div>",{class:"meta-lightbox-content"}),r=t('<a href="#" class="meta-lightbox-nav meta-lightbox-prev"><i class="fa fa-chevron-left"></i> <span class="sr-only">Previous</span></a><a href="#" class="meta-lightbox-nav meta-lightbox-next"><i class="fa fa-chevron-right"></i> <span class="sr-only">Next</span></a>'),s=t('<a href="#" class="meta-lightbox-close fa fa-times" title="Close"><span class="sr-only">Close</span></a>'),a=t("<div>",{class:"meta-lightbox-title-wrap"}),l=t(".meta-lightbox-overlay");return l.length?l:(i.append(o),i.append(a),n.append(i),n.append(r),n.append(s),t("body").append(n),e.options.clickOverlayToClose&&n.on("click",(function(n){var i=t(n.target);(i.hasClass("meta-lightbox-zoom-wrapper")||i.hasClass("meta-lightbox-content")||i.hasClass("meta-lightbox-wrap")||i.hasClass("meta-lightbox-image")||i.hasClass("meta-lightbox-overlay"))&&e.destructLightbox()})),s.on("click",(function(t){t.preventDefault(),e.destructLightbox()})),n)},destructLightbox:function(){var n=t(".meta-lightbox-overlay");this.options.beforeHideLightbox.call(this);var o=t(".meta-lightbox-ajax").data("curr-title"),r=t(".meta-lightbox-ajax").data("curr-link");o&&r&&("undefined"!==typeof e.localStorage&&"/"!==r&&e.localStorage.setItem("current-page",r),i.URL!==r&&i.URL!==t("base").attr("href")+r&&i.URL!=="".concat(t("base").attr("href"),"/").concat(r)&&e.history.replaceState({title:o,page:r,ajax:"true"},o,r)),n.removeClass("meta-lightbox-open"),t(".meta-lightbox-nav").hide(),t("body").removeClass("meta-lightbox-body-effect-".concat(this.options.effect)),t(".meta-lightbox-content .meta-lightbox-zoom-wrapper").trigger("zoom.destroy"),t(".meta-lightbox-prev").off("click"),t(".meta-lightbox-next").off("click"),t(".meta-lightbox-content").empty(),t("body").removeClass("meta-lightbox-body-effect-fade"),this.options.afterHideLightbox.call(this)},isHidpi:function(){return e.devicePixelRatio>1||e.matchMedia&&e.matchMedia("(-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5), (-o-min-device-pixel-ratio: 3/2), (min-resolution: 1.5dppx)").matches}},t.fn.metaLightbox=function(e){return this.each((function(){t.data(this,"metaLightbox")||t.data(this,"metaLightbox",new r(this,e))}))},t(i).metaLightbox()}(jQuery,this,document)},"./node_modules/@a2nt/meta-lightbox/src/scss/index.scss":function(t,e){},"./node_modules/bootstrap/js/dist/alert.js":function(t,e,n){var i,o,r,s;function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(t,e){"use strict";function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}t=t&&t.hasOwnProperty("default")?t.default:t,e=e&&e.hasOwnProperty("default")?e.default:e;var i="alert",o=t.fn[i],r={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},s="alert",a="fade",l="show",c=function(){function i(t){this._element=t}var o,c,u,d=i.prototype;return d.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},d.dispose=function(){t.removeData(this._element,"bs.alert"),this._element=null},d._getRootElement=function(n){var i=e.getSelectorFromElement(n),o=!1;return i&&(o=document.querySelector(i)),o||(o=t(n).closest("."+s)[0]),o},d._triggerCloseEvent=function(e){var n=t.Event(r.CLOSE);return t(e).trigger(n),n},d._removeElement=function(n){var i=this;if(t(n).removeClass(l),t(n).hasClass(a)){var o=e.getTransitionDurationFromElement(n);t(n).one(e.TRANSITION_END,(function(t){return i._destroyElement(n,t)})).emulateTransitionEnd(o)}else this._destroyElement(n)},d._destroyElement=function(e){t(e).detach().trigger(r.CLOSED).remove()},i._jQueryInterface=function(e){return this.each((function(){var n=t(this),o=n.data("bs.alert");o||(o=new i(this),n.data("bs.alert",o)),"close"===e&&o[e](this)}))},i._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},o=i,u=[{key:"VERSION",get:function(){return"4.4.1"}}],(c=null)&&n(o.prototype,c),u&&n(o,u),i}();return t(document).on(r.CLICK_DATA_API,'[data-dismiss="alert"]',c._handleDismiss(new c)),t.fn[i]=c._jQueryInterface,t.fn[i].Constructor=c,t.fn[i].noConflict=function(){return t.fn[i]=o,c._jQueryInterface},c},"object"===a(e)&&"undefined"!==typeof t?t.exports=s(n("jquery"),n("./node_modules/bootstrap/js/dist/util.js")):(o=[n("jquery"),n("./node_modules/bootstrap/js/dist/util.js")],void 0===(r="function"===typeof(i=s)?i.apply(e,o):i)||(t.exports=r))},"./node_modules/bootstrap/js/dist/button.js":function(t,e,n){var i,o,r,s;function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(t){"use strict";function e(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}t=t&&t.hasOwnProperty("default")?t.default:t;var n="button",i=t.fn[n],o="active",r="btn",s="focus",a='[data-toggle^="button"]',l='[data-toggle="buttons"]',c='[data-toggle="button"]',u='[data-toggle="buttons"] .btn',d='input:not([type="hidden"])',h=".active",p=".btn",f={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api",LOAD_DATA_API:"load.bs.button.data-api"},m=function(){function n(t){this._element=t}var i,r,s,a=n.prototype;return a.toggle=function(){var e=!0,n=!0,i=t(this._element).closest(l)[0];if(i){var r=this._element.querySelector(d);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(o))e=!1;else{var s=i.querySelector(h);s&&t(s).removeClass(o)}else"checkbox"===r.type?"LABEL"===this._element.tagName&&r.checked===this._element.classList.contains(o)&&(e=!1):e=!1;e&&(r.checked=!this._element.classList.contains(o),t(r).trigger("change")),r.focus(),n=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(o)),e&&t(this._element).toggleClass(o))},a.dispose=function(){t.removeData(this._element,"bs.button"),this._element=null},n._jQueryInterface=function(e){return this.each((function(){var i=t(this).data("bs.button");i||(i=new n(this),t(this).data("bs.button",i)),"toggle"===e&&i[e]()}))},i=n,s=[{key:"VERSION",get:function(){return"4.4.1"}}],(r=null)&&e(i.prototype,r),s&&e(i,s),n}();return t(document).on(f.CLICK_DATA_API,a,(function(e){var n=e.target;if(t(n).hasClass(r)||(n=t(n).closest(p)[0]),!n||n.hasAttribute("disabled")||n.classList.contains("disabled"))e.preventDefault();else{var i=n.querySelector(d);if(i&&(i.hasAttribute("disabled")||i.classList.contains("disabled")))return void e.preventDefault();m._jQueryInterface.call(t(n),"toggle")}})).on(f.FOCUS_BLUR_DATA_API,a,(function(e){var n=t(e.target).closest(p)[0];t(n).toggleClass(s,/^focus(in)?$/.test(e.type))})),t(window).on(f.LOAD_DATA_API,(function(){for(var t=[].slice.call(document.querySelectorAll(u)),e=0,n=t.length;e<n;e++){var i=t[e],r=i.querySelector(d);r.checked||r.hasAttribute("checked")?i.classList.add(o):i.classList.remove(o)}for(var s=0,a=(t=[].slice.call(document.querySelectorAll(c))).length;s<a;s++){var l=t[s];"true"===l.getAttribute("aria-pressed")?l.classList.add(o):l.classList.remove(o)}})),t.fn[n]=m._jQueryInterface,t.fn[n].Constructor=m,t.fn[n].noConflict=function(){return t.fn[n]=i,m._jQueryInterface},m},"object"===a(e)&&"undefined"!==typeof t?t.exports=s(n("jquery")):(o=[n("jquery")],void 0===(r="function"===typeof(i=s)?i.apply(e,o):i)||(t.exports=r))},"./node_modules/bootstrap/js/dist/carousel.js":function(t,e,n){var i,o,r,s;function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(t,e){"use strict";function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}t=t&&t.hasOwnProperty("default")?t.default:t,e=e&&e.hasOwnProperty("default")?e.default:e;var s="carousel",l="bs.carousel",c="."+l,u=t.fn[s],d={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},h={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},p="next",f="prev",m="left",g="right",v={SLIDE:"slide"+c,SLID:"slid"+c,KEYDOWN:"keydown"+c,MOUSEENTER:"mouseenter"+c,MOUSELEAVE:"mouseleave"+c,TOUCHSTART:"touchstart"+c,TOUCHMOVE:"touchmove"+c,TOUCHEND:"touchend"+c,POINTERDOWN:"pointerdown"+c,POINTERUP:"pointerup"+c,DRAG_START:"dragstart"+c,LOAD_DATA_API:"load"+c+".data-api",CLICK_DATA_API:"click"+c+".data-api"},y="carousel",b="active",_="slide",w="carousel-item-right",E="carousel-item-left",T="carousel-item-next",S="carousel-item-prev",C="pointer-event",O=".active",x=".active.carousel-item",A=".carousel-item",D=".carousel-item img",j=".carousel-item-next, .carousel-item-prev",I=".carousel-indicators",k="[data-slide], [data-slide-to]",L='[data-ride="carousel"]',P={TOUCH:"touch",PEN:"pen"},N=function(){function i(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(I),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var o,u,k,L=i.prototype;return L.next=function(){this._isSliding||this._slide(p)},L.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},L.prev=function(){this._isSliding||this._slide(f)},L.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(j)&&(e.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},L.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},L.to=function(e){var n=this;this._activeElement=this._element.querySelector(x);var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)t(this._element).one(v.SLID,(function(){return n.to(e)}));else{if(i===e)return this.pause(),void this.cycle();var o=e>i?p:f;this._slide(o,this._items[e])}},L.dispose=function(){t(this._element).off(c),t.removeData(this._element,l),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},L._getConfig=function(t){return t=r({},d,{},t),e.typeCheckConfig(s,t,h),t},L._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},L._addEventListeners=function(){var e=this;this._config.keyboard&&t(this._element).on(v.KEYDOWN,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&t(this._element).on(v.MOUSEENTER,(function(t){return e.pause(t)})).on(v.MOUSELEAVE,(function(t){return e.cycle(t)})),this._config.touch&&this._addTouchEventListeners()},L._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var n=function(t){e._pointerEvent&&P[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){e._pointerEvent&&P[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),500+e._config.interval))};t(this._element.querySelectorAll(D)).on(v.DRAG_START,(function(t){return t.preventDefault()})),this._pointerEvent?(t(this._element).on(v.POINTERDOWN,(function(t){return n(t)})),t(this._element).on(v.POINTERUP,(function(t){return i(t)})),this._element.classList.add(C)):(t(this._element).on(v.TOUCHSTART,(function(t){return n(t)})),t(this._element).on(v.TOUCHMOVE,(function(t){return function(t){t.originalEvent.touches&&t.originalEvent.touches.length>1?e.touchDeltaX=0:e.touchDeltaX=t.originalEvent.touches[0].clientX-e.touchStartX}(t)})),t(this._element).on(v.TOUCHEND,(function(t){return i(t)})))}},L._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},L._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(A)):[],this._items.indexOf(t)},L._getItemByDirection=function(t,e){var n=t===p,i=t===f,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===f?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},L._triggerSlideEvent=function(e,n){var i=this._getItemIndex(e),o=this._getItemIndex(this._element.querySelector(x)),r=t.Event(v.SLIDE,{relatedTarget:e,direction:n,from:o,to:i});return t(this._element).trigger(r),r},L._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(O));t(n).removeClass(b);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&t(i).addClass(b)}},L._slide=function(n,i){var o,r,s,a=this,l=this._element.querySelector(x),c=this._getItemIndex(l),u=i||l&&this._getItemByDirection(n,l),d=this._getItemIndex(u),h=Boolean(this._interval);if(n===p?(o=E,r=T,s=m):(o=w,r=S,s=g),u&&t(u).hasClass(b))this._isSliding=!1;else if(!this._triggerSlideEvent(u,s).isDefaultPrevented()&&l&&u){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(u);var f=t.Event(v.SLID,{relatedTarget:u,direction:s,from:c,to:d});if(t(this._element).hasClass(_)){t(u).addClass(r),e.reflow(u),t(l).addClass(o),t(u).addClass(o);var y=parseInt(u.getAttribute("data-interval"),10);y?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=y):this._config.interval=this._config.defaultInterval||this._config.interval;var C=e.getTransitionDurationFromElement(l);t(l).one(e.TRANSITION_END,(function(){t(u).removeClass(o+" "+r).addClass(b),t(l).removeClass(b+" "+r+" "+o),a._isSliding=!1,setTimeout((function(){return t(a._element).trigger(f)}),0)})).emulateTransitionEnd(C)}else t(l).removeClass(b),t(u).addClass(b),this._isSliding=!1,t(this._element).trigger(f);h&&this.cycle()}},i._jQueryInterface=function(e){return this.each((function(){var n=t(this).data(l),o=r({},d,{},t(this).data());"object"===a(e)&&(o=r({},o,{},e));var s="string"===typeof e?e:o.slide;if(n||(n=new i(this,o),t(this).data(l,n)),"number"===typeof e)n.to(e);else if("string"===typeof s){if("undefined"===typeof n[s])throw new TypeError('No method named "'+s+'"');n[s]()}else o.interval&&o.ride&&(n.pause(),n.cycle())}))},i._dataApiClickHandler=function(n){var o=e.getSelectorFromElement(this);if(o){var s=t(o)[0];if(s&&t(s).hasClass(y)){var a=r({},t(s).data(),{},t(this).data()),c=this.getAttribute("data-slide-to");c&&(a.interval=!1),i._jQueryInterface.call(t(s),a),c&&t(s).data(l).to(c),n.preventDefault()}}},o=i,k=[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return d}}],(u=null)&&n(o.prototype,u),k&&n(o,k),i}();return t(document).on(v.CLICK_DATA_API,k,N._dataApiClickHandler),t(window).on(v.LOAD_DATA_API,(function(){for(var e=[].slice.call(document.querySelectorAll(L)),n=0,i=e.length;n<i;n++){var o=t(e[n]);N._jQueryInterface.call(o,o.data())}})),t.fn[s]=N._jQueryInterface,t.fn[s].Constructor=N,t.fn[s].noConflict=function(){return t.fn[s]=u,N._jQueryInterface},N},"object"===a(e)&&"undefined"!==typeof t?t.exports=s(n("jquery"),n("./node_modules/bootstrap/js/dist/util.js")):(o=[n("jquery"),n("./node_modules/bootstrap/js/dist/util.js")],void 0===(r="function"===typeof(i=s)?i.apply(e,o):i)||(t.exports=r))},"./node_modules/bootstrap/js/dist/collapse.js":function(t,e,n){var i,o,r,s;function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(t,e){"use strict";function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}t=t&&t.hasOwnProperty("default")?t.default:t,e=e&&e.hasOwnProperty("default")?e.default:e;var s="collapse",l="bs.collapse",c=t.fn[s],u={toggle:!0,parent:""},d={toggle:"boolean",parent:"(string|element)"},h={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},p="show",f="collapse",m="collapsing",g="collapsed",v="width",y="height",b=".show, .collapsing",_='[data-toggle="collapse"]',w=function(){function i(t,n){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(n),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var i=[].slice.call(document.querySelectorAll(_)),o=0,r=i.length;o<r;o++){var s=i[o],a=e.getSelectorFromElement(s),l=[].slice.call(document.querySelectorAll(a)).filter((function(e){return e===t}));null!==a&&l.length>0&&(this._selector=a,this._triggerArray.push(s))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var o,c,w,E=i.prototype;return E.toggle=function(){t(this._element).hasClass(p)?this.hide():this.show()},E.show=function(){var n,o,r=this;if(!this._isTransitioning&&!t(this._element).hasClass(p)&&(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(b)).filter((function(t){return"string"===typeof r._config.parent?t.getAttribute("data-parent")===r._config.parent:t.classList.contains(f)}))).length&&(n=null),!(n&&(o=t(n).not(this._selector).data(l))&&o._isTransitioning))){var s=t.Event(h.SHOW);if(t(this._element).trigger(s),!s.isDefaultPrevented()){n&&(i._jQueryInterface.call(t(n).not(this._selector),"hide"),o||t(n).data(l,null));var a=this._getDimension();t(this._element).removeClass(f).addClass(m),this._element.style[a]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(g).attr("aria-expanded",!0),this.setTransitioning(!0);var c="scroll"+(a[0].toUpperCase()+a.slice(1)),u=e.getTransitionDurationFromElement(this._element);t(this._element).one(e.TRANSITION_END,(function(){t(r._element).removeClass(m).addClass(f).addClass(p),r._element.style[a]="",r.setTransitioning(!1),t(r._element).trigger(h.SHOWN)})).emulateTransitionEnd(u),this._element.style[a]=this._element[c]+"px"}}},E.hide=function(){var n=this;if(!this._isTransitioning&&t(this._element).hasClass(p)){var i=t.Event(h.HIDE);if(t(this._element).trigger(i),!i.isDefaultPrevented()){var o=this._getDimension();this._element.style[o]=this._element.getBoundingClientRect()[o]+"px",e.reflow(this._element),t(this._element).addClass(m).removeClass(f).removeClass(p);var r=this._triggerArray.length;if(r>0)for(var s=0;s<r;s++){var a=this._triggerArray[s],l=e.getSelectorFromElement(a);null!==l&&(t([].slice.call(document.querySelectorAll(l))).hasClass(p)||t(a).addClass(g).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[o]="";var c=e.getTransitionDurationFromElement(this._element);t(this._element).one(e.TRANSITION_END,(function(){n.setTransitioning(!1),t(n._element).removeClass(m).addClass(f).trigger(h.HIDDEN)})).emulateTransitionEnd(c)}}},E.setTransitioning=function(t){this._isTransitioning=t},E.dispose=function(){t.removeData(this._element,l),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},E._getConfig=function(t){return(t=r({},u,{},t)).toggle=Boolean(t.toggle),e.typeCheckConfig(s,t,d),t},E._getDimension=function(){return t(this._element).hasClass(v)?v:y},E._getParent=function(){var n,o=this;e.isElement(this._config.parent)?(n=this._config.parent,"undefined"!==typeof this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent);var r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',s=[].slice.call(n.querySelectorAll(r));return t(s).each((function(t,e){o._addAriaAndCollapsedClass(i._getTargetFromElement(e),[e])})),n},E._addAriaAndCollapsedClass=function(e,n){var i=t(e).hasClass(p);n.length&&t(n).toggleClass(g,!i).attr("aria-expanded",i)},i._getTargetFromElement=function(t){var n=e.getSelectorFromElement(t);return n?document.querySelector(n):null},i._jQueryInterface=function(e){return this.each((function(){var n=t(this),o=n.data(l),s=r({},u,{},n.data(),{},"object"===a(e)&&e?e:{});if(!o&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),o||(o=new i(this,s),n.data(l,o)),"string"===typeof e){if("undefined"===typeof o[e])throw new TypeError('No method named "'+e+'"');o[e]()}}))},o=i,w=[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return u}}],(c=null)&&n(o.prototype,c),w&&n(o,w),i}();return t(document).on(h.CLICK_DATA_API,_,(function(n){"A"===n.currentTarget.tagName&&n.preventDefault();var i=t(this),o=e.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(o));t(r).each((function(){var e=t(this),n=e.data(l)?"toggle":i.data();w._jQueryInterface.call(e,n)}))})),t.fn[s]=w._jQueryInterface,t.fn[s].Constructor=w,t.fn[s].noConflict=function(){return t.fn[s]=c,w._jQueryInterface},w},"object"===a(e)&&"undefined"!==typeof t?t.exports=s(n("jquery"),n("./node_modules/bootstrap/js/dist/util.js")):(o=[n("jquery"),n("./node_modules/bootstrap/js/dist/util.js")],void 0===(r="function"===typeof(i=s)?i.apply(e,o):i)||(t.exports=r))},"./node_modules/bootstrap/js/dist/modal.js":function(t,e,n){var i,o,r,s;function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(t,e){"use strict";function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}t=t&&t.hasOwnProperty("default")?t.default:t,e=e&&e.hasOwnProperty("default")?e.default:e;var s="modal",l=".bs.modal",c=t.fn[s],u={backdrop:!0,keyboard:!0,focus:!0,show:!0},d={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},h={HIDE:"hide"+l,HIDE_PREVENTED:"hidePrevented"+l,HIDDEN:"hidden"+l,SHOW:"show"+l,SHOWN:"shown"+l,FOCUSIN:"focusin"+l,RESIZE:"resize"+l,CLICK_DISMISS:"click.dismiss"+l,KEYDOWN_DISMISS:"keydown.dismiss"+l,MOUSEUP_DISMISS:"mouseup.dismiss"+l,MOUSEDOWN_DISMISS:"mousedown.dismiss"+l,CLICK_DATA_API:"click"+l+".data-api"},p="modal-dialog-scrollable",f="modal-scrollbar-measure",m="modal-backdrop",g="modal-open",v="fade",y="show",b="modal-static",_=".modal-dialog",w=".modal-body",E='[data-toggle="modal"]',T='[data-dismiss="modal"]',S=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",C=".sticky-top",O=function(){function i(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(_),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var o,c,E,O=i.prototype;return O.toggle=function(t){return this._isShown?this.hide():this.show(t)},O.show=function(e){var n=this;if(!this._isShown&&!this._isTransitioning){t(this._element).hasClass(v)&&(this._isTransitioning=!0);var i=t.Event(h.SHOW,{relatedTarget:e});t(this._element).trigger(i),this._isShown||i.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(h.CLICK_DISMISS,T,(function(t){return n.hide(t)})),t(this._dialog).on(h.MOUSEDOWN_DISMISS,(function(){t(n._element).one(h.MOUSEUP_DISMISS,(function(e){t(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return n._showElement(e)})))}},O.hide=function(n){var i=this;if(n&&n.preventDefault(),this._isShown&&!this._isTransitioning){var o=t.Event(h.HIDE);if(t(this._element).trigger(o),this._isShown&&!o.isDefaultPrevented()){this._isShown=!1;var r=t(this._element).hasClass(v);if(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(h.FOCUSIN),t(this._element).removeClass(y),t(this._element).off(h.CLICK_DISMISS),t(this._dialog).off(h.MOUSEDOWN_DISMISS),r){var s=e.getTransitionDurationFromElement(this._element);t(this._element).one(e.TRANSITION_END,(function(t){return i._hideModal(t)})).emulateTransitionEnd(s)}else this._hideModal()}}},O.dispose=function(){[window,this._element,this._dialog].forEach((function(e){return t(e).off(l)})),t(document).off(h.FOCUSIN),t.removeData(this._element,"bs.modal"),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},O.handleUpdate=function(){this._adjustDialog()},O._getConfig=function(t){return t=r({},u,{},t),e.typeCheckConfig(s,t,d),t},O._triggerBackdropTransition=function(){var n=this;if("static"===this._config.backdrop){var i=t.Event(h.HIDE_PREVENTED);if(t(this._element).trigger(i),i.defaultPrevented)return;this._element.classList.add(b);var o=e.getTransitionDurationFromElement(this._element);t(this._element).one(e.TRANSITION_END,(function(){n._element.classList.remove(b)})).emulateTransitionEnd(o),this._element.focus()}else this.hide()},O._showElement=function(n){var i=this,o=t(this._element).hasClass(v),r=this._dialog?this._dialog.querySelector(w):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),t(this._dialog).hasClass(p)&&r?r.scrollTop=0:this._element.scrollTop=0,o&&e.reflow(this._element),t(this._element).addClass(y),this._config.focus&&this._enforceFocus();var s=t.Event(h.SHOWN,{relatedTarget:n}),a=function(){i._config.focus&&i._element.focus(),i._isTransitioning=!1,t(i._element).trigger(s)};if(o){var l=e.getTransitionDurationFromElement(this._dialog);t(this._dialog).one(e.TRANSITION_END,a).emulateTransitionEnd(l)}else a()},O._enforceFocus=function(){var e=this;t(document).off(h.FOCUSIN).on(h.FOCUSIN,(function(n){document!==n.target&&e._element!==n.target&&0===t(e._element).has(n.target).length&&e._element.focus()}))},O._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(h.KEYDOWN_DISMISS,(function(t){27===t.which&&e._triggerBackdropTransition()})):this._isShown||t(this._element).off(h.KEYDOWN_DISMISS)},O._setResizeEvent=function(){var e=this;this._isShown?t(window).on(h.RESIZE,(function(t){return e.handleUpdate(t)})):t(window).off(h.RESIZE)},O._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop((function(){t(document.body).removeClass(g),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(h.HIDDEN)}))},O._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},O._showBackdrop=function(n){var i=this,o=t(this._element).hasClass(v)?v:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=m,o&&this._backdrop.classList.add(o),t(this._backdrop).appendTo(document.body),t(this._element).on(h.CLICK_DISMISS,(function(t){i._ignoreBackdropClick?i._ignoreBackdropClick=!1:t.target===t.currentTarget&&i._triggerBackdropTransition()})),o&&e.reflow(this._backdrop),t(this._backdrop).addClass(y),!n)return;if(!o)return void n();var r=e.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(e.TRANSITION_END,n).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(y);var s=function(){i._removeBackdrop(),n&&n()};if(t(this._element).hasClass(v)){var a=e.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(e.TRANSITION_END,s).emulateTransitionEnd(a)}else s()}else n&&n()},O._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},O._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},O._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},O._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var n=[].slice.call(document.querySelectorAll(S)),i=[].slice.call(document.querySelectorAll(C));t(n).each((function(n,i){var o=i.style.paddingRight,r=t(i).css("padding-right");t(i).data("padding-right",o).css("padding-right",parseFloat(r)+e._scrollbarWidth+"px")})),t(i).each((function(n,i){var o=i.style.marginRight,r=t(i).css("margin-right");t(i).data("margin-right",o).css("margin-right",parseFloat(r)-e._scrollbarWidth+"px")}));var o=document.body.style.paddingRight,r=t(document.body).css("padding-right");t(document.body).data("padding-right",o).css("padding-right",parseFloat(r)+this._scrollbarWidth+"px")}t(document.body).addClass(g)},O._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(S));t(e).each((function(e,n){var i=t(n).data("padding-right");t(n).removeData("padding-right"),n.style.paddingRight=i||""}));var n=[].slice.call(document.querySelectorAll(""+C));t(n).each((function(e,n){var i=t(n).data("margin-right");"undefined"!==typeof i&&t(n).css("margin-right",i).removeData("margin-right")}));var i=t(document.body).data("padding-right");t(document.body).removeData("padding-right"),document.body.style.paddingRight=i||""},O._getScrollbarWidth=function(){var t=document.createElement("div");t.className=f,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},i._jQueryInterface=function(e,n){return this.each((function(){var o=t(this).data("bs.modal"),s=r({},u,{},t(this).data(),{},"object"===a(e)&&e?e:{});if(o||(o=new i(this,s),t(this).data("bs.modal",o)),"string"===typeof e){if("undefined"===typeof o[e])throw new TypeError('No method named "'+e+'"');o[e](n)}else s.show&&o.show(n)}))},o=i,E=[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return u}}],(c=null)&&n(o.prototype,c),E&&n(o,E),i}();return t(document).on(h.CLICK_DATA_API,E,(function(n){var i,o=this,s=e.getSelectorFromElement(this);s&&(i=document.querySelector(s));var a=t(i).data("bs.modal")?"toggle":r({},t(i).data(),{},t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||n.preventDefault();var l=t(i).one(h.SHOW,(function(e){e.isDefaultPrevented()||l.one(h.HIDDEN,(function(){t(o).is(":visible")&&o.focus()}))}));O._jQueryInterface.call(t(i),a,this)})),t.fn[s]=O._jQueryInterface,t.fn[s].Constructor=O,t.fn[s].noConflict=function(){return t.fn[s]=c,O._jQueryInterface},O},"object"===a(e)&&"undefined"!==typeof t?t.exports=s(n("jquery"),n("./node_modules/bootstrap/js/dist/util.js")):(o=[n("jquery"),n("./node_modules/bootstrap/js/dist/util.js")],void 0===(r="function"===typeof(i=s)?i.apply(e,o):i)||(t.exports=r))},"./node_modules/bootstrap/js/dist/popover.js":function(t,e,n){var i,o,r,s;function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(t,e){"use strict";function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function r(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}t=t&&t.hasOwnProperty("default")?t.default:t,e=e&&e.hasOwnProperty("default")?e.default:e;var s="popover",l=".bs.popover",c=t.fn[s],u=new RegExp("(^|\\s)bs-popover\\S+","g"),d=r({},e.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),h=r({},e.DefaultType,{content:"(string|element|function)"}),p="fade",f="show",m=".popover-header",g=".popover-body",v={HIDE:"hide"+l,HIDDEN:"hidden"+l,SHOW:"show"+l,SHOWN:"shown"+l,INSERTED:"inserted"+l,CLICK:"click"+l,FOCUSIN:"focusin"+l,FOCUSOUT:"focusout"+l,MOUSEENTER:"mouseenter"+l,MOUSELEAVE:"mouseleave"+l},y=function(e){var i,o;function r(){return e.apply(this,arguments)||this}o=e,(i=r).prototype=Object.create(o.prototype),i.prototype.constructor=i,i.__proto__=o;var c,y,b,_=r.prototype;return _.isWithContent=function(){return this.getTitle()||this._getContent()},_.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-popover-"+e)},_.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},_.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(m),this.getTitle());var n=this._getContent();"function"===typeof n&&(n=n.call(this.element)),this.setElementContent(e.find(g),n),e.removeClass(p+" "+f)},_._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},_._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(u);null!==n&&n.length>0&&e.removeClass(n.join(""))},r._jQueryInterface=function(e){return this.each((function(){var n=t(this).data("bs.popover"),i="object"===a(e)?e:null;if((n||!/dispose|hide/.test(e))&&(n||(n=new r(this,i),t(this).data("bs.popover",n)),"string"===typeof e)){if("undefined"===typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},c=r,b=[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return d}},{key:"NAME",get:function(){return s}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return v}},{key:"EVENT_KEY",get:function(){return l}},{key:"DefaultType",get:function(){return h}}],(y=null)&&n(c.prototype,y),b&&n(c,b),r}(e);return t.fn[s]=y._jQueryInterface,t.fn[s].Constructor=y,t.fn[s].noConflict=function(){return t.fn[s]=c,y._jQueryInterface},y},"object"===a(e)&&"undefined"!==typeof t?t.exports=s(n("jquery"),n("./node_modules/bootstrap/js/dist/tooltip.js")):(o=[n("jquery"),n("./node_modules/bootstrap/js/dist/tooltip.js")],void 0===(r="function"===typeof(i=s)?i.apply(e,o):i)||(t.exports=r))},"./node_modules/bootstrap/js/dist/scrollspy.js":function(t,e,n){var i,o,r,s;function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(t,e){"use strict";function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}t=t&&t.hasOwnProperty("default")?t.default:t,e=e&&e.hasOwnProperty("default")?e.default:e;var r="scrollspy",s=t.fn[r],l={offset:10,method:"auto",target:""},c={offset:"number",method:"string",target:"(string|element)"},u={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},d="dropdown-item",h="active",p='[data-spy="scroll"]',f=".nav, .list-group",m=".nav-link",g=".nav-item",v=".list-group-item",y=".dropdown",b=".dropdown-item",_=".dropdown-toggle",w="offset",E="position",T=function(){function s(e,n){var i=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(n),this._selector=this._config.target+" "+m+","+this._config.target+" "+v+","+this._config.target+" "+b,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(u.SCROLL,(function(t){return i._process(t)})),this.refresh(),this._process()}var p,T,S,C=s.prototype;return C.refresh=function(){var n=this,i=this._scrollElement===this._scrollElement.window?w:E,o="auto"===this._config.method?i:this._config.method,r=o===E?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(n){var i,s=e.getSelectorFromElement(n);if(s&&(i=document.querySelector(s)),i){var a=i.getBoundingClientRect();if(a.width||a.height)return[t(i)[o]().top+r,s]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(t){n._offsets.push(t[0]),n._targets.push(t[1])}))},C.dispose=function(){t.removeData(this._element,"bs.scrollspy"),t(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},C._getConfig=function(n){if("string"!==typeof(n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},l,{},"object"===a(n)&&n?n:{})).target){var s=t(n.target).attr("id");s||(s=e.getUID(r),t(n.target).attr("id",s)),n.target="#"+s}return e.typeCheckConfig(r,n,c),n},C._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},C._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},C._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},C._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"===typeof this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}},C._activate=function(e){this._activeTarget=e,this._clear();var n=this._selector.split(",").map((function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'})),i=t([].slice.call(document.querySelectorAll(n.join(","))));i.hasClass(d)?(i.closest(y).find(_).addClass(h),i.addClass(h)):(i.addClass(h),i.parents(f).prev(m+", "+v).addClass(h),i.parents(f).prev(g).children(m).addClass(h)),t(this._scrollElement).trigger(u.ACTIVATE,{relatedTarget:e})},C._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(t){return t.classList.contains(h)})).forEach((function(t){return t.classList.remove(h)}))},s._jQueryInterface=function(e){return this.each((function(){var n=t(this).data("bs.scrollspy"),i="object"===a(e)&&e;if(n||(n=new s(this,i),t(this).data("bs.scrollspy",n)),"string"===typeof e){if("undefined"===typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},p=s,S=[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return l}}],(T=null)&&n(p.prototype,T),S&&n(p,S),s}();return t(window).on(u.LOAD_DATA_API,(function(){for(var e=[].slice.call(document.querySelectorAll(p)),n=e.length;n--;){var i=t(e[n]);T._jQueryInterface.call(i,i.data())}})),t.fn[r]=T._jQueryInterface,t.fn[r].Constructor=T,t.fn[r].noConflict=function(){return t.fn[r]=s,T._jQueryInterface},T},"object"===a(e)&&"undefined"!==typeof t?t.exports=s(n("jquery"),n("./node_modules/bootstrap/js/dist/util.js")):(o=[n("jquery"),n("./node_modules/bootstrap/js/dist/util.js")],void 0===(r="function"===typeof(i=s)?i.apply(e,o):i)||(t.exports=r))},"./node_modules/bootstrap/js/dist/tab.js":function(t,e,n){var i,o,r,s;function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(t,e){"use strict";function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}t=t&&t.hasOwnProperty("default")?t.default:t,e=e&&e.hasOwnProperty("default")?e.default:e;var i=t.fn.tab,o={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},r="dropdown-menu",s="active",a="disabled",l="fade",c="show",u=".dropdown",d=".nav, .list-group",h=".active",p="> li > .active",f='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',m=".dropdown-toggle",g="> .dropdown-menu .active",v=function(){function i(t){this._element=t}var f,v,y,b=i.prototype;return b.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(s)||t(this._element).hasClass(a))){var i,r,l=t(this._element).closest(d)[0],c=e.getSelectorFromElement(this._element);if(l){var u="UL"===l.nodeName||"OL"===l.nodeName?p:h;r=(r=t.makeArray(t(l).find(u)))[r.length-1]}var f=t.Event(o.HIDE,{relatedTarget:this._element}),m=t.Event(o.SHOW,{relatedTarget:r});if(r&&t(r).trigger(f),t(this._element).trigger(m),!m.isDefaultPrevented()&&!f.isDefaultPrevented()){c&&(i=document.querySelector(c)),this._activate(this._element,l);var g=function(){var e=t.Event(o.HIDDEN,{relatedTarget:n._element}),i=t.Event(o.SHOWN,{relatedTarget:r});t(r).trigger(e),t(n._element).trigger(i)};i?this._activate(i,i.parentNode,g):g()}}},b.dispose=function(){t.removeData(this._element,"bs.tab"),this._element=null},b._activate=function(n,i,o){var r=this,s=(!i||"UL"!==i.nodeName&&"OL"!==i.nodeName?t(i).children(h):t(i).find(p))[0],a=o&&s&&t(s).hasClass(l),u=function(){return r._transitionComplete(n,s,o)};if(s&&a){var d=e.getTransitionDurationFromElement(s);t(s).removeClass(c).one(e.TRANSITION_END,u).emulateTransitionEnd(d)}else u()},b._transitionComplete=function(n,i,o){if(i){t(i).removeClass(s);var a=t(i.parentNode).find(g)[0];a&&t(a).removeClass(s),"tab"===i.getAttribute("role")&&i.setAttribute("aria-selected",!1)}if(t(n).addClass(s),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!0),e.reflow(n),n.classList.contains(l)&&n.classList.add(c),n.parentNode&&t(n.parentNode).hasClass(r)){var d=t(n).closest(u)[0];if(d){var h=[].slice.call(d.querySelectorAll(m));t(h).addClass(s)}n.setAttribute("aria-expanded",!0)}o&&o()},i._jQueryInterface=function(e){return this.each((function(){var n=t(this),o=n.data("bs.tab");if(o||(o=new i(this),n.data("bs.tab",o)),"string"===typeof e){if("undefined"===typeof o[e])throw new TypeError('No method named "'+e+'"');o[e]()}}))},f=i,y=[{key:"VERSION",get:function(){return"4.4.1"}}],(v=null)&&n(f.prototype,v),y&&n(f,y),i}();return t(document).on(o.CLICK_DATA_API,f,(function(e){e.preventDefault(),v._jQueryInterface.call(t(this),"show")})),t.fn.tab=v._jQueryInterface,t.fn.tab.Constructor=v,t.fn.tab.noConflict=function(){return t.fn.tab=i,v._jQueryInterface},v},"object"===a(e)&&"undefined"!==typeof t?t.exports=s(n("jquery"),n("./node_modules/bootstrap/js/dist/util.js")):(o=[n("jquery"),n("./node_modules/bootstrap/js/dist/util.js")],void 0===(r="function"===typeof(i=s)?i.apply(e,o):i)||(t.exports=r))},"./node_modules/bootstrap/js/dist/tooltip.js":function(t,e,n){var i,o,r,s;function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(t,e,n){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}t=t&&t.hasOwnProperty("default")?t.default:t,e=e&&e.hasOwnProperty("default")?e.default:e,n=n&&n.hasOwnProperty("default")?n.default:n;var l=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],c={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},u=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,d=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function h(t,e,n){if(0===t.length)return t;if(n&&"function"===typeof n)return n(t);for(var i=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),r=[].slice.call(i.body.querySelectorAll("*")),s=function(t,n){var i=r[t],s=i.nodeName.toLowerCase();if(-1===o.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var a=[].slice.call(i.attributes),c=[].concat(e["*"]||[],e[s]||[]);a.forEach((function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===l.indexOf(n)||Boolean(t.nodeValue.match(u)||t.nodeValue.match(d));for(var i=e.filter((function(t){return t instanceof RegExp})),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1})(t,c)||i.removeAttribute(t.nodeName)}))},a=0,c=r.length;a<c;a++)s(a);return i.body.innerHTML}var p="tooltip",f=".bs.tooltip",m=t.fn[p],g=new RegExp("(^|\\s)bs-tooltip\\S+","g"),v=["sanitize","whiteList","sanitizeFn"],y={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},b={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},_={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:c,popperConfig:null},w="show",E="out",T={HIDE:"hide"+f,HIDDEN:"hidden"+f,SHOW:"show"+f,SHOWN:"shown"+f,INSERTED:"inserted"+f,CLICK:"click"+f,FOCUSIN:"focusin"+f,FOCUSOUT:"focusout"+f,MOUSEENTER:"mouseenter"+f,MOUSELEAVE:"mouseleave"+f},S="fade",C="show",O=".tooltip-inner",x=".arrow",A="hover",D="focus",j="click",I="manual",k=function(){function o(t,n){if("undefined"===typeof e)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(n),this.tip=null,this._setListeners()}var r,l,c,u=o.prototype;return u.enable=function(){this._isEnabled=!0},u.disable=function(){this._isEnabled=!1},u.toggleEnabled=function(){this._isEnabled=!this._isEnabled},u.toggle=function(e){if(this._isEnabled)if(e){var n=this.constructor.DATA_KEY,i=t(e.currentTarget).data(n);i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(t(this.getTipElement()).hasClass(C))return void this._leave(null,this);this._enter(null,this)}},u.dispose=function(){clearTimeout(this._timeout),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),t(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},u.show=function(){var i=this;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");var o=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(o);var r=n.findShadowRoot(this.element),s=t.contains(null!==r?r:this.element.ownerDocument.documentElement,this.element);if(o.isDefaultPrevented()||!s)return;var a=this.getTipElement(),l=n.getUID(this.constructor.NAME);a.setAttribute("id",l),this.element.setAttribute("aria-describedby",l),this.setContent(),this.config.animation&&t(a).addClass(S);var c="function"===typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,u=this._getAttachment(c);this.addAttachmentClass(u);var d=this._getContainer();t(a).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(a).appendTo(d),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new e(this.element,a,this._getPopperConfig(u)),t(a).addClass(C),"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop);var h=function(){i.config.animation&&i._fixTransition();var e=i._hoverState;i._hoverState=null,t(i.element).trigger(i.constructor.Event.SHOWN),e===E&&i._leave(null,i)};if(t(this.tip).hasClass(S)){var p=n.getTransitionDurationFromElement(this.tip);t(this.tip).one(n.TRANSITION_END,h).emulateTransitionEnd(p)}else h()}},u.hide=function(e){var i=this,o=this.getTipElement(),r=t.Event(this.constructor.Event.HIDE),s=function(){i._hoverState!==w&&o.parentNode&&o.parentNode.removeChild(o),i._cleanTipClass(),i.element.removeAttribute("aria-describedby"),t(i.element).trigger(i.constructor.Event.HIDDEN),null!==i._popper&&i._popper.destroy(),e&&e()};if(t(this.element).trigger(r),!r.isDefaultPrevented()){if(t(o).removeClass(C),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[j]=!1,this._activeTrigger[D]=!1,this._activeTrigger[A]=!1,t(this.tip).hasClass(S)){var a=n.getTransitionDurationFromElement(o);t(o).one(n.TRANSITION_END,s).emulateTransitionEnd(a)}else s();this._hoverState=""}},u.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},u.isWithContent=function(){return Boolean(this.getTitle())},u.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-tooltip-"+e)},u.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},u.setContent=function(){var e=this.getTipElement();this.setElementContent(t(e.querySelectorAll(O)),this.getTitle()),t(e).removeClass(S+" "+C)},u.setElementContent=function(e,n){"object"!==a(n)||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=h(n,this.config.whiteList,this.config.sanitizeFn)),e.html(n)):e.text(n):this.config.html?t(n).parent().is(e)||e.empty().append(n):e.text(t(n).text())},u.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"===typeof this.config.title?this.config.title.call(this.element):this.config.title),t},u._getPopperConfig=function(t){var e=this;return s({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:x},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},{},this.config.popperConfig)},u._getOffset=function(){var t=this,e={};return"function"===typeof this.config.offset?e.fn=function(e){return e.offsets=s({},e.offsets,{},t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},u._getContainer=function(){return!1===this.config.container?document.body:n.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},u._getAttachment=function(t){return b[t.toUpperCase()]},u._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(n){if("click"===n)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if(n!==I){var i=n===A?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,o=n===A?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(i,e.config.selector,(function(t){return e._enter(t)})).on(o,e.config.selector,(function(t){return e._leave(t)}))}})),this._hideModalHandler=function(){e.element&&e.hide()},t(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=s({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},u._fixTitle=function(){var t=a(this.element.getAttribute("data-original-title"));(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},u._enter=function(e,n){var i=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusin"===e.type?D:A]=!0),t(n.getTipElement()).hasClass(C)||n._hoverState===w?n._hoverState=w:(clearTimeout(n._timeout),n._hoverState=w,n.config.delay&&n.config.delay.show?n._timeout=setTimeout((function(){n._hoverState===w&&n.show()}),n.config.delay.show):n.show())},u._leave=function(e,n){var i=this.constructor.DATA_KEY;(n=n||t(e.currentTarget).data(i))||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),e&&(n._activeTrigger["focusout"===e.type?D:A]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=E,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout((function(){n._hoverState===E&&n.hide()}),n.config.delay.hide):n.hide())},u._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},u._getConfig=function(e){var i=t(this.element).data();return Object.keys(i).forEach((function(t){-1!==v.indexOf(t)&&delete i[t]})),"number"===typeof(e=s({},this.constructor.Default,{},i,{},"object"===a(e)&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"===typeof e.title&&(e.title=e.title.toString()),"number"===typeof e.content&&(e.content=e.content.toString()),n.typeCheckConfig(p,e,this.constructor.DefaultType),e.sanitize&&(e.template=h(e.template,e.whiteList,e.sanitizeFn)),e},u._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},u._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(g);null!==n&&n.length&&e.removeClass(n.join(""))},u._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},u._fixTransition=function(){var e=this.getTipElement(),n=this.config.animation;null===e.getAttribute("x-placement")&&(t(e).removeClass(S),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},o._jQueryInterface=function(e){return this.each((function(){var n=t(this).data("bs.tooltip"),i="object"===a(e)&&e;if((n||!/dispose|hide/.test(e))&&(n||(n=new o(this,i),t(this).data("bs.tooltip",n)),"string"===typeof e)){if("undefined"===typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},r=o,c=[{key:"VERSION",get:function(){return"4.4.1"}},{key:"Default",get:function(){return _}},{key:"NAME",get:function(){return p}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return T}},{key:"EVENT_KEY",get:function(){return f}},{key:"DefaultType",get:function(){return y}}],(l=null)&&i(r.prototype,l),c&&i(r,c),o}();return t.fn[p]=k._jQueryInterface,t.fn[p].Constructor=k,t.fn[p].noConflict=function(){return t.fn[p]=m,k._jQueryInterface},k},"object"===a(e)&&"undefined"!==typeof t?t.exports=s(n("jquery"),n("./node_modules/popper.js/dist/esm/popper.js"),n("./node_modules/bootstrap/js/dist/util.js")):(o=[n("jquery"),n("./node_modules/popper.js/dist/esm/popper.js"),n("./node_modules/bootstrap/js/dist/util.js")],void 0===(r="function"===typeof(i=s)?i.apply(e,o):i)||(t.exports=r))},"./node_modules/bootstrap/js/dist/util.js":function(t,e,n){var i,o,r,s;function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}s=function(t){"use strict";function e(e){var i=this,o=!1;return t(this).one(n.TRANSITION_END,(function(){o=!0})),setTimeout((function(){o||n.triggerTransitionEnd(i)}),e),this}t=t&&t.hasOwnProperty("default")?t.default:t;var n={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(i){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var n=t(e).css("transition-duration"),i=t(e).css("transition-delay"),o=parseFloat(n),r=parseFloat(i);return o||r?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger("transitionend")},supportsTransitionEnd:function(){return Boolean("transitionend")},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,i){for(var o in i)if(Object.prototype.hasOwnProperty.call(i,o)){var r=i[o],s=e[o],a=s&&n.isElement(s)?"element":(l=s,{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(r).test(a))throw new Error(t.toUpperCase()+': Option "'+o+'" provided type "'+a+'" but expected type "'+r+'".')}var l},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"===typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?n.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if("undefined"===typeof t)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};return n.jQueryDetection(),t.fn.emulateTransitionEnd=e,t.event.special[n.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}},n},"object"===a(e)&&"undefined"!==typeof t?t.exports=s(n("jquery")):(o=[n("jquery")],void 0===(r="function"===typeof(i=s)?i.apply(e,o):i)||(t.exports=r))},"./node_modules/font-awesome sync \\.(otf|eot|svg|ttf|woff|woff2)$":function(t,e){function n(t){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}n.keys=function(){return[]},n.resolve=n,t.exports=n,n.id="./node_modules/font-awesome sync \\.(otf|eot|svg|ttf|woff|woff2)$"},"./node_modules/hammerjs/hammer.js":function(t,e,n){var i;function o(t){return(o="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(r,s,a,l){"use strict";var c,u=["","webkit","Moz","MS","ms","o"],d=s.createElement("div"),h=Math.round,p=Math.abs,f=Date.now;function m(t,e,n){return setTimeout(E(t,n),e)}function g(t,e,n){return!!Array.isArray(t)&&(v(t,n[e],n),!0)}function v(t,e,n){var i;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(i=0;i<t.length;)e.call(n,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t)}function y(t,e,n){var i="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),t.apply(this,arguments)}}c="function"!==typeof Object.assign?function(t){if(void 0===t||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var i=arguments[n];if(void 0!==i&&null!==i)for(var o in i)i.hasOwnProperty(o)&&(e[o]=i[o])}return e}:Object.assign;var b=y((function(t,e,n){for(var i=Object.keys(e),o=0;o<i.length;)(!n||n&&void 0===t[i[o]])&&(t[i[o]]=e[i[o]]),o++;return t}),"extend","Use `assign`."),_=y((function(t,e){return b(t,e,!0)}),"merge","Use `assign`.");function w(t,e,n){var i,o=e.prototype;(i=t.prototype=Object.create(o)).constructor=t,i._super=o,n&&c(i,n)}function E(t,e){return function(){return t.apply(e,arguments)}}function T(t,e){return"function"==o(t)?t.apply(e&&e[0]||void 0,e):t}function S(t,e){return void 0===t?e:t}function C(t,e,n){v(D(e),(function(e){t.addEventListener(e,n,!1)}))}function O(t,e,n){v(D(e),(function(e){t.removeEventListener(e,n,!1)}))}function x(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function A(t,e){return t.indexOf(e)>-1}function D(t){return t.trim().split(/\s+/g)}function j(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function I(t){return Array.prototype.slice.call(t,0)}function k(t,e,n){for(var i=[],o=[],r=0;r<t.length;){var s=e?t[r][e]:t[r];j(o,s)<0&&i.push(t[r]),o[r]=s,r++}return n&&(i=e?i.sort((function(t,n){return t[e]>n[e]})):i.sort()),i}function L(t,e){for(var n,i,o=e[0].toUpperCase()+e.slice(1),r=0;r<u.length;){if((i=(n=u[r])?n+o:e)in t)return i;r++}}var P=1;function N(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||r}var $="ontouchstart"in r,R=void 0!==L(r,"PointerEvent"),M=$&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),H=["x","y"],U=["clientX","clientY"];function q(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){T(t.options.enable,[t])&&n.handler(e)},this.init()}function F(t,e,n){var i=n.pointers.length,o=n.changedPointers.length,r=1&e&&i-o===0,s=12&e&&i-o===0;n.isFirst=!!r,n.isFinal=!!s,r&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,o=i.length;n.firstInput||(n.firstInput=z(e));o>1&&!n.firstMultiple?n.firstMultiple=z(e):1===o&&(n.firstMultiple=!1);var r=n.firstInput,s=n.firstMultiple,a=s?s.center:r.center,l=e.center=W(i);e.timeStamp=f(),e.deltaTime=e.timeStamp-r.timeStamp,e.angle=Q(a,l),e.distance=V(a,l),function(t,e){var n=e.center,i=t.offsetDelta||{},o=t.prevDelta||{},r=t.prevInput||{};1!==e.eventType&&4!==r.eventType||(o=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y});e.deltaX=o.x+(n.x-i.x),e.deltaY=o.y+(n.y-i.y)}(n,e),e.offsetDirection=Y(e.deltaX,e.deltaY);var c=B(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=p(c.x)>p(c.y)?c.x:c.y,e.scale=s?(u=s.pointers,d=i,V(d[0],d[1],U)/V(u[0],u[1],U)):1,e.rotation=s?function(t,e){return Q(e[1],e[0],U)+Q(t[1],t[0],U)}(s.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,function(t,e){var n,i,o,r,s=t.lastInterval||e,a=e.timeStamp-s.timeStamp;if(8!=e.eventType&&(a>25||void 0===s.velocity)){var l=e.deltaX-s.deltaX,c=e.deltaY-s.deltaY,u=B(a,l,c);i=u.x,o=u.y,n=p(u.x)>p(u.y)?u.x:u.y,r=Y(l,c),t.lastInterval=e}else n=s.velocity,i=s.velocityX,o=s.velocityY,r=s.direction;e.velocity=n,e.velocityX=i,e.velocityY=o,e.direction=r}(n,e);var u,d;var h=t.element;x(e.srcEvent.target,h)&&(h=e.srcEvent.target);e.target=h}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function z(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:h(t.pointers[n].clientX),clientY:h(t.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:e,center:W(e),deltaX:t.deltaX,deltaY:t.deltaY}}function W(t){var e=t.length;if(1===e)return{x:h(t[0].clientX),y:h(t[0].clientY)};for(var n=0,i=0,o=0;o<e;)n+=t[o].clientX,i+=t[o].clientY,o++;return{x:h(n/e),y:h(i/e)}}function B(t,e,n){return{x:e/t||0,y:n/t||0}}function Y(t,e){return t===e?1:p(t)>=p(e)?t<0?2:4:e<0?8:16}function V(t,e,n){n||(n=H);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return Math.sqrt(i*i+o*o)}function Q(t,e,n){n||(n=H);var i=e[n[0]]-t[n[0]],o=e[n[1]]-t[n[1]];return 180*Math.atan2(o,i)/Math.PI}q.prototype={handler:function(){},init:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(N(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&O(this.element,this.evEl,this.domHandler),this.evTarget&&O(this.target,this.evTarget,this.domHandler),this.evWin&&O(N(this.element),this.evWin,this.domHandler)}};var G={mousedown:1,mousemove:2,mouseup:4};function X(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,q.apply(this,arguments)}w(X,q,{handler:function(t){var e=G[t.type];1&e&&0===t.button&&(this.pressed=!0),2&e&&1!==t.which&&(e=4),this.pressed&&(4&e&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var K={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},Z={2:"touch",3:"pen",4:"mouse",5:"kinect"},J="pointerdown",tt="pointermove pointerup pointercancel";function et(){this.evEl=J,this.evWin=tt,q.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(J="MSPointerDown",tt="MSPointerMove MSPointerUp MSPointerCancel"),w(et,q,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),o=K[i],r=Z[t.pointerType]||t.pointerType,s="touch"==r,a=j(e,t.pointerId,"pointerId");1&o&&(0===t.button||s)?a<0&&(e.push(t),a=e.length-1):12&o&&(n=!0),a<0||(e[a]=t,this.callback(this.manager,o,{pointers:e,changedPointers:[t],pointerType:r,srcEvent:t}),n&&e.splice(a,1))}});var nt={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function it(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,q.apply(this,arguments)}function ot(t,e){var n=I(t.touches),i=I(t.changedTouches);return 12&e&&(n=k(n.concat(i),"identifier",!0)),[n,i]}w(it,q,{handler:function(t){var e=nt[t.type];if(1===e&&(this.started=!0),this.started){var n=ot.call(this,t,e);12&e&&n[0].length-n[1].length===0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}}});var rt={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function st(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},q.apply(this,arguments)}function at(t,e){var n=I(t.touches),i=this.targetIds;if(3&e&&1===n.length)return i[n[0].identifier]=!0,[n,n];var o,r,s=I(t.changedTouches),a=[],l=this.target;if(r=n.filter((function(t){return x(t.target,l)})),1===e)for(o=0;o<r.length;)i[r[o].identifier]=!0,o++;for(o=0;o<s.length;)i[s[o].identifier]&&a.push(s[o]),12&e&&delete i[s[o].identifier],o++;return a.length?[k(r.concat(a),"identifier",!0),a]:void 0}w(st,q,{handler:function(t){var e=rt[t.type],n=at.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:t})}});function lt(){q.apply(this,arguments);var t=E(this.handler,this);this.touch=new st(this.manager,t),this.mouse=new X(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function ct(t,e){1&t?(this.primaryTouch=e.changedPointers[0].identifier,ut.call(this,e)):12&t&&ut.call(this,e)}function ut(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout((function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)}),2500)}}function dt(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var o=this.lastTouches[i],r=Math.abs(e-o.x),s=Math.abs(n-o.y);if(r<=25&&s<=25)return!0}return!1}w(lt,q,{handler:function(t,e,n){var i="touch"==n.pointerType,o="mouse"==n.pointerType;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)ct.call(this,e,n);else if(o&&dt.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ht=L(d.style,"touchAction"),pt=void 0!==ht,ft=function(){if(!pt)return!1;var t={},e=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){t[n]=!e||r.CSS.supports("touch-action",n)})),t}();function mt(t,e){this.manager=t,this.set(e)}mt.prototype={set:function(t){"compute"==t&&(t=this.compute()),pt&&this.manager.element.style&&ft[t]&&(this.manager.element.style[ht]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return v(this.manager.recognizers,(function(e){T(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))})),function(t){if(A(t,"none"))return"none";var e=A(t,"pan-x"),n=A(t,"pan-y");if(e&&n)return"none";if(e||n)return e?"pan-x":"pan-y";if(A(t,"manipulation"))return"manipulation";return"auto"}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var i=this.actions,o=A(i,"none")&&!ft.none,r=A(i,"pan-y")&&!ft["pan-y"],s=A(i,"pan-x")&&!ft["pan-x"];if(o){var a=1===t.pointers.length,l=t.distance<2,c=t.deltaTime<250;if(a&&l&&c)return}if(!s||!r)return o||r&&6&n||s&&24&n?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};function gt(t){this.options=c({},this.defaults,t||{}),this.id=P++,this.manager=null,this.options.enable=S(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function vt(t){return 16&t?"cancel":8&t?"end":4&t?"move":2&t?"start":""}function yt(t){return 16==t?"down":8==t?"up":2==t?"left":4==t?"right":""}function bt(t,e){var n=e.manager;return n?n.get(t):t}function _t(){gt.apply(this,arguments)}function wt(){_t.apply(this,arguments),this.pX=null,this.pY=null}function Et(){_t.apply(this,arguments)}function Tt(){gt.apply(this,arguments),this._timer=null,this._input=null}function St(){_t.apply(this,arguments)}function Ct(){_t.apply(this,arguments)}function Ot(){gt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function xt(t,e){return(e=e||{}).recognizers=S(e.recognizers,xt.defaults.preset),new At(t,e)}gt.prototype={defaults:{},set:function(t){return c(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(g(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=bt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return g(t,"dropRecognizeWith",this)||(t=bt(t,this),delete this.simultaneous[t.id]),this},requireFailure:function(t){if(g(t,"requireFailure",this))return this;var e=this.requireFail;return-1===j(e,t=bt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(g(t,"dropRequireFailure",this))return this;t=bt(t,this);var e=j(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,n=this.state;function i(n){e.manager.emit(n,t)}n<8&&i(e.options.event+vt(n)),i(e.options.event),t.additionalEvent&&i(t.additionalEvent),n>=8&&i(e.options.event+vt(n))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(33&this.requireFail[t].state))return!1;t++}return!0},recognize:function(t){var e=c({},t);if(!T(this.options.enable,[this,e]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(e),30&this.state&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},w(_t,gt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=6&e,o=this.attrTest(t);return i&&(8&n||!o)?16|e:i||o?4&n?8|e:2&e?4|e:2:32}}),w(wt,_t,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var t=this.options.direction,e=[];return 6&t&&e.push("pan-y"),24&t&&e.push("pan-x"),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,o=t.direction,r=t.deltaX,s=t.deltaY;return o&e.direction||(6&e.direction?(o=0===r?1:r<0?2:4,n=r!=this.pX,i=Math.abs(t.deltaX)):(o=0===s?1:s<0?8:16,n=s!=this.pY,i=Math.abs(t.deltaY))),t.direction=o,n&&i>e.threshold&&o&e.direction},attrTest:function(t){return _t.prototype.attrTest.call(this,t)&&(2&this.state||!(2&this.state)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=yt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),w(Et,_t,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||2&this.state)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),w(Tt,gt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!i||!n||12&t.eventType&&!o)this.reset();else if(1&t.eventType)this.reset(),this._timer=m((function(){this.state=8,this.tryEmit()}),e.time,this);else if(4&t.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){8===this.state&&(t&&4&t.eventType?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),w(St,_t,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||2&this.state)}}),w(Ct,_t,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return wt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return 30&n?e=t.overallVelocity:6&n?e=t.overallVelocityX:24&n&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&p(e)>this.options.velocity&&4&t.eventType},emit:function(t){var e=yt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),w(Ot,gt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),1&t.eventType&&0===this.count)return this.failTimeout();if(i&&o&&n){if(4!=t.eventType)return this.failTimeout();var r=!this.pTime||t.timeStamp-this.pTime<e.interval,s=!this.pCenter||V(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,s&&r?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=m((function(){this.state=8,this.tryEmit()}),e.interval,this),2):8}return 32},failTimeout:function(){return this._timer=m((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),xt.VERSION="2.0.7",xt.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[St,{enable:!1}],[Et,{enable:!1},["rotate"]],[Ct,{direction:6}],[wt,{direction:6},["swipe"]],[Ot],[Ot,{event:"doubletap",taps:2},["tap"]],[Tt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function At(t,e){var n;this.options=c({},xt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=new((n=this).options.inputClass||(R?et:M?st:$?lt:X))(n,F),this.touchAction=new mt(this,this.options.touchAction),Dt(this,!0),v(this.options.recognizers,(function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])}),this)}function Dt(t,e){var n,i=t.element;i.style&&(v(t.options.cssProps,(function(o,r){n=L(i.style,r),e?(t.oldCssProps[n]=i.style[n],i.style[n]=o):i.style[n]=t.oldCssProps[n]||""})),e||(t.oldCssProps={}))}At.prototype={set:function(t){return c(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var n;this.touchAction.preventDefaults(t);var i=this.recognizers,o=e.curRecognizer;(!o||o&&8&o.state)&&(o=e.curRecognizer=null);for(var r=0;r<i.length;)n=i[r],2===e.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(t),!o&&14&n.state&&(o=e.curRecognizer=n),r++}},get:function(t){if(t instanceof gt)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(g(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(g(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=j(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(void 0!==t&&void 0!==e){var n=this.handlers;return v(D(t),(function(t){n[t]=n[t]||[],n[t].push(e)})),this}},off:function(t,e){if(void 0!==t){var n=this.handlers;return v(D(t),(function(t){e?n[t]&&n[t].splice(j(n[t],e),1):delete n[t]})),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var n=s.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=e,e.target.dispatchEvent(n)}(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&Dt(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(xt,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:At,Input:q,TouchAction:mt,TouchInput:st,MouseInput:X,PointerEventInput:et,TouchMouseInput:lt,SingleTouchInput:it,Recognizer:gt,AttrRecognizer:_t,Tap:Ot,Pan:wt,Swipe:Ct,Pinch:Et,Rotate:St,Press:Tt,on:C,off:O,each:v,merge:_,extend:b,assign:c,inherit:w,bindFn:E,prefixed:L}),("undefined"!==typeof r?r:"undefined"!==typeof self?self:{}).Hammer=xt,void 0===(i=function(){return xt}.call(e,n,e,t))||(t.exports=i)}(window,document)},"./node_modules/jquery-hammerjs/jquery.hammer.js":function(t,e,n){var i,o,r;o=[n("jquery"),n("./node_modules/hammerjs/hammer.js")],void 0===(r="function"===typeof(i=function(t,e){var n;t.fn.hammer=function(n){return this.each((function(){!function(n,i){var o=t(n);o.data("hammer")||o.data("hammer",new e(o[0],i))}(this,n)}))},e.Manager.prototype.emit=(n=e.Manager.prototype.emit,function(e,i){n.call(this,e,i),t(this.element).trigger({type:e,gesture:i})})})?i.apply(e,o):i)||(t.exports=r)},"./node_modules/jquery-hoverintent/jquery.hoverIntent.js":function(t,e,n){var i,o,r;!function(s){"use strict";o=[n("jquery")],void 0===(r="function"===typeof(i=function(t){var e,n,i={interval:100,sensitivity:6,timeout:0},o=0,r=function(t){e=t.pageX,n=t.pageY};t.fn.hoverIntent=function(s,a,l){var c=o++,u=t.extend({},i);t.isPlainObject(s)?(u=t.extend(u,s),t.isFunction(u.out)||(u.out=u.over)):u=t.isFunction(a)?t.extend(u,{over:s,out:a,selector:l}):t.extend(u,{over:s,out:s,selector:a});var d=function(i){var o=t.extend({},i),s=t(this),a=s.data("hoverIntent");a||s.data("hoverIntent",a={});var l=a[c];l||(a[c]=l={id:c}),l.timeoutId&&(l.timeoutId=clearTimeout(l.timeoutId));var d=l.event="mousemove.hoverIntent.hoverIntent"+c;if("mouseenter"===i.type){if(l.isActive)return;l.pX=o.pageX,l.pY=o.pageY,s.off(d,r).on(d,r),l.timeoutId=setTimeout((function(){!function t(i,o,s,a){if(Math.sqrt((s.pX-e)*(s.pX-e)+(s.pY-n)*(s.pY-n))<a.sensitivity)return o.off(s.event,r),delete s.timeoutId,s.isActive=!0,i.pageX=e,i.pageY=n,delete s.pX,delete s.pY,a.over.apply(o[0],[i]);s.pX=e,s.pY=n,s.timeoutId=setTimeout((function(){t(i,o,s,a)}),a.interval)}(o,s,l,u)}),u.interval)}else{if(!l.isActive)return;s.off(d,r),l.timeoutId=setTimeout((function(){!function(t,e,n,i){var o=e.data("hoverIntent");o&&delete o[n.id],i.apply(e[0],[t])}(o,s,l,u.out)}),u.timeout)}};return this.on({"mouseenter.hoverIntent":d,"mouseleave.hoverIntent":d},u.selector)}})?i.apply(e,o):i)||(t.exports=r)}()},"./node_modules/popper.js/dist/esm/popper.js":function(t,e,n){"use strict";n.r(e),function(t){var n="undefined"!==typeof window&&"undefined"!==typeof document&&"undefined"!==typeof navigator,i=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&navigator.userAgent.indexOf(t[e])>=0)return 1;return 0}();var o=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),i))}};function r(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function a(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=s(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:l(a(t))}function c(t){return t&&t.referenceNode?t.referenceNode:t}var u=n&&!(!window.MSInputMethodContext||!document.documentMode),d=n&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?u:10===t?d:u||d}function p(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?p(n):n:t?t.ownerDocument.documentElement:document.documentElement}function f(t){return null!==t.parentNode?f(t.parentNode):t}function m(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&p(s.firstElementChild)!==s?p(l):l;var c=f(t);return c.host?m(c.host,e):m(t,f(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[n]}return t[n]}function v(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=g(e,"top"),o=g(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function y(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+i+"Width"])}function b(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function _(t){var e=t.body,n=t.documentElement,i=h(10)&&getComputedStyle(n);return{height:b("Height",e,n,i),width:b("Width",e,n,i)}}var w=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},E=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),T=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},S=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function C(t){return S({},t,{right:t.left+t.width,bottom:t.top+t.height})}function O(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var n=g(t,"top"),i=g(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(p){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?_(t.ownerDocument):{},a=r.width||t.clientWidth||o.width,l=r.height||t.clientHeight||o.height,c=t.offsetWidth-a,u=t.offsetHeight-l;if(c||u){var d=s(t);c-=y(d,"x"),u-=y(d,"y"),o.width-=c,o.height-=u}return C(o)}function x(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=h(10),o="HTML"===e.nodeName,r=O(t),a=O(e),c=l(t),u=s(e),d=parseFloat(u.borderTopWidth),p=parseFloat(u.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=C({top:r.top-a.top-d,left:r.left-a.left-p,width:r.width,height:r.height});if(f.marginTop=0,f.marginLeft=0,!i&&o){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);f.top-=d-m,f.bottom-=d-m,f.left-=p-g,f.right-=p-g,f.marginTop=m,f.marginLeft=g}return(i&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(f=v(f,e)),f}function A(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=x(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:g(n),a=e?0:g(n,"left"),l={top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:r};return C(l)}function D(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===s(t,"position"))return!0;var n=a(t);return!!n&&D(n)}function j(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===s(e,"transform");)e=e.parentElement;return e||document.documentElement}function I(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?j(t):m(t,c(e));if("viewport"===i)r=A(s,o);else{var u=void 0;"scrollParent"===i?"BODY"===(u=l(a(e))).nodeName&&(u=t.ownerDocument.documentElement):u="window"===i?t.ownerDocument.documentElement:i;var d=x(u,s,o);if("HTML"!==u.nodeName||D(s))r=d;else{var h=_(t.ownerDocument),p=h.height,f=h.width;r.top+=d.top-d.marginTop,r.bottom=p+d.top,r.left+=d.left-d.marginLeft,r.right=f+d.left}}var g="number"===typeof(n=n||0);return r.left+=g?n:n.left||0,r.top+=g?n:n.top||0,r.right-=g?n:n.right||0,r.bottom-=g?n:n.bottom||0,r}function k(t){return t.width*t.height}function L(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=I(n,i,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return S({key:t},a[t],{area:k(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=t.split("-")[1];return u+(d?"-"+d:"")}function P(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=i?j(e):m(e,c(n));return x(n,o,i)}function N(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function $(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function R(t,e,n){n=n.split("-")[0];var i=N(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[$(a)],o}function M(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function H(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var i=M(t,(function(t){return t[e]===n}));return t.indexOf(i)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&r(n)&&(e.offsets.popper=C(e.offsets.popper),e.offsets.reference=C(e.offsets.reference),e=n(e,t))})),e}function U(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=P(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=L(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=R(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=H(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function q(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function F(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var o=e[i],r=o?""+o+n:t;if("undefined"!==typeof document.body.style[r])return r}return null}function z(){return this.state.isDestroyed=!0,q(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[F("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function W(t){var e=t.ownerDocument;return e?e.defaultView:window}function B(t,e,n,i){n.updateBound=i,W(t).addEventListener("resize",n.updateBound,{passive:!0});var o=l(t);return function t(e,n,i,o){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(n,i,{passive:!0}),r||t(l(s.parentNode),n,i,o),o.push(s)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Y(){this.state.eventsEnabled||(this.state=B(this.reference,this.options,this.state,this.scheduleUpdate))}function V(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,W(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function Q(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function G(t,e){Object.keys(e).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Q(e[n])&&(i="px"),t.style[n]=e[n]+i}))}var X=n&&/Firefox/i.test(navigator.userAgent);function K(t,e,n){var i=M(t,(function(t){return t.name===e})),o=!!i&&t.some((function(t){return t.name===n&&t.enabled&&t.order<i.order}));if(!o){var r="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var Z=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],J=Z.slice(3);function tt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=J.indexOf(t),i=J.slice(n+1).concat(J.slice(0,n));return e?i.reverse():i}var et="flip",nt="clockwise",it="counterclockwise";function ot(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(M(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,i){var o=(1===i?!r:r)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return C(a)[e]/100*r}if("vh"===s||"vw"===s){return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}(t,o,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,i){Q(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))}))})),o}var rt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",u={start:T({},l,r[l]),end:T({},l,r[l]+r[c]-s[c])};t.offsets.popper=S({},s,u[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=i.split("-")[0],l=void 0;return l=Q(+n)?[+n,0]:ot(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||p(t.instance.popper);t.instance.reference===n&&(n=p(n));var i=F("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[i];o.top="",o.left="",o[i]="";var l=I(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=r,o.left=s,o[i]=a,e.boundaries=l;var c=e.priority,u=t.offsets.popper,d={primary:function(t){var n=u[t];return u[t]<l[t]&&!e.escapeWithReference&&(n=Math.max(u[t],l[t])),T({},t,n)},secondary:function(t){var n="right"===t?"left":"top",i=u[n];return u[t]>l[t]&&!e.escapeWithReference&&(i=Math.min(u[n],l[t]-("right"===t?u.width:u.height))),T({},n,i)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";u=S({},u,d[e](t))})),t.offsets.popper=u,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(i[l])&&(t.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!K(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"===typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,a=r.popper,l=r.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",h=d.toLowerCase(),p=c?"left":"top",f=c?"bottom":"right",m=N(i)[u];l[f]-m<a[h]&&(t.offsets.popper[h]-=a[h]-(l[f]-m)),l[h]+m>a[f]&&(t.offsets.popper[h]+=l[h]+m-a[f]),t.offsets.popper=C(t.offsets.popper);var g=l[h]+l[u]/2-m/2,v=s(t.instance.popper),y=parseFloat(v["margin"+d]),b=parseFloat(v["border"+d+"Width"]),_=g-t.offsets.popper[h]-y-b;return _=Math.max(Math.min(a[u]-m,_),0),t.arrowElement=i,t.offsets.arrow=(T(n={},h,Math.round(_)),T(n,p,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(q(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=I(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=$(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case et:s=[i,o];break;case nt:s=tt(i);break;case it:s=tt(i,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],o=$(i);var c=t.offsets.popper,u=t.offsets.reference,d=Math.floor,h="left"===i&&d(c.right)>d(u.left)||"right"===i&&d(c.left)<d(u.right)||"top"===i&&d(c.bottom)>d(u.top)||"bottom"===i&&d(c.top)<d(u.bottom),p=d(c.left)<d(n.left),f=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===i&&p||"right"===i&&f||"top"===i&&m||"bottom"===i&&g,y=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(y&&"start"===r&&p||y&&"end"===r&&f||!y&&"start"===r&&m||!y&&"end"===r&&g),_=!!e.flipVariationsByContent&&(y&&"start"===r&&f||y&&"end"===r&&p||!y&&"start"===r&&g||!y&&"end"===r&&m),w=b||_;(h||v||w)&&(t.flipped=!0,(h||v)&&(i=s[l+1]),w&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=S({},t.offsets.popper,R(t.instance.popper,t.offsets.reference,t.placement)),t=H(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=$(e),t.offsets.popper=C(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!K(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=M(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,o=t.offsets.popper,r=M(t.instance.modifiers,(function(t){return"applyStyle"===t.name})).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s=void 0!==r?r:e.gpuAcceleration,a=p(t.instance.popper),l=O(a),c={position:o.position},u=function(t,e){var n=t.offsets,i=n.popper,o=n.reference,r=Math.round,s=Math.floor,a=function(t){return t},l=r(o.width),c=r(i.width),u=-1!==["left","right"].indexOf(t.placement),d=-1!==t.placement.indexOf("-"),h=e?u||d||l%2===c%2?r:s:a,p=e?r:a;return{left:h(l%2===1&&c%2===1&&!d&&e?i.left-1:i.left),top:p(i.top),bottom:p(i.bottom),right:h(i.right)}}(t,window.devicePixelRatio<2||!X),d="bottom"===n?"top":"bottom",h="right"===i?"left":"right",f=F("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===a.nodeName?-a.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===h?"HTML"===a.nodeName?-a.clientWidth+u.right:-l.width+u.right:u.left,s&&f)c[f]="translate3d("+m+"px, "+g+"px, 0)",c[d]=0,c[h]=0,c.willChange="transform";else{var v="bottom"===d?-1:1,y="right"===h?-1:1;c[d]=g*v,c[h]=m*y,c.willChange=d+", "+h}var b={"x-placement":t.placement};return t.attributes=S({},b,t.attributes),t.styles=S({},c,t.styles),t.arrowStyles=S({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return G(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach((function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)})),t.arrowElement&&Object.keys(t.arrowStyles).length&&G(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var r=P(o,e,t,n.positionFixed),s=L(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),G(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},st=function(){function t(e,n){var i=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};w(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=o(this.update.bind(this)),this.options=S({},t.Defaults,s),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},t.Defaults.modifiers,s.modifiers)).forEach((function(e){i.options.modifiers[e]=S({},t.Defaults.modifiers[e]||{},s.modifiers?s.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return S({name:t},i.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&r(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)})),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return E(t,[{key:"update",value:function(){return U.call(this)}},{key:"destroy",value:function(){return z.call(this)}},{key:"enableEventListeners",value:function(){return Y.call(this)}},{key:"disableEventListeners",value:function(){return V.call(this)}}]),t}();st.Utils=("undefined"!==typeof window?window:t).PopperUtils,st.placements=Z,st.Defaults=rt,e.default=st}.call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/select2/dist/js/select2.js":function(t,e,n){var i,o,r;function s(t){return(s="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}o=[n("jquery")],void 0===(r="function"===typeof(i=function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;return function(){var t,n,i;e&&e.requirejs||(e?n=e:e={},function(e){var o,r,a,l,c={},u={},d={},h={},p=Object.prototype.hasOwnProperty,f=[].slice,m=/\.js$/;function g(t,e){return p.call(t,e)}function v(t,e){var n,i,o,r,s,a,l,c,u,h,p,f=e&&e.split("/"),g=d.map,v=g&&g["*"]||{};if(t){for(s=(t=t.split("/")).length-1,d.nodeIdCompat&&m.test(t[s])&&(t[s]=t[s].replace(m,"")),"."===t[0].charAt(0)&&f&&(t=f.slice(0,f.length-1).concat(t)),u=0;u<t.length;u++)if("."===(p=t[u]))t.splice(u,1),u-=1;else if(".."===p){if(0===u||1===u&&".."===t[2]||".."===t[u-1])continue;u>0&&(t.splice(u-1,2),u-=2)}t=t.join("/")}if((f||v)&&g){for(u=(n=t.split("/")).length;u>0;u-=1){if(i=n.slice(0,u).join("/"),f)for(h=f.length;h>0;h-=1)if((o=g[f.slice(0,h).join("/")])&&(o=o[i])){r=o,a=u;break}if(r)break;!l&&v&&v[i]&&(l=v[i],c=u)}!r&&l&&(r=l,a=c),r&&(n.splice(0,a,r),t=n.join("/"))}return t}function y(t,e){return function(){var n=f.call(arguments,0);return"string"!==typeof n[0]&&1===n.length&&n.push(null),r.apply(void 0,n.concat([t,e]))}}function b(t){return function(e){c[t]=e}}function _(t){if(g(u,t)){var e=u[t];delete u[t],h[t]=!0,o.apply(void 0,e)}if(!g(c,t)&&!g(h,t))throw new Error("No "+t);return c[t]}function w(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function E(t){return t?w(t):[]}function T(t){return function(){return d&&d.config&&d.config[t]||{}}}a=function(t,e){var n,i,o=w(t),r=o[0],s=e[1];return t=o[1],r&&(n=_(r=v(r,s))),r?t=n&&n.normalize?n.normalize(t,(i=s,function(t){return v(t,i)})):v(t,s):(r=(o=w(t=v(t,s)))[0],t=o[1],r&&(n=_(r))),{f:r?r+"!"+t:t,n:t,pr:r,p:n}},l={require:function(t){return y(t)},exports:function(t){var e=c[t];return"undefined"!==typeof e?e:c[t]={}},module:function(t){return{id:t,uri:"",exports:c[t],config:T(t)}}},o=function(t,e,n,i){var o,r,d,p,f,m,v,w=[],T=s(n);if(m=E(i=i||t),"undefined"===T||"function"===T){for(e=!e.length&&n.length?["require","exports","module"]:e,f=0;f<e.length;f+=1)if("require"===(r=(p=a(e[f],m)).f))w[f]=l.require(t);else if("exports"===r)w[f]=l.exports(t),v=!0;else if("module"===r)o=w[f]=l.module(t);else if(g(c,r)||g(u,r)||g(h,r))w[f]=_(r);else{if(!p.p)throw new Error(t+" missing "+r);p.p.load(p.n,y(i,!0),b(r),{}),w[f]=c[r]}d=n?n.apply(c[t],w):void 0,t&&(o&&void 0!==o.exports&&o.exports!==c[t]?c[t]=o.exports:void 0===d&&v||(c[t]=d))}else t&&(c[t]=n)},t=n=r=function(t,e,n,i,s){if("string"===typeof t)return l[t]?l[t](e):_(a(t,E(e)).f);if(!t.splice){if((d=t).deps&&r(d.deps,d.callback),!e)return;e.splice?(t=e,e=n,n=null):t=void 0}return e=e||function(){},"function"===typeof n&&(n=i,i=s),i?o(void 0,t,e,n):setTimeout((function(){o(void 0,t,e,n)}),4),r},r.config=function(t){return r(t)},t._defined=c,(i=function(t,e,n){if("string"!==typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(n=e,e=[]),g(c,t)||g(u,t)||(u[t]=[t,e,n])}).amd={jQuery:!0}}(),e.requirejs=t,e.require=n,e.define=i)}(),e.define("almond",(function(){})),e.define("jquery",[],(function(){var e=t||$;return null==e&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),e})),e.define("select2/utils",["jquery"],(function(t){var e={};function n(t){var e=t.prototype,n=[];for(var i in e)"function"===typeof e[i]&&"constructor"!==i&&n.push(i);return n}e.Extend=function(t,e){var n={}.hasOwnProperty;function i(){this.constructor=t}for(var o in e)n.call(e,o)&&(t[o]=e[o]);return i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype,t},e.Decorate=function(t,e){var i=n(e),o=n(t);function r(){var n=Array.prototype.unshift,i=e.prototype.constructor.length,o=t.prototype.constructor;i>0&&(n.call(arguments,t.prototype.constructor),o=e.prototype.constructor),o.apply(this,arguments)}e.displayName=t.displayName,r.prototype=new function(){this.constructor=r};for(var s=0;s<o.length;s++){var a=o[s];r.prototype[a]=t.prototype[a]}for(var l=function(t){var n=function(){};t in r.prototype&&(n=r.prototype[t]);var i=e.prototype[t];return function(){var t=Array.prototype.unshift;return t.call(arguments,n),i.apply(this,arguments)}},c=0;c<i.length;c++){var u=i[c];r.prototype[u]=l(u)}return r};var i=function(){this.listeners={}};i.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},i.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=t,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].apply(this,e)},e.Observable=i,e.generateChars=function(t){for(var e="",n=0;n<t;n++)e+=Math.floor(36*Math.random()).toString(36);return e},e.bind=function(t,e){return function(){t.apply(e,arguments)}},e._convertData=function(t){for(var e in t){var n=e.split("-"),i=t;if(1!==n.length){for(var o=0;o<n.length;o++){var r=n[o];(r=r.substring(0,1).toLowerCase()+r.substring(1))in i||(i[r]={}),o==n.length-1&&(i[r]=t[e]),i=i[r]}delete t[e]}}return t},e.hasScroll=function(e,n){var i=t(n),o=n.style.overflowX,r=n.style.overflowY;return(o!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===o||"scroll"===r||i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth)},e.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!==typeof t?t:String(t).replace(/[&<>"'\/\\]/g,(function(t){return e[t]}))},e.appendMany=function(e,n){if("1.7"===t.fn.jquery.substr(0,3)){var i=t();t.map(n,(function(t){i=i.add(t)})),n=i}e.append(n)},e.__cache={};var o=0;return e.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++o),e=o.toString())),e},e.StoreData=function(t,n,i){var o=e.GetUniqueElementId(t);e.__cache[o]||(e.__cache[o]={}),e.__cache[o][n]=i},e.GetData=function(n,i){var o=e.GetUniqueElementId(n);return i?e.__cache[o]&&null!=e.__cache[o][i]?e.__cache[o][i]:t(n).data(i):e.__cache[o]},e.RemoveData=function(t){var n=e.GetUniqueElementId(t);null!=e.__cache[n]&&delete e.__cache[n],t.removeAttribute("data-select2-id")},e})),e.define("select2/results",["jquery","./utils"],(function(t,e){function n(t,e,i){this.$element=t,this.data=i,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=t('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),o=this.options.get("translations").get(e.message);i.append(n(o(e.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var i=t.results[n],o=this.option(i);e.push(o)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current((function(i){var o=t.map(i,(function(t){return t.id.toString()}));n.$results.find(".select2-results__option[aria-selected]").each((function(){var n=t(this),i=e.GetData(this,"data"),r=""+i.id;null!=i.element&&i.element.selected||null==i.element&&t.inArray(r,o)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")}))}))},n.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},n=this.option(e);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var i=document.createElement("li");i.className="select2-results__option";var o={role:"option","aria-selected":"false"},r=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var s in(null!=n.element&&r.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete o["aria-selected"],o["aria-disabled"]="true"),null==n.id&&delete o["aria-selected"],null!=n._resultId&&(i.id=n._resultId),n.title&&(i.title=n.title),n.children&&(o.role="group",o["aria-label"]=n.text,delete o["aria-selected"]),o){var a=o[s];i.setAttribute(s,a)}if(n.children){var l=t(i),c=document.createElement("strong");c.className="select2-results__group",t(c),this.template(n,c);for(var u=[],d=0;d<n.children.length;d++){var h=n.children[d],p=this.option(h);u.push(p)}var f=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});f.append(u),l.append(c),l.append(f)}else this.template(n,i);return e.StoreData(i,"data",n),i},n.prototype.bind=function(n,i){var o=this,r=n.id+"-results";this.$results.attr("id",r),n.on("results:all",(function(t){o.clear(),o.append(t.data),n.isOpen()&&(o.setClasses(),o.highlightFirstItem())})),n.on("results:append",(function(t){o.append(t.data),n.isOpen()&&o.setClasses()})),n.on("query",(function(t){o.hideMessages(),o.showLoading(t)})),n.on("select",(function(){n.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())})),n.on("unselect",(function(){n.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())})),n.on("open",(function(){o.$results.attr("aria-expanded","true"),o.$results.attr("aria-hidden","false"),o.setClasses(),o.ensureHighlightVisible()})),n.on("close",(function(){o.$results.attr("aria-expanded","false"),o.$results.attr("aria-hidden","true"),o.$results.removeAttr("aria-activedescendant")})),n.on("results:toggle",(function(){var t=o.getHighlightedResults();0!==t.length&&t.trigger("mouseup")})),n.on("results:select",(function(){var t=o.getHighlightedResults();if(0!==t.length){var n=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?o.trigger("close",{}):o.trigger("select",{data:n})}})),n.on("results:previous",(function(){var t=o.getHighlightedResults(),e=o.$results.find("[aria-selected]"),n=e.index(t);if(!(n<=0)){var i=n-1;0===t.length&&(i=0);var r=e.eq(i);r.trigger("mouseenter");var s=o.$results.offset().top,a=r.offset().top,l=o.$results.scrollTop()+(a-s);0===i?o.$results.scrollTop(0):a-s<0&&o.$results.scrollTop(l)}})),n.on("results:next",(function(){var t=o.getHighlightedResults(),e=o.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var i=e.eq(n);i.trigger("mouseenter");var r=o.$results.offset().top+o.$results.outerHeight(!1),s=i.offset().top+i.outerHeight(!1),a=o.$results.scrollTop()+s-r;0===n?o.$results.scrollTop(0):s>r&&o.$results.scrollTop(a)}})),n.on("results:focus",(function(t){t.element.addClass("select2-results__option--highlighted")})),n.on("results:message",(function(t){o.displayMessage(t)})),t.fn.mousewheel&&this.$results.on("mousewheel",(function(t){var e=o.$results.scrollTop(),n=o.$results.get(0).scrollHeight-e+t.deltaY,i=t.deltaY>0&&e-t.deltaY<=0,r=t.deltaY<0&&n<=o.$results.height();i?(o.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):r&&(o.$results.scrollTop(o.$results.get(0).scrollHeight-o.$results.height()),t.preventDefault(),t.stopPropagation())})),this.$results.on("mouseup",".select2-results__option[aria-selected]",(function(n){var i=t(this),r=e.GetData(this,"data");"true"!==i.attr("aria-selected")?o.trigger("select",{originalEvent:n,data:r}):o.options.get("multiple")?o.trigger("unselect",{originalEvent:n,data:r}):o.trigger("close",{})})),this.$results.on("mouseenter",".select2-results__option[aria-selected]",(function(n){var i=e.GetData(this,"data");o.getHighlightedResults().removeClass("select2-results__option--highlighted"),o.trigger("results:focus",{data:i,element:t(this)})}))},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),n=this.$results.offset().top,i=t.offset().top,o=this.$results.scrollTop()+(i-n),r=i-n;o-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(r>this.$results.outerHeight()||r<0)&&this.$results.scrollTop(o)}},n.prototype.template=function(e,n){var i=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),r=i(e,n);null==r?n.style.display="none":"string"===typeof r?n.innerHTML=o(r):t(n).append(r)},n})),e.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),e.define("select2/selection/base",["jquery","../utils","../keys"],(function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,e.Observable),i.prototype.render=function(){var n=t('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=e.GetData(this.$element[0],"old-tabindex")?this._tabindex=e.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},i.prototype.bind=function(t,e){var i=this,o=t.id+"-results";this.container=t,this.$selection.on("focus",(function(t){i.trigger("focus",t)})),this.$selection.on("blur",(function(t){i._handleBlur(t)})),this.$selection.on("keydown",(function(t){i.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()})),t.on("results:focus",(function(t){i.$selection.attr("aria-activedescendant",t.data._resultId)})),t.on("selection:update",(function(t){i.update(t.data)})),t.on("open",(function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",o),i._attachCloseHandler(t)})),t.on("close",(function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.trigger("focus"),i._detachCloseHandler(t)})),t.on("enable",(function(){i.$selection.attr("tabindex",i._tabindex),i.$selection.attr("aria-disabled","false")})),t.on("disable",(function(){i.$selection.attr("tabindex","-1"),i.$selection.attr("aria-disabled","true")}))},i.prototype._handleBlur=function(e){var n=this;window.setTimeout((function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)}),1)},i.prototype._attachCloseHandler=function(n){t(document.body).on("mousedown.select2."+n.id,(function(n){var i=t(n.target).closest(".select2");t(".select2.select2-container--open").each((function(){this!=i[0]&&e.GetData(this,"element").select2("close")}))}))},i.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},i.prototype.position=function(t,e){e.find(".selection").append(t)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i})),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(t,e,n,i){function o(){o.__super__.constructor.apply(this,arguments)}return n.Extend(o,e),o.prototype.render=function(){var t=o.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},o.prototype.bind=function(t,e){var n=this;o.__super__.bind.apply(this,arguments);var i=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",(function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})})),this.$selection.on("focus",(function(t){})),this.$selection.on("blur",(function(t){})),t.on("focus",(function(e){t.isOpen()||n.$selection.trigger("focus")}))},o.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},o.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},o.prototype.selectionContainer=function(){return t("<span></span>")},o.prototype.update=function(t){if(0!==t.length){var e=t[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(e,n);n.empty().append(i);var o=e.title||e.text;o?n.attr("title",o):n.removeAttr("title")}else this.clear()},o})),e.define("select2/selection/multiple",["jquery","./base","../utils"],(function(t,e,n){function i(t,e){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},i.prototype.bind=function(e,o){var r=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",(function(t){r.trigger("toggle",{originalEvent:t})})),this.$selection.on("click",".select2-selection__choice__remove",(function(e){if(!r.isDisabled()){var i=t(this).parent(),o=n.GetData(i[0],"data");r.trigger("unselect",{originalEvent:e,data:o})}}))},i.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},i.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],i=0;i<t.length;i++){var o=t[i],r=this.selectionContainer(),s=this.display(o,r);r.append(s);var a=o.title||o.text;a&&r.attr("title",a),n.StoreData(r[0],"data",o),e.push(r)}var l=this.$selection.find(".select2-selection__rendered");n.appendMany(l,e)}},i})),e.define("select2/selection/placeholder",["../utils"],(function(t){function e(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return e.prototype.normalizePlaceholder=function(t,e){return"string"===typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();return n.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||n)return t.call(this,e);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},e})),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(t,e,n){function i(){}return i.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(t){i._handleClear(t)})),e.on("keypress",(function(t){i._handleKeyboardClear(t,e)}))},i.prototype._handleClear=function(t,e){if(!this.isDisabled()){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();var o=n.GetData(i[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var s={data:o};if(this.trigger("clear",s),s.prevented)this.$element.val(r);else{for(var a=0;a<o.length;a++)if(s={data:o[a]},this.trigger("unselect",s),s.prevented)return void this.$element.val(r);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},i.prototype._handleKeyboardClear=function(t,n,i){i.isOpen()||n.which!=e.DELETE&&n.which!=e.BACKSPACE||this._handleClear(n)},i.prototype.update=function(e,i){if(e.call(this,i),!(this.$selection.find(".select2-selection__placeholder").length>0||0===i.length)){var o=this.options.get("translations").get("removeAllItems"),r=t('<span class="select2-selection__clear" title="'+o()+'">&times;</span>');n.StoreData(r[0],"data",i),this.$selection.find(".select2-selection__rendered").prepend(r)}},i})),e.define("select2/selection/search",["jquery","../utils","../keys"],(function(t,e,n){function i(t,e,n){t.call(this,e,n)}return i.prototype.render=function(e){var n=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var i=e.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(t,i,o){var r=this,s=i.id+"-results";t.call(this,i,o),i.on("open",(function(){r.$search.attr("aria-controls",s),r.$search.trigger("focus")})),i.on("close",(function(){r.$search.val(""),r.$search.removeAttr("aria-controls"),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")})),i.on("enable",(function(){r.$search.prop("disabled",!1),r._transferTabIndex()})),i.on("disable",(function(){r.$search.prop("disabled",!0)})),i.on("focus",(function(t){r.$search.trigger("focus")})),i.on("results:focus",(function(t){t.data._resultId?r.$search.attr("aria-activedescendant",t.data._resultId):r.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(t){r.trigger("focus",t)})),this.$selection.on("focusout",".select2-search--inline",(function(t){r._handleBlur(t)})),this.$selection.on("keydown",".select2-search--inline",(function(t){if(t.stopPropagation(),r.trigger("keypress",t),r._keyUpPrevented=t.isDefaultPrevented(),t.which===n.BACKSPACE&&""===r.$search.val()){var i=r.$searchContainer.prev(".select2-selection__choice");if(i.length>0){var o=e.GetData(i[0],"data");r.searchRemoveChoice(o),t.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(t){r.$search.val()&&t.stopPropagation()}));var a=document.documentMode,l=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(t){l?r.$selection.off("input.search input.searchcheck"):r.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(t){if(l&&"input"===t.type)r.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=n.SHIFT&&e!=n.CTRL&&e!=n.ALT&&e!=n.TAB&&r.handleSearch(t)}}))},i.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},i.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",t)},i})),e.define("select2/selection/eventRelay",["jquery"],(function(t){function e(){}return e.prototype.bind=function(e,n,i){var o=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];e.call(this,n,i),n.on("*",(function(e,n){if(-1!==t.inArray(e,r)){n=n||{};var i=t.Event("select2:"+e,{params:n});o.$element.trigger(i),-1!==t.inArray(e,s)&&(n.prevented=i.isDefaultPrevented())}}))},e})),e.define("select2/translation",["jquery","require"],(function(t,e){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={},n.loadPath=function(t){if(!(t in n._cache)){var i=e(t);n._cache[t]=i}return new n(n._cache[t])},n})),e.define("select2/diacritics",[],(function(){return{"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u0152":"OE","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u0153":"oe","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03ce":"\u03c9","\u03c2":"\u03c3","\u2019":"'"}})),e.define("select2/data/base",["../utils"],(function(t){function e(t,n){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,n){var i=e.id+"-result-";return i+=t.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+t.generateChars(4),i},e})),e.define("select2/data/select",["./base","../utils","jquery"],(function(t,e,n){function i(t,e){this.$element=t,this.options=e,i.__super__.constructor.call(this)}return e.Extend(i,t),i.prototype.current=function(t){var e=[],i=this;this.$element.find(":selected").each((function(){var t=n(this),o=i.item(t);e.push(o)})),t(e)},i.prototype.select=function(t){var e=this;if(t.selected=!0,n(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current((function(i){var o=[];(t=[t]).push.apply(t,i);for(var r=0;r<t.length;r++){var s=t[r].id;-1===n.inArray(s,o)&&o.push(s)}e.$element.val(o),e.$element.trigger("input").trigger("change")}));else{var i=t.id;this.$element.val(i),this.$element.trigger("input").trigger("change")}},i.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,n(t.element).is("option"))return t.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current((function(i){for(var o=[],r=0;r<i.length;r++){var s=i[r].id;s!==t.id&&-1===n.inArray(s,o)&&o.push(s)}e.$element.val(o),e.$element.trigger("input").trigger("change")}))}},i.prototype.bind=function(t,e){var n=this;this.container=t,t.on("select",(function(t){n.select(t.data)})),t.on("unselect",(function(t){n.unselect(t.data)}))},i.prototype.destroy=function(){this.$element.find("*").each((function(){e.RemoveData(this)}))},i.prototype.query=function(t,e){var i=[],o=this;this.$element.children().each((function(){var e=n(this);if(e.is("option")||e.is("optgroup")){var r=o.item(e),s=o.matches(t,r);null!==s&&i.push(s)}})),e({results:i})},i.prototype.addOptions=function(t){e.appendMany(this.$element,t)},i.prototype.option=function(t){var i;t.children?(i=document.createElement("optgroup")).label=t.text:void 0!==(i=document.createElement("option")).textContent?i.textContent=t.text:i.innerText=t.text,void 0!==t.id&&(i.value=t.id),t.disabled&&(i.disabled=!0),t.selected&&(i.selected=!0),t.title&&(i.title=t.title);var o=n(i),r=this._normalizeItem(t);return r.element=i,e.StoreData(i,"data",r),o},i.prototype.item=function(t){var i={};if(null!=(i=e.GetData(t[0],"data")))return i;if(t.is("option"))i={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){i={text:t.prop("label"),children:[],title:t.prop("title")};for(var o=t.children("option"),r=[],s=0;s<o.length;s++){var a=n(o[s]),l=this.item(a);r.push(l)}i.children=r}return(i=this._normalizeItem(i)).element=t[0],e.StoreData(t[0],"data",i),i},i.prototype._normalizeItem=function(t){return t!==Object(t)&&(t={id:t,text:t}),null!=(t=n.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),n.extend({},{selected:!1,disabled:!1},t)},i.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},i})),e.define("select2/data/array",["./select","../utils","jquery"],(function(t,e,n){function i(t,e){this._dataToConvert=e.get("data")||[],i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype.bind=function(t,e){i.__super__.bind.call(this,t,e),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(t){var e=this.$element.find("option").filter((function(e,n){return n.value==t.id.toString()}));0===e.length&&(e=this.option(t),this.addOptions(e)),i.__super__.select.call(this,t)},i.prototype.convertToOptions=function(t){var i=this,o=this.$element.find("option"),r=o.map((function(){return i.item(n(this)).id})).get(),s=[];function a(t){return function(){return n(this).val()==t.id}}for(var l=0;l<t.length;l++){var c=this._normalizeItem(t[l]);if(n.inArray(c.id,r)>=0){var u=o.filter(a(c)),d=this.item(u),h=n.extend(!0,{},c,d),p=this.option(h);u.replaceWith(p)}else{var f=this.option(c);if(c.children){var m=this.convertToOptions(c.children);e.appendMany(f,m)}s.push(f)}}return s},i})),e.define("select2/data/ajax",["./array","../utils","jquery"],(function(t,e,n){function i(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,t,e)}return e.Extend(i,t),i.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})},transport:function(t,e,i){var o=n.ajax(t);return o.then(e),o.fail(i),o}};return n.extend({},e,t,!0)},i.prototype.processResults=function(t){return t},i.prototype.query=function(t,e){var i=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var o=n.extend({type:"GET"},this.ajaxOptions);function r(){var r=o.transport(o,(function(o){var r=i.processResults(o,t);i.options.get("debug")&&window.console&&console.error&&(r&&r.results&&n.isArray(r.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(r)}),(function(){(!("status"in r)||0!==r.status&&"0"!==r.status)&&i.trigger("results:message",{message:"errorLoading"})}));i._request=r}"function"===typeof o.url&&(o.url=o.url.call(this.$element,t)),"function"===typeof o.data&&(o.data=o.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(r,this.ajaxOptions.delay)):r()},i})),e.define("select2/data/tags",["jquery"],(function(t){function e(e,n,i){var o=i.get("tags"),r=i.get("createTag");void 0!==r&&(this.createTag=r);var s=i.get("insertTag");if(void 0!==s&&(this.insertTag=s),e.call(this,n,i),t.isArray(o))for(var a=0;a<o.length;a++){var l=o[a],c=this._normalizeItem(l),u=this.option(c);this.$element.append(u)}}return e.prototype.query=function(t,e,n){var i=this;this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,(function t(o,r){for(var s=o.results,a=0;a<s.length;a++){var l=s[a],c=null!=l.children&&!t({results:l.children},!0);if((l.text||"").toUpperCase()===(e.term||"").toUpperCase()||c)return!r&&(o.data=s,void n(o))}if(r)return!0;var u=i.createTag(e);if(null!=u){var d=i.option(u);d.attr("data-select2-tag",!0),i.addOptions([d]),i.insertTag(s,u)}o.results=s,n(o)})):t.call(this,e,n)},e.prototype.createTag=function(e,n){var i=t.trim(n.term);return""===i?null:{id:i,text:i}},e.prototype.insertTag=function(t,e,n){e.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each((function(){this.selected||t(this).remove()}))},e})),e.define("select2/data/tokenizer",["jquery"],(function(t){function e(t,e,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),t.call(this,e,n)}return e.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,n,i){var o=this;n.term=n.term||"";var r=this.tokenizer(n,this.options,(function(e){var n=o._normalizeItem(e);if(!o.$element.find("option").filter((function(){return t(this).val()===n.id})).length){var i=o.option(n);i.attr("data-select2-tag",!0),o._removeOldTags(),o.addOptions([i])}!function(t){o.trigger("select",{data:t})}(n)}));r.term!==n.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.trigger("focus")),n.term=r.term),e.call(this,n,i)},e.prototype.tokenizer=function(e,n,i,o){for(var r=i.get("tokenSeparators")||[],s=n.term,a=0,l=this.createTag||function(t){return{id:t.term,text:t.term}};a<s.length;){var c=s[a];if(-1!==t.inArray(c,r)){var u=s.substr(0,a),d=l(t.extend({},n,{term:u}));null!=d?(o(d),s=s.substr(a+1)||"",a=0):a++}else a++}return{term:s}},e})),e.define("select2/data/minimumInputLength",[],(function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t})),e.define("select2/data/maximumInputLength",[],(function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t})),e.define("select2/data/maximumSelectionLength",[],(function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",(function(){i._checkIfMaximumSelected()}))},t.prototype.query=function(t,e,n){var i=this;this._checkIfMaximumSelected((function(){t.call(i,e,n)}))},t.prototype._checkIfMaximumSelected=function(t,e){var n=this;this.current((function(t){var i=null!=t?t.length:0;n.maximumSelectionLength>0&&i>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):e&&e()}))},t})),e.define("select2/dropdown",["jquery","./utils"],(function(t,e){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n})),e.define("select2/dropdown/search",["jquery","../utils"],(function(t,e){function n(){}return n.prototype.render=function(e){var n=e.call(this),i=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=i,this.$search=i.find("input"),n.prepend(i),n},n.prototype.bind=function(e,n,i){var o=this,r=n.id+"-results";e.call(this,n,i),this.$search.on("keydown",(function(t){o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented()})),this.$search.on("input",(function(e){t(this).off("keyup")})),this.$search.on("keyup input",(function(t){o.handleSearch(t)})),n.on("open",(function(){o.$search.attr("tabindex",0),o.$search.attr("aria-controls",r),o.$search.trigger("focus"),window.setTimeout((function(){o.$search.trigger("focus")}),0)})),n.on("close",(function(){o.$search.attr("tabindex",-1),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.val(""),o.$search.trigger("blur")})),n.on("focus",(function(){n.isOpen()||o.$search.trigger("focus")})),n.on("results:all",(function(t){null!=t.query.term&&""!==t.query.term||(o.showSearch(t)?o.$searchContainer.removeClass("select2-search--hide"):o.$searchContainer.addClass("select2-search--hide"))})),n.on("results:focus",(function(t){t.data._resultId?o.$search.attr("aria-activedescendant",t.data._resultId):o.$search.removeAttr("aria-activedescendant")}))},n.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.showSearch=function(t,e){return!0},n})),e.define("select2/dropdown/hidePlaceholder",[],(function(){function t(t,e,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,i)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"===typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),i=e.length-1;i>=0;i--){var o=e[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},t})),e.define("select2/dropdown/infiniteScroll",["jquery"],(function(t){function e(t,e,n,i){this.lastParams={},t.call(this,e,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("query",(function(t){i.lastParams=t,i.loading=!0})),e.on("query:append",(function(t){i.lastParams=t,i.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=t.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return e.html(n(this.lastParams)),e},e})),e.define("select2/dropdown/attachBody",["jquery","../utils"],(function(t,e){function n(e,n,i){this.$dropdownParent=t(i.get("dropdownParent")||document.body),e.call(this,n,i)}return n.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("open",(function(){i._showDropdown(),i._attachPositioningHandler(e),i._bindContainerResultHandlers(e)})),e.on("close",(function(){i._hideDropdown(),i._detachPositioningHandler(e)})),this.$dropdownContainer.on("mousedown",(function(t){t.stopPropagation()}))},n.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(e){var n=t("<span></span>"),i=e.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(t,e){if(!this._containerResultsHandlersBound){var n=this;e.on("results:all",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("results:append",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("results:message",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("select",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("unselect",(function(){n._positionDropdown(),n._resizeDropdown()})),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,i){var o=this,r="scroll.select2."+i.id,s="resize.select2."+i.id,a="orientationchange.select2."+i.id,l=this.$container.parents().filter(e.hasScroll);l.each((function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})})),l.on(r,(function(n){var i=e.GetData(this,"select2-scroll-position");t(this).scrollTop(i.y)})),t(window).on(r+" "+s+" "+a,(function(t){o._positionDropdown(),o._resizeDropdown()}))},n.prototype._detachPositioningHandler=function(n,i){var o="scroll.select2."+i.id,r="resize.select2."+i.id,s="orientationchange.select2."+i.id;this.$container.parents().filter(e.hasScroll).off(o),t(window).off(o+" "+r+" "+s)},n.prototype._positionDropdown=function(){var e=t(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),o=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=r.top,s.bottom=r.top+s.height;var a=this.$dropdown.outerHeight(!1),l=e.scrollTop(),c=e.scrollTop()+e.height(),u=l<r.top-a,d=c>r.bottom+a,h={left:r.left,top:s.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var f={top:0,left:0};(t.contains(document.body,p[0])||p[0].isConnected)&&(f=p.offset()),h.top-=f.top,h.left-=f.left,n||i||(o="below"),d||!u||n?!u&&d&&n&&(o="below"):o="above",("above"==o||n&&"below"!==o)&&(h.top=s.top-f.top-a),null!=o&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+o),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+o)),this.$dropdownContainer.css(h)},n.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n})),e.define("select2/dropdown/minimumResultsForSearch",[],(function(){function t(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var n=0,i=0;i<e.length;i++){var o=e[i];o.children?n+=t(o.children):n++}return n}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t})),e.define("select2/dropdown/selectOnClose",["../utils"],(function(t){function e(){}return e.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("close",(function(t){i._handleSelectOnClose(t)}))},e.prototype._handleSelectOnClose=function(e,n){if(n&&null!=n.originalSelect2Event){var i=n.originalSelect2Event;if("select"===i._type||"unselect"===i._type)return}var o=this.getHighlightedResults();if(!(o.length<1)){var r=t.GetData(o[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},e})),e.define("select2/dropdown/closeOnSelect",[],(function(){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",(function(t){i._selectTriggered(t)})),e.on("unselect",(function(t){i._selectTriggered(t)}))},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t})),e.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,n="Please delete "+e+" character";return 1!=e&&(n+="s"),n},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results\u2026"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching\u2026"},removeAllItems:function(){return"Remove all items"}}})),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],(function(t,e,n,i,o,r,s,a,l,c,u,d,h,p,f,m,g,v,y,b,_,w,E,T,S,C,O,x,A){function D(){this.reset()}return D.prototype.apply=function(u){if(null==(u=t.extend(!0,{},this.defaults,u)).dataAdapter){if(null!=u.ajax?u.dataAdapter=f:null!=u.data?u.dataAdapter=p:u.dataAdapter=h,u.minimumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,v)),u.maximumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),u.maximumSelectionLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,b)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,m)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=c.Decorate(u.dataAdapter,g)),null!=u.query){var d=e(u.amdBase+"compat/query");u.dataAdapter=c.Decorate(u.dataAdapter,d)}if(null!=u.initSelection){var A=e(u.amdBase+"compat/initSelection");u.dataAdapter=c.Decorate(u.dataAdapter,A)}}if(null==u.resultsAdapter&&(u.resultsAdapter=n,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,T)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,E)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,O))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=_;else{var D=c.Decorate(_,w);u.dropdownAdapter=D}if(0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,C)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,x)),null!=u.dropdownCssClass||null!=u.dropdownCss||null!=u.adaptDropdownCssClass){var j=e(u.amdBase+"compat/dropdownCss");u.dropdownAdapter=c.Decorate(u.dropdownAdapter,j)}u.dropdownAdapter=c.Decorate(u.dropdownAdapter,S)}if(null==u.selectionAdapter){if(u.multiple?u.selectionAdapter=o:u.selectionAdapter=i,null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,r)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,s)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,a)),null!=u.containerCssClass||null!=u.containerCss||null!=u.adaptContainerCssClass){var I=e(u.amdBase+"compat/containerCss");u.selectionAdapter=c.Decorate(u.selectionAdapter,I)}u.selectionAdapter=c.Decorate(u.selectionAdapter,l)}u.language=this._resolveLanguage(u.language),u.language.push("en");for(var k=[],L=0;L<u.language.length;L++){var P=u.language[L];-1===k.indexOf(P)&&k.push(P)}return u.language=k,u.translations=this._processTranslations(u.language,u.debug),u},D.prototype.reset=function(){function e(t){return t.replace(/[^\u0000-\u007E]/g,(function(t){return d[t]||t}))}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:{},matcher:function n(i,o){if(""===t.trim(i.term))return o;if(o.children&&o.children.length>0){for(var r=t.extend(!0,{},o),s=o.children.length-1;s>=0;s--)null==n(i,o.children[s])&&r.children.splice(s,1);return r.children.length>0?r:n(i,r)}var a=e(o.text).toUpperCase(),l=e(i.term).toUpperCase();return a.indexOf(l)>-1?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},D.prototype.applyFromElement=function(t,e){var n=t.language,i=this.defaults.language,o=e.prop("lang"),r=e.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(o),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(r));return t.language=s,t},D.prototype._resolveLanguage=function(e){if(!e)return[];if(t.isEmptyObject(e))return[];if(t.isPlainObject(e))return[e];var n;n=t.isArray(e)?e:[e];for(var i=[],o=0;o<n.length;o++)if(i.push(n[o]),"string"===typeof n[o]&&n[o].indexOf("-")>0){var r=n[o].split("-")[0];i.push(r)}return i},D.prototype._processTranslations=function(e,n){for(var i=new u,o=0;o<e.length;o++){var r=new u,s=e[o];if("string"===typeof s)try{r=u.loadPath(s)}catch(a){try{s=this.defaults.amdLanguageBase+s,r=u.loadPath(s)}catch(l){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+s+'" could not be automatically loaded. A fallback will be used instead.')}}else r=t.isPlainObject(s)?new u(s):s;i.extend(r)}return i},D.prototype.set=function(e,n){var i={};i[t.camelCase(e)]=n;var o=c._convertData(i);t.extend(!0,this.defaults,o)},new D})),e.define("select2/options",["require","jquery","./defaults","./utils"],(function(t,e,n,i){function o(e,o){if(this.options=e,null!=o&&this.fromElement(o),null!=o&&(this.options=n.applyFromElement(this.options,o)),this.options=n.apply(this.options),o&&o.is("input")){var r=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,r)}}return o.prototype.fromElement=function(t){var n=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),i.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),i.StoreData(t[0],"data",i.GetData(t[0],"select2Tags")),i.StoreData(t[0],"tags",!0)),i.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",i.GetData(t[0],"ajaxUrl")),i.StoreData(t[0],"ajax-Url",i.GetData(t[0],"ajaxUrl")));var o={};function r(t,e){return e.toUpperCase()}for(var s=0;s<t[0].attributes.length;s++){var a=t[0].attributes[s].name;if("data-"==a.substr(0,"data-".length)){var l=a.substring("data-".length),c=i.GetData(t[0],l);o[l.replace(/-([a-z])/g,r)]=c}}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(o=e.extend(!0,{},t[0].dataset,o));var u=e.extend(!0,{},i.GetData(t[0]),o);for(var d in u=i._convertData(u))e.inArray(d,n)>-1||(e.isPlainObject(this.options[d])?e.extend(this.options[d],u[d]):this.options[d]=u[d]);return this},o.prototype.get=function(t){return this.options[t]},o.prototype.set=function(t,e){this.options[t]=e},o})),e.define("select2/core",["jquery","./options","./utils","./keys"],(function(t,e,n,i){var o=function t(i,o){null!=n.GetData(i[0],"select2")&&n.GetData(i[0],"select2").destroy(),this.$element=i,this.id=this._generateId(i),o=o||{},this.options=new e(o,i),t.__super__.constructor.call(this);var r=i.attr("tabindex")||0;n.StoreData(i[0],"old-tabindex",r),i.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(i,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(i,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var c=this.options.get("dropdownAdapter");this.dropdown=new c(i,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var u=this.options.get("resultsAdapter");this.results=new u(i,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(t){d.trigger("selection:update",{data:t})})),i.addClass("select2-hidden-accessible"),i.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(i[0],"select2",this),i.data("select2",this)};return n.Extend(o,n.Observable),o.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},o.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},o.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var i=this._resolveWidth(t,"style");return null!=i?i:this._resolveWidth(t,"element")}if("element"==e){var o=t.outerWidth(!1);return o<=0?"auto":o+"px"}if("style"==e){var r=t.attr("style");if("string"!==typeof r)return null;for(var s=r.split(";"),a=0,l=s.length;a<l;a+=1){var c=s[a].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return"computedstyle"==e?window.getComputedStyle(t[0]).width:e},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",(function(){t.dataAdapter.current((function(e){t.trigger("selection:update",{data:e})}))})),this.$element.on("focus.select2",(function(e){t.trigger("focus",e)})),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e((function(e){t._syncA(),t._syncS(null,e)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},o.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",(function(e,n){t.trigger(e,n)}))},o.prototype._registerSelectionEvents=function(){var e=this,n=["toggle","focus"];this.selection.on("toggle",(function(){e.toggleDropdown()})),this.selection.on("focus",(function(t){e.focus(t)})),this.selection.on("*",(function(i,o){-1===t.inArray(i,n)&&e.trigger(i,o)}))},o.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",(function(e,n){t.trigger(e,n)}))},o.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",(function(e,n){t.trigger(e,n)}))},o.prototype._registerEvents=function(){var t=this;this.on("open",(function(){t.$container.addClass("select2-container--open")})),this.on("close",(function(){t.$container.removeClass("select2-container--open")})),this.on("enable",(function(){t.$container.removeClass("select2-container--disabled")})),this.on("disable",(function(){t.$container.addClass("select2-container--disabled")})),this.on("blur",(function(){t.$container.removeClass("select2-container--focus")})),this.on("query",(function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,(function(n){t.trigger("results:all",{data:n,query:e})}))})),this.on("query:append",(function(e){this.dataAdapter.query(e,(function(n){t.trigger("results:append",{data:n,query:e})}))})),this.on("keypress",(function(e){var n=e.which;t.isOpen()?n===i.ESC||n===i.TAB||n===i.UP&&e.altKey?(t.close(e),e.preventDefault()):n===i.ENTER?(t.trigger("results:select",{}),e.preventDefault()):n===i.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):n===i.UP?(t.trigger("results:previous",{}),e.preventDefault()):n===i.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&e.altKey)&&(t.open(),e.preventDefault())}))},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype._isChangeMutation=function(e,n){var i=!1,o=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(n)if(n.addedNodes&&n.addedNodes.length>0)for(var r=0;r<n.addedNodes.length;r++)n.addedNodes[r].selected&&(i=!0);else n.removedNodes&&n.removedNodes.length>0?i=!0:t.isArray(n)&&t.each(n,(function(t,e){if(o._isChangeMutation(t,e))return i=!0,!1}));else i=!0;return i}},o.prototype._syncSubtree=function(t,e){var n=this._isChangeMutation(t,e),i=this;n&&this.dataAdapter.current((function(t){i.trigger("selection:update",{data:t})}))},o.prototype.trigger=function(t,e){var n=o.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in i){var r=i[t],s={prevented:!1,name:t,args:e};if(n.call(this,r,s),s.prevented)return void(e.prevented=!0)}n.call(this,t,e)},o.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},o.prototype.close=function(t){this.isOpen()&&this.trigger("close",{originalEvent:t})},o.prototype.isEnabled=function(){return!this.isDisabled()},o.prototype.isDisabled=function(){return this.options.get("disabled")},o.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},o.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},o.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var t=[];return this.dataAdapter.current((function(e){t=e})),t},o.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var n=e[0];t.isArray(n)&&(n=t.map(n,(function(t){return t.toString()}))),this.$element.val(n).trigger("input").trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(e[0],"element",this.$element),e},o})),e.define("jquery-mousewheel",["jquery"],(function(t){return t})),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(t,e,n,i,o){if(null==t.fn.select2){var r=["open","close","destroy"];t.fn.select2=function(e){if("object"===s(e=e||{}))return this.each((function(){var i=t.extend(!0,{},e);new n(t(this),i)})),this;if("string"===typeof e){var i,a=Array.prototype.slice.call(arguments,1);return this.each((function(){var t=o.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),i=t[e].apply(t,a)})),t.inArray(e,r)>-1?this:i}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=i),n})),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n})?i.apply(e,o):i)||(t.exports=r)},"./node_modules/smooth-scroll/dist/smooth-scroll.polyfills.min.js":function(t,e,n){(function(n){var i,o;window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(t){var e,n=(this.document||this.ownerDocument).querySelectorAll(t),i=this;do{for(e=n.length;--e>=0&&n.item(e)!==i;);}while(e<0&&(i=i.parentElement));return i}),function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}if("function"==typeof window.CustomEvent)return!1;t.prototype=window.Event.prototype,window.CustomEvent=t}(),function(){for(var t=0,e=["ms","moz","webkit","o"],n=0;n<e.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[e[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[n]+"CancelAnimationFrame"]||window[e[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,n){var i=(new Date).getTime(),o=Math.max(0,16-(i-t)),r=window.setTimeout((function(){e(i+o)}),o);return t=i+o,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}(),o="undefined"!=typeof n?n:"undefined"!=typeof window?window:this,void 0===(i=function(){return function(t){"use strict";var e={ignore:"[data-scroll-ignore]",header:null,topOnEmptyHash:!0,speed:500,clip:!0,offset:0,easing:"easeInOutCubic",customEasing:null,updateURL:!0,popstate:!0,emitEvents:!0},n=function(){for(var t={},e=0;e<arguments.length;e++)!function(e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])}(arguments[e]);return t},i=function(e){return parseInt(t.getComputedStyle(e).height,10)},o=function(t){var e;try{e=decodeURIComponent(t)}catch(n){e=t}return e},r=function(t){"#"===t.charAt(0)&&(t=t.substr(1));for(var e,n=String(t),i=n.length,o=-1,r="",s=n.charCodeAt(0);++o<i;){if(0===(e=n.charCodeAt(o)))throw new InvalidCharacterError("Invalid character: the input contains U+0000.");r+=e>=1&&e<=31||127==e||0===o&&e>=48&&e<=57||1===o&&e>=48&&e<=57&&45===s?"\\"+e.toString(16)+" ":e>=128||45===e||95===e||e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122?n.charAt(o):"\\"+n.charAt(o)}var a;try{a=decodeURIComponent("#"+r)}catch(t){a="#"+r}return a},s=function(){return Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)},a=function(t){return t?i(t)+t.offsetTop:0},l=function(e,n,i,o){if(n.emitEvents&&"function"==typeof t.CustomEvent){var r=new CustomEvent(e,{bubbles:!0,detail:{anchor:i,toggle:o}});document.dispatchEvent(r)}};return function(i,c){var u,d,h,p,f,m,g={cancelScroll:function(t){cancelAnimationFrame(m),m=null,t||l("scrollCancel",u)},animateScroll:function(i,o,r){var c=n(u||e,r||{}),d="[object Number]"===Object.prototype.toString.call(i),f=d||!i.tagName?null:i;if(d||f){var v=t.pageYOffset;c.header&&!h&&(h=document.querySelector(c.header)),p||(p=a(h));var y,b,_,w=d?i:function(e,n,i,o){var r=0;if(e.offsetParent)do{r+=e.offsetTop,e=e.offsetParent}while(e);return r=Math.max(r-n-i,0),o&&(r=Math.min(r,s()-t.innerHeight)),r}(f,p,parseInt("function"==typeof c.offset?c.offset(i,o):c.offset,10),c.clip),E=w-v,T=s(),S=0,C=function(e,n){var r=t.pageYOffset;if(e==n||r==n||(v<n&&t.innerHeight+r)>=T)return g.cancelScroll(!0),function(e,n,i){0===e&&document.body.focus(),i||(e.focus(),document.activeElement!==e&&(e.setAttribute("tabindex","-1"),e.focus(),e.style.outline="none"),t.scrollTo(0,n))}(i,n,d),l("scrollStop",c,i,o),y=null,m=null,!0};0===t.pageYOffset&&t.scrollTo(0,0),function(t,e,n){e||history.pushState&&n.updateURL&&history.pushState({smoothScroll:JSON.stringify(n),anchor:t.id},document.title,t===document.documentElement?"#top":"#"+t.id)}(i,d,c),l("scrollStart",c,i,o),g.cancelScroll(!0),t.requestAnimationFrame((function e(n){y||(y=n),b=(S+=n-y)/parseInt(c.speed,10),_=v+E*function(t,e){var n;return"easeInQuad"===t.easing&&(n=e*e),"easeOutQuad"===t.easing&&(n=e*(2-e)),"easeInOutQuad"===t.easing&&(n=e<.5?2*e*e:(4-2*e)*e-1),"easeInCubic"===t.easing&&(n=e*e*e),"easeOutCubic"===t.easing&&(n=--e*e*e+1),"easeInOutCubic"===t.easing&&(n=e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1),"easeInQuart"===t.easing&&(n=e*e*e*e),"easeOutQuart"===t.easing&&(n=1- --e*e*e*e),"easeInOutQuart"===t.easing&&(n=e<.5?8*e*e*e*e:1-8*--e*e*e*e),"easeInQuint"===t.easing&&(n=e*e*e*e*e),"easeOutQuint"===t.easing&&(n=1+--e*e*e*e*e),"easeInOutQuint"===t.easing&&(n=e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e),t.customEasing&&(n=t.customEasing(e)),n||e}(c,b=b>1?1:b),t.scrollTo(0,Math.floor(_)),C(_,w)||(m=t.requestAnimationFrame(e),y=n)}))}}},v=function(e){if((!("matchMedia"in t)||!t.matchMedia("(prefers-reduced-motion)").matches)&&0===e.button&&!e.metaKey&&!e.ctrlKey&&"closest"in e.target&&(d=e.target.closest(i))&&"a"===d.tagName.toLowerCase()&&!e.target.closest(u.ignore)&&d.hostname===t.location.hostname&&d.pathname===t.location.pathname&&/#/.test(d.href)){var n=r(o(d.hash)),s=u.topOnEmptyHash&&"#"===n?document.documentElement:document.querySelector(n);(s=s||"#top"!==n?s:document.documentElement)&&(e.preventDefault(),g.animateScroll(s,d))}},y=function(t){if(null!==history.state&&history.state.smoothScroll&&history.state.smoothScroll===JSON.stringify(u)&&history.state.anchor){var e=document.querySelector(r(o(history.state.anchor)));e&&g.animateScroll(e,null,{updateURL:!1})}},b=function(t){f||(f=setTimeout((function(){f=null,p=a(h)}),66))};return g.destroy=function(){u&&(document.removeEventListener("click",v,!1),t.removeEventListener("resize",b,!1),t.removeEventListener("popstate",y,!1),g.cancelScroll(),u=null,d=null,h=null,p=null,f=null,m=null)},g.init=function(i){if(!("querySelector"in document&&"addEventListener"in t&&"requestAnimationFrame"in t&&"closest"in t.Element.prototype))throw"Smooth Scroll: This browser does not support the required JavaScript methods and browser APIs.";g.destroy(),u=n(e,i||{}),h=u.header?document.querySelector(u.header):null,p=a(h),document.addEventListener("click",v,!1),h&&t.addEventListener("resize",b,!1),u.updateURL&&u.popstate&&t.addEventListener("popstate",y,!1)},g.init(c),g}}(o)}.apply(e,[]))||(t.exports=i)}).call(this,n("./node_modules/webpack/buildin/global.js"))},"./node_modules/webpack/buildin/global.js":function(t,e){function n(t){return(n="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(o){"object"===("undefined"===typeof window?"undefined":n(window))&&(i=window)}t.exports=i},"./src/img sync \\.(png|jpe?g|svg)$":function(t,e,n){var i={"./bg.png":"./src/img/bg.png","./photo1.png":"./src/img/photo1.png","./photo2.jpg":"./src/img/photo2.jpg","./photo3.svg":"./src/img/photo3.svg"};function o(t){var e=r(t);return n(e)}function r(t){if(!n.o(i,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return i[t]}o.keys=function(){return Object.keys(i)},o.resolve=r,t.exports=o,o.id="./src/img sync \\.(png|jpe?g|svg)$"},"./src/img/bg.png":function(t,e){t.exports="../img/bg.png"},"./src/img/photo1.png":function(t,e){t.exports="../img/photo1.png"},"./src/img/photo2.jpg":function(t,e){t.exports="../img/photo2.jpg"},"./src/img/photo3.svg":function(t,e){t.exports="../fonts/photo3.svg"},"./src/js/_components/drivers/_google.track.external.links.js":function(t,e){function n(t){if("function"===typeof ga){for(var e=t.srcElement||t.target;e&&("undefined"==typeof e.tagName||"a"!=e.tagName.toLowerCase()||!e.href);)e=e.parentNode;if(e&&e.href){var n=e.href;if(-1==n.indexOf(location.host)&&!n.match(/^javascript:/i)){var i=!(!e.target||e.target.match(/^_(self|parent|top)$/i))&&e.target;ga("send","event","Outgoing Links",n,document.location.pathname+document.location.search,{hitCallback:function(t,e){e?window.open(t,e):window.location.href=t}(n,i)}),t.preventDefault?t.preventDefault():t.returnValue=!1}}}}var i=window;i.addEventListener?i.addEventListener("load",(function(){document.body.addEventListener("click",n,!1)}),!1):i.attachEvent&&i.attachEvent("onload",(function(){document.body.attachEvent("onclick",n)}))},"./src/js/_consts.js":function(t,e,n){"use strict";var i=n("jquery"),o=n.n(i),r=n("./src/js/_events.js"),s=n.n(r);function a(t){return(a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function c(t,e){return!e||"object"!==a(e)&&"function"!==typeof e?u(t):e}function u(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function d(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}var f={init:function(){return function(t){!function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(s,google.maps.OverlayView);var e,n,i,o,r=(e=s,function(){var t,n=h(e);if(d()){var i=h(this).constructor;t=Reflect.construct(n,arguments,i)}else t=n.apply(this,arguments);return c(this,t)});function s(t){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s);var n=u(e=r.call(this));return n.setMap(t.map),n.position=t.position,n.html=t.html?t.html:'<div class="mapboxgl-marker"><i class="marker-icon fas fa-map-marker-alt"></i></div>',n.divClass=t.divClass,n.align=t.align,n.isDebugMode=t.debug,n.onClick=t.onClick,n.onMouseOver=t.onMouseOver,n.isBoolean=function(t){return"boolean"===typeof t},n.isNotUndefined=function(t){return"undefined"!==typeof t},n.hasContent=function(t){return t.length>0},n.isString=function(t){return"string"===typeof t},n.isFunction=function(t){return"function"===typeof t},e}return n=s,(i=[{key:"onAdd",value:function(){var t=this;t.div=document.createElement("div"),t.div.style.position="absolute",t.isNotUndefined(t.divClass)&&t.hasContent(t.divClass)&&(t.div.className=t.divClass),t.isNotUndefined(t.html)&&t.hasContent(t.html)&&t.isString(t.html)&&(t.div.innerHTML=t.html),t.isBoolean(t.isDebugMode)&&t.isDebugMode&&(t.div.className="debug-mode",t.div.innerHTML='<div style="height: 10px; width: 10px; background: red; border-radius: 100%;"></div><div style="position: absolute; top: 5px; padding: 5px; width: 130px; text-align: center; font-size: 18px; text-transform: uppercase; font-weight: bolder; background: red; color: white; font-family: Arial;">Debug mode</div>',t.div.setAttribute("style","position: absolute;border: 5px dashed red;height: 150px;width: 150px;display: flex;justify-content: center;align-items: center;")),t.getPanes().overlayMouseTarget.appendChild(t.div),google.maps.event.addDomListener(t.div,"click",(function(e){google.maps.event.trigger(t,"click"),t.isFunction(t.onClick)&&t.onClick(),e.stopPropagation()})),google.maps.event.addDomListener(t.div,"mouseover",(function(e){google.maps.event.trigger(t,"mouseover"),t.isFunction(t.onMouseOver)&&t.onMouseOver(),e.stopPropagation()}))}},{key:"draw",value:function(){var t=this,e=$(t.div).find(".mapboxgl-marker,.marker-pin,.mapboxgl-popup,.popup");e.length||(e=$(t.div));var n=t.getProjection().fromLatLngToDivPixel(new google.maps.LatLng(t.position)),i={y:void 0,x:void 0},o=e.outerWidth(),r=e.outerHeight();switch(Array.isArray(t.align)?t.align.join(" "):""){case"left top":i.y=r,i.x=o;break;case"left center":i.y=r/2,i.x=o;break;case"left bottom":i.y=0,i.x=o;break;case"center top":i.y=r,i.x=o/2;break;case"center center":i.y=r/2,i.x=o/2;break;case"center bottom":i.y=0,i.x=o/2;break;case"right top":i.y=r,i.x=0;break;case"right center":i.y=r/2,i.x=0;break;case"right bottom":i.y=0,i.x=0;break;default:i.y=r/2,i.x=o/2}t.div.style.top="".concat(n.y-i.y,"px"),t.div.style.left="".concat(n.x-i.x,"px")}},{key:"getPosition",value:function(){return this.position}},{key:"getDiv",value:function(){return this.div}},{key:"setPosition",value:function(t,e){this.position=t,this.align=e,this.draw()}}])&&l(n.prototype,i),o&&l(n,o),s}()}};function m(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var g={ENVS:["xs","sm","md","lg","xl","xxl","xxxl"],MAP_DRIVER:function(t){return function(){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,i,o;return n=e,(i=[{key:"getName",value:function(){return"GoogleMapsDriver"}},{key:"init",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=this,o=window;i.$el=e,i.config=n,i.markers=[],o["init".concat(i.getName())]=function(){i.googleApiLoaded()},t("body").append('<script async defer src="https://maps.googleapis.com/maps/api/js?key='.concat(n.key,"&callback=init").concat(i.getName(),'"><\/script>'))}},{key:"googleApiLoaded",value:function(){var e=this,n=e.$el,i=e.config,o=n.find(".mapAPI-map"),r=i.mapZoom?i.mapZoom:10,a=i.center?{lat:i.center[1],lng:i.center[0]}:{lat:0,lng:0},l=i.style?i.style:null;console.log("".concat(e.getName(),": API is loaded")),e.MarkerUI=f.init(t),e.map=new google.maps.Map(o[0],{zoom:r,center:a,fullscreenControl:!0,styles:l}),e.default_zoom=r,o.addClass("mapboxgl-map"),e.popup=new e.MarkerUI({map:e.map,align:["center","top"],divClass:"mapboxgl-popup popup mapboxgl-popup-anchor-bottom d-none",html:'<div class="mapboxgl-popup-tip"></div><div class="mapboxgl-popup-content"><div class="mapboxgl-popup-close-button" type="button" aria-label="Close popup">\xd7</div><div class="html"></div></div>'}),e.geocoder=new google.maps.Geocoder,n.trigger(s.a.MAPAPILOADED)}},{key:"addMarker",value:function(e,n){var i=this,o={lat:e[1],lng:e[0]},r=new i.MarkerUI({position:o,map:i.map,align:["center","top"],html:'<div class="mapboxgl-marker"><div id="Marker'.concat(n.id,'" data-id="').concat(n.id,'" class="marker">').concat(n.icon,"</div></div>"),onClick:function(){var e=t("#Marker".concat(n.id));i.showPopup(o,n.content),e.trigger(s.a.MAPMARKERCLICK)}});return i.markers.push(r),r}},{key:"showPopup",value:function(e,n){var i=this,o=t(i.popup.getDiv());i.config.flyToMarker&&(i.map.setCenter(e),i.config.noZoom||i.map.setZoom(18)),o.css({opacity:"0"}),o.removeClass("d-none"),o.find(".mapboxgl-popup-content .html").html(n),o.find(".mapboxgl-popup-close-button").on("click",(function(t){t.preventDefault(),i.hidePopup()})),i.popup.setPosition(e,["center","top"]),o.css({"margin-top":"-1rem",opacity:"1"})}},{key:"hidePopup",value:function(){var e=this;t(e.popup.getDiv()).addClass("d-none"),e.config.noRestoreBounds&&!e.config.flyToBounds||e.restoreBounds(),e.$el.trigger(s.a.MAPPOPUPCLOSE)}},{key:"geocode",value:function(t,e){var n=this;n.geocoder.geocode({address:t},(function(t,i){if("OK"===i)return"function"===typeof e&&e(t),t;console.error("".concat(n.getName(),": Geocode was not successful for the following reason: ").concat(i))}))}},{key:"reverseGeocode",value:function(t,e){var n=this;n.geocoder.geocode({location:latlng},(function(t,i){if("OK"===i)return"function"===typeof e&&e(t),t;console.error("".concat(n.getName(),": Reverse Geocoding was not successful for the following reason: ").concat(i))}))}},{key:"addGeoJson",value:function(t){var e=this,n=(t.geojson.features[0].geometry.coordinates,new google.maps.LatLngBounds);t.geojson.features.forEach((function(i){var o=i.id,r=i.geometry.coordinates,s=i.properties.content;e.addMarker(r,{id:o,content:s,icon:i.icon,flyToMarker:t.flyToMarker}),n.extend({lat:r[1],lng:r[0]})})),e.markers.length>1?e.map.fitBounds(n,{padding:30}):e.markers[0]&&e.map.setCenter(e.markers[0].getPosition()),e.default_bounds=n,e.default_zoom=e.map.getZoom()}},{key:"getMap",value:function(){return this.map}},{key:"getPopup",value:function(){return this.popup}},{key:"restoreBounds",value:function(){var t=this;t.default_bounds&&t.markers.length>1?t.map.fitBounds(t.default_bounds,{padding:30}):(t.markers[0]&&t.map.setCenter(t.markers[0].getPosition()),t.restoreZoom())}},{key:"restoreZoom",value:function(){this.map.setZoom(this.default_zoom)}}])&&m(n.prototype,i),o&&m(n,o),e}()}(o.a)};e.a=g},"./src/js/_events.js":function(t,e){t.exports={AJAX:"ajax-load",TABHIDDEN:"tab-hidden",TABFOCUSED:"tab-focused",OFFLINE:"offline",ONLINE:"online",LOADED:"load",SWIPELEFT:"swipeleft panleft",SWIPERIGHT:"swiperight panright",ALLERTAPPEARED:"alert-appeared",ALERTREMOVED:"alert-removed",LODEDANDREADY:"load-ready",LAZYIMAGEREADY:"image-lazy-bg-loaded",LAZYIMAGESREADY:"images-lazy-loaded",MAPLOADED:"map-loaded",MAPAPILOADED:"map-api-loaded",MAPMARKERCLICK:"map-marker-click",MAPPOPUPCLOSE:"map-popup-close",SCROLL:"scroll",RESIZE:"resize",CAROUSEL_READY:"bs.carousel.ready",SET_TARGET_UPDATE:"set-target-update",RESTORE_FIELD:"restore-field",FORM_INIT_BASICS:"form-basics",FORM_INIT_STEPPED:"form-init-stepped",FORM_INIT_VALIDATE:"form-init-validate",FORM_INIT_VALIDATE_FIELD:"form-init-validate-field",FORM_INIT_STORAGE:"form-init-storage",FORM_VALIDATION_FAILED:"form-validation-failed",FORM_STEPPED_NEW_STEP:"form-new-step",FORM_STEPPED_FIRST_STEP:"form-first-step",FORM_STEPPED_LAST_STEP:"form-last-step",FORM_FIELDS:"input,textarea,select"}},"./src/js/app.js":function(t,e,n){"use strict";n.r(e);n("./src/scss/app.scss"),n("./node_modules/bootstrap/js/dist/util.js"),n("./node_modules/bootstrap/js/dist/alert.js"),n("./node_modules/bootstrap/js/dist/button.js"),n("./node_modules/bootstrap/js/dist/carousel.js"),n("./node_modules/bootstrap/js/dist/collapse.js"),n("./node_modules/hammerjs/hammer.js"),n("./node_modules/jquery-hammerjs/jquery.hammer.js");var i=n("jquery"),o=n.n(i),r=n("./src/js/_events.js"),s=n.n(r);n("./node_modules/jquery-hoverintent/jquery.hoverIntent.js");function a(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}!function(t){var e=window,n=(document,t("html"),t("body"),"jsHoverUI"),i=function(){function i(o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i);var r=this,s=t(o);r.$el=s;var a=s.parents(".nav-item, .dropdown");a=a&&a.length?a.first():null,r.$parent=a;var l=s.data("target");if(!(l=(l=l&&l.length?l:null)||(a?a.find(".dropdown-menu"):null))||!l.length)return console.warn("".concat(n,": Missing target for:")),void console.warn(s);r.$target=l;var c=a||s;r.$triger=c,t('[data-toggle="dropdown"]').on("click touch",(function(t){r.hide()})),e.isTouch||c.hoverIntent({sensitivity:10,interval:50,over:function(){r.show()},out:function(){r.hide()}}),s.on("click touch",(function(t){(!s.data("allow-click")||e.IsTouchScreen&&!s.data("allow-touch-click"))&&t.preventDefault(),r.isShown()?r.hide():r.show()})),s.data(n,r),c.addClass("".concat(n,"-active"))}var o,r,s;return o=i,s=[{key:"_jQueryInterface",value:function(){return this.each((function(){var e=t(this),n=e.data("jsHoverUI");n||(n=new i(this),e.data("jsHoverUI",n))}))}}],(r=[{key:"isShown",value:function(){return this.$target.hasClass("show")}},{key:"show",value:function(){this.$el.parents(".dropdown").not(".active").each((function(e,n){var i=t(n);i.find(".dropdown").removeClass("show"),i.addClass("show")})),this.$target.addClass("show")}},{key:"hide",value:function(){var t=this.$target;t.removeClass("show"),t.find(".dropdown-menu").removeClass("show"),t.parent(".dropdown").removeClass("show")}},{key:"dispose",value:function(){var e=this,i=e.$el;e.$triger.removeClass("".concat(n,"-active")),t.removeData(i,"jsHoverUI"),e.$el=null,e.$parent=null,e.$target=null,e.$triger=null}}])&&a(o.prototype,r),s&&a(o,s),i}();t.fn[n]=i._jQueryInterface,t.fn[n].Constructor=i,t.fn[n].noConflict=function(){return t.fn[n]=JQUERY_NO_CONFLICT,i._jQueryInterface},t('[data-toggle="hover"]').ready((function(){t('[data-toggle="hover"]').jsHoverUI()})),t('[data-toggle="dropdown"]').on("click touch",(function(e){e.preventDefault();var n=t(e.currentTarget).parent(".dropdown");n.parent().find(".dropdown, .dropdown-menu").removeClass("show"),n.hasClass("show")?(n.removeClass("show"),n.find(".dropdown-menu").removeClass("show")):(n.addClass("show"),n.find(".dropdown-menu").addClass("show"))}))}(o.a);function l(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}!function(t){var e=function(){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,i,o;return n=e,o=[{key:"each",value:function(e){t("js".concat("CarouselUI",", .js-carousel")).each((function(n,i){e(n,t(i))}))}},{key:"init",value:function(){this.dispose(),this.each((function(e,n){var i=t(n),o="Carousel".concat(e);i.attr("id",o),i.data("id",e);var r=t(n).find(".carousel-item").length;if(r){if(i.data("indicators")){var a=t('<ol class="carousel-indicators"></ol>');a.append('<li data-target="#'.concat(o,'" data-slide-to="0" class="active"></li>'));for(var l=1;l<r;l++)a.append('<li data-target="#'.concat(o,'" data-slide-to="').concat(l,'"></li>'));i.prepend(a)}i.data("arrows")&&(i.prepend('<i class="carousel-control-prev" data-target="#'.concat(o,'" role="button" data-slide="prev"><i class="fas fa-chevron-left" aria-hidden="true"></i><i class="sr-only">Previous</i></i>')),i.prepend('<i class="carousel-control-next" data-target="#'.concat(o,'" role="button" data-slide="next"><i class="fas fa-chevron-right" aria-hidden="true"></i><i class="sr-only">Next</i></i>'))),i.carousel();var c=i.find('iframe[src^="https://www.youtube.com/embed/"]');i.on("slide.bs.carousel",(function(){c.length&&c.each((function(e,n){var i=t(n);try{i.data("player",new YT.Player(n,{events:{onReady:function(){i.data("player").pauseVideo()}}})),i.data("player").pauseVideo()}catch(n){}}))})),i.find(".carousel-control-prev").on("click",(function(t){t.preventDefault(),i.carousel("prev")})),i.find(".carousel-control-next").on("click",(function(t){t.preventDefault(),i.carousel("next")})),i.hammer().bind(s.a.SWIPELEFT,(function(e){t(event.target).carousel("next")})),i.hammer().bind(s.a.SWIPERIGHT,(function(e){t(event.target).carousel("prev")})),i.addClass("js".concat("CarouselUI","-active")),i.trigger(s.a.CAROUSEL_READY)}}))}},{key:"dispose",value:function(){this.each((function(e,n){t(n).carousel("dispose")}))}}],(i=null)&&l(n.prototype,i),o&&l(n,o),e}();t(window).on("".concat(s.a.LODEDANDREADY),(function(){e.init()}))}(o.a);function c(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(function(t){var e="jsSlidingMenu",n=function(){function n(i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n),this._element=i;var o=t(this._element);o.addClass("".concat(e,"-active")),t(window).on("keyup",(function(t){27===t.which&&o.find('.is-open[data-toggle="offcanvas"]').click()}))}var i,o,r;return i=n,r=[{key:"_jQueryInterface",value:function(){return this.each((function(){var e=t(this),i=e.data("jsSlidingMenu");i||(i=new n(this),e.data("jsSlidingMenu",i))}))}}],(o=[{key:"dispose",value:function(){console.log("Disposing: ".concat(e," elements")),t(this._element).removeClass("".concat(e,"-active")),t.removeData(this._element,"jsSlidingMenu"),this._element=null}}])&&c(i.prototype,o),r&&c(i,r),n}();t.fn[e]=n._jQueryInterface,t.fn[e].Constructor=n,t.fn[e].noConflict=function(){return t.fn[e]=JQUERY_NO_CONFLICT,n._jQueryInterface},t(".ui.".concat(e)).ready((function(){t(".ui.".concat(e)).jsSlidingMenu()}))})(o.a),n("./node_modules/bootstrap/js/dist/modal.js"),n("./node_modules/bootstrap/js/dist/tooltip.js"),n("./node_modules/bootstrap/js/dist/popover.js"),n("./node_modules/bootstrap/js/dist/scrollspy.js"),n("./node_modules/bootstrap/js/dist/tab.js");function u(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var d=function(t){var e=document;window;return function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,i,o;return n=t,o=[{key:"get",value:function(t){return e.cookie.split("; ").reduce((function(e,n){var i=n.split("=");return i[0]===t?decodeURIComponent(i[1]):e}),"")}},{key:"set",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:7,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"/",r=new Date(Date.now()+864e5*i).toUTCString();e.cookie="".concat(t,"=").concat(encodeURIComponent(n),"; expires=").concat(r,"; path=").concat(o)}}],(i=null)&&u(n.prototype,i),o&&u(n,o),t}()}($);function h(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}!function(t){var e=window,n=(document,t("body"),"FlyoutUI"),i="".concat(n,"-hide"),o=function(){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e)}var o,r,s;return o=e,s=[{key:"init",value:function(){var e=this;if(e.$modal=t(".flyout-".concat(n)),!e.$modal.length)return!1;var o=e.$modal.find(".flyout-".concat(n,"__close"));e.$modal.data(n,e),o.length&&o.on("click",(function(){e.hide()}));var r=d.get(i);o.length&&r&&"true"===r||setTimeout((function(){e.show()}),2e3)}},{key:"show",value:function(t){this.$modal.addClass("flyout-".concat(n,"__active"))}},{key:"hide",value:function(t){d.set(i,"true",1),this.$modal.removeClass("flyout-".concat(n,"__active"))}}],(r=null)&&h(o.prototype,r),s&&h(o,s),e}();t(e).on("".concat(s.a.AJAX," ").concat(s.a.LOADED),(function(){o.init()})),e.FlyoutUI=o}(o.a);function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var m,g,v=(m=".stickySidebar",g={topSpacing:0,bottomSpacing:0,containerSelector:!1,innerWrapperSelector:".inner-wrapper-sticky",stickyClass:"is-affixed",resizeSensor:!0,minWidth:!1},function(){function t(e){var n=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(p(this,t),this.options=t.extend(g,i),this.sidebar="string"===typeof e?document.querySelector(e):e,"undefined"===typeof this.sidebar)throw new Error("There is no specific sidebar element.");this.sidebarInner=!1,this.container=this.sidebar.parentElement,this.affixedType="STATIC",this.direction="down",this.support={transform:!1,transform3d:!1},this._initialized=!1,this._reStyle=!1,this._breakpoint=!1,this._resizeListeners=[],this.dimensions={translateY:0,topSpacing:0,lastTopSpacing:0,bottomSpacing:0,lastBottomSpacing:0,sidebarHeight:0,sidebarWidth:0,containerTop:0,containerHeight:0,viewportHeight:0,viewportTop:0,lastViewportTop:0},["handleEvent"].forEach((function(t){n[t]=n[t].bind(n)})),this.initialize()}var e,n,i;return e=t,i=[{key:"supportTransform",value:function(t){var e=!1,n=t?"perspective":"transform",i=n.charAt(0).toUpperCase()+n.slice(1),o=document.createElement("support").style;return(n+" "+["Webkit","Moz","O","ms"].join(i+" ")+i).split(" ").forEach((function(t,n){if(void 0!==o[t])return e=t,!1})),e}},{key:"eventTrigger",value:function(t,e,n){try{var i=new CustomEvent(e,{detail:n})}catch(o){(i=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,n)}t.dispatchEvent(i)}},{key:"extend",value:function(t,e){var n={};for(var i in t)"undefined"!==typeof e[i]?n[i]=e[i]:n[i]=t[i];return n}},{key:"offsetRelative",value:function(t){var e={left:0,top:0};do{var n=t.offsetTop,i=t.offsetLeft;isNaN(n)||(e.top+=n),isNaN(i)||(e.left+=i),t="BODY"===t.tagName?t.parentElement:t.offsetParent}while(t);return e}},{key:"addClass",value:function(e,n){t.hasClass(e,n)||(e.classList?e.classList.add(n):e.className+=" "+n)}},{key:"removeClass",value:function(e,n){t.hasClass(e,n)&&(e.classList?e.classList.remove(n):e.className=e.className.replace(new RegExp("(^|\\b)"+n.split(" ").join("|")+"(\\b|$)","gi")," "))}},{key:"hasClass",value:function(t,e){return t.classList?t.classList.contains(e):new RegExp("(^| )"+e+"( |$)","gi").test(t.className)}}],(n=[{key:"initialize",value:function(){var t=this;if(this._setSupportFeatures(),this.options.innerWrapperSelector&&(this.sidebarInner=this.sidebar.querySelector(this.options.innerWrapperSelector),null===this.sidebarInner&&(this.sidebarInner=!1)),!this.sidebarInner){var e=document.createElement("div");for(e.setAttribute("class","inner-wrapper-sticky"),this.sidebar.appendChild(e);this.sidebar.firstChild!=e;)e.appendChild(this.sidebar.firstChild);this.sidebarInner=this.sidebar.querySelector(".inner-wrapper-sticky")}if(this.options.containerSelector){var n=document.querySelectorAll(this.options.containerSelector);if((n=Array.prototype.slice.call(n)).forEach((function(e,n){e.contains(t.sidebar)&&(t.container=e)})),!n.length)throw new Error("The container does not contains on the sidebar.")}"function"!==typeof this.options.topSpacing&&(this.options.topSpacing=parseInt(this.options.topSpacing)||0),"function"!==typeof this.options.bottomSpacing&&(this.options.bottomSpacing=parseInt(this.options.bottomSpacing)||0),this._widthBreakpoint(),this.calcDimensions(),this.stickyPosition(),this.bindEvents(),this._initialized=!0}},{key:"bindEvents",value:function(){window.addEventListener("resize",this,{passive:!0,capture:!1}),window.addEventListener("scroll",this,{passive:!0,capture:!1}),this.sidebar.addEventListener("update"+m,this),this.options.resizeSensor&&"undefined"!==typeof ResizeSensor&&(new ResizeSensor(this.sidebarInner,this.handleEvent),new ResizeSensor(this.container,this.handleEvent))}},{key:"handleEvent",value:function(t){this.updateSticky(t)}},{key:"calcDimensions",value:function(){if(!this._breakpoint){var e=this.dimensions;e.containerTop=t.offsetRelative(this.container).top,e.containerHeight=this.container.clientHeight,e.containerBottom=e.containerTop+e.containerHeight,e.sidebarHeight=this.sidebarInner.offsetHeight,e.sidebarWidth=this.sidebar.offsetWidth,e.viewportHeight=window.innerHeight,this._calcDimensionsWithScroll()}}},{key:"_calcDimensionsWithScroll",value:function(){var e=this.dimensions;e.sidebarLeft=t.offsetRelative(this.sidebar).left,e.viewportTop=document.documentElement.scrollTop||document.body.scrollTop,e.viewportBottom=e.viewportTop+e.viewportHeight,e.viewportLeft=document.documentElement.scrollLeft||document.body.scrollLeft,e.topSpacing=this.options.topSpacing,e.bottomSpacing=this.options.bottomSpacing,"function"===typeof e.topSpacing&&(e.topSpacing=parseInt(e.topSpacing(this.sidebar))||0),"function"===typeof e.bottomSpacing&&(e.bottomSpacing=parseInt(e.bottomSpacing(this.sidebar))||0),"VIEWPORT-TOP"===this.affixedType?e.topSpacing<e.lastTopSpacing&&(e.translateY+=e.lastTopSpacing-e.topSpacing,this._reStyle=!0):"VIEWPORT-BOTTOM"===this.affixedType&&e.bottomSpacing<e.lastBottomSpacing&&(e.translateY+=e.lastBottomSpacing-e.bottomSpacing,this._reStyle=!0),e.lastTopSpacing=e.topSpacing,e.lastBottomSpacing=e.bottomSpacing}},{key:"isSidebarFitsViewport",value:function(){return this.dimensions.sidebarHeight<this.dimensions.viewportHeight}},{key:"observeScrollDir",value:function(){var t=this.dimensions;if(t.lastViewportTop!==t.viewportTop){var e="down"===this.direction?Math.min:Math.max;t.viewportTop===e(t.viewportTop,t.lastViewportTop)&&(this.direction="down"===this.direction?"up":"down")}}},{key:"getAffixType",value:function(){var t=this.dimensions,e=!1;this._calcDimensionsWithScroll();var n=t.sidebarHeight+t.containerTop,i=t.viewportTop+t.topSpacing,o=t.viewportBottom-t.bottomSpacing;return"up"===this.direction?i<=t.containerTop?(t.translateY=0,e="STATIC"):i<=t.translateY+t.containerTop?(t.translateY=i-t.containerTop,e="VIEWPORT-TOP"):!this.isSidebarFitsViewport()&&t.containerTop<=i&&(e="VIEWPORT-UNBOTTOM"):this.isSidebarFitsViewport()?t.sidebarHeight+i>=t.containerBottom?(t.translateY=t.containerBottom-n,e="CONTAINER-BOTTOM"):i>=t.containerTop&&(t.translateY=i-t.containerTop,e="VIEWPORT-TOP"):t.containerBottom<=o?(t.translateY=t.containerBottom-n,e="CONTAINER-BOTTOM"):n+t.translateY<=o?(t.translateY=o-n,e="VIEWPORT-BOTTOM"):t.containerTop+t.translateY<=i&&(e="VIEWPORT-UNBOTTOM"),t.translateY=Math.max(0,t.translateY),t.translateY=Math.min(t.containerHeight,t.translateY),t.lastViewportTop=t.viewportTop,e}},{key:"_getStyle",value:function(e){if("undefined"!==typeof e){var n={inner:{},outer:{}},i=this.dimensions;switch(e){case"VIEWPORT-TOP":n.inner={position:"fixed",top:i.topSpacing,left:i.sidebarLeft-i.viewportLeft,width:i.sidebarWidth};break;case"VIEWPORT-BOTTOM":n.inner={position:"fixed",top:"auto",left:i.sidebarLeft,bottom:i.bottomSpacing,width:i.sidebarWidth};break;case"CONTAINER-BOTTOM":case"VIEWPORT-UNBOTTOM":var o=this._getTranslate(0,i.translateY+"px");n.inner=o?{transform:o}:{position:"absolute",top:i.translateY,width:i.sidebarWidth}}switch(e){case"VIEWPORT-TOP":case"VIEWPORT-BOTTOM":case"VIEWPORT-UNBOTTOM":case"CONTAINER-BOTTOM":n.outer={height:i.sidebarHeight,position:"relative"}}return n.outer=t.extend({height:"",position:""},n.outer),n.inner=t.extend({position:"relative",top:"",left:"",bottom:"",width:"",transform:this._getTranslate()},n.inner),n}}},{key:"stickyPosition",value:function(e){if(!this._breakpoint){e=this._reStyle||e||!1,this.options.topSpacing,this.options.bottomSpacing;var n=this.getAffixType(),i=this._getStyle(n);if((this.affixedType!=n||e)&&n){var o="affix."+n.toLowerCase().replace("viewport-","")+m;for(var r in t.eventTrigger(this.sidebar,o),"STATIC"===n?t.removeClass(this.sidebar,this.options.stickyClass):t.addClass(this.sidebar,this.options.stickyClass),i.outer)i.outer[r],this.sidebar.style[r]=i.outer[r];for(var s in i.inner){var a="number"===typeof i.inner[s]?"px":"";this.sidebarInner.style[s]=i.inner[s]+a}var l="affixed."+n.toLowerCase().replace("viewport-","")+m;t.eventTrigger(this.sidebar,l)}else this._initialized&&(this.sidebarInner.style.left=i.inner.left);this.affixedType=n}}},{key:"_widthBreakpoint",value:function(){window.innerWidth<=this.options.minWidth?(this._breakpoint=!0,this.affixedType="STATIC",this.sidebar.removeAttribute("style"),t.removeClass(this.sidebar,this.options.stickyClass),this.sidebarInner.removeAttribute("style")):this._breakpoint=!1}},{key:"updateSticky",value:function(){var t,e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._running||(this._running=!0,t=n.type,requestAnimationFrame((function(){switch(t){case"scroll":e._calcDimensionsWithScroll(),e.observeScrollDir(),e.stickyPosition();break;case"resize":default:e._widthBreakpoint(),e.calcDimensions(),e.stickyPosition(!0)}e._running=!1})))}},{key:"_setSupportFeatures",value:function(){var e=this.support;e.transform=t.supportTransform(),e.transform3d=t.supportTransform(!0)}},{key:"_getTranslate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.support.transform3d?"translate3d("+t+", "+e+", "+n+")":!!this.support.translate&&"translate("+t+", "+e+")"}},{key:"destroy",value:function(){window.removeEventListener("resize",this,{caption:!1}),window.removeEventListener("scroll",this,{caption:!1}),this.sidebar.classList.remove(this.options.stickyClass),this.sidebar.style.minHeight="",this.sidebar.removeEventListener("update"+m,this);var t={inner:{},outer:{}};for(var e in t.inner={position:"",top:"",left:"",bottom:"",width:"",transform:""},t.outer={height:"",position:""},t.outer)this.sidebar.style[e]=t.outer[e];for(var n in t.inner)this.sidebarInner.style[n]=t.inner[n];this.options.resizeSensor&&"undefined"!==typeof ResizeSensor&&(ResizeSensor.detach(this.sidebarInner,this.handleEvent),ResizeSensor.detach(this.container,this.handleEvent))}}])&&f(e.prototype,n),i&&f(e,i),t}()),y=v;function b(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}window.StickySidebar=v;!function(t){document;var e=window,n=t("html,body"),i="SidebarUI",o="js".concat(i),r=function(){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e)}var r,a,l;return r=e,l=[{key:"init",value:function(){if(this.dispose(),t(".".concat(o)).length){console.log("Initializing: ".concat(i));var e=new y(".".concat(o),{innerWrapperSelector:".".concat(o,"__inner")});n.on("".concat(s.a.SCROLL," ").concat(s.a.RESIZE),(function(t){e.updateSticky(t)}))}}},{key:"dispose",value:function(){console.log("Destroying: ".concat(i))}}],(a=null)&&b(r.prototype,a),l&&b(r,l),e}();t(e).on("".concat(s.a.AJAX," ").concat(s.a.LOADED),(function(){r.init()})),e.SidebarUI=new r}($);var _=n("./src/js/_consts.js");function w(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var E=function(t){return function(){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e)}var n,i,o;return n=e,o=[{key:"show",value:function(e){t("#PageLoading").show(0,e)}},{key:"hide",value:function(e){t("#PageLoading").hide("slow",e)}}],(i=null)&&w(n.prototype,i),o&&w(n,o),e}()}(o.a);function T(t){return(T="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var C=function(t){var e=window,n=document,i=t("html"),o=t("body"),r="jsAjaxUI",a=function(){function i(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),this._element=e;var n=t(this._element);n.addClass("".concat(r,"-active")),n.bind("click",(function(e){e.preventDefault();var n=t(this);t(".ajax").each((function(){var e=t(this);e.removeClass("active"),e.parents(".nav-item").removeClass("active")})),n.addClass("loading"),i.load(n.attr("href"),(function(){n.removeClass("loading"),n.parents(".nav-item").addClass("active"),n.addClass("active")}))}))}var a,l,c;return a=i,c=[{key:"load",value:function(n,r){E.show((function(){o.removeClass("loaded")})),e.MainUI.updateLocation(n);var s=e.URLDetails.base+e.URLDetails.relative.substring(1);s!==e.location.href&&e.history.pushState({ajax:!0,page:s},document.title,s),t.ajax({sync:!1,async:!0,url:n,dataType:"json",method:"GET",cache:!1,error:function(t){console.warn("AJAX request failure: ".concat(t.statusText)),e.location.href=n,"function"===typeof e.ga&&e.ga("send","event","error","AJAX ERROR",t.statusText)},success:function(t,n,o){i.process(t,o,r),"function"===typeof e.ga&&(e.ga("set",{page:e.URLDetails.relative+e.URLDetails.hash,title:o.getResponseHeader("X-Title")}),e.ga("send","pageview"))}})}},{key:"process",value:function(r,a,l){var c=this,u=a.getResponseHeader("X-Include-CSS").split(",")||[],d=a.getResponseHeader("X-Include-JS").split(",")||[];if("object"===T(r.regions))for(var h in r.regions)"string"===typeof r.regions[h]&&i.replaceRegion(r.regions[h],h);t('link[type="text/css"]').each((function(){var e=u.indexOf(t(this).attr("href"));e>-1?u.splice(e,1):o.data("unload-blocked")||(console.log("Unloading: ".concat(t(this).attr("href"))),t(this).remove())})),t('script[type="text/javascript"]').each((function(){var e=d.indexOf(t(this).attr("src"));e>-1?d.splice(e,1):o.data("unload-blocked")||(console.log("Unloading: ".concat(t(this).attr("src"))),t(this).remove())})),this.preload(u).then((function(){var i=t("head");u.forEach((function(t){i.append('<link rel="stylesheet" type="text/css" href="'.concat(t,'" />'))})),c.preload(d,"script").then((function(){if(d.forEach((function(t){o.append('<script type="text/javascript" charset="UTF-8" src="'.concat(t,'"><\/script>'))})),console.log("New page is loaded!"),"object"===T(r.events))for(var i in r.events)t(n).trigger(i,[r.events[i]]);"undefined"!==typeof l&&l(),t(e).trigger(s.a.AJAX)}))}))}},{key:"preload",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"text",i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e.length)return t.Deferred().resolve().promise();var r=[];return e.forEach((function(e,s){var a=t.Deferred();t.ajax({dataType:n,cache:i,url:e}).always((function(){a.resolve(),o&&o(s,e)})),r.push(a)})),t.when.apply(t,r)}},{key:"replaceRegion",value:function(e,n){var i=t('[data-ajax-region="'.concat(n,'"]'));i.length?i.empty().append(e):console.warn("Region returned without class or id!")}},{key:"_jQueryInterface",value:function(){return this.each((function(){var e=t(this),n=e.data("jsAjaxUI");n||(n=new i(this),e.data("jsAjaxUI",n))}))}}],(l=[{key:"dispose",value:function(){t(this._element).removeClass("".concat(r,"-active")),t.removeData(this._element,"jsAjaxUI"),this._element=null}}])&&S(a.prototype,l),c&&S(a,c),i}();return t.fn[r]=a._jQueryInterface,t.fn[r].Constructor=a,t.fn[r].noConflict=function(){return t.fn[r]=JQUERY_NO_CONFLICT,a._jQueryInterface},t(".ajax").ready((function(){t(".ajax").jsAjaxUI()})),t(n).on("layoutRefresh",(function(t,e){n.title=e.Title,i.attr("class",""),e.ClassName&&i.addClass(e.ClassName)})),e.onpopstate=function(i){var o=t('a[href^="'.concat(n.location,'"]'));null!==i.state&&i.state.ajax?(console.log("GOBACK (AJAX state)"),a.load(i.state.page)):o.length&&o.hasClass("ajax")?(console.log("GOBACK (AJAX link)"),o.trigger("click")):(console.log("GOBACK (HTTP)"),e.location.href=n.location)},a}(o.a);n("./node_modules/select2/dist/js/select2.js");function O(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var x=function(t){var e="jsFormFieldUI",n=e,i=t("html, body"),o=function(){function o(i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o);var r=this;return r.$el=t(i),r.shown=!0,r.$el.data(n,r),r.vals={val:r.$el.val(),checked:r.$el.is(":checked")},r.$el.parents(".optionset").not(".field").removeClass("collapse"),r.$collapse=r.$el.parents(".field.collapse").not(".composite").first(),r.$collapse.length&&(r.$el.removeClass("collapse"),r.$collapse.on("show.bs.collapse",(function(t){r.show()})),r.$collapse.on("hidden.bs.collapse",(function(t){r.hide()}))),r.$el.addClass("".concat(e,"-active")),r}var r,s,a;return r=o,a=[{key:"_jQueryInterface",value:function(){return this.each((function(){var e=t(this),i=e.data(n);i||(i=new o(this),e.data(n,i))}))}}],(s=[{key:"dispose",value:function(){var i=this.$el;i.removeClass("".concat(e,"-active")),t.removeData(i[0],n)}},{key:"show",value:function(){var t=this.$el;this.restore(),this.shown=!0,t.trigger("shown.".concat(e))}},{key:"hide",value:function(){var t=this.$el;this.wipe(),this.shown=!1,t.trigger("hidden.".concat(e))}},{key:"wipe",value:function(){var t=this.$el;this.vals={name:t.attr("name"),val:t.val(),checked:t.is(":checked")},t.val(""),t.prop("checked",!1)}},{key:"restore",value:function(){var t=this.$el,e=this.vals.checked;t.val(this.vals.val),t.prop("checked",e)}},{key:"addMessage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=this,r=o.$el.closest(".field");if(r.addClass("has-message"),t&&r.append('<div class="message alert '.concat(e,'">').concat(t,"</div>")),n){var s=r.offset().top;r.focus(),i.scrollTop(s-100)}}},{key:"removeMessages",value:function(){var t=this.$el.closest(".field");t.removeClass("has-message"),t.find(".message").remove()}}])&&O(r.prototype,s),a&&O(r,a),o}();return t.fn[e]=o._jQueryInterface,t.fn[e].Constructor=o,t.fn[e].noConflict=function(){return t.fn[e]=JQUERY_NO_CONFLICT,o._jQueryInterface},o}(o.a);function A(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}!function(t){var e="jsFormBasics",n=(t("html, body"),window),i=(document,function(){function n(i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);var o=t(i);this._el=i,o.data("jsFormBasics",this);var r=o.find(s.a.FORM_FIELDS);r.each((function(t,e){new x(e)}));var a=o.find("select:not([readonly])"),l=o.find('input[type="radio"]');a.each((function(e,n){t(n).select2()})),r.each((function(e,n){var i=t(n);(i.hasClass("required")||i.attr("aria-required"))&&i.closest(".field").addClass("required")})),l.each((function(e,n){var i=t(n);i.is(":checked")&&i.parents(".radio").addClass("checked")})),l.on("change",(function(e){var n=t(e.currentTarget),i=n.parents(".radio");i.siblings(".radio").each((function(e,n){var i=t(n);i.find("input").is(":checked")||i.removeClass("checked")})),n.is(":checked")&&i.addClass("checked")})),o.on("submit",(function(t){E.show()})),o.addClass("".concat(e,"-active")),o.trigger(s.a.FORM_INIT_BASICS)}var i,o,r;return i=n,r=[{key:"_jQueryInterface",value:function(){var e=this;return this.each((function(){var i=t(e),o=i.data("jsFormBasics");o||(o=new n(e),i.data("jsFormBasics",o))}))}}],(o=[{key:"dispose",value:function(){var n=t(this._el);n.find("select:not([readonly])").each((function(e,n){t(n).select2("destroy")})),n.removeClass("".concat(e,"-active")),t.removeData(this._el,"jsFormBasics"),this._el=null}}])&&A(i.prototype,o),r&&A(i,r),n}());t.fn[e]=i._jQueryInterface,t.fn[e].Constructor=i,t.fn[e].noConflict=function(){return t.fn[e]=JQUERY_NO_CONFLICT,i._jQueryInterface};t(n).on("".concat(s.a.AJAX," ").concat(s.a.LOADED),(function(){t("form").jsFormBasics()}))}(o.a);var D=n("./node_modules/smooth-scroll/dist/smooth-scroll.polyfills.min.js");function j(t){return function(t){if(Array.isArray(t))return I(t)}(t)||function(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"===typeof t)return I(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function k(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var L=n.n(D)()();!function(t){var e=window,n=document,i=t("body"),o="MainUI",r=t("#AlertNotify"),a=t("#SiteWideMessage");n.addEventListener("visibilitychange",(function(){"hidden"===n.visibilityState?(console.log("Tab: hidden"),i.addClass("is-hidden"),i.trigger(s.a.TABHIDDEN)):(console.log("Tab: focused"),i.removeClass("is-hidden"),i.trigger(s.a.TABFOCUSED))}));var l=function(){navigator.onLine?(console.log("Tab: online"),i.removeClass("is-offline"),i.trigger(s.a.ONLINE)):(console.log("Tab: offline"),i.addClass("is-offline"),i.trigger(s.a.OFFLINE))};"undefined"!==typeof navigator.onLine&&(e.addEventListener("offline",(function(){l()}),!1),e.addEventListener("online",(function(){l()}),!1),e.addEventListener("load",(function(){l()})));var c=setInterval((function(){i.hasClass("is-offline")||t.ajax({sync:!1,async:!0,cache:!1,url:"/Security/ping",global:!1,type:"POST",complete:function(t,e){"success"!==e?(clearInterval(c),i.addClass("is-offline")):i.removeClass("is-offline")}})}),3e5);e.URLDetails={base:t("base").attr("href"),relative:"/",hash:""};var u=!1,d=function(n){e.IsTouchScreen===n||u||(u=!0,e.IsTouchScreen=n,t.support.touch=e.IsTouchScreen,n?console.log("".concat(o,": Touch screen enabled")):console.log("".concat(o,": Touch screen disabled")),setTimeout((function(){u=!1}),200))};d("ontouchstart"in window||navigator.msMaxTouchPoints>0),n.addEventListener("touchmove",(function(){d(!0)})),n.addEventListener("touchstart",(function(){d(!0)}));var h=function(){function l(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l)}var c,u,d;return c=l,d=[{key:"init",value:function(){this.dispose(),console.log("Initializing: ".concat(o)),this.updateLocation(),"caches"in e&&t("a.offline").addClass("offline-available"),this.loadImages(),this.detectBootstrapScreenSize(),t('a.external,a[rel="external"]').attr("target","_blank"),t(".js-scrollTo").on("click",(function(e){e.preventDefault();var i,o,r=e.currentTarget,s=t(e.currentTarget);i=r,o=s.attr("data-target"),L.animateScroll(n.querySelector(o),i,{speed:500,offset:-20})})),t("[data-extfont]").length&&t.getScript("//ajax.googleapis.com/ajax/libs/webfont/1/webfont.js",(function(){var n=[];t("[data-extfont]").each((function(e,i){n[e]=t(i).attr("data-extfont")})),e.WebFont.load({google:{families:n}})})),t("[data-set-target]").on("click",(function(e){var n=t(e.currentTarget),i=t(n.data("set-target"));i.length&&(i.each((function(e,i){var o=t(i),r=o.prop("tagName").toLowerCase();"input"===r||"select"===r?o.val(n.data("set-val")):o.hasClass("field")||o.text(n.data("set-val"))})),n.trigger(s.a.SET_TARGET_UPDATE),i.closest("form").trigger(s.a.SET_TARGET_UPDATE))})),t(".a[data-href]").on("click",(function(n){var i=t(n.currentTarget),o=i.data("href");o.length||(console.warn("Missing data-href"),console.warn(i)),e.location.assign(o)})),E.hide((function(){i.addClass("loaded")})),e.URLDetails.hash.indexOf("printpage")>-1&&e.print(),i.data(o,this)}},{key:"detectBootstrapScreenSize",value:function(){var e=t('<div class="env-test"></div>'),n=j(_.a.ENVS);i.append(e);var o=n.shift();n=n.reverse();for(var r=0;r<n.length;++r){var s=n[r];if(e.addClass("d-".concat(s,"-none")),e.is(":hidden")){o=s;break}}return e.remove(),i.removeClass(n),i.addClass(o),o}},{key:"updateLocation",value:function(t){var n=t||e.location.href,i=(n=n.replace(e.URLDetails.base,"/")).indexOf("#");e.URLDetails.relative=n.split("#")[0],e.URLDetails.hash=i>=0?n.substr(n.indexOf("#")):""}},{key:"alert",value:function(n,i){a.fadeOut("fast"),a.html('<div class="page-alert"><div class="alert alert-'.concat(i,'"><i class="close" data-dismiss="alert">&times;</i>').concat(n,"</div></div>")),a.find(".page-alert").alert(),a.find('.close[data-dismiss="alert"]').click((function(){a.fadeOut("slow",(function(){a.find(".page-alert").alert("close")}))})),a.fadeIn("slow"),r.length&&r[0].play(),t(e).trigger("".concat(s.a.ALLERTAPPEARED))}},{key:"alertHide",value:function(){0!==a.length&&a.fadeOut("slow",(function(){a.find(".alert").alert("close")})),r.length&&"undefined"!==typeof r[0].stop&&r[0].stop(),t(e).trigger("".concat(s.a.ALLERTREMOVED))}},{key:"loadImages",value:function(){var n=i.find("img"),o=[],r=[];n.each((function(e,n){var i=t(n),a=i.attr("src"),l=i.data("lazy-src");a&&a.length&&o.push(a),l&&l.length&&(r.push(l),i.addClass("loading"),C.preload([l]).then((function(){i.attr("src",l),i.addClass("loaded"),i.removeClass("loading"),i.trigger("".concat(s.a.LAZYIMAGEREADY))})))})),i.find("[data-lazy-bg]").each((function(e,n){var i=t(n),o=i.data("lazy-bg");o&&o.length&&(r.push(o),i.addClass("loading"),C.preload([o]).then((function(){i.css({"background-image":"url(".concat(o,")")}),i.addClass("loaded"),i.removeClass("loading"),i.trigger("".concat(s.a.LAZYIMAGEREADY))})))})),C.preload(o).then((function(){t(e).trigger("images-loaded"),C.preload(r).then((function(){console.log("All images are loaded!"),setTimeout((function(){t(e).trigger("".concat(s.a.LAZYIMAGESREADY))}),100)}))}))}},{key:"dispose",value:function(){console.log("Destroying: ".concat(o))}}],(u=null)&&k(c.prototype,u),d&&k(c,d),l}();t(e).on("".concat(s.a.AJAX," ").concat(s.a.LOADED),(function(){h.init()})),t(e).on("resize",(function(){h.detectBootstrapScreenSize()})),t(e).on("beforeunload unload",(function(){E.show((function(){i.removeClass("loaded")}))})),e.MainUI=h}(o.a);function P(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(function(t){var e="jsVideoPreviewUI",n=e,i=(window,document,function(){function i(o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),console.log("Initializing: ".concat(e));var r=this;r.$_el=t(o),r.innerHTML=r.$_el[0].innerHTML,r.$_el.data(n,this);var s,a=r.$_el.attr("href")||r.$_el.data("href");if(s=a.match(/(youtube|youtube-nocookie|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/)){var l;if("youtube"!==s[1]&&"youtube-nocookie"!==s[1]&&"youtu"!==s[1]||(l=function(t){return parsedURL=t.split(/(vi\/|v%3D|v=|\/v\/|youtu\.be\/|\/embed\/)/),void 0!==parsedURL[2]?parsedURL[2].split(/[^0-9a-z_-]/i)[0]:parsedURL[0]}(a)),"vimeo"==s[1])return l=s[3],r.$_el.addClass("loading"),void t.ajax({type:"GET",url:"https://vimeo.com/api/v2/video/".concat(l,".json"),jsonp:"callback",dataType:"jsonp",success:function(t){var e=t[0].thumbnail_large;r.show(e),r.$_el.removeClass("loading")}});l&&r.show("//i3.ytimg.com/vi/".concat(l,"/0.jpg"))}}var o,r,s;return o=i,s=[{key:"dispose",value:function(){console.log("Destroying: ".concat(e)),ui.$_el[0].innerHTML=ui.innerHTML}},{key:"_jQueryInterface",value:function(){return this.each((function(e,o){var r=t(o),s=r.data(n);s||(s=new i(o),r.data(n,s))}))}}],(r=[{key:"show",value:function(t){this.$_el[0].innerHTML="",this.$_el.append('<img src="'.concat(t,'" alt="Video" />'))}}])&&P(o.prototype,r),s&&P(o,s),i}());t.fn[e]=i._jQueryInterface,t.fn[e].Constructor=i,t.fn[e].noConflict=function(){return t.fn[e]=JQUERY_NO_CONFLICT,i._jQueryInterface},t(window).on("".concat(s.a.AJAX," ").concat(s.a.LOADED),(function(){t('[data-video-preview="true"]').jsVideoPreviewUI()}))})(o.a),n("./node_modules/@a2nt/meta-lightbox/src/scss/index.scss"),n("./node_modules/@a2nt/meta-lightbox/src/js/meta-lightbox.js");function N(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}(function(t){var e=window,n=(document,t("body")),i=function(){function i(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i)}var o,r,a;return o=i,a=[{key:"init",value:function(){this.dispose(),console.log("Initializing: ".concat("LayoutUI")),t(e).trigger(s.a.LODEDANDREADY),n.append('<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,400i,700,700i&display=swap" rel="stylesheet">')}},{key:"dispose",value:function(){console.log("Destroying: ".concat("LayoutUI"))}}],(r=null)&&N(o.prototype,r),a&&N(o,a),i}();t(e).on("".concat(s.a.AJAX," ").concat(s.a.LOADED),(function(){i.init()})),e.LayoutUI=i})(o.a),n("./src/js/_components/drivers/_google.track.external.links.js");function R(t){return t.keys().map(t)}R(n("./src/img sync \\.(png|jpe?g|svg)$")),R(n("./node_modules/font-awesome sync \\.(otf|eot|svg|ttf|woff|woff2)$"))},"./src/scss/app.scss":function(t,e){},jquery:function(t,e){t.exports=jQuery}});
//# sourceMappingURL=app.js.map