/*! For license information please see app.js.LICENSE.txt */ !function(){var t={103:function(t,o,a){var i={"./bg.png":239,"./logo.png":142,"./logo.svg":219,"./original.png":410,"./original2.png":417,"./photo1.png":272,"./photo2.jpg":919,"./photo3.svg":420,"app/client/src/img/bg.png":239,"app/client/src/img/logo.png":142,"app/client/src/img/logo.svg":219,"app/client/src/img/original.png":410,"app/client/src/img/original2.png":417,"app/client/src/img/photo1.png":272,"app/client/src/img/photo2.jpg":919,"app/client/src/img/photo3.svg":420,"bg.png":239,"img/bg.png":239,"img/logo.png":142,"img/logo.svg":219,"img/original.png":410,"img/original2.png":417,"img/photo1.png":272,"img/photo2.jpg":919,"img/photo3.svg":420,"logo.png":142,"logo.svg":219,"original.png":410,"original2.png":417,"photo1.png":272,"photo2.jpg":919,"photo3.svg":420};function webpackContext(t){var o=webpackContextResolve(t);return a(o)}function webpackContextResolve(t){if(!a.o(i,t)){var o=new Error("Cannot find module '"+t+"'");throw o.code="MODULE_NOT_FOUND",o}return i[t]}webpackContext.keys=function webpackContextKeys(){return Object.keys(i)},webpackContext.resolve=webpackContextResolve,t.exports=webpackContext,webpackContext.id=103},444:function(t){var o={getParents:function(t,o){for(var a=[],i=t;i&&i!==document;)o?i.matches(o)&&a.push(i):a.push(i),i=i.parentNode;return a},ucwords:function(t){var o=t.toLowerCase(),a=o.split(" ");o="";for(var i=0;i0&&(o="".concat(o," ")),o+=c}return o}};window.globalF=o,t.exports=o,t.exports.default=o},281:function(t){"use strict";t.exports=function makeYoutubeEmbed(t){if("string"===typeof t){var o=function getId(t){var o=t.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);if(o&&11==o[2].length)return o[2]}(t);return o?"//www.youtube.com/embed/"+o:void 0}}},239:function(t){t.exports="../img/bg.png"},142:function(t){t.exports="../img/logo.png"},219:function(t){t.exports="../img/logo.svg"},410:function(t){t.exports="../img/original.png"},417:function(t){t.exports="../img/original2.png"},272:function(t){t.exports="../img/photo1.png"},919:function(t){t.exports="../img/photo2.jpg"},420:function(t){t.exports="../img/photo3.svg"},499:function(t){function webpackEmptyContext(t){var o=new Error("Cannot find module '"+t+"'");throw o.code="MODULE_NOT_FOUND",o}webpackEmptyContext.keys=function(){return[]},webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=499,t.exports=webpackEmptyContext}},o={};function __webpack_require__(a){var i=o[a];if(void 0!==i)return i.exports;var c=o[a]={exports:{}};return t[a](c,c.exports,__webpack_require__),c.exports}__webpack_require__.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},function(){"use strict";var t={APOLLO_ERROR:"apollo-error",AJAX:"ajax-load",AJAXMAIN:"ajax-main-load",MAININIT:"main-init",TABHIDDEN:"tab-hidden",TABFOCUSED:"tab-focused",OFFLINE:"offline",ONLINE:"online",BACKONLINE:"back-online",TOUCHENABLE:"touch-enabled",TOUCHDISABLED:"touch-disabled",DOMLOADED:"DOMContentLoaded",LOADED:"load",SWIPELEFT:"swipeleft panleft",SWIPERIGHT:"swiperight panright",ALLERTAPPEARED:"alert-appeared",ALERTREMOVED:"alert-removed",LODEDANDREADY:"load-ready",LAZYIMAGEREADY:"image-lazy-bg-loaded",LAZYIMAGESREADY:"images-lazy-loaded",MAPLOADED:"map-loaded",MAPAPILOADED:"map-api-loaded",MAPMARKERCLICK:"map-marker-click",MAPPOPUPCLOSE:"map-popup-close",SCROLL:"scroll",RESIZE:"resize",CAROUSEL_READY:"bs.carousel.ready",SET_TARGET_UPDATE:"set-target-update",RESTORE_FIELD:"restore-field",FORM_INIT_BASICS:"form-basics",FORM_INIT_STEPPED:"form-init-stepped",FORM_INIT_VALIDATE:"form-init-validate",FORM_INIT_VALIDATE_FIELD:"form-init-validate-field",FORM_INIT_STORAGE:"form-init-storage",FORM_VALIDATION_FAILED:"form-validation-failed",FORM_STEPPED_NEW_STEP:"form-new-step",FORM_STEPPED_FIRST_STEP:"form-first-step",FORM_STEPPED_LAST_STEP:"form-last-step",FORM_FIELDS:"input,textarea,select"},o=(function(o){var a="_main.visibility",i=document,c=i.body;i.addEventListener("visibilitychange",(function(){"hidden"===i.visibilityState?(console.log("".concat(a,": Tab: hidden")),c.classList.add("is-hidden"),c.classList.remove("is-focused"),o.dispatchEvent(new Event(t.TABHIDDEN))):(console.log("".concat(a,": Tab: focused")),c.classList.add("is-focused"),c.classList.remove("is-hidden"),o.dispatchEvent(new Event(t.TABFOCUSED)))}))}(window),function(o){var a,i,c="_main.touch",l=document,u=l.body,d=function SET_TOUCH_SCREEN(l,d){i||d===a||(l?(console.log("".concat(c,": Touch screen enabled")),u.classList.add("is-touch"),u.classList.remove("is-mouse"),o.dispatchEvent(new Event(t.TOUCHENABLE))):(console.log("".concat(c,": Touch screen disabled")),u.classList.add("is-mouse"),u.classList.remove("is-touch"),o.dispatchEvent(new Event(t.TOUCHDISABLED))),a=d,i||(i=setTimeout((function(){clearTimeout(i),i=null}),500)))};d("ontouchstart"in o||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0||o.matchMedia("(hover: none)").matches,"init"),l.addEventListener("touchend",(function(t){var o=!1;"click"!==t.type&&(o=!0),d(o,"click-touchend")})),l.addEventListener("click",(function(t){var o=!1;"click"!==t.type&&(o=!0),d(o,"click-touchend")}))}(window),{ENVS:["xs","sm","md","lg","xl","xxl","xxxl"]});function _toConsumableArray(t){return function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}(t)||function _iterableToArray(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function _unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return _arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return _arrayLikeToArray(t,o)}(t)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);aa.innerHeight?(c.classList.add("landscape"),c.classList.remove("portrait")):(v=!1,c.classList.add("portrait"),c.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(d," | landscape ").concat(v)),c.removeChild(l),d};a.detectCSSScreenSize=l,a.addEventListener("".concat(t.LOADED),l),a.addEventListener("".concat(t.RESIZE),l)})(window),__webpack_require__(444);function _defineProperties(t,o){for(var a=0;a"),"color:yellow;font-size:10px"),console.info("%cENV: ".concat("production"),"color:green;font-size:10px"),console.groupCollapsed("Events"),Object.keys(t).forEach((function(o){console.info("".concat(o,": ").concat(t[o]))})),console.groupEnd("Events"),console.groupCollapsed("Consts"),Object.keys(o).forEach((function(t){console.info("".concat(t,": ").concat(o[t]))})),console.groupEnd("Events"),console.groupCollapsed("Init"),console.time("init");var l=function(){function MainUI(){!function main_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,MainUI)}return function main_createClass(t,o,a){return o&&main_defineProperties(t.prototype,o),a&&main_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(MainUI,null,[{key:"init",value:function init(){a.history.replaceState({landing:a.location.href},document.title,a.location.href),this.loaded()}},{key:"loaded",value:function loaded(){console.log("".concat("_main",": loaded"))}}]),MainUI}(),u=function documentInit(){l.init(),i.classList.add("loaded"),c.hide(),console.groupEnd("init"),console.timeEnd("init"),a.addEventListener("".concat(t.LOADED),(function(o){a.dispatchEvent(new Event(t.LODEDANDREADY))}))};"loading"===document.readyState?document.addEventListener("".concat(t.DOMLOADED),u):u(),a.addEventListener("".concat(t.AJAX),(function(){l.loaded()})),a.MainUI=l}(window);var l="ajax-load",u="load-ready";function window_toConsumableArray(t){return function window_arrayWithoutHoles(t){if(Array.isArray(t))return window_arrayLikeToArray(t)}(t)||function window_iterableToArray(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function window_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return window_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return window_arrayLikeToArray(t,o)}(t)||function window_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function window_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a0&&void 0!==arguments[0]?arguments[0]:{shown:!1},a=arguments.length>1?arguments[1]:void 0;window_classCallCheck(this,MetaWindow),_defineProperty(this,"state",{content:"",type:["empty"],shown:!1,loading:!1,error:!1,embed:!1,collections:[],current:null,target:null,extraClass:null}),_defineProperty(this,"show",(function(){var o=t;console.log("".concat(o.name,": show")),o.setState({shown:!0}),d.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var o=t;console.log("".concat(o.name,": hide")),o.setState({shown:!1}),d.dispatchEvent(new Event("{ui.name}.hide"))})),_defineProperty(this,"next",(function(){var o=t,a=o.state.current.getAttribute("data-gallery"),i=o._currIndex();i0?i--:i=o.state.collections[a].length-1,o.state.collections[a][i].click(),console.log("".concat(o.name,": prev")),d.dispatchEvent(new Event("{ui.name}.prev"))})),_defineProperty(this,"reset",(function(){t.setState({content:"",type:["empty"],shown:!1,loading:!1,error:!1,embed:!1})})),_defineProperty(this,"load",(function(o){var a=t;a.reset(),a.setState({loading:!0}),a.show(),window.fetch(o).then((function(t){var i=t.headers.get("content-type");console.log(t),console.log("".concat(a.name,": response content-type: ").concat(i));switch(i){case"image/jpeg":case"image/png":case"image/svg+xml":case"image/bmp":case"image/gif":case"image/tiff":case"image/webp":case"image/jpg":case"image/svg":t.arrayBuffer().then((function(t){a.setContent(''),"meta-".concat(a.name,"--image"))}));break;case"application/json":case"application/ld+json":case"application/json; charset=UTF-8":a.setContent("".concat((!1).Content),["meta-".concat(a.name,"--text"),"meta-".concat(a.name,"--html"),"meta-".concat(a.name,"--json")]);break;case"video/mp4":a.setContent(''),["meta-".concat(a.name,"--image"),"meta-".concat(a.name,"--video")]);break;case"text/html":case"application/xhtml+xml":case"text/plain":case"text/html; charset=UTF-8":case"application/xhtml+xml; charset=UTF-8":case"text/plain; charset=UTF-8":a.setContent(t.data,["meta-".concat(a.name,"--text"),"meta-".concat(a.name,"--html"),"meta-".concat(a.name,"--pajax")]);break;default:console.warn("".concat(a.name,": Unknown response content-type!"))}d.dispatchEvent(new Event("{ui.name}.loaded"))})).catch((function(t){console.error(t);var o="";if(t.response)switch(t.response.status){case 404:o="Not Found.";break;case 500:o="Server issue, please try again latter.";break;default:o="Something went wrong."}else t.request?o="No response received":console.warn("Error",t.message);a.setState({error:o}),d.dispatchEvent(new Event("{ui.name}.error"))})).then((function(){a.setState({loading:!1}),setTimeout((function(){a.state.current.classList.remove("loading")}),1e3)}))})),_defineProperty(this,"_currIndex",(function(){var o=t,a=o.state.current,i=a.getAttribute("data-gallery");return o.state.collections[i].indexOf(a)})),_defineProperty(this,"embed",(function(o){var a=t;console.log("".concat(a.name,": embed")),a.reset(),a.setState({embed:o,loading:!1,type:["meta-".concat(a.name,"--embed"),"meta-".concat(a.name,"--video")]}),a.show()})),_defineProperty(this,"setCaption",(function(o){var a=t;console.log("".concat(a.name,": setCaption")),a.state.caption=o})),_defineProperty(this,"addExtraClass",(function(o){var a=t;o&&o.length&&(console.log("".concat(a.name,": addExtraClass(").concat(o,")")),a.state.extraClass=o)})),_defineProperty(this,"getCaption",(function(){return t.state.caption})),_defineProperty(this,"_imageEncode",(function(t){var o="";return[].slice.call(new Uint8Array(t)).forEach((function(t){o+=String.fromCharCode(t)})),window.btoa(o)})),_defineProperty(this,"setContent",(function(o,a){var i=t;console.log("".concat(i.name,": setContent"));var c=a||["meta-".concat(i.name,"--html"),"meta-".concat(i.name,"--text")];Array.isArray(c)||(c=a.split(" ")),i.setState({content:o,type:c})})),_defineProperty(this,"getHtml",(function(){var o=t;if(o.state.embed){var a=__webpack_require__(281)(o.state.embed);o.state.content='')}return o.state.content}));var i=this;switch(i.name=i.constructor.name,console.log("".concat(i.name,": init")),i.setState(o),a){case"show":case"hide":i.hide()}d.dispatchEvent(new Event("{ui.name}.init"))}return function window_createClass(t,o,a){return o&&window_defineProperties(t.prototype,o),a&&window_defineProperties(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}(MetaWindow,[{key:"cleanLinks",value:function cleanLinks(){document.querySelectorAll('[data-toggle="lightbox"]').forEach((function(t){t.classList.remove("loading")}))}},{key:"collectGaleries",value:function collectGaleries(t){var o=this;t&&(o.state.collections[t]=[],document.querySelectorAll('[data-toggle="lightbox"][data-gallery="'.concat(t,'"]')).forEach((function(a){o.state.collections[t].push(a)})))}},{key:"toggle",value:function toggle(t){var o=this;o.cleanLinks();var a=t.getAttribute("href")||t.getAttribute("data-href"),i=t.getAttribute("data-embed");t.classList.add("loading"),o.state.current=t;var c=t.getAttribute("data-title");c&&o.setCaption(c),i?o.embed(a):o.load(a),o.addExtraClass(t.getAttribute("data-lightbox-class"))}},{key:"init",value:function init(){var t=this;console.log("MetaWindow: [links] init"),document.querySelectorAll('[data-toggle="lightbox"],[data-gallery]').forEach((function(o){var a=o.getAttribute("data-gallery");t.collectGaleries(a),o.addEventListener("click",(function(o){o.preventDefault(),console.log("MetaWindow: [link] click");var a=o.currentTarget;t.toggle(a)}))}))}},{key:"setState",value:function setState(t){var o=this;o.state=Object.assign({},o.state,t),o.render()}},{key:"render",value:function render(){var t,o=this,a=o.name,i=o.state.current;o.state.target.innerHTML="";var c=document.createElement("div");c.classList.add("meta-".concat(a)),(t=c.classList).add.apply(t,window_toConsumableArray(o.state.type)),o.state.target.append(c);var l=document.createElement("div");l.classList.add("meta-".concat(a,"-overlay")),o.state.shown&&l.classList.add("meta-".concat(a,"-overlay--open")),o.state.loading&&l.classList.add("meta-".concat(a,"-overlay--loading")),o.state.error&&l.classList.add("meta-".concat(a,"-overlay--error")),c.append(l);var u=document.createElement("div");u.classList.add("meta-content"),l.append(u);var d=document.createElement("button");if(d.classList.add("meta-nav","meta-close","a"),d.innerHTML=' Close',d.addEventListener("click",(function(t){t.preventDefault(),o.hide()})),u.append(d),i){var p=i.getAttribute("data-gallery");if(p&&o.state.collections[p].length>1){var y=document.createElement("nav");y.classList.add("meta-navs");var v=document.createElement("button");v.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),v.innerHTML=' Previous',v.addEventListener("click",(function(t){t.preventDefault(),o.prev()})),y.append(v);var g=document.createElement("button");g.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),g.innerHTML=' Next',g.addEventListener("click",(function(t){t.preventDefault(),o.next()})),y.append(g),u.append(y)}}var m=document.createElement("section");if(m.classList.add("meta-wrap","typography"),o.state.extraClass&&m.classList.add(o.state.extraClass),m.innerHTML=o.getHtml(),u.append(m),o.state.error){var h=document.createElement("div");h.classList.add("meta-error"),h.innerHTML=o.state.error,u.append(h)}else if(o.state.caption){var b=document.createElement("div");b.classList.add("meta-caption"),b.innerHTML=o.getCaption(),u.append(b)}return"undefined"!==typeof window.FontAwesome&&window.FontAwesome.dom.i2svg(),o}}]),MetaWindow}(),y=p,v=document.getElementById("MetaLightboxApp");v||console.log("MetaWindow: missing container #MetaLightboxApp");var g=function init(){var t=window.MetaWindow;"undefined"===typeof t&&(t=new y({target:v}),window.MetaWindow=t),t.init()};window.addEventListener("".concat(u),g),window.addEventListener("".concat(l),g),window.addEventListener("MetaWindow.initLinks",g);function _createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function util_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return util_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return util_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function util_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a0?document.querySelector(t):null},L=function isVisible(t){if(!O(t)||0===t.getClientRects().length)return!1;var o="visible"===getComputedStyle(t).getPropertyValue("visibility"),a=t.closest("details:not([open])");if(!a)return o;if(a!==t){var i=t.closest("summary");if(i&&i.parentNode!==a)return!1;if(null===i)return!1}return o},C=function reflow(t){t.offsetHeight},k=function getjQuery(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},T=[],P=function isRTL(){return"rtl"===document.documentElement.dir},I=function defineJQueryPlugin(t){!function onDOMContentLoaded(t){"loading"===document.readyState?(T.length||document.addEventListener("DOMContentLoaded",(function(){var t,o=_createForOfIteratorHelper(T);try{for(o.s();!(t=o.n()).done;)(0,t.value)()}catch(a){o.e(a)}finally{o.f()}})),T.push(t)):t()}((function(){var $=k();if($){var o=t.NAME,a=$.fn[o];$.fn[o]=t.jQueryInterface,$.fn[o].Constructor=t,$.fn[o].noConflict=function(){return $.fn[o]=a,t.jQueryInterface}}}))},j=function execute(t){"function"===typeof t&&t()},x=function executeAfterTransition(t,o){var a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(a){var i=5,c=E(o)+i,l=!1,u=function handler(a){a.target===o&&(l=!0,o.removeEventListener(m,handler),j(t))};o.addEventListener(m,u),setTimeout((function(){l||A(o)}),c)}else j(t)},D=function getNextActiveElement(t,o,a,i){var c=t.length,l=t.indexOf(o);return-1===l?!a&&i?t[c-1]:t[0]:(l+=a?1:-1,i&&(l=(l+c)%c),t[Math.max(0,Math.min(l,c-1))])};function _slicedToArray(t,o){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,o){var a=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==a)return;var i,c,l=[],u=!0,d=!1;try{for(a=a.call(t);!(u=(i=a.next()).done)&&(l.push(i.value),!o||l.length!==o);u=!0);}catch(p){d=!0,c=p}finally{try{u||null==a.return||a.return()}finally{if(d)throw c}}return l}(t,o)||event_handler_unsupportedIterableToArray(t,o)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function event_handler_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=event_handler_unsupportedIterableToArray(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function event_handler_unsupportedIterableToArray(t,o){if(t){if("string"===typeof t)return event_handler_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?event_handler_arrayLikeToArray(t,o):void 0}}function event_handler_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(t).find((function(t){return t.callable===o&&t.delegationSelector===a}))}function normalizeParameters(t,o,a){var i="string"===typeof o,c=i?a:o||a,l=getTypeEvent(t);return z.has(l)||(l=t),[i,c,l]}function addHandler(t,o,a,i,c){if("string"===typeof o&&t){var l=_slicedToArray(normalizeParameters(o,a,i),3),u=l[0],d=l[1],p=l[2];if(o in U){d=function wrapFunction(t){return function(o){if(!o.relatedTarget||o.relatedTarget!==o.delegateTarget&&!o.delegateTarget.contains(o.relatedTarget))return t.call(this,o)}}(d)}var y=getElementEvents(t),v=y[p]||(y[p]={}),g=findHandler(v,d,u?a:null);if(g)g.oneOff=g.oneOff&&c;else{var m=makeEventUid(d,o.replace(N,"")),h=u?function bootstrapDelegationHandler(t,o,a){return function handler(i){for(var c=t.querySelectorAll(o),l=i.target;l&&l!==this;l=l.parentNode){var u,d=event_handler_createForOfIteratorHelper(c);try{for(d.s();!(u=d.n()).done;)if(u.value===l)return hydrateObj(i,{delegateTarget:l}),handler.oneOff&&B.off(t,i.type,o,a),a.apply(l,[i])}catch(p){d.e(p)}finally{d.f()}}}}(t,a,d):function bootstrapHandler(t,o){return function handler(a){return hydrateObj(a,{delegateTarget:t}),handler.oneOff&&B.off(t,a.type,o),o.apply(t,[a])}}(t,d);h.delegationSelector=u?a:null,h.callable=d,h.oneOff=c,h.uidEvent=m,v[m]=h,t.addEventListener(p,h,u)}}}function removeHandler(t,o,a,i,c){var l=findHandler(o[a],i,c);l&&(t.removeEventListener(a,l,Boolean(c)),delete o[a][l.uidEvent])}function removeNamespacedHandlers(t,o,a,i){for(var c=o[a]||{},l=0,u=Object.keys(c);lt.length)&&(o=t.length);for(var a=0,i=new Array(o);a1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(o=[]).concat.apply(o,selector_engine_toConsumableArray(Element.prototype.querySelectorAll.call(a,t)))},findOne:function findOne(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(o,t)},children:function children(t,o){var a;return(a=[]).concat.apply(a,selector_engine_toConsumableArray(t.children)).filter((function(t){return t.matches(o)}))},parents:function parents(t,o){for(var parents=[],a=t.parentNode.closest(o);a;)parents.push(a),a=a.parentNode.closest(o);return parents},prev:function prev(t,o){for(var a=t.previousElementSibling;a;){if(a.matches(o))return[a];a=a.previousElementSibling}return[]},next:function next(t,o){for(var next=t.nextElementSibling;next;){if(next.matches(o))return[next];next=next.nextElementSibling}return[]},focusableChildren:function focusableChildren(t){var o=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((function(t){return"".concat(t,':not([tabindex^="-"])')})).join(",");return this.find(o,t).filter((function(t){return!function isDisabled(t){return!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||("undefined"!==typeof t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))}(t)&&L(t)}))}},X=Y,K=new Map,V=function set(t,o,a){K.has(t)||K.set(t,new Map);var i=K.get(t);i.has(o)||0===i.size?i.set(o,a):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(i.keys())[0],"."))},J=function get(t,o){return K.has(t)&&K.get(t).get(o)||null},G=function remove(t,o){if(K.has(t)){var a=K.get(t);a.delete(o),0===a.size&&K.delete(t)}};function manipulator_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function manipulator_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return manipulator_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return manipulator_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function manipulator_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType,a=0,i=Object.keys(o);a=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function base_component_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a2&&void 0!==arguments[2])||arguments[2];x(t,o,a)}},{key:"_getConfig",value:function _getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}}],[{key:"getInstance",value:function getInstance(t){return J(S(t),this.DATA_KEY)}},{key:"getOrCreateInstance",value:function getOrCreateInstance(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(t)||new this(t,"object"===base_component_typeof(o)?o:null)}},{key:"VERSION",get:function get(){return"5.2.2"}},{key:"DATA_KEY",get:function get(){return"bs.".concat(this.NAME)}},{key:"EVENT_KEY",get:function get(){return".".concat(this.DATA_KEY)}},{key:"eventName",value:function eventName(t){return"".concat(t).concat(this.EVENT_KEY)}}]),BaseComponent}(ee),ne=te;function collapse_typeof(t){return collapse_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},collapse_typeof(t)}function collapse_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function collapse_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return collapse_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return collapse_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function collapse_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);a0&&void 0!==arguments[0]?arguments[0]:this._element;return t.classList.contains(le)}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=S(t.parent),t}},{key:"_getDimension",value:function _getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}},{key:"_initializeChildren",value:function _initializeChildren(){if(this._config.parent){var t,o=collapse_createForOfIteratorHelper(this._getFirstLevelChildren(pe));try{for(o.s();!(t=o.n()).done;){var a=t.value,i=w(a);i&&this._addAriaAndCollapsedClass([a],this._isShown(i))}}catch(c){o.e(c)}finally{o.f()}}}},{key:"_getFirstLevelChildren",value:function _getFirstLevelChildren(t){var o=X.find(de,this._config.parent);return X.find(t,this._config.parent).filter((function(t){return!o.includes(t)}))}},{key:"_addAriaAndCollapsedClass",value:function _addAriaAndCollapsedClass(t,o){if(t.length){var a,i=collapse_createForOfIteratorHelper(t);try{for(i.s();!(a=i.n()).done;){var c=a.value;c.classList.toggle("collapsed",!o),c.setAttribute("aria-expanded",o)}}catch(l){i.e(l)}finally{i.f()}}}}],[{key:"Default",get:function get(){return ye}},{key:"DefaultType",get:function get(){return ve}},{key:"NAME",get:function get(){return"collapse"}},{key:"jQueryInterface",value:function jQueryInterface(t){var o={};return"string"===typeof t&&/show|hide/.test(t)&&(o.toggle=!1),this.each((function(){var a=Collapse.getOrCreateInstance(this,o);if("string"===typeof t){if("undefined"===typeof a[t])throw new TypeError('No method named "'.concat(t,'"'));a[t]()}}))}}]),Collapse}(ne);W.on(document,se,pe,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();var o,a=_(this),i=collapse_createForOfIteratorHelper(X.find(a));try{for(i.s();!(o=i.n()).done;){var c=o.value;ge.getOrCreateInstance(c,{toggle:!1}).toggle()}}catch(l){i.e(l)}finally{i.f()}})),I(ge);!function(o){var a="js-dropdown",i=["active","active-dropdown"],c=function HideAll(){document.querySelectorAll(".dropdown-menu").forEach((function(t,o){var a;(a=t.closest(".dropdown").classList).remove.apply(a,i),t.classList.remove("show")}))},l=function Show(t){var o;t.stopPropagation();var a=t.currentTarget;(o=a.classList).add.apply(o,i),a.querySelector(".dropdown-menu").classList.add("show")},u=function Hide(t){var o;t.stopPropagation();var a=t.currentTarget;(o=a.classList).remove.apply(o,i),a.querySelector(".dropdown-menu").classList.remove("show")},d=function init(){console.log("".concat(a,": init"));var t=document.querySelectorAll(".".concat(a,',[data-bs-toggle="dropdown"]')),o=document.querySelectorAll('[data-bs-toggle="hover"]'),i=function attachClickEvents(t){t.addEventListener("click",(function(t){t.preventDefault(),function Toggle(t){c(),t.querySelector(".dropdown-menu").classList.toggle("show")}(t.currentTarget.closest(".dropdown"))})),t.classList.add("".concat(a,"-active"))};document.addEventListener("click",(function(t){var o=!1,a=t.path||t.composedPath&&t.composedPath();a||console.warn("Browser does not provide event path to hide dropdowns on outside click"),a.forEach((function(t,a){o||(t===document&&c(),t.classList&&t.classList.contains("dropdown-toggle")&&(o=!0))}))})),o.forEach((function(t,o){!function attachHoverEvents(t){t.addEventListener("mouseover",l,!1),t.addEventListener("mouseleave",u,!1),t.classList.add("".concat(a,"-active"))}(t.closest(".dropdown"))})),t.forEach((function(t,o){i(t)}))};o.addEventListener("".concat(t.LODEDANDREADY),d),o.addEventListener("".concat(t.AJAX),d)}(window);function swipe_typeof(t){return swipe_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},swipe_typeof(t)}function swipe_defineProperties(t,o){for(var a=0;a1?0:t.touches[0].clientX-this._deltaX}},{key:"_handleSwipe",value:function _handleSwipe(){var t=Math.abs(this._deltaX);if(!(t<=40)){var o=t/this._deltaX;this._deltaX=0,o&&j(o>0?this._config.rightCallback:this._config.leftCallback)}}},{key:"_initEvents",value:function _initEvents(){var t=this;this._supportPointerEvents?(W.on(this._element,Ee,(function(o){return t._start(o)})),W.on(this._element,Ae,(function(o){return t._end(o)})),this._element.classList.add("pointer-event")):(W.on(this._element,be,(function(o){return t._start(o)})),W.on(this._element,_e,(function(o){return t._move(o)})),W.on(this._element,we,(function(o){return t._end(o)})))}},{key:"_eventIsPointerPenTouch",value:function _eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}}],[{key:"Default",get:function get(){return Oe}},{key:"DefaultType",get:function get(){return Se}},{key:"NAME",get:function get(){return"swipe"}},{key:"isSupported",value:function isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}]),Swipe}(ee),Ce=Le;function carousel_typeof(t){return carousel_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},carousel_typeof(t)}function carousel_createForOfIteratorHelper(t,o){var a="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!a){if(Array.isArray(t)||(a=function carousel_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return carousel_arrayLikeToArray(t,o);var a=Object.prototype.toString.call(t).slice(8,-1);"Object"===a&&t.constructor&&(a=t.constructor.name);if("Map"===a||"Set"===a)return Array.from(t);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return carousel_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){a&&(t=a);var i=0,c=function F(){};return{s:c,n:function n(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function e(t){throw t},f:c}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,u=!0,d=!1;return{s:function s(){a=a.call(t)},n:function n(){var t=a.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==a.return||a.return()}finally{if(d)throw l}}}}function carousel_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var a=0,i=new Array(o);aa.length-1||t<0))if(this._isSliding)W.one(this._element,Ne,(function(){return o.to(t)}));else{var i=this._getItemIndex(this._getActive());if(i!==t){var c=t>i?Pe:Ie;this._slide(c,a[t])}}}},{key:"dispose",value:function dispose(){this._swipeHelper&&this._swipeHelper.dispose(),_get(carousel_getPrototypeOf(Carousel.prototype),"dispose",this).call(this)}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t.defaultInterval=t.interval,t}},{key:"_addEventListeners",value:function _addEventListeners(){var t=this;this._config.keyboard&&W.on(this._element,Re,(function(o){return t._keydown(o)})),"hover"===this._config.pause&&(W.on(this._element,Me,(function(){return t.pause()})),W.on(this._element,Fe,(function(){return t._maybeEnableCycle()}))),this._config.touch&&Ce.isSupported()&&this._addTouchEventListeners()}},{key:"_addTouchEventListeners",value:function _addTouchEventListeners(){var t,o=this,a=carousel_createForOfIteratorHelper(X.find(".carousel-item img",this._element));try{for(a.s();!(t=a.n()).done;){var i=t.value;W.on(i,He,(function(t){return t.preventDefault()}))}}catch(l){a.e(l)}finally{a.f()}var c={leftCallback:function leftCallback(){return o._slide(o._directionToOrder(je))},rightCallback:function rightCallback(){return o._slide(o._directionToOrder(xe))},endCallback:function endCallBack(){"hover"===o._config.pause&&(o.pause(),o.touchTimeout&&clearTimeout(o.touchTimeout),o.touchTimeout=setTimeout((function(){return o._maybeEnableCycle()}),500+o._config.interval))}};this._swipeHelper=new Ce(this._element,c)}},{key:"_keydown",value:function _keydown(t){if(!/input|textarea/i.test(t.target.tagName)){var o=Ge[t.key];o&&(t.preventDefault(),this._slide(this._directionToOrder(o)))}}},{key:"_getItemIndex",value:function _getItemIndex(t){return this._getItems().indexOf(t)}},{key:"_setActiveIndicatorElement",value:function _setActiveIndicatorElement(t){if(this._indicatorsElement){var o=X.findOne(Ve,this._indicatorsElement);o.classList.remove(Be),o.removeAttribute("aria-current");var a=X.findOne('[data-bs-slide-to="'.concat(t,'"]'),this._indicatorsElement);a&&(a.classList.add(Be),a.setAttribute("aria-current","true"))}}},{key:"_updateInterval",value:function _updateInterval(){var t=this._activeElement||this._getActive();if(t){var o=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=o||this._config.defaultInterval}}},{key:"_slide",value:function _slide(t){var o=this,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!this._isSliding){var i=this._getActive(),c=t===Pe,l=a||D(this._getItems(),i,c,this._config.wrap);if(l!==i){var u=this._getItemIndex(l),d=function triggerEvent(a){return W.trigger(o._element,a,{relatedTarget:l,direction:o._orderToDirection(t),from:o._getItemIndex(i),to:u})},p=d(De);if(!p.defaultPrevented&&i&&l){var y=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(u),this._activeElement=l;var v=c?Ye:We,g=c?Xe:Ke;l.classList.add(g),C(l),i.classList.add(v),l.classList.add(v);var m=function completeCallBack(){l.classList.remove(v,g),l.classList.add(Be),i.classList.remove(Be,g,v),o._isSliding=!1,d(Ne)};this._queueCallback(m,i,this._isAnimated()),y&&this.cycle()}}}}},{key:"_isAnimated",value:function _isAnimated(){return this._element.classList.contains("slide")}},{key:"_getActive",value:function _getActive(){return X.findOne(".active.carousel-item",this._element)}},{key:"_getItems",value:function _getItems(){return X.find(Je,this._element)}},{key:"_clearInterval",value:function _clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}},{key:"_directionToOrder",value:function _directionToOrder(t){return P()?t===je?Ie:Pe:t===je?Pe:Ie}},{key:"_orderToDirection",value:function _orderToDirection(t){return P()?t===Ie?je:xe:t===Ie?xe:je}}],[{key:"Default",get:function get(){return Qe}},{key:"DefaultType",get:function get(){return $e}},{key:"NAME",get:function get(){return"carousel"}},{key:"jQueryInterface",value:function jQueryInterface(t){return this.each((function(){var o=Carousel.getOrCreateInstance(this,t);if("number"!==typeof t){if("string"===typeof t){if(void 0===o[t]||t.startsWith("_")||"constructor"===t)throw new TypeError('No method named "'.concat(t,'"'));o[t]()}}else o.to(t)}))}}]),Carousel}(ne);W.on(document,Ue,"[data-bs-slide], [data-bs-slide-to]",(function(t){var o=w(this);if(o&&o.classList.contains(ze)){t.preventDefault();var a=Ze.getOrCreateInstance(o),i=this.getAttribute("data-bs-slide-to");if(i)return a.to(i),void a._maybeEnableCycle();if("next"===Q.getDataAttribute(this,"slide"))return a.next(),void a._maybeEnableCycle();a.prev(),a._maybeEnableCycle()}})),W.on(window,qe,(function(){var t,o=carousel_createForOfIteratorHelper(X.find('[data-bs-ride="carousel"]'));try{for(o.s();!(t=o.n()).done;){var a=t.value;Ze.getOrCreateInstance(a)}}catch(i){o.e(i)}finally{o.f()}})),I(Ze);var et=Ze;(function(o){var a="js-carousel",i=function init(){console.log("".concat(a,": init")),document.querySelectorAll(".".concat(a)).forEach((function(t,i){var c=!!t.dataset.bsInterval&&parseInt(t.dataset.bsInterval),l=new et(t,{interval:c});t.ui=l;var u=t.querySelectorAll(".carousel-item"),d=parseInt(u.length);if(t.dataset.bsArrows){var p=document.createElement("button");p.classList.add("carousel-control-next"),p.setAttribute("type","button"),p.setAttribute("aria-label","Next Slide"),p.setAttribute("data-bs-target",t.getAttribute("id")),p.setAttribute("data-bs-slide","next"),p.addEventListener("click",(function(t){l.next()})),p.innerHTML='Next',t.appendChild(p);var y=document.createElement("button");y.setAttribute("type","button"),y.setAttribute("aria-label","Previous Slide"),y.classList.add("carousel-control-prev"),y.setAttribute("data-bs-target",t.getAttribute("id")),y.setAttribute("data-bs-slide","prev"),y.addEventListener("click",(function(t){l.prev()})),y.innerHTML='Previous',t.appendChild(y)}if(t.dataset.bsIndicators&&function(){var o=document.createElement("div");o.classList.add("carousel-indicators");for(var a=0;a