silverstripe-webpack/app/client/dist/js/sample.js

2 lines
187 KiB
JavaScript

/*! For license information please see sample.js.LICENSE.txt */
!function(){var t={2103:function(t,o,i){var a={"./bg.png":9759,"./logo.png":4023,"./logo.svg":1381,"./original.png":1989,"./original2.png":2584,"./photo1.png":9843,"./photo2.jpg":7464,"./photo3.svg":2597,"app/client/src/img/bg.png":9759,"app/client/src/img/logo.png":4023,"app/client/src/img/logo.svg":1381,"app/client/src/img/original.png":1989,"app/client/src/img/original2.png":2584,"app/client/src/img/photo1.png":9843,"app/client/src/img/photo2.jpg":7464,"app/client/src/img/photo3.svg":2597,"bg.png":9759,"img/bg.png":9759,"img/logo.png":4023,"img/logo.svg":1381,"img/original.png":1989,"img/original2.png":2584,"img/photo1.png":9843,"img/photo2.jpg":7464,"img/photo3.svg":2597,"logo.png":4023,"logo.svg":1381,"original.png":1989,"original2.png":2584,"photo1.png":9843,"photo2.jpg":7464,"photo3.svg":2597};function webpackContext(t){var o=webpackContextResolve(t);return i(o)}function webpackContextResolve(t){if(!i.o(a,t)){var o=new Error("Cannot find module '"+t+"'");throw o.code="MODULE_NOT_FOUND",o}return a[t]}webpackContext.keys=function webpackContextKeys(){return Object.keys(a)},webpackContext.resolve=webpackContextResolve,t.exports=webpackContext,webpackContext.id=2103},8820:function(t,o,a){"use strict";var c={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"},l={ENVS:["xs","sm","md","lg","xl","xxl","xxxl"]};(function(t){var o="_main.visibility",i=document,a=i.body;i.addEventListener("visibilitychange",(function(){"hidden"===i.visibilityState?(console.log("".concat(o,": Tab: hidden")),a.classList.add("is-hidden"),a.classList.remove("is-focused"),t.dispatchEvent(new Event(c.TABHIDDEN))):(console.log("".concat(o,": Tab: focused")),a.classList.add("is-focused"),a.classList.remove("is-hidden"),t.dispatchEvent(new Event(c.TABFOCUSED)))}))})(window),function(t){var o,i,a="_main.touch",l=document,u=l.body,d=function SET_TOUCH_SCREEN(l,d){i||d===o||(l?(console.log("".concat(a,": Touch screen enabled")),u.classList.add("is-touch"),u.classList.remove("is-mouse"),t.dispatchEvent(new Event(c.TOUCHENABLE))):(console.log("".concat(a,": Touch screen disabled")),u.classList.add("is-mouse"),u.classList.remove("is-touch"),t.dispatchEvent(new Event(c.TOUCHDISABLED))),o=d,i||(i=setTimeout((function(){clearTimeout(i),i=null}),500)))};d("ontouchstart"in t||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0||t.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);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 i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))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 i=0,a=new Array(o);i<o;i++)a[i]=t[i];return a}(function(t){var o=document,i=o.body,a=function detectCSSScreenSize(){var a,c=o.createElement("div");c.className="env-test",i.appendChild(c);var u=_toConsumableArray(l.ENVS).reverse(),d=u.shift();(a=i.classList).remove.apply(a,_toConsumableArray(u));for(var p=0;p<u.length;++p){var h=u[p];if(c.classList.add("d-".concat(h,"-none")),"none"===t.getComputedStyle(c).display){d=h,i.classList.add("".concat(d));break}}var y=!0;return t.innerWidth>t.innerHeight?(i.classList.add("landscape"),i.classList.remove("portrait")):(y=!1,i.classList.add("portrait"),i.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(d," | landscape ").concat(y)),i.removeChild(c),d};t.detectCSSScreenSize=a,t.addEventListener("".concat(c.LOADED),a),t.addEventListener("".concat(c.RESIZE),a)})(window),a(3088);function _typeof(t){return _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},_typeof(t)}function _defineProperties(t,o){for(var i=0;i<o.length;i++){var a=o[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,(c=a.key,l=void 0,l=function _toPrimitive(t,o){if("object"!==_typeof(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,o||"default");if("object"!==_typeof(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(c,"string"),"symbol"===_typeof(l)?l:String(l)),a)}var c,l}var u="_main.loading-spinner",d=document.getElementById("PageLoading"),p=function(){function SpinnerUI(){!function _classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,SpinnerUI)}return function _createClass(t,o,i){return o&&_defineProperties(t.prototype,o),i&&_defineProperties(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}(SpinnerUI,null,[{key:"show",value:function show(){console.log("".concat(u,": show")),d.classList.remove("d-none")}},{key:"hide",value:function hide(){console.log("".concat(u,": hide")),d.classList.add("d-none")}}]),SpinnerUI}();function main_typeof(t){return main_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},main_typeof(t)}function main_defineProperties(t,o){for(var i=0;i<o.length;i++){var a=o[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,(c=a.key,l=void 0,l=function main_toPrimitive(t,o){if("object"!==main_typeof(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,o||"default");if("object"!==main_typeof(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(c,"string"),"symbol"===main_typeof(l)?l:String(l)),a)}var c,l}(function(t){var o="_main",i=document.body;console.info("%cUI Kit ".concat("@a2nt/ss-bootstrap-ui-webpack-boilerplate-react"," ").concat("5.1.7"),"color:yellow;font-size:14px"),console.info("%c".concat("@a2nt/meta-lightbox-js"," ").concat("4.2.8"),"color:yellow;font-size:12px"),console.info("%chttps://github.com/a2nt/webpack-bootstrap-ui-kit by ".concat("Tony Air <tony@twma.pro>"),"color:yellow;font-size:10px"),console.info("%cENV: ".concat("production"),"color:green;font-size:10px"),console.groupCollapsed("Events"),Object.keys(c).forEach((function(t){console.info("".concat(t,": ").concat(c[t]))})),console.groupEnd("Events"),console.groupCollapsed("Consts"),Object.keys(l).forEach((function(t){console.info("".concat(t,": ").concat(l[t]))})),console.groupEnd("Events"),console.groupCollapsed("Init"),console.time("init");var a=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,i){return o&&main_defineProperties(t.prototype,o),i&&main_defineProperties(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}(MainUI,null,[{key:"init",value:function init(){t.history.replaceState({landing:t.location.href},document.title,t.location.href),this.loaded()}},{key:"loaded",value:function loaded(){console.log("".concat(o,": loaded"))}},{key:"unloaded",value:function unloaded(){console.log("".concat(o,": unloaded")),p.show(),i.classList.remove("loaded")}}]),MainUI}(),u=function documentInit(){a.init(),console.groupEnd("init"),console.timeEnd("init"),t.addEventListener("".concat(c.LOADED),(function(o){t.dispatchEvent(new Event(c.LODEDANDREADY))}))};"loading"===document.readyState?document.addEventListener("".concat(c.DOMLOADED),u):u(),t.addEventListener("".concat(c.LODEDANDREADY),(function(){i.classList.add("loaded"),"undefined"!==typeof t.app&&"undefined"!==typeof t.app.Router||(console.warn("Spinner is hidden"),p.hide())})),t.addEventListener("".concat(c.AJAX),(function(){a.loaded()})),t.addEventListener("beforeunload",(function(){a.unloaded()})),t.MainUI=a})(window),a(3311);var h=a(5363),y=document.getElementById("MainContent"),v=document.createElement("div");v.classList.add("page--container"),y.append(v);var g=a(5771);h.mount(v,g);var b="ajax-load",w="load-ready";function window_typeof(t){return window_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},window_typeof(t)}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 i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))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 i=0,a=new Array(o);i<o;i++)a[i]=t[i];return a}function window_defineProperties(t,o){for(var i=0;i<o.length;i++){var a=o[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,window_toPropertyKey(a.key),a)}}function _defineProperty(t,o,i){return(o=window_toPropertyKey(o))in t?Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[o]=i,t}function window_toPropertyKey(t){var o=function window_toPrimitive(t,o){if("object"!==window_typeof(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,o||"default");if("object"!==window_typeof(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===window_typeof(o)?o:String(o)}var _=window,E=function(){function MetaWindow(){var t=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{shown:!1},i=arguments.length>1?arguments[1]:void 0;!function window_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(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}),_.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var o=t;console.log("".concat(o.name,": hide")),o.setState({shown:!1}),_.dispatchEvent(new Event("{ui.name}.hide"))})),_defineProperty(this,"next",(function(){var o=t,i=o.state.current.getAttribute("data-gallery"),a=o._currIndex();a<o.state.collections[i].length-1?a++:a=0,o.state.collections[i][a].click(),console.log("".concat(o.name,": next")),_.dispatchEvent(new Event("{ui.name}.next"))})),_defineProperty(this,"prev",(function(){var o=t,i=o.state.current.getAttribute("data-gallery"),a=o._currIndex();a>0?a--:a=o.state.collections[i].length-1,o.state.collections[i][a].click(),console.log("".concat(o.name,": prev")),_.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 i=t;i.reset(),i.setState({loading:!0}),i.show(),window.fetch(o,{mode:"no-cors"}).then((function(t){var a=t.headers.get("content-type").toLowerCase();console.log(t),console.log("".concat(i.name,": response content-type: ").concat(a));switch(a){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){i.setContent('<img src="data:'.concat(a,";base64,").concat(i._imageEncode(t),'" />'),"meta-".concat(i.name,"--image"))}));break;case"application/json":case"application/ld+json":case"application/json; charset=utf-8":i.setContent("".concat((!1).Content),["meta-".concat(i.name,"--text"),"meta-".concat(i.name,"--html"),"meta-".concat(i.name,"--json")]);break;case"video/mp4":i.setContent('<video controls autoplay><source src="'.concat(o,'" type="video/mp4">Your browser does not support the video tag.</video>'),["meta-".concat(i.name,"--image"),"meta-".concat(i.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":t.text().then((function(t){i.setContent(t,["meta-".concat(i.name,"--text"),"meta-".concat(i.name,"--html"),"meta-".concat(i.name,"--pajax")])}));break;default:console.warn("".concat(i.name,": Unknown response content-type!"))}_.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);i.setState({error:o}),_.dispatchEvent(new Event("{ui.name}.error"))})).then((function(){i.setState({loading:!1}),setTimeout((function(){i.state.current.classList.remove("loading")}),1e3)}))})),_defineProperty(this,"_currIndex",(function(){var o=t,i=o.state.current,a=i.getAttribute("data-gallery");return o.state.collections[a].indexOf(i)})),_defineProperty(this,"embed",(function(o){var i=t;console.log("".concat(i.name,": embed")),i.reset(),i.setState({embed:o,loading:!1,type:["meta-".concat(i.name,"--embed"),"meta-".concat(i.name,"--video")]}),i.show()})),_defineProperty(this,"setCaption",(function(o){var i=t;console.log("".concat(i.name,": setCaption")),i.state.caption=o})),_defineProperty(this,"addExtraClass",(function(o){var i=t;o&&o.length&&(console.log("".concat(i.name,": addExtraClass(").concat(o,")")),i.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,i){var a=t;console.log("".concat(a.name,": setContent"));var c=i||["meta-".concat(a.name,"--html"),"meta-".concat(a.name,"--text")];Array.isArray(c)||(c=i.split(" ")),a.setState({content:o,type:c})})),_defineProperty(this,"getHtml",(function(){var o=t;if(o.state.embed){var i=a(4976)(o.state.embed);o.state.content='<iframe width="600" height="380" src="'.concat(i,'" frameborder="0"></iframe>')}return o.state.content}));var c=this;switch(c.name=c.constructor.name,console.log("".concat(c.name,": init")),c.setState(o),i){case"show":case"hide":c.hide()}_.dispatchEvent(new Event("{ui.name}.init"))}return function window_createClass(t,o,i){return o&&window_defineProperties(t.prototype,o),i&&window_defineProperties(t,i),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(i){o.state.collections[t].push(i)})))}},{key:"toggle",value:function toggle(t){var o=this;o.cleanLinks();var i=t.getAttribute("href")||t.getAttribute("data-href"),a=t.getAttribute("data-embed");t.classList.add("loading"),o.state.current=t;var c=t.getAttribute("data-title");c?o.setCaption(c):o.setCaption(""),a?o.embed(i):o.load(i),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 i=o.getAttribute("data-gallery");t.collectGaleries(i),o.addEventListener("click",(function(o){o.preventDefault(),console.log("MetaWindow: [link] click");var i=o.currentTarget;t.toggle(i)}))}))}},{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,i=o.name,a=o.state.current;o.state.target.innerHTML="";var c=document.createElement("div");c.classList.add("meta-".concat(i)),(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(i,"-overlay")),o.state.shown&&l.classList.add("meta-".concat(i,"-overlay--open")),o.state.loading&&l.classList.add("meta-".concat(i,"-overlay--loading")),o.state.error&&l.classList.add("meta-".concat(i,"-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='<i class="icon fa fas fa-times"></i> <span class="visually-hidden">Close</span>',d.addEventListener("click",(function(t){t.preventDefault(),o.hide()})),u.append(d),a){var p=a.getAttribute("data-gallery");if(p&&o.state.collections[p].length>1){var h=document.createElement("nav");h.classList.add("meta-navs");var y=document.createElement("button");y.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),y.innerHTML='<i class="icon fa fas fa-chevron-left"></i> <span class="visually-hidden">Previous</span>',y.addEventListener("click",(function(t){t.preventDefault(),o.prev()})),h.append(y);var v=document.createElement("button");v.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),v.innerHTML='<i class="icon fa fas fa-chevron-right"></i> <span class="visually-hidden">Next</span>',v.addEventListener("click",(function(t){t.preventDefault(),o.next()})),h.append(v),u.append(h)}}var g=document.createElement("section");if(g.classList.add("meta-wrap","typography"),o.state.extraClass&&g.classList.add(o.state.extraClass),g.innerHTML=o.getHtml(),u.append(g),o.state.error){var b=document.createElement("div");b.classList.add("meta-error"),b.innerHTML=o.state.error,u.append(b)}else if(o.state.caption){var w=document.createElement("div");w.classList.add("meta-caption"),w.innerHTML=o.getCaption(),u.append(w)}return"undefined"!==typeof window.FontAwesome&&window.FontAwesome.dom.i2svg(),o}}]),MetaWindow}(),S=E,A=document.getElementById("MetaLightboxApp");A||(console.warn("MetaWindow: missing container #MetaLightboxApp - create new one"),(A=document.createElement("div")).setAttribute("id","MetaLightboxApp"),document.querySelector("body").append(A));var L=function init(){var t=window.MetaWindow;"undefined"===typeof t&&(t=new S({target:A}),window.MetaWindow=t),t.init()};window.addEventListener("".concat(w),L),window.addEventListener("".concat(b),L),window.addEventListener("MetaWindow.initLinks",L);var x=new Map,k=function set(t,o,i){x.has(t)||x.set(t,new Map);var a=x.get(t);a.has(o)||0===a.size?a.set(o,i):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(a.keys())[0],"."))},O=function get(t,o){return x.has(t)&&x.get(t).get(o)||null},P=function remove(t,o){if(x.has(t)){var i=x.get(t);i.delete(o),0===i.size&&x.delete(t)}};function util_toConsumableArray(t){return function util_arrayWithoutHoles(t){if(Array.isArray(t))return util_arrayLikeToArray(t)}(t)||function util_iterableToArray(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function util_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return util_arrayLikeToArray(t,o);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return util_arrayLikeToArray(t,o)}(t)||function util_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 util_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,a=new Array(o);i<o;i++)a[i]=t[i];return a}function util_typeof(t){return util_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},util_typeof(t)}var C="transitionend",T=function parseSelector(t){return t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,(function(t,o){return"#".concat(CSS.escape(o))}))),t},I=function toType(t){return null===t||void 0===t?"".concat(t):Object.prototype.toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()},j=function isElement(t){return!(!t||"object"!==util_typeof(t))&&("undefined"!==typeof t.jquery&&(t=t[0]),"undefined"!==typeof t.nodeType)},N=function getElement(t){return j(t)?t.jquery?t[0]:t:"string"===typeof t&&t.length>0?document.querySelector(T(t)):null},R=function getjQuery(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},D=[],M=function execute(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t;return"function"===typeof t?t.apply(void 0,util_toConsumableArray(o)):i},G=function executeAfterTransition(t,o){if(!(arguments.length>2&&void 0!==arguments[2])||arguments[2]){var i=function getTransitionDurationFromElement(t){if(!t)return 0;var o=window.getComputedStyle(t),i=o.transitionDuration,a=o.transitionDelay,c=Number.parseFloat(i),l=Number.parseFloat(a);return c||l?(i=i.split(",")[0],a=a.split(",")[0],1e3*(Number.parseFloat(i)+Number.parseFloat(a))):0}(o)+5,a=!1;o.addEventListener(C,(function handler(i){i.target===o&&(a=!0,o.removeEventListener(C,handler),M(t))})),setTimeout((function(){a||function triggerTransitionEnd(t){t.dispatchEvent(new Event(C))}(o)}),i)}else M(t)};function _slicedToArray(t,o){return function _arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function _iterableToArrayLimit(t,o){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var a,c,l,u,d=[],p=!0,h=!1;try{if(l=(i=i.call(t)).next,0===o){if(Object(i)!==i)return;p=!1}else for(;!(p=(a=l.call(i)).done)&&(d.push(a.value),d.length!==o);p=!0);}catch(t){h=!0,c=t}finally{try{if(!p&&null!=i.return&&(u=i.return(),Object(u)!==u))return}finally{if(h)throw c}}return d}}(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 _createForOfIteratorHelper(t,o){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=event_handler_unsupportedIterableToArray(t))||o&&t&&"number"===typeof t.length){i&&(t=i);var a=0,c=function F(){};return{s:c,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},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(){i=i.call(t)},n:function n(){var t=i.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==i.return||i.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 i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?event_handler_arrayLikeToArray(t,o):void 0}}function event_handler_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,a=new Array(o);i<o;i++)a[i]=t[i];return a}var H=/[^.]*(?=\..*)\.|.*/,z=/\..*/,U=/::\d+$/,q={},B=1,W={mouseenter:"mouseover",mouseleave:"mouseout"},K=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function makeEventUid(t,o){return o&&"".concat(o,"::").concat(B++)||t.uidEvent||B++}function getElementEvents(t){var o=makeEventUid(t);return t.uidEvent=o,q[o]=q[o]||{},q[o]}function findHandler(t,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return Object.values(t).find((function(t){return t.callable===o&&t.delegationSelector===i}))}function normalizeParameters(t,o,i){var a="string"===typeof o,c=a?i:o||i,l=getTypeEvent(t);return K.has(l)||(l=t),[a,c,l]}function addHandler(t,o,i,a,c){if("string"===typeof o&&t){var l=_slicedToArray(normalizeParameters(o,i,a),3),u=l[0],d=l[1],p=l[2];if(o in W){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 h=getElementEvents(t),y=h[p]||(h[p]={}),v=findHandler(y,d,u?i:null);if(v)v.oneOff=v.oneOff&&c;else{var g=makeEventUid(d,o.replace(H,"")),b=u?function bootstrapDelegationHandler(t,o,i){return function handler(a){for(var c=t.querySelectorAll(o),l=a.target;l&&l!==this;l=l.parentNode){var u,d=_createForOfIteratorHelper(c);try{for(d.s();!(u=d.n()).done;)if(u.value===l)return hydrateObj(a,{delegateTarget:l}),handler.oneOff&&Y.off(t,a.type,o,i),i.apply(l,[a])}catch(p){d.e(p)}finally{d.f()}}}}(t,i,d):function bootstrapHandler(t,o){return function handler(i){return hydrateObj(i,{delegateTarget:t}),handler.oneOff&&Y.off(t,i.type,o),o.apply(t,[i])}}(t,d);b.delegationSelector=u?i:null,b.callable=d,b.oneOff=c,b.uidEvent=g,y[g]=b,t.addEventListener(p,b,u)}}}function removeHandler(t,o,i,a,c){var l=findHandler(o[i],a,c);l&&(t.removeEventListener(i,l,Boolean(c)),delete o[i][l.uidEvent])}function removeNamespacedHandlers(t,o,i,a){for(var c=o[i]||{},l=0,u=Object.entries(c);l<u.length;l++){var d=_slicedToArray(u[l],2),p=d[0],h=d[1];p.includes(a)&&removeHandler(t,o,i,h.callable,h.delegationSelector)}}function getTypeEvent(t){return t=t.replace(z,""),W[t]||t}var Y={on:function on(t,o,i,a){addHandler(t,o,i,a,!1)},one:function one(t,o,i,a){addHandler(t,o,i,a,!0)},off:function off(t,o,i,a){if("string"===typeof o&&t){var c=_slicedToArray(normalizeParameters(o,i,a),3),l=c[0],u=c[1],d=c[2],p=d!==o,h=getElementEvents(t),y=h[d]||{},v=o.startsWith(".");if("undefined"===typeof u){if(v)for(var g=0,b=Object.keys(h);g<b.length;g++){removeNamespacedHandlers(t,h,b[g],o.slice(1))}for(var w=0,_=Object.entries(y);w<_.length;w++){var E=_slicedToArray(_[w],2),S=E[0],A=E[1],L=S.replace(U,"");p&&!o.includes(L)||removeHandler(t,h,d,A.callable,A.delegationSelector)}}else{if(!Object.keys(y).length)return;removeHandler(t,h,d,u,l?i:null)}}},trigger:function trigger(t,o,i){if("string"!==typeof o||!t)return null;var $=R(),a=null,c=!0,l=!0,u=!1;o!==getTypeEvent(o)&&$&&(a=$.Event(o,i),$(t).trigger(a),c=!a.isPropagationStopped(),l=!a.isImmediatePropagationStopped(),u=a.isDefaultPrevented());var d=hydrateObj(new Event(o,{bubbles:c,cancelable:!0}),i);return u&&d.preventDefault(),l&&t.dispatchEvent(d),d.defaultPrevented&&a&&a.preventDefault(),d}};function hydrateObj(t){for(var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=function _loop(){var o=_slicedToArray(c[a],2),i=o[0],l=o[1];try{t[i]=l}catch(u){Object.defineProperty(t,i,{configurable:!0,get:function get(){return l}})}},a=0,c=Object.entries(o);a<c.length;a++)i();return t}var V=Y;function manipulator_createForOfIteratorHelper(t,o){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function manipulator_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return manipulator_arrayLikeToArray(t,o);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return manipulator_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){i&&(t=i);var a=0,c=function F(){};return{s:c,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},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(){i=i.call(t)},n:function n(){var t=i.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==i.return||i.return()}finally{if(d)throw l}}}}function manipulator_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,a=new Array(o);i<o;i++)a[i]=t[i];return a}function normalizeData(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!==typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(o){return t}}function normalizeDataKey(t){return t.replace(/[A-Z]/g,(function(t){return"-".concat(t.toLowerCase())}))}var J={setDataAttribute:function setDataAttribute(t,o,i){t.setAttribute("data-bs-".concat(normalizeDataKey(o)),i)},removeDataAttribute:function removeDataAttribute(t,o){t.removeAttribute("data-bs-".concat(normalizeDataKey(o)))},getDataAttributes:function getDataAttributes(t){if(!t)return{};var o,i={},a=Object.keys(t.dataset).filter((function(t){return t.startsWith("bs")&&!t.startsWith("bsConfig")})),c=manipulator_createForOfIteratorHelper(a);try{for(c.s();!(o=c.n()).done;){var l=o.value,u=l.replace(/^bs/,"");i[u=u.charAt(0).toLowerCase()+u.slice(1,u.length)]=normalizeData(t.dataset[l])}}catch(d){c.e(d)}finally{c.f()}return i},getDataAttribute:function getDataAttribute(t,o){return normalizeData(t.getAttribute("data-bs-".concat(normalizeDataKey(o))))}};function config_slicedToArray(t,o){return function config_arrayWithHoles(t){if(Array.isArray(t))return t}(t)||function config_iterableToArrayLimit(t,o){var i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var a,c,l,u,d=[],p=!0,h=!1;try{if(l=(i=i.call(t)).next,0===o){if(Object(i)!==i)return;p=!1}else for(;!(p=(a=l.call(i)).done)&&(d.push(a.value),d.length!==o);p=!0);}catch(t){h=!0,c=t}finally{try{if(!p&&null!=i.return&&(u=i.return(),Object(u)!==u))return}finally{if(h)throw c}}return d}}(t,o)||function config_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return config_arrayLikeToArray(t,o);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return config_arrayLikeToArray(t,o)}(t,o)||function config_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 config_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,a=new Array(o);i<o;i++)a[i]=t[i];return a}function config_typeof(t){return config_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},config_typeof(t)}function ownKeys(t,o){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);o&&(a=a.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),i.push.apply(i,a)}return i}function _objectSpread(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys(Object(i),!0).forEach((function(o){config_defineProperty(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))}))}return t}function config_defineProperty(t,o,i){return(o=config_toPropertyKey(o))in t?Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[o]=i,t}function config_defineProperties(t,o){for(var i=0;i<o.length;i++){var a=o[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,config_toPropertyKey(a.key),a)}}function config_toPropertyKey(t){var o=function config_toPrimitive(t,o){if("object"!==config_typeof(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,o||"default");if("object"!==config_typeof(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===config_typeof(o)?o:String(o)}var X=function(){function Config(){!function config_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,Config)}return function config_createClass(t,o,i){return o&&config_defineProperties(t.prototype,o),i&&config_defineProperties(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}(Config,[{key:"_getConfig",value:function _getConfig(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t}},{key:"_mergeConfigObj",value:function _mergeConfigObj(t,o){var i=j(o)?J.getDataAttribute(o,"config"):{};return _objectSpread(_objectSpread(_objectSpread(_objectSpread({},this.constructor.Default),"object"===config_typeof(i)?i:{}),j(o)?J.getDataAttributes(o):{}),"object"===config_typeof(t)?t:{})}},{key:"_typeCheckConfig",value:function _typeCheckConfig(t){for(var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType,i=0,a=Object.entries(o);i<a.length;i++){var c=config_slicedToArray(a[i],2),l=c[0],u=c[1],d=t[l],p=j(d)?"element":I(d);if(!new RegExp(u).test(p))throw new TypeError("".concat(this.constructor.NAME.toUpperCase(),': Option "').concat(l,'" provided type "').concat(p,'" but expected type "').concat(u,'".'))}}}],[{key:"Default",get:function get(){return{}}},{key:"DefaultType",get:function get(){return{}}},{key:"NAME",get:function get(){throw new Error('You have to implement the static method "NAME", for each component!')}}]),Config}();function base_component_typeof(t){return base_component_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},base_component_typeof(t)}function base_component_createForOfIteratorHelper(t,o){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function base_component_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return base_component_arrayLikeToArray(t,o);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return base_component_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){i&&(t=i);var a=0,c=function F(){};return{s:c,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},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(){i=i.call(t)},n:function n(){var t=i.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==i.return||i.return()}finally{if(d)throw l}}}}function base_component_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,a=new Array(o);i<o;i++)a[i]=t[i];return a}function base_component_defineProperties(t,o){for(var i=0;i<o.length;i++){var a=o[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,(c=a.key,l=void 0,l=function base_component_toPrimitive(t,o){if("object"!==base_component_typeof(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,o||"default");if("object"!==base_component_typeof(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(c,"string"),"symbol"===base_component_typeof(l)?l:String(l)),a)}var c,l}function _setPrototypeOf(t,o){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,o){return t.__proto__=o,t},_setPrototypeOf(t,o)}function _createSuper(t){var o=function _isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var i,a=_getPrototypeOf(t);if(o){var c=_getPrototypeOf(this).constructor;i=Reflect.construct(a,arguments,c)}else i=a.apply(this,arguments);return _possibleConstructorReturn(this,i)}}function _possibleConstructorReturn(t,o){if(o&&("object"===base_component_typeof(o)||"function"===typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}var Q=function(t){!function _inherits(t,o){if("function"!==typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&_setPrototypeOf(t,o)}(BaseComponent,t);var o=_createSuper(BaseComponent);function BaseComponent(t,i){var a;return function base_component_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,BaseComponent),a=o.call(this),(t=N(t))?(a._element=t,a._config=a._getConfig(i),k(a._element,a.constructor.DATA_KEY,_assertThisInitialized(a)),a):_possibleConstructorReturn(a)}return function base_component_createClass(t,o,i){return o&&base_component_defineProperties(t.prototype,o),i&&base_component_defineProperties(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}(BaseComponent,[{key:"dispose",value:function dispose(){P(this._element,this.constructor.DATA_KEY),V.off(this._element,this.constructor.EVENT_KEY);var t,o=base_component_createForOfIteratorHelper(Object.getOwnPropertyNames(this));try{for(o.s();!(t=o.n()).done;){this[t.value]=null}}catch(i){o.e(i)}finally{o.f()}}},{key:"_queueCallback",value:function _queueCallback(t,o){G(t,o,!(arguments.length>2&&void 0!==arguments[2])||arguments[2])}},{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 O(N(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.3.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}(X),Z=Q;function selector_engine_toConsumableArray(t){return function selector_engine_arrayWithoutHoles(t){if(Array.isArray(t))return selector_engine_arrayLikeToArray(t)}(t)||function selector_engine_iterableToArray(t){if("undefined"!==typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function selector_engine_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return selector_engine_arrayLikeToArray(t,o);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return selector_engine_arrayLikeToArray(t,o)}(t)||function selector_engine_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 selector_engine_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,a=new Array(o);i<o;i++)a[i]=t[i];return a}var ee=function getSelector(t){var o=t.getAttribute("data-bs-target");if(!o||"#"===o){var i=t.getAttribute("href");if(!i||!i.includes("#")&&!i.startsWith("."))return null;i.includes("#")&&!i.startsWith("#")&&(i="#".concat(i.split("#")[1])),o=i&&"#"!==i?T(i.trim()):null}return o},te={find:function find(t){var o,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(o=[]).concat.apply(o,selector_engine_toConsumableArray(Element.prototype.querySelectorAll.call(i,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 i;return(i=[]).concat.apply(i,selector_engine_toConsumableArray(t.children)).filter((function(t){return t.matches(o)}))},parents:function parents(t,o){for(var parents=[],i=t.parentNode.closest(o);i;)parents.push(i),i=i.parentNode.closest(o);return parents},prev:function prev(t,o){for(var i=t.previousElementSibling;i;){if(i.matches(o))return[i];i=i.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)&&function isVisible(t){if(!j(t)||0===t.getClientRects().length)return!1;var o="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return o;if(i!==t){var a=t.closest("summary");if(a&&a.parentNode!==i)return!1;if(null===a)return!1}return o}(t)}))},getSelectorFromElement:function getSelectorFromElement(t){var o=ee(t);return o&&te.findOne(o)?o:null},getElementFromSelector:function getElementFromSelector(t){var o=ee(t);return o?te.findOne(o):null},getMultipleElementsFromSelector:function getMultipleElementsFromSelector(t){var o=ee(t);return o?te.find(o):[]}},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 i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function collapse_unsupportedIterableToArray(t,o){if(!t)return;if("string"===typeof t)return collapse_arrayLikeToArray(t,o);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return collapse_arrayLikeToArray(t,o)}(t))||o&&t&&"number"===typeof t.length){i&&(t=i);var a=0,c=function F(){};return{s:c,n:function n(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},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(){i=i.call(t)},n:function n(){var t=i.next();return u=t.done,t},e:function e(t){d=!0,l=t},f:function f(){try{u||null==i.return||i.return()}finally{if(d)throw l}}}}function collapse_arrayLikeToArray(t,o){(null==o||o>t.length)&&(o=t.length);for(var i=0,a=new Array(o);i<o;i++)a[i]=t[i];return a}function collapse_defineProperties(t,o){for(var i=0;i<o.length;i++){var a=o[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,(c=a.key,l=void 0,l=function collapse_toPrimitive(t,o){if("object"!==collapse_typeof(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,o||"default");if("object"!==collapse_typeof(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(c,"string"),"symbol"===collapse_typeof(l)?l:String(l)),a)}var c,l}function collapse_setPrototypeOf(t,o){return collapse_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(t,o){return t.__proto__=o,t},collapse_setPrototypeOf(t,o)}function collapse_createSuper(t){var o=function collapse_isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var i,a=collapse_getPrototypeOf(t);if(o){var c=collapse_getPrototypeOf(this).constructor;i=Reflect.construct(a,arguments,c)}else i=a.apply(this,arguments);return function collapse_possibleConstructorReturn(t,o){if(o&&("object"===collapse_typeof(o)||"function"===typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return function collapse_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,i)}}function collapse_getPrototypeOf(t){return collapse_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},collapse_getPrototypeOf(t)}var re=".".concat("bs.collapse"),oe="show".concat(re),ie="shown".concat(re),ae="hide".concat(re),ce="hidden".concat(re),se="click".concat(re).concat(".data-api"),le="show",ue="collapse",fe="collapsing",de=":scope .".concat(ue," .").concat(ue),pe='[data-bs-toggle="collapse"]',he={parent:null,toggle:!0},ye={parent:"(null|element)",toggle:"boolean"},me=function(t){!function collapse_inherits(t,o){if("function"!==typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),o&&collapse_setPrototypeOf(t,o)}(Collapse,t);var o=collapse_createSuper(Collapse);function Collapse(t,i){var a;!function collapse_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,Collapse),(a=o.call(this,t,i))._isTransitioning=!1,a._triggerArray=[];var c,l=collapse_createForOfIteratorHelper(ne.find(pe));try{for(l.s();!(c=l.n()).done;){var u=c.value,d=ne.getSelectorFromElement(u),p=ne.find(d).filter((function(t){return t===a._element}));null!==d&&p.length&&a._triggerArray.push(u)}}catch(h){l.e(h)}finally{l.f()}return a._initializeChildren(),a._config.parent||a._addAriaAndCollapsedClass(a._triggerArray,a._isShown()),a._config.toggle&&a.toggle(),a}return function collapse_createClass(t,o,i){return o&&collapse_defineProperties(t.prototype,o),i&&collapse_defineProperties(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}(Collapse,[{key:"toggle",value:function toggle(){this._isShown()?this.hide():this.show()}},{key:"show",value:function show(){var t=this;if(!this._isTransitioning&&!this._isShown()){var o=[];if(this._config.parent&&(o=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((function(o){return o!==t._element})).map((function(t){return Collapse.getOrCreateInstance(t,{toggle:!1})}))),!o.length||!o[0]._isTransitioning)if(!V.trigger(this._element,oe).defaultPrevented){var i,a=collapse_createForOfIteratorHelper(o);try{for(a.s();!(i=a.n()).done;){i.value.hide()}}catch(d){a.e(d)}finally{a.f()}var c=this._getDimension();this._element.classList.remove(ue),this._element.classList.add(fe),this._element.style[c]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;var l=c[0].toUpperCase()+c.slice(1),u="scroll".concat(l);this._queueCallback((function complete(){t._isTransitioning=!1,t._element.classList.remove(fe),t._element.classList.add(ue,le),t._element.style[c]="",V.trigger(t._element,ie)}),this._element,!0),this._element.style[c]="".concat(this._element[u],"px")}}}},{key:"hide",value:function hide(){var t=this;if(!this._isTransitioning&&this._isShown()&&!V.trigger(this._element,ae).defaultPrevented){var o=this._getDimension();this._element.style[o]="".concat(this._element.getBoundingClientRect()[o],"px"),function reflow(t){t.offsetHeight}(this._element),this._element.classList.add(fe),this._element.classList.remove(ue,le);var i,a=collapse_createForOfIteratorHelper(this._triggerArray);try{for(a.s();!(i=a.n()).done;){var c=i.value,l=ne.getElementFromSelector(c);l&&!this._isShown(l)&&this._addAriaAndCollapsedClass([c],!1)}}catch(u){a.e(u)}finally{a.f()}this._isTransitioning=!0;this._element.style[o]="",this._queueCallback((function complete(){t._isTransitioning=!1,t._element.classList.remove(fe),t._element.classList.add(ue),V.trigger(t._element,ce)}),this._element,!0)}}},{key:"_isShown",value:function _isShown(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(le)}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=N(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 i=t.value,a=ne.getElementFromSelector(i);a&&this._addAriaAndCollapsedClass([i],this._isShown(a))}}catch(c){o.e(c)}finally{o.f()}}}},{key:"_getFirstLevelChildren",value:function _getFirstLevelChildren(t){var o=ne.find(de,this._config.parent);return ne.find(t,this._config.parent).filter((function(t){return!o.includes(t)}))}},{key:"_addAriaAndCollapsedClass",value:function _addAriaAndCollapsedClass(t,o){if(t.length){var i,a=collapse_createForOfIteratorHelper(t);try{for(a.s();!(i=a.n()).done;){var c=i.value;c.classList.toggle("collapsed",!o),c.setAttribute("aria-expanded",o)}}catch(l){a.e(l)}finally{a.f()}}}}],[{key:"Default",get:function get(){return he}},{key:"DefaultType",get:function get(){return ye}},{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 i=Collapse.getOrCreateInstance(this,o);if("string"===typeof t){if("undefined"===typeof i[t])throw new TypeError('No method named "'.concat(t,'"'));i[t]()}}))}}]),Collapse}(Z);V.on(document,se,pe,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();var o,i=collapse_createForOfIteratorHelper(ne.getMultipleElementsFromSelector(this));try{for(i.s();!(o=i.n()).done;){var a=o.value;me.getOrCreateInstance(a,{toggle:!1}).toggle()}}catch(c){i.e(c)}finally{i.f()}})),function defineJQueryPlugin(t){!function onDOMContentLoaded(t){"loading"===document.readyState?(D.length||document.addEventListener("DOMContentLoaded",(function(){for(var t=0,o=D;t<o.length;t++)(0,o[t])()})),D.push(t)):t()}((function(){var $=R();if($){var o=t.NAME,i=$.fn[o];$.fn[o]=t.jQueryInterface,$.fn[o].Constructor=t,$.fn[o].noConflict=function(){return $.fn[o]=i,t.jQueryInterface}}}))}(me);!function(t){var o="js-dropdown",i=["active","active-dropdown"],a=function HideAll(){document.querySelectorAll(".dropdown-menu").forEach((function(t,o){var a,c=t.closest(".dropdown");c&&(a=c.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);var c=a.querySelector(".dropdown-menu");c&&c.classList.add("show")},u=function Hide(t){var o;t.stopPropagation();var a=t.currentTarget;(o=a.classList).remove.apply(o,i);var c=a.querySelector(".dropdown-menu");c&&c.classList.remove("show")},d=function init(){console.log("".concat(o,": init"));var i=document.querySelectorAll(".".concat(o,',[data-bs-toggle="dropdown"],.dropdown-toggle')),c=document.querySelectorAll('[data-bs-toggle="hover"]'),d=function attachClickEvents(i){i.addEventListener("click",(function(i){i.preventDefault();var c=i.currentTarget,l=c.closest(".dropdown"),u=c.getAttribute("href");if(u&&c.dataset.firstClick){if(console.log("".concat(o,": nav second click")),i.stopImmediatePropagation(),"undefined"===typeof t.app||"undefined"===typeof t.app.Router)return void(t.location.href=u);t.app.Router.openURL(u)}if(c.dataset.firstClick=!0,l){if(u&&t.innerWidth>768&&l.classList.contains("active-dropdown")){if(console.log("".concat(o,": big screen | nav click the dropdown is shown already")),i.stopImmediatePropagation(),"undefined"===typeof t.app||"undefined"===typeof t.app.Router)return void(t.location.href=u);t.app.Router.openURL(u)}console.log("".concat(o,": nav toggle")),function Toggle(t){a();var o=t.querySelector(".dropdown-menu");o&&o.classList.toggle("show")}(l)}})),i.classList.add("".concat(o,"-active"))};document.addEventListener("click",(function(t){var o=!1,i=t.path||t.composedPath&&t.composedPath();i||console.warn("Browser does not provide event path to hide dropdowns on outside click"),i.forEach((function(t,i){o||(t===document&&a(),t.classList&&t.classList.contains("dropdown-toggle")&&(o=!0))}))})),c.forEach((function(t,i){var a=t.closest(".dropdown");a&&function attachHoverEvents(t){t.addEventListener("mouseover",l,!1),t.addEventListener("mouseleave",u,!1),t.classList.add("".concat(o,"-active"))}(a)})),i.forEach((function(t,o){d(t)}))};t.addEventListener("".concat(c.LODEDANDREADY),d),t.addEventListener("".concat(c.AJAX),d)}(window);function _typeof2(t){return _typeof2="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},_typeof2(t)}function glide_esm_typeof(t){return glide_esm_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(t){return typeof t}:function _typeof(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},glide_esm_typeof(t)}function glide_esm_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}function glide_esm_defineProperties(t,o){for(var i=0;i<o.length;i++){var a=o[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function glide_esm_createClass(t,o,i){return o&&glide_esm_defineProperties(t.prototype,o),i&&glide_esm_defineProperties(t,i),t}function glide_esm_getPrototypeOf(t){return glide_esm_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(t){return t.__proto__||Object.getPrototypeOf(t)},glide_esm_getPrototypeOf(t)}function glide_esm_setPrototypeOf(t,o){return glide_esm_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(t,o){return t.__proto__=o,t},glide_esm_setPrototypeOf(t,o)}function glide_esm_possibleConstructorReturn(t,o){if(o&&("object"===_typeof2(o)||"function"===typeof o))return o;if(void 0!==o)throw new TypeError("Derived constructors may only return object or undefined");return function glide_esm_assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function glide_esm_createSuper(t){var o=function glide_esm_isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function _createSuperInternal(){var i,a=glide_esm_getPrototypeOf(t);if(o){var c=glide_esm_getPrototypeOf(this).constructor;i=Reflect.construct(a,arguments,c)}else i=a.apply(this,arguments);return glide_esm_possibleConstructorReturn(this,i)}}function _get(){return _get="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function _get(t,o,i){var a=function _superPropBase(t,o){for(;!Object.prototype.hasOwnProperty.call(t,o)&&null!==(t=glide_esm_getPrototypeOf(t)););return t}(t,o);if(a){var c=Object.getOwnPropertyDescriptor(a,o);return c.get?c.get.call(arguments.length<3?t:i):c.value}},_get.apply(this,arguments)}var ve={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function warn(t){console.error("[Glide warn]: ".concat(t))}function toInt(t){return parseInt(t)}function isString(t){return"string"===typeof t}function isObject(t){var o=glide_esm_typeof(t);return"function"===o||"object"===o&&!!t}function isFunction(t){return"function"===typeof t}function isUndefined(t){return"undefined"===typeof t}function isArray(t){return t.constructor===Array}function glide_esm_define(t,o,i){Object.defineProperty(t,o,i)}function mergeOptions(t,o){var i=Object.assign({},t,o);return o.hasOwnProperty("classes")&&(i.classes=Object.assign({},t.classes,o.classes),o.classes.hasOwnProperty("direction")&&(i.classes.direction=Object.assign({},t.classes.direction,o.classes.direction)),o.classes.hasOwnProperty("type")&&(i.classes.type=Object.assign({},t.classes.type,o.classes.type)),o.classes.hasOwnProperty("slide")&&(i.classes.slide=Object.assign({},t.classes.slide,o.classes.slide)),o.classes.hasOwnProperty("arrow")&&(i.classes.arrow=Object.assign({},t.classes.arrow,o.classes.arrow)),o.classes.hasOwnProperty("nav")&&(i.classes.nav=Object.assign({},t.classes.nav,o.classes.nav))),o.hasOwnProperty("breakpoints")&&(i.breakpoints=Object.assign({},t.breakpoints,o.breakpoints)),i}var ge=function(){function EventsBus(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};glide_esm_classCallCheck(this,EventsBus),this.events=t,this.hop=t.hasOwnProperty}return glide_esm_createClass(EventsBus,[{key:"on",value:function on(t,o){if(!isArray(t)){this.hop.call(this.events,t)||(this.events[t]=[]);var i=this.events[t].push(o)-1;return{remove:function remove(){delete this.events[t][i]}}}for(var a=0;a<t.length;a++)this.on(t[a],o)}},{key:"emit",value:function emit(t,o){if(isArray(t))for(var i=0;i<t.length;i++)this.emit(t[i],o);else this.hop.call(this.events,t)&&this.events[t].forEach((function(t){t(o||{})}))}}]),EventsBus}(),be=function(){function Glide(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};glide_esm_classCallCheck(this,Glide),this._c={},this._t=[],this._e=new ge,this.disabled=!1,this.selector=t,this.settings=mergeOptions(ve,o),this.index=this.settings.startAt}return glide_esm_createClass(Glide,[{key:"mount",value:function mount$1(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),isObject(t)?this._c=function mount(t,o,i){var a={};for(var c in o)isFunction(o[c])?a[c]=o[c](t,a,i):warn("Extension must be a function");for(var l in a)isFunction(a[l].mount)&&a[l].mount();return a}(this,t,this._e):warn("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function mutate(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return isArray(t)?this._t=t:warn("You need to provide a array on `mutate()`"),this}},{key:"update",value:function update(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=mergeOptions(this.settings,t),t.hasOwnProperty("startAt")&&(this.index=t.startAt),this._e.emit("update"),this}},{key:"go",value:function go(t){return this._c.Run.make(t),this}},{key:"move",value:function move(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function destroy(){return this._e.emit("destroy"),this}},{key:"play",value:function play(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&(this.settings.autoplay=t),this._e.emit("play"),this}},{key:"pause",value:function pause(){return this._e.emit("pause"),this}},{key:"disable",value:function disable(){return this.disabled=!0,this}},{key:"enable",value:function enable(){return this.disabled=!1,this}},{key:"on",value:function on(t,o){return this._e.on(t,o),this}},{key:"isType",value:function isType(t){return this.settings.type===t}},{key:"settings",get:function get(){return this._o},set:function set(t){isObject(t)?this._o=t:warn("Options must be an `object` instance.")}},{key:"index",get:function get(){return this._i},set:function set(t){this._i=toInt(t)}},{key:"type",get:function get(){return this.settings.type}},{key:"disabled",get:function get(){return this._d},set:function set(t){this._d=!!t}}]),Glide}();function now(){return(new Date).getTime()}function throttle(t,o,i){var a,c,l,u,d=0;i||(i={});var p=function later(){d=!1===i.leading?0:now(),a=null,u=t.apply(c,l),a||(c=l=null)},h=function throttled(){var h=now();d||!1!==i.leading||(d=h);var y=o-(h-d);return c=this,l=arguments,y<=0||y>o?(a&&(clearTimeout(a),a=null),d=h,u=t.apply(c,l),a||(c=l=null)):a||!1===i.trailing||(a=setTimeout(p,y)),u};return h.cancel=function(){clearTimeout(a),d=0,a=c=l=null},h}var we={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function siblings(t){if(t&&t.parentNode){for(var o=t.parentNode.firstChild,i=[];o;o=o.nextSibling)1===o.nodeType&&o!==t&&i.push(o);return i}return[]}function exist(t){return!!(t&&t instanceof window.HTMLElement)}function toArray(t){return Array.prototype.slice.call(t)}var _e='[data-glide-el="track"]';var Ee=function(){function EventsBinder(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};glide_esm_classCallCheck(this,EventsBinder),this.listeners=t}return glide_esm_createClass(EventsBinder,[{key:"on",value:function on(t,o,i){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];isString(t)&&(t=[t]);for(var c=0;c<t.length;c++)this.listeners[t[c]]=i,o.addEventListener(t[c],this.listeners[t[c]],a)}},{key:"off",value:function off(t,o){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];isString(t)&&(t=[t]);for(var a=0;a<t.length;a++)o.removeEventListener(t[a],this.listeners[t[a]],i)}},{key:"destroy",value:function destroy(){delete this.listeners}}]),EventsBinder}();var Se=["ltr","rtl"],Ae={">":"<","<":">","=":"="};function Rtl(t,o){return{modify:function modify(t){return o.Direction.is("rtl")?-t:t}}}function Gap(t,o){return{modify:function modify(t){var i=Math.floor(t/o.Sizes.slideWidth);return t+o.Gaps.value*i}}}function Grow(t,o){return{modify:function modify(t){return t+o.Clones.grow/2}}}function Peeking(t,o){return{modify:function modify(i){if(t.settings.focusAt>=0){var a=o.Peek.value;return isObject(a)?i-a.before:i-a}return i}}}function Focusing(t,o){return{modify:function modify(i){var a=o.Gaps.value,c=o.Sizes.width,l=t.settings.focusAt,u=o.Sizes.slideWidth;return"center"===l?i-(c/2-u/2):i-u*l-a*l}}}var Le=!1;try{var xe=Object.defineProperty({},"passive",{get:function get(){Le=!0}});window.addEventListener("testPassive",null,xe),window.removeEventListener("testPassive",null,xe)}catch(Xe){}var ke=Le,Oe=["touchstart","mousedown"],Pe=["touchmove","mousemove"],Ce=["touchend","touchcancel","mouseup","mouseleave"],Te=["mousedown","mousemove","mouseup","mouseleave"];var Ie='[data-glide-el^="controls"]',je="".concat(Ie,' [data-glide-dir*="<"]'),Ne="".concat(Ie,' [data-glide-dir*=">"]');function sortBreakpoints(t){return isObject(t)?function sortKeys(t){return Object.keys(t).sort().reduce((function(o,i){return o[i]=t[i],o[i],o}),{})}(t):(warn("Breakpoints option must be an object"),{})}var Re={Html:function Html(t,o,i){var a={mount:function mount(){this.root=t.selector,this.track=this.root.querySelector(_e),this.collectSlides()},collectSlides:function collectSlides(){this.slides=toArray(this.wrapper.children).filter((function(o){return!o.classList.contains(t.settings.classes.slide.clone)}))}};return glide_esm_define(a,"root",{get:function get(){return a._r},set:function set(t){isString(t)&&(t=document.querySelector(t)),exist(t)?a._r=t:warn("Root element must be a existing Html node")}}),glide_esm_define(a,"track",{get:function get(){return a._t},set:function set(t){exist(t)?a._t=t:warn("Could not find track element. Please use ".concat(_e," attribute."))}}),glide_esm_define(a,"wrapper",{get:function get(){return a.track.children[0]}}),i.on("update",(function(){a.collectSlides()})),a},Translate:function Translate(t,o,i){var a={set:function set(i){var a=function mutator(t,o,i){var a=[Gap,Grow,Peeking,Focusing].concat(t._t,[Rtl]);return{mutate:function mutate(c){for(var l=0;l<a.length;l++){var u=a[l];isFunction(u)&&isFunction(u().modify)?c=u(t,o,i).modify(c):warn("Transformer should be a function that returns an object with `modify()` method")}return c}}}(t,o).mutate(i),c="translate3d(".concat(-1*a,"px, 0px, 0px)");o.Html.wrapper.style.mozTransform=c,o.Html.wrapper.style.webkitTransform=c,o.Html.wrapper.style.transform=c},remove:function remove(){o.Html.wrapper.style.transform=""},getStartIndex:function getStartIndex(){var i=o.Sizes.length,a=t.index,c=t.settings.perView;return o.Run.isOffset(">")||o.Run.isOffset("|>")?i+(a-c):(a+c)%i},getTravelDistance:function getTravelDistance(){var i=o.Sizes.slideWidth*t.settings.perView;return o.Run.isOffset(">")||o.Run.isOffset("|>")?-1*i:i}};return i.on("move",(function(c){if(!t.isType("carousel")||!o.Run.isOffset())return a.set(c.movement);o.Transition.after((function(){i.emit("translate.jump"),a.set(o.Sizes.slideWidth*t.index)}));var l=o.Sizes.slideWidth*o.Translate.getStartIndex();return a.set(l-o.Translate.getTravelDistance())})),i.on("destroy",(function(){a.remove()})),a},Transition:function Transition(t,o,i){var a=!1,c={compose:function compose(o){var i=t.settings;return a?"".concat(o," 0ms ").concat(i.animationTimingFunc):"".concat(o," ").concat(this.duration,"ms ").concat(i.animationTimingFunc)},set:function set(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";o.Html.wrapper.style.transition=this.compose(t)},remove:function remove(){o.Html.wrapper.style.transition=""},after:function after(t){setTimeout((function(){t()}),this.duration)},enable:function enable(){a=!1,this.set()},disable:function disable(){a=!0,this.set()}};return glide_esm_define(c,"duration",{get:function get(){var i=t.settings;return t.isType("slider")&&o.Run.offset?i.rewindDuration:i.animationDuration}}),i.on("move",(function(){c.set()})),i.on(["build.before","resize","translate.jump"],(function(){c.disable()})),i.on("run",(function(){c.enable()})),i.on("destroy",(function(){c.remove()})),c},Direction:function Direction(t,o,i){var a={mount:function mount(){this.value=t.settings.direction},resolve:function resolve(t){var o=t.slice(0,1);return this.is("rtl")?t.split(o).join(Ae[o]):t},is:function is(t){return this.value===t},addClass:function addClass(){o.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function removeClass(){o.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return glide_esm_define(a,"value",{get:function get(){return a._v},set:function set(t){Se.indexOf(t)>-1?a._v=t:warn("Direction value must be `ltr` or `rtl`")}}),i.on(["destroy","update"],(function(){a.removeClass()})),i.on("update",(function(){a.mount()})),i.on(["build.before","update"],(function(){a.addClass()})),a},Peek:function Peek(t,o,i){var a={mount:function mount(){this.value=t.settings.peek}};return glide_esm_define(a,"value",{get:function get(){return a._v},set:function set(t){isObject(t)?(t.before=toInt(t.before),t.after=toInt(t.after)):t=toInt(t),a._v=t}}),glide_esm_define(a,"reductor",{get:function get(){var o=a.value,i=t.settings.perView;return isObject(o)?o.before/i+o.after/i:2*o/i}}),i.on(["resize","update"],(function(){a.mount()})),a},Sizes:function Sizes(t,o,i){var a={setupSlides:function setupSlides(){for(var t="".concat(this.slideWidth,"px"),i=o.Html.slides,a=0;a<i.length;a++)i[a].style.width=t},setupWrapper:function setupWrapper(){o.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function remove(){for(var t=o.Html.slides,i=0;i<t.length;i++)t[i].style.width="";o.Html.wrapper.style.width=""}};return glide_esm_define(a,"length",{get:function get(){return o.Html.slides.length}}),glide_esm_define(a,"width",{get:function get(){return o.Html.track.offsetWidth}}),glide_esm_define(a,"wrapperSize",{get:function get(){return a.slideWidth*a.length+o.Gaps.grow+o.Clones.grow}}),glide_esm_define(a,"slideWidth",{get:function get(){return a.width/t.settings.perView-o.Peek.reductor-o.Gaps.reductor}}),i.on(["build.before","resize","update"],(function(){a.setupSlides(),a.setupWrapper()})),i.on("destroy",(function(){a.remove()})),a},Gaps:function Gaps(t,o,i){var a={apply:function apply(t){for(var i=0,a=t.length;i<a;i++){var c=t[i].style,l=o.Direction.value;c[we[l][0]]=0!==i?"".concat(this.value/2,"px"):"",i!==t.length-1?c[we[l][1]]="".concat(this.value/2,"px"):c[we[l][1]]=""}},remove:function remove(t){for(var o=0,i=t.length;o<i;o++){var a=t[o].style;a.marginLeft="",a.marginRight=""}}};return glide_esm_define(a,"value",{get:function get(){return toInt(t.settings.gap)}}),glide_esm_define(a,"grow",{get:function get(){return a.value*o.Sizes.length}}),glide_esm_define(a,"reductor",{get:function get(){var o=t.settings.perView;return a.value*(o-1)/o}}),i.on(["build.after","update"],throttle((function(){a.apply(o.Html.wrapper.children)}),30)),i.on("destroy",(function(){a.remove(o.Html.wrapper.children)})),a},Move:function Move(t,o,i){var a={mount:function mount(){this._o=0},make:function make(){var t=this,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.offset=a,i.emit("move",{movement:this.value}),o.Transition.after((function(){i.emit("move.after",{movement:t.value})}))}};return glide_esm_define(a,"offset",{get:function get(){return a._o},set:function set(t){a._o=isUndefined(t)?0:toInt(t)}}),glide_esm_define(a,"translate",{get:function get(){return o.Sizes.slideWidth*t.index}}),glide_esm_define(a,"value",{get:function get(){var t=this.offset,i=this.translate;return o.Direction.is("rtl")?i+t:i-t}}),i.on(["build.before","run"],(function(){a.make()})),a},Clones:function Clones(t,o,i){var a={mount:function mount(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function collect(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=o.Html.slides,c=t.settings,l=c.perView,u=c.classes,d=c.cloningRatio;if(0!==a.length)for(var p=l+ +!!t.settings.peek+Math.round(l/2),h=a.slice(0,p).reverse(),y=a.slice(-1*p),v=0;v<Math.max(d,Math.floor(l/a.length));v++){for(var g=0;g<h.length;g++){var b=h[g].cloneNode(!0);b.classList.add(u.slide.clone),i.push(b)}for(var w=0;w<y.length;w++){var _=y[w].cloneNode(!0);_.classList.add(u.slide.clone),i.unshift(_)}}return i},append:function append(){for(var t=this.items,i=o.Html,a=i.wrapper,c=i.slides,l=Math.floor(t.length/2),u=t.slice(0,l).reverse(),append=t.slice(-1*l).reverse(),d="".concat(o.Sizes.slideWidth,"px"),p=0;p<append.length;p++)a.appendChild(append[p]);for(var h=0;h<u.length;h++)a.insertBefore(u[h],c[0]);for(var y=0;y<t.length;y++)t[y].style.width=d},remove:function remove(){for(var t=this.items,i=0;i<t.length;i++)o.Html.wrapper.removeChild(t[i])}};return glide_esm_define(a,"grow",{get:function get(){return(o.Sizes.slideWidth+o.Gaps.value)*a.items.length}}),i.on("update",(function(){a.remove(),a.mount(),a.append()})),i.on("build.before",(function(){t.isType("carousel")&&a.append()})),i.on("destroy",(function(){a.remove()})),a},Resize:function Resize(t,o,i){var a=new Ee,c={mount:function mount(){this.bind()},bind:function bind(){a.on("resize",window,throttle((function(){i.emit("resize")}),t.settings.throttle))},unbind:function unbind(){a.off("resize",window)}};return i.on("destroy",(function(){c.unbind(),a.destroy()})),c},Build:function Build(t,o,i){var a={mount:function mount(){i.emit("build.before"),this.typeClass(),this.activeClass(),i.emit("build.after")},typeClass:function typeClass(){o.Html.root.classList.add(t.settings.classes.type[t.settings.type])},activeClass:function activeClass(){var i=t.settings.classes,a=o.Html.slides[t.index];a&&(a.classList.add(i.slide.active),siblings(a).forEach((function(t){t.classList.remove(i.slide.active)})))},removeClasses:function removeClasses(){var i=t.settings.classes,a=i.type,c=i.slide;o.Html.root.classList.remove(a[t.settings.type]),o.Html.slides.forEach((function(t){t.classList.remove(c.active)}))}};return i.on(["destroy","update"],(function(){a.removeClasses()})),i.on(["resize","update"],(function(){a.mount()})),i.on("move.after",(function(){a.activeClass()})),a},Run:function Run(t,o,i){var a={mount:function mount(){this._o=!1},make:function make(a){var c=this;t.disabled||(!t.settings.waitForTransition||t.disable(),this.move=a,i.emit("run.before",this.move),this.calculate(),i.emit("run",this.move),o.Transition.after((function(){c.isStart()&&i.emit("run.start",c.move),c.isEnd()&&i.emit("run.end",c.move),c.isOffset()&&(c._o=!1,i.emit("run.offset",c.move)),i.emit("run.after",c.move),t.enable()})))},calculate:function calculate(){var o=this.move,i=this.length,c=o.steps,l=o.direction,u=1;if("="===l)return t.settings.bound&&toInt(c)>i?void(t.index=i):void(t.index=c);if(">"!==l||">"!==c)if("<"!==l||"<"!==c){if("|"===l&&(u=t.settings.perView||1),">"===l||"|"===l&&">"===c){var d=function calculateForwardIndex(o){var i=t.index;if(t.isType("carousel"))return i+o;return i+(o-i%o)}(u);return d>i&&(this._o=!0),void(t.index=function normalizeForwardIndex(o,i){var c=a.length;if(o<=c)return o;if(t.isType("carousel"))return o-(c+1);if(t.settings.rewind)return a.isBound()&&!a.isEnd()?c:0;if(a.isBound())return c;return Math.floor(c/i)*i}(d,u))}if("<"===l||"|"===l&&"<"===c){var p=function calculateBackwardIndex(o){var i=t.index;if(t.isType("carousel"))return i-o;var a=Math.ceil(i/o);return(a-1)*o}(u);return p<0&&(this._o=!0),void(t.index=function normalizeBackwardIndex(o,i){var c=a.length;if(o>=0)return o;if(t.isType("carousel"))return o+(c+1);if(t.settings.rewind)return a.isBound()&&a.isStart()?c:Math.floor(c/i)*i;return 0}(p,u))}warn("Invalid direction pattern [".concat(l).concat(c,"] has been used"))}else t.index=0;else t.index=i},isStart:function isStart(){return t.index<=0},isEnd:function isEnd(){return t.index>=this.length},isOffset:function isOffset(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return t?!!this._o&&("|>"===t?"|"===this.move.direction&&">"===this.move.steps:"|<"===t?"|"===this.move.direction&&"<"===this.move.steps:this.move.direction===t):this._o},isBound:function isBound(){return t.isType("slider")&&"center"!==t.settings.focusAt&&t.settings.bound}};return glide_esm_define(a,"move",{get:function get(){return this._m},set:function set(t){var o=t.substr(1);this._m={direction:t.substr(0,1),steps:o?toInt(o)?toInt(o):o:0}}}),glide_esm_define(a,"length",{get:function get(){var i=t.settings,a=o.Html.slides.length;return this.isBound()?a-1-(toInt(i.perView)-1)+toInt(i.focusAt):a-1}}),glide_esm_define(a,"offset",{get:function get(){return this._o}}),a},Swipe:function Swipe(t,o,i){var a=new Ee,c=0,l=0,u=0,d=!1,p=!!ke&&{passive:!0},h={mount:function mount(){this.bindSwipeStart()},start:function start(o){if(!d&&!t.disabled){this.disable();var a=this.touches(o);c=null,l=toInt(a.pageX),u=toInt(a.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),i.emit("swipe.start")}},move:function move(a){if(!t.disabled){var d=t.settings,p=d.touchAngle,h=d.touchRatio,y=d.classes,v=this.touches(a),g=toInt(v.pageX)-l,b=toInt(v.pageY)-u,w=Math.abs(g<<2),_=Math.abs(b<<2),E=Math.sqrt(w+_),S=Math.sqrt(_);if(!(180*(c=Math.asin(S/E))/Math.PI<p))return!1;a.stopPropagation(),o.Move.make(g*function toFloat(t){return parseFloat(t)}(h)),o.Html.root.classList.add(y.dragging),i.emit("swipe.move")}},end:function end(a){if(!t.disabled){var u=t.settings,d=u.perSwipe,p=u.touchAngle,h=u.classes,y=this.touches(a),v=this.threshold(a),g=y.pageX-l,b=180*c/Math.PI;this.enable(),g>v&&b<p?o.Run.make(o.Direction.resolve("".concat(d,"<"))):g<-v&&b<p?o.Run.make(o.Direction.resolve("".concat(d,">"))):o.Move.make(),o.Html.root.classList.remove(h.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),i.emit("swipe.end")}},bindSwipeStart:function bindSwipeStart(){var i=this,c=t.settings,l=c.swipeThreshold,u=c.dragThreshold;l&&a.on(Oe[0],o.Html.wrapper,(function(t){i.start(t)}),p),u&&a.on(Oe[1],o.Html.wrapper,(function(t){i.start(t)}),p)},unbindSwipeStart:function unbindSwipeStart(){a.off(Oe[0],o.Html.wrapper,p),a.off(Oe[1],o.Html.wrapper,p)},bindSwipeMove:function bindSwipeMove(){var i=this;a.on(Pe,o.Html.wrapper,throttle((function(t){i.move(t)}),t.settings.throttle),p)},unbindSwipeMove:function unbindSwipeMove(){a.off(Pe,o.Html.wrapper,p)},bindSwipeEnd:function bindSwipeEnd(){var t=this;a.on(Ce,o.Html.wrapper,(function(o){t.end(o)}))},unbindSwipeEnd:function unbindSwipeEnd(){a.off(Ce,o.Html.wrapper)},touches:function touches(t){return Te.indexOf(t.type)>-1?t:t.touches[0]||t.changedTouches[0]},threshold:function threshold(o){var i=t.settings;return Te.indexOf(o.type)>-1?i.dragThreshold:i.swipeThreshold},enable:function enable(){return d=!1,o.Transition.enable(),this},disable:function disable(){return d=!0,o.Transition.disable(),this}};return i.on("build.after",(function(){o.Html.root.classList.add(t.settings.classes.swipeable)})),i.on("destroy",(function(){h.unbindSwipeStart(),h.unbindSwipeMove(),h.unbindSwipeEnd(),a.destroy()})),h},Images:function Images(t,o,i){var a=new Ee,c={mount:function mount(){this.bind()},bind:function bind(){a.on("dragstart",o.Html.wrapper,this.dragstart)},unbind:function unbind(){a.off("dragstart",o.Html.wrapper)},dragstart:function dragstart(t){t.preventDefault()}};return i.on("destroy",(function(){c.unbind(),a.destroy()})),c},Anchors:function Anchors(t,o,i){var a=new Ee,c=!1,l=!1,u={mount:function mount(){this._a=o.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function bind(){a.on("click",o.Html.wrapper,this.click)},unbind:function unbind(){a.off("click",o.Html.wrapper)},click:function click(t){l&&(t.stopPropagation(),t.preventDefault())},detach:function detach(){if(l=!0,!c){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!1;c=!0}return this},attach:function attach(){if(l=!1,c){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!0;c=!1}return this}};return glide_esm_define(u,"items",{get:function get(){return u._a}}),i.on("swipe.move",(function(){u.detach()})),i.on("swipe.end",(function(){o.Transition.after((function(){u.attach()}))})),i.on("destroy",(function(){u.attach(),u.unbind(),a.destroy()})),u},Controls:function Controls(t,o,i){var a=new Ee,c=!!ke&&{passive:!0},l={mount:function mount(){this._n=o.Html.root.querySelectorAll('[data-glide-el="controls[nav]"]'),this._c=o.Html.root.querySelectorAll(Ie),this._arrowControls={previous:o.Html.root.querySelectorAll(je),next:o.Html.root.querySelectorAll(Ne)},this.addBindings()},setActive:function setActive(){for(var t=0;t<this._n.length;t++)this.addClass(this._n[t].children)},removeActive:function removeActive(){for(var t=0;t<this._n.length;t++)this.removeClass(this._n[t].children)},addClass:function addClass(o){var i=t.settings,a=o[t.index];a&&a&&(a.classList.add(i.classes.nav.active),siblings(a).forEach((function(t){t.classList.remove(i.classes.nav.active)})))},removeClass:function removeClass(o){var i=o[t.index];i&&i.classList.remove(t.settings.classes.nav.active)},setArrowState:function setArrowState(){if(!t.settings.rewind){var i=l._arrowControls.next,a=l._arrowControls.previous;this.resetArrowState(i,a),0===t.index&&this.disableArrow(a),t.index===o.Run.length&&this.disableArrow(i)}},resetArrowState:function resetArrowState(){for(var o=t.settings,i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];a.forEach((function(t){toArray(t).forEach((function(t){t.classList.remove(o.classes.arrow.disabled)}))}))},disableArrow:function disableArrow(){for(var o=t.settings,i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];a.forEach((function(t){toArray(t).forEach((function(t){t.classList.add(o.classes.arrow.disabled)}))}))},addBindings:function addBindings(){for(var t=0;t<this._c.length;t++)this.bind(this._c[t].children)},removeBindings:function removeBindings(){for(var t=0;t<this._c.length;t++)this.unbind(this._c[t].children)},bind:function bind(t){for(var o=0;o<t.length;o++)a.on("click",t[o],this.click),a.on("touchstart",t[o],this.click,c)},unbind:function unbind(t){for(var o=0;o<t.length;o++)a.off(["click","touchstart"],t[o])},click:function click(t){ke||"touchstart"!==t.type||t.preventDefault();var i=t.currentTarget.getAttribute("data-glide-dir");o.Run.make(o.Direction.resolve(i))}};return glide_esm_define(l,"items",{get:function get(){return l._c}}),i.on(["mount.after","move.after"],(function(){l.setActive()})),i.on(["mount.after","run"],(function(){l.setArrowState()})),i.on("destroy",(function(){l.removeBindings(),l.removeActive(),a.destroy()})),l},Keyboard:function Keyboard(t,o,i){var a=new Ee,c={mount:function mount(){t.settings.keyboard&&this.bind()},bind:function bind(){a.on("keyup",document,this.press)},unbind:function unbind(){a.off("keyup",document)},press:function press(i){var a=t.settings.perSwipe;"ArrowRight"===i.code&&o.Run.make(o.Direction.resolve("".concat(a,">"))),"ArrowLeft"===i.code&&o.Run.make(o.Direction.resolve("".concat(a,"<")))}};return i.on(["destroy","update"],(function(){c.unbind()})),i.on("update",(function(){c.mount()})),i.on("destroy",(function(){a.destroy()})),c},Autoplay:function Autoplay(t,o,i){var a=new Ee,c={mount:function mount(){this.enable(),this.start(),t.settings.hoverpause&&this.bind()},enable:function enable(){this._e=!0},disable:function disable(){this._e=!1},start:function start(){var a=this;this._e&&(this.enable(),t.settings.autoplay&&isUndefined(this._i)&&(this._i=setInterval((function(){a.stop(),o.Run.make(">"),a.start(),i.emit("autoplay")}),this.time)))},stop:function stop(){this._i=clearInterval(this._i)},bind:function bind(){var t=this;a.on("mouseover",o.Html.root,(function(){t._e&&t.stop()})),a.on("mouseout",o.Html.root,(function(){t._e&&t.start()}))},unbind:function unbind(){a.off(["mouseover","mouseout"],o.Html.root)}};return glide_esm_define(c,"time",{get:function get(){var i=o.Html.slides[t.index].getAttribute("data-glide-autoplay");return toInt(i||t.settings.autoplay)}}),i.on(["destroy","update"],(function(){c.unbind()})),i.on(["run.before","swipe.start","update"],(function(){c.stop()})),i.on(["pause","destroy"],(function(){c.disable(),c.stop()})),i.on(["run.after","swipe.end"],(function(){c.start()})),i.on(["play"],(function(){c.enable(),c.start()})),i.on("update",(function(){c.mount()})),i.on("destroy",(function(){a.destroy()})),c},Breakpoints:function Breakpoints(t,o,i){var a=new Ee,c=t.settings,l=sortBreakpoints(c.breakpoints),u=Object.assign({},c),d={match:function match(t){if("undefined"!==typeof window.matchMedia)for(var o in t)if(t.hasOwnProperty(o)&&window.matchMedia("(max-width: ".concat(o,"px)")).matches)return t[o];return u}};return Object.assign(c,d.match(l)),a.on("resize",window,throttle((function(){t.settings=mergeOptions(c,d.match(l))}),t.settings.throttle)),i.on("update",(function(){l=sortBreakpoints(l),u=Object.assign({},c)})),i.on("destroy",(function(){a.off("resize",window)})),d}},De=function(t){!function glide_esm_inherits(t,o){if("function"!==typeof o&&null!==o)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(o&&o.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),o&&glide_esm_setPrototypeOf(t,o)}(Glide,t);var o=glide_esm_createSuper(Glide);function Glide(){return glide_esm_classCallCheck(this,Glide),o.apply(this,arguments)}return glide_esm_createClass(Glide,[{key:"mount",value:function mount(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _get(glide_esm_getPrototypeOf(Glide.prototype),"mount",this).call(this,Object.assign({},Re,t))}}]),Glide}(be),Fe=function init(){console.log("Glide init"),document.querySelectorAll(".glide").forEach((function(t){var o=t.dataset;if(1===o.perView&&o.bsIndicators){var a=document.createElement("div");a.classList.add("glide__bullets"),a.dataset.glideEl="controls[nav]";var c=t.querySelectorAll(".glide__slide").length;for(c--;c>=0;){var l=document.createElement("button");l.classList.add("glide__bullet"),l.dataset.glideDir=i,a.append(l),c--}t.append(a)}if(o.bsArrows){var u=document.createElement("div");u.classList.add("glide__arrows"),u.dataset.glideEl="controls";var d=document.createElement("button");d.classList.add("glide__arrow","glide__arrow--left"),d.dataset.glideDir="<",d.innerText="prev",u.append(d);var p=document.createElement("button");p.classList.add("glide__arrow","glide__arrow--right"),p.dataset.glideDir=">",p.innerText="next",u.append(p),t.append(u)}new De(t,{startAt:0,type:"carousel",perView:o.perView,autoplay:o.bsInterval,gap:0,breakpoints:{768:{perView:1},992:{perView:parseInt(o.perView/2)}}}).mount()}))};window.addEventListener("".concat(c.LODEDANDREADY),Fe),window.addEventListener("".concat(c.AJAX),(function(){setTimeout(Fe,300)}));(function(t){var o="js-captcha",i=function init(){console.log("".concat(o,": init"));var i=function submitListener(t){console.log("".concat(o,": Validating Captcha ..."));t.currentTarget.querySelectorAll(".".concat(o,", .g-recaptcha")).forEach((function(t){grecaptcha.execute(t.dataset.widgetid)}))},a=function attachCaptcha(){console.log("".concat(o,": Rendering Captcha ..."));var a=document.querySelectorAll(".".concat(o,", .g-recaptcha")),c=t.grecaptcha;"function"===typeof t.grecaptcha.render?a.forEach((function(t,a){if(!t.dataset.widgetid&&""===t.innerHTML){var l=t.closest(l),u=c.render(t,t.dataset);t.dataset.widgetid=u,"invisible"!==t.dataset.size||t.dataset.callback||(c.execute(u),l.addEventListener("submit",i)),t.classList.add("".concat(o,"-active")),t.dispatchEvent(new Event("".concat(o,"-ready")))}})):console.log("".concat(o,": no render function"))};t.rendergcaptcha=a;document.querySelectorAll(".g-recaptcha").length?function loadScript(i){"undefined"!==typeof t.grecaptcha&&i(),console.log("".concat(o,": Loading Captcha API ..."));var a=document.createElement("script");a.id="captchaAPI",a.src="https://www.google.com/recaptcha/api.js?onload=rendergcaptcha&render=explicit&hl=".concat(document.querySelector("html").getAttribute("lang").substr(0,2)),a.async=!0,a.onload=function(){console.log("".concat(o,": Captcha API is loaded."))},document.body.append(a)}(a):console.log("".concat(o,": No Captcha fields.")),t.noCaptchaFieldRender=a};t.addEventListener("".concat(c.LODEDANDREADY),i),t.addEventListener("".concat(c.AJAX),i)})(window),function(t){var o="js-password",i=function init(){var t;console.log("".concat(o,": init"));var i=function show(o){o.setAttribute("type","text"),t=setTimeout((function(){a(o)}),3e3)},a=function hide(o){o.setAttribute("type","password"),t&&clearTimeout(t)};document.querySelectorAll("".concat(o,"-show, .show-password")).forEach((function(t){t.classList.contains("".concat(o,"-active"))||(t.addEventListener("click",(function(t){var o=t.currentTarget.closest(".field").querySelector("input");o&&function toggle(t){"password"===t.getAttribute("type")?i(t):a(t)}(o)})),t.classList.add("".concat(o,"-active")))}))};t.addEventListener("".concat(c.LODEDANDREADY),i),t.addEventListener("".concat(c.AJAX),i)}(window);function redaxios_module_typeof(t){return redaxios_module_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},redaxios_module_typeof(t)}var Me=function e(t){function n(t,o,i){var a,c={};if(Array.isArray(t))return t.concat(o);for(a in t)c[i?a.toLowerCase():a]=t[a];for(a in o){var l=i?a.toLowerCase():a,u=o[a];c[l]=l in c&&"object"==redaxios_module_typeof(u)?n(c[l],u,"headers"==l):u}return c}function r(o,i,a,c,l){var u="string"!=typeof o?(i=o).url:o,d={config:i},p=n(t,i),h={};c=c||p.data,(p.transformRequest||[]).map((function(t){c=t(c,p.headers)||c})),p.auth&&(h.authorization=p.auth),c&&"object"==redaxios_module_typeof(c)&&"function"!=typeof c.append&&"function"!=typeof c.text&&(c=JSON.stringify(c),h["content-type"]="application/json");try{h[p.xsrfHeaderName]=decodeURIComponent(document.cookie.match(RegExp("(^|; )"+p.xsrfCookieName+"=([^;]*)"))[2])}catch(o){}return p.baseURL&&(u=u.replace(/^(?!.*\/\/)\/?/,p.baseURL+"/")),p.params&&(u+=(~u.indexOf("?")?"&":"?")+(p.paramsSerializer?p.paramsSerializer(p.params):new URLSearchParams(p.params))),(p.fetch||fetch)(u,{method:(a||p.method||"get").toUpperCase(),body:c,headers:n(p.headers,h,!0),credentials:p.withCredentials?"include":l}).then((function(t){for(var o in t)"function"!=typeof t[o]&&(d[o]=t[o]);return"stream"==p.responseType?(d.data=t.body,d):t[p.responseType||"text"]().then((function(t){d.data=t,d.data=JSON.parse(t)})).catch(Object).then((function(){return(p.validateStatus?p.validateStatus(t.status):t.ok)?d:Promise.reject(d)}))}))}return t=t||{},r.request=r,r.get=function(t,o){return r(t,o,"get")},r.delete=function(t,o){return r(t,o,"delete")},r.head=function(t,o){return r(t,o,"head")},r.options=function(t,o){return r(t,o,"options")},r.post=function(t,o,i){return r(t,i,"post",o)},r.put=function(t,o,i){return r(t,i,"put",o)},r.patch=function(t,o,i){return r(t,i,"patch",o)},r.all=Promise.all.bind(Promise),r.spread=function(t){return t.apply.bind(t,t)},r.CancelToken="function"==typeof AbortController?AbortController:Object,r.defaults=t,r.create=e,r}();!function(t){var o,i="main.online",a=document,l=a.body,u=a.querySelector('meta[name="ping"]'),d=!1,p=function UPDATE_ONLINE_STATUS(a){d||(d=!0,a?(l.classList.contains("is-offline")?(console.log("".concat(i,": back Online")),t.dispatchEvent(new Event(c.BACKONLINE))):(console.log("".concat(i,": Online")),t.dispatchEvent(new Event(c.ONLINE))),l.classList.add("is-online"),l.classList.remove("is-offline"),u&&!o&&(console.log("".concat(i,": SESSION_PING is active")),o=setInterval(y,3e5))):(console.log("".concat(i,": Offline")),l.classList.add("is-offline"),l.classList.remove("is-online"),clearInterval(o),o=null,t.dispatchEvent(new Event(c.OFFLINE))),d=!1)},h=!1,y=function SESSION_PING(){if(!h&&!l.classList.contains("is-offline")){var t=u.getAttribute("content");console.log("".concat(i,": session ping")),h=!0,Me.post(t,{}).then((function(t){h=!1,p(!0)})).catch((function(t){console.error(t),console.warn("".concat(i,": SESSION_PING failed")),h=!1,p(!1)}))}},v=function navigatorStateUpdate(){"undefined"!==typeof navigator.onLine&&(navigator.onLine?p(!0):p(!1))};t.addEventListener("".concat(c.OFFLINE),(function(){p(!1)})),t.addEventListener("".concat(c.ONLINE),(function(){p(!0)})),t.addEventListener("".concat(c.LOADED),v),t.addEventListener("".concat(c.AJAX),v)}(window);function image_typeof(t){return image_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},image_typeof(t)}function image_defineProperties(t,o){for(var i=0;i<o.length;i++){var a=o[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,(c=a.key,l=void 0,l=function image_toPrimitive(t,o){if("object"!==image_typeof(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,o||"default");if("object"!==image_typeof(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(c,"string"),"symbol"===image_typeof(l)?l:String(l)),a)}var c,l}var Ge="ajax.models.image",He=document.querySelector('meta[name="api_static_domain"]'),ze=He?He.getAttribute("content"):"".concat(window.location.protocol,"//").concat(window.location.host);console.log("".concat(Ge," [static url]: ").concat(ze));var Ue=function(){function ImageObject(){!function image_classCallCheck(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,ImageObject)}return function image_createClass(t,o,i){return o&&image_defineProperties(t.prototype,o),i&&image_defineProperties(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}(ImageObject,[{key:"load",value:function load(t,o){var i=t.startsWith("http")?t:ze+t;return o&&(o.classList.add("loading"),o.classList.remove("loading__network-error")),new Promise((function(t,a){Me.get(i,{responseType:"blob"}).then((function(i){var a=new window.FileReader;a.readAsDataURL(i.data),a.onload=function(){var i=a.result;o&&(o.classList.remove("loading"),o.classList.add("loading__success")),t(i)}})).catch((function(t){console.warn(t);var c="";if(t.response){switch(t.response.status){case 404:c="Not Found.";break;case 500:c="Server issue, please try again latter.";break;default:c="Something went wrong."}console.error("".concat(Ge," [").concat(i,"]: ").concat(c))}else t.request?(c="No response received",console.error("".concat(Ge," [").concat(i,"]: ").concat(c))):console.error("".concat(Ge," [").concat(i,"]: ").concat(t.message));o&&(o.classList.remove("loading"),o.classList.add("loading__network-error"),o.classList.add("empty")),a(t)}))}))}}]),ImageObject}();!function(t){var o=document,i=function loadLazyImages(){console.log("".concat("main.lazy-images",": Load lazy images"));var t=document.querySelector("base"),i=t?t.getAttribute("href"):"/";o.querySelectorAll("[data-lazy-src]").forEach((function(t){t.classList.remove("empty");var o=new Ue,a=t.getAttribute("data-lazy-src");a.startsWith("http://")||a.startsWith("https://")||(a=i+t.getAttribute("data-lazy-src")),a=a.replace(/([^:]\/)\/+/g,"$1"),o.load(a,t).then((function(o){t.setAttribute("src",o)})).catch((function(){t.classList.add("empty")}))})),o.querySelectorAll("[data-lazy-bg]").forEach((function(t){t.classList.remove("empty"),(new Ue).load(t.getAttribute("data-lazy-bg"),t).then((function(o){t.style.backgroundImage="url(".concat(o,")")})).catch((function(o){t.classList.add("empty")}))}))};t.addEventListener("".concat(c.LODEDANDREADY),i),t.addEventListener("".concat(c.AJAX),(function(){setTimeout(i,250)}))}(window);function form_typeof(t){return form_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},form_typeof(t)}function _regeneratorRuntime(){_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==form_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw new Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c<o.length;)if(a.call(o,c))return next.value=o[c],next.done=!1,next;return next.value=t,next.done=!0,next};return l.next=l}}throw new TypeError(form_typeof(o)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,c(S,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),c(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,p,"GeneratorFunction"),o.isGeneratorFunction=function(t){var o="function"==typeof t&&t.constructor;return!!o&&(o===GeneratorFunction||"GeneratorFunction"===(o.displayName||o.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,p,"GeneratorFunction")),t.prototype=Object.create(S),t},o.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,d,(function(){return this})),o.AsyncIterator=AsyncIterator,o.async=function(t,i,a,c,l){void 0===l&&(l=Promise);var u=new AsyncIterator(wrap(t,i,a,c),l);return o.isGeneratorFunction(i)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},defineIteratorMethods(S),define(S,p,"Generator"),define(S,u,(function(){return this})),define(S,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var o=Object(t),i=[];for(var a in o)i.push(a);return i.reverse(),function next(){for(;i.length;){var t=i.pop();if(t in o)return next.value=t,next.done=!1,next}return next.done=!0,next}},o.values=values,Context.prototype={constructor:Context,reset:function reset(o){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!o)for(var i in this)"t"===i.charAt(0)&&a.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=t)},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function dispatchException(o){if(this.done)throw o;var i=this;function handle(a,c){return u.type="throw",u.arg=o,i.next=a,c&&(i.method="next",i.arg=t),!!c}for(var c=this.tryEntries.length-1;c>=0;--c){var l=this.tryEntries[c],u=l.completion;if("root"===l.tryLoc)return handle("end");if(l.tryLoc<=this.prev){var d=a.call(l,"catchLoc"),p=a.call(l,"finallyLoc");if(d&&p){if(this.prev<l.catchLoc)return handle(l.catchLoc,!0);if(this.prev<l.finallyLoc)return handle(l.finallyLoc)}else if(d){if(this.prev<l.catchLoc)return handle(l.catchLoc,!0)}else{if(!p)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return handle(l.finallyLoc)}}}},abrupt:function abrupt(t,o){for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i];if(c.tryLoc<=this.prev&&a.call(c,"finallyLoc")&&this.prev<c.finallyLoc){var l=c;break}}l&&("break"===t||"continue"===t)&&l.tryLoc<=o&&o<=l.finallyLoc&&(l=null);var u=l?l.completion:{};return u.type=t,u.arg=o,l?(this.method="next",this.next=l.finallyLoc,b):this.complete(u)},complete:function complete(t,o){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&o&&(this.next=o),b},finish:function finish(t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),resetTryEntry(i),b}},catch:function _catch(t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc===t){var a=i.completion;if("throw"===a.type){var c=a.arg;resetTryEntry(i)}return c}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}var qe="uiAjaxForm",Be="form-container",We=function submitForm(t){var o=t.currentTarget;t.preventDefault(),console.log("".concat(qe,": submit"));var i=new FormData(o),a=o.parentElement;o.querySelectorAll('input[type="submit"],button').forEach((function(t){t.setAttribute("disabled","disabled")})),i.append("ajax","1"),o.classList.add("loading"),fetch(o.action,{method:o.method,headers:{"x-requested-with":"XMLHttpRequest"},body:i}).then(function(){var i=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(i){return _regeneratorRuntime().wrap((function _callee$(c){for(;;)switch(c.prev=c.next){case 0:i.text().then((function(i){try{var c=JSON.parse(i);console.log("".concat(qe,": JSON response"));var l="good"===c.status?"success":"error";Ke(o,'<div class="alert alert-'.concat(l,'">').concat(c.message,"</div>"))}catch(t){console.log("".concat(qe,": HTML response")),Ke(o,i),a.querySelector("form").addEventListener("submit",submitForm)}}));case 1:case"end":return c.stop()}}),_callee)})));return function(t){return i.apply(this,arguments)}}())},Ke=function replaceForm(t,o){var i=t.parentElement;if(i.classList.contains(Be))return i.innerHTML=o,void window.dispatchEvent(new Event("".concat(c.AJAX)));var a=document.createElement("div");a.classList.add(Be),a.innerHTML=o,t.replaceWith(a),window.dispatchEvent(new Event("".concat(c.AJAX)))},Ye=function formInit(t){if(t.dataset["".concat(qe,"Active")])return console.log("".concat(qe,": #").concat(t.id," already activated")),!1;t.dataset["".concat(qe,"Active")]=!0,t.addEventListener("submit",We)},$e=function init(){console.log("".concat(qe,": init")),document.querySelectorAll("#MainContent form:not(.legacy)").forEach(Ye)};window.addEventListener("".concat(c.LODEDANDREADY),$e),window.addEventListener("".concat(c.AJAX),$e);!function(t){var o="_layout",i=document;t.addEventListener("".concat(c.LODEDANDREADY),(function(){!function initFonts(){console.log("".concat(o,": initFonts"));var t=i.createElement("link");t.rel="stylesheet",t.type="text/css",t.media="all",t.href="https://fonts.googleapis.com/css?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap",i.getElementsByTagName("head")[0].appendChild(t)}(),function initAnalytics(){console.log("".concat(o,": initAnalytics"))}()}))}(window);function importAll(t){return t.keys().map(t)}if(importAll(a(2103)),importAll(a(499)),"serviceWorker"in navigator){var Ve=(document.getElementsByTagName("base")[0]||{}).href,Je=(document.querySelector('meta[name="swversion"]')||{}).content;Ve&&navigator.serviceWorker.register("".concat(Ve,"sw.js?v=").concat(Je)).then((function(){console.log("Service Worker Registered")}))}},1522:function(t,o,i){"use strict";i.r(o),o.default={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"}},455:function(t,o,i){function _typeof(t){return _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},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw new Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c<o.length;)if(a.call(o,c))return next.value=o[c],next.done=!1,next;return next.value=t,next.done=!0,next};return l.next=l}}throw new TypeError(_typeof(o)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,c(S,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),c(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,p,"GeneratorFunction"),o.isGeneratorFunction=function(t){var o="function"==typeof t&&t.constructor;return!!o&&(o===GeneratorFunction||"GeneratorFunction"===(o.displayName||o.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,p,"GeneratorFunction")),t.prototype=Object.create(S),t},o.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,d,(function(){return this})),o.AsyncIterator=AsyncIterator,o.async=function(t,i,a,c,l){void 0===l&&(l=Promise);var u=new AsyncIterator(wrap(t,i,a,c),l);return o.isGeneratorFunction(i)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},defineIteratorMethods(S),define(S,p,"Generator"),define(S,u,(function(){return this})),define(S,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var o=Object(t),i=[];for(var a in o)i.push(a);return i.reverse(),function next(){for(;i.length;){var t=i.pop();if(t in o)return next.value=t,next.done=!1,next}return next.done=!0,next}},o.values=values,Context.prototype={constructor:Context,reset:function reset(o){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!o)for(var i in this)"t"===i.charAt(0)&&a.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=t)},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function dispatchException(o){if(this.done)throw o;var i=this;function handle(a,c){return u.type="throw",u.arg=o,i.next=a,c&&(i.method="next",i.arg=t),!!c}for(var c=this.tryEntries.length-1;c>=0;--c){var l=this.tryEntries[c],u=l.completion;if("root"===l.tryLoc)return handle("end");if(l.tryLoc<=this.prev){var d=a.call(l,"catchLoc"),p=a.call(l,"finallyLoc");if(d&&p){if(this.prev<l.catchLoc)return handle(l.catchLoc,!0);if(this.prev<l.finallyLoc)return handle(l.finallyLoc)}else if(d){if(this.prev<l.catchLoc)return handle(l.catchLoc,!0)}else{if(!p)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return handle(l.finallyLoc)}}}},abrupt:function abrupt(t,o){for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i];if(c.tryLoc<=this.prev&&a.call(c,"finallyLoc")&&this.prev<c.finallyLoc){var l=c;break}}l&&("break"===t||"continue"===t)&&l.tryLoc<=o&&o<=l.finallyLoc&&(l=null);var u=l?l.completion:{};return u.type=t,u.arg=o,l?(this.method="next",this.next=l.finallyLoc,b):this.complete(u)},complete:function complete(t,o){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&o&&(this.next=o),b},finish:function finish(t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),resetTryEntry(i),b}},catch:function _catch(t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc===t){var a=i.completion;if("throw"===a.type){var c=a.arg;resetTryEntry(i)}return c}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}var a,c=i(5363),l="/graphql/",u={request:(a=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(t){var o;return _regeneratorRuntime().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,c.request({url:l,method:"POST",body:t});case 2:return(o=i.sent).errors&&(console.error("".concat("uiGraphql"," > request: Error")),o.errors.forEach((function(t){console.error(t.message)}))),i.abrupt("return",o);case 5:case"end":return i.stop()}}),_callee)}))),function request(t){return a.apply(this,arguments)})};t.exports=u},3311:function(t,o,i){var a,c,l=i(1522),u=i(1605),d=i(6902);null!==(c=(a=window).app)&&void 0!==c||(a.app={}),window.app.Events=l.default,window.app.Router=u,window.app.Page=d,window.addEventListener("".concat(l.DOMLOADED),(function(){console.log("".concat("ui",": Router.initLinks")),u.initLinks()})),window.addEventListener("".concat(l.AJAX),(function(){console.log("".concat("ui",": Router.initLinks")),u.initLinks()}))},6902:function(t,o,i){function _typeof(t){return _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},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw new Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c<o.length;)if(a.call(o,c))return next.value=o[c],next.done=!1,next;return next.value=t,next.done=!0,next};return l.next=l}}throw new TypeError(_typeof(o)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,c(S,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),c(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,p,"GeneratorFunction"),o.isGeneratorFunction=function(t){var o="function"==typeof t&&t.constructor;return!!o&&(o===GeneratorFunction||"GeneratorFunction"===(o.displayName||o.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,p,"GeneratorFunction")),t.prototype=Object.create(S),t},o.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,d,(function(){return this})),o.AsyncIterator=AsyncIterator,o.async=function(t,i,a,c,l){void 0===l&&(l=Promise);var u=new AsyncIterator(wrap(t,i,a,c),l);return o.isGeneratorFunction(i)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},defineIteratorMethods(S),define(S,p,"Generator"),define(S,u,(function(){return this})),define(S,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var o=Object(t),i=[];for(var a in o)i.push(a);return i.reverse(),function next(){for(;i.length;){var t=i.pop();if(t in o)return next.value=t,next.done=!1,next}return next.done=!0,next}},o.values=values,Context.prototype={constructor:Context,reset:function reset(o){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!o)for(var i in this)"t"===i.charAt(0)&&a.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=t)},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function dispatchException(o){if(this.done)throw o;var i=this;function handle(a,c){return u.type="throw",u.arg=o,i.next=a,c&&(i.method="next",i.arg=t),!!c}for(var c=this.tryEntries.length-1;c>=0;--c){var l=this.tryEntries[c],u=l.completion;if("root"===l.tryLoc)return handle("end");if(l.tryLoc<=this.prev){var d=a.call(l,"catchLoc"),p=a.call(l,"finallyLoc");if(d&&p){if(this.prev<l.catchLoc)return handle(l.catchLoc,!0);if(this.prev<l.finallyLoc)return handle(l.finallyLoc)}else if(d){if(this.prev<l.catchLoc)return handle(l.catchLoc,!0)}else{if(!p)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return handle(l.finallyLoc)}}}},abrupt:function abrupt(t,o){for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i];if(c.tryLoc<=this.prev&&a.call(c,"finallyLoc")&&this.prev<c.finallyLoc){var l=c;break}}l&&("break"===t||"continue"===t)&&l.tryLoc<=o&&o<=l.finallyLoc&&(l=null);var u=l?l.completion:{};return u.type=t,u.arg=o,l?(this.method="next",this.next=l.finallyLoc,b):this.complete(u)},complete:function complete(t,o){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&o&&(this.next=o),b},finish:function finish(t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),resetTryEntry(i),b}},catch:function _catch(t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc===t){var a=i.completion;if("throw"===a.type){var c=a.arg;resetTryEntry(i)}return c}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}function ownKeys(t,o){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);o&&(a=a.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),i.push.apply(i,a)}return i}function _objectSpread(t){for(var o=1;o<arguments.length;o++){var i=null!=arguments[o]?arguments[o]:{};o%2?ownKeys(Object(i),!0).forEach((function(o){_defineProperty(t,o,i[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):ownKeys(Object(i)).forEach((function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(i,o))}))}return t}function _defineProperty(t,o,i){return(o=function _toPropertyKey(t){var o=function _toPrimitive(t,o){if("object"!==_typeof(t)||null===t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var a=i.call(t,o||"default");if("object"!==_typeof(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===o?String:Number)(t)}(t,"string");return"symbol"===_typeof(o)?o:String(o)}(o))in t?Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[o]=i,t}var a,c="uiPage",l=i(5363),u=i(5436),d=i(455),p={id:0,link:"/",title:"Loading ...",CSSClass:"loading"},h=_objectSpread(_objectSpread({},p),{},{loadContent:(a=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(t){var o,i,a,y,v,g;return _regeneratorRuntime().wrap((function _callee$(b){for(;;)switch(b.prev=b.next){case 0:return console.log("".concat(c," > loadContent: start ").concat(t)),console.time("".concat(c," > loadContent")),(o=document.querySelector("#MainContent>.main-content"))&&o.remove(),Object.keys(p).forEach((function(t){h[t]=p[t]})),l.redraw(),b.prev=6,b.next=9,d.request({variables:{url:t},query:u.byLink});case 9:return v=b.sent,b.next=12,v.data.readOnePage;case 12:if(g=b.sent,console.log("".concat(c," > loadContent: done")),g){b.next=21;break}return console.warn("".concat(c,": loadContent: ").concat(t," > NOT FOUND")),h.title="NOT FOUND",h.content=l("div",{class:"elemental-area"},l("div",{class:"element elemen--not-found"},l("div",{class:"element__container container"},"Server Error"))),window.app.Router.removeActiveState(),console.timeEnd("".concat(c," > loadContent")),b.abrupt("return");case 21:h.title=null!==(i=g.title)&&void 0!==i?i:window.document.title,h.id=g.id,h.link=null!==(a=g.link)&&void 0!==a?a:"/",h.requestlink=null!==(y=g.RequestLink)&&void 0!==y?y:"/",h.CSSClass=g.CSSClass+" loaded",h.Resources=g.Resources,h.renderPage(g),window.app.Router.setPage(h),console.timeEnd("".concat(c," > loadContent")),b.next=38;break;case 32:b.prev=32,b.t0=b.catch(6),console.error("".concat(c,": loadContent > FAILED")),console.error(b.t0),h.title="Loading Failed!",console.timeEnd("".concat(c," > loadContent"));case 38:case"end":return b.stop()}}),_callee,null,[[6,32]])}))),function loadContent(t){return a.apply(this,arguments)}),renderPage:function renderPage(t){t.MainContent?h.content=l.trust(t.MainContent):t.elementalArea&&(h.content=l(".elemental-area",t.elementalArea.elements.map((function(t){var o=t.className.replaceAll("\\","__").toLowerCase();return l("div",{id:t.id,class:"element "+o},l(".element__container.container",l.trust(t.forTemplate)))}))))}});t.exports=h},6087:function(t){var o,i,a,c;null!==(i=(o=window).app)&&void 0!==i||(o.app={}),null!==(c=(a=window.app).filesLoaded)&&void 0!==c||(a.filesLoaded="app.js app.css");var l=document.getElementsByTagName("head")[0];t.exports=function loadResource(t){return t.includes("js")?function loadJS(t){if(-1===window.app.filesLoaded.indexOf(t))return window.app.filesLoaded+=" "+t,new Promise((function(o,i){var a=document.createElement("script");a.src=t,a.type="text/javascript",a.async=!0,a.onload=function(){console.log("Loaded: ".concat(t)),o()},a.onerror=i,l.append(a)}))}(t):function loadCSS(t){if(-1===window.app.filesLoaded.indexOf(t))return window.app.filesLoaded+=" "+t,new Promise((function(o,i){var a=document.createElement("link");a.href=t,a.type="text/css",a.rel="stylesheet",a.onload=function(){console.log("Loaded: ".concat(t)),o()},a.onerror=i,l.append(a)}))}(t)}},5771:function(t,o,i){function _typeof(t){return _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},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw new Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c<o.length;)if(a.call(o,c))return next.value=o[c],next.done=!1,next;return next.value=t,next.done=!0,next};return l.next=l}}throw new TypeError(_typeof(o)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,c(S,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),c(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,p,"GeneratorFunction"),o.isGeneratorFunction=function(t){var o="function"==typeof t&&t.constructor;return!!o&&(o===GeneratorFunction||"GeneratorFunction"===(o.displayName||o.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,p,"GeneratorFunction")),t.prototype=Object.create(S),t},o.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,d,(function(){return this})),o.AsyncIterator=AsyncIterator,o.async=function(t,i,a,c,l){void 0===l&&(l=Promise);var u=new AsyncIterator(wrap(t,i,a,c),l);return o.isGeneratorFunction(i)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},defineIteratorMethods(S),define(S,p,"Generator"),define(S,u,(function(){return this})),define(S,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var o=Object(t),i=[];for(var a in o)i.push(a);return i.reverse(),function next(){for(;i.length;){var t=i.pop();if(t in o)return next.value=t,next.done=!1,next}return next.done=!0,next}},o.values=values,Context.prototype={constructor:Context,reset:function reset(o){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!o)for(var i in this)"t"===i.charAt(0)&&a.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=t)},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function dispatchException(o){if(this.done)throw o;var i=this;function handle(a,c){return u.type="throw",u.arg=o,i.next=a,c&&(i.method="next",i.arg=t),!!c}for(var c=this.tryEntries.length-1;c>=0;--c){var l=this.tryEntries[c],u=l.completion;if("root"===l.tryLoc)return handle("end");if(l.tryLoc<=this.prev){var d=a.call(l,"catchLoc"),p=a.call(l,"finallyLoc");if(d&&p){if(this.prev<l.catchLoc)return handle(l.catchLoc,!0);if(this.prev<l.finallyLoc)return handle(l.finallyLoc)}else if(d){if(this.prev<l.catchLoc)return handle(l.catchLoc,!0)}else{if(!p)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return handle(l.finallyLoc)}}}},abrupt:function abrupt(t,o){for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i];if(c.tryLoc<=this.prev&&a.call(c,"finallyLoc")&&this.prev<c.finallyLoc){var l=c;break}}l&&("break"===t||"continue"===t)&&l.tryLoc<=o&&o<=l.finallyLoc&&(l=null);var u=l?l.completion:{};return u.type=t,u.arg=o,l?(this.method="next",this.next=l.finallyLoc,b):this.complete(u)},complete:function complete(t,o){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&o&&(this.next=o),b},finish:function finish(t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),resetTryEntry(i),b}},catch:function _catch(t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc===t){var a=i.completion;if("throw"===a.type){var c=a.arg;resetTryEntry(i)}return c}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}var a,c=i(5363),l=i(6902),u=i(6087);t.exports={oninit:function oninit(){if(window.app.Router.isFormResponse()){console.log("".concat("uiPageTpl",": Page is form response, stop page content loading")),window.app.Router.initLinks();var t=document.getElementById("PageLoading");t&&t.classList.add("d-none")}else l.loadContent(document.location.pathname)},onupdate:(a=function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}(_regeneratorRuntime().mark((function _callee(){var t,o;return _regeneratorRuntime().wrap((function _callee$(i){for(;;)switch(i.prev=i.next){case 0:if(window.app.Router.initLinks(),!l.Resources){i.next=6;break}return t=JSON.parse(l.Resources),o=t.map(u),i.next=6,Promise.all(o);case 6:window.dispatchEvent(new Event(window.app.Events.AJAX));case 7:case"end":return i.stop()}}),_callee)}))),function onupdate(){return a.apply(this,arguments)}),view:function view(){return c("main",{class:l.CSSClass},c("div",{class:"element page-header-element"},c("div",{class:"element-container container"},c("h1",{class:"page-header"},l.title))),l.content)}}},5436:function(t){var o="fragment baseInfo on Page {\nid\nclassName\nlink\nRequestLink\nurlSegment\nparentID\ntitle\nCSSClass\n}",i={menu:"".concat(o," query ($id: ID) {\n readPages(filter: { parentID: { eq: $id }, showInMenus: {eq:true} }) {\n nodes {\n ... baseInfo\n children {\n ...baseInfo\n children {\n ...baseInfo\n }\n }\n }\n }\n }"),byLink:"".concat(o," query ($url: String) {\n readOnePage(RequestLink: $url) {\n ... baseInfo\n MainContent\n Resources\n }\n }")};t.exports=i},1605:function(t,o,i){function _typeof(t){return _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},_typeof(t)}function _regeneratorRuntime(){"use strict";_regeneratorRuntime=function _regeneratorRuntime(){return o};var t,o={},i=Object.prototype,a=i.hasOwnProperty,c=Object.defineProperty||function(t,o,i){t[o]=i.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",d=l.asyncIterator||"@@asyncIterator",p=l.toStringTag||"@@toStringTag";function define(t,o,i){return Object.defineProperty(t,o,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[o]}try{define({},"")}catch(t){define=function define(t,o,i){return t[o]=i}}function wrap(t,o,i,a){var l=o&&o.prototype instanceof Generator?o:Generator,u=Object.create(l.prototype),d=new Context(a||[]);return c(u,"_invoke",{value:makeInvokeMethod(t,i,d)}),u}function tryCatch(t,o,i){try{return{type:"normal",arg:t.call(o,i)}}catch(t){return{type:"throw",arg:t}}}o.wrap=wrap;var h="suspendedStart",y="suspendedYield",v="executing",g="completed",b={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var w={};define(w,u,(function(){return this}));var _=Object.getPrototypeOf,E=_&&_(_(values([])));E&&E!==i&&a.call(E,u)&&(w=E);var S=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(w);function defineIteratorMethods(t){["next","throw","return"].forEach((function(o){define(t,o,(function(t){return this._invoke(o,t)}))}))}function AsyncIterator(t,o){function invoke(i,c,l,u){var d=tryCatch(t[i],t,c);if("throw"!==d.type){var p=d.arg,h=p.value;return h&&"object"==_typeof(h)&&a.call(h,"__await")?o.resolve(h.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(h).then((function(t){p.value=t,l(p)}),(function(t){return invoke("throw",t,l,u)}))}u(d.arg)}var i;c(this,"_invoke",{value:function value(t,a){function callInvokeWithMethodAndArg(){return new o((function(o,i){invoke(t,a,o,i)}))}return i=i?i.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}})}function makeInvokeMethod(o,i,a){var c=h;return function(l,u){if(c===v)throw new Error("Generator is already running");if(c===g){if("throw"===l)throw u;return{value:t,done:!0}}for(a.method=l,a.arg=u;;){var d=a.delegate;if(d){var p=maybeInvokeDelegate(d,a);if(p){if(p===b)continue;return p}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===h)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=v;var w=tryCatch(o,i,a);if("normal"===w.type){if(c=a.done?g:y,w.arg===b)continue;return{value:w.arg,done:a.done}}"throw"===w.type&&(c=g,a.method="throw",a.arg=w.arg)}}}function maybeInvokeDelegate(o,i){var a=i.method,c=o.iterator[a];if(c===t)return i.delegate=null,"throw"===a&&o.iterator.return&&(i.method="return",i.arg=t,maybeInvokeDelegate(o,i),"throw"===i.method)||"return"!==a&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+a+"' method")),b;var l=tryCatch(c,o.iterator,i.arg);if("throw"===l.type)return i.method="throw",i.arg=l.arg,i.delegate=null,b;var u=l.arg;return u?u.done?(i[o.resultName]=u.value,i.next=o.nextLoc,"return"!==i.method&&(i.method="next",i.arg=t),i.delegate=null,b):u:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,b)}function pushTryEntry(t){var o={tryLoc:t[0]};1 in t&&(o.catchLoc=t[1]),2 in t&&(o.finallyLoc=t[2],o.afterLoc=t[3]),this.tryEntries.push(o)}function resetTryEntry(t){var o=t.completion||{};o.type="normal",delete o.arg,t.completion=o}function Context(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(pushTryEntry,this),this.reset(!0)}function values(o){if(o||""===o){var i=o[u];if(i)return i.call(o);if("function"==typeof o.next)return o;if(!isNaN(o.length)){var c=-1,l=function next(){for(;++c<o.length;)if(a.call(o,c))return next.value=o[c],next.done=!1,next;return next.value=t,next.done=!0,next};return l.next=l}}throw new TypeError(_typeof(o)+" is not iterable")}return GeneratorFunction.prototype=GeneratorFunctionPrototype,c(S,"constructor",{value:GeneratorFunctionPrototype,configurable:!0}),c(GeneratorFunctionPrototype,"constructor",{value:GeneratorFunction,configurable:!0}),GeneratorFunction.displayName=define(GeneratorFunctionPrototype,p,"GeneratorFunction"),o.isGeneratorFunction=function(t){var o="function"==typeof t&&t.constructor;return!!o&&(o===GeneratorFunction||"GeneratorFunction"===(o.displayName||o.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,GeneratorFunctionPrototype):(t.__proto__=GeneratorFunctionPrototype,define(t,p,"GeneratorFunction")),t.prototype=Object.create(S),t},o.awrap=function(t){return{__await:t}},defineIteratorMethods(AsyncIterator.prototype),define(AsyncIterator.prototype,d,(function(){return this})),o.AsyncIterator=AsyncIterator,o.async=function(t,i,a,c,l){void 0===l&&(l=Promise);var u=new AsyncIterator(wrap(t,i,a,c),l);return o.isGeneratorFunction(i)?u:u.next().then((function(t){return t.done?t.value:u.next()}))},defineIteratorMethods(S),define(S,p,"Generator"),define(S,u,(function(){return this})),define(S,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var o=Object(t),i=[];for(var a in o)i.push(a);return i.reverse(),function next(){for(;i.length;){var t=i.pop();if(t in o)return next.value=t,next.done=!1,next}return next.done=!0,next}},o.values=values,Context.prototype={constructor:Context,reset:function reset(o){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(resetTryEntry),!o)for(var i in this)"t"===i.charAt(0)&&a.call(this,i)&&!isNaN(+i.slice(1))&&(this[i]=t)},stop:function stop(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function dispatchException(o){if(this.done)throw o;var i=this;function handle(a,c){return u.type="throw",u.arg=o,i.next=a,c&&(i.method="next",i.arg=t),!!c}for(var c=this.tryEntries.length-1;c>=0;--c){var l=this.tryEntries[c],u=l.completion;if("root"===l.tryLoc)return handle("end");if(l.tryLoc<=this.prev){var d=a.call(l,"catchLoc"),p=a.call(l,"finallyLoc");if(d&&p){if(this.prev<l.catchLoc)return handle(l.catchLoc,!0);if(this.prev<l.finallyLoc)return handle(l.finallyLoc)}else if(d){if(this.prev<l.catchLoc)return handle(l.catchLoc,!0)}else{if(!p)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return handle(l.finallyLoc)}}}},abrupt:function abrupt(t,o){for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i];if(c.tryLoc<=this.prev&&a.call(c,"finallyLoc")&&this.prev<c.finallyLoc){var l=c;break}}l&&("break"===t||"continue"===t)&&l.tryLoc<=o&&o<=l.finallyLoc&&(l=null);var u=l?l.completion:{};return u.type=t,u.arg=o,l?(this.method="next",this.next=l.finallyLoc,b):this.complete(u)},complete:function complete(t,o){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&o&&(this.next=o),b},finish:function finish(t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),resetTryEntry(i),b}},catch:function _catch(t){for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o];if(i.tryLoc===t){var a=i.completion;if("throw"===a.type){var c=a.arg;resetTryEntry(i)}return c}}throw new Error("illegal catch attempt")},delegateYield:function delegateYield(o,i,a){return this.delegate={iterator:values(o),resultName:i,nextLoc:a},"next"===this.method&&(this.arg=t),b}},o}function asyncGeneratorStep(t,o,i,a,c,l,u){try{var d=t[l](u),p=d.value}catch(h){return void i(h)}d.done?o(p):Promise.resolve(p).then(a,c)}function _asyncToGenerator(t){return function(){var o=this,i=arguments;return new Promise((function(a,c){var l=t.apply(o,i);function _next(t){asyncGeneratorStep(l,a,c,_next,_throw,"next",t)}function _throw(t){asyncGeneratorStep(l,a,c,_next,_throw,"throw",t)}_next(void 0)}))}}var a,c="uiRouter",l=i(6902),u=i(5672),d={behavior:"smooth",block:"start",inline:"nearest"},p={FirstLoad:!0,initLinks:function initLinks(){document.querySelectorAll("a:not(.legacy)").forEach((function(t){t.dataset[c]||(t.dataset[c]="active",t.addEventListener("click",(function(o){p.linkClick(t,o)})))}))},linkClick:function linkClick(t,o){return _asyncToGenerator(_regeneratorRuntime().mark((function _callee(){var i,a,l,u,h,y,v;return _regeneratorRuntime().wrap((function _callee$(g){for(;;)switch(g.prev=g.next){case 0:if(console.time("".concat(c," > linkClick")),a=(i=t).getAttribute("href"),l=new URL(a,document.location.origin),a){g.next=10;break}return o.preventDefault(),console.warn("".concat(c," > linkClick: no href")),console.warn(o),console.timeEnd("".concat(c," > linkClick")),g.abrupt("return",!1);case 10:if(!l.hash||l.pathname&&"/graphql/"!==l.pathname&&l.pathname!==document.location.pathname){g.next=17;break}return o.preventDefault(),console.log("".concat(c," > linkClick: hash URL")),(u=document.querySelector(l.hash))&&u.scrollIntoView(d),console.timeEnd("".concat(c," > linkClick")),g.abrupt("return",!0);case 17:if(l.pathname!==document.location.pathname){g.next=22;break}return o.preventDefault(),console.log("".concat(c," > linkClick: same URL")),console.timeEnd("".concat(c," > linkClick")),g.abrupt("return",!1);case 22:if((h=document.getElementById("TopAnchor"))&&h.scrollIntoView(d),i.getAttribute("target")||!p.sameOrigin(a)){g.next=35;break}return o.preventDefault(),console.log("".concat(c," > linkClick: local URL")),t.classList.add("loading"),p.setNavParentClasses(t,"loading"),t.classList.contains("stretched-link")&&(y=t.parentElement).classList.contains("element")&&y.classList.add("loading"),g.next=32,p.openURL(a);case 32:return v=g.sent,console.timeEnd("".concat(c," > linkClick")),g.abrupt("return",v);case 35:return console.log("".concat(c," > linkClick: external URL")),console.timeEnd("".concat(c," > linkClick")),g.abrupt("return",!0);case 38:case"end":return g.stop()}}),_callee)})))()},sameOrigin:function sameOrigin(t){var o=p.getAbsURL(t),i=new URL(o),a=new URL(window.location.href);return i.host===a.host&&(i.port===a.port&&i.protocol===a.protocol)},isAbsURL:function isAbsURL(t){return t.indexOf("://")>0||0===t.indexOf("//")},getAbsURL:function getAbsURL(t){return p.isAbsURL(t)?t:new URL(t,document.location.origin).href},getRelURL:function getRelURL(t){return new URL(t,document.location.origin).pathname},requestMethod:function requestMethod(){return document.querySelector('meta[name="http_method"]').getAttribute("content")},isFormResponse:function isFormResponse(){return document.location.search.includes("SecurityID")||"POST"===p.requestMethod()||document.location.pathname.match("element/([0-9]+)/([A-z]+)")},openURL:(a=_asyncToGenerator(_regeneratorRuntime().mark((function _callee2(t){return _regeneratorRuntime().wrap((function _callee2$(o){for(;;)switch(o.prev=o.next){case 0:if(!p.sameOrigin(t)){o.next=4;break}return o.next=3,l.loadContent(p.getRelURL(t));case 3:return o.abrupt("return",o.sent);case 4:return window.location.href=t,o.abrupt("return",!0);case 6:case"end":return o.stop()}}),_callee2)}))),function openURL(t){return a.apply(this,arguments)}),setPage:function setPage(t){p.setLocation(t.title,t.link,t)},setLocation:function setLocation(t,o,i){var a,c=null!==(a=i.requestlink)&&void 0!==a?a:o,l=i?{id:i.id,link:c,title:i.title}:{},u=p.getAbsURL(c),d=window.history.state;p.FirstLoad||d&&d.link&&d.link===l.link||window.history.pushState(l,t,u),p.FirstLoad=!1,document.title=t,p.removeActiveState(),p.setActiveState(c)},setNavParentClasses:function setNavParentClasses(t,o){t.classList.contains("nav-link")&&u(t,".nav-item").forEach((function(t){t.querySelectorAll(":scope > .nav-link").forEach((function(t){t.classList.add(o)}))}))},setActiveState:function setActiveState(t){document.querySelectorAll('a[href="'.concat(t,'"],.a[data-href="').concat(t,'"]')).forEach((function(t){t.classList.add("active"),t.classList.contains("nav-link")&&p.setNavParentClasses(t,"section")}));var o=document.getElementById("PageLoading");o&&o.classList.add("d-none"),setTimeout((function(){var t=document.getElementById("TopAnchor");t&&t.scrollIntoView(d)}),500)},removeActiveState:function removeActiveState(){document.querySelectorAll("a,.a,.nav-link,.element").forEach((function(t){t.classList.remove("active","loading","section")})),document.activeElement instanceof window.HTMLElement&&document.activeElement.blur(),document.querySelectorAll('.navbar-toggler[aria-expanded="true"]').forEach((function(t){t.click()}));var t=document.getElementById("SearchFormContainer");t&&t.classList.remove("show")},popState:function popState(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;t&&t.link?(console.log("".concat(c,": [popstate] load")),p.openURL(t.link)):t&&t.landing?(console.log("".concat(c,": [popstate] go to landing")),p.openURL(t.landing)):(console.warn("".concat(c,": [popstate] state is missing")),console.log(t))}};window.addEventListener("popstate",(function(t){p.popState(window.history.state)})),t.exports=p},5672:function(t){t.exports=function getParents(t,o){var i=window.Element;i.prototype.matches||(i.prototype.matches=i.prototype.matchesSelector||i.prototype.mozMatchesSelector||i.prototype.msMatchesSelector||i.prototype.oMatchesSelector||i.prototype.webkitMatchesSelector||function(t){for(var o=(this.document||this.ownerDocument).querySelectorAll(t),i=o.length;--i>=0&&o.item(i)!==this;);return i>-1});for(var a=[];t&&t!==document;t=t.parentNode)o?t.matches(o)&&a.push(t):a.push(t);return a}},3088:function(t){var o={getParents:function(t,o){for(var i=[],a=t;a&&a!==document;)o?a.matches(o)&&i.push(a):i.push(a),a=a.parentNode;return i},ucwords:function(t){var o=t.toLowerCase(),i=o.split(" ");o="";for(var a=0;a<i.length;a++){var c=i[a];c=c.charAt(0).toUpperCase()+c.slice(1),a>0&&(o="".concat(o," ")),o+=c}return o}};window.globalF=o,t.exports=o,t.exports.default=o},5219:function(t,o,i){"use strict";var a=i(1357);t.exports=function(t,o,i){var c=[],l=!1,u=-1;function sync(){for(u=0;u<c.length;u+=2)try{t(c[u],a(c[u+1]),redraw)}catch(o){i.error(o)}u=-1}function redraw(){l||(l=!0,o((function(){l=!1,sync()})))}return redraw.sync=sync,{mount:function mount(o,i){if(null!=i&&null==i.view&&"function"!==typeof i)throw new TypeError("m.mount expects a component, not a vnode.");var l=c.indexOf(o);l>=0&&(c.splice(l,2),l<=u&&(u-=2),t(o,[])),null!=i&&(c.push(o,i),t(o,a(i),redraw))},redraw}}},3382:function(t,o,i){"use strict";function _typeof(t){return _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},_typeof(t)}var a=i(1357),c=i(6800),l=i(6004),u=i(1194),d=i(6120),p=i(6366),h=i(7449),y=i(5319),v={};function decodeURIComponentSave(t){try{return decodeURIComponent(t)}catch(o){return t}}t.exports=function(t,o){var i,g,b,w,_,E,S=null==t?null:"function"===typeof t.setImmediate?t.setImmediate:t.setTimeout,A=l.resolve(),L=!1,x=!1,k=0,O=v,P={onbeforeupdate:function onbeforeupdate(){return!(!(k=k?2:1)||v===O)},onremove:function onremove(){t.removeEventListener("popstate",fireAsync,!1),t.removeEventListener("hashchange",resolveRoute,!1)},view:function view(){if(k&&v!==O){var t=[a(b,w.key,w)];return O&&(t=O.render(t[0])),t}}},C=route.SKIP={};function resolveRoute(){L=!1;var a=t.location.hash;"#"!==route.prefix[0]&&(a=t.location.search+a,"?"!==route.prefix[0]&&"/"!==(a=t.location.pathname+a)[0]&&(a="/"+a));var c=a.concat().replace(/(?:%[a-f89][a-f0-9])+/gim,decodeURIComponentSave).slice(route.prefix.length),l=d(c);function reject(t){console.error(t),setPath(g,null,{replace:!0})}h(l.params,t.history.state),function loop(t){for(;t<i.length;t++)if(i[t].check(l)){var a=i[t].component,u=i[t].route,d=a,p=E=function lastUpdate(i){if(p===E){if(i===C)return loop(t+1);b=null==i||"function"!==typeof i.view&&"function"!==typeof i?"div":i,w=l.params,_=c,E=null,O=a.render?a:null,2===k?o.redraw():(k=2,o.redraw.sync())}};return void(a.view||"function"===typeof a?(a={},p(d)):a.onmatch?A.then((function(){return a.onmatch(l.params,c,u)})).then(p,c===g?null:reject):p("div"))}if(c===g)throw new Error("Could not resolve default route "+g+".");setPath(g,null,{replace:!0})}(0)}function fireAsync(){L||(L=!0,S(resolveRoute))}function setPath(o,i,a){if(o=u(o,i),x){fireAsync();var c=a?a.state:null,l=a?a.title:null;a&&a.replace?t.history.replaceState(c,l,route.prefix+o):t.history.pushState(c,l,route.prefix+o)}else t.location.href=route.prefix+o}function route(a,c,l){if(!a)throw new TypeError("DOM element being rendered to does not exist.");if(i=Object.keys(l).map((function(t){if("/"!==t[0])throw new SyntaxError("Routes must start with a '/'.");if(/:([^\/\.-]+)(\.{3})?:/.test(t))throw new SyntaxError("Route parameter names must be separated with either '/', '.', or '-'.");return{route:t,component:l[t],check:p(t)}})),g=c,null!=c){var u=d(c);if(!i.some((function(t){return t.check(u)})))throw new ReferenceError("Default route doesn't match any known routes.")}"function"===typeof t.history.pushState?t.addEventListener("popstate",fireAsync,!1):"#"===route.prefix[0]&&t.addEventListener("hashchange",resolveRoute,!1),x=!0,o.mount(a,P),resolveRoute()}return route.set=function(t,o,i){null!=E&&((i=i||{}).replace=!0),E=null,setPath(t,o,i)},route.get=function(){return _},route.prefix="#!",route.Link={view:function view(t){var o,i,a,l=c(t.attrs.selector||"a",y(t.attrs,["options","params","selector","onclick"]),t.children);return(l.attrs.disabled=Boolean(l.attrs.disabled))?(l.attrs.href=null,l.attrs["aria-disabled"]="true"):(o=t.attrs.options,i=t.attrs.onclick,a=u(l.attrs.href,t.attrs.params),l.attrs.href=route.prefix+a,l.attrs.onclick=function(t){var c;"function"===typeof i?c=i.call(t.currentTarget,t):null==i||"object"!==_typeof(i)||"function"===typeof i.handleEvent&&i.handleEvent(t),!1===c||t.defaultPrevented||0!==t.button&&0!==t.which&&1!==t.which||t.currentTarget.target&&"_self"!==t.currentTarget.target||t.ctrlKey||t.metaKey||t.shiftKey||t.altKey||(t.preventDefault(),t.redraw=!1,route.set(a,null,o))}),l}},route.param=function(t){return w&&null!=t?w[t]:w},route}},1139:function(t,o,i){"use strict";var a=i(6800);a.trust=i(8436),a.fragment=i(7215),t.exports=a},5363:function(t,o,i){"use strict";var a=i(1139),c=i(8814),l=i(4489),u=function m(){return a.apply(this,arguments)};u.m=a,u.trust=a.trust,u.fragment=a.fragment,u.Fragment="[",u.mount=l.mount,u.route=i(5337),u.render=i(2257),u.redraw=l.redraw,u.request=c.request,u.jsonp=c.jsonp,u.parseQueryString=i(91),u.buildQueryString=i(6112),u.parsePathname=i(6120),u.buildPathname=i(1194),u.vnode=i(1357),u.PromisePolyfill=i(6344),u.censor=i(5319),t.exports=u},4489:function(t,o,i){"use strict";var a=i(2257);t.exports=i(5219)(a,"undefined"!==typeof requestAnimationFrame?requestAnimationFrame:null,"undefined"!==typeof console?console:null)},1194:function(t,o,i){"use strict";var a=i(6112),c=i(7449);t.exports=function(t,o){if(/:([^\/\.-]+)(\.{3})?:/.test(t))throw new SyntaxError("Template parameter names must be separated by either a '/', '-', or '.'.");if(null==o)return t;var i=t.indexOf("?"),l=t.indexOf("#"),u=l<0?t.length:l,d=i<0?u:i,p=t.slice(0,d),h={};c(h,o);var y=p.replace(/:([^\/\.-]+)(\.{3})?/g,(function(t,i,a){return delete h[i],null==o[i]?t:a?o[i]:encodeURIComponent(String(o[i]))})),v=y.indexOf("?"),g=y.indexOf("#"),b=g<0?y.length:g,w=v<0?b:v,_=y.slice(0,w);i>=0&&(_+=t.slice(i,u)),v>=0&&(_+=(i<0?"?":"&")+y.slice(v,b));var E=a(h);return E&&(_+=(i<0&&v<0?"?":"&")+E),l>=0&&(_+=t.slice(l)),g>=0&&(_+=(l<0?"":"&")+y.slice(g)),_}},6366:function(t,o,i){"use strict";var a=i(6120);t.exports=function(t){var o=a(t),i=Object.keys(o.params),c=[],l=new RegExp("^"+o.path.replace(/:([^\/.-]+)(\.{3}|\.(?!\.)|-)?|[\\^$*+.()|\[\]{}]/g,(function(t,o,i){return null==o?"\\"+t:(c.push({k:o,r:"..."===i}),"..."===i?"(.*)":"."===i?"([^/]+)\\.":"([^/]+)"+(i||""))}))+"$");return function(t){for(var a=0;a<i.length;a++)if(o.params[i[a]]!==t.params[i[a]])return!1;if(!c.length)return l.test(t.path);var u=l.exec(t.path);if(null==u)return!1;for(a=0;a<c.length;a++)t.params[c[a].k]=c[a].r?u[a+1]:decodeURIComponent(u[a+1]);return!0}}},6120:function(t,o,i){"use strict";var a=i(91);t.exports=function(t){var o=t.indexOf("?"),i=t.indexOf("#"),c=i<0?t.length:i,l=o<0?c:o,u=t.slice(0,l).replace(/\/{2,}/g,"/");return u?("/"!==u[0]&&(u="/"+u),u.length>1&&"/"===u[u.length-1]&&(u=u.slice(0,-1))):u="/",{path:u,params:o<0?{}:a(t.slice(o+1,c))}}},6344:function(t){"use strict";function _typeof(t){return _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},_typeof(t)}var o=function PromisePolyfill(t){if(!(this instanceof PromisePolyfill))throw new Error("Promise must be called with 'new'.");if("function"!==typeof t)throw new TypeError("executor must be a function.");var o=this,i=[],a=[],c=handler(i,!0),l=handler(a,!1),u=o._instance={resolvers:i,rejectors:a},d="function"===typeof setImmediate?setImmediate:setTimeout;function handler(t,c){return function execute(p){var h;try{if(!c||null==p||"object"!==_typeof(p)&&"function"!==typeof p||"function"!==typeof(h=p.then))d((function(){c||0!==t.length||console.error("Possible unhandled promise rejection:",p);for(var o=0;o<t.length;o++)t[o](p);i.length=0,a.length=0,u.state=c,u.retry=function(){execute(p)}}));else{if(p===o)throw new TypeError("Promise can't be resolved with itself.");executeOnce(h.bind(p))}}catch(y){l(y)}}}function executeOnce(t){var o=0;function run(t){return function(i){o++>0||t(i)}}var i=run(l);try{t(run(c),i)}catch(a){i(a)}}executeOnce(t)};o.prototype.then=function(t,i){var a,c,l=this._instance;function handle(t,o,i,u){o.push((function(o){if("function"!==typeof t)i(o);else try{a(t(o))}catch(l){c&&c(l)}})),"function"===typeof l.retry&&u===l.state&&l.retry()}var u=new o((function(t,o){a=t,c=o}));return handle(t,l.resolvers,a,!0),handle(i,l.rejectors,c,!1),u},o.prototype.catch=function(t){return this.then(null,t)},o.prototype.finally=function(t){return this.then((function(i){return o.resolve(t()).then((function(){return i}))}),(function(i){return o.resolve(t()).then((function(){return o.reject(i)}))}))},o.resolve=function(t){return t instanceof o?t:new o((function(o){o(t)}))},o.reject=function(t){return new o((function(o,i){i(t)}))},o.all=function(t){return new o((function(o,i){var a=t.length,c=0,l=[];if(0===t.length)o([]);else for(var u=0;u<t.length;u++)!function(u){function consume(t){c++,l[u]=t,c===a&&o(l)}null==t[u]||"object"!==_typeof(t[u])&&"function"!==typeof t[u]||"function"!==typeof t[u].then?consume(t[u]):t[u].then(consume,i)}(u)}))},o.race=function(t){return new o((function(o,i){for(var a=0;a<t.length;a++)t[a].then(o,i)}))},t.exports=o},6004:function(t,o,i){"use strict";var a=i(6344);"undefined"!==typeof window?("undefined"===typeof window.Promise?window.Promise=a:window.Promise.prototype.finally||(window.Promise.prototype.finally=a.prototype.finally),t.exports=window.Promise):"undefined"!==typeof i.g?("undefined"===typeof i.g.Promise?i.g.Promise=a:i.g.Promise.prototype.finally||(i.g.Promise.prototype.finally=a.prototype.finally),t.exports=i.g.Promise):t.exports=a},6112:function(t){"use strict";t.exports=function(t){if("[object Object]"!==Object.prototype.toString.call(t))return"";var o=[];for(var i in t)destructure(i,t[i]);return o.join("&");function destructure(t,i){if(Array.isArray(i))for(var a=0;a<i.length;a++)destructure(t+"["+a+"]",i[a]);else if("[object Object]"===Object.prototype.toString.call(i))for(var a in i)destructure(t+"["+a+"]",i[a]);else o.push(encodeURIComponent(t)+(null!=i&&""!==i?"="+encodeURIComponent(i):""))}}},91:function(t){"use strict";function decodeURIComponentSave(t){try{return decodeURIComponent(t)}catch(o){return t}}t.exports=function(t){if(""===t||null==t)return{};"?"===t.charAt(0)&&(t=t.slice(1));for(var o=t.split("&"),i={},a={},c=0;c<o.length;c++){var l=o[c].split("="),u=decodeURIComponentSave(l[0]),d=2===l.length?decodeURIComponentSave(l[1]):"";"true"===d?d=!0:"false"===d&&(d=!1);var p=u.split(/\]\[?|\[/),h=a;u.indexOf("[")>-1&&p.pop();for(var y=0;y<p.length;y++){var v=p[y],g=p[y+1],b=""==g||!isNaN(parseInt(g,10));if(""===v)null==i[u=p.slice(0,y).join()]&&(i[u]=Array.isArray(h)?h.length:0),v=i[u]++;else if("__proto__"===v)break;if(y===p.length-1)h[v]=d;else{var w=Object.getOwnPropertyDescriptor(h,v);null!=w&&(w=w.value),null==w&&(h[v]=w=b?[]:{}),h=w}}}return a}},2257:function(t,o,i){"use strict";t.exports=i(6061)("undefined"!==typeof window?window:null)},7215:function(t,o,i){"use strict";var a=i(1357),c=i(8883);t.exports=function(){var t=c.apply(0,arguments);return t.tag="[",t.children=a.normalizeChildren(t.children),t}},6800:function(t,o,i){"use strict";var a=i(1357),c=i(8883),l=i(9685),u=/(?:(^|#|\.)([^#\.\[\]]+))|(\[(.+?)(?:\s*=\s*("|'|)((?:\\["'\]]|.)*?)\5)?\])/g,d={};function isEmpty(t){for(var o in t)if(l.call(t,o))return!1;return!0}t.exports=function hyperscript(t){if(null==t||"string"!==typeof t&&"function"!==typeof t&&"function"!==typeof t.view)throw Error("The selector must be either a string or a component.");var o=c.apply(1,arguments);return"string"===typeof t&&(o.children=a.normalizeChildren(o.children),"["!==t)?function execSelector(t,o){var i=o.attrs,a=l.call(i,"class"),c=a?i.class:i.className;if(o.tag=t.tag,o.attrs={},!isEmpty(t.attrs)&&!isEmpty(i)){var u={};for(var d in i)l.call(i,d)&&(u[d]=i[d]);i=u}for(var d in t.attrs)l.call(t.attrs,d)&&"className"!==d&&!l.call(i,d)&&(i[d]=t.attrs[d]);for(var d in null==c&&null==t.attrs.className||(i.className=null!=c?null!=t.attrs.className?String(t.attrs.className)+" "+String(c):c:null!=t.attrs.className?t.attrs.className:null),a&&(i.class=null),i)if(l.call(i,d)&&"key"!==d){o.attrs=i;break}return o}(d[t]||function compileSelector(t){for(var o,i="div",a=[],c={};o=u.exec(t);){var l=o[1],p=o[2];if(""===l&&""!==p)i=p;else if("#"===l)c.id=p;else if("."===l)a.push(p);else if("["===o[3][0]){var h=o[6];h&&(h=h.replace(/\\(["'])/g,"$1").replace(/\\\\/g,"\\")),"class"===o[4]?a.push(h):c[o[4]]=""===h?h:h||!0}}return a.length>0&&(c.className=a.join(" ")),d[t]={tag:i,attrs:c}}(t),o):(o.tag=t,o)}},8883:function(t,o,i){"use strict";function _typeof(t){return _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},_typeof(t)}var a=i(1357);t.exports=function(){var t,o=arguments[this],i=this+1;if(null==o?o={}:("object"!==_typeof(o)||null!=o.tag||Array.isArray(o))&&(o={},i=this),arguments.length===i+1)t=arguments[i],Array.isArray(t)||(t=[t]);else for(t=[];i<arguments.length;)t.push(arguments[i++]);return a("",o.key,o,t)}},6061:function(t,o,i){"use strict";function _typeof(t){return _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},_typeof(t)}var a=i(1357);t.exports=function(t){var o,i=t&&t.document,c={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"};function getNameSpace(t){return t.attrs&&t.attrs.xmlns||c[t.tag]}function checkState(t,o){if(t.state!==o)throw new Error("'vnode.state' must not be modified.")}function callHook(t){var o=t.state;try{return this.apply(o,arguments)}finally{checkState(t,o)}}function activeElement(){try{return i.activeElement}catch(t){return null}}function createNodes(t,o,i,a,c,l,u){for(var d=i;d<a;d++){var p=o[d];null!=p&&createNode(t,p,c,u,l)}}function createNode(t,o,c,l,u){var d=o.tag;if("string"===typeof d)switch(o.state={},null!=o.attrs&&initLifecycle(o.attrs,o,c),d){case"#":!function createText(t,o,a){o.dom=i.createTextNode(o.children),insertNode(t,o.dom,a)}(t,o,u);break;case"<":createHTML(t,o,l,u);break;case"[":!function createFragment(t,o,a,c,l){var u=i.createDocumentFragment();if(null!=o.children){var d=o.children;createNodes(u,d,0,d.length,a,null,c)}o.dom=u.firstChild,o.domSize=u.childNodes.length,insertNode(t,u,l)}(t,o,c,l,u);break;default:!function createElement(t,o,a,c,l){var u=o.tag,d=o.attrs,p=d&&d.is;c=getNameSpace(o)||c;var h=c?p?i.createElementNS(c,u,{is:p}):i.createElementNS(c,u):p?i.createElement(u,{is:p}):i.createElement(u);o.dom=h,null!=d&&function setAttrs(t,o,i){"input"===t.tag&&null!=o.type&&t.dom.setAttribute("type",o.type);var a=null!=o&&"input"===t.tag&&"file"===o.type;for(var c in o)setAttr(t,c,null,o[c],i,a)}(o,d,c);if(insertNode(t,h,l),!maybeSetContentEditable(o)&&null!=o.children){var y=o.children;createNodes(h,y,0,y.length,a,null,c),"select"===o.tag&&null!=d&&function setLateSelectAttrs(t,o){if("value"in o)if(null===o.value)-1!==t.dom.selectedIndex&&(t.dom.value=null);else{var i=""+o.value;t.dom.value===i&&-1!==t.dom.selectedIndex||(t.dom.value=i)}"selectedIndex"in o&&setAttr(t,"selectedIndex",null,o.selectedIndex,void 0)}(o,d)}}(t,o,c,l,u)}else!function createComponent(t,o,i,c,l){(function initComponent(t,o){var i;if("function"===typeof t.tag.view){if(t.state=Object.create(t.tag),null!=(i=t.state.view).$$reentrantLock$$)return;i.$$reentrantLock$$=!0}else{if(t.state=void 0,null!=(i=t.tag).$$reentrantLock$$)return;i.$$reentrantLock$$=!0,t.state=null!=t.tag.prototype&&"function"===typeof t.tag.prototype.view?new t.tag(t):t.tag(t)}initLifecycle(t.state,t,o),null!=t.attrs&&initLifecycle(t.attrs,t,o);if(t.instance=a.normalize(callHook.call(t.state.view,t)),t.instance===t)throw Error("A view cannot return the vnode it received as argument");i.$$reentrantLock$$=null})(o,i),null!=o.instance?(createNode(t,o.instance,i,c,l),o.dom=o.instance.dom,o.domSize=null!=o.dom?o.instance.domSize:0):o.domSize=0}(t,o,c,l,u)}var l={caption:"table",thead:"table",tbody:"table",tfoot:"table",tr:"tbody",th:"tr",td:"tr",colgroup:"table",col:"colgroup"};function createHTML(t,o,a,c){var u=o.children.match(/^\s*?<(\w+)/im)||[],d=i.createElement(l[u[1]]||"div");"http://www.w3.org/2000/svg"===a?(d.innerHTML='<svg xmlns="http://www.w3.org/2000/svg">'+o.children+"</svg>",d=d.firstChild):d.innerHTML=o.children,o.dom=d.firstChild,o.domSize=d.childNodes.length,o.instance=[];for(var p,h=i.createDocumentFragment();p=d.firstChild;)o.instance.push(p),h.appendChild(p);insertNode(t,h,c)}function updateNodes(t,o,i,a,c,l){if(o!==i&&(null!=o||null!=i))if(null==o||0===o.length)createNodes(t,i,0,i.length,a,c,l);else if(null==i||0===i.length)removeNodes(t,o,0,o.length);else{var d=null!=o[0]&&null!=o[0].key,p=null!=i[0]&&null!=i[0].key,h=0,y=0;if(!d)for(;y<o.length&&null==o[y];)y++;if(!p)for(;h<i.length&&null==i[h];)h++;if(d!==p)removeNodes(t,o,y,o.length),createNodes(t,i,h,i.length,a,c,l);else if(p){for(var v,g,b,w,_,E=o.length-1,S=i.length-1;E>=y&&S>=h&&(b=o[E],w=i[S],b.key===w.key);)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),E--,S--;for(;E>=y&&S>=h&&(v=o[y],g=i[h],v.key===g.key);)y++,h++,v!==g&&updateNode(t,v,g,a,getNextSibling(o,y,c),l);for(;E>=y&&S>=h&&h!==S&&v.key===w.key&&b.key===g.key;)moveNodes(t,b,_=getNextSibling(o,y,c)),b!==g&&updateNode(t,b,g,a,_,l),++h<=--S&&moveNodes(t,v,c),v!==w&&updateNode(t,v,w,a,c,l),null!=w.dom&&(c=w.dom),y++,b=o[--E],w=i[S],v=o[y],g=i[h];for(;E>=y&&S>=h&&b.key===w.key;)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),S--,b=o[--E],w=i[S];if(h>S)removeNodes(t,o,y,E+1);else if(y>E)createNodes(t,i,h,S+1,a,c,l);else{var A,L,x=c,k=S-h+1,O=new Array(k),P=0,C=0,T=2147483647,I=0;for(C=0;C<k;C++)O[C]=-1;for(C=S;C>=h;C--){null==A&&(A=getKeyMap(o,y,E+1));var j=A[(w=i[C]).key];null!=j&&(T=j<T?j:-1,O[C-h]=j,b=o[j],o[j]=null,b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),I++)}if(c=x,I!==E-y+1&&removeNodes(t,o,y,E+1),0===I)createNodes(t,i,h,S+1,a,c,l);else if(-1===T)for(L=function makeLisIndices(t){var o=[0],i=0,a=0,c=0,l=u.length=t.length;for(c=0;c<l;c++)u[c]=t[c];for(c=0;c<l;++c)if(-1!==t[c]){var d=o[o.length-1];if(t[d]<t[c])u[c]=d,o.push(c);else{for(i=0,a=o.length-1;i<a;){var p=(i>>>1)+(a>>>1)+(i&a&1);t[o[p]]<t[c]?i=p+1:a=p}t[c]<t[o[i]]&&(i>0&&(u[c]=o[i-1]),o[i]=c)}}i=o.length,a=o[i-1];for(;i-- >0;)o[i]=a,a=u[a];return u.length=0,o}(O),P=L.length-1,C=S;C>=h;C--)g=i[C],-1===O[C-h]?createNode(t,g,a,l,c):L[P]===C-h?P--:moveNodes(t,g,c),null!=g.dom&&(c=i[C].dom);else for(C=S;C>=h;C--)g=i[C],-1===O[C-h]&&createNode(t,g,a,l,c),null!=g.dom&&(c=i[C].dom)}}else{var N=o.length<i.length?o.length:i.length;for(h=h<y?h:y;h<N;h++)(v=o[h])===(g=i[h])||null==v&&null==g||(null==v?createNode(t,g,a,l,getNextSibling(o,h+1,c)):null==g?removeNode(t,v):updateNode(t,v,g,a,getNextSibling(o,h+1,c),l));o.length>N&&removeNodes(t,o,h,o.length),i.length>N&&createNodes(t,i,h,i.length,a,c,l)}}}function updateNode(t,o,i,c,l,u){var d=o.tag;if(d===i.tag){if(i.state=o.state,i.events=o.events,function shouldNotUpdate(t,o){do{var i;if(null!=t.attrs&&"function"===typeof t.attrs.onbeforeupdate)if(void 0!==(i=callHook.call(t.attrs.onbeforeupdate,t,o))&&!i)break;if("string"!==typeof t.tag&&"function"===typeof t.state.onbeforeupdate)if(void 0!==(i=callHook.call(t.state.onbeforeupdate,t,o))&&!i)break;return!1}while(0);return t.dom=o.dom,t.domSize=o.domSize,t.instance=o.instance,t.attrs=o.attrs,t.children=o.children,t.text=o.text,!0}(i,o))return;if("string"===typeof d)switch(null!=i.attrs&&updateLifecycle(i.attrs,i,c),d){case"#":!function updateText(t,o){t.children.toString()!==o.children.toString()&&(t.dom.nodeValue=o.children);o.dom=t.dom}(o,i);break;case"<":!function updateHTML(t,o,i,a,c){o.children!==i.children?(removeHTML(t,o),createHTML(t,i,a,c)):(i.dom=o.dom,i.domSize=o.domSize,i.instance=o.instance)}(t,o,i,u,l);break;case"[":!function updateFragment(t,o,i,a,c,l){updateNodes(t,o.children,i.children,a,c,l);var u=0,d=i.children;if(i.dom=null,null!=d){for(var p=0;p<d.length;p++){var h=d[p];null!=h&&null!=h.dom&&(null==i.dom&&(i.dom=h.dom),u+=h.domSize||1)}1!==u&&(i.domSize=u)}}(t,o,i,c,l,u);break;default:!function updateElement(t,o,i,a){var c=o.dom=t.dom;a=getNameSpace(o)||a,"textarea"===o.tag&&null==o.attrs&&(o.attrs={});(function updateAttrs(t,o,i,a){o&&o===i&&console.warn("Don't reuse attrs object, use new object for every redraw, this will throw in next major");if(null!=i){"input"===t.tag&&null!=i.type&&t.dom.setAttribute("type",i.type);var c="input"===t.tag&&"file"===i.type;for(var l in i)setAttr(t,l,o&&o[l],i[l],a,c)}var u;if(null!=o)for(var l in o)null==(u=o[l])||null!=i&&null!=i[l]||removeAttr(t,l,u,a)})(o,t.attrs,o.attrs,a),maybeSetContentEditable(o)||updateNodes(c,t.children,o.children,i,null,a)}(o,i,c,u)}else!function updateComponent(t,o,i,c,l,u){if(i.instance=a.normalize(callHook.call(i.state.view,i)),i.instance===i)throw Error("A view cannot return the vnode it received as argument");updateLifecycle(i.state,i,c),null!=i.attrs&&updateLifecycle(i.attrs,i,c);null!=i.instance?(null==o.instance?createNode(t,i.instance,c,u,l):updateNode(t,o.instance,i.instance,c,l,u),i.dom=i.instance.dom,i.domSize=i.instance.domSize):null!=o.instance?(removeNode(t,o.instance),i.dom=void 0,i.domSize=0):(i.dom=o.dom,i.domSize=o.domSize)}(t,o,i,c,l,u)}else removeNode(t,o),createNode(t,i,c,u,l)}function getKeyMap(t,o,i){for(var a=Object.create(null);o<i;o++){var c=t[o];if(null!=c){var l=c.key;null!=l&&(a[l]=o)}}return a}var u=[];function getNextSibling(t,o,i){for(;o<t.length;o++)if(null!=t[o]&&null!=t[o].dom)return t[o].dom;return i}function moveNodes(t,o,a){var c=i.createDocumentFragment();moveChildToFrag(t,c,o),insertNode(t,c,a)}function moveChildToFrag(t,o,i){for(;null!=i.dom&&i.dom.parentNode===t;){if("string"!==typeof i.tag){if(null!=(i=i.instance))continue}else if("<"===i.tag)for(var a=0;a<i.instance.length;a++)o.appendChild(i.instance[a]);else if("["!==i.tag)o.appendChild(i.dom);else if(1===i.children.length){if(null!=(i=i.children[0]))continue}else for(a=0;a<i.children.length;a++){var c=i.children[a];null!=c&&moveChildToFrag(t,o,c)}break}}function insertNode(t,o,i){null!=i?t.insertBefore(o,i):t.appendChild(o)}function maybeSetContentEditable(t){if(null==t.attrs||null==t.attrs.contenteditable&&null==t.attrs.contentEditable)return!1;var o=t.children;if(null!=o&&1===o.length&&"<"===o[0].tag){var i=o[0].children;t.dom.innerHTML!==i&&(t.dom.innerHTML=i)}else if(null!=o&&0!==o.length)throw new Error("Child node of a contenteditable must be trusted.");return!0}function removeNodes(t,o,i,a){for(var c=i;c<a;c++){var l=o[c];null!=l&&removeNode(t,l)}}function removeNode(t,o){var i,a,c,l=0,u=o.state;"string"!==typeof o.tag&&"function"===typeof o.state.onbeforeremove&&(null!=(c=callHook.call(o.state.onbeforeremove,o))&&"function"===typeof c.then&&(l=1,i=c));o.attrs&&"function"===typeof o.attrs.onbeforeremove&&(null!=(c=callHook.call(o.attrs.onbeforeremove,o))&&"function"===typeof c.then&&(l|=2,a=c));if(checkState(o,u),l){if(null!=i){var d=function next(){1&l&&((l&=2)||reallyRemove())};i.then(d,d)}if(null!=a){d=function next(){2&l&&((l&=1)||reallyRemove())};a.then(d,d)}}else onremove(o),removeChild(t,o);function reallyRemove(){checkState(o,u),onremove(o),removeChild(t,o)}}function removeHTML(t,o){for(var i=0;i<o.instance.length;i++)t.removeChild(o.instance[i])}function removeChild(t,o){for(;null!=o.dom&&o.dom.parentNode===t;){if("string"!==typeof o.tag){if(null!=(o=o.instance))continue}else if("<"===o.tag)removeHTML(t,o);else{if("["!==o.tag&&(t.removeChild(o.dom),!Array.isArray(o.children)))break;if(1===o.children.length){if(null!=(o=o.children[0]))continue}else for(var i=0;i<o.children.length;i++){var a=o.children[i];null!=a&&removeChild(t,a)}}break}}function onremove(t){if("string"!==typeof t.tag&&"function"===typeof t.state.onremove&&callHook.call(t.state.onremove,t),t.attrs&&"function"===typeof t.attrs.onremove&&callHook.call(t.attrs.onremove,t),"string"!==typeof t.tag)null!=t.instance&&onremove(t.instance);else{var o=t.children;if(Array.isArray(o))for(var i=0;i<o.length;i++){var a=o[i];null!=a&&onremove(a)}}}function setAttr(t,o,a,c,l,u){if(!("key"===o||"is"===o||null==c||isLifecycleMethod(o)||a===c&&!function isFormAttribute(t,o){return"value"===o||"checked"===o||"selectedIndex"===o||"selected"===o&&t.dom===activeElement()||"option"===t.tag&&t.dom.parentNode===i.activeElement}(t,o)&&"object"!==_typeof(c)||"type"===o&&"input"===t.tag)){if("o"===o[0]&&"n"===o[1])return updateEvent(t,o,c);if("xlink:"===o.slice(0,6))t.dom.setAttributeNS("http://www.w3.org/1999/xlink",o.slice(6),c);else if("style"===o)updateStyle(t.dom,a,c);else if(hasPropertyKey(t,o,l)){if("value"===o){if(("input"===t.tag||"textarea"===t.tag)&&t.dom.value===""+c&&(u||t.dom===activeElement()))return;if("select"===t.tag&&null!==a&&t.dom.value===""+c)return;if("option"===t.tag&&null!==a&&t.dom.value===""+c)return;if(u&&""+c!=="")return void console.error("`value` is read-only on file inputs!")}t.dom[o]=c}else"boolean"===typeof c?c?t.dom.setAttribute(o,""):t.dom.removeAttribute(o):t.dom.setAttribute("className"===o?"class":o,c)}}function removeAttr(t,o,i,a){if("key"!==o&&"is"!==o&&null!=i&&!isLifecycleMethod(o))if("o"===o[0]&&"n"===o[1])updateEvent(t,o,void 0);else if("style"===o)updateStyle(t.dom,i,null);else if(!hasPropertyKey(t,o,a)||"className"===o||"title"===o||"value"===o&&("option"===t.tag||"select"===t.tag&&-1===t.dom.selectedIndex&&t.dom===activeElement())||"input"===t.tag&&"type"===o){var c=o.indexOf(":");-1!==c&&(o=o.slice(c+1)),!1!==i&&t.dom.removeAttribute("className"===o?"class":o)}else t.dom[o]=null}function isLifecycleMethod(t){return"oninit"===t||"oncreate"===t||"onupdate"===t||"onremove"===t||"onbeforeremove"===t||"onbeforeupdate"===t}function hasPropertyKey(t,o,i){return void 0===i&&(t.tag.indexOf("-")>-1||null!=t.attrs&&t.attrs.is||"href"!==o&&"list"!==o&&"form"!==o&&"width"!==o&&"height"!==o)&&o in t.dom}var d,p=/[A-Z]/g;function toLowerCase(t){return"-"+t.toLowerCase()}function normalizeKey(t){return"-"===t[0]&&"-"===t[1]?t:"cssFloat"===t?"float":t.replace(p,toLowerCase)}function updateStyle(t,o,i){if(o===i);else if(null==i)t.style.cssText="";else if("object"!==_typeof(i))t.style.cssText=i;else if(null==o||"object"!==_typeof(o))for(var a in t.style.cssText="",i){null!=(c=i[a])&&t.style.setProperty(normalizeKey(a),String(c))}else{for(var a in i){var c;null!=(c=i[a])&&(c=String(c))!==String(o[a])&&t.style.setProperty(normalizeKey(a),c)}for(var a in o)null!=o[a]&&null==i[a]&&t.style.removeProperty(normalizeKey(a))}}function EventDict(){this._=o}function updateEvent(t,i,a){if(null!=t.events){if(t.events._=o,t.events[i]===a)return;null==a||"function"!==typeof a&&"object"!==_typeof(a)?(null!=t.events[i]&&t.dom.removeEventListener(i.slice(2),t.events,!1),t.events[i]=void 0):(null==t.events[i]&&t.dom.addEventListener(i.slice(2),t.events,!1),t.events[i]=a)}else null==a||"function"!==typeof a&&"object"!==_typeof(a)||(t.events=new EventDict,t.dom.addEventListener(i.slice(2),t.events,!1),t.events[i]=a)}function initLifecycle(t,o,i){"function"===typeof t.oninit&&callHook.call(t.oninit,o),"function"===typeof t.oncreate&&i.push(callHook.bind(t.oncreate,o))}function updateLifecycle(t,o,i){"function"===typeof t.onupdate&&i.push(callHook.bind(t.onupdate,o))}return EventDict.prototype=Object.create(null),EventDict.prototype.handleEvent=function(t){var o,i=this["on"+t.type];"function"===typeof i?o=i.call(t.currentTarget,t):"function"===typeof i.handleEvent&&i.handleEvent(t),this._&&!1!==t.redraw&&(0,this._)(),!1===o&&(t.preventDefault(),t.stopPropagation())},function(t,i,c){if(!t)throw new TypeError("DOM element being rendered to does not exist.");if(null!=d&&t.contains(d))throw new TypeError("Node is currently being rendered to and thus is locked.");var l=o,u=d,p=[],h=activeElement(),y=t.namespaceURI;d=t,o="function"===typeof c?c:void 0;try{null==t.vnodes&&(t.textContent=""),i=a.normalizeChildren(Array.isArray(i)?i:[i]),updateNodes(t,t.vnodes,i,p,null,"http://www.w3.org/1999/xhtml"===y?void 0:y),t.vnodes=i,null!=h&&activeElement()!==h&&"function"===typeof h.focus&&h.focus();for(var v=0;v<p.length;v++)p[v]()}finally{o=l,d=u}}}},8436:function(t,o,i){"use strict";var a=i(1357);t.exports=function(t){return null==t&&(t=""),a("<",void 0,void 0,t,void 0,void 0)}},1357:function(t){"use strict";function _typeof(t){return _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},_typeof(t)}function Vnode(t,o,i,a,c,l){return{tag:t,key:o,attrs:i,children:a,text:c,dom:l,domSize:void 0,state:void 0,events:void 0,instance:void 0}}Vnode.normalize=function(t){return Array.isArray(t)?Vnode("[",void 0,void 0,Vnode.normalizeChildren(t),void 0,void 0):null==t||"boolean"===typeof t?null:"object"===_typeof(t)?t:Vnode("#",void 0,void 0,String(t),void 0,void 0)},Vnode.normalizeChildren=function(t){var o=[];if(t.length){for(var i=null!=t[0]&&null!=t[0].key,a=1;a<t.length;a++)if((null!=t[a]&&null!=t[a].key)!==i)throw new TypeError(!i||null==t[a]&&"boolean"!==typeof t[a]?"In fragments, vnodes must either all have keys or none have keys.":"In fragments, vnodes must either all have keys or none have keys. You may wish to consider using an explicit keyed empty fragment, m.fragment({key: ...}), instead of a hole.");for(a=0;a<t.length;a++)o[a]=Vnode.normalize(t[a])}return o},t.exports=Vnode},8814:function(t,o,i){"use strict";var a=i(6004),c=i(4489);t.exports=i(5432)("undefined"!==typeof window?window:null,a,c.redraw)},5432:function(t,o,i){"use strict";var a=i(1194),c=i(9685);t.exports=function(t,o,i){var l=0;function PromiseProxy(t){return new o(t)}function makeRequest(t){return function(c,l){"string"!==typeof c?(l=c,c=c.url):null==l&&(l={});var u=new o((function(o,i){t(a(c,l.params),l,(function(t){if("function"===typeof l.type)if(Array.isArray(t))for(var i=0;i<t.length;i++)t[i]=new l.type(t[i]);else t=new l.type(t);o(t)}),i)}));if(!0===l.background)return u;var d=0;function complete(){0===--d&&"function"===typeof i&&i()}return function wrap(t){var o=t.then;return t.constructor=PromiseProxy,t.then=function(){d++;var i=o.apply(t,arguments);return i.then(complete,(function(t){if(complete(),0===d)throw t})),wrap(i)},t}(u)}}function hasHeader(t,o){for(var i in t.headers)if(c.call(t.headers,i)&&i.toLowerCase()===o)return!0;return!1}return PromiseProxy.prototype=o.prototype,PromiseProxy.__proto__=o,{request:makeRequest((function(o,i,a,l){var u,d=null!=i.method?i.method.toUpperCase():"GET",p=i.body,h=(null==i.serialize||i.serialize===JSON.serialize)&&!(p instanceof t.FormData||p instanceof t.URLSearchParams),y=i.responseType||("function"===typeof i.extract?"":"json"),v=new t.XMLHttpRequest,g=!1,b=!1,w=v,_=v.abort;for(var E in v.abort=function(){g=!0,_.call(this)},v.open(d,o,!1!==i.async,"string"===typeof i.user?i.user:void 0,"string"===typeof i.password?i.password:void 0),h&&null!=p&&!hasHeader(i,"content-type")&&v.setRequestHeader("Content-Type","application/json; charset=utf-8"),"function"===typeof i.deserialize||hasHeader(i,"accept")||v.setRequestHeader("Accept","application/json, text/*"),i.withCredentials&&(v.withCredentials=i.withCredentials),i.timeout&&(v.timeout=i.timeout),v.responseType=y,i.headers)c.call(i.headers,E)&&v.setRequestHeader(E,i.headers[E]);v.onreadystatechange=function(t){if(!g&&4===t.target.readyState)try{var c,u=t.target.status>=200&&t.target.status<300||304===t.target.status||/^file:\/\//i.test(o),d=t.target.response;if("json"===y){if(!t.target.responseType&&"function"!==typeof i.extract)try{d=JSON.parse(t.target.responseText)}catch(h){d=null}}else y&&"text"!==y||null==d&&(d=t.target.responseText);if("function"===typeof i.extract?(d=i.extract(t.target,i),u=!0):"function"===typeof i.deserialize&&(d=i.deserialize(d)),u)a(d);else{var p=function completeErrorResponse(){try{c=t.target.responseText}catch(h){c=d}var o=new Error(c);o.code=t.target.status,o.response=d,l(o)};0===v.status?setTimeout((function(){b||p()})):p()}}catch(h){l(h)}},v.ontimeout=function(t){b=!0;var o=new Error("Request timed out");o.code=t.target.status,l(o)},"function"===typeof i.config&&(v=i.config(v,i,o)||v)!==w&&(u=v.abort,v.abort=function(){g=!0,u.call(this)}),null==p?v.send():"function"===typeof i.serialize?v.send(i.serialize(p)):p instanceof t.FormData||p instanceof t.URLSearchParams?v.send(p):v.send(JSON.stringify(p))})),jsonp:makeRequest((function(o,i,a,c){var u=i.callbackName||"_mithril_"+Math.round(1e16*Math.random())+"_"+l++,d=t.document.createElement("script");t[u]=function(o){delete t[u],d.parentNode.removeChild(d),a(o)},d.onerror=function(){delete t[u],d.parentNode.removeChild(d),c(new Error("JSONP request failed"))},d.src=o+(o.indexOf("?")<0?"?":"&")+encodeURIComponent(i.callbackKey||"callback")+"="+encodeURIComponent(u),t.document.documentElement.appendChild(d)}))}}},5337:function(t,o,i){"use strict";var a=i(4489);t.exports=i(3382)("undefined"!==typeof window?window:null,a)},7449:function(t,o,i){"use strict";var a=i(9685);t.exports=Object.assign||function(t,o){for(var i in o)a.call(o,i)&&(t[i]=o[i])}},5319:function(t,o,i){"use strict";var a=i(9685),c=new RegExp("^(?:key|oninit|oncreate|onbeforeupdate|onupdate|onbeforeremove|onremove)$");t.exports=function(t,o){var i={};if(null!=o)for(var l in t)a.call(t,l)&&!c.test(l)&&o.indexOf(l)<0&&(i[l]=t[l]);else for(var l in t)a.call(t,l)&&!c.test(l)&&(i[l]=t[l]);return i}},9685:function(t){"use strict";t.exports={}.hasOwnProperty},4976: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}}},9759:function(t){t.exports="../img/bg.png"},4023:function(t){t.exports="../img/logo.png"},1381:function(t){t.exports="../img/logo.svg"},1989:function(t){t.exports="../img/original.png"},2584:function(t){t.exports="../img/original2.png"},9843:function(t){t.exports="../img/photo1.png"},7464:function(t){t.exports="../img/photo2.jpg"},2597: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__(i){var a=o[i];if(void 0!==a)return a.exports;var c=o[i]={exports:{}};return t[i](c,c.exports,__webpack_require__),c.exports}__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}(),__webpack_require__.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},__webpack_require__.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},function(){"use strict";__webpack_require__(8820)}()}();