PageSourceSearch

https://verracy.com/wp-content/themes/altcsmartv3/assets/js/vendor_bundle.min.js

js verracy.com collected 2026-10-07 00:27:02 UTC 411,151 bytes, 2 lines download raw bytes

1/*! Vendors v3.0.6 */
2!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t((e=e||self).bootstrap={},e.jQuery)}(this,(function(e,t){"use strict";function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){o(e,t,n[t])}))}return e}t=t&&t.hasOwnProperty("default")?t.default:t;var a="transitionend";function s(e){var n=this,i=!1;return t(this).one(l.TRANSITION_END,(function(){i=!0})),setTimeout((function(){i||l.triggerTransitionEnd(n)}),e),this}var l={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){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(e){return e.offsetHeight},triggerTransitionEnd:function(e){t(e).trigger(a)},supportsTransitionEnd:function(){return Boolean(a)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=t[i],a=r&&l.isElement(r)?"element":(s=r,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(a))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+o+'".')}var s},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?l.findShadowRoot(e.parentNode):null}};t.fn.emulateTransitionEnd=s,t.event.special[l.TRANSITION_END]={bindType:a,delegateType:a,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var c=t.fn.alert,d={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},u="alert",h="fade",p="show",f=function(){function e(e){this._element=e}var n=e.prototype;return n.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},n.dispose=function(){t.removeData(this._element,"bs.alert"),this._element=null},n._getRootElement=function(e){var n=l.getSelectorFromElement(e),i=!1;return n&&(i=document.querySelector(n)),i||(i=t(e).closest("."+u)[0]),i},n._triggerCloseEvent=function(e){var n=t.Event(d.CLOSE);return t(e).trigger(n),n},n._removeElement=function(e){var n=this;if(t(e).removeClass(p),t(e).hasClass(h)){var i=l.getTransitionDurationFromElement(e);t(e).one(l.TRANSITION_END,(function(t){return n._destroyElement(e,t)})).emulateTransitionEnd(i)}else this._destroyElement(e)},n._destroyElement=function(e){t(e).detach().trigger(d.CLOSED).remove()},e._jQueryInterface=function(n){return this.each((function(){var i=t(this),o=i.data("bs.alert");o||(o=new e(this),i.data("bs.alert",o)),"close"===n&&o[n](this)}))},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},i(e,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),e}();t(document).on(d.CLICK_DATA_API,'[data-dismiss="alert"]',f._handleDismiss(new f)),t.fn.alert=f._jQueryInterface,t.fn.alert.Constructor=f,t.fn.alert.noConflict=function(){return t.fn.alert=c,f._jQueryInterface};var m=t.fn.button,g="active",v="btn",y="focus",b='[data-toggle^="button"]',w='[data-toggle="buttons"]',_='input:not([type="hidden"])',S=".active",O=".btn",x={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},k=function(){function e(e){this._element=e}var n=e.prototype;return n.toggle=function(){var e=!0,n=!0,i=t(this._element).closest(w)[0];if(i){var o=this._element.querySelector(_);
2if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains(g))e=!1;else{var r=i.querySelector(S);r&&t(r).removeClass(g)}if(e){if(o.hasAttribute("disabled")||i.hasAttribute("disabled")||o.classList.contains("disabled")||i.classList.contains("disabled"))return;o.checked=!this._element.classList.contains(g),t(o).trigger("change")}o.focus(),n=!1}}n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(g)),e&&t(this._element).toggleClass(g)},n.dispose=function(){t.removeData(this._element,"bs.button"),this._element=null},e._jQueryInterface=function(n){return this.each((function(){var i=t(this).data("bs.button");i||(i=new e(this),t(this).data("bs.button",i)),"toggle"===n&&i[n]()}))},i(e,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),e}();t(document).on(x.CLICK_DATA_API,b,(function(e){e.preventDefault();var n=e.target;t(n).hasClass(v)||(n=t(n).closest(O)),k._jQueryInterface.call(t(n),"toggle")})).on(x.FOCUS_BLUR_DATA_API,b,(function(e){var n=t(e.target).closest(O)[0];t(n).toggleClass(y,/^focus(in)?$/.test(e.type))})),t.fn.button=k._jQueryInterface,t.fn.button.Constructor=k,t.fn.button.noConflict=function(){return t.fn.button=m,k._jQueryInterface};var E="carousel",C=".bs.carousel",T=t.fn[E],D={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},I={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},j="next",A="prev",W="left",M="right",L={SLIDE:"slide.bs.carousel",SLID:"slid.bs.carousel",KEYDOWN:"keydown.bs.carousel",MOUSEENTER:"mouseenter.bs.carousel",MOUSELEAVE:"mouseleave.bs.carousel",TOUC
2HSTART:"touchstart.bs.carousel",TOUCHMOVE:"touchmove.bs.carousel",TOUCHEND:"touchend.bs.carousel",POINTERDOWN:"pointerdown.bs.carousel",POINTERUP:"pointerup.bs.carousel",DRAG_START:"dragstart.bs.carousel",LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},N="carousel",P="active",H="slide",R="carousel-item-right",$="carousel-item-left",Y="carousel-item-next",V="carousel-item-prev",F="pointer-event",z={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",ITEM_IMG:".carousel-item img",NEXT_PREV:".carousel-item-next, .carousel-item-prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},Q={TOUCH:"touch",PEN:"pen"},B=function(){function e(e,t){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(t),this._element=e,this._indicatorsElement=this._element.querySelector(z.INDICATORS),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=e.prototype;return n.next=function(){this._isSliding||this._slide(j)},n.nextWhenVisible=function(){!document.hidden&&t(this._element).is(":visible")&&"hidden"!==t(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide(A)},n.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(z.NEXT_PREV)&&(l.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(e){e||(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))},n.to=function(e){var n=this;this._activeElement=this._element.querySelector(z.ACTIVE_ITEM);var i=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)t(this._element).one(L.SLID,(function(){return n.to(e)}));else{if(i===e)return this.pause(),void this.cycle();var o=e>i?j:A;this._slide(o,this._items[e])}},n.dispose=function(){t(this._element).off(C),t.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(e){return e=r({},D,e),l.typeCheckConfig(E,e,I),e},n._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;t>0&&this.prev(),t<0&&this.next()}},n._addEventListeners=function(){var e=this;this._config.keyboard&&t(this._element).on(L.KEYDOWN,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&t(this._element).on(L.MOUSEENTER,(function(t){return e.pause(t)})).on(L.MOUSELEAVE,(function(t){return e.cycle(t)})),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var n=function(t){e._pointerEvent&&Q[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){e._pointerEvent&&Q[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(z.ITEM_IMG)).on(L.DRAG_START,(function(e){return e.preventDefault()})),this._pointerEvent?(t(this._element).on(L.POINTERDOWN,(function(e){return n(e)})),t(this._element).on(L.POINTERUP,(function(e){return i(e)})),this._element.classList.add(F)):(t(this._element).on(L.TOUCHSTART,(function(e){return n(e)})),t(this._element).on(L.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(L.TOUCHEND,(function(e){return i(e)})))}},n._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},n._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(z.ITEM)):[],this._items.indexOf(e)},n._getItemByDirection=function(e,t){var n=e===j,i=e===A,o=this._getItemIndex(t),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return t;var a=(o+(e===A?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},n._triggerSlideEvent=function(e,n){var i=this._getItemIndex(e),o=this._getItemIndex(this._element.querySelector(z.ACTIVE_ITEM)),r=t.Event(L.SLIDE,{relatedTarget:e,direction:n,from:o,to:i});return t(this._element).trigger(r),r},n._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(z.ACTIVE));t(n).removeClass(P);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&t(i).addClass(P)}},n._slide=function(e,n){var i,o,r,a=this,s=this._element.querySelector(z.ACTIVE_ITEM),c=this._getItemIndex(s),d=n||s&&this._getItemByDirection(e,s),u=this._getItemIndex(d),h=Boolean(this._interval);if(e===j?(i=$,o=Y,r=W):(i=R,o=V,r=M),d&&t(d).hasClass(P))this._isSliding=!1;else if(!this._triggerSlideEvent(d,r).isDefaultPrevented()&&s&&d){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(d);var p=t.Event(L.SLID,{relatedTarget:d,direction:r,from:c,to:u});if(t(this._element).hasClass(H)){t(d).addClass(o),l.reflow(d),t(s).addClass(i),t(d).addClass(i);var f=parseInt(d.getAttribute("data-interval"),10);f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=f):this._config.interval=this._config.defaultInterval||this._config.interval;var m=l.getTransitionDurationFromElement(s);t(s).one(l.TRANSITION_END,(function(){t(d).removeClass(i+" "+o).addClass(P),t(s).removeClass(P+" "+o+" "+i),a._isSliding=!1,setTimeout((function(){return t(a._element).trigger(p)}),0)})).emulateTransitionEnd(m)}else t(s).removeClass(P),t(d).addClass(P),this._isSliding=!1,t(this._element).trigger(p);h&&this.cycle()}},e._jQueryInterface=function(n){return this.each((function(){var i=t(this).data("bs.carousel"),o=r({},D,t(this).data());"object"==typeof n&&(o=r({},o,n));var a="string"==typeof n?n:o.slide;if(i||(i=new e(this,o),t(this).data("bs.carousel",i)),"number"==typeof n)i.to(n);else if("string"==typeof a){if(void 0===i[a])throw new TypeError('No method n
2amed "'+a+'"');i[a]()}else o.interval&&o.ride&&(i.pause(),i.cycle())}))},e._dataApiClickHandler=function(n){var i=l.getSelectorFromElement(this);if(i){var o=t(i)[0];if(o&&t(o).hasClass(N)){var a=r({},t(o).data(),t(this).data()),s=this.getAttribute("data-slide-to");s&&(a.interval=!1),e._jQueryInterface.call(t(o),a),s&&t(o).data("bs.carousel").to(s),n.preventDefault()}}},i(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return D}}]),e}();t(document).on(L.CLICK_DATA_API,z.DATA_SLIDE,B._dataApiClickHandler),t(window).on(L.LOAD_DATA_API,(function(){for(var e=[].slice.call(document.querySelectorAll(z.DATA_RIDE)),n=0,i=e.length;n<i;n++){var o=t(e[n]);B._jQueryInterface.call(o,o.data())}})),t.fn[E]=B._jQueryInterface,t.fn[E].Constructor=B,t.fn[E].noConflict=function(){return t.fn[E]=T,B._jQueryInterface};var U="collapse",G=t.fn[U],q={toggle:!0,parent:""},X={toggle:"boolean",parent:"(string|element)"},K={SHOW:"show.bs.collapse",SHOWN:"shown.bs.collapse",HIDE:"hide.bs.collapse",HIDDEN:"hidden.bs.collapse",CLICK_DATA_API:"click.bs.collapse.data-api"},Z="show",J="collapse",ee="collapsing",te="collapsed",ne="width",ie="height",oe={ACTIVES:".show, .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},re=function(){function e(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(oe.DATA_TOGGLE)),i=0,o=n.length;i<o;i++){var r=n[i],a=l.getSelectorFromElement(r),s=[].slice.call(document.querySelectorAll(a)).filter((function(t){return t===e}));null!==a&&s.length>0&&(this._selector=a,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var n=e.prototype;return n.toggle=function(){t(this._element).hasClass(Z)?this.hide():this.show()},n.show=function(){var n,i,o=this;if(!this._isTransitioning&&!t(this._element).hasClass(Z)&&(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(oe.ACTIVES)).filter((function(e){return"string"==typeof o._config.parent?e.getAttribute("data-parent")===o._config.parent:e.classList.contains(J)}))).length&&(n=null),!(n&&(i=t(n).not(this._selector).data("bs.collapse"))&&i._isTransitioning))){var r=t.Event(K.SHOW);if(t(this._element).trigger(r),!r.isDefaultPrevented()){n&&(e._jQueryInterface.call(t(n).not(this._selector),"hide"),i||t(n).data("bs.collapse",null));var a=this._getDimension();t(this._element).removeClass(J).addClass(ee),this._element.style[a]=0,this._triggerArray.length&&t(this._triggerArray).removeClass(te).attr("aria-expanded",!0),this.setTransitioning(!0);var s="scroll"+(a[0].toUpperCase()+a.slice(1)),c=l.getTransitionDurationFromElement(this._element);t(this._element).one(l.TRANSITION_END,(function(){t(o._element).removeClass(ee).addClass(J).addClass(Z),o._element.style[a]="",o.setTransitioning(!1),t(o._element).trigger(K.SHOWN)})).emulateTransitionEnd(c),this._element.style[a]=this._element[s]+"px"}}},n.hide=function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(Z)){var n=t.Event(K.HIDE);if(t(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",l.reflow(this._element),t(this._element).addClass(ee).removeClass(J).removeClass(Z);var o=this._triggerArray.length;if(o>0)for(var r=0;r<o;r++){var a=this._triggerArray[r],s=l.getSelectorFromElement(a);if(null!==s)t([].slice.call(document.querySelectorAll(s))).hasClass(Z)||t(a).addClass(te).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[i]="";var c=l.getTransitionDurationFromElement(this._element);t(this._element).one(l.TRANSITION_END,(function(){e.setTransitioning(!1),t(e._element).removeClass(ee).addClass(J).trigger(K.HIDDEN)})).emulateTransitionEnd(c)}}},n.setTransitioning=function(e){this._isTransitioning=e}
vendor: 11,937 bytes, line 2
2,n.dispose=function(){t.removeData(this._element,"bs.collapse"),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},n._getConfig=function(e){return(e=r({},q,e)).toggle=Boolean(e.toggle),l.typeCheckConfig(U,e,X),e},n._getDimension=function(){return t(this._element).hasClass(ne)?ne:ie},n._getParent=function(){var n,i=this;l.isElement(this._config.parent)?(n=this._config.parent,void 0!==this._config.parent.jquery&&(n=this._config.parent[0])):n=document.querySelector(this._config.parent);var o='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',r=[].slice.call(n.querySelectorAll(o));return t(r).each((function(t,n){i._addAriaAndCollapsedClass(e._getTargetFromElement(n),[n])})),n},n._addAriaAndCollapsedClass=function(e,n){var i=t(e).hasClass(Z);n.length&&t(n).toggleClass(te,!i).attr("aria-expanded",i)},e._getTargetFromElement=function(e){var t=l.getSelectorFromElement(e);return t?document.querySelector(t):null},e._jQueryInterface=function(n){return this.each((function(){var i=t(this),o=i.data("bs.collapse"),a=r({},q,i.data(),"object"==typeof n&&n?n:{});if(!o&&a.toggle&&/show|hide/.test(n)&&(a.toggle=!1),o||(o=new e(this,a),i.data("bs.collapse",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n]()}}))},i(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return q}}]),e}();t(document).on(K.CLICK_DATA_API,oe.DATA_TOGGLE,(function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var n=t(this),i=l.getSelectorFromElement(this),o=[].slice.call(document.querySelectorAll(i));t(o).each((function(){var e=t(this),i=e.data("bs.collapse")?"toggle":n.data();re._jQueryInterface.call(e,i)}))})),t.fn[U]=re._jQueryInterface,t.fn[U].Constructor=re,t.fn[U].noConflict=function(){return t.fn[U]=G,re._jQueryInterface};for(var ae="undefined"!=typeof window&&"undefined"!=typeof document,se=["Edge","Trident","Firefox"],le=0,ce=0;ce<se.length;ce+=1)if(ae&&navigator.userAgent.indexOf(se[ce])>=0){le=1;break}var de=ae&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),le))}};function ue(e){return e&&"[object Function]"==={}.toString.call(e)}function he(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function pe(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function fe(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=he(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?e:fe(pe(e))}var me=ae&&!(!window.MSInputMethodContext||!document.documentMode),ge=ae&&/MSIE 10/.test(navigator.userAgent);function ve(e){return 11===e?me:10===e?ge:me||ge}function ye(e){if(!e)return document.documentElement;for(var t=ve(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===he(n,"position")?ye(n):n:e?e.ownerDocument.documentElement:document.documentElement}function be(e){return null!==e.parentNode?be(e.parentNode):e}function we(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,l=r.commonAncestorContainer;if(e!==l&&t!==l||i.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&ye(a.firstElementChild)!==a?ye(l):l;var c=be(e);return c.host?we(c.host,t):we(e,be(t).host)}function _e(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var i=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||i)[t]}return e[t]}function Se(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function Oe(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],ve(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function xe(e){var t=e.body,n=e.documentElement,i=ve(10)&&getComputedStyle(n);return{height:Oe("Height",t,n,i),width:Oe("Width",t,n,i)}}var ke=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},Ee=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),Ce=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e};function De(e){return Te({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Ie(e){var t={};try{if(ve(10)){t=e.getBoundingClientRect();var n=_e(e,"top"),i=_e(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?xe(e.ownerDocument):{},a=r.width||e.clientWidth||o.right-o.left,s=r.height||e.clientHeight||o.bottom-o.top,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var d=he(e);l-=Se(d,"x"),c-=Se(d,"y"),o.width-=l,o.height-=c}return De(o)}function je(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=ve(10),o="HTML"===t.nodeName,r=Ie(e),a=Ie(t),s=fe(e),l=he(t),c=parseFloat(l.borderTopWidth,10),d=parseFloat(l.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=De({top:r.top-a.top-c,left:r.left-a.left-d,width:r.width,height:r.height});if(u.marginTop=0,u.marginLeft=0,!i&&o){var h=parseFloat(l.marginTop,10),p=parseFloat(l.marginLeft,10);u.top-=c-h,u.bottom-=c-h,u.left-=d-p,u.right-=d-p,u.marginTop=h,u.marginLeft=p}return(i&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(u=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=_e(t,"top"),o=_e(t,"left"),r=n?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=o*r,e.right+=o*r,e}(u,t)),u}function Ae(e){if(!e||!e.parentElement||ve())return document.documentElement;for(var t=e.parentElement;t&&"none"===he(t,"transform");)t=t.parentElement;return t||document.documentElement}function We(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},a=o?Ae(e):we(e,t);if("viewport"===i)r=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=je(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:_e(n),s=t?0:_e(n,"left");return De({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r})}(a,o);else{var s=void 0;"scrollParent"===i?"BODY"===(s=fe(pe(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===i?e.ownerDocument.documentElement:i;var l=je(s,a,o);if("HTML"!==s.nodeName||function e(t){var n=t.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===he(t,"position"))return!0;var i=pe(t);return!!i&&e(i)}(a))r=l;else{var c=xe(e.ownerDocument),d=c.height,u=c.width;r.top+=l.top-l.marginTop,r.bottom=d+l.top,r.left+=l.left-l.marginLeft,r.right=u+l.left}}var h="number"==typeof(n=n||0);return r.left+=h?n:n.left||0,r.top+=h?n:n.top||0,r.right-=h?n:n.right||0,r.bottom-=h?n:n.bottom||0,r}function Me(e,t,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=We(n,i,r,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return Te({key:e},s[e],{area:(t=s[e],t.width*t.height)});var t})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight})),d=c.length>0?c[0].key:l[0].key,u=e.split("-")[1];return d+(u?"-"+u:"")}function Le(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return je(n,i?Ae(t):we(t,n),i)}function Ne(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),i=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+i,height:e.offsetHeight+n}}function Pe(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function He(e,t,n){n=n.split("-")[0];var i=Ne(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[a]=t[a]+t[l]/2-i[l]/2,o[s]=n===s?t[s]-i[c]:t[Pe(s)],o}function Re(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function $e(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var i=Re(e,(function(e){return e[t]===n}));return e.indexOf(i)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&ue(n)&&(t.offsets.popper=De(t.offsets.popper),t.offsets.reference=De(t.offsets.reference),t=n(t,e))})),t}function Ye(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Le(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=Me(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=He(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=$e(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Ve(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function Fe(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var o=t[i],r=o?""+o+n:e;if(void 0!==document.body.style[r])return r}return null}function ze(){return this.state.isDestroyed=!0,Ve(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[Fe("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Qe(e){var t=e.ownerDocument;return t?t.defaultView:window}function Be(e,t,n,i){n.updateBound=i,Qe(e).addEventListener("resize",n.updateBound,{passive:!0});var o=fe(e);return function e(t,n,i,o){var r="BODY"===t.nodeName,a=r?t.ownerDocument.defaultView:t;a.addEventListener(n,i,{passive:!0}),r||e(fe(a.parentNode),n,i,o),o.push(a)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Ue(){this.state.eventsEnabled||(this.state=Be(this.reference,this.options,this.state,this.scheduleUpdate))}function Ge(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,Qe(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEac
vendor: 4,136 bytes, line 2
2h((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function qe(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Xe(e,t){Object.keys(t).forEach((function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&qe(t[n])&&(i="px"),e.style[n]=t[n]+i}))}var Ke=ae&&/Firefox/i.test(navigator.userAgent);function Ze(e,t,n){var i=Re(e,(function(e){return e.name===t})),o=!!i&&e.some((function(e){return e.name===n&&e.enabled&&e.order<i.order}));if(!o){var r="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var Je=["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"],et=Je.slice(3);function tt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=et.indexOf(e),i=et.slice(n+1).concat(et.slice(0,n));return t?i.reverse():i}var nt={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function it(e,t,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(Re(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,i){var o=(1===i?!r:r)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,i){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return De(s)[t]/100*r}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,i){qe(n)&&(o[t]+=n*("-"===e[i-1]?-1:1))}))})),o}var ot={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var o=e.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",d={start:Ce({},l,r[l]),end:Ce({},l,r[l]+r[c]-a[c])};e.offsets.popper=Te({},a,d[i])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,i=e.placement,o=e.offsets,r=o.popper,a=o.reference,s=i.split("-")[0],l=void 0;return l=qe(+n)?[+n,0]:it(n,r,a,s),"left"===s?(r.top+=l[0],r.left-=l[1]):"right"===s?(r.top+=l[0],r.left+=l[1]):"top"===s?(r.left+=l[0],r.top-=l[1]):"bottom"===s&&(r.left+=l[0],r.top+=l[1]),e.popper=r,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||ye(e.instance.popper);e.instance.reference===n&&(n=ye(n));var i=Fe("transform"),o=e.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var l=We(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=r,o.left=a,o[i]=s,t.boundaries=l;var c=t.priority,d=e.offsets.popper,u={primary:function(e){var n=d[e];return d[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(d[e],l[e])),Ce({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=d[n];return d[e]>l[e]&&!t.escapeWithReference&&(i=Math.min(d[n],l[e]-("right"===e?d.width:d.height))),Ce({},n,i)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=Te({},d,u[t](e))})),e.offsets.popper=d,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,i=t.reference,o=e.placement.split("-")[0],r=M
vendor: 4,233 bytes, line 2
2ath.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<r(i[l])&&(e.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[s])&&(e.offsets.popper[l]=r(i[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Ze(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=e.offsets,a=r.popper,s=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",d=l?"Top":"Left",u=d.toLowerCase(),h=l?"left":"top",p=l?"bottom":"right",f=Ne(i)[c];s[p]-f<a[u]&&(e.offsets.popper[u]-=a[u]-(s[p]-f)),s[u]+f>a[p]&&(e.offsets.popper[u]+=s[u]+f-a[p]),e.offsets.popper=De(e.offsets.popper);var m=s[u]+s[c]/2-f/2,g=he(e.instance.popper),v=parseFloat(g["margin"+d],10),y=parseFloat(g["border"+d+"Width"],10),b=m-e.offsets.popper[u]-v-y;return b=Math.max(Math.min(a[c]-f,b),0),e.arrowElement=i,e.offsets.arrow=(Ce(n={},u,Math.round(b)),Ce(n,h,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Ve(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=We(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],o=Pe(i),r=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case nt.FLIP:a=[i,o];break;case nt.CLOCKWISE:a=tt(i);break;case nt.COUNTERCLOCKWISE:a=tt(i,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(i!==s||a.length===l+1)return e;i=e.placement.split("-")[0],o=Pe(i);var c=e.offsets.popper,d=e.offsets.reference,u=Math.floor,h="left"===i&&u(c.right)>u(d.left)||"right"===i&&u(c.left)<u(d.right)||"top"===i&&u(c.bottom)>u(d.top)||"bottom"===i&&u(c.top)<u(d.bottom),p=u(c.left)<u(n.left),f=u(c.right)>u(n.right),m=u(c.top)<u(n.top),g=u(c.bottom)>u(n.bottom),v="left"===i&&p||"right"===i&&f||"top"===i&&m||"bottom"===i&&g,y=-1!==["top","bottom"].indexOf(i),b=!!t.flipVariations&&(y&&"start"===r&&p||y&&"end"===r&&f||!y&&"start"===r&&m||!y&&"end"===r&&g);(h||v||b)&&(e.flipped=!0,(h||v)&&(i=a[l+1]),b&&(r=function(e){return"end"===e?"start":"start"===e?"end":e}(r)),e.placement=i+(r?"-"+r:""),e.offsets.popper=Te({},e.offsets.popper,He(e.instance.popper,e.offsets.reference,e.placement)),e=$e(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),e.placement=Pe(t),e.offsets.popper=De(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Ze(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Re(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,i=t.y,o=e.offsets.popper,r=Re(e.instance.modifiers,(function(e){return"applyStyle"===e.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 a=void 0!==r?r:t.gpuAcceleration,s=ye(e.instance.popper),l=Ie(s),c={position:o.position},d=function(e,t){var n=e.offsets,i=n.popper,o=n.reference,r=Math.round,a=Math.floor,s=function(e){return e},l=r(o.width),c=r(i.width),d=-1!==["left","right"].indexOf(e.placement),u=-1!==e.placement.indexOf("-"),h=t?d||u||l%2==c%2?r:a:s,p=t?r:s;return{left:h(l%2==1&&c%2==1&&!u&&t?i.left-1:i.left),top:p(i.top),bottom:p(i.bottom),right:h(i.right)}}(e,window.devicePixelRatio<2||!Ke),u="bottom"===n?"top":"bottom",h="right"===i?"left":"right",p=Fe("transform"),f=void 0,m=void 0;if(m="bottom"===u?"HTML"===s.nodeName?-s.clientHeight+d.bottom:-l.he
2ight+d.bottom:d.top,f="right"===h?"HTML"===s.nodeName?-s.clientWidth+d.right:-l.width+d.right:d.left,a&&p)c[p]="translate3d("+f+"px, "+m+"px, 0)",c[u]=0,c[h]=0,c.willChange="transform";else{var g="bottom"===u?-1:1,v="right"===h?-1:1;c[u]=m*g,c[h]=f*v,c.willChange=u+", "+h}var y={"x-placement":e.placement};return e.attributes=Te({},y,e.attributes),e.styles=Te({},c,e.styles),e.arrowStyles=Te({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Xe(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&Xe(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,i,o){var r=Le(o,t,e,n.positionFixed),a=Me(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),Xe(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},rt=function(){function e(t,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ke(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=de(this.update.bind(this)),this.options=Te({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Te({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){i.options.modifiers[t]=Te({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return Te({name:e},i.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&ue(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)})),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return Ee(e,[{key:"update",value:function(){return Ye.call(this)}},{key:"destroy",value:function(){return ze.call(this)}},{key:"enableEventListeners",value:function(){return Ue.call(this)}},{key:"disableEventListeners",value:function(){return Ge.call(this)}}]),e}();rt.Utils=("undefined"!=typeof window?window:global).PopperUtils,rt.placements=Je,rt.Defaults=ot;var at="dropdown",st=t.fn[at],lt=new RegExp("38|40|27"),ct={HIDE:"hide.bs.dropdown",HIDDEN:"hidden.bs.dropdown",SHOW:"show.bs.dropdown",SHOWN:"shown.bs.dropdown",CLICK:"click.bs.dropdown",CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api",KEYUP_DATA_API:"keyup.bs.dropdown.data-api"},dt="disabled",ut="show",ht="dropup",pt="dropright",ft="dropleft",mt="dropdown-menu-right",gt="position-static",vt='[data-toggle="dropdown"]',yt=".dropdown form",bt=".dropdown-menu",wt=".navbar-nav",_t=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",St="top-start",Ot="top-end",xt="bottom-start",kt="bottom-end",Et="right-start",Ct="left-start",Tt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},Dt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},It=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var n=e.prototype;return n.toggle=function(){if(!this._element.disabled&&!t(this._element).hasClass(dt)){var n=e._getParentFromElement(this._element),i=t(this._menu).hasClass(ut);if(e._clearMenus(),!i){var o={relatedTarget:this._element},r=t.Event(ct.SHOW,o);if(t(n).trigger(r),!r.isDefaultPrevented()){if(!this._inNavbar){if(void 0===rt)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=n:l.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&t(n).addClass(gt),this._popper=new rt(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===t(n).closest(wt).length&&t(document.body).children().on("mouseover",null,t.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),t(this._menu).toggleClass(ut),t(n).toggleClass(ut).trigger(t.Event(ct.SHOWN,o))}}}},n.show=function(){if(!(this._element.disabled||t(this._element).hasClass(dt)||t(this._menu).hasClass(ut))){var n={relatedTarget:this._element},i=t.Event(ct.SHOW,n),o=e._getParentFromElement(this._element);t(o).trigger(i),i.isDefaultPrevented()||(t(this._menu).toggleClass(ut),t(o).toggleClass(ut).trigger(t.Event(ct.SHOWN,n)))}},n.hide=function(){if(!this._element.disabled&&!t(this._element).hasClass(dt)&&t(this._menu).hasClass(ut)){var n={relatedTarget:this._element},i=t.Event(ct.HIDE,n),o=e._getParentFromElement(this._element);t(o).trigger(i),i.isDefaultPrevented()||(t(this._menu).toggleClass(ut),t(o).toggleClass(ut).trigger(t.Event(ct.HIDDEN,n)))}}
2,n.dispose=function(){t.removeData(this._element,"bs.dropdown"),t(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},n.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},n._addEventListeners=function(){var e=this;t(this._element).on(ct.CLICK,(function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}))},n._getConfig=function(e){return e=r({},this.constructor.Default,t(this._element).data(),e),l.typeCheckConfig(at,e,this.constructor.DefaultType),e},n._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(bt))}return this._menu},n._getPlacement=function(){var e=t(this._element.parentNode),n=xt;return e.hasClass(ht)?(n=St,t(this._menu).hasClass(mt)&&(n=Ot)):e.hasClass(pt)?n=Et:e.hasClass(ft)?n=Ct:t(this._menu).hasClass(mt)&&(n=kt),n},n._detectNavbar=function(){return t(this._element).closest(".navbar").length>0},n._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=r({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},n._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),e},e._jQueryInterface=function(n){return this.each((function(){var i=t(this).data("bs.dropdown");if(i||(i=new e(this,"object"==typeof n?n:null),t(this).data("bs.dropdown",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},e._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.querySelectorAll(vt)),o=0,r=i.length;o<r;o++){var a=e._getParentFromElement(i[o]),s=t(i[o]).data("bs.dropdown"),l={relatedTarget:i[o]};if(n&&"click"===n.type&&(l.clickEvent=n),s){var c=s._menu;if(t(a).hasClass(ut)&&!(n&&("click"===n.type&&/input|textarea/i.test(n.target.tagName)||"keyup"===n.type&&9===n.which)&&t.contains(a,n.target))){var d=t.Event(ct.HIDE,l);t(a).trigger(d),d.isDefaultPrevented()||("ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),i[o].setAttribute("aria-expanded","false"),t(c).removeClass(ut),t(a).removeClass(ut).trigger(t.Event(ct.HIDDEN,l)))}}}},e._getParentFromElement=function(e){var t,n=l.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},e._dataApiKeydownHandler=function(n){if((/input|textarea/i.test(n.target.tagName)?!(32===n.which||27!==n.which&&(40!==n.which&&38!==n.which||t(n.target).closest(bt).length)):lt.test(n.which))&&(n.preventDefault(),n.stopPropagation(),!this.disabled&&!t(this).hasClass(dt))){var i=e._getParentFromElement(this),o=t(i).hasClass(ut);if(o&&(!o||27!==n.which&&32!==n.which)){var r=[].slice.call(i.querySelectorAll(_t));if(0!==r.length){var a=r.indexOf(n.target);38===n.which&&a>0&&a--,40===n.which&&a<r.length-1&&a++,a<0&&(a=0),r[a].focus()}}else{if(27===n.which){var s=i.querySelector(vt);t(s).trigger("focus")}t(this).trigger("click")}}},i(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Tt}},{key:"DefaultType",get:function(){return Dt}}]),e}();t(document).on(ct.KEYDOWN_DATA_API,vt,It._dataApiKeydownHandler).on(ct.KEYDOWN_DATA_API,bt,It._dataApiKeydownHandler).on(ct.CLICK_DATA_API+" "+ct.KEYUP_DATA_API,It._clearMenus).on(ct.CLICK_DATA_API,vt,(function(e){e.preventDefault(),e.stopPropagation(),It._jQueryInterface.call(t(this),"toggle")})).on(ct.CLICK_DATA_API,yt,(function(e){e.stopPropagation()})),t.fn[at]=It._jQueryInterface,t.fn[at].Constructor=It,t.fn[at].noConflict=function(){return t.fn[at]=st,It._jQueryInterface};var jt=t.fn.modal,At={backdrop:!0,keyboard:!0,focus:!0,show:!0},Wt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Mt={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},Lt="modal-dialog-scrollable",Nt="modal-scrollbar-measure",Pt="modal-backdrop",Ht="modal-open",Rt="fade",$t="show",Yt={DIALOG:".modal-dialog",MODAL_BODY:".modal-body",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top"},Vt=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(Yt.DIALOG),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var n=e.prototype;return n.toggle=function(e){return this._isShown?this.hide():this.show(e)},n.show=function(e){var n=this;if(!this._isShown&&!this._isTransitioning){t(this._element).hasClass(Rt)&&(this._isTransitioning=!0);var i=t.Event(Mt.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(Mt.CLICK_DISMISS,Yt.DATA_DISMISS,(function(e){return n.hide(e)})),t(this._dialog).on(Mt.MOUSEDOWN_DISMISS,(function(){t(n._element).one(Mt.MOUSEUP_DISMISS,(function(e){t(e.target).is(n._element)&&(n._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return n._showElement(e)})))}},n.hide=function(e){var n=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var i=t.Event(Mt.HIDE);if(t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()){this._isShown=!1;var o=t(this._element).hasClass(Rt);if(o&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),t(document).off(Mt.FOCUSIN),t(this._element).removeClass($t),t(this._element).off(Mt.CLICK_DISMISS),t(this._dialog).off(Mt.MOUSEDOWN_DISMISS),o){var r=l.getTransitionDurationFromElement(this._element);t(this._element).one(l.TRANSITION_END,(function(e){return n._hideModal(e)})).emulateTransitionEnd(r)}else this._hideModal()}}},n.dispose=function(){[window,this._element,this._dialog].forEach((function(e){return t(e).off(".b
2s.modal")})),t(document).off(Mt.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},n.handleUpdate=function(){this._adjustDialog()},n._getConfig=function(e){return e=r({},At,e),l.typeCheckConfig("modal",e,Wt),e},n._showElement=function(e){var n=this,i=t(this._element).hasClass(Rt);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(Lt)?this._dialog.querySelector(Yt.MODAL_BODY).scrollTop=0:this._element.scrollTop=0,i&&l.reflow(this._element),t(this._element).addClass($t),this._config.focus&&this._enforceFocus();var o=t.Event(Mt.SHOWN,{relatedTarget:e}),r=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,t(n._element).trigger(o)};if(i){var a=l.getTransitionDurationFromElement(this._dialog);t(this._dialog).one(l.TRANSITION_END,r).emulateTransitionEnd(a)}else r()},n._enforceFocus=function(){var e=this;t(document).off(Mt.FOCUSIN).on(Mt.FOCUSIN,(function(n){document!==n.target&&e._element!==n.target&&0===t(e._element).has(n.target).length&&e._element.focus()}))},n._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(Mt.KEYDOWN_DISMISS,(function(t){27===t.which&&(t.preventDefault(),e.hide())})):this._isShown||t(this._element).off(Mt.KEYDOWN_DISMISS)},n._setResizeEvent=function(){var e=this;this._isShown?t(window).on(Mt.RESIZE,(function(t){return e.handleUpdate(t)})):t(window).off(Mt.RESIZE)},n._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(Ht),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(Mt.HIDDEN)}))},n._removeBackdrop=function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(e){var n=this,i=t(this._element).hasClass(Rt)?Rt:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=Pt,i&&this._backdrop.classList.add(i),t(this._backdrop).appendTo(document.body),t(this._element).on(Mt.CLICK_DISMISS,(function(e){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===n._config.backdrop?n._element.focus():n.hide())})),i&&l.reflow(this._backdrop),t(this._backdrop).addClass($t),!e)return;if(!i)return void e();var o=l.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(l.TRANSITION_END,e).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass($t);var r=function(){n._removeBackdrop(),e&&e()};if(t(this._element).hasClass(Rt)){var a=l.getTransitionDurationFromElement(this._backdrop);t(this._backdrop).one(l.TRANSITION_END,r).emulateTransitionEnd(a)}else r()}else e&&e()},n._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=e.left+e.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},n._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var n=[].slice.call(document.querySelectorAll(Yt.FIXED_CONTENT)),i=[].slice.call(document.querySelectorAll(Yt.STICKY_CONTENT));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(Ht)},n._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(Yt.FIXED_CONTENT));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(""+Yt.STICKY_CONTENT));t(n).each((function(e,n){var i=t(n).data("margin-right");void 0!==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||""},n._getScrollbarWidth=function(){var e=document.createElement("div");e.className=Nt,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},e._jQueryInterface=function(n,i){return this.each((function(){var o=t(this).data("bs.modal"),a=r({},At,t(this).data(),"object"==typeof n&&n?n:{});if(o||(o=new e(this,a),t(this).data("bs.modal",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method n
2amed "'+n+'"');o[n](i)}else a.show&&o.show(i)}))},i(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return At}}]),e}();t(document).on(Mt.CLICK_DATA_API,Yt.DATA_TOGGLE,(function(e){var n,i=this,o=l.getSelectorFromElement(this);o&&(n=document.querySelector(o));var a=t(n).data("bs.modal")?"toggle":r({},t(n).data(),t(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var s=t(n).one(Mt.SHOW,(function(e){e.isDefaultPrevented()||s.one(Mt.HIDDEN,(function(){t(i).is(":visible")&&i.focus()}))}));Vt._jQueryInterface.call(t(n),a,this)})),t.fn.modal=Vt._jQueryInterface,t.fn.modal.Constructor=Vt,t.fn.modal.noConflict=function(){return t.fn.modal=jt,Vt._jQueryInterface};var Ft=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],zt={"*":["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:[]},Qt=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Bt=/^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 Ut(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var i=(new window.DOMParser).parseFromString(e,"text/html"),o=Object.keys(t),r=[].slice.call(i.body.querySelectorAll("*")),a=function(e,n){var i=r[e],a=i.nodeName.toLowerCase();if(-1===o.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var s=[].slice.call(i.attributes),l=[].concat(t["*"]||[],t[a]||[]);s.forEach((function(e){(function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===Ft.indexOf(n)||Boolean(e.nodeValue.match(Qt)||e.nodeValue.match(Bt));for(var i=t.filter((function(e){return e instanceof RegExp})),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1})(e,l)||i.removeAttribute(e.nodeName)}))},s=0,l=r.length;s<l;s++)a(s);return i.body.innerHTML}var Gt="tooltip",qt=t.fn.tooltip,Xt=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Kt=["sanitize","whiteList","sanitizeFn"],Zt={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"},Jt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},en={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:zt},tn="show",nn="out",on={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},rn="fade",an="show",sn=".tooltip-inner",ln=".arrow",cn="hover",dn="focus",un="click",hn="manual",pn=function(){function e(e,t){if(void 0===rt)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=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var n=e.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.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(an))return void this._leave(null,this);this._enter(null,this)}},n.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.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,null!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var e=this;if("none"===t(this.element).css("display"))throw new Error("Please use show on visible elements");var n=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(n);var i=l.findShadowRoot(this.element),o=t.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(n.isDefaultPrevented()||!o)return;var r=this.getTipElement(),a=l.getUID(this.constructor.NAME);r.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&t(r).addClass(rn);var s="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,c=this._getAttachment(s);this.addAttachmentClass(c);var d=this._getContainer();t(r).data(this.constructor.DATA_KEY,this),t.contains(this.element.ownerDocument.documentElement,this.tip)||t(r).appendTo(d),t(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new rt(this.element,r,{placement:c,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:ln}
2,preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),t(r).addClass(an),"ontouchstart"in document.documentElement&&t(document.body).children().on("mouseover",null,t.noop);var u=function(){e.config.animation&&e._fixTransition();var n=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),n===nn&&e._leave(null,e)};if(t(this.tip).hasClass(rn)){var h=l.getTransitionDurationFromElement(this.tip);t(this.tip).one(l.TRANSITION_END,u).emulateTransitionEnd(h)}else u()}},n.hide=function(e){var n=this,i=this.getTipElement(),o=t.Event(this.constructor.Event.HIDE),r=function(){n._hoverState!==tn&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),t(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),e&&e()};if(t(this.element).trigger(o),!o.isDefaultPrevented()){if(t(i).removeClass(an),"ontouchstart"in document.documentElement&&t(document.body).children().off("mouseover",null,t.noop),this._activeTrigger[un]=!1,this._activeTrigger[dn]=!1,this._activeTrigger[cn]=!1,t(this.tip).hasClass(rn)){var a=l.getTransitionDurationFromElement(i);t(i).one(l.TRANSITION_END,r).emulateTransitionEnd(a)}else r();this._hoverState=""}},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-tooltip-"+e)},n.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},n.setContent=function(){var e=this.getTipElement();this.setElementContent(t(e.querySelectorAll(sn)),this.getTitle()),t(e).removeClass(rn+" "+an)},n.setElementContent=function(e,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=Ut(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())},n.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},n._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=r({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},n._getContainer=function(){return!1===this.config.container?document.body:l.isElement(this.config.container)?t(this.config.container):t(document).find(this.config.container)},n._getAttachment=function(e){return Jt[e.toUpperCase()]},n._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!==hn){var i=n===cn?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,o=n===cn?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)}))}})),t(this.element).closest(".modal").on("hide.bs.modal",(function(){e.element&&e.hide()})),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._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?dn:cn]=!0),t(n.getTipElement()).hasClass(an)||n._hoverState===tn?n._hoverState=tn:(clearTimeout(n._timeout),n._hoverState=tn,n.config.delay&&n.config.delay.show?n._timeout=setTimeout((function(){n._hoverState===tn&&n.show()}),n.config.delay.show):n.show())},n._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?dn:cn]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState=nn,n.config.delay&&n.config.delay.hide?n._timeout=setTimeout((function(){n._hoverState===nn&&n.hide()}),n.config.delay.hide):n.hide())},n._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},n._getConfig=function(e){var n=t(this.element).data();
2return Object.keys(n).forEach((function(e){-1!==Kt.indexOf(e)&&delete n[e]})),"number"==typeof(e=r({},this.constructor.Default,n,"object"==typeof 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()),l.typeCheckConfig(Gt,e,this.constructor.DefaultType),e.sanitize&&(e.template=Ut(e.template,e.whiteList,e.sanitizeFn)),e},n._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},n._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(Xt);null!==n&&n.length&&e.removeClass(n.join(""))},n._handlePopperPlacementChange=function(e){var t=e.instance;this.tip=t.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},n._fixTransition=function(){var e=this.getTipElement(),n=this.config.animation;null===e.getAttribute("x-placement")&&(t(e).removeClass(rn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},e._jQueryInterface=function(n){return this.each((function(){var i=t(this).data("bs.tooltip"),o="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new e(this,o),t(this).data("bs.tooltip",i)),"string"==typeof n)){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},i(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return en}},{key:"NAME",get:function(){return Gt}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return on}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Zt}}]),e}();t.fn.tooltip=pn._jQueryInterface,t.fn.tooltip.Constructor=pn,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=qt,pn._jQueryInterface};var fn="popover",mn=t.fn.popover,gn=new RegExp("(^|\\s)bs-popover\\S+","g"),vn=r({},pn.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>'}),yn=r({},pn.DefaultType,{content:"(string|element|function)"}),bn="fade",wn="show",_n=".popover-header",Sn=".popover-body",On={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},xn=function(e){var n,o;function r(){return e.apply(this,arguments)||this}o=e,(n=r).prototype=Object.create(o.prototype),n.prototype.constructor=n,n.__proto__=o;var a=r.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(e){t(this.getTipElement()).addClass("bs-popover-"+e)},a.getTipElement=function(){return this.tip=this.tip||t(this.config.template)[0],this.tip},a.setContent=function(){var e=t(this.getTipElement());this.setElementContent(e.find(_n),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(e.find(Sn),n),e.removeClass(bn+" "+wn)},a._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},a._cleanTipClass=function(){var e=t(this.getTipElement()),n=e.attr("class").match(gn);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"==typeof 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(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},i(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return vn}},{key:"NAME",get:function(){return fn}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return On}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return yn}}]),r}(pn);t.fn.popover=xn._jQueryInterface,t.fn.popover.Constructor=xn,t.fn.popover.noConflict=function(){return t.fn.popover=mn,xn._jQueryInterface};var kn="scrollspy",En=t.fn[kn],Cn={offset:10,method:"auto",target:""},Tn={offset:"number",method:"string",target:"(string|element)"},Dn={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},In="dropdown-item",jn="active",An={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",NAV_LIST_GROUP:".nav, .list-group",NAV_LINKS:".nav-link",NAV_ITEMS:".nav-item",LIST_ITEMS:".list-group-item",DROPDOWN:".dropdown",DROPDOWN_IT
2EMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},Wn="offset",Mn="position",Ln=function(){function e(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+" "+An.NAV_LINKS+","+this._config.target+" "+An.LIST_ITEMS+","+this._config.target+" "+An.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(Dn.SCROLL,(function(e){return i._process(e)})),this.refresh(),this._process()}var n=e.prototype;return n.refresh=function(){var e=this,n=this._scrollElement===this._scrollElement.window?Wn:Mn,i="auto"===this._config.method?n:this._config.method,o=i===Mn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(e){var n,r=l.getSelectorFromElement(e);if(r&&(n=document.querySelector(r)),n){var a=n.getBoundingClientRect();if(a.width||a.height)return[t(n)[i]().top+o,r]}return null})).filter((function(e){return e})).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},n.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},n._getConfig=function(e){if("string"!=typeof(e=r({},Cn,"object"==typeof e&&e?e:{})).target){var n=t(e.target).attr("id");n||(n=l.getUID(kn),t(e.target).attr("id",n)),e.target="#"+n}return l.typeCheckConfig(kn,e,Tn),e},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<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]&&e>=this._offsets[o]&&(void 0===this._offsets[o+1]||e<this._offsets[o+1])&&this._activate(this._targets[o])}}},n._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(In)?(i.closest(An.DROPDOWN).find(An.DROPDOWN_TOGGLE).addClass(jn),i.addClass(jn)):(i.addClass(jn),i.parents(An.NAV_LIST_GROUP).prev(An.NAV_LINKS+", "+An.LIST_ITEMS).addClass(jn),i.parents(An.NAV_LIST_GROUP).prev(An.NAV_ITEMS).children(An.NAV_LINKS).addClass(jn)),t(this._scrollElement).trigger(Dn.ACTIVATE,{relatedTarget:e})},n._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(e){return e.classList.contains(jn)})).forEach((function(e){return e.classList.remove(jn)}))},e._jQueryInterface=function(n){return this.each((function(){var i=t(this).data("bs.scrollspy");if(i||(i=new e(this,"object"==typeof n&&n),t(this).data("bs.scrollspy",i)),"string"==typeof n){if(void 0===i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},i(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Cn}}]),e}();t(window).on(Dn.LOAD_DATA_API,(function(){for(var e=[].slice.call(document.querySelectorAll(An.DATA_SPY)),n=e.length;n--;){var i=t(e[n]);Ln._jQueryInterface.call(i,i.data())}})),t.fn[kn]=Ln._jQueryInterface,t.fn[kn].Constructor=Ln,t.fn[kn].noConflict=function(){return t.fn[kn]=En,Ln._jQueryInterface};var Nn=t.fn.tab,Pn={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},Hn="dropdown-menu",Rn="active",$n="disabled",Yn="fade",Vn="show",Fn=".dropdown",zn=".nav, .list-group",Qn=".active",Bn="> li > .active",Un='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Gn=".dropdown-toggle",qn="> .dropdown-menu .active",Xn=function(){function e(e){this._element=e}var n=e.prototype;return n.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&t(this._element).hasClass(Rn)||t(this._element).hasClass($n))){var n,i,o=t(this._element).closest(zn)[0],r=l.getSelectorFromElement(this._element);if(o){var a="UL"===o.nodeName||"OL"===o.nodeName?Bn:Qn;
2i=(i=t.makeArray(t(o).find(a)))[i.length-1]}var s=t.Event(Pn.HIDE,{relatedTarget:this._element}),c=t.Event(Pn.SHOW,{relatedTarget:i});if(i&&t(i).trigger(s),t(this._element).trigger(c),!c.isDefaultPrevented()&&!s.isDefaultPrevented()){r&&(n=document.querySelector(r)),this._activate(this._element,o);var d=function(){var n=t.Event(Pn.HIDDEN,{relatedTarget:e._element}),o=t.Event(Pn.SHOWN,{relatedTarget:i});t(i).trigger(n),t(e._element).trigger(o)};n?this._activate(n,n.parentNode,d):d()}}},n.dispose=function(){t.removeData(this._element,"bs.tab"),this._element=null},n._activate=function(e,n,i){var o=this,r=(!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?t(n).children(Qn):t(n).find(Bn))[0],a=i&&r&&t(r).hasClass(Yn),s=function(){return o._transitionComplete(e,r,i)};if(r&&a){var c=l.getTransitionDurationFromElement(r);t(r).removeClass(Vn).one(l.TRANSITION_END,s).emulateTransitionEnd(c)}else s()},n._transitionComplete=function(e,n,i){if(n){t(n).removeClass(Rn);var o=t(n.parentNode).find(qn)[0];o&&t(o).removeClass(Rn),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(t(e).addClass(Rn),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),l.reflow(e),e.classList.contains(Yn)&&e.classList.add(Vn),e.parentNode&&t(e.parentNode).hasClass(Hn)){var r=t(e).closest(Fn)[0];if(r){var a=[].slice.call(r.querySelectorAll(Gn));t(a).addClass(Rn)}e.setAttribute("aria-expanded",!0)}i&&i()},e._jQueryInterface=function(n){return this.each((function(){var i=t(this),o=i.data("bs.tab");if(o||(o=new e(this),i.data("bs.tab",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method named "'+n+'"');o[n]()}}))},i(e,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),e}();t(document).on(Pn.CLICK_DATA_API,Un,(function(e){e.preventDefault(),Xn._jQueryInterface.call(t(this),"show")})),t.fn.tab=Xn._jQueryInterface,t.fn.tab.Constructor=Xn,t.fn.tab.noConflict=function(){return t.fn.tab=Nn,Xn._jQueryInterface};var Kn=t.fn.toast,Zn={CLICK_DISMISS:"click.dismiss.bs.toast",HIDE:"hide.bs.toast",HIDDEN:"hidden.bs.toast",SHOW:"show.bs.toast",SHOWN:"shown.bs.toast"},Jn="fade",ei="hide",ti="show",ni="showing",ii={animation:"boolean",autohide:"boolean",delay:"number"},oi={animation:!0,autohide:!0,delay:500},ri='[data-dismiss="toast"]',ai=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var n=e.prototype;return n.show=function(){var e=this;t(this._element).trigger(Zn.SHOW),this._config.animation&&this._element.classList.add(Jn);var n=function(){e._element.classList.remove(ni),e._element.classList.add(ti),t(e._element).trigger(Zn.SHOWN),e._config.autohide&&e.hide()};if(this._element.classList.remove(ei),this._element.classList.add(ni),this._config.animation){var i=l.getTransitionDurationFromElement(this._element);t(this._element).one(l.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n.hide=function(e){var n=this;this._element.classList.contains(ti)&&(t(this._element).trigger(Zn.HIDE),e?this._close():this._timeout=setTimeout((function(){n._close()}),this._config.delay))},n.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(ti)&&this._element.classList.remove(ti),t(this._element).off(Zn.CLICK_DISMISS),t.removeData(this._element,"bs.toast"),this._element=null,this._config=null},n._getConfig=function(e){return e=r({},oi,t(this._element).data(),"object"==typeof e&&e?e:{}),l.typeCheckConfig("toast",e,this.constructor.DefaultType),e},n._setListeners=function(){var e=this;t(this._element).on(Zn.CLICK_DISMISS,ri,(function(){return e.hide(!0)}))},n._close=function(){var e=this,n=function(){e._element.classList.add(ei),t(e._element).trigger(Zn.HIDDEN)};if(this._element.classList.remove(ti),this._config.animation){var i=l.getTransitionDurationFromElement(this._element);t(this._element).one(l.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},e._jQueryInterface=function(n){return this.each((function(){var i=t(this),o=i.data("bs.toast");if(o||(o=new e(this,"object"==typeof n&&n),i.data("bs.toast",o)),"string"==typeof n){if(void 0===o[n])throw new TypeError('No method n
2amed "'+n+'"');o[n](this)}}))},i(e,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return ii}},{key:"Default",get:function(){return oi}}]),e}();t.fn.toast=ai._jQueryInterface,t.fn.toast.Constructor=ai,t.fn.toast.noConflict=function(){return t.fn.toast=Kn,ai._jQueryInterface},function(){if(void 0===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")}(),e.Util=l,e.Alert=f,e.Button=k,e.Carousel=B,e.Collapse=re,e.Dropdown=It,e.Modal=Vt,e.Popover=xn,e.Scrollspy=Ln,e.Tab=Xn,e.Toast=ai,e.Tooltip=pn,Object.defineProperty(e,"__esModule",{value:!0})})),function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([,,function(e,t){e.exports=function(e){"complete"===document.readyState||"interactive"===document.readyState?e.call():document.attachEvent?document.attachEvent("onreadystatechange",(function(){"interactive"===document.readyState&&e.call()})):document.addEventListener&&document.addEventListener("DOMContentLoaded",e)}},,function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(5))},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(i=window)}e.exports=i},,,,,,function(e,t,n){e.exports=n(12)},function(e,t,n){"use strict";n.r(t);var i=n(2),o=n.n(i),r=n(4),a=n(13);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=r.window.jarallax;if(r.window.jarallax=a.default,r.window.jarallax.noConflict=function(){return r.window.jarallax=l,this},void 0!==r.jQuery){var c=function(){var e=arguments||[];Array.prototype.unshift.call(e,this);var t=a.default.apply(r.window,e);return"object"!==s(t)?t:this};c.constructor=a.default.constructor;var d=r.jQuery.fn.jarallax;r.jQuery.fn.jarallax=c,r.jQuery.fn.jarallax.noConflict=function(){return r.jQuery.fn.jarallax=d,this}}o()((function(){Object(a.default)(document.querySelectorAll("[data-jarallax]"))}))},function(e,t,n){"use strict";n.r(t);var i=n(2),o=n.n(i),r=n(14),a=n.n(r),s=n(4);function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)))return;var n=[],i=!0,o=!1,r=void 0;try{for(var a,s=e[Symbol.iterator]();!(i=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);i=!0);}catch(e){o=!0,r=e}finally{try{i||null==s.return||s.return()}finally{if(o)throw r}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var u,h,p=navigator.userAgent.indexOf("MSIE ")>-1||navigator.userAgent.indexOf("Trident/")>-1||navigator.userAgent.indexOf("Edge/")>-1,f=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),m=function(){for(var e="transform WebkitTransform MozTransform".split(" "),t=document.createElement("div"),n=0;n<e.length;n++)if(t&&void 0!==t.style[e[n]])return e[n];return!1}();
2function g(){f?(!u&&document.body&&((u=document.createElement("div")).style.cssText="position: fixed; top: -9999px; left: 0; height: 100vh; width: 0;",document.body.appendChild(u)),h=(u?u.clientHeight:0)||s.window.innerHeight||document.documentElement.clientHeight):h=s.window.innerHeight||document.documentElement.clientHeight}g(),s.window.addEventListener("resize",g),s.window.addEventListener("orientationchange",g),s.window.addEventListener("load",g),o()((function(){g()}));var v=[];function y(){v.length&&(v.forEach((function(e,t){var n=e.instance,i=e.oldData,o=n.$item.getBoundingClientRect(),r={width:o.width,height:o.height,top:o.top,bottom:o.bottom,wndW:s.window.innerWidth,wndH:h},a=!i||i.wndW!==r.wndW||i.wndH!==r.wndH||i.width!==r.width||i.height!==r.height,l=a||!i||i.top!==r.top||i.bottom!==r.bottom;v[t].oldData=r,a&&n.onResize(),l&&n.onScroll()})),a()(y))}var b=0,w=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);var i=this;i.instanceID=b++,i.$item=t,i.defaults={type:"scroll",speed:.5,imgSrc:null,imgElement:".jarallax-img",imgSize:"cover",imgPosition:"50% 50%",imgRepeat:"no-repeat",keepImg:!1,elementInViewport:null,zIndex:-100,disableParallax:!1,disableVideo:!1,videoSrc:null,videoStartTime:0,videoEndTime:0,videoVolume:0,videoLoop:!0,videoPlayOnlyVisible:!0,videoLazyLoading:!0,onScroll:null,onInit:null,onDestroy:null,onCoverImage:null};var o=i.$item.dataset||{},r={};if(Object.keys(o).forEach((function(e){var t=e.substr(0,1).toLowerCase()+e.substr(1);t&&void 0!==i.defaults[t]&&(r[t]=o[e])})),i.options=i.extend({},i.defaults,r,n),i.pureOptions=i.extend({},i.options),Object.keys(i.options).forEach((function(e){"true"===i.options[e]?i.options[e]=!0:"false"===i.options[e]&&(i.options[e]=!1)})),i.options.speed=Math.min(2,Math.max(-1,parseFloat(i.options.speed))),"string"==typeof i.options.disableParallax&&(i.options.disableParallax=new RegExp(i.options.disableParallax)),i.options.disableParallax instanceof RegExp){var a=i.options.disableParallax;i.options.disableParallax=function(){return a.test(navigator.userAgent)}}if("function"!=typeof i.options.disableParallax&&(i.options.disableParallax=function(){return!1}),"string"==typeof i.options.disableVideo&&(i.options.disableVideo=new RegExp(i.options.disableVideo)),i.options.disableVideo instanceof RegExp){var s=i.options.disableVideo;i.options.disableVideo=function(){return s.test(navigator.userAgent)}}"function"!=typeof i.options.disableVideo&&(i.options.disableVideo=function(){return!1});var d=i.options.elementInViewport;d&&"object"===c(d)&&void 0!==d.length&&(d=l(d,1)[0]);d instanceof Element||(d=null),i.options.elementInViewport=d,i.image={src:i.options.imgSrc||null,$container:null,useImgTag:!1,position:/iPad|iPhone|iPod|Android/.test(navigator.userAgent)?"absolute":"fixed"},i.initImg()&&i.canInitParallax()&&i.init()}var t,n,i;return t=e,(n=[{key:"css",value:function(e,t){return"string"==typeof t?s.window.getComputedStyle(e).getPropertyValue(t):(t.transform&&m&&(t[m]=t.transform),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),e)}},{key:"extend",value:function(e){var t=arguments;return e=e||{},Object.keys(arguments).forEach((function(n){t[n]&&Object.keys(t[n]).forEach((function(i){e[i]=t[n][i]}))})),e}},{key:"getWindowData",value:function(){return{width:s.window.innerWidth||document.documentElement.clientWidth,height:h,y:document.documentElement.scrollTop}}},{key:"initImg",value:function(){var e=this.options.imgElement;return e&&"string"==typeof e&&(e=this.$item.querySelector(e)),e instanceof Element||(this.options.imgSrc?(e=new Image).src=this.options.imgSrc:e=null),e&&(this.options.keepImg?this.image.$item=e.cloneNode(!0):(this.image.$item=e,this.image.$itemParent=e.parentNode),this.image.useImgTag=!0),!(!this.image.$item&&(null===this.image.src&&(this.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",this.image.bgImage=this.css(this.$item,"background-image")),!this.image.bgImage||"none"===this.image.bgImage))}},{key:"canInitParallax",value:function(){return m&&!this.options.disableParallax()}},{key:"init",value:function(){var e={position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",pointerEvents:"none"},t={};if(!this.options.keepImg){var n=this.$item.getAttribute("style");if(n&&this.$item.setAttribute("data-jarallax-original-styles",n),this.image.useImgTag){var i=this.image.$item.getAttribute("style");i&&this.image.$item.setAttribute("data-jarallax-original-styles",i)}}if("static"===this.css(this.$item,"position")&&this.css(this.$item,{position:"relative"}),"auto"===this.css(this.$item,"z-index")&&this.css(this.$item,{zIndex:0}),this.image.$container=document.createElement("div"),this.css(this.image.$container,e),this.css(this.image.$container,{"z-index":this.options.zIndex}),p&&this.css(this.image.$container,{opacity:.9999}),this.image.$container.setAttribute("id","jarallax-container-".concat(this.instanceID)),this.$item.appendChild(this.image.$container),this.image.useImgTag?t=this.extend({"object-fit":this.options.imgSize,"object-position":this.options.imgPosition,"font-family":"object-fit: ".concat(this.options.imgSize,"; object-position: ").concat(this.options.imgPosition,";"),"max-width":"none"},e,t):(this.image.$item=document.createElement("div"),this.image.src&&(t=this.extend({"background-position":this.options.imgPosition,"background-size":this.options.imgSize,"background-repeat":this.options.imgRepeat,"background-image":this.image.bgImage||'url("'.concat(this.image.src,'")')},e,t))),"opacity"!==this.options.type&&"scale"!==this.options.type&&"scale-opacity"!==this.options.type&&1!==this.options.speed||(this.image.position="absolute"),"fixed"===this.image.position){var o=function(e){for(var t=[];null!==e.parentElement;)1===(e=e.parentElement).nodeType&&t.push(e);return t}(this.$item).filter((function(e){var t=s.window.getComputedStyle(e),n=t["-webkit-transform"]||t["-moz-transform"]||t.transform;return n&&"none"!==n||/(auto|scroll)/.test(t.overflow+t["overflow-y"]+t["overflow-x"])}));this.image.position=o.length?"absolute":"fixed"}t.position=this.image.position,this.css(this.image.$item,t),this.image.$container.appendChild(this.image.$item),this.onResize(),this.onScroll(!0),this.options.onInit&&this.options.onInit.call(this),"none"!==this.css(this.$item,"background-image")&&this.css(this.$item,{"background-image":"none"}),this.addToParallaxList()}},{key:"addToParallaxList",value:function(){v.push({instance:this}),1===v.length&&y()}},{key:"removeFromParallaxList",value:function(){var e=this;v.forEach((function(t,n){t.instance.instanceID===e.instanceID&&v.splice(n,1)}))}},{key:"destroy",value:function(){this.removeFromParallaxList();var e=this.$item.getAttribute("data-jarallax-original-styles");if(this.$item.removeAttribute("data-jarallax-original-styles"),e?this.$item.setAttribute("style",e):this.$item.removeAttribute("style"),this.image.useImgTag){var t=this.image.$item.getAttribute("data-jarallax-original-styles");this.image.$item.removeAttribute("data-jarallax-original-styles"),t?this.image.$item.setAttribute("style",e):this.image.$item.removeAttribute("style"),this.image.$itemParent&&this.image.$itemParent.appendChild(this.image.$item)}this.$clipStyles&&this.$clipStyles.parentNode.removeChild(this.$clipStyles),this.image.$container&&this.image.$container.parentNode.removeChild(this.image.$container),this.options.onDestroy&&this.options.onDestroy.call(this),delete this.$item.jarallax}},{key:"clipContainer",value:function(){if("fixed"===this.image.position){var e=this.image.$container.getBoundingClientRect(),t=e.width,n=e.he
2ight;this.$clipStyles||(this.$clipStyles=document.createElement("style"),this.$clipStyles.setAttribute("type","text/css"),this.$clipStyles.setAttribute("id","jarallax-clip-".concat(this.instanceID)),(document.head||document.getElementsByTagName("head")[0]).appendChild(this.$clipStyles));var i="#jarallax-container-".concat(this.instanceID," {\n           clip: rect(0 ").concat(t,"px ").concat(n,"px 0);\n           clip: rect(0, ").concat(t,"px, ").concat(n,"px, 0);\n        }");this.$clipStyles.styleSheet?this.$clipStyles.styleSheet.cssText=i:this.$clipStyles.innerHTML=i}}},{key:"coverImage",value:function(){var e=this.image.$container.getBoundingClientRect(),t=e.height,n=this.options.speed,i="scroll"===this.options.type||"scroll-opacity"===this.options.type,o=0,r=t,a=0;return i&&(n<0?(o=n*Math.max(t,h),h<t&&(o-=n*(t-h))):o=n*(t+h),n>1?r=Math.abs(o-h):n<0?r=o/n+Math.abs(o):r+=(h-t)*(1-n),o/=2),this.parallaxScrollDistance=o,a=i?(h-r)/2:(t-r)/2,this.css(this.image.$item,{height:"".concat(r,"px"),marginTop:"".concat(a,"px"),left:"fixed"===this.image.position?"".concat(e.left,"px"):"0",width:"".concat(e.width,"px")}),this.options.onCoverImage&&this.options.onCoverImage.call(this),{image:{height:r,marginTop:a},container:e}}},{key:"isVisible",value:function(){return this.isElementInViewport||!1}},{key:"onScroll",value:function(e){var t=this.$item.getBoundingClientRect(),n=t.top,i=t.height,o={},r=t;if(this.options.elementInViewport&&(r=this.options.elementInViewport.getBoundingClientRect()),this.isElementInViewport=r.bottom>=0&&r.right>=0&&r.top<=h&&r.left<=s.window.innerWidth,e||this.isElementInViewport){var a=Math.max(0,n),l=Math.max(0,i+n),c=Math.max(0,-n),d=Math.max(0,n+i-h),u=Math.max(0,i-(n+i-h)),p=Math.max(0,-n+h-i),f=1-2*(h-n)/(h+i),m=1;if(i<h?m=1-(c||d)/i:l<=h?m=l/h:u<=h&&(m=u/h),"opacity"!==this.options.type&&"scale-opacity"!==this.options.type&&"scroll-opacity"!==this.options.type||(o.transform="translate3d(0,0,0)",o.opacity=m),"scale"===this.options.type||"scale-opacity"===this.options.type){var g=1;this.options.speed<0?g-=this.options.speed*m:g+=this.options.speed*(1-m),o.transform="scale(".concat(g,") translate3d(0,0,0)")}if("scroll"===this.options.type||"scroll-opacity"===this.options.type){var v=this.parallaxScrollDistance*f;"absolute"===this.image.position&&(v-=n),o.transform="translate3d(0,".concat(v,"px,0)")}this.css(this.image.$item,o),this.options.onScroll&&this.options.onScroll.call(this,{section:t,beforeTop:a,beforeTopEnd:l,afterTop:c,beforeBottom:d,beforeBottomEnd:u,afterBottom:p,visiblePercent:m,fromViewportCenter:f})}}},{key:"onResize",value:function(){this.coverImage(),this.clipContainer()}}])&&d(t.prototype,n),i&&d(t,i),e}(),_=function(e){("object"===("undefined"==typeof HTMLElement?"undefined":c(HTMLElement))?e instanceof HTMLElement:e&&"object"===c(e)&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName)&&(e=[e]);for(var t,n=arguments[1],i=Array.prototype.slice.call(arguments,2),o=e.length,r=0;r<o;r++)if("object"===c(n)||void 0===n?e[r].jarallax||(e[r].jarallax=new w(e[r],n)):e[r].jarallax&&(t=e[r].jarallax[n].apply(e[r].jarallax,i)),void 0!==t)return t;return e};_.constructor=w,t.default=_},function(e,t,n){var i=n(15),o=i.requestAnimationFrame||i.webkitRequestAnimationFrame||i.mozRequestAnimationFrame||function(e){var t=+new Date,n=Math.max(0,16-(t-r)),i=setTimeout(e,n);return r=t,i},r=+new Date;var a=i.cancelAnimationFrame||i.webkitCancelAnimationFrame||i.mozCancelAnimationFrame||clearTimeout;Function.prototype.bind&&(o=o.bind(i),a=a.bind(i)),(e.exports=o).cancel=a},function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(5))}]),function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
2),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([,,function(e,t){e.exports=function(e){"complete"===document.readyState||"interactive"===document.readyState?e.call():document.attachEvent?document.attachEvent("onreadystatechange",(function(){"interactive"===document.readyState&&e.call()})):document.addEventListener&&document.addEventListener("DOMContentLoaded",e)}},,function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(5))},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(i=window)}e.exports=i},function(e,t,n){e.exports=n(7)},function(e,t,n){"use strict";n.r(t);var i=n(8),o=n.n(i),r=n(4),a=n.n(r),s=n(2),l=n.n(s),c=n(10);a.a.VideoWorker=a.a.VideoWorker||o.a,Object(c.default)(),l()((function(){"undefined"!=typeof jarallax&&jarallax(document.querySelectorAll("[data-jarallax-video]"))}))},function(e,t,n){e.exports=n(9)},function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(){this._done=[],this._fail=[]}n.r(t),n.d(t,"default",(function(){return p})),r.prototype={execute:function(e,t){var n=e.length;for(t=Array.prototype.slice.call(t);n--;)e[n].apply(null,t)},resolve:function(){this.execute(this._done,arguments)},reject:function(){this.execute(this._fail,arguments)},done:function(e){this._done.push(e)},fail:function(e){this._fail.push(e)}};var a=0,s=0,l=0,c=0,d=0,u=new r,h=new r,p=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);this.url=t,this.options_default={autoplay:!1,loop:!1,mute:!1,volume:100,showContols:!0,startTime:0,endTime:0},this.options=this.extend({},this.options_default,n),this.videoID=this.parseURL(t),this.videoID&&(this.ID=a++,this.loadAPI(),this.init())}var t,n,r;return t=e,(n=[{key:"extend",value:function(e){var t=arguments;return e=e||{},Object.keys(arguments).forEach((function(n){t[n]&&Object.keys(t[n]).forEach((function(i){e[i]=t[n][i]}))})),e}},{key:"parseURL",value:function(e){var t,n,i,o,r=!(!(t=e.match(/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=)([^#\&\?]*).*/))||11!==t[1].length)&&t[1],a=function(e){var t=e.match(/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/);return!(!t||!t[3])&&t[3]}(e),s=(n=e.split(/,(?=mp4\:|webm\:|ogv\:|ogg\:)/),i={},o=0,n.forEach((function(e){var t=e.match(/^(mp4|webm|ogv|ogg)\:(.*)/);t&&t[1]&&t[2]&&(i["ogv"===t[1]?"ogg":t[1]]=t[2],o=1)})),!!o&&i);return r?(this.type="youtube",r):a?(this.type="vimeo",a):!!s&&(this.type="local",s)}},{key:"isValid",value:function(){return!!this.videoID}},{key:"on",value:function(e,t){this.userEventsList=this.userEventsList||[],(this.userEventsList[e]||(this.userEventsList[e]=[])).push(t)}},{key:"off",value:function(e,t){var n=this;this.userEventsList&&this.userEventsList[e]&&(t?this.userEventsList[e].forEach((function(i,o){i===t&&(n.userEventsList[e][o]=!1)})):delete this.userEventsList[e])}},{key:"fire",value:function(e){var t=this,n=[].slice.call(arguments,1
2);this.userEventsList&&void 0!==this.userEventsList[e]&&this.userEventsList[e].forEach((function(e){e&&e.apply(t,n)}))}},{key:"play",value:function(e){var t=this;t.player&&("youtube"===t.type&&t.player.playVideo&&(void 0!==e&&t.player.seekTo(e||0),YT.PlayerState.PLAYING!==t.player.getPlayerState()&&t.player.playVideo()),"vimeo"===t.type&&(void 0!==e&&t.player.setCurrentTime(e),t.player.getPaused().then((function(e){e&&t.player.play()}))),"local"===t.type&&(void 0!==e&&(t.player.currentTime=e),t.player.paused&&t.player.play()))}},{key:"pause",value:function(){var e=this;e.player&&("youtube"===e.type&&e.player.pauseVideo&&YT.PlayerState.PLAYING===e.player.getPlayerState()&&e.player.pauseVideo(),"vimeo"===e.type&&e.player.getPaused().then((function(t){t||e.player.pause()})),"local"===e.type&&(e.player.paused||e.player.pause()))}},{key:"mute",value:function(){this.player&&("youtube"===this.type&&this.player.mute&&this.player.mute(),"vimeo"===this.type&&this.player.setVolume&&this.player.setVolume(0),"local"===this.type&&(this.$video.muted=!0))}},{key:"unmute",value:function(){this.player&&("youtube"===this.type&&this.player.mute&&this.player.unMute(),"vimeo"===this.type&&this.player.setVolume&&this.player.setVolume(this.options.volume),"local"===this.type&&(this.$video.muted=!1))}},{key:"setVolume",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this;t.player&&e&&("youtube"===t.type&&t.player.setVolume&&t.player.setVolume(e),"vimeo"===t.type&&t.player.setVolume&&t.player.setVolume(e),"local"===t.type&&(t.$video.volume=e/100))}},{key:"getVolume",value:function(e){this.player?("youtube"===this.type&&this.player.getVolume&&e(this.player.getVolume()),"vimeo"===this.type&&this.player.getVolume&&this.player.getVolume().then((function(t){e(t)})),"local"===this.type&&e(100*this.$video.volume)):e(!1)}},{key:"getMuted",value:function(e){this.player?("youtube"===this.type&&this.player.isMuted&&e(this.player.isMuted()),"vimeo"===this.type&&this.player.getVolume&&this.player.getVolume().then((function(t){e(!!t)})),"local"===this.type&&e(this.$video.muted)):e(null)}},{key:"getImageURL",value:function(e){var t=this;if(t.videoImage)e(t.videoImage);else{if("youtube"===t.type){var n=["maxresdefault","sddefault","hqdefault","0"],i=0,o=new Image;o.onload=function(){120!==(this.naturalWidth||this.width)||i===n.length-1?(t.videoImage="https://img.youtube.com/vi/".concat(t.videoID,"/").concat(n[i],".jpg"),e(t.videoImage)):(i++,this.src="https://img.youtube.com/vi/".concat(t.videoID,"/").concat(n[i],".jpg"))},o.src="https://img.youtube.com/vi/".concat(t.videoID,"/").concat(n[i],".jpg")}if("vimeo"===t.type){var r=new XMLHttpRequest;r.open("GET","https://vimeo.com/api/v2/video/".concat(t.videoID,".json"),!0),r.onreadystatechange=function(){if(4===this.readyState&&this.status>=200&&this.status<400){var n=JSON.parse(this.responseText);t.videoImage=n[0].thumbnail_large,e(t.videoImage)}},r.send(),r=null}}}},{key:"getIframe",value:function(e){this.getVideo(e)}},{key:"getVideo",value:function(e){var t=this;t.$video?e(t.$video):t.onAPIready((function(){var n,i;if(t.$video||((n=document.createElement("div")).style.display="none"),"youtube"===t.type){var o,r;t.playerOptions={},t.playerOptions.videoId=t.videoID,t.playerOptions.playerVars={autohide:1,rel:0,autoplay:0,playsinline:1},t.options.showContols||(t.playerOptions.playerVars.iv_load_policy=3,t.playerOptions.playerVars.modestbranding=1,t.playerOptions.playerVars.controls=0,t.playerOptions.playerVars.showinfo=0,t.playerOptions.playerVars.disablekb=1),t.playerOptions.events={onReady:function(e){t.options.mute?e.target.mute():t.options.volume&&e.target.setVolume(t.options.volume),t.options.autoplay&&t.play(t.options.startTime),t.fire("ready",e),t.options.loop&&!t.options.endTime&&(t.options.endTime=t.player.getDuration()-.1),setInterval((function(){t.getVolume((function(n){t.options.volume!==n&&(t.options.volume=n,t.fire("volumechange",e))}))}),150)},onStateChange:function(e){t.options.loop&&e.data===YT.PlayerState.ENDED&&t.play(t.options.startTime),o||e.data!==YT.PlayerState.PLAYING||(o=1,t.fire("started",e)),e.data===YT.PlayerState.PLAYING&&t.fire("play",e),e.data===YT.PlayerState.PAUSED&&t.fire("pause",e),e.data===YT.PlayerState.ENDED&&t.fire("ended",e),e.data===YT.PlayerState.PLAYING?r=setInterval((function(){t.fire("timeupdate",e),t.options.endTime&&t.player.getCurrentTime()>=t.options.endTime&&(t.options.loop?t.play(t.options.startTime):t.pause())}),150):clearInterval(r)}};var a=!t.$video;
2if(a){var s=document.createElement("div");s.setAttribute("id",t.playerID),n.appendChild(s),document.body.appendChild(n)}t.player=t.player||new window.YT.Player(t.playerID,t.playerOptions),a&&(t.$video=document.getElementById(t.playerID),t.videoWidth=parseInt(t.$video.getAttribute("width"),10)||1280,t.videoHeight=parseInt(t.$video.getAttribute("height"),10)||720)}if("vimeo"===t.type){if(t.playerOptions={id:t.videoID,autopause:0,transparent:0,autoplay:t.options.autoplay?1:0,loop:t.options.loop?1:0,muted:t.options.mute?1:0},t.options.volume&&(t.playerOptions.volume=t.options.volume),t.options.showContols||(t.playerOptions.badge=0,t.playerOptions.byline=0,t.playerOptions.portrait=0,t.playerOptions.title=0),!t.$video){var l="";Object.keys(t.playerOptions).forEach((function(e){""!==l&&(l+="&"),l+="".concat(e,"=").concat(encodeURIComponent(t.playerOptions[e]))})),t.$video=document.createElement("iframe"),t.$video.setAttribute("id",t.playerID),t.$video.setAttribute("src","https://player.vimeo.com/video/".concat(t.videoID,"?").concat(l)),t.$video.setAttribute("frameborder","0"),t.$video.setAttribute("mozallowfullscreen",""),t.$video.setAttribute("allowfullscreen",""),n.appendChild(t.$video),document.body.appendChild(n)}var c;t.player=t.player||new Vimeo.Player(t.$video,t.playerOptions),t.options.startTime&&t.options.autoplay&&t.player.setCurrentTime(t.options.startTime),t.player.getVideoWidth().then((function(e){t.videoWidth=e||1280})),t.player.getVideoHeight().then((function(e){t.videoHeight=e||720})),t.player.on("timeupdate",(function(e){c||(t.fire("started",e),c=1),t.fire("timeupdate",e),t.options.endTime&&t.options.endTime&&e.seconds>=t.options.endTime&&(t.options.loop?t.play(t.options.startTime):t.pause())})),t.player.on("play",(function(e){t.fire("play",e),t.options.startTime&&0===e.seconds&&t.play(t.options.startTime)})),t.player.on("pause",(function(e){t.fire("pause",e)})),t.player.on("ended",(function(e){t.fire("ended",e)})),t.player.on("loaded",(function(e){t.fire("ready",e)})),t.player.on("volumechange",(function(e){t.fire("volumechange",e)}))}"local"===t.type&&(t.$video||(t.$video=document.createElement("video"),t.options.showContols&&(t.$video.controls=!0),t.options.mute?t.$video.muted=!0:t.$video.volume&&(t.$video.volume=t.options.volume/100),t.options.loop&&(t.$video.loop=!0),t.$video.setAttribute("playsinline",""),t.$video.setAttribute("webkit-playsinline",""),t.$video.setAttribute("id",t.playerID),n.appendChild(t.$video),document.body.appendChild(n),Object.keys(t.videoID).forEach((function(e){var n,i,o,r;n=t.$video,i=t.videoID[e],o="video/".concat(e),(r=document.createElement("source")).src=i,r.type=o,n.appendChild(r)}))),t.player=t.player||t.$video,t.player.addEventListener("playing",(function(e){i||t.fire("started",e),i=1})),t.player.addEventListener("timeupdate",(function(e){t.fire("timeupdate",e),t.options.endTime&&t.options.endTime&&this.currentTime>=t.options.endTime&&(t.options.loop?t.play(t.options.startTime):t.pause())})),t.player.addEventListener("play",(function(e){t.fire("play",e)})),t.player.addEventListener("pause",(function(e){t.fire("pause",e)})),t.player.addEventListener("ended",(function(e){t.fire("ended",e)})),t.player.addEventListener("loadedmetadata",(function(){t.videoWidth=this.videoWidth||1280,t.videoHeight=this.videoHeight||720,t.fire("ready"),t.options.autoplay&&t.play(t.options.startTime)})),t.player.addEventListener("volumechange",(function(e){t.getVolume((function(e){t.options.volume=e})),t.fire("volumechange",e)}))),e(t.$video)}))}},{key:"init",value:function(){this.playerID="VideoWorker-".concat(this.ID)}},{key:"loadAPI",value:function(){if(!s||!l){var e="";if("youtube"!==this.type||s||(s=1,e="https://www.youtube.com/iframe_api"),"vimeo"!==this.type||l||(l=1,e="https://player.vimeo.com/api/player.js"),e){var t=document.createElement("script"),n=document.getElementsByTagName("head")[0];t.src=e,n.appendChild(t),n=null,t=null}}}},{key:"onAPIready",value:function(e){if("youtube"===this.type&&("undefined"!=typeof YT&&0!==YT.loaded||c?"object"===("undefined"==typeof YT?"undefined":i(YT))&&1===YT.loaded?e():u.done((function(){e()})):(c=1,window.onYouTubeIframeAPIReady=function(){window.onYouTubeIframeAPIReady=null,u.resolve("done"),e()})),"vimeo"===this.type)if("undefined"!=typeof Vimeo||d)"undefined"!=typeof Vimeo?e():h.done((function(){e()}));else{d=1;var t=setInterval((function(){"undefined"!=typeof Vimeo&&(clearInterval(t),h.resolve("done"),e())}),20)}"local"===this.type&&e()}}])&&o(t.prototype,n),r&&o(t,r),e}()},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return s}));var i=n(8),o=n.n(i),r=n(4),a=n.n(r);function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.a.jarallax;if(void 0!==e){var t=e.constructor,n=t.prototype.onScroll;t.prototype.onScroll=function(){var e=this;n.apply(e),!e.isVideoInserted&&e.video&&(!e.options.videoLazyLoading||e.isElementInViewport)&&!e.options.disableVideo()&&(e.isVideoInserted=!0,e.video.getVideo((function(t){var n=t.parentNode;e.css(t,{position:e.image.position,top:"0px",left:"0px",right:"0px",bottom:"0px",width:"100%",height:"100%",maxWidth:"none",maxHeight:"none",margin:0,zIndex:-1}),e.$video=t,e.image.$container.appendChild(t),n.parentNode.removeChild(n)})))};var i=t.prototype.coverImage;t.prototype.coverImage=function(){var e=i.apply(this),t=!!this.image.$item&&this.image.$item.nodeName;if(e&&this.video&&t&&("IFRAME"===t||"VIDEO"===t)){var n=e.image.height,o=n*this.image.width/this.image.height,r=(e.container.width-o)/2,a=e.image.marginTop;e.container.width>
2o&&(n=(o=e.container.width)*this.image.height/this.image.width,r=0,a+=(e.image.height-n)/2),"IFRAME"===t&&(n+=400,a-=200),this.css(this.$video,{width:"".concat(o,"px"),marginLeft:"".concat(r,"px"),height:"".concat(n,"px"),marginTop:"".concat(a,"px")})}return e};var r=t.prototype.initImg;t.prototype.initImg=function(){var e=r.apply(this);return this.options.videoSrc||(this.options.videoSrc=this.$item.getAttribute("data-jarallax-video")||null),this.options.videoSrc?(this.defaultInitImgResult=e,!0):e};var s=t.prototype.canInitParallax;t.prototype.canInitParallax=function(){var e=this,t=s.apply(e);if(!e.options.videoSrc)return t;var n=new o.a(e.options.videoSrc,{autoplay:!0,loop:e.options.videoLoop,showContols:!1,startTime:e.options.videoStartTime||0,endTime:e.options.videoEndTime||0,mute:e.options.videoVolume?0:1,volume:e.options.videoVolume||0});if(n.isValid())if(t){if(n.on("ready",(function(){if(e.options.videoPlayOnlyVisible){var t=e.onScroll;e.onScroll=function(){t.apply(e),(e.options.videoLoop||!e.options.videoLoop&&!e.videoEnded)&&(e.isVisible()?n.play():n.pause())}}else n.play()})),n.on("started",(function(){e.image.$default_item=e.image.$item,e.image.$item=e.$video,e.image.width=e.video.videoWidth||1280,e.
2image.height=e.video.videoHeight||720,e.coverImage(),e.clipContainer(),e.onScroll(),e.image.$default_item&&(e.image.$default_item.style.display="none")})),n.on("ended",(function(){e.videoEnded=!0,e.options.videoLoop||e.image.$default_item&&(e.image.$item=e.image.$default_item,e.image.$item.style.display="block",e.coverImage(),e.clipContainer(),e.onScroll())})),e.video=n,!e.defaultInitImgResult)return e.image.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7","local"===n.type||(n.getImageURL((function(t){e.image.bgImage='url("'.concat(t,'")'),e.init()})),!1)}else e.defaultInitImgResult||n.getImageURL((function(t){var n=e.$item.getAttribute("style");n&&e.$item.setAttribute("data-jarallax-original-styles",n),e.css(e.$item,{"background-image":'url("'.concat(t,'")'),"background-position":"center","background-size":"cover"})}));return t};var l=t.prototype.destroy;t.prototype.destroy=function(){this.image.$default_item&&(this.image.$item=this.image.$default_item,delete this.image.$default_item),l.apply(this)}}}}]),function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";n.r(t);var i=n(2),o=n.n(i),r=n(3);Object(r.default)(),o()((function(){"undefined"!=typeof jarallax&&jarallax(document.querySelectorAll("[data-jarallax-element]"))}))},function(e,t){e.exports=function(e){"complete"===document.readyState||"interactive"===document.readyState?e.call():document.attachEvent?document.attachEvent("onreadystatechange",(function(){"interactive"===document.readyState&&e.call()})):document.addEventListener&&document.addEventListener("DOMContentLoaded",e)}},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return r}));var i=n(4),o=n.n(i);function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.a.jarallax;if(void 0!==e){var t=e.constructor;["initImg","canInitParallax","init","destroy","clipContainer","coverImage","isVisible","onScroll","onResize"].forEach((function(e){var n=t.prototype[e];t.prototype[e]=function(){var t=this,i=arguments||[];
2if("initImg"===e&&null!==t.$item.getAttribute("data-jarallax-element")&&(t.options.type="element",t.pureOptions.speed=t.$item.getAttribute("data-jarallax-element")||t.pureOptions.speed),"element"!==t.options.type)return n.apply(t,i);switch(t.pureOptions.threshold=t.$item.getAttribute("data-threshold")||"",e){case"init":var o=t.pureOptions.speed.split(" ");t.options.speed=t.pureOptions.speed||0,t.options.speedY=o[0]?parseFloat(o[0]):0,t.options.speedX=o[1]?parseFloat(o[1]):0;var r=t.pureOptions.threshold.split(" ");t.options.thresholdY=r[0]?parseFloat(r[0]):null,t.options.thresholdX=r[1]?parseFloat(r[1]):null,n.apply(t,i);var a=t.$item.getAttribute("data-jarallax-original-styles");return a&&t.$item.setAttribute("style",a),!0;case"onResize":var s=t.css(t.$item,"transform");t.css(t.$item,{transform:""});var l=t.$item.getBoundingClientRect();t.itemData={width:l.width,height:l.height,y:l.top+t.getWindowData().y,x:l.left},t.css(t.$item,{transform:s});break;case"onScroll":var c=t.getWindowData(),d=(c.y+c.height/2-t.itemData.y-t.itemData.height/2)/(c.height/2),u=d*t.options.speedY,h=d*t.options.speedX,p=u,f=h;null!==t.options.thresholdY&&u>t.options.thresholdY&&(p=0),null!==t.options.thresholdX&&h>t.options.thresholdX&&(f=0),t.css(t.$item,{transform:"translate3d(".concat(f,"px,").concat(p,"px,0)")});break;case"initImg":case"isVisible":case"clipContainer":case"coverImage":return!0}return n.apply(t,i)}}))}}},function(e,t,n){(function(t){var n;n="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{},e.exports=n}).call(this,n(5))},function(e,t){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"===("undefined"==typeof window?"undefined":n(window))&&(i=window)}e.exports=i}]),function(){var e,t;e=this.jQuery||window.jQuery,t=e(window),e.fn.stick_in_parent=function(n){var i,o,r,a,s,l,c,d,u,h,p,f,m;for(null==n&&(n={}),h=n.sticky_class,a=n.inner_scrolling,u=n.recalc_every,d=n.parent,l=n.offset_top,s=n.spacer,r=n.bottoming,null==l&&(l=0),null==d&&(d=void 0),null==a&&(a=!0),null==h&&(h="is_stuck"),i=e(document),null==r&&(r=!0),c=function(e){var t,n;return window.getComputedStyle?(e[0],t=window.getComputedStyle(e[0]),n=parseFloat(t.getPropertyValue("width"))+parseFloat(t.getPropertyValue("margin-left"))+parseFloat(t.getPropertyValue("margin-right")),"border-box"!==t.getPropertyValue("box-sizing")&&(n+=parseFloat(t.getPropertyValue("border-left-width"))+parseFloat(t.getPropertyValue("border-right-width"))+parseFloat(t.getPropertyValue("padding-left"))+parseFloat(t.getPropertyValue("padding-right"))),n):e.outerWidth(!0)},p=function(n,o,p,f,m,g,v,y){var b,w,_,S,O,x,k,E,C,T,D,I;if(!n.data("sticky_kit")){if(n.data("sticky_kit",!0),O=i.height(),k=n.parent(),null!=d&&(k=k.closest(d)),!k.length)throw"failed to find stick parent";if(_=!1,b=!1,(D=null!=s?s&&n.closest(s):e("<div />"))&&D.css("position",n.css("position")),(E=function(){var e,t,r;if(!y)return O=i.height(),e=parseInt(k.css("border-top-width"),10),t=parseInt(k.css("padding-top"),10),o=parseInt(k.css("padding-bottom"),10),p=k.offset().top+e+t,f=k.height(),_&&(_=!1,b=!1,null==s&&(n.insertAfter(D),D.detach()),n.css({position:"",top:"",width:"",bottom:""}).removeClass(h),r=!0),m=n.offset().top-(parseInt(n.css("margin-top"),10)||0)-l,g=n.outerHeight(!0),v=n.css("float"),D&&D.css({width:c(n),height:g,display:n.css("display"),"vertical-align":n.css("vertical-align"),float:v}),r?I():void 0})(),g!==f)return S=void 0,x=l,T=u,I=function(){var e,c,d,w,C,I;if(!y)return d=!1,null!=T&&(T-=1)<=0&&(T=u,E(),d=!0),d||i.height()===O||(E(),d=!0),w=t.scrollTop(),null!=S&&(c=w-S),S=w,_?(r&&(C=w+g+x>f+p,b&&!C&&(b=!1,n.css({position:"fixed",bottom:"",top:x}).trigger("sticky_kit:unbottom"))),w<m&&(_=!1,x=l,null==s&&("left"!==v&&"right"!==v||n.insertAfter(D),D.detach()),e={position:"",width:"",top:""},n.css(e).removeClass(h).trigger("sticky_kit:unstick")),a&&(I=t.height(),g+l>I&&(b||(x-=c,x=Math.max(I-g,x),x=Math.min(l,x),_&&n.css({top:x+"px"}))))):w>m&&(_=!0,(e={position:"fixed",top:x}).width="border-box"===n.css("box-sizing")?n.outerWidth()+"px":n.width()+"px",n.css(e).addClass(h),null==s&&(n.after(D),"left"!==v&&"right"!==v||D.append(n)),n.trigger("sticky_kit:stick")),_&&r&&(null==C&&(C=w+g+x>f+p),!b&&C)?(b=!0,"static"===k.css("position")&&k.css({position:"relative"}),n.css({position:"absolute",bottom:o,top:"auto"}).trigger("sticky_kit:bottom")):void 0},C=function(){return E(),I()},w=function(){if(y=!0,t.off("touchmove",I),t.off("scroll",I),t.off("resize",C),e(document.body).off("sticky_kit:recalc",C),n.off("sticky_kit:detach",w),n.removeData("sticky_kit"),n.css({position:"",bottom:"",top:"",width:""}),k.position("position",""),_)return null==s&&("left"!==v&&"right"!==v||n.insertAfter(D),D.remove()),n.removeClass(h)},t.on("touchmove",I),t.on("scroll",I),t.on("resize",C),e(document.body).on("sticky_kit:recalc",C),n.on("sticky_kit:detach",w),setTimeout(I,0)}},f=0,m=this.length;f<m;
vendor: 8,343 bytes, line 2
2f++)o=this[f],p(e(o));return this}}.call(this),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Sortable=t()}(this,(function(){"use strict";function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function n(){return(n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function i(e){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{},o=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(i).filter((function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable})))),o.forEach((function(n){t(e,n,i[n])}))}return e}function o(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function a(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}var s=a(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),l=a(/Edge/i),c=a(/firefox/i),d=a(/safari/i)&&!a(/chrome/i)&&!a(/android/i),u=a(/iP(ad|od|hone)/i),h=a(/chrome/i)&&a(/android/i),p={capture:!1,passive:!1};function f(e,t,n){e.addEventListener(t,n,!s&&p)}function m(e,t,n){e.removeEventListener(t,n,!s&&p)}function g(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function v(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function y(e,t,n,i){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&g(e,t):g(e,t))||i&&e===n)return e;if(e===n)break}while(e=v(e))}return null}var b,w=/\s+/g;function _(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(w," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(w," ")}}function S(e,t,n){var i=e&&e.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=n+("string"==typeof n?"":"px")}}function O(e,t){var n="";if("string"==typeof e)n=e;else do{var i=S(e,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix;return o&&new o(n)}function x(e,t,n){if(e){var i=e.getElementsByTagName(t),o=0,r=i.length;if(n)for(;o<r;o++)n(i[o],o);return i}return[]}function k(){return s?document.documentElement:document.scrollingElement}function E(e,t,n,i,o){if(e.getBoundingClientRect||e===window){var r,a,l,c,d,u,h;if(e!==window&&e!==k()?(a=(r=e.getBoundingClientRect()).top,l=r.left,c=r.bottom,d=r.right,u=r.height,h=r.width):(a=0,l=0,c=window.innerHeight,d=window.innerWidth,u=window.innerHeight,h=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!s))do{if(o&&o.getBoundingClientRect&&("none"!==S(o,"transform")||n&&"static"!==S(o,"position"))){var p=o.getBoundingClientRect();a-=p.top+parseInt(S(o,"border-top-width")),l-=p.left+parseInt(S(o,"border-left-width")),c=a+r.height,d=l+r.width;break}}while(o=o.parentNode);if(i&&e!==window){var f=O(o||e),m=f&&f.a,g=f&&f.d;f&&(c=(a/=g)+(u/=g),d=(l/=m)+(h/=m))}return{top:a,left:l,bottom:c,right:d,width:h,height:u}}}function C(e,t,n){for(var i=A(e,!0),o=E(e)[t];i;){var r=E(i)[n];if(!("top"===n||"left"===n?o>=r:o<=r))return i;if(i===k())break;i=A(i,!1)}return!1}function T(e,t,n){for(var i=0,o=0,r=e.children;o<r.length;){if("none"!==r[o].style.display&&r[o]!==Pe.ghost&&r[o]!==Pe.dragged&&y(r[o],n.draggable,e,!1)){if(i===t)return r[o];i++}o++}return null}function D(e,t){for(var n=e.lastElementChild;n&&(n===Pe.ghost||"none"===S(n,"display")||t&&!g(n,t));)n=n.previousElementSibling;return n||null}function I(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Pe.clone||t&&!g(e,t)||n++;return n}function j(e){var t=0,n=0,i=k();if(e)do{var o=O(e),r=o.a,a=o.d;t+=e.scrollLeft*r,n+=e.scrollTop*a}while(e!==i&&(e=e.parentNode));return[t,n]}function A(e,t){if(!e||!e.getBoundingClientRect)return k();var n=e,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=S(n);if(n.clientWidth<n.scrollWidth&&("auto"==o.overflowX||"scroll"==o.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==o.overflowY||"scroll"==o.overflowY)){if(!n.getBoundingClientRect||n===document.body)return k();if(i||t)return n;i=!0}}}while(n=n.parentNode);return k()}function W(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function M(e,t){return function(){if(!b){var n=arguments,i=this;1===n.length?e.call(i,n[0]):e.apply(i,n),b=setTimeout((function(){b=void 0}),t)}}}function L(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function N(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function P(e,t){S(e,"position","absolute"),S(e,"top",t.top),S(e,"left",t.left),S(e,"width",t.width),S(e,"height",t.height)}function H(e){S(e,"position",""),S(e,"top",""),S(e,"left",""),S(e,"width",""),S(e,"height","")}var R="Sortable"+(new Date).getTime();function $(){var e,t=[];return{captureAnimationState:function(){(t=[],this.options.animation)&&[].slice.call(this.el.children).forEach((function(e){if("none"!==S(e,"display")&&e!==Pe.ghost){t.push({target:e,rect:E(e)});var n=i({},t[t.length-1].rect);if(e.thisAnimationDuration){var o=O(e,!0);o&&(n.top-=o.f,n.left-=o.e)}e.fromRect=n}}))},addAnimationState:function(e){t.push(e)},removeAnimationState:function(e){t.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[n][i])return Number(n);return-1}(t,{target:e}),1)},animateAll:function(n){var i=this;if(!this.options.animation)return clearTimeout(e),void("function"==typeof n&&n());var o=!1,r=0;t.forEach((function(e){var t=0,n=e.target,a=n.fromRect,s=E(n),l=n.prevFromRect,c=n.prevToRect,d=e.rect,u=O(n,!0);u&&(s.top-=u.f,s.left-=u.e),n.toRect=s,n.thisAnimationDuration&&W(l,s)&&!W(a,s)&&(d.top-s.top)/(d.left-s.left)==(a.top-s.top)/(a.left-s.left)&&(t=function(e,t,n,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*i.animation}(d,l,c,i.options)),W(s,a)||(n.prevFromRect=a,n.prevToRect=s,t||(t=i.options.animation),i.animate(n,d,s,t)),t&&(o=!0,r=Math.max(r,t),clearTimeout(n.animationResetTimer),n.animationResetTimer=setTimeout((function(){n.animationTime=0,n.prevFromRect=null,n.fromRect=null,n.prevToRect=null,n.thisAnimationDuration=null}),t),n.thisAnimationDuration=t)})),clearTimeout(e),o?e=setTimeout((function(){"function"==typeof n&&n()}),r):"function"==typeof n&&n(),t=[]},animate:function(e,t,n,i){if(i){S(e,"transition",""),S(e,"transform","");var o=O(this.el),r=o&&o.a,a=o&&o.d,s=(t.left-n.left)/(r||1),l=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!l,S(e,"transform","translate3d("+s+"px,"+l+"px,0)"),function(e){e.offsetWidth}(e),S(e,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),S(e,"transform","translate3d(0,
20,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout((function(){S(e,"transition",""),S(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1}),i)}}}}var Y=[],V={initializeByDefault:!0},F={mount:function(e){for(var t in V)!V.hasOwnProperty(t)||t in e||(e[t]=V[t]);Y.push(e)},pluginEvent:function(e,t,n){var o=this;this.eventCanceled=!1,n.cancel=function(){o.eventCanceled=!0};var r=e+"Global";Y.forEach((function(o){t[o.pluginName]&&(t[o.pluginName][r]&&t[o.pluginName][r](i({sortable:t},n)),t.options[o.pluginName]&&t[o.pluginName][e]&&t[o.pluginName][e](i({sortable:t},n)))}))},initializePlugins:function(e,t,i,o){for(var r in Y.forEach((function(o){var r=o.pluginName;if(e.options[r]||o.initializeByDefault){var a=new o(e,t,e.options);a.sortable=e,a.options=e.options,e[r]=a,n(i,a.defaults)}})),e.options)if(e.options.hasOwnProperty(r)){var a=this.modifyOption(e,r,e.options[r]);void 0!==a&&(e.options[r]=a)}},getEventProperties:function(e,t){var i={};return Y.forEach((function(o){"function"==typeof o.eventProperties&&n(i,o.eventProperties.call(t[o.pluginName],e))})),i},modifyOption:function(e,t,n){var i;return Y.forEach((function(o){e[o.pluginName]&&o.optionListeners&&"function"==typeof o.optionListeners[t]&&(i=o.optionListeners[t].call(e[o.pluginName],n))})),i}};function z(e){var t=e.sortable,n=e.rootEl,o=e.name,r=e.targetEl,a=e.cloneEl,c=e.toEl,d=e.fromEl,u=e.oldIndex,h=e.newIndex,p=e.oldDraggableIndex,f=e.newDraggableIndex,m=e.originalEvent,g=e.putSortable,v=e.extraEventProperties;if(t=t||n&&n[R]){var y,b=t.options,w="on"+o.charAt(0).toUpperCase()+o.substr(1);!window.CustomEvent||s||l?(y=document.createEvent("Event")).initEvent(o,!0,!0):y=new CustomEvent(o,{bubbles:!0,cancelable:!0}),y.to=c||n,y.from=d||n,y.item=r||n,y.clone=a,y.oldIndex=u,y.newIndex=h,y.oldDraggableIndex=p,y.newDraggableIndex=f,y.originalEvent=m,y.pullMode=g?g.lastPutMode:void 0;var _=i({},v,F.getEventProperties(o,t));for(var S in _)y[S]=_[S];n&&n.dispatchEvent(y),b[w]&&b[w].call(t,y)}}var Q=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,a=o(n,["evt"]);F.pluginEvent.bind(Pe)(e,t,i({dragEl:U,parentEl:G,ghostEl:q,rootEl:X,nextEl:K,lastDownEl:Z,cloneEl:J,cloneHidden:ee,dragStarted:pe,putSortable:ae,activeSortable:Pe.active,originalEvent:r,oldIndex:te,oldDraggableIndex:ie,newIndex:ne,newDraggableIndex:oe,hideGhostForTarget:We,unhideGhostForTarget:Me,cloneNowHidden:function(){ee=!0},cloneNowShown:function(){ee=!1},dispatchSortableEvent:function(e){B({sortable:t,name:e,originalEvent:r})}},a))};function B(e){z(i({putSortable:ae,cloneEl:J,targetEl:U,rootEl:X,oldIndex:te,oldDraggableIndex:ie,newIndex:ne,newDraggableIndex:oe},e))}var U,G,q,X,K,Z,J,ee,te,ne,ie,oe,re,ae,se,le,ce,de,ue,he,pe,fe,me,ge,ve,ye=!1,be=!1,we=[],_e=!1,Se=!1,Oe=[],xe=!1,ke=[],Ee="undefined"!=typeof document,Ce=u,Te=l||s?"cssFloat":"float",De=Ee&&!h&&!u&&"draggable"in document.createElement("div"),Ie=function(){if(Ee){if(s)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}
vendor: 8,330 bytes, line 2
2(),je=function(e,t){var n=S(e),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),o=T(e,0,t),r=T(e,1,t),a=o&&S(o),s=r&&S(r),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+E(o).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+E(r).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(o&&a.float&&"none"!==a.float){var d="left"===a.float?"left":"right";return!r||"both"!==s.clear&&s.clear!==d?"horizontal":"vertical"}return o&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=i&&"none"===n[Te]||r&&"none"===n[Te]&&l+c>i)?"vertical":"horizontal"},Ae=function(t){function n(e,t){return function(i,o,r,a){var s=i.options.group.name&&o.options.group.name&&i.options.group.name===o.options.group.name;if(null==e&&(t||s))return!0;if(null==e||!1===e)return!1;if(t&&"clone"===e)return e;if("function"==typeof e)return n(e(i,o,r,a),t)(i,o,r,a);var l=(t?i:o).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var i={},o=t.group;o&&"object"==e(o)||(o={name:o}),i.name=o.name,i.checkPull=n(o.pull,!0),i.checkPut=n(o.put),i.revertClone=o.revertClone,t.group=i},We=function(){!Ie&&q&&S(q,"display","none")},Me=function(){!Ie&&q&&S(q,"display","")};Ee&&document.addEventListener("click",(function(e){if(be)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),be=!1,!1}),!0);var Le=function(e){if(U){e=e.touches?e.touches[0]:e;var t=(o=e.clientX,r=e.clientY,we.some((function(e){if(!D(e)){var t=E(e),n=e[R].options.emptyInsertThreshold,i=o>=t.left-n&&o<=t.right+n,s=r>=t.top-n&&r<=t.bottom+n;return n&&i&&s?a=e:void 0}})),a);if(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[R]._onDragOver(n)}}var o,r,a},Ne=function(e){U&&U.parentNode[R]._isOutsideThisEl(e.target)};function Pe(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=n({},t),e[R]=this;var i={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return je(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Pe.supportPointer&&"PointerEvent"in window,emptyInsertThreshold:5};for(var o in F.initializePlugins(this,e,i),i)!(o in t)&&(t[o]=i[o]);for(var r in Ae(t),this)"_"===r.charAt(0)&&"function"==typeof this[r]&&(this[r]=this[r].bind(this));this.nativeDraggable=!t.forceFallback&&De,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?f(e,"pointerdown",this._onTapStart):(f(e,"mousedown",this._onTapStart),f(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(f(e,"dragover",this),f(e,"dragenter",this)),we.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),n(this,$())}function He(e,t,n,i,o,r,a,c){var d,u,h=e[R],p=h.options.onMove;return!window.CustomEvent||s||l?(d=document.createEvent("Event")).initEvent("move",!0,!0):d=new CustomEvent("move",{bubbles:!0,cancelable:!0}),d.to=t,d.from=e,d.dragged=n,d.draggedRect=i,d.related=o||t,d.relatedRect=r||E(t),d.willInsertAfter=c,d.originalEvent=a,e.dispatchEvent(d),p&&(u=p.call(h,d,a)),u}function Re(e){e.draggable=!1}function $e(){xe=!1}function Ye(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;n--;)i+=t.charCodeAt(n);return i.toString(36)}function Ve(e){return setTimeout(e,0)}function Fe(e){return clearTimeout(e)}Pe.prototype={constructor:Pe,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(fe=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,U):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,i=this.options,o=i.preventOnFilter,r=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=i.filter;if(function(e){ke.length=0;var t=e.getElementsByTagName("input"),n=t.length;for(;n--;){var i=t[n];i.checked&&ke.push(i)}}(n),!U&&!(/mousedown|pointerdown/.test(r)&&0!==e.button||i.disabled||l.isContentEditable||(s=y(s,i.draggable,n,!1))&&s.animated||Z===s)){if(te=I(s),ie=I(s,i.draggable),"function"==typeof c){if(c.call(this,e,s,this))return B({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),Q("filter",t,{evt:e}),void(o&&e.cancelable&&e.preventDefault())}else if(c&&(c=c.split(",").some((function(i){if(i=y(l,i.trim(),n,!1))return B({sortable:t,rootEl:i,name:"filter",targetEl:s,fromEl:n,toEl:n}),Q("filter",t,{evt:e}),!0}))))return void(o&&e.cancelable&&e.preventDefault());i.handle&&!y(l,i.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var i,o=this,r=o.el,a=o.options,d=r.ownerDocument;if(n&&!U&&n.parentNode===r){var u=E(n);if(X=r,G=(U=n).parentNode,K=U.nextSibling,Z=n,re=a.group,Pe.dragged=U,se={target:U,clientX:(t||e).clientX,clientY:(t||e).clientY},ue=se.clientX-u.left,he=se.clientY-u.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,U.style["will-change"]="all",i=function(){Q("delayEnded",o,{evt:e}),Pe.eventCanceled?o._onDrop():(o._disableDelayedDragEvents(),!c&&o.nativeDraggable&&(U.draggable=!0),o._triggerDragStart(e,t),B({sortable:o,name:"choose",originalEvent:e}),_(U,a.chosenClass,!0))},a.ignore.split(",").forEach((function(e){x(U,e.trim(),Re)})),f(d,"dragover",Le),f(d,"mousemove",Le),f(d,"touchmove",Le),f(d,"mouseup",o._onDrop),f(d,"touchend",o._onDrop),f(d,"touchcancel",o._onDrop),c&&this.nativeDraggable&&(this.options.touchStartThreshold=4,U.draggable=!0),Q("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(l||s))i();else{if(Pe.eventCanceled)return void this._onDrop();f(d,"mouseup",o._disableDelayedDrag),f(d,"touchend",o._disableDelayedDrag),f(d,"touchcancel",o._disableDelayedDrag),f(d,"mousemove",o._delayedDragTouchMoveHandler),f(d,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&f(d,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){U&&Re(U),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;m(e,"mouseup",this._disableDelayedDrag),m(e,"touchend",this._disableDelayedDrag),m(e,"touchcancel",this._disableDelayedDrag),m(e,"mousemove",this._delayedDragTouchMoveHandler),m(e,"touchmove",this._delayedDragTouchMoveHandler),m(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?f(document,"pointermove",this._onTouchMove):f(document,t?"touchmove":"mousemove",this._onTouchMove):(f(U,"dragend",this),f(X,"dragstart",this._onDragStart));try{document.selection?Ve((function(){document.selection.empty()})):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(ye=!1,X&&U){Q("dragStarted",this,{evt:t}),this.nativeDraggable&&f(document,"dragover",Ne);var n=this.options;!e&&_(U,n.dragClass,!1),_(U,n.ghostClass,!0),Pe.active=this,e&&this._appendGhost(),B({sortable:this,name:"start",originalEvent:t})}
vendor: 17,103 bytes, line 2
2else this._nulling()},_emulateDragOver:function(){if(le){this._lastX=le.clientX,this._lastY=le.clientY,We();for(var e=document.elementFromPoint(le.clientX,le.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(le.clientX,le.clientY))!==t;)t=e;if(U.parentNode[R]._isOutsideThisEl(e),t)do{if(t[R]){if(t[R]._onDragOver({clientX:le.clientX,clientY:le.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);Me()}},_onTouchMove:function(e){if(se){var t=this.options,n=t.fallbackTolerance,i=t.fallbackOffset,o=e.touches?e.touches[0]:e,r=q&&O(q),a=q&&r&&r.a,s=q&&r&&r.d,l=Ce&&ve&&j(ve),c=(o.clientX-se.clientX+i.x)/(a||1)+(l?l[0]-Oe[0]:0)/(a||1),d=(o.clientY-se.clientY+i.y)/(s||1)+(l?l[1]-Oe[1]:0)/(s||1);if(!Pe.active&&!ye){if(n&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(q){r?(r.e+=c-(ce||0),r.f+=d-(de||0)):r={a:1,b:0,c:0,d:1,e:c,f:d};var u="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");S(q,"webkitTransform",u),S(q,"mozTransform",u),S(q,"msTransform",u),S(q,"transform",u),ce=c,de=d,le=o}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!q){var e=this.options.fallbackOnBody?document.body:X,t=E(U,!0,Ce,!0,e),n=this.options;if(Ce){for(ve=e;"static"===S(ve,"position")&&"none"===S(ve,"transform")&&ve!==document;)ve=ve.parentNode;ve!==document.body&&ve!==document.documentElement?(ve===document&&(ve=k()),t.top+=ve.scrollTop,t.left+=ve.scrollLeft):ve=k(),Oe=j(ve)}_(q=U.cloneNode(!0),n.ghostClass,!1),_(q,n.fallbackClass,!0),_(q,n.dragClass,!0),S(q,"transition",""),S(q,"transform",""),S(q,"box-sizing","border-box"),S(q,"margin",0),S(q,"top",t.top),S(q,"left",t.left),S(q,"width",t.width),S(q,"height",t.height),S(q,"opacity","0.8"),S(q,"position",Ce?"absolute":"fixed"),S(q,"zIndex","100000"),S(q,"pointerEvents","none"),Pe.ghost=q,e.appendChild(q),S(q,"transform-origin",ue/parseInt(q.style.width)*100+"% "+he/parseInt(q.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,i=e.dataTransfer,o=n.options;Q("dragStart",this,{evt:e}),Pe.eventCanceled?this._onDrop():(Q("setupClone",this),Pe.eventCanceled||((J=N(U)).draggable=!1,J.style["will-change"]="",this._hideClone(),_(J,this.options.chosenClass,!1),Pe.clone=J),n.cloneId=Ve((function(){Q("clone",n),Pe.eventCanceled||(n.options.removeCloneOnHide||X.insertBefore(J,U),n._hideClone(),B({sortable:n,name:"clone"}))})),!t&&_(U,o.dragClass,!0),t?(be=!0,n._loopId=setInterval(n._emulateDragOver,50)):(m(document,"mouseup",n._onDrop),m(document,"touchend",n._onDrop),m(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",o.setData&&o.setData.call(n,i,U)),f(document,"drop",n),S(U,"transform","translateZ(0)")),ye=!0,n._dragStartId=Ve(n._dragStarted.bind(n,t,e)),f(document,"selectstart",n),pe=!0,d&&S(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,o,r,a=this.el,s=e.target,l=this.options,c=l.group,d=Pe.active,u=re===c,h=l.sort,p=ae||d,f=this,m=!1;if(!xe){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),s=y(s,l.draggable,a,!0),P("dragOver"),Pe.eventCanceled)return m;if(U.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||f._ignoreWhileAnimating===s)return $(!1);if(be=!1,d&&!l.disabled&&(u?h||(o=!X.contains(U)):ae===this||(this.lastPutMode=re.checkPull(this,d,U,e))&&c.checkPut(this,d,U,e))){if(r="vertical"===this._getDirection(e,s),t=E(U),P("dragOverValid"),Pe.eventCanceled)return m;if(o)return G=X,H(),this._hideClone(),P("revert"),Pe.eventCanceled||(K?X.insertBefore(U,K):X.appendChild(U)),$(!0);var g=D(a,l.draggable);if(!g||function(e,t,n){var i=E(D(n.el,n.options.draggable));return t?e.clientX>i.right+10||e.clientX<=i.right&&e.clientY>i.bottom&&e.clientX>=i.left:e.clientX>i.right&&e.clientY>i.top||e.clientX<=i.right&&e.clientY>i.bottom+10}(e,r,this)&&!g.animated){if(g===U)return $(!1);if(g&&a===e.target&&(s=g),s&&(n=E(s)),!1!==He(X,a,U,t,s,n,e,!!s))return H(),a.appendChild(U),G=a,Y(),$(!0)}else if(s.parentNode===a){n=E(s);var v,b,w,O=U.parentNode!==a,x=!function(e,t,n){var i=n?e.left:e.top,o=n?e.right:e.bottom,r=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return i===a||o===s||i+r/2===a+l/2}(U.animated&&U.toRect||t,s.animated&&s.toRect||n,r),k=r?"top":"left",T=C(s,"top","top")||C(U,"top","top"),j=T?T.scrollTop:void 0;if(fe!==s&&(b=n[k],_e=!1,Se=!x&&l.invertSwap||O),0!==(v=function(e,t,n,i,o,r,a,s){var l=i?e.clientY:e.clientX,c=i?n.height:n.width,d=i?n.top:n.left,u=i?n.bottom:n.right,h=!1;if(!a)if(s&&ge<c*o){if(!_e&&(1===me?l>d+c*r/2:l<u-c*r/2)&&(_e=!0),_e)h=!0;else if(1===me?l<d+ge:l>u-ge)return-me}else if(l>d+c*(1-o)/2&&l<u-c*(1-o)/2)return function(e){return I(U)<I(e)?1:-1}(t);if((h=h||a)&&(l<d+c*r/2||l>u-c*r/2))return l>d+c/2?1:-1;return 0}(e,s,n,r,x?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,Se,fe===s))){var A=I(U);do{A-=v,w=G.children[A]}while(w&&("none"===S(w,"display")||w===q))}if(0===v||w===s)return $(!1);fe=s,me=v;var W=s.nextElementSibling,M=!1,N=He(X,a,U,t,s,n,e,M=1===v);if(!1!==N)return 1!==N&&-1!==N||(M=1===N),xe=!0,setTimeout($e,30),H(),M&&!W?a.appendChild(U):s.parentNode.insertBefore(U,M?W:s),T&&L(T,0,j-T.scrollTop),G=U.parentNode,void 0===b||Se||(ge=Math.abs(b-E(s)[k])),Y(),$(!0)}if(a.contains(U))return $(!1)}return!1}function P(l,c){Q(l,f,i({evt:e,isOwner:u,axis:r?"vertical":"horizontal",revert:o,dragRect:t,targetRect:n,canSort:h,fromSortable:p,target:s,completed:$,onMove:function(n,i){return He(X,a,U,t,n,E(n),e,i)},changed:Y},c))}function H(){P("dragOverAnimationCapture"),f.captureAnimationState(),f!==p&&p.captureAnimationState()}function $(t){return P("dragOverCompleted",{insertion:t}),t&&(u?d._hideClone():d._showClone(f),f!==p&&(_(U,ae?ae.options.ghostClass:d.options.ghostClass,!1),_(U,l.ghostClass,!0)),ae!==f&&f!==Pe.active?ae=f:f===Pe.active&&ae&&(ae=null),p===f&&(f._ignoreWhileAnimating=s),f.animateAll((function(){P("dragOverAnimationComplete"),f._ignoreWhileAnimating=null})),f!==p&&(p.animateAll(),p._ignoreWhileAnimating=null)),(s===U&&!U.animated||s===a&&!s.animated)&&(fe=null),l.dragoverBubble||e.rootEl||s===document||(U.parentNode[R]._isOutsideThisEl(e.target),!t&&Le(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function Y(){ne=I(U),oe=I(U,l.draggable),B({sortable:f,name:"change",toEl:a,newIndex:ne,newDraggableIndex:oe,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",Le),m(document,"mousemove",Le),m(document,"touchmove",Le)},_offUpEvents:function(){var e=this.el.ownerDocument;m(e,"mouseup",this._onDrop),m(e,"touchend",this._onDrop),m(e,"pointerup",this._onDrop),m(e,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;ne=I(U),oe=I(U,n.draggable),Q("drop",this,{evt:e}),G=U&&U.parentNode,ne=I(U),oe=I(U,n.draggable),Pe.eventCanceled?this._nulling():(ye=!1,Se=!1,_e=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Fe(this.cloneId),Fe(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),d&&S(document.body,"user-select",""),e&&(pe&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),q&&q.parentNode&&q.parentNode.removeChild(q),(X===G||ae&&"clone"!==ae.lastPutMode)&&J&&J.parentNode&&J.parentNode.removeChild(J),U&&(this.nativeDraggable&&m(U,"dragend",this),Re(U),U.style["will-change"]="",pe&&!ye&&_(U,ae?ae.options.ghostClass:this.options.ghostClass,!1),_(U,this.options.chosenClass,!1),B({sortable:this,name:"unchoose",toEl:G,newIndex:null,newDraggableIndex:null,originalEvent:e}),X!==G?(ne>=0&&(B({rootEl:G,name:"add",toEl:G,fromEl:X,originalEvent:e}),B({sortable:this,name:"remove",toEl:G,originalEvent:e}),B({rootEl:G,name:"sort",toEl:G,fromEl:X,originalEvent:e}),B({sortable:this,name:"sort",toEl:G,originalEvent:e})),ae&&ae.save()):ne!==te&&ne>=0&&(B({sortable:this,name:"update",toEl:G,originalEvent:e}),B({sortable:this,name:"sort",toEl:G,originalEvent:e})),Pe.active&&(null!=ne&&-1!==ne||(ne=te,oe=ie),B({sortable:this,name:"end",toEl:G,originalEvent:e}),this.save()))),this._nulling())},_nulling:function(){Q("nulling",this),X=U=G=q=K=J=Z=ee=se=le=pe=ne=oe=te=ie=fe=me=ae=re=Pe.dragged=Pe.ghost=Pe.clone=Pe.active=null,ke.forEach((function(e){e.checked=!0})),ke.length=ce=de=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":U&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,i=0,o=n.length,r=this.options;i<o;i++)y(e=n[i],r.draggable,this.el,!1)&&t.push(e.getAttribute(r.dataIdAttr)||Ye(e));return t},sort:function(e){var t={},n=this.el;this.toArray().forEach((function(e,i){var o=n.children[i];y(o,this.options.draggable,n,!1)&&(t[e]=o)}),this),e.forEach((function(e){t[e]&&(n.removeChild(t[e]),n.appendChild(t[e]))}))},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return y(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var i=F.modifyOption(this,e,t);n[e]=void 0!==i?i:t,"group"===e&&Ae(n)},destroy:function(){Q("destroy",this);var e=this.el;e[R]=null,m(e,"mousedown",this._onTapStart),m(e,"touchstart",this._onTapStart),m(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(e,"dragover",this),m(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),(function(e){e.removeAttribute("draggable")})),this._onDrop(),we.splice(we.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!ee){if(Q("hideClone",this),Pe.eventCanceled)return;S(J,"display","none"),this.options.removeCloneOnHide&&J.parentNode&&J.parentNode.removeChild(J),ee=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(ee){if(Q("showClone",this),Pe.eventCanceled)return;X.contains(U)&&!this.options.group.revertClone?X.insertBefore(J,U):K?X.insertBefore(J,K):X.appendChild(J),this.options.group.revertClone&&this.animate(U,J),S(J,"display",""),ee=!1}}else this._hideClone()}},Ee&&f(document,"touchmove",(function(e){(Pe.active||ye)&&e.cancelable&&e.preventDefault()})),Pe.utils={on:f,off:m,css:S,find:x,is:function(e,t){return!!y(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:M,closest:y,toggleClass:_,clone:N,index:I,nextTick:Ve,cancelNextTick:Fe,detectDirection:je,getChild:T},Pe.get=function(e){return e[R]},Pe.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach((function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Pe.utils=i({},Pe.utils,e.utils)),F.mount(e)}))},Pe.create=function(e,t){return new Pe(e,t)},Pe.version="1.10.1";var ze,Qe,Be,Ue,Ge,qe,Xe=[],Ke=!1;function Ze(){Xe.forEach((function(e){clearInterval(e.pid)})),Xe=[]}function Je(){clearInterval(qe)}var et,tt=M((function(e,t,n,i){if(t.scroll){var o,r=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=k(),d=!1;Qe!==n&&(Qe=n,Ze(),ze=t.scroll,o=t.scrollFn,!0===ze&&(ze=A(n,!0)));var u=0,h=ze;do{var p=h,f=E(p),m=f.top,g=f.bottom,v=f.left,y=f.right,b=f.width,w=f.height,_=void 0,O=void 0,x=p.scrollWidth,C=p.scrollHeight,T=S(p),D=p.scrollLeft,I=p.scrollTop;p===c?(_=b<x&&("auto"===T.overflowX||"scroll"===T.overflowX||"visible"===T.overflowX),O=w<C&&("auto"===T.overflowY||"scroll"===T.overflowY||"visible"===T.overflowY)):(_=b<x&&("auto"===T.overflowX||"scroll"===T.overflowX),O=w<C&&("auto"===T.overflowY||"scroll"===T.overflowY));var j=_&&(Math.abs(y-r)<=s&&D+b<x)-(Math.abs(v-r)<=s&&!!D),W=O&&(Math.abs(g-a)<=s&&I+w<C)-(Math.abs(m-a)<=s&&!!I);if(!Xe[u])for(var M=0;M<=u;M++)Xe[M]||(Xe[M]={});Xe[u].vx==j&&Xe[u].vy==W&&Xe[u].el===p||(Xe[u].el=p,Xe[u].vx=j,Xe[u].vy=W,clearInterval(Xe[u].pid),0==j&&0==W||(d=!0,Xe[u].pid=setInterval(function(){i&&0===this.layer&&Pe.active._onTouchMove(Ge);var t=Xe[this.layer].vy?Xe[this.layer].vy*l:0,n=Xe[this.layer].vx?Xe[this.layer].vx*l:0;"function"==typeof o&&"continue"!==o.call(Pe.dragged.parentNode[R],n,t,e,Ge,Xe[this.layer].el)||L(Xe[this.layer].el,n,t)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&h!==c&&(h=A(h,!1)));Ke=d}}),30),nt=function(e){var t=e.originalEvent,n=e.putSortable,i=e.dragEl,o=e.activeSortable,r=e.dispatchSortableEvent,a=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||o;a();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,d=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(d)&&(r("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function it(){}function ot(){}it.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=T(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:nt},n(it,{pluginName:"revertOnSpill"}),ot.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:nt},n(ot,{pluginName:"removeOnSpill"});var rt,at,st,lt,ct,dt=[],ut=[],ht=!1,pt=!1,ft=!1;function mt(e,t){ut.forEach((function(n,i){var o=t.children[n.sortableIndex+(e?Number(i):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}function gt(){dt.forEach((function(e){e!==st&&e.parentNode&&e.parentNode.removeChild(e)}))}return Pe.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?f(document,"dragover",this._handleAutoScroll):this.options.supportPointer?f(document,"pointermove",this._handleFallbackAutoScroll):t.touches?f(document,"touchmove",this._handleFallbackAutoScroll):f(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),Je(),Ze(),clearTimeout(b),b=void 0},nulling:function(){Ge=Qe=ze=Ke=qe=Be=Ue=null,Xe.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,i=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,r=document.elementFromPoint(i,o);if(Ge=e,t||l||s||d){tt(e,this.options,r,t);var a=A(r,!0);!Ke||qe&&i===Be&&o===Ue||(qe&&Je(),qe=setInterval((function(){var r=A(document.elementFromPoint(i,o),!0);r!==a&&(a=r,Ze()),tt(e,n.options,r,t)}),10),Be=i,Ue=o)}else{if(!this.options.bubbleScroll||A(r,!0)===k())return void Ze();tt(e,this.options,A(r,!1),!1)}}},n(e,{pluginName:"scroll",initializeByDefault:!0})}),Pe.mount(ot,it),Pe.mount(new function(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;et=t},dragOverValid:function(e){var t=e.completed,n=e.target,i=e.onMove,o=e.activeSortable,r=e.changed,a=e.cancel;if(o.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=et;!1!==i(n)?(_(n,l.swapClass,!0),et=n):et=null,c&&c!==et&&_(c,l.swapClass,!1)}r(),t(!0),a()}},drop:function(e){var t=e.activeSortable,n=e.putSortable,i=e.dragEl,o=n||this.sortable,r=this.options;et&&_(et,r.swapClass,!1),et&&(r.swap||n&&n.options.swap)&&i!==et&&(o.captureAnimationState(),o!==t&&t.captureAnimationState(),function(e,t){var n,i,o=e.parentNode,r=t.parentNode;if(!o||!r||o.isEqualNode(t)||r.isEqualNode(e))return;n=I(e),i=I(t),o.isEqualNode(r)&&n<i&&i++;o.insertBefore(t,o.children[n]),r.insertBefore(e,r.children[i])}(i,et),o.animateAll(),o!==t&&t.animateAll())},nulling:function(){et=null}},n(e,{pluginName:"swap",eventProperties:function(){return{swapItem:et}}})}),Pe.mount(new function(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.supportPointer?f(document,"pointerup",this._deselectMultiDrag):(f(document,"mouseup",this._deselectMultiDrag),f(document,"touchend",this._deselectMultiDrag)),f(document,"keydown",this._checkKeyDown),f(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,
2setData:function(t,n){var i="";dt.length&&at===e?dt.forEach((function(e,t){i+=(t?", ":"")+e.textContent})):i=n.textContent,t.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;st=t},delayEnded:function(){this.isMultiDrag=~dt.indexOf(st)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var i=0;i<dt.length;i++)ut.push(N(dt[i])),ut[i].sortableIndex=dt[i].sortableIndex,ut[i].draggable=!1,ut[i].style["will-change"]="",_(ut[i],this.options.selectedClass,!1),dt[i]===st&&_(ut[i],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,i=e.dispatchSortableEvent,o=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||dt.length&&at===t&&(mt(!0,n),i("clone"),o()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,i=e.cancel;this.isMultiDrag&&(mt(!1,n),ut.forEach((function(e){S(e,"display","")})),t(),ct=!1,i())},hideClone:function(e){var t=this,n=(e.sortable,e.cloneNowHidden),i=e.cancel;this.isMultiDrag&&(ut.forEach((function(e){S(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)})),n(),ct=!0,i())},dragStartGlobal:function(e){e.sortable;!this.isMultiDrag&&at&&at.multiDrag._deselectMultiDrag(),dt.forEach((function(e){e.sortableIndex=I(e)})),dt=dt.sort((function(e,t){return e.sortableIndex-t.sortableIndex})),ft=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){dt.forEach((function(e){e!==st&&S(e,"position","absolute")}));var i=E(st,!1,!0,!0);dt.forEach((function(e){e!==st&&P(e,i)})),pt=!0,ht=!0}n.animateAll((function(){pt=!1,ht=!1,t.options.animation&&dt.forEach((function(e){H(e)})),t.options.sort&&gt()}))}},dragOver:function(e){var t=e.target,n=e.completed,i=e.cancel;pt&&~dt.indexOf(t)&&(n(!1),i())},revert:function(e){var t=e.fromSortable,n=e.rootEl,i=e.sortable,o=e.dragRect;dt.length>1&&(dt.forEach((function(e){i.addAnimationState({target:e,rect:pt?E(e):o}),H(e),e.fromRect=o,t.removeAnimationState(e)})),pt=!1,function(e,t){dt.forEach((function(n,i){var o=t.children[n.sortableIndex+(e?Number(i):0)];o?t.insertBefore(n,o):t.appendChild(n)}))}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,i=e.insertion,o=e.activeSortable,r=e.parentEl,a=e.putSortable,s=this.options;if(i){if(n&&o._hideClone(),ht=!1,s.animation&&dt.length>1&&(pt||!n&&!o.options.sort&&!a)){var l=E(st,!1,!0,!0);dt.forEach((function(e){e!==st&&(P(e,l),r.appendChild(e))})),pt=!0}if(!n)if(pt||gt(),dt.length>1){var c=ct;o._showClone(t),o.options.animation&&!ct&&c&&ut.forEach((function(e){o.addAnimationState({target:e,rect:lt}),e.fromRect=lt,e.thisAnimationDuration=null}))}else o._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,i=e.isOwner,o=e.activeSortable;if(dt.forEach((function(e){e.thisAnimationDuration=null})),o.options.animation&&!i&&o.multiDrag.isMultiDrag){lt=n({},t);var r=O(st,!0);lt.top-=r.f,lt.left-=r.e}},dragOverAnimationComplete:function(){pt&&(pt=!1,gt())},drop:function(e){var t=e.originalEvent,n=e.rootEl,i=e.parentEl,o=e.sortable,r=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,d=i.children;if(!ft)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),_(st,c.selectedClass,!~dt.indexOf(st)),~dt.indexOf(st))dt.splice(dt.indexOf(st),1),rt=null,z({sortable:o,rootEl:n,name:"deselect",targetEl:st,originalEvt:t});else{if(dt.push(st),z({sortable:o,rootEl:n,name:"select",targetEl:st,originalEvt:t}),t.shiftKey&&rt&&o.el.contains(rt)){var u,h,p=I(rt),f=I(st);if(~p&&~f&&p!==f)for(f>p?(h=p,u=f):(h=f,u=p+1);h<u;h++)~dt.indexOf(d[h])||(_(d[h],c.selectedClass,!0),dt.push(d[h]),z({sortable:o,rootEl:n,name:"select",targetEl:d[h],originalEvt:t}))}else rt=st;at=l}if(ft&&this.isMultiDrag){if((i[R].options.sort||i!==n)&&dt.length>1){var m=E(st),g=I(st,":not(."+this.options.selectedClass+")");if(!ht&&c.animation&&(st.thisAnimationDuration=null),l.captureAnimationState(),!ht&&(c.animation&&(st.fromRect=m,dt.forEach((function(e){if(e.thisAnimationDuration=null,e!==st){var t=pt?E(e):m;e.fromRect=t,l.addAnimationState({target:e,rect:t})}}))),gt(),dt.forEach((function(e){d[g]?i.insertBefore(e,d[g]):i.appendChild(e),g++})),a===I(st))){var v=!1;dt.forEach((function(e){e.sortableIndex===I(e)||(v=!0)})),v&&r("update")}dt.forEach((function(e){H(e)})),l.animateAll()}at=l}(n===i||s&&"clone"!==s.lastPutMode)&&ut.forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},nullingGlobal:function(){this.isMultiDrag=ft=!1,ut.length=0}
2,destroyGlobal:function(){this._deselectMultiDrag(),m(document,"pointerup",this._deselectMultiDrag),m(document,"mouseup",this._deselectMultiDrag),m(document,"touchend",this._deselectMultiDrag),m(document,"keydown",this._checkKeyDown),m(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!ft&&at===this.sortable&&!(e&&y(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;dt.length;){var t=dt[0];_(t,this.options.selectedClass,!1),dt.shift(),z({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvt:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},n(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[R];t&&t.options.multiDrag&&!~dt.indexOf(e)&&(at&&at!==t&&(at.multiDrag._deselectMultiDrag(),at=t),_(e,t.options.selectedClass,!0),dt.push(e))},deselect:function(e){var t=e.parentNode[R],n=dt.indexOf(e);t&&t.options.multiDrag&&~n&&(_(e,t.options.selectedClass,!1),dt.splice(n,1))}},eventProperties:function(){var e=this,t=[],n=[];return dt.forEach((function(i){var o;t.push({multiDragElement:i,index:i.sortableIndex}),o=pt&&i!==st?-1:pt?I(i,":not(."+e.options.selectedClass+")"):I(i),n.push({multiDragElement:i,index:o})})),{items:r(dt),clones:[].concat(ut),oldIndicies:t,newIndicies:n}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}),Pe})),function(e,t){void 0===e&&void 0!==window&&(e=window),"function"==typeof define&&define.amd?define(["jquery"],(function(e){return t(e)})):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(e.jQuery)}(this,(function(e){!function(e){"use strict";var t=["sanitize","whiteList","sanitizeFn"],n=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],i={"*":["class","dir","id","lang","role","tabindex","style",/^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:[]},o=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,r=/^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 a(t,i){var a=t.nodeName.toLowerCase();if(-1!==e.inArray(a,i))return-1===e.inArray(a,n)||Boolean(t.nodeValue.match(o)||t.nodeValue.match(r));for(var s=e(i).filter((function(e,t){return t instanceof RegExp})),l=0,c=s.length;l<c;l++)if(a.match(s[l]))return!0;return!1}function s(e,t,n){if(n&&"function"==typeof n)return n(e);for(var i=Object.keys(t),o=0,r=e.length;o<r;o++)for(var s=e[o].querySelectorAll("*"),l=0,c=s.length;l<c;l++){var d=s[l],u=d.nodeName.toLowerCase();if(-1!==i.indexOf(u))for(var h=[].slice.call(d.attributes),p=[].concat(t["*"]||[],t[u]||[]),f=0,m=h.length;f<m;f++){var g=h[f];a(g,p)||d.removeAttribute(g.nodeName)}else d.parentNode.removeChild(d)}}"classList"in document.createElement("_")||function(t){if("Element"in t){var n=t.Element.prototype,i=Object,o=function(){var t=e(this);return{add:function(e){return e=Array.prototype.slice.call(arguments).join(" "),t.addClass(e)},remove:function(e){return e=Array.prototype.slice.call(arguments).join(" "),t.removeClass(e)},toggle:function(e,n){return t.toggleClass(e,n)},contains:function(e){return t.hasClass(e)}}};if(i.defineProperty){var r={get:o,enumerable:!0,configurable:!0};try{i.defineProperty(n,"classList",r)}catch(e){void 0!==e.number&&-2146823252!==e.number||(r.enumerable=!1,i.defineProperty(n,"classList",r))}}else i.prototype.__defineGetter__&&n.__defineGetter__("classList",o)}}(window);var l,c,d,u=document.createElement("_");if(u.classList.add("c1","c2"),!u.classList.contains("c2")){var h=DOMTokenList.prototype.add,p=DOMTokenList.prototype.remove;DOMTokenList.prototype.add=function(){Array.prototype.forEach.call(arguments,h.bind(this))},DOMTokenList.prototype.remove=function(){Array.prototype.forEach.call(arguments,p.bind(this))}}if(u.classList.toggle("c3",!1),u.classList.contains("c3")){var f=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:f.call(this,e)}}function m(e,t){var n,i=e.selectedOptions,o=[];if(t){for(var r=0,a=i.length;r<a;r++)(n=i[r]).disabled||"OPTGROUP"===n.parentNode.tagName&&n.parentNode.disabled||o.push(n);return o}return i}function g(e,t){for(var n,i=[],o=t||e.selectedOptions,r=0,a=o.length;r<a;r++)(n=o[r]).disabled||"OPTGROUP"===n.parentNode.tagName&&n.parentNode.disabled||i.push(n.value||n.text);return e.multiple?i:i.length?i[0]:null}u=null,String.prototype.startsWith||(l=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}(),c={}.toString,d=function(e){if(null==this)throw new TypeError;var t=String(this);if(e&&"[object RegExp]"==c.call(e))throw new TypeError;var n=t.length,i=String(e),o=i.length,r=arguments.length>1?arguments[1]:void 0,a=r?Number(r):0;a!=a&&(a=0);var s=Math.min(Math.max(a,0),n);if(o+s>n)return!1;for(var l=-1;++l<o;)if(t.charCodeAt(s+l)!=i.charCodeAt(l))return!1;return!0},l?l(String.prototype,"startsWith",{value:d,configurable:!0,writable:!0}):String.prototype.startsWith=d),Object.keys||(Object.keys=function(e,t,n){for(t in n=[],e)n.hasOwnProperty.call(e,t)&&n.push(t);return n}),HTMLSelectElement&&!HTMLSelectElement.prototype.hasOwnProperty("selectedOptions")&&Object.defineProperty(HTMLSelectElement.prototype,"selectedOptions",{get:function(){return this.querySelectorAll(":checked")}});var v={useDefault:!1,_set:e.valHooks.select.set};e.valHooks.select.set=function(t,n){return n&&!v.useDefault&&e(t).data("selected",!0),v._set.apply(this,arguments)};var y=null,b=function(){try{return new Event("change"),!0}catch(e){return!1}}();function w(e,t,n,i){for(var o=["display","subtext","tokens"],r=!1,a=0;a<o.length;a++){var s=o[a],l=e[s];if(l&&(l=l.toString(),"display"===s&&(l=l.replace(/<[^>]+>/g,"")),i&&(l=E(l)),l=l.toUpperCase(),r="contains"===n?l.indexOf(t)>=0:l.startsWith(t)))break}return r}function _(e){return parseInt(e,10)||0}e.fn.triggerNative=function(e){var t,n=this[0];n.dispatchEvent?(b?t=new Event(e,{bubbles:!0}):(t=document.createEvent("Event")).initEvent(e,!0,!1),n.dispatchEvent(t)):n.fireEvent?((t=document.createEventObject()).eventType=e,n.fireEvent("on"+e,t)):this.trigger(e)};var S=
vendor: 1,721 bytes, line 2
2{"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}
vendor: 8,419 bytes, line 2
2,O=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,x=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\u1ab0-\\u1aff\\u1dc0-\\u1dff]","g");function k(e){return S[e]}function E(e){return(e=e.toString())&&e.replace(O,k).replace(x,"")}var C,T,D,I,j,A=(C={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},T=function(e){return C[e]},D="(?:"+Object.keys(C).join("|")+")",I=RegExp(D),j=RegExp(D,"g"),function(e){return e=null==e?"":""+e,I.test(e)?e.replace(j,T):e}),W={32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"},M=27,L=13,N=32,P=9,H=38,R=40,$={success:!1,major:"3"};try{$.full=(e.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split("."),$.major=$.full[0],$.success=!0}catch(e){}var Y=0,V=".bs.select",F={DISABLED:"disabled",DIVIDER:"divider",SHOW:"open",DROPUP:"dropup",MENU:"dropdown-menu",MENURIGHT:"dropdown-menu-right",MENULEFT:"dropdown-menu-left",BUTTONCLASS:"btn-default",POPOVERHEADER:"popover-title",ICONBASE:"glyphicon",TICKICON:"glyphicon-ok"},z={MENU:"."+F.MENU},Q={span:document.createElement("span"),i:document.createElement("i"),subtext:document.createElement("small"),a:document.createElement("a"),li:document.createElement("li"),whitespace:document.createTextNode(" "),fragment:document.createDocumentFragment()};Q.a.setAttribute("role","option"),Q.subtext.className="text-muted",Q.text=Q.span.cloneNode(!1),Q.text.className="text",Q.checkMark=Q.span.cloneNode(!1);var B=new RegExp(H+"|"+R),U=new RegExp("^"+P+"$|"+M),G={li:function(e,t,n){var i=Q.li.cloneNode(!1);return e&&(1===e.nodeType||11===e.nodeType?i.appendChild(e):i.innerHTML=e),void 0!==t&&""!==t&&(i.className=t),null!=n&&i.classList.add("optgroup-"+n),i},a:function(e,t,n){var i=Q.a.cloneNode(!0);return e&&(11===e.nodeType?i.appendChild(e):i.insertAdjacentHTML("beforeend",e)),void 0!==t&&""!==t&&(i.className=t),"4"===$.major&&i.classList.add("dropdown-item"),n&&i.setAttribute("style",n),i},text:function(e,t){var n,i,o=Q.text.cloneNode(!1);if(e.content)o.innerHTML=e.content;else{if(o.textContent=e.text,e.icon){var r=Q.whitespace.cloneNode(!1);(i=(!0===t?Q.i:Q.span).cloneNode(!1)).className=e.iconBase+" "+e.icon,Q.fragment.appendChild(i),Q.fragment.appendChild(r)}e.subtext&&((n=Q.subtext.cloneNode(!1)).textContent=e.subtext,o.appendChild(n))}if(!0===t)for(;o.childNodes.length>0;)Q.fragment.appendChild(o.childNodes[0]);else Q.fragment.appendChild(o);return Q.fragment},label:function(e){var t,n,i=Q.text.cloneNode(!1);if(i.innerHTML=e.label,e.icon){var o=Q.whitespace.cloneNode(!1);(n=Q.span.cloneNode(!1)).className=e.iconBase+" "+e.icon,Q.fragment.appendChild(n),Q.fragment.appendChild(o)}return e.subtext&&((t=Q.subtext.cloneNode(!1)).textContent=e.subtext,i.appendChild(t)),Q.fragment.appendChild(i),Q.fragment}},q=function(t,n){var i=this;v.useDefault||(e.valHooks.select.set=v._set,v.useDefault=!0),this.$element=e(t),this.$newElement=null,this.$button=null,this.$menu=null,this.options=n,this.selectpicker={main:{},search:{},current:{},view:{},keydown:{keyHistory:"",resetKeyHistory:{start:function(){return setTimeout((function(){i.selectpicker.keydown.keyHistory=""}),800)}}}},null===this.options.title&&(this.options.title=this.$element.attr("title"));var o=this.options.windowPadding;"number"==typeof o&&(this.options.windowPadding=[o,o,o,o]),this.val=q.prototype.val,this.render=q.prototype.render,this.refresh=q.prototype.refresh,this.setStyle=q.prototype.setStyle,this.selectAll=q.prototype.selectAll,this.deselectAll=q.prototype.deselectAll,this.destroy=q.prototype.destroy,this.remove=q.prototype.remove,this.show=q.prototype.show,this.hide=q.prototype.hide,this.init()};function X(n){var i,o=arguments,r=n;if([].shift.apply(o),!$.success){try{$.full=(e.fn.dropdown.Constructor.VERSION||"").split(" ")[0].split(".")}catch(e){q.BootstrapVersion?$.full=q.BootstrapVersion.split(" ")[0].split("."):($.full=[$.major,"0","0"],console.warn("There was an issue retrieving Bootstrap's version. Ensure Bootstrap is being loaded before bootstrap-select and there is no namespace collision. If loading Bootstrap asynchronously, the version may need to be manually specified via $.fn.selectpicker.Constructor.BootstrapVersion.",e))}$.major=$.full[0],$.success=!0}if("4"===$.major){var a=[];q.DEFAULTS.style===F.BUTTONCLASS&&a.push({name:"style",className:"BUTTONCLASS"}),q.DEFAULTS.iconBase===F.ICONBASE&&a.push({name:"iconBase",className:"ICONBASE"}),q.DEFAULTS.tickIcon===F.TICKICON&&a.push({name:"tickIcon",className:"TICKICON"}),F.DIVIDER="dropdown-divider",F.SHOW="show",F.BUTTONCLASS="btn-light",F.POPOVERHEADER="popover-header",F.ICONBASE="",F.TICKICON="bs-ok-default";for(var s=0;s<a.length;s++){n=a[s];q.DEFAULTS[n.name]=F[n.className]}}var l=this.each((function(){var n=e(this);if(n.is("select")){var a=n.data("selectpicker"),s="object"==typeof r&&r;if(a){if(s)for(var l in s)s.hasOwnProperty(l)&&(a.options[l]=s[l])}else{var c=n.data();for(var d in c)c.hasOwnProperty(d)&&-1!==e.inArray(d,t)&&delete c[d];var u=e.extend({},q.DEFAULTS,e.fn.selectpicker.defaults||{},c,s);u.template=e.extend({},q.DEFAULTS.template,e.fn.selectpicker.defaults?e.fn.selectpicker.defaults.template:{},c.template,s.template),n.data("selectpicker",a=new q(this,u))}"string"==typeof r&&(i=a[r]instanceof Function?a[r].apply(a,o):a.options[r])}}));return void 0!==i?i:l}q.VERSION="1.13.12",q.DEFAULTS={noneSelectedText:"Nothing selected",noneResultsText:"No results matched {0}",countSelectedText:function(e,t){return 1==e?"{0} item selected":"{0} items selected"},maxOptionsText:function(e,t){return[1==e?"Limit reached ({n} item max)":"Limit reached ({n} items max)",1==t?"Group limit reached ({n} item max)":"Group limit reached ({n} items max)"]},selectAllText:"Select All",deselectAllText:"Deselect All",doneButton:!1,doneButtonText:"Close",multipleSeparator:", ",styleBase:"btn",style:F.BUTTONCLASS,size:"auto",title:null,selectedTextFormat:"values",width:!1,container:!1,hideDisabled:!1,showSubtext:!1,showIcon:!0,showContent:!0,dropupAuto:!0,header:!1,liveSearch:!1,liveSearchPlaceholder:null,liveSearchNormalize:!1,liveSearchStyle:"contains",actionsBox:!1,iconBase:F.ICONBASE,tickIcon:F.TICKICON,showTick:!1,template:{caret:'<span class="caret"></span>'},maxOptions:!1,mobile:!1,selectOnTab:!1,dropdownAlignRight:!1,windowPadding:0,virtualScroll:600,display:!1,sanitize:!0,sanitizeFn:null,whiteList:i},q.prototype={constructor:q,init:function(){var e=this,t=this.$element.attr("id");Y++,this.selectId="bs-select-"+Y,this.$element[0].classList.add("bs-select-hidden"),this.multiple=this.$element.prop("multiple"),this.autofocus=this.$element.prop("autofocus"),this.$element[0].classList.contains("show-tick")&&(this.options.showTick=!0),this.$newElement=this.createDropdown(),this.$element.after(this.$newElement).prependTo(this.$newElement),this.$button=this.$newElement.children("button"),this.$menu=this.$newElement.children(z.MENU),this.$menuInner=this.$menu.children(".inner"),this.$searchbox=this.$menu.find("input"),this.$element[0].classList.remove("bs-select-hidden"),!0===this.options.dropdownAlignRight&&this.$menu[0].classList.add(F.MENURIGHT),void 0!==t&&this.$button.attr("data-id",t),this.checkDisabled(),this.clickListener(),this.options.liveSearch?(this.liveSearchListener(),this.focusedParent=this.$searchbox[0]):this.focusedParent=this.$menuInner[0],this.setStyle(),this.render(),this.setWidth(),this.options.container?this.selectPosition():this.$element.on("hide.bs.select",(function(){if(e.isVirtual()){var t=e.$menuInner[0],n=t.firstChild.cloneNode(!1);t.replaceChild(n,t.firstChild),t.scrollTop=0}})),this.$menu.data("this",this),this.$newElement.data("this",this),this.options.mobile&&this.mobile(),this.$newElement.on({"hide.bs.dropdown":function(t){e.$element.trigger("hide.bs.select",t)},"hidden.bs.dropdown":function(t){e.$element.trigger("hidden.bs.select",t)},"show.bs.dropdown":function(t){e.$element.trigger("show.bs.select",t)},"shown.bs.dropdown":function(t){e.$element.trigger("shown.bs.select",t)}}),e.$element[0].hasAttribute("required")&&this.$element.on("invalid.bs.select",(function(){e.$button[0].classList.add("bs-invalid"),e.$element.on("shown.bs.select.invali
2d",(function(){e.$element.val(e.$element.val()).off("shown.bs.select.invalid")})).on("rendered.bs.select",(function(){this.validity.valid&&e.$button[0].classList.remove("bs-invalid"),e.$element.off("rendered.bs.select")})),e.$button.on("blur.bs.select",(function(){e.$element.trigger("focus").trigger("blur"),e.$button.off("blur.bs.select")}))})),setTimeout((function(){e.createLi(),e.$element.trigger("loaded.bs.select")}))},createDropdown:function(){var t=this.multiple||this.options.showTick?" show-tick":"",n=this.multiple?' aria-multiselectable="true"':"",i="",o=this.autofocus?" autofocus":"";$.major<4&&this.$element.parent().hasClass("input-group")&&(i=" input-group-btn");var r,a="",s="",l="",c="";return this.options.header&&(a='<div class="'+F.POPOVERHEADER+'"><button type="button" class="close" aria-hidden="true">&times;</button>'+this.options.header+"</div>"),this.options.liveSearch&&(s='<div class="bs-searchbox"><input type="search" class="form-control" autocomplete="off"'+(null===this.options.liveSearchPlaceholder?"":' placeholder="'+A(this.options.liveSearchPlaceholder)+'"')+' role="combobox" aria-label="Search" aria-controls="'+this.selectId+'" aria-autocomplete="list"></div>'),this.multiple&&this.options.actionsBox&&(l='<div class="bs-actionsbox"><div class="btn-group btn-group-sm btn-block"><button type="button" class="actions-btn bs-select-all btn '+F.BUTTONCLASS+'">'+this.options.selectAllText+'</button><button type="button" class="actions-btn bs-deselect-all btn '+F.BUTTONCLASS+'">'+this.options.deselectAllText+"</button></div></div>"),this.multiple&&this.options.doneButton&&(c='<div class="bs-donebutton"><div class="btn-group btn-block"><button type="button" class="btn btn-sm '+F.BUTTONCLASS+'">'+this.options.doneButtonText+"</button></div></div>"),r='<div class="dropdown bootstrap-select'+t+i+'"><button type="button" class="'+this.options.styleBase+' dropdown-toggle" '+("static"===this.options.display?'data-display="static"':"")+'data-toggle="dropdown"'+o+' role="combobox" aria-owns="'+this.selectId+'" aria-haspopup="listbox" aria-expanded="false"><div class="filter-option"><div class="filter-option-inner"><div class="filter-option-inner-inner"></div></div> </div>'+("4"===$.major?"":'<span class="bs-caret">'+this.options.template.caret+"</span>")+'</button><div class="'+F.MENU+" "+("4"===$.major?"":F.SHOW)+'">'+a+s+l+'<div class="inner '+F.SHOW+'" role="listbox" id="'+this.selectId+'" tabindex="-1" '+n+'><ul class="'+F.MENU+" inner "+("4"===$.major?F.SHOW:"")+'" role="presentation"></ul></div>'+c+"</div></div>",e(r)},setPositionData:function(){this.selectpicker.view.canHighlight=[],this.selectpicker.view.size=0;for(var e=0;e<this.selectpicker.current.data.length;e++){var t=this.selectpicker.current.data[e],n=!0;"divider"===t.type?(n=!1,t.height=this.sizeInfo.dividerHeight):"optgroup-label"===t.type?(n=!1,t.height=this.sizeInfo.dropdownHeaderHeight):t.height=this.sizeInfo.liHeight,t.disabled&&(n=!1),this.selectpicker.view.canHighlight.push(n),n&&(this.selectpicker.view.size++,t.posinset=this.selectpicker.view.size),t.position=(0===e?0:this.selectpicker.current.data[e-1].position)+t.height}},isVirtual:function(){return!1!==this.options.virtualScroll&&this.selectpicker.main.elements.length>=this.options.virtualScroll||!0===this.options.virtualScroll},createView:function(t,n,i){var o,r,a=this,l=0,c=[];if(this.selectpicker.current=t?this.selectpicker.search:this.selectpicker.main,this.setPositionData(),n)if(i)l=this.$menuInner[0].scrollTop;else if(!a.multiple){var d=a.$element[0],u=(d.options[d.selectedIndex]||{}).liIndex;if("number"==typeof u&&!1!==a.options.size){var h=a.selectpicker.main.data[u],p=h&&h.position;p&&(l=p-(a.sizeInfo.menuInnerHeight+a.sizeInfo.liHeight)/2)}}function f(e,n){var i,l,d,u,h,p,f,m,g,v,y=a.selectpicker.current.elements.length,b=[],w=!0,_=a.isVirtual();a.selectpicker.view.scrollTop=e,i=Math.ceil(a.sizeInfo.menuInnerHeight/a.sizeInfo.liHeight*1.5),l=Math.round(y/i)||1;for(var S=0;S<l;S++){var O=(S+1)*i;if(S===l-1&&(O=y),b[S]=[S*i+(S?1:0),O],!y)break;void 0===h&&e-1<=a.selectpicker.current.data[O-1].position-a.sizeInfo.menuInnerHeight&&(h=S)}if(void 0===h&&(h=0),p=[a.selectpicker.view.position0,a.selectpicker.view.position1],d=Math.max(0,h-1),u=
vendor: 4,665 bytes, line 2
2Math.min(l-1,h+1),a.selectpicker.view.position0=!1===_?0:Math.max(0,b[d][0])||0,a.selectpicker.view.position1=!1===_?y:Math.min(y,b[u][1])||0,f=p[0]!==a.selectpicker.view.position0||p[1]!==a.selectpicker.view.position1,void 0!==a.activeIndex&&(r=a.selectpicker.main.elements[a.prevActiveIndex],c=a.selectpicker.main.elements[a.activeIndex],o=a.selectpicker.main.elements[a.selectedIndex],n&&(a.activeIndex!==a.selectedIndex&&a.defocusItem(c),a.activeIndex=void 0),a.activeIndex&&a.activeIndex!==a.selectedIndex&&a.defocusItem(o)),void 0!==a.prevActiveIndex&&a.prevActiveIndex!==a.activeIndex&&a.prevActiveIndex!==a.selectedIndex&&a.defocusItem(r),(n||f)&&(m=a.selectpicker.view.visibleElements?a.selectpicker.view.visibleElements.slice():[],a.selectpicker.view.visibleElements=!1===_?a.selectpicker.current.elements:a.selectpicker.current.elements.slice(a.selectpicker.view.position0,a.selectpicker.view.position1),a.setOptionStatus(),(t||!1===_&&n)&&(g=m,v=a.selectpicker.view.visibleElements,w=!(g.length===v.length&&g.every((function(e,t){return e===v[t]})))),(n||!0===_)&&w)){var x,k,E=a.$menuInner[0],C=document.createDocumentFragment(),T=E.firstChild.cloneNode(!1),D=a.selectpicker.view.visibleElements,I=[];E.replaceChild(T,E.firstChild);S=0;for(var j=D.length;S<j;S++){var A,W,M=D[S];a.options.sanitize&&(A=M.lastChild)&&(W=a.selectpicker.current.data[S+a.selectpicker.view.position0])&&W.content&&!W.sanitized&&(I.push(A),W.sanitized=!0),C.appendChild(M)}if(a.options.sanitize&&I.length&&s(I,a.options.whiteList,a.options.sanitizeFn),!0===_?(x=0===a.selectpicker.view.position0?0:a.selectpicker.current.data[a.selectpicker.view.position0-1].position,k=a.selectpicker.view.position1>y-1?0:a.selectpicker.current.data[y-1].position-a.selectpicker.current.data[a.selectpicker.view.position1-1].position,E.firstChild.style.marginTop=x+"px",E.firstChild.style.marginBottom=k+"px"):(E.firstChild.style.marginTop=0,E.firstChild.style.marginBottom=0),E.firstChild.appendChild(C),!0===_&&a.sizeInfo.hasScrollBar){var L=E.firstChild.offsetWidth;if(n&&L<a.sizeInfo.menuInnerInnerWidth&&a.sizeInfo.totalMenuWidth>a.sizeInfo.selectWidth)E.firstChild.style.minWidth=a.sizeInfo.menuInnerInnerWidth+"px";else if(L>a.sizeInfo.menuInnerInnerWidth){a.$menu[0].style.minWidth=0;var N=E.firstChild.offsetWidth;N>a.sizeInfo.menuInnerInnerWidth&&(a.sizeInfo.menuInnerInnerWidth=N,E.firstChild.style.minWidth=a.sizeInfo.menuInnerInnerWidth+"px"),a.$menu[0].style.minWidth=""}}}if(a.prevActiveIndex=a.activeIndex,a.options.liveSearch){if(t&&n){var P,H=0;a.selectpicker.view.canHighlight[H]||(H=1+a.selectpicker.view.canHighlight.slice(1).indexOf(!0)),P=a.selectpicker.view.visibleElements[H],a.defocusItem(a.selectpicker.view.currentActive),a.activeIndex=(a.selectpicker.current.data[H]||{}).index,a.focusItem(P)}}else a.$menuInner.trigger("focus")}f(l,!0),this.$menuInner.off("scroll.createView").on("scroll.createView",(function(e,t){a.noScroll||f(this.scrollTop,t),a.noScroll=!1})),e(window).off("resize.bs.select."+this.selectId+".createView").on("resize.bs.select."+this.selectId+".createView",(function(){a.$newElement.hasClass(F.SHOW)&&f(a.$menuInner[0].scrollTop)}))},focusItem:function(e,t,n){if(e){t=t||this.selectpicker.main.data[this.activeIndex];var i=e.firstChild;i&&(i.setAttribute("aria-setsize",this.selectpicker.view.size),i.setAttribute("aria-posinset",t.posinset),!0!==n&&(this.focusedParent.setAttribute("aria-activedescendant",i.id),e.classList.add("active"),i.classList.add("active")))}},defocusItem:function(e){e&&(e.classList.remove("active"),e.firstChild&&e.firstChild.classList.remove("active"))},setPlaceholder:function(){var t=!1;if(this.options.title&&!this.multiple){this.selectpicker.view.titleOption||(this.selectpicker.view.titleOption=document.createElement("option")),t=!0;var n=this.$element[0],i=!1,o=!this.selectpicker.view.titleOption.parentNode;if(o)this.selectpicker.view.titleOption.className="bs-title-option",this.selectpicker.view.titleOption.value="",i=void 0===e(n.options[n.selectedIndex]).attr("selected")&&void 0===this.$element.data("selected");(o||0!==this.selectpicker.view.titleOption.index)&&n.insertBefore(this.selectpicker.view.titleOption,n.firstChild),i&&(n.selectedIndex=0)}return t},createLi:function(){var e=this,t=this.options.iconBase,n=':not([hidden]):not([data-hidden="true"])',i=[],o=[],r=0,a=0,s=this.setPlaceholder()?1:0;this.options.hideDisabled&&(n+=":not(:disabled)"),!e.options.showTick&&!e.multiple||Q.checkMark.parentNode||(Q.checkMark.className=t+" "+e.options.tickIcon+" check-mark",Q.a.appendChild(Q.checkMark));var l=this.$element[0].querySelectorAll("select > *"+n);function c(e){var t=o[o.length-1];
2t&&"divider"===t.type&&(t.optID||e.optID)||((e=e||{}).type="divider",i.push(G.li(!1,F.DIVIDER,e.optID?e.optID+"div":void 0)),o.push(e))}function d(n,a){if((a=a||{}).divider="true"===n.getAttribute("data-divider"),a.divider)c({optID:a.optID});else{var s=o.length,l=n.style.cssText,d=l?A(l):"",u=(n.className||"")+(a.optgroupClass||"");a.optID&&(u="opt "+u),a.text=n.textContent,a.content=n.getAttribute("data-content"),a.tokens=n.getAttribute("data-tokens"),a.subtext=n.getAttribute("data-subtext"),a.icon=n.getAttribute("data-icon"),a.iconBase=t;var h=G.text(a),p=G.li(G.a(h,u,d),"",a.optID);p.firstChild&&(p.firstChild.id=e.selectId+"-"+s),i.push(p),n.liIndex=s,a.display=a.content||a.text,a.type="option",a.index=s,a.option=n,a.disabled=a.disabled||n.disabled,o.push(a);var f=0;a.display&&(f+=a.display.length),a.subtext&&(f+=a.subtext.length),a.icon&&(f+=1),f>r&&(r=f,e.selectpicker.view.widestOption=i[i.length-1])}}function u(e,r){var s=r[e],l=r[e-1],u=r[e+1],h=s.querySelectorAll("option"+n);if(h.length){var p,f,m={label:A(s.label),subtext:s.getAttribute("data-subtext"),icon:s.getAttribute("data-icon"),iconBase:t},g=" "+(s.className||"");a++,l&&c({optID:a});var v=G.label(m);i.push(G.li(v,"dropdown-header"+g,a)),o.push({display:m.label,subtext:m.subtext,type:"optgroup-label",optID:a});for(var y=0,b=h.length;y<b;y++){var w=h[y];0===y&&(f=(p=o.length-1)+b),d(w,{headerIndex:p,lastIndex:f,optID:a,optgroupClass:g,disabled:s.disabled})}u&&c({optID:a})}}for(var h=l.length;s<h;s++){var p=l[s];"OPTGROUP"!==p.tagName?d(p,{}):u(s,l)}this.selectpicker.main.elements=i,this.selectpicker.main.data=o,this.selectpicker.current=this.selectpicker.main},findLis:function(){return this.$menuInner.find(".inner > li")},render:function(){this.setPlaceholder();var e,t,n=this.$element[0],i=m(n,this.options.hideDisabled),o=i.length,r=this.$button[0],a=r.querySelector(".filter-option-inner-inner"),l=document.createTextNode(this.options.multipleSeparator),c=Q.fragment.cloneNode(!1),d=!1;if(r.classList.toggle("bs-placeholder",this.multiple?!o:!g(n,i)),this.tabIndex(),"static"===this.options.selectedTextFormat)c=G.text({text:this.options.title},!0);else if((e=this.multiple&&-1!==this.options.selectedTextFormat.indexOf("count")&&o>1)&&(e=(t=this.options.selectedTextFormat.split(">")).length>1&&o>t[1]||1===t.length&&o>=2),!1===e){for(var u=0;u<o&&u<50;u++){var h=i[u],p={},f={content:h.getAttribute("data-content"),subtext:h.getAttribute("data-subtext"),icon:h.getAttribute("data-icon")};this.multiple&&u>0&&c.appendChild(l.cloneNode(!1)),h.title?p.text=h.title:f.content&&this.options.showContent?(p.content=f.content.toString(),d=!0):(this.options.showIcon&&(p.icon=f.icon,p.iconBase=this.options.iconBase),this.options.showSubtext&&!this.multiple&&f.subtext&&(p.subtext=" "+f.subtext),p.text=h.textContent.trim()),c.appendChild(G.text(p,!0))}o>49&&c.appendChild(document.createTextNode("..."))}else{var v=':not([hidden]):not([data-hidden="true"]):not([data-divider="true"])';this.options.hideDisabled&&(v+=":not(:disabled)");var y=this.$element[0].querySelectorAll("select > option"+v+", optgroup"+v+" option"+v).length,b="function"==typeof this.options.countSelectedText?this.options.countSelectedText(o,y):this.options.countSelectedText;c=G.text({text:b.replace("{0}",o.toString()).replace("{1}",y.toString())},!0)}if(null==this.options.title&&(this.options.title=this.$element.attr("title")),c.childNodes.length||(c=G.text({text:void 0!==this.options.title?this.options.title:this.options.noneSelectedText},!0)),r.title=c.textContent.replace(/<[^>]*>?/g,"").trim(),this.options.sanitize&&d&&s([c],this.options.whiteList,this.options.sanitizeFn),a.innerHTML="",a.appendChild(c),$.major<4&&this.$newElement[0].classList.contains("bs3-has-addon")){var w=r.querySelector(".filter-expand"),_=a.cloneNode(!0);_.className="filter-expand",w?r.replaceChild(_,w):r.appendChild(_)}this.$element.trigger("rendered.bs.select")},setStyle:function(e,t){var n,i=this.$button[0],o=this.$newElement[0],r=this.options.style.trim();this.$element.attr("class")&&this.$newElement.addClass(this.$element.attr("class").replace(/selectpicker|mobile-device|bs-select-hidden|validate\[.*\]/gi,"")),$.major<4&&(o.classList.add("bs3"),o.parentNode.classList.contains("input-group")&&(o.previousElementSibling||o.nextElementSibling)&&(o.previousElementSibling||o.nextElementSibling).classList.contains("input-group-addon")&&o.classList.add("bs3-has-addon")),n=e?e.trim():r,"add"==t?n&&i.classList.add.apply(i.classList,n.split(" ")):"remove"==t?n&&i.classList.remove.apply(i.classList,n.split(" ")):(r&&i.classList.remove.apply(i.classList,r.split(" ")),n&&i.classList.add.apply(i.classList,n.split(" ")))},liHeight:function(t){if(t||!1!==this.options.size&&!this.sizeInfo){this.sizeInfo||(this.sizeInfo={});var n=document.createElement("div"),i=document.createElement("div"),o=document.createElement("div"),r=document.createElement("ul"),a=document.createElement("li"),s=document.createElement("li"),l=document.createElement("li"),c=document.createElement("a"),d=document.createElement("span"),u=this.options.header&&this.$menu.find("."+F.POPOVERHEADER).length>0?this.$menu.find("."+F.POPOVERHEADER)[0].cloneNode(!0):null,h=this.options.liveSearch?document.createElement("div"):null,p=this.options.actionsBox&&this.multiple&&this.$menu.find(".bs-actionsbox").length>0?this.$menu.find(".bs-actionsbox")[0].cloneNode(!0):null,f=this.options.doneButton&&this.multiple&&this.$menu.find(".bs-donebutton").length>0?this.$menu.find(".bs-donebutton")[0].cloneNode(!0):null,m=this.$element.find("option")[0];if(this.sizeInfo.selectWidth=this.$newElement[0].offsetWidth,d.className="text",c.className="dropdown-item "+(m?m.className:""),n.className=this.$menu[0].parentNode.className+" "+F.SHOW,n.style.width=0,"auto"===this.options.width&&(i.style.minWidth=0),i.className=F.MENU+" "+F.SHOW,o.className="inner "+F.SHOW,r.className=F.MENU+" inner "+("4"===$.major?F.SHOW:""),a.className=F.DIVIDER,s.className="dropdown-header",d.appendChild(document.createTextNode("​")),c.appendChild(d),l.appendChild(c),s.appendChild(d.cloneNode(!0)),this.selectpicker.view.widestOption&&r.appendChild(this.selectpicker.view.widestOption.cloneNode(!0)),r.appendChild(l),r.appendChild(a),r.appendChild(s),u&&i.appendChild(u),h){var g=document.createElement("input");h.className="bs-searchbox",g.className="form-control",h.appendChild(g),i.appendChild(h)}p&&i.appendChild(p),o.appendChild(r),i.appendChild(o),f&&i.appendChild(f),n.appendChild(i),document.body.appendChild(n);var v,y=l.offsetHeight,b=s?s.offsetHeight:0,w=u?u.offsetHeight:0,S=h?h.offsetHeight:0,O=p?p.offsetHeight:0,x=f?f.offsetHeight:0,k=e(a).outerHeight(!0),E=!!window.getComputedStyle&&window.getComputedStyle(i),C=i.offsetWidth,T=E?null:e(i),D={vert:_(E?E.paddingTop:T.css("paddingTop"))+_(E?E.paddingBottom:T.css("paddingBottom"))+_(E?E.borderTopWidth:T.css("borderTopWidth"))+_(E?E.borderBottomWidth:T.css("borderBottomWidth")),horiz:_(E?E.paddingLeft:T.css("paddingLeft"))+_(E?E.paddingRight:T.css("paddingRight"))+_(E?E.borderLeftWidth:T.css("borderLeftWidth"))+_(E?E.borderRightWidth:T.css("borderRightWidth"))},I={vert:D.vert+_(E?E.marginTop:T.css("marginTop"))+_(E?E.marginBottom:T.css("marginBottom"))+2,horiz:D.horiz+_(E?E.marginLeft:T.css("marginLeft"))+_(E?E.marginRight:T.css("marginRight"))+2};o.style.overflowY="scroll",v=i.offsetWidth-C,document.body.removeChild(n),this.sizeInfo.liHeight=y,this.sizeInfo.dropdownHeaderHeight=b,this.sizeInfo.headerHeight=w,this.sizeInfo.searchHeight=S,this.sizeInfo.actionsHeight=O,this.sizeInfo.doneButtonHeight=x,this.sizeInfo.dividerHeight=k,this.sizeInfo.menuPadding=D,this.sizeInfo.menuExtras=I,this.sizeInfo.menuWidth=C,this.sizeInfo.menuInnerInnerWidth=C-D.horiz,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth,this.sizeInfo.scrollBarWidth=v,this.sizeInfo.selectHeight=this.$newElement[0].offsetHeight,this.setPositionData()}},getSelectPosition:function(){var t,n=e(window),i=this.$newElement.offset(),o=e(this.options.container);this.options.container&&o.length&&!o.is("body")?((t=o.offset()).top+=parseInt(o.css("borderTopWidth")),t.left+=parseInt(o.css("borderLeftWidth"))):t={top:0,left:0};var r=this.options.windowPadding;this.sizeInfo.selectOffsetTop=i.top-t.top-n.scrollTop(),this.sizeInfo.selectOffsetBot=n.height()-this.sizeInfo.selectOffsetTop-this.sizeInfo.selectHeight-t.top-r[2],this.sizeInfo.selectOffsetLeft=i.left-t.left-n.scrollLeft(),this.sizeInfo.selectOffsetRight=n.width()-this.sizeInfo.selectOffsetLeft-this.sizeInfo.selectWidth-t.left-r[1],this.sizeInfo.selectOffsetTop-=r[0],this.sizeInfo.selectOffsetLeft-=r[3]}
2,setMenuSize:function(e){this.getSelectPosition();var t,n,i,o,r,a,s,l=this.sizeInfo.selectWidth,c=this.sizeInfo.liHeight,d=this.sizeInfo.headerHeight,u=this.sizeInfo.searchHeight,h=this.sizeInfo.actionsHeight,p=this.sizeInfo.doneButtonHeight,f=this.sizeInfo.dividerHeight,m=this.sizeInfo.menuPadding,g=0;if(this.options.dropupAuto&&(s=c*this.selectpicker.current.elements.length+m.vert,this.$newElement.toggleClass(F.DROPUP,this.sizeInfo.selectOffsetTop-this.sizeInfo.selectOffsetBot>this.sizeInfo.menuExtras.vert&&s+this.sizeInfo.menuExtras.vert+50>this.sizeInfo.selectOffsetBot)),"auto"===this.options.size)o=this.selectpicker.current.elements.length>3?3*this.sizeInfo.liHeight+this.sizeInfo.menuExtras.vert-2:0,n=this.sizeInfo.selectOffsetBot-this.sizeInfo.menuExtras.vert,i=o+d+u+h+p,a=Math.max(o-m.vert,0),this.$newElement.hasClass(F.DROPUP)&&(n=this.sizeInfo.selectOffsetTop-this.sizeInfo.menuExtras.vert),r=n,t=n-d-u-h-p-m.vert;else if(this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size){for(var v=0;v<this.options.size;v++)"divider"===this.selectpicker.current.data[v].type&&g++;t=(n=c*this.options.size+g*f+m.vert)-m.vert,r=n+d+u+h+p,i=a=""}this.$menu.css({"max-height":r+"px",overflow:"hidden","min-height":i+"px"}),this.$menuInner.css({"max-height":t+"px","overflow-y":"auto","min-height":a+"px"}),this.sizeInfo.menuInnerHeight=Math.max(t,1),this.selectpicker.current.data.length&&this.selectpicker.current.data[this.selectpicker.current.data.length-1].position>this.sizeInfo.menuInnerHeight&&(this.sizeInfo.hasScrollBar=!0,this.sizeInfo.totalMenuWidth=this.sizeInfo.menuWidth+this.sizeInfo.scrollBarWidth),"auto"===this.options.dropdownAlignRight&&this.$menu.toggleClass(F.MENURIGHT,this.sizeInfo.selectOffsetLeft>this.sizeInfo.selectOffsetRight&&this.sizeInfo.selectOffsetRight<this.sizeInfo.totalMenuWidth-l),this.dropdown&&this.dropdown._popper&&this.dropdown._popper.update()},setSize:function(t){if(this.liHeight(t),this.options.header&&this.$menu.css("padding-top",0),!1!==this.options.size){var n=this,i=e(window);this.setMenuSize(),this.options.liveSearch&&this.$searchbox.off("input.setMenuSize propertychange.setMenuSize").on("input.setMenuSize propertychange.setMenuSize",(function(){return n.setMenuSize()})),"auto"===this.options.size?i.off("resize.bs.select."+this.selectId+".setMenuSize scroll"+V+"."+this.selectId+".setMenuSize").on("resize.bs.select."+this.selectId+".setMenuSize scroll"+V+"."+this.selectId+".setMenuSize",(function(){return n.setMenuSize()})):this.options.size&&"auto"!=this.options.size&&this.selectpicker.current.elements.length>this.options.size&&i.off("resize.bs.select."+this.selectId+".setMenuSize scroll"+V+"."+this.selectId+".setMenuSize"),n.createView(!1,!0,t)}},setWidth:function(){var e=this;"auto"===this.options.width?requestAnimationFrame((function(){e.$menu.css("min-width","0"),e.$element.on("loaded.bs.select",(function(){e.liHeight(),e.setMenuSize();var t=e.$newElement.clone().appendTo("body"),n=t.css("width","auto").children("button").outerWidth();t.remove(),e.sizeInfo.selectWidth=Math.max(e.sizeInfo.totalMenuWidth,n),e.$newElement.css("width",e.sizeInfo.selectWidth+"px")}))})):"fit"===this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width","").addClass("fit-width")):this.options.width?(this.$menu.css("min-width",""),this.$newElement.css("width",this.options.width)):(this.$menu.css("min-width",""),this.$newElement.css("width","")),this.$newElement.hasClass("fit-width")&&"fit"!==this.options.width&&this.$newElement[0].classList.remove("fit-width")},selectPosition:function(){this.$bsContainer=e('<div class="bs-container" />');var t,n,i,o=this,r=e(this.options.container),a=function(a){var s={},l=o.options.display||!!e.fn.dropdown.Constructor.Default&&e.fn.dropdown.Constructor.Default.display;o.$bsContainer.addClass(a.attr("class").replace(/form-control|fit-width/gi,"")).toggleClass(F.DROPUP,a.hasClass(F.DROPUP)),t=a.offset(),r.is("body")?n={top:0,left:0}:((n=r.offset()).top+=parseInt(r.css("borderTopWidth"))-r.scrollTop(),n.left+=parseInt(r.css("borderLeftWidth"))-r.scrollLeft()),i=a.hasClass(F.DROPUP)?0:a[0].offsetHeight,($.major<4||"static"===l)&&(s.top=t.top-n.top+i,s.left=t.left-n.left),s.width=a[0].offsetWidth,o.$bsContainer.css(s)};this.$button.on("click.bs.dropdown.data-api",(function(){o.isDisabled()||(a(o.$newElement),o.$bsContainer.appendTo(o.options.container).toggleClass(F.SHOW,!o.$button.hasClass(F.SHOW)).append(o.$menu))})),e(window).off("resize.bs.select."+this.selectId+" scroll"+V+"."+this.selectId).on("resize.bs.select."+this.selectId+" scroll"+V+"."+this.selectId,(function(){o.$newElement.hasClass(F.SHOW)&&a(o.$newElement)})),this.$element.on("hide.bs.select",(function(){o.$menu.data("height",o.$menu.height()),o.$bsContainer.detach()}))},setOptionStatus:function(e){if(this.noScroll=!1,this.selectpicker.view.visibleElements&&this.selectpicker.view.visibleElements.length)for(var t=0;t<this.selectpicker.view.visibleElements.length;t++){var n=this.selectpicker.current.data[t+this.selectpicker.view.position0],i=n.option;i&&(!0!==e&&this.setDisabled(n.index,n.disabled),this.setSelected(n.index,i.selected))}},setSelected:function(e,t){var n,i,o=this.selectpicker.main.elements[e],r=this.selectpicker.main.data[e],a=void 0!==this.activeIndex,s=this.activeIndex===e||t&&!this.multiple&&!a;r.selected=t,i=o.firstChild,t&&(this.selectedIndex=e),o.classList.toggle("selected",t),s?(this.focusItem(o,r),this.selectpicker.view.currentActive=o,this.activeIndex=e):this.defocusItem(o),i&&(i.classList.toggle("selected",t),t?i.setAttribute("aria-selected",!0):this.multiple?i.setAttribute("aria-selected",!1):i.removeAttribute("aria-selected")),s||a||!t||void 0===this.prevActiveIndex||(n=this.selectpicker.main.elements[this.prevActiveIndex],this.defocusItem(n))},setDisabled:function(e,t){var n,i=this.selectpicker.main.elements[e];this.selectpicker.main.data[e].disabled=t,n=i.firstChild,i.classList.toggle(F.DISABLED,t),n&&("4"===$.major&&n.classList.toggle(F.DISABLED,t),t?(n.setAttribute("aria-disabled",t),n.setAttribute("tabindex",-1)):(n.removeAttribute("aria-disabled"),n.setAttribute("tabindex",0)))},isDisabled:function(){return this.$element[0].disabled},checkDisabled:function(){this.isDisabled()?(this.$newElement[0].classList.add(F.DISABLED),this.$button.addClass(F.DISABLED).attr("tabindex",-1).attr("aria-disabled",!0)):(this.$button[0].classList.contains(F.DISABLED)&&(this.$newElement[0].classList.remove(F.DISABLED),this.$button.removeClass(F.DISABLED).attr("aria-disabled",!1)),-1!=this.$button.attr("tabindex")||this.$element.data("tabindex")||this.$button.removeAttr("tabindex"))},tabIndex:function(){this.$element.data("tabindex")!==this.$element.attr("tabindex")&&-98!==this.$element.attr("tabindex")&&"-98"!==this.$element.attr("tabindex")&&(this.$element.data("tabindex",this.$element.attr("tabindex")),this.$button.attr("tabindex",this.$element.data("tabindex"))),this.$element.attr("tabindex",-98)},clickListener:function(){var t=this,n=e(document);function i(){t.options.liveSearch?t.$searchbox.trigger("focus"):t.$menuInner.trigger("focus")}function o(){t.dropdown&&t.dropdown._popper&&t.dropdown._popper.state.isCreated?i():requestAnimationFrame(o)}n.data("spaceSelect",!1),this.$button.on("keyup",(function(e){/(32)/.test(e.keyCode.toString(10))&&n.data("spaceSelect")&&(e.preventDefault(),n.data("spaceSelect",!1))})),this.$newElement.on("show.bs.dropdown",(function(){$.major>3&&!t.dropdown&&(t.dropdown=t.$button.data("bs.dropdown"),t.dropdown._menu=t.$menu[0])})),this.$button.on("click.bs.dropdown.data-api",(function(){t.$newElement.hasClass(F.SHOW)||t.setSize()})),this.$element.on("shown.bs.select",(function(){t.$menuInner[0].scrollTop!==t.selectpicker.view.scrollTop&&(t.$menuInner[0].scrollTop=t.selectpicker.view.scrollTop),$.major>3?requestAnimationFrame(o):i()})),this.$menuInner.on("mouseenter","li a",(function(e){var n=this.parentElement,i=t.isVirtual()?t.selectpicker.view.position0:0,o=Array.prototype.indexOf.call(n.parentElement.children,n),r=t.selectpicker.current.data[o+i];t.focusItem(n,r,!0)})),this.$menuInner.on("click","li a",(function(n,i){var o=e(this),r=t.$element[0],a=t.isVirtual()?t.selectpicker.view.position0:0,s=t.selectpicker.current.data[o.parent().index()+a],l=s.index,c=g(r),d=r.selectedIndex,u=r.options[d],h=!0;if(t.multiple&&1!==t.options.maxOptions&&n.stopPropagation(),n.preventDefault(),!t.isDisabled()&&!o.parent().hasClass(F.DISABLED)){var p=s.option,f=e(p),v=p.selected,b=f.parent("optgroup"),w=b.find("option"),_=t.options.maxOptions,S=b.data("maxOptions")||!1;if(l===t.activeIndex&&(i=!0),i||(t.prevActiveIndex=t.activeIndex,t.activeIndex=void 0),t.multiple){if(p.selected=!v,t.setSelected(l,!v),o.trigger("blur"),!1!==_||!1!==S){var O=_<m(r).length,x=S<b.find("option:selected").length;if(_&&O||S&&x)if(_&&1==_)r.selectedIndex=-1,p.selected=!0,t.setOptionStatus(!0);else if(S&&1==S){for(var k=0;k<w.length;k++){var E=w[k];E.selected=!1,t.setSelected(E.liIndex,!1)}p.selected=!0,t.setSelected(l,!0)}else{var C="string"==typeof t.options.maxOptionsText?[t.options.maxOptionsText,t.options.maxOptionsText]:t.options.maxOptionsText,T="function"==typeof C?C(_,S):C,D=T[0].replace("{n}",_),I=T[1].replace("{n}",S),j=e('<div class="notify"></div>');T[2]&&(D=D.replace("{var}",T[2][_>1?0:1]),I=I.replace("{var}",T[2][S>1?0:1])),p.selected=!1,t.$menu.append(j),_&&O&&(j.append(e("<div>"+D+"</div>")),h=!1,t.$element.trigger("maxReached.bs.select")),S&&x&&(j.append(e("<div>"+I+"</div>")),h=!1,t.$element.trigger("maxReachedGrp.bs.select")),setTimeout((function(){t.setSelected(l,!1)}),10),j[0].classList.add("fadeOut"),setTimeout((function(){j.remove()}),1050)}}}else u&&(u.selected=!1),p.selected=!0,t.setSelected(l,!0);!t.multiple||t.multiple&&1===t.options.maxOptions?t.$button.trigger("focus"):t.options.liveSearch&&t.$searchbox.trigger("focus"),h&&(t.multiple||d!==r.selectedIndex)&&(y=[p.index,f.prop("selected"),c],t.$element.triggerNative("change"))}})),this.$menu.on("click","li."+F.DISABLED+" a, ."+F.POPOVERHEADER+", ."+F.POPOVERHEADER+" :not(.close)",(function(n){n.currentTarget==this&&(n.preventDefault(),n.stopPropagation(),t.options.liveSearch&&!e(n.target).hasClass("close")?t.$searchbox.trigger("focus"):t.$button.trigger("focus"))}
2)),this.$menuInner.on("click",".divider, .dropdown-header",(function(e){e.preventDefault(),e.stopPropagation(),t.options.liveSearch?t.$searchbox.trigger("focus"):t.$button.trigger("focus")})),this.$menu.on("click","."+F.POPOVERHEADER+" .close",(function(){t.$button.trigger("click")})),this.$searchbox.on("click",(function(e){e.stopPropagation()})),this.$menu.on("click",".actions-btn",(function(n){t.options.liveSearch?t.$searchbox.trigger("focus"):t.$button.trigger("focus"),n.preventDefault(),n.stopPropagation(),e(this).hasClass("bs-select-all")?t.selectAll():t.deselectAll()})),this.$element.on("change.bs.select",(function(){t.render(),t.$element.trigger("changed.bs.select",y),y=null})).on("focus.bs.select",(function(){t.options.mobile||t.$button.trigger("focus")}))},liveSearchListener:function(){var e=this,t=document.createElement("li");this.$button.on("click.bs.dropdown.data-api",(function(){e.$searchbox.val()&&e.$searchbox.val("")})),this.$searchbox.on("click.bs.dropdown.data-api focus.bs.dropdown.data-api touchend.bs.dropdown.data-api",(function(e){e.stopPropagation()})),this.$searchbox.on("input propertychange",(function(){var n=e.$searchbox.val();if(e.selectpicker.search.elements=[],e.selectpicker.search.data=[],n){var i=[],o=n.toUpperCase(),r={},a=[],s=e._searchStyle(),l=e.options.liveSearchNormalize;l&&(o=E(o)),e._$lisSelected=e.$menuInner.find(".selected");for(var c=0;c<e.selectpicker.main.data.length;c++){var d=e.selectpicker.main.data[c];r[c]||(r[c]=w(d,o,s,l)),r[c]&&void 0!==d.headerIndex&&-1===a.indexOf(d.headerIndex)&&(d.headerIndex>0&&(r[d.headerIndex-1]=!0,a.push(d.headerIndex-1)),r[d.headerIndex]=!0,a.push(d.headerIndex),r[d.lastIndex+1]=!0),r[c]&&"optgroup-label"!==d.type&&a.push(c)}c=0;for(var u=a.length;c<u;c++){var h=a[c],p=a[c-1],f=(d=e.selectpicker.main.data[h],e.selectpicker.main.data[p]);("divider"!==d.type||"divider"===d.type&&f&&"divider"!==f.type&&u-1!==c)&&(e.selectpicker.search.data.push(d),i.push(e.selectpicker.main.elements[h]))}e.activeIndex=void 0,e.noScroll=!0,e.$menuInner.scrollTop(0),e.selectpicker.search.elements=i,e.createView(!0),i.length||(t.className="no-results",t.innerHTML=e.options.noneResultsText.replace("{0}",'"'+A(n)+'"'),e.$menuInner[0].firstChild.appendChild(t))}else e.$menuInner.scrollTop(0),e.createView(!1)}))},_searchStyle:function(){return this.options.liveSearchStyle||"contains"},val:function(e){var t=this.$element[0];if(void 0!==e){var n=g(t);if(y=[null,null,n],this.$element.val(e).trigger("changed.bs.select",y),this.$newElement.hasClass(F.SHOW))if(this.multiple)this.setOptionStatus(!0);else{var i=(t.options[t.selectedIndex]||{}).liIndex;"number"==typeof i&&(this.setSelected(this.selectedIndex,!1),this.setSelected(i,!0))}return this.render(),y=null,this.$element}return this.$element.val()},changeAll:function(e){if(this.multiple){void 0===e&&(e=!0);var t=this.$element[0],n=0,i=0,o=g(t);t.classList.add("bs-select-hidden");for(var r=0,a=this.selectpicker.current.elements.length;r<a;r++){var s=this.selectpicker.current.data[r],l=s.option;l&&!s.disabled&&"divider"!==s.type&&(s.selected&&n++,l.selected=e,e&&i++)}t.classList.remove("bs-select-hidden"),n!==i&&(this.setOptionStatus(),y=[null,null,o],this.$element.triggerNative("change"))}},selectAll:function(){return this.changeAll(!0)},deselectAll:function(){return this.changeAll(!1)},toggle:function(e){(e=e||window.event)&&e.stopPropagation(),this.$button.trigger("click.bs.dropdown.data-api")},keydown:function(t){var n,i,o,r,a,s=e(this),l=s.hasClass("dropdown-toggle"),c=(l?s.closest(".dropdown"):s.closest(z.MENU)).data("this"),d=c.findLis(),u=!1,h=t.which===P&&!l&&!c.options.selectOnTab,p=B.test(t.which)||h,f=c.$menuInner[0].scrollTop,m=!0===c.isVirtual()?c.selectpicker.view.position0:0;if(!(t.which>=112&&t.which<=123))if(!(i=c.$newElement.hasClass(F.SHOW))&&(p||t.which>=48&&t.which<=57||t.which>=96&&t.which<=105||t.which>=65&&t.which<=90)&&(c.$button.trigger("click.bs.dropdown.data-api"),c.options.liveSearch))c.$searchbox.trigger("focus");else{if(t.which===M&&i&&(t.preventDefault(),c.$button.trigger("click.bs.dropdown.data-api").trigger("focus")),p){if(!d.length)return;-1!==(n=(o=c.selectpicker.main.elements[c.activeIndex])?Array.prototype.indexOf.call(o.parentElement.children,o):-1)&&c.defocusItem(o),t.which===H?(-1!==n&&n--,n+m<0&&(n+=d.length),c.selectpicker.view.canHighlight[n+m]||-1===(n=c.selectpicker.view.canHighlight.slice(0,n+m).lastIndexOf(!0)-m)&&(n=d.length-1)):(t.which===R||h)&&(++n+m>=c.selectpicker.view.canHighlight.length&&(n=0),c.selectpicker.view.canHighlight[n+m]||(n=n+1+c.selectpicker.view.canHighlight.slice(n+m+1).indexOf(!0))),t.preventDefault();var g=m+n;t.which===H?0===m&&n===d.length-1?(c.$menuInner[0].scrollTop=c.$menuInner[0].scrollHeight,g=c.selectpicker.current.elements.length-1):u=(a=(r=c.selectpicker.current.data[g]).position-r.height)<f:(t.which===R||h)&&(0===n?(c.$menuInner[0].scrollTop=0,g=0):u=(a=(r=c.selectpicker.current.data[g]).position-c.sizeInfo.menuInnerHeight)>f),o=c.selectpicker.current.elements[g],c.activeIndex=c.selectpicker.current.data[g].index,c.focusItem(o),c.selectpicker.view.currentActive=o,u&&(c.$menuInner[0].scrollTop=a),c.options.liveSearch?c.$searchbox.trigger("focus"):s.trigger("focus")}else if(!s.is("input")&&!U.test(t.which)||t.which===N&&c.selectpicker.keydown.keyHistory){var v,y,b=[];t.preventDefault(),c.selectpicker.keydown.keyHistory+=W[t.which],c.selectpicker.keydown.resetKeyHistory.cancel&&clearTimeout(c.selectpicker.keydown.resetKeyHistory.cancel),c.selectpicker.keydown.resetKeyHistory.cancel=c.selectpicker.keydown.resetKeyHistory.start(),y=c.selectpicker.keydown.keyHistory,/^(.)\1+$/.test(y)&&(y=y.charAt(0));for(var _=0;_<c.selectpicker.current.data.length;_++){var S=c.selectpicker.current.data[_];w(S,y,"startsWith",!0)&&c.selectpicker.view.canHighlight[_]&&b.push(S.index)}if(b.length){var O=0;d.removeClass("active").find("a").removeClass("active"),1===y.length&&(-1===(O=b.indexOf(c.activeIndex))||O===b.length-1?O=0:O++),v=b[O],f-(r=c.selectpicker.main.data[v]).position>0?(a=r.position-r.height,u=!0):(a=r.position-c.sizeInfo.menuInnerHeight,u=r.position>f+c.sizeInfo.menuInnerHeight),o=c.selectpicker.main.elements[v],c.activeIndex=b[O],c.focusItem(o),o&&o.firstChild.focus(),u&&(c.$menuInner[0].scrollTop=a),s.trigger("focus")}}i&&(t.which===N&&!c.selectpicker.keydown.keyHistory||t.which===L||t.which===P&&c.options.selectOnTab)&&(t.which!==N&&t.preventDefault(),c.options.liveSearch&&t.which===N||(c.$menuInner.find(".active a").trigger("click",!0),s.trigger("focus"),c.options.liveSearch||(t.preventDefault(),e(document).data("spaceSelect",!0))))}},mobile:function(){this.$element[0].classList.add("mobile-device")},refresh:function(){var t=e.extend({},this.options,this.$element.data());this.options=t,this.checkDisabled(),this.setStyle(),this.render(),this.createLi(),this.setWidth(),this.setSize(!0),this.$element.trigger("refreshed.bs.select")},hide:function(){this.$newElement.hide()},show:function(){this.$newElement.show()},remove:function(){this.$newElement.remove(),this.$element.remove()},destroy:function(){this.$newElement.before(this.$element).remove(),this.$bsContainer?this.$bsContainer.remove():this.$menu.remove(),this.$element.off(V).removeData("selectpicker").removeClass("bs-select-hidden selectpicker"),e(window).off(".b
2s.select."+this.selectId)}};var K=e.fn.selectpicker;e.fn.selectpicker=X,e.fn.selectpicker.Constructor=q,e.fn.selectpicker.noConflict=function(){return e.fn.selectpicker=K,this},e(document).off("keydown.bs.dropdown.data-api",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select .dropdown-menu').on("keydown.bs.select",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',q.prototype.keydown).on("focusin.modal",'.bootstrap-select [data-toggle="dropdown"], .bootstrap-select [role="listbox"], .bootstrap-select .bs-searchbox input',(function(e){e.stopPropagation()})),e(window).on("load.bs.select.data-api",(function(){e(".selectpicker").each((function(){var t=e(this);X.call(t,t.data())}))}))}(e)})),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Typed=t():e.Typed=t()}(this,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var o=n(1),r=n(3),a=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o.initializer.load(this,n,t),this.begin()}return i(e,[{key:"toggle",value:function(){this.pause.status?this.start():this.stop()}},{key:"stop",value:function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))}},{key:"start",value:function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))}},{key:"destroy",value:function(){this.reset(!1),this.options.onDestroy(this)}},{key:"reset",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0];clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())}},{key:"begin",value:function(){var e=this;this.options.onBegin(this),this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout((function(){e.currentElContent&&0!==e.currentElContent.length?e.backspace(e.currentElContent,e.currentElContent.length):e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos)}),this.startDelay)}},{key:"typewrite",value:function(e,t){var n=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var i=this.humanizer(this.typeSpeed),o=1;!0!==this.pause.status?this.timeout=setTimeout((function(){t=r.htmlParser.typeHtmlChars(e,t,n);var i=0,a=e.substr(t);if("^"===a.charAt(0)&&/^\^\d+/.test(a)){var s=1;s+=(a=/\d+/.exec(a)[0]).length,i=parseInt(a),n.temporaryPause=!0,n.options.onTypingPaused(n.arrayPos,n),e=e.substring(0,t)+e.substring(t+s),n.toggleBlinking(!0)}if("`"===a.charAt(0)){for(;"`"!==e.substr(t+o).charAt(0)&&!(t+ ++o>e.length););var l=e.substring(0,t),c=e.substring(l.length+1,t+o),d=e.substring(t+o+1);e=l+c+d,o--}n.timeout=setTimeout((function(){n.toggleBlinking(!1),t>=e.length?n.doneTyping(e,t):n.keepTyping(e,t,o),n.temporaryPause&&(n.temporaryPause=!1,n.options.onTypingResumed(n.arrayPos,n))}),i)}),i):this.setPauseStatus(e,t,!0)}},{key:"keepTyping",value:function(e,t,n){0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),t+=n;var i=e.substr(0,t);this.replaceText(i),this.typewrite(e,t)}},{key:"doneTyping",value:function(e,t){var n=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout((function(){n.backspace(e,t)}),this.backDelay))}},{key:"backspace",value:function(e,t){var n=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var i=this.humanizer(this.backSpeed);this.timeout=setTimeout((function(){t=r.htmlParser.backSpaceHtmlChars(e,t,n
vendor: 4,156 bytes, line 2
2);var i=e.substr(0,t);if(n.replaceText(i),n.smartBackspace){var o=n.strings[n.arrayPos+1];o&&i===o.substr(0,t)?n.stopNum=t:n.stopNum=0}t>n.stopNum?(t--,n.backspace(e,t)):t<=n.stopNum&&(n.arrayPos++,n.arrayPos===n.strings.length?(n.arrayPos=0,n.options.onLastStringBackspaced(),n.shuffleStringsIfNeeded(),n.begin()):n.typewrite(n.strings[n.sequence[n.arrayPos]],t))}),i)}else this.setPauseStatus(e,t,!0)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(e,t,n){this.pause.typewrite=n,this.pause.curString=e,this.pause.curStrPos=t}},{key:"toggleBlinking",value:function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(e){return Math.round(Math.random()*e/2)+e}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort((function(){return Math.random()-.5})))}},{key:"initFadeOut",value:function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout((function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)}),this.fadeOutDelay)}},{key:"replaceText",value:function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.el.innerHTML=e:this.el.textContent=e}},{key:"bindFocusEvents",value:function(){var e=this;this.isInput&&(this.el.addEventListener("focus",(function(t){e.stop()})),this.el.addEventListener("blur",(function(t){e.el.value&&0!==e.el.value.length||e.start()})))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),e}();t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var r,a=n(2),s=(r=a)&&r.__esModule?r:{default:r},l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return o(e,[{key:"load",value:function(e,t,n){if(e.el="string"==typeof n?document.querySelector(n):n,e.options=i({},s.default,t),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.options.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map((function(e){return e.trim()})),"string"==typeof e.options.stringsElement?e.stringsElement=document.querySelector(e.options.stringsElement):e.stringsElement=e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.display="none";var o=Array.prototype.slice.apply(e.stringsElement.children),r=o.length;if(r)for(var a=0;a<r;a+=1){var l=o[a];e.strings.push(l.innerHTML.trim())}}for(var a in e.strPos=0,e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.sequence=[],e.pause={status:!1,t
2ypewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.strings)e.sequence[a]=a;e.currentElContent=this.getCurrentElContent(e),e.autoInsertCss=e.options.autoInsertCss,this.appendAnimationCss(e)}},{key:"getCurrentElContent",value:function(e){return e.attr?e.el.getAttribute(e.attr):e.isInput?e.el.value:"html"===e.contentType?e.el.innerHTML:e.el.textContent}},{key:"appendAnimationCss",value:function(e){if(e.autoInsertCss&&(e.showCursor||e.fadeOut)&&!document.querySelector("[data-typed-js-css]")){var t=document.createElement("style");t.type="text/css",t.setAttribute("data-typed-js-css",!0);var n="";e.showCursor&&(n+="\n        .typed-cursor{\n          opacity: 1;\n        }\n        .typed-cursor.typed-cursor--blink{\n          animation: typedjsBlink 0.7s infinite;\n          -webkit-animation: typedjsBlink 0.7s infinite;\n                  animation: typedjsBlink 0.7s infinite;\n        }\n        @keyframes typedjsBlink{\n          50% { opacity: 0.0; }\n        }\n        @-webkit-keyframes typedjsBlink{\n          0% { opacity: 1; }\n          50% { opacity: 0.0; }\n          100% { opacity: 1; }\n        }\n      "),e.fadeOut&&(n+="\n        .typed-fade-out{\n          opacity: 0;\n          transition: opacity .25s;\n        }\n        .typed-cursor.typed-cursor--blink.typed-fade-out{\n          -webkit-animation: 0;\n          animation: 0;\n        }\n      "),0!==t.length&&(t.innerHTML=n,document.body.appendChild(t))}}}]),e}();t.default=l;var c=new l;t.initializer=c},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onBegin:function(e){},onComplete:function(e){},preStringTyped:function(e,t){},onStringTyped:function(e,t){},onLastStringBackspaced:function(e){},onTypingPaused:function(e,t){},onTypingResumed:function(e,t){},onReset:function(e){},onStop:function(e,t){},onStart:function(e,t){},onDestroy:function(e){}};t.default=n,e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return n(e,[{key:"typeHtmlChars",value:function(e,t,n){if("html"!==n.contentType)return t;var i=e.substr(t).charAt(0);if("<"===i||"&"===i){var o="";for(o="<"===i?">":";";e.substr(t+1).charAt(0)!==o&&!(++t+1>e.length););t++}return t}},{key:"backSpaceHtmlChars",value:function(e,t,n){if("html"!==n.contentType)return t;var i=e.substr(t).charAt(0);if(">"===i||";"===i){var o="";for(o=">"===i?"<":"&";e.substr(t-1).charAt(0)!==o&&!(--t<0););t--}return t}}]),e}();t.default=i;var o=new i;t.htmlParser=o}])})),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AOS=t():e.AOS=t()}(this,(function(){return function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=(i(n(1)),n(6)),a=i(r),s=i(n(7)),l=i(n(8)),c=i(n(9)),d=i(n(10)),u=i(n(11)),h=i(n(14)),p=[],f=!1,m={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},g=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e&&(f=!0),f)return p=(0,u.default)(p,m),(0,d.default)(p,m.once),p},v=function(){p=(0,h.default)(),g()};e.exports={init:function(e){m=o(m,e),p=(0,h.default)();var t=document.all&&!window.atob;return function(e){return!0===e||"mobile"===e&&c.default.mobile()||"phone"===e&&c.default.phone()||"tablet"===e&&c.default.tablet()||"function"==typeof e&&!0===e()}(m.disable)||t?void p.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})):(m.disableMutationObserver||l.default.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),m.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",m.easing),document.querySelector("body").setAttribute("data-aos-duration",m.duration),document.querySelector("body").setAttribute("data-aos-delay",m.delay),"DOMContentLoaded"===m.startEvent&&["complete","
2interactive"].indexOf(document.readyState)>-1?g(!0):"load"===m.startEvent?window.addEventListener(m.startEvent,(function(){g(!0)})):document.addEventListener(m.startEvent,(function(){g(!0)})),window.addEventListener("resize",(0,s.default)(g,m.debounceDelay,!0)),window.addEventListener("orientationchange",(0,s.default)(g,m.debounceDelay,!0)),window.addEventListener("scroll",(0,a.default)((function(){(0,d.default)(p,m.once)}),m.throttleDelay)),m.disableMutationObserver||l.default.ready("[data-aos]",v),p)},refresh:g,refreshHard:v}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function o(t){var n=u,i=h;return u=h=void 0,v=t,f=e.apply(i,n)}function a(e){var n=e-g;return void 0===g||n>=t||n<0||S&&e-v>=p}function l(){var e=_();return a(e)?c(e):void(m=setTimeout(l,function(e){var n=t-(e-g);return S?w(n,p-(e-v)):n}(e)))}function c(e){return m=void 0,O&&u?o(e):(u=h=void 0,f)}function d(){var e=_(),n=a(e);if(u=arguments,h=this,g=e,n){if(void 0===m)return function(e){return v=e,m=setTimeout(l,t),y?o(e):f}(g);if(S)return m=setTimeout(l,t),o(g)}return void 0===m&&(m=setTimeout(l,t)),f}var u,h,p,f,m,g,v=0,y=!1,S=!1,O=!0;if("function"!=typeof e)throw new TypeError(s);return t=r(t)||0,i(n)&&(y=!!n.leading,p=(S="maxWait"in n)?b(r(n.maxWait)||0,t):p,O="trailing"in n?!!n.trailing:O),d.cancel=function(){void 0!==m&&clearTimeout(m),v=0,u=g=h=m=void 0},d.flush=function(){return void 0===m?f:c(_())},d}function i(e){var t=void 0===e?"undefined":a(e);return!!e&&("object"==t||"function"==t)}function o(e){return"symbol"==(void 0===e?"undefined":a(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":a(e))}(e)&&y.call(e)==c}function r(e){if("number"==typeof e)return e;if(o(e))return l;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=h.test(e);return n||p.test(e)?f(e.slice(2),n?2:8):u.test(e)?l:+e}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s="Expected a function",l=NaN,c="[object Symbol]",d=/^\s+|\s+$/g,u=/^[-+]0x[0-9a-f]+$/i,h=/^0b[01]+$/i,p=/^0o[0-7]+$/i,f=parseInt,m="object"==(void 0===t?"undefined":a(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),y=Object.prototype.toString,b=Math.max,w=Math.min,_=function(){return v.Date.now()};e.exports=function(e,t,o){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError(s);return i(o)&&(r="leading"in o?!!o.leading:r,a="trailing"in o?!!o.trailing:a),n(e,t,{leading:r,maxWait:t,trailing:a})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e){var t=void 0===e?"undefined":r(e);return!!e&&("object"==t||"function"==t)}function i(e){return"symbol"==(void 0===e?"undefined":r(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":r(e))}(e)&&v.call(e)==l}function o(e){if("number"==typeof e)return e;if(i(e))return s;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var o=u.test(e);return o||h.test(e)?p(e.slice(2),o?2:8):d.test(e)?s:+e}var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a="Expected a function",s=NaN,l="[object Symbol]",c=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,h=/^0o[0-7]+$/i,p=parseInt,f="object"==(void 0===t?"undefined":r(t))&&t&&t.Object===Object&&t,m="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,g=f||m||Function("return this")(),v=Object.prototype.toString,y=Math.max,b=Math.min,w=function(){return g.Date.now()};e.exports=function(e,t,i){function r(t){var n=u,i=h;return u=h=void 0,v=t,f=e.apply(i,n)}function s(e){var n=e-g;return void 0===g||n>=t||n<0||S&&e-v>=p}function l(){var e=w();return s(e)?c(e):void(m=setTimeout(l,function(e){var n=t-(e-g);return S?b(n,p-(e-v)):n}(e)))}function c(e){return m=void 0,O&&u?r(e):(u=h=void 0,f)}function d(){var e=w(),n=s(e);if(u=arguments,h=this,g=e,n){if(void 0===m)return function(e){return v=e,m=setTimeout(l,t),_?r(e):f}(g);if(S)return m=setTimeout(l,t),r(g)}return void 0===m&&(m=setTimeout(l,t)),f}var u,h,p,f,m,g,v=0,_=!1,S=!1,O=!0;
2if("function"!=typeof e)throw new TypeError(a);return t=o(t)||0,n(i)&&(_=!!i.leading,p=(S="maxWait"in i)?y(o(i.maxWait)||0,t):p,O="trailing"in i?!!i.trailing:O),d.cancel=function(){void 0!==m&&clearTimeout(m),v=0,u=g=h=m=void 0},d.flush=function(){return void 0===m?f:c(w())},d}}).call(t,function(){return this}())},function(e,t){"use strict";function n(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function i(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),n=Array.prototype.slice.call(e.removedNodes);if(function e(t){var n=void 0,i=void 0;for(n=0;n<t.length;n+=1){if((i=t[n]).dataset&&i.dataset.aos)return!0;if(i.children&&e(i.children))return!0}return!1}(t.concat(n)))return o()}))}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){};t.default={isSupported:function(){return!!n()},ready:function(e,t){var r=window.document,a=new(n())(i);o=t,a.observe(r.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(e,t){"use strict";function n(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,r=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,a=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,s=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
2sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,[{key:"phone",value:function(){var e=n();return!(!o.test(e)&&!r.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=n();return!(!a.test(e)&&!s.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new l},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e,t){var n=window.pageYOffset,i=window.innerHeight;e.forEach((function(e,o){!function(e,t,n){var i=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):void 0!==i&&("false"===i||!n&&"true"!==i)&&e.node.classList.remove("aos-animate")}(e,i+n,t)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(12));t.default=function(e,t){return e.forEach((function(e,n){e.node.classList.add("aos-init"),e.position=(0,i.default)(e.node,t.offset)})),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(13));t.default=function(e,t){var n=0,o=0,r=window.innerHeight,a={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(o=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(e=document.querySelectorAll(a.anchor)[0]),n=(0,i.default)(e).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=r/2;break;case"bottom-center":n+=r/2+e.offsetHeight;break;case"center-center":n+=r/2+e.offsetHeight/2;break;case"top-top":n+=r;break;case"bottom-top":n+=e.offsetHeight+r;break;case"center-top":n+=e.offsetHeight/2+r}return a.anchorPlacement||a.offset||isNaN(t)||(o=t),n+o}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,(function(e){return{node:e}}))}}])})),function(e){e.fn.extend({slimScroll:function(n){var i=e.extend({width:"auto",height:"250px",size:"7px",color:"#000",position:"right",distance:"1px",start:"top",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:"#333",railOpacity:.2,railDraggable:!0,railClass:"slimScrollRail",barClass:"slimScrollBar",wrapperClass:"slimScrollDiv",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:"7px",railBorderRadius:"7px"},n);return this.each((function(){var o,r,a,s,l,c,d,u,h="<div></div>",p=30,f=!1,m=e(this);if(m.parent().hasClass(i.wrapperClass)){var g=m.scrollTop();if(S=m.siblings("."+i.barClass),_=m.siblings("."+i.railClass),E(),e.isPlainObject(n)){if("height"in n&&"auto"==n.height){m.parent().css("height","auto"),m.css("height","auto");var v=m.parent().parent().height();m.parent().css("height",v),m.css("height",v)}else if("height"in n){var y=n.height;m.parent().css("height",y),m.css("height",y)}if("scrollTo"in n)g=parseInt(i.scrollTo);else if("scrollBy"in n)g+=parseInt(i.scrollBy);else if("destroy"in n)return S.remove(),_.remove(),void m.unwrap();k(g,!1,!0)}}else if(!(e.isPlainObject(n)&&"destroy"in n)){i.height="auto"==i.height?m.parent().height():i.height;var b=e(h).addClass(i.wrapperClass).css({position:"relative",overflow:"hidden",width:i.width,height:i.height});
2m.css({overflow:"hidden",width:i.width,height:i.height});var w,_=e(h).addClass(i.railClass).css({width:i.size,height:"100%",position:"absolute",top:0,display:i.alwaysVisible&&i.railVisible?"block":"none","border-radius":i.railBorderRadius,background:i.railColor,opacity:i.railOpacity,zIndex:90}),S=e(h).addClass(i.barClass).css({background:i.color,width:i.size,position:"absolute",top:0,opacity:i.opacity,display:i.alwaysVisible?"block":"none","border-radius":i.borderRadius,BorderRadius:i.borderRadius,MozBorderRadius:i.borderRadius,WebkitBorderRadius:i.borderRadius,zIndex:99}),O="right"==i.position?{right:i.distance}:{left:i.distance};_.css(O),S.css(O),m.wrap(b),m.parent().append(S),m.parent().append(_),i.railDraggable&&S.bind("mousedown",(function(n){var i=e(document);return a=!0,t=parseFloat(S.css("top")),pageY=n.pageY,i.bind("mousemove.slimscroll",(function(e){currTop=t+e.pageY-pageY,S.css("top",currTop),k(0,S.position().top,!1)})),i.bind("mouseup.slimscroll",(function(e){a=!1,T(),i.unbind(".slimscroll")})),!1})).bind("selectstart.slimscroll",(function(e){return e.stopPropagation(),e.preventDefault(),!1})),_.hover((function(){C()}),(function(){T()})),S.hover((function(){r=!0}),(function(){r=!1})),m.hover((function(){o=!0,C(),T()}),(function(){o=!1,T()})),m.bind("touchstart",(function(e,t){e.originalEvent.touches.length&&(l=e.originalEvent.touches[0].pageY)})),m.bind("touchmove",(function(e){(f||e.originalEvent.preventDefault(),e.originalEvent.touches.length)&&(k((l-e.originalEvent.touches[0].pageY)/i.touchScrollStep,!0),l=e.originalEvent.touches[0].pageY)})),E(),"bottom"===i.start?(S.css({top:m.outerHeight()-S.outerHeight()}),k(0,!0)):"top"!==i.start&&(k(e(i.start).position().top,null,!0),i.alwaysVisible||S.hide()),w=this,window.addEventListener?(w.addEventListener("DOMMouseScroll",x,!1),w.addEventListener("mousewheel",x,!1)):document.attachEvent("onmousewheel",x)}function x(t){if(o){var n=0;(t=t||window.event).wheelDelta&&(n=-t.wheelDelta/120),t.detail&&(n=t.detail/3);var r=t.target||t.srcTarget||t.srcElement;e(r).closest("."+i.wrapperClass).is(m.parent())&&k(n,!0),t.preventDefault&&!f&&t.preventDefault(),f||(t.returnValue=!1)}}function k(e,t,n){f=!1;var o=e,r=m.outerHeight()-S.outerHeight();if(t&&(o=parseInt(S.css("top"))+e*parseInt(i.wheelStep)/100*S.outerHeight(),o=Math.min(Math.max(o,0),r),o=e>0?Math.ceil(o):Math.floor(o),S.css({top:o+"px"})),o=(d=parseInt(S.css("top"))/(m.outerHeight()-S.outerHeight()))*(m[0].scrollHeight-m.outerHeight()),n){var a=(o=e)/m[0].scrollHeight*m.outerHeight();a=Math.min(Math.max(a,0),r),S.css({top:a+"px"})}m.scrollTop(o),m.trigger("slimscrolling",~~o),C(),T()}function E(){c=Math.max(m.outerHeight()/m[0].scrollHeight*m.outerHeight(),p),S.css({height:c+"px"});var e=c==m.outerHeight()?"none":"block";S.css({display:e})}function C(){if(E(),clearTimeout(s),d==~~d){if(f=i.allowPageScroll,u!=d){var e=0==~~d?"top":"bottom";m.trigger("slimscroll",e)}}else f=!1;u=d,c>=m.outerHeight()?f=!0:(S.stop(!0,!0).fadeIn("fast"),i.railVisible&&_.stop(!0,!0).fadeIn("fast"))}function T(){i.alwaysVisible||(s=setTimeout((function(){i.disableFadeOut&&o||r||a||(S.fadeOut("slow"),_.fadeOut("slow"))}),1e3))}})),this}}),e.fn.extend({slimscroll:e.fn.slimScroll})}(jQuery),function(e,t,n,i){var o="ontouchstart"in n,r=function(){var e=n.createElement("div"),i=n.documentElement;if(!("pointerEvents"in e.style))return!1;e.style.pointerEvents="auto",e.style.pointerEvents="x",i.appendChild(e);var o=t.getComputedStyle&&"auto"===t.getComputedStyle(e,"").pointerEvents;return i.removeChild(e),!!o}(),a={listNodeName:"ol",itemNodeName:"li",rootClass:"dd",listClass:"dd-list",itemClass:"dd-item",dragClass:"dd-dragel",handleClass:"dd-handle",collapsedClass:"dd-collapsed",placeClass:"dd-placeholder",noDragClass:"dd-nodrag",emptyClass:"dd-empty",expandBtnHTML:'<button data-action="expand" type="button">Expand</button>',collapseBtnHTML:'<button data-action="collapse" type="button">Collapse</button>',group:0,maxDepth:5,threshold:20};function s(t,i){this.w=e(n),this.el=e(t),this.options=e.extend({},a,i),this.init()}s.prototype={init:function(){var n=this;n.reset(),n.el.data("nestable-group",this.options.group),n.placeEl=e('<div class="'+n.options.placeClass+'"/>'),e.each(this.el.find(n.options.itemNodeName),(function(t,i){n.setParent(e(i))})),n.el.on("click","button",(function(t){if(!n.dragEl){var i=e(t.currentTarget),o=i.data("action"),r=i.parent(n.options.itemNodeName);"collapse"===o&&n.collapseItem(r),"expand"===o&&n.expandItem(r)}}));var i=function(t){var i=e(t.target);if(!i.hasClass(n.options.handleClass)){if(i.closest("."+n.options.noDragClass).length)return;i=i.closest("."+n.options.handleClass)}i.length&&!n.dragEl&&(n.isTouch=/^touch/.test(t.type),n.isTouch&&1!==t.touches.length||(t.preventDefault(),n.dragStart(t.touches?t.touches[0]:t)))},r=function(e){n.dragEl&&(e.preventDefault(),n.dragMove(e.touches?e.touches[0]:e))},a=function(e){n.dragEl&&(e.preventDefault(),n.dragStop(e.touches?e.touches[0]:e))};o&&(n.el[0].addEventListener("touchstart",i,!1),t.addEventListener("touchmove",r,!1),t.addEventListener("touchend",a,!1),t.addEventListener("touchcancel",a,!1)),n.el.on("mousedown",i),n.w.on("mousemove",r),n.w.on("mouseup",a)},serialize:function(){var t=this;return step=function(n,i){var o=[];return n.children(t.options.itemNodeName).each((function(){var n=e(this),r=e.extend({},n.data()),a=n.children(t.options.listNodeName);a.length&&(r.children=step(a,i+1)),o.push(r)})),o},step(t.el.find(t.options.listNodeName).first(),0)},serialise:function(){return this.serialize()},reset:function(){this.mouse={offsetX:0,offsetY:0,startX:0,startY:0,lastX:0,lastY:0,nowX:0,nowY:0,distX:0,distY:0,dirAx:0,dirX:0,dirY:0,lastDirX:0,lastDirY:0,distAxX:0,distAxY:0},this.isTouch=!1,this.moving=!1,this.dragEl=null,this.dragRootEl=null,this.dragDepth=0,this.hasNew
2Root=!1,this.pointEl=null},expandItem:function(e){e.removeClass(this.options.collapsedClass),e.children('[data-action="expand"]').hide(),e.children('[data-action="collapse"]').show(),e.children(this.options.listNodeName).show()},collapseItem:function(e){e.children(this.options.listNodeName).length&&(e.addClass(this.options.collapsedClass),e.children('[data-action="collapse"]').hide(),e.children('[data-action="expand"]').show(),e.children(this.options.listNodeName).hide())},expandAll:function(){var t=this;t.el.find(t.options.itemNodeName).each((function(){t.expandItem(e(this))}))},collapseAll:function(){var t=this;t.el.find(t.options.itemNodeName).each((function(){t.collapseItem(e(this))}))},setParent:function(t){t.children(this.options.listNodeName).length&&(t.prepend(e(this.options.expandBtnHTML)),t.prepend(e(this.options.collapseBtnHTML))),t.children('[data-action="expand"]').hide()},unsetParent:function(e){e.removeClass(this.options.collapsedClass),e.children("[data-action]").remove(),e.children(this.options.listNodeName).remove()},dragStart:function(t){var i=this.mouse,o=e(t.target),r=o.closest(this.options.itemNodeName);this.placeEl.css("height",r.height()),i.offsetX=void 0!==t.offsetX?t.offsetX:t.pageX-o.offset().left,i.offsetY=void 0!==t.offsetY?t.offsetY:t.pageY-o.offset().top,i.startX=i.lastX=t.pageX,i.startY=i.lastY=t.pageY,this.dragRootEl=this.el,this.dragEl=e(n.createElement(this.options.listNodeName)).addClass(this.options.listClass+" "+this.options.dragClass),this.dragEl.css("width",r.width()),r.after(this.placeEl),r[0].parentNode.removeChild(r[0]),r.appendTo(this.dragEl),e(n.body).append(this.dragEl),this.dragEl.css({left:t.pageX-i.offsetX,top:t.pageY-i.offsetY});var a,s,l=this.dragEl.find(this.options.itemNodeName);for(a=0;a<l.length;a++)(s=e(l[a]).parents(this.options.listNodeName).length)>this.dragDepth&&(this.dragDepth=s)},dragStop:function(e){var t=this.dragEl.children(this.options.itemNodeName).first();t[0].parentNode.removeChild(t[0]),this.placeEl.replaceWith(t),this.dragEl.remove(),this.el.trigger("change"),this.hasNewRoot&&this.dragRootEl.trigger("change"),this.reset()},dragMove:function(i){var o,a,s,l=this.options,c=this.mouse;this.dragEl.css({left:i.pageX-c.offsetX,top:i.pageY-c.offsetY}),c.lastX=c.nowX,c.lastY=c.nowY,c.nowX=i.pageX,c.nowY=i.pageY,c.distX=c.nowX-c.lastX,c.distY=c.nowY-c.lastY,c.lastDirX=c.dirX,c.lastDirY=c.dirY,c.dirX=0===c.distX?0:c.distX>0?1:-1,c.dirY=0===c.distY?0:c.distY>0?1:-1;var d=Math.abs(c.distX)>Math.abs(c.distY)?1:0;if(!c.moving)return c.dirAx=d,void(c.moving=!0);c.dirAx!==d?(c.distAxX=0,c.distAxY=0):(c.distAxX+=Math.abs(c.distX),0!==c.dirX&&c.dirX!==c.lastDirX&&(c.distAxX=0),c.distAxY+=Math.abs(c.distY),0!==c.dirY&&c.dirY!==c.lastDirY&&(c.distAxY=0)),c.dirAx=d,c.dirAx&&c.distAxX>=l.threshold&&(c.distAxX=0,s=this.placeEl.prev(l.itemNodeName),c.distX>0&&s.length&&!s.hasClass(l.collapsedClass)&&(o=s.find(l.listNodeName).last(),this.placeEl.parents(l.listNodeName).length+this.dragDepth<=l.maxDepth&&(o.length?(o=s.children(l.listNodeName).last()).append(this.placeEl):((o=e("<"+l.listNodeName+"/>").addClass(l.listClass)).append(this.placeEl),s.append(o),this.setParent(s)))),c.distX<0&&(this.placeEl.next(l.itemNodeName).length||(a=this.placeEl.parent(),this.placeEl.closest(l.itemNodeName).after(this.placeEl),a.children().length||this.unsetParent(a.parent()))));var u=!1;if(r||(this.dragEl[0].style.visibility="hidden"),this.pointEl=e(n.elementFromPoint(i.pageX-n.body.scrollLeft,i.pageY-(t.pageYOffset||n.documentElement.scrollTop))),r||(this.dragEl[0].style.visibility="visible"),this.pointEl.hasClass(l.handleClass)&&(this.pointEl=this.pointEl.parent(l.itemNodeName)),this.pointEl.hasClass(l.emptyClass))u=!0;else if(!this.pointEl.length||!this.pointEl.hasClass(l.itemClass))return;var h=this.pointEl.closest("."+l.rootClass),p=this.dragRootEl.data("nestable-id")!==h.data("nestable-id");if(!c.dirAx||p||u){if(p&&l.group!==h.data("nestable-group"))return;if(this.dragDepth-1+this.pointEl.parents(l.listNodeName).length>l.maxDepth)return;var f=i.pageY<this.pointEl.offset().top+this.pointEl.height()/2;a=this.placeEl.parent(),u?((o=e(n.createElement(l.listNodeName)).addClass(l.listClass)).append(this.placeEl),this.pointEl.replaceWith(o)):f?this.pointEl.before(this.placeEl):this.pointEl.after(this.placeEl),a.children().length||this.unsetParent(a.parent()),this.dragRootEl.find(l.itemNodeName).length||this.dragRootEl.append('<div class="'+l.emptyClass+'"/>
2'),p&&(this.dragRootEl=h,this.hasNewRoot=this.el[0]!==this.dragRootEl[0])}}},e.fn.nestable=function(t){var n=this;return this.each((function(){var i=e(this).data("nestable");i?"string"==typeof t&&"function"==typeof i[t]&&(n=i[t]()):(e(this).data("nestable",new s(this,t)),e(this).data("nestable-id",(new Date).getTime()))})),n||this}}(window.jQuery||window.Zepto,window,document),function(e){"use strict";e.SOW.vendor.jarallax={init:function(t,n){var i=e.SOW.helper.__selector(t),o=e.SOW.helper.check_var(n);if(this.selector=i[0],this.collection=i[1],this.selector_orig=i[2],this.config=null!==o?e.extend({},this.config,o):this.config,""!=t&&jQuery(this.selector).length<1)return null;if("function"!=typeof jarallax){var r=e.SOW.helper.vendorLogicPaths("jarallax");return""==r.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Jaralax"),null):(e.SOW.helper.loadScript([r.path_js],!1,!0).done((function(){return"function"!=typeof jarallax?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Jaralax"),null):(e.SOW.vendor.jarallax.init(t,n),null)})),null)}return e.SOW.vendor.jarallax.destroy(this.selector),jarallax(document.querySelectorAll(this.selector)),e.SOW.helper.consoleLog("Init : Vendor Jaralax"),e(this.selector)},destroy:function(e){jarallax(document.querySelectorAll(e),"destroy")}}}(jQuery),function(e){"use strict";e.SOW.vendor.sticky_kit={config:{},collection:e(),init:function(t,n){var i=e.SOW.helper.__selector(t),o=e.SOW.helper.check_var(n);if(this.selector=i[0],this.collection=i[1],this.selector_orig=i[2],this.config=null!==o?e.extend({},this.config,o):this.config,""!=t&&jQuery(this.selector).length<1)return null;if(!jQuery().stick_in_parent){var r=e.SOW.helper.vendorLogicPaths("sticky_kit");return""==r.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Sticky Kit"),null):(e.SOW.helper.loadScript([r.path_js],!1,!0).done((function(){return jQuery().stick_in_parent?(e.SOW.vendor.sticky_kit.init(t,n),null):(e.SOW.helper.consoleLog("Vendor Missing : Vendor Sticky Kit"),null)})),null)}return e.SOW.helper.consoleLog("Init : Vendor Sticky Kit"),jQuery(window).resize((function(){setTimeout((function(){!0===e.SOW.globals.is_mobile?jQuery(this.selector).each((function(){e(this).removeClass("js-stickified").trigger("sticky_kit:detach")})):e.SOW.vendor.sticky_kit.process(this.selector)}),450)})),e.SOW.vendor.sticky_kit.process(this.selector),e(this.selector)},process:function(t){!0!==e.SOW.globals.is_mobile&&jQuery(t).not(".js-stickified").addClass("js-stickified").each((function(){var t=jQuery(this),n=t.data("sticky-kit-offset")||0;n<1&&(n=15,(e.SOW.globals.elBody.hasClass("header-sticky")||e.SOW.globals.elBody.hasClass("header-scroll-reveal")||e.SOW.globals.elBody.hasClass("header-over"))&&(n=(e.SOW.globals.elHeader.outerHeight()||0)+n)),t.stick_in_parent({offset_top:Number(n)})}))}}}(jQuery),function(e){"use strict";e.SOW.vendor.sortable={config:{dataIdAttr:"data-id",handle:".sortable-handle",animation:150,ghostClass:"bg-primary-soft",chosenClass:"bg-white-alt",swapClass:"bg-warning-soft",filter:".js-ignore",headers:"",crossDomain:""},collection:e(),init:function(t,n){if(""!=t&&jQuery(t).length<1)return null;if("function"!=typeof Sortable){var i=e.SOW.helper.vendorLogicPaths("sortable");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Sortable"),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return"function"!=typeof Sortable?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Sortable"),null):(e.SOW.vendor.sortable.init(t,n),null)})),null)}var o=e.SOW.helper.__selector(t),r=e.SOW.helper.check_var(n);return this.selector=o[0],this.collection=o[1],this.config=null!==r?e.extend({},this.config,r):this.config,e.SOW.helper.consoleLog("Init : Vendor Sortable"),this.selector?this.collection.each((function(){e.SOW.vendor.sortable.process(e(this))})):(e.SOW.vendor.sortable.process(e(".sortable")),e(".sortable"))},process:function(t){if(!t.hasClass("js-sortablified")){var n=t.attr("id")||"",i=t.data("shared-group")||"",o=t.data("pull-mode")||"",r=t.data("put-denied")||"false",a=t.data("sortable-type")||"",s=t.data("sort
2-disable")||"false",l=t.data("sort-swap")||"false",c=t.data("swap-treshold")||"",d=jQuery(e.SOW.vendor.sortable.config.handle,t).length||0;if(t.addClass("js-sortablified"),""==n){n="strand_"+e.SOW.helper.randomStr(3);t.attr("id",n)}var u={dataIdAttr:e.SOW.vendor.sortable.config.dataIdAttr||"data-id",handle:d>0?e.SOW.vendor.sortable.config.handle:null,animation:e.SOW.vendor.sortable.config.animation,ghostClass:e.SOW.vendor.sortable.config.ghostClass,chosenClass:e.SOW.vendor.sortable.config.chosenClass,swapClass:e.SOW.vendor.sortable.config.swapClass,filter:e.SOW.vendor.sortable.config.filter,onUpdate:function(n){var i=p.toArray();e.SOW.vendor.sortable.sortable__update_order(t,i)}};""!=i&&(""==o?u.group=i:""!=o&&(u.group={name:i,pull:o,put:r+""!="true"})),s+""=="true"&&(u.sort=!1),""!=c&&(u.swapThreshold=swapThreshold),"nested"==a.toLowerCase()&&(u.group="nested",u.fallbackOnBody=!0,u.swapThreshold=.65),l+""=="true"&&(u.swap=!0);var h=document.getElementById(n),p=new Sortable(h,u)}},sortable__update_order:function(t,n){var i=t.data("ajax-update-params")||"",o=t.data("ajax-update-url")||"",r=t.data("ajax-update-identifier")||"",a=t.data("update-toast-success")||"Order Saved!",s=t.data("update-toast-position")||"bottom-center";if(""!=o){var l=new FormData;if(l.append("action","reorder"),l.append("ajax","true"),l.append("identifier",r),""!=i)for(var c=e.SOW.helper.params_parse(i),d=0;d<c.length;++d)l.append(c[d][0],c[d][1]);for(d=0;d<n.length;++d)l.append("items[]",n[d]);e.ajax({url:o,cache:!1,contentType:!1,processData:!1,data:l,type:"POST",headers:e.SOW.vendor.sortable.headers,crossDomain:e.SOW.vendor.sortable.crossDomain,beforeSend:function(){},success:function(t){e.SOW.helper.consoleLog(t),"object"==typeof e.SOW.core.toast&&""!=a&&e.SOW.core.toast.show("success","",a,s,1800,!0)},error:function(t){e.SOW.helper.consoleLog(t),"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","","404 Server Error!",s,4e3,!0):alert("404 Server Error!")}})}}}}(jQuery),function(e){"use strict";var t="Vendor Bootstrap Select";e.SOW.vendor.bootstrap_select={config:{},collection:e(),init:function(n,i){if(""!=n&&jQuery(n).length<1)return null;if(!jQuery().selectpicker){var o=e.SOW.helper.vendorLogicPaths("bootstrap_select");return""==o.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([o.path_js],!1,!0).done((function(){return jQuery().selectpicker?(e.SOW.vendor.bootstrap_select.init(n,i),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(i);return this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.bootstrap_select.process(e(this))})):(e.SOW.vendor.bootstrap_select.process(e("select.bselect")),e("select.bselect"))},process:function(e){if(!e.hasClass("js-bselectified")){if(!e.data("style")){var t="select-form-control border-gray-400";e.hasClass("form-control-clean")&&(t+=" form-control-clean"),e.hasClass("form-control-pill")&&(t+=" form-control-pill"),e.attr("data-style",t)}e.selectpicker(),e.addClass("js-bselectified")}},refresh:function(e){if(jQuery().selectpicker){if(void 0===e)e=this.selector;var t="object"!=typeof e?jQuery(e):e;t.hasClass("js-bselectified")&&t.selectpicker("refresh")}}}}(jQuery),function(e){"use strict";e.SOW.vendor.typed={config:{},collection:e(),init:function(t,n){if(""!=t&&jQuery(t).length<1)return null;if("function"!=typeof Typed){var i=e.SOW.helper.vendorLogicPaths("typed");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Typed.js"),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return"function"!=typeof Typed?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Typed.js"),null):(e.SOW.vendor.typed.init(t,n),null)})),null)}var o=e.SOW.helper.__selector(t),r=e.SOW.helper.check_var(n);return this.selector=o[0],this.collection=o[1],this.selector_orig=o[2],this.config=null!==r?e.extend({},this.config,r):this.config,e.SOW.helper.consoleLog("Init : Vendor Typed.js"),this.selector?this.collection.each((function(){e.SOW.vend
2or.typed.process(e(this))})):(e.SOW.vendor.typed.process(e(".typed")),e(".typed"))},process:function(t){if(!t.hasClass("js-typified")){var n=t.data("typed-string")||"",i=t.data("typed-source")||"",o=t.data("typed-speed-forward")||"",r=t.data("typed-speed-back")||"",a=t.data("typed-back-delay")||"",s=t.data("typed-loop-times")||"infinite",l=t.data("typed-smart-backspace")||"true",c=t.data("typed-shuffle")||"false",d=t.data("typed-cursor")||"|",u=t.attr("id")||"";if(t.addClass("js-typified"),""==o&&(o=80),""==r&&(r=o/2),""!=n||""!=i){if(""==u){u="rand_"+e.SOW.helper.randomStr(3);t.attr("id",u)}var h={typeSpeed:o||80,backSpeed:r,backDelay:a||700,smartBackspace:l+""=="true",shuffle:c+""=="true",loop:"0"!=s,loopCount:"infinite"==s?9999:s,showCursor:""!=d,cursorChar:d};""!=i?h.stringsElement=i:h.strings=n.split("|");var p=t[0].nodeName.toLowerCase();"input"!==p&&"textarea"!==p&&"select"!==p||(h.attr="placeholder",h.bindInputFocusEvents=!0,h.showCursor=!1);new Typed("#"+u,h)}}}}}(jQuery),function(e){"use strict";var t="Vendor Flickity [Ajax Reinit]";e.SOW.vendor.flickity={init:function(n,i){if(""!=n&&jQuery(n).length<1)return null;if("function"!=typeof Flickity){var o=e.SOW.helper.vendorLogicPaths("flickity");return""==o.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([o.path_js],!1,!0).done((function(){return"function"!=typeof Flickity?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.flickity.init(n,i),null)})),null)}jQuery(n).not(".js-flickity").addClass("js-flickity");for(var r=document.querySelectorAll(".js-flickity"),a=0,s=r.length;a<s;a++){if(!Flickity.data(r[a])){var l=r[a].getAttribute("data-flickity");if(l)(c=JSON.parse(l)).rightToLeft="rtl"==e.SOW.globals.direction,new Flickity(r[a],c);else var c={rightToLeft:"rtl"==e.SOW.globals.direction};new Flickity(r[a],c)}}return e.SOW.helper.consoleLog("Init : "+t),null}}}(jQuery),function(e){"use strict";e.SOW.vendor.fancybox={config:{loop:!0,infobar:!0,protect:!1,transitionEffect:"zoom-in-out",transitionDuration:250},init:function(t,n){if(t||(this.selector="a.fancybox"),""!=t&&jQuery(t).length<1)return null;if(!jQuery().fancybox){var i=e.SOW.helper.vendorLogicPaths("fancybox");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Fancybox"),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return jQuery().fancybox?(e.SOW.vendor.fancybox.init(t,n),null):(e.SOW.helper.consoleLog("Vendor Missing : Vendor Fancybox"),null)})),null)}var o=e.SOW.helper.__selector(t),r=e.SOW.helper.check_var(n);return this.selector=o[0],this.collection=o[1],this.config=null!==r?e.extend({},this.config,r):this.config,e(this.selector).not(".js-fancyvified").addClass("js-fancyvified").fancybox({beforeShow:function(e,t){var n=t.opts.$orig,i="bg-secondary text-white";if(n.hasClass("fancybox-secondary"))i="bg-secondary text-white";else if(n.hasClass("fancybox-dark"))i="bg-dark text-white";else if(n.hasClass("fancybox-white"))i="bg-white text-dark";else if(n.hasClass("fancybox-dark"))i="bg-dark text-white";else if(n.hasClass("fancybox-primary"))i="bg-primary text-white";else if(n.hasClass("fancybox-success"))i="bg-success text-white";else if(n.hasClass("fancybox-danger"))i="bg-danger text-white";else if(n.hasClass("fancybox-warning"))i="bg-warning text-white";else if(n.hasClass("fancybox-info"))i="bg-info text-white";else if(n.hasClass("fancybox-pink"))i="bg-pink text-white";else if(n.hasClass("fancybox-purple"))i="bg-purple text-white";else if(n.hasClass("fancybox-indigo"))i="bg-indigo text-white";jQuery("button.fancybox-button").removeClass("bg-white bg-dark bg-primary bg-secondary bg-success bg-danger bg-warning bg-info bg-pink bg-purple bg-indigo text-dark text-white"),jQuery("button.fancybox-button:not(.fancybox-button--close)").addClass(i)},afterLoad:function(e,t){var n=window.devicePixelRatio||1;n>1.5&&(t.width=t.width/n,t.height=t.height/n)},loop:e.SOW.vendor.fancybox.config.loop,infobar:e.SOW.vendor.fancybox.config.infobar,buttons:["close"],protect:e.SOW.vendor.fancybox.config.protect,image:{preload:!1},hash:!1,animationEffect:"zoom",animationDuration:366,transitionEffect:e.SOW.vend
2or.fancybox.config.transitionEffect,transitionDuration:e.SOW.vendor.fancybox.config.transitionDuration,spinnerTpl:'<div class="position-fixed fixed-bottom w-100 mb-3 z-index-9999 text-center shadow-none"><span class="bg-white d-inline-block px-4 rounded-lg shadow-lg"><i class="'+e.SOW.config.sow__icon_loading+' fs--30 text-muted"></i></span></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download rounded-circle p-0 h--40 w--40 m-3 fi fi-arrow-download bg-white text-dark shadow-xlg" title="{{DOWNLOAD}}" href="javascript:;"></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom rounded-circle p-0 h--40 w--40 m-3 fi fi-search bg-white text-dark shadow-xlg" title="{{ZOOM}}"></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close rounded-circle p-0 h--40 w--40 m-3 '+e.SOW.config.sow__icon_close+' bg-transparent fs--35" title="{{CLOSE}}"></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left rounded-circle p-0 h--60 w--60 m-3 fs--20 fi fi-arrow-left bg-white text-dark shadow-xlg" title="{{PREV}}"></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right rounded-circle p-0 h--60 w--60 m-3 fs--20 fi fi-arrow-right bg-white text-dark shadow-xlg" title="{{NEXT}}"></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small roun
2ded-circle p-0 h--40 w--40 mt--22 mr--n8 ml--n8 '+e.SOW.config.sow__icon_close+' bg-white text-dark shadow-xlg" title="{{CLOSE}}"></button>'},smallBtn:!1}),e.SOW.helper.consoleLog("Init : Vendor Fancybox"),null}}}(jQuery),function(e){"use strict";e.SOW.vendor.photoswipe={config:{defaults:{galleryOpen:function(e){},showHideOpacity:!1,history:!1,captionEl:!1,shareEl:!1,tapToClose:!1,tapToToggleControls:!1,escKey:!0,barsSize:{top:0,bottom:0}}},init:function(t,n){var i=e.SOW.helper.__selector(t),o=e.SOW.helper.check_var(n);if(this.selector=i[0],this.collection=i[1],this.config=null!==o?e.extend({},this.config,o):this.config,""!=t&&jQuery(this.selector).length<1)return null;if("function"!=typeof PhotoSwipe){var r=e.SOW.helper.vendorLogicPaths("photoswipe");return""==r.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Photoswipe"),null):(e.SOW.helper.loadScript([r.path_js],!1,!0).done((function(){return"function"!=typeof PhotoSwipe?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Photoswipe"),null):(e.SOW.vendor.photoswipe.init(t,n),null)})),null)}return e.SOW.vendor.photoswipe.photoswipe_tpl(),e.SOW.helper.consoleLog("Init : Vendor Photoswipe"),e.SOW.vendor.photoswipe.process(this.selector)},process:function(t){var n=jQuery(".pswp[role='dialog']")[0],i={},o="abcdefghijklmnopqrstuvwxyz".split(""),r=[],a=[];e(t).not(".js-photoswapified").addClass("js-photoswapified").each((function(){var t=e(this),n=t.attr("href"),r=t.attr("title"),s=t.data("photoswipe"),l=s?s.replace(/[a-z]/gi,(function(e){return o.indexOf(e.toLowerCase())+1})):e.SOW.helper.randomStr(3,"N");n&&(t.attr("data-group-id",l),s&&(void 0===a[l]&&(a[l]=0),t.attr("data-index",a[l]++)),void 0===i[l]&&(i[l]=[]),i[l].push({src:n,title:r,w:0,h:0}))})),e(t).off().on("click",(function(t){t.preventDefault();var o=e(this),a=o.attr("href")||"",s=o.data("group-id")||0,l=o.data("index")||0,c=o.attr("data-history")||"false",d=o.attr("data-shareEl")||"false",u=o.attr("data-captionEl")||"false",h=o.attr("data-tapToClose")||"false",p=o.attr("data-tapToToggleControls")||"false",f=o.attr("data-showHideOpacity")||"true",m=o.attr("data-mainClass")||"",g=!1;if(a.match(/(youtube.com)/)?g=!0:a.match(/(youtu.be)/)?g=!0:a.match(/(vimeo.com)/)?g=!0:a.match(/(.mp4)/)?g=!0:a.match(/(.ogv)/)&&(g=!0),!0===g)return"object"==typeof e.SOW.core.ajax_modal&&(o.off().removeClass("photoswipe js-photoswapified").addClass("js-onload").attr("data-ajax-modal-delay","0").attr("data-ajax-modal-type","video").attr("data-ajax-modal-size","modal-xl").attr("data-ajax-modal-centered","true"),e.SOW.core.ajax_modal.attach(o)),!1;var v=e.SOW.vendor.photoswipe.config.defaults;function y(e,t){if(0==t.w&&0==t.h){var n=new Image;n.onload=function(){t.w=this.width,t.h=this.height,t.needsUpdate=!0,r[s].updateSize(!0)},n.src=t.src}}v.mainClass=m,v.index=l,""!=f&&(v.showHideOpacity=f+""=="true"),""!=c&&(v.history=c+""=="true"),""!=u&&(v.captionEl=u+""=="true"),""!=d&&(v.shareEl=d+""=="true"),""!=h&&(v.tapToClose=h+""=="true"),""!=p&&(v.tapToToggleControls=p+""=="true"),"object"==typeof barsSize&&(v.barsSize=barsSize),r[s]=new PhotoSwipe(n,PhotoSwipeUI_Default,i[s],v),r[s].init(),r[s].listen("initialZoomInEnd",(function(){v.galleryOpen(r[s])})),r[s].listen("imageLoadComplete",(function(e,t){y(e,t)})),r[s].listen("gettingData",(function(e,t){y(e,t)})),r[s].listen("resize",(function(e,t){})),e.SOW.vendor.photoswipe.photoswipe_style(o)}))},photoswipe_style:function(e){var t="bg-secondary text-white";if(e.hasClass("photoswipe-secondary"))t="bg-secondary text-white";else if(e.hasClass("photoswipe-dark"))t="bg-dark text-white";else if(e.hasClass("photoswipe-white"))t="bg-white text-dark";else if(e.hasClass("photoswipe-dark"))t="bg-dark text-white";else if(e.hasClass("photoswipe-primary"))t="bg-primary text-white";else if(e.hasClass("photoswipe-success"))t="bg-success text-white";else if(e.hasClass("photoswipe-danger"))t="bg-danger text-white";else if(e.hasClass("photoswipe-warning"))t="bg-warning text-white";else if(e.hasClass("photoswipe-info"))t="bg-info text-white";else if(e.hasClass("photoswipe-pink"))t="bg-pink text-white";else if(e.hasClass("photoswipe-purple"))t="bg-purple text-white";else if(e.hasClass("photoswipe-indigo"))t="bg-indigo text-white";jQuery(".pswp__button--custom").removeClass("bg-white bg-dark bg-primary bg-secondary bg-success bg-danger bg-warning bg-info bg-pink bg-purple bg-indigo text-dark text-white"),jQuery(".pswp__button--custom").addClass(t)},photoswipe_tpl:function(){var t='\x3c!-- Root element of PhotoSwipe. Must have class pswp. --\x3e<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true"><div class="pswp__bg"></div><div class="pswp__scroll-wrap"><div class="pswp__container"> <div class="pswp__item"></div><div class="pswp__item"></div><div class="pswp__item"></div></div> <div class="pswp__ui pswp__ui--hidden"><div class="pswp__top-bar"><div class="pswp__counter">\x3c!-- image container --\x3e</div><button class="pswp__button pswp__button--close fi fi-close fs--35 w--50 h--50 rounded m-3" aria-label="Close (Esc)"></button> <button class="pswp__button pswp__button--share fi fi-share fs--20 w--50 h--50 rounded mt-3" aria-label="Share"></button> <div class="pswp__preloader pswp__preloader--active"><div class="pswp__preloader__icn"><div class="pswp__preloader__cut"><div class="pswp__preloader__donut"><div class="position-fixed fixed-bottom w-100 mb-3 z-index-9999 text-center shadow-none">
2<span class="bg-white d-inline-block px-4 rounded-lg shadow-lg"><i class="'+e.SOW.config.sow__icon_loading+' fs--30 text-muted"></i></span></div></div></div></div></div></div><div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"><div class="pswp__share-tooltip"></div> </div><button class="pswp__button--custom pswp__button pswp__button--arrow--left rounded-circle p-0 h--60 w--60 m-3 fs--20 fi fi-arrow-left shadow-xlg" aria-label="Previous (arrow left)"></button><button class="pswp__button--custom pswp__button pswp__button--arrow--right rounded-circle p-0 h--60 w--60 m-3 fs--20 fi fi-arrow-right shadow-xlg" aria-label="Next (arrow right)"></button><div class="pswp__caption"><div class="pswp__caption__center"></div></div></div> </div></div>';e.SOW.globals.elBody.append(t)}}}(jQuery),function(e){"use strict";var t=[];e.SOW.vendor.swiper={config:{init:!0,direction:"horizontal",spaceBetween:15,slidesPerView:1,slidesPerGroup:1,slidesPerColumn:1,centeredSlides:!1,effect:"slide",grabCursor:!1,freeMode:!1,loop:!1,autoHeight:!1,mousewheel:!1,speed:600,parallax:!0,lazy:!1,zoom:!1,keyboard:{enabled:!0},autoplay:{delay:4500,disableOnInteraction:!1},coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},cubeEffect:{shadow:!0,slideShadows:!0,shadowOffset:20,shadowScale:.94},pagination:{el:".swiper-pagination",type:"bullets",dynamicBullets:!0,clickable:!0},scrollbar:{el:".swiper-scrollbar",hide:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}},collection:e(),init:function(t,n){if(""!=t&&jQuery(t).length<1)return null;if("function"!=typeof Swiper){var i=e.SOW.helper.vendorLogicPaths("swiper");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Swiper"),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return"function"!=typeof Swiper?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Swiper"),null):(e.SOW.vendor.swiper.init(t,n),null)})),null)}var o=e.SOW.helper.__selector(t),r=e.SOW.helper.check_var(n);return this.selector=o[0],this.collection=o[1],this.config=null!==r?e.extend({},this.config,r):this.config,"rtl"==e.SOW.globals.direction&&jQuery(this.selector).attr("dir","rtl"),e.SOW.helper.consoleLog("Init : Vendor Swiper"),this.selector?this.collection.each((function(){e.SOW.vendor.swiper.process(e(this))})):(e.SOW.vendor.swiper.process(e(".swiper-container")),e(".swiper-container"))},process:function(n){if(!n.hasClass("js-swiperified")){var i=n.attr("id")||"",o=n.data("swiper")||"",r=n.data("swiper-link")||"",a=e.SOW.vendor.swiper.config;"object"==typeof o&&("object"==typeof o.pagination&&(o.pagination=e.extend({},a.pagination,o.pagination)),"bullets"!=a.pagination&&(a.pagination.dynamicBullets=!1),e.extend(a,o)),""==i&&(i="rand_"+e.SOW.helper.randomStr(3),n.attr("id",i)),jQuery(".swiper-button-next","#"+i).addClass("swiper-button-next-"+i),jQuery(".swiper-button-prev","#"+i).addClass("swiper-button-prev-"+i),jQuery(".swiper-pagination","#"+i).addClass("swiper-pagination-"+i),a.navigation.nextEl=".swiper-button-next-"+i,a.navigation.prevEl=".swiper-button-prev-"+i,a.pagination.el=".swiper-pagination-"+i,a.slidesPerView>
2"1"&&(a.effect="slide"),!jQuery("#"+i).hasClass(".js-ignore")&&jQuery(".swiper-slide","#"+i).length<2&&(a.pagination={},a.navigation={},a.loop=!1,jQuery(".swiper-button-next","#"+i).remove(),jQuery(".swiper-button-prev","#"+i).remove(),jQuery(".swiper-pagination","#"+i).remove()),""!=r&&("object"!=typeof a.thumbs&&(a.thumbs={}),a.thumbs.swiper=t[r]),t[i]=new Swiper("#"+i,a),n.addClass("js-swiperified"),""!=r&&setTimeout((function(){t[r].update(),t[i].update()}),700)}}}}(jQuery),function(e){"use strict";var t="Vendor Leaflet [Map]";e.SOW.vendor.leaflet={init:function(n,i){if(""!=n&&jQuery(n).length<1)return null;if("undefined"==typeof L){var o=e.SOW.helper.vendorLogicPaths("leaflet");return""==o.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([o.path_js],!1,!0).done((function(){return"undefined"==typeof L?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.leaflet.init(n,i),null)})),null)}var r=e.SOW.helper.__selector(n);return this.selector=r[0]||".map-leaflet",jQuery(this.selector).each((function(){e.SOW.vendor.leaflet.map_openstreet(e(this))})),e.SOW.helper.consoleLog("Init : "+t),e(this.selector)},map_openstreet:function(t){if(!t.hasClass("js-leafletified")){var n=t.attr("id")||"",i=t.data("map-json")||"",o=t.data("map-tile")||"",r=t.data("map-tile-custom")||"",a=t.data("map-zoom")||9,s=[];if(t.addClass("js-leafletified"),"object"==typeof i){if(""==n){n="map_"+e.SOW.helper.randomStr(3);t.attr("id",n)}var l=L.icon({iconUrl:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAMAAAD3TXL8AAAB5lBMVEVHcEwtbZk5hLcubZgubZkyeak4fq8zbaEwcqEtcqQubZsvbpoyaZYua5cubJcubJcubJgtbZk+h7ovbp01eqwtbJovbpo3gbc0d6gydKZHjsEubJk2gLIwb58tbJk2frQua5dIkcREjL43g7RGkMIvb5wubJctbJktbJkzd6o0eKc/hrU4grgzd6gxdKMzdqcxdKQ1dqY2frA2frA4gbQ4gbU2frA3gbQ3grc2fbA2fbA1e6s9grQ1fKw+hbw5g7g5g7c2g7YwdJ88grX///8uhctHmNEhesk/ks8rgssshMtElc8ogMoxh8wpgcpFl9A2jM0whswlfsoeeMkmf8o2ic4jfMpClM9Bk88ziM05jc5Dk9E0isxJltJZotU6js5AkNBEjMBKmNIzhM1Un9U8kc47f687i89XoNROm9Madcj8/f5JmdE2gb5SntM/isVQmcxLlc8rgMwwerdLlMpDjMQ5eKU3dqNCib0+jtAwcZ5cpNROlspQndNHldJfptdHkctHi7tChbNFlNGPtc5ek7igwNZDh7i2zt7e6fE8h8Q6hcJWntEvg8wyfbtTnM8xhM44i81Lm9E4grZKkcVJgqo1e6zB1eJunb2FrcnR3+qrxdeBrMqXudFQirRYoNAwgMg+hbuAcFJ8AAAARHRSTlMA7/hT+BP2AfYIzEsNh2Zyeen09/YY/i729v/0+PbkHlv6+Cf5g0Ld1jxx9oyvwOfx9EfwzNJRgni0vlv6Zf7o5EKA+QUIjyQAAAJISURBVBgZdcCFQuIAGADgnxxht2d313XnHHjKOeWmbpONGp1hBnZnXFe86W1MDjA+SFGUvipVwBUNnS/PpQXS8xed
2pZAOeShtDDHLy8sLx3XSBwgkITV3Cw4Y+9KZ72zJzvwuuNcAF25XNi4EsKTAQl3lfUhQ3AkxvuEUHxNS1oDgUb1rUIQNilz1j4H3ROnCxnk+O+Ni7L5xHuZSPgNQFy26J3jug1XHJ8fq8dIEz71YpIY2pV3Ps4YcP3a9uxuORaueZ1e2QXuHm+O4icDaFirYcQTGOY5zd7RDlwXjOG74wy8vmrB5C+M4DrN0QU+MZlnWNPsVFf3ctrIsS8d6oDempyjKtL2BirbWrBRF6WO90G2hcRynLZuo6MvsOo7jtKUbmp7GcRxnw9OfUcG3mTCH43j8zWvQ9lknebRl5rsX9e5Mz65P8qx9WiguCZ+SJEnEp6bnP87PTJkIkiRPwyXFAJq/ZoNgzrQytWIyGwTm5xoAkKnihpEEwkkYRgSGuEoGAGpJkOrPRAXzEeBlF9FvM/TTZbkgKJYHiYF0RFCugITsMvO7NAPm8mwQKeR75FAKsVeRBReayueG3icNzanyICmrYt82mkTuS7LgvzyVc3RMNOpU5UKKWuI/0Ylsfoka0uSqnGM6wZhTlQPp1Pn+Q6Pg0J+vhgw5VYTOaDTqiKocyIRUH0U8Hk/kqBqBS2oLbUaP0VZYC5chLdGIJxJtQeAKWaFNZ5PL4CqkNXoSbYXraOV/5Fq4lmZeA9drLmmGG+RBmn9TM85gFMKHmQAAAABJRU5ErkJggg==",shadowUrl:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",iconSize:[25,41],shadowSize:[41,41],iconAnchor:[10,40],shadowAnchor:[10,39],popupAnchor:[3,-26]});switch(o){case"gray":var c="https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}";break;case"carto":c="https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png";break;case"voyager":c="https://{s}.basemaps.cartocdn.com/rastertiles/voyager/{z}/{x}/{y}{r}.png";break;case"hot":c="https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png";break;default:c="https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}if(""!=r)c=r;var d=new L.TileLayer(c,{minZoom:3,maxZoom:18,attribution:'&copy; <a href="https://openstreetmap.org">OpenStreetMap</a> contributors'}),u=[],h=e.SOW.helper.randomStr(3,"L");s[n]=new L.Map(n),s[n].addLayer(d),s[n].attributionControl.setPrefix('<a href="https://leafletjs.com/">Leaflet</a>');for(var p=0;p<i.length;++p){var f=Number(i[p].map_lat)||0,m=Number(i[p].map_long)||0,g=(g=i[p].map_popup||"").replace(/`/g,'"');u[h]=L.marker([f,m],{icon:l}).addTo(s[n]),0==p&&s[n].setView(new L.LatLng(f,m),Number(a)),""!=g&&u[h].bindPopup(L.popup({maxWidth:300,autoClose:!1,autoPan:!1}).setContent("<div class='fs--14'>"+g+"</div>")).openPopup()}}else"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","","Map Error: Invalid Json!","top-center",0,!0):alert("[404] Unexpected internal error!")}}}}(jQuery),function(e){"use strict";e.SOW.vendor.aos={config:{duration:700,easing:"ease-in-out-sine",once:!0},init:function(t,n){if("undefined"==typeof AOS){var i=e.SOW.helper.vendorLogicPaths("aos");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor AOS"),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return"undefined"==typeof AOS?(e.SOW.helper.consoleLog("Vendor Missing : Vendor AOS"),null):(e.SOW.vendor.aos.init(t,n),null)})),null)}var o=e.SOW.helper.check_var(n);this.config=null!==o?e.extend({},this.config,o):this.config,AOS.init(e.SOW.vendor.aos.config),window.MutationObserver||AOS.refreshHard()}}}(jQuery),function(e){"use strict";var t="Vendor Slimscroll";e.SOW.vendor.slimscroll={config:{height:"100%",color:"#444",size:"3px",railColor:"#ccc",railOpacity:.5,alwaysVisible:!1,railVisible:!0,position:"ltr"==e.SOW.globals.direction?"right":"left",distance:"0",wheelStep:10,allowPageScroll:!1,disableFadeOut:!1},collection:e(),init:function(n,i){if(""!=n&&jQuery(n).length<1)return null;if(!jQuery().slimScroll){var o=e.SOW.helper.vendorLogicPaths("slimscroll");return""==o.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([o.path_js],!1,!0).done((function(){return jQuery().slimScroll?(e.SOW.vend
2or.slimscroll.init(n,i),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}if(!0!==e.SOW.globals.is_mobile){var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(i);return this.selector=r[0],this.config=null!==a?e.extend({},this.config,a):this.config,e(this.selector).slimScroll({height:this.config.height,color:this.config.color,size:this.config.size,railColor:this.config.railColor,railOpacity:this.config.railOpacity,alwaysVisible:this.config.alwaysVisible,railVisible:this.config.railVisible,position:this.config.position,distance:this.config.distance,wheelStep:this.config.wheelStep,allowPageScroll:this.config.allowPageScroll,disableFadeOut:this.config.disableFadeOut}),e.SOW.helper.consoleLog("Init : "+t),e(this.selector)}e.SOW.helper.consoleLog("Mobile disabled : "+t)},destroy:function(t){e(t).slimScroll({destroy:!0})}}}(jQuery),function(e){"use strict";window.nestableLastUpdate={},e.SOW.vendor.nestable={config:{group:0,maxDepth:6,listNodeName:"ol",itemNodeName:"li",rootClass:"dd",listClass:"dd-list",itemClass:"dd-item",dragClass:"dd-dragel",handleClass:"dd-handle",collapsedClass:"dd-collapsed",placeClass:"dd-placeholder",noDragClass:"dd-nodrag",emptyClass:"dd-empty",expandBtnHTML:'<button data-action="expand" type="button" aria-label="expand"></button>',collapseBtnHTML:'<button data-action="collapse" type="button" aria-label="collapse"></button>',maxDepth:5,threshold:0,headers:"",crossDomain:"",method:"POST",contentType:"application/x-www-form-urlencoded; charset=UTF-8",dataType:"",headers:"",crossDomain:"",data_params:{ajax:"true"}},collection:e(),init:function(t,n){if(""!=t&&jQuery(t).length<1)return null;if(!jQuery().nestable){var i=e.SOW.helper.vendorLogicPaths("nestable");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Nestable"),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return jQuery().nestable?(e.SOW.vendor.nestable.init(t,n),null):(e.SOW.helper.consoleLog("Vendor Missing : Vendor Nestable"),null)})),null)}var o=e.SOW.helper.__selector(t),r=e.SOW.helper.check_var(n);return this.selector=o[0],this.collection=o[1],this.selector_orig=o[2],this.config=null!==r?e.extend({},this.config,r):this.config,window.nestableLastUpdate={},e.SOW.helper.consoleLog("Init : Vendor Nestable"),this.selector?this.collection.each((function(){e.SOW.vendor.nestable.process(e(this))})):(e.SOW.vendor.nestable.process(e(".nestable")),e(".nestable"))},process:function(t){if(!t.hasClass("js-nestablified")){var n=t.attr("id")||"",i=(t.data("nestable-delete-with-childs"),t.data("nestable-max-depth")||6),o=e.SOW.helper.randomStr(3,"N"),r=t.data("nestable-group")||o,a=e.SOW.vendor.nestable.config;t.addClass("js-nestablified"),a.group=r,a.maxDepth=Number(i)||6,""==n&&(n="rand_"+o,t.attr("id",n)),e("#"+n).nestable(a).on("change",(function(i){var o=window.JSON.stringify(t.nestable("serialize"));jQuery("textarea",t).val(o),window.nestableLastUpdate[n]!=o&&e.SOW.vendor.nestable.updateOrder(t,i),window.nestableLastUpdate[n]=o}));var s=window.JSON.stringify(t.nestable("serialize"));jQuery("textarea",t).val(s),window.nestableLastUpdate[n]=s,e.SOW.vendor.nestable.removeItem(t)}},updateOrder:function(t,n){var i=t.data("ajax-update-params")||"",o=t.data("ajax-update-url")||"",r=t.data("ajax-update-method")||e.SOW.vendor.nestable.config.method,a=t.data("update-toast-success")||"Order Saved!",s=(t.data("update-toast-position"),e.SOW.vendor.nestable.config.data_params);if(""!=o){var l=n.length?n:e(n.target),c=window.JSON.stringify(l.nestable("serialize")),d=JSON.parse(c);if(""!=i)for(var u=e.SOW.helper.params_parse(i),h=0;h<u.length;++h)s[u[h][0]]=u[h][1];s.array=d,s.serialized=c,jQuery.ajax({url:o,data:s,type:r,contentType:e.SOW.vendor.nestable.config.contentType,dataType:e.SOW.vendor.nestable.config.dataType,headers:e.SOW.vendor.nestable.config.headers,crossDomain:e.SOW.vendor.nestable.config.crossDomain,beforeSend:function(){t.prepend('<div class="nestableOverlayLoading d-middle overlay-light overlay-opacity-5 absolute-full z-index-1"><i class="'+e.SOW.config.sow__icon_loading+' fs--30 text-muted"></i></div>')},error:function(n,i,o){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!","bottom-center",0,!0):alert("[404] Unexpected internal error!"),jQuery(".nestableOverlayLoading",t).remove()},success:function(n){e.SOW.helper.consoleLog(n),jQuery(".nestableOverlayLoading",t).remove(),"object"==typeof e.SOW.core.toast&&e.SOW.core.toast.show("success","",a,"bottom-center",1500,!0)}})}},removeItem:function(t){var n=t.data("update-delete-with-childs")||"false",i=t.data("update-delete-with-childs-error")||"Move or delete childs first!",o=t.data("update-toast-position")||"bottom-center",r=t.data("update-delete-params")||"",a=t.data("ajax-update-method")||e.SOW.vend
2or.nestable.config.method,s=t.data("ajax-update-url")||"",l=t.data("update-delete-confirm-first")||"false",c="object"==typeof e.SOW.core.ajax_confirm?e.SOW.core.ajax_confirm.__selector():"",d=c.replace(".",""),u=e.SOW.vendor.nestable.config.data_params,h=t.data("ajax-confirm-size")||"",p=t.data("ajax-confirm-centered")||"",f=t.data("ajax-confirm-callback-function")||"",m=t.data("ajax-confirm-type")||"",g=t.data("ajax-confirm-mode")||"",v=t.data("ajax-confirm-method")||"",y=t.data("ajax-confirm-title")||"",b=t.data("ajax-confirm-body")||"",w=t.data("ajax-confirm-btn-yes-text")||"",_=t.data("ajax-confirm-btn-yes-class")||"",S=t.data("ajax-confirm-btn-yes-icon")||"",O=t.data("ajax-confirm-btn-no-text")||"",x=t.data("ajax-confirm-btn-no-class")||"",k=t.data("ajax-confirm-btn-no-icon")||"";jQuery("a.nestable-del",t).on("click",(function(E){E.preventDefault();var C=jQuery(this),T=C.closest("li"),D=T.attr("data-id"),I=C.attr("href")||"#",j=C.data("href")||"",A=C.data("href2")||"",W=[];if("#"==I&&""==I&&"javascript:;"==I&&(C.attr("href","#"),C.attr("data-href2",I)),""!=j){I=j;C.removeAttr("data-href"),C.attr("data-href2",I)}if(""!=A)I=A;if("#"==I||""==I||"javascript:;"==I){var M=I;I=s}if(n+""=="false"&&jQuery("ol.dd-list",T).length>0)return E.stopPropagation(),void("object"==typeof e.SOW.core.toast?(e.SOW.core.toast.destroy(),e.SOW.core.toast.show("danger","",i,o,4e3,!0)):alert(i));if("object"==typeof e.SOW.core.ajax_confirm){if(l+""=="true"&&!C.hasClass(d)&&!C.hasClass("js-confirmed"))return C.attr("data-ajax-confirm-size",h),C.attr("data-ajax-confirm-centered",p),C.attr("data-ajax-confirm-callback-function",f),C.attr("data-ajax-confirm-type",m),C.attr("data-ajax-confirm-mode",g),C.attr("data-ajax-confirm-method",v),C.attr("data-ajax-confirm-title",y),C.attr("data-ajax-confirm-body",b),C.attr("data-ajax-confirm-btn-yes-text",w),C.attr("data-ajax-confirm-btn-yes-class",_),C.attr("data-ajax-confirm-btn-yes-icon",S),C.attr("data-ajax-confirm-btn-no-text",O),C.attr("data-ajax-confirm-btn-no-class",x),C.attr("data-ajax-confirm-btn-no-icon",k),C.addClass(d+" js-nestable-confirmation-pending"),e.SOW.core.ajax_confirm.init(c),e.SOW.core.ajax_confirm.ajax_confirm(C),C.trigger("click"),void setTimeout((function(){C.removeClass(d),jQuery("#sow_ajax_confirm .btn-confirm-yes").not("js-nestablified").addClass("js-nestablified").on("click",(function(e){e.preventDefault(),C.addClass("js-confirmed"),C.removeClass("js-nestable-confirmation-pending"),C.removeClass(d),C.trigger("click")}))}),100)}else{if(!1===confirm(b))return;C.addClass("js-confirmed")}if(!C.hasClass("js-nestable-confirmation-pending")&&(l+""!="true"||C.hasClass("js-confirmed"))){if(""!=r)for(var L=e.SOW.helper.params_parse(r),N=0;N<L.length;++N)u[L[N][0]]=L[N][1];jQuery("li",T).each((function(){W.push(jQuery(this).data("id")||0)})),u.id=D,u.childs=W,u.info='Info: `id` = the id to delete! `childs` = childs of this id! (if data-update-delete-with-childs="true")',jQuery.ajax({url:I,data:u,type:a,contentType:e.SOW.vendor.nestable.config.contentType,dataType:e.SOW.vendor.nestable.config.dataType,headers:e.SOW.vendor.nestable.config.headers,crossDomain:e.SOW.vendor.nestable.config.crossDomain,beforeSend:function(){t.prepend('<div class="nestableOverlayLoading d-middle overlay-light overlay-opacity-5 absolute-full z-index-1"><i class="'+e.SOW.config.sow__icon_loading+' fs--30 text-muted"></i></div>')},error:function(n,i,o){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!","bottom-center",0,!0):alert("[404] Unexpected internal error!"),jQuery(".nestableOverlayLoading",t).remove()},success:function(n){e.SOW.helper.consoleLog(n),jQuery(".nestableOverlayLoading",t).remove(),T.addClass("bg-danger-soft transition-all-ease-150"),setTimeout((function(){var e=C.closest("ol.dd-list"),t=e.closest("li.dd-item");T.fadeOut(150,(function(){T.remove(),jQuery(".dd-item",e).length<1&&(jQuery("button",t).remove(),e.remove())}))}),150),"#"!=M&&""!=M&&"javascript:;"!=M||e.SOW.helper.consoleLog('[Nestable Delete Item] : [ajax-update-method] used to POST data because href="'+I+'"')}})}}))}}}(jQuery),function(e){"use strict";window.fullCalendarInstance={}
2,e.SOW.vendor.fullcalendar={config:{plugins:["interaction","dayGrid","timeGrid","list","bootstrap","googleCalendar"],kickBsPlugin:function(e){e=e||"primary";"object"==typeof FullCalendarBootstrap&&(FullCalendarBootstrap.BootstrapTheme.prototype.baseIconClass="m-0 fi",FullCalendarBootstrap.BootstrapTheme.prototype.iconOverrideOption="smartyAwesopme",FullCalendarBootstrap.BootstrapTheme.prototype.iconOverrideCustomButtonOption="smartyAwesopme",FullCalendarBootstrap.BootstrapTheme.prototype.iconOverridePrefix="fi-",FullCalendarBootstrap.BootstrapTheme.prototype.iconClasses={close:"fi-close",prev:"fi-arrow-left",next:"fi-arrow-right",prevYear:"fi-arrow-left",nextYear:"fi-arrow-right"},FullCalendarBootstrap.BootstrapTheme.prototype.classes.popover="card card-"+e,FullCalendarBootstrap.BootstrapTheme.prototype.classes.button="btn btn-"+e+" btn-sm",FullCalendarBootstrap.BootstrapTheme.prototype.classes.listView="card card-"+e)},headers:"",crossDomain:"",method:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",dataType:"",headers:"",crossDomain:"",data_params:{ajax:"true"}},collection:e(),init:function(t,n){if(""!=t&&jQuery(t).length<1)return null;if("object"!=typeof FullCalendar){var i=e.SOW.helper.vendorLogicPaths("fullcalendar");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor FullCalendar"),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return"object"!=typeof FullCalendar?(e.SOW.helper.consoleLog("Vendor Missing : Vendor FullCalendar"),null):(e.SOW.vendor.fullcalendar.init(t,n),null)})),null)}var o=e.SOW.helper.__selector(t),r=e.SOW.helper.check_var(n);return this.selector=o[0],this.collection=o[1],this.selector_orig=o[2],this.config=null!==r?e.extend({},this.config,r):this.config,jQuery(this.selector).length<1?null:("object"==typeof FullCalendarBootstrap&&e.SOW.vendor.fullcalendar.config.kickBsPlugin("primary"),e.SOW.helper.consoleLog("Init : Vendor FullCalendar"),this.selector?this.collection.each((function(){e.SOW.vendor.fullcalendar.process(e(this))})):(e.SOW.vendor.fullcalendar.process(e(".fullcalendar")),e(".fullcalendar")))},process:function(t){var n=t.attr("id")||"",i=t.data("fullcalendar-plugins")||"",o=t.data("fullcalendar-default-view")||"dayGridMonth",r=t.data("fullcalendar-modal-size")||"modal-lg",a=t.attr("data-fullcalendar-event-create-modal")||!0,s=t.data("fullcalendar-modal-event-create")||"",l=t.attr("data-fullcalendar-event-edit-modal")||!0,c=t.data("fullcalendar-modal-event-edit")||"",d=t.data("fullcalendar-date-click")||"",u=t.data("fullcalendar-modal-date-click-modal")||"",h=t.data("fullcalendar-custom")||"",p=t.data("fullcalendar-extend")||"",f=t.data("fullcalendar-source-json-url")||"",m=t.data("fullcalendar-source-json-inline")||"",g=t.data("fullcalendar-source-object")||"",v=t.data("fullcalendar-lang-btn")||"",y=t.data("fullcalendar-header")||"",b=t.attr("data-fullcalendar-editable")||!1,w=t.data("fullcalendar-time-format")||"",_=t.data("fullcalendar-default-date")||"now",S=t.data("fullcalendar-timezone")||"local",O=t.data("fullcalendar-google-apikey")||"";t.data("fullcalendar-google-event-sources");""==n&&(n="rand_"+e.SOW.helper.randomStr(3,"N"),t.attr("id",n)),"object"!=typeof f&&(f=!1),"object"!=typeof m&&(m=null),"object"==typeof window[g]&&(m=window[g]);b=b+""=="true";if("object"!=typeof v)v={today:"today",month:"month",week:"week",day:"day",list:"list"};if("object"!=typeof y)y={left:"prev,next, today, customAddEventButton",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listWeek"};if("object"!=typeof w)w={hour:"numeric",minute:"2-digit",meridiem:"short"};_="today"==_||"now"==_?new Date:new Date(_);var x={plugins:"object"==typeof i?i:e.SOW.vendor.fullcalendar.config.plugins,editable:b,eventLimit:!0,locale:"en",themeSystem:"bootstrap",defaultView:o||"dayGridMonth",defaultDate:_,dir:e.SOW.globals.direction,timeZone:S,eventTimeFormat:w,buttonText:v,header:y,customButtons:{customAddEventButton:{text:"+",click:function(t){!0===b&&(a+""=="true"?""!=s&&"object"==typeof e.SOW.core.ajax_modal&&(e.SOW.helper.consoleLog(s,"color:#cccccc"),e.SOW.core.ajax_modal.createFromThinAir(s,r,"true","static",(function(){setTimeout((function(){if(""==(t=jQuery("#event_id").attr("id")||"")){var t=(new Date).getTime();jQuery("#event_id").attr("id",t)}
2jQuery(".btn-fullcalendar-add").on("click",(function(i){e.SOW.vendor.fullcalendar.eventCreate(n,t)}))}),250)}))):""!=s&&(window.location=s))}}},googleCalendarApiKey:O||null,events:"object"==typeof m&&m,eventSources:"object"==typeof f&&f,eventClick:function(t){!0===b&&(l+""=="true"?(t.jsEvent.preventDefault(),t.event.url,""!=c&&"object"==typeof e.SOW.core.ajax_modal&&(e.SOW.helper.consoleLog(c+t.event.id,"color:#cccccc"),e.SOW.core.ajax_modal.createFromThinAir(c+t.event.id,r,"true","static",(function(){setTimeout((function(){if(e.SOW.vendor.fullcalendar.eventGet(t,n),""==(i=jQuery("#event_id").attr("id")||"")){var i=(new Date).getTime();jQuery("#event_id").attr("id",i)}jQuery(".btn-fullcalendar-edit").on("click",(function(o){e.SOW.vendor.fullcalendar.eventEdit(t,n,i)})),jQuery(".btn-fullcalendar-remove").on("click",(function(e){t.event.remove()}))}),450)})))):""!=c&&(window.location=c+t.event.id))},dateClick:function(t){!0===b&&("modal"==d&&""!=u?"object"==typeof e.SOW.core.ajax_modal&&(e.SOW.helper.consoleLog(u+t.dateStr,"color:#cccccc"),e.SOW.core.ajax_modal.createFromThinAir(u+t.dateStr,r,"true","static",(function(){setTimeout((function(){var i=new Date,o=i.getHours(),r=i.getMinutes();o<10&&(o="0"+o),r<10&&(r="0"+r);var a=o+":"+r;if(jQuery("#start").val(t.dateStr+" "+a),jQuery("#start").attr("data-date-start",t.dateStr+" "+a),""==(s=jQuery("#event_id").attr("id")||"")){var s=(new Date).getTime();jQuery("#event_id").attr("id",s)}jQuery(".btn-fullcalendar-add").on("click",(function(t){e.SOW.vendor.fullcalendar.eventCreate(n,s)}))}),250)}))):"redirect"==d&&""!=u&&(window.location=u+t.dateStr))},eventRender:function(e){jQuery("#"+n+" .fc-toolbar #fc_smarty_custom_range").length<1?jQuery("#"+n+" .fc-toolbar h2").wrap('<a href="#" class="link-muted" id="fc_smarty_custom_range"></a>'):jQuery("#"+n+" #fc_smarty_custom_range").hasClass("js-tangepickified")||jQuery("#"+n+" #fc_smarty_custom_range").on("click",(function(e){e.preventDefault()}))},eventResize:function(t){if(!0===b){var i=t.event.start.toISOString(),o=t.event.end?t.event.end.toISOString():t.event.start.toISOString();e.SOW.vendor.fullcalendar.ajaxReq(c,n,t.event.id,i,o,"resize")}},eventDrop:function(t){if(!0===b){var i=t.event.start.toISOString(),o=t.event.end?t.event.end.toISOString():t.event.start.toISOString();e.SOW.vendor.fullcalendar.ajaxReq(c,n,t.event.id,i,o,"drag")}}},k=(x="object"==typeof window[p]?e.extend({},x,window[p]):x,document.getElementById(n));if("object"==typeof window[h])x={themeSystem:"bootstrap",defaultView:o||"dayGridMonth",defaultDate:new Date,dir:e.SOW.globals.direction,header:{left:"prev,next, today",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listWeek"}},x=e.extend({},x,window[h]);window.fullCalendarInstance[n]=new FullCalendar.Calendar(k,x),window.fullCalendarInstance[n].render()},ajaxReq:function(t,n,i,o,r,a){if(""!=t){var s=jQuery("#"+n).data("ajax-method")||e.SOW.vendor.fullcalendar.config.method,l=jQuery("#"+n).data("toast-success")||"Sucessfully Updated!",c=jQuery("#"+n).data("toast-position")||"top-center",d=(e.SOW.vendor.fullcalendar.config.data_params,t+i+"&start="+o+"&end="+r+"&action="+a+"&ajax=true");jQuery.ajax({url:d,data:null,type:s,contentType:e.SOW.vendor.fullcalendar.config.contentType,dataType:e.SOW.vendor.fullcalendar.config.dataType,headers:e.SOW.vendor.fullcalendar.config.headers,crossDomain:e.SOW.vendor.fullcalendar.config.crossDomain,beforeSend:function(){},error:function(t,n,i){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!",c,0,!0):alert("[404] Unexpected internal error!")},success:function(t){e.SOW.helper.consoleLog(d),setTimeout((function(){"object"==typeof e.SOW.core.toast&&e.SOW.core.toast.show("success","",l,c,1300,!0)}),150)}})}},dateFormat:function(e){if(!e)return null;if("function"==typeof moment)return moment(e,"YYYY-MM-DD HH:mm").format("YYYY-MM-DD HH:mm");var t=new Date(e),n=(n=t.getTimezoneOffset()/60)>0?n/60:0,i=t.getMonth()+1,o=t.getDate(),r=t.getHours()+n,a=t.getMinutes();return i<10&&(i="0"+i),o<10&&(o="0"+o),r<10&&(r="0"+r),a<10&&(a="0"+a),t.getFullYear()+"-"+i+"-"+o+" "+r+":"+a},eventCreate:function(t,n){var i=jQuery("#start").val(),o=jQuery("#end").val()||null,r=jQuery("#startRecur").val()||null,a=jQuery("#endRecur").val()||null,s=jQuery("#daysOfWeek").val()||null;
2if(!jQuery("#recurrent_enable").is(":checked"))r=null,a=null,s=null;i=i?i.replace(" ","T")+":00":i,o=o?o.replace(" ","T")+":00":o,r=r?r.replace(" ","T")+":00":r,a=a?a.replace(" ","T")+":00":a;window.fullCalendarInstance[t].addEvent({id:n,title:jQuery("#title").val(),start:i,end:o,allDay:!o,description:jQuery("#description").val(),className:jQuery("#className").val(),startRecur:r,endRecur:a,daysOfWeek:s,editable:!0,startEditable:!0,durationEditable:!0,resourceEditable:!0}),e.SOW.vendor.fullcalendar.refetchEvents(t)},eventEdit:function(t,n,i){var o=jQuery("#start").val(),r=jQuery("#end").val()||null,a=jQuery("#startRecur").val()||null,s=jQuery("#endRecur").val()||null,l=jQuery("#className").val()||"",c=jQuery("#daysOfWeek").val()||null;if(!jQuery("#recurrent_enable").is(":checked"))a=null,s=null,c=null;if(o)o=o.replace(" ","T")+":00";if(r)r=r.replace(" ","T")+":00";if(a){a=a.replace(" ","T")+":00";t.event.setProp("startRecur",a)}if(s){s=s.replace(" ","T")+":00";t.event.setProp("endRecur",s)}t.event.setProp("daysOfWeek",c),t.event.setStart(o),t.event.setEnd(r),t.event.setAllDay(!r),t.event.setProp("title",jQuery("#title").val()),t.event.setProp("className",l.split(" ")),t.event.setExtendedProp("description",jQuery("#description").val()),e.SOW.vendor.fullcalendar.refetchEvents(n)},eventGet:function(t,n){var i=t.event.start||"",o=t.event.end||null,r=void 0!==t.event._def.recurringDef?t.event._def.recurringDef.typeData.startRecur:null,a=void 0!==t.event._def.recurringDef?t.event._def.recurringDef.typeData.endRecur:null,s=void 0!==t.event._def.recurringDef?t.event._def.recurringDef.typeData.daysOfWeek:null,l=t.event._def.ui.classNames.join(" ")||null;if(s&&s.length>0){jQuery("#recurrent_enable").trigger("click");for(var c=0;c<s.length;c++)jQuery("#daysOfWeek option[value="+s[c]+"]").attr("selected","selected");"object"==typeof e.SOW.vendor.bootstrap_select&&e.SOW.vendor.bootstrap_select.refresh("#daysOfWeek")}var d=t.event._def.extendedProps?t.event._def.extendedProps:null;for(var u in d)jQuery("#"+u).val(d[u]),jQuery("#info_"+u).html(d[u]),jQuery("#info_"+u+" a").addClass("link-muted").attr("target","fullcalendar").attr("rel","noopener");i=e.SOW.vendor.fullcalendar.dateFormat(i),o=e.SOW.vendor.fullcalendar.dateFormat(o),r=e.SOW.vendor.fullcalendar.dateFormat(r),a=e.SOW.vendor.fullcalendar.dateFormat(a);jQuery("#start").val(i),jQuery("#start").attr("data-date-start",i),jQuery("#end").val(o),o&&jQuery("#end").attr("data-date-start",o),jQuery("#startRecur").val(r),jQuery("#endRecur").val(a),jQuery("#info_start").text(i||"–"),jQuery("#info_end").text(o||"–"),jQuery("#info_startRecur").text(r||"–"),jQuery("#info_endRecur").text(a||"–"),jQuery("#info_title").text(t.event.title||"–"),t.event.url&&jQuery("#info_url").html('<a class="link-muted" href="'+t.event.url+'" target="fullcalendar">'+t.event.url+"</a>"),jQuery("#title").val(t.event.title||""),jQuery("#url").val(t.event.url||""),""!=l&&(jQuery("#className").val(l),jQuery("#info_className").addClass(l),"object"==typeof e.SOW.vendor.bootstrap_select&&e.SOW.vendor.bootstrap_select.refresh("#className"))},refetchEvents:function(e){"object"==typeof window.fullCalendarInstance[e]&&window.fullCalendarInstance[e].refetchEvents()}}}(jQuery),function(e){"use strict";e.SOW.vendor.datepicker={config:{headers:"",crossDomain:"",method:"POST",contentType:"application/x-www-form-urlencoded; charset=UTF-8",dataType:"",headers:"",crossDomain:"",data_params:{ajax:"true"}},collection:e(),init:function(t,n){if(""!=t&&jQuery(t).length<1)return null;if(!jQuery().datepicker){var i=e.SOW.helper.vendorLogicPaths("datepicker");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Datepicker"),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return jQuery().datepicker?(e.SOW.vendor.datepicker.init(t,n),null):(e.SOW.helper.consoleLog("Vendor Missing : Vendor Datepicker"),null)})),null)}var o=e.SOW.helper.__selector(t),r=e.SOW.helper.check_var(n);return this.selector=o[0],this.collection=o[1],this.selector_orig=o[2],this.config=null!==r?e.extend({},this.config,r):this.config,e.SOW.helper.consoleLog("Init : Vendor Datepicker"),this.selector?this.collection.each((function(){e.SOW.vend
2or.datepicker.process(e(this))})):(e.SOW.vendor.datepicker.process(e(".datepicker")),e(".datepicker"))},process:function(t){if(!t.hasClass("js-datepickified")){""!=t.attr("href")&&t.on("click",(function(e){e.preventDefault()}));var n=t.data("id")||"",i=t.data("lang")||"en",o=(o=t.data("format")||"mm/dd/yyyy").toLowerCase(),r=t.data("date-start")||-1/0,a=t.data("date-end")||1/0,s=t.attr("data-changeMonth")||!0,l=t.attr("data-today-btn")||!0,c=t.attr("data-show-weeks")||!0,d=t.attr("data-autoclose")||!0,u=t.attr("data-today-highlight")||!0,h=t.attr("data-clear-btn")||!1,p=t.attr("data-showWeekDays")||!0,f=t.attr("data-enableOnReadonly")||!1,m=t.data("daysOfWeekDisabled")||"",g=t.data("daysOfWeekHighlighted")||"",v=t.data("datesDisabled")||"",y=t.data("zIndexOffset")||10,b=(t.attr("data-showOnFocus"),t.data("title")||""),w=t.data("quick-locale")||"",_=t.attr("data-layout-rounded")||!1;if("today"!=r&&"now"!=r||(r=new Date),""==n){n="rand_"+e.SOW.helper.randomStr(3);t.attr("id",n)}if(""!=t.attr("href")){var S=r;S==-1/0&&(S=new Date(r));var O={};if(O.dd=S.getDate(),O.mm=S.getMonth()+1,O.yyyy=S.getFullYear(),-1!==o.indexOf("/"))var x=o.split("/"),k="/";else if(-1!==o.indexOf("-"))x=o.split("-"),k="-";else if(-1!==o.indexOf("."))x=o.split("."),k=".";else if(-1!==o.indexOf(","))x=o.split(","),k=",";else if(-1!==o.indexOf(" "))x=o.split(" "),k=" ";var E=O[x[0]]+k+O[x[1]]+k+O[x[2]];t.text(E)}"object"==typeof w&&(e.fn.datepicker.dates.en=w),t.addClass("js-datepickified").datepicker({language:i,format:o,rtl:"rtl"==e.SOW.globals.direction,startDate:r,endDate:a,changeMonth:s+""=="true",todayBtn:l+""=="true"?"linked":null,calendarWeeks:c+""=="true",autoclose:d+""=="true",todayHighlight:u+""=="true",clearBtn:h+""=="true",enableO
2nReadonly:f+""=="true",daysOfWeekDisabled:"object"==typeof m?m:[],daysOfWeekHighlighted:"object"==typeof g?g:[],datesDisabled:"object"==typeof v?v:[],title:b,showOnFocus:s+""=="true",zIndexOffset:Number(y)||10,showWeekDays:p+""=="true",templates:{leftArrow:"rtl"==e.SOW.globals.direction?'<i class="fi fi-arrow-right"></i>':'<i class="fi fi-arrow-left"></i>',rightArrow:"rtl"==e.SOW.globals.direction?'<i class="fi fi-arrow-left"></i>':'<i class="fi fi-arrow-right"></i>'},dates:{en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}}}).click((function(t){setTimeout((function(){e(".datepicker-dropdown").addClass("animate-none"),_+""=="true"&&e(".datepicker-dropdown").addClass("datepicker-rounded")}),200)})).on("changeDate",(function(n){var i=n.date;e.SOW.vendor.datepicker.updateAjax(t,i,o)})).data("datepicker")}},updateAjax:function(t,n,i){var o=t.data("ajax-method")||e.SOW.vendor.datepicker.config.method,r=t.data("ajax-url")||"",a=t.data("ajax-params")||"",s=t.data("toast-success")||"Sucessfully Updated!",l=t.data("toast-position")||"top-center",c=t.data("id")||"",d=e.SOW.vendor.datepicker.config.data_params;if(""!=r){var u=new Date(n),h={};if(h.dd=u.getDate(),h.mm=u.getMonth()+1,h.yyyy=u.getFullYear(),h.dd<10&&(h.dd="0"+h.dd),h.mm<10&&(h.mm="0"+h.mm),-1!==i.indexOf("/"))var p=i.split("/"),f="/";else if(-1!==i.indexOf("-"))p=i.split("-"),f="-";else if(-1!==i.indexOf("."))p=i.split("."),f=".";else if(-1!==i.indexOf(","))p=i.split(","),f=",";else if(-1!==i.indexOf(" "))p=i.split(" "),f=" ";var m=h[p[0]]+f+h[p[1]]+f+h[p[2]];if(""!=a)for(var g=e.SOW.helper.params_parse(a),v=0;v<g.length;++v)d[g[v][0]]=g[v][1];d.id=c,d.date_full=n,d.date_short=m,jQuery.ajax({url:r,data:d,type:o,contentType:e.SOW.vendor.datepicker.config.contentType,dataType:e.SOW.vendor.datepicker.config.dataType,headers:e.SOW.vendor.datepicker.config.headers,crossDomain:e.SOW.vendor.datepicker.config.crossDomain,beforeSend:function(){t.addClass("disabled").prop("disabled",!0).prop("readonly",!0)},error:function(n,i,o){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!",l,0,!0):alert("[404] Unexpected internal error!"),t.removeClass("disabled").prop("disabled",!1).prop("readonly",!1)},success:function(n){t.removeClass("disabled").prop("disabled",!1).prop("readonly",!1),e.SOW.helper.consoleLog(n),setTimeout((function(){"object"==typeof e.SOW.core.toast&&e.SOW.core.toast.show("success","",s,l,1300,!0)}),150),""!=t.attr("href")&&t.text(m)}})}}}}(jQuery),function(e){"use strict";var t="Vendor Daterangepicker";e.SOW.vendor.daterangepicker={config:{headers:"",crossDomain:"",method:"POST",contentType:"application/x-www-form-urlencoded; charset=UTF-8",dataType:"",headers:"",crossDomain:"",data_params:{ajax:"true"}},collection:e(),init:function(n,i){if(""!=n&&jQuery(n).length<1)return null;if(!jQuery().daterangepicker){var o=e.SOW.helper.vendorLogicPaths("daterangepicker");return""==o.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([o.path_js],!1,!0).done((function(){return jQuery().daterangepicker?(e.SOW.vendor.daterangepicker.init(n,i),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}if("function"==typeof moment){var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(i);return this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.daterangepicker.process(e(this))})):(e.SOW.vendor.daterangepicker.process(e(".rangepicker")),e(".rangepicker"))}e.SOW.helper.consoleLog("Dependencies Missing : moment.js  [By: "+t+"]")},process:function(t){var n=this.selector_orig;t.hasClass("js-tangepickified")||setTimeout((function(){jQuery("a.btn-rangepicker-clear").on("click",(function(e){e.preventDefault(),jQuery(this).parent().find("input"+n).val("")}
2));var i=t.data("timepicker")||!1,o=t.data("timepicker-24h")||!1,r=t.data("timepicker-show-seconds")||!1,a=t.data("placement")||"",s=t.data("disable-auto-update-input")||!1,l=t.data("single-datepicker")||!1,c=t.data("click-apply")||!1,d=t.data("date-start")||"",u=t.data("date-end")||moment(),h=t.data("interval-years")||"",p=t.data("quick-locale")||"",f=t.data("date-format")||moment.localeData().longDateFormat("L"),m=t.attr("data-ranges")||!1,g=t.data("custom-config")||"",v=t.data("layout-rounded")||!1,y=t.data("disable-past-dates")||!1,b=1982,w=2030;if(l+""=="true"?""==d&&(d=moment()):""==d&&(d=moment().subtract(29,"days")),"object"!=typeof g){m=m+""=="true"&&{Today:[moment(),moment()],Yesterday:[moment().subtract(1,"days"),moment().subtract(1,"days")],"Last 7 Days":[moment().subtract(6,"days"),moment()],"Last 30 Days":[moment().subtract(29,"days"),moment()],"This Month":[moment().startOf("month"),moment().endOf("month")],"Last Month":[moment().subtract(1,"month").startOf("month"),moment().subtract(1,"month").endOf("month")]};if("object"==typeof p&&!1!==m){m={};p.lang_today&&(m[p.lang_today]=[moment(),moment()]),p.lang_yday&&(m[p.lang_yday]=[moment().subtract(1,"days"),moment().subtract(1,"days")]),p.lang_7days&&(m[p.lang_7days]=[moment().subtract(6,"days"),moment()]),p.lang_30days&&(m[p.lang_30days]=[moment().subtract(29,"days"),moment()]),p.lang_tmonth&&(m[p.lang_tmonth]=[moment().startOf("month"),moment().endOf("month")]),p.lang_lmonth&&(m[p.lang_lmonth]=[moment().subtract(1,"month").startOf("month"),moment().subtract(1,"month").endOf("month")])}var _=!1;if(y+""=="true"){if(""==d)var S=moment()._d;else if("string"==typeof d)S=d;else S=d._d;_=moment(S,f).format(f)}if("object"==typeof h){var O=!0;b=h[0]||1982;w=h[1]||2030}var x={direction:e.SOW.globals.direction,opens:""!=a?a:"rtl"==e.SOW.globals.direction?"left":"right",autoUpdateInput:s+""!="true",singleDatePicker:l+""=="true",autoApply:l+""=="true"||c+""=="true",timePicker:i+""=="true",timePicker24Hour:o+""=="true",timePickerSeconds:r+""=="true",startDate:""!=d?d:null,endDate:""!=u?u:null,minDate:_,showDropdowns:!0===O,minYear:Number(b),maxYear:Number(w),ranges:m,locale:{customRangeLabel:"object"==typeof p&&p.lang_crange?p.lang_crange:"Custom Range",applyLabel:"object"==typeof p&&p.lang_apply?p.lang_apply:"Apply",cancelLabel:"object"==typeof p&&p.lang_cancel?p.lang_cancel:"Cancel",monthNames:"object"==typeof p&&"object"==typeof p.lang_months&&p.lang_months?p.lang_months:moment.monthsShort(),daysOfWeek:"object"==typeof p&&"object"==typeof p.lang_weekdays&&p.lang_weekdays?p.lang_weekdays:moment.weekdaysMin(),firstDay:moment.localeData().firstDayOfWeek(),format:f}}}var k=t.addClass("js-tangepickified").daterangepicker("object"==typeof g?g:x,(function(e,t,n){e.format(f),e.format(f)})).data("daterangepicker");!1!==v&&k.container.addClass("daterangepicker-rounded"),jQuery(".btn-default",k.container).removeClass("btn-default").addClass("bg-light"),t.on("apply.daterangepicker",(function(n,i){l+""=="true"?e(this).val(i.startDate.format(f)):e(this).val(i.startDate.format(f)+" - "+i.endDate.format(f));var o=i.startDate._d,r=i.endDate._d,a=i.startDate.format(f),s=i.endDate.format(f);e.SOW.vendor.daterangepicker.updateAjax(t,o,r,a,s)})),t.on("cancel.daterangepicker",(function(e,t){})),t.on("change.daterangepicker",(function(e,t){}))}),t.data("load-delay")||0)},updateAjax:function(t,n,i,o,r){var a=t.data("ajax-method")||e.SOW.vendor.daterangepicker.config.method,s=t.data("ajax-url")||"",l=t.data("ajax-params")||"",c=t.data("toast-success")||"Sucessfully Updated!",d=t.data("toast-position")||"top-center",u=t.data("id")||"",h=e.SOW.vendor.daterangepicker.config.data_params;if(""!=s){if(""!=l)for(var p=e.SOW.helper.params_parse(l),f=0;f<p.length;++f)h[p[f][0]]=p[f][1];h.id=u,h.date_start_full=n,h.date_end_full=i,h.date_start_short=o,h.date_end_short=r,jQuery.ajax({url:s,data:h,type:a,contentType:e.SOW.vendor.daterangepicker.config.contentType,dataType:e.SOW.vendor.daterangepicker.config.dataType,headers:e.SOW.vendor.daterangepicker.config.headers,crossDomain:e.SOW.vendor.daterangepicker.config.crossDomain,beforeSend:function(){t.addClass("disabled").prop("disabled",!0).prop("readonly",!0)},error:function(n,i,o){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!",d,0,!0):alert("[404] Unexpected internal error!"),t.removeClass("disabled").prop("disabled",!1).prop("readonly",!1)},success:function(n){t.removeClass("disabled").prop("disabled",!1).prop("readonly",!1),e.SOW.helper.consoleLog(n),setTimeout((function(){"object"==typeof e.SOW.core.toast&&e.SOW.core.toast.show("success","",c,d,1300,!0)}),150)}})}}}}(jQuery),function(e){"use strict";var t=[];
2e.SOW.vendor.colorpicker={config:{classic:{swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)","rgba(0, 188, 212, 0.7)","rgba(0, 150, 136, 0.75)","rgba(76, 175, 80, 0.8)","rgba(139, 195, 74, 0.85)","rgba(205, 220, 57, 0.9)","rgba(255, 235, 59, 0.95)","rgba(255, 193, 7, 1)"]},monolith:{swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"]},nano:{swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"]},interaction:{hex:!0,rgba:!0,hsla:!1,hsva:!1,cmyk:!1,input:!0,clear:!0,save:!0},headers:"",crossDomain:"",method:"POST",contentType:"application/x-www-form-urlencoded; charset=UTF-8",dataType:"",headers:"",crossDomain:"",data_params:{ajax:"true"}},collection:e(),init:function(t,n){var i=e.SOW.helper.__selector(t),o=e.SOW.helper.check_var(n);if(this.selector=i[0],this.collection=i[1],this.selector_orig=i[2],this.config=null!==o?e.extend({},this.config,o):this.config,""!=t&&jQuery(t).length<1)return null;if("function"!=typeof Pickr){var r=e.SOW.helper.vendorLogicPaths("colorpicker");return""==r.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Color Picker"),null):(e.SOW.helper.loadScript([r.path_js],!1,!0).done((function(){return"function"!=typeof Pickr?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Color Picker"),null):(e.SOW.vendor.colorpicker.init(t,n),null)})),null)}return e.SOW.helper.consoleLog("Init : Vendor Color Picker"),this.selector?this.collection.each((function(){e.SOW.vendor.colorpicker.process(e(this))})):(e.SOW.vendor.colorpicker.process(e(".colorpicker")),e(".colorpicker"))},process:function(n){if(!n.hasClass("js-colorpickified")){var i=n.data("target")||"",o=n.data("theme")||"classic",r=n.data("live-update")||!1,a=n.data("position")||"bottom-middle",s=n.attr("data-show-always")||!1,l=n.attr("data-inline")||!1,c=n.data("app-class")||"rounded",d=n.attr("data-use-as-button")||!1,u=n.data("default")||"HEXA",h=n.data("color")||"#42445a",p=n.data("lng-save")||"Save",f=n.data("lng-clear")||"Clear",m=n.data("lng-cancel")||"Cancel",g=n.attr("data-hex")||e.SOW.vendor.colorpicker.config.interaction.hex,v=n.attr("data-rgba")||e.SOW.vendor.colorpicker.config.interaction.rgba,y=n.attr("data-hsla")||e.SOW.vendor.colorpicker.config.interaction.hsla,b=n.attr("data-hsva")||e.SOW.vendor.colorpicker.config.interaction.hsva,w=n.attr("data-cmyk")||e.SOW.vendor.colorpicker.config.interaction.cmyk,_=n.attr("data-input")||e.SOW.vendor.colorpicker.config.interaction.input,S=n.attr("data-clear")||e.SOW.vendor.colorpicker.config.interaction.clear,O=n.attr("data-save")||e.SOW.vendor.colorpicker.config.interaction.save;n.addClass("js-colorpickified");var x=e.SOW.helper.randomStr(3,"L"),k="rand_"+x;if(n.addClass(k),""==i)i="."+k;return jQuery("input.pcr-result-final").length<1&&jQuery("body").append('<input type="hidden" class="pcr-result-final" val="">'),l+""=="true"&&(s="true"),t[x]=Pickr.create({el:"."+k,theme:o,default:h,position:a,showAlways:s+""=="true",inline:l+""=="true",appClass:c,useAsButton:d+""=="true",defaultRepresentation:u,swatches:e.SOW.vendor.colorpicker.config.classic.swatches,components:{preview:!0,opacity:!0,hue:!0,interaction:{hex:g+""!="false",rgba:v+""!="false",hsla:y+""!="false",hsva:b+""!="false",cmyk:w+""!="false",input:_+""!="false",clear:S+""!="false",save:O+""!="false"}},strings:{save:p,clear:f,cancel:m}}).on("init",e=>{jQuery(".pcr-result, .pcr-type, .pcr-save, .pcr-clear").addClass("rounded"),jQuery(".pcr-save").on("click",(function(){var e=jQuery(this).parents(".pcr-interaction"),t=jQuery(".pcr-result",e).val();jQuery(".pcr-result-final").val(t)}))}).on("hide",t=>{if(O+""=="false"){var o=jQuery(".pcr-result").val();e.SOW.vendor.colorpicker.updateAjax(n,o),i&&(jQuery("input"+i).val(o),jQuery("div"+i+", span"+i).text(o))}}).on("show",(e,t)=>{if(r+""=="true"){var n=jQuery(".pcr-result").val();i&&(jQuery("input"+i).val(n),jQuery("div"+i+", span"+i).text(n))}}).on("save",(t,o)=>{setTimeout((function(){var t=jQuery(".pcr-result-final").val();
2e.SOW.vendor.colorpicker.updateAjax(n,t),i&&(jQuery("input"+i).val(t),jQuery("div"+i+", span"+i).text(t)),jQuery(".pcr-result-final").val("")}),200)}).on("clear",e=>{i&&(jQuery("input"+i).val(""),jQuery("div"+i+", span"+i).text(""))}).on("change",(t,o)=>{if(r+""=="true"){var a=jQuery(".pcr-result").val();window.afterPickChange&&clearTimeout(window.afterPickChange),window.afterPickChange=setTimeout((function(){e.SOW.vendor.colorpicker.updateAjax(n,a)}),1500),i&&(jQuery("input"+i).val(a),jQuery("div"+i+", span"+i).text(a))}}).on("changestop",e=>{}).on("cancel",e=>{}).on("swatchselect",(e,t)=>{}),t[x]}},updateAjax:function(t,n){var i=t.data("ajax-method")||e.SOW.vendor.colorpicker.config.method,o=t.data("ajax-url")||"",r=t.data("ajax-params")||"",a=t.data("toast-success")||"Sucessfully Updated!",s=t.data("toast-position")||"top-center",l=t.data("id")||"",c=e.SOW.vendor.colorpicker.config.data_params;if(""!=o){if(""!=r)for(var d=e.SOW.helper.params_parse(r),u=0;u<d.length;++u)c[d[u][0]]=d[u][1];c.id=l,c.color=n,jQuery.ajax({url:o,data:c,type:i,contentType:e.SOW.vendor.colorpicker.config.contentType,dataType:e.SOW.vendor.colorpicker.config.dataType,headers:e.SOW.vendor.colorpicker.config.headers,crossDomain:e.SOW.vendor.colorpicker.config.crossDomain,beforeSend:function(){},error:function(t,n,i){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!",s,0,!0):alert("[404] Unexpected internal error!")},success:function(t){e.SOW.helper.consoleLog(t),setTimeout((function(){"object"==typeof e.SOW.core.toast&&e.SOW.core.toast.show("success","",a,s,1300,!0)}),150)}})}},forceInit:function(){var t=this.selector_orig.replace(".","");return jQuery("#forceColorPickrInit").length>0?t:(jQuery("body").append('<div id="forceColorPickrInit" class="hide-force"><div class=""></div></div>'),jQuery("#forceColorPickrInit>div").addClass(t),e.SOW.vendor.colorpicker.init(this.selector_orig),t)},__selector:function(){return this.selector_orig}}}(jQuery),function(e){"use strict";e.SOW.vendor.flot={config:{headers:"",crossDomain:"",method:"GET",dataType:"json",headers:"",crossDomain:"",data_params:{ajax:"true"}},collection:e(),init:function(t,n){if(""!=t&&jQuery(t).length<1)return null;if(!jQuery().plot){var i=e.SOW.helper.vendorLogicPaths("flot");return""==i.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Flot Chart"),null):(e.SOW.helper.loadScript([i.path_js],!1,!0).done((function(){return jQuery().plot?(e.SOW.vendor.flot.init(t,n),null):(e.SOW.helper.consoleLog("Vendor Missing : Vendor Flot Chart"),null)})),null)}var o=e.SOW.helper.__selector(t),r=e.SOW.helper.check_var(n);return this.selector=o[0],this.collection=o[1],this.selector_orig=o[2],this.config=null!==r?e.extend({},this.config,r):this.config,e.SOW.helper.consoleLog("Init : Vendor Flot Chart"),e.SOW.vendor.flot.btnSave_bind(),this.selector?this.collection.each((function(){e.SOW.vendor.flot.process(e(this))})):(e.SOW.vendor.flot.process(e(".flot")),e(".flot"))},process:function(t){if(!t.hasClass("js-plotified")){t.addClass("js-plotified");var n=t.data("flot-custom-data")||"",i=t.data("flot-custom-options")||"",o=t.attr("data-flot-id")||"";""==o&&(o="rand_"+e.SOW.helper.randomStr(3,"N"),t.attr("id",o),t.attr("data-flot-id",o));var r=t.data("flot-label-1")||"Plot 1",a=t.data("flot-label-2")||"Plot 2",s=t.data("flot-label-3")||"Plot 3",l=t.data("flot-color-1")||"#6595b4",c=t.data("flot-color-2")||"#FF0000",d=t.data("flot-color-3")||"#FF0000",u=t.data("flot-border-color")||"#eaeaea",h=t.data("flot-type")||"fill",p=t.data("ajax-url")||"",f=t.data("flot-click")||"",m=t.data("flot-click-url")||"",g=t.data("flot-modal-size")||"modal-md",v=t.data("flot-modal-backdrop")||"",y=t.data("flot-modal-centered")||"false",b=(b=t.attr("data-flot-data-1"))?JSON.parse(b):null,w=(w=t.attr("data-flot-data-2"))?JSON.parse(w):null,_=(_=t.attr("data-flot-data-3"))?JSON.parse(_):null,S=t.data("flot-fill-2")||"false",O=t.data("flot-fill-3")||"false",x=t.data("flot-pie-data")||"",k=t.attr("data-flot-legend-show")||"true",E=(E=t.attr("data-flot-ticks"))?JSON.parse(E):null;if(""!=f&&t.bind("plotclick",(function(t,n,i){if(i){if(m+="&val_x="+i.datapoint[0]+"&val_y="+i.datapoint[1]+"&pos_x="
2+n.x+"&pos_y="+n.y,e.SOW.helper.consoleLog(m),"url"==f)return void(window.location=m);"callback"==f&&"function"==typeof flot_callback?flot_callback(t,n,i):"object"==typeof e.SOW.core.ajax_modal&&"modal"==f&&e.SOW.core.ajax_modal.createFromThinAir(m,g,y,v,(function(){setTimeout((function(){jQuery("#val_x").val(i.datapoint[0]),jQuery("#val_y").val(i.datapoint[1]),jQuery(".val_x").text(i.datapoint[0]),jQuery(".val_y").text(i.datapoint[1]),jQuery("#pos_x").val(n.x),jQuery("#pos_y").val(n.y),jQuery(".pos_x").text(n.x),jQuery(".pos_y").text(n.y),"function"==typeof flot_callback&&flot_callback(t,n,i)}),450)}))}})),""==n||""==i)if("object"!=typeof x){if(b)var C=[{data:b,label:r,lines:{show:"bar"!=h},points:{show:"bar"!=h},color:l}];if(w)C=[{data:b,label:r,lines:{show:"bar"!=h},points:{show:"bar"!=h},color:l},{data:w,label:a,lines:{show:"bar"!=h,fill:S+""=="true"},points:{show:"bar"!=h},color:c}];if(_)C=[{data:b,label:r,lines:{show:"bar"!=h},points:{show:"bar"!=h},color:l},{data:w,label:a,lines:{show:"bar"!=h,fill:S+""=="true"},points:{show:"bar"!=h},color:c},{data:_,label:s,lines:{show:"bar"!=h,fill:O+""=="true"},points:{show:"bar"!=h},color:d}];var T={grid:{mouseActiveRadius:"pie"==h?0:30,hoverable:!0,clickable:!0,borderWidth:0,tickColor:"pie"==h?null:u,borderColor:"pie"==h?null:u},tooltip:!0,tooltipOpts:{content:function(e,t,n,i){return e+": <b>"+n+"</b>"},dateFormat:"%y-%0m-%0d",defaultTheme:!0},xaxis:{ticks:E,tickLength:5,mode:"time"},legend:{show:k+""=="true",noColumns:1,labelFormatter:null},series:{pie:{show:"pie"==h},bars:{show:"bar"==h,lineWidth:0,align:"center",barWidth:.5},lines:{show:"bar"!=h,lineWidth:1,fill:!0,fillColor:{colors:[{opacity:.1},{opacity:.15}]}},shadowSize:0,highlightColor:.5},selection:{mode:"x"}};p?e.SOW.vendor.flot.flotAjax(t,o,T):window[o]=jQuery.plot(t,C,T)}else window[o]=jQuery.plot(t,x,{grid:{hoverable:!0,clickable:!0},series:{pie:{show:!0},lines:{show:!0},shadowSize:0,highlightColor:.5},legend:{show:k+""!="false",noColumns:1,labelFormatter:null},tooltip:!0,tooltipOpts:{content:function(e,t,n,i){return e+": <b>"+n+"</b>"},dateFormat:"%y-%0m-%0d",defaultTheme:!0}});else window[o]=jQuery.plot(t,flot_custom[n],flot_custom[i])}},flotAjax:function(t,n,i){var o=t.data("ajax-method")||e.SOW.vendor.flot.config.method,r=t.data("ajax-dataType")||e.SOW.vendor.flot.config.dataType,a=t.data("ajax-url")||"",s=t.data("ajax-params")||"",l=t.data("id")||"",c=t.data("ajax-update-interval")||0,d=e.SOW.vendor.flot.config.data_params;if(""!=a){if(""!=s)for(var u=e.SOW.helper.params_parse(s),h=0;h<u.length;++h)d[u[h][0]]=u[h][1];d.id=l,jQuery.ajax({url:a,data:d,type:o,contentType:e.SOW.vendor.flot.config.contentType,dataType:r,headers:e.SOW.vendor.flot.config.headers,crossDomain:e.SOW.vendor.flot.config.crossDomain,cache:!1,beforeSend:function(){e.SOW.helper.consoleLog(a)},error:function(t,n,i){"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","404 Error","Unexpected Internal error!","top-center",0,!0):alert("[404] Unexpected internal error!")},success:function(o){for(var r=[],a=0;a<o.length;a++)r.push(o[a]);window[n]=jQuery.plot(t,r,i),Number(c)<1||setTimeout((function(){e.SOW.vendor.flot.flotAjax(t,n,i)}),Number(c))}})}},btnSave_bind:function(e){jQuery("a.flot-save:not(.js-plotified)").addClass("js-plotified").on("click",(function(e){e.preventDefault();var t=jQuery(this),n=t.attr("data-flot-id")||"null",i=t.attr("data-file-name")||"graph";window[n].getCanvas().toBlob((function(e){saveAs(e,i+".png")}))}))}}}(jQuery),function(e){"use strict";var t="Vendor Easypie Chart";e.SOW.vendor.easypie={config:{},collection:e(),init:function(n,i){if(""!=n&&jQuery(n).length<1)return null;if(!jQuery().easyPieChart){var o=e.SOW.helper.vendorLogicPaths("easypie");return""==o.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([o.path_js],!1,!0).done((function(){return jQuery().easyPieChart?(e.SOW.vendor.easypie.init(n,i),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(i);return this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vend
2or.easypie.process(e(this))})):(e.SOW.vendor.easypie.process(e(".easypie")),e(".easypie"))},process:function(e){e.easyPieChart({})}}}(jQuery),function(e){"use strict";var t="Vendor Sparkline Chart";e.SOW.vendor.sparkline={config:{},collection:e(),init:function(n,i){var o=e.SOW.helper.__selector(n),r=e.SOW.helper.check_var(i);if(this.selector=o[0],this.collection=o[1],this.selector_orig=o[2],this.config=null!==r?e.extend({},this.config,r):this.config,""!=this.selector&&jQuery(this.selector).length<1)return null;if(!jQuery().sparkline){var a=e.SOW.helper.vendorLogicPaths("sparkline");return""==a.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([a.path_js],!1,!0).done((function(){return jQuery().sparkline?(e.SOW.vendor.sparkline.init(n,i),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}return e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.sparkline.process(e(this))})):(e.SOW.vendor.sparkline.process(e(".sparkline")),e(".sparkline"))},process:function(e){e.hasClass("js-spaklineified")||e.addClass("js-spaklineified").sparkline("html",{enableTagOptions:!0,tagOptionPrefix:"spark",disableHiddenCheck:!0})}}}(jQuery),function(e){"use strict";e.SOW.vendor.chartjs={config:{data:{datasets:[]},options:{responsive:!0,maintainAspectRatio:!1,hover:{mode:"index"},legend:{display:!0,position:"top",rtl:"rtl"==e.SOW.globals.direction},elements:{point:{radius:3}},scales:{xAxes:[{display:!0,scaleLabel:{display:!1,labelString:"",fontSize:14},ticks:{display:!0,beginAtZero:!0,fontColor:"#999999",fontSize:13,padding:10},gridLines:!0}],yAxes:[{display:!0,scaleLabel:{display:!1,labelString:"",fontSize:14},gridLines:{color:"#dddddd",borderDash:[2,3],zeroLineBorderDash:[2,3],zeroLineWidth:1},ticks:{max:50,stepSize:10,display:!0,beginAtZero:!0,fontColor:"#999999",fontSize:13,padding:10}}]},title:{display:!1,text:"",fontSize:16},tooltips:{enabled:!0,intersect:!1,mode:"nearest",bodySpacing:5,yPadding:10,xPadding:15,caretPadding:0,displayColors:!1,backgroundColor:"#121212",titleFontColor:"#ffffff",cornerRadius:4,footerSpacing:0,titleSpacing:0,rtl:"rtl"==e.SOW.globals.direction},layout:{padding:{left:0,right:0,top:0,bottom:0}}}},collection:e(),init:function(t,n){var i=e.SOW.helper.__selector(t),o=e.SOW.helper.check_var(n);if(this.selector=i[0],this.collection=i[1],this.selector_orig=i[2],this.config=null!==o?e.extend({},this.config,o):this.config,""!=this.selector&&jQuery(this.selector).length<1)return null;if("function"!=typeof Chart){var r=e.SOW.helper.vendorLogicPaths("chartjs");return""==r.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Chart.js"),null):(e.SOW.helper.loadScript([r.path_js],!1,!0).done((function(){return"function"!=typeof Chart?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Chart.js"),null):(e.SOW.vendor.chartjs.init(t,n),null)})),null)}return e.SOW.helper.consoleLog("Init : Vendor Chart.js"),e.SOW.vendor.chartjs.btnSave_bind(),this.selector?this.collection.each((function(){e.SOW.vendor.chartjs.process(e(this))})):(e.SOW.vendor.chartjs.process(e(".chartjs")),e(".chartjs"))},process:function(t){if(!t.hasClass("js-chartjsified")){t.addClass("js-chartjsified");var n=t.attr("id")||"",i=(t.data("quick"),t.data("chartjs")||""),o=t.data("custom")||"",r=t.data("chartjs-type")||"line",a=t.data("chartjs-labels")||"",s=t.attr("data-chartjs-grid")||"true",l=t.attr("data-chartjs-dots")||"true",c=t.attr("data-chartjs-tooltip")||"true",d=t.data("chartjs-title")||"",u=t.data("chartjs-xaxes-label")||"",h=t.data("chartjs-line-width")||"",p=t.data("chartjs-yaxes-label")||"",f=t.attr("data-chartjs-legend")||"true",m=t.data("chartjs-datasets")||"";if(""==n){n="rand_"+e.SOW.helper.randomStr(4,"N");t.attr("id",n)}var g="object"==typeof window[o]?window[o]:{},v="object"==typeof i?i:g;if(Chart.Legend.prototype.afterFit=function(){this.height=this.height+30},"object"==typeof m){var y={};if(y.type=r,"pie"!=y.type&&"doughnut"!=y.type){y.data={},y.options=e.SOW.vendor.chartjs.config.options,y.data.labels="object"==typeof a?a:null,y.data.datasets=m,y.options.scales.yAxes[0].ticks.max=0,y.options.legend.display=!0,f+""=="false"?y.options.legend.display=!1:f+""!="false"&&(f+""=="true"&&(f="top"),y.options.legend.position=f),y.options.title.display=!1,""!=d&&(y.options.title.display=!0,y.options.title.text=d),y.options.tooltips.enabled=!0,c+""=="false"&&(y.options.tooltips.enabled=!1),y.options.scales.xAxes[0].scaleLabel.display=!1,""!=u&&(y.options.scales.xAxes[0].scaleLabel.display=!0,y.options.scales.xAxes[0].scaleLabel.labelString=u),y.options.scales.yAxes[0].scaleLabel.display=!1,""!=p&&(y.options.scales.yAxes[0].scaleLabel.display=!0,y.options.scales.yAxes[0].scaleLabel.labelString=p),y.data.datasets[0].categoryPercentage=.35,y.data.datasets[0].barPercentage=.7,"bar"==y.type&&(y.data.datasets[0].categoryPercentage=.65,y.data.datasets[0].barPercentage=1),y.options.scales.xAxes[0].display=!0,y.options.scales.xAxes[0].gridLines=!0,y.options.scales.yAxes[0].display=!0,s+""=="false"?(y.options.scales.xAxes[0].display=!1,y.options.scales.xAxes[0].gridLines=!1,y.options.scales.yAxes[0].display=!1):s+""=="xAxes"?(y.options.scales.xAxes[0].display=!0,y.options.scales.xAxes[0].gridLines=!0,y.options.scales.yAxes[0].display=!1):s+""=="yAxes"&&(y.options.scales.xAxes[0].display=!1,y.options.scales.xAxes[0].gridLines=!1,y.options.scales.yAxes[0].display=!0);for(var b=0;b<y.data.datasets.length;b++){for(var w=0;w<y.data.datasets[b].data.length;w++)y.data.datasets[b].data[w]>y.options.scales.yAxes[0].ticks.max&&(y.options.scales.yAxes[0].ticks.max=y.data.datasets[b].data[w]+10);y.data.datasets[b].borderColor=y.data.datasets[b].backgroundColor,y.data.datasets[b].pointHoverRadius=4,y.data.datasets[b].pointHoverBorderWidth=12,y.data.datasets[b].borderWidth=1,y.data.datasets[b].pointBackgroun
2dColor=y.data.datasets[b].backgroundColor,y.data.datasets[b].pointBorderColor=y.data.datasets[b].backgroundColor,y.data.datasets[b].pointHoverBorderColor=y.data.datasets[b].backgroundColor,l+""=="false"&&!0===y.data.datasets[b].fill&&(y.data.datasets[b].pointBackgroundColor="rgba(133, 133, 145, 0)",y.data.datasets[b].pointBorderColor="rgba(133, 133, 145, 0)",y.data.datasets[b].pointHoverBackgroundColor="rgba(133, 133, 145, 0)",y.data.datasets[b].pointHoverBorderColor="rgba(133, 133, 145, 0)",y.data.datasets[b].borderWidth=0,y.data.datasets[b].borderColor="rgba(133, 133, 145, 0)",y.options.elements.point.radius=0),l+""=="false"&&(y.options.elements.point.radius=0),!1===y.data.datasets[b].fill&&(y.data.datasets[b].borderWidth=""!=h?Number(h):3)}v=y}else if("pie"==y.type||"doughnut"==y.type){var _=[],S=[],O=[];for(b=0;b<m.length;b++)_.push(m[b][1]),S.push(m[b][2]),O.push(m[b][0]);v={type:y.type,legend:{display:!1,position:"top"},data:{datasets:[{data:_,backgroundColor:S,label:"Dataset 1"}],labels:O},options:{responsive:!0,maintainAspectRatio:!0,legend:{display:f+""!="false",position:f+""!="false"?f:"top"},tooltips:{enabled:c+""!="false",intersect:!1,mode:"nearest",bodySpacing:5,yPadding:10,xPadding:15,caretPadding:0,displayColors:!1,backgroundColor:"#121212",titleFontColor:"#ffffff",cornerRadius:4,footerSpacing:0,titleSpacing:0},title:{display:""!=d,text:d,fontSize:16}}}}}"smartyBarSimple"==n&&console.log(v);var x=document.getElementById(n).getContext("2d");window[n]=new Chart(x,v)}},btnSave_bind:function(){jQuery("a.chartjs-save:not(.js-chartjsified)").addClass("js-chartjsified").on("click",(function(t){t.preventDefault();var n=jQuery(this),i=n.attr("data-chartjs-id")||"null",o=n.attr("data-file-name")||"graph",r=document.getElementById(i);e.SOW.vendor.chartjs.fillCanvasBackgroundWithColor(r,"white"),r.toBlob((function(e){saveAs(e,o+".png")}))}))},fillCanvasBackgroundWithColor:function(e,t){const n=e.getContext("2d");n.save(),n.globalCompositeOperation="destination-over",n.fillStyle=t,n.fillRect(0,0,e.width,e.height),n.restore()}}}(jQuery),function(e){"use strict";var t="Vendor Medium Editor",n=[];e.SOW.vendor.mediumeditor={config:{},collection:e(),init:function(n,i){if(""!=n&&jQuery(n).length<1)return null;if("function"!=typeof MediumEditor){var o=e.SOW.helper.vendorLogicPaths("mediumeditor");return""==o.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([o.path_js],!1,!0).done((function(){return"function"!=typeof MediumEditor?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.mediumeditor.init(n,i),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(i);return this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.mediumeditor.process(e(this))})):(e.SOW.vendor.mediumeditor.process(e(".medium-editor")),e(".medium-editor"))},process:function(t){if(!t.hasClass("js-mediumified")){if(t.attr("required")){var i=t.parents("form.bs-validate");i.length>0&&i.submit((function(){""==t.val()?t.parent().find("div.medium-editor").addClass("is-invalid"):t.parent().find("div.medium-editor").removeClass("is-invalid").addClass("is-valid")}))}var o=t.attr("id")||"",r=t.data("lng-save")||"Save",a=t.data("lng-clear")||"Clear",s=t.data("lng-cancel")||"Cancel",l=t.data("lng-link")||"Paste or type a link",c=t.attr("data-btn-picker")||"true",d=t.attr("data-btn-bold")||"true",u=t.attr("data-btn-italic")||"true",h=t.attr("data-btn-underline")||"true",p=t.attr("data-btn-link")||"true",f=t.attr("data-btn-h1")||"true",m=t.attr("data-btn-h2")||"true",g=t.attr("data-btn-h3")||"true",v=t.attr("data-btn-h4")||"true",y=t.attr("data-btn-h5")||"true",b=t.attr("data-btn-h6")||"true",w=t.attr("data-btn-unordered")||"true",_=t.attr("data-btn-ordered")||"true";if(""==o){o="rand_"+e.SOW.helper.randomStr(3);t.attr("id",o)}if(t.addClass("js-mediumified"),n[o],"object"!=typeof e.SOW.vendor.colorpicker)c="false";if(c+""=="true"){var S;
2if("function"!=typeof Pickr)var O=e.SOW.vendor.colorpicker.forceInit();var x=new(MediumEditor.extensions.button.extend({name:"colorPicker",action:"applyForeColor",aria:"color picker",contentDefault:'<i class="fi mdi-format_color_fill"></i>',init:function(){this.button=this.document.createElement("button"),this.button.classList.add("medium-editor-action"),this.button.innerHTML='<i class="fi mdi-format_color_fill"></i>',this.button,this.on(this.button,"click",this.handleClick.bind(this))},handleClick:function(e){S=n[o].exportSelection(),jQuery(this.button).prepend('<span class="'+O+'"></span>'),setTimeout((function(){window[o]=Pickr.create({el:"."+O,theme:"nano",default:void 0!==window[o].lastColor?window[o].lastColor:"#121212",showAlways:!0,inline:!1,position:"bottom-middle",useAsButton:!0,defaultRepresentation:"HEXA",closeWithKey:"Escape",autoReposition:!0,swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 1)","rgba(156, 39, 176, 1)","rgba(103, 58, 183, 1)","rgba(63, 81, 181, 1)","rgba(33, 150, 243, 1)","rgba(3, 169, 244, 1)","rgba(0, 188, 212, 1)","rgba(0, 150, 136, 1)","rgba(76, 175, 80, 1)","rgba(139, 195, 74, 1)","rgba(205, 220, 57, 1)","rgba(255, 235, 59, 1)","rgba(255, 193, 7, 1)"],components:{palette:!0,preview:!0,opacity:!0,hue:!0,interaction:{hex:!0,rgba:!0,hsla:!1,hsva:!1,cmyk:!1,input:!0,clear:!0,save:!0}},strings:{save:r,clear:a,cancel:s}}).on("init",e=>{jQuery(".pcr-result, .pcr-type, .pcr-save, .pcr-clear").addClass("rounded")}).on("hide",e=>{}).on("show",(e,t)=>{jQuery(".pcr-app:not(.pcr-save):not(.pcr-cancel):not(.pcr-clear)").on("click",(function(e){e.preventDefault(),e.stopPropagation()})),jQuery(document).on("click",(function(){window[o].hide()}))}).on("save",(e,t)=>{window[o].getColor().toHEXA().join(",");var n=window[o].getColor().toHEXA().toString();k(n),window[o].lastColor=n,window[o].hide()}).on("clear",e=>{k("")}).on("change",(e,t)=>{}).on("changestop",e=>{}).on("cancel",e=>{}).on("swatchselect",(e,t)=>{})}),100),e.preventDefault(),e.stopPropagation();var t=this.getAction();t&&this.execAction(t)}}));function k(e){var t=e;x.base.importSelection(S),x.document.execCommand("styleWithCSS",!1,!0),""==e?x.document.execCommand("RemoveFormat"):x.document.execCommand("foreColor",!1,t)}}var E=[{name:"colorPicker"}];d+""=="true"&&E.push({name:"bold",contentDefault:"<b>B</b>"}),u+""=="true"&&E.push({name:"italic",contentDefault:"<i>I</i>"}),h+""=="true"&&E.push({name:"underline",contentDefault:"<u>U</u>"}),p+""=="true"&&E.push({name:"anchor",contentDefault:'<i class="fi fi-link"></i>'}),f+""=="true"&&E.push("h1"),m+""=="true"&&E.push("h2"),g+""=="true"&&E.push("h3"),v+""=="true"&&E.push("h4"),y+""=="true"&&E.push("h5"),b+""=="true"&&E.push("h6"),w+""=="true"&&E.push({name:"unorderedlist",contentDefault:'<i class="fi mdi-format_list_bulleted"></i>'}),_+""=="true"&&E.push({name:"orderedlist",contentDefault:'<i class="fi mdi-format_list_numbered"></i>'});var C={autoLink:!0,imageDragging:!1,targetBlank:!1,anchor:{linkValidation:!1,targetCheckbox:!1,placeholderText:l,targetCheckboxText:"Open in new window"},anchorPreview:{hideDelay:300},toolbar:{buttons:E},extensions:{colorPicker:c+""=="true"?x:null}};if(jQuery(".modal.show").length>0){if(""==(T=jQuery(".modal.show").attr("id")||"")){var T="rand_"+e.SOW.helper.randomStr(3);jQuery(".modal.show").attr("id",T)}C.elementsContainer=document.getElementById(T)}n[o]=new MediumEditor(this.selector_orig,C)}}}}(jQuery),function(e){"use strict";var t="Vendor Markdown Editor",n=[];e.SOW.vendor.markdowneditor={config:{},collection:e(),init:function(n,i){if(""!=n&&jQuery(n).length<1)return null;if("function"!=typeof EasyMDE){var o=e.SOW.helper.vendorLogicPaths("markdowneditor");return""==o.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([o.path_js],!1,!0).done((function(){return"function"!=typeof EasyMDE?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.vendor.markdowneditor.init(n,i),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(i);return this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vend
2or.markdowneditor.process(e(this))})):(e.SOW.vendor.markdowneditor.process(e(".markdown-editor")),e(".markdown-editor"))},process:function(t){if(!t.hasClass("js-markdownified")){var i=t.attr("id")||"",o=t.data("toolbar")||"",r=t.data("status")||"",a=t.data("autosaved-ignore-if-content-present")||"false",s=t.data("lng-placeholder")||"",l=t.data("lng-prompt-url")||"Type your URL:",c=t.attr("data-min-height")||"500px",d=t.attr("data-autofocus")||"false",u=t.attr("data-spellcheck")||"false",h=t.attr("data-autosave")||"false",p=t.attr("data-autosave-delay")||1e3,f=t.attr("data-prompt-urls")||"true",m=t.val()||"";if(""==i){i="rand_"+e.SOW.helper.randomStr(3);t.attr("id",i)}t.addClass("js-markdownified"),n[i],n[i]=new EasyMDE({element:document.getElementById(i),autoDownloadFontAwesome:!0,forceSync:!0,autofocus:d+""=="true",autosave:{enabled:h+""=="true",uniqueId:"MESaved_"+i,delay:Number(p)},minHeight:c,spellChecker:u+""=="true",showIcons:!1,status:"object"==typeof r&&r,placeholder:s,toolbar:"object"==typeof o?o:["bold","italic","strikethrough","|","heading-1","heading-2","heading-3","|","image","link","|","unordered-list","ordered-list","quote","|","preview"],promptURLs:f+""=="true",promptTexts:{image:l,link:l}}),m.length>0&&a+""=="true"&&(n[i].value(m),t.val(m))}}}}(jQuery),function(e){"use strict";var t="Vendor Summernote Editor",n=[];e.SOW.vendor.summernoteeditor={config:{},collection:e(),init:function(n,i){if(""!=n&&jQuery(n).length<1)return null;if(!jQuery().summernote){var o=e.SOW.helper.vendorLogicPaths("summernoteeditor");return""==o.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([o.path_js],!1,!0).done((function(){return jQuery().summernote?(e.SOW.vendor.summernoteeditor.init(n,i),null):(e.SOW.helper.consoleLog("Vendor Missing : "+t),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(i);return this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),this.selector?this.collection.each((function(){e.SOW.vendor.summernoteeditor.process(e(this))})):(e.SOW.vendor.summernoteeditor.process(e(".summernote-editor")),e(".summernote-editor"))},process:function(t){if(!t.hasClass("js-summernotefied")){var i=t.attr("id")||"",o=t.data("placeholder")||"Type here...",r=t.data("min-height")||300,a=t.data("max-height")||1500,s=t.attr("data-focus")||"true",l=t.data("lang")||"en-US",c=t.data("ajax-url")||"",d=t.data("ajax-params")||"",u=t.data("toolbar")||"";if(""==i){i="rand_"+e.SOW.helper.randomStr(3);t.attr("id",i)}n[i],n[i]=t.addClass("js-summernotefied").summernote({placeholder:o,minHeight:r,maxHeight:a,focus:s+""=="true",lang:""!=l?l:"en-US",toolbar:"object"==typeof u?u:null,popover:{image:[],link:[],air:[]},callbacks:{onImageUpload:""!=c?function(t,n,i){for(var o=t.length-1;o>=0;o--)e.SOW.vendor.summernoteeditor.ajaxUpload(c,t[o],this,d)}:null}})}},ajaxUpload:function(t,n,i,o){if(""!=t){var r=new FormData;if(r.append("file",n),r.append("ajax","true"),o&&""!=o)for(var a=e.SOW.helper.params_parse(o),s=0;s<a.length;++s)r.append(a[s][0],a[s][1]);e.ajax({url:t,cache:!1,contentType:!1,processData:!1,data:r,type:"POST",beforeSend:function(){},error:function(t){e.SOW.helper.consoleLog(t),"object"==typeof e.SOW.core.toast?e.SOW.core.toast.show("danger","","404 Server Error!","center-top",4e3,!0):alert("404 Server Error!")},success:function(t){e.SOW.helper.consoleLog(t),e(i).summernote("editor.insertImage",t)}})}else e.SOW.helper.consoleLog("Summernote: Upload URL not provided!")}}}(jQuery),function(e){"use strict";var t=[];e.SOW.vendor.datatables={config:{},collection:e(),init:function(t,n){var i=e.SOW.helper.__selector(t),o=e.SOW.helper.check_var(n);if(this.selector=i[0],this.collection=i[1],this.selector_orig=i[2],this.config=null!==o?e.extend({},this.config,o):this.config,""!=t&&jQuery(this.selector).length<1)return null;if(!jQuery().DataTable){var r=e.SOW.helper.vendorLogicPaths("datatables");return""==r.path_js?(e.SOW.helper.consoleLog("Vendor Missing : Vendor Datatables"),null):(e.SOW.helper.loadScript([r.path_js],!1,!0).done((function(){return jQuery().DataTable?(e.SOW.vend
2or.datatables.init(t,n),null):(e.SOW.helper.consoleLog("Vendor Missing : Vendor Datatables"),null)})),null)}return e.SOW.helper.consoleLog("Init : Vendor Datatables"),e.SOW.vendor.datatables.miscOptions(),this.selector?this.collection.each((function(){e.SOW.vendor.datatables.process(e(this))})):(e.SOW.vendor.datatables.process(e(".table-datatable")),e(".table-datatable"))},process:function(n){if(!n.hasClass("js-datatableified")){var i=n.attr("id")||"",o=n.data("lng-empty")||"No data available in table",r=n.data("lng-page-info")||"Showing _START_ to _END_ of _TOTAL_ entries",a=(n.data("lng-filtered"),n.data("lng-loading")||"Loading..."),s=n.data("lng-processing")||"Processing...",l=n.data("lng-search")||"Search...",c=n.data("lng-norecords")||"No matching records found",d=n.data("lng-sort-ascending")||": activate to sort column ascending",u=n.data("lng-sort-descending")||": activate to sort column descending",h=n.data("lng-column-visibility")||"Column Visibility",p=n.data("lng-export")||'<i class="fi fi-squared-dots fs--18 line-height-1"></i>',f=n.data("lng-csv")||"CSV",m=n.data("lng-pdf")||"PDF",g=n.data("lng-xls")||"XLS",v=n.data("lng-copy")||"Copy",y=n.data("lng-print")||"Print",b=n.data("lng-all")||"All",w=n.attr("data-column-search")||"false",_=n.attr("data-row-reorder")||"false",S=n.attr("data-col-reorder")||"false",O=n.attr("data-responsive")||"true",x=n.attr("data-header-fixed")||"false",k=n.attr("data-select-onclick")||"false",E=n.attr("data-main-search")||"true",C=n.attr("data-enable-paging")||"true",T=n.attr("data-enable-col-sorting")||"true",D=n.attr("data-autofill")||"false",I=n.attr("data-group")||"false",j=n.attr("data-custom")||"false",A=n.attr("data-items-per-page")||15;if(n.addClass("js-datatableified"),""==i){i="rand_"+e.SOW.helper.randomStr(3);n.attr("id",i)}if(t[i],j+""!="true"){w+""=="true"&&!1===e.SOW.globals.is_mobile&&(jQuery("#"+i+" thead tr").clone(!0).appendTo("#"+i+" thead"),jQuery("#"+i+" thead tr:eq(1) th").each((function(e){jQuery(this).text();jQuery(this).html('<input type="text" class="form-control form-control-sm" placeholder="'+l+'" />'),jQuery("input",this).on("keyup change",(function(){t[i].column(e).search()!==this.value&&t[i].column(e).search(this.value).draw()}))})));var W={rowReorder:_+""=="true"&&{selector:"tr td:not(:first-child)"},colReorder:S+""=="true",fixedHeader:x+""=="true",select:k+""=="true",orderCellsTop:!0,ordering:T+""=="true",paging:C+""=="true",searching:E+""=="true",pageLength:Number(A),lengthMenu:[[10,15,30,50,100,-1],[10,15,30,50,100,b]],autoFill:D+""!="false"&&{focus:D},oLanguage:{oAria:{sSortAscending:d||"",sSortDescending:u||""},oPaginate:{sFirst:'<i class="fi fi-arrow-start-full fs--13"></i>',sLast:'<i class="fi fi-arrow-end-full fs--13"></i>',sNext:'<i class="fi fi-arrow-end fs--13"></i>',sPrevious:'<i class="fi fi-arrow-start fs--13"></i>'},sEmptyTable:o||"",sInfo:r||"",sInfoEmpty:"",sInfoFiltered:"",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"_MENU_",sLoadingRecords:a||"",sProcessing:s||"",sSearch:"",sSearchPlaceholder:l||"",sUrl:"",sZeroRecords:c||""},dom:"<'row mb-3'<'col-sm-12 col-md-6 d-flex align-items-center justify-content-start'f l><'col-sm-12 col-md-6 d-flex align-items-center justify-content-end'B>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",buttons:[{extend:"colvis",text:h,titleAttr:h,className:"btn-sm btn-light"},{extend:"collection",text:p,className:"btn-sm btn-light pt--6 pb--6",buttons:[{extend:"csvHtml5",text:f},{extend:"pdfHtml5",text:m},{extend:"excelHtml5",text:g},{extend:"copyHtml5",text:v},{extend:"print",text:y}]}]};I+""=="true"&&(W.pageLength=15,W.order=[[2,"desc"]],W.rowGroup={dataSrc:2}),O+""=="true"?W.responsive=!0:O+""=="extended"&&(W.responsive={details:{display:e.fn.dataTable.Responsive.display.modal({header:function(e){var t=e.data();return"Details for "+t[0]+" "+t[1]}}),renderer:e.fn.dataTable.Responsive.renderer.tableAll({tableClass:"table table-responsive"})}});var M=e.SOW.helper.vendorLogicPaths("datatables");""!=M.path_js&&(M.path_js=M.path_js.replace("datatables.min","pdfmake.min"),e.SOW.helper.loadScript([M.path_js],!1,!0).done((function(){t[i]=n.DataTable(W),e.SOW.vend
2or.datatables.clickEvents(t[i])})))}}},clickEvents:function(e){if(!t)var t=jQuery("#event_log");e.on("key",(function(e,n,i,o,r){t.prepend('<div class="clearfix"><span class="badge badge-warning">Key press</span>&nbsp; '+i+" &bull; "+o.data()+"</div>")})).on("key-focus",(function(e,n,i){t.prepend('<div class="clearfix"><span class="badge badge-primary">Item click</span>&nbsp; '+i.data()+"</div>")})).on("key-blur",(function(e,n,i){t.prepend('<div class="clearfix"><span class="badge badge-light">Item blur</span>&nbsp; '+i.data()+"</div>")}))},miscOptions:function(){var t=e.SOW.globals.elHeader.outerHeight();e("head").append('<style type="text/css">body.header-fixed table.dataTable.fixedHeader-floating { top: '+t+"px !important; }</style>")}}}(jQuery),function(e){"use strict";var t="Vendor Prism [Code Highlighter]";e.SOW.vendor.prismjs={config:{NormalizeWhitespace:{"remove-trailing":!1,"remove-indent":!1,"left-trim":!1,"right-trim":!1,indent:0,"remove-initial-line-feed":!1,"tabs-to-spaces":2,"spaces-to-tabs":2}},collection:e(),init:function(n,i){if(""!=n&&jQuery(n).length<1)return null;if("object"!=typeof Prism){window.Prism=window.Prism||{},window.Prism.manual=!0;var o=e.SOW.helper.vendorLogicPaths("prismjs");return""==o.path_js?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(e.SOW.helper.loadScript([o.path_js],!1,!0).done((function(){return"object"!=typeof Prism?(e.SOW.helper.consoleLog("Vendor Missing : "+t),null):(Prism.plugins.NormalizeWhitespace.setDefaults(e.SOW.vendor.prismjs.config.NormalizeWhitespace),e.SOW.vendor.prismjs.init(n,i),null)})),null)}var r=e.SOW.helper.__selector(n),a=e.SOW.helper.check_var(i);this.selector=r[0],this.collection=r[1],this.selector_orig=r[2],this.config=null!==a?e.extend({},this.config,a):this.config,e.SOW.helper.consoleLog("Init : "+t),e.SOW.vendor.prismjs.process()},process:function(){jQuery("pre.xdebug-var-dump").addClass("language-php"),Prism.highlightAll()}}}(jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,(function(){"use strict";var e,t;function n(){return e.apply(null,arguments)}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function r(e){return void 0===e}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,i){return jt(e,t,n,i,!0).utc()}function h(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var n=h(e),i=t.call(n.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidMonth&&!n.invalidWeekday&&!n.weekdayMismatch&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&i);if(e._strict&&(o=o&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function f(e){var t=u(NaN);return null!=e?d(h(t),e):h(t).userInvalidated=!0,t}t=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var m=n.momentProperties=[];function g(e,t){var n,i,o;if(r(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),r(t._i)||(e._i=t._i),r(t._f)||(e._f=t._f),r(t._l)||(e._l=t._l),r(t._strict)||(e._strict=t._strict),r(t._tzm)||(e._tzm=t._tzm),r(t._isUTC)||(e._isUTC=t._isUTC),r(t._offset)||(e._offset=t._offset),r(t._pf)||(e._pf=h(t)),r(t._locale)||(e._locale=t._locale),m.length>0)for(n=0;n<m.length;n++)r(o=t[i=m[n]])||(e[i]=o);return e}var v=!1;function y(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===v&&(v=!0,n.updateOffset(this),v=!1)}function b(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}
vendor: 11,446 bytes, line 2
2function S(e,t,n){var i,o=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),a=0;for(i=0;i<o;i++)(n&&e[i]!==t[i]||!n&&_(e[i])!==_(t[i]))&&a++;return a+r}function O(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var i=!0;return d((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),i){for(var o,r=[],a=0;a<arguments.length;a++){if(o="","object"==typeof arguments[a]){for(var s in o+="\n["+a+"] ",arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[a];r.push(o)}O(e+"\nArguments: "+Array.prototype.slice.call(r).join("")+"\n"+(new Error).stack),i=!1}return t.apply(this,arguments)}),t)}var k,E={};function C(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),E[e]||(O(t),E[e]=!0)}function T(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function D(e,t){var n,i=d({},e);for(n in t)c(t,n)&&(o(e[n])&&o(t[n])?(i[n]={},d(i[n],e[n]),d(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)c(e,n)&&!c(t,n)&&o(e[n])&&(i[n]=d({},i[n]));return i}function I(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var j={};function A(e,t){var n=e.toLowerCase();j[n]=j[n+"s"]=j[t]=e}function W(e){return"string"==typeof e?j[e]||j[e.toLowerCase()]:void 0}function M(e){var t,n,i={};for(n in e)c(e,n)&&(t=W(n))&&(i[t]=e[n]);return i}var L={};function N(e,t){L[e]=t}function P(e,t,n){var i=""+Math.abs(e),o=t-i.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+i}var H=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,$={},Y={};function V(e,t,n,i){var o=i;"string"==typeof i&&(o=function(){return this[i]()}),e&&(Y[e]=o),t&&(Y[t[0]]=function(){return P(o.apply(this,arguments),t[1],t[2])}),n&&(Y[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=z(t,e.localeData()),$[t]=$[t]||function(e){var t,n,i,o=e.match(H);for(t=0,n=o.length;t<n;t++)Y[o[t]]?o[t]=Y[o[t]]:o[t]=(i=o[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,r="";for(i=0;i<n;i++)r+=T(o[i])?o[i].call(t,e):o[i];return r}}(t),$[t](e)):e.localeData().invalidDate()}function z(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;n>=0&&R.test(e);)e=e.replace(R,i),R.lastIndex=0,n-=1;return e}var Q=/\d/,B=/\d\d/,U=/\d{3}/,G=/\d{4}/,q=/[+-]?\d{6}/,X=/\d\d?/,K=/\d\d\d\d?/,Z=/\d\d\d\d\d\d?/,J=/\d{1,3}/,ee=/\d{1,4}/,te=/[+-]?\d{1,6}/,ne=/\d+/,ie=/[+-]?\d+/,oe=/Z|[+-]\d\d:?\d\d/gi,re=/Z|[+-]\d\d(?::?\d\d)?/gi,ae=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,se={};function le(e,t,n){se[e]=T(t)?t:function(e,i){return e&&n?n:t}}function ce(e,t){return c(se,e)?se[e](t._strict,t._locale):new RegExp(de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,i,o){return t||n||i||o}))))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ue={};function he(e,t){var n,i=t;for("string"==typeof e&&(e=[e]),a(t)&&(i=function(e,n){n[t]=_(e)}),n=0;n<e.length;n++)ue[e[n]]=i}function pe(e,t){he(e,(function(e,n,i,o){i._w=i._w||{},t(e,i._w,i,o)}))}function fe(e,t,n){null!=t&&c(ue,e)&&ue[e](t,n._a,n,e)}var me=0,ge=1,ve=2,ye=3,be=4,we=5,_e=6,Se=7,Oe=8;function xe(e){return ke(e)?366:365}function ke(e){return e%4==0&&e%100!=0||e%400==0}V("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),V(0,["YY",2],0,(function(){return this.year()%100})),V(0,["YYYY",4],0,"year"),V(0,["YYYYY",5],0,"year"),V(0,["YYYYYY",6,!0],0,"year"),A("year","y"),N("year",1),le("Y",ie),le("YY",X,B),le("YYYY",ee,G),le("YYYYY",te,q),le("YYYYYY",te,q),he(["YYYYY","YYYYYY"],me),he("YYYY",(function(e,t){t[me]=2===e.length?n.parseTwoDigitYear(e):_(e)})),he("YY",(function(e,t){t[me]=n.parseTwoDigitYear(e)})),he("Y",(function(e,t){t[me]=parseInt(e,10)})),n.parseTwoDigitYear=function(e){return _(e)+(_(e)>68?1900:2e3)};var Ee,Ce=Te("FullYear",!0);function Te(e,t){return function(i){return null!=i?(Ie(this,e,i),n.updateOffset(this,t),this):De(this,e)}}function De(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ie(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ke(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),je(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function je(e,t){if(isNaN(e)||isNaN(t))return NaN;var n,i=(t%(n=12)+n)%n;return e+=(t-i)/12,1===i?ke(e)?29:28:31-i%7%2}Ee=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},V("M",["MM",2],"Mo",(function(){return this.month()+1})),V("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),V("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),A("month","M"),N("month",8),le("M",X),le("MM",X,B),le("MMM",(function(e,t){return t.monthsShortRegex(e)})),le("MMMM",(function(e,t){return t.monthsRegex(e)})),he(["M","MM"],(function(e,t){t[ge]=_(e)-1})),he(["MMM","MMMM"],(function(e,t,n,i){var o=n._locale.monthsParse(e,i,n._strict);null!=o?t[ge]=o:h(n).invalidMonth=e}));var Ae=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,We="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Me="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Le(e,t,n){var i,o,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)r=u([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=Ee.call(this._shortMonthsParse,a))?o:null:-1!==(o=Ee.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=Ee.call(this._shortMonthsParse,a))?o:-1!==(o=Ee.call(this._longMonthsParse,a))?o:null:-1!==(o=Ee.call(this._longMonthsParse,a))?o:-1!==(o=Ee.call(this._shortMonthsParse,a))?o:null}function Ne(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=_(t);else if(!a(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),je(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Pe(e){return null!=e?(Ne(this,e),n.updateOffset(this,!0),this):De(this,"Month")}var He=ae;var Re=ae;function $e(){function e(e,t){return t.length-e.length}var t,n,i=[],o=[],r=[];for(t=0;t<12;t++)n=u([2e3,t]),i.push(this.monthsShort(n,"")),o.push(this.months(n,"")),r.push(this.months(n,"")),r.push(this.monthsShort(n,""));for(i.sort(e),o.sort(e),r.sort(e),t=0;t<12;t++)i[t]=de(i[t]),o[t]=de(o[t]);for(t=0;t<24;t++)r[t]=de(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ye(e,t,n,i,o,r,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,o,r,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,o,r,a),s}function Ve(e){var t;if(e<100&&e>=0){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Fe(e,t,n){var i=7+t-n;return-((7+Ve(e,0,i).getUTCDay()-t)%7)+i-1}function ze(e,t,n,i,o){var r,a,s=1+7*(t-1)+(7+n-i)%7+Fe(e,i,o);return s<=0?a=xe(r=e-1)+s:s>xe(e)?(r=e+1,a=s-xe(e)):(r=e,a=s),{year:r,dayOfYear:a}}function Qe(e,t,n){var i,o,r=Fe(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?i=a+Be(o=e.year()-1,t,n):a>Be(e.year(),t,n)?(i=a-Be(e.year(),t,n),o=e.year()+1):(o=e.year(),i=a),{week:i,year:o}}function Be(e,t,n){var i=Fe(e,t,n),o=Fe(e+1,t,n);return(xe(e)-i+o)/7}V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),A("week","w"),A("isoWeek","W"),N("week",5),N("isoWeek",5),le("w",X),le("ww",X,B),le("W",X),le("WW",X,B),pe(["w","ww","W","WW"],(function(e,t,n,i){t[i.substr(0,1)]=_(e)}));function Ue(e,t){return e.slice(t,7).concat(e.slice(0,t))}V("d",0,"do","day"),V("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),V("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),V("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),A("day","d"),A("weekday","e"),A("isoWeekday","E"),N("day",11),N("weekday",11),N("isoWeekday",11),le("d",X),le("e",X),le("E",X),le("dd",(function(e,t){return t.weekdaysMinRegex(e)})),le("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),le("dddd",(function(e,t){return t.weekdaysRegex(e)})),pe(["dd","ddd","dddd"],(function(e,t,n,i){var o=n._locale.weekdaysParse(e,i,n._strict);null!=o?t.d=o:h(n).invalidWeekday=e})),pe(["d","e","E"],(function(e,t,n,i){t[i]=_(e)}));var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var qe="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Xe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ke(e,t,n){var i,o,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)r=u([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=Ee.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Ee.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=Ee.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=Ee.call(this._weekdaysParse,a))?o:-1!==(o=Ee.call(this._shortWeekdaysParse,a))?o:-1!==(o=Ee.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=Ee.call(this._shortWeekdaysParse,a))?o:-1!==(o=Ee.call(this._weekdaysParse,a))?o:-1!==(o=Ee.call(this._minWeekdaysParse,a))?o:null:-1!==(o=Ee.call(this._minWeekdaysParse,a))?o:-1!==(o=Ee.call(this._weekdaysParse,a))?o:-1!==(o=Ee.call(this._shortWeekdaysParse,a))?o:null}var Ze=ae;var Je=ae;var et=ae;function tt(){function e(e,t){return t.length-e.length}var t,n,i,o,r,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=u([2e3,1]).day(t),i=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),r=this.weekdays(n,""),a.push(i),s.push(o),l.push(r),c.push(i),c.push(o),c.push(r);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=de(s[t]),l[t]=de(l[t]),c[t]=de(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function nt(){return this.hours()%12||12}function it(e,t){V(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function ot(e,t){return t._meridiemParse}V("H",["HH",2],0,"hour"),V("h",["hh",2],0,nt),V("k",["kk",2],0,(function(){return this.hours()||24})),V("hmm",0,0,(function(){return""+nt.apply(this)+P(this.minutes(),2)}
vendor: 1,859 bytes, line 2
2)),V("hmmss",0,0,(function(){return""+nt.apply(this)+P(this.minutes(),2)+P(this.seconds(),2)})),V("Hmm",0,0,(function(){return""+this.hours()+P(this.minutes(),2)})),V("Hmmss",0,0,(function(){return""+this.hours()+P(this.minutes(),2)+P(this.seconds(),2)})),it("a",!0),it("A",!1),A("hour","h"),N("hour",13),le("a",ot),le("A",ot),le("H",X),le("h",X),le("k",X),le("HH",X,B),le("hh",X,B),le("kk",X,B),le("hmm",K),le("hmmss",Z),le("Hmm",K),le("Hmmss",Z),he(["H","HH"],ye),he(["k","kk"],(function(e,t,n){var i=_(e);t[ye]=24===i?0:i})),he(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),he(["h","hh"],(function(e,t,n){t[ye]=_(e),h(n).bigHour=!0})),he("hmm",(function(e,t,n){var i=e.length-2;t[ye]=_(e.substr(0,i)),t[be]=_(e.substr(i)),h(n).bigHour=!0})),he("hmmss",(function(e,t,n){var i=e.length-4,o=e.length-2;t[ye]=_(e.substr(0,i)),t[be]=_(e.substr(i,2)),t[we]=_(e.substr(o)),h(n).bigHour=!0})),he("Hmm",(function(e,t,n){var i=e.length-2;t[ye]=_(e.substr(0,i)),t[be]=_(e.substr(i))})),he("Hmmss",(function(e,t,n){var i=e.length-4,o=e.length-2;t[ye]=_(e.substr(0,i)),t[be]=_(e.substr(i,2)),t[we]=_(e.substr(o))}));var rt,at=Te("Hours",!0),st={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:We,monthsShort:Me,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:Xe,weekdaysShort:qe,meridiemParse:/[ap]\.?m?\.?/i},lt={}
vendor: 7,197 bytes, line 2
2,ct={};function dt(e){return e?e.toLowerCase().replace("_","-"):e}function ut(e){var t=null;if(!lt[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=rt._abbr,require("./locale/"+e),ht(t)}catch(e){}return lt[e]}function ht(e,t){var n;return e&&((n=r(t)?ft(e):pt(e,t))?rt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),rt._abbr}function pt(e,t){if(null!==t){var n,i=st;if(t.abbr=e,null!=lt[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=lt[e]._config;else if(null!=t.parentLocale)if(null!=lt[t.parentLocale])i=lt[t.parentLocale]._config;else{if(null==(n=ut(t.parentLocale)))return ct[t.parentLocale]||(ct[t.parentLocale]=[]),ct[t.parentLocale].push({name:e,config:t}),null;i=n._config}return lt[e]=new I(D(i,t)),ct[e]&&ct[e].forEach((function(e){pt(e.name,e.config)})),ht(e),lt[e]}return delete lt[e],null}function ft(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return rt;if(!i(e)){if(t=ut(e))return t;e=[e]}return function(e){for(var t,n,i,o,r=0;r<e.length;){for(t=(o=dt(e[r]).split("-")).length,n=(n=dt(e[r+1]))?n.split("-"):null;t>0;){if(i=ut(o.slice(0,t).join("-")))return i;if(n&&n.length>=t&&S(o,n,!0)>=t-1)break;t--}r++}return rt}(e)}function mt(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[ge]<0||n[ge]>11?ge:n[ve]<1||n[ve]>je(n[me],n[ge])?ve:n[ye]<0||n[ye]>24||24===n[ye]&&(0!==n[be]||0!==n[we]||0!==n[_e])?ye:n[be]<0||n[be]>59?be:n[we]<0||n[we]>59?we:n[_e]<0||n[_e]>999?_e:-1,h(e)._overflowDayOfYear&&(t<me||t>ve)&&(t=ve),h(e)._overflowWeeks&&-1===t&&(t=Se),h(e)._overflowWeekday&&-1===t&&(t=Oe),h(e).overflow=t),e}function gt(e,t,n){return null!=e?e:null!=t?t:n}function vt(e){var t,i,o,r,a,s=[];if(!e._d){for(o=function(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ve]&&null==e._a[ge]&&function(e){var t,n,i,o,r,a,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)r=1,a=4,n=gt(t.GG,e._a[me],Qe(At(),1,4).year),i=gt(t.W,1),((o=gt(t.E,1))<1||o>7)&&(l=!0);else{r=e._locale._week.dow,a=e._locale._week.doy;var c=Qe(At(),r,a);n=gt(t.gg,e._a[me],c.year),i=gt(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+r,(t.e<0||t.e>6)&&(l=!0)):o=r}i<1||i>Be(n,r,a)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=ze(n,i,o,r,a),e._a[me]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=gt(e._a[me],o[me]),(e._dayOfYear>xe(a)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),i=Ve(a,0,e._dayOfYear),e._a[ge]=i.getUTCMonth(),e._a[ve]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=o[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ye]&&0===e._a[be]&&0===e._a[we]&&0===e._a[_e]&&(e._nextDay=!0,e._a[ye]=0),e._d=(e._useUTC?Ve:Ye).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ye]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(h(e).weekdayMismatch=!0)}}var yt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,bt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wt=/Z|[+-]\d\d(?::?\d\d)?/,_t=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],St=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ot=/^\/?Date\((\-?\d+)/i;function xt(e){var t,n,i,o,r,a,s=e._i,l=yt.exec(s)||bt.exec(s);if(l){for(h(e).iso=!0,t=0,n=_t.length;t<n;t++)if(_t[t][1].exec(l[1])){o=_t[t][0],i=!1!==_t[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=St.length;t<n;t++)if(St[t][1].exec(l[3])){r=(l[2]||" ")+St[t][0];break}if(null==r)return void(e._isValid=!1)}if(!i&&null!=r)return void(e._isValid=!1);if(l[4]){if(!wt.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(r||"")+(a||""),Dt(e)}else e._isValid=!1}var kt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function Et(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}var Ct={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e){var t,n,i,o,r,a,s,l=kt.exec(e._i.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(l){var c=(t=l[4],n=l[3],i=l[2],o=l[5],r=l[6],a=l[7],s=[Et(t),Me.indexOf(n),parseInt(i,10),parseInt(o,10),parseInt(r,10)],a&&s.push(parseInt(a,10)),s);if(!function(e,t,n){return!e||qe.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(h(n).weekdayMismatch=!0,n._isValid=!1,!1)}(l[1],c,e))return;e._a=c,e._tzm=function(e,t,n){if(e)return Ct[e];if(t)return 0;var i=parseInt(n,10),o=i%100;return 60*((i-o)/100)+o}(l[8],l[9],l[10]),e._d=Ve.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),h(e).rfc2822=!0}else e._isValid=!1}function Dt(e){if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],h(e).empty=!0;var t,i,o,r,a,s=""+e._i,l=s.length,c=0;for(o=z(e._f,e._locale).match(H)||[],t=0;t<o.length;t++)r=o[t],(i=(s.match(ce(r,e))||[])[0])&&((a=s.substr(0,s.indexOf(i))).length>0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(i)+i.length),c+=i.length),Y[r]?(i?h(e).empty=!1:h(e).unusedTokens.push(r),fe(r,i,e)):e._strict&&!i&&h(e).unusedTokens.push(r);h(e).charsLeftOver=l-c,s.length>0&&h(e).unusedInput.push(s),e._a[ye]<=12&&!0===h(e).bigHour&&e._a[ye]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ye]=function(e,t,n){var i;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[ye],e._meridiem),vt(e),mt(e)}else Tt(e);else xt(e)}function It(e){var t=e._i,c=e._f;return e._locale=e._locale||ft(e._l),null===t||void 0===c&&""===t?f({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),b(t)?new y(mt(t)):(s(t)?e._d=t:i(c)?function(e){var t,n,i,o,r;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)r=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Dt(t),p(t)&&(r+=h(t).charsLeftOver,r+=10*h(t).unusedTokens.length,h(t).score=r,(null==i||r<i)&&(i=r,n=t));d(e,n||t)}(e):c?Dt(e):function(e){var t=e._i;r(t)?e._d=new Date(n.now()):s(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=Ot.exec(e._i);
vendor: 6,001 bytes, line 2
2null===t?(xt(e),!1===e._isValid&&(delete e._isValid,Tt(e),!1===e._isValid&&(delete e._isValid,n.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):i(t)?(e._a=l(t.slice(0),(function(e){return parseInt(e,10)})),vt(e)):o(t)?function(e){if(!e._d){var t=M(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),vt(e)}}(e):a(t)?e._d=new Date(t):n.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function jt(e,t,n,r,a){var s,l={};return!0!==n&&!1!==n||(r=n,n=void 0),(o(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||i(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=a,l._l=n,l._i=e,l._f=t,l._strict=r,(s=new y(mt(It(l))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function At(e,t,n,i){return jt(e,t,n,i,!1)}n.createFromInputFallback=x("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),n.ISO_8601=function(){},n.RFC_2822=function(){};var Wt=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=At.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:f()})),Mt=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=At.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:f()}));function Lt(e,t){var n,o;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return At();for(n=t[0],o=1;o<t.length;++o)t[o].isValid()&&!t[o][e](n)||(n=t[o]);return n}var Nt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var t=M(e),n=t.year||0,i=t.quarter||0,o=t.month||0,r=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Ee.call(Nt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,i=0;i<Nt.length;++i)if(e[Nt[i]]){if(n)return!1;parseFloat(e[Nt[i]])!==_(e[Nt[i]])&&(n=!0)}return!0}(t),this._milliseconds=+d+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*r,this._months=+o+3*i+12*n,this._data={},this._locale=ft(),this._bubble()}function Ht(e){return e instanceof Pt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function $t(e,t){V(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+P(~~(e/60),2)+t+P(~~e%60,2)}))}$t("Z",":"),$t("ZZ",""),le("Z",re),le("ZZ",re),he(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=Vt(re,e)}));var Yt=/([\+\-]|\d\d)/gi;function Vt(e,t){var n=(t||"").match(e);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(Yt)||["-",0,0],o=60*i[1]+_(i[2]);return 0===o?0:"+"===i[0]?o:-o}function Ft(e,t){var i,o;return t._isUTC?(i=t.clone(),o=(b(e)||s(e)?e.valueOf():At(e).valueOf())-i.valueOf(),i._d.setTime(i._d.valueOf()+o),n.updateOffset(i,!1),i):At(e).local()}function zt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Qt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}n.updateOffset=function(){};var Bt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ut=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Gt(e,t){var n,i,o,r=e,s=null;return Ht(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(r={},t?r[t]=e:r.milliseconds=e):(s=Bt.exec(e))?(n="-"===s[1]?-1:1,r={y:0,d:_(s[ve])*n,h:_(s[ye])*n,m:_(s[be])*n,s:_(s[we])*n,ms:_(Rt(1e3*s[_e]))*n}):(s=Ut.exec(e))?(n="-"===s[1]?-1:1,r={y:qt(s[2],n),M:qt(s[3],n),w:qt(s[4],n),d:qt(s[5],n),h:qt(s[6],n),m:qt(s[7],n),s:qt(s[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(o=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Ft(t,e),e.isBefore(t)?n=Xt(e,t):((n=Xt(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(At(r.from),At(r.to)),(r={}).ms=o.milliseconds,r.M=o.months),i=new Pt(r),Ht(e)&&c(e,"_locale")&&(i._locale=e._locale),i}function qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Xt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Kt(e,t){return function(n,i){var o;return null===i||isNaN(+i)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=i,i=o),Zt(this,Gt(n="string"==typeof n?+n:n,i),e),this}}function Zt(e,t,i,o){var r=t._milliseconds,a=Rt(t._days),s=Rt(t._months);e.isValid()&&(o=null==o||o,s&&Ne(e,De(e,"Month")+s*i),a&&Ie(e,"Date",De(e,"Date")+a*i),r&&e._d.setTime(e._d.valueOf()+r*i),o&&n.updateOffset(e,a||s))}Gt.fn=Pt.prototype,Gt.invalid=function(){return Gt(NaN)};var Jt=Kt(1,"add"),en=Kt(-1,"subtract");function tn(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function nn(e){var t;return void 0===e?this._locale._abbr:(null!=(t=ft(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var on=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function rn(){return this._locale}var an=1e3,sn=60*an,ln=60*sn,cn=3506328*ln;function dn(e,t){return(e%t+t)%t}
vendor: 23,913 bytes, line 2
2function un(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-cn:new Date(e,t,n).valueOf()}function hn(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-cn:Date.UTC(e,t,n)}function pn(e,t){V(0,[e,e.length],0,t)}function fn(e,t,n,i,o){var r;return null==e?Qe(this,i,o).year:(t>(r=Be(e,i,o))&&(t=r),mn.call(this,e,t,n,i,o))}function mn(e,t,n,i,o){var r=ze(e,t,n,i,o),a=Ve(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}V(0,["gg",2],0,(function(){return this.weekYear()%100})),V(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),pn("gggg","weekYear"),pn("ggggg","weekYear"),pn("GGGG","isoWeekYear"),pn("GGGGG","isoWeekYear"),A("weekYear","gg"),A("isoWeekYear","GG"),N("weekYear",1),N("isoWeekYear",1),le("G",ie),le("g",ie),le("GG",X,B),le("gg",X,B),le("GGGG",ee,G),le("gggg",ee,G),le("GGGGG",te,q),le("ggggg",te,q),pe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,i){t[i.substr(0,2)]=_(e)})),pe(["gg","GG"],(function(e,t,i,o){t[o]=n.parseTwoDigitYear(e)})),V("Q",0,"Qo","quarter"),A("quarter","Q"),N("quarter",7),le("Q",Q),he("Q",(function(e,t){t[ge]=3*(_(e)-1)})),V("D",["DD",2],"Do","date"),A("date","D"),N("date",9),le("D",X),le("DD",X,B),le("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),he(["D","DD"],ve),he("Do",(function(e,t){t[ve]=_(e.match(X)[0])}));var gn=Te("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),A("dayOfYear","DDD"),N("dayOfYear",4),le("DDD",J),le("DDDD",U),he(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=_(e)})),V("m",["mm",2],0,"minute"),A("minute","m"),N("minute",14),le("m",X),le("mm",X,B),he(["m","mm"],be);var vn=Te("Minutes",!1);V("s",["ss",2],0,"second"),A("second","s"),N("second",15),le("s",X),le("ss",X,B),he(["s","ss"],we);var yn,bn=Te("Seconds",!1);for(V("S",0,0,(function(){return~~(this.millisecond()/100)})),V(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),V(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),V(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),V(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),V(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),V(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),A("millisecond","ms"),N("millisecond",16),le("S",J,Q),le("SS",J,B),le("SSS",J,U),yn="SSSS";yn.length<=9;yn+="S")le(yn,ne);function wn(e,t){t[_e]=_(1e3*("0."+e))}for(yn="S";yn.length<=9;yn+="S")he(yn,wn);var _n=Te("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var Sn=y.prototype;function On(e){return e}Sn.add=Jt,Sn.calendar=function(e,t){var i=e||At(),o=Ft(i,this).startOf("day"),r=n.calendarFormat(this,o)||"sameElse",a=t&&(T(t[r])?t[r].call(this,i):t[r]);return this.format(a||this.localeData().calendar(r,this,At(i)))},Sn.clone=function(){return new y(this)},Sn.diff=function(e,t,n){var i,o,r;if(!this.isValid())return NaN;if(!(i=Ft(e,this)).isValid())return NaN;switch(o=6e4*(i.utcOffset()-this.utcOffset()),t=W(t)){case"year":r=tn(this,i)/12;break;case"month":r=tn(this,i);break;case"quarter":r=tn(this,i)/3;break;case"second":r=(this-i)/1e3;break;case"minute":r=(this-i)/6e4;break;case"hour":r=(this-i)/36e5;break;case"day":r=(this-i-o)/864e5;break;case"week":r=(this-i-o)/6048e5;break;default:r=this-i}return n?r:w(r)},Sn.endOf=function(e){var t;if(void 0===(e=W(e))||"millisecond"===e||!this.isValid())return this;var i=this._isUTC?hn:un;switch(e){case"year":t=i(this.year()+1,0,1)-1;break;case"quarter":t=i(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=i(this.year(),this.month()+1,1)-1;break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=i(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ln-dn(t+(this._isUTC?0:this.utcOffset()*sn),ln)-1;break;case"minute":t=this._d.valueOf(),t+=sn-dn(t,sn)-1;break;case"second":t=this._d.valueOf(),t+=an-dn(t,an)-1}return this._d.setTime(t),n.updateOffset(this,!0),this},Sn.format=function(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=F(this,e);return this.localeData().postformat(t)},Sn.from=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||At(e).isValid())?Gt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Sn.fromNow=function(e){return this.from(At(),e)},Sn.to=function(e,t){return this.isValid()&&(b(e)&&e.isValid()||At(e).isValid())?Gt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Sn.toNow=function(e){return this.to(At(),e)},Sn.get=function(e){return T(this[e=W(e)])?this[e]():this},Sn.invalidAt=function(){return h(this).overflow},Sn.isAfter=function(e,t){var n=b(e)?e:At(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=W(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Sn.isBefore=function(e,t){var n=b(e)?e:At(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=W(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Sn.isBetween=function(e,t,n,i){var o=b(e)?e:At(e),r=b(t)?t:At(t);return!!(this.isValid()&&o.isValid()&&r.isValid())&&(("("===(i=i||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===i[1]?this.isBefore(r,n):!this.isAfter(r,n)))},Sn.isSame=function(e,t){var n,i=b(e)?e:At(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=W(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Sn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Sn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Sn.isValid=function(){return p(this)},Sn.lang=on,Sn.locale=nn,Sn.localeData=rn,Sn.max=Mt,Sn.min=Wt,Sn.parsingFlags=function(){return d({},h(this))},Sn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:L[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}(e=M(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(T(this[e=W(e)]))return this[e](t);return this},Sn.startOf=function(e){var t;if(void 0===(e=W(e))||"millisecond"===e||!this.isValid())return this;var i=this._isUTC?hn:un;switch(e){case"year":t=i(this.year(),0,1);break;case"quarter":t=i(this.year(),this.month()-this.month()%3,1);break;case"month":t=i(this.year(),this.month(),1);break;case"week":t=i(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=i(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=i(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=dn(t+(this._isUTC?0:this.utcOffset()*sn),ln);break;case"minute":t=this._d.valueOf(),t-=dn(t,sn);break;case"second":t=this._d.valueOf(),t-=dn(t,an)}return this._d.setTime(t),n.updateOffset(this,!0),this},Sn.subtract=en,Sn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},Sn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},Sn.toDate=function(){return new Date(this.valueOf())},Sn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?F(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(n,"Z")):F(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Sn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o=t+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+o)},Sn.toJSON=function(){return this.isValid()?this.toISOString():null},Sn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Sn.unix=function(){return Math.floor(this.valueOf()/1e3)},Sn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Sn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Sn.year=Ce,Sn.isLeapYear=function(){return ke(this.year())},Sn.weekYear=function(e){return fn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Sn.isoWeekYear=function(e){return fn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Sn.quarter=Sn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Sn.month=Pe,Sn.daysInMonth=function(){return je(this.year(),this.month())},Sn.week=Sn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Sn.isoWeek=Sn.isoWeeks=function(e){var t=Qe(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Sn.weeksInYear=function(){var e=this.localeData()._week;return Be(this.year(),e.dow,e.doy)},Sn.isoWeeksInYear=function(){return Be(this.year(),1,4)},Sn.date=gn,Sn.day=Sn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},Sn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Sn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},Sn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Sn.hour=Sn.hours=at,Sn.minute=Sn.minutes=vn,Sn.second=Sn.seconds=bn,Sn.millisecond=Sn.milliseconds=_n,Sn.utcOffset=function(e,t,i){var o,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=Vt(re,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(o=zt(this)),this._offset=e,this._isUTC=!0,null!=o&&this.add(o,"m"),r!==e&&(!t||this._changeInProgress?Zt(this,Gt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:zt(this)},Sn.utc=function(e){return this.utcOffset(0,e)},Sn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(zt(this),"m")),this},Sn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Vt(oe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},Sn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?At(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Sn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Sn.isLocal=function(){return!!this.isValid()&&!this._isUTC},Sn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Sn.isUtc=Qt,Sn.isUTC=Qt,Sn.zoneAbbr=function(){return this._isUTC?"UTC":""},Sn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Sn.dates=x("dates accessor is deprecated. Use date instead.",gn),Sn.months=x("months accessor is deprecated. Use month instead",Pe),Sn.years=x("years accessor is deprecated. Use year instead",Ce),Sn.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",(function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()})),Sn.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",(function(){if(!r(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),(e=It(e))._a){var t=e._isUTC?u(e._a):At(e._a);this._isDSTShifted=this.isValid()&&S(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}));var xn=I.prototype;function kn(e,t,n,i){var o=ft(),r=u().set(i,t);return o[n](r,e)}function En(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return kn(e,t,n,"month");var i,o=[];for(i=0;i<12;i++)o[i]=kn(e,i,n,"month");return o}function Cn(e,t,n,i){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var o,r=ft(),s=e?r._week.dow:0;if(null!=n)return kn(t,(n+s)%7,i,"day");var l=[];for(o=0;o<7;o++)l[o]=kn(t,(o+s)%7,i,"day");return l}xn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return T(i)?i.call(t,n):i},xn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])},xn.invalidDate=function(){return this._invalidDate},xn.ordinal=function(e){return this._ordinal.replace("%d",e)},xn.preparse=On,xn.postformat=On,xn.relativeTime=function(e,t,n,i){var o=this._relativeTime[n];return T(o)?o(e,t,n,i):o.replace(/%d/i,e)},xn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)},xn.set=function(e){var t,n;for(n in e)T(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},xn.months=function(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Ae).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone},xn.monthsShort=function(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Ae.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},xn.monthsParse=function(e,t,n){var i,o,r;if(this._monthsParseExact)return Le.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=u([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(r="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},xn.monthsRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||$e.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=Re),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},xn.monthsShortRegex=function(e){return this._monthsParseExact?(c(this,"_monthsRegex")||$e.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=He),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},xn.week=function(e){return Qe(e,this._week.dow,this._week.doy).week},xn.firstDayOfYear=function(){return this._week.doy},xn.firstDayOfWeek=function(){return this._week.dow},xn.weekdays=function(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ue(n,this._week.dow):e?n[e.day()]:n},xn.weekdaysMin=function(e){return!0===e?Ue(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},xn.weekdaysShort=function(e){return!0===e?Ue(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},xn.weekdaysParse=function(e,t,n){var i,o,r;if(this._weekdaysParseExact)return Ke.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=u([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(r="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},xn.weekdaysRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Ze),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},xn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Je),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},xn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||tt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=et),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},xn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},xn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ht("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===_(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",ht),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",ft);var Tn=Math.abs;function Dn(e,t,n,i){var o=Gt(t,n);return e._milliseconds+=i*o._milliseconds,e._days+=i*o._days,e._months+=i*o._months,e._bubble()}function In(e){return e<0?Math.floor(e):Math.ceil(e)}function jn(e){return 4800*e/146097}function An(e){return 146097*e/4800}function Wn(e){return function(){return this.as(e)}}var Mn=Wn("ms"),Ln=Wn("s"),Nn=Wn("m"),Pn=Wn("h"),Hn=Wn("d"),Rn=Wn("w"),$n=Wn("M"),Yn=Wn("Q"),Vn=Wn("y");function Fn(e){return function(){return this.isValid()?this._data[e]:NaN}}var zn=Fn("milliseconds"),Qn=Fn("seconds"),Bn=Fn("minutes"),Un=Fn("hours"),Gn=Fn("days"),qn=Fn("months"),Xn=Fn("years");var Kn=Math.round,Zn={ss:44,s:45,m:45,h:22,d:26,M:11};function Jn(e,t,n,i,o){return o.relativeTime(t||1,!!n,e,i)}var ei=Math.abs;function ti(e){return(e>0)-(e<0)||+e}function ni(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=ei(this._milliseconds)/1e3,i=ei(this._days),o=ei(this._months);e=w(n/60),t=w(e/60),n%=60,e%=60;var r=w(o/12),a=o%=12,s=i,l=t,c=e,d=n?n.toFixed(3).replace(/\.?0+$/,""):"",u=this.asSeconds();if(!u)return"P0D";var h=u<0?"-":"",p=ti(this._months)!==ti(u)?"-":"",f=ti(this._days)!==ti(u)?"-":"",m=ti(this._milliseconds)!==ti(u)?"-":"";return h+"P"+(r?p+r+"Y":"")+(a?p+a+"M":"")+(s?f+s+"D":"")+(l||c||d?"T":"")+(l?m+l+"H":"")+(c?m+c+"M":"")+(d?m+d+"S":"")}var ii=Pt.prototype;return ii.isValid=function(){return this._isValid},ii.abs=function(){var e=this._data;return this._milliseconds=Tn(this._milliseconds),this._days=Tn(this._days),this._months=Tn(this._months),e.milliseconds=Tn(e.milliseconds),e.seconds=Tn(e.seconds),e.minutes=Tn(e.minutes),e.hours=Tn(e.hours),e.months=Tn(e.months),e.years=Tn(e.years),this},ii.add=function(e,t){return Dn(this,e,t,1)},ii.subtract=function(e,t){return Dn(this,e,t,-1)},ii.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=W(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+jn(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(An(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},ii.asMilliseconds=Mn,ii.asSeconds=Ln,ii.asMinutes=Nn,ii.asHours=Pn,ii.asDays=Hn,ii.asWeeks=Rn,ii.asMonths=$n,ii.asQuarters=Yn,ii.asYears=Vn,ii.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12):NaN},ii._bubble=function(){var e,t,n,i,o,r=this._milliseconds,a=this._days,s=this._months,l=this._data;return r>=0&&a>=0&&s>=0||r<=0&&a<=0&&s<=0||(r+=864e5*In(An(s)+a),a=0,s=0),l.milliseconds=r%1e3,e=w(r/1e3),l.seconds=e%60,t=w(e/60),l.minutes=t%60,n=w(t/60),l.hours=n%24,a+=w(n/24),s+=o=w(jn(a)),a-=In(An(o)),i=w(s/12),s%=12,l.days=a,l.months=s,l.years=i,this},ii.clone=function(){return Gt(this)},ii.get=function(e){return e=W(e),this.isValid()?this[e+"s"]():NaN},ii.milliseconds=zn,ii.seconds=Qn,ii.minutes=Bn,ii.hours=Un,ii.days=Gn,ii.weeks=function(){return w(this.days()/7)},ii.months=qn,ii.years=Xn,ii.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=Gt(e).abs(),o=Kn(i.as("s")),r=Kn(i.as("m")),a=Kn(i.as("h")),s=Kn(i.as("d")),l=Kn(i.as("M")),c=Kn(i.as("y")),d=o<=Zn.ss&&["s",o]||o<Zn.s&&["ss",o]||r<=1&&["m"]||r<Zn.m&&["mm",r]||a<=1&&["h"]||a<Zn.h&&["hh",a]||s<=1&&["d"]||s<Zn.d&&["dd",s]||l<=1&&["M"]||l<Zn.M&&["MM",l]||c<=1&&["y"]||["yy",c];return d[2]=t,d[3]=+e>0,d[4]=n,Jn.apply(null,d)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},ii.toISOString=ni,ii.toString=ni,ii.toJSON=ni,ii.locale=nn,ii.localeData=rn,ii.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ni),ii.lang=on,V("X",0,0,"unix"),V("x",0,0,"valueOf"),le("x",ie),le("X",/[+-]?\d+(\.\d{1,3})?/),he("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),he("x",(function(e,t,n){n._d=new Date(_(e))})),n.version="2.24.0",e=At,n.fn=Sn,n.min=function(){return Lt("isBefore",[].slice.call(arguments,0))},n.max=function(){return Lt("isAfter",[].slice.call(arguments,0))},n.now=function(){return Date.now?Date.now():+new Date},n.utc=u,n.unix=function(e){return At(1e3*e)},n.months=function(e,t){return En(e,t,"months")},n.isDate=s,n.locale=ht,n.invalid=f,n.duration=Gt,n.isMoment=b,n.weekdays=function(e,t,n){return Cn(e,t,n,"weekdays")},n.parseZone=function(){return At.apply(null,arguments).parseZone()},n.localeData=ft,n.isDuration=Ht,n.monthsShort=function(e,t){return En(e,t,"monthsShort")},n.weekdaysMin=function(e,t,n){return Cn(e,t,n,"weekdaysMin")},n.defineLocale=pt,n.updateLocale=function(e,t){if(null!=t){var n,i,o=st;null!=(i=ut(e))&&(o=i._config),(n=new I(t=D(o,t))).parentLocale=lt[e],lt[e]=n,ht(e)}else null!=lt[e]&&(null!=lt[e].parentLocale?lt[e]=lt[e].parentLocale:null!=lt[e]&&delete lt[e]);return lt[e]},n.locales=function(){return k(lt)},n.weekdaysShort=function(e,t,n){return Cn(e,t,n,"weekdaysShort")},n.normalizeUnits=W,n.relativeTimeRounding=function(e){return void 0===e?Kn:"function"==typeof e&&(Kn=e,!0)},n.relativeTimeThreshold=function(e,t){return void 0!==Zn[e]&&(void 0===t?Zn[e]:(Zn[e]=t,"
2s"===e&&(Zn.ss=t-1),!0))},n.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},n.prototype=Sn,n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},n})),function(e,t){if("function"==typeof define&&define.amd)define([],t);else if("undefined"!=typeof exports)t();else{t(),e.FileSaver={}}}(this,(function(){"use strict";var e="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0;function t(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){o(i.response,t,n)},i.onerror=function(){console.error("could not download file")},i.send()}function n(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");
2t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var o=e.saveAs||("object"!=typeof window||window!==e?function(){}:"download"in HTMLAnchorElement.prototype?function(o,r,a){var s=e.URL||e.webkitURL,l=document.createElement("a");r=r||o.name||"download",l.download=r,l.rel="noopener","string"==typeof o?(l.href=o,l.origin!==location.origin?n(l.href)?t(o,r,a):i(l,l.target="_blank"):i(l)):(l.href=s.createObjectURL(o),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){i(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,o,r){if(o=o||e.name||"download","string"==typeof e)if(n(e))t(e,o,r);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout((function(){i(a)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,r),o)}:function(n,i,o,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof n)return t(n,i,o);var a="application/octet-stream"===n.type,s=/constructor/i.test(e.HTMLElement)||e.safari,l=/CriOS\/[\d]+/.test(navigator.userAgent);if((l||a&&s)&&"object"==typeof FileReader){var c=new FileReader;c.onloadend=function(){var e=c.result;e=l?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=e:location=e,r=null},c.readAsDataURL(n)}else{var d=e.URL||e.webkitURL,u=d.createObjectURL(n);r?r.location=u:location.href=u,r=null,setTimeout((function(){d.revokeObjectURL(u)}),4e4)}});e.saveAs=o.saveAs=o,"undefined"!=typeof module&&(module.exports=o)})),$.SOW.config["vendor:external_css"]||($.SOW.config["vendor:external_css"]=[]),$.SOW.config["vendor:external_css"].vendor=["flickity","fancybox","photoswipe","swiper","leaflet","fullcalendar","datepicker","daterangepicker","colorpicker","flot","chartjs","mediumeditor","markdowneditor","summernoteeditor","datatables","prismjs"],$.SOW.config.autoinit.jarallax=["$.SOW.vendor.jarallax.init",".jarallax",null,!0],$.SOW.config.autoinit.sticky_kit=["$.SOW.vendor.sticky_kit.init",".sticky-kit",null,!0],$.SOW.config.autoinit.sortable=["$.SOW.vendor.sortable.init",".sortable",null,!0],$.SOW.config.autoinit.bootstrap_select=["$.SOW.vendor.bootstrap_select.init","select.bs-select",null,!0],$.SOW.config.autoinit.typed=["$.SOW.vendor.typed.init",".typed",null,!0],$.SOW.config.autoinit.flickity=["$.SOW.vendor.flickity.init","div[data-flickity]",null,!0],$.SOW.config.autoinit.fancybox=["$.SOW.vendor.fancybox.init","a.fancybox",null,!0],$.SOW.config.autoinit.photoswipe=["$.SOW.vendor.photoswipe.init","a.photoswipe",{showHideOpacity:!1,history:!1,captionEl:!1,shareEl:!1,tapToClose:!1,tapToToggleControls:!1,escKey:!0,barsSize:{top:0,bottom:0}},!0],$.SOW.config.autoinit.swiper=["$.SOW.vendor.swiper.init",".swiper-container",null,!0],$.SOW.config.autoinit.leaflet=["$.SOW.vendor.leaflet.init",".map-leaflet",null,!0],$.SOW.config.autoinit.aos=["$.SOW.vendor.aos.init","null",null,!0],$.SOW.config.autoinit.slimscroll=["$.SOW.vendor.slimscroll.init",".slimscroll",{height:"100%",color:"#444",size:"3px",railColor:"#ccc",railOpacity:.5,alwaysVisible:!1,railVisible:!0,distance:"0",wheelStep:10,allowPageScroll:!1,disableFadeOut:!1},!0],$.SOW.config.autoinit.nestable=["$.SOW.vendor.nestable.init",".nestable",null,!0],$.SOW.config.autoinit.fullcalendar=["$.SOW.vendor.fullcalendar.init",".fullcalendar",{plugins:["interaction","dayGrid","timeGrid","list","bootstrap","googleCalendar"],editable:!0,eventLimit:!0,locale:"en",themeSystem:"bootstrap",defaultView:"dayGridMonth",defaultDate:"2019-12-03T02:04:11.070Z",timeZone:"UTC",header:{left:"prev,next today, addEventButton",center:"title",right:"dayGridMonth,timeGridWeek,timeGridDay,listWeek"},buttonText:{today:"today",month:"month",week:"week",day:"day",list:"list"},eventTimeFormat:{hour:"numeric",minute:"2-digit",meridiem:"short"}}
2,!0],$.SOW.config.autoinit.datepicker=["$.SOW.vendor.datepicker.init",".datepicker",null,!0],$.SOW.config.autoinit.daterangepicker=["$.SOW.vendor.daterangepicker.init",".rangepicker",null,!0],$.SOW.config.autoinit.colorpicker=["$.SOW.vendor.colorpicker.init",".colorpicker",{classic:{swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)","rgba(0, 188, 212, 0.7)","rgba(0, 150, 136, 0.75)","rgba(76, 175, 80, 0.8)","rgba(139, 195, 74, 0.85)","rgba(205, 220, 57, 0.9)","rgba(255, 235, 59, 0.95)","rgba(255, 193, 7, 1)"]},monolith:{swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"]},nano:{swatches:["rgba(244, 67, 54, 1)","rgba(233, 30, 99, 0.95)","rgba(156, 39, 176, 0.9)","rgba(103, 58, 183, 0.85)","rgba(63, 81, 181, 0.8)","rgba(33, 150, 243, 0.75)","rgba(3, 169, 244, 0.7)"]},interaction:{hex:!0,rgba:!0,hsla:!1,hsva:!1,cmyk:!1,input:!0,clear:!0,save:!0}},!0],$.SOW.config.autoinit.flot=["$.SOW.vendor.flot.init",".flot-chart",null,!0],$.SOW.config.autoinit.easypie=["$.SOW.vendor.easypie.init",".easypie",null,!0],$.SOW.config.autoinit.sparkline=["$.SOW.vendor.sparkline.init",".sparkline",null,!0],$.SOW.config.autoinit.chartjs=["$.SOW.vendor.chartjs.init",".chartjs",null,!0],$.SOW.config.autoinit.mediumeditor=["$.SOW.vendor.mediumeditor.init",".medium-editor",null,!0],$.SOW.config.autoinit.markdowneditor=["$.SOW.vendor.markdowneditor.init",".markdown-editor",null,!0],$.SOW.config.autoinit.summernoteeditor=["$.SOW.vendor.summernoteeditor.init",".summernote-editor",null,!0],$.SOW.config.autoinit.datatables=["$.SOW.vendor.datatables.init",".table-datatable",null,!0],$.SOW.config.autoinit.prismjs=["$.SOW.vendor.prismjs.init","pre",null,!0],$.SOW.config["vendor:external_js"]||($.SOW.config["vendor:external_js"]=[]),$.SOW.config["vendor:external_js"].vendor=["flickity","fancybox","photoswipe","swiper","leaflet","fullcalendar","datepicker","daterangepicker","colorpicker","flot","easypie","sparkline","chartjs","mediumeditor","markdowneditor","summernoteeditor","datatables","prismjs","pdfmake"];

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.