From 3e5c6af1fbd2d5a13357d782d2f8a497db8f6b33 Mon Sep 17 00:00:00 2001 From: Tony Air Date: Wed, 25 Oct 2023 00:23:16 +0200 Subject: [PATCH] IMPR: GraphQL Live tests fixtures --- app/client/dist/js/app.js | 2 +- app/client/dist/js/sample.js | 2 +- app/client/dist/records.json | 30 ++++++++++++++++-------------- app/client/dist/report.html | 4 ++-- app/client/src/js/_graphql.js | 5 ++++- package.json | 6 +++--- 6 files changed, 27 insertions(+), 22 deletions(-) diff --git a/app/client/dist/js/app.js b/app/client/dist/js/app.js index 6e95ba7..0f6a328 100644 --- a/app/client/dist/js/app.js +++ b/app/client/dist/js/app.js @@ -1,2 +1,2 @@ /*! For license information please see app.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},3131: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"}},3939:function(t,o,i){var a=i(5598),c="/graphql/",l={request:function request(t){return a.request({url:c,method:"POST",body:t})}};t.exports=l},2301:function(t,o,i){var a,c,l=i(3131),u=i(7253),d=i(3554);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()}))},3554: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 y="suspendedStart",h="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,y=p.value;return y&&"object"==_typeof(y)&&a.call(y,"__await")?o.resolve(y.__await).then((function(t){invoke("next",t,l,u)}),(function(t){invoke("throw",t,l,u)})):o.resolve(y).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=y;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===y)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:h,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=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=0;--i){var c=this.tryEntries[i];if(c.tryLoc<=this.prev&&a.call(c,"finallyLoc")&&this.prev=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(y){return void i(y)}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 NOT FOUND")),y.title="NOT FOUND",o.errors[0]&&console.warn(o.errors),a.abrupt("return");case 12:if(y.title=i.title,y.id=i.id,y.link=i.link,y.requestlink=i.requestlink,y.CSSClass=i.CSSClass,!i.MainContent){a.next=23;break}return a.next=20,l.trust(i.MainContent);case 20:y.content=a.sent,a.next=27;break;case 23:if(!i.elementalArea){a.next=27;break}return a.next=26,l(".elemental-area",i.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)))})));case 26:y.content=a.sent;case 27:window.app.Router.setPage(y),a.next=35;break;case 30:a.prev=30,a.t0=a.catch(1),console.error("".concat(c,": loadContent > FAILED")),console.error(a.t0),y.title="Loading Failed!";case 35:case"end":return a.stop()}}),_callee,null,[[1,30]])}))),function loadContent(t){return a.apply(this,arguments)})});t.exports=y},3038:function(t,o,i){var a=i(5598),c=i(3554);t.exports={oninit:c.loadContent(document.location.pathname),onupdate:function onupdate(){window.app.Router.initLinks(),window.dispatchEvent(new Event(window.app.Events.AJAX))},view:function view(){return a("main",{class:c.CSSClass},a("div",{class:"element page-header-element"},a("div",{class:"element-container container"},a("h1",{class:"page-header"},c.title))),c.content)}}},5816: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(filter: { url: { eq: $url } }) {\n ... baseInfo\n MainContent\n }\n }")};t.exports=i},7253:function(t,o,i){var a="uiRouter",c=i(3554),l={initLinks:function initLinks(){document.querySelectorAll("a:not(.legacy)").forEach((function(t){t.dataset[a]||(t.dataset[a]="active",t.addEventListener("click",(function(o){l.linkClick(t,o)})))}))},linkClick:function linkClick(t,o){var i=t,c=i.getAttribute("href"),u=new URL(c,document.location.origin);if(!c)return o.preventDefault(),console.warn("".concat(a," > linkClick: no href")),console.warn(o),!1;if(u.pathname===document.location.pathname)return o.preventDefault(),console.log("".concat(a," > linkClick: same URL")),!1;if(u.hash&&(!u.pathname||"/graphql/"===u.pathname)){o.preventDefault(),console.log("".concat(a," > linkClick: hash URL"));var d=document.querySelector(u.hash);return d&&d.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"}),!0}return!i.getAttribute("target")&&l.sameOrigin(c)?(o.preventDefault(),console.log("".concat(a," > linkClick: local URL")),t.classList.add("loading"),l.openURL(c)):(console.log("".concat(a," > linkClick: external URL")),!0)},sameOrigin:function sameOrigin(t){var o=l.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 l.isAbsURL(t)?t:new URL(t,document.location.origin).href},getRelURL:function getRelURL(t){return new URL(t,document.location.origin).pathname},openURL:function openURL(t){return c.loadContent(l.getRelURL(t))},setPage:function setPage(t){l.setLocation(t.title,t.link,t)},setLocation:function setLocation(t,o,i){var a,c=null!==(a=i.requestlink)&&void 0!==a?a:o,u=i?{id:i.id,link:c,title:i.title}:{},d=l.getAbsURL(c);window.history.replaceState(u,t,d),document.title=t,document.querySelectorAll("a,.a").forEach((function(t){t.classList.remove("nav-active"),t.classList.remove("loading")})),document.querySelectorAll('a[href="'.concat(c,'"],.a[data-href="').concat(c,'"]')).forEach((function(t){t.classList.add("nav-active")}))}};t.exports=l},9095: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;a0&&(o="".concat(o," ")),o+=c}return o}};window.globalF=o,t.exports=o,t.exports.default=o},7481:function(t,o,i){"use strict";var a=i(3565);t.exports=function(t,o,i){var c=[],l=!1,u=-1;function sync(){for(u=0;u=0&&(c.splice(l,2),l<=u&&(u-=2),t(o,[])),null!=i&&(c.push(o,i),t(o,a(i),redraw))},redraw}}},1225: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(3565),c=i(1712),l=i(3665),u=i(5954),d=i(809),p=i(4903),y=i(2941),h=i(4782),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(),k=!1,L=!1,O=0,C=v,x={onbeforeupdate:function onbeforeupdate(){return!(!(O=O?2:1)||v===C)},onremove:function onremove(){t.removeEventListener("popstate",fireAsync,!1),t.removeEventListener("hashchange",resolveRoute,!1)},view:function view(){if(O&&v!==C){var t=[a(b,w.key,w)];return C&&(t=C.render(t[0])),t}}},T=route.SKIP={};function resolveRoute(){k=!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})}y(l.params,t.history.state),function loop(t){for(;t=0&&(_+=t.slice(i,u)),v>=0&&(_+=(i<0?"?":"&")+h.slice(v,b));var E=a(y);return E&&(_+=(i<0&&v<0?"?":"&")+E),l>=0&&(_+=t.slice(l)),g>=0&&(_+=(l<0?"":"&")+h.slice(g)),_}},4903:function(t,o,i){"use strict";var a=i(809);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;a1&&"/"===u[u.length-1]&&(u=u.slice(0,-1))):u="/",{path:u,params:o<0?{}:a(t.slice(o+1,c))}}},3526: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 y;try{if(!c||null==p||"object"!==_typeof(p)&&"function"!==typeof p||"function"!==typeof(y=p.then))d((function(){c||0!==t.length||console.error("Possible unhandled promise rejection:",p);for(var o=0;o0||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-1&&p.pop();for(var h=0;h0&&(c.className=a.join(" ")),d[t]={tag:i,attrs:c}}(t),o):(o.tag=t,o)}},2119: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(3565);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'+o.children+"",d=d.firstChild):d.innerHTML=o.children,o.dom=d.firstChild,o.domSize=d.childNodes.length,o.instance=[];for(var p,y=i.createDocumentFragment();p=d.firstChild;)o.instance.push(p),y.appendChild(p);insertNode(t,y,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,y=0,h=0;if(!d)for(;h=h&&S>=y&&(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>=h&&S>=y&&(v=o[h],g=i[y],v.key===g.key);)h++,y++,v!==g&&updateNode(t,v,g,a,getNextSibling(o,h,c),l);for(;E>=h&&S>=y&&y!==S&&v.key===w.key&&b.key===g.key;)moveNodes(t,b,_=getNextSibling(o,h,c)),b!==g&&updateNode(t,b,g,a,_,l),++y<=--S&&moveNodes(t,v,c),v!==w&&updateNode(t,v,w,a,c,l),null!=w.dom&&(c=w.dom),h++,b=o[--E],w=i[S],v=o[h],g=i[y];for(;E>=h&&S>=y&&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(y>S)removeNodes(t,o,h,E+1);else if(h>E)createNodes(t,i,y,S+1,a,c,l);else{var A,k,L=c,O=S-y+1,C=new Array(O),x=0,T=0,P=2147483647,I=0;for(T=0;T=y;T--){null==A&&(A=getKeyMap(o,h,E+1));var j=A[(w=i[T]).key];null!=j&&(P=j>>1)+(a>>>1)+(i&a&1);t[o[p]]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}(C),x=k.length-1,T=S;T>=y;T--)g=i[T],-1===C[T-y]?createNode(t,g,a,l,c):k[x]===T-y?x--:moveNodes(t,g,c),null!=g.dom&&(c=i[T].dom);else for(T=S;T>=y;T--)g=i[T],-1===C[T-y]&&createNode(t,g,a,l,c),null!=g.dom&&(c=i[T].dom)}}else{var D=o.lengthD&&removeNodes(t,o,y,o.length),i.length>D&&createNodes(t,i,y,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-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=[],y=activeElement(),h=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"===h?void 0:h),t.vnodes=i,null!=y&&activeElement()!==y&&"function"===typeof y.focus&&y.focus();for(var v=0;v=200&&t.target.status<300||304===t.target.status||/^file:\/\//i.test(o),d=t.target.response;if("json"===h){if(!t.target.responseType&&"function"!==typeof i.extract)try{d=JSON.parse(t.target.responseText)}catch(y){d=null}}else h&&"text"!==h||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(y){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(y){l(y)}},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)}))}}},8392:function(t,o,i){"use strict";var a=i(0);t.exports=i(1225)("undefined"!==typeof window?window:null,a)},2941:function(t,o,i){"use strict";var a=i(5415);t.exports=Object.assign||function(t,o){for(var i in o)a.call(o,i)&&(t[i]=o[i])}},4782:function(t,o,i){"use strict";var a=i(5415),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}},5415:function(t){"use strict";t.exports={}.hasOwnProperty},8679: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";var t={APOLLO_ERROR:"apollo-error",AJAX:"ajax-load",AJAXMAIN:"ajax-main-load",MAININIT:"main-init",TABHIDDEN:"tab-hidden",TABFOCUSED:"tab-focused",OFFLINE:"offline",ONLINE:"online",BACKONLINE:"back-online",TOUCHENABLE:"touch-enabled",TOUCHDISABLED:"touch-disabled",DOMLOADED:"DOMContentLoaded",LOADED:"load",SWIPELEFT:"swipeleft panleft",SWIPERIGHT:"swiperight panright",ALLERTAPPEARED:"alert-appeared",ALERTREMOVED:"alert-removed",LODEDANDREADY:"load-ready",LAZYIMAGEREADY:"image-lazy-bg-loaded",LAZYIMAGESREADY:"images-lazy-loaded",MAPLOADED:"map-loaded",MAPAPILOADED:"map-api-loaded",MAPMARKERCLICK:"map-marker-click",MAPPOPUPCLOSE:"map-popup-close",SCROLL:"scroll",RESIZE:"resize",CAROUSEL_READY:"bs.carousel.ready",SET_TARGET_UPDATE:"set-target-update",RESTORE_FIELD:"restore-field",FORM_INIT_BASICS:"form-basics",FORM_INIT_STEPPED:"form-init-stepped",FORM_INIT_VALIDATE:"form-init-validate",FORM_INIT_VALIDATE_FIELD:"form-init-validate-field",FORM_INIT_STORAGE:"form-init-storage",FORM_VALIDATION_FAILED:"form-validation-failed",FORM_STEPPED_NEW_STEP:"form-new-step",FORM_STEPPED_FIRST_STEP:"form-first-step",FORM_STEPPED_LAST_STEP:"form-last-step",FORM_FIELDS:"input,textarea,select"},o={ENVS:["xs","sm","md","lg","xl","xxl","xxxl"]};(function(o){var i="_main.visibility",a=document,c=a.body;a.addEventListener("visibilitychange",(function(){"hidden"===a.visibilityState?(console.log("".concat(i,": Tab: hidden")),c.classList.add("is-hidden"),c.classList.remove("is-focused"),o.dispatchEvent(new Event(t.TABHIDDEN))):(console.log("".concat(i,": Tab: focused")),c.classList.add("is-focused"),c.classList.remove("is-hidden"),o.dispatchEvent(new Event(t.TABFOCUSED)))}))})(window),function(o){var i,a,c="_main.touch",l=document,u=l.body,d=function SET_TOUCH_SCREEN(l,d){a||d===i||(l?(console.log("".concat(c,": Touch screen enabled")),u.classList.add("is-touch"),u.classList.remove("is-mouse"),o.dispatchEvent(new Event(t.TOUCHENABLE))):(console.log("".concat(c,": Touch screen disabled")),u.classList.add("is-mouse"),u.classList.remove("is-touch"),o.dispatchEvent(new Event(t.TOUCHDISABLED))),i=d,a||(a=setTimeout((function(){clearTimeout(a),a=null}),500)))};d("ontouchstart"in o||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0||o.matchMedia("(hover: none)").matches,"init"),l.addEventListener("touchend",(function(t){var o=!1;"click"!==t.type&&(o=!0),d(o,"click-touchend")})),l.addEventListener("click",(function(t){var o=!1;"click"!==t.type&&(o=!0),d(o,"click-touchend")}))}(window);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);ii.innerHeight?(c.classList.add("landscape"),c.classList.remove("portrait")):(h=!1,c.classList.add("portrait"),c.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(d," | landscape ").concat(h)),c.removeChild(l),d};i.detectCSSScreenSize=l,i.addEventListener("".concat(t.LOADED),l),i.addEventListener("".concat(t.RESIZE),l)})(window),__webpack_require__(9095);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"),"color:yellow;font-size:10px"),console.info("%cENV: ".concat("production"),"color:green;font-size:10px"),console.groupCollapsed("Events"),Object.keys(t).forEach((function(o){console.info("".concat(o,": ").concat(t[o]))})),console.groupEnd("Events"),console.groupCollapsed("Consts"),Object.keys(o).forEach((function(t){console.info("".concat(t,": ").concat(o[t]))})),console.groupEnd("Events"),console.groupCollapsed("Init"),console.time("init");var u=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(){i.history.replaceState({landing:i.location.href},document.title,i.location.href),this.loaded()}},{key:"loaded",value:function loaded(){console.log("".concat(a,": loaded"))}},{key:"unloaded",value:function unloaded(){console.log("".concat(a,": unloaded")),l.show(),c.classList.remove("loaded")}}]),MainUI}(),d=function documentInit(){u.init(),c.classList.add("loaded"),l.hide(),console.groupEnd("init"),console.timeEnd("init"),i.addEventListener("".concat(t.LOADED),(function(o){i.dispatchEvent(new Event(t.LODEDANDREADY))}))};"loading"===document.readyState?document.addEventListener("".concat(t.DOMLOADED),d):d(),i.addEventListener("".concat(t.AJAX),(function(){u.loaded()})),i.addEventListener("beforeunload",(function(){u.unloaded()})),i.MainUI=u})(window),__webpack_require__(2301);var u=__webpack_require__(5598),d=document.getElementById("MainContent");d.classList.add("page--container");var p=__webpack_require__(3038);u.mount(d,p);var y="ajax-load",h="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);i0&&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}),v.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var o=t;console.log("".concat(o.name,": hide")),o.setState({shown:!1}),v.dispatchEvent(new Event("{ui.name}.hide"))})),_defineProperty(this,"next",(function(){var o=t,i=o.state.current.getAttribute("data-gallery"),a=o._currIndex();a0?a--:a=o.state.collections[i].length-1,o.state.collections[i][a].click(),console.log("".concat(o.name,": prev")),v.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(''),"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(''),["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!"))}v.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}),v.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=__webpack_require__(8679)(o.state.embed);o.state.content='')}return o.state.content}));var a=this;switch(a.name=a.constructor.name,console.log("".concat(a.name,": init")),a.setState(o),i){case"show":case"hide":a.hide()}v.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=' Close',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 y=document.createElement("nav");y.classList.add("meta-navs");var h=document.createElement("button");h.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),h.innerHTML=' Previous',h.addEventListener("click",(function(t){t.preventDefault(),o.prev()})),y.append(h);var v=document.createElement("button");v.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),v.innerHTML=' Next',v.addEventListener("click",(function(t){t.preventDefault(),o.next()})),y.append(v),u.append(y)}}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}(),b=g,w=document.getElementById("MetaLightboxApp");w||(console.warn("MetaWindow: missing container #MetaLightboxApp - create new one"),(w=document.createElement("div")).setAttribute("id","MetaLightboxApp"),document.querySelector("body").append(w));var _=function init(){var t=window.MetaWindow;"undefined"===typeof t&&(t=new b({target:w}),window.MetaWindow=t),t.init()};window.addEventListener("".concat(h),_),window.addEventListener("".concat(y),_),window.addEventListener("MetaWindow.initLinks",_);var E=new Map,S=function set(t,o,i){E.has(t)||E.set(t,new Map);var a=E.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],"."))},A=function get(t,o){return E.has(t)&&E.get(t).get(o)||null},k=function remove(t,o){if(E.has(t)){var i=E.get(t);i.delete(o),0===i.size&&E.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);i0?document.querySelector(O(t)):null},P=function getjQuery(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},I=[],j=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},D=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(L,(function handler(i){i.target===o&&(a=!0,o.removeEventListener(L,handler),j(t))})),setTimeout((function(){a||function triggerTransitionEnd(t){t.dispatchEvent(new Event(L))}(o)}),i)}else j(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,y=!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){y=!0,c=t}finally{try{if(!p&&null!=i.return&&(u=i.return(),Object(u)!==u))return}finally{if(y)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);i2&&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 q.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 U){d=function wrapFunction(t){return function(o){if(!o.relatedTarget||o.relatedTarget!==o.delegateTarget&&!o.delegateTarget.contains(o.relatedTarget))return t.call(this,o)}}(d)}var y=getElementEvents(t),h=y[p]||(y[p]={}),v=findHandler(h,d,u?i:null);if(v)v.oneOff=v.oneOff&&c;else{var g=makeEventUid(d,o.replace(N,"")),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&&B.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&&B.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,h[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);l1&&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=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);it.length)&&(o=t.length);for(var i=0,a=new Array(o);i1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType,i=0,a=Object.entries(o);i=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);i2&&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 A(T(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}(K),Y=V;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);i1&&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(!x(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=J(t);return o&&X.findOne(o)?o:null},getElementFromSelector:function getElementFromSelector(t){var o=J(t);return o?X.findOne(o):null},getMultipleElementsFromSelector:function getMultipleElementsFromSelector(t){var o=J(t);return o?X.find(o):[]}},Q=X;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);i0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(ie)}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=T(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(le));try{for(o.s();!(t=o.n()).done;){var i=t.value,a=Q.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=Q.find(ce,this._config.parent);return Q.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 ue}},{key:"DefaultType",get:function get(){return fe}},{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}(Y);G.on(document,oe,le,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();var o,i=collapse_createForOfIteratorHelper(Q.getMultipleElementsFromSelector(this));try{for(i.s();!(o=i.n()).done;){var a=o.value;de.getOrCreateInstance(a,{toggle:!1}).toggle()}}catch(c){i.e(c)}finally{i.f()}})),function defineJQueryPlugin(t){!function onDOMContentLoaded(t){"loading"===document.readyState?(I.length||document.addEventListener("DOMContentLoaded",(function(){for(var t=0,o=I;t768&&l.classList.contains("active-dropdown")){if(console.log("".concat(i,": big screen | nav click the dropdown is shown already")),t.stopImmediatePropagation(),"undefined"===typeof o.app||"undefined"===typeof o.app.Router)return void(o.location.href=u);o.app.Router.openURL(u)}console.log("".concat(i,": nav toggle")),function Toggle(t){c();var o=t.querySelector(".dropdown-menu");o&&o.classList.toggle("show")}(l)}})),t.classList.add("".concat(i,"-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&&c(),t.classList&&t.classList.contains("dropdown-toggle")&&(o=!0))}))})),a.forEach((function(t,o){var a=t.closest(".dropdown");a&&function attachHoverEvents(t){t.addEventListener("mouseover",l,!1),t.addEventListener("mouseleave",u,!1),t.classList.add("".concat(i,"-active"))}(a)})),t.forEach((function(t,o){d(t)}))};o.addEventListener("".concat(t.LODEDANDREADY),d),o.addEventListener("".concat(t.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;i0&&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;a1&&void 0!==arguments[1]?arguments[1]:{};glide_esm_classCallCheck(this,Glide),this._c={},this._t=[],this._e=new me,this.disabled=!1,this.selector=t,this.settings=mergeOptions(pe,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)},y=function throttled(){var y=now();d||!1!==i.leading||(d=y);var h=o-(y-d);return c=this,l=arguments,h<=0||h>o?(a&&(clearTimeout(a),a=null),d=y,u=t.apply(c,l),a||(c=l=null)):a||!1===i.trailing||(a=setTimeout(p,h)),u};return y.cancel=function(){clearTimeout(a),d=0,a=c=l=null},y}var he={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 ve='[data-glide-el="track"]';var ge=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;c2&&void 0!==arguments[2]&&arguments[2];isString(t)&&(t=[t]);for(var a=0;a":"<","<":">","=":"="};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 _e=!1;try{var Ee=Object.defineProperty({},"passive",{get:function get(){_e=!0}});window.addEventListener("testPassive",null,Ee),window.removeEventListener("testPassive",null,Ee)}catch(Ue){}var Se=_e,Ae=["touchstart","mousedown"],ke=["touchmove","mousemove"],Le=["touchend","touchcancel","mouseup","mouseleave"],Oe=["mousedown","mousemove","mouseup","mouseleave"];var Ce='[data-glide-el^="controls"]',xe="".concat(Ce,' [data-glide-dir*="<"]'),Te="".concat(Ce,' [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 Pe={Html:function Html(t,o,i){var a={mount:function mount(){this.root=t.selector,this.track=this.root.querySelector(ve),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(ve," 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")||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(we[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){be.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;a0&&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),y=a.slice(0,p).reverse(),h=a.slice(-1*p),v=0;vi?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 ge,c=0,l=0,u=0,d=!1,p=!!Se&&{passive:!0},y={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,y=d.touchRatio,h=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.PIv&&b"))):o.Move.make(),o.Html.root.classList.remove(y.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(Ae[0],o.Html.wrapper,(function(t){i.start(t)}),p),u&&a.on(Ae[1],o.Html.wrapper,(function(t){i.start(t)}),p)},unbindSwipeStart:function unbindSwipeStart(){a.off(Ae[0],o.Html.wrapper,p),a.off(Ae[1],o.Html.wrapper,p)},bindSwipeMove:function bindSwipeMove(){var i=this;a.on(ke,o.Html.wrapper,throttle((function(t){i.move(t)}),t.settings.throttle),p)},unbindSwipeMove:function unbindSwipeMove(){a.off(ke,o.Html.wrapper,p)},bindSwipeEnd:function bindSwipeEnd(){var t=this;a.on(Le,o.Html.wrapper,(function(o){t.end(o)}))},unbindSwipeEnd:function unbindSwipeEnd(){a.off(Le,o.Html.wrapper)},touches:function touches(t){return Oe.indexOf(t.type)>-1?t:t.touches[0]||t.changedTouches[0]},threshold:function threshold(o){var i=t.settings;return Oe.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(){y.unbindSwipeStart(),y.unbindSwipeMove(),y.unbindSwipeEnd(),a.destroy()})),y},Images:function Images(t,o,i){var a=new ge,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 ge,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"))),"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 ge,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 ge,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}},Ie=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({},Pe,t))}}]),Glide}(ye),je=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 Ie(t,{startAt:0,type:"carousel",perView:o.perView,autoplay:o.bsInterval,breakpoints:{768:{perView:1},992:{perView:parseInt(o.perView/2)}}}).mount()}))};window.addEventListener("".concat(t.LODEDANDREADY),je),window.addEventListener("".concat(t.AJAX),(function(){setTimeout(je,300)}));(function(o){var i="js-captcha",a=function init(){console.log("".concat(i,": init"));var t=function submitListener(t){console.log("".concat(i,": Validating Captcha ..."));t.currentTarget.querySelectorAll(".".concat(i,", .g-recaptcha")).forEach((function(t){grecaptcha.execute(t.dataset.widgetid)}))},a=function attachCaptcha(){console.log("".concat(i,": Rendering Captcha ..."));var a=document.querySelectorAll(".".concat(i,", .g-recaptcha")),c=o.grecaptcha;"function"===typeof o.grecaptcha.render?a.forEach((function(o,a){if(!o.dataset.widgetid&&""===o.innerHTML){var l=o.closest(l),u=c.render(o,o.dataset);o.dataset.widgetid=u,"invisible"!==o.dataset.size||o.dataset.callback||(c.execute(u),l.addEventListener("submit",t)),o.classList.add("".concat(i,"-active")),o.dispatchEvent(new Event("".concat(i,"-ready")))}})):console.log("".concat(i,": no render function"))};document.querySelectorAll(".g-recaptcha").length?function loadScript(t){"undefined"!==typeof o.grecaptcha&&t(),console.log("".concat(i,": Loading Captcha API ..."));var a=document.createElement("script");a.id="captchaAPI",a.src="https://www.google.com/recaptcha/api.js?render=explicit&hl=".concat(document.querySelector("html").getAttribute("lang").substr(0,2)),a.async=!0,a.onload=function(){console.log("".concat(i,": Captcha API is loaded.")),t()},document.body.append(a)}(a):console.log("".concat(i,": No Captcha fields.")),o.noCaptchaFieldRender=a};o.addEventListener("".concat(t.LODEDANDREADY),a),o.addEventListener("".concat(t.AJAX),a)})(window),function(o){var i="js-password",a=function init(){var t;console.log("".concat(i,": init"));var o=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(i,"-show, .show-password")).forEach((function(t){t.classList.contains("".concat(i,"-active"))||(t.addEventListener("click",(function(t){var i=t.currentTarget.closest(".field").querySelector("input");i&&function toggle(t){"password"===t.getAttribute("type")?o(t):a(t)}(i)})),t.classList.add("".concat(i,"-active")))}))};o.addEventListener("".concat(t.LODEDANDREADY),a),o.addEventListener("".concat(t.AJAX),a)}(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 De=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),y={};c=c||p.data,(p.transformRequest||[]).map((function(t){c=t(c,p.headers)||c})),p.auth&&(y.authorization=p.auth),c&&"object"==redaxios_module_typeof(c)&&"function"!=typeof c.append&&"function"!=typeof c.text&&(c=JSON.stringify(c),y["content-type"]="application/json");try{y[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,y,!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(o){var i,a="main.online",c=document,l=c.body,u=c.querySelector('meta[name="ping"]'),d=!1,p=function UPDATE_ONLINE_STATUS(c){d||(d=!0,c?(l.classList.contains("is-offline")?(console.log("".concat(a,": back Online")),o.dispatchEvent(new Event(t.BACKONLINE))):(console.log("".concat(a,": Online")),o.dispatchEvent(new Event(t.ONLINE))),l.classList.add("is-online"),l.classList.remove("is-offline"),u&&!i&&(console.log("".concat(a,": SESSION_PING is active")),i=setInterval(h,3e5))):(console.log("".concat(a,": Offline")),l.classList.add("is-offline"),l.classList.remove("is-online"),clearInterval(i),i=null,o.dispatchEvent(new Event(t.OFFLINE))),d=!1)},y=!1,h=function SESSION_PING(){if(!y&&!l.classList.contains("is-offline")){var t=u.getAttribute("content");console.log("".concat(a,": session ping")),y=!0,De.post(t,{}).then((function(t){y=!1,p(!0)})).catch((function(t){console.error(t),console.warn("".concat(a,": SESSION_PING failed")),y=!1,p(!1)}))}},v=function navigatorStateUpdate(){"undefined"!==typeof navigator.onLine&&(navigator.onLine?p(!0):p(!1))};o.addEventListener("".concat(t.OFFLINE),(function(){p(!1)})),o.addEventListener("".concat(t.ONLINE),(function(){p(!0)})),o.addEventListener("".concat(t.LOADED),v),o.addEventListener("".concat(t.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=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=0;--i){var c=this.tryEntries[i];if(c.tryLoc<=this.prev&&a.call(c,"finallyLoc")&&this.prev=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(y){return void i(y)}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.main-content"))&&o.remove(),Object.keys(p).forEach((function(t){y[t]=p[t]})),h.prev=3,h.next=6,d.request({variables:{url:t},query:u.byLink});case 6:if(i=h.sent,a=i.data.readOnePage,console.log("".concat(c,": loadedContent: ").concat(t)),a){h.next=14;break}return console.warn("".concat(c,": loadContent: ").concat(t," > NOT FOUND")),y.title="NOT FOUND",i.errors[0]&&console.warn(i.errors),h.abrupt("return");case 14:if(y.title=a.title,y.id=a.id,y.link=a.link,y.requestlink=a.RequestLink,y.CSSClass=a.CSSClass,!a.MainContent){h.next=25;break}return h.next=22,l.trust(a.MainContent);case 22:y.content=h.sent,h.next=29;break;case 25:if(!a.elementalArea){h.next=29;break}return h.next=28,l(".elemental-area",a.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)))})));case 28:y.content=h.sent;case 29:window.app.Router.setPage(y),h.next=37;break;case 32:h.prev=32,h.t0=h.catch(3),console.error("".concat(c,": loadContent > FAILED")),console.error(h.t0),y.title="Loading Failed!";case 37:case"end":return h.stop()}}),_callee,null,[[3,32]])}))),function loadContent(t){return a.apply(this,arguments)})});t.exports=y},3058:function(t,o,i){var a=i(5598),c=i(5616);t.exports={oninit:function oninit(){window.app.Router.isFormResponse()?(console.log("".concat("uiPageTpl",": Page is form response, stop page content loading")),window.app.Router.initLinks()):c.loadContent(document.location.pathname)},onupdate:function onupdate(){window.app.Router.initLinks(),window.dispatchEvent(new Event(window.app.Events.AJAX))},view:function view(){return a("main",{class:c.CSSClass},a("div",{class:"element page-header-element"},a("div",{class:"element-container container"},a("h1",{class:"page-header"},c.title))),c.content)}}},1513: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 }\n }")};t.exports=i},1103:function(t,o,i){var a="uiRouter",c=i(5616),l=i(6187),u={initLinks:function initLinks(){document.querySelectorAll("a:not(.legacy)").forEach((function(t){t.dataset[a]||(t.dataset[a]="active",t.addEventListener("click",(function(o){u.linkClick(t,o)})))}))},linkClick:function linkClick(t,o){var i=t,c=i.getAttribute("href"),l=new URL(c,document.location.origin);if(!c)return o.preventDefault(),console.warn("".concat(a," > linkClick: no href")),console.warn(o),!1;if(l.pathname===document.location.pathname)return o.preventDefault(),console.log("".concat(a," > linkClick: same URL")),!1;if(l.hash&&(!l.pathname||"/graphql/"===l.pathname)){o.preventDefault(),console.log("".concat(a," > linkClick: hash URL"));var d=document.querySelector(l.hash);return d&&d.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"}),!0}return!i.getAttribute("target")&&u.sameOrigin(c)?(o.preventDefault(),console.log("".concat(a," > linkClick: local URL")),t.classList.add("loading"),u.openURL(c)):(console.log("".concat(a," > linkClick: external URL")),!0)},sameOrigin:function sameOrigin(t){var o=u.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 u.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"===u.requestMethod()},openURL:function openURL(t){return c.loadContent(u.getRelURL(t))},setPage:function setPage(t){u.setLocation(t.title,t.link,t)},setLocation:function setLocation(t,o,i){var a,c=null!==(a=i.requestlink)&&void 0!==a?a:o,d=i?{id:i.id,link:c,title:i.title}:{},p=u.getAbsURL(c);window.history.replaceState(d,t,p),document.title=t,document.querySelectorAll("a,.a").forEach((function(t){t.classList.remove("active","loading","section")})),document.querySelectorAll('a[href="'.concat(c,'"],.a[data-href="').concat(c,'"]')).forEach((function(t){t.classList.add("active"),t.classList.contains("nav-link")&&l(t,".nav-item").forEach((function(t){var o=t.querySelector(":scope > .nav-link");o&&o.classList.add("section")}))}))}};t.exports=u},6187: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}},9095: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;a0&&(o="".concat(o," ")),o+=c}return o}};window.globalF=o,t.exports=o,t.exports.default=o},7481:function(t,o,i){"use strict";var a=i(3565);t.exports=function(t,o,i){var c=[],l=!1,u=-1;function sync(){for(u=0;u=0&&(c.splice(l,2),l<=u&&(u-=2),t(o,[])),null!=i&&(c.push(o,i),t(o,a(i),redraw))},redraw}}},1225: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(3565),c=i(1712),l=i(3665),u=i(5954),d=i(809),p=i(4903),y=i(2941),h=i(4782),v={};function decodeURIComponentSave(t){try{return decodeURIComponent(t)}catch(o){return t}}t.exports=function(t,o){var i,g,b,w,_,S,E=null==t?null:"function"===typeof t.setImmediate?t.setImmediate:t.setTimeout,A=l.resolve(),k=!1,L=!1,O=0,C=v,x={onbeforeupdate:function onbeforeupdate(){return!(!(O=O?2:1)||v===C)},onremove:function onremove(){t.removeEventListener("popstate",fireAsync,!1),t.removeEventListener("hashchange",resolveRoute,!1)},view:function view(){if(O&&v!==C){var t=[a(b,w.key,w)];return C&&(t=C.render(t[0])),t}}},T=route.SKIP={};function resolveRoute(){k=!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})}y(l.params,t.history.state),function loop(t){for(;t=0&&(_+=t.slice(i,u)),v>=0&&(_+=(i<0?"?":"&")+h.slice(v,b));var S=a(y);return S&&(_+=(i<0&&v<0?"?":"&")+S),l>=0&&(_+=t.slice(l)),g>=0&&(_+=(l<0?"":"&")+h.slice(g)),_}},4903:function(t,o,i){"use strict";var a=i(809);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;a1&&"/"===u[u.length-1]&&(u=u.slice(0,-1))):u="/",{path:u,params:o<0?{}:a(t.slice(o+1,c))}}},3526: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 y;try{if(!c||null==p||"object"!==_typeof(p)&&"function"!==typeof p||"function"!==typeof(y=p.then))d((function(){c||0!==t.length||console.error("Possible unhandled promise rejection:",p);for(var o=0;o0||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-1&&p.pop();for(var h=0;h0&&(c.className=a.join(" ")),d[t]={tag:i,attrs:c}}(t),o):(o.tag=t,o)}},2119: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(3565);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'+o.children+"",d=d.firstChild):d.innerHTML=o.children,o.dom=d.firstChild,o.domSize=d.childNodes.length,o.instance=[];for(var p,y=i.createDocumentFragment();p=d.firstChild;)o.instance.push(p),y.appendChild(p);insertNode(t,y,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,y=0,h=0;if(!d)for(;h=h&&E>=y&&(b=o[S],w=i[E],b.key===w.key);)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),S--,E--;for(;S>=h&&E>=y&&(v=o[h],g=i[y],v.key===g.key);)h++,y++,v!==g&&updateNode(t,v,g,a,getNextSibling(o,h,c),l);for(;S>=h&&E>=y&&y!==E&&v.key===w.key&&b.key===g.key;)moveNodes(t,b,_=getNextSibling(o,h,c)),b!==g&&updateNode(t,b,g,a,_,l),++y<=--E&&moveNodes(t,v,c),v!==w&&updateNode(t,v,w,a,c,l),null!=w.dom&&(c=w.dom),h++,b=o[--S],w=i[E],v=o[h],g=i[y];for(;S>=h&&E>=y&&b.key===w.key;)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),E--,b=o[--S],w=i[E];if(y>E)removeNodes(t,o,h,S+1);else if(h>S)createNodes(t,i,y,E+1,a,c,l);else{var A,k,L=c,O=E-y+1,C=new Array(O),x=0,T=0,P=2147483647,I=0;for(T=0;T=y;T--){null==A&&(A=getKeyMap(o,h,S+1));var j=A[(w=i[T]).key];null!=j&&(P=j>>1)+(a>>>1)+(i&a&1);t[o[p]]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}(C),x=k.length-1,T=E;T>=y;T--)g=i[T],-1===C[T-y]?createNode(t,g,a,l,c):k[x]===T-y?x--:moveNodes(t,g,c),null!=g.dom&&(c=i[T].dom);else for(T=E;T>=y;T--)g=i[T],-1===C[T-y]&&createNode(t,g,a,l,c),null!=g.dom&&(c=i[T].dom)}}else{var D=o.lengthD&&removeNodes(t,o,y,o.length),i.length>D&&createNodes(t,i,y,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-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=[],y=activeElement(),h=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"===h?void 0:h),t.vnodes=i,null!=y&&activeElement()!==y&&"function"===typeof y.focus&&y.focus();for(var v=0;v=200&&t.target.status<300||304===t.target.status||/^file:\/\//i.test(o),d=t.target.response;if("json"===h){if(!t.target.responseType&&"function"!==typeof i.extract)try{d=JSON.parse(t.target.responseText)}catch(y){d=null}}else h&&"text"!==h||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(y){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(y){l(y)}},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)}))}}},8392:function(t,o,i){"use strict";var a=i(0);t.exports=i(1225)("undefined"!==typeof window?window:null,a)},2941:function(t,o,i){"use strict";var a=i(5415);t.exports=Object.assign||function(t,o){for(var i in o)a.call(o,i)&&(t[i]=o[i])}},4782:function(t,o,i){"use strict";var a=i(5415),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}},5415:function(t){"use strict";t.exports={}.hasOwnProperty},8679: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";var t={APOLLO_ERROR:"apollo-error",AJAX:"ajax-load",AJAXMAIN:"ajax-main-load",MAININIT:"main-init",TABHIDDEN:"tab-hidden",TABFOCUSED:"tab-focused",OFFLINE:"offline",ONLINE:"online",BACKONLINE:"back-online",TOUCHENABLE:"touch-enabled",TOUCHDISABLED:"touch-disabled",DOMLOADED:"DOMContentLoaded",LOADED:"load",SWIPELEFT:"swipeleft panleft",SWIPERIGHT:"swiperight panright",ALLERTAPPEARED:"alert-appeared",ALERTREMOVED:"alert-removed",LODEDANDREADY:"load-ready",LAZYIMAGEREADY:"image-lazy-bg-loaded",LAZYIMAGESREADY:"images-lazy-loaded",MAPLOADED:"map-loaded",MAPAPILOADED:"map-api-loaded",MAPMARKERCLICK:"map-marker-click",MAPPOPUPCLOSE:"map-popup-close",SCROLL:"scroll",RESIZE:"resize",CAROUSEL_READY:"bs.carousel.ready",SET_TARGET_UPDATE:"set-target-update",RESTORE_FIELD:"restore-field",FORM_INIT_BASICS:"form-basics",FORM_INIT_STEPPED:"form-init-stepped",FORM_INIT_VALIDATE:"form-init-validate",FORM_INIT_VALIDATE_FIELD:"form-init-validate-field",FORM_INIT_STORAGE:"form-init-storage",FORM_VALIDATION_FAILED:"form-validation-failed",FORM_STEPPED_NEW_STEP:"form-new-step",FORM_STEPPED_FIRST_STEP:"form-first-step",FORM_STEPPED_LAST_STEP:"form-last-step",FORM_FIELDS:"input,textarea,select"},o={ENVS:["xs","sm","md","lg","xl","xxl","xxxl"]};(function(o){var i="_main.visibility",a=document,c=a.body;a.addEventListener("visibilitychange",(function(){"hidden"===a.visibilityState?(console.log("".concat(i,": Tab: hidden")),c.classList.add("is-hidden"),c.classList.remove("is-focused"),o.dispatchEvent(new Event(t.TABHIDDEN))):(console.log("".concat(i,": Tab: focused")),c.classList.add("is-focused"),c.classList.remove("is-hidden"),o.dispatchEvent(new Event(t.TABFOCUSED)))}))})(window),function(o){var i,a,c="_main.touch",l=document,u=l.body,d=function SET_TOUCH_SCREEN(l,d){a||d===i||(l?(console.log("".concat(c,": Touch screen enabled")),u.classList.add("is-touch"),u.classList.remove("is-mouse"),o.dispatchEvent(new Event(t.TOUCHENABLE))):(console.log("".concat(c,": Touch screen disabled")),u.classList.add("is-mouse"),u.classList.remove("is-touch"),o.dispatchEvent(new Event(t.TOUCHDISABLED))),i=d,a||(a=setTimeout((function(){clearTimeout(a),a=null}),500)))};d("ontouchstart"in o||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0||o.matchMedia("(hover: none)").matches,"init"),l.addEventListener("touchend",(function(t){var o=!1;"click"!==t.type&&(o=!0),d(o,"click-touchend")})),l.addEventListener("click",(function(t){var o=!1;"click"!==t.type&&(o=!0),d(o,"click-touchend")}))}(window);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);ii.innerHeight?(c.classList.add("landscape"),c.classList.remove("portrait")):(h=!1,c.classList.add("portrait"),c.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(d," | landscape ").concat(h)),c.removeChild(l),d};i.detectCSSScreenSize=l,i.addEventListener("".concat(t.LOADED),l),i.addEventListener("".concat(t.RESIZE),l)})(window),__webpack_require__(9095);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"),"color:yellow;font-size:10px"),console.info("%cENV: ".concat("production"),"color:green;font-size:10px"),console.groupCollapsed("Events"),Object.keys(t).forEach((function(o){console.info("".concat(o,": ").concat(t[o]))})),console.groupEnd("Events"),console.groupCollapsed("Consts"),Object.keys(o).forEach((function(t){console.info("".concat(t,": ").concat(o[t]))})),console.groupEnd("Events"),console.groupCollapsed("Init"),console.time("init");var u=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(){i.history.replaceState({landing:i.location.href},document.title,i.location.href),this.loaded()}},{key:"loaded",value:function loaded(){console.log("".concat(a,": loaded"))}},{key:"unloaded",value:function unloaded(){console.log("".concat(a,": unloaded")),l.show(),c.classList.remove("loaded")}}]),MainUI}(),d=function documentInit(){u.init(),c.classList.add("loaded"),l.hide(),console.groupEnd("init"),console.timeEnd("init"),i.addEventListener("".concat(t.LOADED),(function(o){i.dispatchEvent(new Event(t.LODEDANDREADY))}))};"loading"===document.readyState?document.addEventListener("".concat(t.DOMLOADED),d):d(),i.addEventListener("".concat(t.AJAX),(function(){u.loaded()})),i.addEventListener("beforeunload",(function(){u.unloaded()})),i.MainUI=u})(window),__webpack_require__(393);var u=__webpack_require__(5598),d=document.getElementById("MainContent"),p=document.createElement("div");p.classList.add("page--container"),d.append(p);var y=__webpack_require__(3058);u.mount(p,y);var h="ajax-load",v="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);i0&&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}),g.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var o=t;console.log("".concat(o.name,": hide")),o.setState({shown:!1}),g.dispatchEvent(new Event("{ui.name}.hide"))})),_defineProperty(this,"next",(function(){var o=t,i=o.state.current.getAttribute("data-gallery"),a=o._currIndex();a0?a--:a=o.state.collections[i].length-1,o.state.collections[i][a].click(),console.log("".concat(o.name,": prev")),g.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(''),"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(''),["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!"))}g.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}),g.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=__webpack_require__(8679)(o.state.embed);o.state.content='')}return o.state.content}));var a=this;switch(a.name=a.constructor.name,console.log("".concat(a.name,": init")),a.setState(o),i){case"show":case"hide":a.hide()}g.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=' Close',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 y=document.createElement("nav");y.classList.add("meta-navs");var h=document.createElement("button");h.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),h.innerHTML=' Previous',h.addEventListener("click",(function(t){t.preventDefault(),o.prev()})),y.append(h);var v=document.createElement("button");v.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),v.innerHTML=' Next',v.addEventListener("click",(function(t){t.preventDefault(),o.next()})),y.append(v),u.append(y)}}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}(),w=b,_=document.getElementById("MetaLightboxApp");_||(console.warn("MetaWindow: missing container #MetaLightboxApp - create new one"),(_=document.createElement("div")).setAttribute("id","MetaLightboxApp"),document.querySelector("body").append(_));var S=function init(){var t=window.MetaWindow;"undefined"===typeof t&&(t=new w({target:_}),window.MetaWindow=t),t.init()};window.addEventListener("".concat(v),S),window.addEventListener("".concat(h),S),window.addEventListener("MetaWindow.initLinks",S);var E=new Map,A=function set(t,o,i){E.has(t)||E.set(t,new Map);var a=E.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],"."))},k=function get(t,o){return E.has(t)&&E.get(t).get(o)||null},L=function remove(t,o){if(E.has(t)){var i=E.get(t);i.delete(o),0===i.size&&E.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);i0?document.querySelector(C(t)):null},I=function getjQuery(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},j=[],D=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},R=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(O,(function handler(i){i.target===o&&(a=!0,o.removeEventListener(O,handler),D(t))})),setTimeout((function(){a||function triggerTransitionEnd(t){t.dispatchEvent(new Event(O))}(o)}),i)}else D(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,y=!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){y=!0,c=t}finally{try{if(!p&&null!=i.return&&(u=i.return(),Object(u)!==u))return}finally{if(y)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);i2&&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 B.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 q){d=function wrapFunction(t){return function(o){if(!o.relatedTarget||o.relatedTarget!==o.delegateTarget&&!o.delegateTarget.contains(o.relatedTarget))return t.call(this,o)}}(d)}var y=getElementEvents(t),h=y[p]||(y[p]={}),v=findHandler(h,d,u?i:null);if(v)v.oneOff=v.oneOff&&c;else{var g=makeEventUid(d,o.replace(N,"")),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&&G.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&&G.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,h[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);l1&&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=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);it.length)&&(o=t.length);for(var i=0,a=new Array(o);i1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType,i=0,a=Object.entries(o);i=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);i2&&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 k(P(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}(V),J=Y;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);i1&&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(!T(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=X(t);return o&&Q.findOne(o)?o:null},getElementFromSelector:function getElementFromSelector(t){var o=X(t);return o?Q.findOne(o):null},getMultipleElementsFromSelector:function getMultipleElementsFromSelector(t){var o=X(t);return o?Q.find(o):[]}},Z=Q;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);i0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(ae)}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=P(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(ue));try{for(o.s();!(t=o.n()).done;){var i=t.value,a=Z.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=Z.find(le,this._config.parent);return Z.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 fe}},{key:"DefaultType",get:function get(){return de}},{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}(J);W.on(document,ie,ue,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();var o,i=collapse_createForOfIteratorHelper(Z.getMultipleElementsFromSelector(this));try{for(i.s();!(o=i.n()).done;){var a=o.value;pe.getOrCreateInstance(a,{toggle:!1}).toggle()}}catch(c){i.e(c)}finally{i.f()}})),function defineJQueryPlugin(t){!function onDOMContentLoaded(t){"loading"===document.readyState?(j.length||document.addEventListener("DOMContentLoaded",(function(){for(var t=0,o=j;t768&&l.classList.contains("active-dropdown")){if(console.log("".concat(i,": big screen | nav click the dropdown is shown already")),t.stopImmediatePropagation(),"undefined"===typeof o.app||"undefined"===typeof o.app.Router)return void(o.location.href=u);o.app.Router.openURL(u)}console.log("".concat(i,": nav toggle")),function Toggle(t){c();var o=t.querySelector(".dropdown-menu");o&&o.classList.toggle("show")}(l)}})),t.classList.add("".concat(i,"-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&&c(),t.classList&&t.classList.contains("dropdown-toggle")&&(o=!0))}))})),a.forEach((function(t,o){var a=t.closest(".dropdown");a&&function attachHoverEvents(t){t.addEventListener("mouseover",l,!1),t.addEventListener("mouseleave",u,!1),t.classList.add("".concat(i,"-active"))}(a)})),t.forEach((function(t,o){d(t)}))};o.addEventListener("".concat(t.LODEDANDREADY),d),o.addEventListener("".concat(t.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;i0&&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;a1&&void 0!==arguments[1]?arguments[1]:{};glide_esm_classCallCheck(this,Glide),this._c={},this._t=[],this._e=new ye,this.disabled=!1,this.selector=t,this.settings=mergeOptions(me,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)},y=function throttled(){var y=now();d||!1!==i.leading||(d=y);var h=o-(y-d);return c=this,l=arguments,h<=0||h>o?(a&&(clearTimeout(a),a=null),d=y,u=t.apply(c,l),a||(c=l=null)):a||!1===i.trailing||(a=setTimeout(p,h)),u};return y.cancel=function(){clearTimeout(a),d=0,a=c=l=null},y}var ve={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 ge='[data-glide-el="track"]';var be=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;c2&&void 0!==arguments[2]&&arguments[2];isString(t)&&(t=[t]);for(var a=0;a":"<","<":">","=":"="};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 Se=!1;try{var Ee=Object.defineProperty({},"passive",{get:function get(){Se=!0}});window.addEventListener("testPassive",null,Ee),window.removeEventListener("testPassive",null,Ee)}catch(qe){}var Ae=Se,ke=["touchstart","mousedown"],Le=["touchmove","mousemove"],Oe=["touchend","touchcancel","mouseup","mouseleave"],Ce=["mousedown","mousemove","mouseup","mouseleave"];var xe='[data-glide-el^="controls"]',Te="".concat(xe,' [data-glide-dir*="<"]'),Pe="".concat(xe,' [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 Ie={Html:function Html(t,o,i){var a={mount:function mount(){this.root=t.selector,this.track=this.root.querySelector(ge),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(ge," 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")||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(_e[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){we.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;a0&&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),y=a.slice(0,p).reverse(),h=a.slice(-1*p),v=0;vi?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 be,c=0,l=0,u=0,d=!1,p=!!Ae&&{passive:!0},y={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,y=d.touchRatio,h=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),S=Math.sqrt(w+_),E=Math.sqrt(_);if(!(180*(c=Math.asin(E/S))/Math.PIv&&b"))):o.Move.make(),o.Html.root.classList.remove(y.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(ke[0],o.Html.wrapper,(function(t){i.start(t)}),p),u&&a.on(ke[1],o.Html.wrapper,(function(t){i.start(t)}),p)},unbindSwipeStart:function unbindSwipeStart(){a.off(ke[0],o.Html.wrapper,p),a.off(ke[1],o.Html.wrapper,p)},bindSwipeMove:function bindSwipeMove(){var i=this;a.on(Le,o.Html.wrapper,throttle((function(t){i.move(t)}),t.settings.throttle),p)},unbindSwipeMove:function unbindSwipeMove(){a.off(Le,o.Html.wrapper,p)},bindSwipeEnd:function bindSwipeEnd(){var t=this;a.on(Oe,o.Html.wrapper,(function(o){t.end(o)}))},unbindSwipeEnd:function unbindSwipeEnd(){a.off(Oe,o.Html.wrapper)},touches:function touches(t){return Ce.indexOf(t.type)>-1?t:t.touches[0]||t.changedTouches[0]},threshold:function threshold(o){var i=t.settings;return Ce.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(){y.unbindSwipeStart(),y.unbindSwipeMove(),y.unbindSwipeEnd(),a.destroy()})),y},Images:function Images(t,o,i){var a=new be,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 be,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"))),"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 be,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 be,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}},je=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({},Ie,t))}}]),Glide}(he),De=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 je(t,{startAt:0,type:"carousel",perView:o.perView,autoplay:o.bsInterval,breakpoints:{768:{perView:1},992:{perView:parseInt(o.perView/2)}}}).mount()}))};window.addEventListener("".concat(t.LODEDANDREADY),De),window.addEventListener("".concat(t.AJAX),(function(){setTimeout(De,300)}));(function(o){var i="js-captcha",a=function init(){console.log("".concat(i,": init"));var t=function submitListener(t){console.log("".concat(i,": Validating Captcha ..."));t.currentTarget.querySelectorAll(".".concat(i,", .g-recaptcha")).forEach((function(t){grecaptcha.execute(t.dataset.widgetid)}))},a=function attachCaptcha(){console.log("".concat(i,": Rendering Captcha ..."));var a=document.querySelectorAll(".".concat(i,", .g-recaptcha")),c=o.grecaptcha;"function"===typeof o.grecaptcha.render?a.forEach((function(o,a){if(!o.dataset.widgetid&&""===o.innerHTML){var l=o.closest(l),u=c.render(o,o.dataset);o.dataset.widgetid=u,"invisible"!==o.dataset.size||o.dataset.callback||(c.execute(u),l.addEventListener("submit",t)),o.classList.add("".concat(i,"-active")),o.dispatchEvent(new Event("".concat(i,"-ready")))}})):console.log("".concat(i,": no render function"))};document.querySelectorAll(".g-recaptcha").length?function loadScript(t){"undefined"!==typeof o.grecaptcha&&t(),console.log("".concat(i,": Loading Captcha API ..."));var a=document.createElement("script");a.id="captchaAPI",a.src="https://www.google.com/recaptcha/api.js?render=explicit&hl=".concat(document.querySelector("html").getAttribute("lang").substr(0,2)),a.async=!0,a.onload=function(){console.log("".concat(i,": Captcha API is loaded.")),t()},document.body.append(a)}(a):console.log("".concat(i,": No Captcha fields.")),o.noCaptchaFieldRender=a};o.addEventListener("".concat(t.LODEDANDREADY),a),o.addEventListener("".concat(t.AJAX),a)})(window),function(o){var i="js-password",a=function init(){var t;console.log("".concat(i,": init"));var o=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(i,"-show, .show-password")).forEach((function(t){t.classList.contains("".concat(i,"-active"))||(t.addEventListener("click",(function(t){var i=t.currentTarget.closest(".field").querySelector("input");i&&function toggle(t){"password"===t.getAttribute("type")?o(t):a(t)}(i)})),t.classList.add("".concat(i,"-active")))}))};o.addEventListener("".concat(t.LODEDANDREADY),a),o.addEventListener("".concat(t.AJAX),a)}(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 Re=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),y={};c=c||p.data,(p.transformRequest||[]).map((function(t){c=t(c,p.headers)||c})),p.auth&&(y.authorization=p.auth),c&&"object"==redaxios_module_typeof(c)&&"function"!=typeof c.append&&"function"!=typeof c.text&&(c=JSON.stringify(c),y["content-type"]="application/json");try{y[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,y,!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(o){var i,a="main.online",c=document,l=c.body,u=c.querySelector('meta[name="ping"]'),d=!1,p=function UPDATE_ONLINE_STATUS(c){d||(d=!0,c?(l.classList.contains("is-offline")?(console.log("".concat(a,": back Online")),o.dispatchEvent(new Event(t.BACKONLINE))):(console.log("".concat(a,": Online")),o.dispatchEvent(new Event(t.ONLINE))),l.classList.add("is-online"),l.classList.remove("is-offline"),u&&!i&&(console.log("".concat(a,": SESSION_PING is active")),i=setInterval(h,3e5))):(console.log("".concat(a,": Offline")),l.classList.add("is-offline"),l.classList.remove("is-online"),clearInterval(i),i=null,o.dispatchEvent(new Event(t.OFFLINE))),d=!1)},y=!1,h=function SESSION_PING(){if(!y&&!l.classList.contains("is-offline")){var t=u.getAttribute("content");console.log("".concat(a,": session ping")),y=!0,Re.post(t,{}).then((function(t){y=!1,p(!0)})).catch((function(t){console.error(t),console.warn("".concat(a,": SESSION_PING failed")),y=!1,p(!1)}))}},v=function navigatorStateUpdate(){"undefined"!==typeof navigator.onLine&&(navigator.onLine?p(!0):p(!1))};o.addEventListener("".concat(t.OFFLINE),(function(){p(!1)})),o.addEventListener("".concat(t.ONLINE),(function(){p(!0)})),o.addEventListener("".concat(t.LOADED),v),o.addEventListener("".concat(t.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;i0||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);it.innerHeight?(i.classList.add("landscape"),i.classList.remove("portrait")):(h=!1,i.classList.add("portrait"),i.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(d," | landscape ").concat(h)),i.removeChild(c),d};t.detectCSSScreenSize=a,t.addEventListener("".concat(c.LOADED),a),t.addEventListener("".concat(c.RESIZE),a)})(window),a(9095);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"),"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(),i.classList.add("loaded"),p.hide(),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.AJAX),(function(){a.loaded()})),t.addEventListener("beforeunload",(function(){a.unloaded()})),t.MainUI=a})(window),a(2301);var y=a(5598),h=document.getElementById("MainContent");h.classList.add("page--container");var v=a(3038);y.mount(h,v);var g="ajax-load",b="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);i0&&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}),w.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(this,"hide",(function(){var o=t;console.log("".concat(o.name,": hide")),o.setState({shown:!1}),w.dispatchEvent(new Event("{ui.name}.hide"))})),_defineProperty(this,"next",(function(){var o=t,i=o.state.current.getAttribute("data-gallery"),a=o._currIndex();a0?a--:a=o.state.collections[i].length-1,o.state.collections[i][a].click(),console.log("".concat(o.name,": prev")),w.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(''),"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(''),["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!"))}w.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}),w.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(8679)(o.state.embed);o.state.content='')}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()}w.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=' Close',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 y=document.createElement("nav");y.classList.add("meta-navs");var h=document.createElement("button");h.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),h.innerHTML=' Previous',h.addEventListener("click",(function(t){t.preventDefault(),o.prev()})),y.append(h);var v=document.createElement("button");v.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),v.innerHTML=' Next',v.addEventListener("click",(function(t){t.preventDefault(),o.next()})),y.append(v),u.append(y)}}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}(),E=_,S=document.getElementById("MetaLightboxApp");S||(console.warn("MetaWindow: missing container #MetaLightboxApp - create new one"),(S=document.createElement("div")).setAttribute("id","MetaLightboxApp"),document.querySelector("body").append(S));var A=function init(){var t=window.MetaWindow;"undefined"===typeof t&&(t=new E({target:S}),window.MetaWindow=t),t.init()};window.addEventListener("".concat(b),A),window.addEventListener("".concat(g),A),window.addEventListener("MetaWindow.initLinks",A);var k=new Map,L=function set(t,o,i){k.has(t)||k.set(t,new Map);var a=k.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 k.has(t)&&k.get(t).get(o)||null},C=function remove(t,o){if(k.has(t)){var i=k.get(t);i.delete(o),0===i.size&&k.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);i0?document.querySelector(T(t)):null},D=function getjQuery(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},N=[],R=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},M=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(x,(function handler(i){i.target===o&&(a=!0,o.removeEventListener(x,handler),R(t))})),setTimeout((function(){a||function triggerTransitionEnd(t){t.dispatchEvent(new Event(x))}(o)}),i)}else R(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,y=!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){y=!0,c=t}finally{try{if(!p&&null!=i.return&&(u=i.return(),Object(u)!==u))return}finally{if(y)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);i2&&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 W.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 G){d=function wrapFunction(t){return function(o){if(!o.relatedTarget||o.relatedTarget!==o.delegateTarget&&!o.delegateTarget.contains(o.relatedTarget))return t.call(this,o)}}(d)}var y=getElementEvents(t),h=y[p]||(y[p]={}),v=findHandler(h,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&&K.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&&K.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,h[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);l1&&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=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);it.length)&&(o=t.length);for(var i=0,a=new Array(o);i1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType,i=0,a=Object.entries(o);i=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);i2&&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(j(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}(J),Q=X;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);i1&&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(!I(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=Z(t);return o&&ee.findOne(o)?o:null},getElementFromSelector:function getElementFromSelector(t){var o=Z(t);return o?ee.findOne(o):null},getMultipleElementsFromSelector:function getMultipleElementsFromSelector(t){var o=Z(t);return o?ee.find(o):[]}},te=ee;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);i0&&void 0!==arguments[0]?arguments[0]:this._element).classList.contains(ce)}},{key:"_configAfterMerge",value:function _configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=j(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(de));try{for(o.s();!(t=o.n()).done;){var i=t.value,a=te.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=te.find(fe,this._config.parent);return te.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 pe}},{key:"DefaultType",get:function get(){return me}},{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}(Q);V.on(document,se,de,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();var o,i=collapse_createForOfIteratorHelper(te.getMultipleElementsFromSelector(this));try{for(i.s();!(o=i.n()).done;){var a=o.value;ye.getOrCreateInstance(a,{toggle:!1}).toggle()}}catch(c){i.e(c)}finally{i.f()}})),function defineJQueryPlugin(t){!function onDOMContentLoaded(t){"loading"===document.readyState?(N.length||document.addEventListener("DOMContentLoaded",(function(){for(var t=0,o=N;t768&&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;i0&&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;a1&&void 0!==arguments[1]?arguments[1]:{};glide_esm_classCallCheck(this,Glide),this._c={},this._t=[],this._e=new ve,this.disabled=!1,this.selector=t,this.settings=mergeOptions(he,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)},y=function throttled(){var y=now();d||!1!==i.leading||(d=y);var h=o-(y-d);return c=this,l=arguments,h<=0||h>o?(a&&(clearTimeout(a),a=null),d=y,u=t.apply(c,l),a||(c=l=null)):a||!1===i.trailing||(a=setTimeout(p,h)),u};return y.cancel=function(){clearTimeout(a),d=0,a=c=l=null},y}var be={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 we='[data-glide-el="track"]';var _e=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;c2&&void 0!==arguments[2]&&arguments[2];isString(t)&&(t=[t]);for(var a=0;a":"<","<":">","=":"="};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 Ae=!1;try{var ke=Object.defineProperty({},"passive",{get:function get(){Ae=!0}});window.addEventListener("testPassive",null,ke),window.removeEventListener("testPassive",null,ke)}catch(Ge){}var Le=Ae,Oe=["touchstart","mousedown"],Ce=["touchmove","mousemove"],xe=["touchend","touchcancel","mouseup","mouseleave"],Te=["mousedown","mousemove","mouseup","mouseleave"];var Pe='[data-glide-el^="controls"]',Ie="".concat(Pe,' [data-glide-dir*="<"]'),je="".concat(Pe,' [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 De={Html:function Html(t,o,i){var a={mount:function mount(){this.root=t.selector,this.track=this.root.querySelector(we),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(we," 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")||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(Se[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){Ee.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;a0&&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),y=a.slice(0,p).reverse(),h=a.slice(-1*p),v=0;vi?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 _e,c=0,l=0,u=0,d=!1,p=!!Le&&{passive:!0},y={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,y=d.touchRatio,h=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.PIv&&b"))):o.Move.make(),o.Html.root.classList.remove(y.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(Ce,o.Html.wrapper,throttle((function(t){i.move(t)}),t.settings.throttle),p)},unbindSwipeMove:function unbindSwipeMove(){a.off(Ce,o.Html.wrapper,p)},bindSwipeEnd:function bindSwipeEnd(){var t=this;a.on(xe,o.Html.wrapper,(function(o){t.end(o)}))},unbindSwipeEnd:function unbindSwipeEnd(){a.off(xe,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(){y.unbindSwipeStart(),y.unbindSwipeMove(),y.unbindSwipeEnd(),a.destroy()})),y},Images:function Images(t,o,i){var a=new _e,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 _e,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"))),"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 _e,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 _e,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}},Ne=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({},De,t))}}]),Glide}(ge),Re=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 Ne(t,{startAt:0,type:"carousel",perView:o.perView,autoplay:o.bsInterval,breakpoints:{768:{perView:1},992:{perView:parseInt(o.perView/2)}}}).mount()}))};window.addEventListener("".concat(c.LODEDANDREADY),Re),window.addEventListener("".concat(c.AJAX),(function(){setTimeout(Re,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"))};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?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.")),i()},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),y={};c=c||p.data,(p.transformRequest||[]).map((function(t){c=t(c,p.headers)||c})),p.auth&&(y.authorization=p.auth),c&&"object"==redaxios_module_typeof(c)&&"function"!=typeof c.append&&"function"!=typeof c.text&&(c=JSON.stringify(c),y["content-type"]="application/json");try{y[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,y,!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(h,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)},y=!1,h=function SESSION_PING(){if(!y&&!l.classList.contains("is-offline")){var t=u.getAttribute("content");console.log("".concat(i,": session ping")),y=!0,Me.post(t,{}).then((function(t){y=!1,p(!0)})).catch((function(t){console.error(t),console.warn("".concat(i,": SESSION_PING failed")),y=!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=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=0;--i){var c=this.tryEntries[i];if(c.tryLoc<=this.prev&&a.call(c,"finallyLoc")&&this.prev=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(y){return void i(y)}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 NOT FOUND")),y.title="NOT FOUND",o.errors[0]&&console.warn(o.errors),a.abrupt("return");case 12:if(y.title=i.title,y.id=i.id,y.link=i.link,y.requestlink=i.requestlink,y.CSSClass=i.CSSClass,!i.MainContent){a.next=23;break}return a.next=20,l.trust(i.MainContent);case 20:y.content=a.sent,a.next=27;break;case 23:if(!i.elementalArea){a.next=27;break}return a.next=26,l(".elemental-area",i.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)))})));case 26:y.content=a.sent;case 27:window.app.Router.setPage(y),a.next=35;break;case 30:a.prev=30,a.t0=a.catch(1),console.error("".concat(c,": loadContent > FAILED")),console.error(a.t0),y.title="Loading Failed!";case 35:case"end":return a.stop()}}),_callee,null,[[1,30]])}))),function loadContent(t){return a.apply(this,arguments)})});t.exports=y},3038:function(t,o,i){var a=i(5598),c=i(3554);t.exports={oninit:c.loadContent(document.location.pathname),onupdate:function onupdate(){window.app.Router.initLinks(),window.dispatchEvent(new Event(window.app.Events.AJAX))},view:function view(){return a("main",{class:c.CSSClass},a("div",{class:"element page-header-element"},a("div",{class:"element-container container"},a("h1",{class:"page-header"},c.title))),c.content)}}},5816: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(filter: { url: { eq: $url } }) {\n ... baseInfo\n MainContent\n }\n }")};t.exports=i},7253:function(t,o,i){var a="uiRouter",c=i(3554),l={initLinks:function initLinks(){document.querySelectorAll("a:not(.legacy)").forEach((function(t){t.dataset[a]||(t.dataset[a]="active",t.addEventListener("click",(function(o){l.linkClick(t,o)})))}))},linkClick:function linkClick(t,o){var i=t,c=i.getAttribute("href"),u=new URL(c,document.location.origin);if(!c)return o.preventDefault(),console.warn("".concat(a," > linkClick: no href")),console.warn(o),!1;if(u.pathname===document.location.pathname)return o.preventDefault(),console.log("".concat(a," > linkClick: same URL")),!1;if(u.hash&&(!u.pathname||"/graphql/"===u.pathname)){o.preventDefault(),console.log("".concat(a," > linkClick: hash URL"));var d=document.querySelector(u.hash);return d&&d.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"}),!0}return!i.getAttribute("target")&&l.sameOrigin(c)?(o.preventDefault(),console.log("".concat(a," > linkClick: local URL")),t.classList.add("loading"),l.openURL(c)):(console.log("".concat(a," > linkClick: external URL")),!0)},sameOrigin:function sameOrigin(t){var o=l.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 l.isAbsURL(t)?t:new URL(t,document.location.origin).href},getRelURL:function getRelURL(t){return new URL(t,document.location.origin).pathname},openURL:function openURL(t){return c.loadContent(l.getRelURL(t))},setPage:function setPage(t){l.setLocation(t.title,t.link,t)},setLocation:function setLocation(t,o,i){var a,c=null!==(a=i.requestlink)&&void 0!==a?a:o,u=i?{id:i.id,link:c,title:i.title}:{},d=l.getAbsURL(c);window.history.replaceState(u,t,d),document.title=t,document.querySelectorAll("a,.a").forEach((function(t){t.classList.remove("nav-active"),t.classList.remove("loading")})),document.querySelectorAll('a[href="'.concat(c,'"],.a[data-href="').concat(c,'"]')).forEach((function(t){t.classList.add("nav-active")}))}};t.exports=l},9095: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;a0&&(o="".concat(o," ")),o+=c}return o}};window.globalF=o,t.exports=o,t.exports.default=o},7481:function(t,o,i){"use strict";var a=i(3565);t.exports=function(t,o,i){var c=[],l=!1,u=-1;function sync(){for(u=0;u=0&&(c.splice(l,2),l<=u&&(u-=2),t(o,[])),null!=i&&(c.push(o,i),t(o,a(i),redraw))},redraw}}},1225: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(3565),c=i(1712),l=i(3665),u=i(5954),d=i(809),p=i(4903),y=i(2941),h=i(4782),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(),k=!1,L=!1,O=0,C=v,x={onbeforeupdate:function onbeforeupdate(){return!(!(O=O?2:1)||v===C)},onremove:function onremove(){t.removeEventListener("popstate",fireAsync,!1),t.removeEventListener("hashchange",resolveRoute,!1)},view:function view(){if(O&&v!==C){var t=[a(b,w.key,w)];return C&&(t=C.render(t[0])),t}}},T=route.SKIP={};function resolveRoute(){k=!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})}y(l.params,t.history.state),function loop(t){for(;t=0&&(_+=t.slice(i,u)),v>=0&&(_+=(i<0?"?":"&")+h.slice(v,b));var E=a(y);return E&&(_+=(i<0&&v<0?"?":"&")+E),l>=0&&(_+=t.slice(l)),g>=0&&(_+=(l<0?"":"&")+h.slice(g)),_}},4903:function(t,o,i){"use strict";var a=i(809);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;a1&&"/"===u[u.length-1]&&(u=u.slice(0,-1))):u="/",{path:u,params:o<0?{}:a(t.slice(o+1,c))}}},3526: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 y;try{if(!c||null==p||"object"!==_typeof(p)&&"function"!==typeof p||"function"!==typeof(y=p.then))d((function(){c||0!==t.length||console.error("Possible unhandled promise rejection:",p);for(var o=0;o0||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-1&&p.pop();for(var h=0;h0&&(c.className=a.join(" ")),d[t]={tag:i,attrs:c}}(t),o):(o.tag=t,o)}},2119: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(3565);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'+o.children+"",d=d.firstChild):d.innerHTML=o.children,o.dom=d.firstChild,o.domSize=d.childNodes.length,o.instance=[];for(var p,y=i.createDocumentFragment();p=d.firstChild;)o.instance.push(p),y.appendChild(p);insertNode(t,y,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,y=0,h=0;if(!d)for(;h=h&&S>=y&&(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>=h&&S>=y&&(v=o[h],g=i[y],v.key===g.key);)h++,y++,v!==g&&updateNode(t,v,g,a,getNextSibling(o,h,c),l);for(;E>=h&&S>=y&&y!==S&&v.key===w.key&&b.key===g.key;)moveNodes(t,b,_=getNextSibling(o,h,c)),b!==g&&updateNode(t,b,g,a,_,l),++y<=--S&&moveNodes(t,v,c),v!==w&&updateNode(t,v,w,a,c,l),null!=w.dom&&(c=w.dom),h++,b=o[--E],w=i[S],v=o[h],g=i[y];for(;E>=h&&S>=y&&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(y>S)removeNodes(t,o,h,E+1);else if(h>E)createNodes(t,i,y,S+1,a,c,l);else{var A,k,L=c,O=S-y+1,C=new Array(O),x=0,T=0,P=2147483647,I=0;for(T=0;T=y;T--){null==A&&(A=getKeyMap(o,h,E+1));var j=A[(w=i[T]).key];null!=j&&(P=j>>1)+(a>>>1)+(i&a&1);t[o[p]]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}(C),x=k.length-1,T=S;T>=y;T--)g=i[T],-1===C[T-y]?createNode(t,g,a,l,c):k[x]===T-y?x--:moveNodes(t,g,c),null!=g.dom&&(c=i[T].dom);else for(T=S;T>=y;T--)g=i[T],-1===C[T-y]&&createNode(t,g,a,l,c),null!=g.dom&&(c=i[T].dom)}}else{var D=o.lengthD&&removeNodes(t,o,y,o.length),i.length>D&&createNodes(t,i,y,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-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=[],y=activeElement(),h=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"===h?void 0:h),t.vnodes=i,null!=y&&activeElement()!==y&&"function"===typeof y.focus&&y.focus();for(var v=0;v=200&&t.target.status<300||304===t.target.status||/^file:\/\//i.test(o),d=t.target.response;if("json"===h){if(!t.target.responseType&&"function"!==typeof i.extract)try{d=JSON.parse(t.target.responseText)}catch(y){d=null}}else h&&"text"!==h||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(y){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(y){l(y)}},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)}))}}},8392:function(t,o,i){"use strict";var a=i(0);t.exports=i(1225)("undefined"!==typeof window?window:null,a)},2941:function(t,o,i){"use strict";var a=i(5415);t.exports=Object.assign||function(t,o){for(var i in o)a.call(o,i)&&(t[i]=o[i])}},4782:function(t,o,i){"use strict";var a=i(5415),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}},5415:function(t){"use strict";t.exports={}.hasOwnProperty},8679: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__(6216)}()}(); \ No newline at end of file +!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},6216: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);it.innerHeight?(i.classList.add("landscape"),i.classList.remove("portrait")):(h=!1,i.classList.add("portrait"),i.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(d," | landscape ").concat(h)),i.removeChild(c),d};t.detectCSSScreenSize=a,t.addEventListener("".concat(c.LOADED),a),t.addEventListener("".concat(c.RESIZE),a)})(window),a(9095);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"),"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(),i.classList.add("loaded"),p.hide(),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.AJAX),(function(){a.loaded()})),t.addEventListener("beforeunload",(function(){a.unloaded()})),t.MainUI=a})(window),a(393);var y=a(5598),h=document.getElementById("MainContent"),v=document.createElement("div");v.classList.add("page--container"),h.append(v);var g=a(3058);y.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);i0&&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();a0?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(''),"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(''),["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(8679)(o.state.embed);o.state.content='')}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=' Close',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 y=document.createElement("nav");y.classList.add("meta-navs");var h=document.createElement("button");h.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__prev","a"),h.innerHTML=' Previous',h.addEventListener("click",(function(t){t.preventDefault(),o.prev()})),y.append(h);var v=document.createElement("button");v.classList.add("meta-nav","meta-nav-arrow","meta-nav-arrow__next","a"),v.innerHTML=' Next',v.addEventListener("click",(function(t){t.preventDefault(),o.next()})),y.append(v),u.append(y)}}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}(),E=S,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 k=function init(){var t=window.MetaWindow;"undefined"===typeof t&&(t=new E({target:A}),window.MetaWindow=t),t.init()};window.addEventListener("".concat(w),k),window.addEventListener("".concat(b),k),window.addEventListener("MetaWindow.initLinks",k);var L=new Map,O=function set(t,o,i){L.has(t)||L.set(t,new Map);var a=L.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],"."))},C=function get(t,o){return L.has(t)&&L.get(t).get(o)||null},x=function remove(t,o){if(L.has(t)){var i=L.get(t);i.delete(o),0===i.size&&L.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);i0?document.querySelector(P(t)):null},R=function getjQuery(){return window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null},N=[],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},H=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(T,(function handler(i){i.target===o&&(a=!0,o.removeEventListener(T,handler),M(t))})),setTimeout((function(){a||function triggerTransitionEnd(t){t.dispatchEvent(new Event(T))}(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,y=!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){y=!0,c=t}finally{try{if(!p&&null!=i.return&&(u=i.return(),Object(u)!==u))return}finally{if(y)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);i2&&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 y=getElementEvents(t),h=y[p]||(y[p]={}),v=findHandler(h,d,u?i:null);if(v)v.oneOff=v.oneOff&&c;else{var g=makeEventUid(d,o.replace(z,"")),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&&V.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&&V.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,h[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);l1&&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=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);it.length)&&(o=t.length);for(var i=0,a=new Array(o);i1&&void 0!==arguments[1]?arguments[1]:this.constructor.DefaultType,i=0,a=Object.entries(o);i=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);i2&&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 C(D(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);i1&&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);i0&&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=D(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 me}},{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);Y.on(document,ce,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;he.getOrCreateInstance(a,{toggle:!1}).toggle()}}catch(c){i.e(c)}finally{i.f()}})),function defineJQueryPlugin(t){!function onDOMContentLoaded(t){"loading"===document.readyState?(N.length||document.addEventListener("DOMContentLoaded",(function(){for(var t=0,o=N;t768&&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;i0&&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;a1&&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)},y=function throttled(){var y=now();d||!1!==i.leading||(d=y);var h=o-(y-d);return c=this,l=arguments,h<=0||h>o?(a&&(clearTimeout(a),a=null),d=y,u=t.apply(c,l),a||(c=l=null)):a||!1===i.trailing||(a=setTimeout(p,h)),u};return y.cancel=function(){clearTimeout(a),d=0,a=c=l=null},y}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 Se=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;c2&&void 0!==arguments[2]&&arguments[2];isString(t)&&(t=[t]);for(var a=0;a":"<","<":">","=":"="};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 ke=!1;try{var Le=Object.defineProperty({},"passive",{get:function get(){ke=!0}});window.addEventListener("testPassive",null,Le),window.removeEventListener("testPassive",null,Le)}catch(We){}var Oe=ke,Ce=["touchstart","mousedown"],xe=["touchmove","mousemove"],Te=["touchend","touchcancel","mouseup","mouseleave"],Pe=["mousedown","mousemove","mouseup","mouseleave"];var Ie='[data-glide-el^="controls"]',je="".concat(Ie,' [data-glide-dir*="<"]'),De="".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")||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){Ee.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;a0&&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),y=a.slice(0,p).reverse(),h=a.slice(-1*p),v=0;vi?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 Se,c=0,l=0,u=0,d=!1,p=!!Oe&&{passive:!0},y={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,y=d.touchRatio,h=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),S=Math.sqrt(w+_),E=Math.sqrt(_);if(!(180*(c=Math.asin(E/S))/Math.PIv&&b"))):o.Move.make(),o.Html.root.classList.remove(y.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(Ce[0],o.Html.wrapper,(function(t){i.start(t)}),p),u&&a.on(Ce[1],o.Html.wrapper,(function(t){i.start(t)}),p)},unbindSwipeStart:function unbindSwipeStart(){a.off(Ce[0],o.Html.wrapper,p),a.off(Ce[1],o.Html.wrapper,p)},bindSwipeMove:function bindSwipeMove(){var i=this;a.on(xe,o.Html.wrapper,throttle((function(t){i.move(t)}),t.settings.throttle),p)},unbindSwipeMove:function unbindSwipeMove(){a.off(xe,o.Html.wrapper,p)},bindSwipeEnd:function bindSwipeEnd(){var t=this;a.on(Te,o.Html.wrapper,(function(o){t.end(o)}))},unbindSwipeEnd:function unbindSwipeEnd(){a.off(Te,o.Html.wrapper)},touches:function touches(t){return Pe.indexOf(t.type)>-1?t:t.touches[0]||t.changedTouches[0]},threshold:function threshold(o){var i=t.settings;return Pe.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(){y.unbindSwipeStart(),y.unbindSwipeMove(),y.unbindSwipeEnd(),a.destroy()})),y},Images:function Images(t,o,i){var a=new Se,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 Se,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"))),"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 Se,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 Se,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}},Ne=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),Me=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 Ne(t,{startAt:0,type:"carousel",perView:o.perView,autoplay:o.bsInterval,breakpoints:{768:{perView:1},992:{perView:parseInt(o.perView/2)}}}).mount()}))};window.addEventListener("".concat(c.LODEDANDREADY),Me),window.addEventListener("".concat(c.AJAX),(function(){setTimeout(Me,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"))};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?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.")),i()},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 Fe=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),y={};c=c||p.data,(p.transformRequest||[]).map((function(t){c=t(c,p.headers)||c})),p.auth&&(y.authorization=p.auth),c&&"object"==redaxios_module_typeof(c)&&"function"!=typeof c.append&&"function"!=typeof c.text&&(c=JSON.stringify(c),y["content-type"]="application/json");try{y[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,y,!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(h,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)},y=!1,h=function SESSION_PING(){if(!y&&!l.classList.contains("is-offline")){var t=u.getAttribute("content");console.log("".concat(i,": session ping")),y=!0,Fe.post(t,{}).then((function(t){y=!1,p(!0)})).catch((function(t){console.error(t),console.warn("".concat(i,": SESSION_PING failed")),y=!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=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=0;--i){var c=this.tryEntries[i];if(c.tryLoc<=this.prev&&a.call(c,"finallyLoc")&&this.prev=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(y){return void i(y)}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.main-content"))&&o.remove(),Object.keys(p).forEach((function(t){y[t]=p[t]})),h.prev=3,h.next=6,d.request({variables:{url:t},query:u.byLink});case 6:if(i=h.sent,a=i.data.readOnePage,console.log("".concat(c,": loadedContent: ").concat(t)),a){h.next=14;break}return console.warn("".concat(c,": loadContent: ").concat(t," > NOT FOUND")),y.title="NOT FOUND",i.errors[0]&&console.warn(i.errors),h.abrupt("return");case 14:if(y.title=a.title,y.id=a.id,y.link=a.link,y.requestlink=a.RequestLink,y.CSSClass=a.CSSClass,!a.MainContent){h.next=25;break}return h.next=22,l.trust(a.MainContent);case 22:y.content=h.sent,h.next=29;break;case 25:if(!a.elementalArea){h.next=29;break}return h.next=28,l(".elemental-area",a.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)))})));case 28:y.content=h.sent;case 29:window.app.Router.setPage(y),h.next=37;break;case 32:h.prev=32,h.t0=h.catch(3),console.error("".concat(c,": loadContent > FAILED")),console.error(h.t0),y.title="Loading Failed!";case 37:case"end":return h.stop()}}),_callee,null,[[3,32]])}))),function loadContent(t){return a.apply(this,arguments)})});t.exports=y},3058:function(t,o,i){var a=i(5598),c=i(5616);t.exports={oninit:function oninit(){window.app.Router.isFormResponse()?(console.log("".concat("uiPageTpl",": Page is form response, stop page content loading")),window.app.Router.initLinks()):c.loadContent(document.location.pathname)},onupdate:function onupdate(){window.app.Router.initLinks(),window.dispatchEvent(new Event(window.app.Events.AJAX))},view:function view(){return a("main",{class:c.CSSClass},a("div",{class:"element page-header-element"},a("div",{class:"element-container container"},a("h1",{class:"page-header"},c.title))),c.content)}}},1513: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 }\n }")};t.exports=i},1103:function(t,o,i){var a="uiRouter",c=i(5616),l=i(6187),u={initLinks:function initLinks(){document.querySelectorAll("a:not(.legacy)").forEach((function(t){t.dataset[a]||(t.dataset[a]="active",t.addEventListener("click",(function(o){u.linkClick(t,o)})))}))},linkClick:function linkClick(t,o){var i=t,c=i.getAttribute("href"),l=new URL(c,document.location.origin);if(!c)return o.preventDefault(),console.warn("".concat(a," > linkClick: no href")),console.warn(o),!1;if(l.pathname===document.location.pathname)return o.preventDefault(),console.log("".concat(a," > linkClick: same URL")),!1;if(l.hash&&(!l.pathname||"/graphql/"===l.pathname)){o.preventDefault(),console.log("".concat(a," > linkClick: hash URL"));var d=document.querySelector(l.hash);return d&&d.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"}),!0}return!i.getAttribute("target")&&u.sameOrigin(c)?(o.preventDefault(),console.log("".concat(a," > linkClick: local URL")),t.classList.add("loading"),u.openURL(c)):(console.log("".concat(a," > linkClick: external URL")),!0)},sameOrigin:function sameOrigin(t){var o=u.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 u.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"===u.requestMethod()},openURL:function openURL(t){return c.loadContent(u.getRelURL(t))},setPage:function setPage(t){u.setLocation(t.title,t.link,t)},setLocation:function setLocation(t,o,i){var a,c=null!==(a=i.requestlink)&&void 0!==a?a:o,d=i?{id:i.id,link:c,title:i.title}:{},p=u.getAbsURL(c);window.history.replaceState(d,t,p),document.title=t,document.querySelectorAll("a,.a").forEach((function(t){t.classList.remove("active","loading","section")})),document.querySelectorAll('a[href="'.concat(c,'"],.a[data-href="').concat(c,'"]')).forEach((function(t){t.classList.add("active"),t.classList.contains("nav-link")&&l(t,".nav-item").forEach((function(t){var o=t.querySelector(":scope > .nav-link");o&&o.classList.add("section")}))}))}};t.exports=u},6187: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}},9095: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;a0&&(o="".concat(o," ")),o+=c}return o}};window.globalF=o,t.exports=o,t.exports.default=o},7481:function(t,o,i){"use strict";var a=i(3565);t.exports=function(t,o,i){var c=[],l=!1,u=-1;function sync(){for(u=0;u=0&&(c.splice(l,2),l<=u&&(u-=2),t(o,[])),null!=i&&(c.push(o,i),t(o,a(i),redraw))},redraw}}},1225: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(3565),c=i(1712),l=i(3665),u=i(5954),d=i(809),p=i(4903),y=i(2941),h=i(4782),v={};function decodeURIComponentSave(t){try{return decodeURIComponent(t)}catch(o){return t}}t.exports=function(t,o){var i,g,b,w,_,S,E=null==t?null:"function"===typeof t.setImmediate?t.setImmediate:t.setTimeout,A=l.resolve(),k=!1,L=!1,O=0,C=v,x={onbeforeupdate:function onbeforeupdate(){return!(!(O=O?2:1)||v===C)},onremove:function onremove(){t.removeEventListener("popstate",fireAsync,!1),t.removeEventListener("hashchange",resolveRoute,!1)},view:function view(){if(O&&v!==C){var t=[a(b,w.key,w)];return C&&(t=C.render(t[0])),t}}},T=route.SKIP={};function resolveRoute(){k=!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})}y(l.params,t.history.state),function loop(t){for(;t=0&&(_+=t.slice(i,u)),v>=0&&(_+=(i<0?"?":"&")+h.slice(v,b));var S=a(y);return S&&(_+=(i<0&&v<0?"?":"&")+S),l>=0&&(_+=t.slice(l)),g>=0&&(_+=(l<0?"":"&")+h.slice(g)),_}},4903:function(t,o,i){"use strict";var a=i(809);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;a1&&"/"===u[u.length-1]&&(u=u.slice(0,-1))):u="/",{path:u,params:o<0?{}:a(t.slice(o+1,c))}}},3526: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 y;try{if(!c||null==p||"object"!==_typeof(p)&&"function"!==typeof p||"function"!==typeof(y=p.then))d((function(){c||0!==t.length||console.error("Possible unhandled promise rejection:",p);for(var o=0;o0||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-1&&p.pop();for(var h=0;h0&&(c.className=a.join(" ")),d[t]={tag:i,attrs:c}}(t),o):(o.tag=t,o)}},2119: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(3565);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'+o.children+"",d=d.firstChild):d.innerHTML=o.children,o.dom=d.firstChild,o.domSize=d.childNodes.length,o.instance=[];for(var p,y=i.createDocumentFragment();p=d.firstChild;)o.instance.push(p),y.appendChild(p);insertNode(t,y,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,y=0,h=0;if(!d)for(;h=h&&E>=y&&(b=o[S],w=i[E],b.key===w.key);)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),S--,E--;for(;S>=h&&E>=y&&(v=o[h],g=i[y],v.key===g.key);)h++,y++,v!==g&&updateNode(t,v,g,a,getNextSibling(o,h,c),l);for(;S>=h&&E>=y&&y!==E&&v.key===w.key&&b.key===g.key;)moveNodes(t,b,_=getNextSibling(o,h,c)),b!==g&&updateNode(t,b,g,a,_,l),++y<=--E&&moveNodes(t,v,c),v!==w&&updateNode(t,v,w,a,c,l),null!=w.dom&&(c=w.dom),h++,b=o[--S],w=i[E],v=o[h],g=i[y];for(;S>=h&&E>=y&&b.key===w.key;)b!==w&&updateNode(t,b,w,a,c,l),null!=w.dom&&(c=w.dom),E--,b=o[--S],w=i[E];if(y>E)removeNodes(t,o,h,S+1);else if(h>S)createNodes(t,i,y,E+1,a,c,l);else{var A,k,L=c,O=E-y+1,C=new Array(O),x=0,T=0,P=2147483647,I=0;for(T=0;T=y;T--){null==A&&(A=getKeyMap(o,h,S+1));var j=A[(w=i[T]).key];null!=j&&(P=j>>1)+(a>>>1)+(i&a&1);t[o[p]]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}(C),x=k.length-1,T=E;T>=y;T--)g=i[T],-1===C[T-y]?createNode(t,g,a,l,c):k[x]===T-y?x--:moveNodes(t,g,c),null!=g.dom&&(c=i[T].dom);else for(T=E;T>=y;T--)g=i[T],-1===C[T-y]&&createNode(t,g,a,l,c),null!=g.dom&&(c=i[T].dom)}}else{var D=o.lengthD&&removeNodes(t,o,y,o.length),i.length>D&&createNodes(t,i,y,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-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=[],y=activeElement(),h=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"===h?void 0:h),t.vnodes=i,null!=y&&activeElement()!==y&&"function"===typeof y.focus&&y.focus();for(var v=0;v=200&&t.target.status<300||304===t.target.status||/^file:\/\//i.test(o),d=t.target.response;if("json"===h){if(!t.target.responseType&&"function"!==typeof i.extract)try{d=JSON.parse(t.target.responseText)}catch(y){d=null}}else h&&"text"!==h||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(y){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(y){l(y)}},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)}))}}},8392:function(t,o,i){"use strict";var a=i(0);t.exports=i(1225)("undefined"!==typeof window?window:null,a)},2941:function(t,o,i){"use strict";var a=i(5415);t.exports=Object.assign||function(t,o){for(var i in o)a.call(o,i)&&(t[i]=o[i])}},4782:function(t,o,i){"use strict";var a=i(5415),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}},5415:function(t){"use strict";t.exports={}.hasOwnProperty},8679: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__(6216)}()}(); \ No newline at end of file diff --git a/app/client/dist/records.json b/app/client/dist/records.json index cb01d1c..6a6a458 100644 --- a/app/client/dist/records.json +++ b/app/client/dist/records.json @@ -358,13 +358,14 @@ "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./app/client/src/js/app.js|eb4107b6469981f1941805b531f96e3b": 6216, "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./app/client/src/js/types/SilverShop.Page.CheckoutPageController.js": 90, "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./app/client/src/js/types/Site.Controllers.MapElementController.js|7710c2d960b7303acdac06c60f564d3b": 9718, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/_events.js": 3131, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/graphql.js": 3939, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/index.js": 2301, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/page/index.js": 3554, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/page/tpl.js": 3038, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/queries/page.js": 5816, - "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.5_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/router.js": 7253, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.6_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/_events.js": 1882, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.6_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/graphql.js": 8586, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.6_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/index.js": 393, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.6_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/page/index.js": 5616, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.6_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/page/tpl.js": 3058, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.6_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/queries/page.js": 1513, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.6_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/ui/router.js": 1103, + "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+mithril-ui@0.0.6_@popperjs+core@2.11.8/node_modules/@a2nt/mithril-ui/src/js/util/getParents.js": 6187, "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/@a2nt+ss-bootstrap-ui-webpack-boilerplate-react@5.0.9_zone.js@0.13.3/node_modules/@a2nt/ss-bootstrap-ui-webpack-boilerplate-react/src/js/main/funcs.js": 9095, "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js": 1082, "./node_modules/.pnpm/babel-loader@9.1.3_@babel+core@7.23.2_webpack@5.89.0/node_modules/babel-loader/lib/index.js??ruleSet[1].rules[0].use!./node_modules/.pnpm/mithril@2.2.2/node_modules/mithril/api/mount-redraw.js": 7481, @@ -412,30 +413,30 @@ 0, 58, 90, + 393, 499, 809, 1082, + 1103, 1225, 1381, + 1513, 1545, 1712, + 1882, 1989, 2103, 2119, 2125, - 2301, 2584, 2597, 2941, 2982, - 3038, - 3131, + 3058, 3460, 3526, - 3554, 3565, 3665, - 3939, 4023, 4782, 4811, @@ -444,17 +445,18 @@ 5415, 5550, 5598, - 5816, + 5616, 5954, + 6187, 6216, 6461, 6743, - 7253, 7464, 7481, 7609, 7815, 8392, + 8586, 8679, 8764, 9095, diff --git a/app/client/dist/report.html b/app/client/dist/report.html index 4e59563..a950850 100644 --- a/app/client/dist/report.html +++ b/app/client/dist/report.html @@ -3,7 +3,7 @@ - ss-webpack-boilerplate [23 Oct 2023 at 18:54] + ss-webpack-boilerplate [25 Oct 2023 at 00:22] diff --git a/app/client/src/js/_graphql.js b/app/client/src/js/_graphql.js index 5908ec5..8e0064f 100644 --- a/app/client/src/js/_graphql.js +++ b/app/client/src/js/_graphql.js @@ -1,8 +1,11 @@ import '@a2nt/mithril-ui/src/js/ui' const m = require("mithril") // eslint-disable-line -const MainContent = document.getElementById('MainContent') +const MainContentContainer = document.getElementById('MainContent') + +const MainContent = document.createElement('div') MainContent.classList.add('page--container') +MainContentContainer.append(MainContent) const page = require('@a2nt/mithril-ui/src/js/ui/page/tpl') m.mount(MainContent, page) diff --git a/package.json b/package.json index 5de43e9..bb91bf4 100755 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ ], "dependencies": { "@a2nt/meta-lightbox-js": "^4.2.7", - "@a2nt/mithril-ui": "^0.0.5", + "@a2nt/mithril-ui": "^0.0.6", "@a2nt/ss-bootstrap-ui-webpack-boilerplate-react": "^5.0.9", "@angular/common": "^16.2.10", "@angular/core": "^16.2.10", @@ -105,8 +105,8 @@ "@googlemaps/markerclusterer": "^2.5.0", "@sucrase/webpack-loader": "^2.0.0", "@ungap/global-this": "^0.4.4", - "@wry/context": "^0.7.3", - "@wry/equality": "^0.5.6", + "@wry/context": "^0.7.4", + "@wry/equality": "^0.5.7", "@wry/trie": "^0.4.3", "animate.css": "^4.1.1", "ansi-html": "^0.0.9",